@varlet/ui 2.7.0-alpha.1673534139536 → 2.7.0-alpha.1673617166404

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 (396) hide show
  1. package/es/action-sheet/ActionSheet.mjs +7 -7
  2. package/es/action-sheet/index.mjs +2 -2
  3. package/es/action-sheet/props.mjs +2 -2
  4. package/es/app-bar/AppBar.mjs +2 -2
  5. package/es/app-bar/index.mjs +1 -1
  6. package/es/back-top/BackTop.mjs +6 -6
  7. package/es/back-top/index.mjs +1 -1
  8. package/es/back-top/props.mjs +1 -1
  9. package/es/badge/Badge.mjs +3 -3
  10. package/es/badge/index.mjs +1 -1
  11. package/es/bottom-navigation/BottomNavigation.mjs +4 -4
  12. package/es/bottom-navigation/index.mjs +1 -1
  13. package/es/bottom-navigation/props.mjs +1 -1
  14. package/es/bottom-navigation/provide.mjs +1 -1
  15. package/es/bottom-navigation-item/BottomNavigationItem.mjs +6 -6
  16. package/es/bottom-navigation-item/index.mjs +1 -1
  17. package/es/bottom-navigation-item/props.mjs +1 -1
  18. package/es/bottom-navigation-item/provide.mjs +2 -2
  19. package/es/breadcrumb/Breadcrumb.mjs +3 -3
  20. package/es/breadcrumb/index.mjs +1 -1
  21. package/es/breadcrumb/props.mjs +1 -1
  22. package/es/breadcrumb/provide.mjs +2 -2
  23. package/es/breadcrumbs/Breadcrumbs.mjs +3 -3
  24. package/es/breadcrumbs/index.mjs +1 -1
  25. package/es/breadcrumbs/provide.mjs +1 -1
  26. package/es/button/Button.mjs +4 -4
  27. package/es/button/index.mjs +1 -1
  28. package/es/button/props.mjs +2 -2
  29. package/es/card/Card.mjs +8 -8
  30. package/es/card/index.mjs +1 -1
  31. package/es/card/props.mjs +1 -1
  32. package/es/cell/Cell.mjs +3 -3
  33. package/es/cell/index.mjs +1 -1
  34. package/es/checkbox/Checkbox.mjs +7 -7
  35. package/es/checkbox/index.mjs +1 -1
  36. package/es/checkbox/props.mjs +1 -1
  37. package/es/checkbox/provide.mjs +2 -2
  38. package/es/checkbox-group/CheckboxGroup.mjs +5 -5
  39. package/es/checkbox-group/index.mjs +1 -1
  40. package/es/checkbox-group/props.mjs +1 -1
  41. package/es/checkbox-group/provide.mjs +1 -1
  42. package/es/chip/Chip.mjs +3 -3
  43. package/es/chip/index.mjs +1 -1
  44. package/es/chip/props.mjs +2 -2
  45. package/es/col/Col.mjs +4 -4
  46. package/es/col/index.mjs +1 -1
  47. package/es/col/props.mjs +1 -1
  48. package/es/col/provide.mjs +2 -2
  49. package/es/collapse/Collapse.mjs +3 -3
  50. package/es/collapse/index.mjs +1 -1
  51. package/es/collapse/props.mjs +1 -1
  52. package/es/collapse/provide.mjs +1 -1
  53. package/es/collapse-item/CollapseItem.mjs +5 -5
  54. package/es/collapse-item/index.mjs +1 -1
  55. package/es/collapse-item/provide.mjs +2 -2
  56. package/es/context/lock.mjs +1 -1
  57. package/es/context/zIndex.mjs +1 -1
  58. package/es/countdown/Countdown.mjs +4 -4
  59. package/es/countdown/index.mjs +1 -1
  60. package/es/countdown/props.mjs +1 -1
  61. package/es/counter/Counter.mjs +7 -7
  62. package/es/counter/index.mjs +1 -1
  63. package/es/counter/props.mjs +1 -1
  64. package/es/date-picker/DatePicker.mjs +8 -8
  65. package/es/date-picker/index.mjs +1 -1
  66. package/es/date-picker/props.mjs +1 -1
  67. package/es/date-picker/src/day-picker-panel.mjs +5 -5
  68. package/es/date-picker/src/month-picker-panel.mjs +5 -5
  69. package/es/date-picker/src/panel-header.mjs +4 -4
  70. package/es/date-picker/src/year-picker-panel.mjs +1 -1
  71. package/es/dialog/Dialog.mjs +7 -7
  72. package/es/dialog/index.mjs +2 -2
  73. package/es/dialog/props.mjs +2 -2
  74. package/es/divider/Divider.mjs +3 -3
  75. package/es/divider/index.mjs +1 -1
  76. package/es/form/Form.mjs +5 -5
  77. package/es/form/index.mjs +3 -3
  78. package/es/form/provide.mjs +1 -1
  79. package/es/form-details/FormDetails.mjs +2 -2
  80. package/es/form-details/index.mjs +1 -1
  81. package/es/icon/Icon.mjs +3 -3
  82. package/es/icon/index.mjs +1 -1
  83. package/es/icon/props.mjs +1 -1
  84. package/es/image/Image.mjs +5 -5
  85. package/es/image/index.mjs +1 -1
  86. package/es/image/props.mjs +1 -1
  87. package/es/image-preview/ImagePreview.mjs +6 -6
  88. package/es/image-preview/index.mjs +2 -2
  89. package/es/image-preview/props.mjs +3 -3
  90. package/es/index-anchor/IndexAnchor.mjs +4 -4
  91. package/es/index-anchor/index.mjs +1 -1
  92. package/es/index-anchor/provide.mjs +2 -2
  93. package/es/index-bar/IndexBar.mjs +5 -5
  94. package/es/index-bar/index.mjs +1 -1
  95. package/es/index-bar/props.mjs +1 -1
  96. package/es/index-bar/provide.mjs +1 -1
  97. package/es/index.mjs +147 -144
  98. package/es/index.umd.mjs +75 -72
  99. package/es/input/Input.mjs +5 -5
  100. package/es/input/index.mjs +1 -1
  101. package/es/input/props.mjs +1 -1
  102. package/es/lazy/index.mjs +3 -3
  103. package/es/link/Link.mjs +3 -3
  104. package/es/link/index.mjs +1 -1
  105. package/es/link/props.mjs +1 -1
  106. package/es/list/List.mjs +7 -7
  107. package/es/list/index.mjs +1 -1
  108. package/es/list/props.mjs +1 -1
  109. package/es/loading/Loading.mjs +3 -3
  110. package/es/loading/index.mjs +1 -1
  111. package/es/loading-bar/LoadingBar.mjs +4 -4
  112. package/es/loading-bar/index.mjs +2 -2
  113. package/es/locale/index.mjs +2 -2
  114. package/es/menu/Menu.mjs +4 -4
  115. package/es/menu/index.mjs +1 -1
  116. package/es/menu/props.mjs +1 -1
  117. package/es/menu/usePopover.mjs +3 -3
  118. package/es/option/Option.mjs +5 -5
  119. package/es/option/index.mjs +1 -1
  120. package/es/option/provide.mjs +2 -2
  121. package/es/overlay/Overlay.mjs +4 -4
  122. package/es/overlay/index.mjs +1 -1
  123. package/es/overlay/props.mjs +1 -1
  124. package/es/pagination/Pagination.mjs +8 -8
  125. package/es/pagination/index.mjs +1 -1
  126. package/es/pagination/porps.mjs +1 -1
  127. package/es/picker/Picker.mjs +7 -7
  128. package/es/picker/index.mjs +2 -2
  129. package/es/picker/props.mjs +2 -2
  130. package/es/popup/Popup.mjs +4 -4
  131. package/es/popup/index.mjs +1 -1
  132. package/es/popup/props.mjs +1 -1
  133. package/es/progress/Progress.mjs +3 -3
  134. package/es/progress/index.mjs +1 -1
  135. package/es/pull-refresh/PullRefresh.mjs +4 -4
  136. package/es/pull-refresh/index.mjs +1 -1
  137. package/es/pull-refresh/props.mjs +1 -1
  138. package/es/radio/Radio.mjs +7 -7
  139. package/es/radio/index.mjs +1 -1
  140. package/es/radio/props.mjs +1 -1
  141. package/es/radio/provide.mjs +2 -2
  142. package/es/radio-group/RadioGroup.mjs +5 -5
  143. package/es/radio-group/index.mjs +1 -1
  144. package/es/radio-group/props.mjs +1 -1
  145. package/es/radio-group/provide.mjs +1 -1
  146. package/es/rate/Rate.mjs +7 -7
  147. package/es/rate/index.mjs +1 -1
  148. package/es/rate/props.mjs +1 -1
  149. package/es/result/Result.mjs +9 -9
  150. package/es/result/Success.mjs +1 -1
  151. package/es/result/index.mjs +1 -1
  152. package/es/ripple/index.mjs +3 -3
  153. package/es/row/Row.mjs +4 -4
  154. package/es/row/index.mjs +1 -1
  155. package/es/row/props.mjs +1 -1
  156. package/es/row/provide.mjs +1 -1
  157. package/es/select/Select.mjs +9 -9
  158. package/es/select/index.mjs +1 -1
  159. package/es/select/props.mjs +1 -1
  160. package/es/select/provide.mjs +1 -1
  161. package/es/skeleton/Skeleton.mjs +3 -3
  162. package/es/skeleton/index.mjs +1 -1
  163. package/es/slider/Slider.mjs +5 -5
  164. package/es/slider/index.mjs +1 -1
  165. package/es/slider/props.mjs +1 -1
  166. package/es/snackbar/Snackbar.mjs +3 -3
  167. package/es/snackbar/core.mjs +7 -7
  168. package/es/snackbar/index.mjs +4 -4
  169. package/es/snackbar/props.mjs +3 -3
  170. package/es/space/Space.mjs +4 -4
  171. package/es/space/index.mjs +1 -1
  172. package/es/step/Step.mjs +4 -4
  173. package/es/step/index.mjs +1 -1
  174. package/es/step/provide.mjs +2 -2
  175. package/es/steps/Steps.mjs +3 -3
  176. package/es/steps/index.mjs +1 -1
  177. package/es/steps/props.mjs +1 -1
  178. package/es/steps/provide.mjs +1 -1
  179. package/es/sticky/Sticky.mjs +3 -3
  180. package/es/sticky/index.mjs +1 -1
  181. package/es/sticky/props.mjs +1 -1
  182. package/es/style-provider/StyleProvider.mjs +2 -2
  183. package/es/style-provider/index.mjs +2 -2
  184. package/es/swipe/Swipe.mjs +4 -4
  185. package/es/swipe/index.mjs +1 -1
  186. package/es/swipe/props.mjs +1 -1
  187. package/es/swipe/provide.mjs +1 -1
  188. package/es/swipe-item/SwipeItem.mjs +2 -2
  189. package/es/swipe-item/index.mjs +1 -1
  190. package/es/swipe-item/provide.mjs +2 -2
  191. package/es/switch/Switch.mjs +7 -7
  192. package/es/switch/index.mjs +1 -1
  193. package/es/switch/props.mjs +1 -1
  194. package/es/tab/Tab.mjs +4 -4
  195. package/es/tab/index.mjs +1 -1
  196. package/es/tab/props.mjs +1 -1
  197. package/es/tab/provide.mjs +2 -2
  198. package/es/tab-item/TabItem.mjs +4 -4
  199. package/es/tab-item/index.mjs +1 -1
  200. package/es/tab-item/provide.mjs +2 -2
  201. package/es/table/Table.mjs +2 -2
  202. package/es/table/index.mjs +1 -1
  203. package/es/tabs/Tabs.mjs +6 -6
  204. package/es/tabs/index.mjs +1 -1
  205. package/es/tabs/props.mjs +2 -2
  206. package/es/tabs/provide.mjs +1 -1
  207. package/es/tabs-items/TabsItems.mjs +5 -5
  208. package/es/tabs-items/index.mjs +1 -1
  209. package/es/tabs-items/props.mjs +1 -1
  210. package/es/tabs-items/provide.mjs +1 -1
  211. package/es/themes/dark/index.mjs +32 -32
  212. package/es/themes/index.mjs +1 -1
  213. package/es/time-picker/TimePicker.mjs +5 -5
  214. package/es/time-picker/clock.mjs +4 -4
  215. package/es/time-picker/index.mjs +1 -1
  216. package/es/time-picker/props.mjs +1 -1
  217. package/es/time-picker/utils.mjs +1 -1
  218. package/es/tooltip/Tooltip.mjs +3 -3
  219. package/es/tooltip/index.mjs +1 -1
  220. package/es/tooltip/props.mjs +1 -1
  221. package/es/uploader/Uploader.mjs +9 -9
  222. package/es/uploader/index.mjs +1 -1
  223. package/es/uploader/props.mjs +1 -1
  224. package/es/utils/elements.mjs +1 -1
  225. package/es/varlet.esm.js +8 -5
  226. package/highlight/web-types.json +1 -1
  227. package/lib/action-sheet/ActionSheet.js +7 -7
  228. package/lib/action-sheet/index.js +1 -1
  229. package/lib/action-sheet/props.js +2 -2
  230. package/lib/app-bar/AppBar.js +2 -2
  231. package/lib/back-top/BackTop.js +6 -6
  232. package/lib/back-top/props.js +1 -1
  233. package/lib/badge/Badge.js +3 -3
  234. package/lib/bottom-navigation/BottomNavigation.js +4 -4
  235. package/lib/bottom-navigation/props.js +1 -1
  236. package/lib/bottom-navigation/provide.js +1 -1
  237. package/lib/bottom-navigation-item/BottomNavigationItem.js +6 -6
  238. package/lib/bottom-navigation-item/props.js +1 -1
  239. package/lib/bottom-navigation-item/provide.js +2 -2
  240. package/lib/breadcrumb/Breadcrumb.js +3 -3
  241. package/lib/breadcrumb/props.js +1 -1
  242. package/lib/breadcrumb/provide.js +2 -2
  243. package/lib/breadcrumbs/Breadcrumbs.js +3 -3
  244. package/lib/breadcrumbs/provide.js +1 -1
  245. package/lib/button/Button.js +4 -4
  246. package/lib/button/props.js +2 -2
  247. package/lib/card/Card.js +8 -8
  248. package/lib/card/props.js +1 -1
  249. package/lib/cell/Cell.js +3 -3
  250. package/lib/checkbox/Checkbox.js +7 -7
  251. package/lib/checkbox/props.js +1 -1
  252. package/lib/checkbox/provide.js +2 -2
  253. package/lib/checkbox-group/CheckboxGroup.js +5 -5
  254. package/lib/checkbox-group/props.js +1 -1
  255. package/lib/checkbox-group/provide.js +1 -1
  256. package/lib/chip/Chip.js +3 -3
  257. package/lib/chip/props.js +2 -2
  258. package/lib/col/Col.js +4 -4
  259. package/lib/col/props.js +1 -1
  260. package/lib/col/provide.js +2 -2
  261. package/lib/collapse/Collapse.js +3 -3
  262. package/lib/collapse/props.js +1 -1
  263. package/lib/collapse/provide.js +1 -1
  264. package/lib/collapse-item/CollapseItem.js +5 -5
  265. package/lib/collapse-item/provide.js +2 -2
  266. package/lib/context/lock.js +1 -1
  267. package/lib/context/zIndex.js +1 -1
  268. package/lib/countdown/Countdown.js +4 -4
  269. package/lib/countdown/props.js +1 -1
  270. package/lib/counter/Counter.js +7 -7
  271. package/lib/counter/props.js +1 -1
  272. package/lib/date-picker/DatePicker.js +5 -5
  273. package/lib/date-picker/props.js +1 -1
  274. package/lib/date-picker/src/day-picker-panel.js +4 -4
  275. package/lib/date-picker/src/month-picker-panel.js +4 -4
  276. package/lib/date-picker/src/panel-header.js +4 -4
  277. package/lib/date-picker/src/year-picker-panel.js +1 -1
  278. package/lib/dialog/Dialog.js +7 -7
  279. package/lib/dialog/index.js +1 -1
  280. package/lib/dialog/props.js +2 -2
  281. package/lib/divider/Divider.js +3 -3
  282. package/lib/form/Form.js +5 -5
  283. package/lib/form/index.js +2 -2
  284. package/lib/form/provide.js +1 -1
  285. package/lib/form-details/FormDetails.js +2 -2
  286. package/lib/icon/Icon.js +3 -3
  287. package/lib/icon/props.js +1 -1
  288. package/lib/image/Image.js +5 -5
  289. package/lib/image/props.js +1 -1
  290. package/lib/image-preview/ImagePreview.js +6 -6
  291. package/lib/image-preview/index.js +1 -1
  292. package/lib/image-preview/props.js +3 -3
  293. package/lib/index-anchor/IndexAnchor.js +4 -4
  294. package/lib/index-anchor/provide.js +2 -2
  295. package/lib/index-bar/IndexBar.js +5 -5
  296. package/lib/index-bar/props.js +1 -1
  297. package/lib/index-bar/provide.js +1 -1
  298. package/lib/index.js +84 -0
  299. package/lib/input/Input.js +5 -5
  300. package/lib/input/props.js +1 -1
  301. package/lib/lazy/index.js +3 -3
  302. package/lib/link/Link.js +3 -3
  303. package/lib/link/props.js +1 -1
  304. package/lib/list/List.js +7 -7
  305. package/lib/list/props.js +1 -1
  306. package/lib/loading/Loading.js +3 -3
  307. package/lib/loading-bar/LoadingBar.js +4 -4
  308. package/lib/loading-bar/index.js +2 -2
  309. package/lib/locale/index.js +2 -2
  310. package/lib/menu/Menu.js +4 -4
  311. package/lib/menu/props.js +1 -1
  312. package/lib/menu/usePopover.js +3 -3
  313. package/lib/option/Option.js +5 -5
  314. package/lib/option/provide.js +2 -2
  315. package/lib/overlay/Overlay.js +4 -4
  316. package/lib/overlay/index.js +1 -1
  317. package/lib/overlay/props.js +1 -1
  318. package/lib/pagination/Pagination.js +8 -8
  319. package/lib/pagination/porps.js +1 -1
  320. package/lib/picker/Picker.js +7 -7
  321. package/lib/picker/index.js +1 -1
  322. package/lib/picker/props.js +2 -2
  323. package/lib/popup/Popup.js +4 -4
  324. package/lib/popup/index.js +1 -1
  325. package/lib/popup/props.js +1 -1
  326. package/lib/progress/Progress.js +3 -3
  327. package/lib/pull-refresh/PullRefresh.js +4 -4
  328. package/lib/pull-refresh/props.js +1 -1
  329. package/lib/radio/Radio.js +7 -7
  330. package/lib/radio/props.js +1 -1
  331. package/lib/radio/provide.js +2 -2
  332. package/lib/radio-group/RadioGroup.js +5 -5
  333. package/lib/radio-group/props.js +1 -1
  334. package/lib/radio-group/provide.js +1 -1
  335. package/lib/rate/Rate.js +7 -7
  336. package/lib/rate/props.js +1 -1
  337. package/lib/result/Result.js +3 -3
  338. package/lib/result/Success.js +1 -1
  339. package/lib/ripple/index.js +3 -3
  340. package/lib/row/Row.js +4 -4
  341. package/lib/row/props.js +1 -1
  342. package/lib/row/provide.js +1 -1
  343. package/lib/select/Select.js +9 -9
  344. package/lib/select/props.js +1 -1
  345. package/lib/select/provide.js +1 -1
  346. package/lib/skeleton/Skeleton.js +3 -3
  347. package/lib/slider/Slider.js +5 -5
  348. package/lib/slider/props.js +1 -1
  349. package/lib/snackbar/Snackbar.js +3 -3
  350. package/lib/snackbar/core.js +7 -7
  351. package/lib/snackbar/index.js +2 -2
  352. package/lib/snackbar/props.js +3 -3
  353. package/lib/snackbar/style/index.js +1 -1
  354. package/lib/space/Space.js +4 -4
  355. package/lib/space/index.js +1 -1
  356. package/lib/step/Step.js +4 -4
  357. package/lib/step/provide.js +2 -2
  358. package/lib/steps/Steps.js +3 -3
  359. package/lib/steps/props.js +1 -1
  360. package/lib/steps/provide.js +1 -1
  361. package/lib/sticky/Sticky.js +3 -3
  362. package/lib/sticky/props.js +1 -1
  363. package/lib/style-provider/StyleProvider.js +2 -2
  364. package/lib/style-provider/index.js +1 -1
  365. package/lib/swipe/Swipe.js +4 -4
  366. package/lib/swipe/props.js +1 -1
  367. package/lib/swipe/provide.js +1 -1
  368. package/lib/swipe-item/SwipeItem.js +2 -2
  369. package/lib/swipe-item/provide.js +2 -2
  370. package/lib/switch/Switch.js +7 -7
  371. package/lib/switch/props.js +1 -1
  372. package/lib/tab/Tab.js +4 -4
  373. package/lib/tab/props.js +1 -1
  374. package/lib/tab/provide.js +2 -2
  375. package/lib/tab-item/TabItem.js +4 -4
  376. package/lib/tab-item/provide.js +2 -2
  377. package/lib/table/Table.js +2 -2
  378. package/lib/tabs/Tabs.js +6 -6
  379. package/lib/tabs/props.js +2 -2
  380. package/lib/tabs/provide.js +1 -1
  381. package/lib/tabs-items/TabsItems.js +5 -5
  382. package/lib/tabs-items/props.js +1 -1
  383. package/lib/tabs-items/provide.js +1 -1
  384. package/lib/themes/dark/index.js +32 -32
  385. package/lib/themes/index.js +1 -1
  386. package/lib/time-picker/TimePicker.js +4 -4
  387. package/lib/time-picker/clock.js +4 -4
  388. package/lib/time-picker/props.js +1 -1
  389. package/lib/time-picker/utils.js +1 -1
  390. package/lib/tooltip/Tooltip.js +3 -3
  391. package/lib/tooltip/props.js +1 -1
  392. package/lib/uploader/Uploader.js +9 -9
  393. package/lib/uploader/props.js +1 -1
  394. package/lib/utils/elements.js +1 -1
  395. package/package.json +5 -5
  396. package/umd/varlet.js +6 -6
@@ -1,11 +1,11 @@
1
- import Ripple from '../ripple';
2
- import VarPopup from '../popup';
3
- import VarIcon from '../icon';
1
+ import Ripple from '../ripple/index.mjs';
2
+ import VarPopup from '../popup/index.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
4
  import { defineComponent, ref, watch } from 'vue';
5
- import { props } from './props';
6
- import { dt } from '../utils/shared';
7
- import { pack } from '../locale';
8
- import { createNamespace, call } from '../utils/components';
5
+ import { props } from './props.mjs';
6
+ import { dt } from '../utils/shared.mjs';
7
+ import { pack } from '../locale/index.mjs';
8
+ import { createNamespace, call } from '../utils/components.mjs';
9
9
  var {
10
10
  n,
11
11
  classes
@@ -1,7 +1,7 @@
1
- import VarActionSheet from './ActionSheet.mjs'
1
+ import VarActionSheet from './ActionSheet.mjs';
2
2
  import { nextTick, reactive } from 'vue';
3
3
  import { inBrowser } from '@varlet/shared';
4
- import { call, mountInstance } from '../utils/components';
4
+ import { call, mountInstance } from '../utils/components.mjs';
5
5
  var singletonOptions;
6
6
 
7
7
  function ActionSheet(options) {
@@ -1,7 +1,7 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import { defineListenerProp, pickProps } from '../utils/components';
4
- import { props as popupProps } from '../popup/props';
3
+ import { defineListenerProp, pickProps } from '../utils/components.mjs';
4
+ import { props as popupProps } from '../popup/props.mjs';
5
5
  export var props = _extends({
6
6
  show: {
7
7
  type: Boolean,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, onUpdated } from 'vue';
2
- import { props } from './props';
3
- import { createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import { createNamespace } from '../utils/components.mjs';
4
4
  var {
5
5
  n,
6
6
  classes
@@ -1,4 +1,4 @@
1
- import AppBar from './AppBar.mjs'
1
+ import AppBar from './AppBar.mjs';
2
2
 
3
3
  AppBar.install = function (app) {
4
4
  app.component(AppBar.name, AppBar);
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, ref, onMounted, onBeforeUnmount } from 'vue';
2
- import VarButton from '../button';
3
- import VarIcon from '../icon';
4
- import { props } from './props';
2
+ import VarButton from '../button/index.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
+ import { props } from './props.mjs';
5
5
  import { throttle } from '@varlet/shared';
6
- import { easeInOutCubic } from '../utils/shared';
7
- import { getScrollTop, getScrollLeft, scrollTo, getParentScroller, toPxNum, toSizeUnit, getTarget } from '../utils/elements';
8
- import { call, createNamespace } from '../utils/components';
6
+ import { easeInOutCubic } from '../utils/shared.mjs';
7
+ import { getScrollTop, getScrollLeft, scrollTo, getParentScroller, toPxNum, toSizeUnit, getTarget } from '../utils/elements.mjs';
8
+ import { call, createNamespace } from '../utils/components.mjs';
9
9
  var {
10
10
  n,
11
11
  classes
@@ -1,4 +1,4 @@
1
- import BackTop from './BackTop.mjs'
1
+ import BackTop from './BackTop.mjs';
2
2
 
3
3
  BackTop.install = function (app) {
4
4
  app.component(BackTop.name, BackTop);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  visibilityHeight: {
4
4
  type: [Number, String],
@@ -1,8 +1,8 @@
1
- import VarIcon from '../icon';
1
+ import VarIcon from '../icon/index.mjs';
2
2
  import { toNumber } from '@varlet/shared';
3
3
  import { computed, defineComponent } from 'vue';
4
- import { props } from './props';
5
- import { createNamespace } from '../utils/components';
4
+ import { props } from './props.mjs';
5
+ import { createNamespace } from '../utils/components.mjs';
6
6
  var {
7
7
  n,
8
8
  classes
@@ -1,4 +1,4 @@
1
- import Badge from './Badge.mjs'
1
+ import Badge from './Badge.mjs';
2
2
 
3
3
  Badge.install = function (app) {
4
4
  app.component(Badge.name, Badge);
@@ -1,10 +1,10 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import VarButton from '../button';
3
+ import VarButton from '../button/index.mjs';
4
4
  import { defineComponent, ref, computed, onMounted, onUpdated, watch } from 'vue';
5
- import { props } from './props';
6
- import { useBottomNavigationItems } from './provide';
7
- import { createNamespace, call } from '../utils/components';
5
+ import { props } from './props.mjs';
6
+ import { useBottomNavigationItems } from './provide.mjs';
7
+ import { createNamespace, call } from '../utils/components.mjs';
8
8
  import { isNumber, isArray } from '@varlet/shared';
9
9
  var {
10
10
  n,
@@ -1,4 +1,4 @@
1
- import BottomNavigation from './BottomNavigation.mjs'
1
+ import BottomNavigation from './BottomNavigation.mjs';
2
2
 
3
3
  BottomNavigation.install = function (app) {
4
4
  app.component(BottomNavigation.name, BottomNavigation);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  active: {
4
4
  type: [Number, String],
@@ -1,4 +1,4 @@
1
- import { useAtChildrenCounter, useChildren } from '../utils/components';
1
+ import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
2
2
  export var BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY = Symbol('BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY');
3
3
  export var BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY = Symbol('BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY');
4
4
  export function useBottomNavigationItems() {
@@ -1,10 +1,10 @@
1
- import Ripple from '../ripple';
2
- import VarBadge from '../badge';
3
- import VarIcon from '../icon';
1
+ import Ripple from '../ripple/index.mjs';
2
+ import VarBadge from '../badge/index.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
4
  import { defineComponent, computed, ref, watch } from 'vue';
5
- import { props } from './props';
6
- import { useBottomNavigation } from './provide';
7
- import { createNamespace, call } from '../utils/components';
5
+ import { props } from './props.mjs';
6
+ import { useBottomNavigation } from './provide.mjs';
7
+ import { createNamespace, call } from '../utils/components.mjs';
8
8
  var {
9
9
  n,
10
10
  classes
@@ -1,4 +1,4 @@
1
- import BottomNavigationItem from './BottomNavigationItem.mjs'
1
+ import BottomNavigationItem from './BottomNavigationItem.mjs';
2
2
 
3
3
  BottomNavigationItem.install = function (app) {
4
4
  app.component(BottomNavigationItem.name, BottomNavigationItem);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  name: {
4
4
  type: String
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY, BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY } from '../bottom-navigation/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY, BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY } from '../bottom-navigation/provide.mjs';
3
3
  export function useBottomNavigation() {
4
4
  var {
5
5
  parentProvider,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed } from 'vue';
2
- import { props } from './props';
3
- import { useBreadcrumb } from './provide';
4
- import { call, createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import { useBreadcrumb } from './provide.mjs';
4
+ import { call, createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n,
7
7
  classes
@@ -1,4 +1,4 @@
1
- import Breadcrumb from './Breadcrumb.mjs'
1
+ import Breadcrumb from './Breadcrumb.mjs';
2
2
 
3
3
  Breadcrumb.install = function (app) {
4
4
  app.component(Breadcrumb.name, Breadcrumb);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  separator: {
4
4
  type: String
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY, BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY } from '../breadcrumbs/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY, BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY } from '../breadcrumbs/provide.mjs';
3
3
  export function useBreadcrumb() {
4
4
  var {
5
5
  parentProvider,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed } from 'vue';
2
- import { props } from './props';
3
- import { useBreadcrumbsList } from './provide';
4
- import { createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import { useBreadcrumbsList } from './provide.mjs';
4
+ import { createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n
7
7
  } = createNamespace('breadcrumbs');
@@ -1,4 +1,4 @@
1
- import Breadcrumbs from './Breadcrumbs.mjs'
1
+ import Breadcrumbs from './Breadcrumbs.mjs';
2
2
 
3
3
  Breadcrumbs.install = function (app) {
4
4
  app.component(Breadcrumbs.name, Breadcrumbs);
@@ -1,4 +1,4 @@
1
- import { useAtChildrenCounter, useChildren } from '../utils/components';
1
+ import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
2
2
  export var BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY = Symbol('BREADCRUMBS_BIND_BREADCRUMB_KEY');
3
3
  export var BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY = Symbol('BREADCRUMBS_COUNT_BREADCRUMB_KEY');
4
4
  export function useBreadcrumbsList() {
@@ -1,8 +1,8 @@
1
- import Ripple from '../ripple';
2
- import VarLoading from '../loading';
1
+ import Ripple from '../ripple/index.mjs';
2
+ import VarLoading from '../loading/index.mjs';
3
3
  import { defineComponent, ref } from 'vue';
4
- import { props } from './props';
5
- import { call, createNamespace } from '../utils/components';
4
+ import { props } from './props.mjs';
5
+ import { call, createNamespace } from '../utils/components.mjs';
6
6
  import { isArray } from '@varlet/shared';
7
7
  var {
8
8
  n,
@@ -1,4 +1,4 @@
1
- import Button from './Button.mjs'
1
+ import Button from './Button.mjs';
2
2
 
3
3
  Button.install = function (app) {
4
4
  app.component(Button.name, Button);
@@ -1,7 +1,7 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
 
3
- import { props as loadingProps } from '../loading/props';
4
- import { defineListenerProp, pickProps } from '../utils/components';
3
+ import { props as loadingProps } from '../loading/props.mjs';
4
+ import { defineListenerProp, pickProps } from '../utils/components.mjs';
5
5
 
6
6
  function typeValidator(type) {
7
7
  return ['default', 'primary', 'info', 'success', 'warning', 'danger'].includes(type);
package/es/card/Card.mjs CHANGED
@@ -2,15 +2,15 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
2
2
 
3
3
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
4
4
 
5
- import Ripple from '../ripple';
6
- import VarIcon from '../icon';
7
- import VarButton from '../button';
5
+ import Ripple from '../ripple/index.mjs';
6
+ import VarIcon from '../icon/index.mjs';
7
+ import VarButton from '../button/index.mjs';
8
8
  import { ref, defineComponent, watch, computed, nextTick } from 'vue';
9
- import { props } from './props';
10
- import { doubleRaf, toSizeUnit } from '../utils/elements';
11
- import { call, createNamespace } from '../utils/components';
12
- import { useZIndex } from '../context/zIndex';
13
- import { useLock } from '../context/lock';
9
+ import { props } from './props.mjs';
10
+ import { doubleRaf, toSizeUnit } from '../utils/elements.mjs';
11
+ import { call, createNamespace } from '../utils/components.mjs';
12
+ import { useZIndex } from '../context/zIndex.mjs';
13
+ import { useLock } from '../context/lock.mjs';
14
14
  var {
15
15
  n,
16
16
  classes
package/es/card/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import Card from './Card.mjs'
1
+ import Card from './Card.mjs';
2
2
 
3
3
  Card.install = function (app) {
4
4
  app.component(Card.name, Card);
package/es/card/props.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
 
3
3
  function fitValidator(fit) {
4
4
  return ['fill', 'contain', 'cover', 'none', 'scale-down'].includes(fit);
package/es/cell/Cell.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent } from 'vue';
2
- import { props } from './props';
3
- import VarIcon from '../icon';
4
- import { createNamespace } from '../utils/components';
2
+ import { props } from './props.mjs';
3
+ import VarIcon from '../icon/index.mjs';
4
+ import { createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n,
7
7
  classes
package/es/cell/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import Cell from './Cell.mjs'
1
+ import Cell from './Cell.mjs';
2
2
 
3
3
  Cell.install = function (app) {
4
4
  app.component(Cell.name, Cell);
@@ -1,11 +1,11 @@
1
- import VarIcon from '../icon';
2
- import VarFormDetails from '../form-details';
3
- import Ripple from '../ripple';
1
+ import VarIcon from '../icon/index.mjs';
2
+ import VarFormDetails from '../form-details/index.mjs';
3
+ import Ripple from '../ripple/index.mjs';
4
4
  import { defineComponent, ref, computed, watch, nextTick } from 'vue';
5
- import { props } from './props';
6
- import { useValidation, createNamespace, call } from '../utils/components';
7
- import { useCheckboxGroup } from './provide';
8
- import { useForm } from '../form/provide';
5
+ import { props } from './props.mjs';
6
+ import { useValidation, createNamespace, call } from '../utils/components.mjs';
7
+ import { useCheckboxGroup } from './provide.mjs';
8
+ import { useForm } from '../form/provide.mjs';
9
9
  var {
10
10
  n,
11
11
  classes
@@ -1,4 +1,4 @@
1
- import Checkbox from './Checkbox.mjs'
1
+ import Checkbox from './Checkbox.mjs';
2
2
 
3
3
  Checkbox.install = function (app) {
4
4
  app.component(Checkbox.name, Checkbox);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  modelValue: {
4
4
  type: [String, Number, Boolean, Object, Array],
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { CHECKBOX_GROUP_BIND_CHECKBOX_KEY, CHECKBOX_GROUP_COUNT_CHECKBOX_KEY } from '../checkbox-group/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { CHECKBOX_GROUP_BIND_CHECKBOX_KEY, CHECKBOX_GROUP_COUNT_CHECKBOX_KEY } from '../checkbox-group/provide.mjs';
3
3
  export function useCheckboxGroup() {
4
4
  var {
5
5
  bindParent,
@@ -1,9 +1,9 @@
1
- import VarFormDetails from '../form-details';
1
+ import VarFormDetails from '../form-details/index.mjs';
2
2
  import { defineComponent, computed, watch, nextTick } from 'vue';
3
- import { props } from './props';
4
- import { useValidation, createNamespace, call } from '../utils/components';
5
- import { useCheckboxes } from './provide';
6
- import { useForm } from '../form/provide';
3
+ import { props } from './props.mjs';
4
+ import { useValidation, createNamespace, call } from '../utils/components.mjs';
5
+ import { useCheckboxes } from './provide.mjs';
6
+ import { useForm } from '../form/provide.mjs';
7
7
  import { uniq } from '@varlet/shared';
8
8
  var {
9
9
  n,
@@ -1,4 +1,4 @@
1
- import CheckboxGroup from './CheckboxGroup.mjs'
1
+ import CheckboxGroup from './CheckboxGroup.mjs';
2
2
 
3
3
  CheckboxGroup.install = function (app) {
4
4
  app.component(CheckboxGroup.name, CheckboxGroup);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export function directionValidator(direction) {
3
3
  return ['horizontal', 'vertical'].includes(direction);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { useAtChildrenCounter, useChildren } from '../utils/components';
1
+ import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
2
2
  export var CHECKBOX_GROUP_BIND_CHECKBOX_KEY = Symbol('CHECKBOX_GROUP_BIND_CHECKBOX_KEY');
3
3
  export var CHECKBOX_GROUP_COUNT_CHECKBOX_KEY = Symbol('CHECKBOX_GROUP_COUNT_CHECKBOX_KEY');
4
4
  export function useCheckboxes() {
package/es/chip/Chip.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import VarIcon from '../icon';
1
+ import VarIcon from '../icon/index.mjs';
2
2
  import { defineComponent, computed } from 'vue';
3
- import { props } from './props';
4
- import { createNamespace } from '../utils/components';
3
+ import { props } from './props.mjs';
4
+ import { createNamespace } from '../utils/components.mjs';
5
5
  var {
6
6
  n,
7
7
  classes
package/es/chip/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import Chip from './Chip.mjs'
1
+ import Chip from './Chip.mjs';
2
2
 
3
3
  Chip.install = function (app) {
4
4
  app.component(Chip.name, Chip);
package/es/chip/props.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { defineListenerProp, pickProps } from '../utils/components';
2
- import { props as iconProps } from '../icon/props';
1
+ import { defineListenerProp, pickProps } from '../utils/components.mjs';
2
+ import { props as iconProps } from '../icon/props.mjs';
3
3
 
4
4
  function typeValidator(type) {
5
5
  return ['default', 'primary', 'info', 'success', 'warning', 'danger'].includes(type);
package/es/col/Col.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue';
2
2
  import { isPlainObject, toNumber } from '@varlet/shared';
3
- import { props } from './props';
4
- import { useRow } from './provide';
5
- import { toSizeUnit } from '../utils/elements';
6
- import { createNamespace, call } from '../utils/components';
3
+ import { props } from './props.mjs';
4
+ import { useRow } from './provide.mjs';
5
+ import { toSizeUnit } from '../utils/elements.mjs';
6
+ import { createNamespace, call } from '../utils/components.mjs';
7
7
  var {
8
8
  n,
9
9
  classes
package/es/col/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import Col from './Col.mjs'
1
+ import Col from './Col.mjs';
2
2
 
3
3
  Col.install = function (app) {
4
4
  app.component(Col.name, Col);
package/es/col/props.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
 
3
3
  function directionValidator(direction) {
4
4
  return ['row', 'column'].includes(direction);
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { ROW_BIND_COL_KEY, ROW_COUNT_COL_KEY } from '../row/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { ROW_BIND_COL_KEY, ROW_COUNT_COL_KEY } from '../row/provide.mjs';
3
3
  export function useRow() {
4
4
  var {
5
5
  parentProvider,
@@ -1,7 +1,7 @@
1
1
  import { computed, defineComponent, nextTick, watch } from 'vue';
2
- import { useCollapseItem } from './provide';
3
- import { props } from './props';
4
- import { call, createNamespace } from '../utils/components';
2
+ import { useCollapseItem } from './provide.mjs';
3
+ import { props } from './props.mjs';
4
+ import { call, createNamespace } from '../utils/components.mjs';
5
5
  import { isArray } from '@varlet/shared';
6
6
  var {
7
7
  n
@@ -1,4 +1,4 @@
1
- import Collapse from './Collapse.mjs'
1
+ import Collapse from './Collapse.mjs';
2
2
 
3
3
  Collapse.install = function (app) {
4
4
  app.component(Collapse.name, Collapse);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  modelValue: {
4
4
  type: [Array, String, Number]
@@ -1,4 +1,4 @@
1
- import { useAtChildrenCounter, useChildren } from '../utils/components';
1
+ import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
2
2
  export var COLLAPSE_BIND_COLLAPSE_ITEM_KEY = Symbol('COLLAPSE_BIND_COLLAPSE_ITEM_KEY');
3
3
  export var COLLAPSE_COUNT_COLLAPSE_ITEM_KEY = Symbol('COLLAPSE_COUNT_COLLAPSE_ITEM_KEY');
4
4
  export function useCollapseItem() {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, ref, nextTick, watch, computed } from 'vue';
2
- import { nextTickFrame, requestAnimationFrame } from '../utils/elements';
2
+ import { nextTickFrame, requestAnimationFrame } from '../utils/elements.mjs';
3
3
  import { isArray } from '@varlet/shared';
4
- import { createNamespace } from '../utils/components';
5
- import { useCollapse } from './provide';
6
- import { props } from './props';
7
- import VarIcon from '../icon';
4
+ import { createNamespace } from '../utils/components.mjs';
5
+ import { useCollapse } from './provide.mjs';
6
+ import { props } from './props.mjs';
7
+ import VarIcon from '../icon/index.mjs';
8
8
  var {
9
9
  n,
10
10
  classes
@@ -1,4 +1,4 @@
1
- import CollapseItem from './CollapseItem.mjs'
1
+ import CollapseItem from './CollapseItem.mjs';
2
2
 
3
3
  CollapseItem.install = function (app) {
4
4
  app.component(CollapseItem.name, CollapseItem);
@@ -1,5 +1,5 @@
1
- import { useAtParentIndex, useParent } from '../utils/components';
2
- import { COLLAPSE_BIND_COLLAPSE_ITEM_KEY, COLLAPSE_COUNT_COLLAPSE_ITEM_KEY } from '../collapse/provide';
1
+ import { useAtParentIndex, useParent } from '../utils/components.mjs';
2
+ import { COLLAPSE_BIND_COLLAPSE_ITEM_KEY, COLLAPSE_COUNT_COLLAPSE_ITEM_KEY } from '../collapse/provide.mjs';
3
3
  export function useCollapse() {
4
4
  var {
5
5
  parentProvider,
@@ -1,5 +1,5 @@
1
1
  import { watch, onBeforeMount, onUnmounted, onDeactivated, onActivated, getCurrentInstance } from 'vue';
2
- import context from '.';
2
+ import context from './index.mjs';
3
3
  export function resolveLock() {
4
4
  var lockCounts = Object.keys(context.locks).length;
5
5
  lockCounts <= 0 ? document.body.classList.remove('var--lock') : document.body.classList.add('var--lock');
@@ -1,4 +1,4 @@
1
- import context from './index';
1
+ import context from './index.mjs';
2
2
  import { watch, ref } from 'vue';
3
3
  export function useZIndex(source, count) {
4
4
  var zIndex = ref(context.zIndex);
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, watch } from 'vue';
2
- import { props } from './props';
3
- import { requestAnimationFrame, cancelAnimationFrame } from '../utils/elements';
4
- import { call, createNamespace } from '../utils/components';
5
- import { padStart } from '../utils/shared';
2
+ import { props } from './props.mjs';
3
+ import { requestAnimationFrame, cancelAnimationFrame } from '../utils/elements.mjs';
4
+ import { call, createNamespace } from '../utils/components.mjs';
5
+ import { padStart } from '../utils/shared.mjs';
6
6
  import { toNumber } from '@varlet/shared';
7
7
  var {
8
8
  n
@@ -1,4 +1,4 @@
1
- import Countdown from './Countdown.mjs'
1
+ import Countdown from './Countdown.mjs';
2
2
 
3
3
  Countdown.install = function (app) {
4
4
  app.component(Countdown.name, Countdown);
@@ -1,4 +1,4 @@
1
- import { defineListenerProp } from '../utils/components';
1
+ import { defineListenerProp } from '../utils/components.mjs';
2
2
  export var props = {
3
3
  time: {
4
4
  type: [String, Number],