@ironsource/shared-ui 2.1.7-test.3 → 2.1.7-test.5
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/DataGrid.vue_vue_type_style_index_0_scoped_5273976b_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
- package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
- package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +151 -147
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +70 -53
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
- package/components/dropdown/v4/index.d.ts +78 -2
- package/components/includeExclude/IncludeExclude.vue.js +4 -4
- package/components/includeExclude/IncludeExclude.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +1 -1
- package/components/popover/common/Popover.common.d.ts +6 -0
- package/components/popover/common/Popover.common.js +17 -0
- package/components/popover/v3/Popover.vue.js +8 -0
- package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
- package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
- package/components/popover/v4/PopoverV4.vue.js +7 -0
- package/components/popover/v4/PopoverV4.vue2.js +54 -0
- package/components/popover/v4/index.d.ts +209 -0
- package/components/popover/v4/index.js +6 -0
- package/components/sortableList/SortableList.vue.d.ts +25 -0
- package/components/sortableList/SortableList.vue.js +4 -4
- package/components/sortableList/SortableList.vue2.js +129 -89
- package/components/sortableList/index.d.ts +88 -2
- package/components/table/common/Table.common.js +71 -68
- package/components/table/v3/Table.vue.d.ts +2 -2
- package/components/table/v3/index.d.ts +39 -39
- package/components/table/v4/DataGrid.vue.d.ts +12 -2
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +103 -100
- package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +30 -22
- package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
- package/components/table/v4/MultipleDataGrid.vue.js +4 -4
- package/components/table/v4/MultipleDataGrid.vue2.js +114 -66
- package/components/table/v4/index.d.ts +135 -75
- package/components/table/v4/storyUtils.d.ts +4 -0
- package/components/table-cells/common/Editable.common.js +37 -26
- package/components/table-cells/common/EditableContext.d.ts +1 -0
- package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
- package/components/table-cells/v4/EditableV4.vue.js +5 -5
- package/components/table-cells/v4/EditableV4.vue2.js +18 -17
- package/components/table-cells/v4/index.d.ts +20 -1
- package/components/tabs/v4/TabsV4.vue.js +4 -4
- package/components/tabs/v4/TabsV4.vue2.js +37 -40
- package/index.d.ts +1134 -239
- package/index.js +70 -70
- package/package.json +7 -3
- package/testids/index.d.ts +5 -0
- package/testids/index.js +24 -23
- package/utils/formatNumbers.d.ts +4 -0
- package/utils/formatNumbers.js +11 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
- package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_21842d59_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +0 -1
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
- package/components/popover/Popover.vue.js +0 -8
- /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
- /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/popover/{index.js → v3/index.js} +0 -0
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css"; import { defineComponent as B, ref as z, computed as V, openBlock as n, createBlock as y, unref as i, withCtx as d, createElementVNode as l, normalizeClass as T, createCommentVNode as o, createElementBlock as a, renderSlot as r, createVNode as s, toDisplayString as v, createTextVNode as h, withModifiers as L } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import N from "../../typography/Text.vue.js";
|
|
4
4
|
import O from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import g from "../../icon/v4/IconV4.vue.js";
|
|
6
6
|
import "../../icon/v4/IconFlag.vue.js";
|
|
7
7
|
import { NOOP as P } from "@vue/shared";
|
|
8
8
|
import { optionCommon as S } from "../common/Option.common.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { isElementTruncated as
|
|
12
|
-
const
|
|
9
|
+
import x from "../../typography/v4/Typography.vue.js";
|
|
10
|
+
import E from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
|
+
import { isElementTruncated as j } from "../../../utils/text.js";
|
|
12
|
+
const M = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "image"
|
|
15
|
-
},
|
|
15
|
+
}, R = ["src"], A = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "start-icon"
|
|
18
|
-
}, q = {
|
|
18
|
+
}, D = { class: "main-text" }, q = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "caption-text"
|
|
21
|
+
}, F = {
|
|
19
22
|
key: 3,
|
|
20
23
|
class: "end-icon"
|
|
21
|
-
},
|
|
24
|
+
}, G = { key: 0 }, ie = /* @__PURE__ */ B({
|
|
22
25
|
__name: "OptionV4",
|
|
23
26
|
props: {
|
|
24
27
|
option: { default: null },
|
|
@@ -34,90 +37,104 @@ const R = {
|
|
|
34
37
|
iconType: { default: "regular" },
|
|
35
38
|
endIconKey: { default: null },
|
|
36
39
|
endIconType: { default: "regular" },
|
|
37
|
-
toolTipPlacement: { default: "right" }
|
|
40
|
+
toolTipPlacement: { default: "right" },
|
|
41
|
+
optionTwoLinesVariant: { default: void 0 },
|
|
42
|
+
optionTwoLinesKey: { default: void 0 }
|
|
38
43
|
},
|
|
39
44
|
setup(e) {
|
|
40
|
-
const
|
|
41
|
-
() =>
|
|
42
|
-
),
|
|
43
|
-
return (t,
|
|
44
|
-
text:
|
|
45
|
-
"test-id":
|
|
45
|
+
const k = e, { selected: u, isMulti: m, id: p, onClick: I, api: b } = S(k), f = z(null), C = V(
|
|
46
|
+
() => f.value && j(f.value)
|
|
47
|
+
), $ = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : C.value ? t[k.nameKey] : "", w = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
|
|
48
|
+
return (t, c) => (n(), y(i(E), {
|
|
49
|
+
text: $(e.option),
|
|
50
|
+
"test-id": w(e.option),
|
|
46
51
|
placement: e.toolTipPlacement,
|
|
47
52
|
class: "tooltip-option"
|
|
48
53
|
}, {
|
|
49
|
-
default:
|
|
50
|
-
|
|
54
|
+
default: d(() => [
|
|
55
|
+
l("div", {
|
|
51
56
|
ref: "el",
|
|
52
|
-
class:
|
|
57
|
+
class: T(["item-container", {
|
|
53
58
|
"item-container--disabled": e.disabled,
|
|
54
59
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
55
|
-
"item-container--selected": i(
|
|
56
|
-
"item-container--multi": i(
|
|
60
|
+
"item-container--selected": i(u),
|
|
61
|
+
"item-container--multi": i(m)
|
|
57
62
|
}])
|
|
58
63
|
}, [
|
|
59
|
-
|
|
60
|
-
class:
|
|
61
|
-
"item--multi": i(
|
|
64
|
+
l("div", {
|
|
65
|
+
class: T(["item", {
|
|
66
|
+
"item--multi": i(m),
|
|
62
67
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
63
68
|
}])
|
|
64
69
|
}, [
|
|
65
|
-
i(
|
|
70
|
+
i(m) ? (n(), y(i(O), {
|
|
66
71
|
key: 0,
|
|
67
|
-
id: i(
|
|
72
|
+
id: i(p).toString(),
|
|
68
73
|
tabindex: "-1",
|
|
69
74
|
class: "checkbox",
|
|
70
|
-
"is-checked": i(
|
|
75
|
+
"is-checked": i(u),
|
|
71
76
|
"is-indeterminate": e.isIndeterminate,
|
|
72
|
-
onClick:
|
|
77
|
+
onClick: c[0] || (c[0] = (K) => e.disabled ? i(P)() : i(I)(K))
|
|
73
78
|
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : o("", !0),
|
|
74
|
-
t.$slots.image || e.imageKey ? (n(),
|
|
75
|
-
|
|
76
|
-
e.imageKey ? (n(),
|
|
79
|
+
t.$slots.image || e.imageKey ? (n(), a("div", M, [
|
|
80
|
+
r(t.$slots, "image", {}, () => [
|
|
81
|
+
e.imageKey ? (n(), a("img", {
|
|
77
82
|
key: 0,
|
|
78
83
|
src: e.option[e.imageKey]
|
|
79
|
-
}, null, 8,
|
|
84
|
+
}, null, 8, R)) : o("", !0)
|
|
80
85
|
], !0)
|
|
81
86
|
])) : o("", !0),
|
|
82
|
-
t.$slots["icon-start"] || e.iconKey ? (n(),
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
t.$slots["icon-start"] || e.iconKey ? (n(), a("div", A, [
|
|
88
|
+
r(t.$slots, "icon-start", {}, () => [
|
|
89
|
+
s(i(g), {
|
|
85
90
|
type: e.iconType,
|
|
86
91
|
name: e.option[e.iconKey],
|
|
87
92
|
size: e.iconType === "regular" ? "20px" : "16px"
|
|
88
93
|
}, null, 8, ["type", "name", "size"])
|
|
89
94
|
], !0)
|
|
90
95
|
])) : o("", !0),
|
|
91
|
-
|
|
96
|
+
l("div", {
|
|
92
97
|
ref_key: "textContainerRef",
|
|
93
|
-
ref:
|
|
98
|
+
ref: f,
|
|
94
99
|
class: "text-container"
|
|
95
100
|
}, [
|
|
96
|
-
|
|
101
|
+
s(i(x), {
|
|
97
102
|
class: "option-text",
|
|
98
103
|
variant: "body2"
|
|
99
104
|
}, {
|
|
100
|
-
default:
|
|
101
|
-
|
|
102
|
-
|
|
105
|
+
default: d(() => [
|
|
106
|
+
r(t.$slots, "default", {}, () => [
|
|
107
|
+
l("div", {
|
|
108
|
+
class: T(`option-content-${e.optionTwoLinesVariant || "horizontal"}`)
|
|
109
|
+
}, [
|
|
110
|
+
l("div", D, v(e.option[e.nameKey]), 1),
|
|
111
|
+
e.optionTwoLinesKey ? (n(), a("div", q, [
|
|
112
|
+
s(i(x), { variant: "caption" }, {
|
|
113
|
+
default: d(() => [
|
|
114
|
+
h(v(e.option[e.optionTwoLinesKey]), 1)
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
})
|
|
118
|
+
])) : o("", !0)
|
|
119
|
+
], 2)
|
|
103
120
|
], !0)
|
|
104
121
|
]),
|
|
105
122
|
_: 3
|
|
106
123
|
}),
|
|
107
|
-
e.subtitle ? (n(),
|
|
124
|
+
e.subtitle ? (n(), y(i(N), {
|
|
108
125
|
key: 0,
|
|
109
126
|
class: "subtitle",
|
|
110
127
|
size: "xs"
|
|
111
128
|
}, {
|
|
112
|
-
default:
|
|
113
|
-
|
|
129
|
+
default: d(() => [
|
|
130
|
+
h(v(e.subtitle), 1)
|
|
114
131
|
]),
|
|
115
132
|
_: 1
|
|
116
133
|
})) : o("", !0)
|
|
117
134
|
], 512),
|
|
118
|
-
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(),
|
|
119
|
-
|
|
120
|
-
|
|
135
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), a("div", F, [
|
|
136
|
+
r(t.$slots, "icon-end", {}, () => [
|
|
137
|
+
s(i(g), {
|
|
121
138
|
type: e.endIconType,
|
|
122
139
|
name: e.option[e.endIconKey],
|
|
123
140
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
@@ -125,12 +142,12 @@ const R = {
|
|
|
125
142
|
], !0)
|
|
126
143
|
])) : o("", !0)
|
|
127
144
|
], 2),
|
|
128
|
-
i(b).clearable && i(
|
|
129
|
-
|
|
145
|
+
i(b).clearable && i(u) ? (n(), a("div", G, [
|
|
146
|
+
l("button", {
|
|
130
147
|
class: "clear-button",
|
|
131
|
-
onClick:
|
|
148
|
+
onClick: c[1] || (c[1] = L((K) => i(b).clearSelection(), ["prevent", "stop"]))
|
|
132
149
|
}, [
|
|
133
|
-
|
|
150
|
+
s(i(g), {
|
|
134
151
|
name: "close",
|
|
135
152
|
width: "8",
|
|
136
153
|
height: "8"
|
|
@@ -144,5 +161,5 @@ const R = {
|
|
|
144
161
|
}
|
|
145
162
|
});
|
|
146
163
|
export {
|
|
147
|
-
|
|
164
|
+
ie as default
|
|
148
165
|
};
|
|
@@ -225,6 +225,20 @@ export declare const dropDownStoryArgs: {
|
|
|
225
225
|
category: string;
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
|
+
optionTwoLinesVariant: {
|
|
229
|
+
options: string[];
|
|
230
|
+
table: {
|
|
231
|
+
category: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
optionTwoLinesKey: {
|
|
235
|
+
control: {
|
|
236
|
+
type: string;
|
|
237
|
+
};
|
|
238
|
+
table: {
|
|
239
|
+
category: string;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
228
242
|
valueToCopy: {
|
|
229
243
|
control: {
|
|
230
244
|
type: string;
|
|
@@ -1039,6 +1039,8 @@ declare const DropdownTypes: () => (({
|
|
|
1039
1039
|
disabled: boolean;
|
|
1040
1040
|
active: boolean;
|
|
1041
1041
|
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1042
|
+
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1043
|
+
optionTwoLinesKey: string;
|
|
1042
1044
|
isIndeterminate: boolean;
|
|
1043
1045
|
subtitle: string;
|
|
1044
1046
|
selectAllOption: boolean;
|
|
@@ -1065,6 +1067,14 @@ declare const DropdownTypes: () => (({
|
|
|
1065
1067
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1066
1068
|
default: string;
|
|
1067
1069
|
};
|
|
1070
|
+
optionTwoLinesVariant: {
|
|
1071
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1072
|
+
default: any;
|
|
1073
|
+
};
|
|
1074
|
+
optionTwoLinesKey: {
|
|
1075
|
+
type: import("vue").PropType<string>;
|
|
1076
|
+
default: any;
|
|
1077
|
+
};
|
|
1068
1078
|
isIndeterminate: {
|
|
1069
1079
|
type: import("vue").PropType<boolean>;
|
|
1070
1080
|
default: boolean;
|
|
@@ -1104,7 +1114,7 @@ declare const DropdownTypes: () => (({
|
|
|
1104
1114
|
selectedProp: {
|
|
1105
1115
|
type: import("vue").PropType<boolean>;
|
|
1106
1116
|
};
|
|
1107
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement">;
|
|
1117
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement">;
|
|
1108
1118
|
$attrs: {
|
|
1109
1119
|
[x: string]: unknown;
|
|
1110
1120
|
};
|
|
@@ -1135,6 +1145,14 @@ declare const DropdownTypes: () => (({
|
|
|
1135
1145
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1136
1146
|
default: string;
|
|
1137
1147
|
};
|
|
1148
|
+
optionTwoLinesVariant: {
|
|
1149
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1150
|
+
default: any;
|
|
1151
|
+
};
|
|
1152
|
+
optionTwoLinesKey: {
|
|
1153
|
+
type: import("vue").PropType<string>;
|
|
1154
|
+
default: any;
|
|
1155
|
+
};
|
|
1138
1156
|
isIndeterminate: {
|
|
1139
1157
|
type: import("vue").PropType<boolean>;
|
|
1140
1158
|
default: boolean;
|
|
@@ -1179,6 +1197,8 @@ declare const DropdownTypes: () => (({
|
|
|
1179
1197
|
disabled: boolean;
|
|
1180
1198
|
active: boolean;
|
|
1181
1199
|
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1200
|
+
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1201
|
+
optionTwoLinesKey: string;
|
|
1182
1202
|
isIndeterminate: boolean;
|
|
1183
1203
|
subtitle: string;
|
|
1184
1204
|
selectAllOption: boolean;
|
|
@@ -1225,6 +1245,14 @@ declare const DropdownTypes: () => (({
|
|
|
1225
1245
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1226
1246
|
default: string;
|
|
1227
1247
|
};
|
|
1248
|
+
optionTwoLinesVariant: {
|
|
1249
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1250
|
+
default: any;
|
|
1251
|
+
};
|
|
1252
|
+
optionTwoLinesKey: {
|
|
1253
|
+
type: import("vue").PropType<string>;
|
|
1254
|
+
default: any;
|
|
1255
|
+
};
|
|
1228
1256
|
isIndeterminate: {
|
|
1229
1257
|
type: import("vue").PropType<boolean>;
|
|
1230
1258
|
default: boolean;
|
|
@@ -1285,6 +1313,14 @@ declare const DropdownTypes: () => (({
|
|
|
1285
1313
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1286
1314
|
default: string;
|
|
1287
1315
|
};
|
|
1316
|
+
optionTwoLinesVariant: {
|
|
1317
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1318
|
+
default: any;
|
|
1319
|
+
};
|
|
1320
|
+
optionTwoLinesKey: {
|
|
1321
|
+
type: import("vue").PropType<string>;
|
|
1322
|
+
default: any;
|
|
1323
|
+
};
|
|
1288
1324
|
isIndeterminate: {
|
|
1289
1325
|
type: import("vue").PropType<boolean>;
|
|
1290
1326
|
default: boolean;
|
|
@@ -1329,6 +1365,8 @@ declare const DropdownTypes: () => (({
|
|
|
1329
1365
|
disabled: boolean;
|
|
1330
1366
|
active: boolean;
|
|
1331
1367
|
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1368
|
+
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1369
|
+
optionTwoLinesKey: string;
|
|
1332
1370
|
isIndeterminate: boolean;
|
|
1333
1371
|
subtitle: string;
|
|
1334
1372
|
selectAllOption: boolean;
|
|
@@ -1503,6 +1541,8 @@ declare const DropdownTypes: () => (({
|
|
|
1503
1541
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1504
1542
|
valueToCopy: string;
|
|
1505
1543
|
disabledOptionKey: string;
|
|
1544
|
+
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1545
|
+
optionTwoLinesKey: string;
|
|
1506
1546
|
fullWidth: boolean;
|
|
1507
1547
|
optionsListWidth: string;
|
|
1508
1548
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -1691,6 +1731,14 @@ declare const DropdownTypes: () => (({
|
|
|
1691
1731
|
type: import("vue").PropType<string>;
|
|
1692
1732
|
default: string;
|
|
1693
1733
|
};
|
|
1734
|
+
optionTwoLinesVariant: {
|
|
1735
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1736
|
+
default: any;
|
|
1737
|
+
};
|
|
1738
|
+
optionTwoLinesKey: {
|
|
1739
|
+
type: import("vue").PropType<string>;
|
|
1740
|
+
default: any;
|
|
1741
|
+
};
|
|
1694
1742
|
fullWidth: {
|
|
1695
1743
|
type: import("vue").PropType<boolean>;
|
|
1696
1744
|
default: boolean;
|
|
@@ -1720,7 +1768,7 @@ declare const DropdownTypes: () => (({
|
|
|
1720
1768
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
1721
1769
|
onOpened?: () => any;
|
|
1722
1770
|
onClosed?: () => any;
|
|
1723
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
1771
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
1724
1772
|
$attrs: {
|
|
1725
1773
|
[x: string]: unknown;
|
|
1726
1774
|
};
|
|
@@ -1917,6 +1965,14 @@ declare const DropdownTypes: () => (({
|
|
|
1917
1965
|
type: import("vue").PropType<string>;
|
|
1918
1966
|
default: string;
|
|
1919
1967
|
};
|
|
1968
|
+
optionTwoLinesVariant: {
|
|
1969
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1970
|
+
default: any;
|
|
1971
|
+
};
|
|
1972
|
+
optionTwoLinesKey: {
|
|
1973
|
+
type: import("vue").PropType<string>;
|
|
1974
|
+
default: any;
|
|
1975
|
+
};
|
|
1920
1976
|
fullWidth: {
|
|
1921
1977
|
type: import("vue").PropType<boolean>;
|
|
1922
1978
|
default: boolean;
|
|
@@ -2001,6 +2057,8 @@ declare const DropdownTypes: () => (({
|
|
|
2001
2057
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2002
2058
|
valueToCopy: string;
|
|
2003
2059
|
disabledOptionKey: string;
|
|
2060
|
+
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
2061
|
+
optionTwoLinesKey: string;
|
|
2004
2062
|
fullWidth: boolean;
|
|
2005
2063
|
optionsListWidth: string;
|
|
2006
2064
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -2209,6 +2267,14 @@ declare const DropdownTypes: () => (({
|
|
|
2209
2267
|
type: import("vue").PropType<string>;
|
|
2210
2268
|
default: string;
|
|
2211
2269
|
};
|
|
2270
|
+
optionTwoLinesVariant: {
|
|
2271
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
2272
|
+
default: any;
|
|
2273
|
+
};
|
|
2274
|
+
optionTwoLinesKey: {
|
|
2275
|
+
type: import("vue").PropType<string>;
|
|
2276
|
+
default: any;
|
|
2277
|
+
};
|
|
2212
2278
|
fullWidth: {
|
|
2213
2279
|
type: import("vue").PropType<boolean>;
|
|
2214
2280
|
default: boolean;
|
|
@@ -2428,6 +2494,14 @@ declare const DropdownTypes: () => (({
|
|
|
2428
2494
|
type: import("vue").PropType<string>;
|
|
2429
2495
|
default: string;
|
|
2430
2496
|
};
|
|
2497
|
+
optionTwoLinesVariant: {
|
|
2498
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
2499
|
+
default: any;
|
|
2500
|
+
};
|
|
2501
|
+
optionTwoLinesKey: {
|
|
2502
|
+
type: import("vue").PropType<string>;
|
|
2503
|
+
default: any;
|
|
2504
|
+
};
|
|
2431
2505
|
fullWidth: {
|
|
2432
2506
|
type: import("vue").PropType<boolean>;
|
|
2433
2507
|
default: boolean;
|
|
@@ -2512,6 +2586,8 @@ declare const DropdownTypes: () => (({
|
|
|
2512
2586
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2513
2587
|
valueToCopy: string;
|
|
2514
2588
|
disabledOptionKey: string;
|
|
2589
|
+
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
2590
|
+
optionTwoLinesKey: string;
|
|
2515
2591
|
fullWidth: boolean;
|
|
2516
2592
|
optionsListWidth: string;
|
|
2517
2593
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../IncludeExclude.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
1
|
+
import c from "./IncludeExclude.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(c, [["__scopeId", "data-v-cc2adbf5"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../IncludeExclude.
|
|
2
|
-
import Ae from "../popover/Popover.vue.js";
|
|
1
|
+
import "../../IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css"; import { defineComponent as Te, computed as v, ref as u, watch as j, provide as Oe, openBlock as d, createBlock as I, unref as t, withCtx as g, createElementVNode as a, renderSlot as C, createTextVNode as w, toDisplayString as J, createCommentVNode as h, createVNode as f, Transition as $e, createElementBlock as o, normalizeClass as Q, mergeProps as O, Fragment as $, renderList as R, toRaw as T, nextTick as Re } from "vue";
|
|
2
|
+
import Ae from "../popover/v3/Popover.vue.js";
|
|
3
3
|
import N from "../button/v3/Button.vue.js";
|
|
4
4
|
import "../button/v3/IconButton.vue.js";
|
|
5
5
|
import "../button/v3/ScrollButton.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../IncludeExcludeDragDrop.
|
|
4
|
-
const p = /* @__PURE__ */ e
|
|
1
|
+
import e from "./IncludeExcludeDragDrop.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-bd6145ce"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../IncludeExcludeDragDrop.
|
|
2
|
-
import $e from "../popover/Popover.vue.js";
|
|
1
|
+
import "../../IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css"; import { defineComponent as Re, computed as p, ref as c, watch as H, provide as Ae, openBlock as i, createBlock as O, unref as l, withCtx as h, createElementVNode as s, renderSlot as v, normalizeClass as N, createTextVNode as C, toDisplayString as le, createCommentVNode as f, createVNode as g, Transition as Pe, createElementBlock as u, mergeProps as w, Fragment as U, renderList as W, toRaw as S, isRef as Ee, nextTick as Fe } from "vue";
|
|
2
|
+
import $e from "../popover/v3/Popover.vue.js";
|
|
3
3
|
import G from "../button/v3/Button.vue.js";
|
|
4
4
|
import "../button/v3/IconButton.vue.js";
|
|
5
5
|
import "../button/v3/ScrollButton.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./TextField.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TextField.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css"; //*');
|
|
4
|
+
const d = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4d9bf5b2"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../TextField.
|
|
1
|
+
import "../../../TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css"; import { defineComponent as J, computed as f, ref as Q, openBlock as l, createElementBlock as d, mergeProps as c, unref as t, createBlock as r, createCommentVNode as n, createElementVNode as A, normalizeClass as E, renderSlot as F, withCtx as b, createTextVNode as V, toDisplayString as $, withKeys as U, withModifiers as z, normalizeProps as O, createVNode as p } from "vue";
|
|
2
2
|
import v from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import X from "../../tooltip/v4/TooltipV4.vue.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useToggle as p, onClickOutside as g } from "@vueuse/core";
|
|
2
|
+
import { ref as n } from "vue";
|
|
3
|
+
const f = () => {
|
|
4
|
+
const [o, e] = p(!1), r = n(), t = n();
|
|
5
|
+
return g(
|
|
6
|
+
r,
|
|
7
|
+
() => {
|
|
8
|
+
o.value && e();
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
ignore: [t]
|
|
12
|
+
}
|
|
13
|
+
), { popup: r, open: o, toggle: e, triggerRef: t };
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
f as popoverCommon
|
|
17
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import o from "./Popover.vue2.js";
|
|
2
|
+
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css"; //*');
|
|
4
|
+
// import "../../../Popover.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c607b770"]]);
|
|
6
|
+
export {
|
|
7
|
+
r as default
|
|
8
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "../../../Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css"; import "../../../Popover.vue_vue_type_style_index_1_lang.css"; import { defineComponent as n, openBlock as i, createBlock as r, unref as l, withCtx as a, renderSlot as d } from "vue";
|
|
2
2
|
import { Dropdown as s } from "floating-vue";
|
|
3
3
|
const f = /* @__PURE__ */ n({
|
|
4
4
|
__name: "Popover",
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Placement } from 'floating-vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
autoHide?: boolean;
|
|
4
|
+
trigger?: "touch" | "click" | "focus" | "hover" | "managed";
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
placement?: Placement;
|
|
7
|
+
distance?: number;
|
|
8
|
+
skidding?: number;
|
|
9
|
+
testId?: string;
|
|
10
|
+
popperClass?: string;
|
|
11
|
+
}>, {
|
|
12
|
+
trigger: string;
|
|
13
|
+
autoHide: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
placement: string;
|
|
16
|
+
distance: number;
|
|
17
|
+
skidding: number;
|
|
18
|
+
testId: string;
|
|
19
|
+
popperClass: string;
|
|
20
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
autoHide?: boolean;
|
|
22
|
+
trigger?: "touch" | "click" | "focus" | "hover" | "managed";
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
placement?: Placement;
|
|
25
|
+
distance?: number;
|
|
26
|
+
skidding?: number;
|
|
27
|
+
testId?: string;
|
|
28
|
+
popperClass?: string;
|
|
29
|
+
}>, {
|
|
30
|
+
trigger: string;
|
|
31
|
+
autoHide: boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
placement: string;
|
|
34
|
+
distance: number;
|
|
35
|
+
skidding: number;
|
|
36
|
+
testId: string;
|
|
37
|
+
popperClass: string;
|
|
38
|
+
}>>>, {
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
testId: string;
|
|
41
|
+
placement: Placement;
|
|
42
|
+
distance: number;
|
|
43
|
+
popperClass: string;
|
|
44
|
+
autoHide: boolean;
|
|
45
|
+
skidding: number;
|
|
46
|
+
trigger: "touch" | "click" | "focus" | "hover" | "managed";
|
|
47
|
+
}>, {
|
|
48
|
+
trigger?(_: {}): any;
|
|
49
|
+
content?(_: {}): any;
|
|
50
|
+
}>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
+
} : {
|
|
57
|
+
type: import('vue').PropType<T[K]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
type __VLS_WithDefaults<P, D> = {
|
|
62
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
63
|
+
default: D[K];
|
|
64
|
+
}> : P[K];
|
|
65
|
+
};
|
|
66
|
+
type __VLS_Prettify<T> = {
|
|
67
|
+
[K in keyof T]: T[K];
|
|
68
|
+
} & {};
|
|
69
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
+
new (): {
|
|
71
|
+
$slots: S;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./PopoverV4.vue2.js";
|
|
2
|
+
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c54cd089"]]);
|
|
5
|
+
export {
|
|
6
|
+
r as default
|
|
7
|
+
};
|