@ironsource/shared-ui 2.2.0-rc.48 → 2.2.0-rc.50
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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +1 -0
- package/README.md +2 -2
- package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_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_28fab783_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
- package/components/autocomplete/index.d.ts +16 -16
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +27 -28
- package/components/dropdown/common/Dropdown.common.js +274 -351
- package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
- package/components/dropdown/v3/index.d.ts +77 -77
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +32 -38
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +41 -50
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +216 -237
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +0 -5
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +9 -12
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +2102 -2130
- package/components/helpText/HelpText.vue.js +3 -3
- package/components/helpText/HelpText.vue2.js +10 -11
- package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +54 -54
- package/components/inlineCopy/InlineCopy.vue.d.ts +0 -5
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +53 -54
- package/components/inlineCopy/index.d.ts +0 -9
- package/components/input/v4/TextField.vue.d.ts +0 -5
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +19 -22
- package/components/input/v4/index.d.ts +1 -20
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +21 -30
- package/components/search/v4/SearchV4.vue.d.ts +0 -5
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +18 -23
- package/components/search/v4/index.d.ts +0 -9
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +8 -9
- package/components/table/v4/DataGridMenu.vue.d.ts +0 -5
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +22 -28
- package/components/table/v4/index.d.ts +0 -9
- package/components/tabs/v4/TabsV4.vue.d.ts +0 -5
- package/components/tabs/v4/TabsV4.vue.js +3 -3
- package/components/tabs/v4/TabsV4.vue2.js +43 -74
- package/components/tabs/v4/index.d.ts +1 -20
- package/components/toggle/v4/ToggleV4.vue.d.ts +0 -5
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +41 -50
- package/components/toggle/v4/index.d.ts +1 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +1 -14
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +63 -85
- package/components/tooltip/v4/index.d.ts +4 -51
- package/index.d.ts +2404 -2722
- package/index.js +1 -1
- package/package.json +1 -5
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +0 -1
- package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +0 -1
|
@@ -8,7 +8,6 @@ declare const ToggleTypes: () => ({
|
|
|
8
8
|
color: "primary" | "test";
|
|
9
9
|
size: "small" | "medium";
|
|
10
10
|
isLoading: boolean;
|
|
11
|
-
ariaLabel: string;
|
|
12
11
|
hoverHelpText: string;
|
|
13
12
|
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";
|
|
14
13
|
feedbackText: string;
|
|
@@ -41,10 +40,6 @@ declare const ToggleTypes: () => ({
|
|
|
41
40
|
type: import("vue").PropType<boolean>;
|
|
42
41
|
default: boolean;
|
|
43
42
|
};
|
|
44
|
-
ariaLabel: {
|
|
45
|
-
type: import("vue").PropType<string>;
|
|
46
|
-
default: any;
|
|
47
|
-
};
|
|
48
43
|
hoverHelpText: {
|
|
49
44
|
type: import("vue").PropType<string>;
|
|
50
45
|
default: string;
|
|
@@ -75,7 +70,7 @@ declare const ToggleTypes: () => ({
|
|
|
75
70
|
};
|
|
76
71
|
}>> & {
|
|
77
72
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
78
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "testId" | "color" | "size" | "isLoading" | "
|
|
73
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "testId" | "color" | "size" | "isLoading" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "feedbackVariant" | "isDisabled" | "activeText" | "inactiveText">;
|
|
79
74
|
$attrs: {
|
|
80
75
|
[x: string]: unknown;
|
|
81
76
|
};
|
|
@@ -114,10 +109,6 @@ declare const ToggleTypes: () => ({
|
|
|
114
109
|
type: import("vue").PropType<boolean>;
|
|
115
110
|
default: boolean;
|
|
116
111
|
};
|
|
117
|
-
ariaLabel: {
|
|
118
|
-
type: import("vue").PropType<string>;
|
|
119
|
-
default: any;
|
|
120
|
-
};
|
|
121
112
|
hoverHelpText: {
|
|
122
113
|
type: import("vue").PropType<string>;
|
|
123
114
|
default: string;
|
|
@@ -156,7 +147,6 @@ declare const ToggleTypes: () => ({
|
|
|
156
147
|
color: "primary" | "test";
|
|
157
148
|
size: "small" | "medium";
|
|
158
149
|
isLoading: boolean;
|
|
159
|
-
ariaLabel: string;
|
|
160
150
|
hoverHelpText: string;
|
|
161
151
|
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";
|
|
162
152
|
feedbackText: string;
|
|
@@ -209,10 +199,6 @@ declare const ToggleTypes: () => ({
|
|
|
209
199
|
type: import("vue").PropType<boolean>;
|
|
210
200
|
default: boolean;
|
|
211
201
|
};
|
|
212
|
-
ariaLabel: {
|
|
213
|
-
type: import("vue").PropType<string>;
|
|
214
|
-
default: any;
|
|
215
|
-
};
|
|
216
202
|
hoverHelpText: {
|
|
217
203
|
type: import("vue").PropType<string>;
|
|
218
204
|
default: string;
|
|
@@ -272,10 +258,6 @@ declare const ToggleTypes: () => ({
|
|
|
272
258
|
type: import("vue").PropType<boolean>;
|
|
273
259
|
default: boolean;
|
|
274
260
|
};
|
|
275
|
-
ariaLabel: {
|
|
276
|
-
type: import("vue").PropType<string>;
|
|
277
|
-
default: any;
|
|
278
|
-
};
|
|
279
261
|
hoverHelpText: {
|
|
280
262
|
type: import("vue").PropType<string>;
|
|
281
263
|
default: string;
|
|
@@ -314,7 +296,6 @@ declare const ToggleTypes: () => ({
|
|
|
314
296
|
color: "primary" | "test";
|
|
315
297
|
size: "small" | "medium";
|
|
316
298
|
isLoading: boolean;
|
|
317
|
-
ariaLabel: string;
|
|
318
299
|
hoverHelpText: string;
|
|
319
300
|
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";
|
|
320
301
|
feedbackText: string;
|
|
@@ -15,8 +15,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
autoHide?: boolean;
|
|
16
16
|
dontWrapDisabled?: boolean;
|
|
17
17
|
maxWidth?: string;
|
|
18
|
-
focusable?: boolean;
|
|
19
|
-
revealOnFocus?: boolean;
|
|
20
18
|
}>, {
|
|
21
19
|
text: any;
|
|
22
20
|
header: any;
|
|
@@ -33,12 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
31
|
autoHide: boolean;
|
|
34
32
|
dontWrapDisabled: boolean;
|
|
35
33
|
maxWidth: string;
|
|
36
|
-
|
|
37
|
-
revealOnFocus: boolean;
|
|
38
|
-
}>, {
|
|
39
|
-
isShown: import("vue").ComputedRef<boolean>;
|
|
40
|
-
libTriggers: import("vue").ComputedRef<TooltipTriggers[]>;
|
|
41
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
35
|
show: () => void;
|
|
43
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
44
37
|
text?: string;
|
|
@@ -56,8 +49,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
56
49
|
autoHide?: boolean;
|
|
57
50
|
dontWrapDisabled?: boolean;
|
|
58
51
|
maxWidth?: string;
|
|
59
|
-
focusable?: boolean;
|
|
60
|
-
revealOnFocus?: boolean;
|
|
61
52
|
}>, {
|
|
62
53
|
text: any;
|
|
63
54
|
header: any;
|
|
@@ -74,8 +65,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
65
|
autoHide: boolean;
|
|
75
66
|
dontWrapDisabled: boolean;
|
|
76
67
|
maxWidth: string;
|
|
77
|
-
focusable: boolean;
|
|
78
|
-
revealOnFocus: boolean;
|
|
79
68
|
}>>> & {
|
|
80
69
|
onShow?: () => any;
|
|
81
70
|
}, {
|
|
@@ -94,8 +83,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
94
83
|
autoHide: boolean;
|
|
95
84
|
dontWrapDisabled: boolean;
|
|
96
85
|
maxWidth: string;
|
|
97
|
-
focusable: boolean;
|
|
98
|
-
revealOnFocus: boolean;
|
|
99
86
|
}>, {
|
|
100
87
|
default?(_: {}): any;
|
|
101
88
|
tooltip?(_: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./TooltipV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TooltipV4.
|
|
3
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; //*');
|
|
4
4
|
// import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a8aebfee"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import "../../../TooltipV4.
|
|
2
|
-
import
|
|
3
|
-
import { Tooltip as
|
|
4
|
-
import { TooltipTestIdModifiers as
|
|
5
|
-
import
|
|
6
|
-
import { tooltipCommon as
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
const
|
|
1
|
+
import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as T, computed as C, onMounted as N, watch as B, onUnmounted as E, renderSlot as i, openBlock as c, createBlock as u, unref as n, mergeProps as g, withCtx as f, createTextVNode as b, toDisplayString as $, createElementVNode as I } from "vue";
|
|
2
|
+
import V from "./TextWithTitleContent.vue.js";
|
|
3
|
+
import { Tooltip as W } from "floating-vue";
|
|
4
|
+
import { TooltipTestIdModifiers as p } from "../../../testids/index.js";
|
|
5
|
+
import k from "../../typography/v4/Typography.vue.js";
|
|
6
|
+
import { tooltipCommon as S } from "../common/Tooltip.common.js";
|
|
7
|
+
import { useTestIdAttrs as A } from "../../../utils/testIds.js";
|
|
8
|
+
const z = {
|
|
9
|
+
ref: "container",
|
|
10
|
+
class: "container"
|
|
11
|
+
}, F = /* @__PURE__ */ T({
|
|
9
12
|
__name: "TooltipV4",
|
|
10
13
|
props: {
|
|
11
14
|
text: { default: null },
|
|
@@ -22,115 +25,90 @@ const U = ["tabindex"], _ = /* @__PURE__ */ W({
|
|
|
22
25
|
shown: { type: Boolean, default: null },
|
|
23
26
|
autoHide: { type: Boolean, default: !0 },
|
|
24
27
|
dontWrapDisabled: { type: Boolean, default: !1 },
|
|
25
|
-
maxWidth: { default: "21.875rem" }
|
|
26
|
-
focusable: { type: Boolean, default: !1 },
|
|
27
|
-
revealOnFocus: { type: Boolean, default: !0 }
|
|
28
|
+
maxWidth: { default: "21.875rem" }
|
|
28
29
|
},
|
|
29
30
|
emits: ["show"],
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
), m = u(
|
|
34
|
-
() => t.revealOnFocus && !(t.triggers || []).includes("click")
|
|
35
|
-
), s = B(!1), b = u(() => t.shown !== null && t.shown !== void 0 ? t.shown : m.value && s.value ? !0 : null), k = () => {
|
|
36
|
-
m.value && (s.value = !0);
|
|
37
|
-
}, I = (e) => {
|
|
38
|
-
if (!m.value)
|
|
39
|
-
return;
|
|
40
|
-
const a = e.relatedTarget;
|
|
41
|
-
a && w.value?.contains(a) || (s.value = !1);
|
|
42
|
-
}, S = (e) => {
|
|
43
|
-
e.key === "Escape" && s.value && (s.value = !1);
|
|
44
|
-
};
|
|
45
|
-
E({ isShown: b, libTriggers: x });
|
|
46
|
-
const d = (e) => `--tooltip-max-width-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, i = (e) => `max-width-class-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, $ = (e) => {
|
|
47
|
-
const a = i(e), l = d(e);
|
|
31
|
+
setup(t, { emit: v }) {
|
|
32
|
+
const a = t, { textForDisplay: m } = S(a), h = A(a.testId, p), d = (e) => `--tooltip-max-width-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, r = (e) => `max-width-class-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, x = (e) => {
|
|
33
|
+
const o = r(e), l = d(e);
|
|
48
34
|
return `
|
|
49
|
-
.v-popper--theme-light-theme-v4.v4-tooltip.${
|
|
35
|
+
.v-popper--theme-light-theme-v4.v4-tooltip.${o} .v-popper__wrapper {
|
|
50
36
|
max-width: var(${l}, 21.875rem)
|
|
51
37
|
}
|
|
52
38
|
`;
|
|
53
|
-
},
|
|
39
|
+
}, w = C(
|
|
54
40
|
() => [
|
|
55
|
-
|
|
56
|
-
|
|
41
|
+
a.theme,
|
|
42
|
+
a.placement,
|
|
57
43
|
"v4-tooltip",
|
|
58
|
-
|
|
44
|
+
a.maxWidth ? r(a.maxWidth) : ""
|
|
59
45
|
// This is the class name that will be used as a selector for the tooltip
|
|
60
46
|
].filter(Boolean)
|
|
61
|
-
),
|
|
62
|
-
const
|
|
63
|
-
if (document.documentElement.style.setProperty(
|
|
64
|
-
const
|
|
65
|
-
|
|
47
|
+
), y = (e) => {
|
|
48
|
+
const o = d(e), l = r(e);
|
|
49
|
+
if (document.documentElement.style.setProperty(o, e), !document.getElementById(l)) {
|
|
50
|
+
const s = document.createElement("style");
|
|
51
|
+
s.id = l, s.textContent = x(e), document.head.appendChild(s);
|
|
66
52
|
}
|
|
67
53
|
};
|
|
68
|
-
return
|
|
69
|
-
|
|
70
|
-
}),
|
|
71
|
-
() =>
|
|
72
|
-
(e,
|
|
73
|
-
if (
|
|
74
|
-
const l = d(
|
|
54
|
+
return N(() => {
|
|
55
|
+
a.maxWidth && y(a.maxWidth);
|
|
56
|
+
}), B(
|
|
57
|
+
() => a.maxWidth,
|
|
58
|
+
(e, o) => {
|
|
59
|
+
if (o) {
|
|
60
|
+
const l = d(o);
|
|
75
61
|
document.documentElement.style.removeProperty(l);
|
|
76
62
|
}
|
|
77
|
-
e &&
|
|
63
|
+
e && y(e);
|
|
78
64
|
}
|
|
79
|
-
),
|
|
80
|
-
if (
|
|
81
|
-
const e = d(
|
|
65
|
+
), E(() => {
|
|
66
|
+
if (a.maxWidth) {
|
|
67
|
+
const e = d(a.maxWidth);
|
|
82
68
|
document.documentElement.style.removeProperty(e);
|
|
83
|
-
const
|
|
84
|
-
l &&
|
|
69
|
+
const o = r(a.maxWidth), l = document.getElementById(o), s = document.getElementsByClassName(o);
|
|
70
|
+
l && s.length === 0 && l.remove();
|
|
85
71
|
}
|
|
86
|
-
}), (e,
|
|
87
|
-
theme:
|
|
72
|
+
}), (e, o) => (t.disabled || !t.text) && t.dontWrapDisabled ? i(e.$slots, "default", { key: 0 }, void 0, !0) : (c(), u(n(W), g({ key: 1 }, { ...e.$props, ...n(h)[n(p).TRIGGER] }, {
|
|
73
|
+
theme: t.theme,
|
|
88
74
|
"no-auto-focus": "",
|
|
89
|
-
triggers:
|
|
90
|
-
delay: { show:
|
|
91
|
-
placement:
|
|
92
|
-
disabled:
|
|
93
|
-
"popper-class": n(
|
|
75
|
+
triggers: t.triggers,
|
|
76
|
+
delay: { show: t.delay, hide: 0 },
|
|
77
|
+
placement: t.placement,
|
|
78
|
+
disabled: t.disabled || t.text && !n(m),
|
|
79
|
+
"popper-class": n(w),
|
|
94
80
|
class: ["v4-tooltip"],
|
|
95
|
-
distance:
|
|
96
|
-
"auto-hide":
|
|
97
|
-
shown:
|
|
98
|
-
onApplyShow:
|
|
81
|
+
distance: t.distance,
|
|
82
|
+
"auto-hide": t.autoHide,
|
|
83
|
+
shown: t.shown,
|
|
84
|
+
onApplyShow: o[0] || (o[0] = (l) => v("show"))
|
|
99
85
|
}), {
|
|
100
|
-
popper:
|
|
101
|
-
|
|
102
|
-
|
|
86
|
+
popper: f(() => [
|
|
87
|
+
i(e.$slots, "tooltip", { text: n(m) }, () => [
|
|
88
|
+
t.header ? (c(), u(V, {
|
|
103
89
|
key: 1,
|
|
104
|
-
text:
|
|
105
|
-
header:
|
|
106
|
-
}, null, 8, ["text", "header"])) : (
|
|
90
|
+
text: t.text,
|
|
91
|
+
header: t.header
|
|
92
|
+
}, null, 8, ["text", "header"])) : (c(), u(n(k), g({
|
|
107
93
|
key: 0,
|
|
108
94
|
variant: "body2"
|
|
109
|
-
}, n(
|
|
110
|
-
default:
|
|
111
|
-
|
|
95
|
+
}, n(h)[n(p).TEXT]), {
|
|
96
|
+
default: f(() => [
|
|
97
|
+
b($(n(m)), 1)
|
|
112
98
|
]),
|
|
113
99
|
_: 1
|
|
114
100
|
}, 16))
|
|
115
101
|
], !0)
|
|
116
102
|
]),
|
|
117
|
-
default:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
class: O(["container", { "container--focusable": o.focusable }]),
|
|
122
|
-
tabindex: o.focusable ? 0 : void 0,
|
|
123
|
-
onFocusin: k,
|
|
124
|
-
onFocusout: I,
|
|
125
|
-
onKeydown: S
|
|
126
|
-
}, [
|
|
127
|
-
f(e.$slots, "default", {}, void 0, !0)
|
|
128
|
-
], 42, U)
|
|
103
|
+
default: f(() => [
|
|
104
|
+
I("div", z, [
|
|
105
|
+
i(e.$slots, "default", {}, void 0, !0)
|
|
106
|
+
], 512)
|
|
129
107
|
]),
|
|
130
108
|
_: 3
|
|
131
109
|
}, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance", "auto-hide", "shown"]));
|
|
132
110
|
}
|
|
133
111
|
});
|
|
134
112
|
export {
|
|
135
|
-
|
|
113
|
+
F as default
|
|
136
114
|
};
|
|
@@ -19,8 +19,6 @@ declare const TooltipTypes: () => ({
|
|
|
19
19
|
autoHide: boolean;
|
|
20
20
|
dontWrapDisabled: boolean;
|
|
21
21
|
maxWidth: string;
|
|
22
|
-
focusable: boolean;
|
|
23
|
-
revealOnFocus: boolean;
|
|
24
22
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
25
23
|
header: {
|
|
26
24
|
type: import("vue").PropType<string>;
|
|
@@ -82,17 +80,9 @@ declare const TooltipTypes: () => ({
|
|
|
82
80
|
type: import("vue").PropType<string>;
|
|
83
81
|
default: string;
|
|
84
82
|
};
|
|
85
|
-
focusable: {
|
|
86
|
-
type: import("vue").PropType<boolean>;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
revealOnFocus: {
|
|
90
|
-
type: import("vue").PropType<boolean>;
|
|
91
|
-
default: boolean;
|
|
92
|
-
};
|
|
93
83
|
}>> & {
|
|
94
84
|
onShow?: () => any;
|
|
95
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled" | "maxWidth"
|
|
85
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled" | "maxWidth">;
|
|
96
86
|
$attrs: {
|
|
97
87
|
[x: string]: unknown;
|
|
98
88
|
};
|
|
@@ -167,20 +157,9 @@ declare const TooltipTypes: () => ({
|
|
|
167
157
|
type: import("vue").PropType<string>;
|
|
168
158
|
default: string;
|
|
169
159
|
};
|
|
170
|
-
focusable: {
|
|
171
|
-
type: import("vue").PropType<boolean>;
|
|
172
|
-
default: boolean;
|
|
173
|
-
};
|
|
174
|
-
revealOnFocus: {
|
|
175
|
-
type: import("vue").PropType<boolean>;
|
|
176
|
-
default: boolean;
|
|
177
|
-
};
|
|
178
160
|
}>> & {
|
|
179
161
|
onShow?: () => any;
|
|
180
|
-
}, {
|
|
181
|
-
isShown: import("vue").ComputedRef<boolean>;
|
|
182
|
-
libTriggers: import("vue").ComputedRef<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
183
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
162
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
184
163
|
show: () => void;
|
|
185
164
|
}, string, {
|
|
186
165
|
header: string;
|
|
@@ -198,8 +177,6 @@ declare const TooltipTypes: () => ({
|
|
|
198
177
|
autoHide: boolean;
|
|
199
178
|
dontWrapDisabled: boolean;
|
|
200
179
|
maxWidth: string;
|
|
201
|
-
focusable: boolean;
|
|
202
|
-
revealOnFocus: boolean;
|
|
203
180
|
}, {}, string> & {
|
|
204
181
|
beforeCreate?: (() => void) | (() => void)[];
|
|
205
182
|
created?: (() => void) | (() => void)[];
|
|
@@ -281,20 +258,9 @@ declare const TooltipTypes: () => ({
|
|
|
281
258
|
type: import("vue").PropType<string>;
|
|
282
259
|
default: string;
|
|
283
260
|
};
|
|
284
|
-
focusable: {
|
|
285
|
-
type: import("vue").PropType<boolean>;
|
|
286
|
-
default: boolean;
|
|
287
|
-
};
|
|
288
|
-
revealOnFocus: {
|
|
289
|
-
type: import("vue").PropType<boolean>;
|
|
290
|
-
default: boolean;
|
|
291
|
-
};
|
|
292
261
|
}>> & {
|
|
293
262
|
onShow?: () => any;
|
|
294
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
295
|
-
isShown: import("vue").ComputedRef<boolean>;
|
|
296
|
-
libTriggers: import("vue").ComputedRef<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
297
|
-
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
263
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
298
264
|
__isFragment?: never;
|
|
299
265
|
__isTeleport?: never;
|
|
300
266
|
__isSuspense?: never;
|
|
@@ -359,20 +325,9 @@ declare const TooltipTypes: () => ({
|
|
|
359
325
|
type: import("vue").PropType<string>;
|
|
360
326
|
default: string;
|
|
361
327
|
};
|
|
362
|
-
focusable: {
|
|
363
|
-
type: import("vue").PropType<boolean>;
|
|
364
|
-
default: boolean;
|
|
365
|
-
};
|
|
366
|
-
revealOnFocus: {
|
|
367
|
-
type: import("vue").PropType<boolean>;
|
|
368
|
-
default: boolean;
|
|
369
|
-
};
|
|
370
328
|
}>> & {
|
|
371
329
|
onShow?: () => any;
|
|
372
|
-
}, {
|
|
373
|
-
isShown: import("vue").ComputedRef<boolean>;
|
|
374
|
-
libTriggers: import("vue").ComputedRef<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
375
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
330
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
376
331
|
show: () => void;
|
|
377
332
|
}, string, {
|
|
378
333
|
header: string;
|
|
@@ -390,8 +345,6 @@ declare const TooltipTypes: () => ({
|
|
|
390
345
|
autoHide: boolean;
|
|
391
346
|
dontWrapDisabled: boolean;
|
|
392
347
|
maxWidth: string;
|
|
393
|
-
focusable: boolean;
|
|
394
|
-
revealOnFocus: boolean;
|
|
395
348
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
396
349
|
$slots: {
|
|
397
350
|
default?(_: {}): any;
|