@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
|
@@ -1,42 +1,45 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ke, computed as B, watch as Te, toRaw as v, openBlock as a, createElementBlock as r, mergeProps as m, unref as t, renderSlot as u, createElementVNode as f, createVNode as d, withCtx as c, Transition as we, normalizeClass as x, normalizeStyle as be, createTextVNode as T, createCommentVNode as s, isRef as Ie, toDisplayString as q, withModifiers as j, Fragment as ve, renderList as Se, createSlots as Ce, createBlock as F, resolveDynamicComponent as Ke } from "vue";
|
|
2
|
+
import N from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
5
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
6
6
|
import "./DropdownV4.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
7
|
+
import Ae from "./DefaultDropdownTrigger.vue.js";
|
|
8
|
+
import Oe from "./IconButtonDropdownTrigger.vue.js";
|
|
9
|
+
import Le from "./ChipDropdownTrigger.vue.js";
|
|
10
|
+
import Ee from "./AppDropdownTrigger.vue.js";
|
|
11
11
|
import "./ButtonDropdownTrigger.vue.js";
|
|
12
12
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
13
13
|
import "./TreeDropdown.vue.js";
|
|
14
|
-
import
|
|
14
|
+
import J from "./OptionV4.vue.js";
|
|
15
15
|
import "./ConditionalDropdown.vue.js";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import { Dropdown as
|
|
16
|
+
import Be from "../../search/v4/SearchV4.vue.js";
|
|
17
|
+
import Q from "../../typography/v4/Typography.vue.js";
|
|
18
|
+
import { Dropdown as xe } from "floating-vue";
|
|
19
19
|
import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
|
|
20
|
-
import { dropdownCommon as
|
|
21
|
-
import
|
|
22
|
-
import { useTestIdAttrs as
|
|
23
|
-
import { TRIGGERS as
|
|
24
|
-
import { useElementSize as
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
const
|
|
20
|
+
import { dropdownCommon as Fe } from "../common/Dropdown.common.js";
|
|
21
|
+
import K from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
22
|
+
import { useTestIdAttrs as Ne } from "../../../utils/testIds.js";
|
|
23
|
+
import { TRIGGERS as w } from "./Dropdown.types.js";
|
|
24
|
+
import { useElementSize as Ve } from "@vueuse/core";
|
|
25
|
+
import De from "../../shared/FieldHelpText.vue.js";
|
|
26
|
+
import Pe from "./GroupOption.vue.js";
|
|
27
|
+
const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze = { key: 1 }, We = { key: 2 }, Ge = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "inline-search-wrapper"
|
|
30
|
-
},
|
|
30
|
+
}, He = { class: "dropdown-conditions" }, Ue = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "no-result-container"
|
|
33
|
-
},
|
|
33
|
+
}, Ye = ["aria-selected", "aria-disabled", "onClick"], Xe = {
|
|
34
34
|
key: 3,
|
|
35
35
|
class: "loader"
|
|
36
|
-
},
|
|
36
|
+
}, qe = {
|
|
37
37
|
key: 1,
|
|
38
38
|
class: "actions-wrapper"
|
|
39
|
-
},
|
|
39
|
+
}, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, Qe = {
|
|
40
|
+
key: 2,
|
|
41
|
+
class: "dropdown-footer"
|
|
42
|
+
}, Ct = /* @__PURE__ */ ke({
|
|
40
43
|
__name: "DropdownV4",
|
|
41
44
|
props: {
|
|
42
45
|
modelValue: { default: null },
|
|
@@ -52,11 +55,14 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
52
55
|
isOpen: { type: Boolean },
|
|
53
56
|
options: null,
|
|
54
57
|
showSelectAll: { type: Boolean, default: !0 },
|
|
58
|
+
showClearAll: { type: Boolean, default: !0 },
|
|
55
59
|
defaultOpen: { type: Boolean, default: !1 },
|
|
56
60
|
keepOpen: { type: Boolean, default: !1 },
|
|
57
61
|
autoSize: { type: Boolean, default: !1 },
|
|
58
62
|
disableKeyboardEvents: { type: Boolean, default: !1 },
|
|
59
63
|
dynamicFilterMode: { type: Boolean, default: !1 },
|
|
64
|
+
minSelections: { default: 0 },
|
|
65
|
+
maxSelections: { default: null },
|
|
60
66
|
isOnTop: { type: Boolean, default: !1 },
|
|
61
67
|
distance: { default: 0 },
|
|
62
68
|
container: { default: "body" },
|
|
@@ -69,9 +75,10 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
69
75
|
triggerFeedbackVariant: { default: null },
|
|
70
76
|
triggerFeedbackShowIcon: { type: Boolean, default: !1 },
|
|
71
77
|
triggerShowAllSelectedText: { type: Boolean, default: !0 },
|
|
78
|
+
triggerShownValuesCount: { default: 1 },
|
|
72
79
|
size: { default: "medium" },
|
|
73
80
|
mandatory: { type: Boolean, default: !1 },
|
|
74
|
-
predefinedTrigger: { default:
|
|
81
|
+
predefinedTrigger: { default: w.DEFAULT },
|
|
75
82
|
inlineSearch: { type: Boolean, default: !1 },
|
|
76
83
|
inlineSearchPlaceholder: { default: "Search" },
|
|
77
84
|
onSearch: { type: Function, default: null },
|
|
@@ -87,6 +94,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
87
94
|
optionEndIconType: { default: null },
|
|
88
95
|
optionsEndTextIconKey: { default: null },
|
|
89
96
|
optionFlagKey: { default: null },
|
|
97
|
+
optionWarningKey: { default: null },
|
|
90
98
|
valueToCopy: { default: null },
|
|
91
99
|
disabledOptionKey: { default: "disabled" },
|
|
92
100
|
optionTwoLinesVariant: { default: void 0 },
|
|
@@ -94,6 +102,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
94
102
|
groupedOptions: { type: Boolean, default: !1 },
|
|
95
103
|
comparingKey: { default: null },
|
|
96
104
|
customNumberOfDisplayedOptions: { default: null },
|
|
105
|
+
optionTooltipPosition: { default: "right" },
|
|
97
106
|
theme: { default: "light-theme-v4" },
|
|
98
107
|
fullWidth: { type: Boolean, default: !0 },
|
|
99
108
|
optionsListWidth: { default: null },
|
|
@@ -103,8 +112,8 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
103
112
|
withConditions: { type: Boolean, default: !1 }
|
|
104
113
|
},
|
|
105
114
|
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
|
|
106
|
-
setup(e, { expose:
|
|
107
|
-
const
|
|
115
|
+
setup(e, { expose: Z, emit: V }) {
|
|
116
|
+
const o = e, D = {
|
|
108
117
|
MULTILINE_LIST_HEIGHT: 48,
|
|
109
118
|
LIST_HEIGHT: 32 + 4,
|
|
110
119
|
MAX_NUMBER_OF_OPTIONS: 7.5,
|
|
@@ -112,65 +121,95 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
112
121
|
DROPLIST_MIN_WIDTH: 240,
|
|
113
122
|
VERSION: 4
|
|
114
123
|
}, {
|
|
115
|
-
onKeydown:
|
|
116
|
-
open:
|
|
117
|
-
toggleMenu:
|
|
118
|
-
onButtonKeydown:
|
|
119
|
-
query:
|
|
120
|
-
containerProps:
|
|
121
|
-
calculateTableHeight:
|
|
122
|
-
wrapperProps:
|
|
123
|
-
filteredOptions:
|
|
124
|
-
allSelected:
|
|
125
|
-
allSelectedApplied:
|
|
126
|
-
isIndeterminate:
|
|
127
|
-
onSelectAll:
|
|
128
|
-
virtualOptions:
|
|
129
|
-
isSelected:
|
|
124
|
+
onKeydown: I,
|
|
125
|
+
open: y,
|
|
126
|
+
toggleMenu: S,
|
|
127
|
+
onButtonKeydown: P,
|
|
128
|
+
query: C,
|
|
129
|
+
containerProps: _,
|
|
130
|
+
calculateTableHeight: ee,
|
|
131
|
+
wrapperProps: te,
|
|
132
|
+
filteredOptions: oe,
|
|
133
|
+
allSelected: $,
|
|
134
|
+
allSelectedApplied: A,
|
|
135
|
+
isIndeterminate: ie,
|
|
136
|
+
onSelectAll: ne,
|
|
137
|
+
virtualOptions: M,
|
|
138
|
+
isSelected: O,
|
|
130
139
|
selectedOption: h,
|
|
131
140
|
selectedOptionPrevious: L,
|
|
132
|
-
selectedValue:
|
|
133
|
-
onSelect:
|
|
134
|
-
activeIndex:
|
|
135
|
-
onCancel:
|
|
136
|
-
onApply:
|
|
137
|
-
scrollTo:
|
|
138
|
-
listRef:
|
|
139
|
-
buttonRef:
|
|
140
|
-
apply:
|
|
141
|
-
cancel:
|
|
142
|
-
el:
|
|
143
|
-
onClearAllSelections:
|
|
144
|
-
clearAll:
|
|
145
|
-
isGroup:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
141
|
+
selectedValue: le,
|
|
142
|
+
onSelect: R,
|
|
143
|
+
activeIndex: z,
|
|
144
|
+
onCancel: ae,
|
|
145
|
+
onApply: de,
|
|
146
|
+
scrollTo: se,
|
|
147
|
+
listRef: re,
|
|
148
|
+
buttonRef: W,
|
|
149
|
+
apply: ue,
|
|
150
|
+
cancel: ce,
|
|
151
|
+
el: ye,
|
|
152
|
+
onClearAllSelections: G,
|
|
153
|
+
clearAll: me,
|
|
154
|
+
isGroup: fe,
|
|
155
|
+
flattenAndMarkGroupOptions: pe
|
|
156
|
+
} = Fe(o, V, D), g = Ne(o.testId, p), H = B(() => !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT ? Ae : o.predefinedTrigger === w.APP ? Ee : null), { width: U } = Ve(W), ge = B(() => o.optionsListWidth ? o.optionsListWidth : !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT || o.predefinedTrigger === w.APP ? U.value - 2 > 240 ? `${U.value - 2}px` : `${D.DROPLIST_MIN_WIDTH}px` : "auto");
|
|
157
|
+
Te(
|
|
158
|
+
() => o.optionsListWidth,
|
|
149
159
|
() => {
|
|
150
|
-
|
|
160
|
+
o.optionsListWidth && document.documentElement.style.setProperty(
|
|
151
161
|
"--options-list-width",
|
|
152
|
-
|
|
162
|
+
o.optionsListWidth
|
|
153
163
|
);
|
|
154
164
|
}
|
|
155
165
|
);
|
|
156
|
-
const
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
166
|
+
const Y = () => {
|
|
167
|
+
S();
|
|
168
|
+
}, X = B(() => {
|
|
169
|
+
const i = {
|
|
170
|
+
tooltipMessage: null,
|
|
171
|
+
selections: []
|
|
172
|
+
};
|
|
173
|
+
if (o.multi && o.comparingKey) {
|
|
174
|
+
const l = v(h.value);
|
|
175
|
+
if (o.minSelections || o.maxSelections) {
|
|
176
|
+
if (Array.isArray(l) && l.length <= o.minSelections)
|
|
177
|
+
return i.tooltipMessage = `You need to select at least ${o.minSelections} item${o.minSelections > 1 ? "s" : ""}`, i.selections = l.map(
|
|
178
|
+
(n) => n[o.comparingKey]
|
|
179
|
+
), i;
|
|
180
|
+
if (o.maxSelections && Array.isArray(l) && l.length >= o.maxSelections) {
|
|
181
|
+
const n = l.map(
|
|
182
|
+
(b) => b[o.comparingKey]
|
|
183
|
+
), k = o.groupedOptions ? pe(o.options) : o.options;
|
|
184
|
+
return i.tooltipMessage = `You can only select up to ${o.maxSelections} items`, i.selections = k.map((b) => {
|
|
185
|
+
if (!n.includes(b[o.comparingKey]))
|
|
186
|
+
return b[o.comparingKey];
|
|
187
|
+
}), i;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return i.tooltipMessage = null, i.selections = [], i;
|
|
192
|
+
}), he = (i) => {
|
|
193
|
+
if ((o.minSelections || o.maxSelections) && o.comparingKey)
|
|
194
|
+
return X.value.selections.includes(
|
|
195
|
+
i[o.comparingKey]
|
|
196
|
+
);
|
|
197
|
+
}, E = (i) => i[o.disabledOptionKey] || he(i);
|
|
198
|
+
return Z({
|
|
199
|
+
selectItem: R,
|
|
200
|
+
scrollTo: se
|
|
201
|
+
}), (i, l) => (a(), r("div", m({
|
|
163
202
|
ref_key: "el",
|
|
164
|
-
ref:
|
|
203
|
+
ref: ye,
|
|
165
204
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
|
|
166
205
|
tabindex: e.disabled ? -1 : 0
|
|
167
206
|
}, t(g)[t(p).WRAPPER], {
|
|
168
207
|
onKeydown: l[8] || (l[8] = //@ts-ignore
|
|
169
|
-
(...
|
|
208
|
+
(...n) => t(I) && t(I)(...n))
|
|
170
209
|
}), [
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
210
|
+
u(i.$slots, "label", {}, void 0, !0),
|
|
211
|
+
f("div", Me, [
|
|
212
|
+
d(t(xe), m({
|
|
174
213
|
theme: e.theme,
|
|
175
214
|
"popper-class": [
|
|
176
215
|
e.popperClass,
|
|
@@ -183,46 +222,46 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
183
222
|
distance: e.distance,
|
|
184
223
|
flip: e.flip,
|
|
185
224
|
triggers: [],
|
|
186
|
-
shown: !!t(
|
|
225
|
+
shown: !!t(y),
|
|
187
226
|
"auto-hide": !1,
|
|
188
227
|
container: e.container,
|
|
189
228
|
"auto-size": e.autoSize
|
|
190
229
|
}, t(g)[t(p).TRIGGER]), {
|
|
191
|
-
popper:
|
|
192
|
-
|
|
193
|
-
default:
|
|
194
|
-
t(
|
|
230
|
+
popper: c(() => [
|
|
231
|
+
d(we, null, {
|
|
232
|
+
default: c(() => [
|
|
233
|
+
t(y) ? (a(), r("div", {
|
|
195
234
|
key: 0,
|
|
196
235
|
ref_key: "listRef",
|
|
197
|
-
ref:
|
|
198
|
-
class:
|
|
236
|
+
ref: re,
|
|
237
|
+
class: x(["light-theme-v4", {
|
|
199
238
|
"dropdown--disabled": e.disabled,
|
|
200
239
|
"inline-search": e.inlineSearch
|
|
201
240
|
}]),
|
|
202
|
-
style:
|
|
241
|
+
style: be({ width: t(ge) })
|
|
203
242
|
}, [
|
|
204
|
-
t(
|
|
243
|
+
t(y) ? (a(), r("div", {
|
|
205
244
|
key: 0,
|
|
206
|
-
class:
|
|
245
|
+
class: x(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
|
|
207
246
|
onKeydown: l[7] || (l[7] = //@ts-ignore
|
|
208
|
-
(...
|
|
247
|
+
(...n) => t(I) && t(I)(...n))
|
|
209
248
|
}, [
|
|
210
|
-
t(
|
|
211
|
-
e.withConditions ?
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
default:
|
|
249
|
+
t(y) && e.inlineSearch ? (a(), r("div", Ge, [
|
|
250
|
+
e.withConditions ? u(i.$slots, "dropdown-conditions", { key: 0 }, () => [
|
|
251
|
+
f("div", He, [
|
|
252
|
+
d(t(Q), { variant: "body2" }, {
|
|
253
|
+
default: c(() => [
|
|
215
254
|
T("Conditions")
|
|
216
255
|
]),
|
|
217
256
|
_: 1
|
|
218
257
|
})
|
|
219
258
|
])
|
|
220
|
-
], !0) :
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
modelValue: t(
|
|
259
|
+
], !0) : s("", !0),
|
|
260
|
+
u(i.$slots, "inline-search", {}, () => [
|
|
261
|
+
d(t(Be), {
|
|
262
|
+
modelValue: t(C),
|
|
224
263
|
"onUpdate:modelValue": [
|
|
225
|
-
l[4] || (l[4] = (
|
|
264
|
+
l[4] || (l[4] = (n) => Ie(C) ? C.value = n : null),
|
|
226
265
|
e.onClearSearch
|
|
227
266
|
],
|
|
228
267
|
placeholder: e.inlineSearchPlaceholder,
|
|
@@ -230,83 +269,86 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
230
269
|
size: "md",
|
|
231
270
|
"auto-focus": e.searchAutoFocus,
|
|
232
271
|
"test-id": e.testId,
|
|
233
|
-
onKeydown: t(
|
|
272
|
+
onKeydown: t(I)
|
|
234
273
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
235
274
|
], !0)
|
|
236
|
-
])) :
|
|
237
|
-
|
|
238
|
-
|
|
275
|
+
])) : s("", !0),
|
|
276
|
+
u(i.$slots, "input-list", { open: t(y) }, void 0, !0),
|
|
277
|
+
f("div", m({
|
|
239
278
|
class: ["list-container", { "list-container--multi": e.multi }],
|
|
240
|
-
style: { height: `${t(
|
|
279
|
+
style: { height: `${t(ee)}rem` }
|
|
241
280
|
}, {
|
|
242
|
-
...t(
|
|
281
|
+
...t(_),
|
|
243
282
|
...t(g)[t(p).LIST_CONTAINER]
|
|
244
283
|
}), [
|
|
245
|
-
|
|
246
|
-
|
|
284
|
+
u(i.$slots, "custom-list-area", {}, void 0, !0),
|
|
285
|
+
f("ul", m(t(te), {
|
|
247
286
|
role: "listbox",
|
|
248
287
|
class: ["list", {
|
|
249
288
|
"list--multi": e.multi,
|
|
250
289
|
"list--with-conditions": e.withConditions
|
|
251
290
|
}]
|
|
252
291
|
}), [
|
|
253
|
-
!t(
|
|
254
|
-
|
|
255
|
-
default:
|
|
256
|
-
T(
|
|
292
|
+
!t(oe).length && !e.loading && !e.withConditions ? (a(), r("li", Ue, [
|
|
293
|
+
d(t(Q), m({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
|
|
294
|
+
default: c(() => [
|
|
295
|
+
T(q(e.noResultsText), 1)
|
|
257
296
|
]),
|
|
258
297
|
_: 1
|
|
259
298
|
}, 16)
|
|
260
|
-
])) :
|
|
261
|
-
e.showSelectAll !== !1 && e.multi && !t(
|
|
262
|
-
|
|
263
|
-
|
|
299
|
+
])) : s("", !0),
|
|
300
|
+
e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading && e.options.length && !(e.minSelections || e.maxSelections) ? u(i.$slots, "select-all", { key: 1 }, () => [
|
|
301
|
+
f("li", null, [
|
|
302
|
+
d(t(J), m(
|
|
264
303
|
{
|
|
265
|
-
"aria-selected": t(
|
|
304
|
+
"aria-selected": t($),
|
|
266
305
|
"aria-disabled": !!e.disabled,
|
|
267
|
-
"selected-prop": t(
|
|
268
|
-
"is-indeterminate": t(
|
|
306
|
+
"selected-prop": t($),
|
|
307
|
+
"is-indeterminate": t(ie),
|
|
269
308
|
"is-multi": e.multi,
|
|
270
309
|
"select-all-option": ""
|
|
271
310
|
},
|
|
272
311
|
t(g)[t(p).SELECT_ALL],
|
|
273
312
|
{
|
|
274
|
-
onClick: l[5] || (l[5] =
|
|
313
|
+
onClick: l[5] || (l[5] = j((n) => t(ne)(), ["stop"]))
|
|
275
314
|
}
|
|
276
315
|
), {
|
|
277
|
-
default:
|
|
316
|
+
default: c(() => [
|
|
278
317
|
T(" Select all ")
|
|
279
318
|
]),
|
|
280
319
|
_: 1
|
|
281
320
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
|
|
282
321
|
])
|
|
283
|
-
], !0) :
|
|
284
|
-
t(
|
|
285
|
-
key:
|
|
286
|
-
"aria-selected": t(
|
|
322
|
+
], !0) : s("", !0),
|
|
323
|
+
t(M).length && !e.loading ? (a(!0), r(ve, { key: 2 }, Se(t(M), ({ data: n, index: k }) => (a(), r("li", {
|
|
324
|
+
key: k,
|
|
325
|
+
"aria-selected": t(O)(v(t(h)), n),
|
|
287
326
|
"aria-disabled": !!e.disabled,
|
|
288
|
-
onClick:
|
|
327
|
+
onClick: j(
|
|
328
|
+
() => !E(n) && t(R)(n, k),
|
|
329
|
+
["stop"]
|
|
330
|
+
)
|
|
289
331
|
}, [
|
|
290
|
-
e.groupedOptions && t(
|
|
291
|
-
|
|
292
|
-
default:
|
|
293
|
-
T(
|
|
332
|
+
e.groupedOptions && t(fe)(n) ? u(i.$slots, "group-option", { key: 0 }, () => [
|
|
333
|
+
d(Pe, null, {
|
|
334
|
+
default: c(() => [
|
|
335
|
+
T(q(e.displayValue(n) || n[e.optionNameKey]), 1)
|
|
294
336
|
]),
|
|
295
337
|
_: 2
|
|
296
338
|
}, 1024)
|
|
297
|
-
], !0) :
|
|
339
|
+
], !0) : u(i.$slots, "default", {
|
|
298
340
|
key: 1,
|
|
299
|
-
option:
|
|
300
|
-
index:
|
|
301
|
-
selected: t(
|
|
302
|
-
active:
|
|
303
|
-
disabled:
|
|
341
|
+
option: n,
|
|
342
|
+
index: k,
|
|
343
|
+
selected: t(O)(v(t(h)), n),
|
|
344
|
+
active: v(t(z)) === k,
|
|
345
|
+
disabled: E(n)
|
|
304
346
|
}, () => [
|
|
305
|
-
|
|
306
|
-
option:
|
|
307
|
-
"selected-prop": t(
|
|
308
|
-
active:
|
|
309
|
-
disabled:
|
|
347
|
+
d(t(J), {
|
|
348
|
+
option: n,
|
|
349
|
+
"selected-prop": t(O)(t(h), n),
|
|
350
|
+
active: v(t(z)) === k,
|
|
351
|
+
disabled: E(n),
|
|
310
352
|
"name-key": e.optionNameKey,
|
|
311
353
|
"image-key": e.optionImageKey,
|
|
312
354
|
"icon-key": e.optionIconKey,
|
|
@@ -315,100 +357,116 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
315
357
|
"end-icon-type": e.optionEndIconType,
|
|
316
358
|
"end-text-icon-key": e.optionsEndTextIconKey,
|
|
317
359
|
"option-flag-key": e.optionFlagKey,
|
|
360
|
+
"warning-key": e.optionWarningKey,
|
|
318
361
|
"option-two-lines-variant": e.optionTwoLinesVariant,
|
|
319
362
|
"option-two-lines-key": e.optionTwoLinesKey,
|
|
320
|
-
"
|
|
321
|
-
|
|
363
|
+
"tooltip-placement": e.optionTooltipPosition,
|
|
364
|
+
"is-multi": e.multi,
|
|
365
|
+
"min-max-selection-tooltip-message": t(X)?.tooltipMessage
|
|
366
|
+
}, Ce({ _: 2 }, [
|
|
367
|
+
i.$slots["option-end"] ? {
|
|
368
|
+
name: "option-end",
|
|
369
|
+
fn: c(({ option: b }) => [
|
|
370
|
+
u(i.$slots, "option-end", { option: b }, void 0, !0)
|
|
371
|
+
]),
|
|
372
|
+
key: "0"
|
|
373
|
+
} : void 0
|
|
374
|
+
]), 1032, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "option-flag-key", "warning-key", "option-two-lines-variant", "option-two-lines-key", "tooltip-placement", "is-multi", "min-max-selection-tooltip-message"])
|
|
322
375
|
], !0)
|
|
323
|
-
], 8,
|
|
324
|
-
e.loading || e.loadMoreLoading ? (a(),
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
])) :
|
|
376
|
+
], 8, Ye))), 128)) : s("", !0),
|
|
377
|
+
e.loading || e.loadMoreLoading ? (a(), r("li", Xe, [
|
|
378
|
+
d(t(K), { round: "" }),
|
|
379
|
+
d(t(K), { round: "" }),
|
|
380
|
+
d(t(K), { round: "" }),
|
|
381
|
+
d(t(K), { round: "" })
|
|
382
|
+
])) : s("", !0)
|
|
330
383
|
], 16)
|
|
331
384
|
], 16),
|
|
332
|
-
e.multi ? (a(),
|
|
333
|
-
|
|
334
|
-
|
|
385
|
+
e.multi ? (a(), r("div", qe, [
|
|
386
|
+
f("div", je, [
|
|
387
|
+
e.showClearAll ? (a(), F(t(N), m(
|
|
335
388
|
{
|
|
389
|
+
key: 0,
|
|
336
390
|
ref_key: "clearAll",
|
|
337
|
-
ref:
|
|
391
|
+
ref: me,
|
|
338
392
|
size: "small",
|
|
339
393
|
variant: "text",
|
|
340
394
|
color: "primary"
|
|
341
395
|
},
|
|
342
396
|
t(g)[t(p).ACTION_CLEAR_ALL],
|
|
343
397
|
{
|
|
344
|
-
onClick: l[6] || (l[6] = () => t(
|
|
398
|
+
onClick: l[6] || (l[6] = () => t(G)(!1))
|
|
345
399
|
}
|
|
346
400
|
), {
|
|
347
|
-
default:
|
|
401
|
+
default: c(() => [
|
|
348
402
|
T(" Clear all ")
|
|
349
403
|
]),
|
|
350
404
|
_: 1
|
|
351
|
-
}, 16)
|
|
405
|
+
}, 16)) : s("", !0)
|
|
352
406
|
]),
|
|
353
|
-
|
|
354
|
-
|
|
407
|
+
f("div", Je, [
|
|
408
|
+
d(t(N), m(
|
|
355
409
|
{
|
|
356
410
|
ref_key: "cancel",
|
|
357
|
-
ref:
|
|
411
|
+
ref: ce,
|
|
358
412
|
size: "small",
|
|
359
413
|
variant: "outlined",
|
|
360
414
|
color: "primary"
|
|
361
415
|
},
|
|
362
416
|
t(g)[t(p).ACTION_CANCEL],
|
|
363
|
-
{ onClick: t(
|
|
417
|
+
{ onClick: t(ae) }
|
|
364
418
|
), {
|
|
365
|
-
default:
|
|
419
|
+
default: c(() => [
|
|
366
420
|
T(" Cancel ")
|
|
367
421
|
]),
|
|
368
422
|
_: 1
|
|
369
423
|
}, 16, ["onClick"]),
|
|
370
|
-
|
|
424
|
+
d(t(N), m({
|
|
371
425
|
ref_key: "apply",
|
|
372
|
-
ref:
|
|
426
|
+
ref: ue,
|
|
373
427
|
"data-testid": "mutli-apply",
|
|
374
428
|
size: "small",
|
|
375
429
|
class: "apply-button"
|
|
376
|
-
}, t(g)[t(p).ACTION_APPLY], { onClick: t(
|
|
377
|
-
default:
|
|
430
|
+
}, t(g)[t(p).ACTION_APPLY], { onClick: t(de) }), {
|
|
431
|
+
default: c(() => [
|
|
378
432
|
T(" Apply ")
|
|
379
433
|
]),
|
|
380
434
|
_: 1
|
|
381
435
|
}, 16, ["onClick"])
|
|
382
436
|
])
|
|
383
|
-
])) :
|
|
384
|
-
|
|
385
|
-
|
|
437
|
+
])) : s("", !0),
|
|
438
|
+
i.$slots.footer ? (a(), r("div", Qe, [
|
|
439
|
+
u(i.$slots, "footer", {}, void 0, !0)
|
|
440
|
+
])) : s("", !0)
|
|
441
|
+
], 34)) : s("", !0)
|
|
442
|
+
], 6)) : s("", !0)
|
|
386
443
|
]),
|
|
387
444
|
_: 3
|
|
388
445
|
})
|
|
389
446
|
]),
|
|
390
|
-
default:
|
|
391
|
-
|
|
392
|
-
class:
|
|
393
|
-
"button__container--open": !!t(
|
|
447
|
+
default: c(() => [
|
|
448
|
+
f("div", {
|
|
449
|
+
class: x(["button__container", {
|
|
450
|
+
"button__container--open": !!t(y),
|
|
394
451
|
[`button__container--${e.size}`]: !0,
|
|
395
452
|
"button__container--disabled": e.disabled
|
|
396
453
|
}])
|
|
397
454
|
}, [
|
|
398
|
-
|
|
455
|
+
f("div", {
|
|
399
456
|
ref_key: "buttonRef",
|
|
400
|
-
ref:
|
|
457
|
+
ref: W
|
|
401
458
|
}, [
|
|
402
|
-
|
|
459
|
+
u(i.$slots, "dropdown-trigger", {
|
|
403
460
|
buttonTriggerProps: {
|
|
404
|
-
open: t(
|
|
461
|
+
open: t(y),
|
|
405
462
|
disabled: e.disabled,
|
|
406
|
-
label: t(
|
|
407
|
-
onClick: () => t(
|
|
463
|
+
label: t(le) || e.placeholder,
|
|
464
|
+
onClick: () => t(S)(),
|
|
465
|
+
testId: e.testId
|
|
408
466
|
},
|
|
409
467
|
defaultTriggerProps: {
|
|
410
468
|
placeholder: e.placeholder,
|
|
411
|
-
open: t(
|
|
469
|
+
open: t(y),
|
|
412
470
|
label: e.triggerLabel,
|
|
413
471
|
showFeedbackIcon: e.triggerFeedbackShowIcon,
|
|
414
472
|
mandatory: e.mandatory,
|
|
@@ -431,15 +489,15 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
431
489
|
statusDotType: e.statusType,
|
|
432
490
|
size: e.size,
|
|
433
491
|
showAllSelectedText: e.triggerShowAllSelectedText,
|
|
434
|
-
allSelected: t(
|
|
435
|
-
onKeydown: t(
|
|
436
|
-
onClick:
|
|
492
|
+
allSelected: t(A),
|
|
493
|
+
onKeydown: t(P),
|
|
494
|
+
onClick: Y
|
|
437
495
|
}
|
|
438
496
|
}, () => [
|
|
439
|
-
t(
|
|
440
|
-
(a(),
|
|
497
|
+
t(H) ? (a(), r("div", Re, [
|
|
498
|
+
(a(), F(Ke(t(H)), {
|
|
441
499
|
placeholder: e.placeholder,
|
|
442
|
-
open: t(
|
|
500
|
+
open: t(y),
|
|
443
501
|
label: e.triggerLabel,
|
|
444
502
|
"show-feedback-icon": e.triggerFeedbackShowIcon,
|
|
445
503
|
mandatory: e.mandatory,
|
|
@@ -462,49 +520,50 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
|
|
|
462
520
|
"status-dot-type": e.statusType,
|
|
463
521
|
size: e.size,
|
|
464
522
|
"show-all-selected-text": e.triggerShowAllSelectedText,
|
|
465
|
-
"all-selected": t(
|
|
466
|
-
onKeydown: t(
|
|
467
|
-
onClick:
|
|
468
|
-
onCopyToClipboard: l[0] || (l[0] = (
|
|
523
|
+
"all-selected": t(A),
|
|
524
|
+
onKeydown: t(P),
|
|
525
|
+
onClick: Y,
|
|
526
|
+
onCopyToClipboard: l[0] || (l[0] = (n) => V("copyToClipboard"))
|
|
469
527
|
}, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
|
|
470
|
-
])) :
|
|
471
|
-
e.predefinedTrigger === t(
|
|
472
|
-
|
|
473
|
-
onClick: l[1] || (l[1] = (
|
|
528
|
+
])) : s("", !0),
|
|
529
|
+
e.predefinedTrigger === t(w).ICON_BUTTON ? (a(), r("div", ze, [
|
|
530
|
+
d(t(Oe), {
|
|
531
|
+
onClick: l[1] || (l[1] = (n) => t(S)())
|
|
474
532
|
})
|
|
475
|
-
])) :
|
|
476
|
-
e.predefinedTrigger === t(
|
|
477
|
-
|
|
478
|
-
open: t(
|
|
533
|
+
])) : s("", !0),
|
|
534
|
+
e.predefinedTrigger === t(w).CHIP ? (a(), r("div", We, [
|
|
535
|
+
d(t(Le), {
|
|
536
|
+
open: t(y),
|
|
479
537
|
label: e.placeholder,
|
|
480
538
|
"test-id": e.testId,
|
|
481
539
|
options: e.options,
|
|
482
540
|
"selected-option": e.multi ? t(L) : t(h),
|
|
483
541
|
"display-value": e.displayValue,
|
|
484
542
|
multi: e.multi,
|
|
485
|
-
"all-selected": t(
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
543
|
+
"all-selected": t(A),
|
|
544
|
+
"shown-values-count": e.triggerShownValuesCount,
|
|
545
|
+
onClick: l[2] || (l[2] = (n) => t(S)()),
|
|
546
|
+
onClear: l[3] || (l[3] = (n) => t(G)())
|
|
547
|
+
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected", "shown-values-count"])
|
|
548
|
+
])) : s("", !0)
|
|
490
549
|
], !0)
|
|
491
550
|
], 512)
|
|
492
551
|
], 2)
|
|
493
552
|
]),
|
|
494
553
|
_: 3
|
|
495
554
|
}, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
496
|
-
e.triggerFeedbackText ? (a(),
|
|
555
|
+
e.triggerFeedbackText ? (a(), F(De, {
|
|
497
556
|
key: 0,
|
|
498
557
|
text: e.triggerFeedbackText,
|
|
499
558
|
variant: e.triggerFeedbackVariant,
|
|
500
559
|
"show-icon": e.triggerFeedbackShowIcon,
|
|
501
560
|
"test-id": e.testId,
|
|
502
561
|
class: "dropdown-field-help-text"
|
|
503
|
-
}, null, 8, ["text", "variant", "show-icon", "test-id"])) :
|
|
562
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : s("", !0)
|
|
504
563
|
])
|
|
505
|
-
], 16,
|
|
564
|
+
], 16, $e));
|
|
506
565
|
}
|
|
507
566
|
});
|
|
508
567
|
export {
|
|
509
|
-
|
|
568
|
+
Ct as default
|
|
510
569
|
};
|