@ironsource/shared-ui 2.1.11-rc.16 → 2.1.11-rc.18

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 (25) hide show
  1. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_93545ce0_lang.css +1 -0
  2. package/PopoverV4.vue_vue_type_style_index_0_scoped_052bc376_lang.css +1 -0
  3. package/components/autocomplete/Autocomplete.vue2.js +1 -1
  4. package/components/chart/SettingsHeader.vue2.js +1 -1
  5. package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
  6. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  7. package/components/dropdown/v3/index.d.ts +12 -12
  8. package/components/dropdown/v4/{ConditionalDroprown.vue.d.ts → ConditionalDropdown.vue.d.ts} +7 -0
  9. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  10. package/components/dropdown/v4/{ConditionalDroprown.vue2.js → ConditionalDropdown.vue2.js} +44 -42
  11. package/components/dropdown/v4/DropdownV4.vue2.js +1 -1
  12. package/components/dropdown/v4/TreeDropdown.vue2.js +1 -1
  13. package/components/dropdown/v4/index.d.ts +25 -14
  14. package/components/dropdown/v4/index.js +3 -3
  15. package/components/multibar/MultiBarMenu.vue2.js +1 -1
  16. package/components/popover/v4/PopoverV4.vue.d.ts +5 -0
  17. package/components/popover/v4/PopoverV4.vue.js +4 -3
  18. package/components/popover/v4/PopoverV4.vue2.js +36 -24
  19. package/components/popover/v4/index.d.ts +20 -1
  20. package/components/table/v4/DataGridMenu.vue2.js +1 -1
  21. package/index.d.ts +87 -27
  22. package/package.json +1 -1
  23. package/ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css +0 -1
  24. package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +0 -1
  25. package/components/dropdown/v4/ConditionalDroprown.vue.js +0 -7
@@ -0,0 +1 @@
1
+ .custom-list-area[data-v-93545ce0]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:53px 43px}.inline-search[data-v-93545ce0]{width:100%}.contain-accept[data-v-93545ce0]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-93545ce0]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-93545ce0]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
@@ -0,0 +1 @@
1
+ div[data-v-052bc376]{display:block}
@@ -8,7 +8,7 @@ import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
8
  import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
9
9
  import "../dropdown/v4/TreeDropdown.vue.js";
10
10
  import "../dropdown/v4/OptionV4.vue.js";
11
- import "../dropdown/v4/ConditionalDroprown.vue.js";
11
+ import "../dropdown/v4/ConditionalDropdown.vue.js";
12
12
  import N from "../input/v4/TextField.vue.js";
13
13
  import { useVModel as O } from "@vueuse/core";
14
14
  import D from "../shared/FieldHelpText.vue.js";
@@ -8,7 +8,7 @@ import k from "../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
8
  import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
9
9
  import "../dropdown/v4/TreeDropdown.vue.js";
10
10
  import "../dropdown/v4/OptionV4.vue.js";
11
- import "../dropdown/v4/ConditionalDroprown.vue.js";
11
+ import "../dropdown/v4/ConditionalDropdown.vue.js";
12
12
  import { DROPDOWN_TYPE_OPTIONS as c } from "./consts.js";
13
13
  const _ = { class: "settings-header-container" }, B = { class: "chart-type-selection" }, x = /* @__PURE__ */ h({
14
14
  __name: "SettingsHeader",
@@ -11,7 +11,7 @@ import "../../dropdown/v4/ButtonDropdownTrigger.vue.js";
11
11
  import w from "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
12
12
  import "../../dropdown/v4/TreeDropdown.vue.js";
13
13
  import "../../dropdown/v4/OptionV4.vue.js";
14
- import "../../dropdown/v4/ConditionalDroprown.vue.js";
14
+ import "../../dropdown/v4/ConditionalDropdown.vue.js";
15
15
  const $ = ["id", "data-testid"], S = /* @__PURE__ */ g({
16
16
  __name: "DatePickerV4",
17
17
  props: {
@@ -14,7 +14,7 @@ import "../../dropdown/v4/ButtonDropdownTrigger.vue.js";
14
14
  import ee from "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
15
15
  import "../../dropdown/v4/TreeDropdown.vue.js";
16
16
  import "../../dropdown/v4/OptionV4.vue.js";
17
- import "../../dropdown/v4/ConditionalDroprown.vue.js";
17
+ import "../../dropdown/v4/ConditionalDropdown.vue.js";
18
18
  import { DateRangeTestIdModifiers as o, DatePickerTestIdModifiers as te } from "../../../testids/index.js";
19
19
  import { dateRangeCommon as ae } from "../common/DateRange.common.js";
20
20
  import p from "../../typography/v4/Typography.vue.js";
@@ -93,13 +93,13 @@ declare const DropdownTypes: () => (({
93
93
  type: import("vue").PropType<string>;
94
94
  default: string;
95
95
  };
96
+ isOpen: {
97
+ type: import("vue").PropType<boolean>;
98
+ };
96
99
  skidding: {
97
100
  type: import("vue").PropType<number>;
98
101
  default: number;
99
102
  };
100
- isOpen: {
101
- type: import("vue").PropType<boolean>;
102
- };
103
103
  modelValue: {
104
104
  type: import("vue").PropType<unknown>;
105
105
  default: any;
@@ -269,13 +269,13 @@ declare const DropdownTypes: () => (({
269
269
  type: import("vue").PropType<string>;
270
270
  default: string;
271
271
  };
272
+ isOpen: {
273
+ type: import("vue").PropType<boolean>;
274
+ };
272
275
  skidding: {
273
276
  type: import("vue").PropType<number>;
274
277
  default: number;
275
278
  };
276
- isOpen: {
277
- type: import("vue").PropType<boolean>;
278
- };
279
279
  modelValue: {
280
280
  type: import("vue").PropType<unknown>;
281
281
  default: any;
@@ -497,13 +497,13 @@ declare const DropdownTypes: () => (({
497
497
  type: import("vue").PropType<string>;
498
498
  default: string;
499
499
  };
500
+ isOpen: {
501
+ type: import("vue").PropType<boolean>;
502
+ };
500
503
  skidding: {
501
504
  type: import("vue").PropType<number>;
502
505
  default: number;
503
506
  };
504
- isOpen: {
505
- type: import("vue").PropType<boolean>;
506
- };
507
507
  modelValue: {
508
508
  type: import("vue").PropType<unknown>;
509
509
  default: any;
@@ -666,13 +666,13 @@ declare const DropdownTypes: () => (({
666
666
  type: import("vue").PropType<string>;
667
667
  default: string;
668
668
  };
669
+ isOpen: {
670
+ type: import("vue").PropType<boolean>;
671
+ };
669
672
  skidding: {
670
673
  type: import("vue").PropType<number>;
671
674
  default: number;
672
675
  };
673
- isOpen: {
674
- type: import("vue").PropType<boolean>;
675
- };
676
676
  modelValue: {
677
677
  type: import("vue").PropType<unknown>;
678
678
  default: any;
@@ -13,15 +13,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
13
13
  fetchFnCallback: (q: string) => Promise<unknown[]>;
14
14
  optionNameKey: string;
15
15
  minCharsToStart?: number;
16
+ isOpen?: boolean;
16
17
  }>, {
17
18
  label: string;
18
19
  testId: string;
19
20
  comparingKey: string;
20
21
  optionNameKey: string;
21
22
  minCharsToStart: number;
23
+ isOpen: boolean;
22
24
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
25
  "update:selectedCondition": (value: SelectedCondition) => void;
24
26
  "update:appliedSelections": (value: unknown) => void;
27
+ clear: () => void;
25
28
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
26
29
  selectedCondition: SelectedCondition | null;
27
30
  appliedSelections: unknown | unknown[];
@@ -32,18 +35,22 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
32
35
  fetchFnCallback: (q: string) => Promise<unknown[]>;
33
36
  optionNameKey: string;
34
37
  minCharsToStart?: number;
38
+ isOpen?: boolean;
35
39
  }>, {
36
40
  label: string;
37
41
  testId: string;
38
42
  comparingKey: string;
39
43
  optionNameKey: string;
40
44
  minCharsToStart: number;
45
+ isOpen: boolean;
41
46
  }>>> & {
47
+ onClear?: () => any;
42
48
  "onUpdate:selectedCondition"?: (value: SelectedCondition) => any;
43
49
  "onUpdate:appliedSelections"?: (value: unknown) => any;
44
50
  }, {
45
51
  label: string;
46
52
  testId: string;
53
+ isOpen: boolean;
47
54
  optionNameKey: string;
48
55
  comparingKey: string;
49
56
  minCharsToStart: number;
@@ -0,0 +1,7 @@
1
+ import o from "./ConditionalDropdown.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_93545ce0_lang.css"; //*');
4
+ const n = /* @__PURE__ */ e(o, [["__scopeId", "data-v-93545ce0"]]);
5
+ export {
6
+ n as default
7
+ };
@@ -1,5 +1,5 @@
1
- import "../../../ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css"; import { defineComponent as E, computed as f, ref as u, watch as y, openBlock as w, createBlock as A, unref as s, withCtx as m, createVNode as h, mergeProps as B, createElementVNode as F, isRef as U, createElementBlock as $, createTextVNode as z, toDisplayString as M, createCommentVNode as P } from "vue";
2
- import N from "./DropdownV4.vue.js";
1
+ import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_93545ce0_lang.css"; import { defineComponent as B, computed as f, ref as s, watch as b, openBlock as k, createBlock as E, unref as u, withCtx as m, createVNode as h, mergeProps as A, createElementVNode as F, isRef as U, createElementBlock as $, createTextVNode as z, toDisplayString as M, createCommentVNode as P } from "vue";
2
+ import w from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
5
  import I from "./ChipDropdownTrigger.vue.js";
@@ -8,15 +8,15 @@ import "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import "./OptionV4.vue.js";
11
- import "./ConditionalDroprown.vue.js";
11
+ import "./ConditionalDropdown.vue.js";
12
12
  import L from "../../search/v4/SearchV4.vue.js";
13
13
  import Q from "../../typography/v4/Typography.vue.js";
14
14
  import { useDebounceFn as R } from "@vueuse/core";
15
15
  const j = { class: "conditional-container" }, q = {
16
16
  key: 0,
17
17
  class: "custom-list-area"
18
- }, ue = /* @__PURE__ */ E({
19
- __name: "ConditionalDroprown",
18
+ }, se = /* @__PURE__ */ B({
19
+ __name: "ConditionalDropdown",
20
20
  props: {
21
21
  selectedCondition: null,
22
22
  appliedSelections: null,
@@ -26,34 +26,35 @@ const j = { class: "conditional-container" }, q = {
26
26
  comparingKey: { default: "id" },
27
27
  fetchFnCallback: null,
28
28
  optionNameKey: { default: "name" },
29
- minCharsToStart: { default: 3 }
29
+ minCharsToStart: { default: 3 },
30
+ isOpen: { type: Boolean, default: !1 }
30
31
  },
31
- emits: ["update:selectedCondition", "update:appliedSelections"],
32
- setup(p, { emit: b }) {
33
- const t = p, g = f({
32
+ emits: ["update:selectedCondition", "update:appliedSelections", "clear"],
33
+ setup(c, { emit: y }) {
34
+ const t = c, g = f({
34
35
  get: () => t.appliedSelections,
35
36
  set: (o) => {
36
- b("update:appliedSelections", o);
37
+ y("update:appliedSelections", o);
37
38
  }
38
39
  }), a = f({
39
40
  get: () => t.selectedCondition || t.conditionalOptions[0],
40
41
  set: (o) => {
41
- b("update:selectedCondition", o);
42
+ y("update:selectedCondition", o);
42
43
  }
43
- }), c = u(!0), e = u([]), d = u([]), C = u(!0), r = u(!1), l = u(""), O = u(""), v = u(t.label), D = f(() => (!l.value || l.value?.length < t.minCharsToStart) && !e.value.length ? `Enter at least ${t.minCharsToStart} keywords to begin` : "No results found"), T = f(() => {
44
- const o = c.value ? 2.5 : 4;
44
+ }), d = s(!0), e = s([]), p = s([]), C = s(!0), r = s(!1), l = s(""), N = s(""), v = s(t.label), D = f(() => (!l.value || l.value?.length < t.minCharsToStart) && !e.value.length ? `Enter at least ${t.minCharsToStart} keywords to begin` : "No results found"), T = f(() => {
45
+ const o = d.value ? 2.5 : 4;
45
46
  return e.value.length ? null : o;
46
47
  }), K = R(async (o) => {
47
48
  try {
48
49
  r.value = !0;
49
50
  const i = await t.fetchFnCallback(o);
50
- r.value = !1, e.value = i, k();
51
+ r.value = !1, e.value = i, O();
51
52
  } catch (i) {
52
53
  console.error("Error fetching data:", i);
53
54
  }
54
55
  }, 400), S = (o) => {
55
56
  o.length >= t.minCharsToStart ? K(o) : e.value = [];
56
- }, k = () => {
57
+ }, O = () => {
57
58
  l.value && e.value.length && !r.value && !a.value.multi ? e.value[0].conditionalOptions ? e.value[0] = {
58
59
  name: l.value,
59
60
  conditionalOptions: !0,
@@ -69,57 +70,58 @@ const j = { class: "conditional-container" }, q = {
69
70
  ...e.value
70
71
  ] : e.value.length && e.value[0].conditionalOptions && e.value.shift();
71
72
  };
72
- y(l, () => {
73
+ b(l, () => {
73
74
  S(l.value);
74
- }), y(a, () => {
75
- k();
75
+ }), b(a, () => {
76
+ O();
76
77
  });
77
78
  const V = () => {
78
- O.value = l.value, v.value = `${t.label} ${a.value.label.toLowerCase()}`, g.value = c.value ? [...d.value] : { ...d.value }, C.value = c.value;
79
+ N.value = l.value, v.value = `${t.label} ${a.value.label.toLowerCase()}`, g.value = d.value ? [...p.value] : { ...p.value }, C.value = d.value;
79
80
  };
80
- y(a, () => {
81
- a.value.multi ? (r.value = !0, d.value = [], setTimeout(() => {
82
- r.value = !1, c.value = !0;
81
+ b(a, () => {
82
+ a.value.multi ? (r.value = !0, p.value = [], setTimeout(() => {
83
+ r.value = !1, d.value = !0;
83
84
  }, 100)) : setTimeout(() => {
84
- c.value = !1;
85
+ d.value = !1;
85
86
  }, 100);
86
87
  });
87
88
  const x = () => {
88
- d.value = [], g.value = [], a.value = null, v.value = t.label, l.value = "";
89
+ p.value = [], g.value = [], a.value = null, v.value = t.label, l.value = "", y("clear");
89
90
  };
90
- return (o, i) => (w(), A(s(N), {
91
- selected: d.value,
92
- "onUpdate:selected": i[2] || (i[2] = (n) => d.value = n),
91
+ return (o, i) => (k(), E(u(w), {
92
+ selected: p.value,
93
+ "onUpdate:selected": i[2] || (i[2] = (n) => p.value = n),
93
94
  "predefined-trigger": "chip",
94
- "display-value": (n) => n?.[p.optionNameKey],
95
- multi: c.value,
95
+ "display-value": (n) => n?.[c.optionNameKey],
96
+ multi: d.value,
96
97
  options: e.value,
97
98
  placeholder: v.value,
98
99
  "search-placeholder": "Search",
99
- "option-name-key": p.optionNameKey,
100
+ "option-name-key": c.optionNameKey,
100
101
  "with-conditions": "",
101
102
  "inline-search": "",
102
- "custom-number-of-displayed-options": s(T),
103
+ "custom-number-of-displayed-options": u(T),
103
104
  "options-list-width": "330px",
104
105
  loading: r.value,
105
- "comparing-key": p.comparingKey,
106
+ "comparing-key": c.comparingKey,
107
+ "is-open": c.isOpen,
106
108
  onOnsearch: S,
107
109
  onApply: V
108
110
  }, {
109
111
  "dropdown-trigger": m(({ defaultTriggerProps: n }) => [
110
- h(s(I), B(n, {
112
+ h(u(I), A(n, {
111
113
  label: v.value,
112
- "selected-option": s(g),
114
+ "selected-option": u(g),
113
115
  multi: C.value,
114
116
  onClear: x
115
117
  }), null, 16, ["label", "selected-option", "multi"])
116
118
  ]),
117
119
  "dropdown-conditions": m(() => [
118
120
  F("div", j, [
119
- h(s(N), {
120
- selected: s(a),
121
+ h(u(w), {
122
+ selected: u(a),
121
123
  "onUpdate:selected": i[0] || (i[0] = (n) => U(a) ? a.value = n : null),
122
- options: p.conditionalOptions,
124
+ options: c.conditionalOptions,
123
125
  "option-name-key": "label",
124
126
  "display-value": (n) => n?.label,
125
127
  container: ".conditional-container",
@@ -128,7 +130,7 @@ const j = { class: "conditional-container" }, q = {
128
130
  ])
129
131
  ]),
130
132
  "inline-search": m(() => [
131
- h(s(L), {
133
+ h(u(L), {
132
134
  modelValue: l.value,
133
135
  "onUpdate:modelValue": i[1] || (i[1] = (n) => l.value = n),
134
136
  class: "inline-search",
@@ -139,19 +141,19 @@ const j = { class: "conditional-container" }, q = {
139
141
  }, null, 8, ["modelValue"])
140
142
  ]),
141
143
  "custom-list-area": m(() => [
142
- !e.value.length && !r.value ? (w(), $("div", q, [
144
+ !e.value.length && !r.value ? (k(), $("div", q, [
143
145
  h(Q, { variant: "body1" }, {
144
146
  default: m(() => [
145
- z(M(s(D)), 1)
147
+ z(M(u(D)), 1)
146
148
  ]),
147
149
  _: 1
148
150
  })
149
151
  ])) : P("", !0)
150
152
  ]),
151
153
  _: 1
152
- }, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "comparing-key"]));
154
+ }, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "comparing-key", "is-open"]));
153
155
  }
154
156
  });
155
157
  export {
156
- ue as default
158
+ se as default
157
159
  };
@@ -12,7 +12,7 @@ import "./ButtonDropdownTrigger.vue.js";
12
12
  import "./ButtonFilterDropdownTrigger.vue.js";
13
13
  import "./TreeDropdown.vue.js";
14
14
  import q from "./OptionV4.vue.js";
15
- import "./ConditionalDroprown.vue.js";
15
+ import "./ConditionalDropdown.vue.js";
16
16
  import Ce from "../../search/v4/SearchV4.vue.js";
17
17
  import Y from "../../typography/v4/Typography.vue.js";
18
18
  import { Dropdown as Se } from "floating-vue";
@@ -8,7 +8,7 @@ import "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import S from "./OptionV4.vue.js";
11
- import "./ConditionalDroprown.vue.js";
11
+ import "./ConditionalDropdown.vue.js";
12
12
  import { useChildOptions as ye } from "../composables/useChildOptions.js";
13
13
  import he from "../../search/v4/SearchV4.vue.js";
14
14
  import { useTestIdAttrs as fe } from "../../../utils/testIds.js";
@@ -7,7 +7,7 @@ import ButtonDropdownTrigger from './ButtonDropdownTrigger.vue';
7
7
  import ButtonFilterDropdownTrigger from './ButtonFilterDropdownTrigger.vue';
8
8
  import TreeDropdown from './TreeDropdown.vue';
9
9
  import Option from './OptionV4.vue';
10
- import ConditionalDroprown from './ConditionalDroprown.vue';
10
+ import ConditionalDropdown from './ConditionalDropdown.vue';
11
11
  declare const DropdownTypes: () => (({
12
12
  new (...args: any[]): {
13
13
  $: import("vue").ComponentInternalInstance;
@@ -1795,13 +1795,13 @@ declare const DropdownTypes: () => (({
1795
1795
  loading: {
1796
1796
  type: import("vue").PropType<boolean>;
1797
1797
  };
1798
+ isOpen: {
1799
+ type: import("vue").PropType<boolean>;
1800
+ };
1798
1801
  skidding: {
1799
1802
  type: import("vue").PropType<number>;
1800
1803
  default: number;
1801
1804
  };
1802
- isOpen: {
1803
- type: import("vue").PropType<boolean>;
1804
- };
1805
1805
  modelValue: {
1806
1806
  type: import("vue").PropType<unknown>;
1807
1807
  default: any;
@@ -2054,13 +2054,13 @@ declare const DropdownTypes: () => (({
2054
2054
  loading: {
2055
2055
  type: import("vue").PropType<boolean>;
2056
2056
  };
2057
+ isOpen: {
2058
+ type: import("vue").PropType<boolean>;
2059
+ };
2057
2060
  skidding: {
2058
2061
  type: import("vue").PropType<number>;
2059
2062
  default: number;
2060
2063
  };
2061
- isOpen: {
2062
- type: import("vue").PropType<boolean>;
2063
- };
2064
2064
  modelValue: {
2065
2065
  type: import("vue").PropType<unknown>;
2066
2066
  default: any;
@@ -2388,13 +2388,13 @@ declare const DropdownTypes: () => (({
2388
2388
  loading: {
2389
2389
  type: import("vue").PropType<boolean>;
2390
2390
  };
2391
+ isOpen: {
2392
+ type: import("vue").PropType<boolean>;
2393
+ };
2391
2394
  skidding: {
2392
2395
  type: import("vue").PropType<number>;
2393
2396
  default: number;
2394
2397
  };
2395
- isOpen: {
2396
- type: import("vue").PropType<boolean>;
2397
- };
2398
2398
  modelValue: {
2399
2399
  type: import("vue").PropType<unknown>;
2400
2400
  default: any;
@@ -2640,13 +2640,13 @@ declare const DropdownTypes: () => (({
2640
2640
  loading: {
2641
2641
  type: import("vue").PropType<boolean>;
2642
2642
  };
2643
+ isOpen: {
2644
+ type: import("vue").PropType<boolean>;
2645
+ };
2643
2646
  skidding: {
2644
2647
  type: import("vue").PropType<number>;
2645
2648
  default: number;
2646
2649
  };
2647
- isOpen: {
2648
- type: import("vue").PropType<boolean>;
2649
- };
2650
2650
  modelValue: {
2651
2651
  type: import("vue").PropType<unknown>;
2652
2652
  default: any;
@@ -3502,6 +3502,10 @@ declare const DropdownTypes: () => (({
3502
3502
  type: import("vue").PropType<string>;
3503
3503
  default: string;
3504
3504
  };
3505
+ isOpen: {
3506
+ type: import("vue").PropType<boolean>;
3507
+ default: boolean;
3508
+ };
3505
3509
  optionNameKey: {
3506
3510
  type: import("vue").PropType<string>;
3507
3511
  required: true;
@@ -3547,6 +3551,7 @@ declare const DropdownTypes: () => (({
3547
3551
  multi: boolean;
3548
3552
  }) => void;
3549
3553
  "update:appliedSelections": (value: unknown) => void;
3554
+ clear: () => void;
3550
3555
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3551
3556
  label: {
3552
3557
  type: import("vue").PropType<string>;
@@ -3557,6 +3562,10 @@ declare const DropdownTypes: () => (({
3557
3562
  type: import("vue").PropType<string>;
3558
3563
  default: string;
3559
3564
  };
3565
+ isOpen: {
3566
+ type: import("vue").PropType<boolean>;
3567
+ default: boolean;
3568
+ };
3560
3569
  optionNameKey: {
3561
3570
  type: import("vue").PropType<string>;
3562
3571
  required: true;
@@ -3596,6 +3605,7 @@ declare const DropdownTypes: () => (({
3596
3605
  default: number;
3597
3606
  };
3598
3607
  }>> & {
3608
+ onClear?: () => any;
3599
3609
  "onUpdate:selectedCondition"?: (value: {
3600
3610
  label: string;
3601
3611
  value: string;
@@ -3605,8 +3615,9 @@ declare const DropdownTypes: () => (({
3605
3615
  }, {
3606
3616
  label: string;
3607
3617
  testId: string;
3618
+ isOpen: boolean;
3608
3619
  optionNameKey: string;
3609
3620
  comparingKey: string;
3610
3621
  minCharsToStart: number;
3611
3622
  }>)[];
3612
- export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, ConditionalDroprown, };
3623
+ export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, ConditionalDropdown, };
@@ -7,7 +7,7 @@ import m from "./ButtonDropdownTrigger.vue.js";
7
7
  import n from "./ButtonFilterDropdownTrigger.vue.js";
8
8
  import e from "./TreeDropdown.vue.js";
9
9
  import g from "./OptionV4.vue.js";
10
- import f from "./ConditionalDroprown.vue.js";
10
+ import d from "./ConditionalDropdown.vue.js";
11
11
  const C = () => [
12
12
  o,
13
13
  r,
@@ -18,14 +18,14 @@ const C = () => [
18
18
  i,
19
19
  g,
20
20
  e,
21
- f
21
+ d
22
22
  ];
23
23
  export {
24
24
  i as AppDropdownTrigger,
25
25
  m as ButtonDropdownTrigger,
26
26
  n as ButtonFilterDropdownTrigger,
27
27
  t as ChipDropdownTrigger,
28
- f as ConditionalDroprown,
28
+ d as ConditionalDropdown,
29
29
  r as DefaultDropdownTrigger,
30
30
  o as Dropdown,
31
31
  C as DropdownTypes,
@@ -8,7 +8,7 @@ import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
8
  import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
9
9
  import "../dropdown/v4/TreeDropdown.vue.js";
10
10
  import g from "../dropdown/v4/OptionV4.vue.js";
11
- import "../dropdown/v4/ConditionalDroprown.vue.js";
11
+ import "../dropdown/v4/ConditionalDropdown.vue.js";
12
12
  import x from "../icon/v4/IconV4.vue.js";
13
13
  import "../icon/v4/IconFlag.vue.js";
14
14
  const h = /* @__PURE__ */ a({
@@ -1,5 +1,6 @@
1
1
  import { Placement } from 'floating-vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ isOpen?: boolean;
3
4
  autoHide?: boolean;
4
5
  trigger?: "hover" | "click" | "focus" | "touch" | "managed";
5
6
  disabled?: boolean;
@@ -9,6 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9
10
  testId?: string;
10
11
  popperClass?: string;
11
12
  }>, {
13
+ isOpen: boolean;
12
14
  trigger: string;
13
15
  autoHide: boolean;
14
16
  disabled: boolean;
@@ -22,6 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
24
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
25
  isOpen: (value: boolean) => void;
24
26
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
27
+ isOpen?: boolean;
25
28
  autoHide?: boolean;
26
29
  trigger?: "hover" | "click" | "focus" | "touch" | "managed";
27
30
  disabled?: boolean;
@@ -31,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
34
  testId?: string;
32
35
  popperClass?: string;
33
36
  }>, {
37
+ isOpen: boolean;
34
38
  trigger: string;
35
39
  autoHide: boolean;
36
40
  disabled: boolean;
@@ -48,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
52
  distance: number;
49
53
  autoHide: boolean;
50
54
  popperClass: string;
55
+ isOpen: boolean;
51
56
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
52
57
  skidding: number;
53
58
  }>, {
@@ -1,7 +1,8 @@
1
1
  import o from "./PopoverV4.vue2.js";
2
2
  /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-43b5cba4"]]);
3
+ // import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_052bc376_lang.css"; //*');
4
+ // import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; //');
5
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-052bc376"]]);
5
6
  export {
6
- s as default
7
+ r as default
7
8
  };
@@ -1,9 +1,10 @@
1
- import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css"; import { defineComponent as c, watch as f, openBlock as i, createBlock as g, unref as o, withCtx as n, createElementBlock as k, renderSlot as p, createCommentVNode as v, createElementVNode as h } from "vue";
2
- import { Dropdown as C } from "floating-vue";
3
- import { popoverCommon as w } from "../common/Popover.common.js";
4
- const y = ["data-testid"], E = /* @__PURE__ */ c({
1
+ import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_052bc376_lang.css"; import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as k, watch as l, openBlock as p, createBlock as h, unref as i, withCtx as u, createElementBlock as y, renderSlot as g, createCommentVNode as B, createElementVNode as C } from "vue";
2
+ import { Dropdown as w } from "floating-vue";
3
+ import { popoverCommon as $ } from "../common/Popover.common.js";
4
+ const O = ["data-testid"], H = /* @__PURE__ */ k({
5
5
  __name: "PopoverV4",
6
6
  props: {
7
+ isOpen: { type: Boolean, default: !1 },
7
8
  autoHide: { type: Boolean, default: !1 },
8
9
  trigger: { default: "click" },
9
10
  disabled: { type: Boolean, default: !1 },
@@ -14,46 +15,57 @@ const y = ["data-testid"], E = /* @__PURE__ */ c({
14
15
  popperClass: { default: "" }
15
16
  },
16
17
  emits: ["isOpen"],
17
- setup(e, { expose: s, emit: l }) {
18
- const { popup: u, open: t, toggle: a, triggerRef: m } = w();
19
- return f(t, () => {
20
- l("isOpen", t.value);
21
- }), s({
22
- toggle: a
23
- }), (r, d) => (i(), g(o(C), {
18
+ setup(e, { expose: f, emit: m }) {
19
+ const a = e, { popup: c, open: t, toggle: d, triggerRef: v } = $();
20
+ l(t, () => {
21
+ m("isOpen", t.value);
22
+ }), l(
23
+ () => a.isOpen,
24
+ (o) => {
25
+ d(o);
26
+ }
27
+ );
28
+ const n = (o) => {
29
+ a.trigger === o && (t.value = !t.value);
30
+ };
31
+ return f({
32
+ toggle: d
33
+ }), (o, r) => (p(), h(i(w), {
24
34
  theme: "custom-popover",
25
35
  placement: e.placement,
26
- shown: !!o(t),
36
+ shown: !!i(t),
27
37
  triggers: e.trigger === "managed" ? [] : [e.trigger],
28
38
  "auto-hide": e.autoHide,
29
39
  distance: e.distance,
30
40
  skidding: e.skidding,
31
41
  "popper-class": [e.popperClass, "v4-popover__popper light-theme-v4"]
32
42
  }, {
33
- popper: n(() => [
34
- o(t) ? (i(), k("div", {
43
+ popper: u(() => [
44
+ i(t) ? (p(), y("div", {
35
45
  key: 0,
36
46
  ref_key: "popup",
37
- ref: u,
47
+ ref: c,
38
48
  class: "menu-popup",
39
49
  "data-testid": e.testId
40
50
  }, [
41
- p(r.$slots, "content", {}, void 0, !0)
42
- ], 8, y)) : v("", !0)
51
+ g(o.$slots, "content", {}, void 0, !0)
52
+ ], 8, O)) : B("", !0)
43
53
  ]),
44
- default: n(() => [
45
- h("div", {
54
+ default: u(() => [
55
+ C("div", {
46
56
  ref_key: "triggerRef",
47
- ref: m,
48
- onClick: d[0] || (d[0] = (B) => o(a)(!o(t)))
57
+ ref: v,
58
+ onClick: r[0] || (r[0] = (s) => n("click")),
59
+ onMouseenter: r[1] || (r[1] = (s) => n("hover")),
60
+ onMouseleave: r[2] || (r[2] = (s) => n("hover"))
49
61
  }, [
50
- p(r.$slots, "trigger", {}, void 0, !0)
51
- ], 512)
62
+ g(o.$slots, "trigger", {}, void 0, !0)
63
+ ], 544)
52
64
  ]),
53
65
  _: 3
54
66
  }, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "popper-class"]));
55
67
  }
56
68
  });
57
69
  export {
58
- E as default
70
+ H as default
59
71
  };
@@ -10,6 +10,7 @@ declare const PopoverTypes: () => ({
10
10
  distance: number;
11
11
  autoHide: boolean;
12
12
  popperClass: string;
13
+ isOpen: boolean;
13
14
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
14
15
  skidding: number;
15
16
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -37,6 +38,10 @@ declare const PopoverTypes: () => ({
37
38
  type: import("vue").PropType<string>;
38
39
  default: string;
39
40
  };
41
+ isOpen: {
42
+ type: import("vue").PropType<boolean>;
43
+ default: boolean;
44
+ };
40
45
  trigger: {
41
46
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
42
47
  default: string;
@@ -47,7 +52,7 @@ declare const PopoverTypes: () => ({
47
52
  };
48
53
  }>> & {
49
54
  onIsOpen?: (value: boolean) => any;
50
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "autoHide" | "popperClass" | "trigger" | "skidding">;
55
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
51
56
  $attrs: {
52
57
  [x: string]: unknown;
53
58
  };
@@ -86,6 +91,10 @@ declare const PopoverTypes: () => ({
86
91
  type: import("vue").PropType<string>;
87
92
  default: string;
88
93
  };
94
+ isOpen: {
95
+ type: import("vue").PropType<boolean>;
96
+ default: boolean;
97
+ };
89
98
  trigger: {
90
99
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
91
100
  default: string;
@@ -107,6 +116,7 @@ declare const PopoverTypes: () => ({
107
116
  distance: number;
108
117
  autoHide: boolean;
109
118
  popperClass: string;
119
+ isOpen: boolean;
110
120
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
111
121
  skidding: number;
112
122
  }, {}, string> & {
@@ -154,6 +164,10 @@ declare const PopoverTypes: () => ({
154
164
  type: import("vue").PropType<string>;
155
165
  default: string;
156
166
  };
167
+ isOpen: {
168
+ type: import("vue").PropType<boolean>;
169
+ default: boolean;
170
+ };
157
171
  trigger: {
158
172
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
159
173
  default: string;
@@ -195,6 +209,10 @@ declare const PopoverTypes: () => ({
195
209
  type: import("vue").PropType<string>;
196
210
  default: string;
197
211
  };
212
+ isOpen: {
213
+ type: import("vue").PropType<boolean>;
214
+ default: boolean;
215
+ };
198
216
  trigger: {
199
217
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
200
218
  default: string;
@@ -216,6 +234,7 @@ declare const PopoverTypes: () => ({
216
234
  distance: number;
217
235
  autoHide: boolean;
218
236
  popperClass: string;
237
+ isOpen: boolean;
219
238
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
220
239
  skidding: number;
221
240
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -8,7 +8,7 @@ import "../../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
8
  import "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
9
9
  import "../../dropdown/v4/TreeDropdown.vue.js";
10
10
  import C from "../../dropdown/v4/OptionV4.vue.js";
11
- import "../../dropdown/v4/ConditionalDroprown.vue.js";
11
+ import "../../dropdown/v4/ConditionalDropdown.vue.js";
12
12
  import k from "../../icon/v4/IconV4.vue.js";
13
13
  import "../../icon/v4/IconFlag.vue.js";
14
14
  import { useTableContext as y } from "../common/TableContext.js";
package/index.d.ts CHANGED
@@ -30,6 +30,7 @@ declare const _default: {
30
30
  distance: number;
31
31
  autoHide: boolean;
32
32
  popperClass: string;
33
+ isOpen: boolean;
33
34
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
34
35
  skidding: number;
35
36
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -57,6 +58,10 @@ declare const _default: {
57
58
  type: import("vue").PropType<string>;
58
59
  default: string;
59
60
  };
61
+ isOpen: {
62
+ type: import("vue").PropType<boolean>;
63
+ default: boolean;
64
+ };
60
65
  trigger: {
61
66
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
62
67
  default: string;
@@ -67,7 +72,7 @@ declare const _default: {
67
72
  };
68
73
  }>> & {
69
74
  onIsOpen?: (value: boolean) => any;
70
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "autoHide" | "popperClass" | "trigger" | "skidding">;
75
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
71
76
  $attrs: {
72
77
  [x: string]: unknown;
73
78
  };
@@ -106,6 +111,10 @@ declare const _default: {
106
111
  type: import("vue").PropType<string>;
107
112
  default: string;
108
113
  };
114
+ isOpen: {
115
+ type: import("vue").PropType<boolean>;
116
+ default: boolean;
117
+ };
109
118
  trigger: {
110
119
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
111
120
  default: string;
@@ -127,6 +136,7 @@ declare const _default: {
127
136
  distance: number;
128
137
  autoHide: boolean;
129
138
  popperClass: string;
139
+ isOpen: boolean;
130
140
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
131
141
  skidding: number;
132
142
  }, {}, string> & {
@@ -174,6 +184,10 @@ declare const _default: {
174
184
  type: import("vue").PropType<string>;
175
185
  default: string;
176
186
  };
187
+ isOpen: {
188
+ type: import("vue").PropType<boolean>;
189
+ default: boolean;
190
+ };
177
191
  trigger: {
178
192
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
179
193
  default: string;
@@ -215,6 +229,10 @@ declare const _default: {
215
229
  type: import("vue").PropType<string>;
216
230
  default: string;
217
231
  };
232
+ isOpen: {
233
+ type: import("vue").PropType<boolean>;
234
+ default: boolean;
235
+ };
218
236
  trigger: {
219
237
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
220
238
  default: string;
@@ -236,6 +254,7 @@ declare const _default: {
236
254
  distance: number;
237
255
  autoHide: boolean;
238
256
  popperClass: string;
257
+ isOpen: boolean;
239
258
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
240
259
  skidding: number;
241
260
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -255,6 +274,7 @@ declare const _default: {
255
274
  distance: number;
256
275
  autoHide: boolean;
257
276
  popperClass: string;
277
+ isOpen: boolean;
258
278
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
259
279
  skidding: number;
260
280
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -282,6 +302,10 @@ declare const _default: {
282
302
  type: import("vue").PropType<string>;
283
303
  default: string;
284
304
  };
305
+ isOpen: {
306
+ type: import("vue").PropType<boolean>;
307
+ default: boolean;
308
+ };
285
309
  trigger: {
286
310
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
287
311
  default: string;
@@ -292,7 +316,7 @@ declare const _default: {
292
316
  };
293
317
  }>> & {
294
318
  onIsOpen?: (value: boolean) => any;
295
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "autoHide" | "popperClass" | "trigger" | "skidding">;
319
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
296
320
  $attrs: {
297
321
  [x: string]: unknown;
298
322
  };
@@ -331,6 +355,10 @@ declare const _default: {
331
355
  type: import("vue").PropType<string>;
332
356
  default: string;
333
357
  };
358
+ isOpen: {
359
+ type: import("vue").PropType<boolean>;
360
+ default: boolean;
361
+ };
334
362
  trigger: {
335
363
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
336
364
  default: string;
@@ -352,6 +380,7 @@ declare const _default: {
352
380
  distance: number;
353
381
  autoHide: boolean;
354
382
  popperClass: string;
383
+ isOpen: boolean;
355
384
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
356
385
  skidding: number;
357
386
  }, {}, string> & {
@@ -399,6 +428,10 @@ declare const _default: {
399
428
  type: import("vue").PropType<string>;
400
429
  default: string;
401
430
  };
431
+ isOpen: {
432
+ type: import("vue").PropType<boolean>;
433
+ default: boolean;
434
+ };
402
435
  trigger: {
403
436
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
404
437
  default: string;
@@ -440,6 +473,10 @@ declare const _default: {
440
473
  type: import("vue").PropType<string>;
441
474
  default: string;
442
475
  };
476
+ isOpen: {
477
+ type: import("vue").PropType<boolean>;
478
+ default: boolean;
479
+ };
443
480
  trigger: {
444
481
  type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
445
482
  default: string;
@@ -461,6 +498,7 @@ declare const _default: {
461
498
  distance: number;
462
499
  autoHide: boolean;
463
500
  popperClass: string;
501
+ isOpen: boolean;
464
502
  trigger: "hover" | "click" | "focus" | "touch" | "managed";
465
503
  skidding: number;
466
504
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -15957,13 +15995,13 @@ declare const _default: {
15957
15995
  loading: {
15958
15996
  type: import("vue").PropType<boolean>;
15959
15997
  };
15998
+ isOpen: {
15999
+ type: import("vue").PropType<boolean>;
16000
+ };
15960
16001
  skidding: {
15961
16002
  type: import("vue").PropType<number>;
15962
16003
  default: number;
15963
16004
  };
15964
- isOpen: {
15965
- type: import("vue").PropType<boolean>;
15966
- };
15967
16005
  modelValue: {
15968
16006
  type: import("vue").PropType<unknown>;
15969
16007
  default: any;
@@ -16216,13 +16254,13 @@ declare const _default: {
16216
16254
  loading: {
16217
16255
  type: import("vue").PropType<boolean>;
16218
16256
  };
16257
+ isOpen: {
16258
+ type: import("vue").PropType<boolean>;
16259
+ };
16219
16260
  skidding: {
16220
16261
  type: import("vue").PropType<number>;
16221
16262
  default: number;
16222
16263
  };
16223
- isOpen: {
16224
- type: import("vue").PropType<boolean>;
16225
- };
16226
16264
  modelValue: {
16227
16265
  type: import("vue").PropType<unknown>;
16228
16266
  default: any;
@@ -16550,13 +16588,13 @@ declare const _default: {
16550
16588
  loading: {
16551
16589
  type: import("vue").PropType<boolean>;
16552
16590
  };
16591
+ isOpen: {
16592
+ type: import("vue").PropType<boolean>;
16593
+ };
16553
16594
  skidding: {
16554
16595
  type: import("vue").PropType<number>;
16555
16596
  default: number;
16556
16597
  };
16557
- isOpen: {
16558
- type: import("vue").PropType<boolean>;
16559
- };
16560
16598
  modelValue: {
16561
16599
  type: import("vue").PropType<unknown>;
16562
16600
  default: any;
@@ -16802,13 +16840,13 @@ declare const _default: {
16802
16840
  loading: {
16803
16841
  type: import("vue").PropType<boolean>;
16804
16842
  };
16843
+ isOpen: {
16844
+ type: import("vue").PropType<boolean>;
16845
+ };
16805
16846
  skidding: {
16806
16847
  type: import("vue").PropType<number>;
16807
16848
  default: number;
16808
16849
  };
16809
- isOpen: {
16810
- type: import("vue").PropType<boolean>;
16811
- };
16812
16850
  modelValue: {
16813
16851
  type: import("vue").PropType<unknown>;
16814
16852
  default: any;
@@ -20417,13 +20455,13 @@ declare const _default: {
20417
20455
  loading: {
20418
20456
  type: import("vue").PropType<boolean>;
20419
20457
  };
20458
+ isOpen: {
20459
+ type: import("vue").PropType<boolean>;
20460
+ };
20420
20461
  skidding: {
20421
20462
  type: import("vue").PropType<number>;
20422
20463
  default: number;
20423
20464
  };
20424
- isOpen: {
20425
- type: import("vue").PropType<boolean>;
20426
- };
20427
20465
  modelValue: {
20428
20466
  type: import("vue").PropType<unknown>;
20429
20467
  default: any;
@@ -20676,13 +20714,13 @@ declare const _default: {
20676
20714
  loading: {
20677
20715
  type: import("vue").PropType<boolean>;
20678
20716
  };
20717
+ isOpen: {
20718
+ type: import("vue").PropType<boolean>;
20719
+ };
20679
20720
  skidding: {
20680
20721
  type: import("vue").PropType<number>;
20681
20722
  default: number;
20682
20723
  };
20683
- isOpen: {
20684
- type: import("vue").PropType<boolean>;
20685
- };
20686
20724
  modelValue: {
20687
20725
  type: import("vue").PropType<unknown>;
20688
20726
  default: any;
@@ -21010,13 +21048,13 @@ declare const _default: {
21010
21048
  loading: {
21011
21049
  type: import("vue").PropType<boolean>;
21012
21050
  };
21051
+ isOpen: {
21052
+ type: import("vue").PropType<boolean>;
21053
+ };
21013
21054
  skidding: {
21014
21055
  type: import("vue").PropType<number>;
21015
21056
  default: number;
21016
21057
  };
21017
- isOpen: {
21018
- type: import("vue").PropType<boolean>;
21019
- };
21020
21058
  modelValue: {
21021
21059
  type: import("vue").PropType<unknown>;
21022
21060
  default: any;
@@ -21262,13 +21300,13 @@ declare const _default: {
21262
21300
  loading: {
21263
21301
  type: import("vue").PropType<boolean>;
21264
21302
  };
21303
+ isOpen: {
21304
+ type: import("vue").PropType<boolean>;
21305
+ };
21265
21306
  skidding: {
21266
21307
  type: import("vue").PropType<number>;
21267
21308
  default: number;
21268
21309
  };
21269
- isOpen: {
21270
- type: import("vue").PropType<boolean>;
21271
- };
21272
21310
  modelValue: {
21273
21311
  type: import("vue").PropType<unknown>;
21274
21312
  default: any;
@@ -22124,6 +22162,10 @@ declare const _default: {
22124
22162
  type: import("vue").PropType<string>;
22125
22163
  default: string;
22126
22164
  };
22165
+ isOpen: {
22166
+ type: import("vue").PropType<boolean>;
22167
+ default: boolean;
22168
+ };
22127
22169
  optionNameKey: {
22128
22170
  type: import("vue").PropType<string>;
22129
22171
  required: true;
@@ -22169,6 +22211,7 @@ declare const _default: {
22169
22211
  multi: boolean;
22170
22212
  }) => void;
22171
22213
  "update:appliedSelections": (value: unknown) => void;
22214
+ clear: () => void;
22172
22215
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22173
22216
  label: {
22174
22217
  type: import("vue").PropType<string>;
@@ -22179,6 +22222,10 @@ declare const _default: {
22179
22222
  type: import("vue").PropType<string>;
22180
22223
  default: string;
22181
22224
  };
22225
+ isOpen: {
22226
+ type: import("vue").PropType<boolean>;
22227
+ default: boolean;
22228
+ };
22182
22229
  optionNameKey: {
22183
22230
  type: import("vue").PropType<string>;
22184
22231
  required: true;
@@ -22218,6 +22265,7 @@ declare const _default: {
22218
22265
  default: number;
22219
22266
  };
22220
22267
  }>> & {
22268
+ onClear?: () => any;
22221
22269
  "onUpdate:selectedCondition"?: (value: {
22222
22270
  label: string;
22223
22271
  value: string;
@@ -22227,6 +22275,7 @@ declare const _default: {
22227
22275
  }, {
22228
22276
  label: string;
22229
22277
  testId: string;
22278
+ isOpen: boolean;
22230
22279
  optionNameKey: string;
22231
22280
  comparingKey: string;
22232
22281
  minCharsToStart: number;
@@ -23180,7 +23229,7 @@ declare const _default: {
23180
23229
  "trigger-end-icon"?(_: {}): any;
23181
23230
  };
23182
23231
  });
23183
- ConditionalDroprown: import("vue").DefineComponent<{
23232
+ ConditionalDropdown: import("vue").DefineComponent<{
23184
23233
  label: {
23185
23234
  type: import("vue").PropType<string>;
23186
23235
  required: true;
@@ -23190,6 +23239,10 @@ declare const _default: {
23190
23239
  type: import("vue").PropType<string>;
23191
23240
  default: string;
23192
23241
  };
23242
+ isOpen: {
23243
+ type: import("vue").PropType<boolean>;
23244
+ default: boolean;
23245
+ };
23193
23246
  optionNameKey: {
23194
23247
  type: import("vue").PropType<string>;
23195
23248
  required: true;
@@ -23235,6 +23288,7 @@ declare const _default: {
23235
23288
  multi: boolean;
23236
23289
  }) => void;
23237
23290
  "update:appliedSelections": (value: unknown) => void;
23291
+ clear: () => void;
23238
23292
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23239
23293
  label: {
23240
23294
  type: import("vue").PropType<string>;
@@ -23245,6 +23299,10 @@ declare const _default: {
23245
23299
  type: import("vue").PropType<string>;
23246
23300
  default: string;
23247
23301
  };
23302
+ isOpen: {
23303
+ type: import("vue").PropType<boolean>;
23304
+ default: boolean;
23305
+ };
23248
23306
  optionNameKey: {
23249
23307
  type: import("vue").PropType<string>;
23250
23308
  required: true;
@@ -23284,6 +23342,7 @@ declare const _default: {
23284
23342
  default: number;
23285
23343
  };
23286
23344
  }>> & {
23345
+ onClear?: () => any;
23287
23346
  "onUpdate:selectedCondition"?: (value: {
23288
23347
  label: string;
23289
23348
  value: string;
@@ -23293,6 +23352,7 @@ declare const _default: {
23293
23352
  }, {
23294
23353
  label: string;
23295
23354
  testId: string;
23355
+ isOpen: boolean;
23296
23356
  optionNameKey: string;
23297
23357
  comparingKey: string;
23298
23358
  minCharsToStart: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.11-rc.16",
3
+ "version": "2.1.11-rc.18",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .custom-list-area[data-v-546e19a9]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:53px 43px}.inline-search[data-v-546e19a9]{width:100%}.contain-accept[data-v-546e19a9]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-546e19a9]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-546e19a9]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
@@ -1 +0,0 @@
1
- div[data-v-43b5cba4]{display:block}
@@ -1,7 +0,0 @@
1
- import o from "./ConditionalDroprown.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css"; //*');
4
- const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-546e19a9"]]);
5
- export {
6
- r as default
7
- };