1/*
2 * Copyright (c) 2021-2024 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.DATE_TIME = 4] = 'DATE_TIME';
68})(TextDataDetectorType || (TextDataDetectorType = {}));
69
70var DataPanelType;
71(function (DataPanelType) {
72  DataPanelType[DataPanelType["Line"] = 0] = "Line";
73  DataPanelType[DataPanelType["Circle"] = 4] = "Circle";
74})(DataPanelType || (DataPanelType = {}));
75
76var FontWeight;
77(function (FontWeight) {
78  FontWeight["Light"] = "light";
79  FontWeight["Lighter"] = "lighter";
80  FontWeight["Normal"] = "normal";
81  FontWeight["Regular"] = "regular";
82  FontWeight["Medium"] = "medium";
83  FontWeight["Bold"] = "bold";
84  FontWeight["Bolder"] = "bolder";
85})(FontWeight || (FontWeight = {}));
86
87var WordBreak;
88(function (WordBreak) {
89  WordBreak[WordBreak["NORMAL"] = 0] = "normal";
90  WordBreak[WordBreak["BREAK_ALL"] = 1] = "break-all";
91  WordBreak[WordBreak["BREAK_WORD"] = 2] = "break-word";
92})(WordBreak || (WordBreak = {}));
93
94var DpiFollowStrategy;
95(function (DpiFollowStrategy) {
96  DpiFollowStrategy[DpiFollowStrategy["FOLLOW_HOST_DPI"] = 0] = "follow-host-dpi";
97  DpiFollowStrategy[DpiFollowStrategy["FOLLOW_UI_EXTENSION_ABILITY_DPI"] = 1] = "follow-ui-extension-ability-dpi";
98})(DpiFollowStrategy || (DpiFollowStrategy = {}));
99
100var SecurityDpiFollowStrategy;
101(function (SecurityDpiFollowStrategy) {
102  SecurityDpiFollowStrategy[SecurityDpiFollowStrategy["FOLLOW_HOST_DPI"] = 0] = "follow-host-dpi";
103  SecurityDpiFollowStrategy[SecurityDpiFollowStrategy["FOLLOW_UI_EXTENSION_ABILITY_DPI"] = 1] = "follow-ui-extension-ability-dpi";
104})(SecurityDpiFollowStrategy || (SecurityDpiFollowStrategy = {}));
105
106var EllipsisMode;
107(function (EllipsisMode) {
108  EllipsisMode[EllipsisMode["START"] = 0] = "start";
109  EllipsisMode[EllipsisMode["CENTER"] = 1] = "center";
110  EllipsisMode[EllipsisMode["END"] = 2] = "end";
111})(EllipsisMode || (EllipsisMode = {}));
112
113var LineBreakStrategy;
114(function (LineBreakStrategy) {
115  LineBreakStrategy[LineBreakStrategy["GREEDY"] = 0] = "greedy";
116  LineBreakStrategy[LineBreakStrategy["HIGH_QUALITY"] = 1] = "highquality";
117  LineBreakStrategy[LineBreakStrategy["BALANCED"] = 2] = "balanced";
118})(LineBreakStrategy || (LineBreakStrategy = {}));
119
120var TextSelectableMode;
121(function (TextSelectableMode) {
122  TextSelectableMode[TextSelectableMode["SELECTABLE_UNFOCUSABLE"] = 0] = "selectable-unfocusable";
123  TextSelectableMode[TextSelectableMode["SELECTABLE_FOCUSABLE"] = 1] = "selectable-focusable";
124  TextSelectableMode[TextSelectableMode["UNSELECTABLE"] = 2] = "unselectable";
125})(TextSelectableMode || (TextSelectableMode = {}));
126
127var Curve;
128(function (Curve) {
129  Curve["Linear"] = "linear";
130  Curve["Ease"] = "ease";
131  Curve["EaseIn"] = "ease-in";
132  Curve["EaseOut"] = "ease-out";
133  Curve["EaseInOut"] = "ease-in-out";
134  Curve["FastOutSlowIn"] = "fast-out-slow-in";
135  Curve["LinearOutSlowIn"] = "linear-out-slow-in";
136  Curve["FastOutLinearIn"] = "fast-out-linear-in";
137  Curve["ExtremeDeceleration"] = "extreme-deceleration";
138  Curve["Sharp"] = "sharp";
139  Curve["Rhythm"] = "rhythm";
140  Curve["Smooth"] = "smooth";
141  Curve["Friction"] = "friction";
142})(Curve || (Curve = {}));
143
144var FillMode;
145(function (FillMode) {
146  FillMode[FillMode["None"] = 0] = "none";
147  FillMode[FillMode["Forwards"] = 1] = "forwards";
148  FillMode[FillMode["Backwards"] = 2] = "backwards";
149  FillMode[FillMode["Both"] = 3] = "both";
150})(FillMode || (FillMode = {}));
151
152var PlayMode;
153(function (PlayMode) {
154  PlayMode["Normal"] = "normal";
155  PlayMode["Alternate"] = "alternate";
156  PlayMode["Reverse"] = "reverse";
157  PlayMode["AlternateReverse"] = "alternate-reverse";
158})(PlayMode || (PlayMode = {}));
159
160var RepeatMode;
161(function (RepeatMode) {
162  RepeatMode["Repeat"] = "Repeat";
163  RepeatMode["Stretch"] = "Stretch";
164  RepeatMode["Round"] = "Round";
165  RepeatMode["Space"] = "Space";
166})(RepeatMode || (RepeatMode = {}));
167
168var BorderStyle;
169(function (BorderStyle) {
170  BorderStyle[BorderStyle["Solid"] = 0] = "Solid";
171  BorderStyle[BorderStyle["Dashed"] = 1] = "Dashed";
172  BorderStyle[BorderStyle["Dotted"] = 2] = "Dotted";
173})(BorderStyle || (BorderStyle = {}));
174
175var LineCapStyle;
176(function (LineCapStyle) {
177  LineCapStyle[LineCapStyle["Butt"] = 0] = "Butt";
178  LineCapStyle[LineCapStyle["Round"] = 1] = "Round";
179  LineCapStyle[LineCapStyle["Square"] = 2] = "Square";
180})(LineCapStyle || (LineCapStyle = {}));
181
182var ButtonType;
183(function (ButtonType) {
184  ButtonType[ButtonType["Normal"] = 0] = "Normal";
185  ButtonType[ButtonType["Capsule"] = 1] = "Capsule";
186  ButtonType[ButtonType["Circle"] = 2] = "Circle";
187  ButtonType[ButtonType["Arc"] = 4] = "Arc";
188})(ButtonType || (ButtonType = {}));
189
190var DevicePosition;
191(function (DevicePosition) {
192  DevicePosition[DevicePosition["Front"] = 0] = "Front";
193  DevicePosition[DevicePosition["Back"] = 1] = "Back";
194})(DevicePosition || (DevicePosition = {}));
195
196var ImageFit;
197(function (ImageFit) {
198  ImageFit[ImageFit["Fill"] = 0] = "Fill";
199  ImageFit[ImageFit["Contain"] = 1] = "Contain";
200  ImageFit[ImageFit["Cover"] = 2] = "Cover";
201  ImageFit[ImageFit["Auto"] = 3] = "Auto";
202  ImageFit[ImageFit["None"] = 5] = "None";
203  ImageFit[ImageFit["ScaleDown"] = 6] = "ScaleDown";
204  ImageFit[ImageFit["TOP_START"] = 7] = "TOP_START";
205  ImageFit[ImageFit["TOP"] = 8] = "TOP";
206  ImageFit[ImageFit["TOP_END"] = 9] = "TOP_END";
207  ImageFit[ImageFit["START"] = 10] = "START";
208  ImageFit[ImageFit["CENTER"] = 11] = "CENTER";
209  ImageFit[ImageFit["END"] = 12] = "END";
210  ImageFit[ImageFit["BOTTOM_START"] = 13] = "BOTTOM_START";
211  ImageFit[ImageFit["BOTTOM"] = 14] = "BOTTOM";
212  ImageFit[ImageFit["BOTTOM_END"] = 15] = "BOTTOM_END";
213})(ImageFit || (ImageFit = {}));
214
215var DynamicRangeMode ;
216(function (DynamicRangeMode ) {
217  DynamicRangeMode [DynamicRangeMode ["HIGH"] = 0] = "HIGH";
218  DynamicRangeMode [DynamicRangeMode ["CONSTRAINT"] = 1] = "CONSTRAINT";
219  DynamicRangeMode [DynamicRangeMode ["STANDARD"] = 2] = "STANDARD";
220})(DynamicRangeMode  || (DynamicRangeMode  = {}));
221
222var ImageContent;
223(function (ImageContent) {
224  ImageContent[ImageContent["EMPTY"] = 0] = "EMPTY";
225})(ImageContent || (ImageContent = {}));
226
227var ImageRepeat;
228(function (ImageRepeat) {
229  ImageRepeat[ImageRepeat["NoRepeat"] = 0] = "NoRepeat";
230  ImageRepeat[ImageRepeat["X"] = 1] = "X";
231  ImageRepeat[ImageRepeat["Y"] = 2] = "Y";
232  ImageRepeat[ImageRepeat["XY"] = 3] = "XY";
233})(ImageRepeat || (ImageRepeat = {}));
234
235var ImageSize;
236(function (ImageSize) {
237  ImageSize[ImageSize["Contain"] = 0] = "Contain";
238  ImageSize[ImageSize["Cover"] = 1] = "Cover";
239  ImageSize[ImageSize["Auto"] = 2] = "Auto";
240  ImageSize[ImageSize["FILL"] = 3] = "FILL";
241})(ImageSize || (ImageSize = {}));
242
243var ImageRenderMode;
244(function (ImageRenderMode) {
245  ImageRenderMode[ImageRenderMode["Original"] = 0] = "Original";
246  ImageRenderMode[ImageRenderMode["Template"] = 1] = "Template";
247})(ImageRenderMode || (ImageRenderMode = {}));
248
249var ImageRotateOrientation;
250(function (ImageRotateOrientation) {
251  ImageRotateOrientation[ImageRotateOrientation["AUTO"] = 0] = "AUTO";
252  ImageRotateOrientation[ImageRotateOrientation["UP"] = 1] = "UP";
253  ImageRotateOrientation[ImageRotateOrientation["RIGHT"] = 2] = "RIGHT";
254  ImageRotateOrientation[ImageRotateOrientation["DOWN"] = 3] = "DOWN";
255  ImageRotateOrientation[ImageRotateOrientation["LEFT"] = 4] = "LEFT";
256})(ImageRotateOrientation || (ImageRotateOrientation = {}));
257
258var ImageInterpolation;
259(function (ImageInterpolation) {
260  ImageInterpolation[ImageInterpolation["None"] = 0] = "None";
261  ImageInterpolation[ImageInterpolation["Low"] = 1] = "Low";
262  ImageInterpolation[ImageInterpolation["Medium"] = 2] = "Medium";
263  ImageInterpolation[ImageInterpolation["High"] = 3] = "High";
264})(ImageInterpolation || (ImageInterpolation = {}));
265
266var FontStyle;
267(function (FontStyle) {
268  FontStyle[FontStyle["Normal"] = 0] = "Normal";
269  FontStyle[FontStyle["Italic"] = 1] = "Italic";
270})(FontStyle || (FontStyle = {}));
271
272var FlexAlign;
273(function (FlexAlign) {
274  FlexAlign[FlexAlign["Start"] = 1] = "Start";
275  FlexAlign[FlexAlign["Center"] = 2] = "Center";
276  FlexAlign[FlexAlign["End"] = 3] = "End";
277  FlexAlign[FlexAlign["Stretch"] = 4] = "Stretch";
278  FlexAlign[FlexAlign["Baseline"] = 5] = "Baseline";
279  FlexAlign[FlexAlign["SpaceBetween"] = 6] = "SpaceBetween";
280  FlexAlign[FlexAlign["SpaceAround"] = 7] = "SpaceAround";
281  FlexAlign[FlexAlign["SpaceEvenly"] = 8] = "SpaceEvenly";
282})(FlexAlign || (FlexAlign = {}));
283
284var PixelRoundCalcPolicy;
285(function (PixelRoundCalcPolicy) {
286  PixelRoundCalcPolicy[PixelRoundCalcPolicy["NO_FORCE_ROUND"] = 0] = "NO_FORCE_ROUND";
287  PixelRoundCalcPolicy[PixelRoundCalcPolicy["FORCE_CEIL"] = 1] = "FORCE_CEIL";
288  PixelRoundCalcPolicy[PixelRoundCalcPolicy["FORCE_FLOOR"] = 2] = "FORCE_FLOOR";
289})(PixelRoundCalcPolicy || (PixelRoundCalcPolicy = {}));
290
291var VerticalAlign;
292(function (VerticalAlign) {
293  VerticalAlign[VerticalAlign["Top"] = 1] = "Top";
294  VerticalAlign[VerticalAlign["Center"] = 2] = "Center";
295  VerticalAlign[VerticalAlign["Bottom"] = 3] = "Bottom";
296})(VerticalAlign || (VerticalAlign = {}));
297
298var HorizontalAlign;
299(function (HorizontalAlign) {
300  HorizontalAlign[HorizontalAlign["Start"] = 1] = "Start";
301  HorizontalAlign[HorizontalAlign["Center"] = 2] = "Center";
302  HorizontalAlign[HorizontalAlign["End"] = 3] = "End";
303})(HorizontalAlign || (HorizontalAlign = {}));
304
305var ItemAlign;
306(function (ItemAlign) {
307  ItemAlign[ItemAlign["Auto"] = 0] = "Auto";
308  ItemAlign[ItemAlign["Start"] = 1] = "Start";
309  ItemAlign[ItemAlign["Center"] = 2] = "Center";
310  ItemAlign[ItemAlign["End"] = 3] = "End";
311  ItemAlign[ItemAlign["Stretch"] = 4] = "Stretch";
312  ItemAlign[ItemAlign["Baseline"] = 5] = "Baseline";
313})(ItemAlign || (ItemAlign = {}));
314
315var Align;
316(function (Align) {
317  Align[Align["Start"] = 4] = "Start";
318  Align[Align["Center"] = 2] = "Center";
319  Align[Align["End"] = 5] = "End";
320})(Align || (Align = {}));
321
322var Alignment;
323(function (Alignment) {
324  Alignment[Alignment["TopStart"] = 0] = "TopStart";
325  Alignment[Alignment["Top"] = 1] = "Top";
326  Alignment[Alignment["TopEnd"] = 2] = "TopEnd";
327  Alignment[Alignment["Start"] = 3] = "Start";
328  Alignment[Alignment["Center"] = 4] = "Center";
329  Alignment[Alignment["End"] = 5] = "End";
330  Alignment[Alignment["BottomStart"] = 6] = "BottomStart";
331  Alignment[Alignment["Bottom"] = 7] = "Bottom";
332  Alignment[Alignment["BottomEnd"] = 8] = "BottomEnd";
333})(Alignment || (Alignment = {}));
334
335var ChainStyle;
336(function (ChainStyle) {
337  ChainStyle[ChainStyle["SPREAD"] = 0] = "SPREAD";
338  ChainStyle[ChainStyle["SPREAD_INSIDE"] = 1] = "SPREAD_INSIDE";
339  ChainStyle[ChainStyle["PACKED"] = 2] = "PACKED";
340})(ChainStyle || (ChainStyle = {}));
341
342var BarrierDirection;
343(function (BarrierDirection) {
344  BarrierDirection[BarrierDirection["LEFT"] = 0] = "LEFT";
345  BarrierDirection[BarrierDirection["RIGHT"] = 1] = "RIGHT";
346  BarrierDirection[BarrierDirection["TOP"] = 2] = "TOP";
347  BarrierDirection[BarrierDirection["BOTTOM"] = 3] = "BOTTOM";
348})(BarrierDirection || (BarrierDirection = {}));
349
350var LocalizedBarrierDirection;
351(function (LocalizedBarrierDirection) {
352  LocalizedBarrierDirection[LocalizedBarrierDirection["START"] = 0] = "START";
353  LocalizedBarrierDirection[LocalizedBarrierDirection["END"] = 1] = "END";
354  LocalizedBarrierDirection[LocalizedBarrierDirection["TOP"] = 2] = "TOP";
355  LocalizedBarrierDirection[LocalizedBarrierDirection["BOTTOM"] = 3] = "BOTTOM";
356})(LocalizedBarrierDirection || (LocalizedBarrierDirection = {}));
357
358var BlendMode;
359(function (BlendMode) {
360  BlendMode[BlendMode["NORMAL"] = 0] = "NORMAL";
361  BlendMode[BlendMode["DESTINATION_IN"] = 7] = "DESTINATION_IN";
362  BlendMode[BlendMode["SOURCE_IN"] = 5000] = "SOURCE_IN";
363  BlendMode[BlendMode["NONE"] = 0] = "NONE";
364  BlendMode[BlendMode["CLEAR"] = 1] = "CLEAR";
365  BlendMode[BlendMode["SRC"] = 2] = "SRC";
366  BlendMode[BlendMode["DST"] = 3] = "DST";
367  BlendMode[BlendMode["SRC_OVER"] = 4] = "SRC_OVER";
368  BlendMode[BlendMode["DST_OVER"] = 5] = "DST_OVER";
369  BlendMode[BlendMode["SRC_IN"] = 6] = "SRC_IN";
370  BlendMode[BlendMode["DST_IN"] = 7] = "DST_IN";
371  BlendMode[BlendMode["SRC_OUT"] = 8] = "SRC_OUT";
372  BlendMode[BlendMode["DST_OUT"] = 9] = "DST_OUT";
373  BlendMode[BlendMode["SRC_ATOP"] = 10] = "SRC_ATOP";
374  BlendMode[BlendMode["DST_ATOP"] = 11] = "DST_ATOP";
375  BlendMode[BlendMode["XOR"] = 12] = "XOR";
376  BlendMode[BlendMode["PLUS"] = 13] = "PLUS";
377  BlendMode[BlendMode["MODULATE"] = 14] = "MODULATE";
378  BlendMode[BlendMode["SCREEN"] = 15] = "SCREEN";
379  BlendMode[BlendMode["OVERLAY"] = 16] = "OVERLAY";
380  BlendMode[BlendMode["DARKEN"] = 17] = "DARKEN";
381  BlendMode[BlendMode["LIGHTEN"] = 18] = "LIGHTEN";
382  BlendMode[BlendMode["COLOR_DODGE"] = 19] = "COLOR_DODGE";
383  BlendMode[BlendMode["COLOR_BURN"] = 20] = "COLOR_BURN";
384  BlendMode[BlendMode["HARD_LIGHT"] = 21] = "HARD_LIGHT";
385  BlendMode[BlendMode["SOFT_LIGHT"] = 22] = "SOFT_LIGHT";
386  BlendMode[BlendMode["DIFFERENCE"] = 23] = "DIFFERENCE";
387  BlendMode[BlendMode["EXCLUSION"] = 24] = "EXCLUSION";
388  BlendMode[BlendMode["MULTIPLY"] = 25] = "MULTIPLY";
389  BlendMode[BlendMode["HUE"] = 26] = "HUE";
390  BlendMode[BlendMode["SATURATION"] = 27] = "SATURATION";
391  BlendMode[BlendMode["COLOR"] = 28] = "COLOR";
392  BlendMode[BlendMode["LUMINOSITY"] = 29] = "LUMINOSITY";
393})(BlendMode || (BlendMode = {}));
394
395var BlendApplyType;
396(function (BlendApplyType) {
397  BlendApplyType[BlendApplyType["FAST"] = 0] = "FAST";
398  BlendApplyType[BlendApplyType["OFFSCREEN"] = 1] = "OFFSCREEN";
399})(BlendApplyType || (BlendApplyType = {}));
400
401var TextOverflow;
402(function (TextOverflow) {
403  TextOverflow[TextOverflow["None"] = 0] = "None";
404  TextOverflow[TextOverflow["Clip"] = 1] = "Clip";
405  TextOverflow[TextOverflow["Ellipsis"] = 2] = "Ellipsis";
406  TextOverflow[TextOverflow["Marquee"] = 3] = "Marquee";
407  TextOverflow[TextOverflow["MARQUEE"] = 3] = "MARQUEE";
408})(TextOverflow || (TextOverflow = {}));
409
410var TextDecorationStyle;
411(function (TextDecorationStyle) {
412  TextDecorationStyle[TextDecorationStyle["SOLID"] = 0] = "SOLID";
413  TextDecorationStyle[TextDecorationStyle["DOUBLE"] = 1] = "DOUBLE";
414  TextDecorationStyle[TextDecorationStyle["DOTTED"] = 2] = "DOTTED";
415  TextDecorationStyle[TextDecorationStyle["DASHED"] = 3] = "DASHED";
416  TextDecorationStyle[TextDecorationStyle["WAVY"] = 4] = "WAVY";
417})(TextDecorationStyle || (TextDecorationStyle = {}));
418
419var TextDecorationType;
420(function (TextDecorationType) {
421  TextDecorationType[TextDecorationType["None"] = 0] = "None";
422  TextDecorationType[TextDecorationType["Underline"] = 1] = "Underline";
423  TextDecorationType[TextDecorationType["Overline"] = 2] = "Overline";
424  TextDecorationType[TextDecorationType["LineThrough"] = 3] = "LineThrough";
425})(TextDecorationType || (TextDecorationType = {}));
426
427var ClickEffectLevel;
428(function (ClickEffectLevel) {
429  ClickEffectLevel[ClickEffectLevel["LIGHT"] = 0] = "LIGHT";
430  ClickEffectLevel[ClickEffectLevel["MIDDLE"] = 1] = "MIDDLE";
431  ClickEffectLevel[ClickEffectLevel["HEAVY"] = 2] = "HEAVY";
432})(ClickEffectLevel || (ClickEffectLevel = {}));
433
434var TextCase;
435(function (TextCase) {
436  TextCase[TextCase["Normal"] = 0] = "Normal";
437  TextCase[TextCase["LowerCase"] = 1] = "LowerCase";
438  TextCase[TextCase["UpperCase"] = 2] = "UpperCase";
439})(TextCase || (TextCase = {}));
440
441var NavigationType;
442(function (NavigationType) {
443  NavigationType[NavigationType["Push"] = 1] = "Push";
444  NavigationType[NavigationType["Replace"] = 2] = "Replace";
445  NavigationType[NavigationType["Back"] = 3] = "Back";
446})(NavigationType || (NavigationType = {}));
447
448var PanelType;
449(function (PanelType) {
450  PanelType[PanelType["Minibar"] = 0] = "Minibar";
451  PanelType[PanelType["Foldable"] = 1] = "Foldable";
452  PanelType[PanelType["Temporary"] = 2] = "Temporary";
453  PanelType[PanelType["CUSTOM"] = 3] = "CUSTOM";
454})(PanelType || (PanelType = {}));
455
456var PanelHeight;
457(function (PanelHeight) {
458  PanelHeight[PanelHeight["WRAP_CONTENT"] = "wrapContent"] = "WRAP_CONTENT";
459})(PanelHeight || (PanelHeight = {}));
460
461var PanelMode;
462(function (PanelMode) {
463  PanelMode[PanelMode["Mini"] = 0] = "Mini";
464  PanelMode[PanelMode["Half"] = 1] = "Half";
465  PanelMode[PanelMode["Full"] = 2] = "Full";
466})(PanelMode || (PanelMode = {}));
467
468var Axis;
469(function (Axis) {
470  Axis[Axis["Vertical"] = 0] = "Vertical";
471  Axis[Axis["Horizontal"] = 1] = "Horizontal";
472})(Axis || (Axis = {}));
473
474var BarState;
475(function (BarState) {
476  BarState[BarState["Off"] = 0] = "Off";
477  BarState[BarState["Auto"] = 1] = "Auto";
478  BarState[BarState["On"] = 2] = "On";
479})(BarState || (BarState = {}));
480
481var EdgeEffect;
482(function (EdgeEffect) {
483  EdgeEffect[EdgeEffect["Spring"] = 0] = "Spring";
484  EdgeEffect[EdgeEffect["Fade"] = 1] = "Fade";
485  EdgeEffect[EdgeEffect["None"] = 2] = "None";
486})(EdgeEffect || (EdgeEffect = {}));
487
488var SwipeEdgeEffect;
489(function (SwipeEdgeEffect) {
490  SwipeEdgeEffect[SwipeEdgeEffect["Spring"] = 0] = "Spring";
491  SwipeEdgeEffect[SwipeEdgeEffect["None"] = 1] = "None";
492})(SwipeEdgeEffect || (SwipeEdgeEffect = {}));
493
494var ScrollState;
495(function (ScrollState) {
496  ScrollState[ScrollState["Idle"] = 0] = "Idle";
497  ScrollState[ScrollState["Scroll"] = 1] = "Scroll";
498  ScrollState[ScrollState["Fling"] = 2] = "Fling";
499})(ScrollState || (ScrollState = {}));
500
501var ScrollSource;
502(function (ScrollSource) {
503  ScrollSource[ScrollSource["DRAG"] = 0] = "DRAG";
504  ScrollSource[ScrollSource["FLING"] = 1] = "FLING";
505  ScrollSource[ScrollSource["EDGE_EFFECT"] = 2] = "EDGE_EFFECT";
506  ScrollSource[ScrollSource["OTHER_USER_INPUT"] = 3] = "OTHER_USER_INPUT";
507  ScrollSource[ScrollSource["SCROLL_BAR"] = 4] = "SCROLL_BAR";
508  ScrollSource[ScrollSource["SCROLL_BAR_FLING"] = 5] = "SCROLL_BAR_FLING";
509  ScrollSource[ScrollSource["SCROLLER"] = 6] = "SCROLLER";
510  ScrollSource[ScrollSource["SCROLLER_ANIMATION"] = 7] = "SCROLLER_ANIMATION";
511})(ScrollSource || (ScrollSource = {}));
512
513var TouchType;
514(function (TouchType) {
515  TouchType[TouchType["Down"] = 0] = "Down";
516  TouchType[TouchType["Up"] = 1] = "Up";
517  TouchType[TouchType["Move"] = 2] = "Move";
518  TouchType[TouchType["Cancel"] = 3] = "Cancel";
519})(TouchType || (TouchType = {}));
520
521var MouseButton;
522(function (MouseButton) {
523  MouseButton[MouseButton["None"] = 0] = "None";
524  MouseButton[MouseButton["Left"] = 1] = "Left";
525  MouseButton[MouseButton["Right"] = 2] = "Right";
526  MouseButton[MouseButton["Middle"] = 4] = "Middle";
527  MouseButton[MouseButton["Back"] = 8] = "Back";
528  MouseButton[MouseButton["Forward"] = 16] = "Forward";
529})(MouseButton || (MouseButton = {}));
530
531var MouseAction;
532(function (MouseAction) {
533  MouseAction[MouseAction["None"] = 0] = "None";
534  MouseAction[MouseAction["Press"] = 1] = "Press";
535  MouseAction[MouseAction["Release"] = 2] = "Release";
536  MouseAction[MouseAction["Move"] = 3] = "Move";
537  MouseAction[MouseAction["Hover"] = 4] = "Hover";
538})(MouseAction || (MouseAction = {}));
539
540var KeyType;
541(function (KeyType) {
542  KeyType[KeyType["Down"] = 0] = "Down";
543  KeyType[KeyType["Up"] = 1] = "Up";
544  KeyType[KeyType["LongPress"] = 2] = "LongPress";
545})(KeyType || (KeyType = {}));
546
547var GestureMode;
548(function (GestureMode) {
549  GestureMode[GestureMode["Sequence"] = 0] = "Sequence";
550  GestureMode[GestureMode["Parallel"] = 1] = "Parallel";
551  GestureMode[GestureMode["Exclusive"] = 2] = "Exclusive";
552})(GestureMode || (GestureMode = {}));
553
554var PanDirection;
555(function (PanDirection) {
556  PanDirection[PanDirection["None"] = 0] = "None";
557  PanDirection[PanDirection["Left"] = 1] = "Left";
558  PanDirection[PanDirection["Right"] = 2] = "Right";
559  PanDirection[PanDirection["Horizontal"] = 3] = "Horizontal";
560  PanDirection[PanDirection["Up"] = 4] = "Up";
561  PanDirection[PanDirection["Down"] = 8] = "Down";
562  PanDirection[PanDirection["Vertical"] = 12] = "Vertical";
563  PanDirection[PanDirection["All"] = 15] = "All";
564})(PanDirection || (PanDirection = {}));
565
566var SwipeDirection;
567(function (SwipeDirection) {
568  SwipeDirection[SwipeDirection["None"] = 0] = "None";
569  SwipeDirection[SwipeDirection["Horizontal"] = 1] = "Horizontal";
570  SwipeDirection[SwipeDirection["Vertical"] = 2] = "Vertical";
571  SwipeDirection[SwipeDirection["All"] = 3] = "All";
572})(SwipeDirection || (SwipeDirection = {}));
573
574var GestureDirection;
575(function (GestureDirection) {
576  GestureDirection[GestureDirection["All"] = 0] = "All";
577  GestureDirection[GestureDirection["Horizontal"] = 1] = "Horizontal";
578  GestureDirection[GestureDirection["Vertical"] = 2] = "Vertical";
579})(GestureDirection || (GestureDirection = {}));
580
581var GestureMask;
582(function (GestureMask) {
583  GestureMask[GestureMask["Normal"] = 0] = "Normal";
584  GestureMask[GestureMask["IgnoreInternal"] = 1] = "IgnoreInternal";
585})(GestureMask || (GestureMask = {}));
586
587var GesturePriority;
588(function (GesturePriority) {
589  GesturePriority[GesturePriority["Low"] = 0] = "Low";
590  GesturePriority[GesturePriority["NORMAL"] = 0] = "NORMAL";
591  GesturePriority[GesturePriority["High"] = 1] = "High";
592  GesturePriority[GesturePriority["PRIORITY"] = 1] = "PRIORITY";
593  GesturePriority[GesturePriority["Parallel"] = 2] = "Parallel";
594  GesturePriority[GesturePriority["PARALLEL"] = 2] = "PARALLEL";
595})(GesturePriority || (GesturePriority = {}));
596
597var Visibility;
598(function (Visibility) {
599  Visibility[Visibility["Visible"] = 0] = "Visible";
600  Visibility[Visibility["Hidden"] = 1] = "Hidden";
601  Visibility[Visibility["None"] = 2] = "None";
602})(Visibility || (Visibility = {}));
603
604var RelateType;
605(function (RelateType) {
606  RelateType[RelateType["FILL"] = 0] = "FILL";
607  RelateType[RelateType["FIT"] = 1] = "FIT";
608})(RelateType || (RelateType = {}));
609
610var FlexDirection;
611(function (FlexDirection) {
612  FlexDirection[FlexDirection["Row"] = 0] = "Row";
613  FlexDirection[FlexDirection["Column"] = 1] = "Column";
614  FlexDirection[FlexDirection["RowReverse"] = 2] = "RowReverse";
615  FlexDirection[FlexDirection["ColumnReverse"] = 3] = "ColumnReverse";
616})(FlexDirection || (FlexDirection = {}));
617
618var FlexWrap;
619(function (FlexWrap) {
620  FlexWrap[FlexWrap["NoWrap"] = 0] = "NoWrap";
621  FlexWrap[FlexWrap["Wrap"] = 1] = "Wrap";
622  FlexWrap[FlexWrap["WrapReverse"] = 2] = "WrapReverse";
623})(FlexWrap || (FlexWrap = {}));
624
625var BlurStyle;
626(function (BlurStyle) {
627  BlurStyle[BlurStyle["SmallLight"] = 100] = "SmallLight";
628  BlurStyle[BlurStyle["MediumLight"] = 101] = "MediumLight";
629  BlurStyle[BlurStyle["LargeLight"] = 102] = "LargeLight";
630  BlurStyle[BlurStyle["XlargeLight"] = 103] = "XlargeLight";
631  BlurStyle[BlurStyle["SmallDark"] = 104] = "SmallDark";
632  BlurStyle[BlurStyle["MediumDark"] = 105] = "MediumDark";
633  BlurStyle[BlurStyle["LargeDark"] = 106] = "LargeDark";
634  BlurStyle[BlurStyle["XlargeDark"] = 107] = "XlargeDark";
635})(BlurStyle || (BlurStyle = {}));
636
637var Edge;
638(function (Edge) {
639  Edge[Edge["Top"] = 0] = "Top";
640  Edge[Edge["Center"] = 1] = "Center";
641  Edge[Edge["Bottom"] = 2] = "Bottom";
642  Edge[Edge["Baseline"] = 3] = "Baseline";
643  Edge[Edge["Start"] = 4] = "Start";
644  Edge[Edge["Middle"] = 5] = "Middle";
645  Edge[Edge["End"] = 6] = "End";
646})(Edge || (Edge = {}));
647
648var LineJoinStyle;
649(function (LineJoinStyle) {
650  LineJoinStyle[LineJoinStyle["Miter"] = 0] = "Miter";
651  LineJoinStyle[LineJoinStyle["Round"] = 1] = "Round";
652  LineJoinStyle[LineJoinStyle["Bevel"] = 2] = "Bevel";
653})(LineJoinStyle || (LineJoinStyle = {}));
654
655var AnimationStatus;
656(function (AnimationStatus) {
657  AnimationStatus[AnimationStatus["Initial"] = 0] = "Initial";
658  AnimationStatus[AnimationStatus["Running"] = 1] = "Running";
659  AnimationStatus[AnimationStatus["Paused"] = 2] = "Paused";
660  AnimationStatus[AnimationStatus["Stopped"] = 3] = "Stopped";
661})(AnimationStatus || (AnimationStatus = {}));
662
663var Motion;
664(function (Motion) {
665  Motion[Motion["SpringMotion"] = 0] = "SpringMotion";
666  Motion[Motion["FrictionMotion"] = 1] = "FrictionMotion";
667  Motion[Motion["ScrollMotion"] = 2] = "ScrollMotion";
668})(Motion || (Motion = {}));
669
670var ScrollDirection;
671(function (ScrollDirection) {
672  ScrollDirection[ScrollDirection["Vertical"] = 0] = "Vertical";
673  ScrollDirection[ScrollDirection["Horizontal"] = 1] = "Horizontal";
674  ScrollDirection[ScrollDirection["Free"] = 2] = "Free";
675  ScrollDirection[ScrollDirection["None"] = 3] = "None";
676})(ScrollDirection || (ScrollDirection = {}));
677
678var Sticky;
679(function (Sticky) {
680  Sticky[Sticky["None"] = 0] = "None";
681  Sticky[Sticky["Normal"] = 1] = "Normal";
682  Sticky[Sticky["Opacity"] = 2] = "Opacity";
683})(Sticky || (Sticky = {}));
684
685var StickyStyle;
686(function (StickyStyle) {
687  StickyStyle[StickyStyle["None"] = 0] = "None";
688  StickyStyle[StickyStyle["Header"] = 1] = "Header";
689  StickyStyle[StickyStyle["Footer"] = 2] = "Footer";
690})(StickyStyle || (StickyStyle = {}));
691
692var ScrollSnapAlign;
693(function (ScrollSnapAlign) {
694  ScrollSnapAlign[ScrollSnapAlign["NONE"] = 0] = "NONE";
695  ScrollSnapAlign[ScrollSnapAlign["START"] = 1] = "START";
696  ScrollSnapAlign[ScrollSnapAlign["CENTER"] = 2] = "CENTER";
697  ScrollSnapAlign[ScrollSnapAlign["END"] = 3] = "END";
698})(ScrollSnapAlign || (ScrollSnapAlign = {}));
699
700var ChainEdgeEffect;
701(function (ChainEdgeEffect) {
702  ChainEdgeEffect[ChainEdgeEffect["DEFAULT"] = 0] = "DEFAULT";
703  ChainEdgeEffect[ChainEdgeEffect["STRETCH"] = 1] = "STRETCH";
704})(ChainEdgeEffect || (ChainEdgeEffect = {}));
705
706var Week;
707(function (Week) {
708  Week["Mon"] = 0b0000001;
709  Week["Tue"] = 0b0000010;
710  Week["Wed"] = 0b0000100;
711  Week["Thur"] = 0b0001000;
712  Week["Fri"] = 0b0010000;
713  Week["Sat"] = 0b0100000;
714  Week["Sun"] = 0b1000000;
715})(Week || (Week = {}));
716
717var FormDimension;
718(function (FormDimension) {
719  FormDimension["Dimension_1_2"] = 1;
720  FormDimension["Dimension_2_2"] = 2;
721  FormDimension["Dimension_2_4"] = 3;
722  FormDimension["Dimension_4_4"] = 4;
723  FormDimension["Dimension_2_1"] = 5;
724  FormDimension["DIMENSION_1_1"] = 6;
725  FormDimension["DIMENSION_6_4"] = 7;
726})(FormDimension || (FormDimension = {}));
727
728let FormShape;
729(function (FormShape) {
730  FormShape.RECT = 1;
731  FormShape.CIRCLE = 2;
732})(FormShape || (FormShape = {}));
733
734let FormRenderingMode;
735(function (FormRenderingMode) {
736  FormRenderingMode.FULL_COLOR = 0;
737  FormRenderingMode.SINGLE_COLOR = 1;
738})(FormRenderingMode || (FormRenderingMode = {}));
739
740var TransitionType;
741(function (TransitionType) {
742  TransitionType["All"] = "All";
743  TransitionType["Insert"] = "Insert";
744  TransitionType["Delete"] = "Delete";
745})(TransitionType || (TransitionType = {}));
746
747var Direction;
748(function (Direction) {
749  Direction["Ltr"] = "Ltr";
750  Direction["Rtl"] = "Rtl";
751  Direction["Auto"] = "Auto";
752})(Direction || (Direction = {}));
753
754var RouteType;
755(function (RouteType) {
756  RouteType[RouteType["None"] = 0] = "None";
757  RouteType[RouteType["Push"] = 1] = "Push";
758  RouteType[RouteType["Pop"] = 2] = "Pop";
759})(RouteType || (RouteType = {}));
760
761var FocusDirection;
762(function (FocusDirection) {
763  FocusDirection[FocusDirection["Up"] = 19] = "Up";
764  FocusDirection[FocusDirection["Down"] = 20] = "Down";
765  FocusDirection[FocusDirection["Left"] = 21] = "Left";
766  FocusDirection[FocusDirection["Right"] = 22] = "Right";
767  FocusDirection[FocusDirection["Tab"] = 61] = "Tab";
768  FocusDirection[FocusDirection["ShiftTab"] = 200] = "ShiftTab";
769})(FocusDirection || (FocusDirection = {}));
770
771var SlideEffect;
772(function (SlideEffect) {
773  SlideEffect[SlideEffect["None"] = 0] = "None";
774  SlideEffect[SlideEffect["Left"] = 1] = "Left";
775  SlideEffect[SlideEffect["Right"] = 2] = "Right";
776  SlideEffect[SlideEffect["Top"] = 3] = "Top";
777  SlideEffect[SlideEffect["Bottom"] = 4] = "Bottom";
778  SlideEffect[SlideEffect["START"] = 5] = "START";
779  SlideEffect[SlideEffect["END"] = 6] = "END";
780})(SlideEffect || (SlideEffect = {}));
781
782var GradientDirection;
783(function (GradientDirection) {
784  GradientDirection[GradientDirection["Left"] = 0] = "Left";
785  GradientDirection[GradientDirection["Top"] = 1] = "Top";
786  GradientDirection[GradientDirection["Right"] = 2] = "Right";
787  GradientDirection[GradientDirection["Bottom"] = 3] = "Bottom";
788  GradientDirection[GradientDirection["LeftTop"] = 4] = "Bottom";
789  GradientDirection[GradientDirection["LeftBottom"] = 5] = "Bottom";
790  GradientDirection[GradientDirection["RightTop"] = 6] = "Bottom";
791  GradientDirection[GradientDirection["RightBottom"] = 7] = "Bottom";
792  GradientDirection[GradientDirection["None"] = 8] = "None";
793})(GradientDirection || (GradientDirection = {}));
794
795var BarMode;
796(function (BarMode) {
797  BarMode["Fixed"] = "Fixed";
798  BarMode["Scrollable"] = "Scrollable";
799})(BarMode || (BarMode = {}));
800
801var AnimationMode;
802(function (AnimationMode) {
803  AnimationMode[AnimationMode["CONTENT_FIRST"] = 0] = "CONTENT_FIRST";
804  AnimationMode[AnimationMode["ACTION_FIRST"] = 1] = "ACTION_FIRST";
805  AnimationMode[AnimationMode["NO_ANIMATION"] = 2] = "NO_ANIMATION";
806})(AnimationMode || (AnimationMode = {}));
807
808var SelectedMode;
809(function (SelectedMode) {
810  SelectedMode[SelectedMode["INDICATOR"] = 0] = "INDICATOR";
811  SelectedMode[SelectedMode["BOARD"] = 1] = "BOARD";
812})(SelectedMode || (SelectedMode = {}));
813
814var LayoutMode;
815(function (LayoutMode) {
816  LayoutMode[LayoutMode["AUTO"] = 0] = "AUTO";
817  LayoutMode[LayoutMode["VERTICAL"] = 1] = "VERTICAL";
818  LayoutMode[LayoutMode["HORIZONTAL"] = 2] = "HORIZONTAL";
819})(LayoutMode || (LayoutMode = {}));
820
821var LayoutStyle;
822(function (LayoutStyle) {
823  LayoutStyle[LayoutStyle["ALWAYS_CENTER"] = 0] = "ALWAYS_CENTER";
824  LayoutStyle[LayoutStyle["ALWAYS_AVERAGE_SPLIT"] = 1] = "ALWAYS_AVERAGE_SPLIT";
825  LayoutStyle[LayoutStyle["SPACE_BETWEEN_OR_CENTER"] = 2] = "SPACE_BETWEEN_OR_CENTER";
826})(LayoutStyle || (LayoutStyle = {}));
827
828var SizeType;
829(function (SizeType) {
830  SizeType[SizeType["Auto"] = 0] = "Auto";
831  SizeType[SizeType["XS"] = 1] = "XS";
832  SizeType[SizeType["SM"] = 2] = "SM";
833  SizeType[SizeType["MD"] = 3] = "MD";
834  SizeType[SizeType["LG"] = 4] = "LG";
835})(SizeType || (SizeType = {}));
836
837var CancelButtonStyle;
838(function (CancelButtonStyle) {
839  CancelButtonStyle["CONSTANT"] = "CONSTANT";
840  CancelButtonStyle["INVISIBLE"] = "INVISIBLE";
841  CancelButtonStyle["INPUT"] = "INPUT";
842})(CancelButtonStyle || (CancelButtonStyle = {}));
843
844var ColorMode;
845(function (ColorMode) {
846  ColorMode[ColorMode["LIGHT"] = 0] = "LIGHT";
847  ColorMode[ColorMode["DARK"] = 1] = "DARK";
848})(ColorMode || (ColorMode = {}));
849var LayoutDirection;
850(function (LayoutDirection) {
851  LayoutDirection[LayoutDirection["RTL"] = 0] = "RTL";
852  LayoutDirection[LayoutDirection["LTR"] = 1] = "LTR";
853})(LayoutDirection || (LayoutDirection = {}));
854
855function isSystemplugin(shortName, moduleType) {
856  const plugin = moduleType === 'ohos' ? globalThis.ohosplugin : globalThis.systemplugin;
857  if (typeof (plugin) !== 'undefined') {
858    var target = plugin;
859    for (let key of shortName.split('.')) {
860      target = target[key];
861      if (!target) {
862        break;
863      }
864    }
865    return typeof (target) !== 'undefined';
866  }
867}
868
869var BarPosition;
870(function (BarPosition) {
871  BarPosition[BarPosition["Start"] = 0] = "Start";
872  BarPosition[BarPosition["End"] = 1] = "End";
873})(BarPosition || (BarPosition = {}));
874
875var SharedTransitionEffectType;
876(function (SharedTransitionEffectType) {
877  SharedTransitionEffectType[SharedTransitionEffectType["Static"] = 0] = "Static";
878  SharedTransitionEffectType[SharedTransitionEffectType["Exchange"] = 1] = "Exchange";
879})(SharedTransitionEffectType || (SharedTransitionEffectType = {}));
880
881function $r(id, type, ...params) {
882  return { "id": id, "type": type, "params": params };
883}
884
885function $rawfile(fileName) {
886  return { "id": 0, "type": 30000, "params": [fileName] };
887}
888
889var IndexerAlign;
890(function (IndexerAlign) {
891  IndexerAlign[IndexerAlign["Left"] = 0] = "Left";
892  IndexerAlign[IndexerAlign["Right"] = 1] = "Right";
893  IndexerAlign[IndexerAlign["START"] = 2] = "START";
894  IndexerAlign[IndexerAlign["END"] = 3] = "END";
895})(IndexerAlign || (IndexerAlign = {}));
896
897var DialogAlignment;
898(function (DialogAlignment) {
899  DialogAlignment[DialogAlignment["Top"] = 0] = "Top";
900  DialogAlignment[DialogAlignment["Center"] = 1] = "Center";
901  DialogAlignment[DialogAlignment["Bottom"] = 2] = "Bottom";
902  DialogAlignment[DialogAlignment["Default"] = 3] = "Default";
903  DialogAlignment[DialogAlignment["TopStart"] = 4] = "TopStart";
904  DialogAlignment[DialogAlignment["TopEnd"] = 5] = "TopEnd";
905  DialogAlignment[DialogAlignment["CenterStart"] = 6] = "CenterStart";
906  DialogAlignment[DialogAlignment["CenterEnd"] = 7] = "CenterEnd";
907  DialogAlignment[DialogAlignment["BottomStart"] = 8] = "BottomStart";
908  DialogAlignment[DialogAlignment["BottomEnd"] = 9] = "BottomEnd";
909})(DialogAlignment || (DialogAlignment = {}));
910
911let HoverModeAreaType;
912(function (HoverModeAreaType) {
913  HoverModeAreaType.TOP_SCREEN = 0;
914  HoverModeAreaType.BOTTOM_SCREEN = 1;
915})(HoverModeAreaType || (HoverModeAreaType = {}));
916
917var DialogButtonStyle;
918(function (DialogButtonStyle) {
919  DialogButtonStyle[DialogButtonStyle["DEFAULT"] = 0] = "DEFAULT";
920  DialogButtonStyle[DialogButtonStyle["HIGHLIGHT"] = 1] = "HIGHLIGHT";
921})(DialogButtonStyle || (DialogButtonStyle = {}));
922
923var EditMode;
924(function (EditMode) {
925  EditMode[EditMode["None"] = 0] = "None";
926  EditMode[EditMode["Deletable"] = 1] = "Deletable";
927  EditMode[EditMode["Movable"] = 2] = "Movable";
928})(EditMode || (EditMode = {}));
929
930var SwiperDisplayMode;
931(function (SwiperDisplayMode) {
932  SwiperDisplayMode[SwiperDisplayMode["Stretch"] = 0] = "Stretch";
933  SwiperDisplayMode[SwiperDisplayMode["AutoLinear"] = 1] = "AutoLinear";
934  SwiperDisplayMode[SwiperDisplayMode["STRETCH"] = 0] = "STRETCH";
935  SwiperDisplayMode[SwiperDisplayMode["AUTO_LINEAR"] = 1] = "AUTO_LINEAR";
936})(SwiperDisplayMode || (SwiperDisplayMode = {}));
937
938var EdgeEffect;
939(function (EdgeEffect) {
940  EdgeEffect[EdgeEffect["Spring"] = 0] = "Spring";
941  EdgeEffect[EdgeEffect["Fade"] = 1] = "Fade";
942  EdgeEffect[EdgeEffect["None"] = 2] = "None";
943})(EdgeEffect || (EdgeEffect = {}));
944
945var DatePickerType;
946(function (DatePickerType) {
947  DatePickerType[DatePickerType["Time"] = 0] = "Time";
948  DatePickerType[DatePickerType["Date"] = 1] = "Date";
949})(DatePickerType || (DatePickerType = {}));
950
951var TimePickerFormat;
952(function (TimePickerFormat) {
953  TimePickerFormat[TimePickerFormat["HOUR_MINUTE"] = 0] = "HOUR_MINUTE";
954  TimePickerFormat[TimePickerFormat["HOUR_MINUTE_SECOND"] = 1] = "HOUR_MINUTE_SECOND";
955})(TimePickerFormat || (TimePickerFormat = {}));
956
957var InputType;
958(function (InputType) {
959  InputType[InputType["Normal"] = 0] = "Normal";
960  InputType[InputType["Number"] = 2] = "Number";
961  InputType[InputType["PhoneNumber"] = 3] = "PhoneNumber";
962  InputType[InputType["Email"] = 5] = "Email";
963  InputType[InputType["Password"] = 7] = "Password";
964  InputType[InputType["NUMBER_PASSWORD"] = 8] = "NUMBER_PASSWORD";
965  InputType[InputType["SCREEN_LOCK_PASSWORD"] = 9] = "SCREEN_LOCK_PASSWORD";
966  InputType[InputType["USER_NAME"] = 10] = "USER_NAME";
967  InputType[InputType["NEW_PASSWORD"] = 11] = "NEW_PASSWORD";
968  InputType[InputType["NUMBER_DECIMAL"] = 12] = "NUMBER_DECIMAL";
969  InputType[InputType["URL"] = 13] = "URL";
970})(InputType || (InputType = {}));
971
972var SearchType;
973(function (SearchType) {
974  SearchType[SearchType["NORMAL"] = 0] = "NORMAL";
975  SearchType[SearchType["NUMBER"] = 2] = "NUMBER";
976  SearchType[SearchType["PHONE_NUMBER"] = 3] = "PHONE_NUMBER";
977  SearchType[SearchType["EMAIL"] = 5] = "EMAIL";
978  SearchType[SearchType["NUMBER_DECIMAL"] = 12] = "NUMBER_DECIMAL";
979  SearchType[SearchType["URL"] = 13] = "URL";
980})(SearchType || (SearchType = {}));
981
982var TextAreaType;
983(function (TextAreaType) {
984  TextAreaType[TextAreaType["NORMAL"] = 0] = "NORMAL";
985  TextAreaType[TextAreaType["NUMBER"] = 2] = "NUMBER";
986  TextAreaType[TextAreaType["PHONE_NUMBER"] = 3] = "PHONE_NUMBER";
987  TextAreaType[TextAreaType["EMAIL"] = 5] = "EMAIL";
988  TextAreaType[TextAreaType["NUMBER_DECIMAL"] = 12] = "NUMBER_DECIMAL";
989  TextAreaType[TextAreaType["URL"] = 13] = "URL";
990})(TextAreaType || (TextAreaType = {}));
991
992var EnterKeyType;
993(function (EnterKeyType) {
994  EnterKeyType[EnterKeyType["Go"] = 2] = "Go";
995  EnterKeyType[EnterKeyType["Search"] = 3] = "Search";
996  EnterKeyType[EnterKeyType["Send"] = 4] = "Send";
997  EnterKeyType[EnterKeyType["Next"] = 5] = "Next";
998  EnterKeyType[EnterKeyType["Done"] = 6] = "Done";
999  EnterKeyType[EnterKeyType["PREVIOUS"] = 7] = "PREVIOUS";
1000  EnterKeyType[EnterKeyType["NEW_LINE"] = 8] = "NEW_LINE";
1001})(EnterKeyType || (EnterKeyType = {}));
1002
1003var ItemState
1004(function (ItemState) {
1005  ItemState[ItemState["Normal"] = 0] = "Normal";
1006  ItemState[ItemState["Disabled"] = 1] = "Disabled";
1007  ItemState[ItemState["Waiting"] = 2] = "Waiting";
1008  ItemState[ItemState["Skip"] = 3] = "Skip";
1009})(ItemState || (ItemState = {}));
1010
1011var NavigationTitleMode;
1012(function (NavigationTitleMode) {
1013  NavigationTitleMode[NavigationTitleMode["Free"] = 0] = "Free";
1014  NavigationTitleMode[NavigationTitleMode["Full"] = 1] = "Full";
1015  NavigationTitleMode[NavigationTitleMode["Mini"] = 2] = "Mini";
1016})(NavigationTitleMode || (NavigationTitleMode = {}));
1017
1018let BarStyle;
1019(function (BarStyle) {
1020  BarStyle[BarStyle.STANDARD = 0] = 'STANDARD';
1021  BarStyle[BarStyle.STACK = 1] = 'STACK';
1022  BarStyle[BarStyle.SAFE_AREA_PADDING = 2] = 'SAFE_AREA_PADDING';
1023})(BarStyle || (BarStyle = {}));
1024var NavigationMode;
1025(function (NavigationMode) {
1026  NavigationMode[NavigationMode["Stack"] = 0] = "Stack";
1027  NavigationMode[NavigationMode["Split"] = 1] = "Split";
1028  NavigationMode[NavigationMode["Auto"] = 2] = "Auto";
1029})(NavigationMode || (NavigationMode = {}));
1030
1031var NavRouteMode;
1032(function (NavRouteMode) {
1033  NavRouteMode[NavRouteMode["PUSH_WITH_RECREATE"] = 0] = "PUSH_WITH_RECREATE";
1034  NavRouteMode[NavRouteMode["PUSH"] = 1] = "PUSH";
1035  NavRouteMode[NavRouteMode["REPLACE"] = 2] = "REPLACE";
1036})(NavRouteMode || (NavRouteMode = {}));
1037
1038var NavBarPosition;
1039(function (NavBarPosition) {
1040  NavBarPosition[NavBarPosition["Start"] = 0] = "Start";
1041  NavBarPosition[NavBarPosition["End"] = 1] = "End";
1042})(NavBarPosition || (NavBarPosition = {}));
1043
1044var TitleHeight;
1045(function (TitleHeight) {
1046  TitleHeight["MainOnly"] = "MainOnly";
1047  TitleHeight["MainWithSub"] = "MainWithSub";
1048})(TitleHeight || (TitleHeight = {}));
1049
1050var NavDestinationMode;
1051(function (NavDestinationMode) {
1052  NavDestinationMode[NavDestinationMode["STANDARD"] = 0] = "STANDARD";
1053  NavDestinationMode[NavDestinationMode["DIALOG"] = 1] = "DIALOG";
1054}(NavDestinationMode || (NavDestinationMode = {})));
1055
1056var NavigationSystemTransitionType;
1057(function (NavigationSystemTransitionType) {
1058  NavigationSystemTransitionType[NavigationSystemTransitionType["DEFAULT"] = 0] = "DEFAULT";
1059  NavigationSystemTransitionType[NavigationSystemTransitionType["NONE"] = 1] = "NONE";
1060  NavigationSystemTransitionType[NavigationSystemTransitionType["TITLE"] = 2] = "TITLE";
1061  NavigationSystemTransitionType[NavigationSystemTransitionType["CONTENT"] = 3] = "CONTENT";
1062}(NavigationSystemTransitionType || (NavigationSystemTransitionType = {})));
1063
1064let NavigationOperation;
1065(function (NavigationOperation) {
1066  NavigationOperation[NavigationOperation.PUSH = 1] = "PUSH";
1067  NavigationOperation[NavigationOperation.POP = 2] = "POP";
1068  NavigationOperation[NavigationOperation.REPLACE = 3] = "REPLACE";
1069}(NavigationOperation || (NavigationOperation = {})));
1070
1071var ResponseType;
1072(function (ResponseType) {
1073  ResponseType[ResponseType["RightClick"] = 0] = "RightClick";
1074  ResponseType[ResponseType["LongPress"] = 1] = "LongPress";
1075})(ResponseType || (ResponseType = {}));
1076
1077var RichEditorResponseType;
1078(function (RichEditorResponseType) {
1079  RichEditorResponseType[RichEditorResponseType["RIGHT_CLICK"] = 0] = "RIGHT_CLICK";
1080  RichEditorResponseType[RichEditorResponseType["LONG_PRESS"] = 1] = "LONG_PRESS";
1081  RichEditorResponseType[RichEditorResponseType["SELECT"] = 2] = "SELECT";
1082})(RichEditorResponseType || (RichEditorResponseType = {}));
1083
1084let MenuType;
1085(function (MenuType) {
1086  MenuType[MenuType.SELECTION_MENU = 0] = 'SELECTION_MENU';
1087  MenuType[MenuType.PREVIEW_MENU = 1] = 'PREVIEW_MENU';
1088})(MenuType || (MenuType = {}));
1089
1090var MenuPreviewMode;
1091(function (MenuPreviewMode) {
1092  MenuPreviewMode[MenuPreviewMode["NONE"] = 0] = "NONE";
1093  MenuPreviewMode[MenuPreviewMode["IMAGE"] = 1] = "IMAGE";
1094})(MenuPreviewMode || (MenuPreviewMode = {}));
1095
1096let DismissReason;
1097(function (DismissReason) {
1098  DismissReason[DismissReason.PRESS_BACK = 0] = "PRESS_BACK";
1099  DismissReason[DismissReason.TOUCH_OUTSIDE = 1] = "TOUCH_OUTSIDE";
1100  DismissReason[DismissReason.CLOSE_BUTTON = 2] = "CLOSE_BUTTON";
1101  DismissReason[DismissReason.SLIDE_DOWN = 3] = "SLIDE_DOWN";
1102})(DismissReason || (DismissReason = {}));
1103
1104var HoverEffect;
1105(function (HoverEffect) {
1106  HoverEffect[HoverEffect["Auto"] = 4] = "Auto";
1107  HoverEffect[HoverEffect["Scale"] = 2] = "Scale";
1108  HoverEffect[HoverEffect["Board"] = 3] = "Board";
1109  HoverEffect[HoverEffect["Highlight"] = 3] = "Highlight";
1110  HoverEffect[HoverEffect["None"] = 0] = "None";
1111})(HoverEffect || (HoverEffect = {}));
1112
1113var ScrollBarDirection;
1114(function (ScrollBarDirection) {
1115  ScrollBarDirection[ScrollBarDirection["Vertical"] = 0] = "Vertical";
1116  ScrollBarDirection[ScrollBarDirection["Horizontal"] = 1] = "Horizontal";
1117  ScrollBarDirection[ScrollBarDirection["None"] = 2] = "None";
1118})(ScrollBarDirection || (ScrollBarDirection = {}));
1119
1120var Placement;
1121(function (Placement) {
1122  Placement[Placement["Left"] = 0] = "Left";
1123  Placement[Placement["Right"] = 1] = "Right";
1124  Placement[Placement["Top"] = 2] = "Top";
1125  Placement[Placement["Bottom"] = 3] = "Bottom";
1126  Placement[Placement["TopLeft"] = 4] = "TopLeft";
1127  Placement[Placement["TopRight"] = 5] = "TopRight";
1128  Placement[Placement["BottomLeft"] = 6] = "BottomLeft";
1129  Placement[Placement["BottomRight"] = 7] = "BottomRight";
1130  Placement[Placement["LeftTop"] = 8] = "LeftTop";
1131  Placement[Placement["LeftBottom"] = 9] = "LeftBottom";
1132  Placement[Placement["RightTop"] = 10] = "RightTop";
1133  Placement[Placement["RightBottom"] = 11] = "RightBottom";
1134})(Placement || (Placement = {}));
1135
1136var DialogStatus;
1137(function (DialogStatus) {
1138  DialogStatus[DialogStatus["Accept"] = 0] = "Accept";
1139  DialogStatus[DialogStatus["Cancel"] = 1] = "Cancel";
1140  DialogStatus[DialogStatus["Update"] = 2] = "Update";
1141})(DialogStatus || (DialogStatus = {}));
1142
1143var SourceType;
1144(function (SourceType) {
1145  SourceType[SourceType["Unknown"] = 0] = "Unknown";
1146  SourceType[SourceType["Mouse"] = 1] = "Mouse";
1147  SourceType[SourceType["TouchScreen"] = 2] = "TouchScreen";
1148  SourceType[SourceType["Keyboard"] = 4] = "Keyboard";
1149})(SourceType || (SourceType = {}));
1150
1151var SourceTool;
1152(function (SourceTool) {
1153  SourceTool[SourceTool["Unknown"] = 0] = "Unknown";
1154  SourceTool[SourceTool["FINGER"] = 1] = "FINGER";
1155  SourceTool["Finger"] = 1;
1156  SourceTool[SourceTool["PEN"] = 2] = "PEN";
1157  SourceTool["Pen"] = 2;
1158  SourceTool[SourceTool["MOUSE"] = 7] = "MOUSE";
1159  SourceTool[SourceTool["TOUCHPAD"] = 9] = "TOUCHPAD";
1160  SourceTool[SourceTool["JOYSTICK"] = 10] = "JOYSTICK";
1161})(SourceTool || (SourceTool = {}));
1162
1163var KeySource;
1164(function (KeySource) {
1165  KeySource[KeySource["Unknown"] = 0] = "Unknown";
1166  KeySource[KeySource["Keyboard"] = 4] = "Keyboard";
1167})(KeySource || (KeySource = {}));
1168
1169var SeekMode;
1170(function (SeekMode) {
1171  SeekMode[SeekMode["PreviousKeyframe"] = 0] = "PreviousKeyframe";
1172  SeekMode[SeekMode["NextKeyframe"] = 1] = "NextKeyframe";
1173  SeekMode[SeekMode["ClosestKeyframe"] = 2] = "ClosestKeyframe";
1174  SeekMode[SeekMode["Accurate"] = 3] = "Accurate";
1175})(SeekMode || (SeekMode = {}));
1176
1177var SideBarContainerType;
1178(function (SideBarContainerType) {
1179  SideBarContainerType[SideBarContainerType["AUTO"] = 2] = "AUTO";
1180  SideBarContainerType[SideBarContainerType["Overlay"] = 1] = "Overlay";
1181  SideBarContainerType[SideBarContainerType["Embed"] = 0] = "Embed";
1182})(SideBarContainerType || (SideBarContainerType = {}));
1183
1184var SideBarPosition;
1185(function (SideBarPosition) {
1186  SideBarPosition[SideBarPosition["Start"] = 0] = "Start";
1187  SideBarPosition[SideBarPosition["End"] = 1] = "End";
1188})(SideBarPosition || (SideBarPosition = {}));
1189
1190var PlaybackSpeed;
1191(function (PlaybackSpeed) {
1192  PlaybackSpeed["Speed_Forward_0_75_X"] = "0.75";
1193  PlaybackSpeed["Speed_Forward_1_00_X"] = "1.00";
1194  PlaybackSpeed["Speed_Forward_1_25_X"] = "1.25";
1195  PlaybackSpeed["Speed_Forward_1_75_X"] = "1.75";
1196  PlaybackSpeed["Speed_Forward_2_00_X"] = "2.00";
1197})(PlaybackSpeed || (PlaybackSpeed = {}));
1198
1199var MixedMode;
1200(function (MixedMode) {
1201  MixedMode[MixedMode["All"] = 0] = "All";
1202  MixedMode[MixedMode["Compatible"] = 1] = "Compatible";
1203  MixedMode[MixedMode["None"] = 2] = "None";
1204})(MixedMode || (MixedMode = {}));
1205
1206var HitTestType;
1207(function (HitTestType) {
1208  HitTestType[HitTestType["EditText"] = 0] = "EditText";
1209  HitTestType[HitTestType["Email"] = 1] = "Email";
1210  HitTestType[HitTestType["HttpAnchor"] = 2] = "HttpAnchor";
1211  HitTestType[HitTestType["HttpAnchorImg"] = 3] = "HttpAnchorImg";
1212  HitTestType[HitTestType["Img"] = 4] = "Img";
1213  HitTestType[HitTestType["Map"] = 5] = "Map";
1214  HitTestType[HitTestType["Phone"] = 6] = "Phone";
1215  HitTestType[HitTestType["Unknown"] = 7] = "Unknown";
1216})(HitTestType || (HitTestType = {}));
1217
1218var CacheMode;
1219(function (CacheMode) {
1220  CacheMode[CacheMode["Default"] = 0] = "Default";
1221  CacheMode[CacheMode["None"] = 1] = "None";
1222  CacheMode[CacheMode["Online"] = 2] = "Online";
1223  CacheMode[CacheMode["Only"] = 3] = "Only";
1224})(CacheMode || (CacheMode = {}));
1225
1226var WebDarkMode;
1227(function (WebDarkMode) {
1228  WebDarkMode[WebDarkMode["Off"] = 0] = "Off";
1229  WebDarkMode[WebDarkMode["On"] = 1] = "On";
1230  WebDarkMode[WebDarkMode["Auto"] = 2] = "Auto";
1231})(WebDarkMode || (WebDarkMode = {}));
1232
1233var OverScrollMode;
1234(function (OverScrollMode) {
1235  OverScrollMode[OverScrollMode["NEVER"] = 0] = "NEVER";
1236  OverScrollMode[OverScrollMode["ALWAYS"] = 1] = "ALWAYS";
1237})(OverScrollMode || (OverScrollMode = {}));
1238
1239var BlurOnKeyboardHideMode;
1240(function (BlurOnKeyboardHideMode) {
1241  BlurOnKeyboardHideMode[BlurOnKeyboardHideMode["SILENT"] = 0] = "SILENT";
1242  BlurOnKeyboardHideMode[BlurOnKeyboardHideMode["BLUR"] = 1] = "BLUR";
1243})(BlurOnKeyboardHideMode || (BlurOnKeyboardHideMode = {}));
1244
1245var RenderExitReason;
1246(function (RenderExitReason) {
1247  RenderExitReason[RenderExitReason["ProcessAbnormalTermination"] = 0] = "ProcessAbnormalTermination";
1248  RenderExitReason[RenderExitReason["ProcessWasKilled"] = 1] = "ProcessWasKilled";
1249  RenderExitReason[RenderExitReason["ProcessCrashed"] = 2] = "ProcessCrashed";
1250  RenderExitReason[RenderExitReason["ProcessOom"] = 3] = "ProcessOom";
1251  RenderExitReason[RenderExitReason["ProcessExitUnknown"] = 4] = "ProcessExitUnknown";
1252})(RenderExitReason || (RenderExitReason = {}));
1253
1254var RenderProcessNotRespondingReason;
1255(function (RenderProcessNotRespondingReason) {
1256  RenderProcessNotRespondingReason[RenderProcessNotRespondingReason["INPUT_TIMEOUT"] = 0] = "INPUT_TIMEOUT";
1257  RenderProcessNotRespondingReason[RenderProcessNotRespondingReason["NAVIGATION_COMMIT_TIMEOUT"] = 1] = "NAVIGATION_COMMIT_TIMEOUT";
1258})(RenderProcessNotRespondingReason || (RenderProcessNotRespondingReason = {}));
1259
1260var SslError;
1261(function (SslError) {
1262  SslError[SslError["Invalid"] = 0] = "Invalid";
1263  SslError[SslError["HostMismatch"] = 1] = "HostMismatch";
1264  SslError[SslError["DateInvalid"] = 2] = "DateInvalid";
1265  SslError[SslError["Untrusted"] = 3] = "Untrusted";
1266})(SslError || (SslError = {}));
1267
1268var FileSelectorMode;
1269(function (FileSelectorMode) {
1270  FileSelectorMode[FileSelectorMode["FileOpenMode"] = 0] = "FileOpenMode";
1271  FileSelectorMode[FileSelectorMode["FileOpenMultipleMode"] = 1] = "FileOpenMultipleMode";
1272  FileSelectorMode[FileSelectorMode["FileOpenFolderMode"] = 2] = "FileOpenFolderMode";
1273  FileSelectorMode[FileSelectorMode["FileSaveMode"] = 3] = "FileSaveMode";
1274})(FileSelectorMode || (FileSelectorMode = {}));
1275
1276var ProtectedResourceType;
1277(function (ProtectedResourceType) {
1278  ProtectedResourceType["MidiSysex"] = "TYPE_MIDI_SYSEX";
1279  ProtectedResourceType["VIDEO_CAPTURE"] = "TYPE_VIDEO_CAPTURE";
1280  ProtectedResourceType["AUDIO_CAPTURE"] = "TYPE_AUDIO_CAPTURE";
1281  ProtectedResourceType["SENSOR"] = "TYPE_SENSOR";
1282})(ProtectedResourceType || (ProtectedResourceType = {}));
1283
1284var ProgressType;
1285(function (ProgressType) {
1286  ProgressType[ProgressType["Linear"] = 0] = "Linear";
1287  ProgressType[ProgressType["Ring"] = 1] = "Ring";
1288  ProgressType[ProgressType["Eclipse"] = 2] = "Eclipse";
1289  ProgressType[ProgressType["ScaleRing"] = 3] = "ScaleRing";
1290  ProgressType[ProgressType["Capsule"] = 4] = "Capsule";
1291})(ProgressType || (ProgressType = {}));
1292
1293var ProgressStatus;
1294(function (ProgressStatus) {
1295  ProgressStatus["LOADING"] = "LOADING";
1296  ProgressStatus["PROGRESSING"] = "PROGRESSING";
1297})(ProgressStatus || (ProgressStatus = {}));
1298
1299var MessageLevel
1300(function (MessageLevel) {
1301  MessageLevel[MessageLevel["Debug"] = 1] = "Debug";
1302  MessageLevel[MessageLevel["Info"] = 2] = "Info";
1303  MessageLevel[MessageLevel["Warn"] = 3] = "Warn";
1304  MessageLevel[MessageLevel["Error"] = 4] = "Error";
1305  MessageLevel[MessageLevel["Log"] = 5] = "Log";
1306})(MessageLevel || (MessageLevel = {}));
1307
1308var CopyOptions;
1309(function (CopyOptions) {
1310  CopyOptions[CopyOptions["None"] = 0] = "None";
1311  CopyOptions[CopyOptions["InApp"] = 1] = "InApp";
1312  CopyOptions[CopyOptions["LocalDevice"] = 2] = "LocalDevice";
1313  CopyOptions[CopyOptions["CROSS_DEVICE"] = 3] = "CrossDevice";
1314})(CopyOptions || (CopyOptions = {}));
1315
1316var SymbolRenderingStrategy;
1317(function (SymbolRenderingStrategy) {
1318  SymbolRenderingStrategy[SymbolRenderingStrategy["SINGLE"] = 0] = "SINGLE";
1319  SymbolRenderingStrategy[SymbolRenderingStrategy["MULTIPLE_COLOR"] = 1] = "MULTIPLE_COLOR";
1320  SymbolRenderingStrategy[SymbolRenderingStrategy["MULTIPLE_OPACITY"] = 2] = "MULTIPLE_OPACITY";
1321})(SymbolRenderingStrategy || (SymbolRenderingStrategy = {}));
1322
1323var SymbolEffectStrategy;
1324(function (SymbolEffectStrategy) {
1325  SymbolEffectStrategy[SymbolEffectStrategy["NONE"] = 0] = "NONE";
1326  SymbolEffectStrategy[SymbolEffectStrategy["SCALE"] = 1] = "SCALE";
1327  SymbolEffectStrategy[SymbolEffectStrategy["HIERARCHICAL"] = 2] = "HIERARCHICAL";
1328})(SymbolEffectStrategy || (SymbolEffectStrategy = {}));
1329
1330var EffectDirection;
1331(function (EffectDirection) {
1332  EffectDirection[EffectDirection["DOWN"] = 0] = "DOWN";
1333  EffectDirection[EffectDirection["UP"] = 1] = "UP";
1334})(EffectDirection || (EffectDirection = {}));
1335
1336var EffectScope;
1337(function (EffectScope) {
1338  EffectScope[EffectScope["LAYER"] = 0] = "LAYER";
1339  EffectScope[EffectScope["WHOLE"] = 1] = "WHOLE";
1340})(EffectScope || (EffectScope = {}));
1341
1342var EffectFillStyle;
1343(function (EffectFillStyle) {
1344  EffectFillStyle[EffectFillStyle["CUMULATIVE"] = 0] = "CUMULATIVE";
1345  EffectFillStyle[EffectFillStyle["ITERATIVE"] = 1] = "ITERATIVE";
1346})(EffectFillStyle || (EffectFillStyle = {}));
1347
1348let WebKeyboardAvoidMode;
1349(function (WebKeyboardAvoidMode) {
1350  WebKeyboardAvoidMode[WebKeyboardAvoidMode.RESIZE_VISUAL = 0] = 'RESIZE_VISUAL';
1351  WebKeyboardAvoidMode[WebKeyboardAvoidMode.RESIZE_CONTENT = 1] = 'RESIZE_CONTENT';
1352  WebKeyboardAvoidMode[WebKeyboardAvoidMode.OVERLAYS_CONTENT = 2] = 'OVERLAYS_CONTENT';
1353})(WebKeyboardAvoidMode || (WebKeyboardAvoidMode = {}));
1354
1355class SymbolEffect {
1356}
1357
1358class ScaleSymbolEffect extends SymbolEffect {
1359  constructor(scope, direction) {
1360    super();
1361    this.type = "ScaleSymbolEffect";
1362    this.scope = scope;
1363    this.direction = direction;
1364  }
1365  scope(value) {
1366    this.scope = value;
1367    return this;
1368  }
1369  direction(value) {
1370    this.direction = value;
1371    return this;
1372  }
1373}
1374
1375class HierarchicalSymbolEffect extends SymbolEffect {
1376  constructor(fillStyle) {
1377    super();
1378    this.type = "HierarchicalSymbolEffect";
1379    this.fillStyle = fillStyle;
1380  }
1381}
1382
1383class AppearSymbolEffect extends SymbolEffect {
1384  constructor(scope) {
1385    super();
1386    this.type = "AppearSymbolEffect";
1387    this.scope = scope;
1388  }
1389  scope(value) {
1390    this.scope = value;
1391    return this;
1392  }
1393}
1394class DisappearSymbolEffect extends SymbolEffect {
1395  constructor(scope) {
1396    super();
1397    this.type = "DisappearSymbolEffect";
1398    this.scope = scope;
1399  }
1400  scope(value) {
1401    this.scope = value;
1402    return this;
1403  }
1404}
1405
1406class BounceSymbolEffect extends SymbolEffect {
1407  constructor(scope, direction) {
1408    super();
1409    this.type = "BounceSymbolEffect";
1410    this.scope = scope;
1411    this.direction = direction;
1412  }
1413  scope(value) {
1414    this.scope = value;
1415    return this;
1416  }
1417  direction(value) {
1418    this.direction = value;
1419    return this;
1420  }
1421}
1422
1423class ReplaceSymbolEffect extends SymbolEffect {
1424  constructor(scope) {
1425    super();
1426    this.type = "ReplaceSymbolEffect";
1427    this.scope = scope;
1428  }
1429  scope(value) {
1430    this.scope = value;
1431    return this;
1432  }
1433}
1434
1435class PulseSymbolEffect extends SymbolEffect {
1436  constructor() {
1437    super();
1438    this.type = "PulseSymbolEffect";
1439  }
1440}
1441
1442var RichEditorSpanType;
1443(function (RichEditorSpanType) {
1444  RichEditorSpanType[RichEditorSpanType["TEXT"] = 0] = "TEXT";
1445  RichEditorSpanType[RichEditorSpanType["IMAGE"] = 1] = "IMAGE";
1446  RichEditorSpanType[RichEditorSpanType["MIXED"] = 2] = "MIXED";
1447  RichEditorSpanType[RichEditorSpanType["BUILDER"] = 3] = "BUILDER";
1448})(RichEditorSpanType || (RichEditorSpanType = {}));
1449
1450var ListItemAlign;
1451(function (ListItemAlign) {
1452  ListItemAlign[ListItemAlign["Start"] = 0] = "Start";
1453  ListItemAlign[ListItemAlign["Center"] = 1] = "Center";
1454  ListItemAlign[ListItemAlign["End"] = 2] = "End";
1455})(ListItemAlign || (ListItemAlign = {}));
1456
1457var BlurStyle;
1458(function (BlurStyle) {
1459  BlurStyle[BlurStyle["NoMaterial"] = 0] = "NoMaterial";
1460  BlurStyle[BlurStyle["Thin"] = 1] = "Thin";
1461  BlurStyle[BlurStyle["Regular"] = 2] = "Regular";
1462  BlurStyle[BlurStyle["Thick"] = 3] = "Thick";
1463  BlurStyle[BlurStyle["BackgroundThin"] = 4] = "BackgroundThin";
1464  BlurStyle[BlurStyle["BackgroundRegular"] = 5] = "BackgroundRegular";
1465  BlurStyle[BlurStyle["BackgroundThick"] = 6] = "BackgroundThick";
1466  BlurStyle[BlurStyle["BackgroundUltraThick"] = 7] = "BackgroundUltraThick";
1467  BlurStyle[BlurStyle["BACKGROUND_THIN"] = 4] = "BACKGROUND_THIN";
1468  BlurStyle[BlurStyle["BACKGROUND_REGULAR"] = 5] = "BACKGROUND_REGULAR";
1469  BlurStyle[BlurStyle["BACKGROUND_THICK"] = 6] = "BACKGROUND_THICK";
1470  BlurStyle[BlurStyle["BACKGROUND_ULTRA_THICK"] = 7] = "BACKGROUND_ULTRA_THICK";
1471  BlurStyle[BlurStyle["COMPONENT_ULTRA_THIN"] = 8] = "COMPONENT_ULTRA_THIN";
1472  BlurStyle[BlurStyle["COMPONENT_THIN"] = 9] = "COMPONENT_THIN";
1473  BlurStyle[BlurStyle["COMPONENT_REGULAR"] = 10] = "COMPONENT_REGULAR";
1474  BlurStyle[BlurStyle["COMPONENT_THICK"] = 11] = "COMPONENT_THICK";
1475  BlurStyle[BlurStyle["COMPONENT_ULTRA_THICK"] = 12] = "COMPONENT_ULTRA_THICK";
1476  BlurStyle[BlurStyle["NONE"] = 0] = "NONE";
1477})(BlurStyle || (BlurStyle = {}));
1478
1479var BlurStyleActivePolicy;
1480(function (BlurStyleActivePolicy) {
1481  BlurStyleActivePolicy[BlurStyleActivePolicy["FOLLOWS_WINDOW_ACTIVE_STATE"] = 0] = "FOLLOWS_WINDOW_ACTIVE_STATE";
1482  BlurStyleActivePolicy[BlurStyleActivePolicy["ALWAYS_ACTIVE"] = 1] = "ALWAYS_ACTIVE";
1483  BlurStyleActivePolicy[BlurStyleActivePolicy["ALWAYS_INACTIVE"] = 2] = "ALWAYS_INACTIVE";
1484})(BlurStyleActivePolicy || (BlurStyleActivePolicy = {}));
1485
1486var BlurType;
1487(function (BlurType) {
1488  BlurType[BlurType["WITHIN_WINDOW"] = 0] = "WITHIN_WINDOW";
1489  BlurType[BlurType["BEHIND_WINDOW"] = 1] = "BEHIND_WINDOW";
1490})(BlurType || (BlurType = {}));
1491
1492let EffectType;
1493(function (EffectType) {
1494  EffectType[EffectType.DEFAULT = 0] = 'DEFAULT';
1495  EffectType[EffectType.WINDOW_EFFECT = 1] = 'WINDOW_EFFECT';
1496})(EffectType || (EffectType = {}));
1497
1498var ThemeColorMode;
1499(function (ThemeColorMode) {
1500  ThemeColorMode[ThemeColorMode["System"] = 0] = "System";
1501  ThemeColorMode[ThemeColorMode["Light"] = 1] = "Light";
1502  ThemeColorMode[ThemeColorMode["Dark"] = 2] = "Dark";
1503  ThemeColorMode[ThemeColorMode["SYSTEM"] = 0] = "SYSTEM";
1504  ThemeColorMode[ThemeColorMode["LIGHT"] = 1] = "LIGHT";
1505  ThemeColorMode[ThemeColorMode["DARK"] = 2] = "DARK";
1506})(ThemeColorMode || (ThemeColorMode = {}));
1507
1508var AdaptiveColor;
1509(function (AdaptiveColor) {
1510  AdaptiveColor[AdaptiveColor["Default"] = 0] = "Default";
1511  AdaptiveColor[AdaptiveColor["Average"] = 1] = "Average";
1512  AdaptiveColor[AdaptiveColor["DEFAULT"] = 0] = "DEFAULT";
1513  AdaptiveColor[AdaptiveColor["AVERAGE"] = 1] = "AVERAGE";
1514})(AdaptiveColor || (AdaptiveColor = {}));
1515
1516var ShadowStyle;
1517(function (ShadowStyle) {
1518  ShadowStyle[ShadowStyle["OuterDefaultXS"] = 0] = "OuterDefaultXS";
1519  ShadowStyle[ShadowStyle["OuterDefaultSM"] = 1] = "OuterDefaultSM";
1520  ShadowStyle[ShadowStyle["OuterDefaultMD"] = 2] = "OuterDefaultMD";
1521  ShadowStyle[ShadowStyle["OuterDefaultLG"] = 3] = "OuterDefaultLG";
1522  ShadowStyle[ShadowStyle["OuterFloatingSM"] = 4] = "OuterFloatingSM";
1523  ShadowStyle[ShadowStyle["OuterFloatingMD"] = 5] = "OuterFloatingMD";
1524  ShadowStyle[ShadowStyle["OUTER_DEFAULT_XS"] = 0] = "OUTER_DEFAULT_XS";
1525  ShadowStyle[ShadowStyle["OUTER_DEFAULT_SM"] = 1] = "OUTER_DEFAULT_SM";
1526  ShadowStyle[ShadowStyle["OUTER_DEFAULT_MD"] = 2] = "OUTER_DEFAULT_MD";
1527  ShadowStyle[ShadowStyle["OUTER_DEFAULT_LG"] = 3] = "OUTER_DEFAULT_LG";
1528  ShadowStyle[ShadowStyle["OUTER_FLOATING_SM"] = 4] = "OUTER_FLOATING_SM";
1529  ShadowStyle[ShadowStyle["OUTER_FLOATING_MD"] = 5] = "OUTER_FLOATING_MD";
1530})(ShadowStyle || (ShadowStyle = {}));
1531
1532var ShadowType;
1533(function (ShadowType) {
1534  ShadowType[ShadowType["COLOR"] = 0] = "COLOR";
1535  ShadowType[ShadowType["BLUR"] = 1] = "BLUR";
1536})(ShadowType || (ShadowType = {}));
1537
1538var BreakpointsReference;
1539(function (BreakpointsReference) {
1540  BreakpointsReference[BreakpointsReference["WindowSize"] = 0] = "WindowSize";
1541  BreakpointsReference[BreakpointsReference["ComponentSize"] = 1] = "ComponentSize";
1542})(BreakpointsReference || (BreakpointsReference = {}));
1543
1544var GridRowDirection;
1545(function (GridRowDirection) {
1546  GridRowDirection[GridRowDirection["Row"] = 0] = "Row";
1547  GridRowDirection[GridRowDirection["RowReverse"] = 1] = "RowReverse";
1548})(GridRowDirection || (GridRowDirection = {}));
1549
1550var HitTestMode;
1551(function (HitTestMode) {
1552  HitTestMode[HitTestMode["Default"] = 0] = "Default";
1553  HitTestMode[HitTestMode["Block"] = 1] = "Block";
1554  HitTestMode[HitTestMode["Transparent"] = 2] = "Transparent";
1555  HitTestMode[HitTestMode["None"] = 3] = "None";
1556})(HitTestMode || (HitTestMode = {}));
1557
1558var GridDirection;
1559(function (GridDirection) {
1560  GridDirection[GridDirection["Row"] = 0] = "Row";
1561  GridDirection[GridDirection["Column"] = 1] = "Column";
1562  GridDirection[GridDirection["RowReverse"] = 2] = "RowReverse";
1563  GridDirection[GridDirection["ColumnReverse"] = 3] = "ColumnReverse";
1564})(GridDirection || (GridDirection = {}));
1565
1566var SelectStatus;
1567(function (SelectStatus) {
1568  SelectStatus[SelectStatus["All"] = 0] = "All";
1569  SelectStatus[SelectStatus["Part"] = 1] = "Part";
1570  SelectStatus[SelectStatus["None"] = 2] = "None";
1571})(SelectStatus || (SelectStatus = {}));
1572
1573var ContextMenuSourceType;
1574(function (ContextMenuSourceType) {
1575  ContextMenuSourceType[ContextMenuSourceType["None"] = 0] = "None";
1576  ContextMenuSourceType[ContextMenuSourceType["Mouse"] = 1] = "Mouse";
1577  ContextMenuSourceType[ContextMenuSourceType["LongPress"] = 2] = "LongPress";
1578})(ContextMenuSourceType || (ContextMenuSourceType = {}));
1579
1580var ContextMenuMediaType;
1581(function (ContextMenuMediaType) {
1582  ContextMenuMediaType[ContextMenuMediaType["None"] = 0] = "None";
1583  ContextMenuMediaType[ContextMenuMediaType["Image"] = 1] = "Image";
1584})(ContextMenuMediaType || (ContextMenuMediaType = {}));
1585
1586var ContextMenuInputFieldType;
1587(function (ContextMenuInputFieldType) {
1588  ContextMenuInputFieldType[ContextMenuInputFieldType["None"] = 0] = "None";
1589  ContextMenuInputFieldType[ContextMenuInputFieldType["PlainText"] = 1] = "PlainText";
1590  ContextMenuInputFieldType[ContextMenuInputFieldType["Password"] = 2] = "Password";
1591  ContextMenuInputFieldType[ContextMenuInputFieldType["Number"] = 3] = "Number";
1592  ContextMenuInputFieldType[ContextMenuInputFieldType["Telephone"] = 4] = "Telephone";
1593  ContextMenuInputFieldType[ContextMenuInputFieldType["Other"] = 5] = "Other";
1594})(ContextMenuInputFieldType || (ContextMenuInputFieldType = {}));
1595
1596var ContextMenuEditStateFlags;
1597(function (ContextMenuEditStateFlags) {
1598  ContextMenuEditStateFlags[ContextMenuEditStateFlags["NONE"] = 0] = "None";
1599  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_CUT"] = 1] = "CAN_CUT";
1600  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_COPY"] = 2] = "CAN_COPY";
1601  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_PASTE"] = 4] = "CAN_PASTE";
1602  ContextMenuEditStateFlags[ContextMenuEditStateFlags["CAN_SELECT_ALL"] = 8] = "CAN_SELECT_ALL";
1603})(ContextMenuEditStateFlags || (ContextMenuEditStateFlags = {}));
1604
1605var TransitionEdge;
1606(function (TransitionEdge) {
1607  TransitionEdge['TOP'] = 0;
1608  TransitionEdge['BOTTOM'] = 1;
1609  TransitionEdge['START'] = 2;
1610  TransitionEdge['END'] = 3;
1611})(TransitionEdge || (TransitionEdge = {}));
1612
1613var TouchTestStrategy;
1614(function (TouchTestStrategy) {
1615  TouchTestStrategy['DEFAULT'] = 0;
1616  TouchTestStrategy['FORWARD_COMPETITION'] = 1;
1617  TouchTestStrategy['FORWARD'] = 2;
1618})(TouchTestStrategy || (TouchTestStrategy = {}));
1619
1620var ModalTransition;
1621(function (ModalTransition) {
1622  ModalTransition[ModalTransition["Default"] = 0] = "Default";
1623  ModalTransition[ModalTransition["None"] = 1] = "None";
1624  ModalTransition[ModalTransition["Alpha"] = 2] = "Alpha";
1625  ModalTransition[ModalTransition["DEFAULT"] = 0] = "DEFAULT";
1626  ModalTransition[ModalTransition["NONE"] = 1] = "NONE";
1627  ModalTransition[ModalTransition["ALPHA"] = 2] = "ALPHA";
1628})(ModalTransition || (ModalTransition = {}));
1629
1630var ModifierKey;
1631(function (ModifierKey) {
1632  ModifierKey[ModifierKey["CTRL"] = 0] = "CTRL";
1633  ModifierKey[ModifierKey["SHIFT"] = 1] = "SHIFT";
1634  ModifierKey[ModifierKey["ALT"] = 2] = "ALT";
1635})(ModifierKey || (ModifierKey = {}));
1636
1637var SheetSize;
1638(function (SheetSize) {
1639  SheetSize['MEDIUM'] = "MEDIUM";
1640  SheetSize['LARGE'] = "LARGE";
1641  SheetSize['FIT_CONTENT'] = "FIT_CONTENT";
1642})(SheetSize || (SheetSize = {}));
1643
1644var SheetType;
1645(function (SheetType) {
1646  SheetType[SheetType["BOTTOM"] = 0] = "BOTTOM";
1647  SheetType[SheetType["CENTER"] = 1] = "CENTER";
1648  SheetType[SheetType["POPUP"] = 2] = "POPUP";
1649})(SheetType || (SheetType = {}));
1650
1651var SheetMode;
1652(function (SheetMode) {
1653  SheetMode[SheetMode["OVERLAY"] = 0] = "OVERLAY";
1654  SheetMode[SheetMode["EMBEDDED"] = 1] = "EMBEDDED";
1655})(SheetMode || (SheetMode = {}));
1656
1657var ScrollSizeMode;
1658(function (ScrollSizeMode ) {
1659  ScrollSizeMode[ScrollSizeMode["FOLLOW_DETENT"] = 0] = "FOLLOW_DETENT";
1660  ScrollSizeMode[ScrollSizeMode["CONTINUOUS"] = 1] = "CONTINUOUS";
1661})(ScrollSizeMode || (ScrollSizeMode = {}));
1662
1663var SheetKeyboardAvoidMode;
1664(function (SheetKeyboardAvoidMode) {
1665  SheetKeyboardAvoidMode[SheetKeyboardAvoidMode['NONE'] = 0] = 'NONE';
1666  SheetKeyboardAvoidMode[SheetKeyboardAvoidMode['TRANSLATE_AND_RESIZE'] = 1] = 'TRANSLATE_AND_RESIZE';
1667  SheetKeyboardAvoidMode[SheetKeyboardAvoidMode['RESIZE_ONLY'] = 2] = 'RESIZE_ONLY';
1668  SheetKeyboardAvoidMode[SheetKeyboardAvoidMode['TRANSLATE_AND_SCROLL'] = 3] = 'TRANSLATE_AND_SCROLL';
1669})(SheetKeyboardAvoidMode || (SheetKeyboardAvoidMode = {}));
1670
1671var FunctionKey;
1672(function (FunctionKey) {
1673  FunctionKey[FunctionKey["ESC"] = 0] = "ESC";
1674  FunctionKey[FunctionKey["F1"] = 1] = "F1";
1675  FunctionKey[FunctionKey["F2"] = 2] = "F2";
1676  FunctionKey[FunctionKey["F3"] = 3] = "F3";
1677  FunctionKey[FunctionKey["F4"] = 4] = "F4";
1678  FunctionKey[FunctionKey["F5"] = 5] = "F5";
1679  FunctionKey[FunctionKey["F6"] = 6] = "F6";
1680  FunctionKey[FunctionKey["F7"] = 7] = "F7";
1681  FunctionKey[FunctionKey["F8"] = 8] = "F8";
1682  FunctionKey[FunctionKey["F9"] = 9] = "F9";
1683  FunctionKey[FunctionKey["F10"] = 10] = "F10";
1684  FunctionKey[FunctionKey["F11"] = 11] = "F11";
1685  FunctionKey[FunctionKey["F12"] = 12] = "F12";
1686  FunctionKey[FunctionKey["TAB"] = 13] = "TAB";
1687  FunctionKey[FunctionKey["DPAD_UP"] = 14] = "DPAD_UP";
1688  FunctionKey[FunctionKey["DPAD_DOWN"] = 15] = "DPAD_DOWN";
1689  FunctionKey[FunctionKey["DPAD_LEFT"] = 16] = "DPAD_LEFT";
1690  FunctionKey[FunctionKey["DPAD_RIGHT"] = 17] = "DPAD_RIGHT";
1691})(FunctionKey || (FunctionKey = {}));
1692
1693var ContentType;
1694(function (ContentType) {
1695  ContentType[ContentType['USER_NAME'] = 0] = 'USER_NAME';
1696  ContentType[ContentType['PASSWORD'] = 1] = 'PASSWORD';
1697  ContentType[ContentType['NEW_PASSWORD'] = 2] = 'NEW_PASSWORD';
1698  ContentType[ContentType['FULL_STREET_ADDRESS'] = 3] = 'FULL_STREET_ADDRESS';
1699  ContentType[ContentType['HOUSE_NUMBER'] = 4] = 'HOUSE_NUMBER';
1700  ContentType[ContentType['DISTRICT_ADDRESS'] = 5] = 'DISTRICT_ADDRESS';
1701  ContentType[ContentType['CITY_ADDRESS'] = 6] = 'CITY_ADDRESS';
1702  ContentType[ContentType['PROVINCE_ADDRESS'] = 7] = 'PROVINCE_ADDRESS';
1703  ContentType[ContentType['COUNTRY_ADDRESS'] = 8] = 'COUNTRY_ADDRESS';
1704  ContentType[ContentType['PERSON_FULL_NAME'] = 9] = 'PERSON_FULL_NAME';
1705  ContentType[ContentType['PERSON_LAST_NAME'] = 10] = 'PERSON_LAST_NAME';
1706  ContentType[ContentType['PERSON_FIRST_NAME'] = 11] = 'PERSON_FIRST_NAME';
1707  ContentType[ContentType['PHONE_NUMBER'] = 12] = 'PHONE_NUMBER';
1708  ContentType[ContentType['PHONE_COUNTRY_CODE'] = 13] = 'PHONE_COUNTRY_CODE';
1709  ContentType[ContentType['FULL_PHONE_NUMBER'] = 14] = 'FULL_PHONE_NUMBER';
1710  ContentType[ContentType['EMAIL_ADDRESS'] = 15] = 'EMAIL_ADDRESS';
1711  ContentType[ContentType['BANK_CARD_NUMBER'] = 16] = 'BANK_CARD_NUMBER';
1712  ContentType[ContentType['ID_CARD_NUMBER'] = 17] = 'ID_CARD_NUMBER';
1713  ContentType[ContentType['PRECISE_TIME'] = 18] = 'PRECISE_TIME';
1714  ContentType[ContentType['HOUR_AND_MINUTE'] = 19] = 'HOUR_AND_MINUTE';
1715  ContentType[ContentType['DATE'] = 20] = 'DATE';
1716  ContentType[ContentType['MONTH'] = 21] = 'MONTH';
1717  ContentType[ContentType['YEAR'] = 22] = 'YEAR';
1718  ContentType[ContentType['NICKNAME'] = 23] = 'NICKNAME';
1719  ContentType[ContentType['DETAIL_INFO_WITHOUT_STREET'] = 24] = 'DETAIL_INFO_WITHOUT_STREET';
1720  ContentType[ContentType['FORMAT_ADDRESS'] = 25] = 'FORMAT_ADDRESS';
1721})(ContentType || (ContentType = {}));
1722
1723var GestureJudgeResult;
1724(function (GestureJudgeResult) {
1725  GestureJudgeResult[GestureJudgeResult["CONTINUE"] = 0] = "CONTINUE";
1726  GestureJudgeResult[GestureJudgeResult["REJECT"] = 1] = "REJECT";
1727})(GestureJudgeResult || (GestureJudgeResult = {}));
1728
1729var GestureControl;
1730(function (GestureControl) {
1731  let GestureType;
1732  (function (GestureType) {
1733    GestureType[GestureType["TAP_GESTURE"] = 0] = "TAP_GESTURE";
1734    GestureType[GestureType["LONG_PRESS_GESTURE"] = 1] = "LONG_PRESS_GESTURE";
1735    GestureType[GestureType["PAN_GESTURE"] = 2] = "PAN_GESTURE";
1736    GestureType[GestureType["PINCH_GESTURE"] = 3] = "PINCH_GESTURE";
1737    GestureType[GestureType["SWIPE_GESTURE"] = 4] = "SWIPE_GESTURE";
1738    GestureType[GestureType["ROTATION_GESTURE"] = 5] = "ROTATION_GESTURE";
1739    GestureType[GestureType["DRAG"] = 6] = "DRAG";
1740    GestureType[GestureType["CLICK"] = 7] = "CLICK";
1741  })(GestureType = GestureControl.GestureType || (GestureControl.GestureType = {}));
1742})(GestureControl || (GestureControl = {}));
1743
1744var TransitionHierarchyStrategy;
1745(function (TransitionHierarchyStrategy) {
1746  TransitionHierarchyStrategy[TransitionHierarchyStrategy["NONE"] = 0] = "NONE";
1747  TransitionHierarchyStrategy[TransitionHierarchyStrategy["ADAPTIVE"] = 1] = "ADAPTIVE";
1748})(TransitionHierarchyStrategy || (TransitionHierarchyStrategy = {}));
1749
1750var KeyboardAvoidMode;
1751(function (KeyboardAvoidMode) {
1752    KeyboardAvoidMode[KeyboardAvoidMode["DEFAULT"] = 0] = "DEFAULT";
1753    KeyboardAvoidMode[KeyboardAvoidMode["NONE"] = 1] = "NONE";
1754})(KeyboardAvoidMode || (KeyboardAvoidMode = {}));
1755
1756class SubTabBarStyle {
1757  constructor(content) {
1758    this.type = 'SubTabBarStyle';
1759    this.content = content;
1760  }
1761  static of(content) {
1762    return new SubTabBarStyle(content);
1763  }
1764  indicator(arg) {
1765    this.indicator = arg;
1766    return this;
1767  }
1768  selectedMode(arg) {
1769    this.selectedMode = arg;
1770    return this;
1771  }
1772  board(arg) {
1773    this.board = arg;
1774    return this;
1775  }
1776  labelStyle(arg) {
1777    this.labelStyle = arg;
1778    return this;
1779  }
1780  padding(arg) {
1781    this.padding = arg;
1782    return this;
1783  }
1784  id(arg) {
1785    this.id = arg;
1786    return this;
1787  }
1788}
1789
1790class DrawModifier {
1791  invalidate() {}
1792}
1793
1794class ProgressMask {
1795  constructor(value, total, color) {
1796    this.type = 'ProgressMask';
1797    this.value = value;
1798    this.total = total;
1799    this.color = color;
1800  }
1801
1802  updateProgress(arg) {
1803    this.value = arg;
1804    return this;
1805  }
1806
1807  updateColor(arg) {
1808    this.color = arg;
1809    return this;
1810  }
1811
1812  enableBreathingAnimation(arg) {
1813    this.breathe = arg;
1814    return this;
1815  }
1816}
1817
1818class BottomTabBarStyle {
1819  constructor(icon, text) {
1820    this.type = 'BottomTabBarStyle';
1821    this.icon = icon;
1822    this.text = text;
1823  }
1824  static of(icon, text) {
1825    return new BottomTabBarStyle(icon, text);
1826  }
1827  padding(arg) {
1828    this.padding = arg;
1829    return this;
1830  }
1831  layoutMode(arg) {
1832    this.layoutMode = arg;
1833    return this;
1834  }
1835  verticalAlign(arg) {
1836    this.verticalAlign = arg;
1837    return this;
1838  }
1839  symmetricExtensible(arg) {
1840    this.symmetricExtensible = arg;
1841    return this;
1842  }
1843  labelStyle(arg) {
1844    this.labelStyle = arg;
1845    return this;
1846  }
1847  id(arg) {
1848    this.id = arg;
1849    return this;
1850  }
1851  iconStyle(arg) {
1852    this.iconStyle = arg;
1853    return this;
1854  }
1855}
1856
1857class Indicator {
1858  top(value) {
1859    this.topValue = value;
1860    return this;
1861  }
1862  left(value) {
1863    this.leftValue = value;
1864    return this;
1865  }
1866  right(value) {
1867    this.rightValue = value;
1868    return this;
1869  }
1870  bottom(value) {
1871    this.bottomValue = value;
1872    return this;
1873  }
1874  start(value) {
1875    this.startValue = value;
1876    return this;
1877  }
1878  end(value) {
1879    this.endValue = value;
1880    return this;
1881  }
1882  static dot() {
1883    return new DotIndicator();
1884  }
1885  static digit() {
1886    return new DigitIndicator();
1887  }
1888}
1889
1890class DotIndicator extends Indicator {
1891  constructor() {
1892    super();
1893    this.type = 'DotIndicator';
1894  }
1895  itemWidth(value) {
1896    this.itemWidthValue = value;
1897    return this;
1898  }
1899  itemHeight(value) {
1900    this.itemHeightValue = value;
1901    return this;
1902  }
1903  selectedItemWidth(value) {
1904    this.selectedItemWidthValue = value;
1905    return this;
1906  }
1907  selectedItemHeight(value) {
1908    this.selectedItemHeightValue = value;
1909    return this;
1910  }
1911  mask(value) {
1912    this.maskValue = value;
1913    return this;
1914  }
1915  color(value) {
1916    this.colorValue = value;
1917    return this;
1918  }
1919  selectedColor(value) {
1920    this.selectedColorValue = value;
1921    return this;
1922  }
1923  maxDisplayCount(value) {
1924    this.maxDisplayCountValue = value;
1925    return this;
1926  }
1927}
1928
1929class DigitIndicator extends Indicator {
1930  constructor() {
1931    super();
1932    this.type = 'DigitIndicator';
1933  }
1934  fontColor(value) {
1935    this.fontColorValue = value;
1936    return this;
1937  }
1938  selectedFontColor(value) {
1939    this.selectedFontColorValue = value;
1940    return this;
1941  }
1942  digitFont(value) {
1943    this.digitFontValue = value;
1944    return this;
1945  }
1946  selectedDigitFont(value) {
1947    this.selectedDigitFontValue = value;
1948    return this;
1949  }
1950}
1951
1952var TextHeightAdaptivePolicy;
1953(function (TextHeightAdaptivePolicy) {
1954  TextHeightAdaptivePolicy[TextHeightAdaptivePolicy["MAX_LINES_FIRST"] = 0] = "MAX_LINES_FIRST";
1955  TextHeightAdaptivePolicy[TextHeightAdaptivePolicy["MIN_FONT_SIZE_FIRST"] = 1] = "MIN_FONT_SIZE_FIRST";
1956  TextHeightAdaptivePolicy[TextHeightAdaptivePolicy["LAYOUT_CONSTRAINT_FIRST"] = 2] = "LAYOUT_CONSTRAINT_FIRST";
1957})(TextHeightAdaptivePolicy || (TextHeightAdaptivePolicy = {}));
1958
1959var ArrowPosition;
1960(function (ArrowPosition) {
1961  ArrowPosition[ArrowPosition["END"] = 0] = "END";
1962  ArrowPosition[ArrowPosition["START"] = 1] = "START";
1963})(ArrowPosition || (ArrowPosition = {}));
1964
1965class TransitionEffect {
1966  type_ = '';
1967  effect_ = undefined;
1968  animation_ = undefined;
1969  // use successor_ to mark whether this is an instance of TransitionEffect
1970  successor_ = null;
1971
1972  constructor(type, effect) {
1973    this.type_ = type;
1974    this.effect_ = effect;
1975  }
1976
1977  static get IDENTITY() {
1978    return new TransitionEffect('identity', undefined);
1979  }
1980  static get OPACITY() {
1981    return new TransitionEffect('opacity', 0);
1982  }
1983  static get SLIDE() {
1984    return new TransitionEffect('asymmetric', {
1985      appear: new TransitionEffect('move', TransitionEdge.START),
1986      disappear: new TransitionEffect('move', TransitionEdge.END)
1987    });
1988  }
1989  static get SLIDE_SWITCH() {
1990    return new TransitionEffect('slideSwitch', undefined);
1991  }
1992  static translate(option) {
1993    return new TransitionEffect('translate', option);
1994  }
1995  static rotate(option) {
1996    return new TransitionEffect('rotate', option);
1997  }
1998  static scale(option) {
1999    return new TransitionEffect('scale', option);
2000  }
2001  static opacity(value) {
2002    return new TransitionEffect('opacity', value);
2003  }
2004  static move(edge) {
2005    return new TransitionEffect('move', edge);
2006  }
2007  static asymmetric(appearEffect, disappearEffect) {
2008    return new TransitionEffect('asymmetric', {
2009      appear: appearEffect,
2010      disappear: disappearEffect
2011    });
2012  }
2013
2014  animation(option) {
2015    this.animation_ = option;
2016    return this;
2017  }
2018  combine(nextEffect) {
2019    if (nextEffect == null || nextEffect == undefined) {
2020      return this;
2021    }
2022    var lastEffect = this;
2023    while (lastEffect.successor_ != null) {
2024      lastEffect = lastEffect.successor_;
2025    }
2026    lastEffect.successor_ = nextEffect;
2027    return this;
2028  }
2029}
2030
2031class TextMenuItemId {
2032  id_ = '';
2033
2034  constructor(id) {
2035    this.id_ = id;
2036  }
2037
2038  static of(id) {
2039    return new TextMenuItemId(id);
2040  }
2041
2042  equals(id) {
2043    return id.id_ === this.id_;
2044  }
2045
2046  static get CUT() {
2047    return new TextMenuItemId('OH_DEFAULT_CUT');
2048  }
2049
2050  static get COPY() {
2051    return new TextMenuItemId('OH_DEFAULT_COPY');
2052  }
2053
2054  static get PASTE() {
2055    return new TextMenuItemId('OH_DEFAULT_PASTE');
2056  }
2057
2058  static get SELECT_ALL() {
2059    return new TextMenuItemId('OH_DEFAULT_SELECT_ALL');
2060  }
2061
2062  static get COLLABORATION_SERVICE() {
2063    return new TextMenuItemId('OH_DEFAULT_COLLABORATION_SERVICE');
2064  }
2065
2066  static get CAMERA_INPUT() {
2067    return new TextMenuItemId('OH_DEFAULT_CAMERA_INPUT');
2068  }
2069
2070  static get AI_WRITER() {
2071    return new TextMenuItemId('OH_DEFAULT_AI_WRITE');
2072  }
2073}
2074
2075globalThis.TextMenuItemId = TextMenuItemId;
2076
2077var SliderBlockType;
2078(function (SliderBlockType) {
2079  SliderBlockType[SliderBlockType["DEFAULT"] = 0] = "DEFAULT";
2080  SliderBlockType[SliderBlockType["IMAGE"] = 1] = "IMAGE";
2081  SliderBlockType[SliderBlockType["SHAPE"] = 2] = "SHAPE";
2082})(SliderBlockType || (SliderBlockType = {}));
2083
2084var SliderInteraction;
2085(function (SliderInteraction) {
2086  SliderInteraction[SliderInteraction["SLIDE_AND_CLICK"] = 0] = "SLIDE_AND_CLICK";
2087  SliderInteraction[SliderInteraction["SLIDE_ONLY"] = 1] = "SLIDE_ONLY";
2088  SliderInteraction[SliderInteraction["SLIDE_AND_CLICK_UP"] = 2] = "SLIDE_AND_CLICK_UP";
2089})(SliderInteraction || (SliderInteraction = {}));
2090
2091var TitleStyle;
2092(function (TitleStyle) {
2093  TitleStyle[TitleStyle["ListMode"] = 0] = "ListMode";
2094  TitleStyle[TitleStyle["ContentMode"] = 1] = "ContentMode";
2095})(TitleStyle || (TitleStyle = {}));
2096
2097var OperationStyle;
2098(function (OperationStyle) {
2099  OperationStyle[OperationStyle["TextArrow"] = 0] = "TextArrow";
2100  OperationStyle[OperationStyle["Button"] = 1] = "Button";
2101  OperationStyle[OperationStyle["IconGroup"] = 2] = "IconGroup";
2102})(OperationStyle || (OperationStyle = {}));
2103
2104var TabItemType;
2105(function (TabItemType) {
2106  TabItemType[TabItemType["Text"] = 0] = "Text";
2107  TabItemType[TabItemType["Icon"] = 1] = "Icon";
2108})(TabItemType || (TabItemType = {}));
2109
2110var EditableLeftIconType;
2111(function (EditableLeftIconType) {
2112  EditableLeftIconType[EditableLeftIconType["Back"] = 0] = "Back";
2113  EditableLeftIconType[EditableLeftIconType["Cancel"] = 1] = "Cancel";
2114})(EditableLeftIconType || (EditableLeftIconType = {}));
2115
2116var ContentIconPosition;
2117(function (ContentIconPosition) {
2118  ContentIconPosition[ContentIconPosition["Top"] = 0] = "Top";
2119  ContentIconPosition[ContentIconPosition["Center"] = 1] = "Center";
2120})(ContentIconPosition || (ContentIconPosition = {}));
2121
2122var ContentTextStyle;
2123(function (ContentTextStyle) {
2124  ContentTextStyle[ContentTextStyle["SingleLine"] = 0] = "SingleLine";
2125  ContentTextStyle[ContentTextStyle["DoubleLine"] = 1] = "DoubleLine";
2126  ContentTextStyle[ContentTextStyle["ThreeLines"] = 2] = "ThreeLines";
2127})(ContentTextStyle || (ContentTextStyle = {}));
2128
2129var MarqueeUpdateStrategy;
2130(function (MarqueeUpdateStrategy) {
2131  MarqueeUpdateStrategy["DEFAULT"] = "default";
2132  MarqueeUpdateStrategy["PRESERVE_POSITION"] = "preserve_position";
2133})(MarqueeUpdateStrategy || (MarqueeUpdateStrategy = {}));
2134
2135var LaunchMode;
2136(function (LaunchMode) {
2137  LaunchMode[LaunchMode.STANDARD = 0] = 'STANDARD';
2138  LaunchMode[LaunchMode.MOVE_TO_TOP_SINGLETON = 1] = 'MOVE_TO_TOP_SINGLETON';
2139  LaunchMode[LaunchMode.POP_TO_SINGLETON = 2] = 'POP_TO_SINGLETON';
2140  LaunchMode[LaunchMode.NEW_INSTANCE = 3] = 'NEW_INSTANCE';
2141})(LaunchMode || (LaunchMode = {}));
2142
2143class NavPathInfo {
2144  constructor(name, param, onPop, isEntry) {
2145    this.name = name;
2146    this.param = param;
2147    this.onPop = onPop;
2148    this.index = -1;
2149    this.needUpdate = false;
2150    this.needBuildNewInstance = false;
2151    this.navDestinationId = undefined;
2152    this.isEntry = isEntry;
2153    this.fromRecovery = false;
2154    this.mode = undefined;
2155  }
2156}
2157
2158class NavPathStack {
2159  constructor() {
2160    this.pathArray = [];
2161    // replace value 0: don't do anything;
2162    // 1: replace value and do replace animation;
2163    // 2: don't replace value but do replace animation
2164    this.isReplace = 0;
2165    this.type = this.constructor.name;
2166    // control all navigation transition animations.
2167    this.disableAllAnimation = false;
2168    // control a single navigation transition animation.
2169    this.animated = true;
2170    // native nav path stack, implement in cpp
2171    this.nativeStack = undefined;
2172    // parent stack
2173    this.parentStack = undefined;
2174    this.popArray = [];
2175    this.interception = undefined;
2176  }
2177  getJsIndexFromNativeIndex(index) {
2178    for (let i = 0; i < this.pathArray.length; i++) {
2179      if (this.pathArray[i].index === index) {
2180        return i;
2181      }
2182    }
2183    return -1;
2184  }
2185  initNavPathIndex(pathName) {
2186    this.popArray = [];
2187    for (let i = 0; i < this.pathArray.length && i < pathName.length; i++) {
2188      if (pathName[i] === this.pathArray[i].name) {
2189        this.pathArray[i].index = i;
2190      }
2191    }
2192  }
2193  getAllPathIndex() {
2194    let array = this.pathArray.flatMap(element => element.index);
2195    return array;
2196  }
2197  findInPopArray(name) {
2198    for (let i = this.popArray.length - 1; i >= 0; i--) {
2199      if (name === this.popArray[i].name) {
2200        let info = this.popArray.splice(i, 1);
2201        return [info[0].index, info[0].navDestinationId];
2202      }
2203    }
2204    return [-1, undefined]; // add new navdestination
2205  }
2206  setNativeStack(stack) {
2207    this.nativeStack = stack;
2208  }
2209  getNativeStack() {
2210    return this.nativeStack;
2211  }
2212  setParent(parent) {
2213    this.parentStack = parent;
2214  }
2215  getParent() {
2216    return this.parentStack;
2217  }
2218  pushName(name, param) {
2219    let info = new NavPathInfo(name, param);
2220    [info.index, info.navDestinationId] = this.findInPopArray(name);
2221    this.pathArray.push(info);
2222    this.isReplace = 0;
2223    this.nativeStack?.onStateChanged();
2224  }
2225  push(info, animated) {
2226    this.pushPath(info, animated);
2227  }
2228  pushPathByName(name, param, onPop, animated) {
2229    let info = undefined;
2230    if (onPop === undefined || typeof onPop === 'boolean') {
2231      info = new NavPathInfo(name, param);
2232    } else {
2233      info = new NavPathInfo(name, param, onPop);
2234    }
2235    [info.index, info.navDestinationId] = this.findInPopArray(name);
2236    info.pushDestination = false;
2237    this.pathArray.push(info);
2238    this.isReplace = 0;
2239    if (typeof onPop === 'boolean') {
2240      this.animated = onPop;
2241    } else if (animated === undefined) {
2242      this.animated = true;
2243    } else {
2244      this.animated = animated;
2245    }
2246    this.nativeStack?.onStateChanged();
2247  }
2248  pushDestinationByName(name, param, onPop, animated) {
2249    let info = undefined;
2250    if (onPop === undefined || typeof onPop === 'boolean') {
2251      info = new NavPathInfo(name, param);
2252    } else {
2253      info = new NavPathInfo(name, param, onPop);
2254    }
2255    this.isReplace = 0;
2256    if (typeof onPop === 'boolean') {
2257      this.animated = onPop;
2258    } else if (animated === undefined) {
2259      this.animated = true;
2260    } else {
2261      this.animated = animated;
2262    }
2263
2264    let promise = this.nativeStack?.onPushDestination(info);
2265    if (!promise) {
2266      return new Promise((resolve, reject) => {
2267        reject({ message: 'Internal error.', code: 100001 });
2268      })
2269    }
2270    [info.index, info.navDestinationId] = this.findInPopArray(name);
2271    info.pushDestination = true;
2272    this.pathArray.push(info);
2273    this.nativeStack?.onStateChanged();
2274    return promise;
2275  }
2276  parseNavigationOptions(param) {
2277    let launchMode = LaunchMode.STANDARD;
2278    let animated = true;
2279    if (typeof param === 'boolean') {
2280      animated = param;
2281    } else if (param !== undefined) {
2282      if (typeof param.animated === 'boolean') {
2283        animated = param.animated;
2284      }
2285      if (param.launchMode !== undefined) {
2286        launchMode = param.launchMode;
2287      }
2288    }
2289    return [launchMode, animated];
2290  }
2291  pushWithLaunchModeAndAnimated(info, launchMode, animated, createPromise) {
2292    if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON || launchMode === LaunchMode.POP_TO_SINGLETON) {
2293      let index = this.pathArray.findIndex(element => element.name === info.name);
2294      if (index !== -1) {
2295        this.pathArray[index].param = info.param;
2296        this.pathArray[index].onPop = info.onPop;
2297        this.pathArray[index].needUpdate = true;
2298        this.pathArray[index].isEntry = info.isEntry;
2299        if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON) {
2300          this.moveIndexToTop(index, animated);
2301        } else {
2302          this.popToIndex(index, undefined, animated);
2303        }
2304        let promise = null;
2305        if (createPromise) {
2306          promise = new Promise((resolve, reject) => {
2307            resolve();
2308          });
2309        }
2310        return [true, promise];
2311      }
2312    }
2313    return [false, null];
2314  }
2315  pushPath(info, optionParam) {
2316    let [launchMode, animated] = this.parseNavigationOptions(optionParam);
2317    let [ret, _] = this.pushWithLaunchModeAndAnimated(info, launchMode, animated, false);
2318    if (ret) {
2319      return;
2320    }
2321    [info.index, info.navDestinationId] = this.findInPopArray(info.name);
2322    if (launchMode === LaunchMode.NEW_INSTANCE) {
2323      info.needBuildNewInstance = true;
2324    }
2325    info.pushDestination = false;
2326    this.pathArray.push(info);
2327    this.isReplace = 0;
2328    this.animated = animated;
2329    this.nativeStack?.onStateChanged();
2330  }
2331  pushDestination(info, optionParam) {
2332    let [launchMode, animated] = this.parseNavigationOptions(optionParam);
2333    let [ret, promiseRet] = this.pushWithLaunchModeAndAnimated(info, launchMode, animated, true);
2334    if (ret) {
2335      return promiseRet;
2336    }
2337    this.isReplace = 0;
2338    this.animated = animated;
2339    let promise = this.nativeStack?.onPushDestination(info);
2340    if (!promise) {
2341      return new Promise((resolve, reject) => {
2342        reject({ message: 'Internal error.', code: 100001 });
2343      })
2344    }
2345    [info.index, info.navDestinationId] = this.findInPopArray(info.name);
2346    info.pushDestination = true;
2347    if (launchMode === LaunchMode.NEW_INSTANCE) {
2348      info.needBuildNewInstance = true;
2349    }
2350    this.pathArray.push(info);
2351    this.nativeStack?.onStateChanged();
2352    return promise;
2353  }
2354  replacePath(info, optionParam) {
2355    let [launchMode, animated] = this.parseNavigationOptions(optionParam);
2356    let index = -1;
2357    if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON || launchMode === LaunchMode.POP_TO_SINGLETON) {
2358      index = this.pathArray.findIndex(element => element.name === info.name);
2359      if (index !== -1) {
2360        this.pathArray[index].param = info.param;
2361        this.pathArray[index].onPop = info.onPop;
2362        this.pathArray[index].index = -1;
2363        if (index !== this.pathArray.length - 1) {
2364          let targetInfo = this.pathArray.splice(index, 1);
2365          if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON) {
2366            this.pathArray.pop();
2367          } else {
2368            this.pathArray.splice(index);
2369          }
2370          this.pathArray.push(targetInfo[0]);
2371        }
2372      }
2373    }
2374    if (index === -1) {
2375      if (this.pathArray.length !== 0) {
2376        this.pathArray.pop();
2377      }
2378      this.pathArray.push(info);
2379      this.pathArray[this.pathArray.length - 1].index = -1;
2380    }
2381    this.isReplace = 1;
2382    this.animated = animated;
2383    this.nativeStack?.onStateChanged();
2384  }
2385  replacePathByName(name, param, animated) {
2386    if (this.pathArray.length !== 0) {
2387      this.pathArray.pop();
2388    }
2389    this.isReplace = 1;
2390    this.pathArray.push(new NavPathInfo(name, param));
2391    this.pathArray[this.pathArray.length - 1].index = -1;
2392    if (animated === undefined) {
2393      this.animated = true;
2394    } else {
2395      this.animated = animated;
2396    }
2397    this.nativeStack?.onStateChanged();
2398  }
2399  setIsReplace(value) {
2400    this.isReplace = value;
2401  }
2402  setAnimated(value) {
2403    this.animated = value;
2404  }
2405  pop(result, animated) {
2406    if (this.pathArray.length === 0) {
2407      return undefined;
2408    }
2409    let currentPathInfo = this.pathArray[this.pathArray.length - 1];
2410    let pathInfo = this.pathArray.pop();
2411    this.popArray.push(pathInfo);
2412    this.isReplace = 0;
2413    if (result !== undefined && typeof result !== 'boolean' && currentPathInfo.onPop !== undefined) {
2414      let popInfo = {
2415        info: currentPathInfo,
2416        result: result,
2417      };
2418      currentPathInfo.onPop(popInfo);
2419    }
2420    if (typeof result === 'boolean') {
2421      this.animated = result;
2422    } else if (animated === undefined) {
2423      this.animated = true;
2424    } else {
2425      this.animated = animated;
2426    }
2427    this.nativeStack?.onStateChanged();
2428    return pathInfo;
2429  }
2430  popTo(name, animated) {
2431    this.popToName(name, animated);
2432  }
2433  popToName(name, result, animated) {
2434    let index = this.pathArray.findIndex(element => element.name === name);
2435    if (index === -1) {
2436      return -1;
2437    }
2438    let currentPathInfo = this.pathArray[this.pathArray.length - 1];
2439    this.pathArray.splice(index + 1);
2440    this.isReplace = 0;
2441    if (result !== undefined && typeof result !== 'boolean' && currentPathInfo.onPop !== undefined) {
2442      let popInfo = {
2443        info: currentPathInfo,
2444        result: result,
2445      };
2446      currentPathInfo.onPop(popInfo);
2447    }
2448    if (typeof result === 'boolean') {
2449      this.animated = result;
2450    } else if (animated === undefined) {
2451      this.animated = true;
2452    } else {
2453      this.animated = animated;
2454    }
2455    this.nativeStack?.onStateChanged();
2456    return index;
2457  }
2458  popToIndex(index, result, animated) {
2459    if (index >= this.pathArray.length) {
2460      return;
2461    }
2462    let currentPathInfo = this.pathArray[this.pathArray.length - 1];
2463    this.pathArray.splice(index + 1);
2464    this.isReplace = 0;
2465    if (result !== undefined && typeof result !== 'boolean' && currentPathInfo.onPop !== undefined) {
2466      let popInfo = {
2467        info: currentPathInfo,
2468        result: result,
2469      };
2470      currentPathInfo.onPop(popInfo);
2471    }
2472    if (typeof result === 'boolean') {
2473      this.animated = result;
2474    } else if (animated === undefined) {
2475      this.animated = true;
2476    } else {
2477      this.animated = animated;
2478    }
2479    this.nativeStack?.onStateChanged();
2480  }
2481  moveToTop(name, animated) {
2482    let index = this.pathArray.findIndex(element => element.name === name);
2483    if (index === -1) {
2484      return -1;
2485    }
2486    let info = this.pathArray.splice(index, 1);
2487    this.pathArray.push(info[0]);
2488    this.isReplace = 0;
2489    if (animated === undefined) {
2490      this.animated = true;
2491    } else {
2492      this.animated = animated;
2493    }
2494    this.nativeStack?.onStateChanged();
2495    return index;
2496  }
2497  moveIndexToTop(index, animated) {
2498    if (index >= this.pathArray.length) {
2499      return;
2500    }
2501    let info = this.pathArray.splice(index, 1);
2502    this.pathArray.push(info[0]);
2503    this.isReplace = 0;
2504    if (animated === undefined) {
2505      this.animated = true;
2506    } else {
2507      this.animated = animated;
2508    }
2509    this.nativeStack?.onStateChanged();
2510  }
2511  clear(animated) {
2512    if (this.pathArray.length === 0) {
2513      return;
2514    }
2515    this.pathArray.splice(0);
2516    this.isReplace = 0;
2517    if (animated === undefined) {
2518      this.animated = true;
2519    } else {
2520      this.animated = animated;
2521    }
2522    this.nativeStack?.onStateChanged();
2523  }
2524  removeByIndexes(indexes) {
2525    if (!Array.isArray(indexes) || indexes.length === 0) {
2526      return 0;
2527    }
2528    let originLength = this.pathArray.length;
2529    this.pathArray = this.pathArray.filter((item, index) => {
2530      return item && !indexes.includes(index);
2531    });
2532    let cnt = originLength - this.pathArray.length;
2533    if (cnt > 0) {
2534      this.isReplace = 0;
2535      this.nativeStack?.onStateChanged();
2536    }
2537    return cnt;
2538  }
2539  removeByName(name) {
2540    let originLength = this.pathArray.length;
2541    this.pathArray = this.pathArray.filter(item => { return name !== item.name });
2542    let cnt = originLength - this.pathArray.length;
2543    if (cnt > 0) {
2544      this.isReplace = 0;
2545      this.nativeStack?.onStateChanged();
2546    }
2547    return cnt;
2548  }
2549  removeByNavDestinationId(navDestinationId) {
2550    let index = this.pathArray.findIndex(element => element.navDestinationId === navDestinationId);
2551    if (index === -1) {
2552      return false;
2553    }
2554    this.pathArray.splice(index, 1);
2555    this.isReplace = 0;
2556    this.nativeStack?.onStateChanged();
2557    return true;
2558  }
2559  removeIndex(index) {
2560    if (index >= this.pathArray.length) {
2561      return;
2562    }
2563    this.pathArray.splice(index, 1);
2564    this.isReplace = 0;
2565    this.nativeStack?.onStateChanged();
2566  }
2567  removeInvalidPage(name, param) {
2568    for (let i = 0; i < this.pathArray.length; i++) {
2569      if (this.pathArray[i].name === name &&
2570        this.pathArray[i].param === param) {
2571        this.pathArray.splice(i, 1);
2572        return;
2573      }
2574    }
2575  }
2576  getAllPathName() {
2577    let array = this.pathArray.flatMap(element => element.name);
2578    return array;
2579  }
2580  getParamByIndex(index) {
2581    let item = this.pathArray[index];
2582    if (item === undefined) {
2583      return undefined;
2584    }
2585    return item.param;
2586  }
2587  getParamByName(name) {
2588    let array = new Array();
2589    this.pathArray.forEach((element) => {
2590      if (element.name === name) {
2591        array.push(element.param);
2592      }
2593    });
2594    return array;
2595  }
2596  getIndexByName(name) {
2597    let array = new Array();
2598    this.pathArray.forEach((element, index) => {
2599      if (element.name === name) {
2600        array.push(index);
2601      }
2602    });
2603    return array;
2604  }
2605  getNameByIndex(index) {
2606    let item = this.pathArray[index];
2607    if (item === undefined) {
2608      return undefined;
2609    }
2610    return item.name;
2611  }
2612  getOnPopByIndex(index) {
2613    let item = this.pathArray[index];
2614    if (item === undefined) {
2615      return undefined;
2616    }
2617    return item.onPop;
2618  }
2619  size() {
2620    return this.pathArray.length;
2621  }
2622  disableAnimation(disableAnimation) {
2623    this.disableAllAnimation = disableAnimation;
2624  }
2625  setInterception(interception) {
2626    this.interception = interception;
2627  }
2628  getIsEntryByIndex(index) {
2629    let item = this.pathArray[index];
2630    if (item === undefined) {
2631      return false;
2632    }
2633    return item.isEntry;
2634  }
2635  setIsEntryByIndex(index, isEntry) {
2636    let item = this.pathArray[index];
2637    if (item === undefined) {
2638      return;
2639    }
2640    item.isEntry = isEntry;
2641  }
2642}
2643
2644globalThis.NavPathStack = NavPathStack;
2645
2646class WaterFlowSections {
2647  constructor() {
2648    this.sectionArray = [];
2649    // indicate class has changed.
2650    this.changeFlag = true;
2651    this.changeArray = [];
2652  }
2653
2654  isNonNegativeInt32(input) {
2655    return Number.isSafeInteger(input) && input >= 0 && input <= 2147483647;
2656  }
2657
2658  toArrayIndex(origin, limit) {
2659    // origin is truncated to an integer
2660    let result = Math.trunc(origin);
2661    if (result < 0) {
2662      // Negative index counts back from the end of the sectionArray.
2663      result += limit;
2664      // If origin < -sectionArray.length, 0 is used.
2665      if (result < 0) {
2666        result = 0;
2667      }
2668    } else if (result > limit) {
2669      result = limit;
2670    }
2671    return result;
2672  }
2673
2674  // splice(start: number, deleteCount?: number, sections?: Array<SectionOptions>): boolean;
2675  splice(start, deleteCount, sections) {
2676    let oldLength = this.sectionArray.length;
2677    let paramCount = arguments.length;
2678    if (paramCount === 1) {
2679      this.sectionArray.splice(start);
2680    } else if (paramCount === 2) {
2681      this.sectionArray.splice(start, deleteCount);
2682    } else {
2683      const iterator = sections.values();
2684      for (const section of iterator) {
2685        if (!this.isNonNegativeInt32(section.itemsCount)) {
2686          return false;
2687        }
2688      }
2689      this.sectionArray.splice(start, deleteCount, ...sections);
2690    }
2691
2692    let intStart = this.toArrayIndex(start, oldLength);
2693    let intDeleteCount = 0;
2694    if (paramCount === 1) {
2695      // If deleteCount is omitted, then all the sections from start to the end of the sectionArray will be deleted.
2696      intDeleteCount = oldLength - intStart;
2697    } else {
2698      intDeleteCount = Math.trunc(deleteCount);
2699      if (intDeleteCount > oldLength - intStart) {
2700        intDeleteCount = oldLength - intStart;
2701      }
2702    }
2703    intDeleteCount = intDeleteCount < 0 ? 0 : intDeleteCount;
2704
2705    this.changeArray.push({ start: intStart, deleteCount: intDeleteCount, sections: sections ? sections : [] });
2706    this.changeFlag = !this.changeFlag;
2707    return true;
2708  }
2709
2710  push(section) {
2711    if (!this.isNonNegativeInt32(section.itemsCount)) {
2712      return false;
2713    }
2714    let oldLength = this.sectionArray.length;
2715    this.sectionArray.push(section);
2716    this.changeArray.push({ start: oldLength, deleteCount: 0, sections: [section] });
2717    this.changeFlag = !this.changeFlag;
2718    return true;
2719  }
2720
2721  update(sectionIndex, section) {
2722    if (!this.isNonNegativeInt32(section.itemsCount)) {
2723      return false;
2724    }
2725    let oldLength = this.sectionArray.length;
2726    this.sectionArray.splice(sectionIndex, 1, section);
2727
2728    let intStart = this.toArrayIndex(sectionIndex, oldLength);
2729    this.changeArray.push({ start: intStart, deleteCount: 1, sections: [section] });
2730    this.changeFlag = !this.changeFlag;
2731    return true;
2732  }
2733
2734  values() {
2735    return this.sectionArray;
2736  }
2737
2738  length() {
2739    return this.sectionArray.length;
2740  }
2741
2742  clearChanges() {
2743    this.changeArray.splice(0);
2744  }
2745}
2746
2747var WaterFlowLayoutMode;
2748(function (WaterFlowLayoutMode) {
2749  WaterFlowLayoutMode[WaterFlowLayoutMode["ALWAYS_TOP_DOWN"] = 0] = "ALWAYS_TOP_DOWN";
2750  WaterFlowLayoutMode[WaterFlowLayoutMode["SLIDING_WINDOW"] = 1] = "SLIDING_WINDOW";
2751})(WaterFlowLayoutMode || (WaterFlowLayoutMode = {}));
2752
2753class ChildrenMainSizeParamError extends Error {
2754  constructor(message, code) {
2755    super(message);
2756    this.code = code;
2757  }
2758}
2759
2760class ChildrenMainSize {
2761
2762  constructor(childDefaultSize) {
2763    if (this.isInvalid(childDefaultSize)) {
2764      throw new ChildrenMainSizeParamError('The parameter check failed.', '401');
2765    }
2766    this.defaultMainSize = childDefaultSize;
2767    this.sizeArray = [];
2768    this.changeFlag = true;
2769    // -1: represent newly created.
2770    this.changeArray = [ { start: -1 } ];
2771  }
2772
2773  set childDefaultSize(value) {
2774    if (this.isInvalid(value)) {
2775      throw new ChildrenMainSizeParamError('The parameter check failed.', '401');
2776    }
2777    this.defaultMainSize = value;
2778  }
2779
2780  get childDefaultSize() {
2781    return this.defaultMainSize;
2782  }
2783
2784  // splice(start: number, deleteCount?: number, childrenSize?: Array<number>);
2785  splice(start, deleteCount, childrenSize) {
2786    let paramCount = arguments.length;
2787    if (this.isInvalid(start)) {
2788      throw new ChildrenMainSizeParamError('The parameter check failed.', '401');
2789    }
2790    let startValue = Math.trunc(start);
2791    let deleteCountValue = deleteCount && !(this.isInvalid(deleteCount)) ? Math.trunc(deleteCount) : 0;
2792    if (paramCount === 1) {
2793      this.sizeArray.splice(startValue);
2794      this.changeArray.push({ start: startValue });
2795    } else if (paramCount === 2) {
2796      this.sizeArray.splice(startValue, deleteCountValue);
2797      this.changeArray.push({ start: startValue, deleteCount: deleteCountValue });
2798    } else if (paramCount === 3) {
2799      let childrenSizeLength = childrenSize ? childrenSize.length : 0;
2800      if (childrenSizeLength === 0) {
2801        childrenSize = [];
2802      }
2803      for (let i = 0; i < childrenSizeLength; i++) {
2804        if (this.isInvalid(childrenSize[i])) {
2805          // -1: represent default size.
2806          childrenSize[i] = -1;
2807        }
2808      }
2809      while (startValue >= this.sizeArray.length) {
2810        this.sizeArray.push(-1);
2811      }
2812      this.sizeArray.splice(startValue, deleteCountValue, ...childrenSize);
2813      this.changeArray.push({ start: startValue, deleteCount: deleteCountValue, childrenSize: childrenSize });
2814    }
2815    this.changeFlag = !this.changeFlag;
2816  }
2817
2818  update(index, childSize) {
2819    if (this.isInvalid(index)) {
2820      throw new ChildrenMainSizeParamError('The parameter check failed.', '401');
2821    } else if (this.isInvalid(childSize)) {
2822      // -1: represent default size.
2823      childSize = -1;
2824    }
2825    let startValue = Math.trunc(index);
2826    while (startValue >= this.sizeArray.length) {
2827      this.sizeArray.push(-1);
2828    }
2829    this.sizeArray.splice(startValue, 1, childSize);
2830    this.changeArray.push({ start: startValue, deleteCount: 1, childrenSize: [childSize] });
2831    this.changeFlag = !this.changeFlag;
2832  }
2833
2834  isInvalid(input) {
2835    return !(Number.isFinite(input) && input >= 0);
2836  }
2837
2838  clearChanges() {
2839    this.changeArray.splice(0);
2840  }
2841}
2842
2843var ImageSpanAlignment;
2844(function (ImageSpanAlignment) {
2845  ImageSpanAlignment[ImageSpanAlignment["NONE"] = 0] = "NONE";
2846  ImageSpanAlignment[ImageSpanAlignment["TOP"] = 1] = "TOP";
2847  ImageSpanAlignment[ImageSpanAlignment["CENTER"] = 2] = "CENTER";
2848  ImageSpanAlignment[ImageSpanAlignment["BOTTOM"] = 3] = "BOTTOM";
2849  ImageSpanAlignment[ImageSpanAlignment["BASELINE"] = 4] = "BASELINE";
2850})(ImageSpanAlignment || (ImageSpanAlignment = {}));
2851
2852var MenuAlignType;
2853(function (MenuAlignType) {
2854  MenuAlignType[MenuAlignType["START"] = 0] = "START";
2855  MenuAlignType[MenuAlignType["CENTER"] = 1] = "CENTER";
2856  MenuAlignType[MenuAlignType["END"] = 2] = "END";
2857})(MenuAlignType || (MenuAlignType = {}));
2858
2859var ToolbarItemStatus;
2860(function (ToolbarItemStatus) {
2861  ToolbarItemStatus[ToolbarItemStatus["NORMAL"] = 0] = "NORMAL";
2862  ToolbarItemStatus[ToolbarItemStatus["DISABLED"] = 1] = "DISABLED";
2863  ToolbarItemStatus[ToolbarItemStatus["ACTIVE"] = 2] = "ACTIVE";
2864})(ToolbarItemStatus || (ToolbarItemStatus = {}));
2865
2866var SecurityComponentLayoutDirection;
2867(function (SecurityComponentLayoutDirection) {
2868  SecurityComponentLayoutDirection[SecurityComponentLayoutDirection["HORIZONTAL"] = 0] = "HORIZONTAL";
2869  SecurityComponentLayoutDirection[SecurityComponentLayoutDirection["VERTICAL"] = 1] = "VERTICAL";
2870})(SecurityComponentLayoutDirection || (SecurityComponentLayoutDirection = {}));
2871
2872var LocationIconStyle;
2873(function (LocationIconStyle) {
2874  LocationIconStyle[LocationIconStyle["FULL_FILLED"] = 0] = "FULL_FILLED";
2875  LocationIconStyle[LocationIconStyle["LINES"] = 1] = "LINES";
2876})(LocationIconStyle || (LocationIconStyle = {}));
2877
2878var LocationDescription;
2879(function (LocationDescription) {
2880  LocationDescription[LocationDescription["CURRENT_LOCATION"] = 0] = "CURRENT_LOCATION";
2881  LocationDescription[LocationDescription["ADD_LOCATION"] = 1] = "ADD_LOCATION";
2882  LocationDescription[LocationDescription["SELECT_LOCATION"] = 2] = "SELECT_LOCATION";
2883  LocationDescription[LocationDescription["SHARE_LOCATION"] = 3] = "SHARE_LOCATION";
2884  LocationDescription[LocationDescription["SEND_LOCATION"] = 4] = "SEND_LOCATION";
2885  LocationDescription[LocationDescription["LOCATING"] = 5] = "LOCATING";
2886  LocationDescription[LocationDescription["LOCATION"] = 6] = "LOCATION";
2887  LocationDescription[LocationDescription["SEND_CURRENT_LOCATION"] = 7] = "SEND_CURRENT_LOCATION";
2888  LocationDescription[LocationDescription["RELOCATION"] = 8] = "RELOCATION";
2889  LocationDescription[LocationDescription["PUNCH_IN"] = 9] = "PUNCH_IN";
2890  LocationDescription[LocationDescription["CURRENT_POSITION"] = 10] = "CURRENT_POSITION";
2891})(LocationDescription || (LocationDescription = {}));
2892
2893var LocationButtonOnClickResult;
2894(function (LocationButtonOnClickResult) {
2895  LocationButtonOnClickResult[LocationButtonOnClickResult["SUCCESS"] = 0] =
2896    "SUCCESS";
2897  LocationButtonOnClickResult[LocationButtonOnClickResult["TEMPORARY_AUTHORIZATION_FAILED"] = 1] =
2898    "TEMPORARY_AUTHORIZATION_FAILED ";
2899})(LocationButtonOnClickResult || (LocationButtonOnClickResult = {}));
2900
2901var PasteIconStyle;
2902(function (PasteIconStyle) {
2903  PasteIconStyle[PasteIconStyle["LINES"] = 0] = "LINES";
2904})(PasteIconStyle || (PasteIconStyle = {}));
2905
2906var PasteDescription;
2907(function (PasteDescription) {
2908  PasteDescription[PasteDescription["PASTE"] = 0] = "PASTE";
2909})(PasteDescription || (PasteDescription = {}));
2910
2911var PasteButtonOnClickResult;
2912(function (PasteButtonOnClickResult) {
2913  PasteButtonOnClickResult[PasteButtonOnClickResult["SUCCESS"] = 0] =
2914    "SUCCESS";
2915  PasteButtonOnClickResult[PasteButtonOnClickResult["TEMPORARY_AUTHORIZATION_FAILED"] = 1] =
2916    "TEMPORARY_AUTHORIZATION_FAILED ";
2917})(PasteButtonOnClickResult || (PasteButtonOnClickResult = {}));
2918
2919var SaveIconStyle;
2920(function (SaveIconStyle) {
2921  SaveIconStyle[SaveIconStyle["FULL_FILLED"] = 0] = "FULL_FILLED";
2922  SaveIconStyle[SaveIconStyle["LINES"] = 1] = "LINES";
2923  SaveIconStyle[SaveIconStyle["PICTURE"] = 2] = "PICTURE";
2924})(SaveIconStyle || (SaveIconStyle = {}));
2925
2926var SaveDescription;
2927(function (SaveDescription) {
2928  SaveDescription[SaveDescription["DOWNLOAD"] = 0] = "DOWNLOAD";
2929  SaveDescription[SaveDescription["DOWNLOAD_FILE"] = 1] = "DOWNLOAD_FILE";
2930  SaveDescription[SaveDescription["SAVE"] = 2] = "SAVE";
2931  SaveDescription[SaveDescription["SAVE_IMAGE"] = 3] = "SAVE_IMAGE";
2932  SaveDescription[SaveDescription["SAVE_FILE"] = 4] = "SAVE_FILE";
2933  SaveDescription[SaveDescription["DOWNLOAD_AND_SHARE"] = 5] = "DOWNLOAD_AND_SHARE";
2934  SaveDescription[SaveDescription["RECEIVE"] = 6] = "RECEIVE";
2935  SaveDescription[SaveDescription["CONTINUE_TO_RECEIVE"] = 7] = "CONTINUE_TO_RECEIVE";
2936  SaveDescription[SaveDescription["SAVE_TO_GALLERY"] = 8] = "SAVE_TO_GALLERY";
2937  SaveDescription[SaveDescription["EXPORT_TO_GALLERY"] = 9] = "EXPORT_TO_GALLERY";
2938  SaveDescription[SaveDescription["QUICK_SAVE_TO_GALLERY"] = 10] = "QUICK_SAVE_TO_GALLERY";
2939  SaveDescription[SaveDescription["RESAVE_TO_GALLERY"] = 11] = "RESAVE_TO_GALLERY";
2940})(SaveDescription || (SaveDescription = {}));
2941
2942var SaveButtonOnClickResult;
2943(function (SaveButtonOnClickResult) {
2944  SaveButtonOnClickResult[SaveButtonOnClickResult["SUCCESS"] = 0] =
2945    "SUCCESS";
2946  SaveButtonOnClickResult[SaveButtonOnClickResult["TEMPORARY_AUTHORIZATION_FAILED"] = 1] =
2947    "TEMPORARY_AUTHORIZATION_FAILED ";
2948})(SaveButtonOnClickResult || (SaveButtonOnClickResult = {}));
2949
2950var ObscuredReasons;
2951(function (ObscuredReasons) {
2952  ObscuredReasons[ObscuredReasons["PLACEHOLDER"] = 0] = "PLACEHOLDER";
2953})(ObscuredReasons || (ObscuredReasons = {}));
2954
2955var ListItemStyle;
2956(function (ListItemStyle) {
2957  ListItemStyle[ListItemStyle["NONE"] = 0] = "NONE";
2958  ListItemStyle[ListItemStyle["CARD"] = 1] = "CARD";
2959})(ListItemStyle || (ListItemStyle = {}));
2960
2961var GridItemStyle;
2962(function (GridItemStyle) {
2963  GridItemStyle[GridItemStyle["NONE"] = 0] = "NONE";
2964  GridItemStyle[GridItemStyle["PLAIN"] = 1] = "PLAIN";
2965})(GridItemStyle || (GridItemStyle = {}));
2966
2967var ListItemGroupStyle;
2968(function (ListItemGroupStyle) {
2969  ListItemGroupStyle[ListItemGroupStyle["NONE"] = 0] = "NONE";
2970  ListItemGroupStyle[ListItemGroupStyle["CARD"] = 1] = "CARD";
2971})(ListItemGroupStyle || (ListItemGroupStyle = {}));
2972
2973var DragResult;
2974(function (DragResult) {
2975  DragResult[DragResult["DRAG_SUCCESSFUL"] = 0] = "DRAG_SUCCESSFUL";
2976  DragResult[DragResult["DRAG_FAILED"] = 1] = "DRAG_FAILED";
2977  DragResult[DragResult["DRAG_CANCELED"] = 2] = "DRAG_CANCELED";
2978  DragResult[DragResult["DROP_ENABLED"] = 3] = "DROP_ENABLED";
2979  DragResult[DragResult["DROP_DISABLED"] = 4] = "DROP_DISABLED";
2980})(DragResult || (DragResult = {}));
2981
2982var XComponentType;
2983(function (XComponentType) {
2984  XComponentType[XComponentType["SURFACE"] = 0] = "SURFACE";
2985  XComponentType[XComponentType["COMPONENT"] = 1] = "COMPONENT";
2986  XComponentType[XComponentType["TEXTURE"] = 2] = "TEXTURE";
2987  XComponentType[XComponentType["NODE"] = 3] = "NODE";
2988})(XComponentType || (XComponentType = {}));
2989
2990var NestedScrollMode;
2991(function (NestedScrollMode) {
2992  NestedScrollMode[NestedScrollMode["SELF_ONLY"] = 0] = "SELF_ONLY";
2993  NestedScrollMode[NestedScrollMode["SELF_FIRST"] = 1] = "SELF_FIRST";
2994  NestedScrollMode[NestedScrollMode["PARENT_FIRST"] = 2] = "PARENT_FIRST";
2995  NestedScrollMode[NestedScrollMode["PARALLEL"] = 3] = "PARALLEL";
2996})(NestedScrollMode || (NestedScrollMode = {}));
2997
2998var IlluminatedType;
2999(function (IlluminatedType) {
3000  IlluminatedType[IlluminatedType["NONE"] = 0] = "NONE";
3001  IlluminatedType[IlluminatedType["BORDER"] = 1] = "BORDER";
3002  IlluminatedType[IlluminatedType["CONTENT"] = 2] = "CONTENT";
3003  IlluminatedType[IlluminatedType["BORDER_CONTENT"] = 3] = "BORDER_CONTENT";
3004  IlluminatedType[IlluminatedType["BLOOM_BORDER"] = 4] = "BLOOM_BORDER";
3005  IlluminatedType[IlluminatedType["BLOOM_BORDER_CONTENT"] = 5] = "BLOOM_BORDER_CONTENT";
3006})(IlluminatedType || (IlluminatedType = {}));
3007
3008var ScrollAlign;
3009(function (ScrollAlign) {
3010  ScrollAlign[ScrollAlign["START"] = 0] = "START";
3011  ScrollAlign[ScrollAlign["CENTER"] = 1] = "CENTER";
3012  ScrollAlign[ScrollAlign["END"] = 2] = "END";
3013  ScrollAlign[ScrollAlign["AUTO"] = 3] = "AUTO";
3014})(ScrollAlign || (ScrollAlign = {}));
3015
3016var SafeAreaType;
3017(function (SafeAreaType) {
3018  SafeAreaType[SafeAreaType["SYSTEM"] = 0] = "SYSTEM";
3019  SafeAreaType[SafeAreaType["CUTOUT"] = 1] = "CUTOUT";
3020  SafeAreaType[SafeAreaType["KEYBOARD"] = 2] = "KEYBOARD";
3021})(SafeAreaType || (SafeAreaType = {}));
3022
3023var SafeAreaEdge;
3024(function (SafeAreaEdge) {
3025  SafeAreaEdge[SafeAreaEdge["TOP"] = 0] = "TOP";
3026  SafeAreaEdge[SafeAreaEdge["BOTTOM"] = 1] = "BOTTOM";
3027  SafeAreaEdge[SafeAreaEdge["START"] = 2] = "START";
3028  SafeAreaEdge[SafeAreaEdge["END"] = 3] = "END";
3029})(SafeAreaEdge || (SafeAreaEdge = {}));
3030
3031let LayoutSafeAreaType;
3032(function (LayoutSafeAreaType) {
3033  LayoutSafeAreaType[LayoutSafeAreaType.SYSTEM = 0] = "SYSTEM";
3034})(LayoutSafeAreaType || (LayoutSafeAreaType = {}));
3035
3036let LayoutSafeAreaEdge;
3037(function (LayoutSafeAreaEdge) {
3038  LayoutSafeAreaEdge[LayoutSafeAreaEdge.TOP = 0] = "TOP";
3039  LayoutSafeAreaEdge[LayoutSafeAreaEdge.BOTTOM = 1] = "BOTTOM";
3040})(LayoutSafeAreaEdge || (LayoutSafeAreaEdge = {}));
3041
3042var RenderFit;
3043(function (RenderFit) {
3044  RenderFit[RenderFit["CENTER"] = 0] = "CENTER";
3045  RenderFit[RenderFit["TOP"] = 1] = "TOP";
3046  RenderFit[RenderFit["BOTTOM"] = 2] = "BOTTOM";
3047  RenderFit[RenderFit["LEFT"] = 3] = "LEFT";
3048  RenderFit[RenderFit["RIGHT"] = 4] = "RIGHT";
3049  RenderFit[RenderFit["TOP_LEFT"] = 5] = "TOP_LEFT";
3050  RenderFit[RenderFit["TOP_RIGHT"] = 6] = "TOP_RIGHT";
3051  RenderFit[RenderFit["BOTTOM_LEFT"] = 7] = "BOTTOM_LEFT";
3052  RenderFit[RenderFit["BOTTOM_RIGHT"] = 8] = "BOTTOM_RIGHT";
3053  RenderFit[RenderFit["RESIZE_FILL"] = 9] = "RESIZE_FILL";
3054  RenderFit[RenderFit["RESIZE_CONTAIN"] = 10] = "RESIZE_CONTAIN";
3055  RenderFit[RenderFit["RESIZE_CONTAIN_TOP_LEFT"] = 11] = "RESIZE_CONTAIN_TOP_LEFT";
3056  RenderFit[RenderFit["RESIZE_CONTAIN_BOTTOM_RIGHT"] = 12] = "RESIZE_CONTAIN_BOTTOM_RIGHT";
3057  RenderFit[RenderFit["RESIZE_COVER"] = 13] = "RESIZE_COVER";
3058  RenderFit[RenderFit["RESIZE_COVER_TOP_LEFT"] = 14] = "RESIZE_COVER_TOP_LEFT";
3059  RenderFit[RenderFit["RESIZE_COVER_BOTTOM_RIGHT"] = 15] = "RESIZE_COVER_BOTTOM_RIGHT";
3060})(RenderFit || (RenderFit = {}));
3061
3062var WebCaptureMode;
3063(function (WebCaptureMode) {
3064  WebCaptureMode[WebCaptureMode["HOME_SCREEN"] = 0] = "HOME_SCREEN";
3065})(WebCaptureMode || (WebCaptureMode = {}));
3066
3067var CalendarAlign;
3068(function (CalendarAlign) {
3069  CalendarAlign[CalendarAlign["START"] = 0] = "START";
3070  CalendarAlign[CalendarAlign["CENTER"] = 1] = "CENTER";
3071  CalendarAlign[CalendarAlign["END"] = 2] = "END";
3072})(CalendarAlign || (CalendarAlign = {}));
3073
3074var DragBehavior;
3075(function (DragBehavior) {
3076  DragBehavior[DragBehavior["COPY"] = 0] = "COPY";
3077  DragBehavior[DragBehavior["MOVE"] = 1] = "MOVE";
3078})(DragBehavior || (DragBehavior = {}));
3079
3080var PatternLockChallengeResult;
3081(function (PatternLockChallengeResult) {
3082  PatternLockChallengeResult[PatternLockChallengeResult["CORRECT"] = 1] = "CORRECT";
3083  PatternLockChallengeResult[PatternLockChallengeResult["WRONG"] = 2] = "WRONG";
3084})(PatternLockChallengeResult || (PatternLockChallengeResult = {}));
3085
3086var DialogButtonDirection;
3087(function (DialogButtonDirection) {
3088  DialogButtonDirection[DialogButtonDirection["AUTO"] = 0] = "AUTO";
3089  DialogButtonDirection[DialogButtonDirection["HORIZONTAL"] = 1] = "HORIZONTAL";
3090  DialogButtonDirection[DialogButtonDirection["VERTICAL"] = 2] = "VERTICAL";
3091})(DialogButtonDirection || (DialogButtonDirection = {}));
3092
3093var ParticleType;
3094(function (ParticleType) {
3095  ParticleType[ParticleType["POINT"] = 0] = "POINT";
3096  ParticleType[ParticleType["IMAGE"] = 1] = "IMAGE";
3097})(ParticleType || (ParticleType = {}));
3098
3099var ParticleEmitterShape;
3100(function (ParticleEmitterShape) {
3101  ParticleEmitterShape[ParticleEmitterShape["RECTANGLE"] = 0] = "RECTANGLE";
3102  ParticleEmitterShape[ParticleEmitterShape["CIRCLE"] = 1] = "CIRCLE";
3103  ParticleEmitterShape[ParticleEmitterShape["ELLIPSE"] = 2] = "ELLIPSE";
3104})(ParticleEmitterShape || (ParticleEmitterShape = {}));
3105
3106var DistributionType;
3107(function (DistributionType) {
3108  DistributionType[DistributionType["UNIFORM"] = 0] = "UNIFORM";
3109  DistributionType[DistributionType["GAUSSIAN"] = 1] = "GAUSSIAN";
3110})(DistributionType || (DistributionType = {}));
3111
3112var ParticleUpdater;
3113(function (ParticleUpdater) {
3114  ParticleUpdater[ParticleUpdater["NONE"] = 0] = "NONE";
3115  ParticleUpdater[ParticleUpdater["RANDOM"] = 1] = "RANDOM";
3116  ParticleUpdater[ParticleUpdater["CURVE"] = 2] = "CURVE";
3117})(ParticleUpdater || (ParticleUpdater = {}));
3118
3119var DisturbanceFieldShape;
3120(function (DisturbanceFieldShape) {
3121  DisturbanceFieldShape[DisturbanceFieldShape["RECT"] = 0] = "RECT";
3122  DisturbanceFieldShape[DisturbanceFieldShape["CIRCLE"] = 1] = "CIRCLE";
3123  DisturbanceFieldShape[DisturbanceFieldShape["ELLIPSE"] = 2] = "ELLIPSE";
3124})(DisturbanceFieldShape || (DisturbanceFieldShape = {}));
3125
3126var ModelType;
3127(function (ModelType) {
3128  ModelType[ModelType["TEXTURE"] = 0] = "TEXTURE";
3129  ModelType[ModelType["SURFACE"] = 1] = "SURFACE";
3130})(ModelType || (ModelType = {}));
3131
3132var ModelLightType;
3133(function (ModelLightType) {
3134  ModelLightType[ModelLightType["INVALID"] = 0] = "INVALID";
3135  ModelLightType[ModelLightType["DIRECTIONAL"] = 1] = "DIRECTIONAL";
3136  ModelLightType[ModelLightType["POINT"] = 2] = "POINT";
3137  ModelLightType[ModelLightType["SPOT"] = 3] = "SPOT";
3138})(ModelLightType || (ModelLightType = {}));
3139
3140var ModelAnimationStates;
3141(function (ModelAnimationStates) {
3142  ModelAnimationStates[ModelAnimationStates["PLAY"] = 0] = "PLAY";
3143  ModelAnimationStates[ModelAnimationStates["PAUSE"] = 1] = "PAUSE";
3144  ModelAnimationStates[ModelAnimationStates["STOP"] = 2] = "STOP";
3145})(ModelAnimationStates || (ModelAnimationStates = {}));
3146
3147var SwiperNestedScrollMode;
3148(function (SwiperNestedScrollMode) {
3149  SwiperNestedScrollMode[SwiperNestedScrollMode["SELF_ONLY"] = 0] = "SELF_ONLY";
3150  SwiperNestedScrollMode[SwiperNestedScrollMode["SELF_FIRST"] = 1] = "SELF_FIRST";
3151})(SwiperNestedScrollMode || (SwiperNestedScrollMode = {}));
3152
3153var CheckBoxStyle;
3154(function (CheckBoxStyle) {
3155  CheckBoxStyle["CIRCULAR_STYLE"] = 0;
3156  CheckBoxStyle["SQUARE_STYLE"] = 1;
3157})(CheckBoxStyle || (CheckBoxStyle = {}));
3158
3159var SwipeActionState;
3160(function (SwipeActionState) {
3161  SwipeActionState[SwipeActionState["COLLAPSED"] = 0] = "COLLAPSED";
3162  SwipeActionState[SwipeActionState["EXPANDED"] = 1] = "EXPANDED";
3163  SwipeActionState[SwipeActionState["ACTIONING"] = 2] = "ACTIONING";
3164})(SwipeActionState || (SwipeActionState = {}));
3165
3166var CheckBoxShape;
3167(function (CheckBoxShape) {
3168  CheckBoxShape["CIRCLE"] = 0;
3169  CheckBoxShape["ROUNDED_SQUARE"] = 1;
3170})(CheckBoxShape || (CheckBoxShape = {}));
3171
3172var FinishCallbackType;
3173(function (FinishCallbackType) {
3174  FinishCallbackType["REMOVED"] = 0;
3175  FinishCallbackType["LOGICALLY"] = 1;
3176})(FinishCallbackType || (FinishCallbackType = {}));
3177
3178var WebLayoutMode;
3179(function (WebLayoutMode) {
3180  WebLayoutMode[WebLayoutMode["NONE"] = 0] = "NONE";
3181  WebLayoutMode[WebLayoutMode["FIT_CONTENT"] = 1] = "FIT_CONTENT";
3182})(WebLayoutMode || (WebLayoutMode = {}));
3183
3184var OptionWidthMode;
3185(function (OptionWidthMode) {
3186  OptionWidthMode["FIT_CONTENT"] = "fit_content";
3187  OptionWidthMode["FIT_TRIGGER"] = "fit_trigger";
3188})(OptionWidthMode || (OptionWidthMode = {}));
3189
3190var ArrowPointPosition;
3191(function (ArrowPointPosition) {
3192  ArrowPointPosition["START"] = "Start";
3193  ArrowPointPosition["CENTER"] = "Center";
3194  ArrowPointPosition["END"] = "End";
3195})(ArrowPointPosition || (ArrowPointPosition = {}));
3196
3197var DragPreviewMode;
3198(function (DragPreviewMode) {
3199  DragPreviewMode["AUTO"] = 1;
3200  DragPreviewMode["DISABLE_SCALE"] = 2;
3201  DragPreviewMode["ENABLE_DEFAULT_SHADOW"] = 3;
3202  DragPreviewMode["ENABLE_DEFAULT_RADIUS"] = 4;
3203})(DragPreviewMode || (DragPreviewMode = {}));
3204
3205var FoldStatus;
3206(function (FoldStatus) {
3207  FoldStatus[FoldStatus["FOLD_STATUS_UNKNOWN"] = 0] = "FOLD_STATUS_UNKNOWN";
3208  FoldStatus[FoldStatus["FOLD_STATUS_EXPANDED"] = 1] = "FOLD_STATUS_EXPANDED";
3209  FoldStatus[FoldStatus["FOLD_STATUS_FOLDED"] = 2] = "FOLD_STATUS_FOLDED";
3210  FoldStatus[FoldStatus["FOLD_STATUS_HALF_FOLDED"] = 3] = "FOLD_STATUS_HALF_FOLDED";
3211})(FoldStatus || (FoldStatus = {}));
3212
3213var EmbeddedType;
3214(function (EmbeddedType) {
3215  EmbeddedType[EmbeddedType["EMBEDDED_UI_EXTENSION"] = 0] = "EMBEDDED_UI_EXTENSION";
3216})(EmbeddedType || (EmbeddedType = {}));
3217
3218var OutlineStyle;
3219(function (OutlineStyle) {
3220  OutlineStyle[OutlineStyle["SOLID"] = 0] = "SOLID";
3221  OutlineStyle[OutlineStyle["DASHED"] = 1] = "DASHED";
3222  OutlineStyle[OutlineStyle["DOTTED"] = 2] = "DOTTED";
3223})(OutlineStyle || (OutlineStyle = {}));
3224
3225var ButtonStyleMode;
3226(function (ButtonStyleMode) {
3227  ButtonStyleMode["NORMAL"] = 0;
3228  ButtonStyleMode["EMPHASIZED"] = 1;
3229  ButtonStyleMode["TEXTUAL"] = 2;
3230})(ButtonStyleMode || (ButtonStyleMode = {}));
3231
3232let RadioIndicatorType;
3233(function (RadioIndicatorType) {
3234  RadioIndicatorType[RadioIndicatorType.TICK = 0] = "TICK";
3235  RadioIndicatorType[RadioIndicatorType.DOT = 1] = "DOT";
3236  RadioIndicatorType[RadioIndicatorType.CUSTOM = 2] = "CUSTOM";
3237})(RadioIndicatorType  || (RadioIndicatorType  = {}));
3238
3239var ControlSize;
3240(function (ControlSize) {
3241  ControlSize[ControlSize["SMALL"] = 0] = "SMALL";
3242  ControlSize[ControlSize["NORMAL"] = 1] = "NORMAL";
3243})(ControlSize || (ControlSize = {}));
3244
3245var ImageAnalyzerType;
3246(function (ImageAnalyzerType) {
3247  ImageAnalyzerType[ImageAnalyzerType["SUBJECT"] = 0] = "SUBJECT";
3248  ImageAnalyzerType[ImageAnalyzerType["TEXT"] = 1] = "TEXT";
3249  ImageAnalyzerType[ImageAnalyzerType["OBJECT_LOOKUP"] = 2] = "OBJECT_LOOKUP";
3250})(ImageAnalyzerType || (ImageAnalyzerType = {}));
3251
3252function wrapBuilder(builder) {
3253  return new WrappedBuilder(builder);
3254}
3255class WrappedBuilder {
3256  constructor(builder) {
3257    this.builder = builder;
3258  }
3259}
3260
3261let TextSpanType;
3262(function (TextSpanType) {
3263  TextSpanType[TextSpanType['TEXT'] = 0] = 'TEXT';
3264  TextSpanType[TextSpanType['IMAGE'] = 1] = 'IMAGE';
3265  TextSpanType[TextSpanType['MIXED'] = 2] = 'MIXED';
3266})(TextSpanType || (TextSpanType = {}));
3267
3268let TextResponseType;
3269(function (TextResponseType) {
3270  TextResponseType[TextResponseType['RIGHT_CLICK'] = 0] = 'RIGHT_CLICK';
3271  TextResponseType[TextResponseType['LONG_PRESS'] = 1] = 'LONG_PRESS';
3272  TextResponseType[TextResponseType['SELECT'] = 2] = 'SELECT';
3273})(TextResponseType || (TextResponseType = {}));
3274
3275let NativeEmbedStatus;
3276(function (NativeEmbedStatus) {
3277  NativeEmbedStatus['CREATE'] = 0;
3278  NativeEmbedStatus['UPDATE'] = 1;
3279  NativeEmbedStatus['DESTROY'] = 2;
3280  NativeEmbedStatus['ENTER_BFCACHE'] = 3;
3281  NativeEmbedStatus['LEAVE_BFCACHE'] = 4;
3282})(NativeEmbedStatus || (NativeEmbedStatus = {}));
3283
3284let RenderMode;
3285(function (RenderMode) {
3286  RenderMode['ASYNC_RENDER'] = 0;
3287  RenderMode['SYNC_RENDER'] = 1;
3288})(RenderMode || (RenderMode = {}));
3289
3290let ButtonRole;
3291(function (ButtonRole) {
3292  ButtonRole['NORMAL'] = 0;
3293  ButtonRole['ERROR'] = 1;
3294})(ButtonRole || (ButtonRole = {}));
3295
3296var StyledStringKey;
3297(function (StyledStringKey) {
3298  StyledStringKey[StyledStringKey["FONT"] = 0] = "FONT";
3299  StyledStringKey[StyledStringKey["DECORATION"] = 1] = "DECORATION";
3300  StyledStringKey[StyledStringKey["BASELINE_OFFSET"] = 2] = "BASELINE_OFFSET";
3301  StyledStringKey[StyledStringKey["LETTER_SPACING"] = 3] = "LETTER_SPACING";
3302  StyledStringKey[StyledStringKey["TEXT_SHADOW"] = 4] = "TEXT_SHADOW";
3303  StyledStringKey[StyledStringKey["LINE_HEIGHT"] = 5] = "LINE_HEIGHT";
3304  StyledStringKey[StyledStringKey["PARAGRAPH_STYLE"] = 200] = "PARAGRAPH_STYLE";
3305  StyledStringKey[StyledStringKey["BACKGROUND_COLOR"] = 6] = "BACKGROUND_COLOR";
3306  StyledStringKey[StyledStringKey["URL"] = 7] = "URL";
3307  StyledStringKey[StyledStringKey["GESTURE"] = 100] = "GESTURE";
3308  StyledStringKey[StyledStringKey["IMAGE"] = 300] = "IMAGE";
3309  StyledStringKey[StyledStringKey["CUSTOM_SPAN"] = 400] = "CUSTOM_SPAN";
3310  StyledStringKey[StyledStringKey["USER_DATA"] = 500] = "USER_DATA";
3311})(StyledStringKey || (StyledStringKey = {}));
3312
3313class CustomSpan extends NativeCustomSpan {
3314  type_ = 'CustomSpan';
3315}
3316
3317class UserDataSpan {
3318  type_ = 'ExtSpan';
3319}
3320
3321let MenuPolicy;
3322(function (MenuPolicy) {
3323  MenuPolicy['DEFAULT'] = 0;
3324  MenuPolicy['HIDE'] = 1;
3325  MenuPolicy['SHOW'] = 2;
3326})(MenuPolicy || (MenuPolicy = {}));
3327
3328let DataOperationType;
3329(function (DataOperationType) {
3330  DataOperationType['ADD'] = 'add';
3331  DataOperationType['DELETE'] = 'delete';
3332  DataOperationType['CHANGE'] = 'change';
3333  DataOperationType['MOVE'] = 'move';
3334  DataOperationType['EXCHANGE'] = 'exchange';
3335  DataOperationType['RELOAD'] = 'reload';
3336})(DataOperationType || (DataOperationType = {}));
3337
3338let PreDragStatus;
3339(function (PreDragStatus) {
3340  PreDragStatus['ACTION_DETECTING_STATUS'] = 0;
3341  PreDragStatus['READY_TO_TRIGGER_DRAG_ACTION'] = 1;
3342  PreDragStatus['PREVIEW_LIFT_STARTED'] = 2;
3343  PreDragStatus['PREVIEW_LIFT_FINISHED'] = 3;
3344  PreDragStatus['PREVIEW_LANDING_STARTED'] = 4;
3345  PreDragStatus['PREVIEW_LANDING_FINISHED'] = 5;
3346  PreDragStatus['ACTION_CANCELED_BEFORE_DRAG'] = 6;
3347})(PreDragStatus || (PreDragStatus = {}));
3348
3349let FocusPriority;
3350(function (FocusPriority) {
3351  FocusPriority[FocusPriority["AUTO"] = 0] = "AUTO";
3352  FocusPriority[FocusPriority["PRIOR"] = 2000] = "PRIOR";
3353  FocusPriority[FocusPriority["PREVIOUS"] = 3000] = "PREVIOUS";
3354})(FocusPriority || (FocusPriority = {}));
3355
3356var TextDeleteDirection;
3357(function (TextDeleteDirection) {
3358    TextDeleteDirection[TextDeleteDirection["BACKWARD"] = 0] = "BACKWARD";
3359    TextDeleteDirection[TextDeleteDirection["FORWARD"] = 1] = "FORWARD";
3360})(TextDeleteDirection || (TextDeleteDirection = {}));
3361
3362let ViewportFit;
3363(function (ViewportFit) {
3364  ViewportFit[ViewportFit['AUTO'] = 0] = 'AUTO';
3365  ViewportFit[ViewportFit['CONTAINS'] = 1] = 'CONTAINS';
3366  ViewportFit[ViewportFit['COVER'] = 2] = 'COVER';
3367})(ViewportFit || (ViewportFit = {}));
3368var SubMenuExpandingMode;
3369(function (SubMenuExpandingMode) {
3370  SubMenuExpandingMode[SubMenuExpandingMode["SIDE_EXPAND"] = 0] = "SIDE";
3371  SubMenuExpandingMode[SubMenuExpandingMode["EMBEDDED_EXPAND"] = 1] = "EMBEDDED";
3372  SubMenuExpandingMode[SubMenuExpandingMode["STACK_EXPAND"] = 2] = "STACK";
3373})(SubMenuExpandingMode || (SubMenuExpandingMode = {}));
3374
3375var GestureRecognizerState;
3376(function (GestureRecognizerState) {
3377  GestureRecognizerState[GestureRecognizerState["READY"] = 0] = "READY";
3378  GestureRecognizerState[GestureRecognizerState["DETECTING"] = 1] = "DETECTING";
3379  GestureRecognizerState[GestureRecognizerState["PENDING"] = 2] = "PENDING";
3380  GestureRecognizerState[GestureRecognizerState["BLOCKED"] = 3] = "BLOCKED";
3381  GestureRecognizerState[GestureRecognizerState["SUCCESSFUL"] = 4] = "SUCCESSFUL";
3382  GestureRecognizerState[GestureRecognizerState["FAILED"] = 5] = "FAILED";
3383})(GestureRecognizerState || (GestureRecognizerState = {}));
3384
3385let GridItemAlignment;
3386(function (GridItemAlignment) {
3387  GridItemAlignment[GridItemAlignment['DEFAULT'] = 0] = 'DEFAULT';
3388  GridItemAlignment[GridItemAlignment['STRETCH'] = 1] = 'STRETCH';
3389})(GridItemAlignment || (GridItemAlignment = {}));
3390
3391let ContentClipMode;
3392(function (ContentClipMode) {
3393  ContentClipMode[ContentClipMode['CONTENT_ONLY'] = 0] = 'CONTENT_ONLY';
3394  ContentClipMode[ContentClipMode['BOUNDARY'] = 1] = 'BOUNDARY';
3395  ContentClipMode[ContentClipMode['SAFE_AREA'] = 2] = 'SAFE_AREA';
3396})(ContentClipMode || (ContentClipMode = {}));
3397
3398var AccessibilityHoverType;
3399(function (AccessibilityHoverType) {
3400  AccessibilityHoverType[AccessibilityHoverType["HOVER_ENTER"] = 0] = "HOVER_ENTER";
3401  AccessibilityHoverType[AccessibilityHoverType["HOVER_MOVE"] = 1] = "HOVER_MOVE";
3402  AccessibilityHoverType[AccessibilityHoverType["HOVER_EXIT"] = 2] = "HOVER_EXIT";
3403  AccessibilityHoverType[AccessibilityHoverType["HOVER_CANCEL"] = 3] = "HOVER_CANCEL";
3404})(AccessibilityHoverType || (AccessibilityHoverType = {}));
3405
3406let WidthBreakpoint;
3407(function (WidthBreakpoint) {
3408  WidthBreakpoint[WidthBreakpoint['WIDTH_XS'] = 0] = 'WIDTH_XS';
3409  WidthBreakpoint[WidthBreakpoint['WIDTH_SM'] = 1] = 'WIDTH_SM';
3410  WidthBreakpoint[WidthBreakpoint['WIDTH_MD'] = 2] = 'WIDTH_MD';
3411  WidthBreakpoint[WidthBreakpoint['WIDTH_LG'] = 3] = 'WIDTH_LG';
3412  WidthBreakpoint[WidthBreakpoint['WIDTH_XL'] = 4] = 'WIDTH_XL';
3413})(WidthBreakpoint || (WidthBreakpoint = {}));
3414
3415let HeightBreakpoint;
3416(function (HeightBreakpoint) {
3417  HeightBreakpoint[HeightBreakpoint['HEIGHT_SM'] = 0] = 'HEIGHT_SM';
3418  HeightBreakpoint[HeightBreakpoint['HEIGHT_MD'] = 1] = 'HEIGHT_MD';
3419  HeightBreakpoint[HeightBreakpoint['HEIGHT_LG'] = 2] = 'HEIGHT_LG';
3420})(HeightBreakpoint || (HeightBreakpoint = {}));
3421
3422let WebElementType;
3423(function (WebElementType) {
3424  WebElementType[WebElementType['IMAGE'] = 1] = 'IMAGE';
3425})(WebElementType || (WebElementType = {}));
3426
3427let WebResponseType;
3428(function (WebResponseType) {
3429  WebResponseType[WebResponseType['LONG_PRESS'] = 1] = 'LONG_PRESS';
3430})(WebResponseType || (WebResponseType = {}));
3431
3432class ImageAnalyzerController {
3433  constructor() {
3434  }
3435
3436  registerSupportTypesAction(getSupportTypesAction) {
3437    this.getSupportTypesAction = getSupportTypesAction;
3438  }
3439
3440  unRegisterSupportTypesAction() {
3441    this.getSupportTypesAction = null;
3442  }
3443
3444  getImageAnalyzerSupportTypes() {
3445    if (this.getSupportTypesAction === null || this.getSupportTypesAction === undefined) {
3446      return null;
3447    }
3448    return this.getSupportTypesAction();
3449  }
3450}
3451