@ironsource/shared-ui 2.1.11-test.9 → 2.1.11-test.92

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 (170) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
  5. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
  6. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
  7. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
  8. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2ba23450_lang.css +1 -0
  9. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
  10. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
  11. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
  12. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
  13. package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
  14. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
  15. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
  16. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
  17. package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css +1 -0
  18. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  19. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
  20. package/README.md +4 -15
  21. package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
  22. package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +1 -0
  23. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
  24. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
  25. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
  26. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  27. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
  28. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  29. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
  30. package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css +1 -0
  31. package/components/autocomplete/Autocomplete.vue2.js +1 -1
  32. package/components/chart/Chart.vue.d.ts +16 -3
  33. package/components/chart/Chart.vue.js +5 -5
  34. package/components/chart/Chart.vue2.js +127 -110
  35. package/components/chart/ChartHeader.vue.d.ts +13 -6
  36. package/components/chart/ChartHeader.vue.js +2 -2
  37. package/components/chart/ChartHeader.vue2.js +32 -29
  38. package/components/chart/ChartLegend.vue.d.ts +5 -0
  39. package/components/chart/ChartLegend.vue.js +3 -3
  40. package/components/chart/ChartLegend.vue2.js +99 -49
  41. package/components/chart/ChartTooltip.vue.d.ts +4 -5
  42. package/components/chart/ChartTooltip.vue.js +2 -2
  43. package/components/chart/ChartTooltip.vue2.js +64 -43
  44. package/components/chart/SettingsHeader.vue2.js +1 -1
  45. package/components/chart/index.d.ts +55 -16
  46. package/components/chart/mockData.d.ts +15 -2
  47. package/components/chart/types.d.ts +15 -1
  48. package/components/chart/utils/utils.js +5 -5
  49. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  50. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  51. package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
  52. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  53. package/components/dialog/v4/DialogV4.vue.d.ts +15 -0
  54. package/components/dialog/v4/DialogV4.vue.js +3 -3
  55. package/components/dialog/v4/DialogV4.vue2.js +80 -73
  56. package/components/dialog/v4/index.d.ts +58 -1
  57. package/components/dropdown/common/Dropdown.common.js +180 -169
  58. package/components/dropdown/v3/index.d.ts +12 -12
  59. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +15 -0
  60. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  61. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
  62. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  63. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  64. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +59 -40
  65. package/components/dropdown/v4/{ConditionalDroprown.vue.d.ts → ConditionalDropdown.vue.d.ts} +60 -0
  66. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  67. package/components/dropdown/v4/ConditionalDropdown.vue2.js +239 -0
  68. package/components/dropdown/v4/DropdownV4.vue.d.ts +18 -5
  69. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  70. package/components/dropdown/v4/DropdownV4.vue2.js +52 -50
  71. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  72. package/components/dropdown/v4/OptionV4.vue2.js +2 -2
  73. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  74. package/components/dropdown/v4/TreeDropdown.vue2.js +87 -87
  75. package/components/dropdown/v4/index.d.ts +205 -35
  76. package/components/dropdown/v4/index.js +3 -3
  77. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  78. package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
  79. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
  80. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
  81. package/components/forms/FormCard.vue.js +3 -3
  82. package/components/forms/FormCard.vue2.js +1 -1
  83. package/components/icon/v4/IconFlag.vue.js +3 -3
  84. package/components/icon/v4/IconFlag.vue2.js +1 -1
  85. package/components/icon/v4/consts.d.ts +1 -1
  86. package/components/icon/v4/consts.js +1 -1
  87. package/components/input/v4/TextField.vue.js +3 -3
  88. package/components/input/v4/TextField.vue2.js +185 -165
  89. package/components/multibar/MultiBarMenu.vue2.js +1 -1
  90. package/components/popover/v4/PopoverV4.vue.d.ts +11 -1
  91. package/components/popover/v4/PopoverV4.vue.js +2 -2
  92. package/components/popover/v4/PopoverV4.vue2.js +40 -26
  93. package/components/popover/v4/index.d.ts +46 -8
  94. package/components/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
  95. package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
  96. package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
  97. package/components/sortableList/SortableItem.vue.d.ts +5 -0
  98. package/components/sortableList/SortableItem.vue.js +2 -2
  99. package/components/sortableList/SortableItem.vue2.js +86 -70
  100. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  101. package/components/sortableList/SortableItemLabel.vue2.js +20 -23
  102. package/components/sortableList/SortableList.vue.d.ts +17 -1
  103. package/components/sortableList/SortableList.vue.js +4 -4
  104. package/components/sortableList/SortableList.vue2.js +113 -94
  105. package/components/sortableList/index.d.ts +63 -5
  106. package/components/table/common/Table.common.d.ts +1 -1
  107. package/components/table/common/Table.common.js +82 -74
  108. package/components/table/common/Table.types.d.ts +1 -1
  109. package/components/table/common/consts.d.ts +4 -0
  110. package/components/table/common/consts.js +7 -0
  111. package/components/table/v3/Table.vue.d.ts +1 -1
  112. package/components/table/v3/index.d.ts +5 -5
  113. package/components/table/v4/DataGrid.vue.d.ts +12 -2
  114. package/components/table/v4/DataGrid.vue.js +2 -2
  115. package/components/table/v4/DataGrid.vue2.js +164 -155
  116. package/components/table/v4/DataGridMenu.vue.js +5 -5
  117. package/components/table/v4/DataGridMenu.vue2.js +2 -2
  118. package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
  119. package/components/table/v4/index.d.ts +84 -46
  120. package/components/table-cells/common/Editable.common.js +29 -23
  121. package/components/table-cells/common/EditableContext.d.ts +1 -0
  122. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  123. package/components/table-cells/v4/EditableV4.vue.js +3 -3
  124. package/components/table-cells/v4/EditableV4.vue2.js +11 -10
  125. package/components/table-cells/v4/index.d.ts +20 -1
  126. package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
  127. package/components/tooltip/v4/TooltipV4.vue.js +3 -3
  128. package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
  129. package/components/tooltip/v4/index.d.ts +39 -1
  130. package/components/typography/v4/Typography.vue.js +3 -3
  131. package/components/typography/v4/Typography.vue2.js +24 -18
  132. package/design-foundation.stories/icons/iconsData.d.ts +1 -1
  133. package/index.d.ts +1097 -204
  134. package/index.js +1 -1
  135. package/mocks/words.d.ts +1 -1
  136. package/package.json +1 -1
  137. package/style/v4/grid.css +1 -1
  138. package/style/v4/grid.css.map +1 -1
  139. package/style/v4/spacings.scss +1 -0
  140. package/testids/index.d.ts +2 -0
  141. package/testids/index.js +13 -13
  142. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  143. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
  144. package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
  145. package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
  146. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
  147. package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css +0 -1
  148. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_ba28c717_lang.css +0 -1
  149. package/ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css +0 -1
  150. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  151. package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
  152. package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
  153. package/DropdownV4.vue_vue_type_style_index_0_scoped_f88a132e_lang.css +0 -1
  154. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
  155. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
  156. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
  157. package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
  158. package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
  159. package/OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css +0 -1
  160. package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +0 -1
  161. package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
  162. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
  163. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
  164. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
  165. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
  166. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
  167. package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +0 -1
  168. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
  169. package/components/dropdown/v4/ConditionalDroprown.vue.js +0 -7
  170. package/components/dropdown/v4/ConditionalDroprown.vue2.js +0 -157
@@ -1,4 +1,4 @@
1
- import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css"; import { defineComponent as ee, provide as le, ref as c, computed as K, onMounted as ne, watch as g, openBlock as C, createBlock as D, unref as d, withCtx as h, createVNode as I, mergeProps as z, createSlots as te, renderSlot as oe, createElementVNode as M, withModifiers as w, createTextVNode as ie, createElementBlock as B, withDirectives as de, Fragment as ae, renderList as se, vShow as re, createCommentVNode as ce } from "vue";
1
+ import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css"; import { defineComponent as ee, provide as ne, ref as c, computed as K, onMounted as le, watch as g, openBlock as C, createBlock as D, unref as d, withCtx as f, createVNode as I, mergeProps as z, createSlots as te, renderSlot as oe, createElementVNode as M, withModifiers as S, createTextVNode as ie, createElementBlock as B, withDirectives as de, Fragment as ae, renderList as re, vShow as se, createCommentVNode as ce } from "vue";
2
2
  import ue from "./DropdownV4.vue.js";
3
3
  import pe from "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
@@ -7,11 +7,11 @@ import "./AppDropdownTrigger.vue.js";
7
7
  import "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
- import S from "./OptionV4.vue.js";
11
- import "./ConditionalDroprown.vue.js";
10
+ import w from "./OptionV4.vue.js";
11
+ import "./ConditionalDropdown.vue.js";
12
12
  import { useChildOptions as ye } from "../composables/useChildOptions.js";
13
- import he from "../../search/v4/SearchV4.vue.js";
14
- import { useTestIdAttrs as fe } from "../../../utils/testIds.js";
13
+ import fe from "../../search/v4/SearchV4.vue.js";
14
+ import { useTestIdAttrs as he } from "../../../utils/testIds.js";
15
15
  import { DropdownTestIdModifiers as $ } from "../../../testids/index.js";
16
16
  const ve = {
17
17
  key: 0,
@@ -43,18 +43,18 @@ const ve = {
43
43
  },
44
44
  emits: ["update:selected", "update:isOpen"],
45
45
  setup(t, { emit: b }) {
46
- const l = t;
47
- le("isTreeDropdown", !0);
48
- const m = c([]), u = c([]), T = c({}), x = c(!1), i = c([...l.selected]), p = c(""), O = c(!0), N = K(() => u.value.reduce((e, o) => (o[l.optionChildrenKey] && o[l.optionChildrenKey].length && o[l.optionChildrenKey].forEach(() => {
46
+ const n = t;
47
+ ne("isTreeDropdown", !0);
48
+ const m = c([]), u = c([]), T = c({}), O = c(!1), i = c([...n.selected]), p = c(""), x = c(!0), N = K(() => u.value.reduce((e, o) => (o[n.optionChildrenKey] && o[n.optionChildrenKey].length && o[n.optionChildrenKey].forEach(() => {
49
49
  e = e + 1;
50
- }), o[l.optionChildrenKey] || (e = e + 1), e), 0)), U = () => {
51
- l.options.forEach((e) => {
52
- e[l.optionChildrenKey] && e[l.optionChildrenKey].length && (T.value[e[l.optionUniqueIdKey]] = [
53
- ...e[l.optionChildrenKey]
50
+ }), o[n.optionChildrenKey] || (e = e + 1), e), 0)), U = () => {
51
+ n.options.forEach((e) => {
52
+ e[n.optionChildrenKey] && e[n.optionChildrenKey].length && (T.value[e[n.optionUniqueIdKey]] = [
53
+ ...e[n.optionChildrenKey]
54
54
  ]);
55
- }), m.value = [...l.options], u.value = [...l.options];
56
- }, { hasChildren: f, getChildren: v, allChildrenSelected: k, someChildrenSelected: P } = ye(i, l.optionChildrenKey), q = (e) => {
57
- if (f(e)) {
55
+ }), m.value = [...n.options], u.value = [...n.options];
56
+ }, { hasChildren: h, getChildren: v, allChildrenSelected: k, someChildrenSelected: P } = ye(i, n.optionChildrenKey), q = (e) => {
57
+ if (h(e)) {
58
58
  k(e) ? i.value = i.value.filter(
59
59
  (o) => !v(e).includes(o)
60
60
  ) : i.value = [
@@ -66,72 +66,72 @@ const ve = {
66
66
  i.value.includes(e) ? i.value = i.value.filter(
67
67
  (o) => o !== e
68
68
  ) : i.value = [...i.value, e];
69
- }, A = (e) => i.value.includes(e), j = (e) => 1 + (f(e) ? v(e).length : 0), F = () => {
69
+ }, A = (e) => i.value.includes(e), J = (e) => 1 + (h(e) ? v(e).length : 0), j = () => {
70
70
  b("update:selected", i.value), L.value = y.value;
71
- }, G = () => {
71
+ }, F = () => {
72
72
  i.value = [];
73
- }, H = () => {
73
+ }, G = () => {
74
74
  const e = /* @__PURE__ */ new Set([]);
75
- u.value.forEach((n) => {
76
- if (l.selected?.includes(n))
77
- e.add(n);
78
- else if (n[l.optionChildrenKey] && n[l.optionChildrenKey].length) {
79
- for (const s of n[l.optionChildrenKey])
80
- if (l.selected?.includes(s)) {
81
- e.add(n);
75
+ u.value.forEach((l) => {
76
+ if (n.selected?.includes(l))
77
+ e.add(l);
78
+ else if (l[n.optionChildrenKey] && l[n.optionChildrenKey].length) {
79
+ for (const r of l[n.optionChildrenKey])
80
+ if (n.selected?.includes(r)) {
81
+ e.add(l);
82
82
  break;
83
83
  }
84
84
  }
85
85
  });
86
86
  const o = Array.from(e);
87
- return u.value.forEach((n) => {
88
- !l.selected.includes(n) && !e.has(n) && o.push(n);
87
+ return u.value.forEach((l) => {
88
+ !n.selected.includes(l) && !e.has(l) && o.push(l);
89
89
  }), o;
90
90
  };
91
- ne(() => {
92
- x.value || (U(), x.value = !0, l.preExpandedOptions && l.preExpandedOptions.forEach((e) => {
91
+ le(() => {
92
+ O.value || (U(), O.value = !0, n.preExpandedOptions && n.preExpandedOptions.forEach((e) => {
93
93
  a.value[e] = 1;
94
94
  }));
95
95
  }), g(
96
- () => l.options,
96
+ () => n.options,
97
97
  () => {
98
98
  U();
99
99
  }
100
100
  ), g(
101
- () => l.selected,
102
- () => {
103
- i.value = [...l.selected];
101
+ () => n.selected,
102
+ (e, o) => {
103
+ JSON.stringify(e) !== JSON.stringify(o) && (i.value = [...n.selected]);
104
104
  }
105
105
  );
106
- const y = K(() => i.value.length < N.value ? !1 : i.value.length === N.value), J = K(() => !y.value && i.value.length > 0), L = c(y.value);
106
+ const y = K(() => i.value.length < N.value ? !1 : i.value.length === N.value), H = K(() => !y.value && i.value.length > 0), L = c(y.value);
107
107
  g(
108
- () => l.isOpen,
108
+ () => n.isOpen,
109
109
  () => {
110
- l.isOpen ? m.value = H() : (i.value = [...l.selected], p.value = "");
110
+ n.isOpen ? m.value = G() : (i.value = [...n.selected], p.value = "");
111
111
  }
112
112
  );
113
113
  const a = c({}), Q = (e) => {
114
- a.value[e[l.optionUniqueIdKey]] ? delete a.value[e[l.optionUniqueIdKey]] : a.value[e[l.optionUniqueIdKey]] = 1;
114
+ a.value[e[n.optionUniqueIdKey]] ? delete a.value[e[n.optionUniqueIdKey]] : a.value[e[n.optionUniqueIdKey]] = 1;
115
115
  };
116
116
  function R(e, o) {
117
- const n = e.toLowerCase(), s = [];
118
- return o.value.forEach((r) => {
119
- const E = r[l.optionNameKey].toLowerCase().includes(n), V = T.value[r[l.optionUniqueIdKey]]?.filter(
120
- (_) => _[l.optionNameKey].toLowerCase().includes(n)
117
+ const l = e.toLowerCase(), r = [];
118
+ return o.value.forEach((s) => {
119
+ const E = s[n.optionNameKey].toLowerCase().includes(l), V = T.value[s[n.optionUniqueIdKey]]?.filter(
120
+ (_) => _[n.optionNameKey].toLowerCase().includes(l)
121
121
  ) || [];
122
- (E || V.length > 0) && (r[l.optionChildrenKey] = V, s.push(r));
123
- }), s;
122
+ (E || V.length > 0) && (s[n.optionChildrenKey] = V, r.push(s));
123
+ }), r;
124
124
  }
125
125
  const W = (e) => {
126
126
  const o = R(e, u);
127
- e && (Object.keys(a.value).forEach((n) => {
128
- delete a.value[n];
129
- }), o.forEach((n) => {
130
- Array.isArray(n[l.optionChildrenKey]) && n[l.optionChildrenKey].length && (a.value[n[l.optionUniqueIdKey]] = 1);
127
+ e && (Object.keys(a.value).forEach((l) => {
128
+ delete a.value[l];
129
+ }), o.forEach((l) => {
130
+ Array.isArray(l[n.optionChildrenKey]) && l[n.optionChildrenKey].length && (a.value[l[n.optionUniqueIdKey]] = 1);
131
131
  })), m.value = o;
132
132
  }, X = K(() => {
133
- const e = l.options.length, o = l.options.reduce(
134
- (n, s) => (a.value[s[l.optionUniqueIdKey]] && (n = n + s[l.optionChildrenKey].length), n),
133
+ const e = n.options.length, o = n.options.reduce(
134
+ (l, r) => (a.value[r[n.optionUniqueIdKey]] && (l = l + r[n.optionChildrenKey].length), l),
135
135
  0
136
136
  );
137
137
  return e + o;
@@ -139,22 +139,22 @@ const ve = {
139
139
  g(
140
140
  () => p.value,
141
141
  () => {
142
- W(p.value), O.value = !p.value;
142
+ W(p.value), x.value = !p.value;
143
143
  }
144
144
  );
145
145
  const Y = () => {
146
146
  y.value ? i.value = [] : (i.value = [], u.value.forEach((e) => {
147
- if (e[l.optionChildrenKey] && e[l.optionChildrenKey].length)
148
- for (const o of e[l.optionChildrenKey])
147
+ if (e[n.optionChildrenKey] && e[n.optionChildrenKey].length)
148
+ for (const o of e[n.optionChildrenKey])
149
149
  i.value = [o, ...i.value];
150
150
  else
151
151
  i.value = [e, ...i.value];
152
152
  }));
153
- }, Z = fe(l.testId, $);
153
+ }, Z = he(n.testId, $);
154
154
  return (e, o) => (C(), D(d(ue), {
155
155
  multi: "",
156
156
  class: "tree-dropdown",
157
- "show-select-all": O.value,
157
+ "show-select-all": x.value,
158
158
  "is-open": t.isOpen,
159
159
  options: m.value,
160
160
  selected: t.selected,
@@ -167,32 +167,32 @@ const ve = {
167
167
  "test-id": t.testId,
168
168
  disabled: t.disabled,
169
169
  "disable-virtual-scroll": "",
170
- "override-option-count-calculation": j,
170
+ "override-option-count-calculation": J,
171
171
  "trigger-show-all-selected-text": !1,
172
172
  "predefined-trigger": "default",
173
173
  "custom-number-of-displayed-options": d(X),
174
- "onUpdate:isOpen": o[2] || (o[2] = (n) => b("update:isOpen", n)),
175
- onApply: F,
176
- onClear: G
174
+ "onUpdate:isOpen": o[2] || (o[2] = (l) => b("update:isOpen", l)),
175
+ onApply: j,
176
+ onClear: F
177
177
  }, {
178
- "dropdown-trigger": h(({ defaultTriggerProps: n }) => [
179
- I(d(pe), z(n, {
178
+ "dropdown-trigger": f(({ defaultTriggerProps: l }) => [
179
+ I(d(pe), z(l, {
180
180
  "all-selected": L.value,
181
181
  "show-all-selected-text": ""
182
182
  }), te({ _: 2 }, [
183
183
  e.$slots["trigger-end-icon"] ? {
184
184
  name: "end-icon",
185
- fn: h(() => [
185
+ fn: f(() => [
186
186
  oe(e.$slots, "trigger-end-icon", {}, void 0, !0)
187
187
  ]),
188
188
  key: "0"
189
189
  } : void 0
190
190
  ]), 1040, ["all-selected"])
191
191
  ]),
192
- "inline-search": h(() => [
193
- I(d(he), {
192
+ "inline-search": f(() => [
193
+ I(d(fe), {
194
194
  modelValue: p.value,
195
- "onUpdate:modelValue": o[0] || (o[0] = (n) => p.value = n),
195
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => p.value = l),
196
196
  class: "tree-search",
197
197
  placeholder: t.inlineSearchPlaceholder,
198
198
  variant: "transparent",
@@ -201,31 +201,31 @@ const ve = {
201
201
  "test-id": t.testId
202
202
  }, null, 8, ["modelValue", "placeholder", "test-id"])
203
203
  ]),
204
- "select-all": h(() => [
204
+ "select-all": f(() => [
205
205
  M("li", null, [
206
- I(d(S), z({
206
+ I(d(w), z({
207
207
  "aria-selected": d(y),
208
208
  "aria-disabled": !!t.disabled,
209
209
  "selected-prop": d(y),
210
- "is-indeterminate": d(J),
210
+ "is-indeterminate": d(H),
211
211
  "is-multi": "",
212
212
  "select-all-option": ""
213
213
  }, d(Z)[d($).SELECT_ALL], {
214
- onClick: o[1] || (o[1] = w((n) => Y(), ["stop"]))
214
+ onClick: o[1] || (o[1] = S((l) => Y(), ["stop"]))
215
215
  }), {
216
- default: h(() => [
216
+ default: f(() => [
217
217
  ie(" Select all ")
218
218
  ]),
219
219
  _: 1
220
220
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
221
221
  ])
222
222
  ]),
223
- default: h(({ option: n, index: s }) => [
224
- I(d(S), {
225
- option: n,
226
- "selected-prop": d(f)(n) ? d(k)(n) : A(n),
227
- "is-indeterminate": !d(k)(n) && d(P)(n),
228
- disabled: n[t.disabledOptionKey],
223
+ default: f(({ option: l, index: r }) => [
224
+ I(d(w), {
225
+ option: l,
226
+ "selected-prop": d(h)(l) ? d(k)(l) : A(l),
227
+ "is-indeterminate": !d(k)(l) && d(P)(l),
228
+ disabled: l[t.disabledOptionKey],
229
229
  "name-key": t.optionNameKey,
230
230
  "image-key": t.optionImageKey,
231
231
  "icon-key": t.optionIconKey,
@@ -233,20 +233,20 @@ const ve = {
233
233
  "end-icon-key": t.optionEndIconKey,
234
234
  "end-icon-type": t.optionEndIconType,
235
235
  "end-text-icon-key": t.optionEndTextIconKey,
236
- "tree-main-option": d(f)(n),
237
- "tree-main-option-expanded": a.value[n[t.optionUniqueIdKey]],
236
+ "tree-main-option": d(h)(l),
237
+ "tree-main-option-expanded": a.value[l[t.optionUniqueIdKey]],
238
238
  "stop-option-click-event-propagation": "",
239
239
  "is-multi": "",
240
- onClick: w(() => q(n), ["stop"]),
240
+ onClick: S(() => q(l), ["stop"]),
241
241
  onToggleTreeCollapse: Q
242
242
  }, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-main-option", "tree-main-option-expanded", "onClick"]),
243
- d(f)(n) ? (C(), B("div", ve, [
243
+ d(h)(l) ? (C(), B("div", ve, [
244
244
  de(M("div", null, [
245
- (C(!0), B(ae, null, se(d(v)(n), (r, E) => (C(), D(d(S), {
246
- key: `${s}-${E}`,
247
- option: r,
248
- "selected-prop": A(r),
249
- disabled: r[t.disabledOptionKey],
245
+ (C(!0), B(ae, null, re(d(v)(l), (s, E) => (C(), D(d(w), {
246
+ key: `${r}-${E}`,
247
+ option: s,
248
+ "selected-prop": A(s),
249
+ disabled: s[t.disabledOptionKey],
250
250
  "name-key": t.optionNameKey,
251
251
  "image-key": t.optionImageKey,
252
252
  "icon-key": t.optionIconKey,
@@ -254,13 +254,13 @@ const ve = {
254
254
  "end-icon-key": t.optionEndIconKey,
255
255
  "end-icon-type": t.optionEndIconType,
256
256
  "end-text-icon-key": t.optionEndTextIconKey,
257
- "tree-child-shown": a.value[n[t.optionUniqueIdKey]],
257
+ "tree-child-shown": a.value[l[t.optionUniqueIdKey]],
258
258
  "stop-option-click-event-propagation": "",
259
259
  "is-multi": "",
260
- onClick: w(() => q(r), ["stop"])
260
+ onClick: S(() => q(s), ["stop"])
261
261
  }, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-child-shown", "onClick"]))), 128))
262
262
  ], 512), [
263
- [re, a.value[n[t.optionUniqueIdKey]]]
263
+ [se, a.value[l[t.optionUniqueIdKey]]]
264
264
  ])
265
265
  ])) : ce("", !0)
266
266
  ]),