@ironsource/shared-ui 2.1.10 → 2.1.11-rc.1

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.
@@ -1,5 +1,5 @@
1
- import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_a51b6929_lang.css"; import { defineComponent as j, provide as F, ref as s, onMounted as R, watch as v, openBlock as m, createBlock as U, unref as a, withCtx as K, createVNode as k, normalizeProps as G, guardReactiveProps as H, createSlots as J, renderSlot as Q, withModifiers as q, createElementBlock as N, withDirectives as W, createElementVNode as X, Fragment as Y, renderList as Z, vShow as _, createCommentVNode as ee } from "vue";
2
- import ne from "./DropdownV4.vue.js";
1
+ import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css"; import { defineComponent as F, provide as R, ref as c, onMounted as G, watch as m, computed as H, openBlock as v, createBlock as U, unref as d, withCtx as g, createVNode as k, normalizeProps as J, guardReactiveProps as Q, createSlots as W, renderSlot as X, withModifiers as N, createElementBlock as q, withDirectives as Y, createElementVNode as Z, Fragment as _, renderList as ee, vShow as ne, createCommentVNode as oe } from "vue";
2
+ import te from "./DropdownV4.vue.js";
3
3
  import le from "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
5
  import "./ChipDropdownTrigger.vue.js";
@@ -7,13 +7,13 @@ import "./AppDropdownTrigger.vue.js";
7
7
  import "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
- import z from "./OptionV4.vue.js";
11
- import { useChildOptions as oe } from "../composables/useChildOptions.js";
12
- import te from "../../search/v4/SearchV4.vue.js";
13
- const ie = {
10
+ import x from "./OptionV4.vue.js";
11
+ import { useChildOptions as ie } from "../composables/useChildOptions.js";
12
+ import de from "../../search/v4/SearchV4.vue.js";
13
+ const ae = {
14
14
  key: 0,
15
15
  class: "child-options"
16
- }, Ke = /* @__PURE__ */ j({
16
+ }, Ce = /* @__PURE__ */ F({
17
17
  __name: "TreeDropdown",
18
18
  props: {
19
19
  options: null,
@@ -34,187 +34,195 @@ const ie = {
34
34
  valueToCopy: { default: null },
35
35
  disabledOptionKey: { default: "disabled" },
36
36
  optionChildrenKey: null,
37
- optionUniqueIdKey: null
37
+ optionUniqueIdKey: null,
38
+ preExpandedOptions: null
38
39
  },
39
40
  emits: ["update:selected", "update:isOpen"],
40
- setup(o, { emit: I }) {
41
- const l = o;
42
- F("isTreeDropdown", !0);
43
- const f = s([]), h = s([]), w = s({}), O = s(!1), i = s([...l.selected]), u = s(""), S = () => {
44
- l.options.forEach((n) => {
45
- n[l.optionChildrenKey] && n[l.optionChildrenKey].length && (w.value[n[l.optionUniqueIdKey]] = [
46
- ...n[l.optionChildrenKey]
41
+ setup(t, { emit: I }) {
42
+ const o = t;
43
+ R("isTreeDropdown", !0);
44
+ const h = c([]), f = c([]), O = c({}), w = c(!1), i = c([...o.selected]), u = c(""), b = () => {
45
+ o.options.forEach((n) => {
46
+ n[o.optionChildrenKey] && n[o.optionChildrenKey].length && (O.value[n[o.optionUniqueIdKey]] = [
47
+ ...n[o.optionChildrenKey]
47
48
  ]);
48
- }), f.value = [...l.options], h.value = [...l.options];
49
- };
50
- R(() => {
51
- O.value || (S(), O.value = !0);
52
- }), v(
53
- () => l.options,
54
- () => {
55
- S();
56
- }
57
- ), v(
58
- () => l.selected,
59
- () => {
60
- i.value = [...l.selected];
61
- }
62
- );
63
- const { hasChildren: p, getChildren: y, allChildrenSelected: g, someChildrenSelected: V } = oe(i, l.optionChildrenKey), b = (n) => {
49
+ }), h.value = [...o.options], f.value = [...o.options];
50
+ }, { hasChildren: p, getChildren: y, allChildrenSelected: K, someChildrenSelected: z } = ie(i, o.optionChildrenKey), E = (n) => {
64
51
  if (p(n)) {
65
- g(n) ? i.value = i.value.filter(
66
- (t) => !y(n).includes(t)
52
+ K(n) ? i.value = i.value.filter(
53
+ (l) => !y(n).includes(l)
67
54
  ) : i.value = [
68
- ...i.value.filter((t) => !y(n).includes(t)),
55
+ ...i.value.filter((l) => !y(n).includes(l)),
69
56
  ...y(n)
70
57
  ];
71
58
  return;
72
59
  }
73
60
  i.value.includes(n) ? i.value = i.value.filter(
74
- (t) => t !== n
61
+ (l) => l !== n
75
62
  ) : i.value = [...i.value, n];
76
- }, E = (n) => i.value.includes(n), D = (n) => 1 + (p(n) ? y(n).length : 0), B = () => {
63
+ }, S = (n) => i.value.includes(n), V = (n) => 1 + (p(n) ? y(n).length : 0), D = () => {
77
64
  I("update:selected", i.value);
78
- }, M = () => {
65
+ }, B = () => {
79
66
  i.value = [];
80
- }, P = () => {
67
+ }, L = () => {
81
68
  const n = /* @__PURE__ */ new Set([]);
82
- h.value.forEach((e) => {
83
- if (l.selected?.includes(e))
69
+ f.value.forEach((e) => {
70
+ if (o.selected?.includes(e))
84
71
  n.add(e);
85
- else if (e[l.optionChildrenKey] && e[l.optionChildrenKey].length) {
86
- for (const r of e[l.optionChildrenKey])
87
- if (l.selected?.includes(r)) {
72
+ else if (e[o.optionChildrenKey] && e[o.optionChildrenKey].length) {
73
+ for (const s of e[o.optionChildrenKey])
74
+ if (o.selected?.includes(s)) {
88
75
  n.add(e);
89
76
  break;
90
77
  }
91
78
  }
92
79
  });
93
- const t = Array.from(n);
94
- return h.value.forEach((e) => {
95
- !l.selected.includes(e) && !n.has(e) && t.push(e);
96
- }), t;
80
+ const l = Array.from(n);
81
+ return f.value.forEach((e) => {
82
+ !o.selected.includes(e) && !n.has(e) && l.push(e);
83
+ }), l;
97
84
  };
98
- v(
99
- () => l.isOpen,
85
+ G(() => {
86
+ w.value || (b(), w.value = !0, o.preExpandedOptions && o.preExpandedOptions.forEach((n) => {
87
+ a.value[n] = 1;
88
+ }));
89
+ }), m(
90
+ () => o.options,
100
91
  () => {
101
- l.isOpen ? f.value = P() : (i.value = [...l.selected], u.value = "");
92
+ b();
93
+ }
94
+ ), m(
95
+ () => o.selected,
96
+ () => {
97
+ i.value = [...o.selected];
98
+ }
99
+ ), m(
100
+ () => o.isOpen,
101
+ () => {
102
+ o.isOpen ? h.value = L() : (i.value = [...o.selected], u.value = "");
102
103
  }
103
104
  );
104
- const d = s({}), x = (n) => {
105
- d.value[n[l.optionUniqueIdKey]] ? delete d.value[n[l.optionUniqueIdKey]] : d.value[n[l.optionUniqueIdKey]] = 1;
105
+ const a = c({}), M = (n) => {
106
+ a.value[n[o.optionUniqueIdKey]] ? delete a.value[n[o.optionUniqueIdKey]] : a.value[n[o.optionUniqueIdKey]] = 1;
106
107
  };
107
- function A(n, t) {
108
- const e = n.toLowerCase(), r = [];
109
- return t.value.forEach((c) => {
110
- const C = c[l.optionNameKey].toLowerCase().includes(e), T = w.value[c[l.optionUniqueIdKey]]?.filter(
111
- ($) => $[l.optionNameKey].toLowerCase().includes(e)
108
+ function P(n, l) {
109
+ const e = n.toLowerCase(), s = [];
110
+ return l.value.forEach((r) => {
111
+ const C = r[o.optionNameKey].toLowerCase().includes(e), T = O.value[r[o.optionUniqueIdKey]]?.filter(
112
+ (j) => j[o.optionNameKey].toLowerCase().includes(e)
112
113
  ) || [];
113
- (C || T.length > 0) && (c[l.optionChildrenKey] = T, r.push(c));
114
- }), r;
114
+ (C || T.length > 0) && (r[o.optionChildrenKey] = T, s.push(r));
115
+ }), s;
115
116
  }
116
- const L = (n) => {
117
- const t = A(n, h);
118
- n && (Object.keys(d.value).forEach((e) => {
119
- delete d.value[e];
120
- }), t.forEach((e) => {
121
- Array.isArray(e[l.optionChildrenKey]) && e[l.optionChildrenKey].length && (d.value[e[l.optionUniqueIdKey]] = 1);
122
- })), f.value = t;
123
- };
124
- return v(
117
+ const A = (n) => {
118
+ const l = P(n, f);
119
+ n && (Object.keys(a.value).forEach((e) => {
120
+ delete a.value[e];
121
+ }), l.forEach((e) => {
122
+ Array.isArray(e[o.optionChildrenKey]) && e[o.optionChildrenKey].length && (a.value[e[o.optionUniqueIdKey]] = 1);
123
+ })), h.value = l;
124
+ }, $ = H(() => {
125
+ const n = o.options.length, l = o.options.reduce(
126
+ (e, s) => (a.value[s[o.optionUniqueIdKey]] && (e = e + s[o.optionChildrenKey].length), e),
127
+ 0
128
+ );
129
+ return n + l;
130
+ });
131
+ return m(
125
132
  () => u.value,
126
133
  () => {
127
- L(u.value);
134
+ A(u.value);
128
135
  }
129
- ), (n, t) => (m(), U(a(ne), {
136
+ ), (n, l) => (v(), U(d(te), {
130
137
  multi: "",
131
138
  class: "tree-dropdown",
132
139
  "show-select-all": !1,
133
- "is-open": o.isOpen,
134
- options: f.value,
135
- selected: o.selected,
136
- "display-value": o.displayValue,
137
- placeholder: o.placeholder,
140
+ "is-open": t.isOpen,
141
+ options: h.value,
142
+ selected: t.selected,
143
+ "display-value": t.displayValue,
144
+ placeholder: t.placeholder,
138
145
  "inline-search": "",
139
- "inline-search-placeholder": o.inlineSearchPlaceholder,
140
- "option-name-key": o.optionNameKey,
141
- size: o.size,
142
- "test-id": o.testId,
143
- disabled: o.disabled,
146
+ "inline-search-placeholder": t.inlineSearchPlaceholder,
147
+ "option-name-key": t.optionNameKey,
148
+ size: t.size,
149
+ "test-id": t.testId,
150
+ disabled: t.disabled,
144
151
  "disable-virtual-scroll": "",
145
- "override-option-count-calculation": D,
152
+ "override-option-count-calculation": V,
146
153
  "trigger-show-all-selected-text": !1,
147
154
  "predefined-trigger": "default",
148
- "onUpdate:isOpen": t[1] || (t[1] = (e) => I("update:isOpen", e)),
149
- onApply: B,
150
- onClear: M
155
+ "custom-number-of-displayed-options": d($),
156
+ "onUpdate:isOpen": l[1] || (l[1] = (e) => I("update:isOpen", e)),
157
+ onApply: D,
158
+ onClear: B
151
159
  }, {
152
- "dropdown-trigger": K(({ defaultTriggerProps: e }) => [
153
- k(a(le), G(H(e)), J({ _: 2 }, [
160
+ "dropdown-trigger": g(({ defaultTriggerProps: e }) => [
161
+ k(d(le), J(Q(e)), W({ _: 2 }, [
154
162
  n.$slots["trigger-end-icon"] ? {
155
163
  name: "end-icon",
156
- fn: K(() => [
157
- Q(n.$slots, "trigger-end-icon", {}, void 0, !0)
164
+ fn: g(() => [
165
+ X(n.$slots, "trigger-end-icon", {}, void 0, !0)
158
166
  ]),
159
167
  key: "0"
160
168
  } : void 0
161
169
  ]), 1040)
162
170
  ]),
163
- "inline-search": K(() => [
164
- k(a(te), {
171
+ "inline-search": g(() => [
172
+ k(d(de), {
165
173
  modelValue: u.value,
166
- "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value = e),
167
- placeholder: o.inlineSearchPlaceholder,
174
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => u.value = e),
175
+ placeholder: t.inlineSearchPlaceholder,
168
176
  variant: "transparent",
169
177
  size: "md",
170
178
  "auto-focus": "",
171
- "test-id": o.testId
179
+ "test-id": t.testId
172
180
  }, null, 8, ["modelValue", "placeholder", "test-id"])
173
181
  ]),
174
- default: K(({ option: e, index: r }) => [
175
- k(a(z), {
182
+ default: g(({ option: e, index: s }) => [
183
+ k(d(x), {
176
184
  option: e,
177
- "selected-prop": a(p)(e) ? a(g)(e) : E(e),
178
- "is-indeterminate": !a(g)(e) && a(V)(e),
179
- disabled: e[o.disabledOptionKey],
180
- "name-key": o.optionNameKey,
181
- "image-key": o.optionImageKey,
182
- "icon-key": o.optionIconKey,
183
- "icon-type": o.optionIconType,
184
- "end-icon-key": o.optionEndIconKey,
185
- "end-icon-type": o.optionEndIconType,
186
- "tree-main-option": a(p)(e),
187
- "tree-main-option-expanded": d.value[e[o.optionUniqueIdKey]],
185
+ "selected-prop": d(p)(e) ? d(K)(e) : S(e),
186
+ "is-indeterminate": !d(K)(e) && d(z)(e),
187
+ disabled: e[t.disabledOptionKey],
188
+ "name-key": t.optionNameKey,
189
+ "image-key": t.optionImageKey,
190
+ "icon-key": t.optionIconKey,
191
+ "icon-type": t.optionIconType,
192
+ "end-icon-key": t.optionEndIconKey,
193
+ "end-icon-type": t.optionEndIconType,
194
+ "tree-main-option": d(p)(e),
195
+ "tree-main-option-expanded": a.value[e[t.optionUniqueIdKey]],
188
196
  "stop-option-click-event-propagation": "",
189
- onClick: q(() => b(e), ["stop"]),
190
- onToggleTreeCollapse: x
197
+ onClick: N(() => E(e), ["stop"]),
198
+ onToggleTreeCollapse: M
191
199
  }, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "tree-main-option", "tree-main-option-expanded", "onClick"]),
192
- a(p)(e) ? (m(), N("div", ie, [
193
- W(X("div", null, [
194
- (m(!0), N(Y, null, Z(a(y)(e), (c, C) => (m(), U(a(z), {
195
- key: `${r}-${C}`,
196
- option: c,
197
- "selected-prop": E(c),
198
- disabled: c[o.disabledOptionKey],
199
- "name-key": o.optionNameKey,
200
- "image-key": o.optionImageKey,
201
- "icon-key": o.optionIconKey,
202
- "icon-type": o.optionIconType,
203
- "end-icon-key": o.optionEndIconKey,
204
- "end-icon-type": o.optionEndIconType,
205
- "tree-child-shown": d.value[e[o.optionUniqueIdKey]],
200
+ d(p)(e) ? (v(), q("div", ae, [
201
+ Y(Z("div", null, [
202
+ (v(!0), q(_, null, ee(d(y)(e), (r, C) => (v(), U(d(x), {
203
+ key: `${s}-${C}`,
204
+ option: r,
205
+ "selected-prop": S(r),
206
+ disabled: r[t.disabledOptionKey],
207
+ "name-key": t.optionNameKey,
208
+ "image-key": t.optionImageKey,
209
+ "icon-key": t.optionIconKey,
210
+ "icon-type": t.optionIconType,
211
+ "end-icon-key": t.optionEndIconKey,
212
+ "end-icon-type": t.optionEndIconType,
213
+ "tree-child-shown": a.value[e[t.optionUniqueIdKey]],
206
214
  "stop-option-click-event-propagation": "",
207
- onClick: q(() => b(c), ["stop"])
215
+ onClick: N(() => E(r), ["stop"])
208
216
  }, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "tree-child-shown", "onClick"]))), 128))
209
217
  ], 512), [
210
- [_, d.value[e[o.optionUniqueIdKey]]]
218
+ [ne, a.value[e[t.optionUniqueIdKey]]]
211
219
  ])
212
- ])) : ee("", !0)
220
+ ])) : oe("", !0)
213
221
  ]),
214
222
  _: 3
215
- }, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled"]));
223
+ }, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]));
216
224
  }
217
225
  });
218
226
  export {
219
- Ke as default
227
+ Ce as default
220
228
  };
@@ -1704,6 +1704,7 @@ declare const DropdownTypes: () => (({
1704
1704
  optionTwoLinesKey: string;
1705
1705
  groupedOptions: boolean;
1706
1706
  comparingKey: string;
1707
+ customNumberOfDisplayedOptions: number;
1707
1708
  fullWidth: boolean;
1708
1709
  optionsListWidth: string;
1709
1710
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
@@ -1912,6 +1913,10 @@ declare const DropdownTypes: () => (({
1912
1913
  type: import("vue").PropType<string>;
1913
1914
  default: any;
1914
1915
  };
1916
+ customNumberOfDisplayedOptions: {
1917
+ type: import("vue").PropType<number>;
1918
+ default: any;
1919
+ };
1915
1920
  fullWidth: {
1916
1921
  type: import("vue").PropType<boolean>;
1917
1922
  default: boolean;
@@ -1942,7 +1947,7 @@ declare const DropdownTypes: () => (({
1942
1947
  onOnsearch?: (value: string) => any;
1943
1948
  onOpened?: () => any;
1944
1949
  onClosed?: () => any;
1945
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "onClear" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionFlagKey" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1950
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "onClear" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionFlagKey" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1946
1951
  $attrs: {
1947
1952
  [x: string]: unknown;
1948
1953
  };
@@ -2159,6 +2164,10 @@ declare const DropdownTypes: () => (({
2159
2164
  type: import("vue").PropType<string>;
2160
2165
  default: any;
2161
2166
  };
2167
+ customNumberOfDisplayedOptions: {
2168
+ type: import("vue").PropType<number>;
2169
+ default: any;
2170
+ };
2162
2171
  fullWidth: {
2163
2172
  type: import("vue").PropType<boolean>;
2164
2173
  default: boolean;
@@ -2250,6 +2259,7 @@ declare const DropdownTypes: () => (({
2250
2259
  optionTwoLinesKey: string;
2251
2260
  groupedOptions: boolean;
2252
2261
  comparingKey: string;
2262
+ customNumberOfDisplayedOptions: number;
2253
2263
  fullWidth: boolean;
2254
2264
  optionsListWidth: string;
2255
2265
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
@@ -2478,6 +2488,10 @@ declare const DropdownTypes: () => (({
2478
2488
  type: import("vue").PropType<string>;
2479
2489
  default: any;
2480
2490
  };
2491
+ customNumberOfDisplayedOptions: {
2492
+ type: import("vue").PropType<number>;
2493
+ default: any;
2494
+ };
2481
2495
  fullWidth: {
2482
2496
  type: import("vue").PropType<boolean>;
2483
2497
  default: boolean;
@@ -2718,6 +2732,10 @@ declare const DropdownTypes: () => (({
2718
2732
  type: import("vue").PropType<string>;
2719
2733
  default: any;
2720
2734
  };
2735
+ customNumberOfDisplayedOptions: {
2736
+ type: import("vue").PropType<number>;
2737
+ default: any;
2738
+ };
2721
2739
  fullWidth: {
2722
2740
  type: import("vue").PropType<boolean>;
2723
2741
  default: boolean;
@@ -2809,6 +2827,7 @@ declare const DropdownTypes: () => (({
2809
2827
  optionTwoLinesKey: string;
2810
2828
  groupedOptions: boolean;
2811
2829
  comparingKey: string;
2830
+ customNumberOfDisplayedOptions: number;
2812
2831
  fullWidth: boolean;
2813
2832
  optionsListWidth: string;
2814
2833
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
@@ -3036,7 +3055,11 @@ declare const DropdownTypes: () => (({
3036
3055
  required: true;
3037
3056
  };
3038
3057
  optionUniqueIdKey: {
3039
- type: import("vue").PropType<string>;
3058
+ type: import("vue").PropType<string | number>;
3059
+ required: true;
3060
+ };
3061
+ preExpandedOptions: {
3062
+ type: import("vue").PropType<string[] | number[]>;
3040
3063
  required: true;
3041
3064
  };
3042
3065
  }>> & {
@@ -3129,7 +3152,11 @@ declare const DropdownTypes: () => (({
3129
3152
  required: true;
3130
3153
  };
3131
3154
  optionUniqueIdKey: {
3132
- type: import("vue").PropType<string>;
3155
+ type: import("vue").PropType<string | number>;
3156
+ required: true;
3157
+ };
3158
+ preExpandedOptions: {
3159
+ type: import("vue").PropType<string[] | number[]>;
3133
3160
  required: true;
3134
3161
  };
3135
3162
  }>> & {
@@ -3246,7 +3273,11 @@ declare const DropdownTypes: () => (({
3246
3273
  required: true;
3247
3274
  };
3248
3275
  optionUniqueIdKey: {
3249
- type: import("vue").PropType<string>;
3276
+ type: import("vue").PropType<string | number>;
3277
+ required: true;
3278
+ };
3279
+ preExpandedOptions: {
3280
+ type: import("vue").PropType<string[] | number[]>;
3250
3281
  required: true;
3251
3282
  };
3252
3283
  }>> & {
@@ -3329,7 +3360,11 @@ declare const DropdownTypes: () => (({
3329
3360
  required: true;
3330
3361
  };
3331
3362
  optionUniqueIdKey: {
3332
- type: import("vue").PropType<string>;
3363
+ type: import("vue").PropType<string | number>;
3364
+ required: true;
3365
+ };
3366
+ preExpandedOptions: {
3367
+ type: import("vue").PropType<string[] | number[]>;
3333
3368
  required: true;
3334
3369
  };
3335
3370
  }>> & {