@ironsource/shared-ui 1.4.2-test.1 → 1.4.2-test.11
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/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/AppIcon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/CssBaseline.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/GroupOption.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Heading.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Icon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Label.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Option.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/README.md +1 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/{Skeleton.vue_vue_type_style_index_0_scoped_9837f0ce_lang.css → Skeleton.vue_vue_type_style_index_0_scoped_true_lang.css} +1 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/SortOrderIcon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/{Switch.vue_vue_type_style_index_0_scoped_08a704b0_lang.css → Switch.vue_vue_type_style_index_0_scoped_true_lang.css} +1 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
- package/_virtual/plugin-vue_export-helper.vue.js +9 -0
- package/components/appIcon/AppIcon.vue.d.ts +28 -22
- package/components/appIcon/AppIcon.vue.js +43 -6
- package/components/appIcon/index.d.ts +7 -3
- package/components/appIcon/index.vue.js +6 -0
- package/components/appTrigger/AppTrigger.vue.d.ts +33 -44
- package/components/appTrigger/AppTrigger.vue.js +185 -6
- package/components/appTrigger/index.d.ts +32 -118
- package/components/appTrigger/index.vue.js +6 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +43 -70
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +146 -6
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +32 -39
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +93 -6
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -8
- package/components/autocompleteDropdown/GroupOption.vue.js +42 -6
- package/components/autocompleteDropdown/consts.vue.js +4 -0
- package/components/autocompleteDropdown/index.d.ts +46 -164
- package/components/autocompleteDropdown/index.vue.js +6 -0
- package/components/autocompleteDropdown/useKeyboardNavigation.vue.js +79 -0
- package/components/banner/Banner.vue.d.ts +12 -11
- package/components/banner/Banner.vue.js +58 -6
- package/components/banner/index.d.ts +17 -69
- package/components/banner/index.vue.js +6 -0
- package/components/button/Button.vue.d.ts +32 -35
- package/components/button/Button.vue.js +63 -6
- package/components/button/ButtonBase.vue.d.ts +42 -59
- package/components/button/ButtonBase.vue.js +63 -0
- package/components/button/IconButton.vue.d.ts +26 -25
- package/components/button/IconButton.vue.js +51 -6
- package/components/button/ScrollButton.vue.d.ts +36 -36
- package/components/button/ScrollButton.vue.js +48 -6
- package/components/button/consts.vue.js +17 -0
- package/components/button/icon/LoaderCircleIcon.vue.d.ts +1 -1
- package/components/button/icon/LoaderCircleIcon.vue.js +19 -13
- package/components/button/icon/LoaderDotsIcon.vue.d.ts +1 -1
- package/components/button/icon/LoaderDotsIcon.vue.js +17 -11
- package/components/button/index.d.ts +53 -186
- package/components/button/index.vue.js +10 -0
- package/components/checkbox/Checkbox.vue.d.ts +34 -46
- package/components/checkbox/Checkbox.vue.js +110 -6
- package/components/checkbox/icons/checked.vue.d.ts +1 -1
- package/components/checkbox/icons/checked.vue.js +21 -14
- package/components/checkbox/icons/indeterminate.vue.d.ts +1 -1
- package/components/checkbox/icons/indeterminate.vue.js +21 -14
- package/components/checkbox/icons/unchecked.vue.d.ts +1 -1
- package/components/checkbox/icons/unchecked.vue.js +18 -12
- package/components/checkbox/index.d.ts +32 -129
- package/components/checkbox/index.vue.js +6 -0
- package/components/chip/Chip.vue.d.ts +34 -43
- package/components/chip/Chip.vue.js +63 -5
- package/components/chip/index.d.ts +29 -119
- package/components/chip/index.vue.js +6 -0
- package/components/cssBaseline/CssBaseline.vue.d.ts +1 -8
- package/components/cssBaseline/CssBaseline.vue.js +11 -9
- package/components/cssBaseline/index.d.ts +1 -47
- package/components/cssBaseline/index.vue.js +6 -0
- package/components/datePicker/DatePicker.vue.d.ts +39 -52
- package/components/datePicker/DatePicker.vue.js +125 -6
- package/components/datePicker/DatePickerMonth.vue.d.ts +35 -35
- package/components/datePicker/DatePickerMonth.vue.js +99 -6
- package/components/datePicker/index.d.ts +37 -137
- package/components/datePicker/index.vue.js +6 -0
- package/components/dateRange/CalendarMonth.vue.d.ts +53 -91
- package/components/dateRange/CalendarMonth.vue.js +318 -6
- package/components/dateRange/DateRange.vue.d.ts +79 -137
- package/components/dateRange/DateRange.vue.js +655 -5
- package/components/dateRange/DateRangePicker.vue.d.ts +75 -126
- package/components/dateRange/DateServices.vue.js +374 -0
- package/components/dateRange/{consts.js → consts.vue.js} +11 -12
- package/components/dateRange/index.d.ts +98 -297
- package/components/dateRange/index.vue.js +6 -0
- package/components/dialog/Dialog.vue.d.ts +79 -128
- package/components/dialog/Dialog.vue.js +191 -5
- package/components/dialog/Reason.vue.js +9 -0
- package/components/dialog/index.d.ts +110 -288
- package/components/dialog/index.vue.js +6 -0
- package/components/dropdown/Dropdown.vue.d.ts +172 -301
- package/components/dropdown/Dropdown.vue.js +757 -5
- package/components/dropdown/DropdownContext.vue.js +29 -0
- package/components/dropdown/Label.vue.d.ts +1 -8
- package/components/dropdown/Label.vue.js +41 -6
- package/components/dropdown/Option.vue.d.ts +43 -64
- package/components/dropdown/Option.vue.js +132 -5
- package/components/dropdown/SearchInput.vue.d.ts +1 -14
- package/components/dropdown/SearchInput.vue.js +118 -5
- package/components/dropdown/index.d.ts +266 -646
- package/components/dropdown/index.vue.js +12 -0
- package/components/emptyState/EmptyState.vue.d.ts +65 -106
- package/components/emptyState/EmptyState.vue.js +98 -6
- package/components/emptyState/EmptyStateIcon.vue.d.ts +1 -1
- package/components/emptyState/EmptyStateIcon.vue.js +25 -16
- package/components/emptyState/index.d.ts +76 -229
- package/components/emptyState/index.vue.js +6 -0
- package/components/filterDropdown/AddFilterButton.vue.d.ts +16 -26
- package/components/filterDropdown/AddFilterButton.vue.js +53 -6
- package/components/filterDropdown/FilterDropdown.vue.d.ts +35 -51
- package/components/filterDropdown/FilterDropdown.vue.js +56 -6
- package/components/filterDropdown/index.d.ts +25 -87
- package/components/filterDropdown/index.vue.js +8 -0
- package/components/filtersPanel/FilterSearchInput.vue.js +53 -5
- package/components/filtersPanel/FiltersPanel.vue.d.ts +33 -0
- package/components/filtersPanel/FiltersPanel.vue.js +56 -6
- package/components/filtersPanel/index.vue.js +14 -0
- package/components/filtersPanel/useHiddenFilter.vue.js +33 -0
- package/components/floatingToolbar/FloatingToolbar.vue.d.ts +27 -33
- package/components/floatingToolbar/FloatingToolbar.vue.js +77 -5
- package/components/floatingToolbar/index.d.ts +20 -101
- package/components/floatingToolbar/index.vue.js +6 -0
- package/components/icon/Icon.vue.d.ts +27 -25
- package/components/icon/Icon.vue.js +283 -6
- package/components/icon/icons/A.vue.d.ts +1 -1
- package/components/icon/icons/A.vue.js +21 -14
- package/components/icon/icons/A2.vue.d.ts +1 -1
- package/components/icon/icons/A2.vue.js +18 -12
- package/components/icon/icons/ABTest.vue.d.ts +1 -1
- package/components/icon/icons/ABTest.vue.js +18 -12
- package/components/icon/icons/ABTest2.vue.d.ts +1 -1
- package/components/icon/icons/ABTest2.vue.js +17 -11
- package/components/icon/icons/ACircle.vue.d.ts +1 -1
- package/components/icon/icons/ACircle.vue.js +18 -12
- package/components/icon/icons/AccountBalanceWallet.vue.d.ts +1 -1
- package/components/icon/icons/AccountBalanceWallet.vue.js +21 -14
- package/components/icon/icons/AccountCircle.vue.d.ts +1 -1
- package/components/icon/icons/AccountCircle.vue.js +18 -12
- package/components/icon/icons/AccountCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/AccountCircleOutline.vue.js +18 -12
- package/components/icon/icons/Add.vue.d.ts +1 -1
- package/components/icon/icons/Add.vue.js +18 -12
- package/components/icon/icons/Adjust.vue.d.ts +2 -0
- package/components/icon/icons/Adjust.vue.js +52 -0
- package/components/icon/icons/Analytics.vue.d.ts +1 -1
- package/components/icon/icons/Analytics.vue.js +18 -12
- package/components/icon/icons/Android.vue.d.ts +1 -1
- package/components/icon/icons/Android.vue.js +18 -12
- package/components/icon/icons/AngleDown.vue.d.ts +1 -1
- package/components/icon/icons/AngleDown.vue.js +18 -12
- package/components/icon/icons/AngleLeft.vue.d.ts +1 -1
- package/components/icon/icons/AngleLeft.vue.js +18 -12
- package/components/icon/icons/AngleRight.vue.d.ts +1 -1
- package/components/icon/icons/AngleRight.vue.js +18 -12
- package/components/icon/icons/AngleUp.vue.d.ts +1 -1
- package/components/icon/icons/AngleUp.vue.js +18 -12
- package/components/icon/icons/AppStore.vue.d.ts +1 -1
- package/components/icon/icons/AppStore.vue.js +21 -14
- package/components/icon/icons/AreaChart.vue.d.ts +1 -1
- package/components/icon/icons/AreaChart.vue.js +18 -12
- package/components/icon/icons/ArrowBack.vue.d.ts +1 -1
- package/components/icon/icons/ArrowBack.vue.js +18 -12
- package/components/icon/icons/ArrowDownward.vue.d.ts +1 -1
- package/components/icon/icons/ArrowDownward.vue.js +18 -12
- package/components/icon/icons/ArrowForward.vue.d.ts +1 -1
- package/components/icon/icons/ArrowForward.vue.js +18 -12
- package/components/icon/icons/ArrowLeft.vue.d.ts +1 -1
- package/components/icon/icons/ArrowLeft.vue.js +18 -12
- package/components/icon/icons/ArrowRight.vue.d.ts +1 -1
- package/components/icon/icons/ArrowRight.vue.js +18 -12
- package/components/icon/icons/ArrowSort-Down.vue.d.ts +1 -1
- package/components/icon/icons/ArrowSort-Down.vue.js +18 -12
- package/components/icon/icons/ArrowSort-Up.vue.d.ts +1 -1
- package/components/icon/icons/ArrowSort-Up.vue.js +18 -12
- package/components/icon/icons/ArrowUpward.vue.d.ts +1 -1
- package/components/icon/icons/ArrowUpward.vue.js +18 -12
- package/components/icon/icons/AutoAwesome.vue.d.ts +1 -1
- package/components/icon/icons/AutoAwesome.vue.js +18 -12
- package/components/icon/icons/AutoMode.vue.d.ts +1 -1
- package/components/icon/icons/AutoMode.vue.js +18 -12
- package/components/icon/icons/Autorenew.vue.d.ts +1 -1
- package/components/icon/icons/Autorenew.vue.js +18 -12
- package/components/icon/icons/B.vue.d.ts +1 -1
- package/components/icon/icons/B.vue.js +21 -14
- package/components/icon/icons/B2.vue.d.ts +1 -1
- package/components/icon/icons/B2.vue.js +18 -12
- package/components/icon/icons/BCircle.vue.d.ts +1 -1
- package/components/icon/icons/BCircle.vue.js +18 -12
- package/components/icon/icons/Banner.vue.d.ts +1 -1
- package/components/icon/icons/Banner.vue.js +21 -14
- package/components/icon/icons/Bidding.vue.d.ts +1 -1
- package/components/icon/icons/Bidding.vue.js +27 -18
- package/components/icon/icons/Bidding2.vue.d.ts +1 -1
- package/components/icon/icons/Bidding2.vue.js +27 -18
- package/components/icon/icons/Block.vue.d.ts +1 -1
- package/components/icon/icons/Block.vue.js +18 -12
- package/components/icon/icons/BorderColor.vue.d.ts +1 -1
- package/components/icon/icons/BorderColor.vue.js +18 -12
- package/components/icon/icons/Bug.vue.d.ts +1 -1
- package/components/icon/icons/Bug.vue.js +18 -12
- package/components/icon/icons/Bullhorn.vue.d.ts +1 -1
- package/components/icon/icons/Bullhorn.vue.js +18 -12
- package/components/icon/icons/BullseyeArrow.vue.d.ts +1 -1
- package/components/icon/icons/BullseyeArrow.vue.js +21 -14
- package/components/icon/icons/Cached.vue.d.ts +1 -1
- package/components/icon/icons/Cached.vue.js +18 -12
- package/components/icon/icons/Calendar.vue.d.ts +1 -1
- package/components/icon/icons/Calendar.vue.js +21 -14
- package/components/icon/icons/CalendarToday.vue.d.ts +1 -1
- package/components/icon/icons/CalendarToday.vue.js +18 -12
- package/components/icon/icons/Cancel.vue.d.ts +1 -1
- package/components/icon/icons/Cancel.vue.js +18 -12
- package/components/icon/icons/ChartBar.vue.d.ts +1 -1
- package/components/icon/icons/ChartBar.vue.js +18 -12
- package/components/icon/icons/ChartLine.vue.d.ts +1 -1
- package/components/icon/icons/ChartLine.vue.js +18 -12
- package/components/icon/icons/ChartMixed.vue.d.ts +1 -1
- package/components/icon/icons/ChartMixed.vue.js +18 -12
- package/components/icon/icons/Check.vue.d.ts +1 -1
- package/components/icon/icons/Check.vue.js +18 -12
- package/components/icon/icons/CheckBold.vue.d.ts +1 -1
- package/components/icon/icons/CheckBold.vue.js +18 -12
- package/components/icon/icons/Close.vue.d.ts +1 -1
- package/components/icon/icons/Close.vue.js +18 -12
- package/components/icon/icons/CloseBold.vue.d.ts +1 -1
- package/components/icon/icons/CloseBold.vue.js +18 -12
- package/components/icon/icons/ComputerMouse.vue.d.ts +1 -1
- package/components/icon/icons/ComputerMouse.vue.js +21 -14
- package/components/icon/icons/CopyTo-Clipboard.vue.d.ts +1 -1
- package/components/icon/icons/CopyTo-Clipboard.vue.js +18 -12
- package/components/icon/icons/CopyToClipboardFilled.vue.d.ts +2 -0
- package/components/icon/icons/CopyToClipboardFilled.vue.js +24 -0
- package/components/icon/icons/Create.vue.d.ts +1 -1
- package/components/icon/icons/Create.vue.js +18 -12
- package/components/icon/icons/Creative.vue.d.ts +1 -1
- package/components/icon/icons/Creative.vue.js +18 -12
- package/components/icon/icons/Cross.vue.d.ts +1 -1
- package/components/icon/icons/Cross.vue.js +18 -12
- package/components/icon/icons/CrownFill.vue.d.ts +1 -1
- package/components/icon/icons/CrownFill.vue.js +18 -12
- package/components/icon/icons/Cube.vue.d.ts +2 -0
- package/components/icon/icons/Cube.vue.js +27 -0
- package/components/icon/icons/CubeBackground.vue.d.ts +2 -0
- package/components/icon/icons/CubeBackground.vue.js +34 -0
- package/components/icon/icons/Cup.vue.d.ts +1 -1
- package/components/icon/icons/Cup.vue.js +18 -12
- package/components/icon/icons/CupA.vue.d.ts +1 -1
- package/components/icon/icons/CupA.vue.js +17 -11
- package/components/icon/icons/CupB.vue.d.ts +1 -1
- package/components/icon/icons/CupB.vue.js +17 -11
- package/components/icon/icons/Delete.vue.d.ts +1 -1
- package/components/icon/icons/Delete.vue.js +18 -12
- package/components/icon/icons/Diamond.vue.d.ts +1 -1
- package/components/icon/icons/Diamond.vue.js +18 -12
- package/components/icon/icons/Dots.vue.d.ts +1 -1
- package/components/icon/icons/Dots.vue.js +18 -12
- package/components/icon/icons/Download.vue.d.ts +1 -1
- package/components/icon/icons/Download.vue.js +18 -12
- package/components/icon/icons/Download2.vue.d.ts +1 -1
- package/components/icon/icons/Download2.vue.js +21 -14
- package/components/icon/icons/DownloadDone.vue.d.ts +1 -1
- package/components/icon/icons/DownloadDone.vue.js +18 -12
- package/components/icon/icons/DragIndicator.vue.d.ts +1 -1
- package/components/icon/icons/DragIndicator.vue.js +18 -12
- package/components/icon/icons/Ecpi.vue.d.ts +1 -1
- package/components/icon/icons/Ecpi.vue.js +24 -16
- package/components/icon/icons/Email.vue.d.ts +1 -1
- package/components/icon/icons/Email.vue.js +18 -12
- package/components/icon/icons/EmailEnvelope.vue.d.ts +1 -1
- package/components/icon/icons/EmailEnvelope.vue.js +18 -12
- package/components/icon/icons/Error.vue.d.ts +1 -1
- package/components/icon/icons/Error.vue.js +18 -12
- package/components/icon/icons/Eye.vue.d.ts +1 -1
- package/components/icon/icons/Eye.vue.js +22 -15
- package/components/icon/icons/FavoriteBorder.vue.d.ts +1 -1
- package/components/icon/icons/FavoriteBorder.vue.js +18 -12
- package/components/icon/icons/Filter.vue.d.ts +1 -1
- package/components/icon/icons/Filter.vue.js +18 -12
- package/components/icon/icons/FilterList.vue.d.ts +1 -1
- package/components/icon/icons/FilterList.vue.js +18 -12
- package/components/icon/icons/Frame.vue.d.ts +1 -1
- package/components/icon/icons/Frame.vue.js +18 -12
- package/components/icon/icons/Fullscreen.vue.d.ts +1 -1
- package/components/icon/icons/Fullscreen.vue.js +18 -12
- package/components/icon/icons/FullscreenExit.vue.d.ts +1 -1
- package/components/icon/icons/FullscreenExit.vue.js +18 -12
- package/components/icon/icons/Functions.vue.d.ts +1 -1
- package/components/icon/icons/Functions.vue.js +18 -12
- package/components/icon/icons/GamepadAlt.vue.d.ts +1 -1
- package/components/icon/icons/GamepadAlt.vue.js +18 -12
- package/components/icon/icons/Games.vue.d.ts +1 -1
- package/components/icon/icons/Games.vue.js +18 -12
- package/components/icon/icons/Gavel.vue.d.ts +1 -1
- package/components/icon/icons/Gavel.vue.js +18 -12
- package/components/icon/icons/Gift.vue.d.ts +1 -1
- package/components/icon/icons/Gift.vue.js +18 -12
- package/components/icon/icons/GitHub.vue.d.ts +1 -1
- package/components/icon/icons/GitHub.vue.js +18 -12
- package/components/icon/icons/GlobeStand.vue.d.ts +1 -1
- package/components/icon/icons/GlobeStand.vue.js +18 -12
- package/components/icon/icons/GooglePlay.vue.d.ts +1 -1
- package/components/icon/icons/GooglePlay.vue.js +18 -12
- package/components/icon/icons/Group.vue.d.ts +1 -1
- package/components/icon/icons/Group.vue.js +18 -12
- package/components/icon/icons/HandPointer.vue.d.ts +1 -1
- package/components/icon/icons/HandPointer.vue.js +22 -15
- package/components/icon/icons/Hands.vue.d.ts +1 -1
- package/components/icon/icons/Hands.vue.js +18 -12
- package/components/icon/icons/Heartbeat.vue.d.ts +1 -1
- package/components/icon/icons/Heartbeat.vue.js +18 -12
- package/components/icon/icons/Help.vue.d.ts +1 -1
- package/components/icon/icons/Help.vue.js +18 -12
- package/components/icon/icons/HelpOutline.vue.d.ts +1 -1
- package/components/icon/icons/HelpOutline.vue.js +18 -12
- package/components/icon/icons/History.vue.d.ts +1 -1
- package/components/icon/icons/History.vue.js +18 -12
- package/components/icon/icons/IOS.vue.d.ts +1 -1
- package/components/icon/icons/IOS.vue.js +18 -12
- package/components/icon/icons/Image.vue.d.ts +1 -1
- package/components/icon/icons/Image.vue.js +18 -12
- package/components/icon/icons/ImageNotSupported.vue.d.ts +1 -1
- package/components/icon/icons/ImageNotSupported.vue.js +21 -14
- package/components/icon/icons/ImageSlash.vue.d.ts +1 -1
- package/components/icon/icons/ImageSlash.vue.js +18 -12
- package/components/icon/icons/ImportExport.vue.d.ts +1 -1
- package/components/icon/icons/ImportExport.vue.js +18 -12
- package/components/icon/icons/ImportExport2.vue.d.ts +1 -1
- package/components/icon/icons/ImportExport2.vue.js +18 -12
- package/components/icon/icons/Importent.vue.d.ts +1 -1
- package/components/icon/icons/Importent.vue.js +18 -12
- package/components/icon/icons/Info.vue.d.ts +1 -1
- package/components/icon/icons/Info.vue.js +18 -12
- package/components/icon/icons/InfoOutline.vue.d.ts +1 -1
- package/components/icon/icons/InfoOutline.vue.js +18 -12
- package/components/icon/icons/Insights.vue.d.ts +1 -1
- package/components/icon/icons/Insights.vue.js +18 -12
- package/components/icon/icons/Interstitial.vue.d.ts +1 -1
- package/components/icon/icons/Interstitial.vue.js +21 -14
- package/components/icon/icons/Ios14.vue.d.ts +1 -1
- package/components/icon/icons/Ios14.vue.js +18 -12
- package/components/icon/icons/Js.vue.d.ts +1 -1
- package/components/icon/icons/Js.vue.js +18 -12
- package/components/icon/icons/Landscape.vue.d.ts +1 -1
- package/components/icon/icons/Landscape.vue.js +18 -12
- package/components/icon/icons/Launch.vue.d.ts +1 -1
- package/components/icon/icons/Launch.vue.js +18 -12
- package/components/icon/icons/Levelplay.vue.d.ts +1 -1
- package/components/icon/icons/Levelplay.vue.js +23 -16
- package/components/icon/icons/LimitCircle.vue.d.ts +1 -1
- package/components/icon/icons/LimitCircle.vue.js +21 -14
- package/components/icon/icons/LimitOctagon.vue.d.ts +1 -1
- package/components/icon/icons/LimitOctagon.vue.js +21 -14
- package/components/icon/icons/Link.vue.d.ts +1 -1
- package/components/icon/icons/Link.vue.js +18 -12
- package/components/icon/icons/LoadingClean.vue.d.ts +1 -1
- package/components/icon/icons/LoadingClean.vue.js +18 -12
- package/components/icon/icons/Lock.vue.d.ts +1 -1
- package/components/icon/icons/Lock.vue.js +18 -12
- package/components/icon/icons/LockOpen.vue.d.ts +1 -1
- package/components/icon/icons/LockOpen.vue.js +18 -12
- package/components/icon/icons/Login.vue.d.ts +1 -1
- package/components/icon/icons/Login.vue.js +18 -12
- package/components/icon/icons/Logout.vue.d.ts +1 -1
- package/components/icon/icons/Logout.vue.js +18 -12
- package/components/icon/icons/Marketing.vue.d.ts +2 -0
- package/components/icon/icons/Marketing.vue.js +30 -0
- package/components/icon/icons/MilitaryTech.vue.d.ts +1 -1
- package/components/icon/icons/MilitaryTech.vue.js +18 -12
- package/components/icon/icons/Mix.vue.d.ts +1 -1
- package/components/icon/icons/Mix.vue.js +18 -12
- package/components/icon/icons/Mix2.vue.d.ts +1 -1
- package/components/icon/icons/Mix2.vue.js +21 -14
- package/components/icon/icons/MobileLandscape.vue.d.ts +1 -1
- package/components/icon/icons/MobileLandscape.vue.js +18 -12
- package/components/icon/icons/MobilePortrait.vue.d.ts +1 -1
- package/components/icon/icons/MobilePortrait.vue.js +18 -12
- package/components/icon/icons/MoneyCheck.vue.d.ts +1 -1
- package/components/icon/icons/MoneyCheck.vue.js +22 -15
- package/components/icon/icons/MoreHoriz.vue.d.ts +1 -1
- package/components/icon/icons/MoreHoriz.vue.js +18 -12
- package/components/icon/icons/MoreVert.vue.d.ts +1 -1
- package/components/icon/icons/MoreVert.vue.js +18 -12
- package/components/icon/icons/Mouse.vue.d.ts +1 -1
- package/components/icon/icons/Mouse.vue.js +18 -12
- package/components/icon/icons/MousePointer.vue.d.ts +1 -1
- package/components/icon/icons/MousePointer.vue.js +18 -12
- package/components/icon/icons/MovingUp.vue.d.ts +1 -1
- package/components/icon/icons/MovingUp.vue.js +18 -12
- package/components/icon/icons/NativeAd.vue.d.ts +1 -1
- package/components/icon/icons/NativeAd.vue.js +17 -11
- package/components/icon/icons/NotificationsNone.vue.d.ts +1 -1
- package/components/icon/icons/NotificationsNone.vue.js +18 -12
- package/components/icon/icons/Offerwall.vue.d.ts +1 -1
- package/components/icon/icons/Offerwall.vue.js +21 -14
- package/components/icon/icons/Palyable.vue.d.ts +1 -1
- package/components/icon/icons/Palyable.vue.js +18 -12
- package/components/icon/icons/PaperPlane-Off.vue.d.ts +1 -1
- package/components/icon/icons/PaperPlane-Off.vue.js +18 -12
- package/components/icon/icons/PaperPlane.vue.d.ts +1 -1
- package/components/icon/icons/PaperPlane.vue.js +18 -12
- package/components/icon/icons/Pause.vue.d.ts +1 -1
- package/components/icon/icons/Pause.vue.js +18 -12
- package/components/icon/icons/PauseCircleFilled.vue.d.ts +1 -1
- package/components/icon/icons/PauseCircleFilled.vue.js +18 -12
- package/components/icon/icons/PauseCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/PauseCircleOutline.vue.js +18 -12
- package/components/icon/icons/PhoneIphone.vue.d.ts +1 -1
- package/components/icon/icons/PhoneIphone.vue.js +18 -12
- package/components/icon/icons/Photo.vue.d.ts +1 -1
- package/components/icon/icons/Photo.vue.js +21 -14
- package/components/icon/icons/Photo2.vue.d.ts +1 -1
- package/components/icon/icons/Photo2.vue.js +18 -12
- package/components/icon/icons/PlayArrow.vue.d.ts +1 -1
- package/components/icon/icons/PlayArrow.vue.js +18 -12
- package/components/icon/icons/PlayCircleFilledWhite.vue.d.ts +1 -1
- package/components/icon/icons/PlayCircleFilledWhite.vue.js +18 -12
- package/components/icon/icons/PlayCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/PlayCircleOutline.vue.js +18 -12
- package/components/icon/icons/Qrcode.vue.d.ts +1 -1
- package/components/icon/icons/Qrcode.vue.js +18 -12
- package/components/icon/icons/QuickAB.vue.d.ts +1 -1
- package/components/icon/icons/QuickAB.vue.js +17 -11
- package/components/icon/icons/QuickAB2.vue.d.ts +1 -1
- package/components/icon/icons/QuickAB2.vue.js +17 -11
- package/components/icon/icons/React.vue.d.ts +1 -1
- package/components/icon/icons/React.vue.js +18 -12
- package/components/icon/icons/Redo.vue.d.ts +1 -1
- package/components/icon/icons/Redo.vue.js +18 -12
- package/components/icon/icons/Refresh.vue.d.ts +1 -1
- package/components/icon/icons/Refresh.vue.js +18 -12
- package/components/icon/icons/Remove.vue.d.ts +1 -1
- package/components/icon/icons/Remove.vue.js +18 -12
- package/components/icon/icons/Replay.vue.d.ts +1 -1
- package/components/icon/icons/Replay.vue.js +18 -12
- package/components/icon/icons/RewardedVideo.vue.d.ts +1 -1
- package/components/icon/icons/RewardedVideo.vue.js +21 -14
- package/components/icon/icons/RocketLaunch.vue.d.ts +1 -1
- package/components/icon/icons/RocketLaunch.vue.js +18 -12
- package/components/icon/icons/Rotate.vue.d.ts +1 -1
- package/components/icon/icons/Rotate.vue.js +18 -12
- package/components/icon/icons/Route.vue.d.ts +1 -1
- package/components/icon/icons/Route.vue.js +18 -12
- package/components/icon/icons/SackDollar.vue.d.ts +1 -1
- package/components/icon/icons/SackDollar.vue.js +21 -14
- package/components/icon/icons/Schedule.vue.d.ts +1 -1
- package/components/icon/icons/Schedule.vue.js +18 -12
- package/components/icon/icons/Search.vue.d.ts +1 -1
- package/components/icon/icons/Search.vue.js +18 -12
- package/components/icon/icons/SearchBold.vue.d.ts +1 -1
- package/components/icon/icons/SearchBold.vue.js +18 -12
- package/components/icon/icons/Share.vue.d.ts +1 -1
- package/components/icon/icons/Share.vue.js +18 -12
- package/components/icon/icons/Slack.vue.d.ts +1 -1
- package/components/icon/icons/Slack.vue.js +18 -12
- package/components/icon/icons/SportsEsports.vue.d.ts +1 -1
- package/components/icon/icons/SportsEsports.vue.js +18 -12
- package/components/icon/icons/Star.vue.d.ts +1 -1
- package/components/icon/icons/Star.vue.js +18 -12
- package/components/icon/icons/StarFill.vue.d.ts +1 -1
- package/components/icon/icons/StarFill.vue.js +18 -12
- package/components/icon/icons/StatusBanner.vue.d.ts +1 -1
- package/components/icon/icons/StatusBanner.vue.js +21 -14
- package/components/icon/icons/StatusInterstitial.vue.d.ts +1 -1
- package/components/icon/icons/StatusInterstitial.vue.js +21 -14
- package/components/icon/icons/StatusNativeAd.vue.d.ts +1 -1
- package/components/icon/icons/StatusNativeAd.vue.js +17 -11
- package/components/icon/icons/StatusOfferwall.vue.d.ts +1 -1
- package/components/icon/icons/StatusOfferwall.vue.js +21 -14
- package/components/icon/icons/StatusRewardedVideo.vue.d.ts +1 -1
- package/components/icon/icons/StatusRewardedVideo.vue.js +21 -14
- package/components/icon/icons/StopCircleFilled.vue.d.ts +1 -1
- package/components/icon/icons/StopCircleFilled.vue.js +18 -12
- package/components/icon/icons/StopCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/StopCircleOutline.vue.js +18 -12
- package/components/icon/icons/Style.vue.d.ts +1 -1
- package/components/icon/icons/Style.vue.js +21 -14
- package/components/icon/icons/Success.vue.d.ts +1 -1
- package/components/icon/icons/Success.vue.js +18 -12
- package/components/icon/icons/SuccessFull.vue.d.ts +1 -1
- package/components/icon/icons/SuccessFull.vue.js +18 -12
- package/components/icon/icons/Switch.vue.d.ts +1 -1
- package/components/icon/icons/Switch.vue.js +18 -12
- package/components/icon/icons/TableEdit.vue.d.ts +2 -0
- package/components/icon/icons/TableEdit.vue.js +24 -0
- package/components/icon/icons/TabletLandscape.vue.d.ts +1 -1
- package/components/icon/icons/TabletLandscape.vue.js +18 -12
- package/components/icon/icons/TabletMac.vue.d.ts +1 -1
- package/components/icon/icons/TabletMac.vue.js +18 -12
- package/components/icon/icons/TabletPortrait.vue.d.ts +1 -1
- package/components/icon/icons/TabletPortrait.vue.js +18 -12
- package/components/icon/icons/Texture.vue.d.ts +1 -1
- package/components/icon/icons/Texture.vue.js +18 -12
- package/components/icon/icons/ThemeDark.vue.d.ts +1 -1
- package/components/icon/icons/ThemeDark.vue.js +18 -12
- package/components/icon/icons/ThemeLight.vue.d.ts +1 -1
- package/components/icon/icons/ThemeLight.vue.js +18 -12
- package/components/icon/icons/Timelapse.vue.d.ts +1 -1
- package/components/icon/icons/Timelapse.vue.js +18 -12
- package/components/icon/icons/Timeline.vue.d.ts +1 -1
- package/components/icon/icons/Timeline.vue.js +18 -12
- package/components/icon/icons/TrendingDown.vue.d.ts +1 -1
- package/components/icon/icons/TrendingDown.vue.js +18 -12
- package/components/icon/icons/TrendingFlat.vue.d.ts +1 -1
- package/components/icon/icons/TrendingFlat.vue.js +18 -12
- package/components/icon/icons/TrendingUp.vue.d.ts +1 -1
- package/components/icon/icons/TrendingUp.vue.js +18 -12
- package/components/icon/icons/Tune.vue.d.ts +1 -1
- package/components/icon/icons/Tune.vue.js +18 -12
- package/components/icon/icons/TwoToneBanner.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneBanner.vue.js +21 -14
- package/components/icon/icons/TwoToneInterstitial.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneInterstitial.vue.js +21 -14
- package/components/icon/icons/TwoToneNativeAd.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneNativeAd.vue.js +17 -11
- package/components/icon/icons/TwoToneOfferwall.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneOfferwall.vue.js +21 -14
- package/components/icon/icons/TwoToneRewardedVideo.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneRewardedVideo.vue.js +24 -16
- package/components/icon/icons/Undo.vue.d.ts +1 -1
- package/components/icon/icons/Undo.vue.js +18 -12
- package/components/icon/icons/UnfoldLess.vue.d.ts +1 -1
- package/components/icon/icons/UnfoldLess.vue.js +18 -12
- package/components/icon/icons/UnfoldMore.vue.d.ts +1 -1
- package/components/icon/icons/UnfoldMore.vue.js +18 -12
- package/components/icon/icons/VerticalAlignTop.vue.d.ts +1 -1
- package/components/icon/icons/VerticalAlignTop.vue.js +18 -12
- package/components/icon/icons/VerticalAlignTop2.vue.d.ts +1 -1
- package/components/icon/icons/VerticalAlignTop2.vue.js +18 -12
- package/components/icon/icons/Vibration.vue.d.ts +1 -1
- package/components/icon/icons/Vibration.vue.js +18 -12
- package/components/icon/icons/VideoRound.vue.d.ts +1 -1
- package/components/icon/icons/VideoRound.vue.js +18 -12
- package/components/icon/icons/ViewCarousel.vue.d.ts +1 -1
- package/components/icon/icons/ViewCarousel.vue.js +18 -12
- package/components/icon/icons/Visibility.vue.d.ts +1 -1
- package/components/icon/icons/Visibility.vue.js +18 -12
- package/components/icon/icons/VisibilityOff.vue.d.ts +1 -1
- package/components/icon/icons/VisibilityOff.vue.js +18 -12
- package/components/icon/icons/VisibilityOffStrok.vue.d.ts +1 -1
- package/components/icon/icons/VisibilityOffStrok.vue.js +18 -12
- package/components/icon/icons/VisibilityStrok.vue.d.ts +1 -1
- package/components/icon/icons/VisibilityStrok.vue.js +18 -12
- package/components/icon/icons/VolumeOff.vue.d.ts +1 -1
- package/components/icon/icons/VolumeOff.vue.js +18 -12
- package/components/icon/icons/VolumeUp.vue.d.ts +1 -1
- package/components/icon/icons/VolumeUp.vue.js +18 -12
- package/components/icon/icons/Warning.vue.d.ts +1 -1
- package/components/icon/icons/Warning.vue.js +18 -12
- package/components/icon/icons/Warning2.vue.d.ts +1 -1
- package/components/icon/icons/Warning2.vue.js +18 -12
- package/components/icon/icons/WebApp.vue.d.ts +1 -1
- package/components/icon/icons/WebApp.vue.js +18 -12
- package/components/icon/icons/Widget.vue.d.ts +1 -1
- package/components/icon/icons/Widget.vue.js +18 -13
- package/components/icon/icons/Widgets.vue.d.ts +1 -1
- package/components/icon/icons/Widgets.vue.js +18 -12
- package/components/icon/icons/WidgetsFill.vue.d.ts +1 -1
- package/components/icon/icons/WidgetsFill.vue.js +18 -12
- package/components/icon/icons/WidgetsFlatSquares.vue.d.ts +2 -0
- package/components/icon/icons/WidgetsFlatSquares.vue.js +58 -0
- package/components/icon/icons/Widgetsz.vue.d.ts +1 -1
- package/components/icon/icons/Widgetsz.vue.js +21 -14
- package/components/icon/icons/WifiProtectedSetup.vue.d.ts +1 -1
- package/components/icon/icons/WifiProtectedSetup.vue.js +18 -12
- package/components/icon/icons/index.d.ts +21 -0
- package/components/icon/icons/{index.js → index.vue.js} +24 -4
- package/components/icon/index.d.ts +37 -82
- package/components/icon/index.vue.js +8 -0
- package/components/icon/storyComponents/Code.vue.d.ts +13 -10
- package/components/icon/storyComponents/IconWrapper.vue.d.ts +13 -10
- package/components/icon/storyComponents/Page.vue.d.ts +13 -10
- package/components/includeExclude/IncludeExclude.vue.d.ts +103 -178
- package/components/includeExclude/IncludeExclude.vue.js +617 -5
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +74 -124
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +120 -6
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +29 -38
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +173 -6
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +94 -174
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +155 -6
- package/components/includeExclude/IncludeExcludeContext.vue.js +19 -0
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +39 -57
- package/components/includeExclude/IncludeExcludeOption.vue.js +134 -5
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +43 -0
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +122 -0
- package/components/includeExclude/includeExcludeMocks.d.ts +12 -0
- package/components/includeExclude/index.d.ts +386 -970
- package/components/includeExclude/index.vue.js +23 -0
- package/components/input/DollarInput.vue.d.ts +12 -225
- package/components/input/DollarInput.vue.js +37 -6
- package/components/input/Input.vue.d.ts +85 -141
- package/components/input/Input.vue.js +232 -5
- package/components/input/PasswordInput.vue.d.ts +12 -225
- package/components/input/PasswordInput.vue.js +41 -6
- package/components/input/PercentageInput.vue.d.ts +12 -231
- package/components/input/PercentageInput.vue.js +37 -6
- package/components/input/index.d.ts +129 -316
- package/components/input/index.vue.js +12 -0
- package/components/menu/Menu.vue.d.ts +37 -49
- package/components/menu/Menu.vue.js +73 -6
- package/components/menu/index.d.ts +35 -126
- package/components/menu/index.vue.js +6 -0
- package/components/menuItem/MenuItem.vue.d.ts +1 -10
- package/components/menuItem/MenuItem.vue.js +25 -20
- package/components/menuItem/index.d.ts +1 -49
- package/components/menuItem/index.vue.js +6 -0
- package/components/popover/Popover.vue.d.ts +44 -68
- package/components/popover/Popover.vue.js +29 -26
- package/components/popover/index.d.ts +48 -157
- package/components/popover/index.vue.js +6 -0
- package/components/radioButton/RadioButton.vue.d.ts +37 -50
- package/components/radioButton/RadioButton.vue.js +84 -6
- package/components/radioButton/RadioGroup.vue.d.ts +33 -40
- package/components/radioButton/RadioGroup.vue.js +56 -6
- package/components/radioButton/index.d.ts +59 -251
- package/components/radioButton/index.vue.js +8 -0
- package/components/radioButton/useRadio.vue.js +39 -0
- package/components/search/Search.vue.d.ts +38 -46
- package/components/search/Search.vue.js +91 -6
- package/components/search/index.d.ts +17 -11
- package/components/search/index.vue.js +6 -0
- package/components/skeleton/Skeleton.vue.d.ts +14 -20
- package/components/skeleton/Skeleton.vue.js +23 -6
- package/components/skeleton/index.d.ts +8 -68
- package/components/skeleton/index.vue.js +6 -0
- package/components/snackbar/Snackbar.vue.d.ts +59 -126
- package/components/snackbar/Snackbar.vue.js +181 -6
- package/components/snackbar/index.vue.js +5 -0
- package/components/snackbar/notify.vue.js +106 -0
- package/components/snackbar/snackbar.types.vue.js +6 -0
- package/components/switch/Switch.vue.d.ts +26 -36
- package/components/switch/Switch.vue.js +79 -6
- package/components/switch/index.d.ts +18 -101
- package/components/switch/index.vue.js +6 -0
- package/components/table/Pagination.vue.d.ts +43 -0
- package/components/table/SortOrderIcon.vue.d.ts +1 -1
- package/components/table/SortOrderIcon.vue.js +19 -12
- package/components/table/Table.types.d.ts +1 -0
- package/components/table/Table.vue.d.ts +77 -130
- package/components/table/Table.vue.js +342 -6
- package/components/table/TableContext.vue.js +19 -0
- package/components/table/TableHeaderSorter.vue.d.ts +13 -10
- package/components/table/TableHeaderSorter.vue.js +29 -6
- package/components/table/index.d.ts +111 -297
- package/components/table/index.vue.js +8 -0
- package/components/table-cells/Editable.vue.d.ts +37 -57
- package/components/table-cells/Editable.vue.js +88 -5
- package/components/table-cells/EditableContext.vue.js +10 -0
- package/components/table-cells/index.d.ts +36 -135
- package/components/table-cells/index.vue.js +8 -0
- package/components/tabs/Tabs.vue.d.ts +48 -52
- package/components/tabs/Tabs.vue.js +123 -5
- package/components/tabs/index.d.ts +36 -155
- package/components/tabs/index.vue.js +6 -0
- package/components/textArea/TextArea.vue.d.ts +45 -53
- package/components/textArea/TextArea.vue.js +65 -5
- package/components/textArea/index.d.ts +21 -9
- package/components/textArea/index.vue.js +6 -0
- package/components/toggle/Toggle.vue.d.ts +52 -61
- package/components/toggle/Toggle.vue.js +94 -6
- package/components/toggle/index.d.ts +32 -9
- package/components/toggle/index.vue.js +6 -0
- package/components/tooltip/TextWithTitleContent.vue.d.ts +15 -18
- package/components/tooltip/TextWithTitleContent.vue.js +48 -0
- package/components/tooltip/Tooltip.vue.d.ts +52 -80
- package/components/tooltip/Tooltip.vue.js +80 -62
- package/components/tooltip/index.d.ts +55 -172
- package/components/tooltip/index.vue.js +6 -0
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +12 -16
- package/components/typography/Heading.vue.d.ts +23 -22
- package/components/typography/Heading.vue.js +33 -6
- package/components/typography/Text.vue.d.ts +25 -28
- package/components/typography/Text.vue.js +28 -6
- package/components/typography/index.d.ts +29 -163
- package/components/typography/index.vue.js +8 -0
- package/composables/useId.vue.js +15 -0
- package/composables/useIsFocusVisible.vue.js +34 -0
- package/composables/useSearch.vue.js +18 -0
- package/composables/useToggle.vue.js +27 -0
- package/consts/{colors.js → colors.vue.js} +3 -4
- package/index.vue.js +94 -0
- package/package.json +10 -11
- package/utils/array.d.ts +1 -0
- package/utils/array.vue.js +13 -0
- package/utils/object.d.ts +1 -0
- package/utils/object.vue.js +10 -0
- package/AddFilterButton.vue_vue_type_style_index_0_scoped_043fe0a5_lang.css +0 -1
- package/AppIcon.vue_vue_type_style_index_0_scoped_a1f19170_lang.css +0 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_62f99150_lang.css +0 -1
- package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_562d4ada_lang.css +0 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_171b1615_lang.css +0 -1
- package/Banner.vue_vue_type_style_index_0_scoped_ded86a03_lang.css +0 -1
- package/Button.vue_vue_type_style_index_0_scoped_9c27c5d9_lang.css +0 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_7211e733_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_9955a6c5_lang.css +0 -1
- package/Checkbox.vue_vue_type_style_index_0_scoped_af8ff01f_lang.css +0 -1
- package/Chip.vue_vue_type_style_index_0_scoped_29659885_lang.css +0 -1
- package/CssBaseline.vue_vue_type_style_index_0_scoped_f7dd256b_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_29707fb4_lang.css +0 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_801629e0_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_308d4d8d_lang.css +0 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_0838c16a_lang.css +0 -1
- package/DollarInput.vue_vue_type_style_index_0_scoped_a2ce7d64_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_c681a7ca_lang.css +0 -1
- package/Editable.vue_vue_type_style_index_0_scoped_e6ea7f1f_lang.css +0 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_e4967c65_lang.css +0 -1
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_f4915249_lang.css +0 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_7da7d5c2_lang.css +0 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_c76fd143_lang.css +0 -1
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_c80b7e48_lang.css +0 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_6c41c10a_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_7ca2cd83_lang.css +0 -1
- package/Heading.vue_vue_type_style_index_0_scoped_a4d2562f_lang.css +0 -1
- package/Icon.vue_vue_type_style_index_0_scoped_77c04518_lang.css +0 -1
- package/IconButton.vue_vue_type_style_index_0_scoped_c30a9bf2_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_75bb64e7_lang.css +0 -1
- package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_def8cb54_lang.css +0 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_a59d5600_lang.css +0 -1
- package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_9ec02e0e_lang.css +0 -1
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_86841ad7_lang.css +0 -1
- package/Input.vue_vue_type_style_index_0_scoped_b49b2b32_lang.css +0 -1
- package/Label.vue_vue_type_style_index_0_scoped_04058f87_lang.css +0 -1
- package/Menu.vue_vue_type_style_index_0_scoped_cc6708b3_lang.css +0 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_c7e837fa_lang.css +0 -1
- package/Option.vue_vue_type_style_index_0_scoped_7b8e16fd_lang.css +0 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_5a43fdb1_lang.css +0 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_7bc4eae1_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_16aa7579_lang.css +0 -1
- package/RadioGroup.vue_vue_type_style_index_0_scoped_19f1030d_lang.css +0 -1
- package/ScrollButton.vue_vue_type_style_index_0_scoped_ed37b64b_lang.css +0 -1
- package/Search.vue_vue_type_style_index_0_scoped_558677ae_lang.css +0 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_b52011c8_lang.css +0 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_e5d8edd0_lang.css +0 -1
- package/SortOrderIcon.vue_vue_type_style_index_0_scoped_eaa4d6ee_lang.css +0 -1
- package/Table.vue_vue_type_style_index_0_scoped_365ff6b7_lang.css +0 -1
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css +0 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_b71d8f96_lang.css +0 -1
- package/Text.vue_vue_type_style_index_0_scoped_a5537754_lang.css +0 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_835f09fa_lang.css +0 -1
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_ec87caf8_lang.css +0 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_d26e6831_lang.css +0 -1
- package/_virtual/_plugin-vue_export-helper.js +0 -9
- package/_virtual/dynamic-import-helper.js +0 -9
- package/components/appIcon/AppIcon.vue2.js +0 -35
- package/components/appIcon/index.js +0 -6
- package/components/appTrigger/AppTrigger.vue2.js +0 -107
- package/components/appTrigger/index.js +0 -6
- package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +0 -115
- package/components/autocompleteDropdown/AutocompleteInput.vue2.js +0 -74
- package/components/autocompleteDropdown/GroupOption.vue2.js +0 -34
- package/components/autocompleteDropdown/consts.js +0 -5
- package/components/autocompleteDropdown/index.js +0 -6
- package/components/autocompleteDropdown/useKeyboardNavigation.js +0 -52
- package/components/banner/Banner.vue2.js +0 -38
- package/components/banner/index.js +0 -6
- package/components/button/Button.vue2.js +0 -57
- package/components/button/ButtonBase.vue2.js +0 -6
- package/components/button/ButtonBase.vue3.js +0 -53
- package/components/button/IconButton.vue2.js +0 -45
- package/components/button/ScrollButton.vue2.js +0 -43
- package/components/button/consts.js +0 -18
- package/components/button/index.js +0 -10
- package/components/checkbox/Checkbox.vue2.js +0 -85
- package/components/checkbox/index.js +0 -6
- package/components/chip/Chip.vue2.js +0 -54
- package/components/chip/index.js +0 -6
- package/components/cssBaseline/index.js +0 -6
- package/components/datePicker/DatePicker.vue2.js +0 -92
- package/components/datePicker/DatePickerMonth.vue2.js +0 -85
- package/components/datePicker/index.js +0 -6
- package/components/dateRange/CalendarMonth.vue2.js +0 -225
- package/components/dateRange/DateRange.vue2.js +0 -403
- package/components/dateRange/DateServices.js +0 -245
- package/components/dateRange/index.js +0 -6
- package/components/dialog/Dialog.vue2.js +0 -165
- package/components/dialog/Reason.js +0 -4
- package/components/dialog/index.js +0 -6
- package/components/dropdown/Dropdown.vue2.js +0 -568
- package/components/dropdown/DropdownContext.js +0 -21
- package/components/dropdown/Label.vue2.js +0 -35
- package/components/dropdown/Option.vue2.js +0 -101
- package/components/dropdown/SearchInput.vue2.js +0 -80
- package/components/dropdown/index.js +0 -12
- package/components/emptyState/EmptyState.vue2.js +0 -89
- package/components/emptyState/index.js +0 -6
- package/components/filterDropdown/AddFilterButton.vue2.js +0 -48
- package/components/filterDropdown/FilterDropdown.vue2.js +0 -43
- package/components/filterDropdown/index.js +0 -8
- package/components/filtersPanel/FilterSearchInput.vue2.js +0 -45
- package/components/filtersPanel/FiltersPanel.vue2.js +0 -37
- package/components/filtersPanel/index.js +0 -14
- package/components/filtersPanel/useHiddenFilter.js +0 -20
- package/components/floatingToolbar/FloatingToolbar.vue2.js +0 -68
- package/components/floatingToolbar/index.js +0 -6
- package/components/icon/Icon.vue2.js +0 -38
- package/components/icon/index.js +0 -8
- package/components/includeExclude/IncludeExclude.vue2.js +0 -414
- package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +0 -112
- package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +0 -106
- package/components/includeExclude/IncludeExcludeChipFilter.vue2.js +0 -145
- package/components/includeExclude/IncludeExcludeContext.js +0 -18
- package/components/includeExclude/IncludeExcludeOption.vue2.js +0 -114
- package/components/includeExclude/index.js +0 -20
- package/components/input/DollarInput.vue2.js +0 -31
- package/components/input/Input.vue2.js +0 -195
- package/components/input/PasswordInput.vue2.js +0 -33
- package/components/input/PercentageInput.vue2.js +0 -31
- package/components/input/index.js +0 -12
- package/components/menu/Menu.vue2.js +0 -60
- package/components/menu/index.js +0 -6
- package/components/menuItem/index.js +0 -6
- package/components/popover/Popover.vue3.js +0 -4
- package/components/popover/index.js +0 -6
- package/components/radioButton/RadioButton.vue2.js +0 -75
- package/components/radioButton/RadioGroup.vue2.js +0 -41
- package/components/radioButton/index.js +0 -8
- package/components/radioButton/useRadio.js +0 -24
- package/components/search/Search.vue2.js +0 -53
- package/components/search/index.js +0 -6
- package/components/skeleton/Skeleton.vue2.js +0 -18
- package/components/skeleton/index.js +0 -6
- package/components/snackbar/Snackbar.vue2.js +0 -149
- package/components/snackbar/index.js +0 -6
- package/components/snackbar/notify.js +0 -84
- package/components/snackbar/snackbar.types.js +0 -7
- package/components/switch/Switch.vue2.js +0 -62
- package/components/switch/index.js +0 -6
- package/components/table/Table.vue2.js +0 -261
- package/components/table/TableContext.js +0 -18
- package/components/table/TableHeaderSorter.vue2.js +0 -23
- package/components/table/index.js +0 -8
- package/components/table-cells/Editable.vue2.js +0 -66
- package/components/table-cells/EditableContext.js +0 -11
- package/components/table-cells/index.js +0 -10
- package/components/tabs/Tabs.vue2.js +0 -91
- package/components/tabs/index.js +0 -6
- package/components/textArea/TextArea.vue2.js +0 -58
- package/components/textArea/index.js +0 -6
- package/components/toggle/Toggle.vue2.js +0 -76
- package/components/toggle/index.js +0 -6
- package/components/tooltip/TextWithTitleContent.vue2.js +0 -6
- package/components/tooltip/TextWithTitleContent.vue3.js +0 -40
- package/components/tooltip/Tooltip.vue3.js +0 -4
- package/components/tooltip/index.js +0 -6
- package/components/typography/Heading.vue3.js +0 -22
- package/components/typography/Text.vue2.js +0 -20
- package/components/typography/index.js +0 -8
- package/composables/useId.js +0 -14
- package/composables/useIsFocusVisible.js +0 -26
- package/composables/useSearch.js +0 -15
- package/composables/useToggle.js +0 -18
- package/index.js +0 -190
|
@@ -1,6 +1,758 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent, ref, computed, watch, useSlots, nextTick, toRaw, provide, onMounted, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode, unref, withCtx, Transition, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, createBlock, mergeProps, withModifiers, Fragment, renderList, pushScopeId, popScopeId } from 'vue';
|
|
2
|
+
import Button from '../button/Button.vue.js';
|
|
3
|
+
import Icon from '../icon/Icon.vue.js';
|
|
4
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
5
|
+
import Text from '../typography/Text.vue.js';
|
|
6
|
+
/* empty css *//* empty css *//* empty css */import { Dropdown as Dropdown$1 } from 'floating-vue';
|
|
7
|
+
/* empty css *//* empty css */import Option from './Option.vue.js';
|
|
8
|
+
import Search from '../search/Search.vue.js';
|
|
9
|
+
import { useToggle } from '../../composables/useToggle.vue.js';
|
|
10
|
+
import { isObjectInArray } from '../../utils/array.vue.js';
|
|
11
|
+
import { objectsEqual } from '../../utils/object.vue.js';
|
|
12
|
+
import { useClamp, useVirtualList, onClickOutside } from '@vueuse/core';
|
|
13
|
+
import { Mode, Type, DropdownContext } from './DropdownContext.vue.js';
|
|
14
|
+
/* empty css *//* empty css */
|
|
15
|
+
import "../../Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css";import "../../Dropdown.vue_vue_type_style_index_1_lang.css";
|
|
16
|
+
const _withScopeId = (n) => (pushScopeId("data-v-49790baa"), n = n(), popScopeId(), n);
|
|
17
|
+
const _hoisted_1 = ["tabindex"];
|
|
18
|
+
const _hoisted_2 = ["disabled", "aria-expanded", "aria-labelledby", "aria-disabled"];
|
|
19
|
+
const _hoisted_3 = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "image-slot"
|
|
6
22
|
};
|
|
23
|
+
const _hoisted_4 = { class: "angle-down" };
|
|
24
|
+
const _hoisted_5 = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "dropdown-title"
|
|
27
|
+
};
|
|
28
|
+
const _hoisted_6 = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "dropdown-title__text"
|
|
31
|
+
};
|
|
32
|
+
const _hoisted_7 = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "no-result-container"
|
|
35
|
+
};
|
|
36
|
+
const _hoisted_8 = {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: "loader"
|
|
39
|
+
};
|
|
40
|
+
const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
41
|
+
width: "100",
|
|
42
|
+
height: "100",
|
|
43
|
+
viewBox: "0 0 100 100"
|
|
44
|
+
}, [
|
|
45
|
+
/* @__PURE__ */ createElementVNode("circle", {
|
|
46
|
+
cx: "50",
|
|
47
|
+
cy: "50",
|
|
48
|
+
fill: "none",
|
|
49
|
+
stroke: "currentColor",
|
|
50
|
+
"stroke-width": "6",
|
|
51
|
+
r: "35",
|
|
52
|
+
"stroke-dasharray": "164.93361431346415 56.97787143782138"
|
|
53
|
+
}, [
|
|
54
|
+
/* @__PURE__ */ createElementVNode("animateTransform", {
|
|
55
|
+
attributeName: "transform",
|
|
56
|
+
type: "rotate",
|
|
57
|
+
repeatCount: "indefinite",
|
|
58
|
+
dur: "1s",
|
|
59
|
+
values: "0 50 50;360 50 50",
|
|
60
|
+
keyTimes: "0;1"
|
|
61
|
+
})
|
|
62
|
+
])
|
|
63
|
+
], -1));
|
|
64
|
+
const _hoisted_10 = { key: 2 };
|
|
65
|
+
const _hoisted_11 = ["aria-selected", "aria-disabled", "onClick"];
|
|
66
|
+
const _hoisted_12 = {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: "actions"
|
|
69
|
+
};
|
|
70
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
71
|
+
__name: "Dropdown",
|
|
72
|
+
props: {
|
|
73
|
+
modelValue: { default: null },
|
|
74
|
+
placeholder: { default: "" },
|
|
75
|
+
disabled: { type: Boolean, default: false },
|
|
76
|
+
mandatory: { type: Boolean, default: false },
|
|
77
|
+
helperText: { default: "" },
|
|
78
|
+
searchPlaceholder: { default: "" },
|
|
79
|
+
isOnTop: { type: Boolean, default: false },
|
|
80
|
+
multi: { type: Boolean, default: false },
|
|
81
|
+
title: { default: "" },
|
|
82
|
+
inlineSearch: { type: Boolean, default: false },
|
|
83
|
+
popperClass: { default: "" },
|
|
84
|
+
noResultsText: { default: "No results found" },
|
|
85
|
+
loading: { type: Boolean },
|
|
86
|
+
selected: { default: null },
|
|
87
|
+
showSelectAll: { type: Boolean },
|
|
88
|
+
defaultOpen: { type: Boolean, default: false },
|
|
89
|
+
showButtonOnOpen: { type: Boolean, default: true },
|
|
90
|
+
autoFocus: { type: Boolean, default: false },
|
|
91
|
+
distance: { default: 0 },
|
|
92
|
+
isOpen: { type: Boolean },
|
|
93
|
+
skidding: { default: 0 },
|
|
94
|
+
placement: { default: "bottom-start" },
|
|
95
|
+
clearable: { type: Boolean, default: false },
|
|
96
|
+
error: { default: "" },
|
|
97
|
+
size: { default: "lg" },
|
|
98
|
+
displayValue: null,
|
|
99
|
+
options: null,
|
|
100
|
+
onSearch: { type: Function, default: () => true },
|
|
101
|
+
theme: { default: "is-dropdown" },
|
|
102
|
+
container: { default: "body" },
|
|
103
|
+
flip: { type: Boolean, default: true },
|
|
104
|
+
keepOpen: { type: Boolean, default: false },
|
|
105
|
+
autoSize: { type: Boolean, default: false },
|
|
106
|
+
disableKeyboardEvents: { type: Boolean, default: false },
|
|
107
|
+
multiOptionsPlaceholderPrefix: { default: "" },
|
|
108
|
+
multiOptionsPlaceholderSuffix: { default: "" }
|
|
109
|
+
},
|
|
110
|
+
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
|
|
111
|
+
setup(__props, { expose, emit }) {
|
|
112
|
+
const props = __props;
|
|
113
|
+
const isSelected = (arr, element) => {
|
|
114
|
+
if (props.multi) {
|
|
115
|
+
return isObjectInArray(arr, element);
|
|
116
|
+
}
|
|
117
|
+
return toRaw(arr) === element;
|
|
118
|
+
};
|
|
119
|
+
const MULTILINE_LIST_HEIGHT = 48;
|
|
120
|
+
const LIST_HEIGHT = 34;
|
|
121
|
+
const selectedOptionRef = ref(props.selected);
|
|
122
|
+
const selectedOption = computed({
|
|
123
|
+
get() {
|
|
124
|
+
return selectedOptionRef.value;
|
|
125
|
+
},
|
|
126
|
+
set(value) {
|
|
127
|
+
emit("update:selected", value);
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
watch(
|
|
131
|
+
() => props.selected,
|
|
132
|
+
() => {
|
|
133
|
+
selectedOptionRef.value = props.selected;
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
const slots = useSlots();
|
|
137
|
+
const listRef = ref(null);
|
|
138
|
+
const inputRef = ref(null);
|
|
139
|
+
const el = ref(null);
|
|
140
|
+
const activeOption = ref(null);
|
|
141
|
+
const labelRef = ref(null);
|
|
142
|
+
const buttonRef = ref(null);
|
|
143
|
+
const apply = ref(null);
|
|
144
|
+
const cancel = ref(null);
|
|
145
|
+
const IS_ON_TOP_PADDING = 8;
|
|
146
|
+
const location = computed(() => {
|
|
147
|
+
return buttonRef.value?.getBoundingClientRect().height + IS_ON_TOP_PADDING + props.distance;
|
|
148
|
+
});
|
|
149
|
+
const optionsIds = ref([]);
|
|
150
|
+
const selectedIndex = ref(-1);
|
|
151
|
+
const query = ref("");
|
|
152
|
+
const selectedOptionPrevious = ref([]);
|
|
153
|
+
const focusButton = () => buttonRef.value?.focus();
|
|
154
|
+
const [open, _toggle, disable] = useToggle({
|
|
155
|
+
disabled: props.disabled,
|
|
156
|
+
initialValue: props.defaultOpen
|
|
157
|
+
});
|
|
158
|
+
watch(
|
|
159
|
+
() => props.disabled,
|
|
160
|
+
(value) => {
|
|
161
|
+
if (value !== void 0) {
|
|
162
|
+
disable(value);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
);
|
|
166
|
+
const toggle = (value) => {
|
|
167
|
+
isOpen.value = _toggle(value);
|
|
168
|
+
};
|
|
169
|
+
const isOpen = computed({
|
|
170
|
+
get() {
|
|
171
|
+
return props.isOpen;
|
|
172
|
+
},
|
|
173
|
+
set(value) {
|
|
174
|
+
emit("update:isOpen", value);
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
const maxClamped = computed(() => {
|
|
178
|
+
return filteredOptions.value.length - 1;
|
|
179
|
+
});
|
|
180
|
+
const activeIndex = useClamp(0, 0, maxClamped);
|
|
181
|
+
const selectedValue = computed(() => {
|
|
182
|
+
if (selectedOption.value) {
|
|
183
|
+
return props.displayValue(selectedOption.value);
|
|
184
|
+
}
|
|
185
|
+
return "";
|
|
186
|
+
});
|
|
187
|
+
const getMultiselectValueToShow = (selectedOption2) => {
|
|
188
|
+
if (!selectedOption2.value.length && !props.multiOptionsPlaceholderPrefix && !props.multiOptionsPlaceholderSuffix)
|
|
189
|
+
return props.placeholder;
|
|
190
|
+
const multipleOptionsPlaceholder = !props.multiOptionsPlaceholderPrefix && !props.multiOptionsPlaceholderSuffix ? `${selectedOption2.value.length} selected` : `${props.multiOptionsPlaceholderPrefix ?? ""}${selectedOption2.value.length ?? "0"}${props.multiOptionsPlaceholderSuffix ?? ""}`;
|
|
191
|
+
return selectedOption2.value.length == 1 && !!props.displayValue ? props.displayValue(selectedOption2.value[0]) : multipleOptionsPlaceholder;
|
|
192
|
+
};
|
|
193
|
+
const displayedValue = computed(() => {
|
|
194
|
+
if (!props.multi) {
|
|
195
|
+
return selectedOption.value ? props.displayValue(selectedOption.value) : props.placeholder;
|
|
196
|
+
}
|
|
197
|
+
if (!Array.isArray(selectedOptionRef.value)) {
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
return getMultiselectValueToShow(selectedOptionRef);
|
|
201
|
+
});
|
|
202
|
+
const allSelected = computed(() => {
|
|
203
|
+
if (!Array.isArray(selectedOptionRef.value)) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
return selectedOptionRef.value.length === filteredOptions.value.length;
|
|
207
|
+
});
|
|
208
|
+
const isIndeterminate = computed(() => {
|
|
209
|
+
if (!props.multi) {
|
|
210
|
+
return false;
|
|
211
|
+
}
|
|
212
|
+
if (!Array.isArray(selectedOptionRef.value)) {
|
|
213
|
+
return false;
|
|
214
|
+
}
|
|
215
|
+
return selectedOptionRef.value.length > 0 && selectedOptionRef.value.length < filteredOptions.value.length;
|
|
216
|
+
});
|
|
217
|
+
const queryChanged = (value) => {
|
|
218
|
+
query.value = value;
|
|
219
|
+
};
|
|
220
|
+
const filteredOptions = computed(
|
|
221
|
+
() => props.options.filter((option) => props.onSearch(option, query.value))
|
|
222
|
+
);
|
|
223
|
+
const hasSubtitle = computed(() => optionsIds.value[0]?.hasSubtitle);
|
|
224
|
+
const isMulti = computed(() => api.mode === Mode.Multi);
|
|
225
|
+
const {
|
|
226
|
+
list: virtualOptions,
|
|
227
|
+
containerProps,
|
|
228
|
+
wrapperProps,
|
|
229
|
+
scrollTo
|
|
230
|
+
} = useVirtualList(filteredOptions, {
|
|
231
|
+
itemHeight: () => hasSubtitle.value ? MULTILINE_LIST_HEIGHT : LIST_HEIGHT
|
|
232
|
+
});
|
|
233
|
+
watch(
|
|
234
|
+
() => props.isOpen,
|
|
235
|
+
(value) => {
|
|
236
|
+
toggle(value);
|
|
237
|
+
}
|
|
238
|
+
);
|
|
239
|
+
watch([selectedIndex], async () => {
|
|
240
|
+
await nextTick();
|
|
241
|
+
});
|
|
242
|
+
watch(
|
|
243
|
+
[open, activeIndex, selectedIndex],
|
|
244
|
+
async ([openNewValue], [openOldValue]) => {
|
|
245
|
+
if (!open.value) {
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
await nextTick();
|
|
249
|
+
if (selectedIndex.value !== -1 && openNewValue !== openOldValue) {
|
|
250
|
+
setTimeout(() => {
|
|
251
|
+
scrollTo(selectedIndex.value);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
if (activeIndex.value) {
|
|
255
|
+
setTimeout(() => {
|
|
256
|
+
scrollTo(activeIndex.value);
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
);
|
|
261
|
+
const toggleMenu = (value, withFocus = false) => {
|
|
262
|
+
if (props.disabled) {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
toggle(value);
|
|
266
|
+
nextTick(() => {
|
|
267
|
+
if (open.value) {
|
|
268
|
+
emit("opened");
|
|
269
|
+
}
|
|
270
|
+
if (!open.value) {
|
|
271
|
+
emit("closed");
|
|
272
|
+
}
|
|
273
|
+
if (listRef.value && withFocus) {
|
|
274
|
+
listRef.value.focus();
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
};
|
|
278
|
+
watch(open, (isOpen2) => {
|
|
279
|
+
if (isOpen2) {
|
|
280
|
+
if (isMulti.value && Array.isArray(selectedOption.value)) {
|
|
281
|
+
selectedOptionPrevious.value = toRaw(selectedOption.value).slice();
|
|
282
|
+
}
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
285
|
+
focusButton();
|
|
286
|
+
});
|
|
287
|
+
const onSelectAll = () => {
|
|
288
|
+
selectAll();
|
|
289
|
+
selectedOption.value = selectedOptionRef.value;
|
|
290
|
+
};
|
|
291
|
+
const selectAll = () => {
|
|
292
|
+
if (allSelected.value) {
|
|
293
|
+
selectedOptionRef.value = [];
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
if (!Array.isArray(selectedOptionRef.value)) {
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
if (selectedOptionRef.value.length === filteredOptions.value.length) {
|
|
300
|
+
selectedOptionRef.value = [];
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
selectedOptionRef.value = filteredOptions.value;
|
|
304
|
+
};
|
|
305
|
+
const onSelect = (option, index) => {
|
|
306
|
+
option = toRaw(option);
|
|
307
|
+
const isDisabled = optionsIds.value[index]?.disabled;
|
|
308
|
+
if (isDisabled) {
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
selectedIndex.value = index;
|
|
312
|
+
if (api.mode !== Mode.Multi) {
|
|
313
|
+
if (!props.keepOpen) {
|
|
314
|
+
toggleMenu(false);
|
|
315
|
+
}
|
|
316
|
+
api.goToOption(0 /* None */);
|
|
317
|
+
selectedOption.value = option;
|
|
318
|
+
queryChanged("");
|
|
319
|
+
focusButton();
|
|
320
|
+
if (api.type === Type.Search && inputRef.value) {
|
|
321
|
+
inputRef.value.value = props.displayValue(option);
|
|
322
|
+
}
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
if (!Array.isArray(selectedOptionRef.value)) {
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
inputRef.value?.focus();
|
|
329
|
+
const rawSelectedOption = toRaw(selectedOptionRef.value);
|
|
330
|
+
if (isObjectInArray(rawSelectedOption, option)) {
|
|
331
|
+
selectedOptionRef.value = rawSelectedOption.filter(
|
|
332
|
+
(item) => !objectsEqual(item, option)
|
|
333
|
+
);
|
|
334
|
+
return;
|
|
335
|
+
} else {
|
|
336
|
+
selectedOptionRef.value = [...rawSelectedOption, option];
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
const canFocus = (index) => {
|
|
341
|
+
return optionsIds.value[index]?.disabled;
|
|
342
|
+
};
|
|
343
|
+
const api = {
|
|
344
|
+
activeIndex,
|
|
345
|
+
options: optionsIds,
|
|
346
|
+
selectedOption,
|
|
347
|
+
labelRef,
|
|
348
|
+
activeOption,
|
|
349
|
+
listRef,
|
|
350
|
+
clearable: props.clearable,
|
|
351
|
+
type: slots.input ? Type.Search : Type.Dropdown,
|
|
352
|
+
mode: props.multi ? Mode.Multi : Mode.Single,
|
|
353
|
+
query,
|
|
354
|
+
selectedValue,
|
|
355
|
+
toggle: toggleMenu,
|
|
356
|
+
disabled: props.disabled,
|
|
357
|
+
open,
|
|
358
|
+
mandatory: props.mandatory,
|
|
359
|
+
size: props.size,
|
|
360
|
+
placeholder: props.placeholder,
|
|
361
|
+
select: onSelect,
|
|
362
|
+
clearSelection: () => {
|
|
363
|
+
queryChanged("");
|
|
364
|
+
selectedOption.value = api.mode === Mode.Single ? null : [];
|
|
365
|
+
if (inputRef.value) {
|
|
366
|
+
inputRef.value.value = "";
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
search: queryChanged,
|
|
370
|
+
goToOption: async (focus) => {
|
|
371
|
+
if (!open.value) {
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
374
|
+
let index = activeIndex.value + focus;
|
|
375
|
+
const totalDisabled = optionsIds.value.filter(
|
|
376
|
+
(item) => item.disabled
|
|
377
|
+
).length;
|
|
378
|
+
const total = filteredOptions.value.length - totalDisabled;
|
|
379
|
+
if (index > total) {
|
|
380
|
+
index = total + 1;
|
|
381
|
+
}
|
|
382
|
+
while (true) {
|
|
383
|
+
if (!optionsIds.value[index]?.disabled) {
|
|
384
|
+
activeOption.value = filteredOptions.value[index];
|
|
385
|
+
activeIndex.value = index;
|
|
386
|
+
return;
|
|
387
|
+
}
|
|
388
|
+
if (focus === 1 /* Next */ || focus === 10 /* NextPage */) {
|
|
389
|
+
index = index + 1 /* Next */;
|
|
390
|
+
}
|
|
391
|
+
if (focus === -1 /* Previous */ || focus === -10 /* PrevPage */) {
|
|
392
|
+
index = index + -1 /* Previous */;
|
|
393
|
+
}
|
|
394
|
+
if (!canFocus(activeIndex.value)) {
|
|
395
|
+
continue;
|
|
396
|
+
}
|
|
397
|
+
activeOption.value = filteredOptions.value[index];
|
|
398
|
+
activeIndex.value = index;
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
registerInput: (ref2) => {
|
|
403
|
+
inputRef.value = ref2.value;
|
|
404
|
+
},
|
|
405
|
+
registerOption: (id, disabled, hasSubtitle2) => {
|
|
406
|
+
optionsIds.value = [...optionsIds.value, { id, disabled, hasSubtitle: hasSubtitle2 }];
|
|
407
|
+
},
|
|
408
|
+
unRegisterOption(id) {
|
|
409
|
+
optionsIds.value = optionsIds.value.filter((item) => item.id !== id);
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
provide(DropdownContext, api);
|
|
413
|
+
onClickOutside(
|
|
414
|
+
listRef,
|
|
415
|
+
() => {
|
|
416
|
+
if (open.value) {
|
|
417
|
+
onCancel();
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
ignore: [buttonRef, apply, cancel, inputRef, containerProps.ref]
|
|
422
|
+
}
|
|
423
|
+
);
|
|
424
|
+
const resetInput = () => {
|
|
425
|
+
if (!inputRef.value) {
|
|
426
|
+
return;
|
|
427
|
+
}
|
|
428
|
+
inputRef.value.value = api.query.value = "";
|
|
429
|
+
};
|
|
430
|
+
onMounted(async () => {
|
|
431
|
+
if (props.autoFocus) {
|
|
432
|
+
await nextTick();
|
|
433
|
+
setTimeout(() => {
|
|
434
|
+
el.value.focus();
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
api.goToOption(0);
|
|
438
|
+
});
|
|
439
|
+
const onApply = () => {
|
|
440
|
+
selectedOption.value = selectedOptionRef.value;
|
|
441
|
+
emit("apply", selectedOption.value);
|
|
442
|
+
toggleMenu(false);
|
|
443
|
+
resetInput();
|
|
444
|
+
};
|
|
445
|
+
const onCancel = () => {
|
|
446
|
+
if (isMulti.value && Array.isArray(selectedOptionPrevious.value)) {
|
|
447
|
+
selectedOption.value = toRaw(selectedOptionPrevious.value).slice();
|
|
448
|
+
}
|
|
449
|
+
toggleMenu(false);
|
|
450
|
+
};
|
|
451
|
+
const onButtonKeydown = (event) => {
|
|
452
|
+
if (props.disableKeyboardEvents)
|
|
453
|
+
return;
|
|
454
|
+
switch (event.key) {
|
|
455
|
+
case "Space":
|
|
456
|
+
case "Enter":
|
|
457
|
+
case "ArrowUp":
|
|
458
|
+
case "ArrowDown": {
|
|
459
|
+
toggleMenu(true);
|
|
460
|
+
event.preventDefault();
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
const onKeydown = (event) => {
|
|
465
|
+
if (props.disableKeyboardEvents)
|
|
466
|
+
return;
|
|
467
|
+
switch (event.key) {
|
|
468
|
+
case "ArrowUp": {
|
|
469
|
+
api.goToOption(-1 /* Previous */);
|
|
470
|
+
event.preventDefault();
|
|
471
|
+
event.stopPropagation();
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
case "ArrowDown": {
|
|
475
|
+
api.goToOption(1 /* Next */);
|
|
476
|
+
event.preventDefault();
|
|
477
|
+
event.stopPropagation();
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
case "Escape": {
|
|
481
|
+
toggleMenu(false);
|
|
482
|
+
event.preventDefault();
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
case "PageUp": {
|
|
486
|
+
api.goToOption(10 /* NextPage */);
|
|
487
|
+
event.preventDefault();
|
|
488
|
+
break;
|
|
489
|
+
}
|
|
490
|
+
case "PageDown": {
|
|
491
|
+
api.goToOption(-10 /* PrevPage */);
|
|
492
|
+
event.preventDefault();
|
|
493
|
+
break;
|
|
494
|
+
}
|
|
495
|
+
case "Enter": {
|
|
496
|
+
if (!open.value) {
|
|
497
|
+
toggleMenu(true);
|
|
498
|
+
return;
|
|
499
|
+
}
|
|
500
|
+
onSelect(filteredOptions.value[activeIndex.value], activeIndex.value);
|
|
501
|
+
if (api.mode === Mode.Single && !props.keepOpen) {
|
|
502
|
+
toggleMenu(false);
|
|
503
|
+
}
|
|
504
|
+
event.preventDefault();
|
|
505
|
+
break;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
expose({
|
|
510
|
+
selectItem: onSelect,
|
|
511
|
+
scrollTo
|
|
512
|
+
});
|
|
513
|
+
return (_ctx, _cache) => {
|
|
514
|
+
return openBlock(), createElementBlock("div", {
|
|
515
|
+
ref_key: "el",
|
|
516
|
+
ref: el,
|
|
517
|
+
class: normalizeClass(["dropdown", { "dropdown--disabled": __props.disabled }]),
|
|
518
|
+
tabindex: __props.disabled ? -1 : 0,
|
|
519
|
+
onKeydown
|
|
520
|
+
}, [
|
|
521
|
+
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
522
|
+
createVNode(unref(Dropdown$1), {
|
|
523
|
+
theme: __props.theme,
|
|
524
|
+
"popper-class": [
|
|
525
|
+
__props.popperClass,
|
|
526
|
+
__props.autoSize ? "v-popper--theme-is-dropdown--auto-size" : null
|
|
527
|
+
],
|
|
528
|
+
placement: __props.placement,
|
|
529
|
+
skidding: __props.isOnTop ? 0 : __props.skidding,
|
|
530
|
+
distance: __props.isOnTop ? -unref(location) : __props.distance,
|
|
531
|
+
flip: __props.flip,
|
|
532
|
+
triggers: [],
|
|
533
|
+
shown: !!unref(open),
|
|
534
|
+
"auto-hide": false,
|
|
535
|
+
container: __props.container,
|
|
536
|
+
"auto-size": __props.autoSize
|
|
537
|
+
}, {
|
|
538
|
+
popper: withCtx(() => [
|
|
539
|
+
createVNode(Transition, null, {
|
|
540
|
+
default: withCtx(() => [
|
|
541
|
+
createElementVNode("div", {
|
|
542
|
+
ref_key: "listRef",
|
|
543
|
+
ref: listRef
|
|
544
|
+
}, [
|
|
545
|
+
__props.inlineSearch || __props.title ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
546
|
+
__props.title ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
547
|
+
createVNode(unref(Text), { strong: "" }, {
|
|
548
|
+
default: withCtx(() => [
|
|
549
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
550
|
+
]),
|
|
551
|
+
_: 1
|
|
552
|
+
})
|
|
553
|
+
])) : createCommentVNode("", true),
|
|
554
|
+
__props.inlineSearch ? (openBlock(), createBlock(unref(Search), {
|
|
555
|
+
key: 1,
|
|
556
|
+
modelValue: query.value,
|
|
557
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => query.value = $event),
|
|
558
|
+
placeholder: __props.searchPlaceholder,
|
|
559
|
+
class: "dropdown-title__search",
|
|
560
|
+
variant: "transparent",
|
|
561
|
+
size: "md",
|
|
562
|
+
onKeydown
|
|
563
|
+
}, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
|
|
564
|
+
])) : createCommentVNode("", true),
|
|
565
|
+
unref(open) ? (openBlock(), createElementBlock("div", {
|
|
566
|
+
key: 1,
|
|
567
|
+
class: "dropdown",
|
|
568
|
+
onKeydown
|
|
569
|
+
}, [
|
|
570
|
+
renderSlot(_ctx.$slots, "input-list", { open: unref(open) }, void 0, true),
|
|
571
|
+
createElementVNode("div", mergeProps(unref(containerProps), {
|
|
572
|
+
class: ["list-container", { "list-container--multi": __props.multi }]
|
|
573
|
+
}), [
|
|
574
|
+
createElementVNode("ul", mergeProps(unref(wrapperProps), {
|
|
575
|
+
role: "listbox",
|
|
576
|
+
class: ["list", { "list--multi": __props.multi }]
|
|
577
|
+
}), [
|
|
578
|
+
!unref(filteredOptions).length && !__props.loading ? (openBlock(), createElementBlock("li", _hoisted_7, [
|
|
579
|
+
createVNode(unref(Text), {
|
|
580
|
+
size: "sm",
|
|
581
|
+
class: "no-result"
|
|
582
|
+
}, {
|
|
583
|
+
default: withCtx(() => [
|
|
584
|
+
createTextVNode(toDisplayString(__props.noResultsText), 1)
|
|
585
|
+
]),
|
|
586
|
+
_: 1
|
|
587
|
+
})
|
|
588
|
+
])) : createCommentVNode("", true),
|
|
589
|
+
__props.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
|
|
590
|
+
createVNode(unref(Icon), {
|
|
591
|
+
"font-size": "md",
|
|
592
|
+
class: "loader-icon"
|
|
593
|
+
}, {
|
|
594
|
+
default: withCtx(() => [
|
|
595
|
+
_hoisted_9
|
|
596
|
+
]),
|
|
597
|
+
_: 1
|
|
598
|
+
}),
|
|
599
|
+
createVNode(unref(Text), null, {
|
|
600
|
+
default: withCtx(() => [
|
|
601
|
+
createTextVNode("Loading...")
|
|
602
|
+
]),
|
|
603
|
+
_: 1
|
|
604
|
+
})
|
|
605
|
+
])) : createCommentVNode("", true),
|
|
606
|
+
__props.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_10, [
|
|
607
|
+
createVNode(Option, {
|
|
608
|
+
"aria-selected": unref(allSelected),
|
|
609
|
+
"aria-disabled": !!__props.disabled,
|
|
610
|
+
"selected-prop": unref(allSelected),
|
|
611
|
+
"is-indeterminate": unref(isIndeterminate),
|
|
612
|
+
"select-all-option": "",
|
|
613
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => onSelectAll(), ["stop"]))
|
|
614
|
+
}, {
|
|
615
|
+
default: withCtx(() => [
|
|
616
|
+
createTextVNode("Select all ")
|
|
617
|
+
]),
|
|
618
|
+
_: 1
|
|
619
|
+
}, 8, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
620
|
+
])) : createCommentVNode("", true),
|
|
621
|
+
unref(virtualOptions).length && !__props.loading ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(unref(virtualOptions), ({ data, index }) => {
|
|
622
|
+
return openBlock(), createElementBlock("li", {
|
|
623
|
+
key: index,
|
|
624
|
+
"aria-selected": isSelected(toRaw(unref(selectedOption)), data),
|
|
625
|
+
"aria-disabled": !!__props.disabled,
|
|
626
|
+
onClick: withModifiers(() => onSelect(data, index), ["stop"])
|
|
627
|
+
}, [
|
|
628
|
+
renderSlot(_ctx.$slots, "default", {
|
|
629
|
+
option: data,
|
|
630
|
+
selected: isSelected(toRaw(unref(selectedOption)), data),
|
|
631
|
+
active: toRaw(unref(activeIndex)) === index
|
|
632
|
+
}, void 0, true)
|
|
633
|
+
], 8, _hoisted_11);
|
|
634
|
+
}), 128)) : createCommentVNode("", true)
|
|
635
|
+
], 16)
|
|
636
|
+
], 16),
|
|
637
|
+
__props.multi ? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
638
|
+
createVNode(unref(Button), {
|
|
639
|
+
ref_key: "cancel",
|
|
640
|
+
ref: cancel,
|
|
641
|
+
size: "sm",
|
|
642
|
+
variant: "border",
|
|
643
|
+
theme: "third",
|
|
644
|
+
onClick: onCancel
|
|
645
|
+
}, {
|
|
646
|
+
default: withCtx(() => [
|
|
647
|
+
createTextVNode(" Cancel ")
|
|
648
|
+
]),
|
|
649
|
+
_: 1
|
|
650
|
+
}, 512),
|
|
651
|
+
createVNode(unref(Button), {
|
|
652
|
+
ref_key: "apply",
|
|
653
|
+
ref: apply,
|
|
654
|
+
"data-testid": "mutli-apply",
|
|
655
|
+
size: "sm",
|
|
656
|
+
class: "apply-button",
|
|
657
|
+
onClick: onApply
|
|
658
|
+
}, {
|
|
659
|
+
default: withCtx(() => [
|
|
660
|
+
createTextVNode("Apply ")
|
|
661
|
+
]),
|
|
662
|
+
_: 1
|
|
663
|
+
}, 512)
|
|
664
|
+
])) : createCommentVNode("", true)
|
|
665
|
+
], 32)) : createCommentVNode("", true)
|
|
666
|
+
], 512)
|
|
667
|
+
]),
|
|
668
|
+
_: 3
|
|
669
|
+
})
|
|
670
|
+
]),
|
|
671
|
+
default: withCtx(() => [
|
|
672
|
+
createElementVNode("div", {
|
|
673
|
+
class: normalizeClass(["button__container", {
|
|
674
|
+
"button__container--open": !!unref(open),
|
|
675
|
+
[`button__container--${__props.size}`]: true,
|
|
676
|
+
"button__container--disabled": __props.disabled
|
|
677
|
+
}])
|
|
678
|
+
}, [
|
|
679
|
+
_ctx.$slots.input ? (openBlock(), createElementBlock("div", {
|
|
680
|
+
key: 0,
|
|
681
|
+
ref_key: "buttonRef",
|
|
682
|
+
ref: buttonRef,
|
|
683
|
+
onClick: _cache[0] || (_cache[0] = ($event) => toggleMenu()),
|
|
684
|
+
onKeydown: onButtonKeydown
|
|
685
|
+
}, [
|
|
686
|
+
renderSlot(_ctx.$slots, "input", {
|
|
687
|
+
open: unref(open),
|
|
688
|
+
value: unref(displayedValue),
|
|
689
|
+
disabled: __props.disabled
|
|
690
|
+
}, void 0, true)
|
|
691
|
+
], 544)) : createCommentVNode("", true),
|
|
692
|
+
!_ctx.$slots.input ? (openBlock(), createElementBlock("button", {
|
|
693
|
+
key: 1,
|
|
694
|
+
ref_key: "buttonRef",
|
|
695
|
+
ref: buttonRef,
|
|
696
|
+
disabled: __props.disabled,
|
|
697
|
+
"aria-haspopup": true,
|
|
698
|
+
"aria-expanded": !!unref(open),
|
|
699
|
+
"aria-labelledby": labelRef.value?.id,
|
|
700
|
+
"aria-disabled": __props.disabled,
|
|
701
|
+
class: normalizeClass([{
|
|
702
|
+
"button--open": !!unref(open),
|
|
703
|
+
[`button--${__props.size}`]: true,
|
|
704
|
+
"button--disabled": __props.disabled
|
|
705
|
+
}, "button"]),
|
|
706
|
+
onKeydown: onButtonKeydown,
|
|
707
|
+
onClick: _cache[1] || (_cache[1] = ($event) => toggleMenu())
|
|
708
|
+
}, [
|
|
709
|
+
_ctx.$slots.image ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
710
|
+
renderSlot(_ctx.$slots, "image", {}, void 0, true)
|
|
711
|
+
])) : createCommentVNode("", true),
|
|
712
|
+
createVNode(unref(Text), {
|
|
713
|
+
size: "sm",
|
|
714
|
+
"is-truncated": ""
|
|
715
|
+
}, {
|
|
716
|
+
default: withCtx(() => [
|
|
717
|
+
createTextVNode(toDisplayString(unref(displayedValue)), 1)
|
|
718
|
+
]),
|
|
719
|
+
_: 1
|
|
720
|
+
}),
|
|
721
|
+
createElementVNode("div", _hoisted_4, [
|
|
722
|
+
createVNode(unref(Icon), {
|
|
723
|
+
name: "angle-down",
|
|
724
|
+
"font-size": "sm"
|
|
725
|
+
})
|
|
726
|
+
])
|
|
727
|
+
], 42, _hoisted_2)) : createCommentVNode("", true)
|
|
728
|
+
], 2)
|
|
729
|
+
]),
|
|
730
|
+
_: 3
|
|
731
|
+
}, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
732
|
+
!__props.error && __props.helperText ? (openBlock(), createBlock(unref(Text), {
|
|
733
|
+
key: 0,
|
|
734
|
+
size: "caption",
|
|
735
|
+
class: "helper-text"
|
|
736
|
+
}, {
|
|
737
|
+
default: withCtx(() => [
|
|
738
|
+
createTextVNode(toDisplayString(__props.helperText), 1)
|
|
739
|
+
]),
|
|
740
|
+
_: 1
|
|
741
|
+
})) : createCommentVNode("", true),
|
|
742
|
+
__props.error ? (openBlock(), createBlock(unref(Text), {
|
|
743
|
+
key: 1,
|
|
744
|
+
size: "caption",
|
|
745
|
+
class: "helper-text helper-text--error"
|
|
746
|
+
}, {
|
|
747
|
+
default: withCtx(() => [
|
|
748
|
+
createTextVNode(toDisplayString(__props.error), 1)
|
|
749
|
+
]),
|
|
750
|
+
_: 1
|
|
751
|
+
})) : createCommentVNode("", true)
|
|
752
|
+
], 42, _hoisted_1);
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
});
|
|
756
|
+
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-49790baa"]]);
|
|
757
|
+
|
|
758
|
+
export { Dropdown as default };
|