@ironsource/shared-ui 2.1.12-test.52 → 2.1.12-test.53
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/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
- package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/chart/Chart.vue.d.ts +16 -1
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +38 -32
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +34 -33
- package/components/chart/ChartPlane.vue.d.ts +10 -0
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +158 -147
- package/components/chart/ChartStoryArgs.d.ts +17 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +6 -6
- package/components/chart/TooltipHeader.vue.js +3 -3
- package/components/chart/TooltipHeader.vue2.js +25 -26
- package/components/chart/colorPalette.d.ts +2 -1
- package/components/chart/colorPalette.js +47 -33
- package/components/chart/composables/useColorsMap.d.ts +3 -1
- package/components/chart/composables/useColorsMap.js +32 -30
- package/components/chart/consts.d.ts +5 -1
- package/components/chart/consts.js +30 -26
- package/components/chart/index.d.ts +58 -1
- package/components/chart/mockData.d.ts +15 -0
- package/components/chart/types.d.ts +3 -1
- package/components/chart/types.js +5 -5
- package/components/chart/utils/utils.d.ts +1 -1
- package/components/chart/utils/utils.js +18 -13
- package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
- package/components/columnPicker/ColumnPicker.vue.js +7 -0
- package/components/columnPicker/ColumnPicker.vue2.js +322 -0
- package/components/columnPicker/OptionChip.vue.d.ts +53 -0
- package/components/columnPicker/OptionChip.vue.js +7 -0
- package/components/columnPicker/OptionChip.vue2.js +46 -0
- package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
- package/components/columnPicker/RemoveButton.vue.js +7 -0
- package/components/columnPicker/RemoveButton.vue2.js +35 -0
- package/components/columnPicker/index.d.ts +388 -0
- package/components/columnPicker/index.js +6 -0
- package/components/columnPicker/mockData.d.ts +8 -0
- package/components/dialog/v3/Dialog.vue.d.ts +3 -3
- package/components/dialog/v3/index.d.ts +46 -46
- package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
- package/components/dialog/v4/DialogFooter.vue.js +7 -0
- package/components/dialog/v4/DialogFooter.vue2.js +60 -0
- package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
- package/components/dialog/v4/DialogHeader.vue.js +7 -0
- package/components/dialog/v4/DialogHeader.vue2.js +58 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +157 -157
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +176 -171
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/index.d.ts +20 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +70 -70
- package/components/input/v4/TextField.vue.d.ts +12 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +129 -105
- package/components/input/v4/index.d.ts +46 -2
- package/components/link/Link.vue.d.ts +20 -0
- package/components/link/Link.vue.js +2 -2
- package/components/link/Link.vue2.js +35 -21
- package/components/link/index.d.ts +77 -1
- package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/v3/RadioButton.vue.js +3 -3
- package/components/radioButton/v3/RadioButton.vue2.js +42 -39
- package/components/radioButton/v3/index.d.ts +20 -1
- package/components/sortableList/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +3 -3
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +26 -23
- package/components/sortableList/SortableList.types.d.ts +1 -0
- package/components/sortableList/SortableList.vue.d.ts +10 -0
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +104 -96
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/index.d.ts +39 -1
- package/components/table/v4/DataGrid.vue.d.ts +4 -4
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +237 -245
- package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
- package/components/table/v4/DataGridHeader.vue.js +7 -0
- package/components/table/v4/DataGridHeader.vue2.js +82 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
- package/components/table/v4/MultipleDataGrid.vue.d.ts +6 -5
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
- package/components/table/v4/index.d.ts +552 -305
- package/components/table/v4/index.js +7 -4
- package/components/table/v4/storyUtils.d.ts +25 -0
- 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 +18 -17
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +2153 -1419
- package/index.js +99 -95
- package/package.json +5 -1
- package/testids/index.d.ts +7 -1
- package/testids/index.js +26 -25
- package/utils/date.js +3 -3
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +38 -21
- package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_5160f12d_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "../../../ConditionalDropdown.
|
|
2
|
-
import
|
|
1
|
+
import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css"; import { defineComponent as H, computed as b, ref as s, watch as g, onMounted as J, resolveComponent as X, openBlock as B, createBlock as Y, unref as p, createSlots as Z, withCtx as f, createVNode as y, mergeProps as _, createElementVNode as ee, isRef as le, normalizeProps as F, guardReactiveProps as I, createElementBlock as oe, createTextVNode as te, toDisplayString as ne, createCommentVNode as ae, renderSlot as ie } from "vue";
|
|
2
|
+
import U from "./DropdownV4.vue.js";
|
|
3
3
|
import "./DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "./IconButtonDropdownTrigger.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import ue from "./ChipDropdownTrigger.vue.js";
|
|
6
6
|
import "./AppDropdownTrigger.vue.js";
|
|
7
7
|
import "./ButtonDropdownTrigger.vue.js";
|
|
8
|
-
import
|
|
8
|
+
import re from "./ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "./TreeDropdown.vue.js";
|
|
10
10
|
import "./OptionV4.vue.js";
|
|
11
11
|
import "./ConditionalDropdown.vue.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { useDebounceFn as
|
|
15
|
-
const
|
|
12
|
+
import se from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
import de from "../../typography/v4/Typography.vue.js";
|
|
14
|
+
import { useDebounceFn as ce } from "@vueuse/core";
|
|
15
|
+
const pe = { class: "conditional-container" }, ve = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "custom-list-area"
|
|
18
|
-
}, Ne = /* @__PURE__ */
|
|
18
|
+
}, Ne = /* @__PURE__ */ H({
|
|
19
19
|
__name: "ConditionalDropdown",
|
|
20
20
|
props: {
|
|
21
21
|
selectedCondition: null,
|
|
@@ -42,225 +42,230 @@ const ce = { class: "conditional-container" }, pe = {
|
|
|
42
42
|
triggerShownValuesCount: { default: 1 }
|
|
43
43
|
},
|
|
44
44
|
emits: ["update:selectedCondition", "update:appliedSelections", "clear", "closed"],
|
|
45
|
-
setup(
|
|
46
|
-
const e =
|
|
45
|
+
setup(i, { emit: h }) {
|
|
46
|
+
const e = i, S = b({
|
|
47
47
|
get: () => e.appliedSelections,
|
|
48
48
|
set: (l) => {
|
|
49
|
-
|
|
49
|
+
h("update:appliedSelections", l);
|
|
50
50
|
}
|
|
51
51
|
}), T = s(
|
|
52
52
|
e.selectedCondition || e.conditionalOptions[0]
|
|
53
|
-
),
|
|
53
|
+
), a = b({
|
|
54
54
|
get: () => T.value || e.conditionalOptions[0],
|
|
55
55
|
set: (l) => {
|
|
56
56
|
T.value = l;
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
|
-
|
|
59
|
+
g(
|
|
60
60
|
() => e.selectedCondition,
|
|
61
61
|
(l) => {
|
|
62
|
-
l && l.value !==
|
|
62
|
+
l && l.value !== a.value?.value && (a.value = l, k());
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
65
|
const A = () => {
|
|
66
66
|
const { appliedSelections: l } = e;
|
|
67
67
|
return l ? Array.isArray(l) ? l : [l] : [];
|
|
68
|
-
},
|
|
69
|
-
const l =
|
|
68
|
+
}, D = s(null), v = s(!0), t = s([]), u = s(A()), N = s(!0), c = s(!1), w = s(!1), r = s(e.searchQuery), M = s(""), C = s(e.label), K = s([]), E = b(() => (!r.value || r.value?.length < e.minCharsToStart) && !t.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), Q = b(() => {
|
|
69
|
+
const l = v.value ? 4 : 4.5, o = t.value.length > 4 ? t.value.length : l;
|
|
70
70
|
if (e.groupedOptions) {
|
|
71
|
-
let
|
|
72
|
-
return
|
|
73
|
-
|
|
74
|
-
}),
|
|
71
|
+
let d = 0;
|
|
72
|
+
return t.value.forEach((n) => {
|
|
73
|
+
n.options && (d = d + n.options.length);
|
|
74
|
+
}), d > 4 ? d : l;
|
|
75
75
|
}
|
|
76
|
-
return
|
|
77
|
-
}),
|
|
78
|
-
if (e.infiniteLoading &&
|
|
79
|
-
const
|
|
80
|
-
(
|
|
76
|
+
return o > l ? o : l;
|
|
77
|
+
}), V = (l, o) => {
|
|
78
|
+
if (e.infiniteLoading && a.value.multi && Array.isArray(u.value) && u.value.length && l && o.length) {
|
|
79
|
+
const d = [], n = u.value.filter(
|
|
80
|
+
(m) => m[e.optionNameKey].includes(l)
|
|
81
81
|
);
|
|
82
|
-
return
|
|
83
|
-
|
|
84
|
-
(
|
|
85
|
-
) &&
|
|
86
|
-
}),
|
|
87
|
-
(
|
|
82
|
+
return o.forEach((m) => {
|
|
83
|
+
n.find(
|
|
84
|
+
(G) => G[e.comparingKey] === m[e.comparingKey]
|
|
85
|
+
) && d.push(m[e.comparingKey]);
|
|
86
|
+
}), n.filter(
|
|
87
|
+
(m) => !d.includes(m[e.comparingKey])
|
|
88
88
|
);
|
|
89
89
|
}
|
|
90
90
|
return [];
|
|
91
91
|
}, L = async (l) => {
|
|
92
92
|
try {
|
|
93
|
-
|
|
94
|
-
const
|
|
93
|
+
c.value = !0;
|
|
94
|
+
const o = await e.fetchFnCallback(l), d = V(
|
|
95
95
|
l,
|
|
96
|
-
|
|
96
|
+
o
|
|
97
97
|
);
|
|
98
|
-
|
|
99
|
-
} catch (
|
|
100
|
-
|
|
98
|
+
t.value = [...d, ...o], c.value = !1;
|
|
99
|
+
} catch (o) {
|
|
100
|
+
c.value = !1, console.error("Error fetching data:", o);
|
|
101
101
|
}
|
|
102
|
-
},
|
|
102
|
+
}, $ = async () => {
|
|
103
103
|
if (e.infiniteLoading)
|
|
104
104
|
try {
|
|
105
|
-
|
|
105
|
+
w.value = !0;
|
|
106
106
|
const l = await e.loadMoreFn();
|
|
107
|
-
|
|
107
|
+
w.value = !1, Array.isArray(l) && (t.value = [...t.value, ...l]);
|
|
108
108
|
} catch (l) {
|
|
109
|
-
|
|
109
|
+
w.value = !1, console.error("Error fetching data:", l);
|
|
110
110
|
}
|
|
111
|
-
},
|
|
111
|
+
}, x = ce(
|
|
112
112
|
L,
|
|
113
113
|
e.fetchDataDebounceTime
|
|
114
|
-
),
|
|
115
|
-
l.length >= e.minCharsToStart ? (
|
|
116
|
-
},
|
|
117
|
-
r.value &&
|
|
114
|
+
), O = (l) => {
|
|
115
|
+
l.length >= e.minCharsToStart ? (x(l), D.value?.scrollTo(0)) : e.infiniteLoading && a.value.multi ? t.value = K.value || [] : t.value = [];
|
|
116
|
+
}, R = () => {
|
|
117
|
+
r.value && t.value.length && !c.value && !a.value.multi ? t.value[0].conditionalOptions ? t.value[0] = {
|
|
118
118
|
[e.optionNameKey]: r.value,
|
|
119
119
|
conditionalOptions: !0,
|
|
120
|
-
conditionalName:
|
|
120
|
+
conditionalName: a.value.label,
|
|
121
121
|
[e.comparingKey]: r.value
|
|
122
|
-
} :
|
|
122
|
+
} : t.value = [
|
|
123
123
|
{
|
|
124
124
|
[e.optionNameKey]: r.value,
|
|
125
125
|
conditionalOptions: !0,
|
|
126
|
-
conditionalName:
|
|
126
|
+
conditionalName: a.value.label,
|
|
127
127
|
[e.comparingKey]: r.value
|
|
128
128
|
},
|
|
129
|
-
...
|
|
130
|
-
] :
|
|
129
|
+
...t.value
|
|
130
|
+
] : t.value.length && t.value[0].conditionalOptions && t.value.shift();
|
|
131
131
|
}, k = () => {
|
|
132
|
-
|
|
132
|
+
v.value && u.value.length === 0 ? C.value = e.label : C.value = `${e.label} ${a.value.label.toLowerCase()}`;
|
|
133
133
|
};
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}),
|
|
137
|
-
|
|
138
|
-
}),
|
|
134
|
+
g(r, () => {
|
|
135
|
+
O(r.value);
|
|
136
|
+
}), g([a, t], () => {
|
|
137
|
+
R();
|
|
138
|
+
}), g(
|
|
139
139
|
() => e.loadingOverride,
|
|
140
|
-
(l,
|
|
141
|
-
!l &&
|
|
140
|
+
(l, o) => {
|
|
141
|
+
!l && o && !e.infiniteLoading && L(e.searchQuery);
|
|
142
142
|
}
|
|
143
143
|
);
|
|
144
|
-
const
|
|
145
|
-
|
|
144
|
+
const z = () => {
|
|
145
|
+
v.value && u.value.length === 0 ? (S.value = [], a.value = null) : (M.value = r.value, S.value = v.value ? [...u.value] : { ...u.value }, N.value = v.value), h("update:selectedCondition", a.value), k();
|
|
146
146
|
};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}, 100)) : (!
|
|
151
|
-
!
|
|
147
|
+
g(a, (l, o) => {
|
|
148
|
+
a.value.multi ? (c.value = !0, !o.multi && l.multi && (Array.isArray(e.appliedSelections) ? u.value = e.appliedSelections : u.value = [e.appliedSelections]), setTimeout(() => {
|
|
149
|
+
c.value = !1, v.value = !0;
|
|
150
|
+
}, 100)) : (!o.multi && !l.multi && (c.value = !0), setTimeout(() => {
|
|
151
|
+
!o.multi && !l.multi && (c.value = !1), v.value = !1;
|
|
152
152
|
}, 100));
|
|
153
|
-
}),
|
|
154
|
-
|
|
153
|
+
}), g(S, () => {
|
|
154
|
+
u.value = A();
|
|
155
155
|
});
|
|
156
156
|
const P = (l) => {
|
|
157
157
|
K.value = l;
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
},
|
|
161
|
-
|
|
158
|
+
}, j = () => {
|
|
159
|
+
u.value = [], S.value = [], a.value = null, h("update:selectedCondition", null), C.value = e.label, r.value = "", h("clear");
|
|
160
|
+
}, W = (l) => {
|
|
161
|
+
a.value === null && (a.value = e.conditionalOptions[0]), l && a.value.multi && e.infiniteLoading && u.value && (t.value = u.value, r.value && O(r.value));
|
|
162
162
|
};
|
|
163
|
-
|
|
164
|
-
(e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) &&
|
|
163
|
+
J(() => {
|
|
164
|
+
(e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && O(e.searchQuery), e.appliedSelections && Array.isArray(e.appliedSelections) && (t.value = e.appliedSelections, u.value = e.appliedSelections, K.value = e.appliedSelections), k();
|
|
165
165
|
});
|
|
166
|
-
const
|
|
167
|
-
|
|
166
|
+
const q = () => {
|
|
167
|
+
h("closed");
|
|
168
168
|
};
|
|
169
|
-
return (l,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
"onUpdate:modelValue": t[1] || (t[1] = (o) => r.value = o),
|
|
237
|
-
class: "inline-search",
|
|
238
|
-
placeholder: "Search",
|
|
239
|
-
variant: "transparent",
|
|
240
|
-
size: "md",
|
|
241
|
-
"auto-focus": u.autoFocusSearch
|
|
242
|
-
}, null, 8, ["modelValue", "auto-focus"])
|
|
243
|
-
]),
|
|
244
|
-
"custom-list-area": v(() => [
|
|
245
|
-
!a.value.length && !d.value ? (F(), le("div", pe, [
|
|
246
|
-
C(se, { variant: "body1" }, {
|
|
247
|
-
default: v(() => [
|
|
248
|
-
oe(te(c(I)), 1)
|
|
249
|
-
]),
|
|
250
|
-
_: 1
|
|
251
|
-
})
|
|
252
|
-
])) : ae("", !0)
|
|
253
|
-
]),
|
|
254
|
-
_: 2
|
|
255
|
-
}, [
|
|
256
|
-
l.$slots["option-end"] ? {
|
|
257
|
-
name: "option-end",
|
|
258
|
-
fn: v(({ option: o }) => [
|
|
259
|
-
ne(l.$slots, "option-end", { option: o }, void 0, !0)
|
|
169
|
+
return (l, o) => {
|
|
170
|
+
const d = X("ButtonDropdownTrigger");
|
|
171
|
+
return B(), Y(p(U), {
|
|
172
|
+
ref_key: "dropdownRef",
|
|
173
|
+
ref: D,
|
|
174
|
+
selected: u.value,
|
|
175
|
+
"onUpdate:selected": o[2] || (o[2] = (n) => u.value = n),
|
|
176
|
+
"predefined-trigger": "chip",
|
|
177
|
+
"display-value": (n) => n?.[i.optionNameKey],
|
|
178
|
+
multi: v.value,
|
|
179
|
+
options: t.value,
|
|
180
|
+
placeholder: C.value,
|
|
181
|
+
"search-placeholder": "Search",
|
|
182
|
+
"option-name-key": i.optionNameKey,
|
|
183
|
+
"with-conditions": "",
|
|
184
|
+
"inline-search": "",
|
|
185
|
+
"custom-number-of-displayed-options": p(Q),
|
|
186
|
+
"options-list-width": "330px",
|
|
187
|
+
loading: c.value || i.loadingOverride,
|
|
188
|
+
"load-more-loading": w.value,
|
|
189
|
+
"comparing-key": i.comparingKey,
|
|
190
|
+
"is-open": i.isOpen,
|
|
191
|
+
"infinite-loading": i.infiniteLoading,
|
|
192
|
+
"show-select-all": !i.infiniteLoading && !r.value,
|
|
193
|
+
"grouped-options": i.groupedOptions,
|
|
194
|
+
"option-flag-key": i.optionFlagKey,
|
|
195
|
+
"option-image-key": i.optionImageKey,
|
|
196
|
+
"option-icon-key": i.optionIconKey,
|
|
197
|
+
"option-icon-type": i.optionIconType,
|
|
198
|
+
"trigger-shown-values-count": i.triggerShownValuesCount,
|
|
199
|
+
"onUpdate:isOpen": W,
|
|
200
|
+
onOnsearch: O,
|
|
201
|
+
onApply: z,
|
|
202
|
+
onLoadMore: $,
|
|
203
|
+
onUnsavedSelectionUpdate: P,
|
|
204
|
+
onClosed: q
|
|
205
|
+
}, Z({
|
|
206
|
+
"dropdown-trigger": f(({ defaultTriggerProps: n }) => [
|
|
207
|
+
y(p(ue), _(n, {
|
|
208
|
+
label: C.value,
|
|
209
|
+
"selected-option": p(S),
|
|
210
|
+
multi: N.value,
|
|
211
|
+
"cancel-all-selected-display": "",
|
|
212
|
+
"test-id": i.testId,
|
|
213
|
+
"display-value-in-quotes": !Array.isArray(u.value) && u.value.conditionalOptions,
|
|
214
|
+
"shown-values-count": i.triggerShownValuesCount,
|
|
215
|
+
onClear: j
|
|
216
|
+
}), null, 16, ["label", "selected-option", "multi", "test-id", "display-value-in-quotes", "shown-values-count"])
|
|
217
|
+
]),
|
|
218
|
+
"dropdown-conditions": f(() => [
|
|
219
|
+
ee("div", pe, [
|
|
220
|
+
y(p(U), {
|
|
221
|
+
selected: p(a),
|
|
222
|
+
"onUpdate:selected": o[0] || (o[0] = (n) => le(a) ? a.value = n : null),
|
|
223
|
+
options: i.conditionalOptions,
|
|
224
|
+
"option-name-key": "label",
|
|
225
|
+
"display-value": (n) => n?.label,
|
|
226
|
+
container: ".conditional-container",
|
|
227
|
+
size: "small"
|
|
228
|
+
}, {
|
|
229
|
+
"dropdown-trigger": f(({ buttonTriggerProps: n }) => [
|
|
230
|
+
y(d, F(I(n)), null, 16),
|
|
231
|
+
y(p(re), F(I(n)), null, 16)
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
}, 8, ["selected", "options", "display-value"])
|
|
235
|
+
])
|
|
260
236
|
]),
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
237
|
+
"inline-search": f(() => [
|
|
238
|
+
y(p(se), {
|
|
239
|
+
modelValue: r.value,
|
|
240
|
+
"onUpdate:modelValue": o[1] || (o[1] = (n) => r.value = n),
|
|
241
|
+
class: "inline-search",
|
|
242
|
+
placeholder: "Search",
|
|
243
|
+
variant: "transparent",
|
|
244
|
+
size: "md",
|
|
245
|
+
"auto-focus": i.autoFocusSearch
|
|
246
|
+
}, null, 8, ["modelValue", "auto-focus"])
|
|
247
|
+
]),
|
|
248
|
+
"custom-list-area": f(() => [
|
|
249
|
+
!t.value.length && !c.value ? (B(), oe("div", ve, [
|
|
250
|
+
y(de, { variant: "body1" }, {
|
|
251
|
+
default: f(() => [
|
|
252
|
+
te(ne(p(E)), 1)
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
})
|
|
256
|
+
])) : ae("", !0)
|
|
257
|
+
]),
|
|
258
|
+
_: 2
|
|
259
|
+
}, [
|
|
260
|
+
l.$slots["option-end"] ? {
|
|
261
|
+
name: "option-end",
|
|
262
|
+
fn: f(({ option: n }) => [
|
|
263
|
+
ie(l.$slots, "option-end", { option: n }, void 0, !0)
|
|
264
|
+
]),
|
|
265
|
+
key: "0"
|
|
266
|
+
} : void 0
|
|
267
|
+
]), 1032, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type", "trigger-shown-values-count"]);
|
|
268
|
+
};
|
|
264
269
|
}
|
|
265
270
|
});
|
|
266
271
|
export {
|
|
@@ -15,6 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
16
16
|
endTextIconKey?: string;
|
|
17
17
|
tooltipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
18
|
+
tooltipAttachedToText?: boolean;
|
|
18
19
|
treeMainOption?: boolean;
|
|
19
20
|
treeMainOptionExpanded?: boolean;
|
|
20
21
|
stopOptionClickEventPropagation?: boolean;
|
|
@@ -30,6 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
31
|
option: any;
|
|
31
32
|
isIndeterminate: boolean;
|
|
32
33
|
selectAllOption: boolean;
|
|
34
|
+
tooltipAttachedToText: boolean;
|
|
33
35
|
active: any;
|
|
34
36
|
nameKey: any;
|
|
35
37
|
imageKey: any;
|
|
@@ -68,6 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
68
70
|
endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
69
71
|
endTextIconKey?: string;
|
|
70
72
|
tooltipPlacement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
73
|
+
tooltipAttachedToText?: boolean;
|
|
71
74
|
treeMainOption?: boolean;
|
|
72
75
|
treeMainOptionExpanded?: boolean;
|
|
73
76
|
stopOptionClickEventPropagation?: boolean;
|
|
@@ -83,6 +86,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
83
86
|
option: any;
|
|
84
87
|
isIndeterminate: boolean;
|
|
85
88
|
selectAllOption: boolean;
|
|
89
|
+
tooltipAttachedToText: boolean;
|
|
86
90
|
active: any;
|
|
87
91
|
nameKey: any;
|
|
88
92
|
imageKey: any;
|
|
@@ -116,6 +120,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
116
120
|
isIndeterminate: boolean;
|
|
117
121
|
subtitle: string;
|
|
118
122
|
selectAllOption: boolean;
|
|
123
|
+
tooltipAttachedToText: boolean;
|
|
119
124
|
nameKey: string;
|
|
120
125
|
imageKey: string;
|
|
121
126
|
iconKey: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-752a357d"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|