@rockshin/tao-ui 0.0.48 → 0.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/components/affix/affix.js +20 -16
  2. package/dist/components/alert/alert.js +114 -99
  3. package/dist/components/app/app-modals.js +134 -96
  4. package/dist/components/app/app-notices.js +39 -23
  5. package/dist/components/auto-complete/auto-complete.js +21 -7
  6. package/dist/components/avatar/avatar.js +31 -11
  7. package/dist/components/badge/badge.css +1 -1
  8. package/dist/components/badge/badge.js +72 -257
  9. package/dist/components/border-beam/border-beam.js +21 -17
  10. package/dist/components/breadcrumb/breadcrumb.js +178 -159
  11. package/dist/components/button/button.js +61 -53
  12. package/dist/components/calendar/calendar.js +6 -4
  13. package/dist/components/card/card.js +24 -8
  14. package/dist/components/carousel/carousel.d.ts +1 -1
  15. package/dist/components/carousel/carousel.js +105 -68
  16. package/dist/components/cascader/cascader.js +54 -19
  17. package/dist/components/checkbox/checkbox.css +13 -2
  18. package/dist/components/checkbox/checkbox.d.ts +2 -0
  19. package/dist/components/checkbox/checkbox.js +320 -229
  20. package/dist/components/collapse/collapse-panels.d.ts +1 -1
  21. package/dist/components/collapse/collapse-panels.js +122 -113
  22. package/dist/components/collapse/collapse.js +98 -63
  23. package/dist/components/color-picker/color-picker.js +539 -441
  24. package/dist/components/color-picker/color.js +1 -1
  25. package/dist/components/context-menu/context-menu.d.ts +1 -1
  26. package/dist/components/context-menu/context-menu.js +108 -68
  27. package/dist/components/date-picker/calendar/calendar-grid.js +42 -39
  28. package/dist/components/date-picker/calendar/month-grid.d.ts +8 -1
  29. package/dist/components/date-picker/calendar/month-grid.js +79 -37
  30. package/dist/components/date-picker/calendar/time-panel.d.ts +2 -1
  31. package/dist/components/date-picker/calendar/time-panel.js +94 -89
  32. package/dist/components/date-picker/calendar/year-grid.d.ts +8 -1
  33. package/dist/components/date-picker/calendar/year-grid.js +66 -35
  34. package/dist/components/date-picker/date-picker.css +24 -1
  35. package/dist/components/date-picker/date-picker.js +99 -53
  36. package/dist/components/date-picker/presets.d.ts +2 -1
  37. package/dist/components/date-picker/presets.js +27 -24
  38. package/dist/components/date-picker/range-picker.js +308 -153
  39. package/dist/components/descriptions/descriptions.js +7 -3
  40. package/dist/components/divider/divider.css +1 -1
  41. package/dist/components/divider/divider.js +1 -1
  42. package/dist/components/drawer/drawer.js +201 -369
  43. package/dist/components/dropdown/dropdown.d.ts +1 -1
  44. package/dist/components/dropdown/dropdown.js +183 -279
  45. package/dist/components/empty/empty.js +57 -78
  46. package/dist/components/float-button/float-button.d.ts +1 -0
  47. package/dist/components/float-button/float-button.js +47 -30
  48. package/dist/components/form/field-control.d.ts +4 -2
  49. package/dist/components/form/field-control.js +17 -9
  50. package/dist/components/form/form-context.d.ts +8 -2
  51. package/dist/components/form/form-context.js +2 -1
  52. package/dist/components/form/form-item.js +85 -63
  53. package/dist/components/form/use-form.d.ts +2 -1
  54. package/dist/components/form/use-form.js +2 -1
  55. package/dist/components/form-field/form-field-view.d.ts +3 -1
  56. package/dist/components/form-field/form-field-view.js +194 -141
  57. package/dist/components/form-section/form-section.d.ts +1 -1
  58. package/dist/components/form-section/form-section.js +52 -45
  59. package/dist/components/image/image.js +585 -477
  60. package/dist/components/input/base-input.js +8 -9
  61. package/dist/components/input/input-shared.d.ts +5 -2
  62. package/dist/components/input/input-shared.js +42 -18
  63. package/dist/components/input/otp.js +236 -217
  64. package/dist/components/input/password.js +2 -1
  65. package/dist/components/input/search.js +8 -7
  66. package/dist/components/list/list-pagination.js +41 -36
  67. package/dist/components/list/list.js +141 -125
  68. package/dist/components/listy/listy.js +175 -106
  69. package/dist/components/masonry/masonry.js +108 -85
  70. package/dist/components/mentions/mentions.js +12 -3
  71. package/dist/components/menu/menu-render.d.ts +9 -3
  72. package/dist/components/menu/menu-render.js +99 -36
  73. package/dist/components/modal/confirm-dialog.js +10 -4
  74. package/dist/components/modal/confirm.js +3 -7
  75. package/dist/components/modal/index.js +9 -3
  76. package/dist/components/modal/modal.js +390 -365
  77. package/dist/components/pagination/pagination.js +105 -96
  78. package/dist/components/popconfirm/popconfirm.d.ts +1 -1
  79. package/dist/components/popconfirm/popconfirm.js +219 -168
  80. package/dist/components/popover/popover.js +330 -243
  81. package/dist/components/progress/progress.css +2 -2
  82. package/dist/components/progress/progress.js +232 -458
  83. package/dist/components/qr-code/qr-code.js +72 -66
  84. package/dist/components/radio/radio.css +15 -4
  85. package/dist/components/radio/radio.d.ts +2 -1
  86. package/dist/components/radio/radio.js +260 -198
  87. package/dist/components/rate/rate.js +173 -113
  88. package/dist/components/scroll-area/scroll-area.js +241 -211
  89. package/dist/components/segmented/segmented.js +73 -41
  90. package/dist/components/select/mobile-select.d.ts +2 -1
  91. package/dist/components/select/mobile-select.js +24 -13
  92. package/dist/components/select/select-searchable-list.d.ts +2 -1
  93. package/dist/components/select/select-searchable-list.js +2 -3
  94. package/dist/components/select/select.js +49 -25
  95. package/dist/components/select/use-select-selection.d.ts +1 -1
  96. package/dist/components/select/use-select-selection.js +7 -4
  97. package/dist/components/skeleton/skeleton.js +56 -48
  98. package/dist/components/slider/slider.js +87 -212
  99. package/dist/components/sonner/sonner.js +109 -93
  100. package/dist/components/spinner/spinner.js +147 -138
  101. package/dist/components/splitter/splitter.js +222 -159
  102. package/dist/components/statistic/statistic.js +7 -6
  103. package/dist/components/steps/steps.js +88 -81
  104. package/dist/components/steps/use-display-steps.js +1 -1
  105. package/dist/components/switch/switch.js +89 -89
  106. package/dist/components/table/table-filter.js +66 -56
  107. package/dist/components/table/table-icons.d.ts +2 -1
  108. package/dist/components/table/table-icons.js +11 -9
  109. package/dist/components/table/table-model.js +1 -1
  110. package/dist/components/table/table.js +107 -83
  111. package/dist/components/table/use-table-data.d.ts +6 -3
  112. package/dist/components/table/use-table-data.js +166 -130
  113. package/dist/components/tabs/tabs.css +1 -1
  114. package/dist/components/tabs/tabs.js +236 -179
  115. package/dist/components/tag/tag.d.ts +2 -2
  116. package/dist/components/tag/tag.js +111 -108
  117. package/dist/components/textarea/textarea.js +22 -17
  118. package/dist/components/time-picker/time-picker.js +5 -3
  119. package/dist/components/timeline/timeline.css +6 -1
  120. package/dist/components/timeline/timeline.js +21 -11
  121. package/dist/components/tooltip/tooltip.d.ts +2 -2
  122. package/dist/components/tooltip/tooltip.js +123 -233
  123. package/dist/components/tour/tour.css +4 -0
  124. package/dist/components/tour/tour.js +400 -331
  125. package/dist/components/transfer/transfer-list.js +29 -11
  126. package/dist/components/transfer/transfer-parts.js +1 -1
  127. package/dist/components/transfer/transfer-types.d.ts +1 -0
  128. package/dist/components/transfer/transfer.js +29 -14
  129. package/dist/components/tree/tree-keyboard.d.ts +1 -1
  130. package/dist/components/tree/tree-keyboard.js +5 -3
  131. package/dist/components/tree/tree.js +74 -59
  132. package/dist/components/tree-select/select-engine.d.ts +3 -2
  133. package/dist/components/tree-select/select-engine.js +18 -16
  134. package/dist/components/tree-select/tree-select.js +21 -5
  135. package/dist/components/upload/upload.css +8 -0
  136. package/dist/components/upload/upload.js +160 -72
  137. package/dist/components/watermark/watermark.js +36 -29
  138. package/dist/number-input/use-number-input.js +129 -90
  139. package/dist/number-input/validate.js +32 -5
  140. package/dist/provider/merge-locale.js +12 -9
  141. package/dist/provider/tao-provider.d.ts +3 -1
  142. package/dist/provider/tao-provider.js +123 -86
  143. package/package.json +1 -1
@@ -2,11 +2,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { forwardRef, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
3
3
  import { cx } from "../../utils/semantic.js";
4
4
  import "./affix.css";
5
- const getWindow = ()=>window;
6
5
  const Affix = /*#__PURE__*/ forwardRef((props, ref)=>{
7
- const { offsetTop, offsetBottom, onChange, target = getWindow, prefixCls, rootClassName, className, style, classNames, styles, children, ...rest } = props;
6
+ const { offsetTop, offsetBottom, onChange, target, prefixCls, rootClassName, className, style, classNames, styles, children, ...rest } = props;
8
7
  const holder = useRef(null);
9
8
  const content = useRef(null);
9
+ const [scrollTarget, setScrollTarget] = useState(null);
10
10
  const [position, setPosition] = useState();
11
11
  const affixed = useRef(false);
12
12
  const measure = useRef(()=>{});
@@ -14,18 +14,20 @@ const Affix = /*#__PURE__*/ forwardRef((props, ref)=>{
14
14
  measure.current = ()=>{
15
15
  const node = holder.current;
16
16
  const inner = content.current;
17
- const scrollTarget = target();
18
17
  if (!node || !inner) return;
18
+ const view = node.ownerDocument.defaultView ?? window;
19
+ const measuredTarget = target ? target() : view;
20
+ if (measuredTarget !== scrollTarget) setScrollTarget(measuredTarget);
19
21
  let next;
20
- if (scrollTarget) {
22
+ if (measuredTarget) {
21
23
  const rect = node.getBoundingClientRect();
22
- const bounds = scrollTarget === window ? {
24
+ const bounds = 'getBoundingClientRect' in measuredTarget ? measuredTarget.getBoundingClientRect() : {
23
25
  top: 0,
24
- bottom: window.innerHeight
25
- } : scrollTarget.getBoundingClientRect();
26
+ bottom: measuredTarget.innerHeight
27
+ };
26
28
  const topOffset = offsetTop ?? (void 0 === offsetBottom ? 0 : void 0);
27
29
  const top = void 0 !== topOffset && Math.round(rect.top) - topOffset < Math.round(bounds.top) ? bounds.top + topOffset : void 0;
28
- const bottom = void 0 !== offsetBottom && Math.round(rect.bottom) + offsetBottom > Math.round(bounds.bottom) ? window.innerHeight - bounds.bottom + offsetBottom : void 0;
30
+ const bottom = void 0 !== offsetBottom && Math.round(rect.bottom) + offsetBottom > Math.round(bounds.bottom) ? view.innerHeight - bounds.bottom + offsetBottom : void 0;
29
31
  if (void 0 !== top || void 0 !== bottom) next = {
30
32
  ...void 0 !== top ? {
31
33
  top
@@ -65,7 +67,7 @@ const Affix = /*#__PURE__*/ forwardRef((props, ref)=>{
65
67
  updatePosition
66
68
  ]);
67
69
  useEffect(()=>{
68
- const scrollTarget_0 = target();
70
+ const view_0 = holder.current?.ownerDocument.defaultView ?? window;
69
71
  const events = [
70
72
  'resize',
71
73
  'scroll',
@@ -76,29 +78,31 @@ const Affix = /*#__PURE__*/ forwardRef((props, ref)=>{
76
78
  'load'
77
79
  ];
78
80
  events.forEach((event)=>{
79
- scrollTarget_0?.addEventListener(event, updatePosition, {
81
+ scrollTarget?.addEventListener(event, updatePosition, {
80
82
  passive: true
81
83
  });
82
84
  });
83
- if (scrollTarget_0 !== window) window.addEventListener('resize', updatePosition);
85
+ if (scrollTarget !== view_0) view_0.addEventListener('resize', updatePosition);
84
86
  const observer = new ResizeObserver(updatePosition);
85
87
  if (holder.current) observer.observe(holder.current);
86
88
  if (content.current) observer.observe(content.current);
87
- if (scrollTarget_0 instanceof HTMLElement) observer.observe(scrollTarget_0);
89
+ if (scrollTarget && 'getBoundingClientRect' in scrollTarget) observer.observe(scrollTarget);
88
90
  updatePosition();
89
91
  return ()=>{
90
92
  events.forEach((event_0)=>{
91
- scrollTarget_0?.removeEventListener(event_0, updatePosition);
93
+ scrollTarget?.removeEventListener(event_0, updatePosition);
92
94
  });
93
- window.removeEventListener('resize', updatePosition);
95
+ view_0.removeEventListener('resize', updatePosition);
94
96
  observer.disconnect();
95
97
  updatePosition.cancel();
96
98
  };
97
99
  }, [
98
- target,
100
+ scrollTarget,
99
101
  updatePosition
100
102
  ]);
101
103
  useLayoutEffect(()=>{
104
+ const nextTarget = target ? target() : holder.current?.ownerDocument.defaultView ?? window;
105
+ if (nextTarget !== scrollTarget) setScrollTarget(nextTarget);
102
106
  updatePosition();
103
107
  });
104
108
  const fixedStyle = position ? {
@@ -109,7 +113,7 @@ const Affix = /*#__PURE__*/ forwardRef((props, ref)=>{
109
113
  ...rest,
110
114
  ref: holder,
111
115
  "data-tao-affix": "",
112
- className: cx(classNames?.root, className),
116
+ className: cx(prefixCls, classNames?.root, rootClassName, className),
113
117
  style: {
114
118
  ...styles?.root,
115
119
  ...style
@@ -28,8 +28,11 @@ function CloseIcon() {
28
28
  } else t0 = $[0];
29
29
  return t0;
30
30
  }
31
+ function hasContent(content) {
32
+ return null != content && 'boolean' != typeof content;
33
+ }
31
34
  function Alert(t0) {
32
- const $ = c(45);
35
+ const $ = c(49);
33
36
  const { type: t1, title, description, showIcon: t2, icon, closable: t3, onClose, action, className, style, classNames, styles } = t0;
34
37
  const type = void 0 === t1 ? "info" : t1;
35
38
  const showIcon = void 0 === t2 ? false : t2;
@@ -39,109 +42,121 @@ function Alert(t0) {
39
42
  let t4;
40
43
  if ($[0] !== onClose) {
41
44
  t4 = (e)=>{
42
- setVisible(false);
43
45
  onClose?.(e);
46
+ if (!e.defaultPrevented) setVisible(false);
44
47
  };
45
48
  $[0] = onClose;
46
49
  $[1] = t4;
47
50
  } else t4 = $[1];
48
51
  const handleClose = t4;
49
52
  if (!visible) return null;
50
- const hasDescription = null != description;
51
- const renderIcon = showIcon || null != icon;
52
- const t5 = hasDescription || void 0;
53
- const t6 = classNames?.root;
54
- let t7;
55
- if ($[2] !== className || $[3] !== t6) {
56
- t7 = cx(t6, className);
57
- $[2] = className;
58
- $[3] = t6;
59
- $[4] = t7;
60
- } else t7 = $[4];
61
- const t8 = styles?.root;
53
+ let t5;
54
+ if ($[2] !== description) {
55
+ t5 = hasContent(description);
56
+ $[2] = description;
57
+ $[3] = t5;
58
+ } else t5 = $[3];
59
+ const hasDescription = t5;
60
+ let t6;
61
+ if ($[4] !== icon || $[5] !== showIcon || $[6] !== type) {
62
+ t6 = icon ?? (showIcon ? /*#__PURE__*/ jsx(StatusIcon, {
63
+ type: type
64
+ }) : null);
65
+ $[4] = icon;
66
+ $[5] = showIcon;
67
+ $[6] = type;
68
+ $[7] = t6;
69
+ } else t6 = $[7];
70
+ const resolvedIcon = t6;
71
+ const t7 = hasDescription || void 0;
72
+ const t8 = classNames?.root;
62
73
  let t9;
63
- if ($[5] !== style || $[6] !== t8) {
64
- t9 = {
65
- ...t8,
74
+ if ($[8] !== className || $[9] !== t8) {
75
+ t9 = cx(t8, className);
76
+ $[8] = className;
77
+ $[9] = t8;
78
+ $[10] = t9;
79
+ } else t9 = $[10];
80
+ const t10 = styles?.root;
81
+ let t11;
82
+ if ($[11] !== style || $[12] !== t10) {
83
+ t11 = {
84
+ ...t10,
66
85
  ...style
67
86
  };
68
- $[5] = style;
69
- $[6] = t8;
70
- $[7] = t9;
71
- } else t9 = $[7];
72
- let t10;
73
- if ($[8] !== classNames?.icon || $[9] !== icon || $[10] !== renderIcon || $[11] !== styles?.icon || $[12] !== type) {
74
- t10 = renderIcon && /*#__PURE__*/ jsx("span", {
87
+ $[11] = style;
88
+ $[12] = t10;
89
+ $[13] = t11;
90
+ } else t11 = $[13];
91
+ let t12;
92
+ if ($[14] !== classNames?.icon || $[15] !== resolvedIcon || $[16] !== styles?.icon) {
93
+ t12 = hasContent(resolvedIcon) && /*#__PURE__*/ jsx("span", {
75
94
  "data-tao-alert-icon": "",
76
95
  className: cx(classNames?.icon),
77
96
  style: styles?.icon,
78
- children: icon ?? /*#__PURE__*/ jsx(StatusIcon, {
79
- type: type
80
- })
97
+ children: resolvedIcon
81
98
  });
82
- $[8] = classNames?.icon;
83
- $[9] = icon;
84
- $[10] = renderIcon;
85
- $[11] = styles?.icon;
86
- $[12] = type;
87
- $[13] = t10;
88
- } else t10 = $[13];
89
- let t11;
90
- if ($[14] !== classNames?.title || $[15] !== styles?.title || $[16] !== title) {
91
- t11 = null != title && /*#__PURE__*/ jsx("div", {
99
+ $[14] = classNames?.icon;
100
+ $[15] = resolvedIcon;
101
+ $[16] = styles?.icon;
102
+ $[17] = t12;
103
+ } else t12 = $[17];
104
+ let t13;
105
+ if ($[18] !== classNames?.title || $[19] !== styles?.title || $[20] !== title) {
106
+ t13 = hasContent(title) && /*#__PURE__*/ jsx("div", {
92
107
  "data-tao-alert-title": "",
93
108
  className: cx(classNames?.title),
94
109
  style: styles?.title,
95
110
  children: title
96
111
  });
97
- $[14] = classNames?.title;
98
- $[15] = styles?.title;
99
- $[16] = title;
100
- $[17] = t11;
101
- } else t11 = $[17];
102
- let t12;
103
- if ($[18] !== classNames?.description || $[19] !== description || $[20] !== hasDescription || $[21] !== styles?.description) {
104
- t12 = hasDescription && /*#__PURE__*/ jsx("div", {
112
+ $[18] = classNames?.title;
113
+ $[19] = styles?.title;
114
+ $[20] = title;
115
+ $[21] = t13;
116
+ } else t13 = $[21];
117
+ let t14;
118
+ if ($[22] !== classNames?.description || $[23] !== description || $[24] !== hasDescription || $[25] !== styles?.description) {
119
+ t14 = hasDescription && /*#__PURE__*/ jsx("div", {
105
120
  "data-tao-alert-description": "",
106
121
  className: cx(classNames?.description),
107
122
  style: styles?.description,
108
123
  children: description
109
124
  });
110
- $[18] = classNames?.description;
111
- $[19] = description;
112
- $[20] = hasDescription;
113
- $[21] = styles?.description;
114
- $[22] = t12;
115
- } else t12 = $[22];
116
- let t13;
117
- if ($[23] !== t11 || $[24] !== t12) {
118
- t13 = /*#__PURE__*/ jsxs("div", {
125
+ $[22] = classNames?.description;
126
+ $[23] = description;
127
+ $[24] = hasDescription;
128
+ $[25] = styles?.description;
129
+ $[26] = t14;
130
+ } else t14 = $[26];
131
+ let t15;
132
+ if ($[27] !== t13 || $[28] !== t14) {
133
+ t15 = /*#__PURE__*/ jsxs("div", {
119
134
  "data-tao-alert-content": "",
120
135
  children: [
121
- t11,
122
- t12
136
+ t13,
137
+ t14
123
138
  ]
124
139
  });
125
- $[23] = t11;
126
- $[24] = t12;
127
- $[25] = t13;
128
- } else t13 = $[25];
129
- let t14;
130
- if ($[26] !== action || $[27] !== classNames?.action || $[28] !== styles?.action) {
131
- t14 = null != action && /*#__PURE__*/ jsx("div", {
140
+ $[27] = t13;
141
+ $[28] = t14;
142
+ $[29] = t15;
143
+ } else t15 = $[29];
144
+ let t16;
145
+ if ($[30] !== action || $[31] !== classNames?.action || $[32] !== styles?.action) {
146
+ t16 = hasContent(action) && /*#__PURE__*/ jsx("div", {
132
147
  "data-tao-alert-action": "",
133
148
  className: cx(classNames?.action),
134
149
  style: styles?.action,
135
150
  children: action
136
151
  });
137
- $[26] = action;
138
- $[27] = classNames?.action;
139
- $[28] = styles?.action;
140
- $[29] = t14;
141
- } else t14 = $[29];
142
- let t15;
143
- if ($[30] !== classNames?.close || $[31] !== closable || $[32] !== handleClose || $[33] !== locale || $[34] !== styles?.close) {
144
- t15 = closable && /*#__PURE__*/ jsx("button", {
152
+ $[30] = action;
153
+ $[31] = classNames?.action;
154
+ $[32] = styles?.action;
155
+ $[33] = t16;
156
+ } else t16 = $[33];
157
+ let t17;
158
+ if ($[34] !== classNames?.close || $[35] !== closable || $[36] !== handleClose || $[37] !== locale || $[38] !== styles?.close) {
159
+ t17 = closable && /*#__PURE__*/ jsx("button", {
145
160
  type: "button",
146
161
  "data-tao-alert-close": "",
147
162
  "aria-label": locale.close,
@@ -150,39 +165,39 @@ function Alert(t0) {
150
165
  style: styles?.close,
151
166
  children: /*#__PURE__*/ jsx(CloseIcon, {})
152
167
  });
153
- $[30] = classNames?.close;
154
- $[31] = closable;
155
- $[32] = handleClose;
156
- $[33] = locale;
157
- $[34] = styles?.close;
158
- $[35] = t15;
159
- } else t15 = $[35];
160
- let t16;
161
- if ($[36] !== t10 || $[37] !== t13 || $[38] !== t14 || $[39] !== t15 || $[40] !== t5 || $[41] !== t7 || $[42] !== t9 || $[43] !== type) {
162
- t16 = /*#__PURE__*/ jsxs("div", {
168
+ $[34] = classNames?.close;
169
+ $[35] = closable;
170
+ $[36] = handleClose;
171
+ $[37] = locale;
172
+ $[38] = styles?.close;
173
+ $[39] = t17;
174
+ } else t17 = $[39];
175
+ let t18;
176
+ if ($[40] !== t11 || $[41] !== t12 || $[42] !== t15 || $[43] !== t16 || $[44] !== t17 || $[45] !== t7 || $[46] !== t9 || $[47] !== type) {
177
+ t18 = /*#__PURE__*/ jsxs("div", {
163
178
  role: "alert",
164
179
  "data-tao-alert": "",
165
180
  "data-tao-type": type,
166
- "data-tao-with-description": t5,
167
- className: t7,
168
- style: t9,
181
+ "data-tao-with-description": t7,
182
+ className: t9,
183
+ style: t11,
169
184
  children: [
170
- t10,
171
- t13,
172
- t14,
173
- t15
185
+ t12,
186
+ t15,
187
+ t16,
188
+ t17
174
189
  ]
175
190
  });
176
- $[36] = t10;
177
- $[37] = t13;
178
- $[38] = t14;
179
- $[39] = t15;
180
- $[40] = t5;
181
- $[41] = t7;
182
- $[42] = t9;
183
- $[43] = type;
184
- $[44] = t16;
185
- } else t16 = $[44];
186
- return t16;
191
+ $[40] = t11;
192
+ $[41] = t12;
193
+ $[42] = t15;
194
+ $[43] = t16;
195
+ $[44] = t17;
196
+ $[45] = t7;
197
+ $[46] = t9;
198
+ $[47] = type;
199
+ $[48] = t18;
200
+ } else t18 = $[48];
201
+ return t18;
187
202
  }
188
203
  export { Alert };