@ironsource/shared-ui 2.1.12-test.53 → 2.1.12-test.54

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 (151) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
  2. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
  3. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
  5. package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
  7. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
  8. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
  9. package/DataGrid.vue_vue_type_style_index_0_scoped_6db25923_lang.css +1 -0
  10. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  11. package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
  12. package/DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css +1 -0
  13. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
  14. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  15. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  16. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  17. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  18. package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
  19. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  20. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  21. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  22. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  23. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  24. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  25. package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
  26. package/components/chart/Chart.vue.d.ts +5 -0
  27. package/components/chart/Chart.vue.js +4 -4
  28. package/components/chart/Chart.vue2.js +122 -112
  29. package/components/chart/ChartHeader.vue.d.ts +5 -0
  30. package/components/chart/ChartHeader.vue.js +3 -3
  31. package/components/chart/ChartHeader.vue2.js +49 -44
  32. package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
  33. package/components/chart/ChartHeaderTrend.vue.js +2 -2
  34. package/components/chart/ChartHeaderTrend.vue2.js +42 -39
  35. package/components/chart/ChartLegend.vue.d.ts +5 -0
  36. package/components/chart/ChartLegend.vue.js +3 -3
  37. package/components/chart/ChartLegend.vue2.js +76 -71
  38. package/components/chart/ChartPlane.vue.d.ts +5 -0
  39. package/components/chart/ChartPlane.vue.js +3 -3
  40. package/components/chart/ChartPlane.vue2.js +125 -119
  41. package/components/chart/ChartTooltip.vue.d.ts +5 -0
  42. package/components/chart/ChartTooltip.vue.js +2 -2
  43. package/components/chart/ChartTooltip.vue2.js +38 -34
  44. package/components/chart/LegendSorting.vue.d.ts +5 -0
  45. package/components/chart/LegendSorting.vue.js +16 -14
  46. package/components/chart/SettingsHeader.vue.d.ts +19 -3
  47. package/components/chart/SettingsHeader.vue.js +3 -3
  48. package/components/chart/SettingsHeader.vue2.js +36 -29
  49. package/components/chart/index.d.ts +20 -1
  50. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  51. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  52. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  53. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  54. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  55. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  56. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  57. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  58. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  59. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  60. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  61. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  62. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  63. package/components/columnConfigurator/consts.d.ts +1 -0
  64. package/components/columnConfigurator/consts.js +4 -0
  65. package/components/columnConfigurator/index.d.ts +73 -0
  66. package/components/columnConfigurator/index.js +6 -0
  67. package/components/columnConfigurator/mockData.d.ts +30 -0
  68. package/components/columnConfigurator/utils.d.ts +2 -0
  69. package/components/columnConfigurator/utils.js +18 -0
  70. package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
  71. package/components/columnPicker/index.d.ts +20 -20
  72. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  73. package/components/dropdown/v4/ConditionalDropdown.vue2.js +99 -97
  74. package/components/dropdown/v4/DropdownV4.vue.d.ts +2 -0
  75. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  76. package/components/dropdown/v4/DropdownV4.vue2.js +89 -82
  77. package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
  78. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  79. package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
  80. package/components/dropdown/v4/index.d.ts +41 -1
  81. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
  82. package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
  83. package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
  84. package/components/emptyState/v4/index.d.ts +20 -1
  85. package/components/link/Link.vue.d.ts +5 -0
  86. package/components/link/Link.vue.js +3 -3
  87. package/components/link/Link.vue2.js +36 -28
  88. package/components/link/index.d.ts +20 -1
  89. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  90. package/components/sortableList/LoaderBars.vue.js +7 -0
  91. package/components/sortableList/LoaderBars.vue2.js +25 -0
  92. package/components/sortableList/SortableItem.vue.js +4 -4
  93. package/components/sortableList/SortableItem.vue2.js +3 -3
  94. package/components/sortableList/SortableList.vue.d.ts +2 -2
  95. package/components/sortableList/SortableList.vue.js +5 -5
  96. package/components/sortableList/SortableList.vue2.js +96 -106
  97. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  98. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  99. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  100. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  101. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  102. package/components/sortableList/consts.d.ts +2 -0
  103. package/components/sortableList/consts.js +4 -2
  104. package/components/sortableList/index.d.ts +39 -39
  105. package/components/table/common/consts.d.ts +2 -0
  106. package/components/table/common/consts.js +6 -4
  107. package/components/table/v4/DataGrid.vue.d.ts +4 -3
  108. package/components/table/v4/DataGrid.vue.js +4 -4
  109. package/components/table/v4/DataGrid.vue2.js +363 -335
  110. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  111. package/components/table/v4/DataGridContainer.vue.js +7 -0
  112. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  113. package/components/table/v4/DataGridHeader.vue.d.ts +1 -1
  114. package/components/table/v4/DataGridHeader.vue.js +2 -2
  115. package/components/table/v4/DataGridHeader.vue2.js +30 -28
  116. package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
  117. package/components/table/v4/index.d.ts +104 -103
  118. package/components/tagsField/TagsField.types.d.ts +4 -0
  119. package/components/tagsField/TagsField.vue.d.ts +65 -0
  120. package/components/tagsField/TagsField.vue.js +7 -0
  121. package/components/tagsField/TagsField.vue2.js +90 -0
  122. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  123. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  124. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  125. package/components/tagsField/consts.d.ts +1 -0
  126. package/components/tagsField/consts.js +4 -0
  127. package/components/tagsField/index.d.ts +75 -0
  128. package/components/tagsField/index.js +6 -0
  129. package/index.d.ts +410 -288
  130. package/index.js +87 -79
  131. package/package.json +10 -1
  132. package/testids/index.d.ts +36 -0
  133. package/testids/index.js +37 -31
  134. package/utils/object.d.ts +2 -0
  135. package/utils/object.js +9 -5
  136. package/utils/search.js +1 -1
  137. package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +0 -1
  138. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
  139. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +0 -1
  140. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
  141. package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +0 -1
  142. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +0 -1
  143. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css +0 -1
  144. package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +0 -1
  145. package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +0 -1
  146. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
  147. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
  148. package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +0 -1
  149. package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +0 -1
  150. package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +0 -1
  151. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
@@ -1,15 +1,15 @@
1
- import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css"; import { defineComponent as H, computed as b, ref as s, watch as g, onMounted as J, resolveComponent as X, openBlock as B, createBlock as Y, unref as p, createSlots as Z, withCtx as f, createVNode as y, mergeProps as _, createElementVNode as ee, isRef as le, normalizeProps as F, guardReactiveProps as I, createElementBlock as oe, createTextVNode as te, toDisplayString as ne, createCommentVNode as ae, renderSlot as ie } from "vue";
1
+ import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css"; import { defineComponent as H, computed as b, ref as r, watch as g, onMounted as J, resolveComponent as X, openBlock as B, createBlock as Y, unref as p, createSlots as Z, withCtx as f, createVNode as y, mergeProps as _, createElementVNode as ee, isRef as te, normalizeProps as F, guardReactiveProps as I, createElementBlock as le, createTextVNode as oe, toDisplayString as ne, createCommentVNode as ae, renderSlot as ie } from "vue";
2
2
  import U from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
5
  import ue from "./ChipDropdownTrigger.vue.js";
6
6
  import "./AppDropdownTrigger.vue.js";
7
7
  import "./ButtonDropdownTrigger.vue.js";
8
- import re from "./ButtonFilterDropdownTrigger.vue.js";
8
+ import se from "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import "./OptionV4.vue.js";
11
11
  import "./ConditionalDropdown.vue.js";
12
- import se from "../../search/v4/SearchV4.vue.js";
12
+ import re from "../../search/v4/SearchV4.vue.js";
13
13
  import de from "../../typography/v4/Typography.vue.js";
14
14
  import { useDebounceFn as ce } from "@vueuse/core";
15
15
  const pe = { class: "conditional-container" }, ve = {
@@ -42,44 +42,44 @@ const pe = { class: "conditional-container" }, ve = {
42
42
  triggerShownValuesCount: { default: 1 }
43
43
  },
44
44
  emits: ["update:selectedCondition", "update:appliedSelections", "clear", "closed"],
45
- setup(i, { emit: h }) {
46
- const e = i, S = b({
45
+ setup(a, { emit: h }) {
46
+ const e = a, S = b({
47
47
  get: () => e.appliedSelections,
48
- set: (l) => {
49
- h("update:appliedSelections", l);
48
+ set: (t) => {
49
+ h("update:appliedSelections", t);
50
50
  }
51
- }), T = s(
51
+ }), T = r(
52
52
  e.selectedCondition || e.conditionalOptions[0]
53
- ), a = b({
53
+ ), i = b({
54
54
  get: () => T.value || e.conditionalOptions[0],
55
- set: (l) => {
56
- T.value = l;
55
+ set: (t) => {
56
+ T.value = t;
57
57
  }
58
58
  });
59
59
  g(
60
60
  () => e.selectedCondition,
61
- (l) => {
62
- l && l.value !== a.value?.value && (a.value = l, k());
61
+ (t) => {
62
+ t && t.value !== i.value?.value && (i.value = t, k());
63
63
  }
64
64
  );
65
65
  const A = () => {
66
- const { appliedSelections: l } = e;
67
- return l ? Array.isArray(l) ? l : [l] : [];
68
- }, D = s(null), v = s(!0), t = s([]), u = s(A()), N = s(!0), c = s(!1), w = s(!1), r = s(e.searchQuery), M = s(""), C = s(e.label), K = s([]), E = b(() => (!r.value || r.value?.length < e.minCharsToStart) && !t.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), Q = b(() => {
69
- const l = v.value ? 4 : 4.5, o = t.value.length > 4 ? t.value.length : l;
66
+ const { appliedSelections: t } = e;
67
+ return t ? Array.isArray(t) ? t : [t] : [];
68
+ }, D = r(null), v = r(!0), o = r([]), u = r(A()), N = r(!0), c = r(!1), w = r(!1), s = r(e.searchQuery), M = r(""), C = r(e.label), K = r([]), E = b(() => (!s.value || s.value?.length < e.minCharsToStart) && !o.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), Q = b(() => {
69
+ const t = v.value ? 4 : 4.5, l = o.value.length > 4 ? o.value.length : t;
70
70
  if (e.groupedOptions) {
71
71
  let d = 0;
72
- return t.value.forEach((n) => {
72
+ return o.value.forEach((n) => {
73
73
  n.options && (d = d + n.options.length);
74
- }), d > 4 ? d : l;
74
+ }), d > 4 ? d : t;
75
75
  }
76
- return o > l ? o : l;
77
- }), V = (l, o) => {
78
- if (e.infiniteLoading && a.value.multi && Array.isArray(u.value) && u.value.length && l && o.length) {
76
+ return l > t ? l : t;
77
+ }), V = (t, l) => {
78
+ if (e.infiniteLoading && i.value.multi && Array.isArray(u.value) && u.value.length && t && l.length) {
79
79
  const d = [], n = u.value.filter(
80
- (m) => m[e.optionNameKey].includes(l)
80
+ (m) => m[e.optionNameKey].includes(t)
81
81
  );
82
- return o.forEach((m) => {
82
+ return l.forEach((m) => {
83
83
  n.find(
84
84
  (G) => G[e.comparingKey] === m[e.comparingKey]
85
85
  ) && d.push(m[e.comparingKey]);
@@ -88,114 +88,115 @@ const pe = { class: "conditional-container" }, ve = {
88
88
  );
89
89
  }
90
90
  return [];
91
- }, L = async (l) => {
91
+ }, L = async (t) => {
92
92
  try {
93
93
  c.value = !0;
94
- const o = await e.fetchFnCallback(l), d = V(
95
- l,
96
- o
94
+ const l = await e.fetchFnCallback(t), d = V(
95
+ t,
96
+ l
97
97
  );
98
- t.value = [...d, ...o], c.value = !1;
99
- } catch (o) {
100
- c.value = !1, console.error("Error fetching data:", o);
98
+ o.value = [...d, ...l], c.value = !1;
99
+ } catch (l) {
100
+ c.value = !1, console.error("Error fetching data:", l);
101
101
  }
102
102
  }, $ = async () => {
103
103
  if (e.infiniteLoading)
104
104
  try {
105
105
  w.value = !0;
106
- const l = await e.loadMoreFn();
107
- w.value = !1, Array.isArray(l) && (t.value = [...t.value, ...l]);
108
- } catch (l) {
109
- w.value = !1, console.error("Error fetching data:", l);
106
+ const t = await e.loadMoreFn();
107
+ w.value = !1, Array.isArray(t) && (o.value = [...o.value, ...t]);
108
+ } catch (t) {
109
+ w.value = !1, console.error("Error fetching data:", t);
110
110
  }
111
111
  }, x = ce(
112
112
  L,
113
113
  e.fetchDataDebounceTime
114
- ), O = (l) => {
115
- l.length >= e.minCharsToStart ? (x(l), D.value?.scrollTo(0)) : e.infiniteLoading && a.value.multi ? t.value = K.value || [] : t.value = [];
114
+ ), O = (t) => {
115
+ t.length >= e.minCharsToStart ? (x(t), D.value?.scrollTo(0)) : e.infiniteLoading && i.value.multi ? o.value = K.value || [] : o.value = [];
116
116
  }, R = () => {
117
- r.value && t.value.length && !c.value && !a.value.multi ? t.value[0].conditionalOptions ? t.value[0] = {
118
- [e.optionNameKey]: r.value,
117
+ s.value && o.value.length && !c.value && !i.value.multi ? o.value[0].conditionalOptions ? o.value[0] = {
118
+ [e.optionNameKey]: s.value,
119
119
  conditionalOptions: !0,
120
- conditionalName: a.value.label,
121
- [e.comparingKey]: r.value
122
- } : t.value = [
120
+ conditionalName: i.value.label,
121
+ [e.comparingKey]: s.value
122
+ } : o.value = [
123
123
  {
124
- [e.optionNameKey]: r.value,
124
+ [e.optionNameKey]: s.value,
125
125
  conditionalOptions: !0,
126
- conditionalName: a.value.label,
127
- [e.comparingKey]: r.value
126
+ conditionalName: i.value.label,
127
+ [e.comparingKey]: s.value
128
128
  },
129
- ...t.value
130
- ] : t.value.length && t.value[0].conditionalOptions && t.value.shift();
129
+ ...o.value
130
+ ] : o.value.length && o.value[0].conditionalOptions && o.value.shift();
131
131
  }, k = () => {
132
- v.value && u.value.length === 0 ? C.value = e.label : C.value = `${e.label} ${a.value.label.toLowerCase()}`;
132
+ v.value && u.value.length === 0 ? C.value = e.label : C.value = `${e.label} ${i.value.label.toLowerCase()}`;
133
133
  };
134
- g(r, () => {
135
- O(r.value);
136
- }), g([a, t], () => {
134
+ g(s, () => {
135
+ O(s.value);
136
+ }), g([i, o], () => {
137
137
  R();
138
138
  }), g(
139
139
  () => e.loadingOverride,
140
- (l, o) => {
141
- !l && o && !e.infiniteLoading && L(e.searchQuery);
140
+ (t, l) => {
141
+ !t && l && !e.infiniteLoading && L(e.searchQuery);
142
142
  }
143
143
  );
144
144
  const z = () => {
145
- v.value && u.value.length === 0 ? (S.value = [], a.value = null) : (M.value = r.value, S.value = v.value ? [...u.value] : { ...u.value }, N.value = v.value), h("update:selectedCondition", a.value), k();
145
+ v.value && u.value.length === 0 ? (S.value = [], i.value = null) : (M.value = s.value, S.value = v.value ? [...u.value] : { ...u.value }, N.value = v.value), h("update:selectedCondition", i.value), k();
146
146
  };
147
- g(a, (l, o) => {
148
- a.value.multi ? (c.value = !0, !o.multi && l.multi && (Array.isArray(e.appliedSelections) ? u.value = e.appliedSelections : u.value = [e.appliedSelections]), setTimeout(() => {
147
+ g(i, (t, l) => {
148
+ i.value.multi ? (c.value = !0, !l.multi && t.multi && (Array.isArray(e.appliedSelections) ? u.value = e.appliedSelections : u.value = [e.appliedSelections]), setTimeout(() => {
149
149
  c.value = !1, v.value = !0;
150
- }, 100)) : (!o.multi && !l.multi && (c.value = !0), setTimeout(() => {
151
- !o.multi && !l.multi && (c.value = !1), v.value = !1;
150
+ }, 100)) : (!l.multi && !t.multi && (c.value = !0), setTimeout(() => {
151
+ !l.multi && !t.multi && (c.value = !1), v.value = !1;
152
152
  }, 100));
153
153
  }), g(S, () => {
154
154
  u.value = A();
155
155
  });
156
- const P = (l) => {
157
- K.value = l;
156
+ const P = (t) => {
157
+ K.value = t;
158
158
  }, j = () => {
159
- u.value = [], S.value = [], a.value = null, h("update:selectedCondition", null), C.value = e.label, r.value = "", h("clear");
160
- }, W = (l) => {
161
- a.value === null && (a.value = e.conditionalOptions[0]), l && a.value.multi && e.infiniteLoading && u.value && (t.value = u.value, r.value && O(r.value));
159
+ u.value = [], S.value = [], i.value = null, h("update:selectedCondition", null), C.value = e.label, s.value = "", h("clear");
160
+ }, W = (t) => {
161
+ i.value === null && (i.value = e.conditionalOptions[0]), t && i.value.multi && e.infiniteLoading && u.value && (o.value = u.value, s.value && O(s.value));
162
162
  };
163
163
  J(() => {
164
- (e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && O(e.searchQuery), e.appliedSelections && Array.isArray(e.appliedSelections) && (t.value = e.appliedSelections, u.value = e.appliedSelections, K.value = e.appliedSelections), k();
164
+ (e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && O(e.searchQuery), e.appliedSelections && Array.isArray(e.appliedSelections) && (o.value = e.appliedSelections, u.value = e.appliedSelections, K.value = e.appliedSelections), k();
165
165
  });
166
166
  const q = () => {
167
167
  h("closed");
168
168
  };
169
- return (l, o) => {
169
+ return (t, l) => {
170
170
  const d = X("ButtonDropdownTrigger");
171
171
  return B(), Y(p(U), {
172
172
  ref_key: "dropdownRef",
173
173
  ref: D,
174
174
  selected: u.value,
175
- "onUpdate:selected": o[2] || (o[2] = (n) => u.value = n),
175
+ "onUpdate:selected": l[2] || (l[2] = (n) => u.value = n),
176
176
  "predefined-trigger": "chip",
177
- "display-value": (n) => n?.[i.optionNameKey],
177
+ "display-value": (n) => n?.[a.optionNameKey],
178
178
  multi: v.value,
179
- options: t.value,
179
+ options: o.value,
180
180
  placeholder: C.value,
181
181
  "search-placeholder": "Search",
182
- "option-name-key": i.optionNameKey,
182
+ "option-name-key": a.optionNameKey,
183
183
  "with-conditions": "",
184
184
  "inline-search": "",
185
185
  "custom-number-of-displayed-options": p(Q),
186
186
  "options-list-width": "330px",
187
- loading: c.value || i.loadingOverride,
187
+ loading: c.value || a.loadingOverride,
188
188
  "load-more-loading": w.value,
189
- "comparing-key": i.comparingKey,
190
- "is-open": i.isOpen,
191
- "infinite-loading": i.infiniteLoading,
192
- "show-select-all": !i.infiniteLoading && !r.value,
193
- "grouped-options": i.groupedOptions,
194
- "option-flag-key": i.optionFlagKey,
195
- "option-image-key": i.optionImageKey,
196
- "option-icon-key": i.optionIconKey,
197
- "option-icon-type": i.optionIconType,
198
- "trigger-shown-values-count": i.triggerShownValuesCount,
189
+ "comparing-key": a.comparingKey,
190
+ "is-open": a.isOpen,
191
+ "infinite-loading": a.infiniteLoading,
192
+ "show-select-all": !a.infiniteLoading && !s.value,
193
+ "grouped-options": a.groupedOptions,
194
+ "option-flag-key": a.optionFlagKey,
195
+ "option-image-key": a.optionImageKey,
196
+ "option-icon-key": a.optionIconKey,
197
+ "option-icon-type": a.optionIconType,
198
+ "trigger-shown-values-count": a.triggerShownValuesCount,
199
+ "test-id": a.testId,
199
200
  "onUpdate:isOpen": W,
200
201
  onOnsearch: O,
201
202
  onApply: z,
@@ -209,47 +210,48 @@ const pe = { class: "conditional-container" }, ve = {
209
210
  "selected-option": p(S),
210
211
  multi: N.value,
211
212
  "cancel-all-selected-display": "",
212
- "test-id": i.testId,
213
+ "test-id": a.testId,
213
214
  "display-value-in-quotes": !Array.isArray(u.value) && u.value.conditionalOptions,
214
- "shown-values-count": i.triggerShownValuesCount,
215
+ "shown-values-count": a.triggerShownValuesCount,
215
216
  onClear: j
216
217
  }), null, 16, ["label", "selected-option", "multi", "test-id", "display-value-in-quotes", "shown-values-count"])
217
218
  ]),
218
219
  "dropdown-conditions": f(() => [
219
220
  ee("div", pe, [
220
221
  y(p(U), {
221
- selected: p(a),
222
- "onUpdate:selected": o[0] || (o[0] = (n) => le(a) ? a.value = n : null),
223
- options: i.conditionalOptions,
222
+ selected: p(i),
223
+ "onUpdate:selected": l[0] || (l[0] = (n) => te(i) ? i.value = n : null),
224
+ options: a.conditionalOptions,
224
225
  "option-name-key": "label",
225
226
  "display-value": (n) => n?.label,
226
227
  container: ".conditional-container",
227
- size: "small"
228
+ size: "small",
229
+ "test-id": `${a.testId}-conditions`
228
230
  }, {
229
231
  "dropdown-trigger": f(({ buttonTriggerProps: n }) => [
230
232
  y(d, F(I(n)), null, 16),
231
- y(p(re), F(I(n)), null, 16)
233
+ y(p(se), F(I(n)), null, 16)
232
234
  ]),
233
235
  _: 1
234
- }, 8, ["selected", "options", "display-value"])
236
+ }, 8, ["selected", "options", "display-value", "test-id"])
235
237
  ])
236
238
  ]),
237
239
  "inline-search": f(() => [
238
- y(p(se), {
239
- modelValue: r.value,
240
- "onUpdate:modelValue": o[1] || (o[1] = (n) => r.value = n),
240
+ y(p(re), {
241
+ modelValue: s.value,
242
+ "onUpdate:modelValue": l[1] || (l[1] = (n) => s.value = n),
241
243
  class: "inline-search",
242
244
  placeholder: "Search",
243
245
  variant: "transparent",
244
246
  size: "md",
245
- "auto-focus": i.autoFocusSearch
247
+ "auto-focus": a.autoFocusSearch
246
248
  }, null, 8, ["modelValue", "auto-focus"])
247
249
  ]),
248
250
  "custom-list-area": f(() => [
249
- !t.value.length && !c.value ? (B(), oe("div", ve, [
251
+ !o.value.length && !c.value ? (B(), le("div", ve, [
250
252
  y(de, { variant: "body1" }, {
251
253
  default: f(() => [
252
- te(ne(p(E)), 1)
254
+ oe(ne(p(E)), 1)
253
255
  ]),
254
256
  _: 1
255
257
  })
@@ -257,14 +259,14 @@ const pe = { class: "conditional-container" }, ve = {
257
259
  ]),
258
260
  _: 2
259
261
  }, [
260
- l.$slots["option-end"] ? {
262
+ t.$slots["option-end"] ? {
261
263
  name: "option-end",
262
264
  fn: f(({ option: n }) => [
263
- ie(l.$slots, "option-end", { option: n }, void 0, !0)
265
+ ie(t.$slots, "option-end", { option: n }, void 0, !0)
264
266
  ]),
265
267
  key: "0"
266
268
  } : void 0
267
- ]), 1032, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type", "trigger-shown-values-count"]);
269
+ ]), 1032, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type", "trigger-shown-values-count", "test-id"]);
268
270
  };
269
271
  }
270
272
  });
@@ -368,6 +368,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
368
368
  disabled: boolean;
369
369
  label: any;
370
370
  onClick: () => void;
371
+ testId: string;
371
372
  };
372
373
  defaultTriggerProps: {
373
374
  placeholder: string;
@@ -417,6 +418,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
417
418
  "option-end"?(_: {
418
419
  option: any;
419
420
  }): any;
421
+ footer?(_: {}): any;
420
422
  }>;
421
423
  export default _default;
422
424
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,8 +1,8 @@
1
1
  import o from "./DropdownV4.vue2.js";
2
2
  /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css"; //*');
3
+ // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css"; //*');
4
4
  // import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const d = /* @__PURE__ */ _(o, [["__scopeId", "data-v-55dd36a7"]]);
5
+ const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2d66b7b6"]]);
6
6
  export {
7
- d as default
7
+ r as default
8
8
  };