@leaflink/stash 49.5.0 → 50.0.1
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.
- package/assets/icons/circle-empty.svg +1 -0
- package/assets/spritesheet.svg +1 -1
- package/dist/Accordion.js +25 -28
- package/dist/Accordion.js.map +1 -1
- package/dist/Accordion.vue.d.ts +16 -16
- package/dist/ActionsDropdown.js +14 -26
- package/dist/ActionsDropdown.js.map +1 -1
- package/dist/ActionsDropdown.vue.d.ts +12 -12
- package/dist/AddressSelect.js +22 -47
- package/dist/AddressSelect.js.map +1 -1
- package/dist/AddressSelect.vue.d.ts +45 -45
- package/dist/Alert.js +4 -6
- package/dist/Alert.js.map +1 -1
- package/dist/Alert.vue.d.ts +18 -18
- package/dist/AppNavigationItem.js +16 -19
- package/dist/AppNavigationItem.js.map +1 -1
- package/dist/AppNavigationItem.vue.d.ts +4 -4
- package/dist/AppSidebar.js +27 -28
- package/dist/AppSidebar.js.map +1 -1
- package/dist/AppSidebar.vue.d.ts +7 -7
- package/dist/AppTopbar.js +12 -17
- package/dist/AppTopbar.js.map +1 -1
- package/dist/AppTopbar.vue.d.ts +8 -8
- package/dist/Avatar.js +1 -1
- package/dist/Avatar.vue.d.ts +22 -22
- package/dist/Backdrop.js +1 -1
- package/dist/Backdrop.vue.d.ts +1 -1
- package/dist/Badge.js +1 -1
- package/dist/Badge.js.map +1 -1
- package/dist/Badge.vue.d.ts +36 -36
- package/dist/Box.js +2 -3
- package/dist/Box.js.map +1 -1
- package/dist/Box.vue.d.ts +12 -12
- 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
- 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
- package/dist/Button.js +40 -27
- package/dist/Button.js.map +1 -1
- package/dist/Button.vue.d.ts +34 -27
- package/dist/ButtonGroup.js +1 -1
- package/dist/ButtonGroup.vue.d.ts +14 -14
- package/dist/Card.vue.d.ts +3 -3
- package/dist/CardContent.js +1 -1
- package/dist/CardContent.vue.d.ts +1 -1
- package/dist/CardFooter.js +1 -1
- package/dist/CardFooter.vue.d.ts +1 -1
- package/dist/CardMedia.js +11 -14
- package/dist/CardMedia.js.map +1 -1
- package/dist/Carousel.js +179 -180
- package/dist/Carousel.js.map +1 -1
- package/dist/Carousel.vue.d.ts +33 -11
- package/dist/Checkbox.js +38 -35
- package/dist/Checkbox.js.map +1 -1
- package/dist/Checkbox.vue.d.ts +31 -31
- package/dist/ChevronToggle.js +2 -10
- package/dist/ChevronToggle.js.map +1 -1
- package/dist/ChevronToggle.vue.d.ts +5 -5
- package/dist/{ChevronToggle.vue_vue_type_script_setup_true_lang-fcdf0c19.js → ChevronToggle.vue_vue_type_script_setup_true_lang-DuvluoTi.js} +1 -1
- 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
- package/dist/Chip.js +17 -20
- package/dist/Chip.js.map +1 -1
- package/dist/Chip.vue.d.ts +32 -32
- package/dist/ConfirmationCodeInput.js +1 -1
- package/dist/ConfirmationCodeInput.js.map +1 -1
- package/dist/ConfirmationCodeInput.vue.d.ts +29 -29
- package/dist/ContextSwitcher.js +8 -14
- package/dist/ContextSwitcher.js.map +1 -1
- package/dist/ContextSwitcher.vue.d.ts +32 -32
- package/dist/Copy.js +23 -34
- package/dist/Copy.js.map +1 -1
- package/dist/Copy.vue.d.ts +9 -9
- package/dist/CurrencyInput.js +117 -128
- package/dist/CurrencyInput.js.map +1 -1
- package/dist/CurrencyInput.vue.d.ts +26 -21
- package/dist/CustomRender.vue.d.ts +12 -1
- package/dist/DataView.js +70 -73
- package/dist/DataView.js.map +1 -1
- package/dist/{DataView.vue_used_vue_type_style_index_0_lang.module-5c180dba.js → DataView.keys-C7eaZg2G.js} +5 -8
- package/dist/DataView.keys-C7eaZg2G.js.map +1 -0
- package/dist/DataView.vue.d.ts +51 -51
- package/dist/DataViewFilters.js +76 -90
- package/dist/DataViewFilters.js.map +1 -1
- package/dist/{DataViewFilters.keys-c80ffabe.js → DataViewFilters.keys-BLu07FiP.js} +1 -1
- package/dist/{DataViewFilters.keys-c80ffabe.js.map → DataViewFilters.keys-BLu07FiP.js.map} +1 -1
- package/dist/DataViewFilters.vue.d.ts +39 -39
- package/dist/DataViewSortButton.js +30 -43
- package/dist/DataViewSortButton.js.map +1 -1
- package/dist/DataViewSortButton.vue.d.ts +3 -3
- package/dist/DataViewToolbar.js +27 -36
- package/dist/DataViewToolbar.js.map +1 -1
- package/dist/DataViewToolbar.vue.d.ts +17 -17
- package/dist/DatePicker.js +649 -662
- package/dist/DatePicker.js.map +1 -1
- package/dist/DatePicker.vue.d.ts +73 -73
- package/dist/DescriptionList.js +1 -1
- package/dist/{DescriptionList.keys-c906ce05.js → DescriptionList.keys-BHlHYV6b.js} +1 -1
- package/dist/{DescriptionList.keys-c906ce05.js.map → DescriptionList.keys-BHlHYV6b.js.map} +1 -1
- package/dist/DescriptionList.vue.d.ts +6 -6
- package/dist/DescriptionListDetail.js +1 -1
- package/dist/DescriptionListDetail.vue.d.ts +1 -1
- package/dist/DescriptionListGroup.js +1 -1
- package/dist/DescriptionListGroup.vue.d.ts +1 -1
- package/dist/DescriptionListTerm.js +1 -1
- package/dist/DescriptionListTerm.vue.d.ts +1 -1
- package/dist/Dialog.js +26 -30
- package/dist/Dialog.js.map +1 -1
- package/dist/Dialog.vue.d.ts +34 -34
- package/dist/Divider.js +1 -1
- package/dist/Divider.js.map +1 -1
- package/dist/Divider.vue.d.ts +1 -1
- package/dist/Dropdown.js +21 -28
- package/dist/Dropdown.js.map +1 -1
- package/dist/Dropdown.vue.d.ts +28 -28
- package/dist/EmptyState.js +32 -33
- package/dist/EmptyState.js.map +1 -1
- package/dist/EmptyState.vue.d.ts +36 -36
- package/dist/Expand.js +2 -3
- package/dist/Expand.js.map +1 -1
- package/dist/Expand.vue.d.ts +14 -14
- package/dist/{Expand.vue_vue_type_script_setup_true_lang-0f236267.js → Expand.vue_vue_type_script_setup_true_lang-D0fSAtHr.js} +1 -1
- 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
- package/dist/Field.js +2 -7
- package/dist/Field.js.map +1 -1
- package/dist/Field.vue.d.ts +30 -30
- package/dist/{Field.vue_vue_type_script_setup_true_lang-fded4f75.js → Field.vue_vue_type_script_setup_true_lang-DjxUvSRF.js} +2 -2
- 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
- package/dist/FileUpload.js +58 -57
- package/dist/FileUpload.js.map +1 -1
- package/dist/FileUpload.vue.d.ts +28 -28
- package/dist/FilterChip.js +12 -17
- package/dist/FilterChip.js.map +1 -1
- package/dist/FilterChip.vue.d.ts +19 -19
- package/dist/FilterDrawerItem.js +24 -30
- package/dist/FilterDrawerItem.js.map +1 -1
- package/dist/FilterDrawerItem.vue.d.ts +2 -2
- package/dist/FilterDropdown.js +41 -57
- package/dist/FilterDropdown.js.map +1 -1
- package/dist/FilterDropdown.vue.d.ts +9 -9
- package/dist/FilterSelect.js +36 -45
- package/dist/FilterSelect.js.map +1 -1
- package/dist/FilterSelect.vue.d.ts +5 -5
- package/dist/Filters.js +60 -96
- package/dist/Filters.js.map +1 -1
- package/dist/Filters.vue.d.ts +2005 -2294
- package/dist/HttpError.js +16 -23
- package/dist/HttpError.js.map +1 -1
- package/dist/HttpError.vue.d.ts +18 -18
- package/dist/Icon.js +28 -22
- package/dist/Icon.js.map +1 -1
- package/dist/Icon.vue.d.ts +13 -13
- package/dist/IconLabel.js +9 -12
- package/dist/IconLabel.js.map +1 -1
- package/dist/IconLabel.vue.d.ts +17 -17
- package/dist/Illustration.js +8 -11
- package/dist/Illustration.js.map +1 -1
- package/dist/Illustration.vue.d.ts +21 -21
- package/dist/{Illustration.vue_vue_type_script_setup_true_lang-e26c3841.js → Illustration.vue_vue_type_script_setup_true_lang-C3qG3Ty6.js} +2 -2
- 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
- package/dist/Image.js.map +1 -1
- package/dist/Image.vue.d.ts +18 -18
- package/dist/InlineEdit.js +19 -30
- package/dist/InlineEdit.js.map +1 -1
- package/dist/InlineEdit.vue.d.ts +26 -26
- package/dist/Input.js +58 -64
- package/dist/Input.js.map +1 -1
- package/dist/Input.vue.d.ts +44 -36
- package/dist/InputOptions.js +66 -93
- package/dist/InputOptions.js.map +1 -1
- package/dist/InputOptions.vue.d.ts +66 -58
- package/dist/IntegrationIcon.js +2 -2
- package/dist/IntegrationIcon.js.map +1 -1
- package/dist/IntegrationIcon.vue.d.ts +12 -12
- package/dist/Label.js +2 -5
- package/dist/Label.js.map +1 -1
- package/dist/Label.vue.d.ts +17 -17
- package/dist/{Label.vue_vue_type_script_setup_true_lang-b6ba2f02.js → Label.vue_vue_type_script_setup_true_lang-C4JKdqvC.js} +1 -1
- 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
- package/dist/LicenseChip.js +10 -16
- package/dist/LicenseChip.js.map +1 -1
- package/dist/LicenseChip.vue.d.ts +3 -3
- package/dist/ListItem.js +5 -8
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItem.vue.d.ts +275 -225
- package/dist/ListItemCell.js +1 -1
- package/dist/ListItemCell.js.map +1 -1
- package/dist/ListItemCell.vue.d.ts +13 -2
- package/dist/ListView.js +57 -101
- package/dist/ListView.js.map +1 -1
- package/dist/ListView.vue.d.ts +5185 -5430
- package/dist/Loading.js +12 -10
- package/dist/Loading.js.map +1 -1
- package/dist/Loading.vue.d.ts +1 -1
- package/dist/Logo.js +2 -4
- package/dist/Logo.js.map +1 -1
- package/dist/Logo.vue.d.ts +17 -17
- package/dist/{Logo.vue_vue_type_script_setup_true_lang-2a2597cb.js → Logo.vue_vue_type_script_setup_true_lang-BfUU9J9O.js} +1 -1
- 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
- package/dist/Menu.js +1 -1
- package/dist/Menu.vue.d.ts +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/MenuItem.vue.d.ts +1 -1
- package/dist/{MenusPlugin-9288029a.js → MenusPlugin-Bk6UW6o9.js} +1 -1
- package/dist/{MenusPlugin-9288029a.js.map → MenusPlugin-Bk6UW6o9.js.map} +1 -1
- package/dist/Metric.vue.d.ts +10 -10
- package/dist/Modal.js +27 -32
- package/dist/Modal.js.map +1 -1
- package/dist/Modal.vue.d.ts +42 -42
- package/dist/Modals.js +14 -16
- package/dist/Modals.js.map +1 -1
- package/dist/Modals.vue.d.ts +1 -1
- package/dist/ModalsPlugin.js +9 -12
- package/dist/ModalsPlugin.js.map +1 -1
- package/dist/Module.js +3 -3
- package/dist/{Module.keys-2cc7d830.js → Module.keys-CEsrW2f0.js} +1 -1
- package/dist/{Module.keys-2cc7d830.js.map → Module.keys-CEsrW2f0.js.map} +1 -1
- package/dist/{Module.types-3f78f2a0.js → Module.types-B1FfGGac.js} +1 -1
- package/dist/{Module.types-3f78f2a0.js.map → Module.types-B1FfGGac.js.map} +1 -1
- package/dist/Module.vue.d.ts +3 -3
- package/dist/ModuleContent.js +2 -2
- package/dist/ModuleContent.vue.d.ts +1 -1
- package/dist/ModuleFooter.js +2 -2
- package/dist/ModuleFooter.vue.d.ts +1 -1
- package/dist/ModuleHeader.js +3 -3
- package/dist/ModuleHeader.vue.d.ts +15 -15
- package/dist/ObfuscateText.js +8 -13
- package/dist/ObfuscateText.js.map +1 -1
- package/dist/ObfuscateText.vue.d.ts +18 -18
- package/dist/PageContent.js +1 -1
- package/dist/PageContent.vue.d.ts +1 -1
- package/dist/PageHeader.js +26 -23
- package/dist/PageHeader.js.map +1 -1
- package/dist/PageHeader.vue.d.ts +7 -4
- package/dist/PageNavigation.js +41 -64
- package/dist/PageNavigation.js.map +1 -1
- package/dist/PageNavigation.vue.d.ts +10 -10
- package/dist/Paginate.js +36 -34
- package/dist/Paginate.js.map +1 -1
- package/dist/Paginate.vue.d.ts +11 -11
- package/dist/PlaidLink.js +3 -5
- package/dist/PlaidLink.js.map +1 -1
- package/dist/PlaidLink.vue.d.ts +29 -29
- package/dist/QuickAction.js +12 -15
- package/dist/QuickAction.js.map +1 -1
- package/dist/QuickAction.vue.d.ts +1 -1
- package/dist/Radio.js +1 -1
- package/dist/Radio.js.map +1 -1
- package/dist/Radio.vue.d.ts +83 -12
- package/dist/RadioGroup.js +41 -45
- package/dist/RadioGroup.js.map +1 -1
- package/dist/{RadioGroup.keys-974818d6.js → RadioGroup.keys-CqfiKkNz.js} +1 -1
- package/dist/{RadioGroup.keys-974818d6.js.map → RadioGroup.keys-CqfiKkNz.js.map} +1 -1
- package/dist/RadioGroup.vue.d.ts +30 -30
- package/dist/RadioNew.js +2 -2
- package/dist/RadioNew.js.map +1 -1
- package/dist/RadioNew.vue.d.ts +26 -26
- package/dist/RangeInput.js +10 -14
- package/dist/RangeInput.js.map +1 -1
- package/dist/RangeInput.vue.d.ts +1 -1
- package/dist/SearchBar.js +31 -41
- package/dist/SearchBar.js.map +1 -1
- package/dist/SearchBar.vue.d.ts +22 -22
- package/dist/Select.js +66 -78
- package/dist/Select.js.map +1 -1
- package/dist/Select.vue.d.ts +123 -123
- package/dist/SelectStatus.js +47 -69
- package/dist/SelectStatus.js.map +1 -1
- package/dist/SelectStatus.vue.d.ts +33 -26
- package/dist/Skeleton.js +1 -1
- package/dist/Skeleton.js.map +1 -1
- package/dist/Skeleton.vue.d.ts +9 -9
- package/dist/Step.js +10 -14
- package/dist/Step.js.map +1 -1
- package/dist/Step.vue.d.ts +21 -21
- package/dist/Stepper.js +37 -40
- package/dist/Stepper.js.map +1 -1
- package/dist/Stepper.vue.d.ts +34 -29
- package/dist/Switch.js +1 -1
- package/dist/Switch.vue.d.ts +23 -23
- package/dist/Tab.js +21 -36
- package/dist/Tab.js.map +1 -1
- package/dist/Table.js +38 -55
- package/dist/Table.js.map +1 -1
- package/dist/Table.keys-LHQf6FEH.js +7 -0
- package/dist/{Table.keys-83e4f09b.js.map → Table.keys-LHQf6FEH.js.map} +1 -1
- package/dist/Table.vue.d.ts +36 -36
- package/dist/TableCell.js +26 -26
- package/dist/TableCell.js.map +1 -1
- package/dist/TableCell.vue.d.ts +6 -6
- package/dist/TableHeaderCell.js +6 -13
- package/dist/TableHeaderCell.js.map +1 -1
- package/dist/TableHeaderCell.vue.d.ts +3 -3
- package/dist/TableHeaderRow.js +22 -32
- package/dist/TableHeaderRow.js.map +1 -1
- package/dist/TableHeaderRow.vue.d.ts +8 -8
- package/dist/TableRow.js +59 -59
- package/dist/TableRow.js.map +1 -1
- package/dist/TableRow.vue.d.ts +26 -26
- package/dist/Tabs.js +10 -24
- package/dist/Tabs.js.map +1 -1
- package/dist/Tabs.vue.d.ts +5 -5
- 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
- package/dist/Tabs.vue_vue_type_script_setup_true_lang-l41hWkV4.js.map +1 -0
- package/dist/TextEditor.js +1269 -1364
- package/dist/TextEditor.js.map +1 -1
- package/dist/TextEditor.vue.d.ts +46 -46
- package/dist/Textarea.js +30 -31
- package/dist/Textarea.js.map +1 -1
- package/dist/Textarea.vue.d.ts +34 -26
- package/dist/Timeline.js +9 -10
- package/dist/Timeline.js.map +1 -1
- package/dist/Timeline.vue.d.ts +6 -6
- package/dist/TimelineItem.js +1 -1
- package/dist/TimelineItem.vue.d.ts +1 -1
- package/dist/Toast.js +5 -9
- package/dist/Toast.js.map +1 -1
- package/dist/Toast.vue.d.ts +3 -3
- package/dist/Toasts.js +15 -25
- package/dist/Toasts.js.map +1 -1
- package/dist/Toasts.vue.d.ts +1 -1
- package/dist/ToastsPlugin.js +11 -23
- package/dist/ToastsPlugin.js.map +1 -1
- package/dist/Tooltip.js +1 -1
- package/dist/Tooltip.js.map +1 -1
- package/dist/Tooltip.vue.d.ts +15 -15
- package/dist/{_commonjsHelpers-10dfc225.js → _commonjsHelpers-DaMA6jEr.js} +1 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
- package/dist/{_plugin-vue_export-helper-dad06003.js → _plugin-vue_export-helper-CHgC5LLL.js} +1 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
- package/dist/{colors-8d9b9429.js → colors-DDDVvqfQ.js} +1 -1
- package/dist/{colors-8d9b9429.js.map → colors-DDDVvqfQ.js.map} +1 -1
- package/dist/components.css +2 -2
- package/dist/directives/observe.js.map +1 -1
- package/dist/directives/sticky.js.map +1 -1
- package/dist/directives/tooltip.js +21 -27
- package/dist/directives/tooltip.js.map +1 -1
- package/dist/directives/viewable.js +1 -1
- package/dist/directives/viewable.js.map +1 -1
- package/dist/{floating-ui.vue-8d7f7932.js → floating-ui.vue-BmfQDqE-.js} +2 -3
- package/dist/{floating-ui.vue-8d7f7932.js.map → floating-ui.vue-BmfQDqE-.js.map} +1 -1
- package/dist/{formatDateTime-a5e70901.js → formatDateTime-C8CYECpd.js} +8 -12
- package/dist/{formatDateTime-a5e70901.js.map → formatDateTime-C8CYECpd.js.map} +1 -1
- package/dist/{index-9e1095ef.js → index-D6bxWkZ1.js} +2 -3
- package/dist/{index-9e1095ef.js.map → index-D6bxWkZ1.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +90 -112
- package/dist/index.js.map +1 -1
- package/dist/{isDefined-2ce6cde4.js → isDefined-DzVx0B6k.js} +1 -1
- package/dist/{isDefined-2ce6cde4.js.map → isDefined-DzVx0B6k.js.map} +1 -1
- package/dist/{isValid-4b2b7a54.js → isValid-DN-HkCoi.js} +1 -1
- package/dist/{isValid-4b2b7a54.js.map → isValid-DN-HkCoi.js.map} +1 -1
- package/dist/{keys-241d03b7.js → keys-BEdEsanp.js} +1 -1
- package/dist/{keys-241d03b7.js.map → keys-BEdEsanp.js.map} +1 -1
- package/dist/{keys-7ecef029.js → keys-C8Zfr_By.js} +1 -1
- package/dist/{keys-7ecef029.js.map → keys-C8Zfr_By.js.map} +1 -1
- package/dist/{misc-76697f61.js → misc-CHQs-G03.js} +1 -1
- package/dist/{misc-76697f61.js.map → misc-CHQs-G03.js.map} +1 -1
- package/dist/{parseISO-ed4094c1.js → parseISO-wlfIB_QJ.js} +12 -18
- package/dist/{parseISO-ed4094c1.js.map → parseISO-wlfIB_QJ.js.map} +1 -1
- package/dist/{searchFuzzy-9b74ec4e.js → searchFuzzy-DKooyZM8.js} +110 -149
- package/dist/{searchFuzzy-9b74ec4e.js.map → searchFuzzy-DKooyZM8.js.map} +1 -1
- package/dist/{statusLevels-a8b041f4.js → statusLevels-D8EgtE_L.js} +1 -1
- package/dist/{statusLevels-a8b041f4.js.map → statusLevels-D8EgtE_L.js.map} +1 -1
- package/dist/storage.js +8 -15
- package/dist/storage.js.map +1 -1
- package/dist/tailwind-base.js.map +1 -1
- package/dist/{toTimeZone-a2ed6470.js → toTimeZone-CVE1ZmsS.js} +1 -1
- package/dist/{toTimeZone-a2ed6470.js.map → toTimeZone-CVE1ZmsS.js.map} +1 -1
- package/dist/useDialog.js +7 -7
- package/dist/useGoogleMaps.js +18 -28
- package/dist/useGoogleMaps.js.map +1 -1
- package/dist/useModals.js +1 -2
- package/dist/useModals.js.map +1 -1
- package/dist/useScriptTag.js.map +1 -1
- package/dist/useSearch.js +14 -19
- package/dist/useSearch.js.map +1 -1
- package/dist/useStepper.js.map +1 -1
- package/dist/useValidation.js +1 -1
- package/dist/useValidation.js.map +1 -1
- package/dist/utils/calculateElementOverflow.js +9 -13
- package/dist/utils/calculateElementOverflow.js.map +1 -1
- package/dist/utils/colorScheme.js.map +1 -1
- package/dist/utils/createQueryString.js +4 -5
- package/dist/utils/createQueryString.js.map +1 -1
- package/dist/utils/createValidDate.js +2 -2
- package/dist/utils/formatDateTime.js +4 -5
- package/dist/utils/formatDateTime.js.map +1 -1
- package/dist/utils/getContrastingTextColor.js +1 -1
- package/dist/utils/getContrastingTextColor.js.map +1 -1
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/i18n.js +25 -26
- package/dist/utils/i18n.js.map +1 -1
- package/dist/utils/normalizeDate.js +1 -1
- package/dist/utils/searchFuzzy.js +3 -10
- package/dist/utils/searchFuzzy.js.map +1 -1
- package/dist/utils/storage.js +6 -11
- package/dist/utils/storage.js.map +1 -1
- package/dist/utils/toTimeZone.js +2 -3
- package/dist/utils/toTimeZone.js.map +1 -1
- package/package.json +13 -14
- package/dist/Button.vue_used_vue_type_style_index_0_lang.module-4dabc2a9.js +0 -17
- package/dist/Button.vue_used_vue_type_style_index_0_lang.module-4dabc2a9.js.map +0 -1
- package/dist/Carousel.types.d.ts +0 -33
- package/dist/Carousel.types.js +0 -2
- package/dist/Carousel.types.js.map +0 -1
- package/dist/Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js +0 -9
- package/dist/Checkbox.vue_used_vue_type_style_index_0_lang.module-fa8d9c06.js.map +0 -1
- package/dist/DataView.vue_used_vue_type_style_index_0_lang.module-5c180dba.js.map +0 -1
- package/dist/EmptyState.vue_used_vue_type_style_index_0_lang.module-f5d89366.js +0 -8
- package/dist/EmptyState.vue_used_vue_type_style_index_0_lang.module-f5d89366.js.map +0 -1
- package/dist/Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js +0 -11
- package/dist/Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js.map +0 -1
- package/dist/Loading.vue_used_vue_type_style_index_0_lang.module-ef5a3bc6.js +0 -8
- package/dist/Loading.vue_used_vue_type_style_index_0_lang.module-ef5a3bc6.js.map +0 -1
- package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-18343da7.js +0 -11
- package/dist/Paginate.vue_used_vue_type_style_index_0_lang.module-18343da7.js.map +0 -1
- package/dist/Table.keys-83e4f09b.js +0 -27
- package/dist/Tabs.vue_used_vue_type_style_index_0_lang.module-d7530989.js.map +0 -1
- package/dist/_commonjsHelpers-10dfc225.js.map +0 -1
- package/dist/_plugin-vue_export-helper-dad06003.js.map +0 -1
package/dist/SearchBar.vue.d.ts
CHANGED
|
@@ -33,32 +33,32 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SearchBarProps>, {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
isLoading: boolean;
|
|
37
|
+
isWorking: boolean;
|
|
38
|
+
modelValue: string;
|
|
39
|
+
placeholder: any;
|
|
40
|
+
label: any;
|
|
41
|
+
hintText: undefined;
|
|
42
42
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
search: (searchTerm: string) => void;
|
|
44
|
+
"update:model-value": (searchTerm: string) => void;
|
|
45
45
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SearchBarProps>, {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
isLoading: boolean;
|
|
47
|
+
isWorking: boolean;
|
|
48
|
+
modelValue: string;
|
|
49
|
+
placeholder: any;
|
|
50
|
+
label: any;
|
|
51
|
+
hintText: undefined;
|
|
52
52
|
}>>> & Readonly<{
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
onSearch?: ((searchTerm: string) => any) | undefined;
|
|
54
|
+
"onUpdate:model-value"?: ((searchTerm: string) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
label: string;
|
|
57
|
+
isLoading: boolean;
|
|
58
|
+
hintText: string;
|
|
59
|
+
placeholder: string;
|
|
60
|
+
modelValue: string;
|
|
61
|
+
isWorking: boolean;
|
|
62
62
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
63
63
|
hint?(_: {}): any;
|
|
64
64
|
}>;
|
package/dist/Select.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as He, a as Ne, f as Ae, o as Le, s as De } from "./floating-ui.vue-
|
|
1
|
+
import { defineComponent as xe, useAttrs as Ce, useSlots as Ie, ref as c, computed as v, watch as U, nextTick as Y, onMounted as Oe, onUnmounted as Me, openBlock as o, createBlock as K, normalizeClass as k, unref as y, createSlots as Fe, withCtx as M, createElementVNode as h, createElementBlock as d, Fragment as V, renderList as G, toDisplayString as B, withDirectives as F, withKeys as oe, createCommentVNode as R, renderSlot as j, createTextVNode as $, withModifiers as P, createVNode as S, Teleport as Re, Transition as $e, normalizeStyle as Pe, vModelText as ze, vShow as J } from "vue";
|
|
2
|
+
import { u as He, a as Ne, f as Ae, o as Le, s as De } from "./floating-ui.vue-BmfQDqE-.js";
|
|
3
3
|
import Ue from "@leaflink/snitch";
|
|
4
4
|
import Ke from "lodash-es/debounce";
|
|
5
5
|
import Ve from "lodash-es/isEmpty";
|
|
@@ -9,22 +9,11 @@ import je from "lodash-es/uniqueId";
|
|
|
9
9
|
import qe from "./useSearch.js";
|
|
10
10
|
import { DEBOUNCE as We, KEY_CODES as E } from "./constants.js";
|
|
11
11
|
import Xe from "./directives/clickoutside.js";
|
|
12
|
-
import { D as Ye } from "./MenusPlugin-
|
|
12
|
+
import { D as Ye } from "./MenusPlugin-Bk6UW6o9.js";
|
|
13
13
|
import ie from "./Chip.js";
|
|
14
|
-
import { _ as Je } from "./Field.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { _ as Je } from "./Field.vue_vue_type_script_setup_true_lang-DjxUvSRF.js";
|
|
15
15
|
import z from "./Icon.js";
|
|
16
|
-
import { _ as Qe } from "./_plugin-vue_export-helper-
|
|
17
|
-
import "lodash-es/get";
|
|
18
|
-
import "./searchFuzzy-9b74ec4e.js";
|
|
19
|
-
import "./_commonjsHelpers-10dfc225.js";
|
|
20
|
-
import "./utils/helpers.js";
|
|
21
|
-
import "lodash-es/camelCase";
|
|
22
|
-
import "lodash-es/isFinite";
|
|
23
|
-
import "./utils/colorScheme.js";
|
|
24
|
-
import "./Label.vue_vue_type_script_setup_true_lang-b6ba2f02.js";
|
|
25
|
-
import "./locale.js";
|
|
26
|
-
import "./index-9e1095ef.js";
|
|
27
|
-
import "./Icon.vue_used_vue_type_style_index_0_lang.module-eb359559.js";
|
|
16
|
+
import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
28
17
|
const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "name"], et = ["selected", "value"], tt = ["aria-controls", "aria-expanded", "aria-label", "aria-disabled"], lt = ["id"], at = ["onKeypress", "onMousedown"], st = {
|
|
29
18
|
key: 0,
|
|
30
19
|
class: "stash-select__total"
|
|
@@ -34,7 +23,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
34
23
|
}, ot = ["data-test", "placeholder"], rt = { class: "stash-select__options options tw-my-1.5 tw-w-full tw-border-white tw-bg-white" }, it = ["data-test", "onClick", "onMouseenter"], ct = { class: "tw-m-1.5 tw-cursor-default tw-p-1.5" }, ut = {
|
|
35
24
|
class: "tw-m-1.5 tw-cursor-default tw-p-1.5",
|
|
36
25
|
"data-test": "stash-select|no-options"
|
|
37
|
-
}, dt = /* @__PURE__ */
|
|
26
|
+
}, dt = /* @__PURE__ */ xe({
|
|
38
27
|
name: "ll-select",
|
|
39
28
|
__name: "Select",
|
|
40
29
|
props: {
|
|
@@ -78,12 +67,12 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
78
67
|
},
|
|
79
68
|
emits: ["update:model-value", "clear", "add", "remove", "opened", "closed"],
|
|
80
69
|
setup(ce, { emit: ue }) {
|
|
81
|
-
const e = ce,
|
|
70
|
+
const e = ce, p = ue, H = Ce(), de = Ie(), Q = c(null), m = c(null), T = c(null), q = c(null), Z = c(null), N = c(0), x = c(0), n = c([]), ee = c(() => []), b = c(""), f = c(-1), u = c(!1), W = c({}), te = c(!1), { floatingStyles: fe } = He(Q, T, {
|
|
82
71
|
whileElementsMounted: Ne,
|
|
83
72
|
placement: e.menuPlacement,
|
|
84
73
|
middleware: [
|
|
85
74
|
Ae(),
|
|
86
|
-
Le(({ rects: t }) => e.menuPlacement.includes("bottom") && N.value >
|
|
75
|
+
Le(({ rects: t }) => e.menuPlacement.includes("bottom") && N.value > x.value ? N.value - t.reference.height + 6 : 6),
|
|
87
76
|
De({
|
|
88
77
|
apply({ availableHeight: t, elements: l, rects: s }) {
|
|
89
78
|
e.enableTeleport && Object.assign(l.floating.style, {
|
|
@@ -96,10 +85,10 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
96
85
|
}), X = v(() => !e.hideSearch && e.searchable !== "false" && e.searchable !== !1), A = v(() => {
|
|
97
86
|
let t = (te.value && e.lazy ? e.lazy() : e.options).filter(Boolean);
|
|
98
87
|
return Ge(t[0]) || (t = t.map((l, s) => ({ name: l, id: s }))), t;
|
|
99
|
-
}), le = v(() => e.searchLoading || Object.keys(W.value).length > 0), C = v(() => e.disableFiltering || !(
|
|
100
|
-
() => !u.value && !e.single && !
|
|
101
|
-
),
|
|
102
|
-
U(
|
|
88
|
+
}), le = v(() => e.searchLoading || Object.keys(W.value).length > 0), C = v(() => e.disableFiltering || !(b.value || "").trim() ? A.value : ee.value(b.value)), he = v(() => N.value <= x.value), ve = v(
|
|
89
|
+
() => !u.value && !e.single && !he.value && n.value.length
|
|
90
|
+
), pe = v(() => [n.value.length, e.selectItemType, "selected"].filter(Boolean).join(" ")), me = v(() => e.preventEmpty || e.allowEmpty === "false" || e.allowEmpty === !1);
|
|
91
|
+
U(b, (t, l) => l !== t && D(-1)), U(n, () => O(), { deep: !0 }), U(
|
|
103
92
|
() => e.modelValue,
|
|
104
93
|
(t) => {
|
|
105
94
|
if (Array.isArray(t)) {
|
|
@@ -127,10 +116,10 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
127
116
|
{ immediate: !0 }
|
|
128
117
|
);
|
|
129
118
|
const ye = () => {
|
|
130
|
-
n.value = [],
|
|
119
|
+
n.value = [], p("update:model-value", e.single ? void 0 : n.value), p("clear");
|
|
131
120
|
}, L = (t) => {
|
|
132
|
-
e.disabled || !t || typeof t == "object" && "disabled" in t && (t != null && t.disabled) || (
|
|
133
|
-
},
|
|
121
|
+
e.disabled || !t || typeof t == "object" && "disabled" in t && (t != null && t.disabled) || (_(t) ? I(t) : (e.single && (n.value = []), n.value.push(t), p("update:model-value", e.single ? n.value[0] : n.value), p("add", t)), e.single && g());
|
|
122
|
+
}, be = (t) => {
|
|
134
123
|
if (e.single) {
|
|
135
124
|
const s = A.value.find((r) => {
|
|
136
125
|
var i;
|
|
@@ -152,7 +141,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
152
141
|
return ((a = i[e.trackBy]) == null ? void 0 : a.toString()) === s.value;
|
|
153
142
|
}
|
|
154
143
|
);
|
|
155
|
-
|
|
144
|
+
_(r) || L(r);
|
|
156
145
|
}
|
|
157
146
|
}, I = (t) => {
|
|
158
147
|
if (e.disabled || me.value && n.value.length === 1)
|
|
@@ -162,16 +151,16 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
162
151
|
Ue.warn("ll-select: could not find option to remove", t);
|
|
163
152
|
return;
|
|
164
153
|
}
|
|
165
|
-
n.value.splice(l, 1),
|
|
154
|
+
n.value.splice(l, 1), p("update:model-value", e.single ? n.value[0] : n.value), p("remove", t, l);
|
|
166
155
|
}, ae = () => {
|
|
167
|
-
u.value || (O(), u.value = !0,
|
|
156
|
+
u.value || (O(), u.value = !0, p("opened"), X.value && Y(() => {
|
|
168
157
|
var t;
|
|
169
158
|
(t = Z.value) == null || t.focus({ preventScroll: !0 });
|
|
170
159
|
}));
|
|
171
|
-
},
|
|
160
|
+
}, g = () => {
|
|
172
161
|
var t;
|
|
173
|
-
u.value &&
|
|
174
|
-
},
|
|
162
|
+
u.value && p("closed", n.value), D(-1), u.value = !1, e.preserveSearchTerm || (b.value = ""), (t = m.value) == null || t.blur();
|
|
163
|
+
}, we = async (t) => {
|
|
175
164
|
if (await Y(), !m.value)
|
|
176
165
|
return;
|
|
177
166
|
if (![E.ENTER, E.ESCAPE].includes(t.keyCode)) {
|
|
@@ -182,26 +171,26 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
182
171
|
}
|
|
183
172
|
}, D = (t) => {
|
|
184
173
|
f.value = t;
|
|
185
|
-
},
|
|
174
|
+
}, ge = (t) => {
|
|
186
175
|
if (t.keyCode === E.ESCAPE)
|
|
187
|
-
|
|
176
|
+
g();
|
|
188
177
|
else if (t.keyCode === E.DOWN && f.value < C.value.length - 1)
|
|
189
178
|
u.value && f.value++;
|
|
190
179
|
else if (t.keyCode === E.UP && f.value > 0)
|
|
191
|
-
u.value && f.value--,
|
|
180
|
+
u.value && f.value--, T.value && X.value && f.value === 0 && (T.value.scrollTop -= 100);
|
|
192
181
|
else if (t.keyCode === E.ENTER && f.value !== -1)
|
|
193
182
|
u.value && L(C.value[f.value]);
|
|
194
183
|
else
|
|
195
184
|
return;
|
|
196
|
-
t.preventDefault(),
|
|
185
|
+
t.preventDefault(), we(t);
|
|
197
186
|
}, se = Ke(function() {
|
|
198
|
-
|
|
199
|
-
}, We.FAST),
|
|
187
|
+
_e();
|
|
188
|
+
}, We.FAST), _e = async function() {
|
|
200
189
|
if (!e.onSearch)
|
|
201
190
|
return;
|
|
202
191
|
const t = je("search-request-");
|
|
203
192
|
try {
|
|
204
|
-
W.value[t] = !0, await e.onSearch(
|
|
193
|
+
W.value[t] = !0, await e.onSearch(b.value);
|
|
205
194
|
} finally {
|
|
206
195
|
delete W.value[t];
|
|
207
196
|
}
|
|
@@ -210,33 +199,33 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
210
199
|
"stash-select__option": !0,
|
|
211
200
|
"stash-select__option--disabled": t && typeof t == "object" && "disabled" in t && (t == null ? void 0 : t.disabled),
|
|
212
201
|
"stash-select__option--highlighted": f.value === l,
|
|
213
|
-
"stash-select__option--selected":
|
|
202
|
+
"stash-select__option--selected": _(t)
|
|
214
203
|
},
|
|
215
204
|
// @deprecated
|
|
216
205
|
{
|
|
217
206
|
"tw-bg-ice-200": f.value === l,
|
|
218
|
-
"tw-bg-blue-100 tw-text-ice-700":
|
|
207
|
+
"tw-bg-blue-100 tw-text-ice-700": _(t)
|
|
219
208
|
}
|
|
220
|
-
],
|
|
209
|
+
], _ = (t) => t == null ? !1 : n.value.some((l) => (l == null ? void 0 : l[e.trackBy]) === t[e.trackBy]);
|
|
221
210
|
function ne(t) {
|
|
222
211
|
var r, i;
|
|
223
212
|
if (!t)
|
|
224
213
|
return !1;
|
|
225
|
-
const l = (r = m.value) == null ? void 0 : r.contains(t), s = (i =
|
|
214
|
+
const l = (r = m.value) == null ? void 0 : r.contains(t), s = (i = T.value) == null ? void 0 : i.contains(t);
|
|
226
215
|
return l || s;
|
|
227
216
|
}
|
|
228
217
|
function Be(t) {
|
|
229
218
|
const l = t.relatedTarget;
|
|
230
|
-
!ne(l) && l &&
|
|
219
|
+
!ne(l) && l && g();
|
|
231
220
|
}
|
|
232
221
|
function Se(t) {
|
|
233
222
|
const l = t.target;
|
|
234
|
-
ne(l) ||
|
|
223
|
+
ne(l) || g();
|
|
235
224
|
}
|
|
236
225
|
const Ee = () => {
|
|
237
226
|
D(-1);
|
|
238
227
|
}, O = async () => {
|
|
239
|
-
await Y(), q.value && m.value && (
|
|
228
|
+
await Y(), q.value && m.value && (x.value = x.value === 0 ? m.value.clientHeight : x.value, N.value = q.value.clientHeight);
|
|
240
229
|
};
|
|
241
230
|
return Oe(() => {
|
|
242
231
|
if (H.onInput)
|
|
@@ -256,7 +245,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
256
245
|
disabled: e.disabled
|
|
257
246
|
}, Fe({
|
|
258
247
|
default: M(({ fieldId: s, fieldErrorId: r, hasError: i }) => [
|
|
259
|
-
|
|
248
|
+
h("select", {
|
|
260
249
|
id: s,
|
|
261
250
|
"aria-errormessage": r,
|
|
262
251
|
"aria-invalid": i,
|
|
@@ -264,14 +253,14 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
264
253
|
disabled: e.disabled,
|
|
265
254
|
multiple: !e.single,
|
|
266
255
|
name: e.name,
|
|
267
|
-
onChange:
|
|
256
|
+
onChange: be
|
|
268
257
|
}, [
|
|
269
|
-
(o(!0), d(V, null, G(C.value, (a,
|
|
270
|
-
key: `srOnlyOption-${
|
|
271
|
-
selected:
|
|
258
|
+
(o(!0), d(V, null, G(C.value, (a, w) => (o(), d("option", {
|
|
259
|
+
key: `srOnlyOption-${w}`,
|
|
260
|
+
selected: _(a),
|
|
272
261
|
value: a[e.trackBy]
|
|
273
262
|
}, B(a[e.displayBy] || ""), 9, et))), 128)),
|
|
274
|
-
l[5] || (l[5] =
|
|
263
|
+
l[5] || (l[5] = h("option", { value: "" }, null, -1))
|
|
275
264
|
], 40, Ze),
|
|
276
265
|
F((o(), d("div", {
|
|
277
266
|
ref_key: "selectRef",
|
|
@@ -296,10 +285,10 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
296
285
|
"aria-expanded": u.value,
|
|
297
286
|
"aria-label": e.placeholder,
|
|
298
287
|
"aria-disabled": e.disabled || void 0,
|
|
299
|
-
onKeydown:
|
|
300
|
-
onKeyup: oe(
|
|
288
|
+
onKeydown: ge,
|
|
289
|
+
onKeyup: oe(g, ["esc"])
|
|
301
290
|
}, [
|
|
302
|
-
|
|
291
|
+
h("div", {
|
|
303
292
|
id: "listbox-" + s,
|
|
304
293
|
ref_key: "contentRef",
|
|
305
294
|
ref: m,
|
|
@@ -311,7 +300,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
311
300
|
onKeydown: ae,
|
|
312
301
|
onMouseleave: Ee
|
|
313
302
|
}, [
|
|
314
|
-
|
|
303
|
+
h("ul", {
|
|
315
304
|
ref_key: "chipsRef",
|
|
316
305
|
ref: q,
|
|
317
306
|
class: "stash-select__chips"
|
|
@@ -326,11 +315,11 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
326
315
|
}, [
|
|
327
316
|
j(t.$slots, "selected", { option: a }, () => [
|
|
328
317
|
$(B(a[e.displayBy] || a) + " ", 1),
|
|
329
|
-
|
|
318
|
+
h("button", {
|
|
330
319
|
tabindex: "-1",
|
|
331
320
|
class: "stash-select__remove",
|
|
332
|
-
onKeypress: oe(P((
|
|
333
|
-
onMousedown: P((
|
|
321
|
+
onKeypress: oe(P((w) => I(a), ["prevent"]), ["enter"]),
|
|
322
|
+
onMousedown: P((w) => I(a), ["prevent", "stop"])
|
|
334
323
|
}, [
|
|
335
324
|
S(z, {
|
|
336
325
|
icon: "close",
|
|
@@ -348,7 +337,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
348
337
|
"is-removable": "",
|
|
349
338
|
"text-color": "white",
|
|
350
339
|
class: "stash-select__chip",
|
|
351
|
-
onRemove: (
|
|
340
|
+
onRemove: (w) => I(a)
|
|
352
341
|
}, {
|
|
353
342
|
default: M(() => [
|
|
354
343
|
$(B(a[e.displayBy] || a), 1)
|
|
@@ -366,7 +355,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
366
355
|
onRemove: ye
|
|
367
356
|
}, {
|
|
368
357
|
default: M(() => [
|
|
369
|
-
$(B(
|
|
358
|
+
$(B(pe.value), 1)
|
|
370
359
|
]),
|
|
371
360
|
_: 1
|
|
372
361
|
})
|
|
@@ -376,7 +365,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
376
365
|
class: k(["stash-select__icon", { "tw-text-ice-500": e.disabled }]),
|
|
377
366
|
"data-test": "stash-select|toggle-icon",
|
|
378
367
|
name: e.icon,
|
|
379
|
-
onMousedown: l[0] || (l[0] = P((a) => u.value &&
|
|
368
|
+
onMousedown: l[0] || (l[0] = P((a) => u.value && g(), ["prevent"]))
|
|
380
369
|
}, null, 8, ["name", "class"])) : R("", !0),
|
|
381
370
|
(o(), K(Re, {
|
|
382
371
|
to: e.teleportTo,
|
|
@@ -384,19 +373,19 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
384
373
|
}, [
|
|
385
374
|
S($e, { name: "fade" }, {
|
|
386
375
|
default: M(() => [
|
|
387
|
-
F(
|
|
376
|
+
F(h("div", {
|
|
388
377
|
ref_key: "optionsWrapperRef",
|
|
389
|
-
ref:
|
|
378
|
+
ref: T,
|
|
390
379
|
class: "stash-select__border-selector tw-w-full tw-shadow-2xl",
|
|
391
380
|
style: Pe(y(fe)),
|
|
392
381
|
onClick: l[3] || (l[3] = P(() => {
|
|
393
382
|
}, ["stop"]))
|
|
394
383
|
}, [
|
|
395
384
|
X.value ? (o(), d("div", nt, [
|
|
396
|
-
F(
|
|
385
|
+
F(h("input", {
|
|
397
386
|
ref_key: "searchRef",
|
|
398
387
|
ref: Z,
|
|
399
|
-
"onUpdate:modelValue": l[1] || (l[1] = (a) =>
|
|
388
|
+
"onUpdate:modelValue": l[1] || (l[1] = (a) => b.value = a),
|
|
400
389
|
type: "text",
|
|
401
390
|
autocomplete: "off",
|
|
402
391
|
class: "stash-select__search",
|
|
@@ -406,31 +395,31 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
406
395
|
onInput: l[2] || (l[2] = //@ts-ignore
|
|
407
396
|
(...a) => y(se) && y(se)(...a))
|
|
408
397
|
}, null, 40, ot), [
|
|
409
|
-
[ze,
|
|
398
|
+
[ze, b.value]
|
|
410
399
|
]),
|
|
411
400
|
S(z, {
|
|
412
401
|
name: "search",
|
|
413
402
|
class: "tw-text-ice-500"
|
|
414
403
|
})
|
|
415
404
|
])) : R("", !0),
|
|
416
|
-
|
|
417
|
-
(o(!0), d(V, null, G(C.value, (a,
|
|
405
|
+
h("ul", rt, [
|
|
406
|
+
(o(!0), d(V, null, G(C.value, (a, w) => (o(), d("li", {
|
|
418
407
|
key: `option-${a[e.trackBy]}`,
|
|
419
408
|
"data-test": a[e.trackBy],
|
|
420
|
-
class: k(ke(a,
|
|
421
|
-
onClick: (
|
|
422
|
-
onMouseenter: P((
|
|
409
|
+
class: k(ke(a, w)),
|
|
410
|
+
onClick: (Te) => L(a),
|
|
411
|
+
onMouseenter: P((Te) => D(w), ["self"])
|
|
423
412
|
}, [
|
|
424
413
|
j(t.$slots, "option", { option: a }, () => [
|
|
425
414
|
$(B(a[e.displayBy] || a), 1)
|
|
426
415
|
], !0),
|
|
427
|
-
|
|
416
|
+
_(a) && !e.hideCheck ? (o(), K(z, {
|
|
428
417
|
key: 0,
|
|
429
418
|
class: "tw-ml-auto tw-text-blue-500",
|
|
430
419
|
name: "check"
|
|
431
420
|
})) : R("", !0)
|
|
432
421
|
], 42, it))), 128)),
|
|
433
|
-
F(
|
|
422
|
+
F(h("li", ct, [
|
|
434
423
|
S(z, {
|
|
435
424
|
"data-test": "stash-select|options-loading",
|
|
436
425
|
name: "working",
|
|
@@ -439,7 +428,7 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
439
428
|
], 512), [
|
|
440
429
|
[J, e.loading || le.value]
|
|
441
430
|
]),
|
|
442
|
-
F(
|
|
431
|
+
F(h("li", ut, [
|
|
443
432
|
j(t.$slots, "no-options", {}, () => [
|
|
444
433
|
l[6] || (l[6] = $(" No options "))
|
|
445
434
|
], !0)
|
|
@@ -470,9 +459,8 @@ const Ze = ["id", "aria-errormessage", "aria-invalid", "disabled", "multiple", "
|
|
|
470
459
|
} : void 0
|
|
471
460
|
]), 1032, ["id", "add-bottom-space", "class", "error-text", "hint-text", "label", "show-optional-in-label", "disabled"]));
|
|
472
461
|
}
|
|
473
|
-
});
|
|
474
|
-
const Dt = /* @__PURE__ */ Qe(dt, [["__scopeId", "data-v-173b2aea"]]);
|
|
462
|
+
}), Ot = /* @__PURE__ */ Qe(dt, [["__scopeId", "data-v-173b2aea"]]);
|
|
475
463
|
export {
|
|
476
|
-
|
|
464
|
+
Ot as default
|
|
477
465
|
};
|
|
478
466
|
//# sourceMappingURL=Select.js.map
|