@ironsource/shared-ui 2.1.11-test.1 → 2.1.11-test.26
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_8f471697_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_e7591db4_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css +1 -0
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
- package/README.md +4 -15
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
- package/components/button/v4/index.d.ts +9 -3
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +48 -46
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +34 -26
- package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
- package/components/dropdown/common/Dropdown.common.js +191 -184
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +6 -6
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -47
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +90 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +185 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +31 -6
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +224 -198
- 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 +135 -98
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +209 -167
- package/components/dropdown/v4/index.d.ts +402 -87
- package/components/dropdown/v4/index.js +6 -3
- package/components/filtersPanel/v4/FiltersPanelV4.vue.js +3 -3
- package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
- package/components/icon/v4/consts.d.ts +1 -1
- package/components/icon/v4/consts.js +1 -1
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +24 -22
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +12 -12
- package/components/multibar/MultiBarMenu.vue2.js +3 -2
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
- package/components/popover/v4/PopoverV4.vue.js +4 -3
- package/components/popover/v4/PopoverV4.vue2.js +40 -24
- package/components/popover/v4/index.d.ts +55 -11
- package/components/sortableList/SortableList.vue.d.ts +1 -1
- package/components/sortableList/index.d.ts +4 -4
- package/components/table/common/Table.common.js +69 -71
- package/components/table/common/Table.types.d.ts +1 -1
- package/components/table/v3/Table.vue.d.ts +1 -1
- package/components/table/v3/index.d.ts +5 -5
- package/components/table/v4/DataGrid.vue.d.ts +6 -1
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +124 -117
- package/components/table/v4/DataGridMenu.vue2.js +3 -2
- package/components/table/v4/index.d.ts +26 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
- package/components/tooltip/v4/index.d.ts +39 -1
- package/design-foundation.stories/icons/iconsData.d.ts +1 -1
- package/index.d.ts +1123 -262
- package/index.js +1 -1
- package/mocks/options.d.ts +48 -2
- package/mocks/words.d.ts +1 -1
- package/package.json +3 -2
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_e944c610_lang.css +0 -1
|
@@ -7,7 +7,8 @@ import m from "./ButtonDropdownTrigger.vue.js";
|
|
|
7
7
|
import n from "./ButtonFilterDropdownTrigger.vue.js";
|
|
8
8
|
import e from "./TreeDropdown.vue.js";
|
|
9
9
|
import g from "./OptionV4.vue.js";
|
|
10
|
-
|
|
10
|
+
import d from "./ConditionalDropdown.vue.js";
|
|
11
|
+
const C = () => [
|
|
11
12
|
o,
|
|
12
13
|
r,
|
|
13
14
|
p,
|
|
@@ -16,16 +17,18 @@ const s = () => [
|
|
|
16
17
|
n,
|
|
17
18
|
i,
|
|
18
19
|
g,
|
|
19
|
-
e
|
|
20
|
+
e,
|
|
21
|
+
d
|
|
20
22
|
];
|
|
21
23
|
export {
|
|
22
24
|
i as AppDropdownTrigger,
|
|
23
25
|
m as ButtonDropdownTrigger,
|
|
24
26
|
n as ButtonFilterDropdownTrigger,
|
|
25
27
|
t as ChipDropdownTrigger,
|
|
28
|
+
d as ConditionalDropdown,
|
|
26
29
|
r as DefaultDropdownTrigger,
|
|
27
30
|
o as Dropdown,
|
|
28
|
-
|
|
31
|
+
C as DropdownTypes,
|
|
29
32
|
p as IconButtonDropdownTrigger,
|
|
30
33
|
g as Option,
|
|
31
34
|
e as TreeDropdown
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./FiltersPanelV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../FiltersPanelV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-111b200a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import "../../../FiltersPanelV4.
|
|
2
|
-
const
|
|
1
|
+
import "../../../FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css"; import { defineComponent as d, openBlock as t, createElementBlock as s, Fragment as a, renderList as i, renderSlot as l, normalizeProps as c, guardReactiveProps as u } from "vue";
|
|
2
|
+
const p = { class: "filters-panel" }, m = ["data-testid"], v = /* @__PURE__ */ d({
|
|
3
3
|
__name: "FiltersPanelV4",
|
|
4
4
|
props: {
|
|
5
5
|
filters: null,
|
|
6
6
|
testId: { default: "" }
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const n =
|
|
10
|
-
return (o,
|
|
11
|
-
(t(!0),
|
|
8
|
+
setup(r) {
|
|
9
|
+
const n = r;
|
|
10
|
+
return (o, _) => (t(), s("div", p, [
|
|
11
|
+
(t(!0), s(a, null, i(r.filters, (e) => (t(), s("div", {
|
|
12
12
|
key: e.id,
|
|
13
|
-
class: "filter-chip-wrapper",
|
|
14
13
|
"data-testid": `${n.testId}-filter-${e.id}`
|
|
15
14
|
}, [
|
|
16
|
-
l(o.$slots, e.id, c(
|
|
15
|
+
l(o.$slots, e.id, c(u({ filter: e })), void 0, !0)
|
|
17
16
|
], 8, m))), 128))
|
|
18
17
|
]));
|
|
19
18
|
}
|
|
20
19
|
});
|
|
21
20
|
export {
|
|
22
|
-
|
|
21
|
+
v as default
|
|
23
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ASSETS_BASE_URL = "https://
|
|
1
|
+
export declare const ASSETS_BASE_URL = "https://shared-platform-assets.ironsrc.mobi/assets";
|
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
8
8
|
tooltipHeader?: string;
|
|
9
9
|
tooltipText?: string;
|
|
10
10
|
tooltipPlacement?: TooltipPositions;
|
|
11
|
+
valueToCopy?: string;
|
|
11
12
|
}>, {
|
|
12
13
|
size: string;
|
|
13
14
|
text: string;
|
|
@@ -17,6 +18,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
17
18
|
tooltipHeader: string;
|
|
18
19
|
tooltipText: string;
|
|
19
20
|
tooltipPlacement: string;
|
|
21
|
+
valueToCopy: string;
|
|
20
22
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
23
|
copy: () => void;
|
|
22
24
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -28,6 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
30
|
tooltipHeader?: string;
|
|
29
31
|
tooltipText?: string;
|
|
30
32
|
tooltipPlacement?: TooltipPositions;
|
|
33
|
+
valueToCopy?: string;
|
|
31
34
|
}>, {
|
|
32
35
|
size: string;
|
|
33
36
|
text: string;
|
|
@@ -37,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
37
40
|
tooltipHeader: string;
|
|
38
41
|
tooltipText: string;
|
|
39
42
|
tooltipPlacement: string;
|
|
43
|
+
valueToCopy: string;
|
|
40
44
|
}>>> & {
|
|
41
45
|
onCopy?: () => any;
|
|
42
46
|
}, {
|
|
@@ -48,6 +52,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
48
52
|
hideTextValue: boolean;
|
|
49
53
|
iconSize: string;
|
|
50
54
|
tooltipHeader: string;
|
|
55
|
+
valueToCopy: string;
|
|
51
56
|
}>;
|
|
52
57
|
export default _default;
|
|
53
58
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./InlineCopy.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../InlineCopy.
|
|
4
|
-
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ad48b61e"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../InlineCopy.
|
|
2
|
-
import
|
|
1
|
+
import "../../InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css"; import { defineComponent as y, computed as x, openBlock as c, createElementBlock as T, createBlock as C, unref as e, mergeProps as n, withCtx as r, createTextVNode as h, toDisplayString as z, createCommentVNode as I, createVNode as s } from "vue";
|
|
2
|
+
import k from "../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../icon/v4/IconFlag.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import { useClipboard as
|
|
6
|
-
import { Snackbar as
|
|
4
|
+
import S from "../typography/v4/Typography.vue.js";
|
|
5
|
+
import { useClipboard as V } from "@vueuse/core";
|
|
6
|
+
import { Snackbar as v } from "../snackbar/v4/index.js";
|
|
7
7
|
import B from "../tooltip/v4/TooltipV4.vue.js";
|
|
8
8
|
import { useTestIdAttrs as b } from "../../utils/testIds.js";
|
|
9
9
|
import { InlineCopyTestIdModifiers as a } from "../../testids/index.js";
|
|
10
|
-
const X = /* @__PURE__ */
|
|
10
|
+
const X = /* @__PURE__ */ y({
|
|
11
11
|
__name: "InlineCopy",
|
|
12
12
|
props: {
|
|
13
13
|
text: { default: "" },
|
|
@@ -17,11 +17,12 @@ const X = /* @__PURE__ */ f({
|
|
|
17
17
|
iconSize: { default: null },
|
|
18
18
|
tooltipHeader: { default: "" },
|
|
19
19
|
tooltipText: { default: "Copy to clipboard" },
|
|
20
|
-
tooltipPlacement: { default: "bottom" }
|
|
20
|
+
tooltipPlacement: { default: "bottom" },
|
|
21
|
+
valueToCopy: { default: "" }
|
|
21
22
|
},
|
|
22
23
|
emits: ["copy"],
|
|
23
|
-
setup(t, { emit:
|
|
24
|
-
const o = t, { copy:
|
|
24
|
+
setup(t, { emit: p }) {
|
|
25
|
+
const o = t, { copy: d, copied: m } = V({}), u = x(() => {
|
|
25
26
|
switch (o.size) {
|
|
26
27
|
case "medium":
|
|
27
28
|
return "0.875rem";
|
|
@@ -29,38 +30,39 @@ const X = /* @__PURE__ */ f({
|
|
|
29
30
|
default:
|
|
30
31
|
return "0.75rem";
|
|
31
32
|
}
|
|
32
|
-
}),
|
|
33
|
-
|
|
33
|
+
}), f = async () => {
|
|
34
|
+
const i = o.valueToCopy || o.text;
|
|
35
|
+
await d(i), m.value && v({
|
|
34
36
|
title: "Copied successfully",
|
|
35
37
|
type: "success",
|
|
36
38
|
duration: 2e3
|
|
37
|
-
}),
|
|
38
|
-
},
|
|
39
|
-
return (
|
|
39
|
+
}), p("copy");
|
|
40
|
+
}, l = b(o.testId, a);
|
|
41
|
+
return (i, N) => (c(), T("div", {
|
|
40
42
|
class: "inline-copy",
|
|
41
|
-
onClick:
|
|
43
|
+
onClick: f
|
|
42
44
|
}, [
|
|
43
|
-
t.hideTextValue ?
|
|
45
|
+
t.hideTextValue ? I("", !0) : (c(), C(e(S), n({
|
|
44
46
|
key: 0,
|
|
45
47
|
variant: "caption",
|
|
46
|
-
style: { fontSize: e(
|
|
47
|
-
}, e(
|
|
48
|
+
style: { fontSize: e(u) }
|
|
49
|
+
}, e(l)[e(a).TEXT]), {
|
|
48
50
|
default: r(() => [
|
|
49
|
-
|
|
51
|
+
h(z(t.text), 1)
|
|
50
52
|
]),
|
|
51
53
|
_: 1
|
|
52
54
|
}, 16, ["style"])),
|
|
53
|
-
|
|
55
|
+
s(e(B), {
|
|
54
56
|
text: t.tooltipText,
|
|
55
57
|
header: t.tooltipHeader,
|
|
56
58
|
placement: t.tooltipPlacement
|
|
57
59
|
}, {
|
|
58
60
|
default: r(() => [
|
|
59
|
-
|
|
61
|
+
s(e(k), n({
|
|
60
62
|
class: "icon-copy",
|
|
61
63
|
name: "copy",
|
|
62
64
|
size: t.iconSize || "16px"
|
|
63
|
-
}, e(
|
|
65
|
+
}, e(l)[e(a).COPY_BTN]), null, 16, ["size"])
|
|
64
66
|
]),
|
|
65
67
|
_: 1
|
|
66
68
|
}, 8, ["text", "header", "placement"])
|
|
@@ -36,6 +36,10 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
|
|
|
36
36
|
type: import("vue").PropType<string>;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
|
+
valueToCopy: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
39
43
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
44
|
copy: () => void;
|
|
41
45
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -75,6 +79,10 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
|
|
|
75
79
|
type: import("vue").PropType<string>;
|
|
76
80
|
default: string;
|
|
77
81
|
};
|
|
82
|
+
valueToCopy: {
|
|
83
|
+
type: import("vue").PropType<string>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
78
86
|
}>> & {
|
|
79
87
|
onCopy?: () => any;
|
|
80
88
|
}, {
|
|
@@ -86,5 +94,6 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
|
|
|
86
94
|
hideTextValue: boolean;
|
|
87
95
|
iconSize: string;
|
|
88
96
|
tooltipHeader: string;
|
|
97
|
+
valueToCopy: string;
|
|
89
98
|
}>[];
|
|
90
99
|
export { InlineCopy, InlineCopyTypes };
|
|
@@ -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_2e327aa1_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-2e327aa1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../TextField.
|
|
1
|
+
import "../../../TextField.vue_vue_type_style_index_0_scoped_2e327aa1_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";
|
|
@@ -13,7 +13,7 @@ const te = {
|
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "icon-container icon-before"
|
|
15
15
|
}, le = ["maxlength", "value", "placeholder", "disabled", "type", "step"], ae = ["onClick"], ne = {
|
|
16
|
-
key:
|
|
16
|
+
key: 5,
|
|
17
17
|
class: "inline-error"
|
|
18
18
|
}, oe = {
|
|
19
19
|
key: 7,
|
|
@@ -154,6 +154,16 @@ const te = {
|
|
|
154
154
|
size: "20px"
|
|
155
155
|
})
|
|
156
156
|
], 8, ae)) : n("", !0),
|
|
157
|
+
e.suffix ? (l(), r(t(D), {
|
|
158
|
+
key: 4,
|
|
159
|
+
class: "suffix-text",
|
|
160
|
+
variant: "body1"
|
|
161
|
+
}, {
|
|
162
|
+
default: b(() => [
|
|
163
|
+
V($(e.suffix), 1)
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
})) : n("", !0),
|
|
157
167
|
e.inlineError || t(s)?.error?.value ? (l(), d("div", ne, [
|
|
158
168
|
p(t(X), c({
|
|
159
169
|
disabled: !e.inlineErrorText && !t(s)?.error?.value,
|
|
@@ -170,16 +180,6 @@ const te = {
|
|
|
170
180
|
_: 1
|
|
171
181
|
}, 16, ["disabled", "text", "test-id", "placement"])
|
|
172
182
|
])) : n("", !0),
|
|
173
|
-
e.suffix ? (l(), r(t(D), {
|
|
174
|
-
key: 5,
|
|
175
|
-
class: "suffix-text",
|
|
176
|
-
variant: "body1"
|
|
177
|
-
}, {
|
|
178
|
-
default: b(() => [
|
|
179
|
-
V($(e.suffix), 1)
|
|
180
|
-
]),
|
|
181
|
-
_: 1
|
|
182
|
-
})) : n("", !0),
|
|
183
183
|
e.type === "password" ? (l(), d("div", c({
|
|
184
184
|
key: 6,
|
|
185
185
|
class: "password-visibility-toggle"
|
|
@@ -8,9 +8,10 @@ import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
|
8
8
|
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "../dropdown/v4/TreeDropdown.vue.js";
|
|
10
10
|
import g from "../dropdown/v4/OptionV4.vue.js";
|
|
11
|
+
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
11
12
|
import x from "../icon/v4/IconV4.vue.js";
|
|
12
13
|
import "../icon/v4/IconFlag.vue.js";
|
|
13
|
-
const
|
|
14
|
+
const h = /* @__PURE__ */ a({
|
|
14
15
|
__name: "MultiBarMenu",
|
|
15
16
|
props: {
|
|
16
17
|
menuItems: { default: () => [] },
|
|
@@ -56,5 +57,5 @@ const S = /* @__PURE__ */ a({
|
|
|
56
57
|
}
|
|
57
58
|
});
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
h as default
|
|
60
61
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Placement } from 'floating-vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
isOpen?: boolean;
|
|
3
4
|
autoHide?: boolean;
|
|
4
5
|
trigger?: "hover" | "click" | "focus" | "touch" | "managed";
|
|
5
6
|
disabled?: boolean;
|
|
@@ -8,7 +9,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
8
9
|
skidding?: number;
|
|
9
10
|
testId?: string;
|
|
10
11
|
popperClass?: string;
|
|
12
|
+
container?: string;
|
|
11
13
|
}>, {
|
|
14
|
+
isOpen: boolean;
|
|
12
15
|
trigger: string;
|
|
13
16
|
autoHide: boolean;
|
|
14
17
|
disabled: boolean;
|
|
@@ -17,9 +20,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
20
|
skidding: number;
|
|
18
21
|
testId: string;
|
|
19
22
|
popperClass: string;
|
|
20
|
-
|
|
23
|
+
container: string;
|
|
24
|
+
}>, {
|
|
25
|
+
toggle: (value?: boolean) => boolean;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
27
|
isOpen: (value: boolean) => void;
|
|
22
28
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
+
isOpen?: boolean;
|
|
23
30
|
autoHide?: boolean;
|
|
24
31
|
trigger?: "hover" | "click" | "focus" | "touch" | "managed";
|
|
25
32
|
disabled?: boolean;
|
|
@@ -28,7 +35,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
35
|
skidding?: number;
|
|
29
36
|
testId?: string;
|
|
30
37
|
popperClass?: string;
|
|
38
|
+
container?: string;
|
|
31
39
|
}>, {
|
|
40
|
+
isOpen: boolean;
|
|
32
41
|
trigger: string;
|
|
33
42
|
autoHide: boolean;
|
|
34
43
|
disabled: boolean;
|
|
@@ -37,6 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
46
|
skidding: number;
|
|
38
47
|
testId: string;
|
|
39
48
|
popperClass: string;
|
|
49
|
+
container: string;
|
|
40
50
|
}>>> & {
|
|
41
51
|
onIsOpen?: (value: boolean) => any;
|
|
42
52
|
}, {
|
|
@@ -44,8 +54,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
54
|
placement: Placement;
|
|
45
55
|
disabled: boolean;
|
|
46
56
|
distance: number;
|
|
47
|
-
|
|
57
|
+
container: string;
|
|
48
58
|
autoHide: boolean;
|
|
59
|
+
popperClass: string;
|
|
60
|
+
isOpen: boolean;
|
|
49
61
|
trigger: "hover" | "click" | "focus" | "touch" | "managed";
|
|
50
62
|
skidding: number;
|
|
51
63
|
}>, {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import o from "./PopoverV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../PopoverV4.
|
|
4
|
-
|
|
3
|
+
// import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css"; //*');
|
|
4
|
+
// import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-66694b4e"]]);
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
r as default
|
|
7
8
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "../../../PopoverV4.
|
|
2
|
-
import { Dropdown as
|
|
3
|
-
import { popoverCommon as
|
|
4
|
-
const
|
|
1
|
+
import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css"; import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as k, watch as s, openBlock as p, createBlock as y, unref as a, withCtx as u, createElementBlock as h, renderSlot as g, createCommentVNode as B, createElementVNode as C } from "vue";
|
|
2
|
+
import { Dropdown as w } from "floating-vue";
|
|
3
|
+
import { popoverCommon as $ } from "../common/Popover.common.js";
|
|
4
|
+
const O = ["data-testid"], H = /* @__PURE__ */ k({
|
|
5
5
|
__name: "PopoverV4",
|
|
6
6
|
props: {
|
|
7
|
+
isOpen: { type: Boolean, default: !1 },
|
|
7
8
|
autoHide: { type: Boolean, default: !1 },
|
|
8
9
|
trigger: { default: "click" },
|
|
9
10
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -11,47 +12,62 @@ const w = ["data-testid"], b = /* @__PURE__ */ m({
|
|
|
11
12
|
distance: { default: 0 },
|
|
12
13
|
skidding: { default: 0 },
|
|
13
14
|
testId: { default: "" },
|
|
14
|
-
popperClass: { default: "" }
|
|
15
|
+
popperClass: { default: "" },
|
|
16
|
+
container: { default: "body" }
|
|
15
17
|
},
|
|
16
18
|
emits: ["isOpen"],
|
|
17
|
-
setup(e, { emit:
|
|
18
|
-
const { popup:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}), (
|
|
19
|
+
setup(e, { expose: f, emit: m }) {
|
|
20
|
+
const i = e, { popup: c, open: t, toggle: d, triggerRef: v } = $();
|
|
21
|
+
s(t, () => {
|
|
22
|
+
m("isOpen", t.value);
|
|
23
|
+
}), s(
|
|
24
|
+
() => i.isOpen,
|
|
25
|
+
(o) => {
|
|
26
|
+
d(o);
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
const r = (o) => {
|
|
30
|
+
i.trigger === o && (t.value = !t.value);
|
|
31
|
+
};
|
|
32
|
+
return f({
|
|
33
|
+
toggle: d
|
|
34
|
+
}), (o, n) => (p(), y(a(w), {
|
|
22
35
|
theme: "custom-popover",
|
|
23
36
|
placement: e.placement,
|
|
24
|
-
shown: !!
|
|
37
|
+
shown: !!a(t),
|
|
25
38
|
triggers: e.trigger === "managed" ? [] : [e.trigger],
|
|
26
39
|
"auto-hide": e.autoHide,
|
|
27
40
|
distance: e.distance,
|
|
28
41
|
skidding: e.skidding,
|
|
42
|
+
container: e.container,
|
|
29
43
|
"popper-class": [e.popperClass, "v4-popover__popper light-theme-v4"]
|
|
30
44
|
}, {
|
|
31
|
-
popper:
|
|
32
|
-
|
|
45
|
+
popper: u(() => [
|
|
46
|
+
a(t) ? (p(), h("div", {
|
|
33
47
|
key: 0,
|
|
34
48
|
ref_key: "popup",
|
|
35
|
-
ref:
|
|
49
|
+
ref: c,
|
|
36
50
|
class: "menu-popup",
|
|
37
51
|
"data-testid": e.testId
|
|
38
52
|
}, [
|
|
39
|
-
|
|
40
|
-
], 8,
|
|
53
|
+
g(o.$slots, "content", {}, void 0, !0)
|
|
54
|
+
], 8, O)) : B("", !0)
|
|
41
55
|
]),
|
|
42
|
-
default:
|
|
43
|
-
|
|
56
|
+
default: u(() => [
|
|
57
|
+
C("div", {
|
|
44
58
|
ref_key: "triggerRef",
|
|
45
|
-
ref:
|
|
46
|
-
onClick:
|
|
59
|
+
ref: v,
|
|
60
|
+
onClick: n[0] || (n[0] = (l) => r("click")),
|
|
61
|
+
onMouseenter: n[1] || (n[1] = (l) => r("hover")),
|
|
62
|
+
onMouseleave: n[2] || (n[2] = (l) => r("hover"))
|
|
47
63
|
}, [
|
|
48
|
-
|
|
49
|
-
],
|
|
64
|
+
g(o.$slots, "trigger", {}, void 0, !0)
|
|
65
|
+
], 544)
|
|
50
66
|
]),
|
|
51
67
|
_: 3
|
|
52
|
-
}, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "popper-class"]));
|
|
68
|
+
}, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "container", "popper-class"]));
|
|
53
69
|
}
|
|
54
70
|
});
|
|
55
71
|
export {
|
|
56
|
-
|
|
72
|
+
H as default
|
|
57
73
|
};
|