@ironsource/shared-ui 2.1.11-rc.15 → 2.1.11-rc.17
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.
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_93545ce0_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_68002589_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +1 -1
- package/components/chart/SettingsHeader.vue2.js +1 -1
- package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dropdown/v3/index.d.ts +12 -12
- package/components/dropdown/v4/{ConditionalDroprown.vue.d.ts → ConditionalDropdown.vue.d.ts} +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/{ConditionalDroprown.vue2.js → ConditionalDropdown.vue2.js} +44 -42
- package/components/dropdown/v4/DropdownV4.vue2.js +1 -1
- package/components/dropdown/v4/TreeDropdown.vue2.js +1 -1
- package/components/dropdown/v4/index.d.ts +25 -14
- package/components/dropdown/v4/index.js +3 -3
- package/components/multibar/MultiBarMenu.vue2.js +1 -1
- package/components/popover/v4/PopoverV4.vue.d.ts +6 -1
- package/components/popover/v4/PopoverV4.vue.js +4 -3
- package/components/popover/v4/PopoverV4.vue2.js +26 -20
- package/components/popover/v4/index.d.ts +27 -8
- package/components/table/v4/DataGridMenu.vue2.js +1 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +14 -13
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +141 -43
- package/index.js +1 -1
- package/package.json +1 -1
- package/ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bfc72006_lang.css +0 -1
- 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-68002589]{display:block}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-v-82b46d6d]{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/
|
|
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/
|
|
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/
|
|
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/
|
|
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;
|
package/components/dropdown/v4/{ConditionalDroprown.vue.d.ts → ConditionalDropdown.vue.d.ts}
RENAMED
|
@@ -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 "../../../
|
|
2
|
-
import
|
|
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 "./
|
|
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
|
-
},
|
|
19
|
-
__name: "
|
|
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(
|
|
33
|
-
const t =
|
|
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
|
-
|
|
37
|
+
y("update:appliedSelections", o);
|
|
37
38
|
}
|
|
38
39
|
}), a = f({
|
|
39
40
|
get: () => t.selectedCondition || t.conditionalOptions[0],
|
|
40
41
|
set: (o) => {
|
|
41
|
-
|
|
42
|
+
y("update:selectedCondition", o);
|
|
42
43
|
}
|
|
43
|
-
}),
|
|
44
|
-
const o =
|
|
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,
|
|
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
|
-
},
|
|
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
|
-
|
|
73
|
+
b(l, () => {
|
|
73
74
|
S(l.value);
|
|
74
|
-
}),
|
|
75
|
-
|
|
75
|
+
}), b(a, () => {
|
|
76
|
+
O();
|
|
76
77
|
});
|
|
77
78
|
const V = () => {
|
|
78
|
-
|
|
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
|
-
|
|
81
|
-
a.value.multi ? (r.value = !0,
|
|
82
|
-
r.value = !1,
|
|
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
|
-
|
|
85
|
+
d.value = !1;
|
|
85
86
|
}, 100);
|
|
86
87
|
});
|
|
87
88
|
const x = () => {
|
|
88
|
-
|
|
89
|
+
p.value = [], g.value = [], a.value = null, v.value = t.label, l.value = "", y("clear");
|
|
89
90
|
};
|
|
90
|
-
return (o, i) => (
|
|
91
|
-
selected:
|
|
92
|
-
"onUpdate:selected": i[2] || (i[2] = (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?.[
|
|
95
|
-
multi:
|
|
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":
|
|
100
|
+
"option-name-key": c.optionNameKey,
|
|
100
101
|
"with-conditions": "",
|
|
101
102
|
"inline-search": "",
|
|
102
|
-
"custom-number-of-displayed-options":
|
|
103
|
+
"custom-number-of-displayed-options": u(T),
|
|
103
104
|
"options-list-width": "330px",
|
|
104
105
|
loading: r.value,
|
|
105
|
-
"comparing-key":
|
|
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(
|
|
112
|
+
h(u(I), A(n, {
|
|
111
113
|
label: v.value,
|
|
112
|
-
"selected-option":
|
|
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(
|
|
120
|
-
selected:
|
|
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:
|
|
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(
|
|
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 ? (
|
|
144
|
+
!e.value.length && !r.value ? (k(), $("div", q, [
|
|
143
145
|
h(Q, { variant: "body1" }, {
|
|
144
146
|
default: m(() => [
|
|
145
|
-
z(M(
|
|
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
|
-
|
|
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 "./
|
|
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 "./
|
|
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
|
|
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,
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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/
|
|
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;
|
|
@@ -46,8 +50,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
50
|
placement: Placement;
|
|
47
51
|
disabled: boolean;
|
|
48
52
|
distance: number;
|
|
49
|
-
popperClass: string;
|
|
50
53
|
autoHide: boolean;
|
|
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.
|
|
4
|
-
|
|
3
|
+
// import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_68002589_lang.css"; //*');
|
|
4
|
+
// import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-68002589"]]);
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
r as default
|
|
7
8
|
};
|