@ironsource/shared-ui 2.1.12-rc.4 → 2.1.12-rc.40
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/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_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_3da25a36_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_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_f5204c04_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_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/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_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_55dd36a7_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_ad98fe7b_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/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_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_84dc8525_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/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_5160f12d_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 +168 -37
- package/components/chart/Chart.vue.js +2 -2
- package/components/chart/Chart.vue2.js +154 -297
- package/components/chart/ChartHeader.vue.d.ts +50 -11
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -54
- package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
- package/components/chart/ChartHeaderTrend.vue.js +7 -0
- package/components/chart/ChartHeaderTrend.vue2.js +97 -0
- package/components/chart/ChartLegend.vue.d.ts +24 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +82 -63
- package/components/chart/ChartPlane.vue.d.ts +236 -0
- package/components/chart/ChartPlane.vue.js +7 -0
- package/components/chart/ChartPlane.vue2.js +381 -0
- package/components/chart/ChartStoryArgs.d.ts +196 -0
- package/components/chart/ChartTooltip.vue.d.ts +22 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +51 -56
- package/components/chart/LegendSorting.vue.d.ts +37 -0
- package/components/chart/LegendSorting.vue.js +45 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- 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 +70 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +5 -0
- package/components/chart/composables/useChartHeight.js +24 -0
- package/components/chart/composables/useColorsMap.d.ts +12 -0
- package/components/chart/composables/useColorsMap.js +48 -0
- package/components/chart/composables/useTooltipPosition.d.ts +1 -1
- package/components/chart/composables/useTooltipPosition.js +11 -15
- package/components/chart/consts.d.ts +33 -7
- package/components/chart/consts.js +46 -22
- package/components/chart/index.d.ts +592 -119
- package/components/chart/mockData.d.ts +59 -5
- package/components/chart/types.d.ts +39 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/formatNumber.d.ts +0 -1
- 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/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/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- 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 +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- 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/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
- 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 +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +144 -122
- package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
- 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 +701 -162
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- 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/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/link/Link.vue.d.ts +70 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +43 -0
- package/components/link/index.d.ts +201 -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/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +3 -3
- 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 +10 -0
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +104 -96
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/index.d.ts +39 -1
- 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 +18 -7
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +300 -250
- 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 +575 -293
- 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/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/composables/useFullPageHeight.d.ts +10 -0
- package/composables/useFullPageHeight.js +15 -0
- 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 +4185 -2363
- package/index.js +148 -132
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +13 -1
- package/testids/index.d.ts +8 -0
- package/testids/index.js +35 -33
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +37 -7
- package/utils/index.js +7 -0
- 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/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_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_a641383a_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_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/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_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/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/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
- package/components/chart/utils/formatNumber.js +0 -11
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { useToggle as
|
|
2
|
-
import { inject as
|
|
3
|
-
import { isObjectInArray as
|
|
4
|
-
import { objectsEqual as
|
|
5
|
-
import { useClamp as
|
|
6
|
-
import { Mode as
|
|
7
|
-
import { pxToRem as
|
|
8
|
-
import { useEditableContext as
|
|
9
|
-
import { useGroupedOptions as
|
|
10
|
-
const
|
|
11
|
-
const B =
|
|
1
|
+
import { useToggle as ke } from "../../../composables/useToggle.js";
|
|
2
|
+
import { inject as Ge, ref as r, computed as c, watch as b, useSlots as Le, toRaw as I, nextTick as N, provide as Ue, onMounted as Be } from "vue";
|
|
3
|
+
import { isObjectInArray as ue } from "../../../utils/array.js";
|
|
4
|
+
import { objectsEqual as He } from "../../../utils/object.js";
|
|
5
|
+
import { useClamp as qe, useVirtualList as Xe, onClickOutside as ie, useInfiniteScroll as $e } from "@vueuse/core";
|
|
6
|
+
import { Mode as w, Type as U, DropdownContext as je } from "./DropdownContext.js";
|
|
7
|
+
import { pxToRem as ze } from "../../../utils/style.js";
|
|
8
|
+
import { useEditableContext as We } from "../../table-cells/common/EditableContext.js";
|
|
9
|
+
import { useGroupedOptions as Je } from "./useGroupedOptions.js";
|
|
10
|
+
const nl = (e, d, y) => {
|
|
11
|
+
const B = Ge("isTreeDropdown", !1), {
|
|
12
12
|
sortOutGroups: H,
|
|
13
|
-
flattenAndMarkGroupOptions:
|
|
14
|
-
isGroup:
|
|
15
|
-
selectAllWithGroups:
|
|
16
|
-
isIndeterminateGrouped:
|
|
17
|
-
allSelectedGrouped:
|
|
18
|
-
areAllPreviousSelected:
|
|
19
|
-
groupedChildOptionsLength:
|
|
20
|
-
} =
|
|
13
|
+
flattenAndMarkGroupOptions: q,
|
|
14
|
+
isGroup: X,
|
|
15
|
+
selectAllWithGroups: re,
|
|
16
|
+
isIndeterminateGrouped: oe,
|
|
17
|
+
allSelectedGrouped: $,
|
|
18
|
+
areAllPreviousSelected: ce,
|
|
19
|
+
groupedChildOptionsLength: se
|
|
20
|
+
} = Je(e), de = (l, t) => e.multi && Array.isArray(l) ? e.comparingKey ? l?.findIndex(
|
|
21
21
|
(i) => i[e.comparingKey] === t[e.comparingKey]
|
|
22
|
-
) > -1 :
|
|
23
|
-
let
|
|
22
|
+
) > -1 : ue(l, t) : e.comparingKey ? l?.[e.comparingKey] === t[e.comparingKey] : l === t;
|
|
23
|
+
let j;
|
|
24
24
|
((l) => {
|
|
25
25
|
l[l.None = 0] = "None", l[l.Next = 1] = "Next", l[l.Previous = -1] = "Previous", l[l.NextPage = 10] = "NextPage", l[l.PrevPage = -10] = "PrevPage";
|
|
26
|
-
})(
|
|
26
|
+
})(j || (j = {}));
|
|
27
27
|
const a = r(
|
|
28
28
|
e.selected
|
|
29
|
-
), K =
|
|
29
|
+
), K = We(), n = c({
|
|
30
30
|
get() {
|
|
31
31
|
return K?.value?.value ?? a.value;
|
|
32
32
|
},
|
|
@@ -40,45 +40,45 @@ const al = (e, d, g) => {
|
|
|
40
40
|
a.value = e.selected, v.value = e.selected;
|
|
41
41
|
}
|
|
42
42
|
);
|
|
43
|
-
const
|
|
43
|
+
const ve = Le(), x = r(null), m = r(null), z = r(null), R = r(null), W = r(null), D = r(null), fe = r(), J = r(null), Q = r(null), Y = r(null), ge = 8, ye = c(() => D.value ? D.value.getBoundingClientRect().height + ge + e.distance : 0), C = r(!1), h = r([]), T = r(-1), O = r(""), v = r(e.selected || []), Z = () => D.value?.focus(), [S, he, Oe] = ke({
|
|
44
44
|
disabled: e.disabled,
|
|
45
45
|
initialValue: e.defaultOpen
|
|
46
46
|
});
|
|
47
47
|
b(
|
|
48
48
|
() => e.disabled,
|
|
49
49
|
(l) => {
|
|
50
|
-
l !== void 0 &&
|
|
50
|
+
l !== void 0 && Oe(l);
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
},
|
|
53
|
+
const F = (l) => {
|
|
54
|
+
Se.value = he(l);
|
|
55
|
+
}, Se = c({
|
|
56
56
|
get() {
|
|
57
57
|
return e.isOpen;
|
|
58
58
|
},
|
|
59
59
|
set(l) {
|
|
60
60
|
d("update:isOpen", l);
|
|
61
61
|
}
|
|
62
|
-
}),
|
|
62
|
+
}), me = c(() => o.value.length - 1), g = qe(0, 0, me), p = c(() => n.value ? e.displayValue(n.value) : ""), Ae = (l) => {
|
|
63
63
|
if (!l.value.length && !e.multiOptionsPlaceholderPrefix && !e.multiOptionsPlaceholderSuffix)
|
|
64
64
|
return e.placeholder;
|
|
65
65
|
const t = !e.multiOptionsPlaceholderPrefix && !e.multiOptionsPlaceholderSuffix ? `${l.value.length} selected` : `${e.multiOptionsPlaceholderPrefix ?? ""}${l.value.length ?? "0"}${e.multiOptionsPlaceholderSuffix ?? ""}`;
|
|
66
66
|
return l.value.length == 1 && e.displayValue ? e.displayValue(l.value[0]) : t;
|
|
67
|
-
},
|
|
67
|
+
}, be = c(() => {
|
|
68
68
|
if (!e.multi)
|
|
69
69
|
return n.value ? e.displayValue(n.value) : e.placeholder;
|
|
70
70
|
if (Array.isArray(a.value))
|
|
71
|
-
return
|
|
71
|
+
return Ae(a);
|
|
72
72
|
}), E = c(() => {
|
|
73
73
|
if (Array.isArray(a.value))
|
|
74
|
-
return e.groupedOptions ?
|
|
75
|
-
}),
|
|
74
|
+
return e.groupedOptions ? $(o, a) : a.value.length === o.value.length;
|
|
75
|
+
}), Te = c(() => !e.multi || !Array.isArray(a.value) ? !1 : e.groupedOptions ? oe(
|
|
76
76
|
o,
|
|
77
77
|
a
|
|
78
78
|
) : a.value.length > 0 && a.value.length < o.value.length), _ = (l) => {
|
|
79
|
-
|
|
80
|
-
}, M = c(() => e.groupedOptions ?
|
|
81
|
-
if (
|
|
79
|
+
O.value = l;
|
|
80
|
+
}, M = c(() => e.groupedOptions ? q(e.options) : e.options), Pe = c(() => {
|
|
81
|
+
if (ce(
|
|
82
82
|
M,
|
|
83
83
|
v
|
|
84
84
|
))
|
|
@@ -87,7 +87,7 @@ const al = (e, d, g) => {
|
|
|
87
87
|
selected: [],
|
|
88
88
|
notSelected: []
|
|
89
89
|
};
|
|
90
|
-
|
|
90
|
+
I(M).value.forEach((i) => {
|
|
91
91
|
const u = (e.comparingKey ? v.value.findIndex(
|
|
92
92
|
(L) => L[e.comparingKey] === i[e.comparingKey]
|
|
93
93
|
) > -1 : v.value.includes(i)) ? "selected" : "notSelected";
|
|
@@ -96,62 +96,69 @@ const al = (e, d, g) => {
|
|
|
96
96
|
const t = e.groupedOptions ? H(l.notSelected) : l.notSelected;
|
|
97
97
|
return [].concat(l.selected, t);
|
|
98
98
|
}), o = c(() => {
|
|
99
|
-
const l = Array.isArray(v.value) && e.multi &&
|
|
99
|
+
const l = Array.isArray(v.value) && e.multi && y.VERSION === 4 && !B ? Pe.value : M.value;
|
|
100
100
|
if (e.onSearch) {
|
|
101
|
-
const t = l.filter((i) => e.groupedOptions &&
|
|
101
|
+
const t = l.filter((i) => e.groupedOptions && X(i) ? i : e.onSearch(i, O.value));
|
|
102
102
|
return e.groupedOptions ? H(t) : t;
|
|
103
103
|
} else
|
|
104
104
|
return l;
|
|
105
|
-
}),
|
|
106
|
-
() =>
|
|
105
|
+
}), Ie = c(() => h.value[0]?.hasSubtitle), ee = c(() => s.mode === w.Multi), le = c(
|
|
106
|
+
() => Ie.value ? y.MULTILINE_LIST_HEIGHT : y.LIST_HEIGHT
|
|
107
107
|
), {
|
|
108
108
|
list: V,
|
|
109
109
|
containerProps: k,
|
|
110
110
|
wrapperProps: we,
|
|
111
|
-
scrollTo:
|
|
112
|
-
} =
|
|
113
|
-
itemHeight:
|
|
111
|
+
scrollTo: P
|
|
112
|
+
} = Xe(o, {
|
|
113
|
+
itemHeight: le.value,
|
|
114
114
|
overscan: e.disableVirtualScroll ? 1 / 0 : 2
|
|
115
115
|
});
|
|
116
116
|
b(
|
|
117
117
|
() => e.isOpen,
|
|
118
118
|
(l) => {
|
|
119
|
-
|
|
119
|
+
F(l);
|
|
120
120
|
}
|
|
121
|
-
), b([
|
|
121
|
+
), b([T], async () => {
|
|
122
122
|
await N();
|
|
123
123
|
}), b(
|
|
124
|
-
[
|
|
124
|
+
[S, g, T],
|
|
125
125
|
async ([l], [t]) => {
|
|
126
|
-
|
|
127
|
-
e.multi &&
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
S.value && (await N(), T.value !== -1 && l !== t && setTimeout(() => {
|
|
127
|
+
if (!(e.multi && y.VERSION === 4))
|
|
128
|
+
if (P(T.value), e.groupedOptions) {
|
|
129
|
+
const i = M.value.findIndex(
|
|
130
|
+
(f) => f === n.value
|
|
131
|
+
);
|
|
132
|
+
P(i);
|
|
133
|
+
} else
|
|
134
|
+
P(T.value);
|
|
135
|
+
}), g.value && setTimeout(() => {
|
|
136
|
+
P(g.value);
|
|
130
137
|
}));
|
|
131
138
|
}
|
|
132
|
-
), b(
|
|
133
|
-
d("onsearch",
|
|
139
|
+
), b(O, () => {
|
|
140
|
+
d("onsearch", O.value), P(0);
|
|
134
141
|
});
|
|
135
142
|
const A = (l, t = !1) => {
|
|
136
|
-
e.disabled || (
|
|
137
|
-
|
|
143
|
+
e.disabled || (F(l), N(() => {
|
|
144
|
+
S.value && d("opened"), S.value || d("closed"), x.value && t && x.value.focus();
|
|
138
145
|
}));
|
|
139
146
|
};
|
|
140
|
-
b(
|
|
147
|
+
b(S, (l) => {
|
|
141
148
|
if (l) {
|
|
142
|
-
|
|
149
|
+
O.value = "", ee.value && Array.isArray(n.value) && (v.value = I(n.value).slice());
|
|
143
150
|
return;
|
|
144
151
|
}
|
|
145
|
-
|
|
152
|
+
Z();
|
|
146
153
|
});
|
|
147
|
-
const
|
|
154
|
+
const xe = () => {
|
|
148
155
|
if (E.value) {
|
|
149
156
|
a.value = [];
|
|
150
157
|
return;
|
|
151
158
|
}
|
|
152
159
|
if (Array.isArray(a.value)) {
|
|
153
160
|
if (e.groupedOptions)
|
|
154
|
-
|
|
161
|
+
re(o, a);
|
|
155
162
|
else {
|
|
156
163
|
if (a.value.length === o.value.length) {
|
|
157
164
|
a.value = [];
|
|
@@ -161,70 +168,70 @@ const al = (e, d, g) => {
|
|
|
161
168
|
}
|
|
162
169
|
d("selectAll");
|
|
163
170
|
}
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
},
|
|
171
|
+
}, De = () => {
|
|
172
|
+
xe(), y.VERSION !== 4 && (n.value = a.value);
|
|
173
|
+
}, Me = (l = !0) => {
|
|
167
174
|
a.value = [], l ? (n.value = [], v.value = [], d("clear")) : e.dynamicFilterMode || d("clear");
|
|
168
175
|
}, G = (l, t) => {
|
|
169
|
-
if (l =
|
|
176
|
+
if (l = I(l), y.VERSION === 4 ? l[e.disabledOptionKey] : h.value[t]?.disabled)
|
|
170
177
|
return;
|
|
171
|
-
if (
|
|
178
|
+
if (T.value = t, !e.multi) {
|
|
172
179
|
e.keepOpen || A(!1), s.goToOption(
|
|
173
180
|
0
|
|
174
181
|
/* None */
|
|
175
|
-
), n.value = l, _(""),
|
|
182
|
+
), n.value = l, _(""), Z(), s.type === U.Search && m.value && (m.value.value = e.displayValue(l)), ae();
|
|
176
183
|
return;
|
|
177
184
|
}
|
|
178
185
|
if (!Array.isArray(a.value))
|
|
179
186
|
return;
|
|
180
187
|
m.value?.focus();
|
|
181
|
-
const
|
|
182
|
-
if (
|
|
188
|
+
const f = I(a.value);
|
|
189
|
+
if (ue(f, l) || e.comparingKey && f.findIndex(
|
|
183
190
|
(u) => u[e.comparingKey] === l[e.comparingKey]
|
|
184
191
|
) > -1) {
|
|
185
|
-
a.value =
|
|
192
|
+
a.value = f.filter((u) => e.comparingKey ? u[e.comparingKey] !== l[e.comparingKey] : !He(u, l));
|
|
186
193
|
return;
|
|
187
194
|
} else {
|
|
188
|
-
a.value = [...
|
|
195
|
+
a.value = [...f, l];
|
|
189
196
|
return;
|
|
190
197
|
}
|
|
191
|
-
},
|
|
192
|
-
activeIndex:
|
|
193
|
-
options:
|
|
198
|
+
}, Ce = (l) => h.value[l]?.disabled, s = {
|
|
199
|
+
activeIndex: g,
|
|
200
|
+
options: h,
|
|
194
201
|
selectedOption: n,
|
|
195
|
-
labelRef:
|
|
202
|
+
labelRef: W,
|
|
196
203
|
activeOption: R,
|
|
197
|
-
listRef:
|
|
204
|
+
listRef: x,
|
|
198
205
|
clearable: e.clearable,
|
|
199
|
-
type:
|
|
200
|
-
mode: e.multi ?
|
|
201
|
-
query:
|
|
202
|
-
selectedValue:
|
|
206
|
+
type: ve.input ? U.Search : U.Dropdown,
|
|
207
|
+
mode: e.multi ? w.Multi : w.Single,
|
|
208
|
+
query: O,
|
|
209
|
+
selectedValue: p,
|
|
203
210
|
toggle: A,
|
|
204
211
|
disabled: e.disabled,
|
|
205
|
-
open:
|
|
212
|
+
open: S,
|
|
206
213
|
mandatory: e.mandatory,
|
|
207
214
|
size: e.size,
|
|
208
215
|
placeholder: e.placeholder,
|
|
209
216
|
select: G,
|
|
210
217
|
clearSelection: () => {
|
|
211
|
-
_(""), n.value = s.mode ===
|
|
218
|
+
_(""), n.value = s.mode === w.Single ? null : [], v.value = s.mode === w.Single ? null : [], m.value && (m.value.value = "");
|
|
212
219
|
},
|
|
213
220
|
search: _,
|
|
214
221
|
goToOption: async (l) => {
|
|
215
|
-
if (!
|
|
222
|
+
if (!S.value)
|
|
216
223
|
return;
|
|
217
|
-
let t =
|
|
218
|
-
const i =
|
|
224
|
+
let t = g.value + l;
|
|
225
|
+
const i = h.value.filter(
|
|
219
226
|
(u) => u.disabled
|
|
220
|
-
).length,
|
|
221
|
-
for (t >
|
|
222
|
-
if (!
|
|
223
|
-
R.value = o.value[t],
|
|
227
|
+
).length, f = o.value.length - i;
|
|
228
|
+
for (t > f && (t = f + 1); ; ) {
|
|
229
|
+
if (!h.value[t]?.disabled) {
|
|
230
|
+
R.value = o.value[t], g.value = t;
|
|
224
231
|
return;
|
|
225
232
|
}
|
|
226
|
-
if ((l === 1 || l === 10) && (t = t + 1), (l === -1 || l === -10) && (t = t + -1), !!
|
|
227
|
-
R.value = o.value[t],
|
|
233
|
+
if ((l === 1 || l === 10) && (t = t + 1), (l === -1 || l === -10) && (t = t + -1), !!Ce(g.value)) {
|
|
234
|
+
R.value = o.value[t], g.value = t;
|
|
228
235
|
return;
|
|
229
236
|
}
|
|
230
237
|
}
|
|
@@ -233,44 +240,48 @@ const al = (e, d, g) => {
|
|
|
233
240
|
m.value = l.value;
|
|
234
241
|
},
|
|
235
242
|
registerOption: (l, t, i) => {
|
|
236
|
-
|
|
243
|
+
h.value = [...h.value, { id: l, disabled: t, hasSubtitle: i }];
|
|
237
244
|
},
|
|
238
245
|
unRegisterOption(l) {
|
|
239
|
-
|
|
246
|
+
h.value = h.value.filter((t) => t.id !== l);
|
|
240
247
|
}
|
|
241
248
|
};
|
|
242
|
-
|
|
243
|
-
|
|
249
|
+
Ue(je, s), ie(
|
|
250
|
+
x,
|
|
244
251
|
() => {
|
|
245
|
-
|
|
252
|
+
S.value && ne();
|
|
246
253
|
},
|
|
247
254
|
{
|
|
248
255
|
ignore: [
|
|
249
|
-
|
|
250
|
-
W,
|
|
256
|
+
D,
|
|
251
257
|
J,
|
|
252
258
|
Q,
|
|
259
|
+
Y,
|
|
253
260
|
m,
|
|
254
261
|
k.ref
|
|
255
262
|
]
|
|
256
263
|
}
|
|
257
264
|
);
|
|
258
|
-
const
|
|
265
|
+
const Ne = () => {
|
|
259
266
|
m.value && (m.value.value = s.query.value = "");
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
e.autoFocus && (await N(), setTimeout(() => {
|
|
263
|
-
j.value.focus();
|
|
264
|
-
})), s.goToOption(0), e.multi && !B && (e.groupedOptions ? D.value = X(
|
|
267
|
+
}, te = () => {
|
|
268
|
+
e.multi && !B && (e.groupedOptions ? C.value = $(
|
|
265
269
|
o,
|
|
266
270
|
a
|
|
267
|
-
) :
|
|
271
|
+
) : C.value = e.options.length === e.selected.length);
|
|
272
|
+
};
|
|
273
|
+
Be(async () => {
|
|
274
|
+
e.autoFocus && (await N(), setTimeout(() => {
|
|
275
|
+
z.value.focus();
|
|
276
|
+
})), s.goToOption(0), te();
|
|
277
|
+
}), b([() => e.options, () => e.selected], () => {
|
|
278
|
+
te();
|
|
268
279
|
});
|
|
269
|
-
const
|
|
270
|
-
e.multi && (n.value = a.value, Array.isArray(n.value) && (v.value =
|
|
271
|
-
},
|
|
272
|
-
|
|
273
|
-
},
|
|
280
|
+
const ae = () => {
|
|
281
|
+
e.multi && (n.value = a.value, Array.isArray(n.value) && (v.value = I(n.value).slice(), C.value = e.groupedOptions ? se(e.options) === n.value.length : e.options.length === n.value.length)), d("apply", n.value), d("allSelectedChanged", E.value), A(!1), Ne();
|
|
282
|
+
}, ne = () => {
|
|
283
|
+
ee.value && Array.isArray(v.value) && (n.value = I(v.value).slice()), O.value = "", A(!1);
|
|
284
|
+
}, Ke = (l) => {
|
|
274
285
|
if (!e.disableKeyboardEvents)
|
|
275
286
|
switch (l.key) {
|
|
276
287
|
case "Space":
|
|
@@ -279,7 +290,7 @@ const al = (e, d, g) => {
|
|
|
279
290
|
case "ArrowDown":
|
|
280
291
|
A(!0), l.preventDefault();
|
|
281
292
|
}
|
|
282
|
-
},
|
|
293
|
+
}, Re = (l) => {
|
|
283
294
|
if (!e.disableKeyboardEvents)
|
|
284
295
|
switch (l.key) {
|
|
285
296
|
case "ArrowUp": {
|
|
@@ -315,27 +326,27 @@ const al = (e, d, g) => {
|
|
|
315
326
|
break;
|
|
316
327
|
}
|
|
317
328
|
case "Enter": {
|
|
318
|
-
if (!
|
|
329
|
+
if (!S.value) {
|
|
319
330
|
A(!0);
|
|
320
331
|
return;
|
|
321
332
|
}
|
|
322
|
-
G(o.value[
|
|
333
|
+
G(o.value[g.value], g.value), s.mode === w.Single && !e.keepOpen && A(!1), l.preventDefault();
|
|
323
334
|
break;
|
|
324
335
|
}
|
|
325
336
|
}
|
|
326
|
-
},
|
|
337
|
+
}, Ee = c(() => {
|
|
327
338
|
if (e.loading)
|
|
328
339
|
return 8.5;
|
|
329
|
-
const l = e.loadMoreLoading &&
|
|
330
|
-
const
|
|
331
|
-
return L +
|
|
332
|
-
}, 0), t = e.multi && e.showSelectAll && !
|
|
333
|
-
let u = i ?
|
|
334
|
-
return e.loadMoreLoading && e.multi && (V.value.length ? u = u + 0.1 : u = u - 0.9), e.noResultsText && u === 0 && (u = u + 1), e.withConditions &&
|
|
335
|
-
u *
|
|
340
|
+
const l = e.loadMoreLoading && y.MAX_NUMBER_OF_OPTIONS || e.customNumberOfDisplayedOptions || V.value.reduce((L, _e) => {
|
|
341
|
+
const Ve = e.overrideOptionCountCalculation ? e.overrideOptionCountCalculation(_e.data) : 1;
|
|
342
|
+
return L + Ve;
|
|
343
|
+
}, 0), t = e.multi && e.showSelectAll && !O.value ? 1 : 0, i = l > y.MAX_NUMBER_OF_OPTIONS, f = l + t;
|
|
344
|
+
let u = i ? y.MAX_NUMBER_OF_OPTIONS + 0.1 : f;
|
|
345
|
+
return e.loadMoreLoading && e.multi && (V.value.length ? u = u + 0.1 : u = u - 0.9), e.noResultsText && u === 0 && (u = u + 1), e.withConditions && O.value && (u = u + 1), ze(
|
|
346
|
+
u * le.value + y.PADDING_PX
|
|
336
347
|
);
|
|
337
348
|
});
|
|
338
|
-
return
|
|
349
|
+
return $e(
|
|
339
350
|
k.ref,
|
|
340
351
|
() => {
|
|
341
352
|
!e.loadMoreLoading && e.infiniteLoading && d("loadMore");
|
|
@@ -344,44 +355,45 @@ const al = (e, d, g) => {
|
|
|
344
355
|
), b(a, () => {
|
|
345
356
|
d("unsavedSelectionUpdate", a.value);
|
|
346
357
|
}), {
|
|
347
|
-
onKeydown:
|
|
348
|
-
location:
|
|
349
|
-
open:
|
|
358
|
+
onKeydown: Re,
|
|
359
|
+
location: ye,
|
|
360
|
+
open: S,
|
|
350
361
|
toggleMenu: A,
|
|
351
|
-
onButtonKeydown:
|
|
352
|
-
displayedValue:
|
|
353
|
-
labelRef:
|
|
354
|
-
query:
|
|
362
|
+
onButtonKeydown: Ke,
|
|
363
|
+
displayedValue: be,
|
|
364
|
+
labelRef: W,
|
|
365
|
+
query: O,
|
|
355
366
|
containerProps: k,
|
|
356
|
-
calculateTableHeight:
|
|
367
|
+
calculateTableHeight: Ee,
|
|
357
368
|
wrapperProps: we,
|
|
358
369
|
filteredOptions: o,
|
|
359
370
|
allSelected: E,
|
|
360
|
-
allSelectedApplied:
|
|
361
|
-
isIndeterminate:
|
|
362
|
-
onSelectAll:
|
|
371
|
+
allSelectedApplied: C,
|
|
372
|
+
isIndeterminate: Te,
|
|
373
|
+
onSelectAll: De,
|
|
363
374
|
virtualOptions: V,
|
|
364
|
-
isSelected:
|
|
375
|
+
isSelected: de,
|
|
365
376
|
selectedOption: n,
|
|
366
377
|
selectedOptionPrevious: v,
|
|
367
|
-
selectedValue:
|
|
378
|
+
selectedValue: p,
|
|
368
379
|
onSelect: G,
|
|
369
|
-
activeIndex:
|
|
370
|
-
onCancel:
|
|
371
|
-
onApply:
|
|
372
|
-
scrollTo:
|
|
373
|
-
onClickOutside:
|
|
374
|
-
listRef:
|
|
375
|
-
buttonRef:
|
|
376
|
-
apply:
|
|
377
|
-
cancel:
|
|
378
|
-
el:
|
|
379
|
-
triggerRef:
|
|
380
|
-
clearAll:
|
|
381
|
-
onClearAllSelections:
|
|
382
|
-
isGroup:
|
|
380
|
+
activeIndex: g,
|
|
381
|
+
onCancel: ne,
|
|
382
|
+
onApply: ae,
|
|
383
|
+
scrollTo: P,
|
|
384
|
+
onClickOutside: ie,
|
|
385
|
+
listRef: x,
|
|
386
|
+
buttonRef: D,
|
|
387
|
+
apply: J,
|
|
388
|
+
cancel: Q,
|
|
389
|
+
el: z,
|
|
390
|
+
triggerRef: fe,
|
|
391
|
+
clearAll: Y,
|
|
392
|
+
onClearAllSelections: Me,
|
|
393
|
+
isGroup: X,
|
|
394
|
+
flattenAndMarkGroupOptions: q
|
|
383
395
|
};
|
|
384
396
|
};
|
|
385
397
|
export {
|
|
386
|
-
|
|
398
|
+
nl as dropdownCommon
|
|
387
399
|
};
|
|
@@ -185,8 +185,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
185
185
|
error: string;
|
|
186
186
|
skidding: number;
|
|
187
187
|
modelValue: any;
|
|
188
|
-
selected: any;
|
|
189
188
|
valueToCopy: string;
|
|
189
|
+
selected: any;
|
|
190
190
|
placeholder: string;
|
|
191
191
|
autoFocus: boolean;
|
|
192
192
|
multi: boolean;
|
|
@@ -21,8 +21,8 @@ declare const DropdownTypes: () => (({
|
|
|
21
21
|
error: string;
|
|
22
22
|
skidding: number;
|
|
23
23
|
modelValue: any;
|
|
24
|
-
selected: any;
|
|
25
24
|
valueToCopy: string;
|
|
25
|
+
selected: any;
|
|
26
26
|
placeholder: string;
|
|
27
27
|
autoFocus: boolean;
|
|
28
28
|
multi: boolean;
|
|
@@ -104,14 +104,14 @@ declare const DropdownTypes: () => (({
|
|
|
104
104
|
type: import("vue").PropType<unknown>;
|
|
105
105
|
default: any;
|
|
106
106
|
};
|
|
107
|
-
selected: {
|
|
108
|
-
type: import("vue").PropType<unknown>;
|
|
109
|
-
default: any;
|
|
110
|
-
};
|
|
111
107
|
valueToCopy: {
|
|
112
108
|
type: import("vue").PropType<string>;
|
|
113
109
|
default: string;
|
|
114
110
|
};
|
|
111
|
+
selected: {
|
|
112
|
+
type: import("vue").PropType<unknown>;
|
|
113
|
+
default: any;
|
|
114
|
+
};
|
|
115
115
|
options: {
|
|
116
116
|
type: import("vue").PropType<any[]>;
|
|
117
117
|
required: true;
|
|
@@ -203,7 +203,7 @@ declare const DropdownTypes: () => (({
|
|
|
203
203
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
204
204
|
onOpened?: () => any;
|
|
205
205
|
onClosed?: () => any;
|
|
206
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "
|
|
206
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "valueToCopy" | "selected" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "searchPlaceholder" | "helperText" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
|
|
207
207
|
$attrs: {
|
|
208
208
|
[x: string]: unknown;
|
|
209
209
|
};
|
|
@@ -280,14 +280,14 @@ declare const DropdownTypes: () => (({
|
|
|
280
280
|
type: import("vue").PropType<unknown>;
|
|
281
281
|
default: any;
|
|
282
282
|
};
|
|
283
|
-
selected: {
|
|
284
|
-
type: import("vue").PropType<unknown>;
|
|
285
|
-
default: any;
|
|
286
|
-
};
|
|
287
283
|
valueToCopy: {
|
|
288
284
|
type: import("vue").PropType<string>;
|
|
289
285
|
default: string;
|
|
290
286
|
};
|
|
287
|
+
selected: {
|
|
288
|
+
type: import("vue").PropType<unknown>;
|
|
289
|
+
default: any;
|
|
290
|
+
};
|
|
291
291
|
options: {
|
|
292
292
|
type: import("vue").PropType<any[]>;
|
|
293
293
|
required: true;
|
|
@@ -405,8 +405,8 @@ declare const DropdownTypes: () => (({
|
|
|
405
405
|
error: string;
|
|
406
406
|
skidding: number;
|
|
407
407
|
modelValue: any;
|
|
408
|
-
selected: any;
|
|
409
408
|
valueToCopy: string;
|
|
409
|
+
selected: any;
|
|
410
410
|
placeholder: string;
|
|
411
411
|
autoFocus: boolean;
|
|
412
412
|
multi: boolean;
|
|
@@ -508,14 +508,14 @@ declare const DropdownTypes: () => (({
|
|
|
508
508
|
type: import("vue").PropType<unknown>;
|
|
509
509
|
default: any;
|
|
510
510
|
};
|
|
511
|
-
selected: {
|
|
512
|
-
type: import("vue").PropType<unknown>;
|
|
513
|
-
default: any;
|
|
514
|
-
};
|
|
515
511
|
valueToCopy: {
|
|
516
512
|
type: import("vue").PropType<string>;
|
|
517
513
|
default: string;
|
|
518
514
|
};
|
|
515
|
+
selected: {
|
|
516
|
+
type: import("vue").PropType<unknown>;
|
|
517
|
+
default: any;
|
|
518
|
+
};
|
|
519
519
|
options: {
|
|
520
520
|
type: import("vue").PropType<any[]>;
|
|
521
521
|
required: true;
|
|
@@ -677,14 +677,14 @@ declare const DropdownTypes: () => (({
|
|
|
677
677
|
type: import("vue").PropType<unknown>;
|
|
678
678
|
default: any;
|
|
679
679
|
};
|
|
680
|
-
selected: {
|
|
681
|
-
type: import("vue").PropType<unknown>;
|
|
682
|
-
default: any;
|
|
683
|
-
};
|
|
684
680
|
valueToCopy: {
|
|
685
681
|
type: import("vue").PropType<string>;
|
|
686
682
|
default: string;
|
|
687
683
|
};
|
|
684
|
+
selected: {
|
|
685
|
+
type: import("vue").PropType<unknown>;
|
|
686
|
+
default: any;
|
|
687
|
+
};
|
|
688
688
|
options: {
|
|
689
689
|
type: import("vue").PropType<any[]>;
|
|
690
690
|
required: true;
|
|
@@ -802,8 +802,8 @@ declare const DropdownTypes: () => (({
|
|
|
802
802
|
error: string;
|
|
803
803
|
skidding: number;
|
|
804
804
|
modelValue: any;
|
|
805
|
-
selected: any;
|
|
806
805
|
valueToCopy: string;
|
|
806
|
+
selected: any;
|
|
807
807
|
placeholder: string;
|
|
808
808
|
autoFocus: boolean;
|
|
809
809
|
multi: boolean;
|
|
@@ -66,6 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
66
66
|
hideEndIcon: boolean;
|
|
67
67
|
}>, {
|
|
68
68
|
default?(_: {}): any;
|
|
69
|
+
"after-label"?(_: {}): any;
|
|
69
70
|
}>;
|
|
70
71
|
export default _default;
|
|
71
72
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonDropdownTrigger.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../ButtonDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-adb49e50"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|