@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,13 +1,13 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css"; import { defineComponent as V, ref as I, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as s, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as a, toDisplayString as m, createTextVNode as T, withModifiers as O, Fragment as j, renderList as R } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import D from "../../typography/Text.vue.js";
|
|
4
4
|
import q from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
5
|
import y from "../../icon/v4/IconV4.vue.js";
|
|
6
6
|
import G from "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
import { NOOP as
|
|
7
|
+
import { NOOP as $ } from "@vue/shared";
|
|
8
8
|
import { optionCommon as H } from "../common/Option.common.js";
|
|
9
9
|
import p from "../../typography/v4/Typography.vue.js";
|
|
10
|
-
import
|
|
10
|
+
import h from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
11
|
import { isElementTruncated as J } from "../../../utils/text.js";
|
|
12
12
|
import { promiseTimeout as Q } from "@vueuse/core";
|
|
13
13
|
const U = { class: "multiline-tooltip" }, W = {
|
|
@@ -26,10 +26,10 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "main-text"
|
|
28
28
|
}, te = {
|
|
29
|
-
key:
|
|
29
|
+
key: 0,
|
|
30
30
|
class: "end-text-icon"
|
|
31
31
|
}, ne = {
|
|
32
|
-
key:
|
|
32
|
+
key: 1,
|
|
33
33
|
class: "caption-text"
|
|
34
34
|
}, ie = {
|
|
35
35
|
key: 4,
|
|
@@ -37,7 +37,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
37
37
|
}, oe = {
|
|
38
38
|
key: 5,
|
|
39
39
|
class: "option-warning"
|
|
40
|
-
}, le = ["onClick"], ae = { key: 0 },
|
|
40
|
+
}, le = ["onClick"], ae = { key: 0 }, ke = /* @__PURE__ */ V({
|
|
41
41
|
__name: "OptionV4",
|
|
42
42
|
props: {
|
|
43
43
|
option: { default: null },
|
|
@@ -56,6 +56,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
56
56
|
endIconType: { default: "regular" },
|
|
57
57
|
endTextIconKey: { default: null },
|
|
58
58
|
tooltipPlacement: { default: "right" },
|
|
59
|
+
tooltipAttachedToText: { type: Boolean, default: !1 },
|
|
59
60
|
treeMainOption: { type: Boolean, default: !1 },
|
|
60
61
|
treeMainOptionExpanded: { type: Boolean, default: !1 },
|
|
61
62
|
stopOptionClickEventPropagation: { type: Boolean, default: !1 },
|
|
@@ -67,37 +68,38 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
67
68
|
minMaxSelectionTooltipMessage: { default: null }
|
|
68
69
|
},
|
|
69
70
|
emits: ["toggleTreeCollapse"],
|
|
70
|
-
setup(e, { emit:
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
|
|
71
|
+
setup(e, { emit: M }) {
|
|
72
|
+
const d = e, { selected: b, id: B, onClick: S, api: K } = H(d), z = (t) => {
|
|
73
|
+
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? $() : S(t);
|
|
74
|
+
}, x = I(null), w = I(!1), A = (t) => {
|
|
75
|
+
d.disabled && (t.stopPropagation(), $());
|
|
75
76
|
};
|
|
76
|
-
F([() =>
|
|
77
|
-
await Q(100),
|
|
77
|
+
F([() => d.treeChildShown, x], async () => {
|
|
78
|
+
await Q(100), w.value = x.value && J(x.value);
|
|
78
79
|
});
|
|
79
|
-
const
|
|
80
|
-
const t =
|
|
80
|
+
const P = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : w.value ? t[d.nameKey] : "", k = L(() => {
|
|
81
|
+
const t = d.disabled && d.minMaxSelectionTooltipMessage || "", c = P(d.option);
|
|
81
82
|
return c ? t ? `${c}. ${t}` : c : t;
|
|
82
|
-
}),
|
|
83
|
-
|
|
83
|
+
}), C = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
|
|
84
|
+
M("toggleTreeCollapse", d.option);
|
|
84
85
|
};
|
|
85
|
-
return (t, c) => (i(), g(n(
|
|
86
|
-
text: n(
|
|
87
|
-
|
|
86
|
+
return (t, c) => (i(), g(n(h), {
|
|
87
|
+
text: n(k),
|
|
88
|
+
disabled: e.tooltipAttachedToText,
|
|
89
|
+
"test-id": C(e.option),
|
|
88
90
|
placement: e.tooltipPlacement,
|
|
89
91
|
class: "tooltip-option"
|
|
90
92
|
}, N({
|
|
91
|
-
default:
|
|
93
|
+
default: s(() => [
|
|
92
94
|
u("div", {
|
|
93
95
|
ref: "el",
|
|
94
96
|
class: v(["item-container", {
|
|
95
97
|
"item-container--disabled": e.disabled,
|
|
96
98
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
97
|
-
"item-container--selected": n(
|
|
99
|
+
"item-container--selected": n(b),
|
|
98
100
|
"item-container--multi": e.isMulti
|
|
99
101
|
}]),
|
|
100
|
-
onClick:
|
|
102
|
+
onClick: A
|
|
101
103
|
}, [
|
|
102
104
|
u("div", {
|
|
103
105
|
class: v(["item", {
|
|
@@ -107,13 +109,13 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
107
109
|
}, [
|
|
108
110
|
e.isMulti || e.selectAllOption ? (i(), g(n(q), {
|
|
109
111
|
key: 0,
|
|
110
|
-
id: n(
|
|
111
|
-
disabled:
|
|
112
|
+
id: n(B).toString(),
|
|
113
|
+
disabled: d.disabled,
|
|
112
114
|
tabindex: "-1",
|
|
113
115
|
class: "checkbox",
|
|
114
|
-
"is-checked": n(
|
|
116
|
+
"is-checked": n(b),
|
|
115
117
|
"is-indeterminate": e.isIndeterminate,
|
|
116
|
-
onClick: c[0] || (c[0] = (f) =>
|
|
118
|
+
onClick: c[0] || (c[0] = (f) => z(f))
|
|
117
119
|
}, null, 8, ["id", "disabled", "is-checked", "is-indeterminate"])) : o("", !0),
|
|
118
120
|
!e.option?.conditionalOptions && (t.$slots.image || e.imageKey) ? (i(), l("div", W, [
|
|
119
121
|
r(t.$slots, "image", {}, () => [
|
|
@@ -133,7 +135,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
133
135
|
])) : o("", !0),
|
|
134
136
|
!e.option?.conditionalOptions && (t.$slots["icon-start"] || e.iconKey) ? (i(), l("div", Z, [
|
|
135
137
|
r(t.$slots, "icon-start", {}, () => [
|
|
136
|
-
|
|
138
|
+
a(n(y), {
|
|
137
139
|
type: e.iconType,
|
|
138
140
|
name: e.option[e.iconKey],
|
|
139
141
|
color: e.option.disabled ? "var(--text-disabled)" : null,
|
|
@@ -143,48 +145,59 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
143
145
|
])) : o("", !0),
|
|
144
146
|
u("div", {
|
|
145
147
|
ref_key: "textContainerRef",
|
|
146
|
-
ref:
|
|
148
|
+
ref: x,
|
|
147
149
|
class: "text-container"
|
|
148
150
|
}, [
|
|
149
|
-
|
|
151
|
+
a(n(p), {
|
|
150
152
|
class: "option-text",
|
|
151
153
|
variant: "body2"
|
|
152
154
|
}, {
|
|
153
|
-
default:
|
|
155
|
+
default: s(() => [
|
|
154
156
|
r(t.$slots, "default", {}, () => [
|
|
155
157
|
u("div", {
|
|
156
158
|
class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
|
|
157
159
|
}, [
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
160
|
+
a(n(h), {
|
|
161
|
+
text: n(k),
|
|
162
|
+
placement: e.tooltipPlacement,
|
|
163
|
+
disabled: !e.tooltipAttachedToText,
|
|
164
|
+
"test-id": C(e.option),
|
|
165
|
+
"dont-wrap-disabled": ""
|
|
166
|
+
}, {
|
|
167
|
+
default: s(() => [
|
|
168
|
+
e.option?.conditionalOptions ? (i(), l("div", ee, [
|
|
169
|
+
a(n(p), {
|
|
170
|
+
variant: "body2",
|
|
171
|
+
class: "conditional-option-label"
|
|
172
|
+
}, {
|
|
173
|
+
default: s(() => [
|
|
174
|
+
T(m(e.option.conditionalName) + ": ", 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}),
|
|
178
|
+
a(n(p), {
|
|
179
|
+
variant: "h5",
|
|
180
|
+
class: "conditional-option-value"
|
|
181
|
+
}, {
|
|
182
|
+
default: s(() => [
|
|
183
|
+
T('"' + m(e.option[e.nameKey]) + '"', 1)
|
|
184
|
+
]),
|
|
185
|
+
_: 1
|
|
186
|
+
})
|
|
187
|
+
])) : (i(), l("div", _, m(e.option[e.nameKey]), 1))
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 8, ["text", "placement", "disabled", "test-id"]),
|
|
178
191
|
e.endTextIconKey && e.option[e.endTextIconKey] ? (i(), l("span", te, [
|
|
179
|
-
|
|
192
|
+
a(n(y), {
|
|
180
193
|
type: "regular",
|
|
181
194
|
name: e.option[e.endTextIconKey],
|
|
182
195
|
size: "16px"
|
|
183
196
|
}, null, 8, ["name"])
|
|
184
197
|
])) : o("", !0),
|
|
185
198
|
e.optionTwoLinesKey ? (i(), l("div", ne, [
|
|
186
|
-
|
|
187
|
-
default:
|
|
199
|
+
a(n(p), { variant: "caption" }, {
|
|
200
|
+
default: s(() => [
|
|
188
201
|
T(m(e.option[e.optionTwoLinesKey]), 1)
|
|
189
202
|
]),
|
|
190
203
|
_: 1
|
|
@@ -200,7 +213,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
200
213
|
class: "subtitle",
|
|
201
214
|
size: "xs"
|
|
202
215
|
}, {
|
|
203
|
-
default:
|
|
216
|
+
default: s(() => [
|
|
204
217
|
T(m(e.subtitle), 1)
|
|
205
218
|
]),
|
|
206
219
|
_: 1
|
|
@@ -208,7 +221,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
208
221
|
], 512),
|
|
209
222
|
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (i(), l("div", ie, [
|
|
210
223
|
r(t.$slots, "icon-end", {}, () => [
|
|
211
|
-
|
|
224
|
+
a(n(y), {
|
|
212
225
|
type: e.endIconType || "regular",
|
|
213
226
|
name: e.option[e.endIconKey],
|
|
214
227
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
@@ -216,12 +229,12 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
216
229
|
], !0)
|
|
217
230
|
])) : o("", !0),
|
|
218
231
|
e.warningKey && e.option?.[e.warningKey] ? (i(), l("div", oe, [
|
|
219
|
-
|
|
232
|
+
a(n(h), {
|
|
220
233
|
text: e.option[e.warningKey],
|
|
221
234
|
placement: "top"
|
|
222
235
|
}, {
|
|
223
|
-
default:
|
|
224
|
-
|
|
236
|
+
default: s(() => [
|
|
237
|
+
a(n(y), {
|
|
225
238
|
class: "option-warning__icon",
|
|
226
239
|
name: "warning-circle",
|
|
227
240
|
size: "16px"
|
|
@@ -237,21 +250,21 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
237
250
|
e.treeMainOption ? (i(), l("div", {
|
|
238
251
|
key: 7,
|
|
239
252
|
class: "tree-main-arrow-wrapper",
|
|
240
|
-
onClick:
|
|
253
|
+
onClick: O(E, ["stop"])
|
|
241
254
|
}, [
|
|
242
|
-
|
|
255
|
+
a(n(y), {
|
|
243
256
|
name: "caret-down",
|
|
244
257
|
size: "16px",
|
|
245
258
|
class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
246
259
|
}, null, 8, ["class"])
|
|
247
260
|
], 8, le)) : o("", !0)
|
|
248
261
|
], 2),
|
|
249
|
-
n(
|
|
262
|
+
n(K).clearable && n(b) ? (i(), l("div", ae, [
|
|
250
263
|
u("button", {
|
|
251
264
|
class: "clear-button",
|
|
252
|
-
onClick: c[1] || (c[1] =
|
|
265
|
+
onClick: c[1] || (c[1] = O((f) => n(K).clearSelection(), ["prevent", "stop"]))
|
|
253
266
|
}, [
|
|
254
|
-
|
|
267
|
+
a(n(y), {
|
|
255
268
|
name: "close",
|
|
256
269
|
width: "8",
|
|
257
270
|
height: "8"
|
|
@@ -262,15 +275,15 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
262
275
|
]),
|
|
263
276
|
_: 2
|
|
264
277
|
}, [
|
|
265
|
-
Array.isArray(n(
|
|
278
|
+
Array.isArray(n(k)) ? {
|
|
266
279
|
name: "tooltip",
|
|
267
|
-
fn:
|
|
280
|
+
fn: s(() => [
|
|
268
281
|
u("div", U, [
|
|
269
|
-
(i(!0), l(j, null, R(n(
|
|
282
|
+
(i(!0), l(j, null, R(n(k), (f) => (i(), g(n(p), {
|
|
270
283
|
key: f,
|
|
271
284
|
variant: "body2"
|
|
272
285
|
}, {
|
|
273
|
-
default:
|
|
286
|
+
default: s(() => [
|
|
274
287
|
T(m(f), 1)
|
|
275
288
|
]),
|
|
276
289
|
_: 2
|
|
@@ -279,9 +292,9 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
279
292
|
]),
|
|
280
293
|
key: "0"
|
|
281
294
|
} : void 0
|
|
282
|
-
]), 1032, ["text", "test-id", "placement"]));
|
|
295
|
+
]), 1032, ["text", "disabled", "test-id", "placement"]));
|
|
283
296
|
}
|
|
284
297
|
});
|
|
285
298
|
export {
|
|
286
|
-
|
|
299
|
+
ke as default
|
|
287
300
|
};
|
|
@@ -1088,6 +1088,7 @@ declare const DropdownTypes: () => (({
|
|
|
1088
1088
|
isIndeterminate: boolean;
|
|
1089
1089
|
subtitle: string;
|
|
1090
1090
|
selectAllOption: boolean;
|
|
1091
|
+
tooltipAttachedToText: boolean;
|
|
1091
1092
|
nameKey: string;
|
|
1092
1093
|
imageKey: string;
|
|
1093
1094
|
iconKey: string;
|
|
@@ -1146,6 +1147,10 @@ declare const DropdownTypes: () => (({
|
|
|
1146
1147
|
type: import("vue").PropType<boolean>;
|
|
1147
1148
|
default: boolean;
|
|
1148
1149
|
};
|
|
1150
|
+
tooltipAttachedToText: {
|
|
1151
|
+
type: import("vue").PropType<boolean>;
|
|
1152
|
+
default: boolean;
|
|
1153
|
+
};
|
|
1149
1154
|
nameKey: {
|
|
1150
1155
|
type: import("vue").PropType<string>;
|
|
1151
1156
|
default: any;
|
|
@@ -1203,7 +1208,7 @@ declare const DropdownTypes: () => (({
|
|
|
1203
1208
|
};
|
|
1204
1209
|
}>> & {
|
|
1205
1210
|
onToggleTreeCollapse?: (option: unknown) => any;
|
|
1206
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "tooltipPlacement" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "warningKey" | "iconType" | "endIconKey" | "endTextIconKey" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti" | "minMaxSelectionTooltipMessage">;
|
|
1211
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "tooltipPlacement" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "tooltipAttachedToText" | "nameKey" | "imageKey" | "iconKey" | "warningKey" | "iconType" | "endIconKey" | "endTextIconKey" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti" | "minMaxSelectionTooltipMessage">;
|
|
1207
1212
|
$attrs: {
|
|
1208
1213
|
[x: string]: unknown;
|
|
1209
1214
|
};
|
|
@@ -1262,6 +1267,10 @@ declare const DropdownTypes: () => (({
|
|
|
1262
1267
|
type: import("vue").PropType<boolean>;
|
|
1263
1268
|
default: boolean;
|
|
1264
1269
|
};
|
|
1270
|
+
tooltipAttachedToText: {
|
|
1271
|
+
type: import("vue").PropType<boolean>;
|
|
1272
|
+
default: boolean;
|
|
1273
|
+
};
|
|
1265
1274
|
nameKey: {
|
|
1266
1275
|
type: import("vue").PropType<string>;
|
|
1267
1276
|
default: any;
|
|
@@ -1333,6 +1342,7 @@ declare const DropdownTypes: () => (({
|
|
|
1333
1342
|
isIndeterminate: boolean;
|
|
1334
1343
|
subtitle: string;
|
|
1335
1344
|
selectAllOption: boolean;
|
|
1345
|
+
tooltipAttachedToText: boolean;
|
|
1336
1346
|
nameKey: string;
|
|
1337
1347
|
imageKey: string;
|
|
1338
1348
|
iconKey: string;
|
|
@@ -1411,6 +1421,10 @@ declare const DropdownTypes: () => (({
|
|
|
1411
1421
|
type: import("vue").PropType<boolean>;
|
|
1412
1422
|
default: boolean;
|
|
1413
1423
|
};
|
|
1424
|
+
tooltipAttachedToText: {
|
|
1425
|
+
type: import("vue").PropType<boolean>;
|
|
1426
|
+
default: boolean;
|
|
1427
|
+
};
|
|
1414
1428
|
nameKey: {
|
|
1415
1429
|
type: import("vue").PropType<string>;
|
|
1416
1430
|
default: any;
|
|
@@ -1517,6 +1531,10 @@ declare const DropdownTypes: () => (({
|
|
|
1517
1531
|
type: import("vue").PropType<boolean>;
|
|
1518
1532
|
default: boolean;
|
|
1519
1533
|
};
|
|
1534
|
+
tooltipAttachedToText: {
|
|
1535
|
+
type: import("vue").PropType<boolean>;
|
|
1536
|
+
default: boolean;
|
|
1537
|
+
};
|
|
1520
1538
|
nameKey: {
|
|
1521
1539
|
type: import("vue").PropType<string>;
|
|
1522
1540
|
default: any;
|
|
@@ -1588,6 +1606,7 @@ declare const DropdownTypes: () => (({
|
|
|
1588
1606
|
isIndeterminate: boolean;
|
|
1589
1607
|
subtitle: string;
|
|
1590
1608
|
selectAllOption: boolean;
|
|
1609
|
+
tooltipAttachedToText: boolean;
|
|
1591
1610
|
nameKey: string;
|
|
1592
1611
|
imageKey: string;
|
|
1593
1612
|
iconKey: string;
|
|
@@ -84,9 +84,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
84
84
|
searchAttribute: string;
|
|
85
85
|
isLoading: boolean;
|
|
86
86
|
showIcon: boolean;
|
|
87
|
+
clearable: boolean;
|
|
87
88
|
iconKey: string;
|
|
88
89
|
searchPlaceholder: string;
|
|
89
|
-
clearable: boolean;
|
|
90
90
|
titleText: string;
|
|
91
91
|
distanceOffset: number;
|
|
92
92
|
skiddingOffset: number;
|
|
@@ -26,8 +26,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
26
|
titleText: string;
|
|
27
27
|
}>>>, {
|
|
28
28
|
disabled: boolean;
|
|
29
|
-
subtitle: string;
|
|
30
29
|
clearable: boolean;
|
|
30
|
+
subtitle: string;
|
|
31
31
|
titleText: string;
|
|
32
32
|
showCheckbox: boolean;
|
|
33
33
|
}>, {
|