@leaflink/stash 49.5.0 → 50.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 (416) hide show
  1. package/dist/Accordion.js +25 -28
  2. package/dist/Accordion.js.map +1 -1
  3. package/dist/Accordion.vue.d.ts +16 -16
  4. package/dist/ActionsDropdown.js +14 -26
  5. package/dist/ActionsDropdown.js.map +1 -1
  6. package/dist/ActionsDropdown.vue.d.ts +12 -12
  7. package/dist/AddressSelect.js +22 -47
  8. package/dist/AddressSelect.js.map +1 -1
  9. package/dist/AddressSelect.vue.d.ts +45 -45
  10. package/dist/Alert.js +4 -6
  11. package/dist/Alert.js.map +1 -1
  12. package/dist/Alert.vue.d.ts +18 -18
  13. package/dist/AppNavigationItem.js +16 -19
  14. package/dist/AppNavigationItem.js.map +1 -1
  15. package/dist/AppNavigationItem.vue.d.ts +4 -4
  16. package/dist/AppSidebar.js +27 -28
  17. package/dist/AppSidebar.js.map +1 -1
  18. package/dist/AppSidebar.vue.d.ts +7 -7
  19. package/dist/AppTopbar.js +12 -17
  20. package/dist/AppTopbar.js.map +1 -1
  21. package/dist/AppTopbar.vue.d.ts +8 -8
  22. package/dist/Avatar.js +1 -1
  23. package/dist/Avatar.vue.d.ts +22 -22
  24. package/dist/Backdrop.js +1 -1
  25. package/dist/Backdrop.vue.d.ts +1 -1
  26. package/dist/Badge.js +1 -1
  27. package/dist/Badge.js.map +1 -1
  28. package/dist/Badge.vue.d.ts +36 -36
  29. package/dist/Box.js +2 -3
  30. package/dist/Box.js.map +1 -1
  31. package/dist/Box.vue.d.ts +12 -12
  32. package/dist/{Box.vue_vue_type_script_setup_true_lang-69e5176b.js → Box.vue_vue_type_script_setup_true_lang-DgJHq-09.js} +1 -1
  33. package/dist/{Box.vue_vue_type_script_setup_true_lang-69e5176b.js.map → Box.vue_vue_type_script_setup_true_lang-DgJHq-09.js.map} +1 -1
  34. package/dist/Button.js +40 -27
  35. package/dist/Button.js.map +1 -1
  36. package/dist/Button.vue.d.ts +34 -27
  37. package/dist/ButtonGroup.js +1 -1
  38. package/dist/ButtonGroup.vue.d.ts +14 -14
  39. package/dist/Card.vue.d.ts +3 -3
  40. package/dist/CardContent.js +1 -1
  41. package/dist/CardContent.vue.d.ts +1 -1
  42. package/dist/CardFooter.js +1 -1
  43. package/dist/CardFooter.vue.d.ts +1 -1
  44. package/dist/CardMedia.js +11 -14
  45. package/dist/CardMedia.js.map +1 -1
  46. package/dist/Carousel.js +179 -180
  47. package/dist/Carousel.js.map +1 -1
  48. package/dist/Carousel.vue.d.ts +33 -11
  49. package/dist/Checkbox.js +38 -35
  50. package/dist/Checkbox.js.map +1 -1
  51. package/dist/Checkbox.vue.d.ts +31 -31
  52. package/dist/ChevronToggle.js +2 -10
  53. package/dist/ChevronToggle.js.map +1 -1
  54. package/dist/ChevronToggle.vue.d.ts +5 -5
  55. package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-fcdf0c19.js → ChevronToggle.vue_vue_type_script_setup_true_lang-DuvluoTi.js} +1 -1
  56. package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-fcdf0c19.js.map → ChevronToggle.vue_vue_type_script_setup_true_lang-DuvluoTi.js.map} +1 -1
  57. package/dist/Chip.js +17 -20
  58. package/dist/Chip.js.map +1 -1
  59. package/dist/Chip.vue.d.ts +32 -32
  60. package/dist/ConfirmationCodeInput.js +1 -1
  61. package/dist/ConfirmationCodeInput.js.map +1 -1
  62. package/dist/ConfirmationCodeInput.vue.d.ts +29 -29
  63. package/dist/ContextSwitcher.js +8 -14
  64. package/dist/ContextSwitcher.js.map +1 -1
  65. package/dist/ContextSwitcher.vue.d.ts +32 -32
  66. package/dist/Copy.js +23 -34
  67. package/dist/Copy.js.map +1 -1
  68. package/dist/Copy.vue.d.ts +9 -9
  69. package/dist/CurrencyInput.js +117 -128
  70. package/dist/CurrencyInput.js.map +1 -1
  71. package/dist/CurrencyInput.vue.d.ts +26 -21
  72. package/dist/CustomRender.vue.d.ts +12 -1
  73. package/dist/DataView.js +70 -73
  74. package/dist/DataView.js.map +1 -1
  75. package/dist/{DataView.vue_used_vue_type_style_index_0_lang.module-5c180dba.js → DataView.keys-C7eaZg2G.js} +5 -8
  76. package/dist/DataView.keys-C7eaZg2G.js.map +1 -0
  77. package/dist/DataView.vue.d.ts +51 -51
  78. package/dist/DataViewFilters.js +76 -90
  79. package/dist/DataViewFilters.js.map +1 -1
  80. package/dist/{DataViewFilters.keys-c80ffabe.js → DataViewFilters.keys-BLu07FiP.js} +1 -1
  81. package/dist/{DataViewFilters.keys-c80ffabe.js.map → DataViewFilters.keys-BLu07FiP.js.map} +1 -1
  82. package/dist/DataViewFilters.vue.d.ts +39 -39
  83. package/dist/DataViewSortButton.js +30 -43
  84. package/dist/DataViewSortButton.js.map +1 -1
  85. package/dist/DataViewSortButton.vue.d.ts +3 -3
  86. package/dist/DataViewToolbar.js +27 -36
  87. package/dist/DataViewToolbar.js.map +1 -1
  88. package/dist/DataViewToolbar.vue.d.ts +17 -17
  89. package/dist/DatePicker.js +649 -662
  90. package/dist/DatePicker.js.map +1 -1
  91. package/dist/DatePicker.vue.d.ts +73 -73
  92. package/dist/DescriptionList.js +1 -1
  93. package/dist/{DescriptionList.keys-c906ce05.js → DescriptionList.keys-BHlHYV6b.js} +1 -1
  94. package/dist/{DescriptionList.keys-c906ce05.js.map → DescriptionList.keys-BHlHYV6b.js.map} +1 -1
  95. package/dist/DescriptionList.vue.d.ts +6 -6
  96. package/dist/DescriptionListDetail.js +1 -1
  97. package/dist/DescriptionListDetail.vue.d.ts +1 -1
  98. package/dist/DescriptionListGroup.js +1 -1
  99. package/dist/DescriptionListGroup.vue.d.ts +1 -1
  100. package/dist/DescriptionListTerm.js +1 -1
  101. package/dist/DescriptionListTerm.vue.d.ts +1 -1
  102. package/dist/Dialog.js +26 -30
  103. package/dist/Dialog.js.map +1 -1
  104. package/dist/Dialog.vue.d.ts +34 -34
  105. package/dist/Divider.js +1 -1
  106. package/dist/Divider.js.map +1 -1
  107. package/dist/Divider.vue.d.ts +1 -1
  108. package/dist/Dropdown.js +21 -28
  109. package/dist/Dropdown.js.map +1 -1
  110. package/dist/Dropdown.vue.d.ts +28 -28
  111. package/dist/EmptyState.js +32 -33
  112. package/dist/EmptyState.js.map +1 -1
  113. package/dist/EmptyState.vue.d.ts +36 -36
  114. package/dist/Expand.js +2 -3
  115. package/dist/Expand.js.map +1 -1
  116. package/dist/Expand.vue.d.ts +14 -14
  117. package/dist/{Expand.vue_vue_type_script_setup_true_lang-0f236267.js → Expand.vue_vue_type_script_setup_true_lang-D0fSAtHr.js} +1 -1
  118. package/dist/{Expand.vue_vue_type_script_setup_true_lang-0f236267.js.map → Expand.vue_vue_type_script_setup_true_lang-D0fSAtHr.js.map} +1 -1
  119. package/dist/Field.js +2 -7
  120. package/dist/Field.js.map +1 -1
  121. package/dist/Field.vue.d.ts +30 -30
  122. package/dist/{Field.vue_vue_type_script_setup_true_lang-fded4f75.js → Field.vue_vue_type_script_setup_true_lang-DjxUvSRF.js} +2 -2
  123. package/dist/{Field.vue_vue_type_script_setup_true_lang-fded4f75.js.map → Field.vue_vue_type_script_setup_true_lang-DjxUvSRF.js.map} +1 -1
  124. package/dist/FileUpload.js +58 -57
  125. package/dist/FileUpload.js.map +1 -1
  126. package/dist/FileUpload.vue.d.ts +28 -28
  127. package/dist/FilterChip.js +12 -17
  128. package/dist/FilterChip.js.map +1 -1
  129. package/dist/FilterChip.vue.d.ts +19 -19
  130. package/dist/FilterDrawerItem.js +24 -30
  131. package/dist/FilterDrawerItem.js.map +1 -1
  132. package/dist/FilterDrawerItem.vue.d.ts +2 -2
  133. package/dist/FilterDropdown.js +41 -57
  134. package/dist/FilterDropdown.js.map +1 -1
  135. package/dist/FilterDropdown.vue.d.ts +9 -9
  136. package/dist/FilterSelect.js +36 -45
  137. package/dist/FilterSelect.js.map +1 -1
  138. package/dist/FilterSelect.vue.d.ts +5 -5
  139. package/dist/Filters.js +60 -96
  140. package/dist/Filters.js.map +1 -1
  141. package/dist/Filters.vue.d.ts +2005 -2294
  142. package/dist/HttpError.js +16 -23
  143. package/dist/HttpError.js.map +1 -1
  144. package/dist/HttpError.vue.d.ts +18 -18
  145. package/dist/Icon.js +27 -22
  146. package/dist/Icon.js.map +1 -1
  147. package/dist/Icon.vue.d.ts +13 -13
  148. package/dist/IconLabel.js +9 -12
  149. package/dist/IconLabel.js.map +1 -1
  150. package/dist/IconLabel.vue.d.ts +17 -17
  151. package/dist/Illustration.js +8 -11
  152. package/dist/Illustration.js.map +1 -1
  153. package/dist/Illustration.vue.d.ts +21 -21
  154. package/dist/{Illustration.vue_vue_type_script_setup_true_lang-e26c3841.js → Illustration.vue_vue_type_script_setup_true_lang-C3qG3Ty6.js} +2 -2
  155. package/dist/{Illustration.vue_vue_type_script_setup_true_lang-e26c3841.js.map → Illustration.vue_vue_type_script_setup_true_lang-C3qG3Ty6.js.map} +1 -1
  156. package/dist/Image.js.map +1 -1
  157. package/dist/Image.vue.d.ts +18 -18
  158. package/dist/InlineEdit.js +19 -30
  159. package/dist/InlineEdit.js.map +1 -1
  160. package/dist/InlineEdit.vue.d.ts +26 -26
  161. package/dist/Input.js +58 -64
  162. package/dist/Input.js.map +1 -1
  163. package/dist/Input.vue.d.ts +44 -36
  164. package/dist/InputOptions.js +66 -93
  165. package/dist/InputOptions.js.map +1 -1
  166. package/dist/InputOptions.vue.d.ts +66 -58
  167. package/dist/IntegrationIcon.js +2 -2
  168. package/dist/IntegrationIcon.js.map +1 -1
  169. package/dist/IntegrationIcon.vue.d.ts +12 -12
  170. package/dist/Label.js +2 -5
  171. package/dist/Label.js.map +1 -1
  172. package/dist/Label.vue.d.ts +17 -17
  173. package/dist/{Label.vue_vue_type_script_setup_true_lang-b6ba2f02.js → Label.vue_vue_type_script_setup_true_lang-C4JKdqvC.js} +1 -1
  174. package/dist/{Label.vue_vue_type_script_setup_true_lang-b6ba2f02.js.map → Label.vue_vue_type_script_setup_true_lang-C4JKdqvC.js.map} +1 -1
  175. package/dist/LicenseChip.js +10 -16
  176. package/dist/LicenseChip.js.map +1 -1
  177. package/dist/LicenseChip.vue.d.ts +3 -3
  178. package/dist/ListItem.js +5 -8
  179. package/dist/ListItem.js.map +1 -1
  180. package/dist/ListItem.vue.d.ts +275 -225
  181. package/dist/ListItemCell.js +1 -1
  182. package/dist/ListItemCell.js.map +1 -1
  183. package/dist/ListItemCell.vue.d.ts +13 -2
  184. package/dist/ListView.js +57 -101
  185. package/dist/ListView.js.map +1 -1
  186. package/dist/ListView.vue.d.ts +5185 -5430
  187. package/dist/Loading.js +12 -10
  188. package/dist/Loading.js.map +1 -1
  189. package/dist/Loading.vue.d.ts +1 -1
  190. package/dist/Logo.js +2 -4
  191. package/dist/Logo.js.map +1 -1
  192. package/dist/Logo.vue.d.ts +17 -17
  193. package/dist/{Logo.vue_vue_type_script_setup_true_lang-2a2597cb.js → Logo.vue_vue_type_script_setup_true_lang-BfUU9J9O.js} +1 -1
  194. package/dist/{Logo.vue_vue_type_script_setup_true_lang-2a2597cb.js.map → Logo.vue_vue_type_script_setup_true_lang-BfUU9J9O.js.map} +1 -1
  195. package/dist/Menu.js +1 -1
  196. package/dist/Menu.vue.d.ts +1 -1
  197. package/dist/MenuItem.js +1 -1
  198. package/dist/MenuItem.vue.d.ts +1 -1
  199. package/dist/{MenusPlugin-9288029a.js → MenusPlugin-Bk6UW6o9.js} +1 -1
  200. package/dist/{MenusPlugin-9288029a.js.map → MenusPlugin-Bk6UW6o9.js.map} +1 -1
  201. package/dist/Metric.vue.d.ts +10 -10
  202. package/dist/Modal.js +27 -32
  203. package/dist/Modal.js.map +1 -1
  204. package/dist/Modal.vue.d.ts +42 -42
  205. package/dist/Modals.js +14 -16
  206. package/dist/Modals.js.map +1 -1
  207. package/dist/Modals.vue.d.ts +1 -1
  208. package/dist/ModalsPlugin.js +9 -12
  209. package/dist/ModalsPlugin.js.map +1 -1
  210. package/dist/Module.js +3 -3
  211. package/dist/{Module.keys-2cc7d830.js → Module.keys-CEsrW2f0.js} +1 -1
  212. package/dist/{Module.keys-2cc7d830.js.map → Module.keys-CEsrW2f0.js.map} +1 -1
  213. package/dist/{Module.types-3f78f2a0.js → Module.types-B1FfGGac.js} +1 -1
  214. package/dist/{Module.types-3f78f2a0.js.map → Module.types-B1FfGGac.js.map} +1 -1
  215. package/dist/Module.vue.d.ts +3 -3
  216. package/dist/ModuleContent.js +2 -2
  217. package/dist/ModuleContent.vue.d.ts +1 -1
  218. package/dist/ModuleFooter.js +2 -2
  219. package/dist/ModuleFooter.vue.d.ts +1 -1
  220. package/dist/ModuleHeader.js +3 -3
  221. package/dist/ModuleHeader.vue.d.ts +15 -15
  222. package/dist/ObfuscateText.js +8 -13
  223. package/dist/ObfuscateText.js.map +1 -1
  224. package/dist/ObfuscateText.vue.d.ts +18 -18
  225. package/dist/PageContent.js +1 -1
  226. package/dist/PageContent.vue.d.ts +1 -1
  227. package/dist/PageHeader.js +26 -23
  228. package/dist/PageHeader.js.map +1 -1
  229. package/dist/PageHeader.vue.d.ts +7 -4
  230. package/dist/PageNavigation.js +41 -64
  231. package/dist/PageNavigation.js.map +1 -1
  232. package/dist/PageNavigation.vue.d.ts +10 -10
  233. package/dist/Paginate.js +36 -34
  234. package/dist/Paginate.js.map +1 -1
  235. package/dist/Paginate.vue.d.ts +11 -11
  236. package/dist/PlaidLink.js +3 -5
  237. package/dist/PlaidLink.js.map +1 -1
  238. package/dist/PlaidLink.vue.d.ts +29 -29
  239. package/dist/QuickAction.js +12 -15
  240. package/dist/QuickAction.js.map +1 -1
  241. package/dist/QuickAction.vue.d.ts +1 -1
  242. package/dist/Radio.js +1 -1
  243. package/dist/Radio.js.map +1 -1
  244. package/dist/Radio.vue.d.ts +83 -12
  245. package/dist/RadioGroup.js +41 -45
  246. package/dist/RadioGroup.js.map +1 -1
  247. package/dist/{RadioGroup.keys-974818d6.js → RadioGroup.keys-CqfiKkNz.js} +1 -1
  248. package/dist/{RadioGroup.keys-974818d6.js.map → RadioGroup.keys-CqfiKkNz.js.map} +1 -1
  249. package/dist/RadioGroup.vue.d.ts +30 -30
  250. package/dist/RadioNew.js +2 -2
  251. package/dist/RadioNew.js.map +1 -1
  252. package/dist/RadioNew.vue.d.ts +26 -26
  253. package/dist/RangeInput.js +10 -14
  254. package/dist/RangeInput.js.map +1 -1
  255. package/dist/RangeInput.vue.d.ts +1 -1
  256. package/dist/SearchBar.js +31 -41
  257. package/dist/SearchBar.js.map +1 -1
  258. package/dist/SearchBar.vue.d.ts +22 -22
  259. package/dist/Select.js +66 -78
  260. package/dist/Select.js.map +1 -1
  261. package/dist/Select.vue.d.ts +123 -123
  262. package/dist/SelectStatus.js +47 -69
  263. package/dist/SelectStatus.js.map +1 -1
  264. package/dist/SelectStatus.vue.d.ts +33 -26
  265. package/dist/Skeleton.js +1 -1
  266. package/dist/Skeleton.js.map +1 -1
  267. package/dist/Skeleton.vue.d.ts +9 -9
  268. package/dist/Step.js +10 -14
  269. package/dist/Step.js.map +1 -1
  270. package/dist/Step.vue.d.ts +21 -21
  271. package/dist/Stepper.js +37 -40
  272. package/dist/Stepper.js.map +1 -1
  273. package/dist/Stepper.vue.d.ts +34 -29
  274. package/dist/Switch.js +1 -1
  275. package/dist/Switch.vue.d.ts +23 -23
  276. package/dist/Tab.js +21 -36
  277. package/dist/Tab.js.map +1 -1
  278. package/dist/Table.js +38 -55
  279. package/dist/Table.js.map +1 -1
  280. package/dist/Table.keys-LHQf6FEH.js +7 -0
  281. package/dist/{Table.keys-83e4f09b.js.map → Table.keys-LHQf6FEH.js.map} +1 -1
  282. package/dist/Table.vue.d.ts +36 -36
  283. package/dist/TableCell.js +26 -26
  284. package/dist/TableCell.js.map +1 -1
  285. package/dist/TableCell.vue.d.ts +6 -6
  286. package/dist/TableHeaderCell.js +6 -13
  287. package/dist/TableHeaderCell.js.map +1 -1
  288. package/dist/TableHeaderCell.vue.d.ts +3 -3
  289. package/dist/TableHeaderRow.js +22 -32
  290. package/dist/TableHeaderRow.js.map +1 -1
  291. package/dist/TableHeaderRow.vue.d.ts +8 -8
  292. package/dist/TableRow.js +59 -59
  293. package/dist/TableRow.js.map +1 -1
  294. package/dist/TableRow.vue.d.ts +26 -26
  295. package/dist/Tabs.js +10 -24
  296. package/dist/Tabs.js.map +1 -1
  297. package/dist/Tabs.vue.d.ts +5 -5
  298. package/dist/{Tabs.vue_used_vue_type_style_index_0_lang.module-d7530989.js → Tabs.vue_vue_type_script_setup_true_lang-l41hWkV4.js} +31 -34
  299. package/dist/Tabs.vue_vue_type_script_setup_true_lang-l41hWkV4.js.map +1 -0
  300. package/dist/TextEditor.js +1269 -1364
  301. package/dist/TextEditor.js.map +1 -1
  302. package/dist/TextEditor.vue.d.ts +46 -46
  303. package/dist/Textarea.js +30 -31
  304. package/dist/Textarea.js.map +1 -1
  305. package/dist/Textarea.vue.d.ts +34 -26
  306. package/dist/Timeline.js +9 -10
  307. package/dist/Timeline.js.map +1 -1
  308. package/dist/Timeline.vue.d.ts +6 -6
  309. package/dist/TimelineItem.js +1 -1
  310. package/dist/TimelineItem.vue.d.ts +1 -1
  311. package/dist/Toast.js +5 -9
  312. package/dist/Toast.js.map +1 -1
  313. package/dist/Toast.vue.d.ts +3 -3
  314. package/dist/Toasts.js +15 -25
  315. package/dist/Toasts.js.map +1 -1
  316. package/dist/Toasts.vue.d.ts +1 -1
  317. package/dist/ToastsPlugin.js +11 -23
  318. package/dist/ToastsPlugin.js.map +1 -1
  319. package/dist/Tooltip.js +1 -1
  320. package/dist/Tooltip.js.map +1 -1
  321. package/dist/Tooltip.vue.d.ts +15 -15
  322. package/dist/{_commonjsHelpers-10dfc225.js → _commonjsHelpers-DaMA6jEr.js} +1 -1
  323. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  324. package/dist/{_plugin-vue_export-helper-dad06003.js → _plugin-vue_export-helper-CHgC5LLL.js} +1 -1
  325. package/dist/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
  326. package/dist/{colors-8d9b9429.js → colors-DDDVvqfQ.js} +1 -1
  327. package/dist/{colors-8d9b9429.js.map → colors-DDDVvqfQ.js.map} +1 -1
  328. package/dist/components.css +2 -2
  329. package/dist/directives/observe.js.map +1 -1
  330. package/dist/directives/sticky.js.map +1 -1
  331. package/dist/directives/tooltip.js +21 -27
  332. package/dist/directives/tooltip.js.map +1 -1
  333. package/dist/directives/viewable.js +1 -1
  334. package/dist/directives/viewable.js.map +1 -1
  335. package/dist/{floating-ui.vue-8d7f7932.js → floating-ui.vue-BmfQDqE-.js} +2 -3
  336. package/dist/{floating-ui.vue-8d7f7932.js.map → floating-ui.vue-BmfQDqE-.js.map} +1 -1
  337. package/dist/{formatDateTime-a5e70901.js → formatDateTime-C8CYECpd.js} +8 -12
  338. package/dist/{formatDateTime-a5e70901.js.map → formatDateTime-C8CYECpd.js.map} +1 -1
  339. package/dist/{index-9e1095ef.js → index-D6bxWkZ1.js} +2 -3
  340. package/dist/{index-9e1095ef.js.map → index-D6bxWkZ1.js.map} +1 -1
  341. package/dist/index.d.ts +1 -1
  342. package/dist/index.js +90 -112
  343. package/dist/index.js.map +1 -1
  344. package/dist/{isDefined-2ce6cde4.js → isDefined-DzVx0B6k.js} +1 -1
  345. package/dist/{isDefined-2ce6cde4.js.map → isDefined-DzVx0B6k.js.map} +1 -1
  346. package/dist/{isValid-4b2b7a54.js → isValid-DN-HkCoi.js} +1 -1
  347. package/dist/{isValid-4b2b7a54.js.map → isValid-DN-HkCoi.js.map} +1 -1
  348. package/dist/{keys-241d03b7.js → keys-BEdEsanp.js} +1 -1
  349. package/dist/{keys-241d03b7.js.map → keys-BEdEsanp.js.map} +1 -1
  350. package/dist/{keys-7ecef029.js → keys-C8Zfr_By.js} +1 -1
  351. package/dist/{keys-7ecef029.js.map → keys-C8Zfr_By.js.map} +1 -1
  352. package/dist/{misc-76697f61.js → misc-CHQs-G03.js} +1 -1
  353. package/dist/{misc-76697f61.js.map → misc-CHQs-G03.js.map} +1 -1
  354. package/dist/{parseISO-ed4094c1.js → parseISO-wlfIB_QJ.js} +12 -18
  355. package/dist/{parseISO-ed4094c1.js.map → parseISO-wlfIB_QJ.js.map} +1 -1
  356. package/dist/{searchFuzzy-9b74ec4e.js → searchFuzzy-DKooyZM8.js} +110 -149
  357. package/dist/{searchFuzzy-9b74ec4e.js.map → searchFuzzy-DKooyZM8.js.map} +1 -1
  358. package/dist/{statusLevels-a8b041f4.js → statusLevels-D8EgtE_L.js} +1 -1
  359. package/dist/{statusLevels-a8b041f4.js.map → statusLevels-D8EgtE_L.js.map} +1 -1
  360. package/dist/storage.js +8 -15
  361. package/dist/storage.js.map +1 -1
  362. package/dist/tailwind-base.js.map +1 -1
  363. package/dist/{toTimeZone-a2ed6470.js → toTimeZone-CVE1ZmsS.js} +1 -1
  364. package/dist/{toTimeZone-a2ed6470.js.map → toTimeZone-CVE1ZmsS.js.map} +1 -1
  365. package/dist/useDialog.js +7 -7
  366. package/dist/useGoogleMaps.js +18 -28
  367. package/dist/useGoogleMaps.js.map +1 -1
  368. package/dist/useModals.js +1 -2
  369. package/dist/useModals.js.map +1 -1
  370. package/dist/useScriptTag.js.map +1 -1
  371. package/dist/useSearch.js +14 -19
  372. package/dist/useSearch.js.map +1 -1
  373. package/dist/useStepper.js.map +1 -1
  374. package/dist/useValidation.js +1 -1
  375. package/dist/useValidation.js.map +1 -1
  376. package/dist/utils/calculateElementOverflow.js +9 -13
  377. package/dist/utils/calculateElementOverflow.js.map +1 -1
  378. package/dist/utils/colorScheme.js.map +1 -1
  379. package/dist/utils/createQueryString.js +4 -5
  380. package/dist/utils/createQueryString.js.map +1 -1
  381. package/dist/utils/createValidDate.js +2 -2
  382. package/dist/utils/formatDateTime.js +4 -5
  383. package/dist/utils/formatDateTime.js.map +1 -1
  384. package/dist/utils/getContrastingTextColor.js +1 -1
  385. package/dist/utils/getContrastingTextColor.js.map +1 -1
  386. package/dist/utils/helpers.js.map +1 -1
  387. package/dist/utils/i18n.js +25 -26
  388. package/dist/utils/i18n.js.map +1 -1
  389. package/dist/utils/normalizeDate.js +1 -1
  390. package/dist/utils/searchFuzzy.js +3 -10
  391. package/dist/utils/searchFuzzy.js.map +1 -1
  392. package/dist/utils/storage.js +6 -11
  393. package/dist/utils/storage.js.map +1 -1
  394. package/dist/utils/toTimeZone.js +2 -3
  395. package/dist/utils/toTimeZone.js.map +1 -1
  396. package/package.json +13 -14
  397. package/dist/Button.vue_used_vue_type_style_index_0_lang.module-4dabc2a9.js +0 -17
  398. package/dist/Button.vue_used_vue_type_style_index_0_lang.module-4dabc2a9.js.map +0 -1
  399. package/dist/Carousel.types.d.ts +0 -33
  400. package/dist/Carousel.types.js +0 -2
  401. package/dist/Carousel.types.js.map +0 -1
  402. package/dist/Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js +0 -9
  403. package/dist/Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js.map +0 -1
  404. package/dist/DataView.vue_used_vue_type_style_index_0_lang.module-5c180dba.js.map +0 -1
  405. package/dist/EmptyState.vue_used_vue_type_style_index_0_lang.module-f5d89366.js +0 -8
  406. package/dist/EmptyState.vue_used_vue_type_style_index_0_lang.module-f5d89366.js.map +0 -1
  407. package/dist/Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js +0 -11
  408. package/dist/Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js.map +0 -1
  409. package/dist/Loading.vue_used_vue_type_style_index_0_lang.module-ef5a3bc6.js +0 -8
  410. package/dist/Loading.vue_used_vue_type_style_index_0_lang.module-ef5a3bc6.js.map +0 -1
  411. package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-18343da7.js +0 -11
  412. package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-18343da7.js.map +0 -1
  413. package/dist/Table.keys-83e4f09b.js +0 -27
  414. package/dist/Tabs.vue_used_vue_type_style_index_0_lang.module-d7530989.js.map +0 -1
  415. package/dist/_commonjsHelpers-10dfc225.js.map +0 -1
  416. package/dist/_plugin-vue_export-helper-dad06003.js.map +0 -1
package/dist/Copy.js CHANGED
@@ -1,72 +1,61 @@
1
- import { defineComponent as u, useCssModule as _, ref as f, computed as h, openBlock as o, createElementBlock as i, normalizeClass as l, unref as s, renderSlot as v, withDirectives as x, createBlock as c, withCtx as C, createTextVNode as k, toDisplayString as w } from "vue";
1
+ import { defineComponent as m, useCssModule as _, ref as f, computed as h, openBlock as e, createElementBlock as p, normalizeClass as i, unref as s, renderSlot as v, withDirectives as x, createBlock as c, withCtx as C, createTextVNode as k, toDisplayString as w } from "vue";
2
2
  import { UI_TIMEOUT as T } from "./constants.js";
3
3
  import b from "./directives/tooltip.js";
4
- import { t as r } from "./locale.js";
4
+ import { t as n } from "./locale.js";
5
5
  import g from "./Button.js";
6
- import n from "./Icon.js";
7
- import { _ as B } from "./_plugin-vue_export-helper-dad06003.js";
8
- import "lodash-es/debounce";
9
- import "./utils/calculateElementOverflow.js";
10
- import "./utils/helpers.js";
11
- import "lodash-es/camelCase";
12
- import "lodash-es/get";
13
- import "lodash-es/isFinite";
14
- import "lodash-es/isPlainObject";
15
- import "./Button.vue_used_vue_type_style_index_0_lang.module-4dabc2a9.js";
16
- import "lodash-es/uniqueId";
17
- import "./index-9e1095ef.js";
18
- import "./Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js";
19
- const M = /* @__PURE__ */ u({
6
+ import r from "./Icon.js";
7
+ import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const M = /* @__PURE__ */ m({
20
9
  __name: "Copy",
21
10
  props: {
22
11
  text: { default: void 0 },
23
12
  value: { default: "" },
24
13
  visible: { type: Boolean, default: !1 }
25
14
  },
26
- setup(m) {
27
- const t = m, p = _(), e = f(!1), d = h(() => e.value ? r("ll.copy.copied") : t.text ? null : r("ll.copy.copyToClipboard"));
28
- function a() {
29
- navigator.clipboard.writeText(t.value), e.value = !0, setTimeout(() => {
30
- e.value = !1;
15
+ setup(d) {
16
+ const t = d, a = _(), o = f(!1), y = h(() => o.value ? n("ll.copy.copied") : t.text ? null : n("ll.copy.copyToClipboard"));
17
+ function l() {
18
+ navigator.clipboard.writeText(t.value), o.value = !0, setTimeout(() => {
19
+ o.value = !1;
31
20
  }, T);
32
21
  }
33
- return (y, S) => (o(), i("div", {
34
- class: l(["stash-copy tw-flex tw-items-center", { [s(p).hidden]: !t.visible }]),
22
+ return (u, S) => (e(), p("div", {
23
+ class: i(["stash-copy tw-flex tw-items-center", { [s(a).hidden]: !t.visible }]),
35
24
  "data-test": "stash-copy"
36
25
  }, [
37
- v(y.$slots, "default"),
38
- x((o(), i("div", {
39
- class: l(["stash-copy__copy-zone tw-ml-3 tw-cursor-pointer", s(p).copy]),
26
+ v(u.$slots, "default"),
27
+ x((e(), p("div", {
28
+ class: i(["stash-copy__copy-zone tw-ml-3 tw-cursor-pointer", s(a).copy]),
40
29
  "data-test": "stash-copy|copy-zone"
41
30
  }, [
42
- e.value ? (o(), c(n, {
31
+ o.value ? (e(), c(r, {
43
32
  key: 0,
44
33
  class: "stash-copy__success-icon tw-text-green-500",
45
34
  name: "circle-check",
46
35
  "data-test": "stash-copy|success-icon"
47
- })) : t.text ? (o(), c(g, {
36
+ })) : t.text ? (e(), c(g, {
48
37
  key: 1,
49
38
  class: "stash-copy__copy-text",
50
39
  inline: "",
51
40
  "data-test": "stash-copy|copy-target",
52
- onClick: a
41
+ onClick: l
53
42
  }, {
54
43
  default: C(() => [
55
44
  k(w(t.text), 1)
56
45
  ]),
57
46
  _: 1
58
- })) : (o(), c(n, {
47
+ })) : (e(), c(r, {
59
48
  key: 2,
60
49
  class: "stash-copy__copy-icon",
61
50
  name: "copy",
62
51
  title: "Copy to clipboard",
63
52
  "data-test": "stash-copy|copy-target",
64
- onClick: a
53
+ onClick: l
65
54
  }))
66
55
  ], 2)), [
67
56
  [
68
57
  s(b),
69
- d.value,
58
+ y.value,
70
59
  void 0,
71
60
  { top: !0 }
72
61
  ]
@@ -78,8 +67,8 @@ const M = /* @__PURE__ */ u({
78
67
  copy: I
79
68
  }, E = {
80
69
  $style: D
81
- }, X = /* @__PURE__ */ B(M, [["__cssModules", E]]);
70
+ }, A = /* @__PURE__ */ B(M, [["__cssModules", E]]);
82
71
  export {
83
- X as default
72
+ A as default
84
73
  };
85
74
  //# sourceMappingURL=Copy.js.map
package/dist/Copy.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Copy.js","sources":["../src/components/Copy/Copy.vue"],"sourcesContent":["<script setup lang=\"ts\">\n import { computed, ref, useCssModule } from 'vue';\n\n import { UI_TIMEOUT } from '../../constants';\n import vTooltip from '../../directives/tooltip/tooltip';\n import { t } from '../../locale';\n import Button from '../Button/Button.vue';\n import Icon from '../Icon/Icon.vue';\n\n export interface CopyProps {\n /**\n * Optional text to display instead of icon.\n */\n text?: string;\n\n /**\n * The value to copy to clipboard.\n */\n value?: string;\n\n /**\n * Sets the copy icon or text to always be visible. By default, icon/text only appears when hovering over slot content.\n */\n visible?: boolean;\n }\n\n const props = withDefaults(defineProps<CopyProps>(), {\n text: undefined,\n value: '', // Todo - We should default this to the content of the default slot so you can do <Copy>631f67a</Copy>.\n visible: false,\n });\n const classes = useCssModule();\n\n // Flag to indicate whether a user successfully copied the text to their clipboard.\n // Note: We reset this flag after a timeout to allow the user to copy the text multiple times.\n const isCopied = ref(false);\n\n const tooltip = computed(() => {\n return isCopied.value ? t('ll.copy.copied') : !props.text ? t('ll.copy.copyToClipboard') : null;\n });\n\n function handleCopy() {\n navigator.clipboard.writeText(props.value);\n isCopied.value = true;\n\n setTimeout(() => {\n isCopied.value = false;\n }, UI_TIMEOUT);\n }\n</script>\n\n<template>\n <div class=\"stash-copy tw-flex tw-items-center\" :class=\"{ [classes.hidden]: !props.visible }\" data-test=\"stash-copy\">\n <!-- @slot Anything you want to render. This is not what will be copied to the clipboard. -->\n <slot></slot>\n <div\n v-tooltip.top=\"tooltip\"\n class=\"stash-copy__copy-zone tw-ml-3 tw-cursor-pointer\"\n :class=\"classes.copy\"\n data-test=\"stash-copy|copy-zone\"\n >\n <Icon\n v-if=\"isCopied\"\n class=\"stash-copy__success-icon tw-text-green-500\"\n name=\"circle-check\"\n data-test=\"stash-copy|success-icon\"\n />\n <Button\n v-else-if=\"props.text\"\n class=\"stash-copy__copy-text\"\n inline\n data-test=\"stash-copy|copy-target\"\n @click=\"handleCopy\"\n >\n {{ props.text }}\n </Button>\n <Icon\n v-else\n class=\"stash-copy__copy-icon\"\n name=\"copy\"\n title=\"Copy to clipboard\"\n data-test=\"stash-copy|copy-target\"\n @click=\"handleCopy\"\n />\n </div>\n </div>\n</template>\n\n<style module>\n .hidden {\n .copy {\n visibility: hidden;\n }\n\n &:hover {\n .copy {\n visibility: visible;\n }\n }\n }\n</style>\n"],"names":["props","__props","classes","useCssModule","isCopied","ref","tooltip","computed","t","handleCopy","UI_TIMEOUT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA0BE,UAAMA,IAAQC,GAKRC,IAAUC,KAIVC,IAAWC,EAAI,EAAK,GAEpBC,IAAUC,EAAS,MAChBH,EAAS,QAAQI,EAAE,gBAAgB,IAAKR,EAAM,OAAsC,OAA/BQ,EAAE,yBAAyB,CACxF;AAED,aAASC,IAAa;AACV,gBAAA,UAAU,UAAUT,EAAM,KAAK,GACzCI,EAAS,QAAQ,IAEjB,WAAW,MAAM;AACf,QAAAA,EAAS,QAAQ;AAAA,SAChBM,CAAU;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Copy.js","sources":["../src/components/Copy/Copy.vue"],"sourcesContent":["<script setup lang=\"ts\">\n import { computed, ref, useCssModule } from 'vue';\n\n import { UI_TIMEOUT } from '../../constants';\n import vTooltip from '../../directives/tooltip/tooltip';\n import { t } from '../../locale';\n import Button from '../Button/Button.vue';\n import Icon from '../Icon/Icon.vue';\n\n export interface CopyProps {\n /**\n * Optional text to display instead of icon.\n */\n text?: string;\n\n /**\n * The value to copy to clipboard.\n */\n value?: string;\n\n /**\n * Sets the copy icon or text to always be visible. By default, icon/text only appears when hovering over slot content.\n */\n visible?: boolean;\n }\n\n const props = withDefaults(defineProps<CopyProps>(), {\n text: undefined,\n value: '', // Todo - We should default this to the content of the default slot so you can do <Copy>631f67a</Copy>.\n visible: false,\n });\n const classes = useCssModule();\n\n // Flag to indicate whether a user successfully copied the text to their clipboard.\n // Note: We reset this flag after a timeout to allow the user to copy the text multiple times.\n const isCopied = ref(false);\n\n const tooltip = computed(() => {\n return isCopied.value ? t('ll.copy.copied') : !props.text ? t('ll.copy.copyToClipboard') : null;\n });\n\n function handleCopy() {\n navigator.clipboard.writeText(props.value);\n isCopied.value = true;\n\n setTimeout(() => {\n isCopied.value = false;\n }, UI_TIMEOUT);\n }\n</script>\n\n<template>\n <div class=\"stash-copy tw-flex tw-items-center\" :class=\"{ [classes.hidden]: !props.visible }\" data-test=\"stash-copy\">\n <!-- @slot Anything you want to render. This is not what will be copied to the clipboard. -->\n <slot></slot>\n <div\n v-tooltip.top=\"tooltip\"\n class=\"stash-copy__copy-zone tw-ml-3 tw-cursor-pointer\"\n :class=\"classes.copy\"\n data-test=\"stash-copy|copy-zone\"\n >\n <Icon\n v-if=\"isCopied\"\n class=\"stash-copy__success-icon tw-text-green-500\"\n name=\"circle-check\"\n data-test=\"stash-copy|success-icon\"\n />\n <Button\n v-else-if=\"props.text\"\n class=\"stash-copy__copy-text\"\n inline\n data-test=\"stash-copy|copy-target\"\n @click=\"handleCopy\"\n >\n {{ props.text }}\n </Button>\n <Icon\n v-else\n class=\"stash-copy__copy-icon\"\n name=\"copy\"\n title=\"Copy to clipboard\"\n data-test=\"stash-copy|copy-target\"\n @click=\"handleCopy\"\n />\n </div>\n </div>\n</template>\n\n<style module>\n .hidden {\n .copy {\n visibility: hidden;\n }\n\n &:hover {\n .copy {\n visibility: visible;\n }\n }\n }\n</style>\n"],"names":["props","__props","classes","useCssModule","isCopied","ref","tooltip","computed","t","handleCopy","UI_TIMEOUT"],"mappings":";;;;;;;;;;;;;;;AA0BE,UAAMA,IAAQC,GAKRC,IAAUC,KAIVC,IAAWC,EAAI,EAAK,GAEpBC,IAAUC,EAAS,MAChBH,EAAS,QAAQI,EAAE,gBAAgB,IAAKR,EAAM,OAAsC,OAA/BQ,EAAE,yBAAyB,CACxF;AAED,aAASC,IAAa;AACV,gBAAA,UAAU,UAAUT,EAAM,KAAK,GACzCI,EAAS,QAAQ,IAEjB,WAAW,MAAM;AACf,QAAAA,EAAS,QAAQ;AAAA,SAChBM,CAAU;AAAA,IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -48,17 +48,17 @@ export declare interface CopyProps {
48
48
  }
49
49
 
50
50
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CopyProps>, {
51
- text: undefined;
52
- value: string;
53
- visible: boolean;
51
+ text: undefined;
52
+ value: string;
53
+ visible: boolean;
54
54
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CopyProps>, {
55
- text: undefined;
56
- value: string;
57
- visible: boolean;
55
+ text: undefined;
56
+ value: string;
57
+ visible: boolean;
58
58
  }>>> & Readonly<{}>, {
59
- text: string;
60
- value: string;
61
- visible: boolean;
59
+ text: string;
60
+ value: string;
61
+ visible: boolean;
62
62
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
63
63
  default?(_: {}): any;
64
64
  }>;
@@ -1,58 +1,47 @@
1
- import { ref as O, getCurrentInstance as R, version as $, computed as I, watch as x, defineComponent as A, useAttrs as L, openBlock as T, createBlock as G, mergeProps as w, withCtx as k, createVNode as W } from "vue";
2
- import z from "lodash-es/isEmpty";
3
- import B from "./Icon.js";
4
- import j from "./Input.js";
5
- import "lodash-es/uniqueId";
6
- import "./index-9e1095ef.js";
7
- import "./Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js";
8
- import "./_plugin-vue_export-helper-dad06003.js";
9
- import "lodash-es/isNil";
10
- import "./utils/i18n.js";
11
- import "./constants.js";
12
- import "./locale.js";
13
- import "lodash-es/get";
14
- import "./Field.vue_vue_type_script_setup_true_lang-fded4f75.js";
15
- import "./Label.vue_vue_type_script_setup_true_lang-b6ba2f02.js";
1
+ import { ref as V, getCurrentInstance as C, version as R, computed as E, watch as x, defineComponent as $, useAttrs as A, openBlock as L, createBlock as T, mergeProps as G, withCtx as w, createVNode as k } from "vue";
2
+ import W from "lodash-es/isEmpty";
3
+ import z from "./Icon.js";
4
+ import B from "./Input.js";
16
5
  /**
17
6
  * Vue Currency Input 3.1.0
18
7
  * (c) 2018-2024 Matthias Stiller
19
8
  * @license MIT
20
9
  */
21
- var y;
10
+ var v;
22
11
  (function(s) {
23
12
  s.symbol = "symbol", s.narrowSymbol = "narrowSymbol", s.code = "code", s.name = "name", s.hidden = "hidden";
24
- })(y || (y = {}));
25
- var v;
13
+ })(v || (v = {}));
14
+ var F;
26
15
  (function(s) {
27
16
  s.precision = "precision", s.thousands = "thousands", s.millions = "millions", s.billions = "billions";
28
- })(v || (v = {}));
29
- const D = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), M = (s) => s.replace(/^0+(0$|[^0])/, "$1"), E = (s, i) => (s.match(new RegExp(D(i), "g")) || []).length, X = (s, i) => s.substring(0, s.indexOf(i)), P = [
17
+ })(F || (F = {}));
18
+ const D = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), N = (s) => s.replace(/^0+(0$|[^0])/, "$1"), O = (s, i) => (s.match(new RegExp(D(i), "g")) || []).length, j = (s, i) => s.substring(0, s.indexOf(i)), M = [
30
19
  ",",
31
20
  ".",
32
21
  "٫",
33
22
  "。"
34
- ], N = "(0|[1-9]\\d*)";
35
- class U {
23
+ ], _ = "(0|[1-9]\\d*)";
24
+ class X {
36
25
  constructor(i) {
37
- var t, e, n, g, a, c;
38
- const { currency: h, currencyDisplay: p, locale: r, precision: o, accountingSign: d, useGrouping: l } = i;
26
+ var t, e, n, d, u, c;
27
+ const { currency: m, currencyDisplay: p, locale: r, precision: a, accountingSign: h, useGrouping: l } = i;
39
28
  this.locale = r, this.options = {
40
- currency: h,
29
+ currency: m,
41
30
  useGrouping: l,
42
31
  style: "currency",
43
- currencySign: d ? "accounting" : void 0,
44
- currencyDisplay: p !== y.hidden ? p : void 0
32
+ currencySign: h ? "accounting" : void 0,
33
+ currencyDisplay: p !== v.hidden ? p : void 0
45
34
  };
46
- const u = new Intl.NumberFormat(r, this.options), f = u.formatToParts(123456);
47
- this.currency = (t = f.find(({ type: m }) => m === "currency")) === null || t === void 0 ? void 0 : t.value, this.digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((m) => m.toLocaleString(r)), this.decimalSymbol = (e = f.find(({ type: m }) => m === "decimal")) === null || e === void 0 ? void 0 : e.value, this.groupingSymbol = (n = f.find(({ type: m }) => m === "group")) === null || n === void 0 ? void 0 : n.value, this.minusSign = (g = u.formatToParts(-1).find(({ type: m }) => m === "minusSign")) === null || g === void 0 ? void 0 : g.value, this.decimalSymbol === void 0 ? this.minimumFractionDigits = this.maximumFractionDigits = 0 : typeof o == "number" ? this.minimumFractionDigits = this.maximumFractionDigits = o : (this.minimumFractionDigits = (a = o == null ? void 0 : o.min) !== null && a !== void 0 ? a : u.resolvedOptions().minimumFractionDigits, this.maximumFractionDigits = (c = o == null ? void 0 : o.max) !== null && c !== void 0 ? c : u.resolvedOptions().maximumFractionDigits);
48
- const b = (m) => X(m, this.digits[1]), S = (m) => m.substring(m.lastIndexOf(this.decimalSymbol ? this.digits[0] : this.digits[1]) + 1);
49
- this.prefix = b(u.format(1)), this.suffix = S(u.format(1)), this.negativePrefix = b(u.format(-1)), this.negativeSuffix = S(u.format(-1));
35
+ const o = new Intl.NumberFormat(r, this.options), y = o.formatToParts(123456);
36
+ this.currency = (t = y.find(({ type: g }) => g === "currency")) === null || t === void 0 ? void 0 : t.value, this.digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((g) => g.toLocaleString(r)), this.decimalSymbol = (e = y.find(({ type: g }) => g === "decimal")) === null || e === void 0 ? void 0 : e.value, this.groupingSymbol = (n = y.find(({ type: g }) => g === "group")) === null || n === void 0 ? void 0 : n.value, this.minusSign = (d = o.formatToParts(-1).find(({ type: g }) => g === "minusSign")) === null || d === void 0 ? void 0 : d.value, this.decimalSymbol === void 0 ? this.minimumFractionDigits = this.maximumFractionDigits = 0 : typeof a == "number" ? this.minimumFractionDigits = this.maximumFractionDigits = a : (this.minimumFractionDigits = (u = a == null ? void 0 : a.min) !== null && u !== void 0 ? u : o.resolvedOptions().minimumFractionDigits, this.maximumFractionDigits = (c = a == null ? void 0 : a.max) !== null && c !== void 0 ? c : o.resolvedOptions().maximumFractionDigits);
37
+ const S = (g) => j(g, this.digits[1]), f = (g) => g.substring(g.lastIndexOf(this.decimalSymbol ? this.digits[0] : this.digits[1]) + 1);
38
+ this.prefix = S(o.format(1)), this.suffix = f(o.format(1)), this.negativePrefix = S(o.format(-1)), this.negativeSuffix = f(o.format(-1));
50
39
  }
51
40
  parse(i) {
52
41
  if (i) {
53
42
  const t = this.isNegative(i);
54
43
  i = this.normalizeDigits(i), i = this.stripCurrency(i, t), i = this.stripSignLiterals(i);
55
- const e = this.decimalSymbol ? `(?:${D(this.decimalSymbol)}(\\d*))?` : "", n = this.stripGroupingSeparator(i).match(new RegExp(`^${N}${e}$`));
44
+ const e = this.decimalSymbol ? `(?:${D(this.decimalSymbol)}(\\d*))?` : "", n = this.stripGroupingSeparator(i).match(new RegExp(`^${_}${e}$`));
56
45
  if (n && this.isValidIntegerFormat(this.decimalSymbol ? i.split(this.decimalSymbol)[0] : i, Number(n[1])))
57
46
  return +`${t ? "-" : ""}${this.onlyDigits(n[1])}.${this.onlyDigits(n[2] || "")}`;
58
47
  }
@@ -75,7 +64,7 @@ class U {
75
64
  return `${this.digits[0]}${this.decimalSymbol}${this.onlyLocaleDigits(i.substring(1)).substring(0, this.maximumFractionDigits)}`;
76
65
  }
77
66
  isFractionIncomplete(i) {
78
- return !!this.normalizeDigits(this.stripGroupingSeparator(i)).match(new RegExp(`^${N}${D(this.decimalSymbol)}$`));
67
+ return !!this.normalizeDigits(this.stripGroupingSeparator(i)).match(new RegExp(`^${_}${D(this.decimalSymbol)}$`));
79
68
  }
80
69
  isNegative(i) {
81
70
  return i.startsWith(this.negativePrefix) || this.minusSign === void 0 && (i.startsWith("(") || i.startsWith("-")) || this.minusSign !== void 0 && i.replace("-", this.minusSign).startsWith(this.minusSign);
@@ -93,7 +82,7 @@ class U {
93
82
  return i.replace(t ? this.negativePrefix : this.prefix, "").replace(t ? this.negativeSuffix : this.suffix, "");
94
83
  }
95
84
  normalizeDecimalSeparator(i, t) {
96
- return P.forEach((e) => {
85
+ return M.forEach((e) => {
97
86
  i = i.substring(0, t) + i.substring(t).replace(e, this.decimalSymbol);
98
87
  }), i;
99
88
  }
@@ -109,48 +98,48 @@ class U {
109
98
  return i.replace(new RegExp(`[^${this.digits.join("")}]*`, "g"), "");
110
99
  }
111
100
  }
112
- class C {
101
+ class P {
113
102
  constructor(i) {
114
103
  this.currencyFormat = i;
115
104
  }
116
105
  }
117
- class q extends C {
106
+ class U extends P {
118
107
  conformToMask(i, t = "") {
119
- const e = this.currencyFormat.isNegative(i), n = (u) => u === "" && e && !(this.currencyFormat.minusSign === void 0 ? t === this.currencyFormat.negativePrefix + this.currencyFormat.negativeSuffix : t === this.currencyFormat.negativePrefix), g = (u) => {
120
- if (n(u))
108
+ const e = this.currencyFormat.isNegative(i), n = (o) => o === "" && e && !(this.currencyFormat.minusSign === void 0 ? t === this.currencyFormat.negativePrefix + this.currencyFormat.negativeSuffix : t === this.currencyFormat.negativePrefix), d = (o) => {
109
+ if (n(o))
121
110
  return "";
122
111
  if (this.currencyFormat.maximumFractionDigits > 0) {
123
- if (this.currencyFormat.isFractionIncomplete(u))
124
- return u;
125
- if (u.startsWith(this.currencyFormat.decimalSymbol))
126
- return this.currencyFormat.toFraction(u);
112
+ if (this.currencyFormat.isFractionIncomplete(o))
113
+ return o;
114
+ if (o.startsWith(this.currencyFormat.decimalSymbol))
115
+ return this.currencyFormat.toFraction(o);
127
116
  }
128
117
  return null;
129
118
  };
130
- let a = i;
131
- a = this.currencyFormat.stripCurrency(a, e), a = this.currencyFormat.stripSignLiterals(a);
132
- const c = g(a);
119
+ let u = i;
120
+ u = this.currencyFormat.stripCurrency(u, e), u = this.currencyFormat.stripSignLiterals(u);
121
+ const c = d(u);
133
122
  if (c != null)
134
123
  return this.currencyFormat.insertCurrency(c, e);
135
- const [h, ...p] = a.split(this.currencyFormat.decimalSymbol), r = M(this.currencyFormat.onlyDigits(h)), o = this.currencyFormat.onlyDigits(p.join("")).substring(0, this.currencyFormat.maximumFractionDigits), d = p.length > 0 && o.length === 0, l = r === "" && e && (this.currencyFormat.minusSign === void 0 ? t === i.slice(0, -2) + this.currencyFormat.negativeSuffix : t === i.slice(0, -1));
136
- return d || l || n(r) ? t : r.match(/\d+/) ? {
137
- numberValue: +`${e ? "-" : ""}${r}.${o}`,
138
- fractionDigits: o
124
+ const [m, ...p] = u.split(this.currencyFormat.decimalSymbol), r = N(this.currencyFormat.onlyDigits(m)), a = this.currencyFormat.onlyDigits(p.join("")).substring(0, this.currencyFormat.maximumFractionDigits), h = p.length > 0 && a.length === 0, l = r === "" && e && (this.currencyFormat.minusSign === void 0 ? t === i.slice(0, -2) + this.currencyFormat.negativeSuffix : t === i.slice(0, -1));
125
+ return h || l || n(r) ? t : r.match(/\d+/) ? {
126
+ numberValue: +`${e ? "-" : ""}${r}.${a}`,
127
+ fractionDigits: a
139
128
  } : "";
140
129
  }
141
130
  }
142
- class Y extends C {
131
+ class q extends P {
143
132
  conformToMask(i, t = "") {
144
133
  if (i === "" || this.currencyFormat.parse(t) === 0 && this.currencyFormat.stripCurrency(t, !0).slice(0, -1) === this.currencyFormat.stripCurrency(i, !0))
145
134
  return "";
146
- const e = this.currencyFormat.isNegative(i), n = this.currencyFormat.stripSignLiterals(i) === "" ? -0 : +`${e ? "-" : ""}${M(this.currencyFormat.onlyDigits(i))}` / Math.pow(10, this.currencyFormat.maximumFractionDigits);
135
+ const e = this.currencyFormat.isNegative(i), n = this.currencyFormat.stripSignLiterals(i) === "" ? -0 : +`${e ? "-" : ""}${N(this.currencyFormat.onlyDigits(i))}` / Math.pow(10, this.currencyFormat.maximumFractionDigits);
147
136
  return {
148
137
  numberValue: n,
149
138
  fractionDigits: n.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)
150
139
  };
151
140
  }
152
141
  }
153
- const Z = {
142
+ const Y = {
154
143
  locale: void 0,
155
144
  currency: void 0,
156
145
  currencyDisplay: void 0,
@@ -163,7 +152,7 @@ const Z = {
163
152
  useGrouping: void 0,
164
153
  valueScaling: void 0
165
154
  };
166
- class H {
155
+ class Z {
167
156
  constructor(i) {
168
157
  this.el = i.el, this.onInput = i.onInput, this.onChange = i.onChange, this.addEventListener(), this.init(i.options);
169
158
  }
@@ -179,16 +168,16 @@ class H {
179
168
  }
180
169
  init(i) {
181
170
  this.options = {
182
- ...Z,
171
+ ...Y,
183
172
  ...i
184
- }, this.options.autoDecimalDigits && (this.options.hideNegligibleDecimalDigitsOnFocus = !1), this.el.getAttribute("inputmode") || this.el.setAttribute("inputmode", this.options.autoDecimalDigits ? "numeric" : "decimal"), this.currencyFormat = new U(this.options), this.numberMask = this.options.autoDecimalDigits ? new Y(this.currencyFormat) : new q(this.currencyFormat);
173
+ }, this.options.autoDecimalDigits && (this.options.hideNegligibleDecimalDigitsOnFocus = !1), this.el.getAttribute("inputmode") || this.el.setAttribute("inputmode", this.options.autoDecimalDigits ? "numeric" : "decimal"), this.currencyFormat = new X(this.options), this.numberMask = this.options.autoDecimalDigits ? new q(this.currencyFormat) : new U(this.currencyFormat);
185
174
  const t = {
186
- [v.precision]: this.currencyFormat.maximumFractionDigits,
187
- [v.thousands]: 3,
188
- [v.millions]: 6,
189
- [v.billions]: 9
175
+ [F.precision]: this.currencyFormat.maximumFractionDigits,
176
+ [F.thousands]: 3,
177
+ [F.millions]: 6,
178
+ [F.billions]: 9
190
179
  };
191
- this.valueScaling = this.options.valueScaling ? t[this.options.valueScaling] : void 0, this.valueScalingFractionDigits = this.valueScaling !== void 0 && this.options.valueScaling !== v.precision ? this.valueScaling + this.currencyFormat.maximumFractionDigits : this.currencyFormat.maximumFractionDigits, this.minValue = this.getMinValue(), this.maxValue = this.getMaxValue();
180
+ this.valueScaling = this.options.valueScaling ? t[this.options.valueScaling] : void 0, this.valueScalingFractionDigits = this.valueScaling !== void 0 && this.options.valueScaling !== F.precision ? this.valueScaling + this.currencyFormat.maximumFractionDigits : this.currencyFormat.maximumFractionDigits, this.minValue = this.getMinValue(), this.maxValue = this.getMaxValue();
192
181
  }
193
182
  getMinValue() {
194
183
  var i, t;
@@ -215,16 +204,16 @@ class H {
215
204
  const e = this.numberMask.conformToMask(i, this.formattedValue);
216
205
  let n;
217
206
  if (typeof e == "object") {
218
- const { numberValue: g, fractionDigits: a } = e;
219
- let { maximumFractionDigits: c, minimumFractionDigits: h } = this.currencyFormat;
220
- this.focus ? h = t ? a.replace(/0+$/, "").length : Math.min(c, a.length) : Number.isInteger(g) && !this.options.autoDecimalDigits && (this.options.precision === void 0 || h === 0) && (h = c = 0), n = this.toInteger(Math.abs(g)) > Number.MAX_SAFE_INTEGER ? this.formattedValue : this.currencyFormat.format(g, {
207
+ const { numberValue: d, fractionDigits: u } = e;
208
+ let { maximumFractionDigits: c, minimumFractionDigits: m } = this.currencyFormat;
209
+ this.focus ? m = t ? u.replace(/0+$/, "").length : Math.min(c, u.length) : Number.isInteger(d) && !this.options.autoDecimalDigits && (this.options.precision === void 0 || m === 0) && (m = c = 0), n = this.toInteger(Math.abs(d)) > Number.MAX_SAFE_INTEGER ? this.formattedValue : this.currencyFormat.format(d, {
221
210
  useGrouping: this.options.useGrouping !== !1 && !(this.focus && this.options.hideGroupingSeparatorOnFocus),
222
- minimumFractionDigits: h,
211
+ minimumFractionDigits: m,
223
212
  maximumFractionDigits: c
224
213
  });
225
214
  } else
226
215
  n = e;
227
- this.maxValue <= 0 && !this.currencyFormat.isNegative(n) && this.currencyFormat.parse(n) !== 0 && (n = n.replace(this.currencyFormat.prefix, this.currencyFormat.negativePrefix)), this.minValue >= 0 && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.prefix)), (this.options.currencyDisplay === y.hidden || this.focus && this.options.hideCurrencySymbolOnFocus) && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.minusSign !== void 0 ? this.currencyFormat.minusSign : "(").replace(this.currencyFormat.negativeSuffix, this.currencyFormat.minusSign !== void 0 ? "" : ")").replace(this.currencyFormat.prefix, "").replace(this.currencyFormat.suffix, "")), this.el.value = n, this.numberValue = this.currencyFormat.parse(n);
216
+ this.maxValue <= 0 && !this.currencyFormat.isNegative(n) && this.currencyFormat.parse(n) !== 0 && (n = n.replace(this.currencyFormat.prefix, this.currencyFormat.negativePrefix)), this.minValue >= 0 && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.prefix)), (this.options.currencyDisplay === v.hidden || this.focus && this.options.hideCurrencySymbolOnFocus) && (n = n.replace(this.currencyFormat.negativePrefix, this.currencyFormat.minusSign !== void 0 ? this.currencyFormat.minusSign : "(").replace(this.currencyFormat.negativeSuffix, this.currencyFormat.minusSign !== void 0 ? "" : ")").replace(this.currencyFormat.prefix, "").replace(this.currencyFormat.suffix, "")), this.el.value = n, this.numberValue = this.currencyFormat.parse(n);
228
217
  } else
229
218
  this.el.value = "", this.numberValue = null;
230
219
  this.formattedValue = this.el.value, this.onInput(this.getValue());
@@ -232,26 +221,26 @@ class H {
232
221
  addEventListener() {
233
222
  this.el.addEventListener("input", (i) => {
234
223
  const { value: t, selectionStart: e } = this.el, n = i;
235
- if (e && n.data && P.includes(n.data) && (this.decimalSymbolInsertedAt = e - 1), this.format(t), this.focus && e != null) {
236
- const g = () => {
237
- const { prefix: a, suffix: c, decimalSymbol: h, maximumFractionDigits: p, groupingSymbol: r } = this.currencyFormat;
238
- let o = t.length - e;
239
- const d = this.formattedValue.length;
224
+ if (e && n.data && M.includes(n.data) && (this.decimalSymbolInsertedAt = e - 1), this.format(t), this.focus && e != null) {
225
+ const d = () => {
226
+ const { prefix: u, suffix: c, decimalSymbol: m, maximumFractionDigits: p, groupingSymbol: r } = this.currencyFormat;
227
+ let a = t.length - e;
228
+ const h = this.formattedValue.length;
240
229
  if (this.currencyFormat.minusSign === void 0 && (t.startsWith("(") || t.startsWith("-")) && !t.endsWith(")"))
241
- return d - this.currencyFormat.negativeSuffix.length > 1 ? this.formattedValue.substring(e).length : 1;
242
- if (this.formattedValue.substring(e, 1) === r && E(this.formattedValue, r) === E(t, r) + 1)
243
- return d - o - 1;
244
- if (d < o)
230
+ return h - this.currencyFormat.negativeSuffix.length > 1 ? this.formattedValue.substring(e).length : 1;
231
+ if (this.formattedValue.substring(e, 1) === r && O(this.formattedValue, r) === O(t, r) + 1)
232
+ return h - a - 1;
233
+ if (h < a)
245
234
  return e;
246
- if (h !== void 0 && t.indexOf(h) !== -1) {
247
- const l = t.indexOf(h) + 1;
248
- if (Math.abs(d - t.length) > 1 && e <= l)
249
- return this.formattedValue.indexOf(h) + 1;
250
- !this.options.autoDecimalDigits && e > l && this.currencyFormat.onlyDigits(t.substring(l)).length - 1 === p && (o -= 1);
235
+ if (m !== void 0 && t.indexOf(m) !== -1) {
236
+ const l = t.indexOf(m) + 1;
237
+ if (Math.abs(h - t.length) > 1 && e <= l)
238
+ return this.formattedValue.indexOf(m) + 1;
239
+ !this.options.autoDecimalDigits && e > l && this.currencyFormat.onlyDigits(t.substring(l)).length - 1 === p && (a -= 1);
251
240
  }
252
- return this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === y.hidden ? d - o : Math.max(d - Math.max(o, c.length), a.length);
241
+ return this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === v.hidden ? h - a : Math.max(h - Math.max(a, c.length), u.length);
253
242
  };
254
- this.setCaretPosition(g());
243
+ this.setCaretPosition(d());
255
244
  }
256
245
  }), this.el.addEventListener("focus", () => {
257
246
  this.focus = !0, this.numberValueOnFocus = this.numberValue, setTimeout(() => {
@@ -270,8 +259,8 @@ class H {
270
259
  getCaretPositionOnFocus(i, t) {
271
260
  if (this.numberValue == null)
272
261
  return t;
273
- const { prefix: e, negativePrefix: n, suffix: g, negativeSuffix: a, groupingSymbol: c, currency: h } = this.currencyFormat, p = this.numberValue < 0, r = p ? n : e, o = r.length;
274
- if (this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === y.hidden) {
262
+ const { prefix: e, negativePrefix: n, suffix: d, negativeSuffix: u, groupingSymbol: c, currency: m } = this.currencyFormat, p = this.numberValue < 0, r = p ? n : e, a = r.length;
263
+ if (this.options.hideCurrencySymbolOnFocus || this.options.currencyDisplay === v.hidden) {
275
264
  if (p) {
276
265
  if (t <= 1)
277
266
  return 1;
@@ -279,49 +268,48 @@ class H {
279
268
  return this.formattedValue.length - 1;
280
269
  }
281
270
  } else {
282
- const l = p ? a.length : g.length;
271
+ const l = p ? u.length : d.length;
283
272
  if (t >= i.length - l)
284
273
  return this.formattedValue.length - l;
285
- if (t < o)
286
- return o;
274
+ if (t < a)
275
+ return a;
287
276
  }
288
- let d = t;
289
- return this.options.hideCurrencySymbolOnFocus && this.options.currencyDisplay !== y.hidden && t >= o && h !== void 0 && r.includes(h) && (d -= o, p && (d += 1)), this.options.hideGroupingSeparatorOnFocus && c !== void 0 && (d -= E(i.substring(0, t), c)), d;
277
+ let h = t;
278
+ return this.options.hideCurrencySymbolOnFocus && this.options.currencyDisplay !== v.hidden && t >= a && m !== void 0 && r.includes(m) && (h -= a, p && (h += 1)), this.options.hideGroupingSeparatorOnFocus && c !== void 0 && (h -= O(i.substring(0, t), c)), h;
290
279
  }
291
280
  setCaretPosition(i, t = i) {
292
281
  this.el.setSelectionRange(i, t);
293
282
  }
294
283
  }
295
- const J = (s) => s != null && s.matches("input") ? s : s == null ? void 0 : s.querySelector("input");
296
- function K(s, i) {
297
- var t, e, n, g;
298
- let a;
299
- const c = O(null), h = O(null), p = O(null), r = R(), o = (r == null ? void 0 : r.emit) || ((e = (t = r == null ? void 0 : r.proxy) === null || t === void 0 ? void 0 : t.$emit) === null || e === void 0 ? void 0 : e.bind(r == null ? void 0 : r.proxy)), d = (r == null ? void 0 : r.props) || ((n = r == null ? void 0 : r.proxy) === null || n === void 0 ? void 0 : n.$props), l = $.startsWith("3"), u = l && ((g = r == null ? void 0 : r.attrs.modelModifiers) === null || g === void 0 ? void 0 : g.lazy), f = I(() => d == null ? void 0 : d[l ? "modelValue" : "value"]), b = l ? "update:modelValue" : "input", S = u ? "update:modelValue" : "change";
300
- return x(c, (m) => {
301
- var V;
302
- if (m) {
303
- const _ = J((V = m == null ? void 0 : m.$el) !== null && V !== void 0 ? V : m);
304
- _ ? (a = new H({
305
- el: _,
284
+ const H = (s) => s != null && s.matches("input") ? s : s == null ? void 0 : s.querySelector("input");
285
+ function J(s, i) {
286
+ var t, e, n, d;
287
+ let u;
288
+ const c = V(null), m = V(null), p = V(null), r = C(), a = (r == null ? void 0 : r.emit) || ((e = (t = r == null ? void 0 : r.proxy) === null || t === void 0 ? void 0 : t.$emit) === null || e === void 0 ? void 0 : e.bind(r == null ? void 0 : r.proxy)), h = (r == null ? void 0 : r.props) || ((n = r == null ? void 0 : r.proxy) === null || n === void 0 ? void 0 : n.$props), l = R.startsWith("3"), o = l && ((d = r == null ? void 0 : r.attrs.modelModifiers) === null || d === void 0 ? void 0 : d.lazy), y = E(() => h == null ? void 0 : h[l ? "modelValue" : "value"]), S = l ? "update:modelValue" : "input";
289
+ return x(c, (f) => {
290
+ var g;
291
+ if (f) {
292
+ const I = H((g = f == null ? void 0 : f.$el) !== null && g !== void 0 ? g : f);
293
+ I ? (u = new Z({
294
+ el: I,
306
295
  options: s,
307
- onInput: (F) => {
308
- !u && i !== !1 && f.value !== F.number && (o == null || o(b, F.number)), p.value = F.number, h.value = F.formatted;
296
+ onInput: (b) => {
297
+ !o && i !== !1 && y.value !== b.number && (a == null || a(S, b.number)), p.value = b.number, m.value = b.formatted;
309
298
  },
310
- onChange: (F) => {
311
- i !== !1 && (o == null || o(S, F.number));
299
+ onChange: (b) => {
312
300
  }
313
- }), a.setValue(f.value)) : console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.');
301
+ }), u.setValue(y.value)) : console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.');
314
302
  } else
315
- a = null;
303
+ u = null;
316
304
  }), {
317
305
  inputRef: c,
318
306
  numberValue: p,
319
- formattedValue: h,
320
- setValue: (m) => a == null ? void 0 : a.setValue(m),
321
- setOptions: (m) => a == null ? void 0 : a.setOptions(m)
307
+ formattedValue: m,
308
+ setValue: (f) => u == null ? void 0 : u.setValue(f),
309
+ setOptions: (f) => u == null ? void 0 : u.setOptions(f)
322
310
  };
323
311
  }
324
- const gi = /* @__PURE__ */ A({
312
+ const ei = /* @__PURE__ */ $({
325
313
  __name: "CurrencyInput",
326
314
  props: {
327
315
  inputOptions: { default: void 0 },
@@ -334,13 +322,14 @@ const gi = /* @__PURE__ */ A({
334
322
  showOptionalInLabel: { type: Boolean },
335
323
  autocomplete: {},
336
324
  value: {},
325
+ placeholder: {},
337
326
  disabled: { type: Boolean }
338
327
  },
339
328
  emits: ["update:model-value"],
340
329
  setup(s, { expose: i, emit: t }) {
341
330
  const e = {
342
331
  currency: "USD",
343
- currencyDisplay: y.hidden,
332
+ currencyDisplay: v.hidden,
344
333
  precision: 2,
345
334
  hideCurrencySymbolOnFocus: !0,
346
335
  hideGroupingSeparatorOnFocus: !0,
@@ -348,22 +337,22 @@ const gi = /* @__PURE__ */ A({
348
337
  autoDecimalDigits: !0,
349
338
  useGrouping: !0,
350
339
  accountingSign: !1
351
- }, n = s, g = t, a = L(), c = I(() => ({
340
+ }, n = s, d = t, u = A(), c = E(() => ({
352
341
  ...e,
353
- ...z(n.inputOptions) ? {} : n.inputOptions
354
- })), { inputRef: h, setOptions: p, setValue: r, numberValue: o } = K(c.value, !1);
355
- i({ inputEl: h }), x(
356
- () => o.value,
342
+ ...W(n.inputOptions) ? {} : n.inputOptions
343
+ })), { inputRef: m, setOptions: p, setValue: r, numberValue: a } = J(c.value, !1);
344
+ i({ inputEl: m }), x(
345
+ () => a.value,
357
346
  (l) => {
358
- var f;
359
- let u;
360
- Object.is(l, -0) ? typeof c.value.precision == "number" ? u = "-0." + "0".repeat(c.value.precision) : u = "-0." + "0".repeat(((f = c.value.precision) == null ? void 0 : f.min) || 0) : u = typeof l == "number" ? l.toFixed(2) : l, g("update:model-value", u);
347
+ var y;
348
+ let o;
349
+ Object.is(l, -0) ? typeof c.value.precision == "number" ? o = "-0." + "0".repeat(c.value.precision) : o = "-0." + "0".repeat(((y = c.value.precision) == null ? void 0 : y.min) || 0) : o = typeof l == "number" ? l.toFixed(2) : l, d("update:model-value", o);
361
350
  }
362
351
  ), x(
363
352
  () => n.modelValue,
364
353
  (l) => {
365
- let u;
366
- typeof l == "string" ? u = parseFloat(l || "0") : u = l, r(u);
354
+ let o;
355
+ typeof l == "string" ? o = parseFloat(l || "0") : o = l, r(o);
367
356
  }
368
357
  ), x(
369
358
  () => n.inputOptions,
@@ -371,26 +360,26 @@ const gi = /* @__PURE__ */ A({
371
360
  p(c.value);
372
361
  }
373
362
  );
374
- const d = I(() => {
375
- const { inputOptions: l, ...u } = n;
376
- return { ...u, ...a };
363
+ const h = E(() => {
364
+ const { inputOptions: l, ...o } = n;
365
+ return { ...o, ...u };
377
366
  });
378
- return (l, u) => (T(), G(j, w(d.value, {
367
+ return (l, o) => (L(), T(B, G(h.value, {
379
368
  ref_key: "inputEl",
380
- ref: h,
369
+ ref: m,
381
370
  class: "stash-currency-input",
382
371
  type: "text",
383
372
  "data-test": "stash-currency-input",
384
373
  inputmode: "decimal"
385
374
  }), {
386
- prepend: k(() => [
387
- W(B, { name: "sign-dollar" })
375
+ prepend: w(() => [
376
+ k(z, { name: "sign-dollar" })
388
377
  ]),
389
378
  _: 1
390
379
  }, 16));
391
380
  }
392
381
  });
393
382
  export {
394
- gi as default
383
+ ei as default
395
384
  };
396
385
  //# sourceMappingURL=CurrencyInput.js.map