@varlet/ui 3.8.2 → 3.8.3

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 (321) hide show
  1. package/es/action-sheet/ActionItem.mjs +4 -4
  2. package/es/action-sheet/ActionSheet.mjs +9 -9
  3. package/es/action-sheet/index.mjs +2 -2
  4. package/es/action-sheet/props.mjs +1 -1
  5. package/es/action-sheet/style/index.mjs +1 -1
  6. package/es/alert/Alert.mjs +3 -3
  7. package/es/alert/index.mjs +1 -1
  8. package/es/app-bar/AppBar.mjs +5 -5
  9. package/es/app-bar/index.mjs +1 -1
  10. package/es/auto-complete/AutoComplete.mjs +23 -27
  11. package/es/auto-complete/index.mjs +1 -1
  12. package/es/auto-complete/props.mjs +1 -1
  13. package/es/avatar/Avatar.mjs +5 -5
  14. package/es/avatar/index.mjs +1 -1
  15. package/es/avatar-group/AvatarGroup.mjs +2 -2
  16. package/es/avatar-group/index.mjs +1 -1
  17. package/es/back-top/BackTop.mjs +7 -7
  18. package/es/back-top/index.mjs +1 -1
  19. package/es/badge/Badge.mjs +3 -3
  20. package/es/badge/index.mjs +1 -1
  21. package/es/badge/props.mjs +1 -1
  22. package/es/bottom-navigation/BottomNavigation.mjs +8 -9
  23. package/es/bottom-navigation/index.mjs +1 -1
  24. package/es/bottom-navigation-item/BottomNavigationItem.mjs +4 -4
  25. package/es/bottom-navigation-item/index.mjs +1 -1
  26. package/es/bottom-navigation-item/provide.mjs +1 -1
  27. package/es/breadcrumb/Breadcrumb.mjs +3 -3
  28. package/es/breadcrumb/index.mjs +1 -1
  29. package/es/breadcrumb/provide.mjs +1 -1
  30. package/es/breadcrumbs/Breadcrumbs.mjs +2 -2
  31. package/es/breadcrumbs/index.mjs +1 -1
  32. package/es/button/Button.mjs +6 -6
  33. package/es/button/index.mjs +1 -1
  34. package/es/button-group/ButtonGroup.mjs +1 -1
  35. package/es/button-group/index.mjs +1 -1
  36. package/es/card/Card.mjs +39 -39
  37. package/es/card/index.mjs +1 -1
  38. package/es/cell/Cell.mjs +3 -3
  39. package/es/cell/index.mjs +1 -1
  40. package/es/cell/props.mjs +1 -1
  41. package/es/checkbox/Checkbox.mjs +7 -7
  42. package/es/checkbox/index.mjs +1 -1
  43. package/es/checkbox-group/CheckboxGroup.mjs +5 -5
  44. package/es/checkbox-group/index.mjs +1 -1
  45. package/es/chip/Chip.mjs +4 -4
  46. package/es/chip/index.mjs +1 -1
  47. package/es/chip/props.mjs +1 -1
  48. package/es/code/Code.mjs +1 -1
  49. package/es/code/index.mjs +1 -1
  50. package/es/col/Col.mjs +4 -4
  51. package/es/col/index.mjs +1 -1
  52. package/es/collapse/Collapse.mjs +6 -4
  53. package/es/collapse/index.mjs +1 -1
  54. package/es/collapse-item/CollapseItem.mjs +4 -4
  55. package/es/collapse-item/index.mjs +1 -1
  56. package/es/collapse-item/provide.mjs +1 -1
  57. package/es/collapse-transition/CollapseTransition.mjs +2 -2
  58. package/es/collapse-transition/index.mjs +1 -1
  59. package/es/collapse-transition/useCollapseTransition.mjs +1 -1
  60. package/es/context/lock.mjs +1 -1
  61. package/es/context/stack.mjs +1 -1
  62. package/es/context/zIndex.mjs +1 -1
  63. package/es/count-to/CountTo.mjs +4 -4
  64. package/es/count-to/index.mjs +1 -1
  65. package/es/countdown/Countdown.mjs +2 -2
  66. package/es/countdown/index.mjs +1 -1
  67. package/es/counter/Counter.mjs +8 -8
  68. package/es/counter/index.mjs +1 -1
  69. package/es/date-picker/DatePicker.mjs +92 -43
  70. package/es/date-picker/index.mjs +1 -1
  71. package/es/date-picker/src/day-picker-panel.mjs +59 -27
  72. package/es/date-picker/src/month-picker-panel.mjs +57 -23
  73. package/es/date-picker/src/panel-header.mjs +12 -6
  74. package/es/date-picker/src/year-picker-panel.mjs +53 -23
  75. package/es/dialog/Dialog.mjs +5 -5
  76. package/es/dialog/index.mjs +3 -3
  77. package/es/dialog/props.mjs +1 -1
  78. package/es/divider/Divider.mjs +4 -4
  79. package/es/divider/index.mjs +1 -1
  80. package/es/drag/Drag.mjs +21 -42
  81. package/es/drag/index.mjs +1 -1
  82. package/es/ellipsis/Ellipsis.mjs +2 -2
  83. package/es/ellipsis/index.mjs +1 -1
  84. package/es/fab/Fab.mjs +4 -5
  85. package/es/fab/index.mjs +1 -1
  86. package/es/fab/props.mjs +1 -1
  87. package/es/field-decorator/FieldDecorator.mjs +5 -5
  88. package/es/field-decorator/index.mjs +1 -1
  89. package/es/floating-panel/FloatingPanel.mjs +6 -6
  90. package/es/floating-panel/index.mjs +1 -1
  91. package/es/form/Form.mjs +4 -4
  92. package/es/form/index.mjs +2 -2
  93. package/es/form/provide.mjs +1 -1
  94. package/es/form-details/index.mjs +1 -1
  95. package/es/highlighter-provider/HighlighterProvider.mjs +2 -2
  96. package/es/highlighter-provider/index.mjs +1 -1
  97. package/es/highlighter-provider/provide.mjs +1 -1
  98. package/es/hover/index.mjs +12 -7
  99. package/es/hover-overlay/HoverOverlay.mjs +2 -2
  100. package/es/hover-overlay/index.mjs +2 -2
  101. package/es/icon/Icon.mjs +3 -3
  102. package/es/icon/index.mjs +1 -1
  103. package/es/image/Image.mjs +5 -5
  104. package/es/image/index.mjs +1 -1
  105. package/es/image-preview/ImagePreview.mjs +13 -14
  106. package/es/image-preview/index.mjs +2 -2
  107. package/es/image-preview/props.mjs +2 -2
  108. package/es/index-anchor/IndexAnchor.mjs +5 -5
  109. package/es/index-anchor/index.mjs +1 -1
  110. package/es/index-anchor/provide.mjs +1 -1
  111. package/es/index-bar/IndexBar.mjs +17 -13
  112. package/es/index-bar/index.mjs +1 -1
  113. package/es/index.bundle.mjs +1 -1
  114. package/es/index.mjs +1 -1
  115. package/es/input/Input.mjs +12 -12
  116. package/es/input/index.mjs +1 -1
  117. package/es/input/props.mjs +1 -1
  118. package/es/lazy/index.mjs +1 -1
  119. package/es/link/Link.mjs +2 -2
  120. package/es/link/index.mjs +1 -1
  121. package/es/list/List.mjs +10 -10
  122. package/es/list/index.mjs +1 -1
  123. package/es/list/provide.mjs +1 -1
  124. package/es/loading/Loading.mjs +2 -2
  125. package/es/loading/index.mjs +1 -1
  126. package/es/loading-bar/LoadingBar.mjs +1 -2
  127. package/es/loading-bar/index.mjs +1 -1
  128. package/es/locale/index.mjs +5 -5
  129. package/es/locale-provider/LocaleProvider.mjs +11 -8
  130. package/es/locale-provider/index.mjs +1 -1
  131. package/es/locale-provider/provide.mjs +1 -1
  132. package/es/menu/Menu.mjs +2 -2
  133. package/es/menu/index.mjs +1 -1
  134. package/es/menu/usePopover.mjs +6 -6
  135. package/es/menu-option/MenuOption.mjs +9 -9
  136. package/es/menu-option/index.mjs +1 -1
  137. package/es/menu-option/provide.mjs +1 -1
  138. package/es/menu-select/MenuChildren.mjs +21 -21
  139. package/es/menu-select/MenuSelect.mjs +9 -9
  140. package/es/menu-select/index.mjs +1 -1
  141. package/es/option/Option.mjs +5 -5
  142. package/es/option/index.mjs +1 -1
  143. package/es/option/provide.mjs +1 -1
  144. package/es/overlay/Overlay.mjs +4 -4
  145. package/es/overlay/index.mjs +1 -1
  146. package/es/pagination/Pagination.mjs +26 -18
  147. package/es/pagination/index.mjs +1 -1
  148. package/es/paper/Paper.mjs +3 -3
  149. package/es/paper/index.mjs +1 -1
  150. package/es/picker/Picker.mjs +9 -9
  151. package/es/picker/index.mjs +2 -2
  152. package/es/picker/props.mjs +1 -1
  153. package/es/popup/Popup.mjs +6 -6
  154. package/es/popup/index.mjs +1 -1
  155. package/es/progress/Progress.mjs +4 -4
  156. package/es/progress/index.mjs +1 -1
  157. package/es/pull-refresh/PullRefresh.mjs +10 -12
  158. package/es/pull-refresh/index.mjs +1 -1
  159. package/es/radio/Radio.mjs +10 -9
  160. package/es/radio/index.mjs +1 -1
  161. package/es/radio-group/RadioGroup.mjs +7 -6
  162. package/es/radio-group/index.mjs +1 -1
  163. package/es/rate/Rate.mjs +8 -8
  164. package/es/rate/index.mjs +1 -1
  165. package/es/rate/props.mjs +1 -1
  166. package/es/result/Result.mjs +7 -7
  167. package/es/result/index.mjs +1 -1
  168. package/es/ripple/index.mjs +1 -1
  169. package/es/row/Row.mjs +4 -4
  170. package/es/row/index.mjs +1 -1
  171. package/es/select/Select.mjs +13 -13
  172. package/es/select/index.mjs +1 -1
  173. package/es/select/props.mjs +1 -1
  174. package/es/skeleton/Skeleton.mjs +3 -3
  175. package/es/skeleton/index.mjs +1 -1
  176. package/es/slider/Slider.mjs +9 -9
  177. package/es/slider/index.mjs +1 -1
  178. package/es/snackbar/Snackbar.mjs +1 -1
  179. package/es/snackbar/core.mjs +8 -8
  180. package/es/snackbar/index.mjs +9 -8
  181. package/es/snackbar/props.mjs +1 -1
  182. package/es/space/Space.mjs +2 -2
  183. package/es/space/index.mjs +1 -1
  184. package/es/step/Step.mjs +3 -3
  185. package/es/step/index.mjs +1 -1
  186. package/es/step/provide.mjs +1 -1
  187. package/es/steps/Steps.mjs +3 -3
  188. package/es/steps/index.mjs +1 -1
  189. package/es/sticky/Sticky.mjs +7 -7
  190. package/es/sticky/index.mjs +1 -1
  191. package/es/style-provider/StyleProvider.mjs +2 -2
  192. package/es/style-provider/index.mjs +2 -2
  193. package/es/swipe/Swipe.mjs +10 -10
  194. package/es/swipe/index.mjs +1 -1
  195. package/es/swipe-item/SwipeItem.mjs +1 -1
  196. package/es/swipe-item/index.mjs +1 -1
  197. package/es/swipe-item/provide.mjs +1 -1
  198. package/es/switch/Switch.mjs +6 -6
  199. package/es/switch/index.mjs +1 -1
  200. package/es/tab/Tab.mjs +4 -4
  201. package/es/tab/index.mjs +1 -1
  202. package/es/tab/provide.mjs +1 -1
  203. package/es/tab-item/TabItem.mjs +3 -3
  204. package/es/tab-item/index.mjs +1 -1
  205. package/es/tab-item/provide.mjs +1 -1
  206. package/es/table/Table.mjs +1 -1
  207. package/es/table/index.mjs +1 -1
  208. package/es/tabs/Tabs.mjs +9 -7
  209. package/es/tabs/index.mjs +1 -1
  210. package/es/tabs/props.mjs +1 -1
  211. package/es/tabs-items/TabsItems.mjs +4 -4
  212. package/es/tabs-items/index.mjs +1 -1
  213. package/es/themes/dark/index.mjs +33 -33
  214. package/es/themes/index.mjs +1 -1
  215. package/es/themes/md3-dark/index.mjs +45 -45
  216. package/es/themes/md3-light/index.mjs +39 -39
  217. package/es/time-picker/TimePicker.mjs +48 -24
  218. package/es/time-picker/clock.mjs +41 -19
  219. package/es/time-picker/index.mjs +1 -1
  220. package/es/time-picker/utils.mjs +13 -5
  221. package/es/tooltip/Tooltip.mjs +2 -2
  222. package/es/tooltip/index.mjs +1 -1
  223. package/es/uploader/Uploader.mjs +14 -14
  224. package/es/uploader/index.mjs +1 -1
  225. package/es/utils/components.mjs +5 -5
  226. package/es/utils/elements.mjs +9 -9
  227. package/es/utils/test.mjs +1 -1
  228. package/es/varlet.esm.js +20946 -20941
  229. package/es/watermark/Watermark.mjs +15 -17
  230. package/es/watermark/index.mjs +1 -1
  231. package/highlight/web-types.en-US.json +1 -1
  232. package/highlight/web-types.zh-CN.json +1 -1
  233. package/lib/varlet.cjs.js +25205 -25003
  234. package/package.json +34 -34
  235. package/types/actionSheet.d.ts +2 -2
  236. package/types/alert.d.ts +1 -1
  237. package/types/appBar.d.ts +1 -1
  238. package/types/autoComplete.d.ts +4 -4
  239. package/types/avatar.d.ts +1 -1
  240. package/types/avatarGroup.d.ts +1 -1
  241. package/types/backTop.d.ts +1 -1
  242. package/types/badge.d.ts +1 -1
  243. package/types/bottomNavigation.d.ts +2 -2
  244. package/types/bottomNavigationItem.d.ts +2 -2
  245. package/types/breadcrumb.d.ts +1 -1
  246. package/types/breadcrumbs.d.ts +1 -1
  247. package/types/button.d.ts +5 -5
  248. package/types/buttonGroup.d.ts +2 -2
  249. package/types/card.d.ts +1 -1
  250. package/types/cell.d.ts +1 -1
  251. package/types/checkbox.d.ts +1 -1
  252. package/types/checkboxGroup.d.ts +2 -2
  253. package/types/chip.d.ts +3 -3
  254. package/types/code.d.ts +1 -1
  255. package/types/col.d.ts +1 -1
  256. package/types/collapse.d.ts +1 -1
  257. package/types/collapseItem.d.ts +1 -1
  258. package/types/collapseTransition.d.ts +1 -1
  259. package/types/countTo.d.ts +1 -1
  260. package/types/countdown.d.ts +1 -1
  261. package/types/counter.d.ts +1 -1
  262. package/types/datePicker.d.ts +1 -1
  263. package/types/dialog.d.ts +1 -1
  264. package/types/divider.d.ts +1 -1
  265. package/types/drag.d.ts +1 -1
  266. package/types/ellipsis.d.ts +1 -1
  267. package/types/fab.d.ts +2 -2
  268. package/types/floatingPanel.d.ts +2 -2
  269. package/types/form.d.ts +1 -1
  270. package/types/formDetails.d.ts +1 -1
  271. package/types/highlighterProvider.d.ts +1 -1
  272. package/types/hover.d.ts +1 -1
  273. package/types/hoverOverlay.d.ts +1 -1
  274. package/types/icon.d.ts +1 -1
  275. package/types/image.d.ts +2 -2
  276. package/types/imagePreview.d.ts +2 -2
  277. package/types/indexAnchor.d.ts +1 -1
  278. package/types/indexBar.d.ts +1 -1
  279. package/types/input.d.ts +4 -4
  280. package/types/link.d.ts +1 -1
  281. package/types/list.d.ts +1 -1
  282. package/types/loading.d.ts +1 -1
  283. package/types/localeProvider.d.ts +2 -2
  284. package/types/menu.d.ts +2 -2
  285. package/types/menuOption.d.ts +1 -1
  286. package/types/menuSelect.d.ts +2 -2
  287. package/types/option.d.ts +1 -1
  288. package/types/overlay.d.ts +2 -2
  289. package/types/pagination.d.ts +1 -1
  290. package/types/paper.d.ts +1 -1
  291. package/types/picker.d.ts +3 -3
  292. package/types/popup.d.ts +2 -2
  293. package/types/progress.d.ts +1 -1
  294. package/types/pullRefresh.d.ts +1 -1
  295. package/types/radio.d.ts +1 -1
  296. package/types/radioGroup.d.ts +3 -3
  297. package/types/rate.d.ts +1 -1
  298. package/types/result.d.ts +1 -1
  299. package/types/row.d.ts +1 -1
  300. package/types/select.d.ts +3 -3
  301. package/types/skeleton.d.ts +1 -1
  302. package/types/slider.d.ts +4 -4
  303. package/types/snackbar.d.ts +2 -2
  304. package/types/space.d.ts +1 -1
  305. package/types/step.d.ts +1 -1
  306. package/types/steps.d.ts +3 -3
  307. package/types/sticky.d.ts +1 -1
  308. package/types/styleProvider.d.ts +2 -2
  309. package/types/swipe.d.ts +1 -1
  310. package/types/swipeItem.d.ts +1 -1
  311. package/types/switch.d.ts +1 -1
  312. package/types/tab.d.ts +1 -1
  313. package/types/tabItem.d.ts +1 -1
  314. package/types/table.d.ts +1 -1
  315. package/types/tabs.d.ts +3 -3
  316. package/types/tabsItems.d.ts +2 -2
  317. package/types/timePicker.d.ts +1 -1
  318. package/types/tooltip.d.ts +2 -2
  319. package/types/uploader.d.ts +2 -2
  320. package/types/watermark.d.ts +1 -1
  321. package/umd/varlet.js +7 -7
@@ -14,20 +14,20 @@ var __spreadValues = (a, b) => {
14
14
  }
15
15
  return a;
16
16
  };
17
- import dayjs from "dayjs/esm/index.js";
18
17
  import {
19
- defineComponent,
20
18
  computed,
19
+ defineComponent,
20
+ reactive,
21
21
  ref,
22
- watch,
23
- reactive
22
+ watch
24
23
  } from "vue";
25
24
  import { toNumber } from "@varlet/shared";
25
+ import { onSmartMounted } from "@varlet/use";
26
+ import dayjs from "dayjs/esm/index.js";
26
27
  import VarButton from "../../button/index.mjs";
27
28
  import VarSticky from "../../sticky/index.mjs";
28
- import PanelHeader from "./panel-header.mjs";
29
29
  import { createNamespace } from "../../utils/components.mjs";
30
- import { onSmartMounted } from "@varlet/use";
30
+ import PanelHeader from "./panel-header.mjs";
31
31
  const { n, classes } = createNamespace("year-picker");
32
32
  const { n: nDate } = createNamespace("date-picker");
33
33
  import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, mergeProps as _mergeProps, normalizeClass as _normalizeClass, Transition as _Transition } from "vue";
@@ -59,8 +59,8 @@ function __render__(_ctx, _cache) {
59
59
  "ul",
60
60
  {
61
61
  ref: "panel",
62
- class: _normalizeClass(_ctx.n()),
63
- key: _ctx.panelKey
62
+ key: _ctx.panelKey,
63
+ class: _normalizeClass(_ctx.n())
64
64
  },
65
65
  [
66
66
  (_openBlock(true), _createElementBlock(
@@ -151,13 +151,19 @@ const __sfc__ = defineComponent({
151
151
  componentProps: { type, range }
152
152
  } = props;
153
153
  if (range) {
154
- if (!chooseRangeYear.length) return false;
154
+ if (!chooseRangeYear.length) {
155
+ return false;
156
+ }
155
157
  const isBeforeMax = dayjs(val).isSameOrBefore(dayjs(chooseRangeYear[1]), "year");
156
158
  const isAfterMin = dayjs(val).isSameOrAfter(dayjs(chooseRangeYear[0]), "year");
157
159
  return isBeforeMax && isAfterMin;
158
160
  }
159
- if (type === "year") return chooseYears.includes(val);
160
- if (type === "month") return chooseMonths.some((value) => value.includes(val));
161
+ if (type === "year") {
162
+ return chooseYears.includes(val);
163
+ }
164
+ if (type === "month") {
165
+ return chooseMonths.some((value) => value.includes(val));
166
+ }
161
167
  return chooseDays.some((value) => value.includes(val));
162
168
  };
163
169
  const inRange = (year) => {
@@ -174,30 +180,52 @@ const __sfc__ = defineComponent({
174
180
  componentProps: { allowedDates, color, multiple, range }
175
181
  } = props;
176
182
  const yearExist = () => {
177
- if (range || multiple) return shouldChoose(year);
183
+ if (range || multiple) {
184
+ return shouldChoose(year);
185
+ }
178
186
  return chooseYear2 === year;
179
187
  };
180
188
  const computeDisabled = () => {
181
- if (!inRange(year)) return true;
182
- if (!allowedDates) return false;
189
+ if (!inRange(year)) {
190
+ return true;
191
+ }
192
+ if (!allowedDates) {
193
+ return false;
194
+ }
183
195
  return !allowedDates(year);
184
196
  };
185
197
  const disabled = computeDisabled();
186
198
  const computeText = () => {
187
- if (disabled) return true;
188
- if (range || multiple) return !shouldChoose(year);
199
+ if (disabled) {
200
+ return true;
201
+ }
202
+ if (range || multiple) {
203
+ return !shouldChoose(year);
204
+ }
189
205
  return chooseYear2 !== year;
190
206
  };
191
207
  const computeOutline = () => {
192
- if (!(currentYear === year && props.componentProps.showCurrent)) return false;
193
- if ((range || multiple) && disabled) return true;
194
- if (range || multiple) return !shouldChoose(year);
208
+ if (!(currentYear === year && props.componentProps.showCurrent)) {
209
+ return false;
210
+ }
211
+ if ((range || multiple) && disabled) {
212
+ return true;
213
+ }
214
+ if (range || multiple) {
215
+ return !shouldChoose(year);
216
+ }
195
217
  return chooseYear2 !== currentYear;
196
218
  };
197
219
  const textColorOrCover = () => {
198
- if (disabled) return "";
199
- if (computeOutline()) return color != null ? color : "";
200
- if (yearExist()) return "";
220
+ if (disabled) {
221
+ return "";
222
+ }
223
+ if (computeOutline()) {
224
+ return color != null ? color : "";
225
+ }
226
+ if (yearExist()) {
227
+ return "";
228
+ }
201
229
  return `${nDate()}-color-cover`;
202
230
  };
203
231
  const isCover = textColorOrCover().startsWith(nDate());
@@ -213,7 +241,9 @@ const __sfc__ = defineComponent({
213
241
  };
214
242
  const chooseYear = (year, event) => {
215
243
  const buttonEl = event.currentTarget;
216
- if (buttonEl.classList.contains(n("button--disabled"))) return;
244
+ if (buttonEl.classList.contains(n("button--disabled"))) {
245
+ return;
246
+ }
217
247
  emit("choose-year", year);
218
248
  };
219
249
  const scrollToView = () => {
@@ -14,15 +14,15 @@ var __spreadValues = (a, b) => {
14
14
  }
15
15
  return a;
16
16
  };
17
- import VarPopup from "../popup/index.mjs";
18
- import VarButton from "../button/index.mjs";
19
- import { props } from "./props.mjs";
20
17
  import { defineComponent, ref, watch } from "vue";
18
+ import { call } from "@varlet/shared";
19
+ import VarButton from "../button/index.mjs";
21
20
  import { t } from "../locale/index.mjs";
21
+ import { injectLocaleProvider } from "../locale-provider/provide.mjs";
22
+ import VarPopup from "../popup/index.mjs";
22
23
  import { createNamespace } from "../utils/components.mjs";
23
24
  import { toSizeUnit } from "../utils/elements.mjs";
24
- import { call } from "@varlet/shared";
25
- import { injectLocaleProvider } from "../locale-provider/provide.mjs";
25
+ import { props } from "./props.mjs";
26
26
  const { name, n, classes } = createNamespace("dialog");
27
27
  import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, mergeProps as _mergeProps } from "vue";
28
28
  function __render__(_ctx, _cache) {
@@ -17,10 +17,10 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import VarDialog from "./Dialog.mjs";
21
- import { reactive, nextTick } from "vue";
22
- import { inBrowser, isString, call } from "@varlet/shared";
20
+ import { nextTick, reactive } from "vue";
21
+ import { call, inBrowser, isString } from "@varlet/shared";
23
22
  import { mountInstance, withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
23
+ import VarDialog from "./Dialog.mjs";
24
24
  import { props as dialogProps } from "./props.mjs";
25
25
  let singletonOptions;
26
26
  let defaultOptions = {};
@@ -14,8 +14,8 @@ var __spreadValues = (a, b) => {
14
14
  }
15
15
  return a;
16
16
  };
17
- import { defineListenerProp, pickProps } from "../utils/components.mjs";
18
17
  import { popupProps } from "../popup/index.mjs";
18
+ import { defineListenerProp, pickProps } from "../utils/components.mjs";
19
19
  const props = __spreadValues({
20
20
  show: Boolean,
21
21
  width: [Number, String],
@@ -1,9 +1,9 @@
1
- import { defineComponent, computed, ref, onUpdated } from "vue";
1
+ import { computed, defineComponent, onUpdated, ref } from "vue";
2
+ import { isBoolean, toNumber } from "@varlet/shared";
3
+ import { onSmartMounted } from "@varlet/use";
4
+ import { createNamespace } from "../utils/components.mjs";
2
5
  import { toSizeUnit } from "../utils/elements.mjs";
3
- import { toNumber, isBoolean } from "@varlet/shared";
4
6
  import { props } from "./props.mjs";
5
- import { createNamespace } from "../utils/components.mjs";
6
- import { onSmartMounted } from "@varlet/use";
7
7
  const { name, n, classes } = createNamespace("divider");
8
8
  import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle } from "vue";
9
9
  function __render__(_ctx, _cache) {
@@ -1,5 +1,5 @@
1
- import Divider from "./Divider.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import Divider from "./Divider.mjs";
3
3
  import { props as dividerProps } from "./props.mjs";
4
4
  withInstall(Divider);
5
5
  withPropsDefaultsSetter(Divider, dividerProps);
package/es/drag/Drag.mjs CHANGED
@@ -17,32 +17,12 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- var __async = (__this, __arguments, generator) => {
21
- return new Promise((resolve, reject) => {
22
- var fulfilled = (value) => {
23
- try {
24
- step(generator.next(value));
25
- } catch (e) {
26
- reject(e);
27
- }
28
- };
29
- var rejected = (value) => {
30
- try {
31
- step(generator.throw(value));
32
- } catch (e) {
33
- reject(e);
34
- }
35
- };
36
- var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
37
- step((generator = generator.apply(__this, __arguments)).next());
38
- });
39
- };
40
- import { defineComponent, ref, reactive, watch } from "vue";
41
- import { props } from "./props.mjs";
20
+ import { defineComponent, reactive, ref, watch } from "vue";
21
+ import { call, clamp, getRect, preventDefault } from "@varlet/shared";
22
+ import { onSmartMounted, onWindowResize, useTouch } from "@varlet/use";
42
23
  import { createNamespace, useTeleport } from "../utils/components.mjs";
43
24
  import { toPxNum } from "../utils/elements.mjs";
44
- import { onSmartMounted, onWindowResize, useTouch } from "@varlet/use";
45
- import { clamp, getRect, preventDefault, call } from "@varlet/shared";
25
+ import { props } from "./props.mjs";
46
26
  const { name, n, classes } = createNamespace("drag");
47
27
  import { renderSlot as _renderSlot, mergeProps as _mergeProps, createElementVNode as _createElementVNode, Teleport as _Teleport, openBlock as _openBlock, createBlock as _createBlock } from "vue";
48
28
  function __render__(_ctx, _cache) {
@@ -57,13 +37,14 @@ function __render__(_ctx, _cache) {
57
37
  class: _ctx.classes(_ctx.n(), _ctx.n("$--box"), [_ctx.enableTransition, _ctx.n("--transition")]),
58
38
  style: {
59
39
  "z-index": _ctx.zIndex
60
- },
40
+ }
41
+ }, _ctx.getAttrs(), {
61
42
  onTouchstart: _cache[0] || (_cache[0] = (...args) => _ctx.handleTouchstart && _ctx.handleTouchstart(...args)),
62
43
  onTouchmove: _cache[1] || (_cache[1] = (...args) => _ctx.handleTouchmove && _ctx.handleTouchmove(...args)),
63
44
  onTouchend: _cache[2] || (_cache[2] = (...args) => _ctx.handleTouchend && _ctx.handleTouchend(...args)),
64
45
  onTouchcancel: _cache[3] || (_cache[3] = (...args) => _ctx.handleTouchend && _ctx.handleTouchend(...args)),
65
46
  onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
66
- }, _ctx.getAttrs()),
47
+ }),
67
48
  [
68
49
  _renderSlot(_ctx.$slots, "default")
69
50
  ],
@@ -104,22 +85,20 @@ const __sfc__ = defineComponent({
104
85
  saveXY();
105
86
  }
106
87
  function handleTouchmove(event) {
107
- return __async(this, null, function* () {
108
- if (!touching.value || props2.disabled) {
109
- return;
110
- }
111
- moveTouch(event);
112
- preventDefault(event);
113
- enableTransition.value = false;
114
- dragged.value = true;
115
- if (props2.direction.includes("x")) {
116
- x.value += moveX.value;
117
- }
118
- if (props2.direction.includes("y")) {
119
- y.value += moveY.value;
120
- }
121
- clampToBoundary();
122
- });
88
+ if (!touching.value || props2.disabled) {
89
+ return;
90
+ }
91
+ moveTouch(event);
92
+ preventDefault(event);
93
+ enableTransition.value = false;
94
+ dragged.value = true;
95
+ if (props2.direction.includes("x")) {
96
+ x.value += moveX.value;
97
+ }
98
+ if (props2.direction.includes("y")) {
99
+ y.value += moveY.value;
100
+ }
101
+ clampToBoundary();
123
102
  }
124
103
  function handleTouchend() {
125
104
  if (props2.disabled) {
package/es/drag/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import Drag from "./Drag.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import Drag from "./Drag.mjs";
3
3
  import { props as dragProps } from "./props.mjs";
4
4
  withInstall(Drag);
5
5
  withPropsDefaultsSetter(Drag, dragProps);
@@ -14,11 +14,11 @@ var __spreadValues = (a, b) => {
14
14
  }
15
15
  return a;
16
16
  };
17
- import VarTooltip from "../tooltip/index.mjs";
18
17
  import { computed, defineComponent } from "vue";
18
+ import { useVModel } from "@varlet/use";
19
+ import VarTooltip from "../tooltip/index.mjs";
19
20
  import { createNamespace } from "../utils/components.mjs";
20
21
  import { props } from "./props.mjs";
21
- import { useVModel } from "@varlet/use";
22
22
  const { name, n, classes } = createNamespace("ellipsis");
23
23
  import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, withCtx as _withCtx, createBlock as _createBlock } from "vue";
24
24
  const _hoisted_1 = { key: 0 };
@@ -1,5 +1,5 @@
1
- import Ellipsis from "./Ellipsis.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import Ellipsis from "./Ellipsis.mjs";
3
3
  import { props as ellipsisProps } from "./props.mjs";
4
4
  withInstall(Ellipsis);
5
5
  withPropsDefaultsSetter(Ellipsis, ellipsisProps);
package/es/fab/Fab.mjs CHANGED
@@ -1,10 +1,9 @@
1
- import { createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, mergeProps as _mergeProps } from "vue";
1
+ import { defineComponent, ref, Transition, watch, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, mergeProps as _mergeProps } from "vue";
2
+ import { call, isBoolean } from "@varlet/shared";
3
+ import { useClickOutside, useVModel } from "@varlet/use";
2
4
  import Button from "../button/index.mjs";
3
- import Icon from "../icon/index.mjs";
4
5
  import Drag from "../drag/index.mjs";
5
- import { defineComponent, ref, Transition, watch } from "vue";
6
- import { useClickOutside, useVModel } from "@varlet/use";
7
- import { isBoolean, call } from "@varlet/shared";
6
+ import Icon from "../icon/index.mjs";
8
7
  import { createNamespace, flatFragment } from "../utils/components.mjs";
9
8
  import { toSizeUnit } from "../utils/elements.mjs";
10
9
  import { props } from "./props.mjs";
package/es/fab/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import Fab from "./Fab.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import Fab from "./Fab.mjs";
3
3
  import { props as fabProps } from "./props.mjs";
4
4
  withInstall(Fab);
5
5
  withPropsDefaultsSetter(Fab, fabProps);
package/es/fab/props.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { defineListenerProp, pickProps } from "../utils/components.mjs";
2
1
  import { iconProps } from "../icon/index.mjs";
2
+ import { defineListenerProp, pickProps } from "../utils/components.mjs";
3
3
  const props = {
4
4
  active: Boolean,
5
5
  show: {
@@ -18,14 +18,14 @@ var __async = (__this, __arguments, generator) => {
18
18
  step((generator = generator.apply(__this, __arguments)).next());
19
19
  });
20
20
  };
21
+ import { computed, defineComponent, nextTick, onUpdated, ref, watch } from "vue";
22
+ import { call, doubleRaf, getStyle, isEmpty } from "@varlet/shared";
23
+ import { onSmartMounted, onWindowResize } from "@varlet/use";
21
24
  import VarIcon from "../icon/index.mjs";
22
- import { defineComponent, ref, computed, nextTick, onUpdated, watch } from "vue";
23
- import { props } from "./props.mjs";
24
- import { isEmpty, getStyle, call, doubleRaf } from "@varlet/shared";
25
- import { createNamespace } from "../utils/components.mjs";
26
- import { onWindowResize, onSmartMounted } from "@varlet/use";
27
25
  import { usePopup } from "../popup/provide.mjs";
28
26
  import { useSwipeResizeDispatcher } from "../swipe/provide.mjs";
27
+ import { createNamespace } from "../utils/components.mjs";
28
+ import { props } from "./props.mjs";
29
29
  const { name, n, classes } = createNamespace("field-decorator");
30
30
  import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, Teleport as _Teleport, createBlock as _createBlock, Fragment as _Fragment } from "vue";
31
31
  const _hoisted_1 = ["for"];
@@ -1,5 +1,5 @@
1
- import FieldDecorator from "./FieldDecorator.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import FieldDecorator from "./FieldDecorator.mjs";
3
3
  import { props as fieldDecoratorProps } from "./props.mjs";
4
4
  withInstall(FieldDecorator);
5
5
  withPropsDefaultsSetter(FieldDecorator, fieldDecoratorProps);
@@ -1,10 +1,10 @@
1
- import { defineComponent, ref, computed, watch } from "vue";
2
- import { props } from "./props.mjs";
1
+ import { computed, defineComponent, ref, watch } from "vue";
2
+ import { call, isEmpty, preventDefault, toNumber } from "@varlet/shared";
3
+ import { useTouch, useVModel, useWindowSize } from "@varlet/use";
3
4
  import { useLock } from "../context/lock.mjs";
4
5
  import { createNamespace, formatElevation, useTeleport } from "../utils/components.mjs";
5
6
  import { toSizeUnit } from "../utils/elements.mjs";
6
- import { useTouch, useWindowSize, useVModel } from "@varlet/use";
7
- import { toNumber, isEmpty, preventDefault, call } from "@varlet/shared";
7
+ import { props } from "./props.mjs";
8
8
  const { name, n, classes } = createNamespace("floating-panel");
9
9
  const DEFAULT_START_ANCHOR = 100;
10
10
  const OVERFLOW_REDUCE_RATIO = 0.2;
@@ -55,8 +55,8 @@ function __render__(_ctx, _cache) {
55
55
  _createElementVNode(
56
56
  "div",
57
57
  {
58
- class: _normalizeClass(_ctx.n("content")),
59
- ref: "contentRef"
58
+ ref: "contentRef",
59
+ class: _normalizeClass(_ctx.n("content"))
60
60
  },
61
61
  [
62
62
  _renderSlot(_ctx.$slots, "default")
@@ -1,5 +1,5 @@
1
- import FloatingPanel from "./FloatingPanel.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import FloatingPanel from "./FloatingPanel.mjs";
3
3
  import { props as floatingPanelProps } from "./props.mjs";
4
4
  withInstall(FloatingPanel);
5
5
  withPropsDefaultsSetter(FloatingPanel, floatingPanelProps);
package/es/form/Form.mjs CHANGED
@@ -18,13 +18,13 @@ var __async = (__this, __arguments, generator) => {
18
18
  step((generator = generator.apply(__this, __arguments)).next());
19
19
  });
20
20
  };
21
- import { defineComponent, computed } from "vue";
22
- import { props } from "./props.mjs";
23
- import { useFormItems } from "./provide.mjs";
21
+ import { computed, defineComponent } from "vue";
22
+ import { call, find, preventDefault } from "@varlet/shared";
24
23
  import { createNamespace } from "../utils/components.mjs";
25
- import { find, preventDefault, call } from "@varlet/shared";
26
24
  import { getParentScroller, getTop, scrollTo, toPxNum } from "../utils/elements.mjs";
27
25
  import { linear } from "../utils/shared.mjs";
26
+ import { props } from "./props.mjs";
27
+ import { useFormItems } from "./provide.mjs";
28
28
  const { name, n } = createNamespace("form");
29
29
  import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
30
30
  function __render__(_ctx, _cache) {
package/es/form/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import Form from "./Form.mjs";
2
1
  import { useValidation, withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
3
- import { useForm } from "./provide.mjs";
2
+ import Form from "./Form.mjs";
4
3
  import { props as formProps } from "./props.mjs";
4
+ import { useForm } from "./provide.mjs";
5
5
  Form.useValidation = useValidation;
6
6
  Form.useForm = useForm;
7
7
  withInstall(Form);
@@ -17,8 +17,8 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { useChildren, useParent } from "@varlet/use";
21
20
  import { getCurrentInstance } from "vue";
21
+ import { useChildren, useParent } from "@varlet/use";
22
22
  const FORM_BIND_FORM_ITEM_KEY = Symbol("FORM_BIND_FORM_ITEM_KEY");
23
23
  function useForm() {
24
24
  const { parentProvider, index, bindParent } = useParent(FORM_BIND_FORM_ITEM_KEY);
@@ -1,5 +1,5 @@
1
- import FormDetails from "./FormDetails.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import FormDetails from "./FormDetails.mjs";
3
3
  import { props as formDetailsProps } from "./props.mjs";
4
4
  withInstall(FormDetails);
5
5
  withPropsDefaultsSetter(FormDetails, formDetailsProps);
@@ -1,7 +1,7 @@
1
1
  import { computed, defineComponent, h } from "vue";
2
- import { props } from "./props.mjs";
3
- import { createNamespace } from "../utils/components.mjs";
4
2
  import { call } from "@varlet/shared";
3
+ import { createNamespace } from "../utils/components.mjs";
4
+ import { props } from "./props.mjs";
5
5
  import { provideHighlighterProvider } from "./provide.mjs";
6
6
  const { name, n } = createNamespace("highlighter-provider");
7
7
  const __sfc__ = defineComponent({
@@ -1,5 +1,5 @@
1
- import HighlighterProvider from "./HighlighterProvider.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import HighlighterProvider from "./HighlighterProvider.mjs";
3
3
  import { props as highlighterProviderProps } from "./props.mjs";
4
4
  withInstall(HighlighterProvider);
5
5
  withPropsDefaultsSetter(HighlighterProvider, highlighterProviderProps);
@@ -1,5 +1,5 @@
1
- import { keyInProvides } from "@varlet/use";
2
1
  import { inject, provide } from "vue";
2
+ import { keyInProvides } from "@varlet/use";
3
3
  const HIGHLIGHTER_PROVIDER_KEY = Symbol("HIGHLIGHTER_PROVIDER_KEY");
4
4
  function provideHighlighterProvider(highlighterProvider) {
5
5
  provide(HIGHLIGHTER_PROVIDER_KEY, highlighterProvider);
@@ -1,4 +1,4 @@
1
- import { isFunction, camelize, inMobile } from "@varlet/shared";
1
+ import { camelize, inMobile, isFunction } from "@varlet/shared";
2
2
  function shouldDisabled(arg) {
3
3
  if (!arg) {
4
4
  return false;
@@ -13,12 +13,17 @@ function shouldDisabled(arg) {
13
13
  }
14
14
  function getStyle(element) {
15
15
  const style = element.getAttribute("style");
16
- if (!style) return {};
17
- return style.split(";").filter(Boolean).reduce((style2, item) => {
18
- const [key, value] = item.split(":").map((item2) => item2.trim());
19
- style2[camelize(key)] = value;
20
- return style2;
21
- }, {});
16
+ if (!style) {
17
+ return {};
18
+ }
19
+ return style.split(";").filter(Boolean).reduce(
20
+ (style2, item) => {
21
+ const [key, value] = item.split(":").map((item2) => item2.trim());
22
+ style2[camelize(key)] = value;
23
+ return style2;
24
+ },
25
+ {}
26
+ );
22
27
  }
23
28
  function updateRawStyle(element) {
24
29
  const { value } = element._hover;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent } from "vue";
2
- import { props } from "./props.mjs";
3
- import { createNamespace } from "../utils/components.mjs";
4
2
  import { inMobile } from "@varlet/shared";
3
+ import { createNamespace } from "../utils/components.mjs";
4
+ import { props } from "./props.mjs";
5
5
  const { name, n, classes } = createNamespace("hover-overlay");
6
6
  import { normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
7
7
  function __render__(_ctx, _cache) {
@@ -1,7 +1,7 @@
1
- import HoverOverlay from "./HoverOverlay.mjs";
1
+ import { ref } from "vue";
2
2
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
3
+ import HoverOverlay from "./HoverOverlay.mjs";
3
4
  import { props as hoverOverlayProps } from "./props.mjs";
4
- import { ref } from "vue";
5
5
  withInstall(HoverOverlay);
6
6
  withPropsDefaultsSetter(HoverOverlay, hoverOverlayProps);
7
7
  function useHoverOverlay() {
package/es/icon/Icon.mjs CHANGED
@@ -18,11 +18,11 @@ var __async = (__this, __arguments, generator) => {
18
18
  step((generator = generator.apply(__this, __arguments)).next());
19
19
  });
20
20
  };
21
- import { defineComponent, watch, ref, nextTick } from "vue";
21
+ import { defineComponent, nextTick, ref, watch } from "vue";
22
22
  import { isURL, toNumber } from "@varlet/shared";
23
- import { props } from "./props.mjs";
24
- import { toSizeUnit } from "../utils/elements.mjs";
25
23
  import { createNamespace } from "../utils/components.mjs";
24
+ import { toSizeUnit } from "../utils/elements.mjs";
25
+ import { props } from "./props.mjs";
26
26
  const { name, n, classes } = createNamespace("icon");
27
27
  import { resolveDynamicComponent as _resolveDynamicComponent, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createBlock as _createBlock } from "vue";
28
28
  function __render__(_ctx, _cache) {
package/es/icon/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import Icon from "./Icon.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import Icon from "./Icon.mjs";
3
3
  import { props as iconProps } from "./props.mjs";
4
4
  withInstall(Icon);
5
5
  withPropsDefaultsSetter(Icon, iconProps);
@@ -1,10 +1,10 @@
1
- import Ripple from "../ripple/index.mjs";
1
+ import { defineComponent, ref, watch } from "vue";
2
+ import { call } from "@varlet/shared";
2
3
  import Lazy from "../lazy/index.mjs";
3
- import { watch, defineComponent, ref } from "vue";
4
- import { props } from "./props.mjs";
5
- import { toSizeUnit } from "../utils/elements.mjs";
4
+ import Ripple from "../ripple/index.mjs";
6
5
  import { createNamespace } from "../utils/components.mjs";
7
- import { call } from "@varlet/shared";
6
+ import { toSizeUnit } from "../utils/elements.mjs";
7
+ import { props } from "./props.mjs";
8
8
  const { name, n, classes } = createNamespace("image");
9
9
  import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from "vue";
10
10
  const _hoisted_1 = ["alt", "title", "referrerpolicy", "lazy-loading", "lazy-error"];
@@ -1,5 +1,5 @@
1
- import Image from "./Image.mjs";
2
1
  import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
2
+ import Image from "./Image.mjs";
3
3
  import { props as imageProps } from "./props.mjs";
4
4
  withInstall(Image);
5
5
  withPropsDefaultsSetter(Image, imageProps);