@ironsource/shared-ui 2.1.12-rc.13 → 2.1.12-rc.15
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/ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_de950ffe_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_1ff0e54f_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_21ce0774_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_ae87f435_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_4de6dfb8_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_8ba7e191_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +4 -3
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +36 -0
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +89 -74
- package/components/chart/ChartHeader.vue.d.ts +24 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +70 -50
- package/components/chart/ChartHeaderTrend.vue.d.ts +13 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +80 -18
- package/components/chart/ChartPlane.vue.d.ts +35 -2
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +115 -103
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- package/components/chart/index.d.ts +106 -1
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dialog/v4/index.d.ts +7 -7
- package/components/dropdown/v4/DropdownV4.vue.d.ts +3 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +93 -88
- package/components/dropdown/v4/OptionV4.vue.d.ts +3 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +38 -35
- package/components/dropdown/v4/index.d.ts +6 -0
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/tooltip/v4/index.d.ts +7 -7
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +29 -26
- package/index.d.ts +47 -35
- package/index.js +1 -1
- package/package.json +1 -1
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_a0b89669_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_0f3a67d5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_0875167b_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_8ba7e191_lang.css"; import { defineComponent as P, ref as C, watch as S, computed as V, openBlock as o, createBlock as y, unref as n, createSlots as A, withCtx as s, createElementVNode as c, normalizeClass as k, createCommentVNode as i, createElementBlock as l, renderSlot as u, createVNode as a, toDisplayString as r, createTextVNode as f, withModifiers as I, Fragment as F, renderList as L } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import N from "../../typography/Text.vue.js";
|
|
4
4
|
import j from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
@@ -34,7 +34,7 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
34
34
|
}, ne = {
|
|
35
35
|
key: 4,
|
|
36
36
|
class: "end-icon"
|
|
37
|
-
}, oe = ["onClick"],
|
|
37
|
+
}, oe = { key: 5 }, ie = ["onClick"], le = { key: 0 }, ve = /* @__PURE__ */ P({
|
|
38
38
|
__name: "OptionV4",
|
|
39
39
|
props: {
|
|
40
40
|
option: { default: null },
|
|
@@ -63,17 +63,17 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
63
63
|
},
|
|
64
64
|
emits: ["toggleTreeCollapse"],
|
|
65
65
|
setup(e, { emit: O }) {
|
|
66
|
-
const d = e, { selected: h, id:
|
|
67
|
-
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? D() :
|
|
66
|
+
const d = e, { selected: h, id: $, onClick: w, api: x } = q(d), B = (t) => {
|
|
67
|
+
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? D() : w(t);
|
|
68
68
|
}, p = C(null), b = C(!1);
|
|
69
69
|
S([() => d.treeChildShown, p], async () => {
|
|
70
70
|
await J(100), b.value = p.value && H(p.value);
|
|
71
71
|
});
|
|
72
|
-
const M = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : b.value ? t[d.nameKey] : "",
|
|
72
|
+
const M = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : b.value ? t[d.nameKey] : "", K = V(() => M(d.option)), z = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
|
|
73
73
|
O("toggleTreeCollapse", d.option);
|
|
74
74
|
};
|
|
75
|
-
return (t,
|
|
76
|
-
text: n(
|
|
75
|
+
return (t, v) => (o(), y(n(G), {
|
|
76
|
+
text: n(K),
|
|
77
77
|
"test-id": z(e.option),
|
|
78
78
|
placement: e.toolTipPlacement,
|
|
79
79
|
class: "tooltip-option"
|
|
@@ -81,7 +81,7 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
81
81
|
default: s(() => [
|
|
82
82
|
c("div", {
|
|
83
83
|
ref: "el",
|
|
84
|
-
class:
|
|
84
|
+
class: k(["item-container", {
|
|
85
85
|
"item-container--disabled": e.disabled,
|
|
86
86
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
87
87
|
"item-container--selected": n(h),
|
|
@@ -89,22 +89,22 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
89
89
|
}])
|
|
90
90
|
}, [
|
|
91
91
|
c("div", {
|
|
92
|
-
class:
|
|
92
|
+
class: k(["item", {
|
|
93
93
|
"item--multi": e.isMulti,
|
|
94
94
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
95
95
|
}])
|
|
96
96
|
}, [
|
|
97
|
-
e.isMulti || e.selectAllOption ? (o(),
|
|
97
|
+
e.isMulti || e.selectAllOption ? (o(), y(n(j), {
|
|
98
98
|
key: 0,
|
|
99
|
-
id: n(
|
|
99
|
+
id: n($).toString(),
|
|
100
100
|
tabindex: "-1",
|
|
101
101
|
class: "checkbox",
|
|
102
102
|
"is-checked": n(h),
|
|
103
103
|
"is-indeterminate": e.isIndeterminate,
|
|
104
|
-
onClick:
|
|
104
|
+
onClick: v[0] || (v[0] = (m) => B(m))
|
|
105
105
|
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : i("", !0),
|
|
106
106
|
!e.option?.conditionalOptions && (t.$slots.image || e.imageKey) ? (o(), l("div", U, [
|
|
107
|
-
|
|
107
|
+
u(t.$slots, "image", {}, () => [
|
|
108
108
|
e.imageKey ? (o(), l("img", {
|
|
109
109
|
key: 0,
|
|
110
110
|
src: e.option[e.imageKey]
|
|
@@ -112,15 +112,15 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
112
112
|
], !0)
|
|
113
113
|
])) : i("", !0),
|
|
114
114
|
!e.option?.conditionalOptions && (t.$slots.flag || e.optionFlagKey) ? (o(), l("div", X, [
|
|
115
|
-
|
|
116
|
-
e.optionFlagKey ? (o(),
|
|
115
|
+
u(t.$slots, "flag", {}, () => [
|
|
116
|
+
e.optionFlagKey ? (o(), y(n(R), {
|
|
117
117
|
key: 0,
|
|
118
118
|
"country-code": e.option[e.optionFlagKey]
|
|
119
119
|
}, null, 8, ["country-code"])) : i("", !0)
|
|
120
120
|
], !0)
|
|
121
121
|
])) : i("", !0),
|
|
122
122
|
!e.option?.conditionalOptions && (t.$slots["icon-start"] || e.iconKey) ? (o(), l("div", Y, [
|
|
123
|
-
|
|
123
|
+
u(t.$slots, "icon-start", {}, () => [
|
|
124
124
|
a(n(T), {
|
|
125
125
|
type: e.iconType,
|
|
126
126
|
name: e.option[e.iconKey],
|
|
@@ -138,9 +138,9 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
138
138
|
variant: "body2"
|
|
139
139
|
}, {
|
|
140
140
|
default: s(() => [
|
|
141
|
-
|
|
141
|
+
u(t.$slots, "default", {}, () => [
|
|
142
142
|
c("div", {
|
|
143
|
-
class:
|
|
143
|
+
class: k(`option-content-${e.optionTwoLinesVariant} option-content`)
|
|
144
144
|
}, [
|
|
145
145
|
e.option?.conditionalOptions ? (o(), l("div", _, [
|
|
146
146
|
a(n(g), {
|
|
@@ -148,7 +148,7 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
148
148
|
class: "conditional-option-label"
|
|
149
149
|
}, {
|
|
150
150
|
default: s(() => [
|
|
151
|
-
f(
|
|
151
|
+
f(r(e.option.conditionalName) + ": ", 1)
|
|
152
152
|
]),
|
|
153
153
|
_: 1
|
|
154
154
|
}),
|
|
@@ -157,11 +157,11 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
157
157
|
class: "conditional-option-value"
|
|
158
158
|
}, {
|
|
159
159
|
default: s(() => [
|
|
160
|
-
f('"' +
|
|
160
|
+
f('"' + r(e.option[e.nameKey]) + '"', 1)
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
163
|
})
|
|
164
|
-
])) : (o(), l("div", Z,
|
|
164
|
+
])) : (o(), l("div", Z, r(e.option[e.nameKey]), 1)),
|
|
165
165
|
e.endTextIconKey && e.option[e.endTextIconKey] ? (o(), l("span", ee, [
|
|
166
166
|
a(n(T), {
|
|
167
167
|
type: "regular",
|
|
@@ -172,7 +172,7 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
172
172
|
e.optionTwoLinesKey ? (o(), l("div", te, [
|
|
173
173
|
a(n(g), { variant: "caption" }, {
|
|
174
174
|
default: s(() => [
|
|
175
|
-
f(
|
|
175
|
+
f(r(e.option[e.optionTwoLinesKey]), 1)
|
|
176
176
|
]),
|
|
177
177
|
_: 1
|
|
178
178
|
})
|
|
@@ -182,19 +182,19 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
182
182
|
]),
|
|
183
183
|
_: 3
|
|
184
184
|
}),
|
|
185
|
-
e.subtitle ? (o(),
|
|
185
|
+
e.subtitle ? (o(), y(n(N), {
|
|
186
186
|
key: 0,
|
|
187
187
|
class: "subtitle",
|
|
188
188
|
size: "xs"
|
|
189
189
|
}, {
|
|
190
190
|
default: s(() => [
|
|
191
|
-
f(
|
|
191
|
+
f(r(e.subtitle), 1)
|
|
192
192
|
]),
|
|
193
193
|
_: 1
|
|
194
194
|
})) : i("", !0)
|
|
195
195
|
], 512),
|
|
196
196
|
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), l("div", ne, [
|
|
197
|
-
|
|
197
|
+
u(t.$slots, "icon-end", {}, () => [
|
|
198
198
|
a(n(T), {
|
|
199
199
|
type: e.endIconType || "regular",
|
|
200
200
|
name: e.option[e.endIconKey],
|
|
@@ -202,22 +202,25 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
202
202
|
}, null, 8, ["type", "name", "size"])
|
|
203
203
|
], !0)
|
|
204
204
|
])) : i("", !0),
|
|
205
|
+
t.$slots["option-end"] ? (o(), l("div", oe, [
|
|
206
|
+
u(t.$slots, "option-end", { option: e.option }, void 0, !0)
|
|
207
|
+
])) : i("", !0),
|
|
205
208
|
e.treeMainOption ? (o(), l("div", {
|
|
206
|
-
key:
|
|
209
|
+
key: 6,
|
|
207
210
|
class: "tree-main-arrow-wrapper",
|
|
208
211
|
onClick: I(E, ["stop"])
|
|
209
212
|
}, [
|
|
210
213
|
a(n(T), {
|
|
211
214
|
name: "caret-down",
|
|
212
215
|
size: "16px",
|
|
213
|
-
class:
|
|
216
|
+
class: k(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
214
217
|
}, null, 8, ["class"])
|
|
215
|
-
], 8,
|
|
218
|
+
], 8, ie)) : i("", !0)
|
|
216
219
|
], 2),
|
|
217
|
-
n(
|
|
220
|
+
n(x).clearable && n(h) ? (o(), l("div", le, [
|
|
218
221
|
c("button", {
|
|
219
222
|
class: "clear-button",
|
|
220
|
-
onClick:
|
|
223
|
+
onClick: v[1] || (v[1] = I((m) => n(x).clearSelection(), ["prevent", "stop"]))
|
|
221
224
|
}, [
|
|
222
225
|
a(n(T), {
|
|
223
226
|
name: "close",
|
|
@@ -230,16 +233,16 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
230
233
|
]),
|
|
231
234
|
_: 2
|
|
232
235
|
}, [
|
|
233
|
-
Array.isArray(n(
|
|
236
|
+
Array.isArray(n(K)) ? {
|
|
234
237
|
name: "tooltip",
|
|
235
238
|
fn: s(() => [
|
|
236
239
|
c("div", Q, [
|
|
237
|
-
(o(!0), l(F, null, L(n(
|
|
238
|
-
key:
|
|
240
|
+
(o(!0), l(F, null, L(n(K), (m) => (o(), y(n(g), {
|
|
241
|
+
key: m,
|
|
239
242
|
variant: "body2"
|
|
240
243
|
}, {
|
|
241
244
|
default: s(() => [
|
|
242
|
-
f(
|
|
245
|
+
f(r(m), 1)
|
|
243
246
|
]),
|
|
244
247
|
_: 2
|
|
245
248
|
}, 1024))), 128))
|
|
@@ -251,5 +254,5 @@ const Q = { class: "multiline-tooltip" }, U = {
|
|
|
251
254
|
}
|
|
252
255
|
});
|
|
253
256
|
export {
|
|
254
|
-
|
|
257
|
+
ve as default
|
|
255
258
|
};
|
|
@@ -1570,6 +1570,9 @@ declare const DropdownTypes: () => (({
|
|
|
1570
1570
|
"icon-start"?(_: {}): any;
|
|
1571
1571
|
default?(_: {}): any;
|
|
1572
1572
|
"icon-end"?(_: {}): any;
|
|
1573
|
+
"option-end"?(_: {
|
|
1574
|
+
option: any;
|
|
1575
|
+
}): any;
|
|
1573
1576
|
};
|
|
1574
1577
|
})) | import("vue").DefineComponent<{
|
|
1575
1578
|
testId: {
|
|
@@ -3069,6 +3072,9 @@ declare const DropdownTypes: () => (({
|
|
|
3069
3072
|
active: boolean;
|
|
3070
3073
|
disabled: any;
|
|
3071
3074
|
}): any;
|
|
3075
|
+
"option-end"?(_: {
|
|
3076
|
+
option: any;
|
|
3077
|
+
}): any;
|
|
3072
3078
|
};
|
|
3073
3079
|
})) | import("vue").DefineComponent<{
|
|
3074
3080
|
label: {
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
label: string;
|
|
3
4
|
mandatory?: boolean;
|
|
4
5
|
testId?: string;
|
|
5
6
|
hoverHelpText?: string;
|
|
6
7
|
hoverHelpTextPlacement?: "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";
|
|
8
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
7
9
|
}>, {
|
|
8
10
|
label: string;
|
|
9
11
|
mandatory: boolean;
|
|
10
12
|
testId: string;
|
|
11
|
-
hoverHelpText:
|
|
13
|
+
hoverHelpText: any;
|
|
12
14
|
hoverHelpTextPlacement: string;
|
|
15
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
13
16
|
}>, {}, 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<{
|
|
14
17
|
label: string;
|
|
15
18
|
mandatory?: boolean;
|
|
16
19
|
testId?: string;
|
|
17
20
|
hoverHelpText?: string;
|
|
18
21
|
hoverHelpTextPlacement?: "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";
|
|
22
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
19
23
|
}>, {
|
|
20
24
|
label: string;
|
|
21
25
|
mandatory: boolean;
|
|
22
26
|
testId: string;
|
|
23
|
-
hoverHelpText:
|
|
27
|
+
hoverHelpText: any;
|
|
24
28
|
hoverHelpTextPlacement: string;
|
|
29
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
25
30
|
}>>>, {
|
|
26
31
|
label: string;
|
|
27
32
|
testId: string;
|
|
28
33
|
mandatory: boolean;
|
|
29
34
|
hoverHelpText: string;
|
|
30
35
|
hoverHelpTextPlacement: "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";
|
|
36
|
+
helpTextIconTooltipTrigger: TooltipTriggers[];
|
|
31
37
|
}>, {
|
|
38
|
+
"icon-tooltip-content"?(_: {}): any;
|
|
32
39
|
default?(_: {}): any;
|
|
33
40
|
}>;
|
|
34
41
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormRow.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../FormRow.
|
|
4
|
-
const
|
|
3
|
+
// import "../../FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2d5a3057"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,34 +1,45 @@
|
|
|
1
|
-
import "../../FormRow.
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import "../../FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css"; import { defineComponent as r, useSlots as i, openBlock as o, createElementBlock as l, createVNode as c, createSlots as d, unref as s, withCtx as h, renderSlot as n, createCommentVNode as m, createElementVNode as p } from "vue";
|
|
2
|
+
import u from "../shared/FieldLabel.vue.js";
|
|
3
|
+
const f = { class: "form-row" }, v = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "label-container"
|
|
6
|
-
},
|
|
6
|
+
}, x = { class: "content" }, y = /* @__PURE__ */ r({
|
|
7
7
|
__name: "FormRow",
|
|
8
8
|
props: {
|
|
9
9
|
label: { default: "" },
|
|
10
10
|
mandatory: { type: Boolean, default: !1 },
|
|
11
11
|
testId: { default: "" },
|
|
12
|
-
hoverHelpText: { default:
|
|
13
|
-
hoverHelpTextPlacement: { default: "top" }
|
|
12
|
+
hoverHelpText: { default: null },
|
|
13
|
+
hoverHelpTextPlacement: { default: "top" },
|
|
14
|
+
helpTextIconTooltipTrigger: { default: () => ["hover"] }
|
|
14
15
|
},
|
|
15
16
|
setup(e) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
const a = i();
|
|
18
|
+
return (t, T) => (o(), l("div", f, [
|
|
19
|
+
e.label ? (o(), l("div", v, [
|
|
20
|
+
c(u, {
|
|
19
21
|
label: e.label,
|
|
20
22
|
mandatory: e.mandatory,
|
|
21
23
|
"hover-help-text": e.hoverHelpText,
|
|
22
24
|
"hover-help-text-placement": e.hoverHelpTextPlacement,
|
|
25
|
+
"help-text-icon-tooltip-trigger": e.helpTextIconTooltipTrigger,
|
|
23
26
|
"test-id": e.testId
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
}, d({ _: 2 }, [
|
|
28
|
+
s(a)["icon-tooltip-content"] ? {
|
|
29
|
+
name: "icon-tooltip-content",
|
|
30
|
+
fn: h(() => [
|
|
31
|
+
n(t.$slots, "icon-tooltip-content", {}, void 0, !0)
|
|
32
|
+
]),
|
|
33
|
+
key: "0"
|
|
34
|
+
} : void 0
|
|
35
|
+
]), 1032, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "help-text-icon-tooltip-trigger", "test-id"])
|
|
36
|
+
])) : m("", !0),
|
|
37
|
+
p("div", x, [
|
|
38
|
+
n(t.$slots, "default", {}, void 0, !0)
|
|
28
39
|
])
|
|
29
40
|
]));
|
|
30
41
|
}
|
|
31
42
|
});
|
|
32
43
|
export {
|
|
33
|
-
|
|
44
|
+
y as default
|
|
34
45
|
};
|
|
@@ -404,6 +404,7 @@ declare const FormCardTypes: () => (({
|
|
|
404
404
|
mandatory: boolean;
|
|
405
405
|
hoverHelpText: string;
|
|
406
406
|
hoverHelpTextPlacement: "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";
|
|
407
|
+
helpTextIconTooltipTrigger: import("../tooltip/common/Tooltip.types").TooltipTriggers[];
|
|
407
408
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
408
409
|
label: {
|
|
409
410
|
type: import("vue").PropType<string>;
|
|
@@ -420,13 +421,17 @@ declare const FormCardTypes: () => (({
|
|
|
420
421
|
};
|
|
421
422
|
hoverHelpText: {
|
|
422
423
|
type: import("vue").PropType<string>;
|
|
423
|
-
default:
|
|
424
|
+
default: any;
|
|
424
425
|
};
|
|
425
426
|
hoverHelpTextPlacement: {
|
|
426
427
|
type: import("vue").PropType<"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">;
|
|
427
428
|
default: string;
|
|
428
429
|
};
|
|
429
|
-
|
|
430
|
+
helpTextIconTooltipTrigger: {
|
|
431
|
+
type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
|
|
432
|
+
default: () => string[];
|
|
433
|
+
};
|
|
434
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId" | "mandatory" | "hoverHelpText" | "hoverHelpTextPlacement" | "helpTextIconTooltipTrigger">;
|
|
430
435
|
$attrs: {
|
|
431
436
|
[x: string]: unknown;
|
|
432
437
|
};
|
|
@@ -456,18 +461,23 @@ declare const FormCardTypes: () => (({
|
|
|
456
461
|
};
|
|
457
462
|
hoverHelpText: {
|
|
458
463
|
type: import("vue").PropType<string>;
|
|
459
|
-
default:
|
|
464
|
+
default: any;
|
|
460
465
|
};
|
|
461
466
|
hoverHelpTextPlacement: {
|
|
462
467
|
type: import("vue").PropType<"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">;
|
|
463
468
|
default: string;
|
|
464
469
|
};
|
|
470
|
+
helpTextIconTooltipTrigger: {
|
|
471
|
+
type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
|
|
472
|
+
default: () => string[];
|
|
473
|
+
};
|
|
465
474
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
466
475
|
label: string;
|
|
467
476
|
testId: string;
|
|
468
477
|
mandatory: boolean;
|
|
469
478
|
hoverHelpText: string;
|
|
470
479
|
hoverHelpTextPlacement: "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";
|
|
480
|
+
helpTextIconTooltipTrigger: import("../tooltip/common/Tooltip.types").TooltipTriggers[];
|
|
471
481
|
}, {}, string> & {
|
|
472
482
|
beforeCreate?: (() => void) | (() => void)[];
|
|
473
483
|
created?: (() => void) | (() => void)[];
|
|
@@ -504,12 +514,16 @@ declare const FormCardTypes: () => (({
|
|
|
504
514
|
};
|
|
505
515
|
hoverHelpText: {
|
|
506
516
|
type: import("vue").PropType<string>;
|
|
507
|
-
default:
|
|
517
|
+
default: any;
|
|
508
518
|
};
|
|
509
519
|
hoverHelpTextPlacement: {
|
|
510
520
|
type: import("vue").PropType<"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">;
|
|
511
521
|
default: string;
|
|
512
522
|
};
|
|
523
|
+
helpTextIconTooltipTrigger: {
|
|
524
|
+
type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
|
|
525
|
+
default: () => string[];
|
|
526
|
+
};
|
|
513
527
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
514
528
|
__isFragment?: never;
|
|
515
529
|
__isTeleport?: never;
|
|
@@ -530,20 +544,26 @@ declare const FormCardTypes: () => (({
|
|
|
530
544
|
};
|
|
531
545
|
hoverHelpText: {
|
|
532
546
|
type: import("vue").PropType<string>;
|
|
533
|
-
default:
|
|
547
|
+
default: any;
|
|
534
548
|
};
|
|
535
549
|
hoverHelpTextPlacement: {
|
|
536
550
|
type: import("vue").PropType<"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">;
|
|
537
551
|
default: string;
|
|
538
552
|
};
|
|
553
|
+
helpTextIconTooltipTrigger: {
|
|
554
|
+
type: import("vue").PropType<import("../tooltip/common/Tooltip.types").TooltipTriggers[]>;
|
|
555
|
+
default: () => string[];
|
|
556
|
+
};
|
|
539
557
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
540
558
|
label: string;
|
|
541
559
|
testId: string;
|
|
542
560
|
mandatory: boolean;
|
|
543
561
|
hoverHelpText: string;
|
|
544
562
|
hoverHelpTextPlacement: "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";
|
|
563
|
+
helpTextIconTooltipTrigger: import("../tooltip/common/Tooltip.types").TooltipTriggers[];
|
|
545
564
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
546
565
|
$slots: {
|
|
566
|
+
"icon-tooltip-content"?(_: {}): any;
|
|
547
567
|
default?(_: {}): any;
|
|
548
568
|
};
|
|
549
569
|
})))[];
|
|
@@ -12,7 +12,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
size: {
|
|
15
|
-
type: import("vue").PropType<"
|
|
15
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
modelValue: {
|
|
@@ -41,7 +41,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
44
|
-
type: import("vue").PropType<"
|
|
44
|
+
type: import("vue").PropType<"md" | "sm">;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
modelValue: {
|
|
@@ -58,7 +58,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
58
58
|
testId: string;
|
|
59
59
|
variant: "default" | "transparent" | "inline-table";
|
|
60
60
|
disabled: boolean;
|
|
61
|
-
size: "
|
|
61
|
+
size: "md" | "sm";
|
|
62
62
|
}>[];
|
|
63
63
|
export { default as Search } from './Search.vue';
|
|
64
64
|
export { SearchTypes };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
1
|
+
import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
label: string;
|
|
4
4
|
description?: string;
|
|
5
5
|
mandatory?: boolean;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
hoverHelpText?: string;
|
|
8
|
-
hoverHelpTextPlacement?:
|
|
8
|
+
hoverHelpTextPlacement?: "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";
|
|
9
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
9
10
|
testId?: string;
|
|
10
11
|
}>, {
|
|
11
12
|
label: string;
|
|
@@ -13,15 +14,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
14
|
testId: string;
|
|
14
15
|
mandatory: boolean;
|
|
15
16
|
disabled: boolean;
|
|
16
|
-
hoverHelpText:
|
|
17
|
+
hoverHelpText: any;
|
|
17
18
|
hoverHelpTextPlacement: string;
|
|
19
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
18
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<{
|
|
19
21
|
label: string;
|
|
20
22
|
description?: string;
|
|
21
23
|
mandatory?: boolean;
|
|
22
24
|
disabled?: boolean;
|
|
23
25
|
hoverHelpText?: string;
|
|
24
|
-
hoverHelpTextPlacement?:
|
|
26
|
+
hoverHelpTextPlacement?: "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";
|
|
27
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
25
28
|
testId?: string;
|
|
26
29
|
}>, {
|
|
27
30
|
label: string;
|
|
@@ -29,8 +32,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
29
32
|
testId: string;
|
|
30
33
|
mandatory: boolean;
|
|
31
34
|
disabled: boolean;
|
|
32
|
-
hoverHelpText:
|
|
35
|
+
hoverHelpText: any;
|
|
33
36
|
hoverHelpTextPlacement: string;
|
|
37
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
34
38
|
}>>>, {
|
|
35
39
|
label: string;
|
|
36
40
|
testId: string;
|
|
@@ -38,7 +42,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
38
42
|
mandatory: boolean;
|
|
39
43
|
description: string;
|
|
40
44
|
hoverHelpText: string;
|
|
41
|
-
hoverHelpTextPlacement:
|
|
45
|
+
hoverHelpTextPlacement: "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";
|
|
46
|
+
helpTextIconTooltipTrigger: TooltipTriggers[];
|
|
47
|
+
}>, {
|
|
48
|
+
"icon-tooltip-content"?(_: {}): any;
|
|
42
49
|
}>;
|
|
43
50
|
export default _default;
|
|
44
51
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -58,3 +65,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
58
65
|
type __VLS_Prettify<T> = {
|
|
59
66
|
[K in keyof T]: T[K];
|
|
60
67
|
} & {};
|
|
68
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./FieldLabel.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../FieldLabel.
|
|
4
|
-
const
|
|
3
|
+
// import "../../FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css"; //*');
|
|
4
|
+
const d = /* @__PURE__ */ o(e, [["__scopeId", "data-v-921d4087"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|