@indielayer/ui 1.18.1 → 2.0.0

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 (861) hide show
  1. package/docs/assets/css/hljs.css +0 -1
  2. package/docs/assets/css/tailwind.css +35 -10
  3. package/docs/components/common/CodePreview.vue +1 -1
  4. package/docs/components/common/CodeSnippet.vue +30 -18
  5. package/docs/components/common/DocsHero.vue +3 -3
  6. package/docs/components/common/DocumentPage.vue +29 -27
  7. package/docs/components/common/ExampleBlocks.vue +147 -8
  8. package/docs/components/menu/DocsMenu.vue +3 -1
  9. package/docs/components/toolbar/PreToolbar.vue +1 -1
  10. package/docs/components/toolbar/Toolbar.vue +1 -1
  11. package/docs/components/toolbar/ToolbarSearch.vue +3 -3
  12. package/docs/main.ts +5 -0
  13. package/docs/pages/colors.vue +11 -19
  14. package/docs/pages/component/button/variants.vue +1 -1
  15. package/docs/pages/component/drawer/index.vue +1 -1
  16. package/docs/pages/component/empty/actions.vue +11 -0
  17. package/docs/pages/component/empty/bordered.vue +7 -0
  18. package/docs/pages/component/empty/index.vue +43 -0
  19. package/docs/pages/component/empty/usage.vue +6 -0
  20. package/docs/pages/component/form/usage.vue +36 -0
  21. package/docs/pages/component/formGroup/index.vue +1 -1
  22. package/docs/pages/component/icon/formats.vue +65 -0
  23. package/docs/pages/component/icon/index.vue +11 -4
  24. package/docs/pages/component/icon/usage.vue +52 -4
  25. package/docs/pages/component/image/index.vue +16 -2
  26. package/docs/pages/component/image/sizing.vue +42 -0
  27. package/docs/pages/component/image/states.vue +45 -0
  28. package/docs/pages/component/image/usage.vue +9 -6
  29. package/docs/pages/component/infiniteLoader/composable.vue +7 -5
  30. package/docs/pages/component/infiniteLoader/usage.vue +7 -5
  31. package/docs/pages/component/input/index.vue +1 -1
  32. package/docs/pages/component/input/variants.vue +11 -0
  33. package/docs/pages/component/inputGroup/index.vue +43 -0
  34. package/docs/pages/component/inputGroup/mixed.vue +18 -0
  35. package/docs/pages/component/inputGroup/usage.vue +20 -0
  36. package/docs/pages/component/inputGroup/validation.vue +33 -0
  37. package/docs/pages/component/radio/index.vue +23 -9
  38. package/docs/pages/component/radio/payment-method.vue +28 -0
  39. package/docs/pages/component/radio/radio-button-form-group.vue +28 -0
  40. package/docs/pages/component/radio/radio-button.vue +26 -0
  41. package/docs/pages/component/skeleton/usage.vue +1 -1
  42. package/docs/pages/component/stepper/index.vue +9 -2
  43. package/docs/pages/component/stepper/usage.vue +56 -12
  44. package/docs/pages/component/stepper/wizard.vue +126 -0
  45. package/docs/pages/component/table/index.vue +1 -1
  46. package/docs/pages/component/table/states.vue +5 -3
  47. package/docs/pages/component/table/virtual.vue +1 -1
  48. package/docs/pages/component/tooltip/content.vue +11 -0
  49. package/docs/pages/component/tooltip/index.vue +30 -2
  50. package/docs/pages/component/tooltip/placement.vue +18 -0
  51. package/docs/pages/component/tooltip/states.vue +5 -0
  52. package/docs/pages/component/tooltip/toggle-tip.vue +6 -0
  53. package/docs/pages/component/tooltip/usage.vue +8 -9
  54. package/docs/pages/component/virtualGrid/usage.vue +5 -2
  55. package/docs/pages/component/virtualList/dynamicHeight.vue +8 -8
  56. package/docs/pages/component/virtualList/usage.vue +5 -2
  57. package/docs/pages/index.vue +30 -33
  58. package/docs/search/components.json +1 -1
  59. package/docs/search/index.json +1 -1
  60. package/docs/utils/shikiHighlighter.ts +22 -0
  61. package/exports/nuxt.mjs +1 -1
  62. package/exports/nuxt.plugin.js +1 -0
  63. package/exports/tailwind.css +74 -0
  64. package/lib/_virtual/_plugin-vue_export-helper.js +7 -8
  65. package/lib/_virtual/_rolldown/runtime.js +17 -0
  66. package/lib/common/colors.js +370 -19
  67. package/lib/common/icons.d.ts +1 -0
  68. package/lib/common/icons.js +4 -22
  69. package/lib/common/inputGroupRadius.d.ts +2 -0
  70. package/lib/common/inputGroupRadius.js +6 -0
  71. package/lib/common/props.d.ts +27 -0
  72. package/lib/common/props.js +18 -0
  73. package/lib/common/utils.js +17 -24
  74. package/lib/componentDefaults.d.ts +18 -0
  75. package/lib/components/accordion/Accordion.js +5 -0
  76. package/lib/components/accordion/Accordion.vue.d.ts +3 -4
  77. package/lib/components/accordion/Accordion.vue_vue_type_script_setup_true_lang.js +37 -0
  78. package/lib/components/accordion/AccordionItem.js +5 -0
  79. package/lib/components/accordion/AccordionItem.vue.d.ts +3 -4
  80. package/lib/components/accordion/AccordionItem.vue_vue_type_script_setup_true_lang.js +138 -0
  81. package/lib/components/accordion/theme/Accordion.base.theme.js +4 -8
  82. package/lib/components/accordion/theme/Accordion.carbon.theme.js +4 -4
  83. package/lib/components/accordion/theme/AccordionItem.base.theme.js +14 -16
  84. package/lib/components/accordion/theme/AccordionItem.carbon.theme.js +4 -4
  85. package/lib/components/alert/Alert.js +6 -0
  86. package/lib/components/alert/Alert.vue.d.ts +12 -16
  87. package/lib/components/alert/Alert.vue_vue_type_script_setup_true_lang.js +54 -0
  88. package/lib/components/alert/Alert.vue_vue_type_style_index_0_lang.module.js +6 -0
  89. package/lib/components/alert/theme/Alert.base.theme.js +38 -40
  90. package/lib/components/alert/theme/Alert.carbon.theme.js +38 -40
  91. package/lib/components/avatar/Avatar.js +6 -0
  92. package/lib/components/avatar/Avatar.vue.d.ts +6 -8
  93. package/lib/components/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +66 -0
  94. package/lib/components/avatar/Avatar.vue_vue_type_style_index_0_lang.module.js +3 -0
  95. package/lib/components/avatar/theme/Avatar.base.theme.js +17 -21
  96. package/lib/components/avatar/theme/Avatar.carbon.theme.js +4 -4
  97. package/lib/components/badge/Badge.js +5 -0
  98. package/lib/components/badge/Badge.vue.d.ts +6 -8
  99. package/lib/components/badge/Badge.vue_vue_type_script_setup_true_lang.js +76 -0
  100. package/lib/components/badge/theme/Badge.base.theme.js +9 -11
  101. package/lib/components/badge/theme/Badge.carbon.theme.js +4 -4
  102. package/lib/components/breadcrumbs/Breadcrumbs.js +5 -0
  103. package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +6 -8
  104. package/lib/components/breadcrumbs/Breadcrumbs.vue_vue_type_script_setup_true_lang.js +62 -0
  105. package/lib/components/breadcrumbs/theme/Breadcrumbs.base.theme.js +8 -10
  106. package/lib/components/breadcrumbs/theme/Breadcrumbs.carbon.theme.js +7 -9
  107. package/lib/components/button/Button.js +6 -0
  108. package/lib/components/button/Button.vue.d.ts +23 -28
  109. package/lib/components/button/Button.vue_vue_type_script_setup_true_lang.js +139 -0
  110. package/lib/components/button/Button.vue_vue_type_style_index_0_scoped_4402fde2_lang.module.js +6 -0
  111. package/lib/components/button/ButtonGroup.js +6 -0
  112. package/lib/components/button/ButtonGroup.vue.d.ts +21 -20
  113. package/lib/components/button/ButtonGroup.vue_vue_type_script_setup_true_lang.js +45 -0
  114. package/lib/components/button/ButtonGroup.vue_vue_type_style_index_0_lang.module.js +7 -0
  115. package/lib/components/button/theme/Button.base.theme.js +139 -140
  116. package/lib/components/button/theme/Button.carbon.theme.js +136 -137
  117. package/lib/components/button/theme/ButtonGroup.base.theme.js +4 -8
  118. package/lib/components/button/theme/ButtonGroup.carbon.theme.js +4 -8
  119. package/lib/components/card/Card.js +5 -0
  120. package/lib/components/card/Card.vue.d.ts +3 -4
  121. package/lib/components/card/Card.vue_vue_type_script_setup_true_lang.js +26 -0
  122. package/lib/components/card/theme/Card.base.theme.js +4 -8
  123. package/lib/components/card/theme/Card.carbon.theme.js +4 -4
  124. package/lib/components/carousel/Carousel.js +5 -0
  125. package/lib/components/carousel/Carousel.vue.d.ts +3 -4
  126. package/lib/components/carousel/Carousel.vue_vue_type_script_setup_true_lang.js +91 -0
  127. package/lib/components/carousel/CarouselSlide.js +6 -0
  128. package/lib/components/carousel/CarouselSlide.vue_vue_type_script_setup_true_lang.js +26 -0
  129. package/lib/components/carousel/CarouselSlide.vue_vue_type_style_index_0_scoped_e90d2127_lang.module.js +4 -0
  130. package/lib/components/carousel/theme/Carousel.base.theme.js +14 -16
  131. package/lib/components/carousel/theme/Carousel.carbon.theme.js +4 -4
  132. package/lib/components/carousel/theme/CarouselSlide.base.theme.js +4 -8
  133. package/lib/components/carousel/theme/CarouselSlide.carbon.theme.js +4 -4
  134. package/lib/components/checkbox/Checkbox.js +6 -0
  135. package/lib/components/checkbox/Checkbox.vue.d.ts +3 -4
  136. package/lib/components/checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +129 -0
  137. package/lib/components/checkbox/Checkbox.vue_vue_type_style_index_0_lang.module.js +4 -0
  138. package/lib/components/checkbox/theme/Checkbox.base.theme.js +58 -58
  139. package/lib/components/checkbox/theme/Checkbox.carbon.theme.js +58 -58
  140. package/lib/components/container/Container.js +5 -0
  141. package/lib/components/container/Container.vue_vue_type_script_setup_true_lang.js +28 -0
  142. package/lib/components/container/theme/Container.base.theme.js +7 -11
  143. package/lib/components/container/theme/Container.carbon.theme.js +4 -4
  144. package/lib/components/datepicker/Datepicker.js +6 -0
  145. package/lib/components/datepicker/Datepicker.vue.d.ts +9 -5
  146. package/lib/components/datepicker/Datepicker.vue_vue_type_script_setup_true_lang.js +638 -0
  147. package/lib/components/datepicker/theme/Datepicker.base.theme.js +26 -61
  148. package/lib/components/datepicker/theme/Datepicker.carbon.theme.js +4 -4
  149. package/lib/components/divider/Divider.js +5 -0
  150. package/lib/components/divider/Divider.vue.d.ts +4 -6
  151. package/lib/components/divider/Divider.vue_vue_type_script_setup_true_lang.js +43 -0
  152. package/lib/components/divider/theme/Divider.base.theme.js +8 -10
  153. package/lib/components/divider/theme/Divider.carbon.theme.js +4 -4
  154. package/lib/components/drawer/Drawer.js +5 -0
  155. package/lib/components/drawer/Drawer.vue_vue_type_script_setup_true_lang.js +149 -0
  156. package/lib/components/drawer/theme/Drawer.base.theme.js +7 -9
  157. package/lib/components/drawer/theme/Drawer.carbon.theme.js +4 -4
  158. package/lib/components/empty/Empty.js +5 -0
  159. package/lib/components/empty/Empty.vue.d.ts +62 -0
  160. package/lib/components/empty/Empty.vue_vue_type_script_setup_true_lang.js +67 -0
  161. package/lib/components/empty/index.d.ts +2 -0
  162. package/lib/components/empty/theme/Empty.base.theme.d.ts +3 -0
  163. package/lib/components/empty/theme/Empty.base.theme.js +20 -0
  164. package/lib/components/empty/theme/Empty.carbon.theme.d.ts +3 -0
  165. package/lib/components/empty/theme/Empty.carbon.theme.js +5 -0
  166. package/lib/components/form/Form.js +5 -0
  167. package/lib/components/form/Form.vue_vue_type_script_setup_true_lang.js +97 -0
  168. package/lib/components/form/theme/Form.base.theme.js +10 -12
  169. package/lib/components/form/theme/Form.carbon.theme.js +10 -12
  170. package/lib/components/formGroup/FormGroup.js +5 -0
  171. package/lib/components/formGroup/FormGroup.vue.d.ts +9 -2
  172. package/lib/components/formGroup/FormGroup.vue_vue_type_script_setup_true_lang.js +91 -0
  173. package/lib/components/formGroup/theme/FormGroup.base.theme.js +7 -11
  174. package/lib/components/formGroup/theme/FormGroup.carbon.theme.js +7 -11
  175. package/lib/components/icon/Icon.js +5 -0
  176. package/lib/components/icon/Icon.vue.d.ts +3 -4
  177. package/lib/components/icon/Icon.vue_vue_type_script_setup_true_lang.js +85 -0
  178. package/lib/components/icon/theme/Icon.base.theme.js +4 -11
  179. package/lib/components/icon/theme/Icon.carbon.theme.js +4 -11
  180. package/lib/components/image/Image.js +5 -0
  181. package/lib/components/image/Image.vue_vue_type_script_setup_true_lang.js +25 -0
  182. package/lib/components/image/theme/Image.base.theme.js +4 -8
  183. package/lib/components/image/theme/Image.carbon.theme.js +4 -4
  184. package/lib/components/index.d.ts +3 -0
  185. package/lib/components/index.js +128 -120
  186. package/lib/components/input/Input.js +5 -0
  187. package/lib/components/input/Input.vue.d.ts +17 -17
  188. package/lib/components/input/Input.vue_vue_type_script_setup_true_lang.js +238 -0
  189. package/lib/components/input/theme/Input.base.theme.js +22 -16
  190. package/lib/components/input/theme/Input.carbon.theme.js +21 -16
  191. package/lib/components/inputFooter/InputFooter.js +5 -0
  192. package/lib/components/inputFooter/InputFooter.vue.d.ts +4 -6
  193. package/lib/components/inputFooter/InputFooter.vue_vue_type_script_setup_true_lang.js +37 -0
  194. package/lib/components/inputFooter/theme/InputFooter.base.theme.js +10 -12
  195. package/lib/components/inputFooter/theme/InputFooter.carbon.theme.js +10 -12
  196. package/lib/components/inputGroup/InputGroup.js +5 -0
  197. package/lib/components/inputGroup/InputGroup.vue.d.ts +164 -0
  198. package/lib/components/inputGroup/InputGroup.vue_vue_type_script_setup_true_lang.js +120 -0
  199. package/lib/components/inputGroup/index.d.ts +2 -0
  200. package/lib/components/inputGroup/theme/InputGroup.base.theme.d.ts +3 -0
  201. package/lib/components/inputGroup/theme/InputGroup.base.theme.js +4 -0
  202. package/lib/components/inputGroup/theme/InputGroup.carbon.theme.d.ts +3 -0
  203. package/lib/components/inputGroup/theme/InputGroup.carbon.theme.js +5 -0
  204. package/lib/components/label/Label.js +5 -0
  205. package/lib/components/label/Label.vue.d.ts +8 -5
  206. package/lib/components/label/Label.vue_vue_type_script_setup_true_lang.js +59 -0
  207. package/lib/components/label/theme/Label.base.theme.js +13 -15
  208. package/lib/components/label/theme/Label.carbon.theme.js +10 -12
  209. package/lib/components/link/Link.js +6 -0
  210. package/lib/components/link/Link.vue.d.ts +9 -12
  211. package/lib/components/link/Link.vue_vue_type_script_setup_true_lang.js +47 -0
  212. package/lib/components/link/Link.vue_vue_type_style_index_0_scoped_8e0e4d08_lang.module.js +6 -0
  213. package/lib/components/link/theme/Link.base.theme.js +18 -24
  214. package/lib/components/link/theme/Link.carbon.theme.js +18 -24
  215. package/lib/components/loader/Loader.js +5 -0
  216. package/lib/components/loader/Loader.vue_vue_type_script_setup_true_lang.js +61 -0
  217. package/lib/components/loader/theme/Loader.base.theme.js +9 -11
  218. package/lib/components/loader/theme/Loader.carbon.theme.js +9 -11
  219. package/lib/components/menu/Menu.js +5 -0
  220. package/lib/components/menu/Menu.vue.d.ts +6 -8
  221. package/lib/components/menu/Menu.vue_vue_type_script_setup_true_lang.js +178 -0
  222. package/lib/components/menu/MenuItem.js +6 -0
  223. package/lib/components/menu/MenuItem.vue.d.ts +6 -8
  224. package/lib/components/menu/MenuItem.vue_vue_type_script_setup_true_lang.js +149 -0
  225. package/lib/components/menu/MenuItem.vue_vue_type_style_index_0_scoped_2a6b7341_lang.module.js +7 -0
  226. package/lib/components/menu/theme/Menu.base.theme.js +4 -8
  227. package/lib/components/menu/theme/Menu.carbon.theme.js +4 -4
  228. package/lib/components/menu/theme/MenuItem.base.theme.js +71 -75
  229. package/lib/components/menu/theme/MenuItem.carbon.theme.js +4 -4
  230. package/lib/components/modal/Modal.js +5 -0
  231. package/lib/components/modal/Modal.vue_vue_type_script_setup_true_lang.js +194 -0
  232. package/lib/components/modal/theme/Modal.base.theme.js +25 -27
  233. package/lib/components/modal/theme/Modal.carbon.theme.js +27 -29
  234. package/lib/components/notifications/Notifications.js +5 -0
  235. package/lib/components/notifications/Notifications.vue_vue_type_script_setup_true_lang.js +234 -0
  236. package/lib/components/notifications/theme/Notifications.base.theme.js +8 -10
  237. package/lib/components/notifications/theme/Notifications.carbon.theme.js +8 -10
  238. package/lib/components/pagination/Pagination.js +5 -0
  239. package/lib/components/pagination/Pagination.vue.d.ts +3 -4
  240. package/lib/components/pagination/Pagination.vue_vue_type_script_setup_true_lang.js +152 -0
  241. package/lib/components/pagination/PaginationItem.js +5 -0
  242. package/lib/components/pagination/PaginationItem.vue.d.ts +3 -4
  243. package/lib/components/pagination/PaginationItem.vue_vue_type_script_setup_true_lang.js +44 -0
  244. package/lib/components/pagination/theme/Pagination.base.theme.js +12 -12
  245. package/lib/components/pagination/theme/Pagination.carbon.theme.js +4 -4
  246. package/lib/components/pagination/theme/PaginationItem.base.theme.js +4 -8
  247. package/lib/components/pagination/theme/PaginationItem.carbon.theme.js +4 -4
  248. package/lib/components/popover/Popover.js +6 -0
  249. package/lib/components/popover/Popover.vue_vue_type_script_setup_true_lang.js +189 -0
  250. package/lib/components/popover/PopoverContainer.js +5 -0
  251. package/lib/components/popover/PopoverContainer.vue_vue_type_script_setup_true_lang.js +22 -0
  252. package/lib/components/popover/theme/Popover.base.theme.js +7 -9
  253. package/lib/components/popover/theme/Popover.carbon.theme.js +4 -4
  254. package/lib/components/popover/theme/PopoverContainer.base.theme.js +4 -8
  255. package/lib/components/popover/theme/PopoverContainer.carbon.theme.js +4 -8
  256. package/lib/components/progress/Progress.js +5 -0
  257. package/lib/components/progress/Progress.vue.d.ts +6 -8
  258. package/lib/components/progress/Progress.vue_vue_type_script_setup_true_lang.js +38 -0
  259. package/lib/components/progress/theme/Progress.base.theme.js +13 -17
  260. package/lib/components/progress/theme/Progress.carbon.theme.js +4 -4
  261. package/lib/components/qrCode/QrCode.js +5 -0
  262. package/lib/components/qrCode/QrCode.vue_vue_type_script_setup_true_lang.js +79 -0
  263. package/lib/components/qrCode/qrcodegen.js +766 -571
  264. package/lib/components/qrCode/theme/QrCode.base.theme.js +4 -8
  265. package/lib/components/qrCode/theme/QrCode.carbon.theme.js +4 -4
  266. package/lib/components/radio/Radio.js +6 -0
  267. package/lib/components/radio/Radio.vue.d.ts +3 -4
  268. package/lib/components/radio/Radio.vue_vue_type_script_setup_true_lang.js +116 -0
  269. package/lib/components/radio/Radio.vue_vue_type_style_index_0_lang.module.js +7 -0
  270. package/lib/components/radio/theme/Radio.base.theme.js +69 -69
  271. package/lib/components/radio/theme/Radio.carbon.theme.js +63 -63
  272. package/lib/components/radioButton/RadioButton.js +6 -0
  273. package/lib/components/radioButton/RadioButton.vue.d.ts +182 -0
  274. package/lib/components/radioButton/RadioButton.vue_vue_type_script_setup_true_lang.js +83 -0
  275. package/lib/components/radioButton/RadioButton.vue_vue_type_style_index_0_lang.module.js +6 -0
  276. package/lib/components/radioButton/index.d.ts +2 -0
  277. package/lib/components/radioButton/theme/RadioButton.base.theme.d.ts +3 -0
  278. package/lib/components/radioButton/theme/RadioButton.base.theme.js +110 -0
  279. package/lib/components/radioButton/theme/RadioButton.carbon.theme.d.ts +3 -0
  280. package/lib/components/radioButton/theme/RadioButton.carbon.theme.js +15 -0
  281. package/lib/components/scroll/Scroll.js +6 -0
  282. package/lib/components/scroll/Scroll.vue.d.ts +9 -12
  283. package/lib/components/scroll/Scroll.vue_vue_type_script_setup_true_lang.js +48 -0
  284. package/lib/components/scroll/Scroll.vue_vue_type_style_index_0_lang.module.js +12 -0
  285. package/lib/components/scroll/theme/Scroll.base.theme.js +4 -8
  286. package/lib/components/scroll/theme/Scroll.carbon.theme.js +4 -4
  287. package/lib/components/select/Select.js +5 -0
  288. package/lib/components/select/Select.vue.d.ts +81 -239
  289. package/lib/components/select/Select.vue_vue_type_script_setup_true_lang.js +548 -0
  290. package/lib/components/select/theme/Select.base.theme.js +26 -25
  291. package/lib/components/select/theme/Select.carbon.theme.js +23 -23
  292. package/lib/components/skeleton/Skeleton.js +5 -0
  293. package/lib/components/skeleton/Skeleton.vue_vue_type_script_setup_true_lang.js +30 -0
  294. package/lib/components/skeleton/theme/Skeleton.base.theme.js +7 -11
  295. package/lib/components/skeleton/theme/Skeleton.carbon.theme.js +4 -4
  296. package/lib/components/slider/Slider.js +7 -0
  297. package/lib/components/slider/Slider.vue_vue_type_script_setup_true_lang.js +106 -0
  298. package/lib/components/slider/theme/Slider.base.theme.js +17 -19
  299. package/lib/components/slider/theme/Slider.carbon.theme.js +4 -4
  300. package/lib/components/spacer/Spacer.js +9 -11
  301. package/lib/components/spinner/Spinner.js +5 -0
  302. package/lib/components/spinner/Spinner.vue_vue_type_script_setup_true_lang.js +23 -0
  303. package/lib/components/stepper/Stepper.js +5 -0
  304. package/lib/components/stepper/Stepper.vue.d.ts +137 -32
  305. package/lib/components/stepper/Stepper.vue_vue_type_script_setup_true_lang.js +377 -0
  306. package/lib/components/stepper/index.d.ts +1 -1
  307. package/lib/components/stepper/theme/Stepper.base.theme.js +33 -20
  308. package/lib/components/stepper/theme/Stepper.carbon.theme.js +4 -4
  309. package/lib/components/tab/Tab.js +5 -0
  310. package/lib/components/tab/Tab.vue.d.ts +3 -4
  311. package/lib/components/tab/Tab.vue_vue_type_script_setup_true_lang.js +139 -0
  312. package/lib/components/tab/TabGroup.js +5 -0
  313. package/lib/components/tab/TabGroup.vue.d.ts +6 -8
  314. package/lib/components/tab/TabGroup.vue_vue_type_script_setup_true_lang.js +122 -0
  315. package/lib/components/tab/theme/Tab.base.theme.js +13 -15
  316. package/lib/components/tab/theme/Tab.carbon.theme.js +16 -18
  317. package/lib/components/tab/theme/TabGroup.base.theme.js +30 -30
  318. package/lib/components/tab/theme/TabGroup.carbon.theme.js +30 -30
  319. package/lib/components/table/Table.js +5 -0
  320. package/lib/components/table/Table.vue.d.ts +49 -304
  321. package/lib/components/table/Table.vue_vue_type_script_setup_true_lang.js +385 -0
  322. package/lib/components/table/TableBody.js +9 -14
  323. package/lib/components/table/TableCell.js +5 -0
  324. package/lib/components/table/TableCell.vue.d.ts +6 -8
  325. package/lib/components/table/TableCell.vue_vue_type_script_setup_true_lang.js +81 -0
  326. package/lib/components/table/TableHead.js +5 -0
  327. package/lib/components/table/TableHead.vue.d.ts +4 -6
  328. package/lib/components/table/TableHead.vue_vue_type_script_setup_true_lang.js +17 -0
  329. package/lib/components/table/TableHeader.js +5 -0
  330. package/lib/components/table/TableHeader.vue.d.ts +3 -4
  331. package/lib/components/table/TableHeader.vue_vue_type_script_setup_true_lang.js +78 -0
  332. package/lib/components/table/TableRow.js +5 -0
  333. package/lib/components/table/TableRow.vue.d.ts +9 -12
  334. package/lib/components/table/TableRow.vue_vue_type_script_setup_true_lang.js +39 -0
  335. package/lib/components/table/theme/Table.base.theme.js +11 -13
  336. package/lib/components/table/theme/Table.carbon.theme.js +11 -13
  337. package/lib/components/table/theme/TableCell.base.theme.js +7 -11
  338. package/lib/components/table/theme/TableCell.carbon.theme.js +7 -11
  339. package/lib/components/table/theme/TableHead.base.theme.js +10 -12
  340. package/lib/components/table/theme/TableHead.carbon.theme.js +10 -12
  341. package/lib/components/table/theme/TableHeader.base.theme.js +14 -16
  342. package/lib/components/table/theme/TableHeader.carbon.theme.js +10 -12
  343. package/lib/components/table/theme/TableRow.base.theme.js +7 -11
  344. package/lib/components/table/theme/TableRow.carbon.theme.js +7 -11
  345. package/lib/components/tag/Tag.js +5 -0
  346. package/lib/components/tag/Tag.vue.d.ts +12 -16
  347. package/lib/components/tag/Tag.vue_vue_type_script_setup_true_lang.js +62 -0
  348. package/lib/components/tag/theme/Tag.base.theme.js +21 -23
  349. package/lib/components/tag/theme/Tag.carbon.theme.js +21 -23
  350. package/lib/components/textarea/Textarea.js +5 -0
  351. package/lib/components/textarea/Textarea.vue.d.ts +26 -29
  352. package/lib/components/textarea/Textarea.vue_vue_type_script_setup_true_lang.js +197 -0
  353. package/lib/components/textarea/theme/Textarea.base.theme.js +17 -13
  354. package/lib/components/textarea/theme/Textarea.carbon.theme.js +16 -13
  355. package/lib/components/themeProvider/ThemeProvider.js +5 -0
  356. package/lib/components/themeProvider/ThemeProvider.vue_vue_type_script_setup_true_lang.js +15 -0
  357. package/lib/components/toggle/Toggle.js +5 -0
  358. package/lib/components/toggle/Toggle.vue.d.ts +3 -4
  359. package/lib/components/toggle/Toggle.vue_vue_type_script_setup_true_lang.js +101 -0
  360. package/lib/components/toggle/theme/Toggle.base.theme.js +23 -28
  361. package/lib/components/toggle/theme/Toggle.carbon.theme.js +4 -4
  362. package/lib/components/tooltip/ToggleTip.js +5 -0
  363. package/lib/components/tooltip/ToggleTip.vue_vue_type_script_setup_true_lang.js +25 -0
  364. package/lib/components/tooltip/Tooltip.js +5 -0
  365. package/lib/components/tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +105 -0
  366. package/lib/components/tooltip/theme/Tooltip.base.theme.js +4 -8
  367. package/lib/components/tooltip/theme/Tooltip.carbon.theme.js +4 -4
  368. package/lib/components/upload/Upload.js +5 -0
  369. package/lib/components/upload/Upload.vue.d.ts +23 -9
  370. package/lib/components/upload/Upload.vue_vue_type_script_setup_true_lang.js +261 -0
  371. package/lib/components/upload/theme/Upload.base.theme.js +4 -8
  372. package/lib/components/upload/theme/Upload.carbon.theme.js +4 -4
  373. package/lib/composables/index.d.ts +1 -0
  374. package/lib/composables/keys.d.ts +2 -0
  375. package/lib/composables/keys.js +4 -12
  376. package/lib/composables/resolveComponentDefaults.d.ts +4 -0
  377. package/lib/composables/resolveComponentDefaults.js +15 -0
  378. package/lib/composables/useCSS.js +29 -25
  379. package/lib/composables/useColors.js +44 -51
  380. package/lib/composables/useCommon.js +15 -17
  381. package/lib/composables/useFocusTrap.js +50 -53
  382. package/lib/composables/useInputtable.d.ts +12 -2
  383. package/lib/composables/useInputtable.js +135 -113
  384. package/lib/composables/useInteractive.js +14 -20
  385. package/lib/composables/useNotifications.js +8 -8
  386. package/lib/composables/useTheme.js +44 -56
  387. package/lib/composables/useVirtualList.d.ts +1 -2
  388. package/lib/composables/useVirtualList.js +120 -115
  389. package/lib/create.d.ts +2 -0
  390. package/lib/create.js +21 -24
  391. package/lib/index.d.ts +1 -0
  392. package/lib/index.js +87 -169
  393. package/lib/index.umd.js +57 -41
  394. package/lib/install.js +14 -18
  395. package/lib/node_modules/.pnpm/@floating-ui_core@1.5.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +321 -489
  396. package/lib/node_modules/.pnpm/@floating-ui_dom@1.1.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.js +288 -215
  397. package/lib/node_modules/.pnpm/@floating-ui_utils@0.2.1/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +99 -115
  398. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.34_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5380 -0
  399. package/lib/node_modules/.pnpm/@vueuse_core@11.1.0_vue@3.5.34_typescript@5.2.2_/node_modules/@vueuse/core/index.js +407 -0
  400. package/lib/node_modules/.pnpm/@vueuse_shared@11.1.0_vue@3.5.34_typescript@5.2.2_/node_modules/@vueuse/shared/index.js +75 -0
  401. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/addLeadingZeros.js +5 -6
  402. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.js +6 -6
  403. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/formatters.js +378 -513
  404. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -58
  405. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/longFormatters.js +39 -51
  406. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -17
  407. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.js +7 -10
  408. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeInterval.js +10 -7
  409. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/protectedTokens.js +19 -17
  410. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/add.js +10 -19
  411. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addDays.js +8 -9
  412. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addHours.js +7 -8
  413. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addMilliseconds.js +7 -8
  414. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addMonths.js +11 -20
  415. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addQuarters.js +6 -7
  416. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addYears.js +6 -7
  417. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/compareAsc.js +7 -8
  418. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.js +6 -9
  419. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js +6 -7
  420. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarDays.js +10 -15
  421. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarYears.js +7 -12
  422. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInYears.js +11 -16
  423. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/eachDayOfInterval.js +14 -19
  424. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/eachQuarterOfInterval.js +13 -19
  425. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfQuarter.js +7 -8
  426. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfWeek.js +8 -10
  427. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfYear.js +7 -8
  428. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/format.js +57 -58
  429. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDay.js +6 -7
  430. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDayOfYear.js +9 -10
  431. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDaysInMonth.js +8 -9
  432. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getDefaultOptions.js +6 -7
  433. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getHours.js +6 -7
  434. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISODay.js +7 -8
  435. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeek.js +10 -11
  436. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getISOWeekYear.js +13 -14
  437. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getMinutes.js +6 -7
  438. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getMonth.js +6 -7
  439. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getQuarter.js +7 -8
  440. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getSeconds.js +6 -7
  441. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeek.js +10 -11
  442. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getWeekYear.js +14 -16
  443. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/getYear.js +6 -7
  444. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isAfter.js +6 -7
  445. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isBefore.js +6 -7
  446. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isDate.js +5 -6
  447. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isEqual.js +6 -7
  448. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameQuarter.js +8 -13
  449. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isValid.js +7 -8
  450. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +8 -8
  451. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +16 -17
  452. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +19 -28
  453. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -16
  454. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +68 -69
  455. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -32
  456. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -11
  457. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.js +200 -153
  458. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -109
  459. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js +17 -18
  460. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/Parser.js +15 -21
  461. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/Setter.js +29 -40
  462. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/constants.js +29 -48
  463. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +45 -48
  464. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +45 -48
  465. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DateParser.js +63 -60
  466. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +40 -50
  467. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DayParser.js +61 -44
  468. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +43 -48
  469. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/EraParser.js +24 -29
  470. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +26 -20
  471. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +14 -21
  472. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +28 -31
  473. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +30 -31
  474. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +31 -32
  475. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +29 -32
  476. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +73 -98
  477. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +27 -47
  478. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +27 -47
  479. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +39 -48
  480. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +33 -39
  481. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +76 -73
  482. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +38 -47
  483. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +47 -68
  484. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +22 -31
  485. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +58 -70
  486. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +57 -69
  487. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +22 -31
  488. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +76 -73
  489. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +58 -70
  490. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +57 -69
  491. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +14 -20
  492. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +14 -20
  493. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers/YearParser.js +42 -48
  494. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/parsers.js +66 -66
  495. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse/_lib/utils.js +64 -93
  496. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parse.js +61 -88
  497. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/set.js +9 -10
  498. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setDay.js +9 -11
  499. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setHours.js +7 -8
  500. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setISODay.js +9 -10
  501. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setISOWeek.js +8 -9
  502. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMilliseconds.js +7 -8
  503. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMinutes.js +7 -8
  504. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setMonth.js +11 -12
  505. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setSeconds.js +7 -8
  506. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setWeek.js +8 -9
  507. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/setYear.js +8 -9
  508. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfDay.js +7 -8
  509. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeek.js +9 -7
  510. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfISOWeekYear.js +9 -10
  511. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfMonth.js +7 -8
  512. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfQuarter.js +7 -8
  513. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js +8 -10
  514. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeekYear.js +10 -12
  515. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfYear.js +7 -8
  516. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/sub.js +9 -18
  517. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subDays.js +6 -7
  518. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subMonths.js +6 -7
  519. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subYears.js +6 -7
  520. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js +6 -7
  521. package/lib/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/transpose.js +9 -16
  522. package/lib/node_modules/.pnpm/floating-vue@5.2.2_@nuxt_kit@4.4.6_magicast@0.5.3__vue@3.5.34_typescript@5.2.2_/node_modules/floating-vue/dist/floating-vue.js +1243 -0
  523. package/lib/node_modules/.pnpm/vue-demi@0.14.10_vue@3.5.34_typescript@5.2.2_/node_modules/vue-demi/lib/index.js +28 -0
  524. package/lib/nuxt.mjs +1 -1
  525. package/lib/nuxt.plugin.js +1 -0
  526. package/lib/tailwind.css +74 -0
  527. package/lib/theme.d.ts +4 -1
  528. package/lib/theme.js +12 -13
  529. package/lib/themes/base/components.d.ts +3 -0
  530. package/lib/themes/base/components.js +118 -108
  531. package/lib/themes/base/index.js +10 -10
  532. package/lib/themes/base/styles.d.ts +1 -1
  533. package/lib/themes/base/styles.js +4 -91
  534. package/lib/themes/carbon/components.d.ts +3 -0
  535. package/lib/themes/carbon/components.js +118 -108
  536. package/lib/themes/carbon/index.js +23 -13
  537. package/lib/themes/carbon/styles.d.ts +1 -1
  538. package/lib/themes/carbon/styles.js +4 -87
  539. package/lib/version.d.ts +1 -1
  540. package/lib/version.js +4 -4
  541. package/lib/virtual/components/infiniteLoader/InfiniteLoader.js +5 -0
  542. package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue_vue_type_script_setup_true_lang.js +18 -0
  543. package/lib/virtual/components/virtualGrid/VirtualGrid.js +5 -0
  544. package/lib/virtual/components/virtualGrid/VirtualGrid.vue_vue_type_script_setup_true_lang.js +194 -0
  545. package/lib/virtual/components/virtualList/VirtualList.js +5 -0
  546. package/lib/virtual/components/virtualList/VirtualList.vue_vue_type_script_setup_true_lang.js +139 -0
  547. package/lib/virtual/components/virtualList/isDynamicRowHeight.js +5 -5
  548. package/lib/virtual/components/virtualList/useDynamicRowHeight.js +58 -67
  549. package/lib/virtual/composables/infinite-loader/scanForUnloadedIndices.js +26 -40
  550. package/lib/virtual/composables/infinite-loader/useInfiniteLoader.js +30 -41
  551. package/lib/virtual/core/createCachedBounds.js +40 -54
  552. package/lib/virtual/core/getEstimatedSize.js +11 -21
  553. package/lib/virtual/core/getOffsetForIndex.js +17 -39
  554. package/lib/virtual/core/getStartStopIndices.js +21 -30
  555. package/lib/virtual/core/useCachedBounds.js +10 -16
  556. package/lib/virtual/core/useIsRtl.js +10 -14
  557. package/lib/virtual/core/useItemSize.js +15 -26
  558. package/lib/virtual/core/useVirtualizer.js +145 -170
  559. package/lib/virtual/utils/adjustScrollOffsetForRtl.js +15 -23
  560. package/lib/virtual/utils/assert.js +5 -6
  561. package/lib/virtual/utils/getRTLOffsetType.js +12 -12
  562. package/lib/virtual/utils/getScrollbarSize.js +10 -10
  563. package/lib/virtual/utils/isRtl.js +10 -11
  564. package/lib/virtual/utils/parseNumericStyleValue.js +10 -14
  565. package/lib/virtual/utils/shallowCompare.js +9 -13
  566. package/package.json +20 -22
  567. package/src/common/__tests__/inputGroupRadius.spec.ts +14 -0
  568. package/src/common/icons.ts +1 -0
  569. package/src/common/inputGroupRadius.ts +11 -0
  570. package/src/common/props.ts +34 -0
  571. package/src/componentDefaults.ts +19 -0
  572. package/src/components/accordion/Accordion.vue +3 -1
  573. package/src/components/accordion/AccordionItem.vue +3 -1
  574. package/src/components/alert/Alert.vue +28 -24
  575. package/src/components/avatar/Avatar.vue +5 -3
  576. package/src/components/badge/Badge.vue +7 -3
  577. package/src/components/breadcrumbs/Breadcrumbs.vue +4 -2
  578. package/src/components/button/Button.vue +98 -55
  579. package/src/components/button/ButtonGroup.vue +23 -25
  580. package/src/components/button/theme/Button.base.theme.ts +7 -2
  581. package/src/components/button/theme/Button.carbon.theme.ts +8 -2
  582. package/src/components/card/Card.vue +3 -1
  583. package/src/components/card/theme/Card.base.theme.ts +1 -1
  584. package/src/components/carousel/Carousel.vue +3 -1
  585. package/src/components/carousel/CarouselSlide.vue +1 -1
  586. package/src/components/checkbox/Checkbox.vue +7 -7
  587. package/src/components/checkbox/theme/Checkbox.carbon.theme.ts +1 -1
  588. package/src/components/datepicker/Datepicker.vue +32 -10
  589. package/src/components/divider/Divider.vue +3 -2
  590. package/src/components/divider/theme/Divider.base.theme.ts +2 -2
  591. package/src/components/empty/Empty.vue +86 -0
  592. package/src/components/empty/__tests__/Empty.spec.ts +11 -0
  593. package/src/components/empty/index.ts +2 -0
  594. package/src/components/empty/theme/Empty.base.theme.ts +40 -0
  595. package/src/components/empty/theme/Empty.carbon.theme.ts +7 -0
  596. package/src/components/formGroup/FormGroup.vue +19 -7
  597. package/src/components/formGroup/__tests__/FormGroup.spec.ts +37 -2
  598. package/src/components/formGroup/theme/FormGroup.base.theme.ts +7 -3
  599. package/src/components/formGroup/theme/FormGroup.carbon.theme.ts +7 -3
  600. package/src/components/icon/Icon.vue +3 -1
  601. package/src/components/index.ts +3 -0
  602. package/src/components/input/Input.vue +114 -35
  603. package/src/components/input/__tests__/Input.spec.ts +28 -1
  604. package/src/components/input/theme/Input.base.theme.ts +10 -1
  605. package/src/components/input/theme/Input.carbon.theme.ts +5 -0
  606. package/src/components/inputFooter/InputFooter.vue +3 -1
  607. package/src/components/inputGroup/InputGroup.vue +185 -0
  608. package/src/components/inputGroup/__tests__/InputGroup.spec.ts +104 -0
  609. package/src/components/inputGroup/index.ts +2 -0
  610. package/src/components/inputGroup/theme/InputGroup.base.theme.ts +9 -0
  611. package/src/components/inputGroup/theme/InputGroup.carbon.theme.ts +7 -0
  612. package/src/components/label/Label.vue +23 -3
  613. package/src/components/label/theme/Label.base.theme.ts +2 -2
  614. package/src/components/label/theme/Label.carbon.theme.ts +2 -2
  615. package/src/components/link/Link.vue +34 -29
  616. package/src/components/menu/Menu.vue +4 -2
  617. package/src/components/menu/MenuItem.vue +39 -41
  618. package/src/components/pagination/Pagination.vue +3 -1
  619. package/src/components/pagination/PaginationItem.vue +3 -1
  620. package/src/components/popover/Popover.vue +12 -15
  621. package/src/components/progress/Progress.vue +4 -2
  622. package/src/components/radio/Radio.vue +27 -24
  623. package/src/components/radio/theme/Radio.base.theme.ts +1 -1
  624. package/src/components/radio/theme/Radio.carbon.theme.ts +1 -1
  625. package/src/components/radioButton/RadioButton.vue +154 -0
  626. package/src/components/radioButton/__tests__/RadioButton.spec.ts +48 -0
  627. package/src/components/radioButton/index.ts +2 -0
  628. package/src/components/radioButton/theme/RadioButton.base.theme.ts +155 -0
  629. package/src/components/radioButton/theme/RadioButton.carbon.theme.ts +31 -0
  630. package/src/components/scroll/Scroll.vue +6 -4
  631. package/src/components/select/Select.vue +57 -16
  632. package/src/components/select/theme/Select.base.theme.ts +7 -1
  633. package/src/components/select/theme/Select.carbon.theme.ts +2 -0
  634. package/src/components/slider/Slider.vue +19 -8
  635. package/src/components/spacer/Spacer.tsx +1 -1
  636. package/src/components/spacer/__tests__/Spacer.spec.ts +1 -1
  637. package/src/components/stepper/Stepper.vue +603 -80
  638. package/src/components/stepper/__tests__/Stepper.spec.ts +199 -5
  639. package/src/components/stepper/index.ts +4 -0
  640. package/src/components/stepper/theme/Stepper.base.theme.ts +49 -19
  641. package/src/components/tab/Tab.vue +6 -2
  642. package/src/components/tab/TabGroup.vue +8 -4
  643. package/src/components/table/Table.vue +31 -11
  644. package/src/components/table/TableCell.vue +4 -2
  645. package/src/components/table/TableHead.vue +3 -1
  646. package/src/components/table/TableHeader.vue +3 -1
  647. package/src/components/table/TableRow.vue +5 -3
  648. package/src/components/table/__tests__/Table.spec.ts +53 -0
  649. package/src/components/table/theme/Table.carbon.theme.ts +1 -1
  650. package/src/components/tag/Tag.vue +12 -8
  651. package/src/components/textarea/Textarea.vue +83 -19
  652. package/src/components/textarea/theme/Textarea.base.theme.ts +10 -1
  653. package/src/components/textarea/theme/Textarea.carbon.theme.ts +5 -0
  654. package/src/components/toggle/Toggle.vue +3 -1
  655. package/src/components/upload/Upload.vue +6 -2
  656. package/src/composables/__tests__/resolveComponentDefaults.spec.ts +139 -0
  657. package/src/composables/index.ts +1 -0
  658. package/src/composables/keys.ts +2 -0
  659. package/src/composables/resolveComponentDefaults.ts +33 -0
  660. package/src/composables/useInputtable.ts +56 -9
  661. package/src/composables/useTheme.ts +10 -3
  662. package/src/composables/useVirtualList.ts +1 -2
  663. package/src/create.ts +2 -0
  664. package/src/index.ts +1 -0
  665. package/src/theme.ts +6 -0
  666. package/src/themes/base/components.ts +3 -0
  667. package/src/themes/base/styles.ts +28 -20
  668. package/src/themes/carbon/components.ts +3 -0
  669. package/src/themes/carbon/styles.ts +25 -17
  670. package/src/version.ts +1 -1
  671. package/src/virtual/components/virtualList/VirtualList.test.ts +42 -4
  672. package/src/virtual/core/useVirtualizer.ts +18 -4
  673. package/docs/pages/component/radio/variants.vue +0 -39
  674. package/exports/tailwind.preset.js +0 -40
  675. package/lib/components/accordion/Accordion.vue.js +0 -40
  676. package/lib/components/accordion/Accordion.vue2.js +0 -4
  677. package/lib/components/accordion/AccordionItem.vue.js +0 -150
  678. package/lib/components/accordion/AccordionItem.vue2.js +0 -4
  679. package/lib/components/accordion/__tests__/Accordion.spec.d.ts +0 -1
  680. package/lib/components/alert/Alert.vue.js +0 -9
  681. package/lib/components/alert/Alert.vue2.js +0 -62
  682. package/lib/components/alert/Alert.vue3.js +0 -8
  683. package/lib/components/alert/__tests__/Alert.spec.d.ts +0 -1
  684. package/lib/components/avatar/Avatar.vue.js +0 -9
  685. package/lib/components/avatar/Avatar.vue2.js +0 -76
  686. package/lib/components/avatar/Avatar.vue3.js +0 -7
  687. package/lib/components/avatar/__tests__/Avatar.spec.d.ts +0 -1
  688. package/lib/components/badge/Badge.vue.js +0 -93
  689. package/lib/components/badge/Badge.vue2.js +0 -4
  690. package/lib/components/badge/__tests__/Badge.spec.d.ts +0 -1
  691. package/lib/components/breadcrumbs/Breadcrumbs.vue.js +0 -69
  692. package/lib/components/breadcrumbs/Breadcrumbs.vue2.js +0 -4
  693. package/lib/components/breadcrumbs/__tests__/Breadcrumbs.spec.d.ts +0 -1
  694. package/lib/components/button/Button.vue.js +0 -9
  695. package/lib/components/button/Button.vue2.js +0 -117
  696. package/lib/components/button/Button.vue3.js +0 -8
  697. package/lib/components/button/ButtonGroup.vue.js +0 -9
  698. package/lib/components/button/ButtonGroup.vue2.js +0 -53
  699. package/lib/components/button/ButtonGroup.vue3.js +0 -7
  700. package/lib/components/button/__tests__/ Button.spec.d.ts +0 -1
  701. package/lib/components/button/__tests__/ ButtonGroup.spec.d.ts +0 -1
  702. package/lib/components/card/Card.vue.js +0 -30
  703. package/lib/components/card/Card.vue2.js +0 -4
  704. package/lib/components/card/__tests__/Card.spec.d.ts +0 -1
  705. package/lib/components/carousel/Carousel.vue.js +0 -97
  706. package/lib/components/carousel/Carousel.vue2.js +0 -4
  707. package/lib/components/carousel/CarouselSlide.vue.js +0 -9
  708. package/lib/components/carousel/CarouselSlide.vue2.js +0 -32
  709. package/lib/components/carousel/CarouselSlide.vue3.js +0 -6
  710. package/lib/components/carousel/__tests__/Carousel.spec.d.ts +0 -1
  711. package/lib/components/checkbox/Checkbox.vue.js +0 -9
  712. package/lib/components/checkbox/Checkbox.vue2.js +0 -143
  713. package/lib/components/checkbox/Checkbox.vue3.js +0 -6
  714. package/lib/components/checkbox/__tests__/Checkbox.spec.d.ts +0 -1
  715. package/lib/components/container/Container.vue.js +0 -33
  716. package/lib/components/container/Container.vue2.js +0 -4
  717. package/lib/components/container/__tests__/Container.spec.d.ts +0 -1
  718. package/lib/components/datepicker/Datepicker.vue.js +0 -309
  719. package/lib/components/datepicker/Datepicker.vue2.js +0 -4
  720. package/lib/components/datepicker/Datepicker.vue3.js +0 -5
  721. package/lib/components/datepicker/__tests__/Datepicker.spec.d.ts +0 -1
  722. package/lib/components/divider/Divider.vue.js +0 -52
  723. package/lib/components/divider/Divider.vue2.js +0 -4
  724. package/lib/components/divider/__tests__/Divider.spec.d.ts +0 -1
  725. package/lib/components/drawer/Drawer.vue.js +0 -160
  726. package/lib/components/drawer/Drawer.vue2.js +0 -4
  727. package/lib/components/drawer/__tests__/Drawer.spec.d.ts +0 -1
  728. package/lib/components/form/Form.vue.js +0 -111
  729. package/lib/components/form/Form.vue2.js +0 -4
  730. package/lib/components/form/__tests__/Form.spec.d.ts +0 -1
  731. package/lib/components/formGroup/FormGroup.vue.js +0 -91
  732. package/lib/components/formGroup/FormGroup.vue2.js +0 -4
  733. package/lib/components/formGroup/__tests__/FormGroup.spec.d.ts +0 -1
  734. package/lib/components/icon/Icon.vue.js +0 -73
  735. package/lib/components/icon/Icon.vue2.js +0 -4
  736. package/lib/components/icon/__tests__/Icon.spec.d.ts +0 -1
  737. package/lib/components/image/Image.vue.js +0 -31
  738. package/lib/components/image/Image.vue2.js +0 -4
  739. package/lib/components/image/__tests__/Image.spec.d.ts +0 -1
  740. package/lib/components/input/Input.vue.js +0 -164
  741. package/lib/components/input/Input.vue2.js +0 -4
  742. package/lib/components/input/__tests__/Input.spec.d.ts +0 -1
  743. package/lib/components/inputFooter/InputFooter.vue.js +0 -43
  744. package/lib/components/inputFooter/InputFooter.vue2.js +0 -4
  745. package/lib/components/inputFooter/__tests__/InputFooter.spec.d.ts +0 -1
  746. package/lib/components/label/Label.vue.js +0 -54
  747. package/lib/components/label/Label.vue2.js +0 -4
  748. package/lib/components/label/__tests__/Label.spec.d.ts +0 -1
  749. package/lib/components/link/Link.vue.js +0 -9
  750. package/lib/components/link/Link.vue2.js +0 -47
  751. package/lib/components/link/Link.vue3.js +0 -8
  752. package/lib/components/link/__tests__/Link.spec.d.ts +0 -1
  753. package/lib/components/loader/Loader.vue.js +0 -54
  754. package/lib/components/loader/Loader.vue2.js +0 -4
  755. package/lib/components/loader/__tests__/Loader.spec.d.ts +0 -1
  756. package/lib/components/menu/Menu.vue.js +0 -141
  757. package/lib/components/menu/Menu.vue2.js +0 -4
  758. package/lib/components/menu/MenuItem.vue.js +0 -9
  759. package/lib/components/menu/MenuItem.vue2.js +0 -164
  760. package/lib/components/menu/MenuItem.vue3.js +0 -7
  761. package/lib/components/menu/__tests__/Menu.spec.d.ts +0 -1
  762. package/lib/components/menu/__tests__/MenuItem.spec.d.ts +0 -1
  763. package/lib/components/modal/Modal.vue.js +0 -211
  764. package/lib/components/modal/Modal.vue2.js +0 -4
  765. package/lib/components/modal/__tests__/Modal.spec.d.ts +0 -1
  766. package/lib/components/notifications/Notifications.vue.js +0 -266
  767. package/lib/components/notifications/Notifications.vue2.js +0 -4
  768. package/lib/components/notifications/__tests__/Notifications.spec.d.ts +0 -1
  769. package/lib/components/pagination/Pagination.vue.js +0 -131
  770. package/lib/components/pagination/Pagination.vue2.js +0 -4
  771. package/lib/components/pagination/PaginationItem.vue.js +0 -47
  772. package/lib/components/pagination/PaginationItem.vue2.js +0 -4
  773. package/lib/components/pagination/__tests__/Pagination.spec.d.ts +0 -1
  774. package/lib/components/pagination/__tests__/PaginationItem.spec.d.ts +0 -1
  775. package/lib/components/popover/Popover.vue.js +0 -134
  776. package/lib/components/popover/Popover.vue2.js +0 -4
  777. package/lib/components/popover/Popover.vue3.js +0 -5
  778. package/lib/components/popover/PopoverContainer.vue.js +0 -29
  779. package/lib/components/popover/PopoverContainer.vue2.js +0 -4
  780. package/lib/components/popover/__tests__/Popover.spec.d.ts +0 -1
  781. package/lib/components/popover/__tests__/PopoverContainer.spec.d.ts +0 -1
  782. package/lib/components/progress/Progress.vue.js +0 -50
  783. package/lib/components/progress/Progress.vue2.js +0 -4
  784. package/lib/components/progress/__tests__/Progress.spec.d.ts +0 -1
  785. package/lib/components/qrCode/QrCode.vue.js +0 -93
  786. package/lib/components/qrCode/QrCode.vue2.js +0 -4
  787. package/lib/components/qrCode/__tests__/QrCode.spec.d.ts +0 -1
  788. package/lib/components/radio/Radio.vue.js +0 -9
  789. package/lib/components/radio/Radio.vue2.js +0 -132
  790. package/lib/components/radio/Radio.vue3.js +0 -10
  791. package/lib/components/radio/__tests__/Radio.spec.d.ts +0 -1
  792. package/lib/components/scroll/Scroll.vue.js +0 -9
  793. package/lib/components/scroll/Scroll.vue2.js +0 -63
  794. package/lib/components/scroll/Scroll.vue3.js +0 -17
  795. package/lib/components/scroll/__tests__/Scroll.spec.d.ts +0 -1
  796. package/lib/components/select/Select.vue.js +0 -696
  797. package/lib/components/select/Select.vue2.js +0 -4
  798. package/lib/components/select/__tests__/Select.spec.d.ts +0 -1
  799. package/lib/components/skeleton/Skeleton.vue.js +0 -39
  800. package/lib/components/skeleton/Skeleton.vue2.js +0 -4
  801. package/lib/components/skeleton/__tests__/Skeleton.spec.d.ts +0 -1
  802. package/lib/components/slider/Slider.vue.js +0 -7
  803. package/lib/components/slider/Slider.vue2.js +0 -103
  804. package/lib/components/slider/Slider.vue3.js +0 -4
  805. package/lib/components/slider/__tests__/Slider.spec.d.ts +0 -1
  806. package/lib/components/spacer/__tests__/Spacer.spec.d.ts +0 -1
  807. package/lib/components/spinner/Spinner.vue.js +0 -27
  808. package/lib/components/spinner/Spinner.vue2.js +0 -4
  809. package/lib/components/spinner/__tests__/Spinner.spec.d.ts +0 -1
  810. package/lib/components/stepper/Stepper.vue.js +0 -129
  811. package/lib/components/stepper/Stepper.vue2.js +0 -4
  812. package/lib/components/stepper/__tests__/Stepper.spec.d.ts +0 -1
  813. package/lib/components/tab/Tab.vue.js +0 -150
  814. package/lib/components/tab/Tab.vue2.js +0 -4
  815. package/lib/components/tab/TabGroup.vue.js +0 -135
  816. package/lib/components/tab/TabGroup.vue2.js +0 -4
  817. package/lib/components/tab/__tests__/Tab.spec.d.ts +0 -1
  818. package/lib/components/tab/__tests__/TabGroup.spec.d.ts +0 -1
  819. package/lib/components/table/Table.vue.js +0 -424
  820. package/lib/components/table/Table.vue2.js +0 -4
  821. package/lib/components/table/TableCell.vue.js +0 -65
  822. package/lib/components/table/TableCell.vue2.js +0 -4
  823. package/lib/components/table/TableHead.vue.js +0 -24
  824. package/lib/components/table/TableHead.vue2.js +0 -4
  825. package/lib/components/table/TableHeader.vue.js +0 -82
  826. package/lib/components/table/TableHeader.vue2.js +0 -4
  827. package/lib/components/table/TableRow.vue.js +0 -30
  828. package/lib/components/table/TableRow.vue2.js +0 -4
  829. package/lib/components/table/__tests__/Table.spec.d.ts +0 -1
  830. package/lib/components/tag/Tag.vue.js +0 -73
  831. package/lib/components/tag/Tag.vue2.js +0 -4
  832. package/lib/components/tag/__tests__/Tag.spec.d.ts +0 -1
  833. package/lib/components/textarea/Textarea.vue.js +0 -141
  834. package/lib/components/textarea/Textarea.vue2.js +0 -4
  835. package/lib/components/textarea/__tests__/Textarea.spec.d.ts +0 -1
  836. package/lib/components/themeProvider/ThemeProvider.vue.js +0 -18
  837. package/lib/components/themeProvider/ThemeProvider.vue2.js +0 -4
  838. package/lib/components/toggle/Toggle.vue.js +0 -108
  839. package/lib/components/toggle/Toggle.vue2.js +0 -4
  840. package/lib/components/toggle/__tests__/Toggle.spec.d.ts +0 -1
  841. package/lib/components/tooltip/ToggleTip.vue.js +0 -29
  842. package/lib/components/tooltip/ToggleTip.vue2.js +0 -4
  843. package/lib/components/tooltip/Tooltip.vue.js +0 -132
  844. package/lib/components/tooltip/Tooltip.vue2.js +0 -4
  845. package/lib/components/tooltip/__tests__/ToggleTip.spec.d.ts +0 -1
  846. package/lib/components/tooltip/__tests__/Tooltip.spec.d.ts +0 -1
  847. package/lib/components/upload/Upload.vue.js +0 -275
  848. package/lib/components/upload/Upload.vue2.js +0 -4
  849. package/lib/components/upload/__tests__/Upload.spec.d.ts +0 -1
  850. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -4
  851. package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.10_typescript@5.2.2_/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +0 -5210
  852. package/lib/node_modules/.pnpm/@vueuse_core@11.1.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/core/index.js +0 -501
  853. package/lib/node_modules/.pnpm/@vueuse_shared@11.1.0_vue@3.5.10_typescript@5.2.2_/node_modules/@vueuse/shared/index.js +0 -96
  854. package/lib/node_modules/.pnpm/floating-vue@5.2.2_@nuxt_kit@3.10.1_rollup@3.29.4__vue@3.5.10_typescript@5.2.2_/node_modules/floating-vue/dist/floating-vue.js +0 -1371
  855. package/lib/tailwind.preset.js +0 -40
  856. package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue.js +0 -21
  857. package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue2.js +0 -4
  858. package/lib/virtual/components/virtualGrid/VirtualGrid.vue.js +0 -241
  859. package/lib/virtual/components/virtualGrid/VirtualGrid.vue2.js +0 -4
  860. package/lib/virtual/components/virtualList/VirtualList.vue.js +0 -159
  861. package/lib/virtual/components/virtualList/VirtualList.vue2.js +0 -4
@@ -1,517 +1,382 @@
1
- import { getDayOfYear as m } from "../../getDayOfYear.js";
2
- import { getISOWeek as g } from "../../getISOWeek.js";
3
- import { getISOWeekYear as w } from "../../getISOWeekYear.js";
4
- import { getWeek as b } from "../../getWeek.js";
5
- import { getWeekYear as x } from "../../getWeekYear.js";
6
- import { addLeadingZeros as i } from "../addLeadingZeros.js";
7
- import { lightFormatters as u } from "./lightFormatters.js";
8
- const s = {
9
- am: "am",
10
- pm: "pm",
11
- midnight: "midnight",
12
- noon: "noon",
13
- morning: "morning",
14
- afternoon: "afternoon",
15
- evening: "evening",
16
- night: "night"
17
- }, L = {
18
- // Era
19
- G: function(n, r, e) {
20
- const t = n.getFullYear() > 0 ? 1 : 0;
21
- switch (r) {
22
- case "G":
23
- case "GG":
24
- case "GGG":
25
- return e.era(t, { width: "abbreviated" });
26
- case "GGGGG":
27
- return e.era(t, { width: "narrow" });
28
- case "GGGG":
29
- default:
30
- return e.era(t, { width: "wide" });
31
- }
32
- },
33
- // Year
34
- y: function(n, r, e) {
35
- if (r === "yo") {
36
- const t = n.getFullYear(), a = t > 0 ? t : 1 - t;
37
- return e.ordinalNumber(a, { unit: "year" });
38
- }
39
- return u.y(n, r);
40
- },
41
- // Local week-numbering year
42
- Y: function(n, r, e, t) {
43
- const a = x(n, t), o = a > 0 ? a : 1 - a;
44
- if (r === "YY") {
45
- const h = o % 100;
46
- return i(h, 2);
47
- }
48
- return r === "Yo" ? e.ordinalNumber(o, { unit: "year" }) : i(o, r.length);
49
- },
50
- // ISO week-numbering year
51
- R: function(n, r) {
52
- const e = w(n);
53
- return i(e, r.length);
54
- },
55
- // Extended year. This is a single number designating the year of this calendar system.
56
- // The main difference between `y` and `u` localizers are B.C. years:
57
- // | Year | `y` | `u` |
58
- // |------|-----|-----|
59
- // | AC 1 | 1 | 1 |
60
- // | BC 1 | 1 | 0 |
61
- // | BC 2 | 2 | -1 |
62
- // Also `yy` always returns the last two digits of a year,
63
- // while `uu` pads single digit years to 2 characters and returns other years unchanged.
64
- u: function(n, r) {
65
- const e = n.getFullYear();
66
- return i(e, r.length);
67
- },
68
- // Quarter
69
- Q: function(n, r, e) {
70
- const t = Math.ceil((n.getMonth() + 1) / 3);
71
- switch (r) {
72
- case "Q":
73
- return String(t);
74
- case "QQ":
75
- return i(t, 2);
76
- case "Qo":
77
- return e.ordinalNumber(t, { unit: "quarter" });
78
- case "QQQ":
79
- return e.quarter(t, {
80
- width: "abbreviated",
81
- context: "formatting"
82
- });
83
- case "QQQQQ":
84
- return e.quarter(t, {
85
- width: "narrow",
86
- context: "formatting"
87
- });
88
- case "QQQQ":
89
- default:
90
- return e.quarter(t, {
91
- width: "wide",
92
- context: "formatting"
93
- });
94
- }
95
- },
96
- // Stand-alone quarter
97
- q: function(n, r, e) {
98
- const t = Math.ceil((n.getMonth() + 1) / 3);
99
- switch (r) {
100
- case "q":
101
- return String(t);
102
- case "qq":
103
- return i(t, 2);
104
- case "qo":
105
- return e.ordinalNumber(t, { unit: "quarter" });
106
- case "qqq":
107
- return e.quarter(t, {
108
- width: "abbreviated",
109
- context: "standalone"
110
- });
111
- case "qqqqq":
112
- return e.quarter(t, {
113
- width: "narrow",
114
- context: "standalone"
115
- });
116
- case "qqqq":
117
- default:
118
- return e.quarter(t, {
119
- width: "wide",
120
- context: "standalone"
121
- });
122
- }
123
- },
124
- // Month
125
- M: function(n, r, e) {
126
- const t = n.getMonth();
127
- switch (r) {
128
- case "M":
129
- case "MM":
130
- return u.M(n, r);
131
- case "Mo":
132
- return e.ordinalNumber(t + 1, { unit: "month" });
133
- case "MMM":
134
- return e.month(t, {
135
- width: "abbreviated",
136
- context: "formatting"
137
- });
138
- case "MMMMM":
139
- return e.month(t, {
140
- width: "narrow",
141
- context: "formatting"
142
- });
143
- case "MMMM":
144
- default:
145
- return e.month(t, { width: "wide", context: "formatting" });
146
- }
147
- },
148
- // Stand-alone month
149
- L: function(n, r, e) {
150
- const t = n.getMonth();
151
- switch (r) {
152
- case "L":
153
- return String(t + 1);
154
- case "LL":
155
- return i(t + 1, 2);
156
- case "Lo":
157
- return e.ordinalNumber(t + 1, { unit: "month" });
158
- case "LLL":
159
- return e.month(t, {
160
- width: "abbreviated",
161
- context: "standalone"
162
- });
163
- case "LLLLL":
164
- return e.month(t, {
165
- width: "narrow",
166
- context: "standalone"
167
- });
168
- case "LLLL":
169
- default:
170
- return e.month(t, { width: "wide", context: "standalone" });
171
- }
172
- },
173
- // Local week of year
174
- w: function(n, r, e, t) {
175
- const a = b(n, t);
176
- return r === "wo" ? e.ordinalNumber(a, { unit: "week" }) : i(a, r.length);
177
- },
178
- // ISO week of year
179
- I: function(n, r, e) {
180
- const t = g(n);
181
- return r === "Io" ? e.ordinalNumber(t, { unit: "week" }) : i(t, r.length);
182
- },
183
- // Day of the month
184
- d: function(n, r, e) {
185
- return r === "do" ? e.ordinalNumber(n.getDate(), { unit: "date" }) : u.d(n, r);
186
- },
187
- // Day of year
188
- D: function(n, r, e) {
189
- const t = m(n);
190
- return r === "Do" ? e.ordinalNumber(t, { unit: "dayOfYear" }) : i(t, r.length);
191
- },
192
- // Day of week
193
- E: function(n, r, e) {
194
- const t = n.getDay();
195
- switch (r) {
196
- case "E":
197
- case "EE":
198
- case "EEE":
199
- return e.day(t, {
200
- width: "abbreviated",
201
- context: "formatting"
202
- });
203
- case "EEEEE":
204
- return e.day(t, {
205
- width: "narrow",
206
- context: "formatting"
207
- });
208
- case "EEEEEE":
209
- return e.day(t, {
210
- width: "short",
211
- context: "formatting"
212
- });
213
- case "EEEE":
214
- default:
215
- return e.day(t, {
216
- width: "wide",
217
- context: "formatting"
218
- });
219
- }
220
- },
221
- // Local day of week
222
- e: function(n, r, e, t) {
223
- const a = n.getDay(), o = (a - t.weekStartsOn + 8) % 7 || 7;
224
- switch (r) {
225
- case "e":
226
- return String(o);
227
- case "ee":
228
- return i(o, 2);
229
- case "eo":
230
- return e.ordinalNumber(o, { unit: "day" });
231
- case "eee":
232
- return e.day(a, {
233
- width: "abbreviated",
234
- context: "formatting"
235
- });
236
- case "eeeee":
237
- return e.day(a, {
238
- width: "narrow",
239
- context: "formatting"
240
- });
241
- case "eeeeee":
242
- return e.day(a, {
243
- width: "short",
244
- context: "formatting"
245
- });
246
- case "eeee":
247
- default:
248
- return e.day(a, {
249
- width: "wide",
250
- context: "formatting"
251
- });
252
- }
253
- },
254
- // Stand-alone local day of week
255
- c: function(n, r, e, t) {
256
- const a = n.getDay(), o = (a - t.weekStartsOn + 8) % 7 || 7;
257
- switch (r) {
258
- case "c":
259
- return String(o);
260
- case "cc":
261
- return i(o, r.length);
262
- case "co":
263
- return e.ordinalNumber(o, { unit: "day" });
264
- case "ccc":
265
- return e.day(a, {
266
- width: "abbreviated",
267
- context: "standalone"
268
- });
269
- case "ccccc":
270
- return e.day(a, {
271
- width: "narrow",
272
- context: "standalone"
273
- });
274
- case "cccccc":
275
- return e.day(a, {
276
- width: "short",
277
- context: "standalone"
278
- });
279
- case "cccc":
280
- default:
281
- return e.day(a, {
282
- width: "wide",
283
- context: "standalone"
284
- });
285
- }
286
- },
287
- // ISO day of week
288
- i: function(n, r, e) {
289
- const t = n.getDay(), a = t === 0 ? 7 : t;
290
- switch (r) {
291
- case "i":
292
- return String(a);
293
- case "ii":
294
- return i(a, r.length);
295
- case "io":
296
- return e.ordinalNumber(a, { unit: "day" });
297
- case "iii":
298
- return e.day(t, {
299
- width: "abbreviated",
300
- context: "formatting"
301
- });
302
- case "iiiii":
303
- return e.day(t, {
304
- width: "narrow",
305
- context: "formatting"
306
- });
307
- case "iiiiii":
308
- return e.day(t, {
309
- width: "short",
310
- context: "formatting"
311
- });
312
- case "iiii":
313
- default:
314
- return e.day(t, {
315
- width: "wide",
316
- context: "formatting"
317
- });
318
- }
319
- },
320
- // AM or PM
321
- a: function(n, r, e) {
322
- const a = n.getHours() / 12 >= 1 ? "pm" : "am";
323
- switch (r) {
324
- case "a":
325
- case "aa":
326
- return e.dayPeriod(a, {
327
- width: "abbreviated",
328
- context: "formatting"
329
- });
330
- case "aaa":
331
- return e.dayPeriod(a, {
332
- width: "abbreviated",
333
- context: "formatting"
334
- }).toLowerCase();
335
- case "aaaaa":
336
- return e.dayPeriod(a, {
337
- width: "narrow",
338
- context: "formatting"
339
- });
340
- case "aaaa":
341
- default:
342
- return e.dayPeriod(a, {
343
- width: "wide",
344
- context: "formatting"
345
- });
346
- }
347
- },
348
- // AM, PM, midnight, noon
349
- b: function(n, r, e) {
350
- const t = n.getHours();
351
- let a;
352
- switch (t === 12 ? a = s.noon : t === 0 ? a = s.midnight : a = t / 12 >= 1 ? "pm" : "am", r) {
353
- case "b":
354
- case "bb":
355
- return e.dayPeriod(a, {
356
- width: "abbreviated",
357
- context: "formatting"
358
- });
359
- case "bbb":
360
- return e.dayPeriod(a, {
361
- width: "abbreviated",
362
- context: "formatting"
363
- }).toLowerCase();
364
- case "bbbbb":
365
- return e.dayPeriod(a, {
366
- width: "narrow",
367
- context: "formatting"
368
- });
369
- case "bbbb":
370
- default:
371
- return e.dayPeriod(a, {
372
- width: "wide",
373
- context: "formatting"
374
- });
375
- }
376
- },
377
- // in the morning, in the afternoon, in the evening, at night
378
- B: function(n, r, e) {
379
- const t = n.getHours();
380
- let a;
381
- switch (t >= 17 ? a = s.evening : t >= 12 ? a = s.afternoon : t >= 4 ? a = s.morning : a = s.night, r) {
382
- case "B":
383
- case "BB":
384
- case "BBB":
385
- return e.dayPeriod(a, {
386
- width: "abbreviated",
387
- context: "formatting"
388
- });
389
- case "BBBBB":
390
- return e.dayPeriod(a, {
391
- width: "narrow",
392
- context: "formatting"
393
- });
394
- case "BBBB":
395
- default:
396
- return e.dayPeriod(a, {
397
- width: "wide",
398
- context: "formatting"
399
- });
400
- }
401
- },
402
- // Hour [1-12]
403
- h: function(n, r, e) {
404
- if (r === "ho") {
405
- let t = n.getHours() % 12;
406
- return t === 0 && (t = 12), e.ordinalNumber(t, { unit: "hour" });
407
- }
408
- return u.h(n, r);
409
- },
410
- // Hour [0-23]
411
- H: function(n, r, e) {
412
- return r === "Ho" ? e.ordinalNumber(n.getHours(), { unit: "hour" }) : u.H(n, r);
413
- },
414
- // Hour [0-11]
415
- K: function(n, r, e) {
416
- const t = n.getHours() % 12;
417
- return r === "Ko" ? e.ordinalNumber(t, { unit: "hour" }) : i(t, r.length);
418
- },
419
- // Hour [1-24]
420
- k: function(n, r, e) {
421
- let t = n.getHours();
422
- return t === 0 && (t = 24), r === "ko" ? e.ordinalNumber(t, { unit: "hour" }) : i(t, r.length);
423
- },
424
- // Minute
425
- m: function(n, r, e) {
426
- return r === "mo" ? e.ordinalNumber(n.getMinutes(), { unit: "minute" }) : u.m(n, r);
427
- },
428
- // Second
429
- s: function(n, r, e) {
430
- return r === "so" ? e.ordinalNumber(n.getSeconds(), { unit: "second" }) : u.s(n, r);
431
- },
432
- // Fraction of second
433
- S: function(n, r) {
434
- return u.S(n, r);
435
- },
436
- // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
437
- X: function(n, r, e) {
438
- const t = n.getTimezoneOffset();
439
- if (t === 0)
440
- return "Z";
441
- switch (r) {
442
- case "X":
443
- return f(t);
444
- case "XXXX":
445
- case "XX":
446
- return c(t);
447
- case "XXXXX":
448
- case "XXX":
449
- default:
450
- return c(t, ":");
451
- }
452
- },
453
- // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
454
- x: function(n, r, e) {
455
- const t = n.getTimezoneOffset();
456
- switch (r) {
457
- case "x":
458
- return f(t);
459
- case "xxxx":
460
- case "xx":
461
- return c(t);
462
- case "xxxxx":
463
- case "xxx":
464
- default:
465
- return c(t, ":");
466
- }
467
- },
468
- // Timezone (GMT)
469
- O: function(n, r, e) {
470
- const t = n.getTimezoneOffset();
471
- switch (r) {
472
- case "O":
473
- case "OO":
474
- case "OOO":
475
- return "GMT" + d(t, ":");
476
- case "OOOO":
477
- default:
478
- return "GMT" + c(t, ":");
479
- }
480
- },
481
- // Timezone (specific non-location)
482
- z: function(n, r, e) {
483
- const t = n.getTimezoneOffset();
484
- switch (r) {
485
- case "z":
486
- case "zz":
487
- case "zzz":
488
- return "GMT" + d(t, ":");
489
- case "zzzz":
490
- default:
491
- return "GMT" + c(t, ":");
492
- }
493
- },
494
- // Seconds timestamp
495
- t: function(n, r, e) {
496
- const t = Math.trunc(+n / 1e3);
497
- return i(t, r.length);
498
- },
499
- // Milliseconds timestamp
500
- T: function(n, r, e) {
501
- return i(+n, r.length);
502
- }
1
+ import e from "../../getISOWeekYear.js";
2
+ import t from "../../getDayOfYear.js";
3
+ import n from "../../getISOWeek.js";
4
+ import r from "../../getWeekYear.js";
5
+ import i from "../../getWeek.js";
6
+ import { addLeadingZeros as a } from "../addLeadingZeros.js";
7
+ import { lightFormatters as o } from "./lightFormatters.js";
8
+ //#region ../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/format/formatters.js
9
+ var s = {
10
+ am: "am",
11
+ pm: "pm",
12
+ midnight: "midnight",
13
+ noon: "noon",
14
+ morning: "morning",
15
+ afternoon: "afternoon",
16
+ evening: "evening",
17
+ night: "night"
18
+ }, c = {
19
+ G: function(e, t, n) {
20
+ let r = +(e.getFullYear() > 0);
21
+ switch (t) {
22
+ case "G":
23
+ case "GG":
24
+ case "GGG": return n.era(r, { width: "abbreviated" });
25
+ case "GGGGG": return n.era(r, { width: "narrow" });
26
+ default: return n.era(r, { width: "wide" });
27
+ }
28
+ },
29
+ y: function(e, t, n) {
30
+ if (t === "yo") {
31
+ let t = e.getFullYear(), r = t > 0 ? t : 1 - t;
32
+ return n.ordinalNumber(r, { unit: "year" });
33
+ }
34
+ return o.y(e, t);
35
+ },
36
+ Y: function(e, t, n, i) {
37
+ let o = r(e, i), s = o > 0 ? o : 1 - o;
38
+ return t === "YY" ? a(s % 100, 2) : t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : a(s, t.length);
39
+ },
40
+ R: function(t, n) {
41
+ return a(e(t), n.length);
42
+ },
43
+ u: function(e, t) {
44
+ return a(e.getFullYear(), t.length);
45
+ },
46
+ Q: function(e, t, n) {
47
+ let r = Math.ceil((e.getMonth() + 1) / 3);
48
+ switch (t) {
49
+ case "Q": return String(r);
50
+ case "QQ": return a(r, 2);
51
+ case "Qo": return n.ordinalNumber(r, { unit: "quarter" });
52
+ case "QQQ": return n.quarter(r, {
53
+ width: "abbreviated",
54
+ context: "formatting"
55
+ });
56
+ case "QQQQQ": return n.quarter(r, {
57
+ width: "narrow",
58
+ context: "formatting"
59
+ });
60
+ default: return n.quarter(r, {
61
+ width: "wide",
62
+ context: "formatting"
63
+ });
64
+ }
65
+ },
66
+ q: function(e, t, n) {
67
+ let r = Math.ceil((e.getMonth() + 1) / 3);
68
+ switch (t) {
69
+ case "q": return String(r);
70
+ case "qq": return a(r, 2);
71
+ case "qo": return n.ordinalNumber(r, { unit: "quarter" });
72
+ case "qqq": return n.quarter(r, {
73
+ width: "abbreviated",
74
+ context: "standalone"
75
+ });
76
+ case "qqqqq": return n.quarter(r, {
77
+ width: "narrow",
78
+ context: "standalone"
79
+ });
80
+ default: return n.quarter(r, {
81
+ width: "wide",
82
+ context: "standalone"
83
+ });
84
+ }
85
+ },
86
+ M: function(e, t, n) {
87
+ let r = e.getMonth();
88
+ switch (t) {
89
+ case "M":
90
+ case "MM": return o.M(e, t);
91
+ case "Mo": return n.ordinalNumber(r + 1, { unit: "month" });
92
+ case "MMM": return n.month(r, {
93
+ width: "abbreviated",
94
+ context: "formatting"
95
+ });
96
+ case "MMMMM": return n.month(r, {
97
+ width: "narrow",
98
+ context: "formatting"
99
+ });
100
+ default: return n.month(r, {
101
+ width: "wide",
102
+ context: "formatting"
103
+ });
104
+ }
105
+ },
106
+ L: function(e, t, n) {
107
+ let r = e.getMonth();
108
+ switch (t) {
109
+ case "L": return String(r + 1);
110
+ case "LL": return a(r + 1, 2);
111
+ case "Lo": return n.ordinalNumber(r + 1, { unit: "month" });
112
+ case "LLL": return n.month(r, {
113
+ width: "abbreviated",
114
+ context: "standalone"
115
+ });
116
+ case "LLLLL": return n.month(r, {
117
+ width: "narrow",
118
+ context: "standalone"
119
+ });
120
+ default: return n.month(r, {
121
+ width: "wide",
122
+ context: "standalone"
123
+ });
124
+ }
125
+ },
126
+ w: function(e, t, n, r) {
127
+ let o = i(e, r);
128
+ return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : a(o, t.length);
129
+ },
130
+ I: function(e, t, r) {
131
+ let i = n(e);
132
+ return t === "Io" ? r.ordinalNumber(i, { unit: "week" }) : a(i, t.length);
133
+ },
134
+ d: function(e, t, n) {
135
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : o.d(e, t);
136
+ },
137
+ D: function(e, n, r) {
138
+ let i = t(e);
139
+ return n === "Do" ? r.ordinalNumber(i, { unit: "dayOfYear" }) : a(i, n.length);
140
+ },
141
+ E: function(e, t, n) {
142
+ let r = e.getDay();
143
+ switch (t) {
144
+ case "E":
145
+ case "EE":
146
+ case "EEE": return n.day(r, {
147
+ width: "abbreviated",
148
+ context: "formatting"
149
+ });
150
+ case "EEEEE": return n.day(r, {
151
+ width: "narrow",
152
+ context: "formatting"
153
+ });
154
+ case "EEEEEE": return n.day(r, {
155
+ width: "short",
156
+ context: "formatting"
157
+ });
158
+ default: return n.day(r, {
159
+ width: "wide",
160
+ context: "formatting"
161
+ });
162
+ }
163
+ },
164
+ e: function(e, t, n, r) {
165
+ let i = e.getDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
166
+ switch (t) {
167
+ case "e": return String(o);
168
+ case "ee": return a(o, 2);
169
+ case "eo": return n.ordinalNumber(o, { unit: "day" });
170
+ case "eee": return n.day(i, {
171
+ width: "abbreviated",
172
+ context: "formatting"
173
+ });
174
+ case "eeeee": return n.day(i, {
175
+ width: "narrow",
176
+ context: "formatting"
177
+ });
178
+ case "eeeeee": return n.day(i, {
179
+ width: "short",
180
+ context: "formatting"
181
+ });
182
+ default: return n.day(i, {
183
+ width: "wide",
184
+ context: "formatting"
185
+ });
186
+ }
187
+ },
188
+ c: function(e, t, n, r) {
189
+ let i = e.getDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
190
+ switch (t) {
191
+ case "c": return String(o);
192
+ case "cc": return a(o, t.length);
193
+ case "co": return n.ordinalNumber(o, { unit: "day" });
194
+ case "ccc": return n.day(i, {
195
+ width: "abbreviated",
196
+ context: "standalone"
197
+ });
198
+ case "ccccc": return n.day(i, {
199
+ width: "narrow",
200
+ context: "standalone"
201
+ });
202
+ case "cccccc": return n.day(i, {
203
+ width: "short",
204
+ context: "standalone"
205
+ });
206
+ default: return n.day(i, {
207
+ width: "wide",
208
+ context: "standalone"
209
+ });
210
+ }
211
+ },
212
+ i: function(e, t, n) {
213
+ let r = e.getDay(), i = r === 0 ? 7 : r;
214
+ switch (t) {
215
+ case "i": return String(i);
216
+ case "ii": return a(i, t.length);
217
+ case "io": return n.ordinalNumber(i, { unit: "day" });
218
+ case "iii": return n.day(r, {
219
+ width: "abbreviated",
220
+ context: "formatting"
221
+ });
222
+ case "iiiii": return n.day(r, {
223
+ width: "narrow",
224
+ context: "formatting"
225
+ });
226
+ case "iiiiii": return n.day(r, {
227
+ width: "short",
228
+ context: "formatting"
229
+ });
230
+ default: return n.day(r, {
231
+ width: "wide",
232
+ context: "formatting"
233
+ });
234
+ }
235
+ },
236
+ a: function(e, t, n) {
237
+ let r = e.getHours() / 12 >= 1 ? "pm" : "am";
238
+ switch (t) {
239
+ case "a":
240
+ case "aa": return n.dayPeriod(r, {
241
+ width: "abbreviated",
242
+ context: "formatting"
243
+ });
244
+ case "aaa": return n.dayPeriod(r, {
245
+ width: "abbreviated",
246
+ context: "formatting"
247
+ }).toLowerCase();
248
+ case "aaaaa": return n.dayPeriod(r, {
249
+ width: "narrow",
250
+ context: "formatting"
251
+ });
252
+ default: return n.dayPeriod(r, {
253
+ width: "wide",
254
+ context: "formatting"
255
+ });
256
+ }
257
+ },
258
+ b: function(e, t, n) {
259
+ let r = e.getHours(), i;
260
+ switch (i = r === 12 ? s.noon : r === 0 ? s.midnight : r / 12 >= 1 ? "pm" : "am", t) {
261
+ case "b":
262
+ case "bb": return n.dayPeriod(i, {
263
+ width: "abbreviated",
264
+ context: "formatting"
265
+ });
266
+ case "bbb": return n.dayPeriod(i, {
267
+ width: "abbreviated",
268
+ context: "formatting"
269
+ }).toLowerCase();
270
+ case "bbbbb": return n.dayPeriod(i, {
271
+ width: "narrow",
272
+ context: "formatting"
273
+ });
274
+ default: return n.dayPeriod(i, {
275
+ width: "wide",
276
+ context: "formatting"
277
+ });
278
+ }
279
+ },
280
+ B: function(e, t, n) {
281
+ let r = e.getHours(), i;
282
+ switch (i = r >= 17 ? s.evening : r >= 12 ? s.afternoon : r >= 4 ? s.morning : s.night, t) {
283
+ case "B":
284
+ case "BB":
285
+ case "BBB": return n.dayPeriod(i, {
286
+ width: "abbreviated",
287
+ context: "formatting"
288
+ });
289
+ case "BBBBB": return n.dayPeriod(i, {
290
+ width: "narrow",
291
+ context: "formatting"
292
+ });
293
+ default: return n.dayPeriod(i, {
294
+ width: "wide",
295
+ context: "formatting"
296
+ });
297
+ }
298
+ },
299
+ h: function(e, t, n) {
300
+ if (t === "ho") {
301
+ let t = e.getHours() % 12;
302
+ return t === 0 && (t = 12), n.ordinalNumber(t, { unit: "hour" });
303
+ }
304
+ return o.h(e, t);
305
+ },
306
+ H: function(e, t, n) {
307
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : o.H(e, t);
308
+ },
309
+ K: function(e, t, n) {
310
+ let r = e.getHours() % 12;
311
+ return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : a(r, t.length);
312
+ },
313
+ k: function(e, t, n) {
314
+ let r = e.getHours();
315
+ return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : a(r, t.length);
316
+ },
317
+ m: function(e, t, n) {
318
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : o.m(e, t);
319
+ },
320
+ s: function(e, t, n) {
321
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : o.s(e, t);
322
+ },
323
+ S: function(e, t) {
324
+ return o.S(e, t);
325
+ },
326
+ X: function(e, t, n) {
327
+ let r = e.getTimezoneOffset();
328
+ if (r === 0) return "Z";
329
+ switch (t) {
330
+ case "X": return u(r);
331
+ case "XXXX":
332
+ case "XX": return d(r);
333
+ default: return d(r, ":");
334
+ }
335
+ },
336
+ x: function(e, t, n) {
337
+ let r = e.getTimezoneOffset();
338
+ switch (t) {
339
+ case "x": return u(r);
340
+ case "xxxx":
341
+ case "xx": return d(r);
342
+ default: return d(r, ":");
343
+ }
344
+ },
345
+ O: function(e, t, n) {
346
+ let r = e.getTimezoneOffset();
347
+ switch (t) {
348
+ case "O":
349
+ case "OO":
350
+ case "OOO": return "GMT" + l(r, ":");
351
+ default: return "GMT" + d(r, ":");
352
+ }
353
+ },
354
+ z: function(e, t, n) {
355
+ let r = e.getTimezoneOffset();
356
+ switch (t) {
357
+ case "z":
358
+ case "zz":
359
+ case "zzz": return "GMT" + l(r, ":");
360
+ default: return "GMT" + d(r, ":");
361
+ }
362
+ },
363
+ t: function(e, t, n) {
364
+ return a(Math.trunc(e / 1e3), t.length);
365
+ },
366
+ T: function(e, t, n) {
367
+ return a(+e, t.length);
368
+ }
503
369
  };
504
- function d(n, r = "") {
505
- const e = n > 0 ? "-" : "+", t = Math.abs(n), a = Math.trunc(t / 60), o = t % 60;
506
- return o === 0 ? e + String(a) : e + String(a) + r + i(o, 2);
370
+ function l(e, t = "") {
371
+ let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), o = r % 60;
372
+ return o === 0 ? n + String(i) : n + String(i) + t + a(o, 2);
507
373
  }
508
- function f(n, r) {
509
- return n % 60 === 0 ? (n > 0 ? "-" : "+") + i(Math.abs(n) / 60, 2) : c(n, r);
374
+ function u(e, t) {
375
+ return e % 60 == 0 ? (e > 0 ? "-" : "+") + a(Math.abs(e) / 60, 2) : d(e, t);
510
376
  }
511
- function c(n, r = "") {
512
- const e = n > 0 ? "-" : "+", t = Math.abs(n), a = i(Math.trunc(t / 60), 2), o = i(t % 60, 2);
513
- return e + a + r + o;
377
+ function d(e, t = "") {
378
+ let n = e > 0 ? "-" : "+", r = Math.abs(e), i = a(Math.trunc(r / 60), 2), o = a(r % 60, 2);
379
+ return n + i + t + o;
514
380
  }
515
- export {
516
- L as formatters
517
- };
381
+ //#endregion
382
+ export { c as formatters };