@ironsource/shared-ui 1.4.0-rc.10
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/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/IncludeExcludeOption.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 +107 -0
- 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 +31 -0
- package/components/appIcon/AppIcon.vue.js +43 -0
- package/components/appIcon/index.d.ts +30 -0
- package/components/appIcon/index.vue.js +6 -0
- package/components/appTrigger/AppTrigger.vue.d.ts +37 -0
- package/components/appTrigger/AppTrigger.vue.js +169 -0
- package/components/appTrigger/index.d.ts +39 -0
- package/components/appTrigger/index.vue.js +6 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +55 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +146 -0
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +45 -0
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +93 -0
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +2 -0
- package/components/autocompleteDropdown/GroupOption.vue.js +42 -0
- package/components/autocompleteDropdown/consts.d.ts +2 -0
- package/components/autocompleteDropdown/consts.vue.js +4 -0
- package/components/autocompleteDropdown/index.d.ts +82 -0
- package/components/autocompleteDropdown/index.vue.js +6 -0
- package/components/autocompleteDropdown/stubs.d.ts +21 -0
- package/components/autocompleteDropdown/useKeyboardNavigation.d.ts +13 -0
- package/components/autocompleteDropdown/useKeyboardNavigation.vue.js +79 -0
- package/components/button/Button.vue.d.ts +37 -0
- package/components/button/Button.vue.js +63 -0
- package/components/button/ButtonBase.vue.d.ts +48 -0
- package/components/button/ButtonBase.vue.js +63 -0
- package/components/button/IconButton.vue.d.ts +31 -0
- package/components/button/IconButton.vue.js +51 -0
- package/components/button/ScrollButton.vue.d.ts +43 -0
- package/components/button/ScrollButton.vue.js +48 -0
- package/components/button/consts.d.ts +16 -0
- package/components/button/consts.vue.js +17 -0
- package/components/button/icon/LoaderCircleIcon.vue.d.ts +2 -0
- package/components/button/icon/LoaderCircleIcon.vue.js +39 -0
- package/components/button/icon/LoaderDotsIcon.vue.d.ts +2 -0
- package/components/button/icon/LoaderDotsIcon.vue.js +22 -0
- package/components/button/index.d.ts +115 -0
- package/components/button/index.vue.js +10 -0
- package/components/checkbox/Checkbox.vue.d.ts +44 -0
- package/components/checkbox/Checkbox.vue.js +110 -0
- package/components/checkbox/icons/checked.vue.d.ts +2 -0
- package/components/checkbox/icons/checked.vue.js +34 -0
- package/components/checkbox/icons/indeterminate.vue.d.ts +2 -0
- package/components/checkbox/icons/indeterminate.vue.js +35 -0
- package/components/checkbox/icons/unchecked.vue.d.ts +2 -0
- package/components/checkbox/icons/unchecked.vue.js +30 -0
- package/components/checkbox/index.d.ts +55 -0
- package/components/checkbox/index.vue.js +6 -0
- package/components/chip/Chip.vue.d.ts +43 -0
- package/components/chip/Chip.vue.js +64 -0
- package/components/chip/index.d.ts +52 -0
- package/components/chip/index.vue.js +6 -0
- package/components/cssBaseline/CssBaseline.vue.d.ts +2 -0
- package/components/cssBaseline/CssBaseline.vue.js +12 -0
- package/components/cssBaseline/index.d.ts +3 -0
- package/components/cssBaseline/index.vue.js +6 -0
- package/components/datePicker/DatePicker.vue.d.ts +50 -0
- package/components/datePicker/DatePicker.vue.js +125 -0
- package/components/datePicker/DatePickerMonth.vue.d.ts +43 -0
- package/components/datePicker/DatePickerMonth.vue.js +99 -0
- package/components/datePicker/index.d.ts +65 -0
- package/components/datePicker/index.vue.js +6 -0
- package/components/dateRange/CalendarMonth.vue.d.ts +64 -0
- package/components/dateRange/CalendarMonth.vue.js +318 -0
- package/components/dateRange/DateRange.vue.d.ts +102 -0
- package/components/dateRange/DateRange.vue.js +656 -0
- package/components/dateRange/DateRangePicker.vue.d.ts +94 -0
- package/components/dateRange/DateServices.d.ts +140 -0
- package/components/dateRange/DateServices.vue.js +374 -0
- package/components/dateRange/consts.d.ts +49 -0
- package/components/dateRange/consts.vue.js +70 -0
- package/components/dateRange/index.d.ts +176 -0
- package/components/dateRange/index.vue.js +6 -0
- package/components/dialog/Dialog.vue.d.ts +99 -0
- package/components/dialog/Dialog.vue.js +190 -0
- package/components/dialog/Reason.d.ts +6 -0
- package/components/dialog/Reason.vue.js +9 -0
- package/components/dialog/index.d.ts +168 -0
- package/components/dialog/index.vue.js +6 -0
- package/components/dropdown/Dropdown.vue.d.ts +198 -0
- package/components/dropdown/Dropdown.vue.js +733 -0
- package/components/dropdown/DropdownContext.d.ts +40 -0
- package/components/dropdown/DropdownContext.vue.js +29 -0
- package/components/dropdown/Label.vue.d.ts +2 -0
- package/components/dropdown/Label.vue.js +41 -0
- package/components/dropdown/Option.vue.d.ts +53 -0
- package/components/dropdown/Option.vue.js +133 -0
- package/components/dropdown/SearchInput.vue.d.ts +2 -0
- package/components/dropdown/SearchInput.vue.js +119 -0
- package/components/dropdown/index.d.ts +381 -0
- package/components/dropdown/index.vue.js +12 -0
- package/components/emptyState/EmptyState.vue.d.ts +81 -0
- package/components/emptyState/EmptyState.vue.js +98 -0
- package/components/emptyState/EmptyStateIcon.vue.d.ts +2 -0
- package/components/emptyState/EmptyStateIcon.vue.js +44 -0
- package/components/emptyState/index.d.ts +135 -0
- package/components/emptyState/index.vue.js +6 -0
- package/components/filterDropdown/AddFilterButton.vue.d.ts +19 -0
- package/components/filterDropdown/AddFilterButton.vue.js +53 -0
- package/components/filterDropdown/FilterDropdown.vue.d.ts +40 -0
- package/components/filterDropdown/FilterDropdown.vue.js +56 -0
- package/components/filterDropdown/index.d.ts +81 -0
- package/components/filterDropdown/index.vue.js +8 -0
- package/components/filtersPanel/Filter.d.ts +18 -0
- package/components/filtersPanel/FilterSearchInput.vue.d.ts +2 -0
- package/components/filtersPanel/FilterSearchInput.vue.js +54 -0
- package/components/filtersPanel/FiltersPanel.vue.d.ts +31 -0
- package/components/filtersPanel/FiltersPanel.vue.js +55 -0
- package/components/filtersPanel/index.d.ts +19 -0
- package/components/filtersPanel/index.vue.js +14 -0
- package/components/filtersPanel/useHiddenFilter.d.ts +14 -0
- package/components/filtersPanel/useHiddenFilter.vue.js +33 -0
- package/components/floatingToolbar/FloatingToolbar.vue.d.ts +35 -0
- package/components/floatingToolbar/FloatingToolbar.vue.js +78 -0
- package/components/floatingToolbar/index.d.ts +38 -0
- package/components/floatingToolbar/index.vue.js +6 -0
- package/components/icon/Icon.vue.d.ts +32 -0
- package/components/icon/Icon.vue.js +276 -0
- package/components/icon/icons/A.vue.d.ts +2 -0
- package/components/icon/icons/A.vue.js +31 -0
- package/components/icon/icons/A2.vue.d.ts +2 -0
- package/components/icon/icons/A2.vue.js +24 -0
- package/components/icon/icons/ABTest.vue.d.ts +2 -0
- package/components/icon/icons/ABTest.vue.js +26 -0
- package/components/icon/icons/ABTest2.vue.d.ts +2 -0
- package/components/icon/icons/ABTest2.vue.js +21 -0
- package/components/icon/icons/ACircle.vue.d.ts +2 -0
- package/components/icon/icons/ACircle.vue.js +26 -0
- package/components/icon/icons/AccountBalanceWallet.vue.d.ts +2 -0
- package/components/icon/icons/AccountBalanceWallet.vue.js +29 -0
- package/components/icon/icons/AccountCircle.vue.d.ts +2 -0
- package/components/icon/icons/AccountCircle.vue.js +26 -0
- package/components/icon/icons/AccountCircleOutline.vue.d.ts +2 -0
- package/components/icon/icons/AccountCircleOutline.vue.js +24 -0
- package/components/icon/icons/Add.vue.d.ts +2 -0
- package/components/icon/icons/Add.vue.js +24 -0
- package/components/icon/icons/Analytics.vue.d.ts +2 -0
- package/components/icon/icons/Analytics.vue.js +24 -0
- package/components/icon/icons/Android.vue.d.ts +2 -0
- package/components/icon/icons/Android.vue.js +26 -0
- package/components/icon/icons/AngleDown.vue.d.ts +2 -0
- package/components/icon/icons/AngleDown.vue.js +26 -0
- package/components/icon/icons/AngleLeft.vue.d.ts +2 -0
- package/components/icon/icons/AngleLeft.vue.js +26 -0
- package/components/icon/icons/AngleRight.vue.d.ts +2 -0
- package/components/icon/icons/AngleRight.vue.js +26 -0
- package/components/icon/icons/AngleUp.vue.d.ts +2 -0
- package/components/icon/icons/AngleUp.vue.js +26 -0
- package/components/icon/icons/AppStore.vue.d.ts +2 -0
- package/components/icon/icons/AppStore.vue.js +28 -0
- package/components/icon/icons/AreaChart.vue.d.ts +2 -0
- package/components/icon/icons/AreaChart.vue.js +24 -0
- package/components/icon/icons/ArrowBack.vue.d.ts +2 -0
- package/components/icon/icons/ArrowBack.vue.js +24 -0
- package/components/icon/icons/ArrowDownward.vue.d.ts +2 -0
- package/components/icon/icons/ArrowDownward.vue.js +24 -0
- package/components/icon/icons/ArrowForward.vue.d.ts +2 -0
- package/components/icon/icons/ArrowForward.vue.js +24 -0
- package/components/icon/icons/ArrowLeft.vue.d.ts +2 -0
- package/components/icon/icons/ArrowLeft.vue.js +24 -0
- package/components/icon/icons/ArrowRight.vue.d.ts +2 -0
- package/components/icon/icons/ArrowRight.vue.js +24 -0
- package/components/icon/icons/ArrowSort-Down.vue.d.ts +2 -0
- package/components/icon/icons/ArrowSort-Down.vue.js +26 -0
- package/components/icon/icons/ArrowSort-Up.vue.d.ts +2 -0
- package/components/icon/icons/ArrowSort-Up.vue.js +26 -0
- package/components/icon/icons/ArrowUpward.vue.d.ts +2 -0
- package/components/icon/icons/ArrowUpward.vue.js +24 -0
- package/components/icon/icons/AutoAwesome.vue.d.ts +2 -0
- package/components/icon/icons/AutoAwesome.vue.js +24 -0
- package/components/icon/icons/AutoMode.vue.d.ts +2 -0
- package/components/icon/icons/AutoMode.vue.js +26 -0
- package/components/icon/icons/Autorenew.vue.d.ts +2 -0
- package/components/icon/icons/Autorenew.vue.js +24 -0
- package/components/icon/icons/B.vue.d.ts +2 -0
- package/components/icon/icons/B.vue.js +31 -0
- package/components/icon/icons/B2.vue.d.ts +2 -0
- package/components/icon/icons/B2.vue.js +24 -0
- package/components/icon/icons/BCircle.vue.d.ts +2 -0
- package/components/icon/icons/BCircle.vue.js +26 -0
- package/components/icon/icons/Banner.vue.d.ts +2 -0
- package/components/icon/icons/Banner.vue.js +31 -0
- package/components/icon/icons/Bidding.vue.d.ts +2 -0
- package/components/icon/icons/Bidding.vue.js +41 -0
- package/components/icon/icons/Bidding2.vue.d.ts +2 -0
- package/components/icon/icons/Bidding2.vue.js +41 -0
- package/components/icon/icons/Block.vue.d.ts +2 -0
- package/components/icon/icons/Block.vue.js +24 -0
- package/components/icon/icons/BorderColor.vue.d.ts +2 -0
- package/components/icon/icons/BorderColor.vue.js +26 -0
- package/components/icon/icons/Bug.vue.d.ts +2 -0
- package/components/icon/icons/Bug.vue.js +26 -0
- package/components/icon/icons/Bullhorn.vue.d.ts +2 -0
- package/components/icon/icons/Bullhorn.vue.js +24 -0
- package/components/icon/icons/BullseyeArrow.vue.d.ts +2 -0
- package/components/icon/icons/BullseyeArrow.vue.js +30 -0
- package/components/icon/icons/Cached.vue.d.ts +2 -0
- package/components/icon/icons/Cached.vue.js +24 -0
- package/components/icon/icons/Calendar.vue.d.ts +2 -0
- package/components/icon/icons/Calendar.vue.js +30 -0
- package/components/icon/icons/CalendarToday.vue.d.ts +2 -0
- package/components/icon/icons/CalendarToday.vue.js +24 -0
- package/components/icon/icons/Cancel.vue.d.ts +2 -0
- package/components/icon/icons/Cancel.vue.js +26 -0
- package/components/icon/icons/ChartBar.vue.d.ts +2 -0
- package/components/icon/icons/ChartBar.vue.js +26 -0
- package/components/icon/icons/ChartLine.vue.d.ts +2 -0
- package/components/icon/icons/ChartLine.vue.js +26 -0
- package/components/icon/icons/ChartMixed.vue.d.ts +2 -0
- package/components/icon/icons/ChartMixed.vue.js +26 -0
- package/components/icon/icons/Check.vue.d.ts +2 -0
- package/components/icon/icons/Check.vue.js +24 -0
- package/components/icon/icons/CheckBold.vue.d.ts +2 -0
- package/components/icon/icons/CheckBold.vue.js +26 -0
- package/components/icon/icons/Close.vue.d.ts +2 -0
- package/components/icon/icons/Close.vue.js +24 -0
- package/components/icon/icons/CloseBold.vue.d.ts +2 -0
- package/components/icon/icons/CloseBold.vue.js +24 -0
- package/components/icon/icons/ComputerMouse.vue.d.ts +2 -0
- package/components/icon/icons/ComputerMouse.vue.js +30 -0
- package/components/icon/icons/CopyTo-Clipboard.vue.d.ts +2 -0
- package/components/icon/icons/CopyTo-Clipboard.vue.js +26 -0
- package/components/icon/icons/Create.vue.d.ts +2 -0
- package/components/icon/icons/Create.vue.js +26 -0
- package/components/icon/icons/Creative.vue.d.ts +2 -0
- package/components/icon/icons/Creative.vue.js +26 -0
- package/components/icon/icons/Cross.vue.d.ts +2 -0
- package/components/icon/icons/Cross.vue.js +26 -0
- package/components/icon/icons/CrownFill.vue.d.ts +2 -0
- package/components/icon/icons/CrownFill.vue.js +24 -0
- package/components/icon/icons/Cup.vue.d.ts +2 -0
- package/components/icon/icons/Cup.vue.js +24 -0
- package/components/icon/icons/CupA.vue.d.ts +2 -0
- package/components/icon/icons/CupA.vue.js +21 -0
- package/components/icon/icons/CupB.vue.d.ts +2 -0
- package/components/icon/icons/CupB.vue.js +21 -0
- package/components/icon/icons/Delete.vue.d.ts +2 -0
- package/components/icon/icons/Delete.vue.js +26 -0
- package/components/icon/icons/Diamond.vue.d.ts +2 -0
- package/components/icon/icons/Diamond.vue.js +24 -0
- package/components/icon/icons/Dots.vue.d.ts +2 -0
- package/components/icon/icons/Dots.vue.js +26 -0
- package/components/icon/icons/Download.vue.d.ts +2 -0
- package/components/icon/icons/Download.vue.js +26 -0
- package/components/icon/icons/Download2.vue.d.ts +2 -0
- package/components/icon/icons/Download2.vue.js +30 -0
- package/components/icon/icons/DownloadDone.vue.d.ts +2 -0
- package/components/icon/icons/DownloadDone.vue.js +26 -0
- package/components/icon/icons/DragIndicator.vue.d.ts +2 -0
- package/components/icon/icons/DragIndicator.vue.js +24 -0
- package/components/icon/icons/Ecpi.vue.d.ts +2 -0
- package/components/icon/icons/Ecpi.vue.js +39 -0
- package/components/icon/icons/Email.vue.d.ts +2 -0
- package/components/icon/icons/Email.vue.js +26 -0
- package/components/icon/icons/EmailEnvelope.vue.d.ts +2 -0
- package/components/icon/icons/EmailEnvelope.vue.js +24 -0
- package/components/icon/icons/Error.vue.d.ts +2 -0
- package/components/icon/icons/Error.vue.js +26 -0
- package/components/icon/icons/Eye.vue.d.ts +2 -0
- package/components/icon/icons/Eye.vue.js +29 -0
- package/components/icon/icons/FavoriteBorder.vue.d.ts +2 -0
- package/components/icon/icons/FavoriteBorder.vue.js +26 -0
- package/components/icon/icons/Filter.vue.d.ts +2 -0
- package/components/icon/icons/Filter.vue.js +26 -0
- package/components/icon/icons/FilterList.vue.d.ts +2 -0
- package/components/icon/icons/FilterList.vue.js +24 -0
- package/components/icon/icons/Frame.vue.d.ts +2 -0
- package/components/icon/icons/Frame.vue.js +26 -0
- package/components/icon/icons/Fullscreen.vue.d.ts +2 -0
- package/components/icon/icons/Fullscreen.vue.js +26 -0
- package/components/icon/icons/FullscreenExit.vue.d.ts +2 -0
- package/components/icon/icons/FullscreenExit.vue.js +26 -0
- package/components/icon/icons/Functions.vue.d.ts +2 -0
- package/components/icon/icons/Functions.vue.js +24 -0
- package/components/icon/icons/GamepadAlt.vue.d.ts +2 -0
- package/components/icon/icons/GamepadAlt.vue.js +26 -0
- package/components/icon/icons/Games.vue.d.ts +2 -0
- package/components/icon/icons/Games.vue.js +26 -0
- package/components/icon/icons/Gavel.vue.d.ts +2 -0
- package/components/icon/icons/Gavel.vue.js +26 -0
- package/components/icon/icons/Gift.vue.d.ts +2 -0
- package/components/icon/icons/Gift.vue.js +26 -0
- package/components/icon/icons/GitHub.vue.d.ts +2 -0
- package/components/icon/icons/GitHub.vue.js +26 -0
- package/components/icon/icons/GlobeStand.vue.d.ts +2 -0
- package/components/icon/icons/GlobeStand.vue.js +26 -0
- package/components/icon/icons/GooglePlay.vue.d.ts +2 -0
- package/components/icon/icons/GooglePlay.vue.js +24 -0
- package/components/icon/icons/Group.vue.d.ts +2 -0
- package/components/icon/icons/Group.vue.js +26 -0
- package/components/icon/icons/HandPointer.vue.d.ts +2 -0
- package/components/icon/icons/HandPointer.vue.js +29 -0
- package/components/icon/icons/Hands.vue.d.ts +2 -0
- package/components/icon/icons/Hands.vue.js +26 -0
- package/components/icon/icons/Heartbeat.vue.d.ts +2 -0
- package/components/icon/icons/Heartbeat.vue.js +26 -0
- package/components/icon/icons/Help.vue.d.ts +2 -0
- package/components/icon/icons/Help.vue.js +26 -0
- package/components/icon/icons/HelpOutline.vue.d.ts +2 -0
- package/components/icon/icons/HelpOutline.vue.js +26 -0
- package/components/icon/icons/History.vue.d.ts +2 -0
- package/components/icon/icons/History.vue.js +24 -0
- package/components/icon/icons/IOS.vue.d.ts +2 -0
- package/components/icon/icons/IOS.vue.js +26 -0
- package/components/icon/icons/Image.vue.d.ts +2 -0
- package/components/icon/icons/Image.vue.js +24 -0
- package/components/icon/icons/ImageNotSupported.vue.d.ts +2 -0
- package/components/icon/icons/ImageNotSupported.vue.js +30 -0
- package/components/icon/icons/ImageSlash.vue.d.ts +2 -0
- package/components/icon/icons/ImageSlash.vue.js +24 -0
- package/components/icon/icons/ImportExport.vue.d.ts +2 -0
- package/components/icon/icons/ImportExport.vue.js +24 -0
- package/components/icon/icons/ImportExport2.vue.d.ts +2 -0
- package/components/icon/icons/ImportExport2.vue.js +24 -0
- package/components/icon/icons/Importent.vue.d.ts +2 -0
- package/components/icon/icons/Importent.vue.js +26 -0
- package/components/icon/icons/Info.vue.d.ts +2 -0
- package/components/icon/icons/Info.vue.js +26 -0
- package/components/icon/icons/InfoOutline.vue.d.ts +2 -0
- package/components/icon/icons/InfoOutline.vue.js +26 -0
- package/components/icon/icons/Insights.vue.d.ts +2 -0
- package/components/icon/icons/Insights.vue.js +26 -0
- package/components/icon/icons/Interstitial.vue.d.ts +2 -0
- package/components/icon/icons/Interstitial.vue.js +31 -0
- package/components/icon/icons/Ios14.vue.d.ts +2 -0
- package/components/icon/icons/Ios14.vue.js +26 -0
- package/components/icon/icons/Js.vue.d.ts +2 -0
- package/components/icon/icons/Js.vue.js +26 -0
- package/components/icon/icons/Landscape.vue.d.ts +2 -0
- package/components/icon/icons/Landscape.vue.js +24 -0
- package/components/icon/icons/Launch.vue.d.ts +2 -0
- package/components/icon/icons/Launch.vue.js +24 -0
- package/components/icon/icons/Levelplay.vue.d.ts +2 -0
- package/components/icon/icons/Levelplay.vue.js +39 -0
- package/components/icon/icons/LimitCircle.vue.d.ts +2 -0
- package/components/icon/icons/LimitCircle.vue.js +30 -0
- package/components/icon/icons/LimitOctagon.vue.d.ts +2 -0
- package/components/icon/icons/LimitOctagon.vue.js +30 -0
- package/components/icon/icons/Link.vue.d.ts +2 -0
- package/components/icon/icons/Link.vue.js +24 -0
- package/components/icon/icons/LoadingClean.vue.d.ts +2 -0
- package/components/icon/icons/LoadingClean.vue.js +24 -0
- package/components/icon/icons/Lock.vue.d.ts +2 -0
- package/components/icon/icons/Lock.vue.js +24 -0
- package/components/icon/icons/LockOpen.vue.d.ts +2 -0
- package/components/icon/icons/LockOpen.vue.js +24 -0
- package/components/icon/icons/Login.vue.d.ts +2 -0
- package/components/icon/icons/Login.vue.js +24 -0
- package/components/icon/icons/Logout.vue.d.ts +2 -0
- package/components/icon/icons/Logout.vue.js +24 -0
- package/components/icon/icons/MilitaryTech.vue.d.ts +2 -0
- package/components/icon/icons/MilitaryTech.vue.js +24 -0
- package/components/icon/icons/Mix.vue.d.ts +2 -0
- package/components/icon/icons/Mix.vue.js +26 -0
- package/components/icon/icons/Mix2.vue.d.ts +2 -0
- package/components/icon/icons/Mix2.vue.js +31 -0
- package/components/icon/icons/MobileLandscape.vue.d.ts +2 -0
- package/components/icon/icons/MobileLandscape.vue.js +26 -0
- package/components/icon/icons/MobilePortrait.vue.d.ts +2 -0
- package/components/icon/icons/MobilePortrait.vue.js +26 -0
- package/components/icon/icons/MoneyCheck.vue.d.ts +2 -0
- package/components/icon/icons/MoneyCheck.vue.js +29 -0
- package/components/icon/icons/MoreHoriz.vue.d.ts +2 -0
- package/components/icon/icons/MoreHoriz.vue.js +26 -0
- package/components/icon/icons/MoreVert.vue.d.ts +2 -0
- package/components/icon/icons/MoreVert.vue.js +26 -0
- package/components/icon/icons/Mouse.vue.d.ts +2 -0
- package/components/icon/icons/Mouse.vue.js +26 -0
- package/components/icon/icons/MousePointer.vue.d.ts +2 -0
- package/components/icon/icons/MousePointer.vue.js +26 -0
- package/components/icon/icons/MovingUp.vue.d.ts +2 -0
- package/components/icon/icons/MovingUp.vue.js +24 -0
- package/components/icon/icons/NativeAd.vue.d.ts +2 -0
- package/components/icon/icons/NativeAd.vue.js +21 -0
- package/components/icon/icons/NotificationsNone.vue.d.ts +2 -0
- package/components/icon/icons/NotificationsNone.vue.js +26 -0
- package/components/icon/icons/Offerwall.vue.d.ts +2 -0
- package/components/icon/icons/Offerwall.vue.js +31 -0
- package/components/icon/icons/Palyable.vue.d.ts +2 -0
- package/components/icon/icons/Palyable.vue.js +24 -0
- package/components/icon/icons/PaperPlane-Off.vue.d.ts +2 -0
- package/components/icon/icons/PaperPlane-Off.vue.js +26 -0
- package/components/icon/icons/PaperPlane.vue.d.ts +2 -0
- package/components/icon/icons/PaperPlane.vue.js +26 -0
- package/components/icon/icons/Pause.vue.d.ts +2 -0
- package/components/icon/icons/Pause.vue.js +26 -0
- package/components/icon/icons/PauseCircleFilled.vue.d.ts +2 -0
- package/components/icon/icons/PauseCircleFilled.vue.js +26 -0
- package/components/icon/icons/PauseCircleOutline.vue.d.ts +2 -0
- package/components/icon/icons/PauseCircleOutline.vue.js +26 -0
- package/components/icon/icons/PhoneIphone.vue.d.ts +2 -0
- package/components/icon/icons/PhoneIphone.vue.js +24 -0
- package/components/icon/icons/Photo.vue.d.ts +2 -0
- package/components/icon/icons/Photo.vue.js +30 -0
- package/components/icon/icons/Photo2.vue.d.ts +2 -0
- package/components/icon/icons/Photo2.vue.js +26 -0
- package/components/icon/icons/PlayArrow.vue.d.ts +2 -0
- package/components/icon/icons/PlayArrow.vue.js +24 -0
- package/components/icon/icons/PlayCircleFilledWhite.vue.d.ts +2 -0
- package/components/icon/icons/PlayCircleFilledWhite.vue.js +26 -0
- package/components/icon/icons/PlayCircleOutline.vue.d.ts +2 -0
- package/components/icon/icons/PlayCircleOutline.vue.js +26 -0
- package/components/icon/icons/Qrcode.vue.d.ts +2 -0
- package/components/icon/icons/Qrcode.vue.js +26 -0
- package/components/icon/icons/QuickAB.vue.d.ts +2 -0
- package/components/icon/icons/QuickAB.vue.js +21 -0
- package/components/icon/icons/QuickAB2.vue.d.ts +2 -0
- package/components/icon/icons/QuickAB2.vue.js +21 -0
- package/components/icon/icons/React.vue.d.ts +2 -0
- package/components/icon/icons/React.vue.js +26 -0
- package/components/icon/icons/Redo.vue.d.ts +2 -0
- package/components/icon/icons/Redo.vue.js +24 -0
- package/components/icon/icons/Refresh.vue.d.ts +2 -0
- package/components/icon/icons/Refresh.vue.js +24 -0
- package/components/icon/icons/Remove.vue.d.ts +2 -0
- package/components/icon/icons/Remove.vue.js +24 -0
- package/components/icon/icons/Replay.vue.d.ts +2 -0
- package/components/icon/icons/Replay.vue.js +24 -0
- package/components/icon/icons/RewardedVideo.vue.d.ts +2 -0
- package/components/icon/icons/RewardedVideo.vue.js +31 -0
- package/components/icon/icons/RocketLaunch.vue.d.ts +2 -0
- package/components/icon/icons/RocketLaunch.vue.js +24 -0
- package/components/icon/icons/Rotate.vue.d.ts +2 -0
- package/components/icon/icons/Rotate.vue.js +26 -0
- package/components/icon/icons/Route.vue.d.ts +2 -0
- package/components/icon/icons/Route.vue.js +26 -0
- package/components/icon/icons/SackDollar.vue.d.ts +2 -0
- package/components/icon/icons/SackDollar.vue.js +30 -0
- package/components/icon/icons/Schedule.vue.d.ts +2 -0
- package/components/icon/icons/Schedule.vue.js +24 -0
- package/components/icon/icons/Search.vue.d.ts +2 -0
- package/components/icon/icons/Search.vue.js +24 -0
- package/components/icon/icons/SearchBold.vue.d.ts +2 -0
- package/components/icon/icons/SearchBold.vue.js +26 -0
- package/components/icon/icons/Share.vue.d.ts +2 -0
- package/components/icon/icons/Share.vue.js +24 -0
- package/components/icon/icons/Slack.vue.d.ts +2 -0
- package/components/icon/icons/Slack.vue.js +24 -0
- package/components/icon/icons/SportsEsports.vue.d.ts +2 -0
- package/components/icon/icons/SportsEsports.vue.js +24 -0
- package/components/icon/icons/Star.vue.d.ts +2 -0
- package/components/icon/icons/Star.vue.js +26 -0
- package/components/icon/icons/StarFill.vue.d.ts +2 -0
- package/components/icon/icons/StarFill.vue.js +26 -0
- package/components/icon/icons/StatusBanner.vue.d.ts +2 -0
- package/components/icon/icons/StatusBanner.vue.js +33 -0
- package/components/icon/icons/StatusInterstitial.vue.d.ts +2 -0
- package/components/icon/icons/StatusInterstitial.vue.js +33 -0
- package/components/icon/icons/StatusNativeAd.vue.d.ts +2 -0
- package/components/icon/icons/StatusNativeAd.vue.js +21 -0
- package/components/icon/icons/StatusOfferwall.vue.d.ts +2 -0
- package/components/icon/icons/StatusOfferwall.vue.js +33 -0
- package/components/icon/icons/StatusRewardedVideo.vue.d.ts +2 -0
- package/components/icon/icons/StatusRewardedVideo.vue.js +33 -0
- package/components/icon/icons/StopCircleFilled.vue.d.ts +2 -0
- package/components/icon/icons/StopCircleFilled.vue.js +24 -0
- package/components/icon/icons/StopCircleOutline.vue.d.ts +2 -0
- package/components/icon/icons/StopCircleOutline.vue.js +24 -0
- package/components/icon/icons/Style.vue.d.ts +2 -0
- package/components/icon/icons/Style.vue.js +29 -0
- package/components/icon/icons/Success.vue.d.ts +2 -0
- package/components/icon/icons/Success.vue.js +26 -0
- package/components/icon/icons/SuccessFull.vue.d.ts +2 -0
- package/components/icon/icons/SuccessFull.vue.js +26 -0
- package/components/icon/icons/Switch.vue.d.ts +2 -0
- package/components/icon/icons/Switch.vue.js +26 -0
- package/components/icon/icons/TabletLandscape.vue.d.ts +2 -0
- package/components/icon/icons/TabletLandscape.vue.js +26 -0
- package/components/icon/icons/TabletMac.vue.d.ts +2 -0
- package/components/icon/icons/TabletMac.vue.js +24 -0
- package/components/icon/icons/TabletPortrait.vue.d.ts +2 -0
- package/components/icon/icons/TabletPortrait.vue.js +26 -0
- package/components/icon/icons/Texture.vue.d.ts +2 -0
- package/components/icon/icons/Texture.vue.js +26 -0
- package/components/icon/icons/ThemeDark.vue.d.ts +2 -0
- package/components/icon/icons/ThemeDark.vue.js +24 -0
- package/components/icon/icons/ThemeLight.vue.d.ts +2 -0
- package/components/icon/icons/ThemeLight.vue.js +24 -0
- package/components/icon/icons/Timelapse.vue.d.ts +2 -0
- package/components/icon/icons/Timelapse.vue.js +24 -0
- package/components/icon/icons/Timeline.vue.d.ts +2 -0
- package/components/icon/icons/Timeline.vue.js +24 -0
- package/components/icon/icons/TrendingDown.vue.d.ts +2 -0
- package/components/icon/icons/TrendingDown.vue.js +24 -0
- package/components/icon/icons/TrendingFlat.vue.d.ts +2 -0
- package/components/icon/icons/TrendingFlat.vue.js +24 -0
- package/components/icon/icons/TrendingUp.vue.d.ts +2 -0
- package/components/icon/icons/TrendingUp.vue.js +24 -0
- package/components/icon/icons/Tune.vue.d.ts +2 -0
- package/components/icon/icons/Tune.vue.js +26 -0
- package/components/icon/icons/TwoToneBanner.vue.d.ts +2 -0
- package/components/icon/icons/TwoToneBanner.vue.js +35 -0
- package/components/icon/icons/TwoToneInterstitial.vue.d.ts +2 -0
- package/components/icon/icons/TwoToneInterstitial.vue.js +35 -0
- package/components/icon/icons/TwoToneNativeAd.vue.d.ts +2 -0
- package/components/icon/icons/TwoToneNativeAd.vue.js +21 -0
- package/components/icon/icons/TwoToneOfferwall.vue.d.ts +2 -0
- package/components/icon/icons/TwoToneOfferwall.vue.js +31 -0
- package/components/icon/icons/TwoToneRewardedVideo.vue.d.ts +2 -0
- package/components/icon/icons/TwoToneRewardedVideo.vue.js +38 -0
- package/components/icon/icons/Undo.vue.d.ts +2 -0
- package/components/icon/icons/Undo.vue.js +24 -0
- package/components/icon/icons/UnfoldLess.vue.d.ts +2 -0
- package/components/icon/icons/UnfoldLess.vue.js +26 -0
- package/components/icon/icons/UnfoldMore.vue.d.ts +2 -0
- package/components/icon/icons/UnfoldMore.vue.js +26 -0
- package/components/icon/icons/VerticalAlignTop.vue.d.ts +2 -0
- package/components/icon/icons/VerticalAlignTop.vue.js +24 -0
- package/components/icon/icons/VerticalAlignTop2.vue.d.ts +2 -0
- package/components/icon/icons/VerticalAlignTop2.vue.js +24 -0
- package/components/icon/icons/Vibration.vue.d.ts +2 -0
- package/components/icon/icons/Vibration.vue.js +26 -0
- package/components/icon/icons/VideoRound.vue.d.ts +2 -0
- package/components/icon/icons/VideoRound.vue.js +26 -0
- package/components/icon/icons/ViewCarousel.vue.d.ts +2 -0
- package/components/icon/icons/ViewCarousel.vue.js +24 -0
- package/components/icon/icons/Visibility.vue.d.ts +2 -0
- package/components/icon/icons/Visibility.vue.js +24 -0
- package/components/icon/icons/VisibilityOff.vue.d.ts +2 -0
- package/components/icon/icons/VisibilityOff.vue.js +24 -0
- package/components/icon/icons/VisibilityOffStrok.vue.d.ts +2 -0
- package/components/icon/icons/VisibilityOffStrok.vue.js +24 -0
- package/components/icon/icons/VisibilityStrok.vue.d.ts +2 -0
- package/components/icon/icons/VisibilityStrok.vue.js +24 -0
- package/components/icon/icons/VolumeOff.vue.d.ts +2 -0
- package/components/icon/icons/VolumeOff.vue.js +26 -0
- package/components/icon/icons/VolumeUp.vue.d.ts +2 -0
- package/components/icon/icons/VolumeUp.vue.js +26 -0
- package/components/icon/icons/Warning.vue.d.ts +2 -0
- package/components/icon/icons/Warning.vue.js +24 -0
- package/components/icon/icons/Warning2.vue.d.ts +2 -0
- package/components/icon/icons/Warning2.vue.js +26 -0
- package/components/icon/icons/WebApp.vue.d.ts +2 -0
- package/components/icon/icons/WebApp.vue.js +24 -0
- package/components/icon/icons/Widget.vue.d.ts +2 -0
- package/components/icon/icons/Widget.vue.js +27 -0
- package/components/icon/icons/Widgets.vue.d.ts +2 -0
- package/components/icon/icons/Widgets.vue.js +24 -0
- package/components/icon/icons/WidgetsFill.vue.d.ts +2 -0
- package/components/icon/icons/WidgetsFill.vue.js +24 -0
- package/components/icon/icons/Widgetsz.vue.d.ts +2 -0
- package/components/icon/icons/Widgetsz.vue.js +32 -0
- package/components/icon/icons/WifiProtectedSetup.vue.d.ts +2 -0
- package/components/icon/icons/WifiProtectedSetup.vue.js +26 -0
- package/components/icon/icons/index.d.ts +638 -0
- package/components/icon/icons/index.vue.js +640 -0
- package/components/icon/index.d.ts +668 -0
- package/components/icon/index.vue.js +8 -0
- package/components/icon/storyComponents/Code.vue.d.ts +15 -0
- package/components/icon/storyComponents/IconWrapper.vue.d.ts +15 -0
- package/components/icon/storyComponents/Page.vue.d.ts +15 -0
- package/components/includeExclude/IncludeExclude.vue.d.ts +109 -0
- package/components/includeExclude/IncludeExclude.vue.js +547 -0
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +88 -0
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +119 -0
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +37 -0
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +173 -0
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +116 -0
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +155 -0
- package/components/includeExclude/IncludeExcludeContext.d.ts +22 -0
- package/components/includeExclude/IncludeExcludeContext.vue.js +19 -0
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +48 -0
- package/components/includeExclude/IncludeExcludeOption.vue.js +135 -0
- package/components/includeExclude/includeExcludeMocks.d.ts +25 -0
- package/components/includeExclude/index.d.ts +692 -0
- package/components/includeExclude/index.vue.js +20 -0
- package/components/input/DollarInput.vue.d.ts +20 -0
- package/components/input/DollarInput.vue.js +37 -0
- package/components/input/Input.vue.d.ts +105 -0
- package/components/input/Input.vue.js +233 -0
- package/components/input/PasswordInput.vue.d.ts +20 -0
- package/components/input/PasswordInput.vue.js +41 -0
- package/components/input/PercentageInput.vue.d.ts +20 -0
- package/components/input/PercentageInput.vue.js +37 -0
- package/components/input/index.d.ts +415 -0
- package/components/input/index.vue.js +12 -0
- package/components/menu/Menu.vue.d.ts +46 -0
- package/components/menu/Menu.vue.js +73 -0
- package/components/menu/index.d.ts +61 -0
- package/components/menu/index.vue.js +6 -0
- package/components/menuItem/MenuItem.vue.d.ts +2 -0
- package/components/menuItem/MenuItem.vue.js +30 -0
- package/components/menuItem/index.d.ts +3 -0
- package/components/menuItem/index.vue.js +6 -0
- package/components/popover/Popover.vue.d.ts +54 -0
- package/components/popover/Popover.vue.js +39 -0
- package/components/popover/index.d.ts +80 -0
- package/components/popover/index.vue.js +6 -0
- package/components/radioButton/RadioButton.vue.d.ts +49 -0
- package/components/radioButton/RadioButton.vue.js +84 -0
- package/components/radioButton/RadioGroup.vue.d.ts +43 -0
- package/components/radioButton/RadioGroup.vue.js +56 -0
- package/components/radioButton/index.d.ts +114 -0
- package/components/radioButton/index.vue.js +8 -0
- package/components/radioButton/useRadio.d.ts +20 -0
- package/components/radioButton/useRadio.vue.js +39 -0
- package/components/search/Search.vue.d.ts +46 -0
- package/components/search/Search.vue.js +91 -0
- package/components/search/index.d.ts +61 -0
- package/components/search/index.vue.js +6 -0
- package/components/skeleton/Skeleton.vue.d.ts +17 -0
- package/components/skeleton/Skeleton.vue.js +23 -0
- package/components/skeleton/index.d.ts +17 -0
- package/components/skeleton/index.vue.js +6 -0
- package/components/snackbar/Snackbar.vue.d.ts +70 -0
- package/components/snackbar/Snackbar.vue.js +181 -0
- package/components/snackbar/index.d.ts +3 -0
- package/components/snackbar/index.vue.js +5 -0
- package/components/snackbar/notify.d.ts +14 -0
- package/components/snackbar/notify.vue.js +106 -0
- package/components/snackbar/snackbar.types.d.ts +43 -0
- package/components/snackbar/snackbar.types.vue.js +6 -0
- package/components/switch/Switch.vue.d.ts +32 -0
- package/components/switch/Switch.vue.js +79 -0
- package/components/switch/index.d.ts +35 -0
- package/components/switch/index.vue.js +6 -0
- package/components/table/SortOrderIcon.vue.d.ts +2 -0
- package/components/table/SortOrderIcon.vue.js +28 -0
- package/components/table/Table.types.d.ts +20 -0
- package/components/table/Table.vue.d.ts +97 -0
- package/components/table/Table.vue.js +324 -0
- package/components/table/TableContext.d.ts +11 -0
- package/components/table/TableContext.vue.js +19 -0
- package/components/table/TableHeaderSorter.vue.d.ts +15 -0
- package/components/table/TableHeaderSorter.vue.js +29 -0
- package/components/table/codeTemplate.d.ts +11 -0
- package/components/table/index.d.ts +159 -0
- package/components/table/index.vue.js +8 -0
- package/components/table-cells/Editable.vue.d.ts +45 -0
- package/components/table-cells/Editable.vue.js +89 -0
- package/components/table-cells/EditableContext.d.ts +11 -0
- package/components/table-cells/EditableContext.vue.js +10 -0
- package/components/table-cells/index.d.ts +67 -0
- package/components/table-cells/index.vue.js +8 -0
- package/components/tabs/Tabs.vue.d.ts +57 -0
- package/components/tabs/Tabs.vue.js +124 -0
- package/components/tabs/index.d.ts +68 -0
- package/components/tabs/index.vue.js +6 -0
- package/components/textArea/TextArea.vue.d.ts +55 -0
- package/components/textArea/TextArea.vue.js +66 -0
- package/components/textArea/index.d.ts +76 -0
- package/components/textArea/index.vue.js +6 -0
- package/components/toggle/Toggle.vue.d.ts +57 -0
- package/components/toggle/Toggle.vue.js +88 -0
- package/components/toggle/index.d.ts +84 -0
- package/components/toggle/index.vue.js +6 -0
- package/components/tooltip/TextWithTitleContent.vue.d.ts +17 -0
- package/components/tooltip/TextWithTitleContent.vue.js +48 -0
- package/components/tooltip/Tooltip.vue.d.ts +61 -0
- package/components/tooltip/Tooltip.vue.js +97 -0
- package/components/tooltip/index.d.ts +94 -0
- package/components/tooltip/index.vue.js +6 -0
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +15 -0
- package/components/typography/Heading.vue.d.ts +28 -0
- package/components/typography/Heading.vue.js +33 -0
- package/components/typography/Text.vue.d.ts +30 -0
- package/components/typography/Text.vue.js +28 -0
- package/components/typography/index.d.ts +50 -0
- package/components/typography/index.vue.js +8 -0
- package/composables/index.d.ts +3 -0
- package/composables/useId.d.ts +8 -0
- package/composables/useId.vue.js +15 -0
- package/composables/useIsFocusVisible.d.ts +7 -0
- package/composables/useIsFocusVisible.vue.js +34 -0
- package/composables/useSearch.d.ts +4 -0
- package/composables/useSearch.vue.js +18 -0
- package/composables/useToggle.d.ts +9 -0
- package/composables/useToggle.vue.js +27 -0
- package/consts/colors.d.ts +1 -0
- package/consts/colors.vue.js +7 -0
- package/index.d.ts +36 -0
- package/index.vue.js +91 -0
- package/package.json +309 -0
- package/styleguide.scss +210 -0
- package/utils/extract-props.d.ts +3 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode } from 'vue';
|
|
2
|
+
import Icon from '../icon/Icon.vue.js';
|
|
3
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
|
+
|
|
5
|
+
import "../../Search.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
6
|
+
const _hoisted_1 = ["value", "placeholder", "disabled"];
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "Search",
|
|
9
|
+
props: {
|
|
10
|
+
modelValue: null,
|
|
11
|
+
placeholder: null,
|
|
12
|
+
variant: { default: "default" },
|
|
13
|
+
size: { default: "sm" },
|
|
14
|
+
disabled: { type: Boolean, default: false }
|
|
15
|
+
},
|
|
16
|
+
emits: ["update:modelValue"],
|
|
17
|
+
setup(__props, { expose, emit }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const inputRef = ref();
|
|
20
|
+
const updateValue = (e) => {
|
|
21
|
+
emit("update:modelValue", e.target.value);
|
|
22
|
+
};
|
|
23
|
+
const clearValue = () => {
|
|
24
|
+
emit("update:modelValue", "");
|
|
25
|
+
focusOnInput();
|
|
26
|
+
};
|
|
27
|
+
const onRightIconClick = () => {
|
|
28
|
+
if (showClear.value) {
|
|
29
|
+
clearValue();
|
|
30
|
+
} else {
|
|
31
|
+
focusOnInput();
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const focusOnInput = () => inputRef.value.focus();
|
|
35
|
+
const showClear = computed(() => {
|
|
36
|
+
return props.modelValue !== "";
|
|
37
|
+
});
|
|
38
|
+
const inline = computed(() => {
|
|
39
|
+
return props.variant === "inline-table";
|
|
40
|
+
});
|
|
41
|
+
const transparent = computed(() => {
|
|
42
|
+
return props.variant === "transparent";
|
|
43
|
+
});
|
|
44
|
+
const showRightIcon = computed(() => {
|
|
45
|
+
if (inline.value || transparent.value) {
|
|
46
|
+
showClear.value;
|
|
47
|
+
}
|
|
48
|
+
return showClear.value;
|
|
49
|
+
});
|
|
50
|
+
const showLeftIcon = computed(() => {
|
|
51
|
+
return transparent.value || inline.value;
|
|
52
|
+
});
|
|
53
|
+
const rightIcon = computed(() => {
|
|
54
|
+
return showClear.value ? "cancel" : "search";
|
|
55
|
+
});
|
|
56
|
+
expose({
|
|
57
|
+
inputRef
|
|
58
|
+
});
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
return openBlock(), createElementBlock("div", {
|
|
61
|
+
class: normalizeClass(["search-container", `${__props.size}`])
|
|
62
|
+
}, [
|
|
63
|
+
unref(showLeftIcon) ? (openBlock(), createBlock(unref(Icon), {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: "search-left-icon",
|
|
66
|
+
name: "search-bold",
|
|
67
|
+
"font-size": "sm"
|
|
68
|
+
})) : createCommentVNode("", true),
|
|
69
|
+
createElementVNode("input", {
|
|
70
|
+
ref_key: "inputRef",
|
|
71
|
+
ref: inputRef,
|
|
72
|
+
class: normalizeClass({ [__props.variant]: true, activated: __props.modelValue !== "" }),
|
|
73
|
+
value: __props.modelValue,
|
|
74
|
+
placeholder: __props.placeholder,
|
|
75
|
+
disabled: __props.disabled,
|
|
76
|
+
onInput: updateValue
|
|
77
|
+
}, null, 42, _hoisted_1),
|
|
78
|
+
unref(showRightIcon) ? (openBlock(), createBlock(unref(Icon), {
|
|
79
|
+
key: 1,
|
|
80
|
+
class: normalizeClass(["search-right-icon", { "search-right-icon-clear": unref(showClear) }]),
|
|
81
|
+
name: unref(rightIcon),
|
|
82
|
+
"font-size": "sm",
|
|
83
|
+
onClick: onRightIconClick
|
|
84
|
+
}, null, 8, ["class", "name"])) : createCommentVNode("", true)
|
|
85
|
+
], 2);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
var Search = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-925b418c"]]);
|
|
90
|
+
|
|
91
|
+
export { Search as default };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
2
|
+
size: {
|
|
3
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
4
|
+
} & {
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
variant: {
|
|
8
|
+
type: import("vue").PropType<"default" | "inline-table" | "transparent">;
|
|
9
|
+
} & {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
} & {
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
placeholder: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
inputRef: import("vue").Ref<HTMLInputElement>;
|
|
27
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: string) => void;
|
|
29
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
size: {
|
|
31
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
32
|
+
} & {
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
variant: {
|
|
36
|
+
type: import("vue").PropType<"default" | "inline-table" | "transparent">;
|
|
37
|
+
} & {
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
disabled: {
|
|
41
|
+
type: import("vue").PropType<boolean>;
|
|
42
|
+
} & {
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
modelValue: {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
placeholder: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
}>> & {
|
|
54
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
55
|
+
}, {
|
|
56
|
+
size: "md" | "sm";
|
|
57
|
+
variant: "default" | "inline-table" | "transparent";
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
}>[];
|
|
60
|
+
export { default as Search } from './Search.vue';
|
|
61
|
+
export { SearchTypes };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
round?: boolean;
|
|
3
|
+
fill?: boolean;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
round?: boolean;
|
|
6
|
+
fill?: boolean;
|
|
7
|
+
}>>>, {}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot } from 'vue';
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
|
+
|
|
4
|
+
import "../../Skeleton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "Skeleton",
|
|
7
|
+
props: {
|
|
8
|
+
round: { type: Boolean },
|
|
9
|
+
fill: { type: Boolean }
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
return (_ctx, _cache) => {
|
|
13
|
+
return openBlock(), createElementBlock("div", {
|
|
14
|
+
class: normalizeClass({ round: __props.round, fill: __props.fill })
|
|
15
|
+
}, [
|
|
16
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17
|
+
], 2);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-533b1b95"]]);
|
|
22
|
+
|
|
23
|
+
export { Skeleton as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const SkeletonTypes: () => import("vue").DefineComponent<{
|
|
2
|
+
round: {
|
|
3
|
+
type: import("vue").PropType<boolean>;
|
|
4
|
+
};
|
|
5
|
+
fill: {
|
|
6
|
+
type: import("vue").PropType<boolean>;
|
|
7
|
+
};
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
round: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
};
|
|
12
|
+
fill: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
}>>, {}>[];
|
|
16
|
+
export { default as Skeleton } from './Skeleton.vue';
|
|
17
|
+
export { SkeletonTypes };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
customClass: string;
|
|
4
|
+
dangerouslyUseHTMLString: boolean;
|
|
5
|
+
duration?: number;
|
|
6
|
+
icon: string;
|
|
7
|
+
id: string;
|
|
8
|
+
message: string | VNode;
|
|
9
|
+
offset: number;
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
type?: 'success' | 'error' | 'info';
|
|
13
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
14
|
+
showClose?: boolean;
|
|
15
|
+
title?: string;
|
|
16
|
+
zIndex?: number;
|
|
17
|
+
}>, {
|
|
18
|
+
type: any;
|
|
19
|
+
zIndex: number;
|
|
20
|
+
duration: number;
|
|
21
|
+
showClose: boolean;
|
|
22
|
+
title: string;
|
|
23
|
+
position: string;
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "destroy"[], "destroy", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
25
|
+
customClass: string;
|
|
26
|
+
dangerouslyUseHTMLString: boolean;
|
|
27
|
+
duration?: number;
|
|
28
|
+
icon: string;
|
|
29
|
+
id: string;
|
|
30
|
+
message: string | VNode;
|
|
31
|
+
offset: number;
|
|
32
|
+
onClick: () => void;
|
|
33
|
+
onClose: () => void;
|
|
34
|
+
type?: 'success' | 'error' | 'info';
|
|
35
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
36
|
+
showClose?: boolean;
|
|
37
|
+
title?: string;
|
|
38
|
+
zIndex?: number;
|
|
39
|
+
}>, {
|
|
40
|
+
type: any;
|
|
41
|
+
zIndex: number;
|
|
42
|
+
duration: number;
|
|
43
|
+
showClose: boolean;
|
|
44
|
+
title: string;
|
|
45
|
+
position: string;
|
|
46
|
+
}>>> & {
|
|
47
|
+
onDestroy?: (...args: any[]) => any;
|
|
48
|
+
}, {
|
|
49
|
+
title: string;
|
|
50
|
+
type: 'success' | 'error' | 'info';
|
|
51
|
+
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
52
|
+
zIndex: number;
|
|
53
|
+
duration: number;
|
|
54
|
+
showClose: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: import('vue').PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
type __VLS_WithDefaults<P, D> = {
|
|
67
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
68
|
+
default: D[K];
|
|
69
|
+
} : P[K];
|
|
70
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, unref, normalizeStyle, createElementBlock, createVNode, resolveDynamicComponent, createCommentVNode, toDisplayString, renderSlot, createTextVNode, vShow, withModifiers } from 'vue';
|
|
2
|
+
import { useEventListener, useTimeoutFn } from '@vueuse/core';
|
|
3
|
+
import Icon from '../icon/Icon.vue.js';
|
|
4
|
+
import Close from '../icon/icons/Close.vue.js';
|
|
5
|
+
import Check from '../icon/icons/Check.vue.js';
|
|
6
|
+
import IconButton from '../button/IconButton.vue.js';
|
|
7
|
+
import Text from '../typography/Text.vue.js';
|
|
8
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
9
|
+
|
|
10
|
+
import "../../Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
11
|
+
const _hoisted_1 = ["id"];
|
|
12
|
+
const _hoisted_2 = { class: "container" };
|
|
13
|
+
const _hoisted_3 = { class: "texts" };
|
|
14
|
+
const _hoisted_4 = ["innerHTML"];
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "Snackbar",
|
|
17
|
+
props: {
|
|
18
|
+
customClass: null,
|
|
19
|
+
dangerouslyUseHTMLString: { type: Boolean },
|
|
20
|
+
duration: { default: 3e3 },
|
|
21
|
+
icon: null,
|
|
22
|
+
id: null,
|
|
23
|
+
message: null,
|
|
24
|
+
offset: null,
|
|
25
|
+
onClick: null,
|
|
26
|
+
onClose: null,
|
|
27
|
+
type: { default: null },
|
|
28
|
+
position: { default: "top-right" },
|
|
29
|
+
showClose: { type: Boolean, default: true },
|
|
30
|
+
title: { default: "" },
|
|
31
|
+
zIndex: { default: 0 }
|
|
32
|
+
},
|
|
33
|
+
emits: ["destroy"],
|
|
34
|
+
setup(__props) {
|
|
35
|
+
const props = __props;
|
|
36
|
+
const TypeComponentsMap = {
|
|
37
|
+
success: Check,
|
|
38
|
+
error: Close
|
|
39
|
+
};
|
|
40
|
+
const visible = ref(false);
|
|
41
|
+
let timer = void 0;
|
|
42
|
+
const typeClass = computed(() => {
|
|
43
|
+
const type = props.type;
|
|
44
|
+
return type && TypeComponentsMap[props.type] ? type : "";
|
|
45
|
+
});
|
|
46
|
+
const iconComponent = computed(() => {
|
|
47
|
+
return TypeComponentsMap[props.type] || props.icon || "";
|
|
48
|
+
});
|
|
49
|
+
const horizontalClass = computed(
|
|
50
|
+
() => props.position.endsWith("right") ? "right" : "left"
|
|
51
|
+
);
|
|
52
|
+
const verticalProperty = computed(
|
|
53
|
+
() => props.position.startsWith("top") ? "top" : "bottom"
|
|
54
|
+
);
|
|
55
|
+
const positionStyle = computed(() => {
|
|
56
|
+
return {
|
|
57
|
+
[verticalProperty.value]: `${props.offset}px`,
|
|
58
|
+
zIndex: props.zIndex
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
function startTimer() {
|
|
62
|
+
if (props.duration > 0) {
|
|
63
|
+
({ stop: timer } = useTimeoutFn(() => {
|
|
64
|
+
if (visible.value)
|
|
65
|
+
close();
|
|
66
|
+
}, props.duration));
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function clearTimer() {
|
|
70
|
+
timer?.();
|
|
71
|
+
}
|
|
72
|
+
function close() {
|
|
73
|
+
visible.value = false;
|
|
74
|
+
}
|
|
75
|
+
function onKeydown({ code }) {
|
|
76
|
+
if (code === "Delete" || code === "Backspace") {
|
|
77
|
+
clearTimer();
|
|
78
|
+
} else if (code === "Escape") {
|
|
79
|
+
if (visible.value) {
|
|
80
|
+
close();
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
startTimer();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
onMounted(() => {
|
|
87
|
+
startTimer();
|
|
88
|
+
visible.value = true;
|
|
89
|
+
});
|
|
90
|
+
useEventListener(document, "keydown", onKeydown);
|
|
91
|
+
return (_ctx, _cache) => {
|
|
92
|
+
return openBlock(), createBlock(Transition, {
|
|
93
|
+
name: "snackbar",
|
|
94
|
+
onBeforeLeave: __props.onClose,
|
|
95
|
+
onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("destroy"))
|
|
96
|
+
}, {
|
|
97
|
+
default: withCtx(() => [
|
|
98
|
+
withDirectives(createElementVNode("div", {
|
|
99
|
+
id: __props.id,
|
|
100
|
+
class: normalizeClass(["snackbar", [__props.customClass, unref(horizontalClass)]]),
|
|
101
|
+
style: normalizeStyle(unref(positionStyle)),
|
|
102
|
+
role: "alert",
|
|
103
|
+
onMouseenter: clearTimer,
|
|
104
|
+
onMouseleave: startTimer,
|
|
105
|
+
onClick: _cache[0] || (_cache[0] = (...args) => __props.onClick && __props.onClick(...args))
|
|
106
|
+
}, [
|
|
107
|
+
unref(iconComponent) ? (openBlock(), createElementBlock("div", {
|
|
108
|
+
key: 0,
|
|
109
|
+
class: normalizeClass(["start-icon-container", [unref(typeClass)]])
|
|
110
|
+
}, [
|
|
111
|
+
createVNode(unref(Icon), {
|
|
112
|
+
"font-size": unref(typeClass) ? "sm" : "lg"
|
|
113
|
+
}, {
|
|
114
|
+
default: withCtx(() => [
|
|
115
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent))))
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["font-size"])
|
|
119
|
+
], 2)) : createCommentVNode("", true),
|
|
120
|
+
createElementVNode("div", _hoisted_2, [
|
|
121
|
+
createElementVNode("div", _hoisted_3, [
|
|
122
|
+
__props.title ? (openBlock(), createBlock(Text, {
|
|
123
|
+
key: 0,
|
|
124
|
+
size: "md",
|
|
125
|
+
strong: "",
|
|
126
|
+
class: "title",
|
|
127
|
+
textContent: toDisplayString(__props.title)
|
|
128
|
+
}, null, 8, ["textContent"])) : createCommentVNode("", true),
|
|
129
|
+
withDirectives(createElementVNode("div", {
|
|
130
|
+
class: "message",
|
|
131
|
+
style: normalizeStyle(!!__props.title ? void 0 : { margin: 0 })
|
|
132
|
+
}, [
|
|
133
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
134
|
+
!__props.dangerouslyUseHTMLString ? (openBlock(), createBlock(Text, {
|
|
135
|
+
key: 0,
|
|
136
|
+
size: "sm"
|
|
137
|
+
}, {
|
|
138
|
+
default: withCtx(() => [
|
|
139
|
+
createTextVNode(toDisplayString(__props.message), 1)
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
})) : (openBlock(), createElementBlock("div", {
|
|
143
|
+
key: 1,
|
|
144
|
+
innerHTML: __props.message
|
|
145
|
+
}, null, 8, _hoisted_4))
|
|
146
|
+
], true)
|
|
147
|
+
], 4), [
|
|
148
|
+
[vShow, __props.message]
|
|
149
|
+
])
|
|
150
|
+
]),
|
|
151
|
+
__props.showClose ? (openBlock(), createBlock(IconButton, {
|
|
152
|
+
key: 0,
|
|
153
|
+
theme: "third",
|
|
154
|
+
size: "sm",
|
|
155
|
+
class: "snackbar-close-button",
|
|
156
|
+
variant: "colorized",
|
|
157
|
+
onClick: withModifiers(close, ["stop"])
|
|
158
|
+
}, {
|
|
159
|
+
default: withCtx(() => [
|
|
160
|
+
createVNode(unref(Icon), null, {
|
|
161
|
+
default: withCtx(() => [
|
|
162
|
+
createVNode(Close)
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
})
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
169
|
+
])
|
|
170
|
+
], 46, _hoisted_1), [
|
|
171
|
+
[vShow, visible.value]
|
|
172
|
+
])
|
|
173
|
+
]),
|
|
174
|
+
_: 3
|
|
175
|
+
}, 8, ["onBeforeLeave"]);
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
var SnackbarConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-764ab56b"]]);
|
|
180
|
+
|
|
181
|
+
export { SnackbarConstructor as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import type { Notify, SnackbarOptions } from './snackbar.types';
|
|
3
|
+
/**
|
|
4
|
+
* This function gets called when user click `x` button or press `esc` or the time reached its limitation.
|
|
5
|
+
* Emitted by transition@before-leave event so that we can fetch the current notification.offsetHeight, if this was called
|
|
6
|
+
* by @after-leave the DOM element will be removed from the page thus we can no longer fetch the offsetHeight.
|
|
7
|
+
* @param {String} id notification id to be closed
|
|
8
|
+
* @param {Position} position the positioning strategy
|
|
9
|
+
* @param {Function} userOnClose the callback called when close passed by user
|
|
10
|
+
*/
|
|
11
|
+
export declare function close(id: string, position: SnackbarOptions['position'], userOnClose?: (vm: VNode) => void): void;
|
|
12
|
+
export declare function closeAll(): void;
|
|
13
|
+
declare const _default: Notify;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { isVNode, createVNode, render } from 'vue';
|
|
2
|
+
import SnackbarConstructor from './Snackbar.vue.js';
|
|
3
|
+
import { snackbarTypes } from './snackbar.types.vue.js';
|
|
4
|
+
|
|
5
|
+
const notifications = {
|
|
6
|
+
"top-left": [],
|
|
7
|
+
"top-right": [],
|
|
8
|
+
"bottom-left": [],
|
|
9
|
+
"bottom-right": []
|
|
10
|
+
};
|
|
11
|
+
const SNACKBAR_GAP_SIZE = 16;
|
|
12
|
+
let seed = 1;
|
|
13
|
+
const defaultZIndex = 2e3;
|
|
14
|
+
const notify = function(options = {}, context = null) {
|
|
15
|
+
if (typeof options === "string" || isVNode(options)) {
|
|
16
|
+
options = { message: options };
|
|
17
|
+
}
|
|
18
|
+
const position = options.position || "top-right";
|
|
19
|
+
let zIndex = options.zIndex || defaultZIndex;
|
|
20
|
+
let verticalOffset = notifications[position].reduce(
|
|
21
|
+
(verticalOffset2, { vm: vm2 }) => verticalOffset2 + (vm2.el?.offsetHeight || 0) + SNACKBAR_GAP_SIZE,
|
|
22
|
+
options.offset || 0
|
|
23
|
+
);
|
|
24
|
+
verticalOffset += SNACKBAR_GAP_SIZE;
|
|
25
|
+
const nextZIndex = () => zIndex++;
|
|
26
|
+
const id = `notification_${seed++}`;
|
|
27
|
+
const userOnClose = options.onClose;
|
|
28
|
+
const props = {
|
|
29
|
+
...options,
|
|
30
|
+
zIndex: nextZIndex(),
|
|
31
|
+
offset: verticalOffset,
|
|
32
|
+
id,
|
|
33
|
+
onClose: () => {
|
|
34
|
+
close(id, position, userOnClose);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const appendTo = document.body;
|
|
38
|
+
const container = document.createElement("div");
|
|
39
|
+
const vm = createVNode(
|
|
40
|
+
SnackbarConstructor,
|
|
41
|
+
props,
|
|
42
|
+
isVNode(props.message) ? {
|
|
43
|
+
default: () => props.message
|
|
44
|
+
} : null
|
|
45
|
+
);
|
|
46
|
+
vm.appContext = context ?? notify._context;
|
|
47
|
+
vm.props.onDestroy = () => {
|
|
48
|
+
render(null, container);
|
|
49
|
+
};
|
|
50
|
+
render(vm, container);
|
|
51
|
+
notifications[position].push({ vm });
|
|
52
|
+
appendTo.appendChild(container?.firstElementChild);
|
|
53
|
+
return {
|
|
54
|
+
close: () => {
|
|
55
|
+
const proxy = vm.component?.proxy;
|
|
56
|
+
if (proxy)
|
|
57
|
+
proxy.visible = false;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
function close(id, position, userOnClose) {
|
|
62
|
+
const orientedNotifications = notifications[position];
|
|
63
|
+
const activeNotificationIndex = orientedNotifications.findIndex(
|
|
64
|
+
({ vm: vm2 }) => vm2.component?.props.id === id
|
|
65
|
+
);
|
|
66
|
+
if (activeNotificationIndex === -1)
|
|
67
|
+
return;
|
|
68
|
+
const { vm } = orientedNotifications[activeNotificationIndex];
|
|
69
|
+
if (!vm)
|
|
70
|
+
return;
|
|
71
|
+
userOnClose?.(vm);
|
|
72
|
+
const removedHeight = vm.el?.offsetHeight;
|
|
73
|
+
const verticalPos = position.split("-")[0];
|
|
74
|
+
orientedNotifications.splice(activeNotificationIndex, 1);
|
|
75
|
+
const len = orientedNotifications.length;
|
|
76
|
+
for (let i = activeNotificationIndex; i < len; i++) {
|
|
77
|
+
const { el, component } = orientedNotifications[i].vm;
|
|
78
|
+
component.props.offset = Number.parseInt(el.style[verticalPos], 10) - removedHeight - SNACKBAR_GAP_SIZE;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
snackbarTypes.forEach((type) => {
|
|
82
|
+
notify[type] = (options = {}) => {
|
|
83
|
+
if (typeof options === "string" || isVNode(options)) {
|
|
84
|
+
options = {
|
|
85
|
+
message: options
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
return notify({
|
|
89
|
+
...options,
|
|
90
|
+
type
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
});
|
|
94
|
+
function closeAll() {
|
|
95
|
+
for (const orientedNotifications of Object.values(notifications)) {
|
|
96
|
+
orientedNotifications.forEach(({ vm }) => {
|
|
97
|
+
const proxy = vm.component?.proxy;
|
|
98
|
+
if (proxy)
|
|
99
|
+
proxy.visible = false;
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
notify.closeAll = closeAll;
|
|
104
|
+
notify._context = null;
|
|
105
|
+
|
|
106
|
+
export { close, closeAll, notify as default };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare const snackbarEmits: {
|
|
3
|
+
destroy: () => boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const snackbarTypes: readonly ["success", "info", "error"];
|
|
6
|
+
export type SnackbarEmits = typeof snackbarEmits;
|
|
7
|
+
export interface SnackbarProps {
|
|
8
|
+
customClass: string;
|
|
9
|
+
dangerouslyUseHTMLString: boolean;
|
|
10
|
+
duration?: number;
|
|
11
|
+
icon: string;
|
|
12
|
+
id: string;
|
|
13
|
+
message: string | VNode;
|
|
14
|
+
offset: number;
|
|
15
|
+
onClick: () => void;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
type: 'success' | 'error' | 'info';
|
|
18
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
19
|
+
showClose?: boolean;
|
|
20
|
+
title?: string;
|
|
21
|
+
zIndex?: number;
|
|
22
|
+
}
|
|
23
|
+
export type SnackbarOptions = Omit<SnackbarProps, 'id'> & {
|
|
24
|
+
appendTo?: HTMLElement | string;
|
|
25
|
+
};
|
|
26
|
+
export type SnackbarOptionsTyped = Omit<SnackbarOptions, 'type'>;
|
|
27
|
+
export interface SnackbarHandle {
|
|
28
|
+
close: () => void;
|
|
29
|
+
}
|
|
30
|
+
export type SnackbarParams = Partial<SnackbarOptions> | string | VNode;
|
|
31
|
+
export type SnackbarParamsTyped = Partial<SnackbarOptionsTyped> | string | VNode;
|
|
32
|
+
export type NotifyFn = ((options?: SnackbarParams) => SnackbarHandle) & {
|
|
33
|
+
closeAll: () => void;
|
|
34
|
+
};
|
|
35
|
+
export type NotifyTypedFn = (options?: SnackbarParamsTyped) => SnackbarHandle;
|
|
36
|
+
export interface Notify extends NotifyFn {
|
|
37
|
+
success: NotifyTypedFn;
|
|
38
|
+
error: NotifyTypedFn;
|
|
39
|
+
}
|
|
40
|
+
export interface SnackbarQueueItem {
|
|
41
|
+
vm: VNode;
|
|
42
|
+
}
|
|
43
|
+
export type SnackbarQueue = SnackbarQueueItem[];
|