@ironsource/shared-ui 2.1.12-test.71 → 2.1.12-test.73

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.
Files changed (48) hide show
  1. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ebc0c582_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_086c5b0d_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +1 -0
  6. package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +1 -0
  7. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  8. package/components/chart/ChartHeaderTrend.vue2.js +34 -33
  9. package/components/chart/ChartStoryArgs.d.ts +1 -1
  10. package/components/dateRange/common/DateServices.common.d.ts +6 -0
  11. package/components/dateRange/common/DateServices.common.js +87 -92
  12. package/components/dateRange/common/consts.common.d.ts +5 -0
  13. package/components/dateRange/common/consts.common.js +9 -3
  14. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  15. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  16. package/components/dateRange/v3/index.d.ts +7 -7
  17. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  18. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  19. package/components/dateRange/v4/index.d.ts +7 -7
  20. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  21. package/components/dropdown/common/Dropdown.common.js +44 -43
  22. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  23. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  24. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  25. package/components/dropdown/v4/DropdownV4.vue.d.ts +15 -0
  26. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  27. package/components/dropdown/v4/DropdownV4.vue2.js +226 -195
  28. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  29. package/components/dropdown/v4/OptionV4.vue2.js +71 -68
  30. package/components/dropdown/v4/index.d.ts +67 -1
  31. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  32. package/components/switch/v4/SwitchV4.vue.js +3 -3
  33. package/components/switch/v4/SwitchV4.vue2.js +25 -23
  34. package/components/switch/v4/index.d.ts +11 -0
  35. package/components/table/common/Table.types.d.ts +2 -0
  36. package/components/table/v4/DataGrid.vue.d.ts +6 -1
  37. package/components/table/v4/DataGrid.vue.js +2 -2
  38. package/components/table/v4/DataGrid.vue2.js +192 -174
  39. package/components/table/v4/index.d.ts +20 -1
  40. package/index.d.ts +210 -18
  41. package/index.js +1 -1
  42. package/package.json +1 -1
  43. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_79dc2883_lang.css +0 -1
  44. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  45. package/DataGrid.vue_vue_type_style_index_0_scoped_0dff3241_lang.css +0 -1
  46. package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +0 -1
  47. package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css +0 -1
  48. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
@@ -11,7 +11,7 @@ declare const DateRangeTypes: () => ({
11
11
  dateFormat: string;
12
12
  types: ("date" | "week" | "month")[];
13
13
  maxDaysInRange: number;
14
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
14
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
15
15
  regex: RegExp;
16
16
  initialType: "date" | "week" | "month";
17
17
  openOnTop: boolean;
@@ -58,7 +58,7 @@ declare const DateRangeTypes: () => ({
58
58
  default: any;
59
59
  };
60
60
  datePresetList: {
61
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
61
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
62
62
  default: string;
63
63
  };
64
64
  regex: {
@@ -146,7 +146,7 @@ declare const DateRangeTypes: () => ({
146
146
  default: any;
147
147
  };
148
148
  datePresetList: {
149
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
149
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
150
150
  default: string;
151
151
  };
152
152
  regex: {
@@ -195,7 +195,7 @@ declare const DateRangeTypes: () => ({
195
195
  dateFormat: string;
196
196
  types: ("date" | "week" | "month")[];
197
197
  maxDaysInRange: number;
198
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
198
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
199
199
  regex: RegExp;
200
200
  initialType: "date" | "week" | "month";
201
201
  openOnTop: boolean;
@@ -262,7 +262,7 @@ declare const DateRangeTypes: () => ({
262
262
  default: any;
263
263
  };
264
264
  datePresetList: {
265
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
265
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
266
266
  default: string;
267
267
  };
268
268
  regex: {
@@ -340,7 +340,7 @@ declare const DateRangeTypes: () => ({
340
340
  default: any;
341
341
  };
342
342
  datePresetList: {
343
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
343
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
344
344
  default: string;
345
345
  };
346
346
  regex: {
@@ -389,7 +389,7 @@ declare const DateRangeTypes: () => ({
389
389
  dateFormat: string;
390
390
  types: ("date" | "week" | "month")[];
391
391
  maxDaysInRange: number;
392
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
392
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
393
393
  regex: RegExp;
394
394
  initialType: "date" | "week" | "month";
395
395
  openOnTop: boolean;
@@ -8,7 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
8
8
  includeToday?: boolean;
9
9
  allowedDays?: number;
10
10
  maxDaysInRange?: number;
11
- datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
11
+ datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
12
12
  regex?: RegExp;
13
13
  dateFormat?: string;
14
14
  uniqueId?: string | number;
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
44
44
  includeToday?: boolean;
45
45
  allowedDays?: number;
46
46
  maxDaysInRange?: number;
47
- datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
47
+ datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
48
48
  regex?: RegExp;
49
49
  dateFormat?: string;
50
50
  uniqueId?: string | number;
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
79
79
  dateFormat: string;
80
80
  types: ("date" | "week" | "month")[];
81
81
  maxDaysInRange: number;
82
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
82
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
83
83
  regex: RegExp;
84
84
  initialType: "date" | "week" | "month";
85
85
  openOnTop: boolean;
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  includeToday?: boolean;
8
8
  allowedDays?: number;
9
9
  maxDaysInRange?: number;
10
- datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
10
+ datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
11
11
  regex?: RegExp;
12
12
  dateFormat?: string;
13
13
  uniqueId?: string | number;
@@ -48,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
48
  includeToday?: boolean;
49
49
  allowedDays?: number;
50
50
  maxDaysInRange?: number;
51
- datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
51
+ datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
52
52
  regex?: RegExp;
53
53
  dateFormat?: string;
54
54
  uniqueId?: string | number;
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
89
89
  dateFormat: string;
90
90
  types: ("date" | "week" | "month")[];
91
91
  maxDaysInRange: number;
92
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
92
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
93
93
  regex: RegExp;
94
94
  initialType: "date" | "week" | "month";
95
95
  openOnTop: boolean;
@@ -11,7 +11,7 @@ declare const DateRangeTypes: () => ({
11
11
  dateFormat: string;
12
12
  types: ("date" | "week" | "month")[];
13
13
  maxDaysInRange: number;
14
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
14
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
15
15
  regex: RegExp;
16
16
  initialType: "date" | "week" | "month";
17
17
  openOnTop: boolean;
@@ -58,7 +58,7 @@ declare const DateRangeTypes: () => ({
58
58
  default: any;
59
59
  };
60
60
  datePresetList: {
61
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
61
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
62
62
  default: string;
63
63
  };
64
64
  regex: {
@@ -146,7 +146,7 @@ declare const DateRangeTypes: () => ({
146
146
  default: any;
147
147
  };
148
148
  datePresetList: {
149
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
149
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
150
150
  default: string;
151
151
  };
152
152
  regex: {
@@ -195,7 +195,7 @@ declare const DateRangeTypes: () => ({
195
195
  dateFormat: string;
196
196
  types: ("date" | "week" | "month")[];
197
197
  maxDaysInRange: number;
198
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
198
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
199
199
  regex: RegExp;
200
200
  initialType: "date" | "week" | "month";
201
201
  openOnTop: boolean;
@@ -262,7 +262,7 @@ declare const DateRangeTypes: () => ({
262
262
  default: any;
263
263
  };
264
264
  datePresetList: {
265
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
265
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
266
266
  default: string;
267
267
  };
268
268
  regex: {
@@ -340,7 +340,7 @@ declare const DateRangeTypes: () => ({
340
340
  default: any;
341
341
  };
342
342
  datePresetList: {
343
- type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
343
+ type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
344
344
  default: string;
345
345
  };
346
346
  regex: {
@@ -389,7 +389,7 @@ declare const DateRangeTypes: () => ({
389
389
  dateFormat: string;
390
390
  types: ("date" | "week" | "month")[];
391
391
  maxDaysInRange: number;
392
- datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
392
+ datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
393
393
  regex: RegExp;
394
394
  initialType: "date" | "week" | "month";
395
395
  openOnTop: boolean;
@@ -46,4 +46,5 @@ export declare const dropdownCommon: (props: any, emit: any, commonOptions: any)
46
46
  clearAll: Ref<HTMLButtonElement>;
47
47
  onClearAllSelections: (applyChanges?: boolean) => void;
48
48
  isGroup: (option: any) => boolean;
49
+ flattenAndMarkGroupOptions: (options: any) => any;
49
50
  };
@@ -1,8 +1,8 @@
1
1
  import { useToggle as Ve } from "../../../composables/useToggle.js";
2
2
  import { inject as ke, ref as r, computed as c, watch as b, useSlots as Ge, toRaw as I, nextTick as N, provide as Le, onMounted as Ue } from "vue";
3
- import { isObjectInArray as ae } from "../../../utils/array.js";
3
+ import { isObjectInArray as ne } from "../../../utils/array.js";
4
4
  import { objectsEqual as Be } from "../../../utils/object.js";
5
- import { useClamp as He, useVirtualList as qe, onClickOutside as ne, useInfiniteScroll as Xe } from "@vueuse/core";
5
+ import { useClamp as He, useVirtualList as qe, onClickOutside as ue, useInfiniteScroll as Xe } from "@vueuse/core";
6
6
  import { Mode as w, Type as U, DropdownContext as $e } from "./DropdownContext.js";
7
7
  import { pxToRem as je } from "../../../utils/style.js";
8
8
  import { useEditableContext as ze } from "../../table-cells/common/EditableContext.js";
@@ -10,20 +10,20 @@ import { useGroupedOptions as We } from "./useGroupedOptions.js";
10
10
  const al = (e, d, y) => {
11
11
  const B = ke("isTreeDropdown", !1), {
12
12
  sortOutGroups: H,
13
- flattenAndMarkGroupOptions: ue,
14
- isGroup: q,
13
+ flattenAndMarkGroupOptions: q,
14
+ isGroup: X,
15
15
  selectAllWithGroups: ie,
16
16
  isIndeterminateGrouped: re,
17
- allSelectedGrouped: X,
17
+ allSelectedGrouped: $,
18
18
  areAllPreviousSelected: oe,
19
19
  groupedChildOptionsLength: ce
20
20
  } = We(e), se = (l, t) => e.multi && Array.isArray(l) ? e.comparingKey ? l?.findIndex(
21
21
  (i) => i[e.comparingKey] === t[e.comparingKey]
22
- ) > -1 : ae(l, t) : e.comparingKey ? l?.[e.comparingKey] === t[e.comparingKey] : l === t;
23
- let $;
22
+ ) > -1 : ne(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
29
  ), K = ze(), n = c({
@@ -40,7 +40,7 @@ const al = (e, d, y) => {
40
40
  a.value = e.selected, v.value = e.selected;
41
41
  }
42
42
  );
43
- const de = Ge(), x = r(null), m = r(null), j = r(null), R = r(null), z = r(null), D = r(null), ve = r(), W = r(null), J = r(null), Q = r(null), fe = 8, ge = c(() => D.value ? D.value.getBoundingClientRect().height + fe + e.distance : 0), C = r(!1), h = r([]), T = r(-1), O = r(""), v = r(e.selected || []), Y = () => D.value?.focus(), [S, ye, he] = Ve({
43
+ const de = Ge(), x = r(null), m = r(null), z = r(null), R = r(null), W = r(null), D = r(null), ve = r(), J = r(null), Q = r(null), Y = r(null), fe = 8, ge = c(() => D.value ? D.value.getBoundingClientRect().height + fe + e.distance : 0), C = r(!1), h = r([]), T = r(-1), O = r(""), v = r(e.selected || []), Z = () => D.value?.focus(), [S, ye, he] = Ve({
44
44
  disabled: e.disabled,
45
45
  initialValue: e.defaultOpen
46
46
  });
@@ -50,7 +50,7 @@ const al = (e, d, y) => {
50
50
  l !== void 0 && he(l);
51
51
  }
52
52
  );
53
- const Z = (l) => {
53
+ const F = (l) => {
54
54
  Oe.value = ye(l);
55
55
  }, Oe = c({
56
56
  get() {
@@ -59,7 +59,7 @@ const al = (e, d, y) => {
59
59
  set(l) {
60
60
  d("update:isOpen", l);
61
61
  }
62
- }), Se = c(() => o.value.length - 1), g = He(0, 0, Se), F = c(() => n.value ? e.displayValue(n.value) : ""), me = (l) => {
62
+ }), Se = c(() => o.value.length - 1), g = He(0, 0, Se), p = c(() => n.value ? e.displayValue(n.value) : ""), me = (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 ?? ""}`;
@@ -71,13 +71,13 @@ const al = (e, d, y) => {
71
71
  return me(a);
72
72
  }), E = c(() => {
73
73
  if (Array.isArray(a.value))
74
- return e.groupedOptions ? X(o, a) : a.value.length === o.value.length;
74
+ return e.groupedOptions ? $(o, a) : a.value.length === o.value.length;
75
75
  }), be = c(() => !e.multi || !Array.isArray(a.value) ? !1 : e.groupedOptions ? re(
76
76
  o,
77
77
  a
78
78
  ) : a.value.length > 0 && a.value.length < o.value.length), _ = (l) => {
79
79
  O.value = l;
80
- }, M = c(() => e.groupedOptions ? ue(e.options) : e.options), Te = c(() => {
80
+ }, M = c(() => e.groupedOptions ? q(e.options) : e.options), Te = c(() => {
81
81
  if (oe(
82
82
  M,
83
83
  v
@@ -98,11 +98,11 @@ const al = (e, d, y) => {
98
98
  }), o = c(() => {
99
99
  const l = Array.isArray(v.value) && e.multi && y.VERSION === 4 && !B ? Te.value : M.value;
100
100
  if (e.onSearch) {
101
- const t = l.filter((i) => e.groupedOptions && q(i) ? i : e.onSearch(i, O.value));
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
- }), Pe = c(() => h.value[0]?.hasSubtitle), p = c(() => s.mode === w.Multi), ee = c(
105
+ }), Pe = c(() => h.value[0]?.hasSubtitle), ee = c(() => s.mode === w.Multi), le = c(
106
106
  () => Pe.value ? y.MULTILINE_LIST_HEIGHT : y.LIST_HEIGHT
107
107
  ), {
108
108
  list: V,
@@ -110,13 +110,13 @@ const al = (e, d, y) => {
110
110
  wrapperProps: Ie,
111
111
  scrollTo: P
112
112
  } = qe(o, {
113
- itemHeight: ee.value,
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
- Z(l);
119
+ F(l);
120
120
  }
121
121
  ), b([T], async () => {
122
122
  await N();
@@ -140,16 +140,16 @@ const al = (e, d, y) => {
140
140
  d("onsearch", O.value), P(0);
141
141
  });
142
142
  const A = (l, t = !1) => {
143
- e.disabled || (Z(l), N(() => {
143
+ e.disabled || (F(l), N(() => {
144
144
  S.value && d("opened"), S.value || d("closed"), x.value && t && x.value.focus();
145
145
  }));
146
146
  };
147
147
  b(S, (l) => {
148
148
  if (l) {
149
- O.value = "", p.value && Array.isArray(n.value) && (v.value = I(n.value).slice());
149
+ O.value = "", ee.value && Array.isArray(n.value) && (v.value = I(n.value).slice());
150
150
  return;
151
151
  }
152
- Y();
152
+ Z();
153
153
  });
154
154
  const we = () => {
155
155
  if (E.value) {
@@ -179,14 +179,14 @@ const al = (e, d, y) => {
179
179
  e.keepOpen || A(!1), s.goToOption(
180
180
  0
181
181
  /* None */
182
- ), n.value = l, _(""), Y(), s.type === U.Search && m.value && (m.value.value = e.displayValue(l)), le();
182
+ ), n.value = l, _(""), Z(), s.type === U.Search && m.value && (m.value.value = e.displayValue(l)), te();
183
183
  return;
184
184
  }
185
185
  if (!Array.isArray(a.value))
186
186
  return;
187
187
  m.value?.focus();
188
188
  const f = I(a.value);
189
- if (ae(f, l) || e.comparingKey && f.findIndex(
189
+ if (ne(f, l) || e.comparingKey && f.findIndex(
190
190
  (u) => u[e.comparingKey] === l[e.comparingKey]
191
191
  ) > -1) {
192
192
  a.value = f.filter((u) => e.comparingKey ? u[e.comparingKey] !== l[e.comparingKey] : !Be(u, l));
@@ -199,14 +199,14 @@ const al = (e, d, y) => {
199
199
  activeIndex: g,
200
200
  options: h,
201
201
  selectedOption: n,
202
- labelRef: z,
202
+ labelRef: W,
203
203
  activeOption: R,
204
204
  listRef: x,
205
205
  clearable: e.clearable,
206
206
  type: de.input ? U.Search : U.Dropdown,
207
207
  mode: e.multi ? w.Multi : w.Single,
208
208
  query: O,
209
- selectedValue: F,
209
+ selectedValue: p,
210
210
  toggle: A,
211
211
  disabled: e.disabled,
212
212
  open: S,
@@ -246,17 +246,17 @@ const al = (e, d, y) => {
246
246
  h.value = h.value.filter((t) => t.id !== l);
247
247
  }
248
248
  };
249
- Le($e, s), ne(
249
+ Le($e, s), ue(
250
250
  x,
251
251
  () => {
252
- S.value && te();
252
+ S.value && ae();
253
253
  },
254
254
  {
255
255
  ignore: [
256
256
  D,
257
- W,
258
257
  J,
259
258
  Q,
259
+ Y,
260
260
  m,
261
261
  k.ref
262
262
  ]
@@ -267,16 +267,16 @@ const al = (e, d, y) => {
267
267
  };
268
268
  Ue(async () => {
269
269
  e.autoFocus && (await N(), setTimeout(() => {
270
- j.value.focus();
271
- })), s.goToOption(0), e.multi && !B && (e.groupedOptions ? C.value = X(
270
+ z.value.focus();
271
+ })), s.goToOption(0), e.multi && !B && (e.groupedOptions ? C.value = $(
272
272
  o,
273
273
  a
274
274
  ) : C.value = e.options.length === e.selected.length);
275
275
  });
276
- const le = () => {
276
+ const te = () => {
277
277
  e.multi && (n.value = a.value, Array.isArray(n.value) && (v.value = I(n.value).slice(), C.value = e.groupedOptions ? ce(e.options) === n.value.length : e.options.length === n.value.length)), d("apply", n.value), d("allSelectedChanged", E.value), A(!1), Ce();
278
- }, te = () => {
279
- p.value && Array.isArray(v.value) && (n.value = I(v.value).slice()), O.value = "", A(!1);
278
+ }, ae = () => {
279
+ ee.value && Array.isArray(v.value) && (n.value = I(v.value).slice()), O.value = "", A(!1);
280
280
  }, Ne = (l) => {
281
281
  if (!e.disableKeyboardEvents)
282
282
  switch (l.key) {
@@ -339,7 +339,7 @@ const al = (e, d, y) => {
339
339
  }, 0), t = e.multi && e.showSelectAll && !O.value ? 1 : 0, i = l > y.MAX_NUMBER_OF_OPTIONS, f = l + t;
340
340
  let u = i ? y.MAX_NUMBER_OF_OPTIONS + 0.1 : f;
341
341
  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), je(
342
- u * ee.value + y.PADDING_PX
342
+ u * le.value + y.PADDING_PX
343
343
  );
344
344
  });
345
345
  return Xe(
@@ -357,7 +357,7 @@ const al = (e, d, y) => {
357
357
  toggleMenu: A,
358
358
  onButtonKeydown: Ne,
359
359
  displayedValue: Ae,
360
- labelRef: z,
360
+ labelRef: W,
361
361
  query: O,
362
362
  containerProps: k,
363
363
  calculateTableHeight: Re,
@@ -371,22 +371,23 @@ const al = (e, d, y) => {
371
371
  isSelected: se,
372
372
  selectedOption: n,
373
373
  selectedOptionPrevious: v,
374
- selectedValue: F,
374
+ selectedValue: p,
375
375
  onSelect: G,
376
376
  activeIndex: g,
377
- onCancel: te,
378
- onApply: le,
377
+ onCancel: ae,
378
+ onApply: te,
379
379
  scrollTo: P,
380
- onClickOutside: ne,
380
+ onClickOutside: ue,
381
381
  listRef: x,
382
382
  buttonRef: D,
383
- apply: W,
384
- cancel: J,
385
- el: j,
383
+ apply: J,
384
+ cancel: Q,
385
+ el: z,
386
386
  triggerRef: ve,
387
- clearAll: Q,
387
+ clearAll: Y,
388
388
  onClearAllSelections: De,
389
- isGroup: q
389
+ isGroup: X,
390
+ flattenAndMarkGroupOptions: q
390
391
  };
391
392
  };
392
393
  export {
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
12
12
  multi: boolean;
13
13
  cancelAllSelectedDisplay?: boolean;
14
14
  displayValueInQuotes?: boolean;
15
+ shownValuesCount?: number;
15
16
  }>, {
16
17
  label: string;
17
18
  open: boolean;
@@ -22,6 +23,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
22
23
  allSelected: boolean;
23
24
  cancelAllSelectedDisplay: boolean;
24
25
  displayValueInQuotes: boolean;
26
+ shownValuesCount: number;
25
27
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
28
  clear: () => void;
27
29
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -38,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
38
40
  multi: boolean;
39
41
  cancelAllSelectedDisplay?: boolean;
40
42
  displayValueInQuotes?: boolean;
43
+ shownValuesCount?: number;
41
44
  }>, {
42
45
  label: string;
43
46
  open: boolean;
@@ -48,6 +51,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
48
51
  allSelected: boolean;
49
52
  cancelAllSelectedDisplay: boolean;
50
53
  displayValueInQuotes: boolean;
54
+ shownValuesCount: number;
51
55
  }>>> & {
52
56
  onClear?: () => any;
53
57
  }, {
@@ -60,6 +64,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
60
64
  displayedValue: any;
61
65
  cancelAllSelectedDisplay: boolean;
62
66
  displayValueInQuotes: boolean;
67
+ shownValuesCount: number;
63
68
  }>;
64
69
  export default _default;
65
70
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./ChipDropdownTrigger.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css"; //*');
4
- const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e43ac1c9"]]);
3
+ // import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-38354f10"]]);
5
5
  export {
6
- c as default
6
+ s as default
7
7
  };