@ironsource/shared-ui 1.4.2-test.9 → 1.4.2-vite.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/_virtual/_plugin-vue_export-helper.js +9 -0
- package/_virtual/dynamic-import-helper.js +9 -0
- package/assets/AddFilterButton.vue_vue_type_style_index_0_scoped_043fe0a5_lang.css +1 -0
- package/assets/AppIcon.vue_vue_type_style_index_0_scoped_a1f19170_lang.css +1 -0
- package/assets/AppTrigger.vue_vue_type_style_index_0_scoped_dc6aea6b_lang.css +1 -0
- package/assets/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_86a26bdc_lang.css +1 -0
- package/assets/AutocompleteInput.vue_vue_type_style_index_0_scoped_171b1615_lang.css +1 -0
- package/assets/Banner.vue_vue_type_style_index_0_scoped_e5deda81_lang.css +1 -0
- package/assets/Button.vue_vue_type_style_index_0_scoped_9c27c5d9_lang.css +1 -0
- package/assets/ButtonBase.vue_vue_type_style_index_0_scoped_7211e733_lang.css +1 -0
- package/assets/CalendarMonth.vue_vue_type_style_index_0_scoped_9955a6c5_lang.css +1 -0
- package/assets/Checkbox.vue_vue_type_style_index_0_scoped_af8ff01f_lang.css +1 -0
- package/assets/Chip.vue_vue_type_style_index_0_scoped_29659885_lang.css +1 -0
- package/assets/CssBaseline.vue_vue_type_style_index_0_scoped_f7dd256b_lang.css +1 -0
- package/assets/DatePicker.vue_vue_type_style_index_0_scoped_29707fb4_lang.css +1 -0
- package/assets/DatePickerMonth.vue_vue_type_style_index_0_scoped_801629e0_lang.css +1 -0
- package/assets/DateRange.vue_vue_type_style_index_0_scoped_a802cdb4_lang.css +1 -0
- package/assets/Dialog.vue_vue_type_style_index_0_scoped_0838c16a_lang.css +1 -0
- package/assets/DollarInput.vue_vue_type_style_index_0_scoped_a2ce7d64_lang.css +1 -0
- package/assets/Dropdown.vue_vue_type_style_index_0_scoped_0c581bae_lang.css +1 -0
- package/assets/Editable.vue_vue_type_style_index_0_scoped_e6ea7f1f_lang.css +1 -0
- package/assets/EmptyState.vue_vue_type_style_index_0_scoped_a7c0495d_lang.css +1 -0
- package/assets/EmptyStateIcon.vue_vue_type_style_index_0_scoped_f4915249_lang.css +1 -0
- package/assets/FilterDropdown.vue_vue_type_style_index_0_scoped_ca1ded38_lang.css +1 -0
- package/assets/FilterSearchInput.vue_vue_type_style_index_0_scoped_c76fd143_lang.css +1 -0
- package/assets/FiltersPanel.vue_vue_type_style_index_0_scoped_7c6d65da_lang.css +1 -0
- package/assets/FloatingToolbar.vue_vue_type_style_index_0_scoped_6c41c10a_lang.css +1 -0
- package/assets/GroupOption.vue_vue_type_style_index_0_scoped_7ca2cd83_lang.css +1 -0
- package/assets/Heading.vue_vue_type_style_index_0_scoped_a4d2562f_lang.css +1 -0
- package/assets/Icon.vue_vue_type_style_index_0_scoped_77c04518_lang.css +1 -0
- package/assets/IconButton.vue_vue_type_style_index_0_scoped_c30a9bf2_lang.css +1 -0
- package/assets/IncludeExclude.vue_vue_type_style_index_0_scoped_75bb64e7_lang.css +1 -0
- package/assets/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_def8cb54_lang.css +1 -0
- package/assets/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_a59d5600_lang.css +1 -0
- package/assets/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_9ec02e0e_lang.css +1 -0
- package/assets/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_86841ad7_lang.css +1 -0
- package/assets/Input.vue_vue_type_style_index_0_scoped_b49b2b32_lang.css +1 -0
- package/assets/Label.vue_vue_type_style_index_0_scoped_04058f87_lang.css +1 -0
- package/assets/Menu.vue_vue_type_style_index_0_scoped_cc6708b3_lang.css +1 -0
- package/assets/MenuItem.vue_vue_type_style_index_0_scoped_c7e837fa_lang.css +1 -0
- package/assets/Option.vue_vue_type_style_index_0_scoped_7b8e16fd_lang.css +1 -0
- package/assets/PasswordInput.vue_vue_type_style_index_0_scoped_5a43fdb1_lang.css +1 -0
- package/assets/PercentageInput.vue_vue_type_style_index_0_scoped_7bc4eae1_lang.css +1 -0
- package/assets/RadioButton.vue_vue_type_style_index_0_scoped_16aa7579_lang.css +1 -0
- package/assets/RadioGroup.vue_vue_type_style_index_0_scoped_19f1030d_lang.css +1 -0
- package/assets/ScrollButton.vue_vue_type_style_index_0_scoped_ed37b64b_lang.css +1 -0
- package/assets/Search.vue_vue_type_style_index_0_scoped_558677ae_lang.css +1 -0
- package/assets/SearchInput.vue_vue_type_style_index_0_scoped_b52011c8_lang.css +1 -0
- package/{Skeleton.vue_vue_type_style_index_0_scoped_true_lang.css → assets/Skeleton.vue_vue_type_style_index_0_scoped_9837f0ce_lang.css} +1 -1
- package/assets/Snackbar.vue_vue_type_style_index_0_scoped_e5d8edd0_lang.css +1 -0
- package/assets/SortOrderIcon.vue_vue_type_style_index_0_scoped_eaa4d6ee_lang.css +1 -0
- package/{Switch.vue_vue_type_style_index_0_scoped_true_lang.css → assets/Switch.vue_vue_type_style_index_0_scoped_08a704b0_lang.css} +1 -1
- package/assets/Table.vue_vue_type_style_index_0_scoped_365ff6b7_lang.css +1 -0
- package/assets/TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css +1 -0
- package/assets/Tabs.vue_vue_type_style_index_0_scoped_b71d8f96_lang.css +1 -0
- package/assets/Text.vue_vue_type_style_index_0_scoped_a5537754_lang.css +1 -0
- package/assets/TextArea.vue_vue_type_style_index_0_scoped_835f09fa_lang.css +1 -0
- package/assets/TextWithTitleContent.vue_vue_type_style_index_0_scoped_ec87caf8_lang.css +1 -0
- package/assets/Toggle.vue_vue_type_style_index_0_scoped_d26e6831_lang.css +1 -0
- package/components/appIcon/AppIcon.vue.d.ts +22 -28
- package/components/appIcon/AppIcon.vue.js +6 -43
- package/components/appIcon/AppIcon.vue2.js +35 -0
- package/components/appIcon/index.d.ts +3 -7
- package/components/appIcon/index.js +6 -0
- package/components/appTrigger/AppTrigger.vue.d.ts +44 -33
- package/components/appTrigger/AppTrigger.vue.js +6 -185
- package/components/appTrigger/AppTrigger.vue2.js +109 -0
- package/components/appTrigger/index.d.ts +118 -32
- package/components/appTrigger/index.js +6 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +68 -43
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +6 -146
- package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +115 -0
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +39 -32
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +6 -93
- package/components/autocompleteDropdown/AutocompleteInput.vue2.js +74 -0
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +8 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +6 -42
- package/components/autocompleteDropdown/GroupOption.vue2.js +34 -0
- package/components/autocompleteDropdown/consts.js +5 -0
- package/components/autocompleteDropdown/index.d.ts +161 -47
- package/components/autocompleteDropdown/index.js +6 -0
- package/components/autocompleteDropdown/useKeyboardNavigation.js +52 -0
- package/components/banner/Banner.vue.d.ts +14 -6
- package/components/banner/Banner.vue.js +6 -58
- package/components/banner/Banner.vue2.js +47 -0
- package/components/banner/index.d.ts +85 -14
- package/components/banner/index.js +6 -0
- package/components/button/Button.vue.d.ts +35 -32
- package/components/button/Button.vue.js +6 -63
- package/components/button/Button.vue2.js +57 -0
- package/components/button/ButtonBase.vue.d.ts +59 -42
- package/components/button/ButtonBase.vue2.js +6 -0
- package/components/button/ButtonBase.vue3.js +53 -0
- package/components/button/IconButton.vue.d.ts +25 -26
- package/components/button/IconButton.vue.js +6 -51
- package/components/button/IconButton.vue2.js +45 -0
- package/components/button/ScrollButton.vue.d.ts +36 -36
- package/components/button/ScrollButton.vue.js +6 -48
- package/components/button/ScrollButton.vue2.js +43 -0
- package/components/button/consts.js +18 -0
- package/components/button/icon/LoaderCircleIcon.vue.d.ts +1 -1
- package/components/button/icon/LoaderCircleIcon.vue.js +13 -19
- package/components/button/icon/LoaderDotsIcon.vue.d.ts +1 -1
- package/components/button/icon/LoaderDotsIcon.vue.js +11 -17
- package/components/button/index.d.ts +186 -53
- package/components/button/index.js +10 -0
- package/components/checkbox/Checkbox.vue.d.ts +46 -34
- package/components/checkbox/Checkbox.vue.js +6 -110
- package/components/checkbox/Checkbox.vue2.js +85 -0
- package/components/checkbox/icons/checked.vue.d.ts +1 -1
- package/components/checkbox/icons/checked.vue.js +14 -21
- package/components/checkbox/icons/indeterminate.vue.d.ts +1 -1
- package/components/checkbox/icons/indeterminate.vue.js +14 -21
- package/components/checkbox/icons/unchecked.vue.d.ts +1 -1
- package/components/checkbox/icons/unchecked.vue.js +12 -18
- package/components/checkbox/index.d.ts +129 -32
- package/components/checkbox/index.js +6 -0
- package/components/chip/Chip.vue.d.ts +43 -34
- package/components/chip/Chip.vue.js +5 -63
- package/components/chip/Chip.vue2.js +54 -0
- package/components/chip/index.d.ts +119 -29
- package/components/chip/index.js +6 -0
- package/components/cssBaseline/CssBaseline.vue.d.ts +8 -1
- package/components/cssBaseline/CssBaseline.vue.js +9 -11
- package/components/cssBaseline/index.d.ts +47 -1
- package/components/cssBaseline/index.js +6 -0
- package/components/datePicker/DatePicker.vue.d.ts +52 -39
- package/components/datePicker/DatePicker.vue.js +6 -125
- package/components/datePicker/DatePicker.vue2.js +92 -0
- package/components/datePicker/DatePickerMonth.vue.d.ts +35 -35
- package/components/datePicker/DatePickerMonth.vue.js +6 -99
- package/components/datePicker/DatePickerMonth.vue2.js +85 -0
- package/components/datePicker/index.d.ts +137 -37
- package/components/datePicker/index.js +6 -0
- package/components/dateRange/CalendarMonth.vue.d.ts +91 -53
- package/components/dateRange/CalendarMonth.vue.js +6 -318
- package/components/dateRange/CalendarMonth.vue2.js +225 -0
- package/components/dateRange/DateRange.vue.d.ts +131 -79
- package/components/dateRange/DateRange.vue.js +5 -655
- package/components/dateRange/DateRange.vue2.js +403 -0
- package/components/dateRange/DateRangePicker.vue.d.ts +126 -75
- package/components/dateRange/DateServices.js +245 -0
- package/components/dateRange/{consts.vue.js → consts.js} +12 -11
- package/components/dateRange/index.d.ts +288 -101
- package/components/dateRange/index.js +6 -0
- package/components/dialog/Dialog.vue.d.ts +128 -79
- package/components/dialog/Dialog.vue.js +5 -191
- package/components/dialog/Dialog.vue2.js +165 -0
- package/components/dialog/Reason.js +4 -0
- package/components/dialog/index.d.ts +288 -110
- package/components/dialog/index.js +6 -0
- package/components/dropdown/Dropdown.vue.d.ts +317 -170
- package/components/dropdown/Dropdown.vue.js +5 -757
- package/components/dropdown/Dropdown.vue2.js +588 -0
- package/components/dropdown/DropdownContext.js +21 -0
- package/components/dropdown/Label.vue.d.ts +8 -1
- package/components/dropdown/Label.vue.js +6 -41
- package/components/dropdown/Label.vue2.js +35 -0
- package/components/dropdown/Option.vue.d.ts +64 -43
- package/components/dropdown/Option.vue.js +5 -132
- package/components/dropdown/Option.vue2.js +101 -0
- package/components/dropdown/SearchInput.vue.d.ts +14 -1
- package/components/dropdown/SearchInput.vue.js +5 -118
- package/components/dropdown/SearchInput.vue2.js +80 -0
- package/components/dropdown/index.d.ts +674 -256
- package/components/dropdown/index.js +12 -0
- package/components/emptyState/EmptyState.vue.d.ts +106 -65
- package/components/emptyState/EmptyState.vue.js +6 -98
- package/components/emptyState/EmptyState.vue2.js +89 -0
- package/components/emptyState/EmptyStateIcon.vue.d.ts +1 -1
- package/components/emptyState/EmptyStateIcon.vue.js +16 -25
- package/components/emptyState/index.d.ts +229 -76
- package/components/emptyState/index.js +6 -0
- package/components/filterDropdown/AddFilterButton.vue.d.ts +26 -16
- package/components/filterDropdown/AddFilterButton.vue.js +6 -53
- package/components/filterDropdown/AddFilterButton.vue2.js +48 -0
- package/components/filterDropdown/FilterDropdown.vue.d.ts +51 -35
- package/components/filterDropdown/FilterDropdown.vue.js +6 -56
- package/components/filterDropdown/FilterDropdown.vue2.js +51 -0
- package/components/filterDropdown/index.d.ts +87 -25
- package/components/filterDropdown/index.js +8 -0
- package/components/filtersPanel/FilterSearchInput.vue.js +5 -53
- package/components/filtersPanel/FilterSearchInput.vue2.js +45 -0
- package/components/filtersPanel/FiltersPanel.vue.js +6 -56
- package/components/filtersPanel/FiltersPanel.vue2.js +38 -0
- package/components/filtersPanel/index.js +14 -0
- package/components/filtersPanel/useHiddenFilter.js +20 -0
- package/components/floatingToolbar/FloatingToolbar.vue.d.ts +33 -27
- package/components/floatingToolbar/FloatingToolbar.vue.js +5 -77
- package/components/floatingToolbar/FloatingToolbar.vue2.js +68 -0
- package/components/floatingToolbar/index.d.ts +101 -20
- package/components/floatingToolbar/index.js +6 -0
- package/components/icon/Icon.vue.d.ts +25 -27
- package/components/icon/Icon.vue.js +6 -283
- package/components/icon/Icon.vue2.js +38 -0
- package/components/icon/icons/A.vue.d.ts +1 -1
- package/components/icon/icons/A.vue.js +14 -21
- package/components/icon/icons/A2.vue.d.ts +1 -1
- package/components/icon/icons/A2.vue.js +12 -18
- package/components/icon/icons/ABTest.vue.d.ts +1 -1
- package/components/icon/icons/ABTest.vue.js +12 -18
- package/components/icon/icons/ABTest2.vue.d.ts +1 -1
- package/components/icon/icons/ABTest2.vue.js +11 -17
- package/components/icon/icons/ACircle.vue.d.ts +1 -1
- package/components/icon/icons/ACircle.vue.js +12 -18
- package/components/icon/icons/AccountBalanceWallet.vue.d.ts +1 -1
- package/components/icon/icons/AccountBalanceWallet.vue.js +14 -21
- package/components/icon/icons/AccountCircle.vue.d.ts +1 -1
- package/components/icon/icons/AccountCircle.vue.js +12 -18
- package/components/icon/icons/AccountCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/AccountCircleOutline.vue.js +12 -18
- package/components/icon/icons/Add.vue.d.ts +1 -1
- package/components/icon/icons/Add.vue.js +12 -18
- package/components/icon/icons/Adjust.vue.d.ts +1 -1
- package/components/icon/icons/Adjust.vue.js +18 -27
- package/components/icon/icons/Analytics.vue.d.ts +1 -1
- package/components/icon/icons/Analytics.vue.js +12 -18
- package/components/icon/icons/Android.vue.d.ts +1 -1
- package/components/icon/icons/Android.vue.js +12 -18
- package/components/icon/icons/AngleDown.vue.d.ts +1 -1
- package/components/icon/icons/AngleDown.vue.js +12 -18
- package/components/icon/icons/AngleLeft.vue.d.ts +1 -1
- package/components/icon/icons/AngleLeft.vue.js +12 -18
- package/components/icon/icons/AngleRight.vue.d.ts +1 -1
- package/components/icon/icons/AngleRight.vue.js +12 -18
- package/components/icon/icons/AngleUp.vue.d.ts +1 -1
- package/components/icon/icons/AngleUp.vue.js +12 -18
- package/components/icon/icons/AppStore.vue.d.ts +1 -1
- package/components/icon/icons/AppStore.vue.js +14 -21
- package/components/icon/icons/AreaChart.vue.d.ts +1 -1
- package/components/icon/icons/AreaChart.vue.js +12 -18
- package/components/icon/icons/ArrowBack.vue.d.ts +1 -1
- package/components/icon/icons/ArrowBack.vue.js +12 -18
- package/components/icon/icons/ArrowDownward.vue.d.ts +1 -1
- package/components/icon/icons/ArrowDownward.vue.js +12 -18
- package/components/icon/icons/ArrowForward.vue.d.ts +1 -1
- package/components/icon/icons/ArrowForward.vue.js +12 -18
- package/components/icon/icons/ArrowLeft.vue.d.ts +1 -1
- package/components/icon/icons/ArrowLeft.vue.js +12 -18
- package/components/icon/icons/ArrowRight.vue.d.ts +1 -1
- package/components/icon/icons/ArrowRight.vue.js +12 -18
- package/components/icon/icons/ArrowSort-Down.vue.d.ts +1 -1
- package/components/icon/icons/ArrowSort-Down.vue.js +12 -18
- package/components/icon/icons/ArrowSort-Up.vue.d.ts +1 -1
- package/components/icon/icons/ArrowSort-Up.vue.js +12 -18
- package/components/icon/icons/ArrowUpward.vue.d.ts +1 -1
- package/components/icon/icons/ArrowUpward.vue.js +12 -18
- package/components/icon/icons/AutoAwesome.vue.d.ts +1 -1
- package/components/icon/icons/AutoAwesome.vue.js +12 -18
- package/components/icon/icons/AutoMode.vue.d.ts +1 -1
- package/components/icon/icons/AutoMode.vue.js +12 -18
- package/components/icon/icons/Autorenew.vue.d.ts +1 -1
- package/components/icon/icons/Autorenew.vue.js +12 -18
- package/components/icon/icons/B.vue.d.ts +1 -1
- package/components/icon/icons/B.vue.js +14 -21
- package/components/icon/icons/B2.vue.d.ts +1 -1
- package/components/icon/icons/B2.vue.js +12 -18
- package/components/icon/icons/BCircle.vue.d.ts +1 -1
- package/components/icon/icons/BCircle.vue.js +12 -18
- package/components/icon/icons/Banner.vue.d.ts +1 -1
- package/components/icon/icons/Banner.vue.js +14 -21
- package/components/icon/icons/Bidding.vue.d.ts +1 -1
- package/components/icon/icons/Bidding.vue.js +18 -27
- package/components/icon/icons/Bidding2.vue.d.ts +1 -1
- package/components/icon/icons/Bidding2.vue.js +18 -27
- package/components/icon/icons/Block.vue.d.ts +1 -1
- package/components/icon/icons/Block.vue.js +12 -18
- package/components/icon/icons/BorderColor.vue.d.ts +1 -1
- package/components/icon/icons/BorderColor.vue.js +12 -18
- package/components/icon/icons/Bug.vue.d.ts +1 -1
- package/components/icon/icons/Bug.vue.js +12 -18
- package/components/icon/icons/Bullhorn.vue.d.ts +1 -1
- package/components/icon/icons/Bullhorn.vue.js +12 -18
- package/components/icon/icons/BullseyeArrow.vue.d.ts +1 -1
- package/components/icon/icons/BullseyeArrow.vue.js +14 -21
- package/components/icon/icons/Cached.vue.d.ts +1 -1
- package/components/icon/icons/Cached.vue.js +12 -18
- package/components/icon/icons/Calendar.vue.d.ts +1 -1
- package/components/icon/icons/Calendar.vue.js +14 -21
- package/components/icon/icons/CalendarToday.vue.d.ts +1 -1
- package/components/icon/icons/CalendarToday.vue.js +12 -18
- package/components/icon/icons/Cancel.vue.d.ts +1 -1
- package/components/icon/icons/Cancel.vue.js +12 -18
- package/components/icon/icons/ChartBar.vue.d.ts +1 -1
- package/components/icon/icons/ChartBar.vue.js +12 -18
- package/components/icon/icons/ChartLine.vue.d.ts +1 -1
- package/components/icon/icons/ChartLine.vue.js +12 -18
- package/components/icon/icons/ChartMixed.vue.d.ts +1 -1
- package/components/icon/icons/ChartMixed.vue.js +12 -18
- package/components/icon/icons/Check.vue.d.ts +1 -1
- package/components/icon/icons/Check.vue.js +12 -18
- package/components/icon/icons/CheckBold.vue.d.ts +1 -1
- package/components/icon/icons/CheckBold.vue.js +12 -18
- package/components/icon/icons/Close.vue.d.ts +1 -1
- package/components/icon/icons/Close.vue.js +12 -18
- package/components/icon/icons/CloseBold.vue.d.ts +1 -1
- package/components/icon/icons/CloseBold.vue.js +12 -18
- package/components/icon/icons/ComputerMouse.vue.d.ts +1 -1
- package/components/icon/icons/ComputerMouse.vue.js +14 -21
- package/components/icon/icons/CopyTo-Clipboard.vue.d.ts +1 -1
- package/components/icon/icons/CopyTo-Clipboard.vue.js +12 -18
- package/components/icon/icons/CopyToClipboardFilled.vue.d.ts +1 -1
- package/components/icon/icons/CopyToClipboardFilled.vue.js +12 -18
- package/components/icon/icons/Create.vue.d.ts +1 -1
- package/components/icon/icons/Create.vue.js +12 -18
- package/components/icon/icons/Creative.vue.d.ts +1 -1
- package/components/icon/icons/Creative.vue.js +12 -18
- package/components/icon/icons/Cross.vue.d.ts +1 -1
- package/components/icon/icons/Cross.vue.js +12 -18
- package/components/icon/icons/CrownFill.vue.d.ts +1 -1
- package/components/icon/icons/CrownFill.vue.js +12 -18
- package/components/icon/icons/Cube.vue.d.ts +1 -1
- package/components/icon/icons/Cube.vue.js +12 -18
- package/components/icon/icons/CubeBackground.vue.d.ts +1 -1
- package/components/icon/icons/CubeBackground.vue.js +14 -21
- package/components/icon/icons/Cup.vue.d.ts +1 -1
- package/components/icon/icons/Cup.vue.js +12 -18
- package/components/icon/icons/CupA.vue.d.ts +1 -1
- package/components/icon/icons/CupA.vue.js +11 -17
- package/components/icon/icons/CupB.vue.d.ts +1 -1
- package/components/icon/icons/CupB.vue.js +11 -17
- package/components/icon/icons/Delete.vue.d.ts +1 -1
- package/components/icon/icons/Delete.vue.js +12 -18
- package/components/icon/icons/Diamond.vue.d.ts +1 -1
- package/components/icon/icons/Diamond.vue.js +12 -18
- package/components/icon/icons/Dots.vue.d.ts +1 -1
- package/components/icon/icons/Dots.vue.js +12 -18
- package/components/icon/icons/Download.vue.d.ts +1 -1
- package/components/icon/icons/Download.vue.js +12 -18
- package/components/icon/icons/Download2.vue.d.ts +1 -1
- package/components/icon/icons/Download2.vue.js +14 -21
- package/components/icon/icons/DownloadDone.vue.d.ts +1 -1
- package/components/icon/icons/DownloadDone.vue.js +12 -18
- package/components/icon/icons/DragIndicator.vue.d.ts +1 -1
- package/components/icon/icons/DragIndicator.vue.js +12 -18
- package/components/icon/icons/Ecpi.vue.d.ts +1 -1
- package/components/icon/icons/Ecpi.vue.js +16 -24
- package/components/icon/icons/Email.vue.d.ts +1 -1
- package/components/icon/icons/Email.vue.js +12 -18
- package/components/icon/icons/EmailEnvelope.vue.d.ts +1 -1
- package/components/icon/icons/EmailEnvelope.vue.js +12 -18
- package/components/icon/icons/Error.vue.d.ts +1 -1
- package/components/icon/icons/Error.vue.js +12 -18
- package/components/icon/icons/Eye.vue.d.ts +1 -1
- package/components/icon/icons/Eye.vue.js +15 -22
- package/components/icon/icons/FavoriteBorder.vue.d.ts +1 -1
- package/components/icon/icons/FavoriteBorder.vue.js +12 -18
- package/components/icon/icons/Filter.vue.d.ts +1 -1
- package/components/icon/icons/Filter.vue.js +12 -18
- package/components/icon/icons/FilterList.vue.d.ts +1 -1
- package/components/icon/icons/FilterList.vue.js +12 -18
- package/components/icon/icons/Frame.vue.d.ts +1 -1
- package/components/icon/icons/Frame.vue.js +12 -18
- package/components/icon/icons/Fullscreen.vue.d.ts +1 -1
- package/components/icon/icons/Fullscreen.vue.js +12 -18
- package/components/icon/icons/FullscreenExit.vue.d.ts +1 -1
- package/components/icon/icons/FullscreenExit.vue.js +12 -18
- package/components/icon/icons/Functions.vue.d.ts +1 -1
- package/components/icon/icons/Functions.vue.js +12 -18
- package/components/icon/icons/GamepadAlt.vue.d.ts +1 -1
- package/components/icon/icons/GamepadAlt.vue.js +12 -18
- package/components/icon/icons/Games.vue.d.ts +1 -1
- package/components/icon/icons/Games.vue.js +12 -18
- package/components/icon/icons/Gavel.vue.d.ts +1 -1
- package/components/icon/icons/Gavel.vue.js +12 -18
- package/components/icon/icons/Gift.vue.d.ts +1 -1
- package/components/icon/icons/Gift.vue.js +12 -18
- package/components/icon/icons/GitHub.vue.d.ts +1 -1
- package/components/icon/icons/GitHub.vue.js +12 -18
- package/components/icon/icons/GlobeStand.vue.d.ts +1 -1
- package/components/icon/icons/GlobeStand.vue.js +12 -18
- package/components/icon/icons/GooglePlay.vue.d.ts +1 -1
- package/components/icon/icons/GooglePlay.vue.js +12 -18
- package/components/icon/icons/Group.vue.d.ts +1 -1
- package/components/icon/icons/Group.vue.js +12 -18
- package/components/icon/icons/HandPointer.vue.d.ts +1 -1
- package/components/icon/icons/HandPointer.vue.js +15 -22
- package/components/icon/icons/Hands.vue.d.ts +1 -1
- package/components/icon/icons/Hands.vue.js +12 -18
- package/components/icon/icons/Heartbeat.vue.d.ts +1 -1
- package/components/icon/icons/Heartbeat.vue.js +12 -18
- package/components/icon/icons/Help.vue.d.ts +1 -1
- package/components/icon/icons/Help.vue.js +12 -18
- package/components/icon/icons/HelpOutline.vue.d.ts +1 -1
- package/components/icon/icons/HelpOutline.vue.js +12 -18
- package/components/icon/icons/History.vue.d.ts +1 -1
- package/components/icon/icons/History.vue.js +12 -18
- package/components/icon/icons/IOS.vue.d.ts +1 -1
- package/components/icon/icons/IOS.vue.js +12 -18
- package/components/icon/icons/Image.vue.d.ts +1 -1
- package/components/icon/icons/Image.vue.js +12 -18
- package/components/icon/icons/ImageNotSupported.vue.d.ts +1 -1
- package/components/icon/icons/ImageNotSupported.vue.js +14 -21
- package/components/icon/icons/ImageSlash.vue.d.ts +1 -1
- package/components/icon/icons/ImageSlash.vue.js +12 -18
- package/components/icon/icons/ImportExport.vue.d.ts +1 -1
- package/components/icon/icons/ImportExport.vue.js +12 -18
- package/components/icon/icons/ImportExport2.vue.d.ts +1 -1
- package/components/icon/icons/ImportExport2.vue.js +12 -18
- package/components/icon/icons/Importent.vue.d.ts +1 -1
- package/components/icon/icons/Importent.vue.js +12 -18
- package/components/icon/icons/Info.vue.d.ts +1 -1
- package/components/icon/icons/Info.vue.js +12 -18
- package/components/icon/icons/InfoOutline.vue.d.ts +1 -1
- package/components/icon/icons/InfoOutline.vue.js +12 -18
- package/components/icon/icons/Insights.vue.d.ts +1 -1
- package/components/icon/icons/Insights.vue.js +12 -18
- package/components/icon/icons/Interstitial.vue.d.ts +1 -1
- package/components/icon/icons/Interstitial.vue.js +14 -21
- package/components/icon/icons/Ios14.vue.d.ts +1 -1
- package/components/icon/icons/Ios14.vue.js +12 -18
- package/components/icon/icons/Js.vue.d.ts +1 -1
- package/components/icon/icons/Js.vue.js +12 -18
- package/components/icon/icons/Landscape.vue.d.ts +1 -1
- package/components/icon/icons/Landscape.vue.js +12 -18
- package/components/icon/icons/Launch.vue.d.ts +1 -1
- package/components/icon/icons/Launch.vue.js +12 -18
- package/components/icon/icons/Levelplay.vue.d.ts +1 -1
- package/components/icon/icons/Levelplay.vue.js +16 -23
- package/components/icon/icons/LimitCircle.vue.d.ts +1 -1
- package/components/icon/icons/LimitCircle.vue.js +14 -21
- package/components/icon/icons/LimitOctagon.vue.d.ts +1 -1
- package/components/icon/icons/LimitOctagon.vue.js +14 -21
- package/components/icon/icons/Link.vue.d.ts +1 -1
- package/components/icon/icons/Link.vue.js +12 -18
- package/components/icon/icons/LoadingClean.vue.d.ts +1 -1
- package/components/icon/icons/LoadingClean.vue.js +12 -18
- package/components/icon/icons/Lock.vue.d.ts +1 -1
- package/components/icon/icons/Lock.vue.js +12 -18
- package/components/icon/icons/LockOpen.vue.d.ts +1 -1
- package/components/icon/icons/LockOpen.vue.js +12 -18
- package/components/icon/icons/Login.vue.d.ts +1 -1
- package/components/icon/icons/Login.vue.js +12 -18
- package/components/icon/icons/Logout.vue.d.ts +1 -1
- package/components/icon/icons/Logout.vue.js +12 -18
- package/components/icon/icons/Marketing.vue.d.ts +1 -1
- package/components/icon/icons/Marketing.vue.js +14 -21
- package/components/icon/icons/MilitaryTech.vue.d.ts +1 -1
- package/components/icon/icons/MilitaryTech.vue.js +12 -18
- package/components/icon/icons/Mix.vue.d.ts +1 -1
- package/components/icon/icons/Mix.vue.js +12 -18
- package/components/icon/icons/Mix2.vue.d.ts +1 -1
- package/components/icon/icons/Mix2.vue.js +14 -21
- package/components/icon/icons/MobileLandscape.vue.d.ts +1 -1
- package/components/icon/icons/MobileLandscape.vue.js +12 -18
- package/components/icon/icons/MobilePortrait.vue.d.ts +1 -1
- package/components/icon/icons/MobilePortrait.vue.js +12 -18
- package/components/icon/icons/MoneyCheck.vue.d.ts +1 -1
- package/components/icon/icons/MoneyCheck.vue.js +15 -22
- package/components/icon/icons/MoreHoriz.vue.d.ts +1 -1
- package/components/icon/icons/MoreHoriz.vue.js +12 -18
- package/components/icon/icons/MoreVert.vue.d.ts +1 -1
- package/components/icon/icons/MoreVert.vue.js +12 -18
- package/components/icon/icons/Mouse.vue.d.ts +1 -1
- package/components/icon/icons/Mouse.vue.js +12 -18
- package/components/icon/icons/MousePointer.vue.d.ts +1 -1
- package/components/icon/icons/MousePointer.vue.js +12 -18
- package/components/icon/icons/MovingUp.vue.d.ts +1 -1
- package/components/icon/icons/MovingUp.vue.js +12 -18
- package/components/icon/icons/NativeAd.vue.d.ts +1 -1
- package/components/icon/icons/NativeAd.vue.js +11 -17
- package/components/icon/icons/NotificationsNone.vue.d.ts +1 -1
- package/components/icon/icons/NotificationsNone.vue.js +12 -18
- package/components/icon/icons/Offerwall.vue.d.ts +1 -1
- package/components/icon/icons/Offerwall.vue.js +14 -21
- package/components/icon/icons/Palyable.vue.d.ts +1 -1
- package/components/icon/icons/Palyable.vue.js +12 -18
- package/components/icon/icons/PaperPlane-Off.vue.d.ts +1 -1
- package/components/icon/icons/PaperPlane-Off.vue.js +12 -18
- package/components/icon/icons/PaperPlane.vue.d.ts +1 -1
- package/components/icon/icons/PaperPlane.vue.js +12 -18
- package/components/icon/icons/Pause.vue.d.ts +1 -1
- package/components/icon/icons/Pause.vue.js +12 -18
- package/components/icon/icons/PauseCircleFilled.vue.d.ts +1 -1
- package/components/icon/icons/PauseCircleFilled.vue.js +12 -18
- package/components/icon/icons/PauseCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/PauseCircleOutline.vue.js +12 -18
- package/components/icon/icons/PhoneIphone.vue.d.ts +1 -1
- package/components/icon/icons/PhoneIphone.vue.js +12 -18
- package/components/icon/icons/Photo.vue.d.ts +1 -1
- package/components/icon/icons/Photo.vue.js +14 -21
- package/components/icon/icons/Photo2.vue.d.ts +1 -1
- package/components/icon/icons/Photo2.vue.js +12 -18
- package/components/icon/icons/PlayArrow.vue.d.ts +1 -1
- package/components/icon/icons/PlayArrow.vue.js +12 -18
- package/components/icon/icons/PlayCircleFilledWhite.vue.d.ts +1 -1
- package/components/icon/icons/PlayCircleFilledWhite.vue.js +12 -18
- package/components/icon/icons/PlayCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/PlayCircleOutline.vue.js +12 -18
- package/components/icon/icons/Qrcode.vue.d.ts +1 -1
- package/components/icon/icons/Qrcode.vue.js +12 -18
- package/components/icon/icons/QuickAB.vue.d.ts +1 -1
- package/components/icon/icons/QuickAB.vue.js +11 -17
- package/components/icon/icons/QuickAB2.vue.d.ts +1 -1
- package/components/icon/icons/QuickAB2.vue.js +11 -17
- package/components/icon/icons/React.vue.d.ts +1 -1
- package/components/icon/icons/React.vue.js +12 -18
- package/components/icon/icons/Redo.vue.d.ts +1 -1
- package/components/icon/icons/Redo.vue.js +12 -18
- package/components/icon/icons/Refresh.vue.d.ts +1 -1
- package/components/icon/icons/Refresh.vue.js +12 -18
- package/components/icon/icons/Remove.vue.d.ts +1 -1
- package/components/icon/icons/Remove.vue.js +12 -18
- package/components/icon/icons/Replay.vue.d.ts +1 -1
- package/components/icon/icons/Replay.vue.js +12 -18
- package/components/icon/icons/RewardedVideo.vue.d.ts +1 -1
- package/components/icon/icons/RewardedVideo.vue.js +14 -21
- package/components/icon/icons/RocketLaunch.vue.d.ts +1 -1
- package/components/icon/icons/RocketLaunch.vue.js +12 -18
- package/components/icon/icons/Rotate.vue.d.ts +1 -1
- package/components/icon/icons/Rotate.vue.js +12 -18
- package/components/icon/icons/Route.vue.d.ts +1 -1
- package/components/icon/icons/Route.vue.js +12 -18
- package/components/icon/icons/SackDollar.vue.d.ts +1 -1
- package/components/icon/icons/SackDollar.vue.js +14 -21
- package/components/icon/icons/Schedule.vue.d.ts +1 -1
- package/components/icon/icons/Schedule.vue.js +12 -18
- package/components/icon/icons/Search.vue.d.ts +1 -1
- package/components/icon/icons/Search.vue.js +12 -18
- package/components/icon/icons/SearchBold.vue.d.ts +1 -1
- package/components/icon/icons/SearchBold.vue.js +12 -18
- package/components/icon/icons/Share.vue.d.ts +1 -1
- package/components/icon/icons/Share.vue.js +12 -18
- package/components/icon/icons/Slack.vue.d.ts +1 -1
- package/components/icon/icons/Slack.vue.js +12 -18
- package/components/icon/icons/SportsEsports.vue.d.ts +1 -1
- package/components/icon/icons/SportsEsports.vue.js +12 -18
- package/components/icon/icons/Star.vue.d.ts +1 -1
- package/components/icon/icons/Star.vue.js +12 -18
- package/components/icon/icons/StarFill.vue.d.ts +1 -1
- package/components/icon/icons/StarFill.vue.js +12 -18
- package/components/icon/icons/StatusBanner.vue.d.ts +1 -1
- package/components/icon/icons/StatusBanner.vue.js +14 -21
- package/components/icon/icons/StatusInterstitial.vue.d.ts +1 -1
- package/components/icon/icons/StatusInterstitial.vue.js +14 -21
- package/components/icon/icons/StatusNativeAd.vue.d.ts +1 -1
- package/components/icon/icons/StatusNativeAd.vue.js +11 -17
- package/components/icon/icons/StatusOfferwall.vue.d.ts +1 -1
- package/components/icon/icons/StatusOfferwall.vue.js +14 -21
- package/components/icon/icons/StatusRewardedVideo.vue.d.ts +1 -1
- package/components/icon/icons/StatusRewardedVideo.vue.js +14 -21
- package/components/icon/icons/StopCircleFilled.vue.d.ts +1 -1
- package/components/icon/icons/StopCircleFilled.vue.js +12 -18
- package/components/icon/icons/StopCircleOutline.vue.d.ts +1 -1
- package/components/icon/icons/StopCircleOutline.vue.js +12 -18
- package/components/icon/icons/Style.vue.d.ts +1 -1
- package/components/icon/icons/Style.vue.js +14 -21
- package/components/icon/icons/Success.vue.d.ts +1 -1
- package/components/icon/icons/Success.vue.js +12 -18
- package/components/icon/icons/SuccessFull.vue.d.ts +1 -1
- package/components/icon/icons/SuccessFull.vue.js +12 -18
- package/components/icon/icons/Switch.vue.d.ts +1 -1
- package/components/icon/icons/Switch.vue.js +12 -18
- package/components/icon/icons/TabletLandscape.vue.d.ts +1 -1
- package/components/icon/icons/TabletLandscape.vue.js +12 -18
- package/components/icon/icons/TabletMac.vue.d.ts +1 -1
- package/components/icon/icons/TabletMac.vue.js +12 -18
- package/components/icon/icons/TabletPortrait.vue.d.ts +1 -1
- package/components/icon/icons/TabletPortrait.vue.js +12 -18
- package/components/icon/icons/Texture.vue.d.ts +1 -1
- package/components/icon/icons/Texture.vue.js +12 -18
- package/components/icon/icons/ThemeDark.vue.d.ts +1 -1
- package/components/icon/icons/ThemeDark.vue.js +12 -18
- package/components/icon/icons/ThemeLight.vue.d.ts +1 -1
- package/components/icon/icons/ThemeLight.vue.js +12 -18
- package/components/icon/icons/Timelapse.vue.d.ts +1 -1
- package/components/icon/icons/Timelapse.vue.js +12 -18
- package/components/icon/icons/Timeline.vue.d.ts +1 -1
- package/components/icon/icons/Timeline.vue.js +12 -18
- package/components/icon/icons/TrendingDown.vue.d.ts +1 -1
- package/components/icon/icons/TrendingDown.vue.js +12 -18
- package/components/icon/icons/TrendingFlat.vue.d.ts +1 -1
- package/components/icon/icons/TrendingFlat.vue.js +12 -18
- package/components/icon/icons/TrendingUp.vue.d.ts +1 -1
- package/components/icon/icons/TrendingUp.vue.js +12 -18
- package/components/icon/icons/Tune.vue.d.ts +1 -1
- package/components/icon/icons/Tune.vue.js +12 -18
- package/components/icon/icons/TwoToneBanner.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneBanner.vue.js +14 -21
- package/components/icon/icons/TwoToneInterstitial.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneInterstitial.vue.js +14 -21
- package/components/icon/icons/TwoToneNativeAd.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneNativeAd.vue.js +11 -17
- package/components/icon/icons/TwoToneOfferwall.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneOfferwall.vue.js +14 -21
- package/components/icon/icons/TwoToneRewardedVideo.vue.d.ts +1 -1
- package/components/icon/icons/TwoToneRewardedVideo.vue.js +16 -24
- package/components/icon/icons/Undo.vue.d.ts +1 -1
- package/components/icon/icons/Undo.vue.js +12 -18
- package/components/icon/icons/UnfoldLess.vue.d.ts +1 -1
- package/components/icon/icons/UnfoldLess.vue.js +12 -18
- package/components/icon/icons/UnfoldMore.vue.d.ts +1 -1
- package/components/icon/icons/UnfoldMore.vue.js +12 -18
- package/components/icon/icons/VerticalAlignTop.vue.d.ts +1 -1
- package/components/icon/icons/VerticalAlignTop.vue.js +12 -18
- package/components/icon/icons/VerticalAlignTop2.vue.d.ts +1 -1
- package/components/icon/icons/VerticalAlignTop2.vue.js +12 -18
- package/components/icon/icons/Vibration.vue.d.ts +1 -1
- package/components/icon/icons/Vibration.vue.js +12 -18
- package/components/icon/icons/VideoRound.vue.d.ts +1 -1
- package/components/icon/icons/VideoRound.vue.js +12 -18
- package/components/icon/icons/ViewCarousel.vue.d.ts +1 -1
- package/components/icon/icons/ViewCarousel.vue.js +12 -18
- package/components/icon/icons/Visibility.vue.d.ts +1 -1
- package/components/icon/icons/Visibility.vue.js +12 -18
- package/components/icon/icons/VisibilityOff.vue.d.ts +1 -1
- package/components/icon/icons/VisibilityOff.vue.js +12 -18
- package/components/icon/icons/VisibilityOffStrok.vue.d.ts +1 -1
- package/components/icon/icons/VisibilityOffStrok.vue.js +12 -18
- package/components/icon/icons/VisibilityStrok.vue.d.ts +1 -1
- package/components/icon/icons/VisibilityStrok.vue.js +12 -18
- package/components/icon/icons/VolumeOff.vue.d.ts +1 -1
- package/components/icon/icons/VolumeOff.vue.js +12 -18
- package/components/icon/icons/VolumeUp.vue.d.ts +1 -1
- package/components/icon/icons/VolumeUp.vue.js +12 -18
- package/components/icon/icons/Warning.vue.d.ts +1 -1
- package/components/icon/icons/Warning.vue.js +12 -18
- package/components/icon/icons/Warning2.vue.d.ts +1 -1
- package/components/icon/icons/Warning2.vue.js +12 -18
- package/components/icon/icons/WebApp.vue.d.ts +1 -1
- package/components/icon/icons/WebApp.vue.js +12 -18
- package/components/icon/icons/Widget.vue.d.ts +1 -1
- package/components/icon/icons/Widget.vue.js +13 -18
- package/components/icon/icons/Widgets.vue.d.ts +1 -1
- package/components/icon/icons/Widgets.vue.js +12 -18
- package/components/icon/icons/WidgetsFill.vue.d.ts +1 -1
- package/components/icon/icons/WidgetsFill.vue.js +12 -18
- package/components/icon/icons/WidgetsFlatSquares.vue.d.ts +1 -1
- package/components/icon/icons/WidgetsFlatSquares.vue.js +18 -27
- package/components/icon/icons/Widgetsz.vue.d.ts +1 -1
- package/components/icon/icons/Widgetsz.vue.js +14 -21
- package/components/icon/icons/WifiProtectedSetup.vue.d.ts +1 -1
- package/components/icon/icons/WifiProtectedSetup.vue.js +12 -18
- package/components/icon/icons/index.d.ts +0 -3
- package/components/icon/icons/{index.vue.js → index.js} +4 -6
- package/components/icon/index.d.ts +82 -19
- package/components/icon/index.js +8 -0
- package/components/icon/storyComponents/Code.vue.d.ts +10 -13
- package/components/icon/storyComponents/IconWrapper.vue.d.ts +10 -13
- package/components/icon/storyComponents/Page.vue.d.ts +10 -13
- package/components/includeExclude/IncludeExclude.vue.d.ts +178 -103
- package/components/includeExclude/IncludeExclude.vue.js +5 -611
- package/components/includeExclude/IncludeExclude.vue2.js +414 -0
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +124 -74
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +6 -120
- package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +112 -0
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +38 -29
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +6 -173
- package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +106 -0
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +174 -94
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +6 -155
- package/components/includeExclude/IncludeExcludeChipFilter.vue2.js +145 -0
- package/components/includeExclude/IncludeExcludeContext.js +18 -0
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +57 -39
- package/components/includeExclude/IncludeExcludeOption.vue.js +5 -134
- package/components/includeExclude/IncludeExcludeOption.vue2.js +114 -0
- package/components/includeExclude/includeExcludeMocks.d.ts +0 -12
- package/components/includeExclude/index.d.ts +958 -374
- package/components/includeExclude/index.js +20 -0
- package/components/input/DollarInput.vue.d.ts +225 -12
- package/components/input/DollarInput.vue.js +6 -37
- package/components/input/DollarInput.vue2.js +31 -0
- package/components/input/Input.vue.d.ts +141 -85
- package/components/input/Input.vue.js +5 -232
- package/components/input/Input.vue2.js +195 -0
- package/components/input/PasswordInput.vue.d.ts +225 -12
- package/components/input/PasswordInput.vue.js +6 -41
- package/components/input/PasswordInput.vue2.js +33 -0
- package/components/input/PercentageInput.vue.d.ts +231 -12
- package/components/input/PercentageInput.vue.js +6 -37
- package/components/input/PercentageInput.vue2.js +31 -0
- package/components/input/index.d.ts +316 -129
- package/components/input/index.js +12 -0
- package/components/menu/Menu.vue.d.ts +49 -37
- package/components/menu/Menu.vue.js +6 -73
- package/components/menu/Menu.vue2.js +60 -0
- package/components/menu/index.d.ts +126 -35
- package/components/menu/index.js +6 -0
- package/components/menuItem/MenuItem.vue.d.ts +10 -1
- package/components/menuItem/MenuItem.vue.js +20 -25
- package/components/menuItem/index.d.ts +49 -1
- package/components/menuItem/index.js +6 -0
- package/components/popover/Popover.vue.d.ts +68 -44
- package/components/popover/Popover.vue.js +26 -29
- package/components/popover/Popover.vue3.js +4 -0
- package/components/popover/index.d.ts +157 -48
- package/components/popover/index.js +6 -0
- package/components/radioButton/RadioButton.vue.d.ts +50 -37
- package/components/radioButton/RadioButton.vue.js +6 -84
- package/components/radioButton/RadioButton.vue2.js +75 -0
- package/components/radioButton/RadioGroup.vue.d.ts +40 -33
- package/components/radioButton/RadioGroup.vue.js +6 -56
- package/components/radioButton/RadioGroup.vue2.js +41 -0
- package/components/radioButton/index.d.ts +251 -59
- package/components/radioButton/index.js +8 -0
- package/components/radioButton/useRadio.js +24 -0
- package/components/search/Search.vue.d.ts +46 -38
- package/components/search/Search.vue.js +6 -91
- package/components/search/Search.vue2.js +53 -0
- package/components/search/index.d.ts +11 -17
- package/components/search/index.js +6 -0
- package/components/skeleton/Skeleton.vue.d.ts +20 -14
- package/components/skeleton/Skeleton.vue.js +6 -23
- package/components/skeleton/Skeleton.vue2.js +18 -0
- package/components/skeleton/index.d.ts +68 -8
- package/components/skeleton/index.js +6 -0
- package/components/snackbar/Snackbar.vue.d.ts +126 -59
- package/components/snackbar/Snackbar.vue.js +6 -181
- package/components/snackbar/Snackbar.vue2.js +149 -0
- package/components/snackbar/index.js +6 -0
- package/components/snackbar/notify.js +84 -0
- package/components/snackbar/snackbar.types.js +7 -0
- package/components/switch/Switch.vue.d.ts +36 -26
- package/components/switch/Switch.vue.js +6 -79
- package/components/switch/Switch.vue2.js +62 -0
- package/components/switch/index.d.ts +101 -18
- package/components/switch/index.js +6 -0
- package/components/table/SortOrderIcon.vue.d.ts +1 -1
- package/components/table/SortOrderIcon.vue.js +12 -19
- package/components/table/Table.types.d.ts +0 -1
- package/components/table/Table.vue.d.ts +130 -77
- package/components/table/Table.vue.js +6 -342
- package/components/table/Table.vue2.js +261 -0
- package/components/table/TableContext.js +18 -0
- package/components/table/TableHeaderSorter.vue.d.ts +10 -13
- package/components/table/TableHeaderSorter.vue.js +6 -29
- package/components/table/TableHeaderSorter.vue2.js +23 -0
- package/components/table/index.d.ts +297 -111
- package/components/table/index.js +8 -0
- package/components/table-cells/Editable.vue.d.ts +57 -37
- package/components/table-cells/Editable.vue.js +5 -88
- package/components/table-cells/Editable.vue2.js +66 -0
- package/components/table-cells/EditableContext.js +11 -0
- package/components/table-cells/index.d.ts +135 -36
- package/components/table-cells/index.js +10 -0
- package/components/tabs/Tabs.vue.d.ts +52 -48
- package/components/tabs/Tabs.vue.js +5 -123
- package/components/tabs/Tabs.vue2.js +91 -0
- package/components/tabs/index.d.ts +155 -36
- package/components/tabs/index.js +6 -0
- package/components/textArea/TextArea.vue.d.ts +53 -45
- package/components/textArea/TextArea.vue.js +5 -65
- package/components/textArea/TextArea.vue2.js +58 -0
- package/components/textArea/index.d.ts +9 -21
- package/components/textArea/index.js +6 -0
- package/components/toggle/Toggle.vue.d.ts +61 -47
- package/components/toggle/Toggle.vue.js +6 -88
- package/components/toggle/Toggle.vue2.js +76 -0
- package/components/toggle/index.d.ts +9 -21
- package/components/toggle/index.js +6 -0
- package/components/tooltip/TextWithTitleContent.vue.d.ts +18 -15
- package/components/tooltip/TextWithTitleContent.vue2.js +6 -0
- package/components/tooltip/TextWithTitleContent.vue3.js +40 -0
- package/components/tooltip/Tooltip.vue.d.ts +80 -52
- package/components/tooltip/Tooltip.vue.js +62 -80
- package/components/tooltip/Tooltip.vue3.js +4 -0
- package/components/tooltip/index.d.ts +172 -55
- package/components/tooltip/index.js +6 -0
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +16 -12
- package/components/typography/Heading.vue.d.ts +22 -23
- package/components/typography/Heading.vue.js +6 -33
- package/components/typography/Heading.vue3.js +22 -0
- package/components/typography/Text.vue.d.ts +28 -25
- package/components/typography/Text.vue.js +6 -28
- package/components/typography/Text.vue2.js +20 -0
- package/components/typography/index.d.ts +163 -29
- package/components/typography/index.js +8 -0
- package/composables/useId.js +14 -0
- package/composables/useIsFocusVisible.js +26 -0
- package/composables/useSearch.js +15 -0
- package/composables/useToggle.js +18 -0
- package/consts/{colors.vue.js → colors.js} +4 -3
- package/index.js +189 -0
- package/package.json +33 -28
- package/utils/array.js +9 -0
- package/utils/object.js +9 -0
- package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/AppIcon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/CssBaseline.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Heading.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Icon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Label.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Option.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/SortOrderIcon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/_virtual/plugin-vue_export-helper.vue.js +0 -9
- package/components/appIcon/index.vue.js +0 -6
- package/components/appTrigger/index.vue.js +0 -6
- package/components/autocompleteDropdown/consts.vue.js +0 -4
- package/components/autocompleteDropdown/index.vue.js +0 -6
- package/components/autocompleteDropdown/useKeyboardNavigation.vue.js +0 -79
- package/components/banner/index.vue.js +0 -6
- package/components/button/ButtonBase.vue.js +0 -63
- package/components/button/consts.vue.js +0 -17
- package/components/button/index.vue.js +0 -10
- package/components/checkbox/index.vue.js +0 -6
- package/components/chip/index.vue.js +0 -6
- package/components/cssBaseline/index.vue.js +0 -6
- package/components/datePicker/index.vue.js +0 -6
- package/components/dateRange/DateServices.vue.js +0 -374
- package/components/dateRange/index.vue.js +0 -6
- package/components/dialog/Reason.vue.js +0 -9
- package/components/dialog/index.vue.js +0 -6
- package/components/dropdown/DropdownContext.vue.js +0 -29
- package/components/dropdown/index.vue.js +0 -12
- package/components/emptyState/index.vue.js +0 -6
- package/components/filterDropdown/index.vue.js +0 -8
- package/components/filtersPanel/FiltersPanel.vue.d.ts +0 -33
- package/components/filtersPanel/index.vue.js +0 -14
- package/components/filtersPanel/useHiddenFilter.vue.js +0 -33
- package/components/floatingToolbar/index.vue.js +0 -6
- package/components/icon/icons/TableEdit.vue.d.ts +0 -2
- package/components/icon/icons/TableEdit.vue.js +0 -24
- package/components/icon/index.vue.js +0 -8
- package/components/includeExclude/IncludeExcludeContext.vue.js +0 -19
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -122
- package/components/includeExclude/index.vue.js +0 -23
- package/components/input/index.vue.js +0 -12
- package/components/menu/index.vue.js +0 -6
- package/components/menuItem/index.vue.js +0 -6
- package/components/popover/index.vue.js +0 -6
- package/components/radioButton/index.vue.js +0 -8
- package/components/radioButton/useRadio.vue.js +0 -39
- package/components/search/index.vue.js +0 -6
- package/components/skeleton/index.vue.js +0 -6
- package/components/snackbar/index.vue.js +0 -5
- package/components/snackbar/notify.vue.js +0 -106
- package/components/snackbar/snackbar.types.vue.js +0 -6
- package/components/switch/index.vue.js +0 -6
- package/components/table/Pagination.vue.d.ts +0 -43
- package/components/table/TableContext.vue.js +0 -19
- package/components/table/index.vue.js +0 -8
- package/components/table-cells/EditableContext.vue.js +0 -10
- package/components/table-cells/index.vue.js +0 -8
- package/components/tabs/index.vue.js +0 -6
- package/components/textArea/index.vue.js +0 -6
- package/components/toggle/index.vue.js +0 -6
- package/components/tooltip/TextWithTitleContent.vue.js +0 -48
- package/components/tooltip/index.vue.js +0 -6
- package/components/typography/index.vue.js +0 -8
- package/composables/useId.vue.js +0 -15
- package/composables/useIsFocusVisible.vue.js +0 -34
- package/composables/useSearch.vue.js +0 -18
- package/composables/useToggle.vue.js +0 -27
- package/index.vue.js +0 -94
- package/utils/array.vue.js +0 -13
- package/utils/object.vue.js +0 -10
- /package/{CssBaseline.vue_vue_type_style_index_1_lang.css → assets/CssBaseline.vue_vue_type_style_index_1_lang.css} +0 -0
- /package/{Dropdown.vue_vue_type_style_index_1_lang.css → assets/Dropdown.vue_vue_type_style_index_1_lang.css} +0 -0
- /package/{Menu.vue_vue_type_style_index_1_lang.css → assets/Menu.vue_vue_type_style_index_1_lang.css} +0 -0
- /package/{Popover.vue_vue_type_style_index_0_lang.css → assets/Popover.vue_vue_type_style_index_0_lang.css} +0 -0
- /package/{Table.vue_vue_type_style_index_1_lang.css → assets/Table.vue_vue_type_style_index_1_lang.css} +0 -0
- /package/{Tooltip.vue_vue_type_style_index_0_lang.css → assets/Tooltip.vue_vue_type_style_index_0_lang.css} +0 -0
|
@@ -1,342 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import TableHeaderSorter from './TableHeaderSorter.vue.js';
|
|
8
|
-
import { useVirtualList, useInfiniteScroll } from '@vueuse/core';
|
|
9
|
-
import { TableContext } from './TableContext.vue.js';
|
|
10
|
-
/* empty css *//* empty css */
|
|
11
|
-
import "../../Table.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
12
|
-
const _hoisted_1 = { class: "table-title" };
|
|
13
|
-
const _hoisted_2 = { class: "table-header-actions" };
|
|
14
|
-
const _hoisted_3 = { class: "sections" };
|
|
15
|
-
const _hoisted_4 = ["onClick"];
|
|
16
|
-
const _hoisted_5 = { class: "table-head-container" };
|
|
17
|
-
const _hoisted_6 = ["onMouseenter"];
|
|
18
|
-
const _hoisted_7 = { key: 1 };
|
|
19
|
-
const _hoisted_8 = { key: 1 };
|
|
20
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
|
-
__name: "Table",
|
|
22
|
-
props: {
|
|
23
|
-
title: null,
|
|
24
|
-
columns: null,
|
|
25
|
-
rows: null,
|
|
26
|
-
sections: { default: null },
|
|
27
|
-
sort: null,
|
|
28
|
-
isSticky: { type: Boolean, default: true },
|
|
29
|
-
isStickyHeader: { type: Boolean, default: false },
|
|
30
|
-
isLoading: { type: Boolean, default: false },
|
|
31
|
-
emptyStateTitle: { default: "No results found" },
|
|
32
|
-
emptyStateSubtitle: { default: "Try again with different filters" },
|
|
33
|
-
isInfiniteScroll: { type: Boolean, default: false },
|
|
34
|
-
infiniteScrollThreshold: { default: 100 },
|
|
35
|
-
rowHeight: { type: [Number, Function], default: 48 },
|
|
36
|
-
loadingRowCount: { default: 3 },
|
|
37
|
-
defaultScrollPosition: { default: null }
|
|
38
|
-
},
|
|
39
|
-
emits: ["update:sort", "saveRow", "loadMore"],
|
|
40
|
-
setup(__props, { emit }) {
|
|
41
|
-
const props = __props;
|
|
42
|
-
useCssVars((_ctx) => ({
|
|
43
|
-
"3dbbd311": unref(gridColumnTemplate)
|
|
44
|
-
}));
|
|
45
|
-
const savingRows = ref([]);
|
|
46
|
-
provide(TableContext, {
|
|
47
|
-
onClose({ rowIndex, cellIndex, value } = {}) {
|
|
48
|
-
if (value) {
|
|
49
|
-
savingRows.value = [...savingRows.value, rowIndex];
|
|
50
|
-
emit("saveRow", {
|
|
51
|
-
rowIndex,
|
|
52
|
-
cellIndex,
|
|
53
|
-
value,
|
|
54
|
-
confirm: () => {
|
|
55
|
-
savingRows.value = savingRows.value.filter((row) => row !== rowIndex);
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
const gridColumnTemplate = computed(() => {
|
|
62
|
-
return props.columns.reduce((acc, column) => {
|
|
63
|
-
const columnTemplate = column.width ? `${column.width}px` : `${column.colSpan || 1}fr`;
|
|
64
|
-
return `${acc} ${columnTemplate}`;
|
|
65
|
-
}, "");
|
|
66
|
-
});
|
|
67
|
-
const activeRow = ref(null);
|
|
68
|
-
const loadingRows = computed(() => {
|
|
69
|
-
return Array(props.loadingRowCount).fill(
|
|
70
|
-
Array(props.columns.length).fill("")
|
|
71
|
-
);
|
|
72
|
-
});
|
|
73
|
-
const rows = computed(() => {
|
|
74
|
-
return props.isLoading ? [...props.rows, ...loadingRows.value] : props.rows;
|
|
75
|
-
});
|
|
76
|
-
const { list, containerProps, wrapperProps } = useVirtualList(rows, {
|
|
77
|
-
itemHeight: props.rowHeight
|
|
78
|
-
});
|
|
79
|
-
const floatingActionRef = ref(null);
|
|
80
|
-
const floatingActionPosition = ref(0);
|
|
81
|
-
const slots = useSlots();
|
|
82
|
-
const hasSearchSlot = computed(() => !!slots.search);
|
|
83
|
-
const onScroll = (event) => {
|
|
84
|
-
containerProps.onScroll();
|
|
85
|
-
floatingActionPosition.value = event.target.scrollLeft + event.target.getBoundingClientRect().width;
|
|
86
|
-
};
|
|
87
|
-
onMounted(() => {
|
|
88
|
-
floatingActionPosition.value = containerProps.ref.value?.getBoundingClientRect().width;
|
|
89
|
-
if (props.defaultScrollPosition) {
|
|
90
|
-
setTimeout(() => {
|
|
91
|
-
containerProps.ref.value.scrollTo({
|
|
92
|
-
top: props.defaultScrollPosition,
|
|
93
|
-
behavior: "smooth"
|
|
94
|
-
});
|
|
95
|
-
}, 1e3);
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
const showBackToTopButton = computed(() => {
|
|
99
|
-
const [firstListItem] = list.value;
|
|
100
|
-
return firstListItem && firstListItem.index > 0;
|
|
101
|
-
});
|
|
102
|
-
const containerStyle = computed(() => containerProps.style);
|
|
103
|
-
const columnsStickyPositions = computed(() => {
|
|
104
|
-
return props.columns.reduce((acc, column) => {
|
|
105
|
-
if (column.isSticky) {
|
|
106
|
-
acc[column.id] = getColumnStickyPosition(column);
|
|
107
|
-
}
|
|
108
|
-
return acc;
|
|
109
|
-
}, {});
|
|
110
|
-
});
|
|
111
|
-
useInfiniteScroll(
|
|
112
|
-
containerProps.ref,
|
|
113
|
-
() => {
|
|
114
|
-
if (!props.isInfiniteScroll)
|
|
115
|
-
return;
|
|
116
|
-
emit("loadMore");
|
|
117
|
-
},
|
|
118
|
-
{ distance: props.infiniteScrollThreshold }
|
|
119
|
-
);
|
|
120
|
-
function scrollToTop() {
|
|
121
|
-
containerProps.ref.value.scrollTo({
|
|
122
|
-
top: 0,
|
|
123
|
-
behavior: "smooth"
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
function toggleSortOrder(column) {
|
|
127
|
-
const toggledColumn = props.sort.sortBy === column.id;
|
|
128
|
-
const isColumnSortable = column.isSortable || column.isSortable === void 0;
|
|
129
|
-
if (!isColumnSortable)
|
|
130
|
-
return;
|
|
131
|
-
let sortOrder = props.sort.sortOrder;
|
|
132
|
-
let sortBy = props.sort.sortBy;
|
|
133
|
-
if (toggledColumn) {
|
|
134
|
-
sortOrder = props.sort.sortOrder === "asc" ? "desc" : "asc";
|
|
135
|
-
} else {
|
|
136
|
-
sortBy = column.id;
|
|
137
|
-
}
|
|
138
|
-
emit("update:sort", { sortBy, sortOrder });
|
|
139
|
-
}
|
|
140
|
-
function getColumnStickyPosition(column) {
|
|
141
|
-
const { isSticky, width } = column;
|
|
142
|
-
if (!isSticky || !width)
|
|
143
|
-
return null;
|
|
144
|
-
const columnIndex = props.columns.findIndex((c) => c.id === column.id);
|
|
145
|
-
const left = props.columns.reduce((acc, col, index) => {
|
|
146
|
-
if (index < columnIndex)
|
|
147
|
-
return acc + col.width;
|
|
148
|
-
return acc;
|
|
149
|
-
}, 0);
|
|
150
|
-
return {
|
|
151
|
-
left: `${left}px`,
|
|
152
|
-
zIndex: 1
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
return (_ctx, _cache) => {
|
|
156
|
-
return openBlock(), createElementBlock("div", {
|
|
157
|
-
class: "table-container",
|
|
158
|
-
onMouseleave: _cache[0] || (_cache[0] = ($event) => activeRow.value = null)
|
|
159
|
-
}, [
|
|
160
|
-
createElementVNode("table", {
|
|
161
|
-
ref: unref(containerProps).ref,
|
|
162
|
-
style: normalizeStyle(unref(containerStyle)),
|
|
163
|
-
onScrollPassive: onScroll
|
|
164
|
-
}, [
|
|
165
|
-
__props.title || _ctx.$slots["search"] ? (openBlock(), createElementBlock("div", {
|
|
166
|
-
key: 0,
|
|
167
|
-
class: normalizeClass(["table-header", { isStickyHeader: __props.isStickyHeader }])
|
|
168
|
-
}, [
|
|
169
|
-
createElementVNode("div", _hoisted_1, [
|
|
170
|
-
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
171
|
-
createVNode(unref(Text), {
|
|
172
|
-
size: "md",
|
|
173
|
-
strong: ""
|
|
174
|
-
}, {
|
|
175
|
-
default: withCtx(() => [
|
|
176
|
-
createTextVNode(toDisplayString(__props.title), 1)
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
})
|
|
180
|
-
], true)
|
|
181
|
-
]),
|
|
182
|
-
createElementVNode("div", {
|
|
183
|
-
class: normalizeClass(["table-header-right", unref(hasSearchSlot) ? "border-search" : ""])
|
|
184
|
-
}, [
|
|
185
|
-
renderSlot(_ctx.$slots, "search", {}, void 0, true)
|
|
186
|
-
], 2),
|
|
187
|
-
createElementVNode("div", _hoisted_2, [
|
|
188
|
-
renderSlot(_ctx.$slots, "table-header-actions", {}, void 0, true)
|
|
189
|
-
])
|
|
190
|
-
], 2)) : createCommentVNode("", true),
|
|
191
|
-
createElementVNode("thead", {
|
|
192
|
-
class: normalizeClass({ sticky: __props.isSticky, isStickyHeader: __props.isStickyHeader })
|
|
193
|
-
}, [
|
|
194
|
-
createElementVNode("div", _hoisted_3, [
|
|
195
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.sections, (section) => {
|
|
196
|
-
return openBlock(), createElementBlock("div", {
|
|
197
|
-
key: section.id,
|
|
198
|
-
class: normalizeClass(["section-container", { sticky: section.isSticky }])
|
|
199
|
-
}, [
|
|
200
|
-
renderSlot(_ctx.$slots, `section-${section.id}`, {}, () => [
|
|
201
|
-
createElementVNode("div", {
|
|
202
|
-
style: normalizeStyle({ width: section.width + "px" }),
|
|
203
|
-
class: normalizeClass({ section: true })
|
|
204
|
-
}, [
|
|
205
|
-
createVNode(unref(Text), { size: "xs" }, {
|
|
206
|
-
default: withCtx(() => [
|
|
207
|
-
createTextVNode(toDisplayString(section.title), 1)
|
|
208
|
-
]),
|
|
209
|
-
_: 2
|
|
210
|
-
}, 1024)
|
|
211
|
-
], 4)
|
|
212
|
-
], true)
|
|
213
|
-
], 2);
|
|
214
|
-
}), 128))
|
|
215
|
-
]),
|
|
216
|
-
createElementVNode("tr", null, [
|
|
217
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column) => {
|
|
218
|
-
return openBlock(), createElementBlock("th", {
|
|
219
|
-
key: column.id,
|
|
220
|
-
class: normalizeClass({
|
|
221
|
-
sticky: column.isSticky,
|
|
222
|
-
bordered: column.isBordered,
|
|
223
|
-
isTextRight: column.isTextRight,
|
|
224
|
-
isSortable: column.isSortable
|
|
225
|
-
}),
|
|
226
|
-
style: normalizeStyle(column.isSticky ? unref(columnsStickyPositions)[column.id] : null),
|
|
227
|
-
onClick: ($event) => toggleSortOrder(column)
|
|
228
|
-
}, [
|
|
229
|
-
createElementVNode("div", _hoisted_5, [
|
|
230
|
-
renderSlot(_ctx.$slots, `header-${column.id}`, { column }, () => [
|
|
231
|
-
createVNode(unref(Text), {
|
|
232
|
-
size: "sm",
|
|
233
|
-
strong: "",
|
|
234
|
-
"is-truncated": false
|
|
235
|
-
}, {
|
|
236
|
-
default: withCtx(() => [
|
|
237
|
-
createTextVNode(toDisplayString(column.title), 1)
|
|
238
|
-
]),
|
|
239
|
-
_: 2
|
|
240
|
-
}, 1024)
|
|
241
|
-
], true),
|
|
242
|
-
column.id === __props.sort.sortBy ? (openBlock(), createBlock(TableHeaderSorter, {
|
|
243
|
-
key: 0,
|
|
244
|
-
class: "table-head-sorter",
|
|
245
|
-
"sort-order": __props.sort.sortOrder
|
|
246
|
-
}, null, 8, ["sort-order"])) : createCommentVNode("", true)
|
|
247
|
-
])
|
|
248
|
-
], 14, _hoisted_4);
|
|
249
|
-
}), 128))
|
|
250
|
-
])
|
|
251
|
-
], 2),
|
|
252
|
-
createElementVNode("tbody", null, [
|
|
253
|
-
unref(list).length > 0 ? (openBlock(), createElementBlock("div", mergeProps({
|
|
254
|
-
key: 0,
|
|
255
|
-
class: "table-body-wrapper"
|
|
256
|
-
}, unref(wrapperProps)), [
|
|
257
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), (row) => {
|
|
258
|
-
return openBlock(), createElementBlock("tr", {
|
|
259
|
-
key: row.index,
|
|
260
|
-
class: normalizeClass(["table-row", {
|
|
261
|
-
loading: __props.isLoading || __props.isLoading && !row.data || savingRows.value.includes(row.index),
|
|
262
|
-
active: activeRow.value === row.index
|
|
263
|
-
}]),
|
|
264
|
-
onMouseenter: ($event) => activeRow.value = row.index
|
|
265
|
-
}, [
|
|
266
|
-
withDirectives(createElementVNode("div", {
|
|
267
|
-
ref_for: true,
|
|
268
|
-
ref_key: "floatingActionRef",
|
|
269
|
-
ref: floatingActionRef,
|
|
270
|
-
style: normalizeStyle({ left: floatingActionPosition.value + "px" }),
|
|
271
|
-
class: "floating-actions"
|
|
272
|
-
}, [
|
|
273
|
-
renderSlot(_ctx.$slots, "floating-actions", { row }, void 0, true)
|
|
274
|
-
], 4), [
|
|
275
|
-
[
|
|
276
|
-
vShow,
|
|
277
|
-
_ctx.$slots["floating-actions"] && activeRow.value === row.index && !__props.isLoading
|
|
278
|
-
]
|
|
279
|
-
]),
|
|
280
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(row.data, (cell, cellIndex) => {
|
|
281
|
-
return openBlock(), createElementBlock("td", {
|
|
282
|
-
key: cellIndex,
|
|
283
|
-
class: normalizeClass({
|
|
284
|
-
sticky: __props.columns[cellIndex].isSticky,
|
|
285
|
-
bordered: __props.columns[cellIndex].isBordered,
|
|
286
|
-
isTextRight: __props.columns[cellIndex].isTextRight
|
|
287
|
-
}),
|
|
288
|
-
style: normalizeStyle(
|
|
289
|
-
__props.columns[cellIndex].isSticky ? unref(columnsStickyPositions)[__props.columns[cellIndex].id] : null
|
|
290
|
-
)
|
|
291
|
-
}, [
|
|
292
|
-
!__props.isLoading || __props.isLoading && !!cell ? (openBlock(), createElementBlock("div", {
|
|
293
|
-
key: 0,
|
|
294
|
-
class: normalizeClass({
|
|
295
|
-
last: cellIndex === row.data.length - 1,
|
|
296
|
-
"table-cell": true,
|
|
297
|
-
floating: _ctx.$slots["floating-actions"]
|
|
298
|
-
})
|
|
299
|
-
}, [
|
|
300
|
-
renderSlot(_ctx.$slots, `cell-${__props.columns[cellIndex].id}`, {
|
|
301
|
-
cell,
|
|
302
|
-
isLoading: savingRows.value.includes(row.index),
|
|
303
|
-
cellIndex,
|
|
304
|
-
row,
|
|
305
|
-
rowIndex: row.index
|
|
306
|
-
}, () => [
|
|
307
|
-
createVNode(unref(Text), { size: "sm" }, {
|
|
308
|
-
default: withCtx(() => [
|
|
309
|
-
createTextVNode(toDisplayString(cell), 1)
|
|
310
|
-
]),
|
|
311
|
-
_: 2
|
|
312
|
-
}, 1024)
|
|
313
|
-
], true)
|
|
314
|
-
], 2)) : renderSlot(_ctx.$slots, "loader", { key: 1 }, () => [
|
|
315
|
-
createVNode(unref(Skeleton), { round: "" })
|
|
316
|
-
], true)
|
|
317
|
-
], 6);
|
|
318
|
-
}), 128))
|
|
319
|
-
], 42, _hoisted_6);
|
|
320
|
-
}), 128))
|
|
321
|
-
], 16)) : (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
322
|
-
renderSlot(_ctx.$slots, "empty-state", {}, () => [
|
|
323
|
-
createVNode(unref(EmptyState), {
|
|
324
|
-
title: __props.emptyStateTitle,
|
|
325
|
-
subtitle: __props.emptyStateSubtitle
|
|
326
|
-
}, null, 8, ["title", "subtitle"])
|
|
327
|
-
], true)
|
|
328
|
-
]))
|
|
329
|
-
]),
|
|
330
|
-
unref(list).length > 0 ? (openBlock(), createElementBlock("tfoot", _hoisted_8)) : createCommentVNode("", true)
|
|
331
|
-
], 36),
|
|
332
|
-
createVNode(unref(ScrollButton), {
|
|
333
|
-
show: unref(showBackToTopButton),
|
|
334
|
-
onScrolled: scrollToTop
|
|
335
|
-
}, null, 8, ["show"])
|
|
336
|
-
], 32);
|
|
337
|
-
};
|
|
338
|
-
}
|
|
339
|
-
});
|
|
340
|
-
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-207d9674"]]);
|
|
341
|
-
|
|
342
|
-
export { Table as default };
|
|
1
|
+
import o from "./Table.vue2.js";
|
|
2
|
+
/* empty css *//* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-365ff6b7"]]);
|
|
4
|
+
export {
|
|
5
|
+
a as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { defineComponent as K, useCssVars as Q, unref as s, ref as $, provide as U, computed as g, onMounted as W, openBlock as r, createElementBlock as n, createElementVNode as u, normalizeStyle as v, renderSlot as c, createVNode as f, withCtx as w, createTextVNode as C, toDisplayString as B, createCommentVNode as P, normalizeClass as y, Fragment as T, renderList as p, createBlock as X, mergeProps as Y, withDirectives as Z, vShow as I } from "vue";
|
|
2
|
+
/* empty css */import L from "../typography/Text.vue.js";
|
|
3
|
+
/* empty css *//* empty css *//* empty css *//* empty css */import _ from "../button/ScrollButton.vue.js";
|
|
4
|
+
import tt from "../skeleton/Skeleton.vue.js";
|
|
5
|
+
import et from "../emptyState/EmptyState.vue.js";
|
|
6
|
+
import ot from "./TableHeaderSorter.vue.js";
|
|
7
|
+
import { useVirtualList as st, useInfiniteScroll as it } from "@vueuse/core";
|
|
8
|
+
import { TableContext as lt } from "./TableContext.js";
|
|
9
|
+
const rt = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "table-header"
|
|
12
|
+
}, nt = { class: "table-title" }, at = { class: "table-header-right" }, dt = { class: "table-header-actions" }, ut = { class: "sections" }, ct = ["onClick"], ft = { class: "table-head-container" }, yt = ["onMouseenter"], mt = { key: 1 }, ht = { key: 1 }, zt = /* @__PURE__ */ K({
|
|
13
|
+
__name: "Table",
|
|
14
|
+
props: {
|
|
15
|
+
title: null,
|
|
16
|
+
columns: null,
|
|
17
|
+
rows: null,
|
|
18
|
+
sections: { default: null },
|
|
19
|
+
sort: null,
|
|
20
|
+
isSticky: { type: Boolean, default: !0 },
|
|
21
|
+
isLoading: { type: Boolean, default: !1 },
|
|
22
|
+
emptyStateTitle: { default: "No results found" },
|
|
23
|
+
emptyStateSubtitle: { default: "Try again with different filters" },
|
|
24
|
+
isInfiniteScroll: { type: Boolean, default: !1 },
|
|
25
|
+
infiniteScrollThreshold: { default: 100 },
|
|
26
|
+
rowHeight: { type: [Number, Function], default: 48 },
|
|
27
|
+
loadingRowCount: { default: 3 }
|
|
28
|
+
},
|
|
29
|
+
emits: ["update:sort", "saveRow", "loadMore"],
|
|
30
|
+
setup(o, { emit: R }) {
|
|
31
|
+
const i = o;
|
|
32
|
+
Q((e) => ({
|
|
33
|
+
"287203b6": s(N)
|
|
34
|
+
}));
|
|
35
|
+
const m = $([]);
|
|
36
|
+
U(lt, {
|
|
37
|
+
onClose({ rowIndex: e, cellIndex: l, value: t } = {}) {
|
|
38
|
+
t && (m.value = [...m.value, e], R("saveRow", {
|
|
39
|
+
rowIndex: e,
|
|
40
|
+
cellIndex: l,
|
|
41
|
+
value: t,
|
|
42
|
+
confirm: () => {
|
|
43
|
+
m.value = m.value.filter((a) => a !== e);
|
|
44
|
+
}
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
const N = g(() => i.columns.reduce((e, l) => {
|
|
49
|
+
const t = l.width ? `${l.width}px` : `${l.colSpan || 1}fr`;
|
|
50
|
+
return `${e} ${t}`;
|
|
51
|
+
}, "")), S = $(null), V = g(() => Array(i.loadingRowCount).fill(
|
|
52
|
+
Array(i.columns.length).fill("")
|
|
53
|
+
)), A = g(() => i.isLoading ? [...i.rows, ...V.value] : i.rows), { list: k, containerProps: h, wrapperProps: O } = st(A, {
|
|
54
|
+
itemHeight: i.rowHeight
|
|
55
|
+
}), H = $(null), z = $(0), x = (e) => {
|
|
56
|
+
h.onScroll(), z.value = e.target.scrollLeft + e.target.getBoundingClientRect().width;
|
|
57
|
+
};
|
|
58
|
+
W(() => {
|
|
59
|
+
z.value = h.ref.value?.getBoundingClientRect().width;
|
|
60
|
+
});
|
|
61
|
+
const E = g(() => {
|
|
62
|
+
const [e] = k.value;
|
|
63
|
+
return e && e.index > 0;
|
|
64
|
+
}), D = g(() => h.style), M = g(() => i.columns.reduce((e, l) => (l.isSticky && (e[l.id] = q(l)), e), {}));
|
|
65
|
+
it(
|
|
66
|
+
h.ref,
|
|
67
|
+
() => {
|
|
68
|
+
i.isInfiniteScroll && R("loadMore");
|
|
69
|
+
},
|
|
70
|
+
{ distance: i.infiniteScrollThreshold }
|
|
71
|
+
);
|
|
72
|
+
function F() {
|
|
73
|
+
h.ref.value.scrollTo({
|
|
74
|
+
top: 0,
|
|
75
|
+
behavior: "smooth"
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function j(e) {
|
|
79
|
+
const l = i.sort.sortBy === e.id;
|
|
80
|
+
if (!(e.isSortable || e.isSortable === void 0))
|
|
81
|
+
return;
|
|
82
|
+
let a = i.sort.sortOrder, d = i.sort.sortBy;
|
|
83
|
+
l ? a = i.sort.sortOrder === "asc" ? "desc" : "asc" : d = e.id, R("update:sort", { sortBy: d, sortOrder: a });
|
|
84
|
+
}
|
|
85
|
+
function q(e) {
|
|
86
|
+
const { isSticky: l, width: t } = e;
|
|
87
|
+
if (!l || !t)
|
|
88
|
+
return null;
|
|
89
|
+
const a = i.columns.findIndex((b) => b.id === e.id);
|
|
90
|
+
return {
|
|
91
|
+
left: `${i.columns.reduce((b, G, J) => J < a ? b + G.width : b, 0)}px`,
|
|
92
|
+
zIndex: 1
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
return (e, l) => (r(), n("div", {
|
|
96
|
+
class: "table-container",
|
|
97
|
+
onMouseleave: l[0] || (l[0] = (t) => S.value = null)
|
|
98
|
+
}, [
|
|
99
|
+
u("table", {
|
|
100
|
+
ref: s(h).ref,
|
|
101
|
+
style: v(s(D)),
|
|
102
|
+
onScrollPassive: x
|
|
103
|
+
}, [
|
|
104
|
+
o.title || e.$slots.search ? (r(), n("div", rt, [
|
|
105
|
+
u("div", nt, [
|
|
106
|
+
c(e.$slots, "title", {}, () => [
|
|
107
|
+
f(s(L), {
|
|
108
|
+
size: "md",
|
|
109
|
+
strong: ""
|
|
110
|
+
}, {
|
|
111
|
+
default: w(() => [
|
|
112
|
+
C(B(o.title), 1)
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
})
|
|
116
|
+
], !0)
|
|
117
|
+
]),
|
|
118
|
+
u("div", at, [
|
|
119
|
+
c(e.$slots, "search", {}, void 0, !0)
|
|
120
|
+
]),
|
|
121
|
+
u("div", dt, [
|
|
122
|
+
c(e.$slots, "table-header-actions", {}, void 0, !0)
|
|
123
|
+
])
|
|
124
|
+
])) : P("", !0),
|
|
125
|
+
u("thead", {
|
|
126
|
+
class: y({ sticky: o.isSticky })
|
|
127
|
+
}, [
|
|
128
|
+
u("div", ut, [
|
|
129
|
+
(r(!0), n(T, null, p(o.sections, (t) => (r(), n("div", {
|
|
130
|
+
key: t.id,
|
|
131
|
+
class: y(["section-container", { sticky: t.isSticky }])
|
|
132
|
+
}, [
|
|
133
|
+
c(e.$slots, `section-${t.id}`, {}, () => [
|
|
134
|
+
u("div", {
|
|
135
|
+
style: v({ width: t.width + "px" }),
|
|
136
|
+
class: y({ section: !0 })
|
|
137
|
+
}, [
|
|
138
|
+
f(s(L), { size: "xs" }, {
|
|
139
|
+
default: w(() => [
|
|
140
|
+
C(B(t.title), 1)
|
|
141
|
+
]),
|
|
142
|
+
_: 2
|
|
143
|
+
}, 1024)
|
|
144
|
+
], 4)
|
|
145
|
+
], !0)
|
|
146
|
+
], 2))), 128))
|
|
147
|
+
]),
|
|
148
|
+
u("tr", null, [
|
|
149
|
+
(r(!0), n(T, null, p(o.columns, (t) => (r(), n("th", {
|
|
150
|
+
key: t.id,
|
|
151
|
+
class: y({ sticky: t.isSticky, bordered: t.isBordered }),
|
|
152
|
+
style: v(t.isSticky ? s(M)[t.id] : null),
|
|
153
|
+
onClick: (a) => j(t)
|
|
154
|
+
}, [
|
|
155
|
+
u("div", ft, [
|
|
156
|
+
c(e.$slots, `header-${t.id}`, { column: t }, () => [
|
|
157
|
+
f(s(L), {
|
|
158
|
+
size: "sm",
|
|
159
|
+
strong: "",
|
|
160
|
+
"is-truncated": !1
|
|
161
|
+
}, {
|
|
162
|
+
default: w(() => [
|
|
163
|
+
C(B(t.title), 1)
|
|
164
|
+
]),
|
|
165
|
+
_: 2
|
|
166
|
+
}, 1024)
|
|
167
|
+
], !0),
|
|
168
|
+
t.id === o.sort.sortBy ? (r(), X(ot, {
|
|
169
|
+
key: 0,
|
|
170
|
+
class: "table-head-sorter",
|
|
171
|
+
"sort-order": o.sort.sortOrder
|
|
172
|
+
}, null, 8, ["sort-order"])) : P("", !0)
|
|
173
|
+
])
|
|
174
|
+
], 14, ct))), 128))
|
|
175
|
+
])
|
|
176
|
+
], 2),
|
|
177
|
+
u("tbody", null, [
|
|
178
|
+
s(k).length > 0 ? (r(), n("div", Y({
|
|
179
|
+
key: 0,
|
|
180
|
+
class: "table-body-wrapper"
|
|
181
|
+
}, s(O)), [
|
|
182
|
+
(r(!0), n(T, null, p(s(k), (t) => (r(), n("tr", {
|
|
183
|
+
key: t.index,
|
|
184
|
+
class: y(["table-row", {
|
|
185
|
+
loading: o.isLoading || o.isLoading && !t.data || m.value.includes(t.index),
|
|
186
|
+
active: S.value === t.index
|
|
187
|
+
}]),
|
|
188
|
+
onMouseenter: (a) => S.value = t.index
|
|
189
|
+
}, [
|
|
190
|
+
Z(u("div", {
|
|
191
|
+
ref_for: !0,
|
|
192
|
+
ref_key: "floatingActionRef",
|
|
193
|
+
ref: H,
|
|
194
|
+
style: v({ left: z.value + "px" }),
|
|
195
|
+
class: "floating-actions"
|
|
196
|
+
}, [
|
|
197
|
+
c(e.$slots, "floating-actions", { row: t }, void 0, !0)
|
|
198
|
+
], 4), [
|
|
199
|
+
[
|
|
200
|
+
I,
|
|
201
|
+
e.$slots["floating-actions"] && S.value === t.index && !o.isLoading
|
|
202
|
+
]
|
|
203
|
+
]),
|
|
204
|
+
(r(!0), n(T, null, p(t.data, (a, d) => (r(), n("td", {
|
|
205
|
+
key: d,
|
|
206
|
+
class: y({
|
|
207
|
+
sticky: o.columns[d].isSticky,
|
|
208
|
+
bordered: o.columns[d].isBordered
|
|
209
|
+
}),
|
|
210
|
+
style: v(
|
|
211
|
+
o.columns[d].isSticky ? s(M)[o.columns[d].id] : null
|
|
212
|
+
)
|
|
213
|
+
}, [
|
|
214
|
+
!o.isLoading || o.isLoading && a ? (r(), n("div", {
|
|
215
|
+
key: 0,
|
|
216
|
+
class: y({
|
|
217
|
+
last: d === t.data.length - 1,
|
|
218
|
+
"table-cell": !0,
|
|
219
|
+
floating: e.$slots["floating-actions"]
|
|
220
|
+
})
|
|
221
|
+
}, [
|
|
222
|
+
c(e.$slots, `cell-${o.columns[d].id}`, {
|
|
223
|
+
cell: a,
|
|
224
|
+
isLoading: m.value.includes(t.index),
|
|
225
|
+
cellIndex: d,
|
|
226
|
+
row: t,
|
|
227
|
+
rowIndex: t.index
|
|
228
|
+
}, () => [
|
|
229
|
+
f(s(L), { size: "sm" }, {
|
|
230
|
+
default: w(() => [
|
|
231
|
+
C(B(a), 1)
|
|
232
|
+
]),
|
|
233
|
+
_: 2
|
|
234
|
+
}, 1024)
|
|
235
|
+
], !0)
|
|
236
|
+
], 2)) : c(e.$slots, "loader", { key: 1 }, () => [
|
|
237
|
+
f(s(tt), { round: "" })
|
|
238
|
+
], !0)
|
|
239
|
+
], 6))), 128))
|
|
240
|
+
], 42, yt))), 128))
|
|
241
|
+
], 16)) : (r(), n("div", mt, [
|
|
242
|
+
c(e.$slots, "empty-state", {}, () => [
|
|
243
|
+
f(s(et), {
|
|
244
|
+
title: o.emptyStateTitle,
|
|
245
|
+
subtitle: o.emptyStateSubtitle
|
|
246
|
+
}, null, 8, ["title", "subtitle"])
|
|
247
|
+
], !0)
|
|
248
|
+
]))
|
|
249
|
+
]),
|
|
250
|
+
s(k).length > 0 ? (r(), n("tfoot", ht)) : P("", !0)
|
|
251
|
+
], 36),
|
|
252
|
+
f(s(_), {
|
|
253
|
+
show: s(E),
|
|
254
|
+
onScrolled: F
|
|
255
|
+
}, null, 8, ["show"])
|
|
256
|
+
], 32));
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
export {
|
|
260
|
+
zt as default
|
|
261
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { inject as o } from "vue";
|
|
2
|
+
const n = Symbol(
|
|
3
|
+
"TableContext"
|
|
4
|
+
);
|
|
5
|
+
function c(e) {
|
|
6
|
+
const t = o(n, {});
|
|
7
|
+
if (t === null) {
|
|
8
|
+
const r = new Error(
|
|
9
|
+
`<${e} /> is missing a parent <Table /> component.`
|
|
10
|
+
);
|
|
11
|
+
throw Error.captureStackTrace && Error.captureStackTrace(r, c), r;
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
n as TableContext,
|
|
17
|
+
c as useTableContext
|
|
18
|
+
};
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
sortOrder:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
type
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
sortOrder: {
|
|
3
|
+
type: import("vue").PropType<"desc" | "asc">;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
sortOrder: {
|
|
8
|
+
type: import("vue").PropType<"desc" | "asc">;
|
|
13
9
|
required: true;
|
|
14
10
|
};
|
|
15
|
-
}
|
|
11
|
+
}>>, {}>;
|
|
12
|
+
export default _default;
|