@ironsource/shared-ui 2.1.12-rc.5 → 2.1.12-rc.51
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
- package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css +1 -0
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +5 -3
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +28 -27
- package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
- package/components/chart/Chart.vue.d.ts +128 -10
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +152 -86
- package/components/chart/ChartHeader.vue.d.ts +41 -7
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +67 -65
- package/components/chart/ChartHeaderTrend.vue.d.ts +24 -5
- package/components/chart/ChartHeaderTrend.vue.js +3 -3
- package/components/chart/ChartHeaderTrend.vue2.js +89 -21
- package/components/chart/ChartLegend.vue.d.ts +29 -0
- package/components/chart/ChartLegend.vue.js +2 -2
- package/components/chart/ChartLegend.vue2.js +88 -65
- package/components/chart/ChartPlane.vue.d.ts +111 -13
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +321 -240
- package/components/chart/ChartStoryArgs.d.ts +63 -2
- package/components/chart/ChartTooltip.vue.d.ts +27 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +52 -54
- package/components/chart/LegendSorting.vue.d.ts +42 -0
- package/components/chart/LegendSorting.vue.js +47 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +20 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +39 -31
- package/components/chart/SubHeader.vue.d.ts +52 -0
- package/components/chart/SubHeader.vue.js +7 -0
- package/components/chart/SubHeader.vue2.js +61 -0
- package/components/chart/TooltipHeader.vue.d.ts +50 -0
- package/components/chart/TooltipHeader.vue.js +7 -0
- package/components/chart/TooltipHeader.vue2.js +69 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +2 -2
- package/components/chart/composables/useChartHeight.js +16 -14
- package/components/chart/composables/useColorsMap.d.ts +5 -3
- package/components/chart/composables/useColorsMap.js +43 -12
- package/components/chart/consts.d.ts +29 -8
- package/components/chart/consts.js +45 -26
- package/components/chart/index.d.ts +492 -76
- package/components/chart/mockData.d.ts +33 -5
- package/components/chart/types.d.ts +35 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/highlightUtils.d.ts +3 -0
- package/components/chart/utils/highlightUtils.js +18 -0
- package/components/chart/utils/utils.d.ts +3 -3
- package/components/chart/utils/utils.js +25 -10
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +73 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
- package/components/columnPicker/ColumnPicker.vue.js +7 -0
- package/components/columnPicker/ColumnPicker.vue2.js +322 -0
- package/components/columnPicker/OptionChip.vue.d.ts +53 -0
- package/components/columnPicker/OptionChip.vue.js +7 -0
- package/components/columnPicker/OptionChip.vue2.js +46 -0
- package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
- package/components/columnPicker/RemoveButton.vue.js +7 -0
- package/components/columnPicker/RemoveButton.vue2.js +35 -0
- package/components/columnPicker/index.d.ts +388 -0
- package/components/columnPicker/index.js +6 -0
- package/components/columnPicker/mockData.d.ts +8 -0
- package/components/dateRange/common/DateRange.common.js +100 -94
- package/components/dateRange/common/DateServices.common.d.ts +7 -1
- package/components/dateRange/common/DateServices.common.js +88 -92
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -3
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dialog/v3/Dialog.vue.d.ts +3 -3
- package/components/dialog/v3/index.d.ts +46 -46
- package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
- package/components/dialog/v4/DialogFooter.vue.js +7 -0
- package/components/dialog/v4/DialogFooter.vue2.js +60 -0
- package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
- package/components/dialog/v4/DialogHeader.vue.js +7 -0
- package/components/dialog/v4/DialogHeader.vue2.js +58 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +13 -12
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +164 -164
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +161 -149
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
- package/components/dropdown/v4/DropdownV4.vue.d.ts +36 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +258 -199
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
- package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +162 -117
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +703 -162
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
- package/components/emptyState/v4/index.d.ts +20 -1
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +110 -110
- package/components/input/v4/TextField.vue.d.ts +12 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +129 -105
- package/components/input/v4/index.d.ts +46 -2
- package/components/link/Link.vue.d.ts +95 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +65 -0
- package/components/link/index.d.ts +296 -0
- package/components/link/index.js +6 -0
- package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/v3/RadioButton.vue.js +3 -3
- package/components/radioButton/v3/RadioButton.vue2.js +42 -39
- package/components/radioButton/v3/index.d.ts +20 -1
- package/components/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +5 -5
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +26 -23
- package/components/sortableList/SortableList.types.d.ts +1 -0
- package/components/sortableList/SortableList.vue.d.ts +12 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +111 -113
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +77 -39
- package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +39 -24
- package/components/switch/v4/index.d.ts +29 -0
- package/components/table/common/Table.common.d.ts +0 -1
- package/components/table/common/Table.common.js +38 -39
- package/components/table/common/Table.types.d.ts +2 -0
- package/components/table/common/consts.d.ts +1 -0
- package/components/table/common/consts.js +2 -1
- package/components/table/v4/DataGrid.vue.d.ts +19 -7
- package/components/table/v4/DataGrid.vue.js +5 -5
- package/components/table/v4/DataGrid.vue2.js +375 -307
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
- package/components/table/v4/DataGridHeader.vue.js +7 -0
- package/components/table/v4/DataGridHeader.vue2.js +82 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
- package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
- package/components/table/v4/index.d.ts +581 -298
- package/components/table/v4/index.js +7 -4
- package/components/table/v4/storyUtils.d.ts +27 -0
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
- package/components/tooltip/v4/index.d.ts +27 -8
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useDateService.d.ts +7 -0
- package/composables/useDateService.js +10 -0
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +32 -27
- package/consts/common.d.ts +1 -0
- package/consts/common.js +4 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.js +2 -1
- package/index.d.ts +10385 -8429
- package/index.js +158 -134
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +22 -1
- package/testids/index.d.ts +47 -1
- package/testids/index.js +40 -32
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +39 -8
- package/utils/index.js +7 -0
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/utils/text.d.ts +3 -0
- package/utils/text.js +24 -5
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/utils/utils.d.ts +1 -0
- package/utils/utils.js +4 -0
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
|
@@ -6,6 +6,7 @@ declare const SortableListTypes: () => ({
|
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
search: string;
|
|
8
8
|
testId: string;
|
|
9
|
+
variant: "default" | "compact";
|
|
9
10
|
isLoading: boolean;
|
|
10
11
|
displayValue: (item: import("./SortableList.types").SortableListItem) => string;
|
|
11
12
|
searchPlaceholder: string;
|
|
@@ -13,13 +14,14 @@ declare const SortableListTypes: () => ({
|
|
|
13
14
|
selectedChildId: string | number;
|
|
14
15
|
childListMaxHeight: string;
|
|
15
16
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
17
|
+
draggableArea: "handle" | "full";
|
|
18
|
+
loadingRowCount: number;
|
|
16
19
|
openId: string | number;
|
|
20
|
+
zIndexBase: number;
|
|
17
21
|
selectedId: string | number;
|
|
18
22
|
showSearch: boolean;
|
|
19
|
-
loadingRowCount: number;
|
|
20
23
|
emptyStateTitle: string;
|
|
21
24
|
isSticky: boolean;
|
|
22
|
-
zIndexBase: number;
|
|
23
25
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
24
26
|
search: {
|
|
25
27
|
type: import("vue").PropType<string>;
|
|
@@ -29,6 +31,10 @@ declare const SortableListTypes: () => ({
|
|
|
29
31
|
type: import("vue").PropType<string>;
|
|
30
32
|
default: string;
|
|
31
33
|
};
|
|
34
|
+
variant: {
|
|
35
|
+
type: import("vue").PropType<"default" | "compact">;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
32
38
|
isLoading: {
|
|
33
39
|
type: import("vue").PropType<boolean>;
|
|
34
40
|
default: boolean;
|
|
@@ -59,10 +65,22 @@ declare const SortableListTypes: () => ({
|
|
|
59
65
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
60
66
|
default: any;
|
|
61
67
|
};
|
|
68
|
+
draggableArea: {
|
|
69
|
+
type: import("vue").PropType<"handle" | "full">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
loadingRowCount: {
|
|
73
|
+
type: import("vue").PropType<number>;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
62
76
|
openId: {
|
|
63
77
|
type: import("vue").PropType<string | number>;
|
|
64
78
|
default: any;
|
|
65
79
|
};
|
|
80
|
+
zIndexBase: {
|
|
81
|
+
type: import("vue").PropType<number>;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
66
84
|
selectedId: {
|
|
67
85
|
type: import("vue").PropType<string | number>;
|
|
68
86
|
default: any;
|
|
@@ -71,10 +89,6 @@ declare const SortableListTypes: () => ({
|
|
|
71
89
|
type: import("vue").PropType<boolean>;
|
|
72
90
|
default: boolean;
|
|
73
91
|
};
|
|
74
|
-
loadingRowCount: {
|
|
75
|
-
type: import("vue").PropType<number>;
|
|
76
|
-
default: number;
|
|
77
|
-
};
|
|
78
92
|
emptyStateTitle: {
|
|
79
93
|
type: import("vue").PropType<string>;
|
|
80
94
|
default: string;
|
|
@@ -83,10 +97,6 @@ declare const SortableListTypes: () => ({
|
|
|
83
97
|
type: import("vue").PropType<boolean>;
|
|
84
98
|
default: boolean;
|
|
85
99
|
};
|
|
86
|
-
zIndexBase: {
|
|
87
|
-
type: import("vue").PropType<number>;
|
|
88
|
-
default: number;
|
|
89
|
-
};
|
|
90
100
|
}>> & {
|
|
91
101
|
onClearSearch?: () => any;
|
|
92
102
|
onSortableItemDragged?: (event: {
|
|
@@ -98,7 +108,7 @@ declare const SortableListTypes: () => ({
|
|
|
98
108
|
"onUpdate:selectedId"?: (id: string | number) => any;
|
|
99
109
|
"onUpdate:selectedChildId"?: (id: string | number) => any;
|
|
100
110
|
"onUpdate:search"?: (query: string) => any;
|
|
101
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "
|
|
111
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "variant" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "draggableArea" | "loadingRowCount" | "openId" | "zIndexBase" | "selectedId" | "showSearch" | "emptyStateTitle" | "isSticky">;
|
|
102
112
|
$attrs: {
|
|
103
113
|
[x: string]: unknown;
|
|
104
114
|
};
|
|
@@ -124,6 +134,10 @@ declare const SortableListTypes: () => ({
|
|
|
124
134
|
type: import("vue").PropType<string>;
|
|
125
135
|
default: string;
|
|
126
136
|
};
|
|
137
|
+
variant: {
|
|
138
|
+
type: import("vue").PropType<"default" | "compact">;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
127
141
|
isLoading: {
|
|
128
142
|
type: import("vue").PropType<boolean>;
|
|
129
143
|
default: boolean;
|
|
@@ -154,10 +168,22 @@ declare const SortableListTypes: () => ({
|
|
|
154
168
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
155
169
|
default: any;
|
|
156
170
|
};
|
|
171
|
+
draggableArea: {
|
|
172
|
+
type: import("vue").PropType<"handle" | "full">;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
loadingRowCount: {
|
|
176
|
+
type: import("vue").PropType<number>;
|
|
177
|
+
default: number;
|
|
178
|
+
};
|
|
157
179
|
openId: {
|
|
158
180
|
type: import("vue").PropType<string | number>;
|
|
159
181
|
default: any;
|
|
160
182
|
};
|
|
183
|
+
zIndexBase: {
|
|
184
|
+
type: import("vue").PropType<number>;
|
|
185
|
+
default: number;
|
|
186
|
+
};
|
|
161
187
|
selectedId: {
|
|
162
188
|
type: import("vue").PropType<string | number>;
|
|
163
189
|
default: any;
|
|
@@ -166,10 +192,6 @@ declare const SortableListTypes: () => ({
|
|
|
166
192
|
type: import("vue").PropType<boolean>;
|
|
167
193
|
default: boolean;
|
|
168
194
|
};
|
|
169
|
-
loadingRowCount: {
|
|
170
|
-
type: import("vue").PropType<number>;
|
|
171
|
-
default: number;
|
|
172
|
-
};
|
|
173
195
|
emptyStateTitle: {
|
|
174
196
|
type: import("vue").PropType<string>;
|
|
175
197
|
default: string;
|
|
@@ -178,10 +200,6 @@ declare const SortableListTypes: () => ({
|
|
|
178
200
|
type: import("vue").PropType<boolean>;
|
|
179
201
|
default: boolean;
|
|
180
202
|
};
|
|
181
|
-
zIndexBase: {
|
|
182
|
-
type: import("vue").PropType<number>;
|
|
183
|
-
default: number;
|
|
184
|
-
};
|
|
185
203
|
}>> & {
|
|
186
204
|
onClearSearch?: () => any;
|
|
187
205
|
onSortableItemDragged?: (event: {
|
|
@@ -207,6 +225,7 @@ declare const SortableListTypes: () => ({
|
|
|
207
225
|
}, string, {
|
|
208
226
|
search: string;
|
|
209
227
|
testId: string;
|
|
228
|
+
variant: "default" | "compact";
|
|
210
229
|
isLoading: boolean;
|
|
211
230
|
displayValue: (item: import("./SortableList.types").SortableListItem) => string;
|
|
212
231
|
searchPlaceholder: string;
|
|
@@ -214,13 +233,14 @@ declare const SortableListTypes: () => ({
|
|
|
214
233
|
selectedChildId: string | number;
|
|
215
234
|
childListMaxHeight: string;
|
|
216
235
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
236
|
+
draggableArea: "handle" | "full";
|
|
237
|
+
loadingRowCount: number;
|
|
217
238
|
openId: string | number;
|
|
239
|
+
zIndexBase: number;
|
|
218
240
|
selectedId: string | number;
|
|
219
241
|
showSearch: boolean;
|
|
220
|
-
loadingRowCount: number;
|
|
221
242
|
emptyStateTitle: string;
|
|
222
243
|
isSticky: boolean;
|
|
223
|
-
zIndexBase: number;
|
|
224
244
|
}, {}, string> & {
|
|
225
245
|
beforeCreate?: (() => void) | (() => void)[];
|
|
226
246
|
created?: (() => void) | (() => void)[];
|
|
@@ -250,6 +270,10 @@ declare const SortableListTypes: () => ({
|
|
|
250
270
|
type: import("vue").PropType<string>;
|
|
251
271
|
default: string;
|
|
252
272
|
};
|
|
273
|
+
variant: {
|
|
274
|
+
type: import("vue").PropType<"default" | "compact">;
|
|
275
|
+
default: string;
|
|
276
|
+
};
|
|
253
277
|
isLoading: {
|
|
254
278
|
type: import("vue").PropType<boolean>;
|
|
255
279
|
default: boolean;
|
|
@@ -280,10 +304,22 @@ declare const SortableListTypes: () => ({
|
|
|
280
304
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
281
305
|
default: any;
|
|
282
306
|
};
|
|
307
|
+
draggableArea: {
|
|
308
|
+
type: import("vue").PropType<"handle" | "full">;
|
|
309
|
+
default: string;
|
|
310
|
+
};
|
|
311
|
+
loadingRowCount: {
|
|
312
|
+
type: import("vue").PropType<number>;
|
|
313
|
+
default: number;
|
|
314
|
+
};
|
|
283
315
|
openId: {
|
|
284
316
|
type: import("vue").PropType<string | number>;
|
|
285
317
|
default: any;
|
|
286
318
|
};
|
|
319
|
+
zIndexBase: {
|
|
320
|
+
type: import("vue").PropType<number>;
|
|
321
|
+
default: number;
|
|
322
|
+
};
|
|
287
323
|
selectedId: {
|
|
288
324
|
type: import("vue").PropType<string | number>;
|
|
289
325
|
default: any;
|
|
@@ -292,10 +328,6 @@ declare const SortableListTypes: () => ({
|
|
|
292
328
|
type: import("vue").PropType<boolean>;
|
|
293
329
|
default: boolean;
|
|
294
330
|
};
|
|
295
|
-
loadingRowCount: {
|
|
296
|
-
type: import("vue").PropType<number>;
|
|
297
|
-
default: number;
|
|
298
|
-
};
|
|
299
331
|
emptyStateTitle: {
|
|
300
332
|
type: import("vue").PropType<string>;
|
|
301
333
|
default: string;
|
|
@@ -304,10 +336,6 @@ declare const SortableListTypes: () => ({
|
|
|
304
336
|
type: import("vue").PropType<boolean>;
|
|
305
337
|
default: boolean;
|
|
306
338
|
};
|
|
307
|
-
zIndexBase: {
|
|
308
|
-
type: import("vue").PropType<number>;
|
|
309
|
-
default: number;
|
|
310
|
-
};
|
|
311
339
|
}>> & {
|
|
312
340
|
onClearSearch?: () => any;
|
|
313
341
|
onSortableItemDragged?: (event: {
|
|
@@ -332,6 +360,10 @@ declare const SortableListTypes: () => ({
|
|
|
332
360
|
type: import("vue").PropType<string>;
|
|
333
361
|
default: string;
|
|
334
362
|
};
|
|
363
|
+
variant: {
|
|
364
|
+
type: import("vue").PropType<"default" | "compact">;
|
|
365
|
+
default: string;
|
|
366
|
+
};
|
|
335
367
|
isLoading: {
|
|
336
368
|
type: import("vue").PropType<boolean>;
|
|
337
369
|
default: boolean;
|
|
@@ -362,10 +394,22 @@ declare const SortableListTypes: () => ({
|
|
|
362
394
|
type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
|
|
363
395
|
default: any;
|
|
364
396
|
};
|
|
397
|
+
draggableArea: {
|
|
398
|
+
type: import("vue").PropType<"handle" | "full">;
|
|
399
|
+
default: string;
|
|
400
|
+
};
|
|
401
|
+
loadingRowCount: {
|
|
402
|
+
type: import("vue").PropType<number>;
|
|
403
|
+
default: number;
|
|
404
|
+
};
|
|
365
405
|
openId: {
|
|
366
406
|
type: import("vue").PropType<string | number>;
|
|
367
407
|
default: any;
|
|
368
408
|
};
|
|
409
|
+
zIndexBase: {
|
|
410
|
+
type: import("vue").PropType<number>;
|
|
411
|
+
default: number;
|
|
412
|
+
};
|
|
369
413
|
selectedId: {
|
|
370
414
|
type: import("vue").PropType<string | number>;
|
|
371
415
|
default: any;
|
|
@@ -374,10 +418,6 @@ declare const SortableListTypes: () => ({
|
|
|
374
418
|
type: import("vue").PropType<boolean>;
|
|
375
419
|
default: boolean;
|
|
376
420
|
};
|
|
377
|
-
loadingRowCount: {
|
|
378
|
-
type: import("vue").PropType<number>;
|
|
379
|
-
default: number;
|
|
380
|
-
};
|
|
381
421
|
emptyStateTitle: {
|
|
382
422
|
type: import("vue").PropType<string>;
|
|
383
423
|
default: string;
|
|
@@ -386,10 +426,6 @@ declare const SortableListTypes: () => ({
|
|
|
386
426
|
type: import("vue").PropType<boolean>;
|
|
387
427
|
default: boolean;
|
|
388
428
|
};
|
|
389
|
-
zIndexBase: {
|
|
390
|
-
type: import("vue").PropType<number>;
|
|
391
|
-
default: number;
|
|
392
|
-
};
|
|
393
429
|
}>> & {
|
|
394
430
|
onClearSearch?: () => any;
|
|
395
431
|
onSortableItemDragged?: (event: {
|
|
@@ -415,6 +451,7 @@ declare const SortableListTypes: () => ({
|
|
|
415
451
|
}, string, {
|
|
416
452
|
search: string;
|
|
417
453
|
testId: string;
|
|
454
|
+
variant: "default" | "compact";
|
|
418
455
|
isLoading: boolean;
|
|
419
456
|
displayValue: (item: import("./SortableList.types").SortableListItem) => string;
|
|
420
457
|
searchPlaceholder: string;
|
|
@@ -422,13 +459,14 @@ declare const SortableListTypes: () => ({
|
|
|
422
459
|
selectedChildId: string | number;
|
|
423
460
|
childListMaxHeight: string;
|
|
424
461
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
462
|
+
draggableArea: "handle" | "full";
|
|
463
|
+
loadingRowCount: number;
|
|
425
464
|
openId: string | number;
|
|
465
|
+
zIndexBase: number;
|
|
426
466
|
selectedId: string | number;
|
|
427
467
|
showSearch: boolean;
|
|
428
|
-
loadingRowCount: number;
|
|
429
468
|
emptyStateTitle: string;
|
|
430
469
|
isSticky: boolean;
|
|
431
|
-
zIndexBase: number;
|
|
432
470
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
433
471
|
$slots: {
|
|
434
472
|
header?(_: {}): any;
|
|
@@ -1,26 +1,42 @@
|
|
|
1
|
+
import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
options: unknown[];
|
|
3
4
|
modelValue: unknown;
|
|
5
|
+
variant: 'primary' | 'default';
|
|
4
6
|
testId?: string;
|
|
5
7
|
iconKey?: string;
|
|
8
|
+
tooltipTextKey?: string;
|
|
9
|
+
tooltipPlacement?: TooltipPositions;
|
|
6
10
|
}>, {
|
|
7
11
|
testId: string;
|
|
12
|
+
variant: string;
|
|
8
13
|
iconKey: string;
|
|
14
|
+
tooltipTextKey: string;
|
|
15
|
+
tooltipPlacement: string;
|
|
9
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
17
|
"update:modelValue": (...args: any[]) => void;
|
|
11
18
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
19
|
options: unknown[];
|
|
13
20
|
modelValue: unknown;
|
|
21
|
+
variant: 'primary' | 'default';
|
|
14
22
|
testId?: string;
|
|
15
23
|
iconKey?: string;
|
|
24
|
+
tooltipTextKey?: string;
|
|
25
|
+
tooltipPlacement?: TooltipPositions;
|
|
16
26
|
}>, {
|
|
17
27
|
testId: string;
|
|
28
|
+
variant: string;
|
|
18
29
|
iconKey: string;
|
|
30
|
+
tooltipTextKey: string;
|
|
31
|
+
tooltipPlacement: string;
|
|
19
32
|
}>>> & {
|
|
20
33
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
21
34
|
}, {
|
|
22
35
|
testId: string;
|
|
36
|
+
variant: 'primary' | 'default';
|
|
37
|
+
tooltipPlacement: TooltipPositions;
|
|
23
38
|
iconKey: string;
|
|
39
|
+
tooltipTextKey: string;
|
|
24
40
|
}>;
|
|
25
41
|
export default _default;
|
|
26
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SwitchV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../SwitchV4.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-cd6621a7"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,44 +1,59 @@
|
|
|
1
|
-
import "../../../SwitchV4.
|
|
2
|
-
import { useVModel as
|
|
1
|
+
import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; import { defineComponent as T, ref as h, onMounted as k, openBlock as c, createElementBlock as r, normalizeClass as m, unref as a, Fragment as x, renderList as V, createBlock as w, withCtx as y, createVNode as C } from "vue";
|
|
2
|
+
import { useVModel as I } from "@vueuse/core";
|
|
3
|
+
import { SwitchTestIdModifiers as u } from "../../../testids/index.js";
|
|
3
4
|
import "../../button/v4/ButtonV4.vue.js";
|
|
4
5
|
import $ from "../../button/v4/IconButtonV4.vue.js";
|
|
5
6
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
7
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
7
|
-
import
|
|
8
|
-
const
|
|
8
|
+
import B from "../../tooltip/v4/TooltipV4.vue.js";
|
|
9
|
+
const K = ["data-testid"], A = /* @__PURE__ */ T({
|
|
9
10
|
__name: "SwitchV4",
|
|
10
11
|
props: {
|
|
11
12
|
options: null,
|
|
12
13
|
modelValue: null,
|
|
14
|
+
variant: { default: "default" },
|
|
13
15
|
testId: { default: "" },
|
|
14
|
-
iconKey: { default: "icon" }
|
|
16
|
+
iconKey: { default: "icon" },
|
|
17
|
+
tooltipTextKey: { default: "tooltipText" },
|
|
18
|
+
tooltipPlacement: { default: "top" }
|
|
15
19
|
},
|
|
16
20
|
emits: ["update:modelValue"],
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
n.value =
|
|
21
|
-
(
|
|
21
|
+
setup(t, { emit: f }) {
|
|
22
|
+
const i = t, n = h(), p = I(i, "modelValue", f), d = (e) => n.value === e;
|
|
23
|
+
k(() => {
|
|
24
|
+
n.value = i.options.findIndex(
|
|
25
|
+
(e) => e === i.modelValue
|
|
22
26
|
);
|
|
23
27
|
});
|
|
24
|
-
const
|
|
25
|
-
n.value =
|
|
28
|
+
const v = (e, s) => {
|
|
29
|
+
n.value = s, p.value = e;
|
|
26
30
|
};
|
|
27
|
-
return (
|
|
28
|
-
class: "switch",
|
|
29
|
-
"data-testid": `${
|
|
31
|
+
return (e, s) => (c(), r("div", {
|
|
32
|
+
class: m(["switch", [`switch--variant-${t.variant}`]]),
|
|
33
|
+
"data-testid": `${t.testId}-${a(u).WRAPPER}`
|
|
30
34
|
}, [
|
|
31
|
-
(
|
|
35
|
+
(c(!0), r(x, null, V(t.options, (o, l) => (c(), w(a(B), {
|
|
32
36
|
key: l,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
text: o[t.tooltipTextKey],
|
|
38
|
+
disabled: !o[t.tooltipTextKey],
|
|
39
|
+
placement: t.tooltipPlacement,
|
|
40
|
+
class: "option-wrapper"
|
|
41
|
+
}, {
|
|
42
|
+
default: y(() => [
|
|
43
|
+
C(a($), {
|
|
44
|
+
class: m(["option", { "option--selected": d(l) }]),
|
|
45
|
+
"icon-name": o[t.iconKey],
|
|
46
|
+
size: "small",
|
|
47
|
+
color: d(l) ? t.variant : "default",
|
|
48
|
+
"data-testid": `${t.testId}-${a(u).BUTTON}`,
|
|
49
|
+
onClick: (P) => v(o, l)
|
|
50
|
+
}, null, 8, ["class", "icon-name", "color", "data-testid", "onClick"])
|
|
51
|
+
]),
|
|
52
|
+
_: 2
|
|
53
|
+
}, 1032, ["text", "disabled", "placement"]))), 128))
|
|
54
|
+
], 10, K));
|
|
40
55
|
}
|
|
41
56
|
});
|
|
42
57
|
export {
|
|
43
|
-
|
|
58
|
+
A as default
|
|
44
59
|
};
|
|
@@ -3,6 +3,15 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
3
3
|
type: import("vue").PropType<string>;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
variant: {
|
|
7
|
+
type: import("vue").PropType<"default" | "primary">;
|
|
8
|
+
required: true;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
tooltipPlacement: {
|
|
12
|
+
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
6
15
|
modelValue: {
|
|
7
16
|
type: import("vue").PropType<unknown>;
|
|
8
17
|
required: true;
|
|
@@ -15,6 +24,10 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
15
24
|
type: import("vue").PropType<string>;
|
|
16
25
|
default: string;
|
|
17
26
|
};
|
|
27
|
+
tooltipTextKey: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
18
31
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
32
|
"update:modelValue": (...args: any[]) => void;
|
|
20
33
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -22,6 +35,15 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
22
35
|
type: import("vue").PropType<string>;
|
|
23
36
|
default: string;
|
|
24
37
|
};
|
|
38
|
+
variant: {
|
|
39
|
+
type: import("vue").PropType<"default" | "primary">;
|
|
40
|
+
required: true;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
tooltipPlacement: {
|
|
44
|
+
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
25
47
|
modelValue: {
|
|
26
48
|
type: import("vue").PropType<unknown>;
|
|
27
49
|
required: true;
|
|
@@ -34,11 +56,18 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
34
56
|
type: import("vue").PropType<string>;
|
|
35
57
|
default: string;
|
|
36
58
|
};
|
|
59
|
+
tooltipTextKey: {
|
|
60
|
+
type: import("vue").PropType<string>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
37
63
|
}>> & {
|
|
38
64
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
39
65
|
}, {
|
|
40
66
|
testId: string;
|
|
67
|
+
variant: "default" | "primary";
|
|
68
|
+
tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
41
69
|
iconKey: string;
|
|
70
|
+
tooltipTextKey: string;
|
|
42
71
|
}>[];
|
|
43
72
|
export { default as Switch } from './SwitchV4.vue';
|
|
44
73
|
export { SwitchTypes };
|
|
@@ -31,7 +31,6 @@ export declare const tableCommon: (props: any, emit: any) => {
|
|
|
31
31
|
hasCheckboxes: import("vue").ComputedRef<boolean>;
|
|
32
32
|
toggleExpandRow: (index: number, event: any) => Promise<void>;
|
|
33
33
|
isRowExpanded: (rowIndex: number) => boolean;
|
|
34
|
-
cssRowHeight: import("vue").ComputedRef<string>;
|
|
35
34
|
cssExpandGridCol: import("vue").ComputedRef<string>;
|
|
36
35
|
activeMenuRow: import("vue").Ref<number>;
|
|
37
36
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useSlots as
|
|
2
|
-
import { useVirtualList as
|
|
3
|
-
import { TableContext as
|
|
4
|
-
import { CHECKBOX_STICKY_COL_WIDTH as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
import { useSlots as U, ref as a, provide as V, computed as n, onMounted as Y, nextTick as j } from "vue";
|
|
2
|
+
import { useVirtualList as q, useInfiniteScroll as F } from "@vueuse/core";
|
|
3
|
+
import { TableContext as J } from "./TableContext.js";
|
|
4
|
+
import { CHECKBOX_STICKY_COL_WIDTH as Q, CHECKBOX_COL_WIDTH as Z, EXPAND_COL_WIDTH as p, CHECKBOX_COLUMN_ID as tt } from "./consts.js";
|
|
5
|
+
const it = (e, d) => {
|
|
6
|
+
const T = U(), u = a([]);
|
|
7
|
+
V(J, {
|
|
8
8
|
onClose({ rowIndex: t, cellIndex: o, value: i } = {}) {
|
|
9
9
|
u.value = [...u.value, t], d("saveRow", {
|
|
10
10
|
rowIndex: t,
|
|
@@ -19,27 +19,27 @@ const rt = (e, d) => {
|
|
|
19
19
|
R.value = t;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const
|
|
23
|
-
const t = (
|
|
22
|
+
const g = n(() => !!e.selection), x = n(() => e.isSelectionSticky ? Q : Z), O = n(() => {
|
|
23
|
+
const t = (g.value ? `${x.value}px ` : "") + (h.value ? `${p}px ` : "");
|
|
24
24
|
return e.columns.reduce((o, { width: i, colSpan: l }) => {
|
|
25
25
|
const s = typeof i == "number" ? `${i}px` : i, S = s || `${l || 1}fr`;
|
|
26
26
|
return `${o} ${S}`;
|
|
27
27
|
}, t);
|
|
28
|
-
}),
|
|
28
|
+
}), h = n(() => !!T.expanded), H = a(null), R = a(null), k = n(() => Array(e.loadingRowCount).fill(
|
|
29
29
|
Array(e.columns.length).fill("")
|
|
30
30
|
)), I = n(() => e.rows.length && Array.isArray(e.rows[0]) ? e.isLoading ? [...e.rows, ...k.value] : e.rows : e.isLoading ? [
|
|
31
31
|
...e.rows.map((o) => o[e.rowDataKey]),
|
|
32
32
|
...k.value
|
|
33
|
-
] : e.rows.map((o) => o[e.rowDataKey])), { list:
|
|
33
|
+
] : e.rows.map((o) => o[e.rowDataKey])), { list: b, containerProps: r, wrapperProps: A, scrollTo: B } = q(
|
|
34
34
|
I,
|
|
35
35
|
{
|
|
36
|
-
itemHeight:
|
|
36
|
+
itemHeight: h.value ? (t) => w[t] ?? e.rowHeight : e.rowHeight
|
|
37
37
|
}
|
|
38
|
-
),
|
|
39
|
-
r.onScroll(),
|
|
38
|
+
), L = a(null), m = a(0), _ = n(() => !!T.search), $ = (t) => {
|
|
39
|
+
r.onScroll(), m.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, d("onScroll", t.target.scrollTop);
|
|
40
40
|
};
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
Y(() => {
|
|
42
|
+
m.value = r.ref.value?.getBoundingClientRect().width, e.defaultScrollPosition && setTimeout(() => {
|
|
43
43
|
r.ref.value?.scrollTo({
|
|
44
44
|
top: e.defaultScrollPosition,
|
|
45
45
|
behavior: "smooth"
|
|
@@ -47,17 +47,17 @@ const rt = (e, d) => {
|
|
|
47
47
|
}, 300);
|
|
48
48
|
});
|
|
49
49
|
const E = n(() => {
|
|
50
|
-
const [t] =
|
|
50
|
+
const [t] = b.value;
|
|
51
51
|
return t && t.index > 0;
|
|
52
52
|
}), P = n(() => r.style), D = n(() => {
|
|
53
53
|
const t = {
|
|
54
|
-
id:
|
|
54
|
+
id: tt,
|
|
55
55
|
isSticky: e.isSelectionSticky,
|
|
56
|
-
width:
|
|
56
|
+
width: x.value
|
|
57
57
|
};
|
|
58
|
-
return
|
|
58
|
+
return g.value ? [t] : [];
|
|
59
59
|
}), f = n(() => [...D.value, ...e.columns]), K = n(() => f.value.reduce((t, o) => (o.isSticky && (t[o.id] = X(o)), t), {}));
|
|
60
|
-
|
|
60
|
+
F(
|
|
61
61
|
r.ref,
|
|
62
62
|
() => {
|
|
63
63
|
e.isInfiniteScroll && d("loadMore");
|
|
@@ -89,43 +89,42 @@ const rt = (e, d) => {
|
|
|
89
89
|
zIndex: 1
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
const
|
|
93
|
-
const i =
|
|
92
|
+
const v = a([]), w = {}, N = (t) => v.value.includes(t), z = async (t, o) => {
|
|
93
|
+
const i = v.value.indexOf(t);
|
|
94
94
|
if (i === -1) {
|
|
95
|
-
|
|
95
|
+
v.value.push(t);
|
|
96
96
|
const l = o.target.closest("tr");
|
|
97
|
-
await
|
|
97
|
+
await j(), l && (w[t] = l.offsetHeight);
|
|
98
98
|
} else
|
|
99
|
-
|
|
100
|
-
}, G = n(
|
|
99
|
+
v.value.splice(i, 1), delete w[t];
|
|
100
|
+
}, G = n(
|
|
101
101
|
() => `1 / span ${e.columns.length + 1}`
|
|
102
102
|
);
|
|
103
103
|
return {
|
|
104
|
-
list:
|
|
104
|
+
list: b,
|
|
105
105
|
containerProps: r,
|
|
106
106
|
wrapperProps: A,
|
|
107
|
-
activeRow:
|
|
108
|
-
gridColumnTemplate:
|
|
109
|
-
floatingActionRef:
|
|
107
|
+
activeRow: H,
|
|
108
|
+
gridColumnTemplate: O,
|
|
109
|
+
floatingActionRef: L,
|
|
110
110
|
scrollToTop: M,
|
|
111
111
|
toggleSortOrder: W,
|
|
112
112
|
columnsStickyPositions: K,
|
|
113
|
-
hasSearchSlot:
|
|
113
|
+
hasSearchSlot: _,
|
|
114
114
|
showBackToTopButton: E,
|
|
115
115
|
containerStyle: P,
|
|
116
|
-
onScroll:
|
|
116
|
+
onScroll: $,
|
|
117
117
|
scrollTo: B,
|
|
118
118
|
savingRows: u,
|
|
119
|
-
floatingActionPosition:
|
|
120
|
-
hasExpandSlot:
|
|
121
|
-
hasCheckboxes:
|
|
119
|
+
floatingActionPosition: m,
|
|
120
|
+
hasExpandSlot: h,
|
|
121
|
+
hasCheckboxes: g,
|
|
122
122
|
toggleExpandRow: z,
|
|
123
123
|
isRowExpanded: N,
|
|
124
|
-
|
|
125
|
-
cssExpandGridCol: U,
|
|
124
|
+
cssExpandGridCol: G,
|
|
126
125
|
activeMenuRow: R
|
|
127
126
|
};
|
|
128
127
|
};
|
|
129
128
|
export {
|
|
130
|
-
|
|
129
|
+
it as tableCommon
|
|
131
130
|
};
|