@ironsource/shared-ui 1.4.2-test.2 → 1.4.2-test.20
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/CssBaseline.vue_vue_type_style_index_1_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/Dropdown.vue_vue_type_style_index_1_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/IncludeExcludeDragDrop.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/Menu.vue_vue_type_style_index_1_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/Popover.vue_vue_type_style_index_0_lang.css +1 -0
- package/README.md +1 -2
- 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_true_lang.css +1 -0
- 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_true_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Table.vue_vue_type_style_index_1_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 -0
- 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 +612 -5
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +74 -124
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +122 -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 +157 -6
- package/components/includeExclude/IncludeExcludeContext.vue.js +19 -0
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +125 -0
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +620 -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 +126 -0
- package/components/includeExclude/includeExcludeMocks.d.ts +12 -0
- package/components/includeExclude/index.d.ts +611 -964
- package/components/includeExclude/index.vue.js +26 -0
- package/components/input/DollarInput.vue.d.ts +11 -224
- 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 +11 -224
- package/components/input/PasswordInput.vue.js +41 -6
- package/components/input/PercentageInput.vue.d.ts +11 -230
- 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 +80 -130
- package/components/table/Table.vue.js +346 -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 +114 -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 +95 -0
- package/package.json +11 -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/_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 -51
- 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 -252
|
@@ -1,6 +1,656 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, onBeforeMount, onUnmounted, watch, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, renderSlot, toDisplayString, setBlockTracking, withDirectives, Fragment, renderList, createVNode, withCtx, createTextVNode, createCommentVNode, vShow, normalizeStyle } from 'vue';
|
|
2
|
+
import { onClickOutside } from '@vueuse/core';
|
|
3
|
+
import { useToggle } from '../../composables/useToggle.vue.js';
|
|
4
|
+
import CalendarMonth from './CalendarMonth.vue.js';
|
|
5
|
+
import dateServices from './DateServices.vue.js';
|
|
6
|
+
import { typeToName, messagePerType, presetsList, formatError, mandatoryValuesError, navigatePrev, navigateNext } from './consts.vue.js';
|
|
7
|
+
import Button from '../button/Button.vue.js';
|
|
8
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
9
|
+
/* empty css */import Text from '../typography/Text.vue.js';
|
|
10
|
+
/* empty css *//* empty css *//* empty css */import 'floating-vue';
|
|
11
|
+
/* empty css *//* empty css */import { min, addDays, format } from 'date-fns';
|
|
12
|
+
/* empty css */
|
|
13
|
+
import "../../DateRange.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
14
|
+
const _hoisted_1 = ["id"];
|
|
15
|
+
const _hoisted_2 = ["id"];
|
|
16
|
+
const _hoisted_3 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "type-picker"
|
|
6
19
|
};
|
|
20
|
+
const _hoisted_4 = ["onClick"];
|
|
21
|
+
const _hoisted_5 = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "date-picker-menu"
|
|
24
|
+
};
|
|
25
|
+
const _hoisted_6 = ["id"];
|
|
26
|
+
const _hoisted_7 = ["id"];
|
|
27
|
+
const _hoisted_8 = ["onClick"];
|
|
28
|
+
const _hoisted_9 = { class: "dropdown-rightTriangle" };
|
|
29
|
+
const _hoisted_10 = { class: "type-message" };
|
|
30
|
+
const _hoisted_11 = { class: "date-picker-calendar left-box" };
|
|
31
|
+
const _hoisted_12 = { class: "buttons-cover" };
|
|
32
|
+
const _hoisted_13 = { class: "range" };
|
|
33
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
|
+
__name: "DateRange",
|
|
35
|
+
props: {
|
|
36
|
+
range: null,
|
|
37
|
+
types: { default: () => ["date"] },
|
|
38
|
+
includeToday: { type: Boolean, default: true },
|
|
39
|
+
allowedDays: { default: null },
|
|
40
|
+
maxDaysInRange: { default: null },
|
|
41
|
+
datePresetList: { default: "date" },
|
|
42
|
+
regex: { default: () => /^(1[0-2]|0?[1-9])\/[\d]{1,2}\/[\d]{4}$/ },
|
|
43
|
+
dateFormat: { default: "mm/dd/yyyy" },
|
|
44
|
+
uniqueId: { default: Date.now() },
|
|
45
|
+
disabled: { type: Boolean, default: false },
|
|
46
|
+
initialType: { default: null },
|
|
47
|
+
openOnTop: { type: Boolean, default: false },
|
|
48
|
+
showPresets: { type: Boolean, default: true },
|
|
49
|
+
maxDate: { default: null }
|
|
50
|
+
},
|
|
51
|
+
emits: [
|
|
52
|
+
"rangeTypeChanged",
|
|
53
|
+
"currentDateChanged",
|
|
54
|
+
"rangeChanged",
|
|
55
|
+
"dateRangePresetNameChanged",
|
|
56
|
+
"opened",
|
|
57
|
+
"dismissed"
|
|
58
|
+
],
|
|
59
|
+
setup(__props, { emit }) {
|
|
60
|
+
const props = __props;
|
|
61
|
+
const datePicker = ref(null);
|
|
62
|
+
const selectionStart = ref({ started: false, date: null });
|
|
63
|
+
const initialized = ref(false);
|
|
64
|
+
const numberOfMonths = 2;
|
|
65
|
+
const textDates = ref({ from: null, to: null });
|
|
66
|
+
const currentMonths = ref({});
|
|
67
|
+
const displayedMonthsKeys = ref([]);
|
|
68
|
+
const datePresets = ref(null);
|
|
69
|
+
const selectedPreset = ref({});
|
|
70
|
+
const savedPreset = ref({});
|
|
71
|
+
const displayError = ref(false);
|
|
72
|
+
const rangeType = ref(null);
|
|
73
|
+
const selectedRange = ref(null);
|
|
74
|
+
const placement = ref("left");
|
|
75
|
+
const currentDate = ref(null);
|
|
76
|
+
const error = ref(null);
|
|
77
|
+
const presets = ref([]);
|
|
78
|
+
const maxAllowedDate = ref(null);
|
|
79
|
+
const [isOpen] = useToggle({ initialValue: false });
|
|
80
|
+
const popup = ref(null);
|
|
81
|
+
onClickOutside(popup, () => {
|
|
82
|
+
isOpen.value = false;
|
|
83
|
+
});
|
|
84
|
+
const createMonth = (month, year) => {
|
|
85
|
+
const parsedMonth = {
|
|
86
|
+
weeks: [],
|
|
87
|
+
days: {},
|
|
88
|
+
month,
|
|
89
|
+
year
|
|
90
|
+
};
|
|
91
|
+
let day;
|
|
92
|
+
let week;
|
|
93
|
+
const firstDay = new Date(year, month, 1);
|
|
94
|
+
const dayInWeek = firstDay.getDay();
|
|
95
|
+
let dayCounter = 1;
|
|
96
|
+
const now = new Date();
|
|
97
|
+
now.setHours(0, 0, 0, 0);
|
|
98
|
+
const maxDay = dateServices.daysInMonth(month, year);
|
|
99
|
+
for (let i = 0; i < 6; i++) {
|
|
100
|
+
week = [];
|
|
101
|
+
for (let j = 0; j < 7; j++) {
|
|
102
|
+
day = {};
|
|
103
|
+
if (i === 0) {
|
|
104
|
+
if (dayInWeek > 0 && j < dayInWeek) {
|
|
105
|
+
day.value = 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (dayCounter > maxDay) {
|
|
109
|
+
day.value = 0;
|
|
110
|
+
}
|
|
111
|
+
if (!day.value && day.value !== 0) {
|
|
112
|
+
day.value = dayCounter;
|
|
113
|
+
dayCounter += 1;
|
|
114
|
+
parsedMonth.days[day.value] = day;
|
|
115
|
+
day.date = new Date(year, month, day.value);
|
|
116
|
+
if (now < day.date) {
|
|
117
|
+
day.isFuture = true;
|
|
118
|
+
} else if (day.date.getTime() === now.getTime()) {
|
|
119
|
+
day.isToday = true;
|
|
120
|
+
if (!props.includeToday) {
|
|
121
|
+
day.disabled = true;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
week.push(day);
|
|
126
|
+
}
|
|
127
|
+
parsedMonth.weeks.push(week);
|
|
128
|
+
}
|
|
129
|
+
return parsedMonth;
|
|
130
|
+
};
|
|
131
|
+
const initMonths = () => {
|
|
132
|
+
let now = dateServices.getCurrentTimeUTC();
|
|
133
|
+
if (selectedRange.value && selectedRange.value.toEnd) {
|
|
134
|
+
now = selectedRange.value.toEnd;
|
|
135
|
+
} else if (props.range && props.range.to) {
|
|
136
|
+
now = props.range.to;
|
|
137
|
+
}
|
|
138
|
+
if (!currentMonths.value[`${now.getFullYear().toString()}_${now.getMonth().toString()}`]) {
|
|
139
|
+
currentMonths.value = {};
|
|
140
|
+
displayedMonthsKeys.value = [];
|
|
141
|
+
for (let i = 0; i < numberOfMonths; i++) {
|
|
142
|
+
const lastMonth = new Date(now);
|
|
143
|
+
lastMonth.setDate(1);
|
|
144
|
+
lastMonth.setMonth(now.getMonth() - i);
|
|
145
|
+
const key = `${lastMonth.getFullYear().toString()}_${lastMonth.getMonth().toString()}`;
|
|
146
|
+
currentMonths.value[key] = {
|
|
147
|
+
parsedMonth: createMonth(lastMonth.getMonth(), lastMonth.getFullYear()),
|
|
148
|
+
order: i
|
|
149
|
+
};
|
|
150
|
+
displayedMonthsKeys.value.unshift(key);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
const changeType = (type, resetDate) => {
|
|
155
|
+
rangeType.value = type;
|
|
156
|
+
let presetType = type;
|
|
157
|
+
if (type === "date") {
|
|
158
|
+
presetType = props.datePresetList;
|
|
159
|
+
}
|
|
160
|
+
presets.value = presetsList[presetType];
|
|
161
|
+
if (resetDate) {
|
|
162
|
+
selectedRange.value = {
|
|
163
|
+
fromStart: null,
|
|
164
|
+
fromEnd: null,
|
|
165
|
+
toStart: null,
|
|
166
|
+
toEnd: null
|
|
167
|
+
};
|
|
168
|
+
textDates.value.from = "";
|
|
169
|
+
textDates.value.to = "";
|
|
170
|
+
selectionStart.value = { started: false, date: null };
|
|
171
|
+
selectedPreset.value = "custom";
|
|
172
|
+
}
|
|
173
|
+
emit("rangeTypeChanged", rangeType.value);
|
|
174
|
+
};
|
|
175
|
+
const presetChanged = (selectedObj) => {
|
|
176
|
+
selectedPreset.value = selectedObj.id;
|
|
177
|
+
initRange(datePresets.value[selectedObj.id].dates());
|
|
178
|
+
initMonths();
|
|
179
|
+
};
|
|
180
|
+
const initRange = (newValue, selectionNotCompleted = false) => {
|
|
181
|
+
let newRange = newValue;
|
|
182
|
+
if (!newValue || !newValue.from && !newValue.to) {
|
|
183
|
+
newRange = datePresets.value[presets.value[0]];
|
|
184
|
+
}
|
|
185
|
+
if (props.maxDaysInRange) {
|
|
186
|
+
maxAllowedDate.value = selectionNotCompleted ? addDays(newRange.from, props.maxDaysInRange) : null;
|
|
187
|
+
}
|
|
188
|
+
displayError.value = false;
|
|
189
|
+
if (!newRange.from || !newRange.to || !(newRange.from instanceof Date) || !(newRange.to instanceof Date)) {
|
|
190
|
+
error.value = formatError;
|
|
191
|
+
displayError.value = true;
|
|
192
|
+
return false;
|
|
193
|
+
}
|
|
194
|
+
if (newRange.from > newRange.to) {
|
|
195
|
+
error.value = `"From" date can't be bigger than "To" date`;
|
|
196
|
+
displayError.value = true;
|
|
197
|
+
return false;
|
|
198
|
+
}
|
|
199
|
+
selectedRange.value = getSelectedRangeByType(newRange);
|
|
200
|
+
textDates.value.from = format(
|
|
201
|
+
selectedRange.value.fromStart,
|
|
202
|
+
props.dateFormat
|
|
203
|
+
);
|
|
204
|
+
textDates.value.to = format(selectedRange.value.toEnd, props.dateFormat);
|
|
205
|
+
return true;
|
|
206
|
+
};
|
|
207
|
+
const setCurrentDate = () => {
|
|
208
|
+
if (selectedPreset.value === "custom") {
|
|
209
|
+
currentDate.value = dateServices.getDateRangeString(selectedRange.value);
|
|
210
|
+
} else {
|
|
211
|
+
currentDate.value = selectedPresetName.value;
|
|
212
|
+
}
|
|
213
|
+
emit("currentDateChanged", currentDate.value);
|
|
214
|
+
};
|
|
215
|
+
const apply = () => {
|
|
216
|
+
if (selectedRange.value.fromStart == null || selectedRange.value.toEnd == null) {
|
|
217
|
+
displayError.value = true;
|
|
218
|
+
error.value = mandatoryValuesError;
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
const today = dateServices.getCurrentTimeUTC();
|
|
222
|
+
if (selectedRange.value.toEnd > today) {
|
|
223
|
+
selectedRange.value.toEnd = today;
|
|
224
|
+
}
|
|
225
|
+
setCurrentDate();
|
|
226
|
+
savedPreset.value = selectedPreset.value;
|
|
227
|
+
emit("rangeChanged", {
|
|
228
|
+
from: selectedRange.value.fromStart,
|
|
229
|
+
to: selectedRange.value.toEnd,
|
|
230
|
+
preset: savedPreset.value
|
|
231
|
+
});
|
|
232
|
+
toggle(false);
|
|
233
|
+
};
|
|
234
|
+
const getNavigation = (isFirst, isLast) => {
|
|
235
|
+
if (isFirst) {
|
|
236
|
+
return navigatePrev;
|
|
237
|
+
}
|
|
238
|
+
if (isLast) {
|
|
239
|
+
return navigateNext;
|
|
240
|
+
}
|
|
241
|
+
return null;
|
|
242
|
+
};
|
|
243
|
+
const navigationCallback = (direction) => {
|
|
244
|
+
let newMonth = null;
|
|
245
|
+
let newYear = null;
|
|
246
|
+
const maxOrder = numberOfMonths - 1;
|
|
247
|
+
let stringKey = "";
|
|
248
|
+
let lastMonth = null;
|
|
249
|
+
let firstMonth = null;
|
|
250
|
+
switch (direction) {
|
|
251
|
+
case navigateNext:
|
|
252
|
+
Object.keys(currentMonths.value).forEach((key) => {
|
|
253
|
+
const displayedMonth = currentMonths.value[key];
|
|
254
|
+
if (displayedMonth.order === 0) {
|
|
255
|
+
lastMonth = displayedMonth;
|
|
256
|
+
}
|
|
257
|
+
if (displayedMonth.order === maxOrder) {
|
|
258
|
+
displayedMonthsKeys.value.splice(
|
|
259
|
+
displayedMonthsKeys.value.indexOf(key),
|
|
260
|
+
1
|
|
261
|
+
);
|
|
262
|
+
delete currentMonths.value[key];
|
|
263
|
+
} else {
|
|
264
|
+
displayedMonth.order += 1;
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
newMonth = lastMonth.parsedMonth.month + 1;
|
|
268
|
+
newYear = lastMonth.parsedMonth.year;
|
|
269
|
+
if (newMonth > 11) {
|
|
270
|
+
newMonth = 0;
|
|
271
|
+
newYear += 1;
|
|
272
|
+
}
|
|
273
|
+
stringKey = `${newYear.toString()}_${newMonth.toString()}`;
|
|
274
|
+
currentMonths.value[stringKey] = {
|
|
275
|
+
parsedMonth: createMonth(newMonth, newYear),
|
|
276
|
+
order: 0
|
|
277
|
+
};
|
|
278
|
+
displayedMonthsKeys.value.push(stringKey);
|
|
279
|
+
break;
|
|
280
|
+
case navigatePrev:
|
|
281
|
+
Object.keys(currentMonths.value).forEach((key) => {
|
|
282
|
+
const displayedMonth = currentMonths.value[key];
|
|
283
|
+
if (displayedMonth.order === maxOrder) {
|
|
284
|
+
firstMonth = displayedMonth;
|
|
285
|
+
}
|
|
286
|
+
if (displayedMonth.order === 0) {
|
|
287
|
+
displayedMonthsKeys.value.splice(
|
|
288
|
+
displayedMonthsKeys.value.indexOf(key),
|
|
289
|
+
1
|
|
290
|
+
);
|
|
291
|
+
delete currentMonths.value[key];
|
|
292
|
+
} else {
|
|
293
|
+
displayedMonth.order -= 1;
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
newMonth = firstMonth.parsedMonth.month - 1;
|
|
297
|
+
newYear = firstMonth.parsedMonth.year;
|
|
298
|
+
if (newMonth < 0) {
|
|
299
|
+
newMonth = 11;
|
|
300
|
+
newYear -= 1;
|
|
301
|
+
}
|
|
302
|
+
stringKey = `${newYear.toString()}_${newMonth.toString()}`;
|
|
303
|
+
currentMonths.value[stringKey] = {
|
|
304
|
+
parsedMonth: createMonth(newMonth, newYear),
|
|
305
|
+
order: maxOrder
|
|
306
|
+
};
|
|
307
|
+
displayedMonthsKeys.value.unshift(stringKey);
|
|
308
|
+
break;
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
const getSelectedRangeByType = (dateRange) => {
|
|
312
|
+
let formattedDateRange;
|
|
313
|
+
switch (rangeType.value) {
|
|
314
|
+
case "week":
|
|
315
|
+
formattedDateRange = {
|
|
316
|
+
fromStart: dateServices.getFirstDayOfWeek(dateRange.from),
|
|
317
|
+
fromEnd: dateServices.getLastDayOfWeek(dateRange.from),
|
|
318
|
+
toStart: dateServices.getFirstDayOfWeek(dateRange.to),
|
|
319
|
+
toEnd: dateServices.getLastDayOfWeek(dateRange.to)
|
|
320
|
+
};
|
|
321
|
+
break;
|
|
322
|
+
case "month":
|
|
323
|
+
formattedDateRange = {
|
|
324
|
+
fromStart: new Date(
|
|
325
|
+
dateRange.from.getFullYear(),
|
|
326
|
+
dateRange.from.getMonth(),
|
|
327
|
+
1
|
|
328
|
+
),
|
|
329
|
+
fromEnd: dateServices.getLastDayOfMonth(dateRange.from),
|
|
330
|
+
toStart: new Date(
|
|
331
|
+
dateRange.to.getFullYear(),
|
|
332
|
+
dateRange.to.getMonth(),
|
|
333
|
+
1
|
|
334
|
+
),
|
|
335
|
+
toEnd: dateServices.getLastDayOfMonth(dateRange.to)
|
|
336
|
+
};
|
|
337
|
+
break;
|
|
338
|
+
case "date":
|
|
339
|
+
default:
|
|
340
|
+
formattedDateRange = {
|
|
341
|
+
fromStart: dateRange.from,
|
|
342
|
+
fromEnd: dateRange.from,
|
|
343
|
+
toStart: dateRange.to,
|
|
344
|
+
toEnd: dateRange.to
|
|
345
|
+
};
|
|
346
|
+
break;
|
|
347
|
+
}
|
|
348
|
+
return formattedDateRange;
|
|
349
|
+
};
|
|
350
|
+
const compareDates = (dateA, dateB) => {
|
|
351
|
+
return dateA.getUTCFullYear() === dateB.getUTCFullYear() && dateA.getUTCMonth() === dateB.getUTCMonth() && dateA.getUTCDate() === dateB.getUTCDate();
|
|
352
|
+
};
|
|
353
|
+
const determinePreset = (range) => {
|
|
354
|
+
let found = false;
|
|
355
|
+
const currentRange = {
|
|
356
|
+
from: new Date(range.from),
|
|
357
|
+
to: new Date(range.to)
|
|
358
|
+
};
|
|
359
|
+
currentRange.from.setHours(0, 0, 0, 0);
|
|
360
|
+
currentRange.to.setHours(0, 0, 0, 0);
|
|
361
|
+
const availablePresetKeys = presets.value.map((item) => item.id);
|
|
362
|
+
Object.keys(datePresets.value).forEach((key) => {
|
|
363
|
+
const dateRange = datePresets.value[key];
|
|
364
|
+
if (key !== "custom" && !found && availablePresetKeys.indexOf(key) !== -1) {
|
|
365
|
+
const presetRange = dateRange.dates();
|
|
366
|
+
presetRange.from.setHours(0, 0, 0, 0);
|
|
367
|
+
presetRange.to.setHours(0, 0, 0, 0);
|
|
368
|
+
if (compareDates(presetRange.from, currentRange.from) && compareDates(presetRange.to, currentRange.to)) {
|
|
369
|
+
selectedPreset.value = key;
|
|
370
|
+
found = true;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
if (found) {
|
|
375
|
+
const presetItem = presets.value.find(
|
|
376
|
+
(preset) => preset.id === selectedPreset.value
|
|
377
|
+
);
|
|
378
|
+
emit("dateRangePresetNameChanged", presetItem.name);
|
|
379
|
+
} else {
|
|
380
|
+
emit("dateRangePresetNameChanged", null);
|
|
381
|
+
selectedPreset.value = "custom";
|
|
382
|
+
}
|
|
383
|
+
savedPreset.value = selectedPreset.value;
|
|
384
|
+
};
|
|
385
|
+
const selectionChanged = (day, month, year) => {
|
|
386
|
+
if (!selectionStart.value.started) {
|
|
387
|
+
selectedPreset.value = "custom";
|
|
388
|
+
selectionStart.value.started = true;
|
|
389
|
+
selectionStart.value.date = new Date(year, month, day.value);
|
|
390
|
+
initRange(
|
|
391
|
+
{ from: selectionStart.value.date, to: selectionStart.value.date },
|
|
392
|
+
true
|
|
393
|
+
);
|
|
394
|
+
} else {
|
|
395
|
+
const endDate = new Date(year, month, day.value);
|
|
396
|
+
const startDate = selectionStart.value.date;
|
|
397
|
+
selectionStart.value.started = false;
|
|
398
|
+
selectionStart.value.date = null;
|
|
399
|
+
if (endDate < startDate) {
|
|
400
|
+
selectionChanged(day, month, year);
|
|
401
|
+
} else {
|
|
402
|
+
initRange({ from: startDate, to: endDate });
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
const checkPlacement = () => {
|
|
407
|
+
const position = datePicker.value.offsetLeft;
|
|
408
|
+
if (window.innerWidth - position > 930) {
|
|
409
|
+
return "left";
|
|
410
|
+
}
|
|
411
|
+
return "right";
|
|
412
|
+
};
|
|
413
|
+
const toggle = (dismiss = true) => {
|
|
414
|
+
isOpen.value = !isOpen.value;
|
|
415
|
+
if (isOpen.value) {
|
|
416
|
+
placement.value = checkPlacement();
|
|
417
|
+
initRange(props.range);
|
|
418
|
+
initMonths();
|
|
419
|
+
emit("opened");
|
|
420
|
+
} else {
|
|
421
|
+
initRange(props.range);
|
|
422
|
+
initMonths();
|
|
423
|
+
selectedPreset.value = savedPreset.value;
|
|
424
|
+
if (dismiss)
|
|
425
|
+
emit("dismissed");
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
const closeDatePicker = () => {
|
|
429
|
+
if (isOpen.value) {
|
|
430
|
+
toggle();
|
|
431
|
+
}
|
|
432
|
+
};
|
|
433
|
+
const initPresets = () => {
|
|
434
|
+
datePresets.value = dateServices.getPresetsFunctions(props.includeToday);
|
|
435
|
+
datePresets.value.custom = {
|
|
436
|
+
dates: () => props.range
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
const isCompact = computed(() => {
|
|
440
|
+
return (displayedMonthsKeys.value || []).reduce((res, monthKey) => {
|
|
441
|
+
const lastWeek = currentMonths.value[monthKey].parsedMonth.weeks[currentMonths.value[monthKey].parsedMonth.weeks.length - 1];
|
|
442
|
+
const hasDays = lastWeek.filter(
|
|
443
|
+
(item) => item.value !== 0
|
|
444
|
+
).length;
|
|
445
|
+
return res && !hasDays;
|
|
446
|
+
}, true);
|
|
447
|
+
});
|
|
448
|
+
const init = () => {
|
|
449
|
+
if (!props.range)
|
|
450
|
+
return;
|
|
451
|
+
initialized.value = true;
|
|
452
|
+
changeType(props.initialType || props.types[0]);
|
|
453
|
+
initPresets();
|
|
454
|
+
determinePreset(props.range);
|
|
455
|
+
initRange(props.range);
|
|
456
|
+
initMonths();
|
|
457
|
+
setCurrentDate();
|
|
458
|
+
};
|
|
459
|
+
onMounted(() => {
|
|
460
|
+
init();
|
|
461
|
+
});
|
|
462
|
+
onBeforeMount(() => {
|
|
463
|
+
const keyupHandler = (e) => {
|
|
464
|
+
if (e.key === "Escape" && isOpen.value)
|
|
465
|
+
closeDatePicker();
|
|
466
|
+
};
|
|
467
|
+
document.addEventListener("keyup", keyupHandler);
|
|
468
|
+
onUnmounted(() => {
|
|
469
|
+
document.removeEventListener("keyup", keyupHandler);
|
|
470
|
+
});
|
|
471
|
+
});
|
|
472
|
+
watch(
|
|
473
|
+
() => props.range,
|
|
474
|
+
(newVal, oldVal) => {
|
|
475
|
+
if (newVal && newVal !== oldVal) {
|
|
476
|
+
if (initialized.value) {
|
|
477
|
+
determinePreset(newVal);
|
|
478
|
+
initRange(newVal);
|
|
479
|
+
setCurrentDate();
|
|
480
|
+
} else {
|
|
481
|
+
init();
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
);
|
|
486
|
+
watch(isOpen, (value) => {
|
|
487
|
+
if (!value) {
|
|
488
|
+
selectionStart.value.started = false;
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
const selectedPresetName = computed(() => {
|
|
492
|
+
const newSelectedPreset = presets.value.find(
|
|
493
|
+
(preset) => preset.id === selectedPreset.value
|
|
494
|
+
);
|
|
495
|
+
return newSelectedPreset ? newSelectedPreset.name : "";
|
|
496
|
+
});
|
|
497
|
+
const datePickerId = computed(() => `datepicker${props.uniqueId}`);
|
|
498
|
+
const getMaxAllowedDate = computed(() => {
|
|
499
|
+
const dates = [props.maxDate, maxAllowedDate.value].filter((date) => date);
|
|
500
|
+
return dates.length ? min(dates) : null;
|
|
501
|
+
});
|
|
502
|
+
return (_ctx, _cache) => {
|
|
503
|
+
return openBlock(), createElementBlock("div", {
|
|
504
|
+
id: unref(datePickerId),
|
|
505
|
+
ref_key: "datePicker",
|
|
506
|
+
ref: datePicker,
|
|
507
|
+
class: normalizeClass(["relative-wrap", { "date-range-disabled": __props.disabled }])
|
|
508
|
+
}, [
|
|
509
|
+
createElementVNode("div", {
|
|
510
|
+
class: "date-range-field",
|
|
511
|
+
onClick: _cache[1] || (_cache[1] = ($event) => toggle())
|
|
512
|
+
}, [
|
|
513
|
+
renderSlot(_ctx.$slots, "field", {
|
|
514
|
+
currentDate: currentDate.value,
|
|
515
|
+
isOpen: unref(isOpen)
|
|
516
|
+
}, () => [
|
|
517
|
+
createElementVNode("span", null, toDisplayString(currentDate.value), 1),
|
|
518
|
+
_cache[0] || (setBlockTracking(-1), _cache[0] = createElementVNode("div", { class: "small-triangle" }), setBlockTracking(1), _cache[0])
|
|
519
|
+
], true)
|
|
520
|
+
]),
|
|
521
|
+
withDirectives(createElementVNode("div", {
|
|
522
|
+
id: "datepickerPopup" + __props.uniqueId,
|
|
523
|
+
ref_key: "popup",
|
|
524
|
+
ref: popup,
|
|
525
|
+
class: normalizeClass(["pop-up", [
|
|
526
|
+
placement.value,
|
|
527
|
+
__props.openOnTop ? "open-on-top" : "",
|
|
528
|
+
!__props.showPresets ? "hide-presets" : ""
|
|
529
|
+
]])
|
|
530
|
+
}, [
|
|
531
|
+
__props.types.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
532
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.types, (type) => {
|
|
533
|
+
return openBlock(), createElementBlock("span", {
|
|
534
|
+
key: type,
|
|
535
|
+
class: normalizeClass(["range-type", { "selected-range-type": rangeType.value === type }]),
|
|
536
|
+
onClick: ($event) => changeType(type, true)
|
|
537
|
+
}, [
|
|
538
|
+
createVNode(unref(Text), { size: "sm" }, {
|
|
539
|
+
default: withCtx(() => [
|
|
540
|
+
createTextVNode(toDisplayString(unref(typeToName)[type]), 1)
|
|
541
|
+
]),
|
|
542
|
+
_: 2
|
|
543
|
+
}, 1024)
|
|
544
|
+
], 10, _hoisted_4);
|
|
545
|
+
}), 128))
|
|
546
|
+
])) : createCommentVNode("", true),
|
|
547
|
+
createElementVNode("div", {
|
|
548
|
+
class: normalizeClass(["flex", { "pop-up-content": __props.types.length > 1 }])
|
|
549
|
+
}, [
|
|
550
|
+
__props.showPresets ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
551
|
+
createElementVNode("div", {
|
|
552
|
+
id: "presets" + __props.uniqueId,
|
|
553
|
+
class: "preset-dropdown"
|
|
554
|
+
}, [
|
|
555
|
+
createElementVNode("ul", {
|
|
556
|
+
id: "customDropDownList" + __props.uniqueId
|
|
557
|
+
}, [
|
|
558
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(presets.value, (uic) => {
|
|
559
|
+
return openBlock(), createElementBlock("li", {
|
|
560
|
+
key: uic.id,
|
|
561
|
+
class: normalizeClass({
|
|
562
|
+
"selected-preset-container": selectedPreset.value === uic.id
|
|
563
|
+
})
|
|
564
|
+
}, [
|
|
565
|
+
createElementVNode("div", {
|
|
566
|
+
class: normalizeClass([{ "selected-preset": selectedPreset.value === uic.id }, "preset-element"]),
|
|
567
|
+
onClick: ($event) => presetChanged(uic)
|
|
568
|
+
}, [
|
|
569
|
+
createVNode(unref(Text), { size: "sm" }, {
|
|
570
|
+
default: withCtx(() => [
|
|
571
|
+
createTextVNode(toDisplayString(uic["name"]), 1)
|
|
572
|
+
]),
|
|
573
|
+
_: 2
|
|
574
|
+
}, 1024)
|
|
575
|
+
], 10, _hoisted_8),
|
|
576
|
+
withDirectives(createElementVNode("div", _hoisted_9, null, 512), [
|
|
577
|
+
[vShow, uic.id === "custom"]
|
|
578
|
+
])
|
|
579
|
+
], 2);
|
|
580
|
+
}), 128))
|
|
581
|
+
], 8, _hoisted_7)
|
|
582
|
+
], 8, _hoisted_6),
|
|
583
|
+
createElementVNode("div", _hoisted_10, toDisplayString(unref(messagePerType)[rangeType.value]), 1)
|
|
584
|
+
])) : createCommentVNode("", true),
|
|
585
|
+
createElementVNode("div", {
|
|
586
|
+
class: "calendar-wrap",
|
|
587
|
+
style: normalizeStyle({ height: unref(isCompact) ? "336px" : "372px" })
|
|
588
|
+
}, [
|
|
589
|
+
createElementVNode("div", _hoisted_11, [
|
|
590
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(displayedMonthsKeys.value, (currMonth, index) => {
|
|
591
|
+
return openBlock(), createElementBlock("div", { key: currMonth }, [
|
|
592
|
+
createVNode(CalendarMonth, {
|
|
593
|
+
id: __props.uniqueId,
|
|
594
|
+
navigation: getNavigation(
|
|
595
|
+
index === 0,
|
|
596
|
+
index === displayedMonthsKeys.value.length - 1
|
|
597
|
+
),
|
|
598
|
+
year: currentMonths.value[currMonth].parsedMonth.year,
|
|
599
|
+
days: currentMonths.value[currMonth].parsedMonth.days,
|
|
600
|
+
weeks: currentMonths.value[currMonth].parsedMonth.weeks,
|
|
601
|
+
month: currentMonths.value[currMonth].parsedMonth.month,
|
|
602
|
+
range: selectedRange.value,
|
|
603
|
+
type: rangeType.value,
|
|
604
|
+
"allowed-days": __props.allowedDays,
|
|
605
|
+
"max-allowed-date": unref(getMaxAllowedDate),
|
|
606
|
+
onSelectionChanged: selectionChanged,
|
|
607
|
+
onNavigation: navigationCallback
|
|
608
|
+
}, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date"])
|
|
609
|
+
]);
|
|
610
|
+
}), 128)),
|
|
611
|
+
createElementVNode("div", _hoisted_12, [
|
|
612
|
+
createElementVNode("div", _hoisted_13, [
|
|
613
|
+
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
614
|
+
]),
|
|
615
|
+
withDirectives(createElementVNode("div", { class: "error" }, toDisplayString(error.value), 513), [
|
|
616
|
+
[vShow, displayError.value]
|
|
617
|
+
]),
|
|
618
|
+
_cache[2] || (setBlockTracking(-1), _cache[2] = createElementVNode("div", { class: "buttons" }, [
|
|
619
|
+
createVNode(unref(Button), {
|
|
620
|
+
id: "button-ok" + __props.uniqueId,
|
|
621
|
+
size: "sm",
|
|
622
|
+
class: "primary button small",
|
|
623
|
+
onClick: ($event) => apply()
|
|
624
|
+
}, {
|
|
625
|
+
default: withCtx(() => [
|
|
626
|
+
createTextVNode(" Apply ")
|
|
627
|
+
]),
|
|
628
|
+
_: 1
|
|
629
|
+
}, 8, ["id", "onClick"]),
|
|
630
|
+
createVNode(unref(Button), {
|
|
631
|
+
id: "button-cancel" + __props.uniqueId,
|
|
632
|
+
size: "sm",
|
|
633
|
+
theme: "third",
|
|
634
|
+
class: "button small border third transparent",
|
|
635
|
+
onClick: ($event) => toggle()
|
|
636
|
+
}, {
|
|
637
|
+
default: withCtx(() => [
|
|
638
|
+
createTextVNode(" Cancel ")
|
|
639
|
+
]),
|
|
640
|
+
_: 1
|
|
641
|
+
}, 8, ["id", "onClick"])
|
|
642
|
+
]), setBlockTracking(1), _cache[2])
|
|
643
|
+
])
|
|
644
|
+
])
|
|
645
|
+
], 4)
|
|
646
|
+
], 2)
|
|
647
|
+
], 10, _hoisted_2), [
|
|
648
|
+
[vShow, unref(isOpen)]
|
|
649
|
+
])
|
|
650
|
+
], 10, _hoisted_1);
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
});
|
|
654
|
+
var DateRange = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-46a2bd5d"]]);
|
|
655
|
+
|
|
656
|
+
export { DateRange as default };
|