@ironsource/shared-ui 2.2.0-test.9 → 2.2.0-test.90
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/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css +1 -0
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -1
- package/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_lang.css +1 -0
- package/Tag.vue_vue_type_style_index_0_scoped_b0662035_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_8eef6574_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +2 -1
- package/components/ThemeWrapper/ThemeStrore.js +14 -11
- package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +8 -11
- package/components/ThemeWrapper/index.d.ts +2 -1
- package/components/ThemeWrapper/index.js +4 -2
- package/components/alert/Alert.vue.js +4 -4
- package/components/alert/Alert.vue2.js +1 -1
- package/components/button/v3/ButtonBase.vue.d.ts +1 -1
- 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 +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +17 -15
- package/components/chart/composables/useChartHeight.d.ts +1 -1
- package/components/chart/composables/useChartHeight.js +16 -15
- package/components/chart/index.d.ts +20 -1
- package/components/chart/types.d.ts +1 -0
- package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -0
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +12 -12
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +152 -146
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +13 -12
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +5 -5
- package/components/loader/v4/Loader.vue.js +3 -3
- package/components/loader/v4/Loader.vue2.js +1 -1
- package/components/menu/Menu.vue.js +3 -3
- package/components/menu/Menu.vue2.js +33 -30
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +51 -50
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -0
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +20 -17
- package/components/popover/v4/index.d.ts +41 -1
- package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
- package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
- package/components/tag/Tag.vue.d.ts +26 -0
- package/components/tag/Tag.vue.js +3 -3
- package/components/tag/Tag.vue2.js +227 -155
- package/components/tag/index.d.ts +42 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/v3/index.d.ts +20 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -1
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
- package/components/tooltip/v4/index.d.ts +39 -20
- package/design-foundation.stories/colors/ColorsData.d.ts +114 -0
- package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +28 -1
- package/index.d.ts +195 -76
- package/package.json +1 -1
- package/style/v4/border-radius.scss +2 -2
- package/style/v4/colors.scss +105 -0
- package/style/v4/elevations.scss +11 -0
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/style/v4/grid.scss +1 -1
- package/style/v4/scrollbar.scss +21 -0
- package/style/v4/spacings.scss +1 -1
- package/style/v4/styleguideV4.scss +1 -0
- package/styleguide.scss +2 -2
- package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +0 -1
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +0 -1
- package/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +0 -1
- package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +0 -1
- package/Tag.vue_vue_type_style_index_0_scoped_043adaf5_lang.css +0 -1
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
|
@@ -3,9 +3,9 @@ declare const TooltipTypes: () => ({
|
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
|
+
theme: string;
|
|
6
7
|
header: string;
|
|
7
8
|
text: string;
|
|
8
|
-
theme: string;
|
|
9
9
|
testId: string;
|
|
10
10
|
delay: number;
|
|
11
11
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -13,6 +13,10 @@ declare const TooltipTypes: () => ({
|
|
|
13
13
|
placement: "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
14
|
disabled: boolean;
|
|
15
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
theme: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
header: {
|
|
17
21
|
type: import("vue").PropType<string>;
|
|
18
22
|
default: any;
|
|
@@ -21,10 +25,6 @@ declare const TooltipTypes: () => ({
|
|
|
21
25
|
type: import("vue").PropType<string>;
|
|
22
26
|
default: any;
|
|
23
27
|
};
|
|
24
|
-
theme: {
|
|
25
|
-
type: import("vue").PropType<string>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
28
|
testId: {
|
|
29
29
|
type: import("vue").PropType<string>;
|
|
30
30
|
default: string;
|
|
@@ -49,7 +49,7 @@ declare const TooltipTypes: () => ({
|
|
|
49
49
|
type: import("vue").PropType<boolean>;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
52
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "header" | "text" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled">;
|
|
53
53
|
$attrs: {
|
|
54
54
|
[x: string]: unknown;
|
|
55
55
|
};
|
|
@@ -64,6 +64,10 @@ declare const TooltipTypes: () => ({
|
|
|
64
64
|
$emit: (event: string, ...args: any[]) => void;
|
|
65
65
|
$el: any;
|
|
66
66
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
theme: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
67
71
|
header: {
|
|
68
72
|
type: import("vue").PropType<string>;
|
|
69
73
|
default: any;
|
|
@@ -72,10 +76,6 @@ declare const TooltipTypes: () => ({
|
|
|
72
76
|
type: import("vue").PropType<string>;
|
|
73
77
|
default: any;
|
|
74
78
|
};
|
|
75
|
-
theme: {
|
|
76
|
-
type: import("vue").PropType<string>;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
79
|
testId: {
|
|
80
80
|
type: import("vue").PropType<string>;
|
|
81
81
|
default: string;
|
|
@@ -101,9 +101,9 @@ declare const TooltipTypes: () => ({
|
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
103
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
104
|
+
theme: string;
|
|
104
105
|
header: string;
|
|
105
106
|
text: string;
|
|
106
|
-
theme: string;
|
|
107
107
|
testId: string;
|
|
108
108
|
delay: number;
|
|
109
109
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -131,6 +131,10 @@ declare const TooltipTypes: () => ({
|
|
|
131
131
|
$nextTick: typeof import("vue").nextTick;
|
|
132
132
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
133
133
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
+
theme: {
|
|
135
|
+
type: import("vue").PropType<string>;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
134
138
|
header: {
|
|
135
139
|
type: import("vue").PropType<string>;
|
|
136
140
|
default: any;
|
|
@@ -139,10 +143,6 @@ declare const TooltipTypes: () => ({
|
|
|
139
143
|
type: import("vue").PropType<string>;
|
|
140
144
|
default: any;
|
|
141
145
|
};
|
|
142
|
-
theme: {
|
|
143
|
-
type: import("vue").PropType<string>;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
146
|
testId: {
|
|
147
147
|
type: import("vue").PropType<string>;
|
|
148
148
|
default: string;
|
|
@@ -172,6 +172,10 @@ declare const TooltipTypes: () => ({
|
|
|
172
172
|
__isTeleport?: never;
|
|
173
173
|
__isSuspense?: never;
|
|
174
174
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
theme: {
|
|
176
|
+
type: import("vue").PropType<string>;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
175
179
|
header: {
|
|
176
180
|
type: import("vue").PropType<string>;
|
|
177
181
|
default: any;
|
|
@@ -180,10 +184,6 @@ declare const TooltipTypes: () => ({
|
|
|
180
184
|
type: import("vue").PropType<string>;
|
|
181
185
|
default: any;
|
|
182
186
|
};
|
|
183
|
-
theme: {
|
|
184
|
-
type: import("vue").PropType<string>;
|
|
185
|
-
default: string;
|
|
186
|
-
};
|
|
187
187
|
testId: {
|
|
188
188
|
type: import("vue").PropType<string>;
|
|
189
189
|
default: string;
|
|
@@ -209,9 +209,9 @@ declare const TooltipTypes: () => ({
|
|
|
209
209
|
default: boolean;
|
|
210
210
|
};
|
|
211
211
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
212
|
+
theme: string;
|
|
212
213
|
header: string;
|
|
213
214
|
text: string;
|
|
214
|
-
theme: string;
|
|
215
215
|
testId: string;
|
|
216
216
|
delay: number;
|
|
217
217
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -14,6 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
14
|
shown?: boolean;
|
|
15
15
|
autoHide?: boolean;
|
|
16
16
|
dontWrapDisabled?: boolean;
|
|
17
|
+
maxWidth?: string;
|
|
17
18
|
}>, {
|
|
18
19
|
text: any;
|
|
19
20
|
header: any;
|
|
@@ -29,6 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
30
|
shown: any;
|
|
30
31
|
autoHide: boolean;
|
|
31
32
|
dontWrapDisabled: boolean;
|
|
33
|
+
maxWidth: string;
|
|
32
34
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
35
|
show: () => void;
|
|
34
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -46,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
48
|
shown?: boolean;
|
|
47
49
|
autoHide?: boolean;
|
|
48
50
|
dontWrapDisabled?: boolean;
|
|
51
|
+
maxWidth?: string;
|
|
49
52
|
}>, {
|
|
50
53
|
text: any;
|
|
51
54
|
header: any;
|
|
@@ -61,12 +64,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
64
|
shown: any;
|
|
62
65
|
autoHide: boolean;
|
|
63
66
|
dontWrapDisabled: boolean;
|
|
67
|
+
maxWidth: string;
|
|
64
68
|
}>>> & {
|
|
65
69
|
onShow?: () => any;
|
|
66
70
|
}, {
|
|
71
|
+
theme: string;
|
|
67
72
|
header: string;
|
|
68
73
|
text: string;
|
|
69
|
-
theme: string;
|
|
70
74
|
testId: string;
|
|
71
75
|
delay: number;
|
|
72
76
|
triggers: TooltipTriggers[];
|
|
@@ -78,6 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
78
82
|
shown: boolean;
|
|
79
83
|
autoHide: boolean;
|
|
80
84
|
dontWrapDisabled: boolean;
|
|
85
|
+
maxWidth: string;
|
|
81
86
|
}>, {
|
|
82
87
|
default?(_: {}): any;
|
|
83
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_f88fbece_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-f88fbece"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,14 +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_f88fbece_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
9
|
ref: "container",
|
|
10
10
|
class: "container"
|
|
11
|
-
},
|
|
11
|
+
}, F = /* @__PURE__ */ T({
|
|
12
12
|
__name: "TooltipV4",
|
|
13
13
|
props: {
|
|
14
14
|
text: { default: null },
|
|
@@ -24,45 +24,85 @@ const B = {
|
|
|
24
24
|
container: { default: "body" },
|
|
25
25
|
shown: { type: Boolean, default: null },
|
|
26
26
|
autoHide: { type: Boolean, default: !0 },
|
|
27
|
-
dontWrapDisabled: { type: Boolean, default: !1 }
|
|
27
|
+
dontWrapDisabled: { type: Boolean, default: !1 },
|
|
28
|
+
maxWidth: { default: "21.875rem" }
|
|
28
29
|
},
|
|
29
30
|
emits: ["show"],
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
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);
|
|
34
|
+
return `
|
|
35
|
+
.v-popper--theme-light-theme-v4.v4-tooltip.${o} .v-popper__wrapper {
|
|
36
|
+
max-width: var(${l}, 21.875rem)
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
}, w = C(
|
|
40
|
+
() => [
|
|
41
|
+
a.theme,
|
|
42
|
+
a.placement,
|
|
43
|
+
"v4-tooltip",
|
|
44
|
+
a.maxWidth ? r(a.maxWidth) : ""
|
|
45
|
+
// This is the class name that will be used as a selector for the tooltip
|
|
46
|
+
].filter(Boolean)
|
|
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);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
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);
|
|
61
|
+
document.documentElement.style.removeProperty(l);
|
|
62
|
+
}
|
|
63
|
+
e && y(e);
|
|
64
|
+
}
|
|
65
|
+
), E(() => {
|
|
66
|
+
if (a.maxWidth) {
|
|
67
|
+
const e = d(a.maxWidth);
|
|
68
|
+
document.documentElement.style.removeProperty(e);
|
|
69
|
+
const o = r(a.maxWidth), l = document.getElementById(o), s = document.getElementsByClassName(o);
|
|
70
|
+
l && s.length === 0 && l.remove();
|
|
71
|
+
}
|
|
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,
|
|
34
74
|
"no-auto-focus": "",
|
|
35
|
-
triggers:
|
|
36
|
-
delay: { show:
|
|
37
|
-
placement:
|
|
38
|
-
disabled:
|
|
39
|
-
"popper-class":
|
|
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),
|
|
40
80
|
class: ["v4-tooltip"],
|
|
41
|
-
distance:
|
|
42
|
-
"auto-hide":
|
|
43
|
-
shown:
|
|
44
|
-
onApplyShow:
|
|
81
|
+
distance: t.distance,
|
|
82
|
+
"auto-hide": t.autoHide,
|
|
83
|
+
shown: t.shown,
|
|
84
|
+
onApplyShow: o[0] || (o[0] = (l) => v("show"))
|
|
45
85
|
}), {
|
|
46
|
-
popper:
|
|
47
|
-
|
|
48
|
-
|
|
86
|
+
popper: f(() => [
|
|
87
|
+
i(e.$slots, "tooltip", { text: n(m) }, () => [
|
|
88
|
+
t.header ? (c(), u(V, {
|
|
49
89
|
key: 1,
|
|
50
|
-
text:
|
|
51
|
-
header:
|
|
52
|
-
}, null, 8, ["text", "header"])) : (
|
|
90
|
+
text: t.text,
|
|
91
|
+
header: t.header
|
|
92
|
+
}, null, 8, ["text", "header"])) : (c(), u(n(k), g({
|
|
53
93
|
key: 0,
|
|
54
94
|
variant: "body2"
|
|
55
|
-
},
|
|
56
|
-
default:
|
|
57
|
-
|
|
95
|
+
}, n(h)[n(p).TEXT]), {
|
|
96
|
+
default: f(() => [
|
|
97
|
+
b($(n(m)), 1)
|
|
58
98
|
]),
|
|
59
99
|
_: 1
|
|
60
100
|
}, 16))
|
|
61
101
|
], !0)
|
|
62
102
|
]),
|
|
63
|
-
default:
|
|
64
|
-
|
|
65
|
-
|
|
103
|
+
default: f(() => [
|
|
104
|
+
I("div", z, [
|
|
105
|
+
i(e.$slots, "default", {}, void 0, !0)
|
|
66
106
|
], 512)
|
|
67
107
|
]),
|
|
68
108
|
_: 3
|
|
@@ -70,5 +110,5 @@ const B = {
|
|
|
70
110
|
}
|
|
71
111
|
});
|
|
72
112
|
export {
|
|
73
|
-
|
|
113
|
+
F as default
|
|
74
114
|
};
|
|
@@ -4,9 +4,9 @@ declare const TooltipTypes: () => ({
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
+
theme: string;
|
|
7
8
|
header: string;
|
|
8
9
|
text: string;
|
|
9
|
-
theme: string;
|
|
10
10
|
testId: string;
|
|
11
11
|
delay: number;
|
|
12
12
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -18,7 +18,12 @@ declare const TooltipTypes: () => ({
|
|
|
18
18
|
shown: boolean;
|
|
19
19
|
autoHide: boolean;
|
|
20
20
|
dontWrapDisabled: boolean;
|
|
21
|
+
maxWidth: string;
|
|
21
22
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
theme: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
22
27
|
header: {
|
|
23
28
|
type: import("vue").PropType<string>;
|
|
24
29
|
default: any;
|
|
@@ -27,10 +32,6 @@ declare const TooltipTypes: () => ({
|
|
|
27
32
|
type: import("vue").PropType<string>;
|
|
28
33
|
default: any;
|
|
29
34
|
};
|
|
30
|
-
theme: {
|
|
31
|
-
type: import("vue").PropType<string>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
35
|
testId: {
|
|
35
36
|
type: import("vue").PropType<string>;
|
|
36
37
|
default: string;
|
|
@@ -75,9 +76,13 @@ declare const TooltipTypes: () => ({
|
|
|
75
76
|
type: import("vue").PropType<boolean>;
|
|
76
77
|
default: boolean;
|
|
77
78
|
};
|
|
79
|
+
maxWidth: {
|
|
80
|
+
type: import("vue").PropType<string>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
78
83
|
}>> & {
|
|
79
84
|
onShow?: () => any;
|
|
80
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
85
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "header" | "text" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled" | "maxWidth">;
|
|
81
86
|
$attrs: {
|
|
82
87
|
[x: string]: unknown;
|
|
83
88
|
};
|
|
@@ -92,6 +97,10 @@ declare const TooltipTypes: () => ({
|
|
|
92
97
|
$emit: (event: "show") => void;
|
|
93
98
|
$el: any;
|
|
94
99
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
100
|
+
theme: {
|
|
101
|
+
type: import("vue").PropType<string>;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
95
104
|
header: {
|
|
96
105
|
type: import("vue").PropType<string>;
|
|
97
106
|
default: any;
|
|
@@ -100,10 +109,6 @@ declare const TooltipTypes: () => ({
|
|
|
100
109
|
type: import("vue").PropType<string>;
|
|
101
110
|
default: any;
|
|
102
111
|
};
|
|
103
|
-
theme: {
|
|
104
|
-
type: import("vue").PropType<string>;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
112
|
testId: {
|
|
108
113
|
type: import("vue").PropType<string>;
|
|
109
114
|
default: string;
|
|
@@ -148,14 +153,18 @@ declare const TooltipTypes: () => ({
|
|
|
148
153
|
type: import("vue").PropType<boolean>;
|
|
149
154
|
default: boolean;
|
|
150
155
|
};
|
|
156
|
+
maxWidth: {
|
|
157
|
+
type: import("vue").PropType<string>;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
151
160
|
}>> & {
|
|
152
161
|
onShow?: () => any;
|
|
153
162
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
154
163
|
show: () => void;
|
|
155
164
|
}, string, {
|
|
165
|
+
theme: string;
|
|
156
166
|
header: string;
|
|
157
167
|
text: string;
|
|
158
|
-
theme: string;
|
|
159
168
|
testId: string;
|
|
160
169
|
delay: number;
|
|
161
170
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -167,6 +176,7 @@ declare const TooltipTypes: () => ({
|
|
|
167
176
|
shown: boolean;
|
|
168
177
|
autoHide: boolean;
|
|
169
178
|
dontWrapDisabled: boolean;
|
|
179
|
+
maxWidth: string;
|
|
170
180
|
}, {}, string> & {
|
|
171
181
|
beforeCreate?: (() => void) | (() => void)[];
|
|
172
182
|
created?: (() => void) | (() => void)[];
|
|
@@ -188,6 +198,10 @@ declare const TooltipTypes: () => ({
|
|
|
188
198
|
$nextTick: typeof import("vue").nextTick;
|
|
189
199
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
190
200
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
201
|
+
theme: {
|
|
202
|
+
type: import("vue").PropType<string>;
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
191
205
|
header: {
|
|
192
206
|
type: import("vue").PropType<string>;
|
|
193
207
|
default: any;
|
|
@@ -196,10 +210,6 @@ declare const TooltipTypes: () => ({
|
|
|
196
210
|
type: import("vue").PropType<string>;
|
|
197
211
|
default: any;
|
|
198
212
|
};
|
|
199
|
-
theme: {
|
|
200
|
-
type: import("vue").PropType<string>;
|
|
201
|
-
default: string;
|
|
202
|
-
};
|
|
203
213
|
testId: {
|
|
204
214
|
type: import("vue").PropType<string>;
|
|
205
215
|
default: string;
|
|
@@ -244,6 +254,10 @@ declare const TooltipTypes: () => ({
|
|
|
244
254
|
type: import("vue").PropType<boolean>;
|
|
245
255
|
default: boolean;
|
|
246
256
|
};
|
|
257
|
+
maxWidth: {
|
|
258
|
+
type: import("vue").PropType<string>;
|
|
259
|
+
default: string;
|
|
260
|
+
};
|
|
247
261
|
}>> & {
|
|
248
262
|
onShow?: () => any;
|
|
249
263
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -251,6 +265,10 @@ declare const TooltipTypes: () => ({
|
|
|
251
265
|
__isTeleport?: never;
|
|
252
266
|
__isSuspense?: never;
|
|
253
267
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
268
|
+
theme: {
|
|
269
|
+
type: import("vue").PropType<string>;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
254
272
|
header: {
|
|
255
273
|
type: import("vue").PropType<string>;
|
|
256
274
|
default: any;
|
|
@@ -259,10 +277,6 @@ declare const TooltipTypes: () => ({
|
|
|
259
277
|
type: import("vue").PropType<string>;
|
|
260
278
|
default: any;
|
|
261
279
|
};
|
|
262
|
-
theme: {
|
|
263
|
-
type: import("vue").PropType<string>;
|
|
264
|
-
default: string;
|
|
265
|
-
};
|
|
266
280
|
testId: {
|
|
267
281
|
type: import("vue").PropType<string>;
|
|
268
282
|
default: string;
|
|
@@ -307,14 +321,18 @@ declare const TooltipTypes: () => ({
|
|
|
307
321
|
type: import("vue").PropType<boolean>;
|
|
308
322
|
default: boolean;
|
|
309
323
|
};
|
|
324
|
+
maxWidth: {
|
|
325
|
+
type: import("vue").PropType<string>;
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
310
328
|
}>> & {
|
|
311
329
|
onShow?: () => any;
|
|
312
330
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
313
331
|
show: () => void;
|
|
314
332
|
}, string, {
|
|
333
|
+
theme: string;
|
|
315
334
|
header: string;
|
|
316
335
|
text: string;
|
|
317
|
-
theme: string;
|
|
318
336
|
testId: string;
|
|
319
337
|
delay: number;
|
|
320
338
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -326,6 +344,7 @@ declare const TooltipTypes: () => ({
|
|
|
326
344
|
shown: boolean;
|
|
327
345
|
autoHide: boolean;
|
|
328
346
|
dontWrapDisabled: boolean;
|
|
347
|
+
maxWidth: string;
|
|
329
348
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
330
349
|
$slots: {
|
|
331
350
|
default?(_: {}): any;
|
|
@@ -116,3 +116,117 @@ export declare const colorPaletteLight: {
|
|
|
116
116
|
b: string;
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
+
export declare const colorPaletteDark: {
|
|
120
|
+
background: {
|
|
121
|
+
default: string;
|
|
122
|
+
paper: string;
|
|
123
|
+
'modal-elevation': string;
|
|
124
|
+
backdrop: string;
|
|
125
|
+
'paper-elevation-0': string;
|
|
126
|
+
inset: string;
|
|
127
|
+
'paper-elevation-1': string;
|
|
128
|
+
'paper-elevation-2': string;
|
|
129
|
+
'paper-elevation-3': string;
|
|
130
|
+
'paper-elevation-4': string;
|
|
131
|
+
'paper-elevation-5': string;
|
|
132
|
+
'paper-elevation-6': string;
|
|
133
|
+
'paper-elevation-7': string;
|
|
134
|
+
'paper-elevation-8': string;
|
|
135
|
+
'paper-elevation-9': string;
|
|
136
|
+
};
|
|
137
|
+
action: {
|
|
138
|
+
primary: string;
|
|
139
|
+
active: string;
|
|
140
|
+
hover: string;
|
|
141
|
+
selected: string;
|
|
142
|
+
disabled: string;
|
|
143
|
+
'disabled-background': string;
|
|
144
|
+
focus: string;
|
|
145
|
+
'outlined-border': string;
|
|
146
|
+
};
|
|
147
|
+
default: {
|
|
148
|
+
main: string;
|
|
149
|
+
light: string;
|
|
150
|
+
dark: string;
|
|
151
|
+
'outlined-border': string;
|
|
152
|
+
'contrast-text': string;
|
|
153
|
+
'button-contrast-text': string;
|
|
154
|
+
};
|
|
155
|
+
common: {
|
|
156
|
+
white: string;
|
|
157
|
+
black: string;
|
|
158
|
+
'inverse-white': string;
|
|
159
|
+
'inverse-black': string;
|
|
160
|
+
divider: string;
|
|
161
|
+
'divider-elevation-0': string;
|
|
162
|
+
};
|
|
163
|
+
text: {
|
|
164
|
+
primary: string;
|
|
165
|
+
secondary: string;
|
|
166
|
+
disabled: string;
|
|
167
|
+
};
|
|
168
|
+
primary: {
|
|
169
|
+
lighter: string;
|
|
170
|
+
light: string;
|
|
171
|
+
main: string;
|
|
172
|
+
'main-8-p': string;
|
|
173
|
+
'main-50-p': string;
|
|
174
|
+
dark: string;
|
|
175
|
+
darker: string;
|
|
176
|
+
'outlined-border': string;
|
|
177
|
+
'contrast-text': string;
|
|
178
|
+
'button-contrast-text': string;
|
|
179
|
+
};
|
|
180
|
+
info: {
|
|
181
|
+
lighter: string;
|
|
182
|
+
light: string;
|
|
183
|
+
main: string;
|
|
184
|
+
'main-8-p': string;
|
|
185
|
+
'main-50-p': string;
|
|
186
|
+
dark: string;
|
|
187
|
+
darker: string;
|
|
188
|
+
'outlined-border': string;
|
|
189
|
+
'contrast-text': string;
|
|
190
|
+
'button-contrast-text': string;
|
|
191
|
+
};
|
|
192
|
+
success: {
|
|
193
|
+
lighter: string;
|
|
194
|
+
light: string;
|
|
195
|
+
main: string;
|
|
196
|
+
'main-8-p': string;
|
|
197
|
+
'main-50-p': string;
|
|
198
|
+
dark: string;
|
|
199
|
+
darker: string;
|
|
200
|
+
'outlined-border': string;
|
|
201
|
+
'contrast-text': string;
|
|
202
|
+
'button-contrast-text': string;
|
|
203
|
+
};
|
|
204
|
+
warning: {
|
|
205
|
+
lighter: string;
|
|
206
|
+
light: string;
|
|
207
|
+
main: string;
|
|
208
|
+
'main-8-p': string;
|
|
209
|
+
'main-50-p': string;
|
|
210
|
+
dark: string;
|
|
211
|
+
darker: string;
|
|
212
|
+
'outlined-border': string;
|
|
213
|
+
'contrast-text': string;
|
|
214
|
+
'button-contrast-text': string;
|
|
215
|
+
};
|
|
216
|
+
error: {
|
|
217
|
+
lighter: string;
|
|
218
|
+
light: string;
|
|
219
|
+
main: string;
|
|
220
|
+
'main-8-p': string;
|
|
221
|
+
'main-50-p': string;
|
|
222
|
+
dark: string;
|
|
223
|
+
darker: string;
|
|
224
|
+
'outlined-border': string;
|
|
225
|
+
'contrast-text': string;
|
|
226
|
+
'button-contrast-text': string;
|
|
227
|
+
};
|
|
228
|
+
ab: {
|
|
229
|
+
a: string;
|
|
230
|
+
b: string;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
@@ -1,3 +1,30 @@
|
|
|
1
1
|
import '../../style/v4/colors.scss';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
theme?: 'light' | 'dark';
|
|
4
|
+
}>, {
|
|
5
|
+
theme: string;
|
|
6
|
+
}>, {}, 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<{
|
|
7
|
+
theme?: 'light' | 'dark';
|
|
8
|
+
}>, {
|
|
9
|
+
theme: string;
|
|
10
|
+
}>>>, {
|
|
11
|
+
theme: 'light' | 'dark';
|
|
12
|
+
}>;
|
|
3
13
|
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|