• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/* If a new value is added, add it from the end. */
17var Color;
18(function (Color) {
19  Color["White"] = "#ffffffff";
20  Color["Black"] = "#ff000000";
21  Color["Blue"] = "#ff0000ff";
22  Color["Brown"] = "#ffa52a2a";
23  Color["Gray"] = "#ff808080";
24  Color["Green"] = "#ff008000";
25  Color["Grey"] = "#ff808080";
26  Color["Orange"] = "#ffffa500";
27  Color["Pink"] = "#ffffc0cb";
28  Color["Red"] = "#ffff0000";
29  Color["Yellow"] = "#ffffff00";
30  Color["Transparent"] = "#00000000";
31})(Color || (Color = {}));
32
33var ColoringStrategy;
34(function (ColoringStrategy) {
35  ColoringStrategy["INVERT"] = "invert";
36  ColoringStrategy["AVERAGE"] = "average";
37  ColoringStrategy["PRIMARY"] = "primary";
38})(ColoringStrategy || (ColoringStrategy = {}));
39
40var TextInputStyle;
41(function (TextInputStyle) {
42  TextInputStyle["Default"] = "Default";
43  TextInputStyle["Inline"] = "Inline";
44})(TextInputStyle || (TextInputStyle = {}));
45
46var TextContentStyle;
47(function (TextContentStyle) {
48  TextContentStyle["DEFAULT"] = "Default";
49  TextContentStyle["INLINE"] = "Inline";
50})(TextContentStyle || (TextContentStyle = {}));
51
52var TextAlign;
53(function (TextAlign) {
54  TextAlign[TextAlign["Start"] = 0] = "Start";
55  TextAlign[TextAlign["Center"] = 1] = "Center";
56  TextAlign[TextAlign["End"] = 2] = "End";
57  TextAlign[TextAlign["Justify"] = 3] = "Justify";
58  TextAlign[TextAlign["JUSTIFY"] = 3] = "JUSTIFY";
59})(TextAlign || (TextAlign = {}));
60
61var TextDataDetectorType;
62(function (TextDataDetectorType) {
63  TextDataDetectorType[TextDataDetectorType["PHONE_NUMBER"] = 0] = "PHONE_NUMBER";
64  TextDataDetectorType[TextDataDetectorType["URL"] = 1] = "URL";
65  TextDataDetectorType[TextDataDetectorType["EMAIL"] = 2] = "EMAIL";
66  TextDataDetectorType[TextDataDetectorType["ADDRESS"] = 3] = "ADDRESS";
67})(TextDataDetectorType || (TextDataDetectorType = {}));
68
69var DataPanelType;
70(function (DataPanelType) {
71  DataPanelType[DataPanelType["Line"] = 0] = "Line";
72  DataPanelType[DataPanelType["Circle"] = 4] = "Circle";
73})(DataPanelType || (DataPanelType = {}));
74
75var FontWeight;
76(function (FontWeight) {
77  FontWeight["Light"] = "light";
78  FontWeight["Lighter"] = "lighter";
79  FontWeight["Normal"] = "normal";
80  FontWeight["Regular"] = "regular";
81  FontWeight["Medium"] = "medium";
82  FontWeight["Bold"] = "bold";
83  FontWeight["Bolder"] = "bolder";
84})(FontWeight || (FontWeight = {}));
85
86var WordBreak;
87(function (WordBreak) {
88  WordBreak[WordBreak["NORMAL"] = 0] = "normal";
89  WordBreak[WordBreak["BREAK_ALL"] = 1] = "break-all";
90  WordBreak[WordBreak["BREAK_WORD"] = 2] = "break-word";
91})(WordBreak || (WordBreak = {}));
92
93var EllipsisMode;
94(function (EllipsisMode) {
95  EllipsisMode[EllipsisMode["START"] = 0] = "start";
96  EllipsisMode[EllipsisMode["CENTER"] = 1] = "center";
97  EllipsisMode[EllipsisMode["END"] = 2] = "end";
98})(EllipsisMode || (EllipsisMode = {}));
99
100var Curve;
101(function (Curve) {
102  Curve["Linear"] = "linear";
103  Curve["Ease"] = "ease";
104  Curve["EaseIn"] = "ease-in";
105  Curve["EaseOut"] = "ease-out";
106  Curve["EaseInOut"] = "ease-in-out";
107  Curve["FastOutSlowIn"] = "fast-out-slow-in";
108  Curve["LinearOutSlowIn"] = "linear-out-slow-in";
109  Curve["FastOutLinearIn"] = "fast-out-linear-in";
110  Curve["ExtremeDeceleration"] = "extreme-deceleration";
111  Curve["Sharp"] = "sharp";
112  Curve["Rhythm"] = "rhythm";
113  Curve["Smooth"] = "smooth";
114  Curve["Friction"] = "friction";
115})(Curve || (Curve = {}));
116
117var FillMode;
118(function (FillMode) {
119  FillMode[FillMode["None"] = 0] = "none";
120  FillMode[FillMode["Forwards"] = 1] = "forwards";
121  FillMode[FillMode["Backwards"] = 2] = "backwards";
122  FillMode[FillMode["Both"] = 3] = "both";
123})(FillMode || (FillMode = {}));
124
125var PlayMode;
126(function (PlayMode) {
127  PlayMode["Normal"] = "normal";
128  PlayMode["Alternate"] = "alternate";
129  PlayMode["Reverse"] = "reverse";
130  PlayMode["AlternateReverse"] = "alternate-reverse";
131})(PlayMode || (PlayMode = {}));
132
133var RepeatMode;
134(function (RepeatMode) {
135  RepeatMode["Repeat"] = "Repeat";
136  RepeatMode["Stretch"] = "Stretch";
137  RepeatMode["Round"] = "Round";
138  RepeatMode["Space"] = "Space";
139})(RepeatMode || (RepeatMode = {}));
140
141var BorderStyle;
142(function (BorderStyle) {
143  BorderStyle[BorderStyle["Solid"] = 0] = "Solid";
144  BorderStyle[BorderStyle["Dashed"] = 1] = "Dashed";
145  BorderStyle[BorderStyle["Dotted"] = 2] = "Dotted";
146})(BorderStyle || (BorderStyle = {}));
147
148var LineCapStyle;
149(function (LineCapStyle) {
150  LineCapStyle[LineCapStyle["Butt"] = 0] = "Butt";
151  LineCapStyle[LineCapStyle["Round"] = 1] = "Round";
152  LineCapStyle[LineCapStyle["Square"] = 2] = "Square";
153})(LineCapStyle || (LineCapStyle = {}));
154
155var ButtonType;
156(function (ButtonType) {
157  ButtonType[ButtonType["Normal"] = 0] = "Normal";
158  ButtonType[ButtonType["Capsule"] = 1] = "Capsule";
159  ButtonType[ButtonType["Circle"] = 2] = "Circle";
160  ButtonType[ButtonType["Arc"] = 4] = "Arc";
161})(ButtonType || (ButtonType = {}));
162
163var DevicePosition;
164(function (DevicePosition) {
165  DevicePosition[DevicePosition["Front"] = 0] = "Front";
166  DevicePosition[DevicePosition["Back"] = 1] = "Back";
167})(DevicePosition || (DevicePosition = {}));
168
169var ImageFit;
170(function (ImageFit) {
171  ImageFit[ImageFit["Fill"] = 0] = "Fill";
172  ImageFit[ImageFit["Contain"] = 1] = "Contain";
173  ImageFit[ImageFit["Cover"] = 2] = "Cover";
174  ImageFit[ImageFit["Auto"] = 3] = "Auto";
175  ImageFit[ImageFit["None"] = 5] = "None";
176  ImageFit[ImageFit["ScaleDown"] = 6] = "ScaleDown";
177})(ImageFit || (ImageFit = {}));
178
179var ImageRepeat;
180(function (ImageRepeat) {
181  ImageRepeat[ImageRepeat["NoRepeat"] = 0] = "NoRepeat";
182  ImageRepeat[ImageRepeat["X"] = 1] = "X";
183  ImageRepeat[ImageRepeat["Y"] = 2] = "Y";
184  ImageRepeat[ImageRepeat["XY"] = 3] = "XY";
185})(ImageRepeat || (ImageRepeat = {}));
186
187var ImageSize;
188(function (ImageSize) {
189  ImageSize[ImageSize["Contain"] = 0] = "Contain";
190  ImageSize[ImageSize["Cover"] = 1] = "Cover";
191  ImageSize[ImageSize["Auto"] = 2] = "Auto";
192})(ImageSize || (ImageSize = {}));
193
194var ImageRenderMode;
195(function (ImageRenderMode) {
196  ImageRenderMode[ImageRenderMode["Original"] = 0] = "Original";
197  ImageRenderMode[ImageRenderMode["Template"] = 1] = "Template";
198})(ImageRenderMode || (ImageRenderMode = {}));
199
200var ImageInterpolation;
201(function (ImageInterpolation) {
202  ImageInterpolation[ImageInterpolation["None"] = 0] = "None";
203  ImageInterpolation[ImageInterpolation["Low"] = 1] = "Low";
204  ImageInterpolation[ImageInterpolation["Medium"] = 2] = "Medium";
205  ImageInterpolation[ImageInterpolation["High"] = 3] = "High";
206})(ImageInterpolation || (ImageInterpolation = {}));
207
208var FontStyle;
209(function (FontStyle) {
210  FontStyle[FontStyle["Normal"] = 0] = "Normal";
211  FontStyle[FontStyle["Italic"] = 1] = "Italic";
212})(FontStyle || (FontStyle = {}));
213
214var FlexAlign;
215(function (FlexAlign) {
216  FlexAlign[FlexAlign["Start"] = 1] = "Start";
217  FlexAlign[FlexAlign["Center"] = 2] = "Center";
218  FlexAlign[FlexAlign["End"] = 3] = "End";
219  FlexAlign[FlexAlign["Stretch"] = 4] = "Stretch";
220  FlexAlign[FlexAlign["Baseline"] = 5] = "Baseline";
221  FlexAlign[FlexAlign["SpaceBetween"] = 6] = "SpaceBetween";
222  FlexAlign[FlexAlign["SpaceAround"] = 7] = "SpaceAround";
223  FlexAlign[FlexAlign["SpaceEvenly"] = 8] = "SpaceEvenly";
224})(FlexAlign || (FlexAlign = {}));
225
226var PixelRoundCalcPolicy;
227(function (PixelRoundCalcPolicy) {
228  PixelRoundCalcPolicy[PixelRoundCalcPolicy["NO_FORCE_ROUND"] = 0] = "NO_FORCE_ROUND";
229  PixelRoundCalcPolicy[PixelRoundCalcPolicy["FORCE_CEIL"] = 1] = "FORCE_CEIL";
230  PixelRoundCalcPolicy[PixelRoundCalcPolicy["FORCE_FLOOR"] = 2] = "FORCE_FLOOR";
231})(PixelRoundCalcPolicy || (PixelRoundCalcPolicy = {}));
232
233var VerticalAlign;
234(function (VerticalAlign) {
235  VerticalAlign[VerticalAlign["Top"] = 1] = "Top";
236  VerticalAlign[VerticalAlign["Center"] = 2] = "Center";
237  VerticalAlign[VerticalAlign["Bottom"] = 3] = "Bottom";
238})(VerticalAlign || (VerticalAlign = {}));
239
240var HorizontalAlign;
241(function (HorizontalAlign) {
242  HorizontalAlign[HorizontalAlign["Start"] = 1] = "Start";
243  HorizontalAlign[HorizontalAlign["Center"] = 2] = "Center";
244  HorizontalAlign[HorizontalAlign["End"] = 3] = "End";
245})(HorizontalAlign || (HorizontalAlign = {}));
246
247var ItemAlign;
248(function (ItemAlign) {
249  ItemAlign[ItemAlign["Auto"] = 0] = "Auto";
250  ItemAlign[ItemAlign["Start"] = 1] = "Start";
251  ItemAlign[ItemAlign["Center"] = 2] = "Center";
252  ItemAlign[ItemAlign["End"] = 3] = "End";
253  ItemAlign[ItemAlign["Stretch"] = 4] = "Stretch";
254  ItemAlign[ItemAlign["Baseline"] = 5] = "Baseline";
255})(ItemAlign || (ItemAlign = {}));
256
257var Align;
258(function (Align) {
259  Align[Align["Start"] = 4] = "Start";
260  Align[Align["Center"] = 2] = "Center";
261  Align[Align["End"] = 5] = "End";
262})(Align || (Align = {}));
263
264var Alignment;
265(function (Alignment) {
266  Alignment[Alignment["TopStart"] = 0] = "TopStart";
267  Alignment[Alignment["Top"] = 1] = "Top";
268  Alignment[Alignment["TopEnd"] = 2] = "TopEnd";
269  Alignment[Alignment["Start"] = 3] = "Start";
270  Alignment[Alignment["Center"] = 4] = "Center";
271  Alignment[Alignment["End"] = 5] = "End";
272  Alignment[Alignment["BottomStart"] = 6] = "BottomStart";
273  Alignment[Alignment["Bottom"] = 7] = "Bottom";
274  Alignment[Alignment["BottomEnd"] = 8] = "BottomEnd";
275})(Alignment || (Alignment = {}));
276
277var BlendMode;
278(function (BlendMode) {
279  BlendMode[BlendMode["NORMAL"] = 0] = "NORMAL";
280  BlendMode[BlendMode["DESTINATION_IN"] = 7] = "DESTINATION_IN";
281  BlendMode[BlendMode["SOURCE_IN"] = 6] = "SOURCE_IN";
282  BlendMode[BlendMode["NONE"] = 0] = "NONE";
283  BlendMode[BlendMode["CLEAR"] = 1] = "CLEAR";
284  BlendMode[BlendMode["SRC"] = 2] = "SRC";
285  BlendMode[BlendMode["DST"] = 3] = "DST";
286  BlendMode[BlendMode["SRC_OVER"] = 4] = "SRC_OVER";
287  BlendMode[BlendMode["DST_OVER"] = 5] = "DST_OVER";
288  BlendMode[BlendMode["SRC_IN"] = 6] = "SRC_IN";
289  BlendMode[BlendMode["DST_IN"] = 7] = "DST_IN";
290  BlendMode[BlendMode["SRC_OUT"] = 8] = "SRC_OUT";
291  BlendMode[BlendMode["DST_OUT"] = 9] = "DST_OUT";
292  BlendMode[BlendMode["SRC_ATOP"] = 10] = "SRC_ATOP";
293  BlendMode[BlendMode["DST_ATOP"] = 11] = "DST_ATOP";
294  BlendMode[BlendMode["XOR"] = 12] = "XOR";
295  BlendMode[BlendMode["PLUS"] = 13] = "PLUS";
296  BlendMode[BlendMode["MODULATE"] = 14] = "MODULATE";
297  BlendMode[BlendMode["SCREEN"] = 15] = "SCREEN";
298  BlendMode[BlendMode["OVERLAY"] = 16] = "OVERLAY";
299  BlendMode[BlendMode["DARKEN"] = 17] = "DARKEN";
300  BlendMode[BlendMode["LIGHTEN"] = 18] = "LIGHTEN";
301  BlendMode[BlendMode["COLOR_DODGE"] = 19] = "COLOR_DODGE";
302  BlendMode[BlendMode["COLOR_BURN"] = 20] = "COLOR_BURN";
303  BlendMode[BlendMode["HARD_LIGHT"] = 21] = "HARD_LIGHT";
304  BlendMode[BlendMode["SOFT_LIGHT"] = 22] = "SOFT_LIGHT";
305  BlendMode[BlendMode["DIFFERENCE"] = 23] = "DIFFERENCE";
306  BlendMode[BlendMode["EXCLUSION"] = 24] = "EXCLUSION";
307  BlendMode[BlendMode["MULTIPLY"] = 25] = "MULTIPLY";
308  BlendMode[BlendMode["HUE"] = 26] = "HUE";
309  BlendMode[BlendMode["SATURATION"] = 27] = "SATURATION";
310  BlendMode[BlendMode["COLOR"] = 28] = "COLOR";
311  BlendMode[BlendMode["LUMINOSITY"] = 29] = "LUMINOSITY";
312})(BlendMode || (BlendMode = {}));
313
314var BlendApplyType;
315(function (BlendApplyType) {
316  BlendApplyType[BlendApplyType["FAST"] = 0] = "FAST";
317  BlendApplyType[BlendApplyType["OFFSCREEN"] = 1] = "OFFSCREEN";
318})(BlendApplyType || (BlendApplyType = {}));
319
320var TextOverflow;
321(function (TextOverflow) {
322  TextOverflow[TextOverflow["None"] = 0] = "None";
323  TextOverflow[TextOverflow["Clip"] = 1] = "Clip";
324  TextOverflow[TextOverflow["Ellipsis"] = 2] = "Ellipsis";
325  TextOverflow[TextOverflow["Marquee"] = 3] = "Marquee";
326  TextOverflow[TextOverflow["MARQUEE"] = 3] = "MARQUEE";
327})(TextOverflow || (TextOverflow = {}));
328
329var TextDecorationStyle;
330(function (TextDecorationStyle) {
331  TextDecorationStyle[TextDecorationStyle["SOLID"] = 0] = "SOLID";
332  TextDecorationStyle[TextDecorationStyle["DOUBLE"] = 1] = "DOUBLE";
333  TextDecorationStyle[TextDecorationStyle["DOTTED"] = 2] = "DOTTED";
334  TextDecorationStyle[TextDecorationStyle["DASHED"] = 3] = "DASHED";
335  TextDecorationStyle[TextDecorationStyle["WAVY"] = 4] = "WAVY";
336})(TextDecorationStyle || (TextDecorationStyle= {}));
337
338var TextDecorationType;
339(function (TextDecorationType) {
340  TextDecorationType[TextDecorationType["None"] = 0] = "None";
341  TextDecorationType[TextDecorationType["Underline"] = 1] = "Underline";
342  TextDecorationType[TextDecorationType["Overline"] = 2] = "Overline";
343  TextDecorationType[TextDecorationType["LineThrough"] = 3] = "LineThrough";
344})(TextDecorationType || (TextDecorationType = {}));
345
346var ClickEffectLevel;
347(function (ClickEffectLevel) {
348  ClickEffectLevel[ClickEffectLevel["LIGHT"] = 0] = "LIGHT";
349  ClickEffectLevel[ClickEffectLevel["MIDDLE"] = 1] = "MIDDLE";
350  ClickEffectLevel[ClickEffectLevel["HEAVY"] = 2] = "HEAVY";
351})(ClickEffectLevel || (ClickEffectLevel = {}));
352
353var TextCase;
354(function (TextCase) {
355  TextCase[TextCase["Normal"] = 0] = "Normal";
356  TextCase[TextCase["LowerCase"] = 1] = "LowerCase";
357  TextCase[TextCase["UpperCase"] = 2] = "UpperCase";
358})(TextCase || (TextCase = {}));
359
360var NavigationType;
361(function (NavigationType) {
362  NavigationType[NavigationType["Push"] = 1] = "Push";
363  NavigationType[NavigationType["Replace"] = 2] = "Replace";
364  NavigationType[NavigationType["Back"] = 3] = "Back";
365})(NavigationType || (NavigationType = {}));
366
367var PanelType;
368(function (PanelType) {
369  PanelType[PanelType["Minibar"] = 0] = "Minibar";
370  PanelType[PanelType["Foldable"] = 1] = "Foldable";
371  PanelType[PanelType["Temporary"] = 2] = "Temporary";
372  PanelType[PanelType["CUSTOM"] = 3] = "CUSTOM";
373})(PanelType || (PanelType = {}));
374
375var PanelHeight;
376(function (PanelHeight) {
377  PanelHeight[PanelHeight["WRAP_CONTENT"] = "wrapContent"] = "WRAP_CONTENT";
378})(PanelHeight || (PanelHeight = {}));
379
380var PanelMode;
381(function (PanelMode) {
382  PanelMode[PanelMode["Mini"] = 0] = "Mini";
383  PanelMode[PanelMode["Half"] = 1] = "Half";
384  PanelMode[PanelMode["Full"] = 2] = "Full";
385})(PanelMode || (PanelMode = {}));
386
387var Axis;
388(function (Axis) {
389  Axis[Axis["Vertical"] = 0] = "Vertical";
390  Axis[Axis["Horizontal"] = 1] = "Horizontal";
391})(Axis || (Axis = {}));
392
393var BarState;
394(function (BarState) {
395  BarState[BarState["Off"] = 0] = "Off";
396  BarState[BarState["Auto"] = 1] = "Auto";
397  BarState[BarState["On"] = 2] = "On";
398})(BarState || (BarState = {}));
399
400var EdgeEffect;
401(function (EdgeEffect) {
402  EdgeEffect[EdgeEffect["Spring"] = 0] = "Spring";
403  EdgeEffect[EdgeEffect["Fade"] = 1] = "Fade";
404  EdgeEffect[EdgeEffect["None"] = 2] = "None";
405})(EdgeEffect || (EdgeEffect = {}));
406
407var SwipeEdgeEffect;
408(function (SwipeEdgeEffect) {
409  SwipeEdgeEffect[SwipeEdgeEffect["Spring"] = 0] = "Spring";
410  SwipeEdgeEffect[SwipeEdgeEffect["None"] = 1] = "None";
411})(SwipeEdgeEffect || (SwipeEdgeEffect = {}));
412
413var ScrollState;
414(function (ScrollState) {
415  ScrollState[ScrollState["Idle"] = 0] = "Idle";
416  ScrollState[ScrollState["Scroll"] = 1] = "Scroll";
417  ScrollState[ScrollState["Fling"] = 2] = "Fling";
418})(ScrollState || (ScrollState = {}));
419
420var TouchType;
421(function (TouchType) {
422  TouchType[TouchType["Down"] = 0] = "Down";
423  TouchType[TouchType["Up"] = 1] = "Up";
424  TouchType[TouchType["Move"] = 2] = "Move";
425  TouchType[TouchType["Cancel"] = 3] = "Cancel";
426})(TouchType || (TouchType = {}));
427
428var MouseButton;
429(function (MouseButton) {
430  MouseButton[MouseButton["None"] = 0] = "None";
431  MouseButton[MouseButton["Left"] = 1] = "Left";
432  MouseButton[MouseButton["Right"] = 2] = "Right";
433  MouseButton[MouseButton["Middle"] = 4] = "Middle";
434  MouseButton[MouseButton["Back"] = 8] = "Back";
435  MouseButton[MouseButton["Forward"] = 16] = "Forward";
436})(MouseButton || (MouseButton = {}));
437
438var MouseAction;
439(function (MouseAction) {
440  MouseAction[MouseAction["None"] = 0] = "None";
441  MouseAction[MouseAction["Press"] = 1] = "Press";
442  MouseAction[MouseAction["Release"] = 2] = "Release";
443  MouseAction[MouseAction["Move"] = 3] = "Move";
444  MouseAction[MouseAction["Hover"] = 4] = "Hover";
445})(MouseAction || (MouseAction = {}));
446
447var KeyType;
448(function (KeyType) {
449  KeyType[KeyType["Down"] = 0] = "Down";
450  KeyType[KeyType["Up"] = 1] = "Up";
451  KeyType[KeyType["LongPress"] = 2] = "LongPress";
452})(KeyType || (KeyType = {}));
453
454var GestureMode;
455(function (GestureMode) {
456  GestureMode[GestureMode["Sequence"] = 0] = "Sequence";
457  GestureMode[GestureMode["Parallel"] = 1] = "Parallel";
458  GestureMode[GestureMode["Exclusive"] = 2] = "Exclusive";
459})(GestureMode || (GestureMode = {}));
460
461var PanDirection;
462(function (PanDirection) {
463  PanDirection[PanDirection["None"] = 0] = "None";
464  PanDirection[PanDirection["Left"] = 1] = "Left";
465  PanDirection[PanDirection["Right"] = 2] = "Right";
466  PanDirection[PanDirection["Horizontal"] = 3] = "Horizontal";
467  PanDirection[PanDirection["Up"] = 4] = "Up";
468  PanDirection[PanDirection["Down"] = 8] = "Down";
469  PanDirection[PanDirection["Vertical"] = 12] = "Vertical";
470  PanDirection[PanDirection["All"] = 15] = "All";
471})(PanDirection || (PanDirection = {}));
472
473var SwipeDirection;
474(function (SwipeDirection) {
475  SwipeDirection[SwipeDirection["None"] = 0] = "None";
476  SwipeDirection[SwipeDirection["Horizontal"] = 1] = "Horizontal";
477  SwipeDirection[SwipeDirection["Vertical"] = 2] = "Vertical";
478  SwipeDirection[SwipeDirection["All"] = 3] = "All";
479})(SwipeDirection || (SwipeDirection = {}));
480
481var GestureDirection;
482(function (GestureDirection) {
483  GestureDirection[GestureDirection["All"] = 0] = "All";
484  GestureDirection[GestureDirection["Horizontal"] = 1] = "Horizontal";
485  GestureDirection[GestureDirection["Vertical"] = 2] = "Vertical";
486})(GestureDirection || (GestureDirection = {}));
487
488var GestureMask;
489(function (GestureMask) {
490  GestureMask[GestureMask["Normal"] = 0] = "Normal";
491  GestureMask[GestureMask["IgnoreInternal"] = 1] = "IgnoreInternal";
492})(GestureMask || (GestureMask = {}));
493
494var GesturePriority;
495(function (GesturePriority) {
496  GesturePriority[GesturePriority["Low"] = 0] = "Low";
497  GesturePriority[GesturePriority["High"] = 1] = "High";
498  GesturePriority[GesturePriority["Parallel"] = 2] = "Parallel";
499})(GesturePriority || (GesturePriority = {}));
500
501var Visibility;
502(function (Visibility) {
503  Visibility[Visibility["Visible"] = 0] = "Visible";
504  Visibility[Visibility["Hidden"] = 1] = "Hidden";
505  Visibility[Visibility["None"] = 2] = "None";
506})(Visibility || (Visibility = {}));
507
508var RelateType;
509(function (RelateType) {
510  RelateType[RelateType["FILL"] = 0] = "FILL";
511  RelateType[RelateType["FIT"] = 1] = "FIT";
512})(RelateType || (RelateType = {}));
513
514var FlexDirection;
515(function (FlexDirection) {
516  FlexDirection[FlexDirection["Row"] = 0] = "Row";
517  FlexDirection[FlexDirection["Column"] = 1] = "Column";
518  FlexDirection[FlexDirection["RowReverse"] = 2] = "RowReverse";
519  FlexDirection[FlexDirection["ColumnReverse"] = 3] = "ColumnReverse";
520})(FlexDirection || (FlexDirection = {}));
521
522var FlexWrap;
523(function (FlexWrap) {
524  FlexWrap[FlexWrap["NoWrap"] = 0] = "NoWrap";
525  FlexWrap[FlexWrap["Wrap"] = 1] = "Wrap";
526  FlexWrap[FlexWrap["WrapReverse"] = 2] = "WrapReverse";
527})(FlexWrap || (FlexWrap = {}));
528
529var BlurStyle;
530(function (BlurStyle) {
531  BlurStyle[BlurStyle["SmallLight"] = 100] = "SmallLight";
532  BlurStyle[BlurStyle["MediumLight"] = 101] = "MediumLight";
533  BlurStyle[BlurStyle["LargeLight"] = 102] = "LargeLight";
534  BlurStyle[BlurStyle["XlargeLight"] = 103] = "XlargeLight";
535  BlurStyle[BlurStyle["SmallDark"] = 104] = "SmallDark";
536  BlurStyle[BlurStyle["MediumDark"] = 105] = "MediumDark";
537  BlurStyle[BlurStyle["LargeDark"] = 106] = "LargeDark";
538  BlurStyle[BlurStyle["XlargeDark"] = 107] = "XlargeDark";
539})(BlurStyle || (BlurStyle = {}));
540
541var Edge;
542(function (Edge) {
543  Edge[Edge["Top"] = 0] = "Top";
544  Edge[Edge["Center"] = 1] = "Center";
545  Edge[Edge["Bottom"] = 2] = "Bottom";
546  Edge[Edge["Baseline"] = 3] = "Baseline";
547  Edge[Edge["Start"] = 4] = "Start";
548  Edge[Edge["Middle"] = 5] = "Middle";
549  Edge[Edge["End"] = 6] = "End";
550})(Edge || (Edge = {}));
551
552var LineJoinStyle;
553(function (LineJoinStyle) {
554  LineJoinStyle[LineJoinStyle["Miter"] = 0] = "Miter";
555  LineJoinStyle[LineJoinStyle["Round"] = 1] = "Round";
556  LineJoinStyle[LineJoinStyle["Bevel"] = 2] = "Bevel";
557})(LineJoinStyle || (LineJoinStyle = {}));
558
559var AnimationStatus;
560(function (AnimationStatus) {
561  AnimationStatus[AnimationStatus["Initial"] = 0] = "Initial";
562  AnimationStatus[AnimationStatus["Running"] = 1] = "Running";
563  AnimationStatus[AnimationStatus["Paused"] = 2] = "Paused";
564  AnimationStatus[AnimationStatus["Stopped"] = 3] = "Stopped";
565})(AnimationStatus || (AnimationStatus = {}));
566
567var Motion;
568(function (Motion) {
569  Motion[Motion["SpringMotion"] = 0] = "SpringMotion";
570  Motion[Motion["FrictionMotion"] = 1] = "FrictionMotion";
571  Motion[Motion["ScrollMotion"] = 2] = "ScrollMotion";
572})(Motion || (Motion = {}));
573
574var ScrollDirection;
575(function (ScrollDirection) {
576  ScrollDirection[ScrollDirection["Vertical"] = 0] = "Vertical";
577  ScrollDirection[ScrollDirection["Horizontal"] = 1] = "Horizontal";
578  ScrollDirection[ScrollDirection["Free"] = 2] = "Free";
579  ScrollDirection[ScrollDirection["None"] = 3] = "None";
580})(ScrollDirection || (ScrollDirection = {}));
581
582var Sticky;
583(function (Sticky) {
584  Sticky[Sticky["None"] = 0] = "None";
585  Sticky[Sticky["Normal"] = 1] = "Normal";
586  Sticky[Sticky["Opacity"] = 2] = "Opacity";
587})(Sticky || (Sticky = {}));
588
589var StickyStyle;
590(function (StickyStyle) {
591  StickyStyle[StickyStyle["None"] = 0] = "None";
592  StickyStyle[StickyStyle["Header"] = 1] = "Header";
593  StickyStyle[StickyStyle["Footer"] = 2] = "Footer";
594})(StickyStyle || (StickyStyle = {}));
595
596var ScrollSnapAlign;
597(function (ScrollSnapAlign) {
598  ScrollSnapAlign[ScrollSnapAlign["NONE"] = 0] = "NONE";
599  ScrollSnapAlign[ScrollSnapAlign["START"] = 1] = "START";
600  ScrollSnapAlign[ScrollSnapAlign["CENTER"] = 2] = "CENTER";
601  ScrollSnapAlign[ScrollSnapAlign["END"] = 3] = "END";
602})(ScrollSnapAlign || (ScrollSnapAlign = {}));
603
604var ChainEdgeEffect;
605(function (ChainEdgeEffect) {
606  ChainEdgeEffect[ChainEdgeEffect["DEFAULT"] = 0] = "DEFAULT";
607  ChainEdgeEffect[ChainEdgeEffect["STRETCH"] = 1] = "STRETCH";
608})(ChainEdgeEffect || (ChainEdgeEffect = {}));
609
610var Week;
611(function (Week) {
612  Week["Mon"] = 0b0000001;
613  Week["Tue"] = 0b0000010;
614  Week["Wed"] = 0b0000100;
615  Week["Thur"] = 0b0001000;
616  Week["Fri"] = 0b0010000;
617  Week["Sat"] = 0b0100000;
618  Week["Sun"] = 0b1000000;
619})(Week || (Week = {}));
620
621var FormDimension;
622(function (FormDimension) {
623  FormDimension["Dimension_1_2"] = 1;
624  FormDimension["Dimension_2_2"] = 2;
625  FormDimension["Dimension_2_4"] = 3;
626  FormDimension["Dimension_4_4"] = 4;
627  FormDimension["Dimension_2_1"] = 5;
628  FormDimension["DIMENSION_1_1"] = 6;
629})(FormDimension || (FormDimension = {}));
630
631let FormRenderingMode;
632(function (FormRenderingMode) {
633  FormRenderingMode.FULL_COLOR = 0;
634  FormRenderingMode.SINGLE_COLOR = 1;
635})(FormRenderingMode || (FormRenderingMode = {}));
636
637var TransitionType;
638(function (TransitionType) {
639  TransitionType["All"] = "All";
640  TransitionType["Insert"] = "Insert";
641  TransitionType["Delete"] = "Delete";
642})(TransitionType || (TransitionType = {}));
643
644var Direction;
645(function (Direction) {
646  Direction["Ltr"] = "Ltr";
647  Direction["Rtl"] = "Rtl";
648  Direction["Auto"] = "Auto";
649})(Direction || (Direction = {}));
650
651var RouteType;
652(function (RouteType) {
653  RouteType[RouteType["None"] = 0] = "None";
654  RouteType[RouteType["Push"] = 1] = "Push";
655  RouteType[RouteType["Pop"] = 2] = "Pop";
656})(RouteType || (RouteType = {}));
657
658var FocusDirection;
659(function (FocusDirection) {
660  FocusDirection[FocusDirection["Up"] = 19] = "Up";
661  FocusDirection[FocusDirection["Down"] = 20] = "Down";
662  FocusDirection[FocusDirection["Left"] = 21] = "Left";
663  FocusDirection[FocusDirection["Right"] = 22] = "Right";
664  FocusDirection[FocusDirection["Tab"] = 61] = "Tab";
665  FocusDirection[FocusDirection["ShiftTab"] = 200] = "ShiftTab";
666})(FocusDirection || (FocusDirection = {}));
667
668var SlideEffect;
669(function (SlideEffect) {
670  SlideEffect[SlideEffect["None"] = 0] = "None";
671  SlideEffect[SlideEffect["Left"] = 1] = "Left";
672  SlideEffect[SlideEffect["Right"] = 2] = "Right";
673  SlideEffect[SlideEffect["Top"] = 3] = "Top";
674  SlideEffect[SlideEffect["Bottom"] = 4] = "Bottom";
675})(SlideEffect || (SlideEffect = {}));
676
677var GradientDirection;
678(function (GradientDirection) {
679  GradientDirection[GradientDirection["Left"] = 0] = "Left";
680  GradientDirection[GradientDirection["Top"] = 1] = "Top";
681  GradientDirection[GradientDirection["Right"] = 2] = "Right";
682  GradientDirection[GradientDirection["Bottom"] = 3] = "Bottom";
683  GradientDirection[GradientDirection["LeftTop"] = 4] = "Bottom";
684  GradientDirection[GradientDirection["LeftBottom"] = 5] = "Bottom";
685  GradientDirection[GradientDirection["RightTop"] = 6] = "Bottom";
686  GradientDirection[GradientDirection["RightBottom"] = 7] = "Bottom";
687  GradientDirection[GradientDirection["None"] = 8] = "None";
688})(GradientDirection || (GradientDirection = {}));
689
690var BarMode;
691(function (BarMode) {
692  BarMode["Fixed"] = "Fixed";
693  BarMode["Scrollable"] = "Scrollable";
694})(BarMode || (BarMode = {}));
695
696var SelectedMode;
697(function (SelectedMode) {
698  SelectedMode[SelectedMode["INDICATOR"] = 0] = "INDICATOR";
699  SelectedMode[SelectedMode["BOARD"] = 1] = "BOARD";
700})(SelectedMode || (SelectedMode = {}));
701
702var LayoutMode;
703(function (LayoutMode) {
704  LayoutMode[LayoutMode["AUTO"] = 0] = "AUTO";
705  LayoutMode[LayoutMode["VERTICAL"] = 1] = "VERTICAL";
706  LayoutMode[LayoutMode["HORIZONTAL"] = 2] = "HORIZONTAL";
707})(LayoutMode || (LayoutMode = {}));
708
709var LayoutStyle;
710(function (LayoutStyle) {
711  LayoutStyle[LayoutStyle["ALWAYS_CENTER"] = 0] = "ALWAYS_CENTER";
712  LayoutStyle[LayoutStyle["ALWAYS_AVERAGE_SPLIT"] = 1] = "ALWAYS_AVERAGE_SPLIT";
713  LayoutStyle[LayoutStyle["SPACE_BETWEEN_OR_CENTER"] = 2] = "SPACE_BETWEEN_OR_CENTER";
714})(LayoutStyle || (LayoutStyle = {}));
715
716var SizeType;
717(function (SizeType) {
718  SizeType[SizeType["Auto"] = 0] = "Auto";
719  SizeType[SizeType["XS"] = 1] = "XS";
720  SizeType[SizeType["SM"] = 2] = "SM";
721  SizeType[SizeType["MD"] = 3] = "MD";
722  SizeType[SizeType["LG"] = 4] = "LG";
723})(SizeType || (SizeType = {}));
724
725var CancelButtonStyle;
726(function (CancelButtonStyle) {
727  CancelButtonStyle["CONSTANT"] = "CONSTANT";
728  CancelButtonStyle["INVISIBLE"] = "INVISIBLE";
729  CancelButtonStyle["INPUT"] = "INPUT";
730})(CancelButtonStyle || (CancelButtonStyle = {}));
731
732var ColorMode;
733(function (ColorMode) {
734  ColorMode[ColorMode["LIGHT"] = 0] = "LIGHT";
735  ColorMode[ColorMode["DARK"] = 1] = "DARK";
736})(ColorMode || (ColorMode = {}));
737var LayoutDirection;
738(function (LayoutDirection) {
739  LayoutDirection[LayoutDirection["RTL"] = 0] = "RTL";
740  LayoutDirection[LayoutDirection["LTR"] = 1] = "LTR";
741})(LayoutDirection || (LayoutDirection = {}));
742
743function isSystemplugin(shortName, moduleType) {
744  const plugin = moduleType === 'ohos' ? globalThis.ohosplugin : globalThis.systemplugin;
745  if (typeof (plugin) !== 'undefined') {
746    var target = plugin;
747    for (let key of shortName.split('.')) {
748      target = target[key];
749      if (!target) {
750        break;
751      }
752    }
753    return typeof (target) !== 'undefined';
754  }
755}
756
757var BarPosition;
758(function (BarPosition) {
759  BarPosition[BarPosition["Start"] = 0] = "Start";
760  BarPosition[BarPosition["End"] = 1] = "End";
761})(BarPosition || (BarPosition = {}));
762
763var SharedTransitionEffectType;
764(function (SharedTransitionEffectType) {
765  SharedTransitionEffectType[SharedTransitionEffectType["Static"] = 0] = "Static";
766  SharedTransitionEffectType[SharedTransitionEffectType["Exchange"] = 1] = "Exchange";
767})(SharedTransitionEffectType || (SharedTransitionEffectType = {}));
768
769function $r(id, type, ...params) {
770  return { "id": id, "type": type, "params": params };
771}
772
773function $rawfile(fileName) {
774  return { "id": 0, "type": 30000, "params": [fileName] };
775}
776
777var IndexerAlign;
778(function (IndexerAlign) {
779  IndexerAlign[IndexerAlign["Left"] = 0] = "Left";
780  IndexerAlign[IndexerAlign["Right"] = 1] = "Right";
781})(IndexerAlign || (IndexerAlign = {}));
782
783var DialogAlignment;
784(function (DialogAlignment) {
785  DialogAlignment[DialogAlignment["Top"] = 0] = "Top";
786  DialogAlignment[DialogAlignment["Center"] = 1] = "Center";
787  DialogAlignment[DialogAlignment["Bottom"] = 2] = "Bottom";
788  DialogAlignment[DialogAlignment["Default"] = 3] = "Default";
789  DialogAlignment[DialogAlignment["TopStart"] = 4] = "TopStart";
790  DialogAlignment[DialogAlignment["TopEnd"] = 5] = "TopEnd";
791  DialogAlignment[DialogAlignment["CenterStart"] = 6] = "CenterStart";
792  DialogAlignment[DialogAlignment["CenterEnd"] = 7] = "CenterEnd";
793  DialogAlignment[DialogAlignment["BottomStart"] = 8] = "BottomStart";
794  DialogAlignment[DialogAlignment["BottomEnd"] = 9] = "BottomEnd";
795})(DialogAlignment || (DialogAlignment = {}));
796
797var DialogButtonStyle;
798(function (DialogButtonStyle) {
799  DialogButtonStyle[DialogButtonStyle["DEFAULT"] = 0] = "DEFAULT";
800  DialogButtonStyle[DialogButtonStyle["HIGHLIGHT"] = 1] = "HIGHLIGHT";
801})(DialogButtonStyle || (DialogButtonStyle = {}));
802
803var EditMode;
804(function (EditMode) {
805  EditMode[EditMode["None"] = 0] = "None";
806  EditMode[EditMode["Deletable"] = 1] = "Deletable";
807  EditMode[EditMode["Movable"] = 2] = "Movable";
808})(EditMode || (EditMode = {}));
809
810var SwiperDisplayMode;
811(function (SwiperDisplayMode) {
812  SwiperDisplayMode[SwiperDisplayMode["Stretch"] = 0] = "Stretch";
813  SwiperDisplayMode[SwiperDisplayMode["AutoLinear"] = 1] = "AutoLinear";
814  SwiperDisplayMode[SwiperDisplayMode["STRETCH"] = 0] = "STRETCH";
815  SwiperDisplayMode[SwiperDisplayMode["AUTO_LINEAR"] = 1] = "AUTO_LINEAR";
816})(SwiperDisplayMode || (SwiperDisplayMode = {}));
817
818var EdgeEffect;
819(function (EdgeEffect) {
820  EdgeEffect[EdgeEffect["Spring"] = 0] = "Spring";
821  EdgeEffect[EdgeEffect["Fade"] = 1] = "Fade";
822  EdgeEffect[EdgeEffect["None"] = 2] = "None";
823})(EdgeEffect || (EdgeEffect = {}));
824
825var DatePickerType;
826(function (DatePickerType) {
827  DatePickerType[DatePickerType["Time"] = 0] = "Time";
828  DatePickerType[DatePickerType["Date"] = 1] = "Date";
829})(DatePickerType || (DatePickerType = {}));
830
831var TimePickerFormat;
832(function (TimePickerFormat) {
833  TimePickerFormat[TimePickerFormat["HOUR_MINUTE"] = 0] = "HOUR_MINUTE";
834  TimePickerFormat[TimePickerFormat["HOUR_MINUTE_SECOND"] = 1] = "HOUR_MINUTE_SECOND";
835})(TimePickerFormat || (TimePickerFormat = {}));
836
837var InputType;
838(function (InputType) {
839  InputType[InputType["Normal"] = 0] = "Normal";
840  InputType[InputType["Number"] = 2] = "Number";
841  InputType[InputType["PhoneNumber"] = 3] = "PhoneNumber";
842  InputType[InputType["Email"] = 5] = "Email";
843  InputType[InputType["Password"] = 7] = "Password";
844  InputType[InputType["NUMBER_PASSWORD"] = 8] = "NUMBER_PASSWORD";
845  InputType[InputType["SCREEN_LOCK_PASSWORD"] = 9] = "SCREEN_LOCK_PASSWORD";
846  InputType[InputType["USER_NAME"] = 10] = "USER_NAME";
847  InputType[InputType["NEW_PASSWORD"] = 11] = "NEW_PASSWORD";
848  InputType[InputType["NUMBER_DECIMAL"] = 12] = "NUMBER_DECIMAL";
849})(InputType || (InputType = {}));
850
851var SearchType;
852(function (SearchType) {
853  SearchType[SearchType["NORMAL"] = 0] = "NORMAL";
854  SearchType[SearchType["NUMBER"] = 2] = "NUMBER";
855  SearchType[SearchType["PHONE_NUMBER"] = 3] = "PHONE_NUMBER";
856  SearchType[SearchType["EMAIL"] = 5] = "EMAIL";
857})(SearchType || (SearchType = {}));
858
859var TextAreaType;
860(function (TextAreaType) {
861  TextAreaType[TextAreaType["NORMAL"] = 0] = "NORMAL";
862  TextAreaType[TextAreaType["NUMBER"] = 2] = "NUMBER";
863  TextAreaType[TextAreaType["PHONE_NUMBER"] = 3] = "PHONE_NUMBER";
864  TextAreaType[TextAreaType["EMAIL"] = 5] = "EMAIL";
865})(TextAreaType || (TextAreaType = {}));
866
867var EnterKeyType;
868(function (EnterKeyType) {
869  EnterKeyType[EnterKeyType["Go"] = 2] = "Go";
870  EnterKeyType[EnterKeyType["Search"] = 3] = "Search";
871  EnterKeyType[EnterKeyType["Send"] = 4] = "Send";
872  EnterKeyType[EnterKeyType["Next"] = 5] = "Next";
873  EnterKeyType[EnterKeyType["Done"] = 6] = "Done";
874  EnterKeyType[EnterKeyType["PREVIOUS"] = 7] = "PREVIOUS";
875  EnterKeyType[EnterKeyType["NEW_LINE"] = 8] = "NEW_LINE";
876})(EnterKeyType || (EnterKeyType = {}));
877
878var ItemState
879(function (ItemState) {
880  ItemState[ItemState["Normal"] = 0] = "Normal";
881  ItemState[ItemState["Disabled"] = 1] = "Disabled";
882  ItemState[ItemState["Waiting"] = 2] = "Waiting";
883  ItemState[ItemState["Skip"] = 3] = "Skip";
884})(ItemState || (ItemState = {}));
885
886var NavigationTitleMode;
887(function (NavigationTitleMode) {
888  NavigationTitleMode[NavigationTitleMode["Free"] = 0] = "Free";
889  NavigationTitleMode[NavigationTitleMode["Full"] = 1] = "Full";
890  NavigationTitleMode[NavigationTitleMode["Mini"] = 2] = "Mini";
891})(NavigationTitleMode || (NavigationTitleMode = {}));
892
893var NavigationMode;
894(function (NavigationMode) {
895  NavigationMode[NavigationMode["Stack"] = 0] = "Stack";
896  NavigationMode[NavigationMode["Split"] = 1] = "Split";
897  NavigationMode[NavigationMode["Auto"] = 2] = "Auto";
898})(NavigationMode || (NavigationMode = {}));
899
900var NavRouteMode;
901(function (NavRouteMode) {
902  NavRouteMode[NavRouteMode["PUSH_WITH_RECREATE"] = 0] = "PUSH_WITH_RECREATE";
903  NavRouteMode[NavRouteMode["PUSH"] = 1] = "PUSH";
904  NavRouteMode[NavRouteMode["REPLACE"] = 2] = "REPLACE";
905})(NavRouteMode || (NavRouteMode = {}));
906
907var NavBarPosition;
908(function (NavBarPosition) {
909  NavBarPosition[NavBarPosition["Start"] = 0] = "Start";
910  NavBarPosition[NavBarPosition["End"] = 1] = "End";
911})(NavBarPosition || (NavBarPosition = {}));
912
913var TitleHeight;
914(function (TitleHeight) {
915  TitleHeight["MainOnly"] = "MainOnly";
916  TitleHeight["MainWithSub"] = "MainWithSub";
917})(TitleHeight || (TitleHeight = {}));
918
919var NavDestinationMode;
920(function(NavDestinationMode) {
921  NavDestinationMode[NavDestinationMode["STANDARD"] = 0] = "STANDARD";
922  NavDestinationMode[NavDestinationMode["DIALOG"] = 1] = "DIALOG";
923}(NavDestinationMode || (NavDestinationMode = {})));
924
925let NavigationOperation;
926(function(NavigationOperation) {
927  NavigationOperation[NavigationOperation.PUSH = 1] = "PUSH";
928  NavigationOperation[NavigationOperation.POP = 2] = "POP";
929  NavigationOperation[NavigationOperation.REPLACE = 3] = "REPLACE";
930}(NavigationOperation || (NavigationOperation = {})));
931
932var ResponseType;
933(function (ResponseType) {
934  ResponseType[ResponseType["RightClick"] = 0] = "RightClick";
935  ResponseType[ResponseType["LongPress"] = 1] = "LongPress";
936})(ResponseType || (ResponseType = {}));
937
938var RichEditorResponseType;
939(function (RichEditorResponseType) {
940  RichEditorResponseType[RichEditorResponseType["RIGHT_CLICK"] = 0] = "RIGHT_CLICK";
941  RichEditorResponseType[RichEditorResponseType["LONG_PRESS"] = 1] = "LONG_PRESS";
942  RichEditorResponseType[RichEditorResponseType["SELECT"] = 2] = "SELECT";
943})(RichEditorResponseType || (RichEditorResponseType = {}));
944
945var MenuPreviewMode;
946(function (MenuPreviewMode) {
947  MenuPreviewMode[MenuPreviewMode["NONE"] = 0] = "NONE";
948  MenuPreviewMode[MenuPreviewMode["IMAGE"] = 1] = "IMAGE";
949})(MenuPreviewMode || (MenuPreviewMode = {}));
950
951var HoverEffect;
952(function (HoverEffect) {
953  HoverEffect[HoverEffect["Auto"] = 4] = "Auto";
954  HoverEffect[HoverEffect["Scale"] = 2] = "Scale";
955  HoverEffect[HoverEffect["Board"] = 3] = "Board";
956  HoverEffect[HoverEffect["Highlight"] = 3] = "Highlight";
957  HoverEffect[HoverEffect["None"] = 0] = "None";
958})(HoverEffect || (HoverEffect = {}));
959
960var ScrollBarDirection;
961(function (ScrollBarDirection) {
962  ScrollBarDirection[ScrollBarDirection["Vertical"] = 0] = "Vertical";
963  ScrollBarDirection[ScrollBarDirection["Horizontal"] = 1] = "Horizontal";
964  ScrollBarDirection[ScrollBarDirection["None"] = 2] = "None";
965})(ScrollBarDirection || (ScrollBarDirection = {}));
966
967var Placement;
968(function (Placement) {
969  Placement[Placement["Left"] = 0] = "Left";
970  Placement[Placement["Right"] = 1] = "Right";
971  Placement[Placement["Top"] = 2] = "Top";
972  Placement[Placement["Bottom"] = 3] = "Bottom";
973  Placement[Placement["TopLeft"] = 4] = "TopLeft";
974  Placement[Placement["TopRight"] = 5] = "TopRight";
975  Placement[Placement["BottomLeft"] = 6] = "BottomLeft";
976  Placement[Placement["BottomRight"] = 7] = "BottomRight";
977  Placement[Placement["LeftTop"] = 8] = "LeftTop";
978  Placement[Placement["LeftBottom"] = 9] = "LeftBottom";
979  Placement[Placement["RightTop"] = 10] = "RightTop";
980  Placement[Placement["RightBottom"] = 11] = "RightBottom";
981})(Placement || (Placement = {}));
982
983var DialogStatus;
984(function (DialogStatus) {
985  DialogStatus[DialogStatus["Accept"] = 0] = "Accept";
986  DialogStatus[DialogStatus["Cancel"] = 1] = "Cancel";
987  DialogStatus[DialogStatus["Update"] = 2] = "Update";
988})(DialogStatus || (DialogStatus = {}));
989
990var SourceType;
991(function (SourceType) {
992  SourceType[SourceType["Unknown"] = 0] = "Unknown";
993  SourceType[SourceType["Mouse"] = 1] = "Mouse";
994  SourceType[SourceType["TouchScreen"] = 2] = "TouchScreen";
995  SourceType[SourceType["Keyboard"] = 4] = "Keyboard";
996})(SourceType || (SourceType = {}));
997
998var SourceTool;
999(function (SourceTool) {
1000  SourceTool[SourceTool["Unknown"] = 0] = "Unknown";
1001  SourceTool[SourceTool["FINGER"] = 1] = "FINGER";
1002  SourceTool[SourceTool["PEN"] = 2] = "PEN";
1003})(SourceTool || (SourceTool = {}));
1004
1005var KeySource;
1006(function (KeySource) {
1007  KeySource[KeySource["Unknown"] = 0] = "Unknown";
1008  KeySource[KeySource["Keyboard"] = 4] = "Keyboard";
1009})(KeySource || (KeySource = {}));
1010
1011var SeekMode;
1012(function (SeekMode) {
1013  SeekMode[SeekMode["PreviousKeyframe"] = 0] = "PreviousKeyframe";
1014  SeekMode[SeekMode["NextKeyframe"] = 1] = "NextKeyframe";
1015  SeekMode[SeekMode["ClosestKeyframe"] = 2] = "ClosestKeyframe";
1016  SeekMode[SeekMode["Accurate"] = 3] = "Accurate";
1017})(SeekMode || (SeekMode = {}));
1018
1019var SideBarContainerType;
1020(function (SideBarContainerType) {
1021  SideBarContainerType[SideBarContainerType["AUTO"] = 2] = "AUTO";
1022  SideBarContainerType[SideBarContainerType["Overlay"] = 1] = "Overlay";
1023  SideBarContainerType[SideBarContainerType["Embed"] = 0] = "Embed";
1024})(SideBarContainerType || (SideBarContainerType = {}));
1025
1026var SideBarPosition;
1027(function (SideBarPosition) {
1028  SideBarPosition[SideBarPosition["Start"] = 0] = "Start";
1029  SideBarPosition[SideBarPosition["End"] = 1] = "End";
1030})(SideBarPosition || (SideBarPosition = {}));
1031
1032var PlaybackSpeed;
1033(function (PlaybackSpeed) {
1034  PlaybackSpeed["Speed_Forward_0_75_X"] = "0.75";
1035  PlaybackSpeed["Speed_Forward_1_00_X"] = "1.00";
1036  PlaybackSpeed["Speed_Forward_1_25_X"] = "1.25";
1037  PlaybackSpeed["Speed_Forward_1_75_X"] = "1.75";
1038  PlaybackSpeed["Speed_Forward_2_00_X"] = "2.00";
1039})(PlaybackSpeed || (PlaybackSpeed = {}));
1040
1041var MixedMode;
1042(function (MixedMode) {
1043  MixedMode[MixedMode["ALL"] = 0] = "All";
1044  MixedMode[MixedMode["Compatible"] = 1] = "Compatible";
1045  MixedMode[MixedMode["None"] = 2] = "None";
1046})(MixedMode || (MixedMode = {}));
1047
1048var HitTestType;
1049(function (HitTestType) {
1050  HitTestType[HitTestType["EditText"] = 0] = "EditText";
1051  HitTestType[HitTestType["Email"] = 1] = "Email";
1052  HitTestType[HitTestType["HttpAnchor"] = 2] = "HttpAnchor";
1053  HitTestType[HitTestType["HttpAnchorImg"] = 3] = "HttpAnchorImg";
1054  HitTestType[HitTestType["Img"] = 4] = "Img";
1055  HitTestType[HitTestType["Map"] = 5] = "Map";
1056  HitTestType[HitTestType["Phone"] = 6] = "Phone";
1057  HitTestType[HitTestType["Unknown"] = 7] = "Unknown";
1058})(HitTestType || (HitTestType = {}));
1059
1060var CacheMode;
1061(function (CacheMode) {
1062  CacheMode[CacheMode["Default"] = 0] = "Default";
1063  CacheMode[CacheMode["None"] = 1] = "None";
1064  CacheMode[CacheMode["Online"] = 2] = "Online";
1065  CacheMode[CacheMode["Only"] = 3] = "Only";
1066})(CacheMode || (CacheMode = {}));
1067
1068var WebDarkMode;
1069(function (WebDarkMode) {
1070  WebDarkMode[WebDarkMode["Off"] = 0] = "Off";
1071  WebDarkMode[WebDarkMode["On"] = 1] = "On";
1072  WebDarkMode[WebDarkMode["Auto"] = 2] = "Auto";
1073})(WebDarkMode || (WebDarkMode = {}));
1074
1075var OverScrollMode;
1076(function (OverScrollMode) {
1077  OverScrollMode[OverScrollMode["NEVER"] = 0] = "NEVER";
1078  OverScrollMode[OverScrollMode["ALWAYS"] = 1] = "ALWAYS";
1079})(OverScrollMode || (OverScrollMode = {}));
1080
1081var RenderExitReason;
1082(function (RenderExitReason) {
1083  RenderExitReason[RenderExitReason["ProcessAbnormalTermination"] = 0] = "ProcessAbnormalTermination";
1084  RenderExitReason[RenderExitReason["ProcessWasKilled"] = 1] = "ProcessWasKilled";
1085  RenderExitReason[RenderExitReason["ProcessCrashed"] = 2] = "ProcessCrashed";
1086  RenderExitReason[RenderExitReason["ProcessOom"] = 3] = "ProcessOom";
1087  RenderExitReason[RenderExitReason["ProcessExitUnknown"] = 4] = "ProcessExitUnknown";
1088})(RenderExitReason || (RenderExitReason = {}));
1089
1090var SslError;
1091(function (SslError) {
1092  SslError[SslError["Invalid"] = 0] = "Invalid";
1093  SslError[SslError["HostMismatch"] = 1] = "HostMismatch";
1094  SslError[SslError["DateInvalid"] = 2] = "DateInvalid";
1095  SslError[SslError["Untrusted"] = 3] = "Untrusted";
1096})(SslError || (SslError = {}));
1097
1098var FileSelectorMode;
1099(function (FileSelectorMode) {
1100  FileSelectorMode[FileSelectorMode["FileOpenMode"] = 0] = "FileOpenMode";
1101  FileSelectorMode[FileSelectorMode["FileOpenMultipleMode"] = 1] = "FileOpenMultipleMode";
1102  FileSelectorMode[FileSelectorMode["FileOpenFolderMode"] = 2] = "FileOpenFolderMode";
1103  FileSelectorMode[FileSelectorMode["FileSaveMode"] = 3] = "FileSaveMode";
1104})(FileSelectorMode || (FileSelectorMode = {}));
1105
1106var ProtectedResourceType;
1107(function (ProtectedResourceType) {
1108  ProtectedResourceType["MidiSysex"] = "TYPE_MIDI_SYSEX";
1109  ProtectedResourceType["VIDEO_CAPTURE"] = "TYPE_VIDEO_CAPTURE";
1110  ProtectedResourceType["AUDIO_CAPTURE"] = "TYPE_AUDIO_CAPTURE";
1111})(ProtectedResourceType || (ProtectedResourceType = {}));
1112
1113var ProgressType;
1114(function (ProgressType) {
1115  ProgressType[ProgressType["Linear"] = 0] = "Linear";
1116  ProgressType[ProgressType["Ring"] = 1] = "Ring";
1117  ProgressType[ProgressType["Eclipse"] = 2] = "Eclipse";
1118  ProgressType[ProgressType["ScaleRing"] = 3] = "ScaleRing";
1119  ProgressType[ProgressType["Capsule"] = 4] = "Capsule";
1120})(ProgressType || (ProgressType = {}));
1121
1122var ProgressStatus;
1123(function (ProgressStatus) {
1124  ProgressStatus["LOADING"] = "LOADING";
1125  ProgressStatus["PROGRESSING"] = "PROGRESSING";
1126})(ProgressStatus || (ProgressStatus = {}));
1127
1128var MessageLevel
1129(function (MessageLevel) {
1130  MessageLevel[MessageLevel["Debug"] = 1] = "Debug";
1131  MessageLevel[MessageLevel["Info"] = 2] = "Info";
1132  MessageLevel[MessageLevel["Warn"] = 3] = "Warn";
1133  MessageLevel[MessageLevel["Error"] = 4] = "Error";
1134  MessageLevel[MessageLevel["Log"] = 5] = "Log";
1135})(MessageLevel || (MessageLevel = {}));
1136
1137var CopyOptions;
1138(function (CopyOptions) {
1139  CopyOptions[CopyOptions["None"] = 0] = "None";
1140  CopyOptions[CopyOptions["InApp"] = 1] = "InApp";
1141  CopyOptions[CopyOptions["LocalDevice"] = 2] = "LocalDevice";
1142  CopyOptions[CopyOptions["CROSS_DEVICE"] = 3] = "CrossDevice";
1143})(CopyOptions || (CopyOptions = {}));
1144
1145var SymbolRenderingStrategy;
1146(function (SymbolRenderingStrategy) {
1147  SymbolRenderingStrategy[SymbolRenderingStrategy["SINGLE"] = 0] = "SINGLE";
1148  SymbolRenderingStrategy[SymbolRenderingStrategy["MULTIPLE_COLOR"] = 1] = "MULTIPLE_COLOR";
1149  SymbolRenderingStrategy[SymbolRenderingStrategy["MULTIPLE_OPACITY"] = 2] = "MULTIPLE_OPACITY";
1150})(SymbolRenderingStrategy || (SymbolRenderingStrategy = {}));
1151
1152var SymbolEffectStrategy;
1153(function (SymbolEffectStrategy) {
1154  SymbolEffectStrategy[SymbolEffectStrategy["NONE"] = 0] = "NONE";
1155  SymbolEffectStrategy[SymbolEffectStrategy["SCALE"] = 1] = "SCALE";
1156  SymbolEffectStrategy[SymbolEffectStrategy["HIERARCHICAL"] = 2] = "HIERARCHICAL";
1157})(SymbolEffectStrategy || (SymbolEffectStrategy = {}));
1158
1159var RichEditorSpanType;
1160(function (RichEditorSpanType) {
1161  RichEditorSpanType[RichEditorSpanType["TEXT"] = 0] = "TEXT";
1162  RichEditorSpanType[RichEditorSpanType["IMAGE"] = 1] = "IMAGE";
1163  RichEditorSpanType[RichEditorSpanType["MIXED"] = 2] = "MIXED";
1164})(RichEditorSpanType || (RichEditorSpanType = {}));
1165
1166var ListItemAlign;
1167(function (ListItemAlign) {
1168  ListItemAlign[ListItemAlign["Start"] = 0] = "Start";
1169  ListItemAlign[ListItemAlign["Center"] = 1] = "Center";
1170  ListItemAlign[ListItemAlign["End"] = 2] = "End";
1171})(ListItemAlign || (ListItemAlign = {}));
1172
1173var BlurStyle;
1174(function (BlurStyle) {
1175  BlurStyle[BlurStyle["NoMaterial"] = 0] = "NoMaterial";
1176  BlurStyle[BlurStyle["Thin"] = 1] = "Thin";
1177  BlurStyle[BlurStyle["Regular"] = 2] = "Regular";
1178  BlurStyle[BlurStyle["Thick"] = 3] = "Thick";
1179  BlurStyle[BlurStyle["BackgroundThin"] = 4] = "BackgroundThin";
1180  BlurStyle[BlurStyle["BackgroundRegular"] = 5] = "BackgroundRegular";
1181  BlurStyle[BlurStyle["BackgroundThick"] = 6] = "BackgroundThick";
1182  BlurStyle[BlurStyle["BackgroundUltraThick"] = 7] = "BackgroundUltraThick";
1183  BlurStyle[BlurStyle["BACKGROUND_THIN"] = 4] = "BACKGROUND_THIN";
1184  BlurStyle[BlurStyle["BACKGROUND_REGULAR"] = 5] = "BACKGROUND_REGULAR";
1185  BlurStyle[BlurStyle["BACKGROUND_THICK"] = 6] = "BACKGROUND_THICK";
1186  BlurStyle[BlurStyle["BACKGROUND_ULTRA_THICK"] = 7] = "BACKGROUND_ULTRA_THICK";
1187  BlurStyle[BlurStyle["COMPONENT_ULTRA_THIN"] = 8] = "COMPONENT_ULTRA_THIN";
1188  BlurStyle[BlurStyle["COMPONENT_THIN"] = 9] = "COMPONENT_THIN";
1189  BlurStyle[BlurStyle["COMPONENT_REGULAR"] = 10] = "COMPONENT_REGULAR";
1190  BlurStyle[BlurStyle["COMPONENT_THICK"] = 11] = "COMPONENT_THICK";
1191  BlurStyle[BlurStyle["COMPONENT_ULTRA_THICK"] = 12] = "COMPONENT_ULTRA_THICK";
1192  BlurStyle[BlurStyle["NONE"] = 0] = "NONE";
1193})(BlurStyle || (BlurStyle = {}));
1194
1195var ThemeColorMode;
1196(function (ThemeColorMode) {
1197  ThemeColorMode[ThemeColorMode["System"] = 0] = "System";
1198  ThemeColorMode[ThemeColorMode["Light"] = 1] = "Light";
1199  ThemeColorMode[ThemeColorMode["Dark"] = 2] = "Dark";
1200  ThemeColorMode[ThemeColorMode["SYSTEM"] = 0] = "SYSTEM";
1201  ThemeColorMode[ThemeColorMode["LIGHT"] = 1] = "LIGHT";
1202  ThemeColorMode[ThemeColorMode["DARK"] = 2] = "DARK";
1203})(ThemeColorMode || (ThemeColorMode = {}));
1204
1205var AdaptiveColor;
1206(function (AdaptiveColor) {
1207  AdaptiveColor[AdaptiveColor["Default"] = 0] = "Default";
1208  AdaptiveColor[AdaptiveColor["Average"] = 1] = "Average";
1209  AdaptiveColor[AdaptiveColor["DEFAULT"] = 0] = "DEFAULT";
1210  AdaptiveColor[AdaptiveColor["AVERAGE"] = 1] = "AVERAGE";
1211})(AdaptiveColor || (AdaptiveColor = {}));
1212
1213var ShadowStyle;
1214(function (ShadowStyle) {
1215  ShadowStyle[ShadowStyle["OuterDefaultXS"] = 0] = "OuterDefaultXS";
1216  ShadowStyle[ShadowStyle["OuterDefaultSM"] = 1] = "OuterDefaultSM";
1217  ShadowStyle[ShadowStyle["OuterDefaultMD"] = 2] = "OuterDefaultMD";
1218  ShadowStyle[ShadowStyle["OuterDefaultLG"] = 3] = "OuterDefaultLG";
1219  ShadowStyle[ShadowStyle["OuterFloatingSM"] = 4] = "OuterFloatingSM";
1220  ShadowStyle[ShadowStyle["OuterFloatingMD"] = 5] = "OuterFloatingMD";
1221  ShadowStyle[ShadowStyle["OUTER_DEFAULT_XS"] = 0] = "OUTER_DEFAULT_XS";
1222  ShadowStyle[ShadowStyle["OUTER_DEFAULT_SM"] = 1] = "OUTER_DEFAULT_SM";
1223  ShadowStyle[ShadowStyle["OUTER_DEFAULT_MD"] = 2] = "OUTER_DEFAULT_MD";
1224  ShadowStyle[ShadowStyle["OUTER_DEFAULT_LG"] = 3] = "OUTER_DEFAULT_LG";
1225  ShadowStyle[ShadowStyle["OUTER_FLOATING_SM"] = 4] = "OUTER_FLOATING_SM";
1226  ShadowStyle[ShadowStyle["OUTER_FLOATING_MD"] = 5] = "OUTER_FLOATING_MD";
1227})(ShadowStyle || (ShadowStyle = {}));
1228
1229var ShadowType;
1230(function (ShadowType) {
1231  ShadowType[ShadowType["COLOR"] = 0] = "COLOR";
1232  ShadowType[ShadowType["BLUR"] = 1] = "BLUR";
1233})(ShadowType || (ShadowType = {}));
1234
1235var BreakpointsReference;
1236(function (BreakpointsReference) {
1237  BreakpointsReference[BreakpointsReference["WindowSize"] = 0] = "WindowSize";
1238  BreakpointsReference[BreakpointsReference["ComponentSize"] = 1] = "ComponentSize";
1239})(BreakpointsReference || (BreakpointsReference = {}));
1240
1241var GridRowDirection;
1242(function (GridRowDirection) {
1243  GridRowDirection[GridRowDirection["Row"] = 0] = "Row";
1244  GridRowDirection[GridRowDirection["RowReverse"] = 1] = "RowReverse";
1245})(GridRowDirection || (GridRowDirection = {}));
1246
1247var HitTestMode;
1248(function (HitTestMode) {
1249  HitTestMode[HitTestMode["Default"] = 0] = "Default";
1250  HitTestMode[HitTestMode["Block"] = 1] = "Block";
1251  HitTestMode[HitTestMode["Transparent"] = 2] = "Transparent";
1252  HitTestMode[HitTestMode["None"] = 3] = "None";
1253})(HitTestMode || (HitTestMode = {}));
1254
1255var GridDirection;
1256(function (GridDirection) {
1257  GridDirection[GridDirection["Row"] = 0] = "Row";
1258  GridDirection[GridDirection["Column"] = 1] = "Column";
1259  GridDirection[GridDirection["RowReverse"] = 2] = "RowReverse";
1260  GridDirection[GridDirection["ColumnReverse"] = 3] = "ColumnReverse";
1261})(GridDirection || (GridDirection = {}));
1262
1263var SelectStatus;
1264(function (SelectStatus) {
1265  SelectStatus[SelectStatus["All"] = 0] = "All";
1266  SelectStatus[SelectStatus["Part"] = 1] = "Part";
1267  SelectStatus[SelectStatus["None"] = 2] = "None";
1268})(SelectStatus || (SelectStatus = {}));
1269
1270var ContextMenuSourceType;
1271(function (ContextMenuSourceType) {
1272  ContextMenuSourceType[ContextMenuSourceType["None"] = 0] = "None";
1273  ContextMenuSourceType[ContextMenuSourceType["Mouse"] = 1] = "Mouse";
1274  ContextMenuSourceType[ContextMenuSourceType["LongPress"] = 2] = "LongPress";
1275})(ContextMenuSourceType || (ContextMenuSourceType = {}));
1276
1277var ContextMenuMediaType;
1278(function (ContextMenuMediaType) {
1279  ContextMenuMediaType[ContextMenuMediaType["None"] = 0] = "None";
1280  ContextMenuMediaType[ContextMenuMediaType["Image"] = 1] = "Image";
1281})(ContextMenuMediaType || (ContextMenuMediaType = {}));
1282
1283var ContextMenuInputFieldType;
1284(function (ContextMenuInputFieldType) {
1285  ContextMenuInputFieldType[ContextMenuInputFieldType["None"] = 0] = "None";
1286  ContextMenuInputFieldType[ContextMenuInputFieldType["PlainText"] = 1] = "PlainText";
1287  ContextMenuInputFieldType[ContextMenuInputFieldType["Password"] = 2] = "Password";
1288  ContextMenuInputFieldType[ContextMenuInputFieldType["Number"] = 3] = "Number";
1289  ContextMenuInputFieldType[ContextMenuInputFieldType["Telephone"] = 4] = "Telephone";
1290  ContextMenuInputFieldType[ContextMenuInputFieldType["Other"] = 5] = "Other";
1291})(ContextMenuInputFieldType || (ContextMenuInputFieldType = {}));
1292
1293var ContextMenuEditStateFlags;
1294(function (ContextMenuEditStateFlags) {
1295  ContextMenuEditStateFlags[ContextMenuEditStateFlags["NONE"] = 0] = "None";
1296  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_CUT"] = 1] = "CAN_CUT";
1297  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_COPY"] = 2] = "CAN_COPY";
1298  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_PASTE"] = 4] = "CAN_PASTE";
1299  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_SELECT_ALL"] = 8] = "CAN_SELECT_ALL";
1300})(ContextMenuEditStateFlags || (ContextMenuEditStateFlags = {}));
1301
1302var TransitionEdge;
1303(function (TransitionEdge) {
1304  TransitionEdge['TOP'] = 0;
1305  TransitionEdge['BOTTOM'] = 1;
1306  TransitionEdge['START'] = 2;
1307  TransitionEdge['END'] = 3;
1308})(TransitionEdge || (TransitionEdge = {}));
1309
1310var TouchTestStrategy;
1311(function (TouchTestStrategy) {
1312  TouchTestStrategy['DEFAULT'] = 0;
1313  TouchTestStrategy['FORWARD_COMPETITION'] = 1;
1314  TouchTestStrategy['FORWARD'] = 2;
1315})(TouchTestStrategy || (TouchTestStrategy = {}));
1316
1317var ModalTransition;
1318(function (ModalTransition) {
1319  ModalTransition[ModalTransition["Default"] = 0] = "Default";
1320  ModalTransition[ModalTransition["None"] = 1] = "None";
1321  ModalTransition[ModalTransition["Alpha"] = 2] = "Alpha";
1322  ModalTransition[ModalTransition["DEFAULT"] = 0] = "DEFAULT";
1323  ModalTransition[ModalTransition["NONE"] = 1] = "NONE";
1324  ModalTransition[ModalTransition["ALPHA"] = 2] = "ALPHA";
1325})(ModalTransition || (ModalTransition = {}));
1326
1327var ModifierKey;
1328(function (ModifierKey) {
1329  ModifierKey[ModifierKey["CTRL"] = 0] = "CTRL";
1330  ModifierKey[ModifierKey["SHIFT"] = 1] = "SHIFT";
1331  ModifierKey[ModifierKey["ALT"] = 2] = "ALT";
1332})(ModifierKey || (ModifierKey = {}));
1333
1334var SheetSize;
1335(function (SheetSize) {
1336  SheetSize['MEDIUM'] = "MEDIUM";
1337  SheetSize['LARGE'] = "LARGE";
1338  SheetSize['FIT_CONTENT'] = "FIT_CONTENT";
1339})(SheetSize || (SheetSize = {}));
1340
1341var SheetType;
1342(function (SheetType) {
1343  SheetType[SheetType["BOTTOM"] = 0] = "BOTTOM";
1344  SheetType[SheetType["CENTER"] = 1] = "CENTER";
1345  SheetType[SheetType["POPUP"] = 2] = "POPUP";
1346})(SheetType || (SheetType = {}));
1347
1348var FunctionKey;
1349(function (FunctionKey) {
1350  FunctionKey[FunctionKey["ESC"] = 0] = "ESC";
1351  FunctionKey[FunctionKey["F1"] = 1] = "F1";
1352  FunctionKey[FunctionKey["F2"] = 2] = "F2";
1353  FunctionKey[FunctionKey["F3"] = 3] = "F3";
1354  FunctionKey[FunctionKey["F4"] = 4] = "F4";
1355  FunctionKey[FunctionKey["F5"] = 5] = "F5";
1356  FunctionKey[FunctionKey["F6"] = 6] = "F6";
1357  FunctionKey[FunctionKey["F7"] = 7] = "F7";
1358  FunctionKey[FunctionKey["F8"] = 8] = "F8";
1359  FunctionKey[FunctionKey["F9"] = 9] = "F9";
1360  FunctionKey[FunctionKey["F10"] = 10] = "F10";
1361  FunctionKey[FunctionKey["F11"] = 11] = "F11";
1362  FunctionKey[FunctionKey["F12"] = 12] = "F12";
1363})(FunctionKey || (FunctionKey = {}));
1364
1365var GestureJudgeResult;
1366(function (GestureJudgeResult) {
1367  GestureJudgeResult[GestureJudgeResult["CONTINUE"] = 0] = "CONTINUE";
1368  GestureJudgeResult[GestureJudgeResult["REJECT"] = 1] = "REJECT";
1369})(GestureJudgeResult || (GestureJudgeResult = {}));
1370
1371var GestureControl;
1372(function (GestureControl) {
1373    let GestureType;
1374    (function (GestureType) {
1375        GestureType[GestureType["TAP_GESTURE"] = 0] = "TAP_GESTURE";
1376        GestureType[GestureType["LONG_PRESS_GESTURE"] = 1] = "LONG_PRESS_GESTURE";
1377        GestureType[GestureType["PAN_GESTURE"] = 2] = "PAN_GESTURE";
1378        GestureType[GestureType["PINCH_GESTURE"] = 3] = "PINCH_GESTURE";
1379        GestureType[GestureType["SWIPE_GESTURE"] = 4] = "SWIPE_GESTURE";
1380        GestureType[GestureType["ROTATION_GESTURE"] = 5] = "ROTATION_GESTURE";
1381        GestureType[GestureType["DRAG"] = 6] = "DRAG";
1382        GestureType[GestureType["CLICK"] = 7] = "CLICK";
1383    })(GestureType = GestureControl.GestureType || (GestureControl.GestureType = {}));
1384})(GestureControl || (GestureControl = {}));
1385
1386class SubTabBarStyle {
1387  constructor(content) {
1388    this.type = 'SubTabBarStyle';
1389    this.content = content;
1390  }
1391  static of(content) {
1392    return new SubTabBarStyle(content);
1393  }
1394  indicator(arg) {
1395    this.indicator = arg;
1396    return this;
1397  }
1398  selectedMode(arg) {
1399    this.selectedMode = arg;
1400    return this;
1401  }
1402  board(arg) {
1403    this.board = arg;
1404    return this;
1405  }
1406  labelStyle(arg) {
1407    this.labelStyle = arg;
1408    return this;
1409  }
1410  padding(arg) {
1411    this.padding = arg;
1412    return this;
1413  }
1414  id(arg) {
1415    this.id = arg;
1416    return this;
1417  }
1418}
1419
1420
1421class ProgressMask {
1422  constructor(value, total, color) {
1423    this.type = 'ProgressMask';
1424    this.value = value;
1425    this.total = total;
1426    this.color = color;
1427  }
1428
1429  updateProgress(arg) {
1430    this.value = arg;
1431    return this;
1432  }
1433
1434  updateColor(arg) {
1435    this.color = arg;
1436    return this;
1437  }
1438}
1439
1440class BottomTabBarStyle {
1441  constructor(icon, text) {
1442    this.type = 'BottomTabBarStyle';
1443    this.icon = icon;
1444    this.text = text;
1445  }
1446  static of(icon, text) {
1447    return new BottomTabBarStyle(icon, text);
1448  }
1449  padding(arg) {
1450    this.padding = arg;
1451    return this;
1452  }
1453  layoutMode(arg) {
1454    this.layoutMode = arg;
1455    return this;
1456  }
1457  verticalAlign(arg) {
1458    this.verticalAlign = arg;
1459    return this;
1460  }
1461  symmetricExtensible(arg) {
1462    this.symmetricExtensible = arg;
1463    return this;
1464  }
1465  labelStyle(arg) {
1466    this.labelStyle = arg;
1467    return this;
1468  }
1469  id(arg) {
1470    this.id = arg;
1471    return this;
1472  }
1473}
1474
1475class Indicator {
1476  top(value) {
1477    this.topValue = value;
1478    return this;
1479  }
1480  left(value) {
1481    this.leftValue = value;
1482    return this;
1483  }
1484  right(value) {
1485    this.rightValue = value;
1486    return this;
1487  }
1488  bottom(value) {
1489    this.bottomValue = value;
1490    return this;
1491  }
1492  static dot() {
1493    return new DotIndicator();
1494  }
1495  static digit() {
1496    return new DigitIndicator();
1497  }
1498}
1499
1500class DotIndicator extends Indicator {
1501  constructor() {
1502    super();
1503    this.type = 'DotIndicator';
1504  }
1505  itemWidth(value) {
1506    this.itemWidthValue = value;
1507    return this;
1508  }
1509  itemHeight(value) {
1510    this.itemHeightValue = value;
1511    return this;
1512  }
1513  selectedItemWidth(value) {
1514    this.selectedItemWidthValue = value;
1515    return this;
1516  }
1517  selectedItemHeight(value) {
1518    this.selectedItemHeightValue = value;
1519    return this;
1520  }
1521  mask(value) {
1522    this.maskValue = value;
1523    return this;
1524  }
1525  color(value) {
1526    this.colorValue = value;
1527    return this;
1528  }
1529  selectedColor(value) {
1530    this.selectedColorValue = value;
1531    return this;
1532  }
1533}
1534
1535class DigitIndicator extends Indicator {
1536  constructor() {
1537    super();
1538    this.type = 'DigitIndicator';
1539  }
1540  fontColor(value) {
1541    this.fontColorValue = value;
1542    return this;
1543  }
1544  selectedFontColor(value) {
1545    this.selectedFontColorValue = value;
1546    return this;
1547  }
1548  digitFont(value) {
1549    this.digitFontValue = value;
1550    return this;
1551  }
1552  selectedDigitFont(value) {
1553    this.selectedDigitFontValue = value;
1554    return this;
1555  }
1556}
1557
1558var TextHeightAdaptivePolicy;
1559(function (TextHeightAdaptivePolicy) {
1560  TextHeightAdaptivePolicy[TextHeightAdaptivePolicy["MAX_LINES_FIRST"] = 0] = "MAX_LINES_FIRST";
1561  TextHeightAdaptivePolicy[TextHeightAdaptivePolicy["MIN_FONT_SIZE_FIRST"] = 1] = "MIN_FONT_SIZE_FIRST";
1562  TextHeightAdaptivePolicy[TextHeightAdaptivePolicy["LAYOUT_CONSTRAINT_FIRST"] = 2] = "LAYOUT_CONSTRAINT_FIRST";
1563})(TextHeightAdaptivePolicy || (TextHeightAdaptivePolicy = {}));
1564
1565var ArrowPosition;
1566(function (ArrowPosition) {
1567  ArrowPosition[ArrowPosition["END"] = 0] = "END";
1568  ArrowPosition[ArrowPosition["START"] = 1] = "START";
1569})(ArrowPosition || (ArrowPosition = {}));
1570
1571class TransitionEffect {
1572  type_ = '';
1573  effect_ = undefined;
1574  animation_ = undefined;
1575  // use successor_ to mark whether this is an instance of TransitionEffect
1576  successor_ = null;
1577
1578  constructor(type, effect) {
1579    this.type_ = type;
1580    this.effect_ = effect;
1581  }
1582
1583  static get IDENTITY() {
1584    return new TransitionEffect('identity', undefined);
1585  }
1586  static get OPACITY() {
1587    return new TransitionEffect('opacity', 0);
1588  }
1589  static get SLIDE() {
1590    return new TransitionEffect('asymmetric', {
1591      appear: new TransitionEffect('move', TransitionEdge.START),
1592      disappear: new TransitionEffect('move', TransitionEdge.END)
1593    });
1594  }
1595  static get SLIDE_SWITCH() {
1596    return new TransitionEffect('slideSwitch', undefined);
1597  }
1598  static translate(option) {
1599    return new TransitionEffect('translate', option);
1600  }
1601  static rotate(option) {
1602    return new TransitionEffect('rotate', option);
1603  }
1604  static scale(option) {
1605    return new TransitionEffect('scale', option);
1606  }
1607  static opacity(value) {
1608    return new TransitionEffect('opacity', value);
1609  }
1610  static move(edge) {
1611    return new TransitionEffect('move', edge);
1612  }
1613  static asymmetric(appearEffect, disappearEffect) {
1614    return new TransitionEffect('asymmetric', {
1615      appear: appearEffect,
1616      disappear: disappearEffect
1617    });
1618  }
1619
1620  animation(option) {
1621    this.animation_ = option;
1622    return this;
1623  }
1624  combine(nextEffect) {
1625    if (nextEffect == null || nextEffect == undefined) {
1626      return this;
1627    }
1628    var lastEffect = this;
1629    while (lastEffect.successor_ != null) {
1630      lastEffect = lastEffect.successor_;
1631    }
1632    lastEffect.successor_ = nextEffect;
1633    return this;
1634  }
1635}
1636
1637var SliderBlockType;
1638(function (SliderBlockType) {
1639  SliderBlockType[SliderBlockType["DEFAULT"] = 0] = "DEFAULT";
1640  SliderBlockType[SliderBlockType["IMAGE"] = 1] = "IMAGE";
1641  SliderBlockType[SliderBlockType["SHAPE"] = 2] = "SHAPE";
1642})(SliderBlockType || (SliderBlockType = {}));
1643
1644var TitleStyle;
1645(function (TitleStyle) {
1646  TitleStyle[TitleStyle["ListMode"] = 0] = "ListMode";
1647  TitleStyle[TitleStyle["ContentMode"] = 1] = "ContentMode";
1648})(TitleStyle || (TitleStyle = {}));
1649
1650var OperationStyle;
1651(function (OperationStyle) {
1652  OperationStyle[OperationStyle["TextArrow"] = 0] = "TextArrow";
1653  OperationStyle[OperationStyle["Button"] = 1] = "Button";
1654  OperationStyle[OperationStyle["IconGroup"] = 2] = "IconGroup";
1655})(OperationStyle || (OperationStyle = {}));
1656
1657var TabItemType;
1658(function (TabItemType) {
1659  TabItemType[TabItemType["Text"] = 0] = "Text";
1660  TabItemType[TabItemType["Icon"] = 1] = "Icon";
1661})(TabItemType || (TabItemType = {}));
1662
1663var EditableLeftIconType;
1664(function (EditableLeftIconType) {
1665  EditableLeftIconType[EditableLeftIconType["Back"] = 0] = "Back";
1666  EditableLeftIconType[EditableLeftIconType["Cancel"] = 1] = "Cancel";
1667})(EditableLeftIconType || (EditableLeftIconType = {}));
1668
1669var ContentIconPosition;
1670(function (ContentIconPosition) {
1671  ContentIconPosition[ContentIconPosition["Top"] = 0] = "Top";
1672  ContentIconPosition[ContentIconPosition["Center"] = 1] = "Center";
1673})(ContentIconPosition || (ContentIconPosition = {}));
1674
1675var ContentTextStyle;
1676(function (ContentTextStyle) {
1677  ContentTextStyle[ContentTextStyle["SingleLine"] = 0] = "SingleLine";
1678  ContentTextStyle[ContentTextStyle["DoubleLine"] = 1] = "DoubleLine";
1679  ContentTextStyle[ContentTextStyle["ThreeLines"] = 2] = "ThreeLines";
1680})(ContentTextStyle || (ContentTextStyle = {}));
1681
1682class NavPathInfo {
1683  constructor(name, param, onPop) {
1684    this.name = name;
1685    this.param = param;
1686    this.onPop = onPop;
1687    // index that if check navdestination exists first
1688    this.checkNavDestinationFlag = false;
1689  }
1690}
1691
1692class NavPathStack {
1693  constructor() {
1694    this.pathArray = [];
1695    // indicate class has changed.
1696    this.changeFlag = 0;
1697    // replace value 0: don't do anything;
1698    // 1: replace value and do replace animation;
1699    // 2: don't replace value but do replace animation
1700    this.isReplace = 0;
1701    this.type = this.constructor.name;
1702    // control all navigation transition animations.
1703    this.disableAllAnimation = false;
1704    // control a single navigation transition animation.
1705    this.animated = true;
1706    // native nav path stack, implement in cpp
1707    this.nativeStack = undefined;
1708    // parent stack
1709    this.parentStack = undefined;
1710    // Array of remove destination indexes
1711    this.removeArray = [];
1712  }
1713  setNativeStack(stack) {
1714    this.nativeStack = stack;
1715  }
1716  getNativeStack() {
1717    return this.nativeStack;
1718  }
1719  setParent(parent) {
1720    this.parentStack = parent;
1721  }
1722  getParent() {
1723    return this.parentStack;
1724  }
1725  pushName(name, param) {
1726    this.pathArray.push(new NavPathInfo(name, param));
1727    this.changeFlag = this.changeFlag + 1;
1728    this.isReplace = 0;
1729    this.nativeStack?.onStateChanged();
1730  }
1731  push(info, animated) {
1732    this.pushPath(info, animated);
1733  }
1734  pushPathByName(name, param, onPop, animated) {
1735    if (onPop === undefined || typeof onPop === 'boolean') {
1736      this.pathArray.push(new NavPathInfo(name, param));
1737    } else {
1738      this.pathArray.push(new NavPathInfo(name, param, onPop));
1739    }
1740    this.changeFlag = this.changeFlag + 1;
1741    this.isReplace = 0;
1742    if (typeof onPop === 'boolean') {
1743      this.animated = onPop;
1744    } else if (animated === undefined) {
1745      this.animated = true;
1746    } else {
1747      this.animated = animated;
1748    }
1749    this.nativeStack?.onStateChanged();
1750  }
1751  pushDestinationByName(name, param, onPop, animated) {
1752    let info = undefined;
1753    if (onPop === undefined || typeof onPop === 'boolean') {
1754      info = new NavPathInfo(name, param);
1755    } else {
1756      info = new NavPathInfo(name, param, onPop);
1757    }
1758    info.checkNavDestinationFlag = true;
1759    this.pathArray.push(info);
1760    this.changeFlag = this.changeFlag + 1;
1761    this.isReplace = 0;
1762    if (typeof onPop === 'boolean') {
1763      this.animated = onPop;
1764    } else if (animated === undefined) {
1765      this.animated = true;
1766    } else {
1767      this.animated = animated;
1768    }
1769
1770    let promise = this.nativeStack?.onPushDestination(info);
1771    if (!promise) {
1772      this.pathArray.pop();
1773      return new Promise((resolve, reject)=>{
1774        reject({ message: 'Internal error.', code: 100001 });
1775      })
1776    }
1777    this.nativeStack?.onStateChanged();
1778    return promise;
1779  }
1780  pushPath(info, animated) {
1781    this.pathArray.push(info);
1782    this.changeFlag = this.changeFlag + 1;
1783    this.isReplace = 0;
1784    if (animated === undefined) {
1785      this.animated = true;
1786    } else {
1787      this.animated = animated;
1788    }
1789    this.nativeStack?.onStateChanged();
1790  }
1791  pushDestination(info, animated) {
1792    info.checkNavDestinationFlag = true;
1793    this.pathArray.push(info);
1794    this.changeFlag = this.changeFlag + 1;
1795    this.isReplace = 0;
1796    if (animated === undefined) {
1797      this.animated = true;
1798    } else {
1799      this.animated = animated;
1800    }
1801    let promise = this.nativeStack?.onPushDestination(info);
1802    if (!promise) {
1803      this.pathArray.pop();
1804      promise = new Promise((resolve, reject)=>{
1805        reject({ message: 'Internal error.', code: 100001 });
1806      })
1807    }
1808    this.nativeStack?.onStateChanged();
1809    return promise;
1810  }
1811  replacePath(info, animated) {
1812    if (this.pathArray.length !== 0) {
1813      this.pathArray.pop();
1814    }
1815    this.pathArray.push(info);
1816    this.isReplace = 1;
1817    this.changeFlag = this.changeFlag + 1;
1818    if (animated === undefined) {
1819      this.animated = true;
1820    } else {
1821      this.animated = animated;
1822    }
1823    this.nativeStack?.onStateChanged();
1824  }
1825  replacePathByName(name, param, animated) {
1826    if (this.pathArray.length !== 0) {
1827      this.pathArray.pop();
1828    }
1829    this.isReplace = 1;
1830    this.pathArray.push(new NavPathInfo(name, param));
1831    this.changeFlag = this.changeFlag + 1;
1832    if (animated === undefined) {
1833      this.animated = true;
1834    } else {
1835      this.animated = animated;
1836    }
1837    this.nativeStack?.onStateChanged();
1838  }
1839  setIsReplace(value) {
1840    this.isReplace = value;
1841  }
1842  setAnimated(value) {
1843    this.animated = value;
1844  }
1845  pop(result, animated) {
1846    if (this.pathArray.length === 0) {
1847      return undefined;
1848    }
1849    let currentPathInfo = this.pathArray[this.pathArray.length - 1];
1850    let pathInfo = this.pathArray.pop();
1851    this.changeFlag = this.changeFlag + 1;
1852    this.isReplace = 0;
1853    if (result !== undefined && typeof result !== 'boolean' && currentPathInfo.onPop != undefined) {
1854      let popInfo = {
1855        info: currentPathInfo,
1856        result: result,
1857      };
1858      currentPathInfo.onPop(popInfo);
1859    }
1860    if (typeof result === 'boolean') {
1861      this.animated = result;
1862    } else if (animated === undefined) {
1863      this.animated = true;
1864    } else {
1865      this.animated = animated;
1866    }
1867    this.nativeStack?.onStateChanged();
1868    return pathInfo;
1869  }
1870  popTo(name, animated) {
1871    popToName(name, animated);
1872  }
1873  popToName(name, result, animated) {
1874    let index = this.pathArray.findIndex(element => element.name === name);
1875    if (index === -1) {
1876      return -1;
1877    }
1878    let currentPathInfo = this.pathArray[this.pathArray.length - 1];
1879    this.pathArray.splice(index + 1);
1880    this.changeFlag = this.changeFlag + 1;
1881    this.isReplace = 0;
1882    if (result !== undefined && typeof result !== 'boolean' && currentPathInfo.onPop != undefined) {
1883      let popInfo = {
1884        info: currentPathInfo,
1885        result: result,
1886      };
1887      currentPathInfo.onPop(popInfo);
1888    }
1889    if (typeof result === 'boolean') {
1890      this.animated = result;
1891    } else if (animated === undefined) {
1892      this.animated = true;
1893    } else {
1894      this.animated = animated;
1895    }
1896    this.nativeStack?.onStateChanged();
1897    return index;
1898  }
1899  popToIndex(index, result, animated) {
1900    if (index >= this.pathArray.length) {
1901      return;
1902    }
1903    let currentPathInfo = this.pathArray[this.pathArray.length - 1];
1904    this.pathArray.splice(index + 1);
1905    this.changeFlag = this.changeFlag + 1;
1906    this.isReplace = 0;
1907    if (result !== undefined && typeof result !== 'boolean' && currentPathInfo.onPop != undefined) {
1908      let popInfo = {
1909        info: currentPathInfo,
1910        result: result,
1911      };
1912      currentPathInfo.onPop(popInfo);
1913    }
1914    if (typeof result === 'boolean') {
1915      this.animated = result;
1916    } else if (animated === undefined) {
1917      this.animated = true;
1918    } else {
1919      this.animated = animated;
1920    }
1921    this.nativeStack?.onStateChanged();
1922  }
1923  moveToTop(name, animated) {
1924    let index = this.pathArray.findIndex(element => element.name === name);
1925    if (index === -1) {
1926      return -1;
1927    }
1928    let info = this.pathArray.splice(index, 1);
1929    this.pathArray.push(info[0]);
1930    this.changeFlag = this.changeFlag + 1;
1931    this.isReplace = 0;
1932    if (animated === undefined) {
1933      this.animated = true;
1934    } else {
1935      this.animated = animated;
1936    }
1937    this.nativeStack?.onStateChanged();
1938    return index;
1939  }
1940  moveIndexToTop(index, animated) {
1941    if (index >= this.pathArray.length) {
1942      return;
1943    }
1944    let info = this.pathArray.splice(index, 1);
1945    this.pathArray.push(info[0]);
1946    this.changeFlag = this.changeFlag + 1;
1947    this.isReplace = 0;
1948    if (animated === undefined) {
1949      this.animated = true;
1950    } else {
1951      this.animated = animated;
1952    }
1953    this.nativeStack?.onStateChanged();
1954  }
1955  clear(animated) {
1956    if (this.pathArray.length == 0) {
1957      return;
1958    }
1959    this.pathArray.splice(0);
1960    this.changeFlag = this.changeFlag + 1;
1961    this.isReplace = 0;
1962    if (animated === undefined) {
1963      this.animated = true;
1964    } else {
1965      this.animated = animated;
1966    }
1967    this.nativeStack?.onStateChanged();
1968  }
1969  removeByIndexes(indexes) {
1970    if (!Array.isArray(indexes) || indexes.length === 0) {
1971      return 0;
1972    }
1973    let originLength = this.pathArray.length;
1974    let tempArray = this.pathArray.slice(0);
1975    this.removeArray = [];
1976    this.pathArray = [];
1977    for (let index = 0 ; index < tempArray.length ; index++) {
1978      if (tempArray[index] && !indexes.includes(index)) {
1979        this.pathArray.push(tempArray[index]);
1980      } else {
1981        this.removeArray.push(index);
1982      }
1983    }
1984    let cnt = originLength - this.pathArray.length;
1985    if (cnt > 0) {
1986      this.changeFlag = this.changeFlag + 1;
1987      this.isReplace = 0;
1988      this.nativeStack?.onStateChanged();
1989    }
1990    return cnt;
1991  }
1992  getRemoveArray() {
1993    return this.removeArray;
1994  }
1995  clearRemoveArray() {
1996    this.removeArray = [];
1997  }
1998  removeByName(name) {
1999    let originLength = this.pathArray.length;
2000    this.pathArray = this.pathArray.filter(item => { return name !== item.name });
2001    let cnt = originLength - this.pathArray.length;
2002    if (cnt > 0) {
2003      this.changeFlag = this.changeFlag + 1;
2004      this.isReplace = 0;
2005      this.nativeStack?.onStateChanged();
2006    }
2007    return cnt;
2008  }
2009  removeIndex(index) {
2010    if (index >= this.pathArray.length) {
2011      return;
2012    }
2013    this.pathArray.splice(index, 1);
2014    this.changeFlag = this.changeFlag + 1;
2015    this.isReplace = 0;
2016    this.nativeStack?.onStateChanged();
2017  }
2018  removeInvalidPage(name, param) {
2019    for (let i = 0; i < this.pathArray.length; i++) {
2020      if (this.pathArray[i].checkNavDestinationFlag && this.pathArray[i].name === name &&
2021        this.pathArray[i].param === param) {
2022        this.pathArray.splice(i, 1);
2023        return;
2024      }
2025    }
2026  }
2027  getAllPathName() {
2028    let array = this.pathArray.flatMap(element => element.name);
2029    return array;
2030  }
2031  getParamByIndex(index) {
2032    let item = this.pathArray[index];
2033    if (item === undefined) {
2034      return undefined;
2035    }
2036    return item.param;
2037  }
2038  getParamByName(name) {
2039    let array = new Array();
2040    this.pathArray.forEach((element) => {
2041      if (element.name === name) {
2042        array.push(element.param);
2043      }
2044    });
2045    return array;
2046  }
2047  getIndexByName(name) {
2048    let array = new Array();
2049    this.pathArray.forEach((element, index) => {
2050      if (element.name === name) {
2051        array.push(index);
2052      }
2053    });
2054    return array;
2055  }
2056  getNameByIndex(index) {
2057    let item = this.pathArray[index];
2058    if (item === undefined) {
2059      return undefined;
2060    }
2061    return item.name;
2062  }
2063  getCheckNavDestinationFlagByIndex(index) {
2064    let item = this.pathArray[index];
2065    if (item === undefined) {
2066      return undefined;
2067    }
2068    return item.checkNavDestinationFlag;
2069  }
2070  getOnPopByIndex(index) {
2071    let item = this.pathArray[index];
2072    if (item === undefined) {
2073      return undefined;
2074    }
2075    return item.onPop;
2076  }
2077  size() {
2078    return this.pathArray.length;
2079  }
2080  disableAnimation(disableAnimation) {
2081    this.disableAllAnimation = disableAnimation;
2082  }
2083}
2084
2085globalThis.NavPathStack = NavPathStack;
2086
2087var ImageSpanAlignment;
2088(function (ImageSpanAlignment) {
2089  ImageSpanAlignment[ImageSpanAlignment["NONE"] = 0] = "NONE";
2090  ImageSpanAlignment[ImageSpanAlignment["TOP"] = 1] = "TOP";
2091  ImageSpanAlignment[ImageSpanAlignment["CENTER"] = 2] = "CENTER";
2092  ImageSpanAlignment[ImageSpanAlignment["BOTTOM"] = 3] = "BOTTOM";
2093  ImageSpanAlignment[ImageSpanAlignment["BASELINE"] = 4] = "BASELINE";
2094})(ImageSpanAlignment || (ImageSpanAlignment = {}));
2095
2096var MenuAlignType;
2097(function (MenuAlignType) {
2098  MenuAlignType[MenuAlignType["START"] = 0] = "START";
2099  MenuAlignType[MenuAlignType["CENTER"] = 1] = "CENTER";
2100  MenuAlignType[MenuAlignType["END"] = 2] = "END";
2101})(MenuAlignType || (MenuAlignType = {}));
2102
2103var ToolbarItemStatus;
2104(function (ToolbarItemStatus) {
2105  ToolbarItemStatus[ToolbarItemStatus["NORMAL"] = 0] = "NORMAL";
2106  ToolbarItemStatus[ToolbarItemStatus["DISABLED"] = 1] = "DISABLED";
2107  ToolbarItemStatus[ToolbarItemStatus["ACTIVE"] = 2] = "ACTIVE";
2108})(ToolbarItemStatus || (ToolbarItemStatus = {}));
2109
2110var SecurityComponentLayoutDirection;
2111(function (SecurityComponentLayoutDirection) {
2112  SecurityComponentLayoutDirection[SecurityComponentLayoutDirection["HORIZONTAL"] = 0] = "HORIZONTAL";
2113  SecurityComponentLayoutDirection[SecurityComponentLayoutDirection["VERTICAL"] = 1] = "VERTICAL";
2114})(SecurityComponentLayoutDirection || (SecurityComponentLayoutDirection = {}));
2115
2116var LocationIconStyle;
2117(function (LocationIconStyle) {
2118  LocationIconStyle[LocationIconStyle["FULL_FILLED"] = 0] = "FULL_FILLED";
2119  LocationIconStyle[LocationIconStyle["LINES"] = 1] = "LINES";
2120})(LocationIconStyle || (LocationIconStyle = {}));
2121
2122var LocationDescription;
2123(function (LocationDescription) {
2124  LocationDescription[LocationDescription["CURRENT_LOCATION"] = 0] = "CURRENT_LOCATION";
2125  LocationDescription[LocationDescription["ADD_LOCATION"] = 1] = "ADD_LOCATION";
2126  LocationDescription[LocationDescription["SELECT_LOCATION"] = 2] = "SELECT_LOCATION";
2127  LocationDescription[LocationDescription["SHARE_LOCATION"] = 3] = "SHARE_LOCATION";
2128  LocationDescription[LocationDescription["SEND_LOCATION"] = 4] = "SEND_LOCATION";
2129  LocationDescription[LocationDescription["LOCATING"] = 5] = "LOCATING";
2130  LocationDescription[LocationDescription["LOCATION"] = 6] = "LOCATION";
2131  LocationDescription[LocationDescription["SEND_CURRENT_LOCATION"] = 7] = "SEND_CURRENT_LOCATION";
2132  LocationDescription[LocationDescription["RELOCATION"] = 8] = "RELOCATION";
2133  LocationDescription[LocationDescription["PUNCH_IN"] = 9] = "PUNCH_IN";
2134  LocationDescription[LocationDescription["CURRENT_POSITION"] = 10] = "CURRENT_POSITION";
2135})(LocationDescription || (LocationDescription = {}));
2136
2137var LocationButtonOnClickResult;
2138(function (LocationButtonOnClickResult) {
2139  LocationButtonOnClickResult[LocationButtonOnClickResult["SUCCESS"] = 0] =
2140    "SUCCESS";
2141  LocationButtonOnClickResult[LocationButtonOnClickResult["TEMPORARY_AUTHORIZATION_FAILED"] = 1] =
2142    "TEMPORARY_AUTHORIZATION_FAILED ";
2143})(LocationButtonOnClickResult || (LocationButtonOnClickResult = {}));
2144
2145var PasteIconStyle;
2146(function (PasteIconStyle) {
2147  PasteIconStyle[PasteIconStyle["LINES"] = 0] = "LINES";
2148})(PasteIconStyle || (PasteIconStyle = {}));
2149
2150var PasteDescription;
2151(function (PasteDescription) {
2152  PasteDescription[PasteDescription["PASTE"] = 0] = "PASTE";
2153})(PasteDescription || (PasteDescription = {}));
2154
2155var PasteButtonOnClickResult;
2156(function (PasteButtonOnClickResult) {
2157  PasteButtonOnClickResult[PasteButtonOnClickResult["SUCCESS"] = 0] =
2158    "SUCCESS";
2159  PasteButtonOnClickResult[PasteButtonOnClickResult["TEMPORARY_AUTHORIZATION_FAILED"] = 1] =
2160    "TEMPORARY_AUTHORIZATION_FAILED ";
2161})(PasteButtonOnClickResult || (PasteButtonOnClickResult = {}));
2162
2163var SaveIconStyle;
2164(function (SaveIconStyle) {
2165  SaveIconStyle[SaveIconStyle["FULL_FILLED"] = 0] = "FULL_FILLED";
2166  SaveIconStyle[SaveIconStyle["LINES"] = 1] = "LINES";
2167})(SaveIconStyle || (SaveIconStyle = {}));
2168
2169var SaveDescription;
2170(function (SaveDescription) {
2171  SaveDescription[SaveDescription["DOWNLOAD"] = 0] = "DOWNLOAD";
2172  SaveDescription[SaveDescription["DOWNLOAD_FILE"] = 1] = "DOWNLOAD_FILE";
2173  SaveDescription[SaveDescription["SAVE"] = 2] = "SAVE";
2174  SaveDescription[SaveDescription["SAVE_IMAGE"] = 3] = "SAVE_IMAGE";
2175  SaveDescription[SaveDescription["SAVE_FILE"] = 4] = "SAVE_FILE";
2176  SaveDescription[SaveDescription["DOWNLOAD_AND_SHARE"] = 5] = "DOWNLOAD_AND_SHARE";
2177  SaveDescription[SaveDescription["RECEIVE"] = 6] = "RECEIVE";
2178  SaveDescription[SaveDescription["CONTINUE_TO_RECEIVE"] = 7] = "CONTINUE_TO_RECEIVE";
2179})(SaveDescription || (SaveDescription = {}));
2180
2181var SaveButtonOnClickResult;
2182(function (SaveButtonOnClickResult) {
2183  SaveButtonOnClickResult[SaveButtonOnClickResult["SUCCESS"] = 0] =
2184    "SUCCESS";
2185  SaveButtonOnClickResult[SaveButtonOnClickResult["TEMPORARY_AUTHORIZATION_FAILED"] = 1] =
2186    "TEMPORARY_AUTHORIZATION_FAILED ";
2187})(SaveButtonOnClickResult || (SaveButtonOnClickResult = {}));
2188
2189var ObscuredReasons;
2190(function (ObscuredReasons) {
2191  ObscuredReasons[ObscuredReasons["PLACEHOLDER"] = 0] = "PLACEHOLDER";
2192})(ObscuredReasons || (ObscuredReasons = {}));
2193
2194var ListItemStyle;
2195(function (ListItemStyle) {
2196  ListItemStyle[ListItemStyle["NONE"] = 0] = "NONE";
2197  ListItemStyle[ListItemStyle["CARD"] = 1] = "CARD";
2198})(ListItemStyle || (ListItemStyle = {}));
2199
2200var GridItemStyle;
2201(function (GridItemStyle) {
2202  GridItemStyle[GridItemStyle["NONE"] = 0] = "NONE";
2203  GridItemStyle[GridItemStyle["PLAIN"] = 1] = "PLAIN";
2204})(GridItemStyle || (GridItemStyle = {}));
2205
2206var ListItemGroupStyle;
2207(function (ListItemGroupStyle) {
2208  ListItemGroupStyle[ListItemGroupStyle["NONE"] = 0] = "NONE";
2209  ListItemGroupStyle[ListItemGroupStyle["CARD"] = 1] = "CARD";
2210})(ListItemGroupStyle || (ListItemGroupStyle = {}));
2211
2212var DragResult;
2213(function (DragResult) {
2214  DragResult[DragResult["DRAG_SUCCESSFUL"] = 0] = "DRAG_SUCCESSFUL";
2215  DragResult[DragResult["DRAG_FAILED"] = 1] = "DRAG_FAILED";
2216  DragResult[DragResult["DRAG_CANCELED"] = 2] = "DRAG_CANCELED";
2217  DragResult[DragResult["DROP_ENABLED"] = 3] = "DROP_ENABLED";
2218  DragResult[DragResult["DROP_DISABLED"] = 4] = "DROP_DISABLED";
2219})(DragResult || (DragResult = {}));
2220
2221var XComponentType;
2222(function (XComponentType) {
2223  XComponentType[XComponentType["SURFACE"] = 0] = "SURFACE";
2224  XComponentType[XComponentType["COMPONENT"] = 1] = "COMPONENT";
2225  XComponentType[XComponentType["TEXTURE"] = 2] = "TEXTURE";
2226  XComponentType[XComponentType["NODE"] = 3] = "NODE";
2227})(XComponentType || (XComponentType = {}));
2228
2229var NestedScrollMode;
2230(function (NestedScrollMode) {
2231  NestedScrollMode[NestedScrollMode["SELF_ONLY"] = 0] = "SELF_ONLY";
2232  NestedScrollMode[NestedScrollMode["SELF_FIRST"] = 1] = "SELF_FIRST";
2233  NestedScrollMode[NestedScrollMode["PARENT_FIRST"] = 2] = "PARENT_FIRST";
2234  NestedScrollMode[NestedScrollMode["PARALLEL"] = 3] = "PARALLEL";
2235})(NestedScrollMode || (NestedScrollMode = {}));
2236
2237var IlluminatedType;
2238(function (IlluminatedType) {
2239  IlluminatedType[IlluminatedType["NONE"] = 0] = "NONE";
2240  IlluminatedType[IlluminatedType["BORDER"] = 1] = "BORDER";
2241  IlluminatedType[IlluminatedType["CONTENT"] = 2] = "CONTENT";
2242  IlluminatedType[IlluminatedType["BORDER_CONTENT"] = 3] = "BORDER_CONTENT";
2243  IlluminatedType[IlluminatedType["BLOOM_BORDER"] = 4] = "BLOOM_BORDER";
2244  IlluminatedType[IlluminatedType["BLOOM_BORDER_CONTENT"] = 5] = "BLOOM_BORDER_CONTENT";
2245})(IlluminatedType || (IlluminatedType = {}));
2246
2247var ScrollAlign;
2248(function (ScrollAlign) {
2249  ScrollAlign[ScrollAlign["START"] = 0] = "START";
2250  ScrollAlign[ScrollAlign["CENTER"] = 1] = "CENTER";
2251  ScrollAlign[ScrollAlign["END"] = 2] = "END";
2252  ScrollAlign[ScrollAlign["AUTO"] = 3] = "AUTO";
2253})(ScrollAlign || (ScrollAlign = {}));
2254
2255var SafeAreaType;
2256(function (SafeAreaType) {
2257  SafeAreaType[SafeAreaType["SYSTEM"] = 0] = "SYSTEM";
2258  SafeAreaType[SafeAreaType["CUTOUT"] = 1] = "CUTOUT";
2259  SafeAreaType[SafeAreaType["KEYBOARD"] = 2] = "KEYBOARD";
2260})(SafeAreaType || (SafeAreaType = {}));
2261
2262var SafeAreaEdge;
2263(function (SafeAreaEdge) {
2264  SafeAreaEdge[SafeAreaEdge["TOP"] = 0] = "TOP";
2265  SafeAreaEdge[SafeAreaEdge["BOTTOM"] = 1] = "BOTTOM";
2266  SafeAreaEdge[SafeAreaEdge["START"] = 2] = "START";
2267  SafeAreaEdge[SafeAreaEdge["END"] = 3] = "END";
2268})(SafeAreaEdge || (SafeAreaEdge = {}));
2269
2270var RenderFit;
2271(function (RenderFit) {
2272  RenderFit[RenderFit["CENTER"] = 0] = "CENTER";
2273  RenderFit[RenderFit["TOP"] = 1] = "TOP";
2274  RenderFit[RenderFit["BOTTOM"] = 2] = "BOTTOM";
2275  RenderFit[RenderFit["LEFT"] = 3] = "LEFT";
2276  RenderFit[RenderFit["RIGHT"] = 4] = "RIGHT";
2277  RenderFit[RenderFit["TOP_LEFT"] = 5] = "TOP_LEFT";
2278  RenderFit[RenderFit["TOP_RIGHT"] = 6] = "TOP_RIGHT";
2279  RenderFit[RenderFit["BOTTOM_LEFT"] = 7] = "BOTTOM_LEFT";
2280  RenderFit[RenderFit["BOTTOM_RIGHT"] = 8] = "BOTTOM_RIGHT";
2281  RenderFit[RenderFit["RESIZE_FILL"] = 9] = "RESIZE_FILL";
2282  RenderFit[RenderFit["RESIZE_CONTAIN"] = 10] = "RESIZE_CONTAIN";
2283  RenderFit[RenderFit["RESIZE_CONTAIN_TOP_LEFT"] = 11] = "RESIZE_CONTAIN_TOP_LEFT";
2284  RenderFit[RenderFit["RESIZE_CONTAIN_BOTTOM_RIGHT"] = 12] = "RESIZE_CONTAIN_BOTTOM_RIGHT";
2285  RenderFit[RenderFit["RESIZE_COVER"] = 13] = "RESIZE_COVER";
2286  RenderFit[RenderFit["RESIZE_COVER_TOP_LEFT"] = 14] = "RESIZE_COVER_TOP_LEFT";
2287  RenderFit[RenderFit["RESIZE_COVER_BOTTOM_RIGHT"] = 15] = "RESIZE_COVER_BOTTOM_RIGHT";
2288})(RenderFit || (RenderFit = {}));
2289
2290var WebCaptureMode;
2291(function (WebCaptureMode) {
2292  WebCaptureMode[WebCaptureMode["HOME_SCREEN"] = 0] = "HOME_SCREEN";
2293})(WebCaptureMode || (WebCaptureMode = {}));
2294
2295var CalendarAlign;
2296(function (CalendarAlign) {
2297  CalendarAlign[CalendarAlign["START"] = 0] = "START";
2298  CalendarAlign[CalendarAlign["CENTER"] = 1] = "CENTER";
2299  CalendarAlign[CalendarAlign["END"] = 2] = "END";
2300})(CalendarAlign || (CalendarAlign = {}));
2301
2302var DragBehavior;
2303(function (DragBehavior) {
2304  DragBehavior[DragBehavior["COPY"] = 0] = "COPY";
2305  DragBehavior[DragBehavior["MOVE"] = 1] = "MOVE";
2306})(DragBehavior || (DragBehavior = {}));
2307
2308var PatternLockChallengeResult;
2309(function (PatternLockChallengeResult) {
2310  PatternLockChallengeResult[PatternLockChallengeResult["CORRECT"] = 1] = "CORRECT";
2311  PatternLockChallengeResult[PatternLockChallengeResult["WRONG"] = 2] = "WRONG";
2312})(PatternLockChallengeResult || (PatternLockChallengeResult = {}));
2313
2314var DialogButtonDirection;
2315(function (DialogButtonDirection) {
2316  DialogButtonDirection[DialogButtonDirection["AUTO"] = 0] = "AUTO";
2317  DialogButtonDirection[DialogButtonDirection["HORIZONTAL"] = 1] = "HORIZONTAL";
2318  DialogButtonDirection[DialogButtonDirection["VERTICAL"] = 2] = "VERTICAL";
2319})(DialogButtonDirection || (DialogButtonDirection = {}));
2320
2321var ParticleType;
2322(function (ParticleType) {
2323  ParticleType[ParticleType["POINT"] = 0] = "POINT";
2324  ParticleType[ParticleType["IMAGE"] = 1] = "IMAGE";
2325})(ParticleType || (ParticleType = {}));
2326
2327var ParticleEmitterShape;
2328(function (ParticleEmitterShape) {
2329  ParticleEmitterShape[ParticleEmitterShape["RECTANGLE"] = 0] = "RECTANGLE";
2330  ParticleEmitterShape[ParticleEmitterShape["CIRCLE"] = 1] = "CIRCLE";
2331  ParticleEmitterShape[ParticleEmitterShape["ELLIPSE"] = 2] = "ELLIPSE";
2332})(ParticleEmitterShape || (ParticleEmitterShape = {}));
2333
2334var ParticleUpdater;
2335(function (ParticleUpdater) {
2336  ParticleUpdater[ParticleUpdater["NONE"] = 0] = "NONE";
2337  ParticleUpdater[ParticleUpdater["RANDOM"] = 1] = "RANDOM";
2338  ParticleUpdater[ParticleUpdater["CURVE"] = 2] = "CURVE";
2339})(ParticleUpdater || (ParticleUpdater = {}));
2340
2341var SwiperNestedScrollMode;
2342(function (SwiperNestedScrollMode) {
2343  SwiperNestedScrollMode[SwiperNestedScrollMode["SELF_ONLY"] = 0] = "SELF_ONLY";
2344  SwiperNestedScrollMode[SwiperNestedScrollMode["SELF_FIRST"] = 1] = "SELF_FIRST";
2345})(SwiperNestedScrollMode || (SwiperNestedScrollMode = {}));
2346
2347var CheckBoxStyle;
2348(function (CheckBoxStyle) {
2349  CheckBoxStyle["CIRCULAR_STYLE"] = 0;
2350  CheckBoxStyle["SQUARE_STYLE"] = 1;
2351})(CheckBoxStyle || (CheckBoxStyle = {}));
2352
2353var ModelType;
2354(function (ModelType) {
2355  ModelType[ModelType["TEXTURE"] = 0] = "TEXTURE";
2356  ModelType[ModelType["SURFACE"] = 1] = "SURFACE";
2357})(ModelType || (ModelType = {}));
2358
2359var ModelLightType;
2360(function (ModelLightType) {
2361  ModelLightType[ModelLightType["INVALID"] = 0] = "INVALID";
2362  ModelLightType[ModelLightType["DIRECTIONAL"] = 1] = "DIRECTIONAL";
2363  ModelLightType[ModelLightType["POINT"] = 2] = "POINT";
2364  ModelLightType[ModelLightType["SPOT"] = 3] = "SPOT";
2365})(ModelLightType || (ModelLightType = {}));
2366
2367var ModelAnimationStates;
2368(function (ModelAnimationStates) {
2369  ModelAnimationStates[ModelAnimationStates["PLAY"] = 0] = "PLAY";
2370  ModelAnimationStates[ModelAnimationStates["PAUSE"] = 1] = "PAUSE";
2371  ModelAnimationStates[ModelAnimationStates["STOP"] = 2] = "STOP";
2372})(ModelAnimationStates || (ModelAnimationStates = {}));
2373
2374var SwipeActionState;
2375(function (SwipeActionState) {
2376  SwipeActionState[SwipeActionState["COLLAPSED"] = 0] = "COLLAPSED";
2377  SwipeActionState[SwipeActionState["EXPANDED"] = 1] = "EXPANDED";
2378  SwipeActionState[SwipeActionState["ACTIONING"] = 2] = "ACTIONING";
2379})(SwipeActionState || (SwipeActionState = {}));
2380
2381var CheckBoxShape;
2382(function (CheckBoxShape) {
2383  CheckBoxShape["CIRCLE"] = 0;
2384  CheckBoxShape["ROUNDED_SQUARE"] = 1;
2385})(CheckBoxShape || (CheckBoxShape = {}));
2386
2387var FinishCallbackType;
2388(function (FinishCallbackType) {
2389  FinishCallbackType["REMOVED"] = 0;
2390  FinishCallbackType["LOGICALLY"] = 1;
2391})(FinishCallbackType || (FinishCallbackType = {}));
2392
2393var WebLayoutMode;
2394(function (WebLayoutMode) {
2395  WebLayoutMode[WebLayoutMode["NONE"] = 0] = "NONE";
2396  WebLayoutMode[WebLayoutMode["FIT_CONTENT"] = 1] = "FIT_CONTENT";
2397})(WebLayoutMode || (WebLayoutMode = {}));
2398
2399var OptionWidthMode;
2400(function (OptionWidthMode) {
2401  OptionWidthMode["FIT_CONTENT"] = "fit_content";
2402  OptionWidthMode["FIT_TRIGGER"] = "fit_trigger";
2403})(OptionWidthMode || (OptionWidthMode = {}));
2404
2405var ArrowPointPosition;
2406(function (ArrowPointPosition) {
2407  ArrowPointPosition["START"] = "Start";
2408  ArrowPointPosition["CENTER"] = "Center";
2409  ArrowPointPosition["END"] = "End";
2410})(ArrowPointPosition || (ArrowPointPosition = {}));
2411
2412var DragPreviewMode;
2413(function (DragPreviewMode) {
2414  DragPreviewMode["AUTO"] = 1;
2415  DragPreviewMode["DISABLE_SCALE"] = 2;
2416})(DragPreviewMode || (DragPreviewMode = {}));
2417
2418var FoldStatus;
2419(function (FoldStatus) {
2420  FoldStatus[FoldStatus["FOLD_STATUS_UNKNOWN"] = 0] = "FOLD_STATUS_UNKNOWN";
2421  FoldStatus[FoldStatus["FOLD_STATUS_EXPANDED"] = 1] = "FOLD_STATUS_EXPANDED";
2422  FoldStatus[FoldStatus["FOLD_STATUS_FOLDED"] = 2] = "FOLD_STATUS_FOLDED";
2423  FoldStatus[FoldStatus["FOLD_STATUS_HALF_FOLDED"] = 3] = "FOLD_STATUS_HALF_FOLDED";
2424})(FoldStatus || (FoldStatus = {}));
2425
2426var OutlineStyle;
2427(function (OutlineStyle) {
2428  OutlineStyle[OutlineStyle["SOLID"] = 0] = "SOLID";
2429  OutlineStyle[OutlineStyle["DASHED"] = 1] = "DASHED";
2430  OutlineStyle[OutlineStyle["DOTTED"] = 2] = "DOTTED";
2431})(OutlineStyle || (OutlineStyle = {}));
2432
2433var ButtonStyleMode;
2434(function (ButtonStyleMode) {
2435  ButtonStyleMode["NORMAL"] = 0;
2436  ButtonStyleMode["EMPHASIZED"] = 1;
2437  ButtonStyleMode["TEXTUAL"] = 2;
2438})(ButtonStyleMode || (ButtonStyleMode = {}));
2439
2440var ControlSize;
2441(function (ControlSize) {
2442  ControlSize[ControlSize["SMALL"] = 0] = "SMALL";
2443  ControlSize[ControlSize["NORMAL"] = 1] = "NORMAL";
2444})(ControlSize || (ControlSize = {}));
2445var ImageAnalyzerType;
2446(function (ImageAnalyzerType) {
2447  ImageAnalyzerType[ImageAnalyzerType["SUBJECT"] = 0] = "SUBJECT";
2448  ImageAnalyzerType[ImageAnalyzerType["TEXT"] = 1] = "TEXT";
2449})(ImageAnalyzerType || (ImageAnalyzerType = {}));
2450
2451function wrapBuilder(builder) {
2452    return new WrappedBuilder(builder);
2453}
2454class WrappedBuilder {
2455    constructor(builder) {
2456        this.builder = builder;
2457    }
2458}
2459
2460let TextSpanType;
2461(function (TextSpanType) {
2462  TextSpanType[TextSpanType['TEXT'] = 0] = 'TEXT';
2463  TextSpanType[TextSpanType['IMAGE'] = 1] = 'IMAGE';
2464  TextSpanType[TextSpanType['MIXED'] = 2] = 'MIXED';
2465})(TextSpanType || (TextSpanType = {}));
2466
2467let TextResponseType;
2468(function (TextResponseType) {
2469  TextResponseType[TextResponseType['RIGHT_CLICK'] = 0] = 'RIGHT_CLICK';
2470  TextResponseType[TextResponseType['LONG_PRESS'] = 1] = 'LONG_PRESS';
2471  TextResponseType[TextResponseType['SELECT'] = 2] = 'SELECT';
2472})(TextResponseType || (TextResponseType = {}));
2473
2474let NativeEmbedStatus;
2475(function (NativeEmbedStatus) {
2476  NativeEmbedStatus['CREATE'] = 0;
2477  NativeEmbedStatus['UPDATE'] = 1;
2478  NativeEmbedStatus['DESTROY'] = 2;
2479})(NativeEmbedStatus || (NativeEmbedStatus = {}));
2480