@ironsource/shared-ui 2.1.8-rc.5 → 2.1.8-rc.7
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/ButtonGroup.vue_vue_type_style_index_0_scoped_5497abe6_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_2f666594_lang.css +1 -0
- package/IconButtonV4.vue_vue_type_style_index_0_scoped_06e26be2_lang.css +1 -0
- package/components/alert/Alert.vue2.js +3 -2
- package/components/button/v4/ButtonGroup.vue.d.ts +46 -0
- package/components/button/v4/ButtonGroup.vue.js +7 -0
- package/components/button/v4/ButtonGroup.vue2.js +19 -0
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/button/v4/IconButtonV4.vue.js +2 -2
- package/components/button/v4/IconButtonV4.vue2.js +1 -1
- package/components/button/v4/index.d.ts +72 -224
- package/components/button/v4/index.js +4 -2
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +21 -20
- package/components/dateRange/v4/DateRangeV4.vue2.js +3 -2
- package/components/dialog/v4/DialogV4.vue2.js +9 -8
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +5 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +3 -2
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +6 -5
- package/components/emptyState/v4/EmptyStateV4.vue2.js +15 -14
- package/components/forms/FormCard.vue2.js +3 -2
- package/components/multibar/MultiBar.vue2.js +19 -18
- package/components/snackbar/v4/SnackbarV4.vue2.js +7 -6
- package/components/switch/v4/SwitchV4.vue2.js +8 -7
- package/components/table/v4/DataGrid.vue.d.ts +4 -0
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +140 -131
- package/components/table/v4/ExpandRowToggle.vue2.js +9 -8
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +6 -2
- package/index.d.ts +126 -161
- package/index.js +105 -109
- package/package.json +2 -5
- package/ButtonV4.vue_vue_type_style_index_0_scoped_8c3b0c3f_lang.css +0 -1
- package/CssBaseline.vue_vue_type_style_index_0_scoped_f7dd256b_lang.css +0 -1
- package/CssBaseline.vue_vue_type_style_index_1_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_46d53424_lang.css +0 -1
- package/IconButtonV4.vue_vue_type_style_index_0_scoped_4eefa06b_lang.css +0 -1
- package/components/cssBaseline/CssBaseline.vue.d.ts +0 -9
- package/components/cssBaseline/CssBaseline.vue.js +0 -10
- package/components/cssBaseline/CssBaseline.vue2.js +0 -0
- package/components/cssBaseline/index.d.ts +0 -49
- package/components/cssBaseline/index.js +0 -6
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import "../../../DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css"; import { defineComponent as A, openBlock as o, createBlock as c, Teleport as w, createVNode as b, Transition as
|
|
2
|
-
import { NOOP as
|
|
1
|
+
import "../../../DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css"; import { defineComponent as A, openBlock as o, createBlock as c, Teleport as w, createVNode as b, Transition as p, withCtx as u, unref as e, createElementBlock as m, createElementVNode as C, mergeProps as s, renderSlot as k, createTextVNode as f, toDisplayString as B, createCommentVNode as d } from "vue";
|
|
2
|
+
import { NOOP as I } from "@vue/shared";
|
|
3
3
|
import T from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import N from "../../button/v4/ButtonV4.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import V from "../../button/v4/IconButtonV4.vue.js";
|
|
6
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
7
|
import { Reason as g } from "../common/Reason.js";
|
|
7
8
|
import { dialogCommon as D } from "../common/Dialog.common.js";
|
|
8
9
|
import { DialogTestIdModifiers as l } from "../../../testids/index.js";
|
|
@@ -14,7 +15,7 @@ const S = {
|
|
|
14
15
|
}, F = { class: "title" }, U = {
|
|
15
16
|
key: 1,
|
|
16
17
|
class: "footer"
|
|
17
|
-
},
|
|
18
|
+
}, X = /* @__PURE__ */ A({
|
|
18
19
|
__name: "DialogV4",
|
|
19
20
|
props: {
|
|
20
21
|
modelValue: { type: Boolean },
|
|
@@ -46,13 +47,13 @@ const S = {
|
|
|
46
47
|
});
|
|
47
48
|
const E = () => {
|
|
48
49
|
const { closeOnClickOutside: r, saveButtonLoading: n } = i;
|
|
49
|
-
r && !n ? y(g.Backdrop) :
|
|
50
|
+
r && !n ? y(g.Backdrop) : I();
|
|
50
51
|
};
|
|
51
52
|
return (r, n) => (o(), c(w, {
|
|
52
53
|
to: "body",
|
|
53
54
|
disabled: !t.appendToBody
|
|
54
55
|
}, [
|
|
55
|
-
b(
|
|
56
|
+
b(p, null, {
|
|
56
57
|
default: u(() => [
|
|
57
58
|
e(h) ? (o(), m("div", S, [
|
|
58
59
|
C("div", s({
|
|
@@ -85,7 +86,7 @@ const S = {
|
|
|
85
86
|
})) : d("", !0)
|
|
86
87
|
], !0)
|
|
87
88
|
]),
|
|
88
|
-
t.showCloseButton ? (o(), c(e(
|
|
89
|
+
t.showCloseButton ? (o(), c(e(V), s({
|
|
89
90
|
key: 0,
|
|
90
91
|
class: "close-button",
|
|
91
92
|
"icon-name": "x",
|
|
@@ -151,5 +152,5 @@ const S = {
|
|
|
151
152
|
}
|
|
152
153
|
});
|
|
153
154
|
export {
|
|
154
|
-
|
|
155
|
+
X as default
|
|
155
156
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css"; import { defineComponent as a, openBlock as l, createBlock as o, unref as i, normalizeClass as d } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import r from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
|
-
|
|
4
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
|
+
const b = /* @__PURE__ */ a({
|
|
5
6
|
__name: "ButtonDropdownTrigger",
|
|
6
7
|
props: {
|
|
7
8
|
label: null,
|
|
@@ -16,7 +17,7 @@ const I = /* @__PURE__ */ a({
|
|
|
16
17
|
},
|
|
17
18
|
emits: ["click"],
|
|
18
19
|
setup(e, { emit: n }) {
|
|
19
|
-
return (
|
|
20
|
+
return (c, t) => (l(), o(i(r), {
|
|
20
21
|
class: d(["button-trigger", { open: e.open }]),
|
|
21
22
|
disabled: e.disabled,
|
|
22
23
|
color: "default",
|
|
@@ -32,5 +33,5 @@ const I = /* @__PURE__ */ a({
|
|
|
32
33
|
}
|
|
33
34
|
});
|
|
34
35
|
export {
|
|
35
|
-
|
|
36
|
+
b as default
|
|
36
37
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as H, openBlock as i, createElementBlock as n, mergeProps as u, unref as t, renderSlot as I, createElementVNode as m, createVNode as a, withCtx as c, Transition as ue, normalizeClass as K, normalizeStyle as ce, isRef as ye, createCommentVNode as r, createTextVNode as T, toDisplayString as fe, withModifiers as U, Fragment as me, renderList as pe, toRaw as w, createBlock as W, resolveDynamicComponent as ge } from "vue";
|
|
2
2
|
import L from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
4
5
|
import "./DropdownV4.vue.js";
|
|
5
6
|
import Te from "./DefaultDropdownTrigger.vue.js";
|
|
6
7
|
import be from "./IconButtonDropdownTrigger.vue.js";
|
|
@@ -32,7 +33,7 @@ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Oe = { key: 0 }, Be
|
|
|
32
33
|
}, Pe = { key: 2 }, Re = ["aria-selected", "aria-disabled", "onClick"], ze = {
|
|
33
34
|
key: 1,
|
|
34
35
|
class: "actions-wrapper"
|
|
35
|
-
}, xe = { class: "actions-clear-all" }, $e = { class: "actions-apply-cancel" },
|
|
36
|
+
}, xe = { class: "actions-clear-all" }, $e = { class: "actions-apply-cancel" }, ct = /* @__PURE__ */ se({
|
|
36
37
|
__name: "DropdownV4",
|
|
37
38
|
props: {
|
|
38
39
|
modelValue: { default: null },
|
|
@@ -449,5 +450,5 @@ const Le = ["tabindex"], Ee = { style: { width: "100%" } }, Oe = { key: 0 }, Be
|
|
|
449
450
|
}
|
|
450
451
|
});
|
|
451
452
|
export {
|
|
452
|
-
|
|
453
|
+
ct as default
|
|
453
454
|
};
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css"; import { defineComponent as
|
|
1
|
+
import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css"; import { defineComponent as e, openBlock as r, createBlock as n, unref as p, mergeProps as c } from "vue";
|
|
2
2
|
import "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import m from "../../button/v4/IconButtonV4.vue.js";
|
|
4
|
-
|
|
4
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
|
+
const l = /* @__PURE__ */ e({
|
|
5
6
|
__name: "IconButtonDropdownTrigger",
|
|
6
7
|
props: {
|
|
7
8
|
testId: { default: "" }
|
|
8
9
|
},
|
|
9
10
|
setup(o) {
|
|
10
|
-
const
|
|
11
|
+
const t = o;
|
|
11
12
|
return (s, u) => (r(), n(p(m), c({
|
|
12
13
|
"icon-name": "dots-three",
|
|
13
14
|
type: "bold"
|
|
14
|
-
},
|
|
15
|
+
}, t), null, 16));
|
|
15
16
|
}
|
|
16
17
|
});
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
+
l as default
|
|
19
20
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css"; import
|
|
2
|
-
import { defineComponent as
|
|
1
|
+
import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css"; import p from "../../../_virtual/dynamic-import-helper.js";
|
|
2
|
+
import { defineComponent as v, computed as y, defineAsyncComponent as b, openBlock as e, createElementBlock as k, createBlock as n, unref as i, createCommentVNode as a, createElementVNode as N, renderSlot as m, withCtx as c, createTextVNode as r, toDisplayString as l } from "vue";
|
|
3
3
|
import I from "../../button/v4/ButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
|
+
import u from "../../typography/v4/Typography.vue.js";
|
|
6
7
|
import { capitalizeFirstLetter as C, snakeCaseToCamelCase as T } from "../../../utils/string.js";
|
|
7
8
|
import S from "../../icon/v4/IconV4.vue.js";
|
|
8
9
|
import "../../icon/v4/IconFlag.vue.js";
|
|
9
|
-
const g = { class: "empty-state" }, x = { class: "title-wrapper" },
|
|
10
|
+
const g = { class: "empty-state" }, x = { class: "title-wrapper" }, R = /* @__PURE__ */ v({
|
|
10
11
|
__name: "EmptyStateV4",
|
|
11
12
|
props: {
|
|
12
13
|
title: { default: "No data to display" },
|
|
@@ -19,9 +20,9 @@ const g = { class: "empty-state" }, x = { class: "title-wrapper" }, F = /* @__PU
|
|
|
19
20
|
},
|
|
20
21
|
emits: ["click"],
|
|
21
22
|
setup(t) {
|
|
22
|
-
const d = t, f =
|
|
23
|
+
const d = t, f = y(() => {
|
|
23
24
|
const o = C(T(d.variant));
|
|
24
|
-
return b(() =>
|
|
25
|
+
return b(() => p(/* @__PURE__ */ Object.assign({ "./icons/IconError.vue": () => import("./icons/IconError.vue.js"), "./icons/IconFiles.vue": () => import("./icons/IconFiles.vue.js"), "./icons/IconNoAccess.vue": () => import("./icons/IconNoAccess.vue.js"), "./icons/IconNoData.vue": () => import("./icons/IconNoData.vue.js"), "./icons/IconNoResults.vue": () => import("./icons/IconNoResults.vue.js"), "./icons/IconSettings.vue": () => import("./icons/IconSettings.vue.js") }), `./icons/Icon${o}.vue`));
|
|
25
26
|
});
|
|
26
27
|
return (o, s) => (e(), k("div", g, [
|
|
27
28
|
t.variant && !t.iconName ? (e(), n(i(f), {
|
|
@@ -36,30 +37,30 @@ const g = { class: "empty-state" }, x = { class: "title-wrapper" }, F = /* @__PU
|
|
|
36
37
|
type: t.iconType
|
|
37
38
|
}, null, 8, ["name", "size", "type"])) : a("", !0),
|
|
38
39
|
N("div", x, [
|
|
39
|
-
|
|
40
|
-
t.title ? (e(), n(i(
|
|
40
|
+
m(o.$slots, "content", {}, () => [
|
|
41
|
+
t.title ? (e(), n(i(u), {
|
|
41
42
|
key: 0,
|
|
42
43
|
variant: "h4",
|
|
43
44
|
class: "title"
|
|
44
45
|
}, {
|
|
45
46
|
default: c(() => [
|
|
46
|
-
l(
|
|
47
|
+
r(l(t.title), 1)
|
|
47
48
|
]),
|
|
48
49
|
_: 1
|
|
49
50
|
})) : a("", !0),
|
|
50
|
-
t.subtitle ? (e(), n(i(
|
|
51
|
+
t.subtitle ? (e(), n(i(u), {
|
|
51
52
|
key: 1,
|
|
52
53
|
variant: "body1",
|
|
53
54
|
class: "subtitle"
|
|
54
55
|
}, {
|
|
55
56
|
default: c(() => [
|
|
56
|
-
l(
|
|
57
|
+
r(l(t.subtitle), 1)
|
|
57
58
|
]),
|
|
58
59
|
_: 1
|
|
59
60
|
})) : a("", !0)
|
|
60
61
|
], !0)
|
|
61
62
|
]),
|
|
62
|
-
|
|
63
|
+
m(o.$slots, "button", {}, () => [
|
|
63
64
|
t.buttonText ? (e(), n(i(I), {
|
|
64
65
|
key: 0,
|
|
65
66
|
variant: "outlined",
|
|
@@ -68,7 +69,7 @@ const g = { class: "empty-state" }, x = { class: "title-wrapper" }, F = /* @__PU
|
|
|
68
69
|
onClick: s[0] || (s[0] = (z) => o.$emit("click"))
|
|
69
70
|
}, {
|
|
70
71
|
default: c(() => [
|
|
71
|
-
l(
|
|
72
|
+
r(l(t.buttonText), 1)
|
|
72
73
|
]),
|
|
73
74
|
_: 1
|
|
74
75
|
})) : a("", !0)
|
|
@@ -77,5 +78,5 @@ const g = { class: "empty-state" }, x = { class: "title-wrapper" }, F = /* @__PU
|
|
|
77
78
|
}
|
|
78
79
|
});
|
|
79
80
|
export {
|
|
80
|
-
|
|
81
|
+
R as default
|
|
81
82
|
};
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
import b from "../typography/v4/Typography.vue.js";
|
|
3
3
|
import k from "../button/v4/ButtonV4.vue.js";
|
|
4
4
|
import "../button/v4/IconButtonV4.vue.js";
|
|
5
|
+
import "../button/v4/ButtonGroup.vue.js";
|
|
5
6
|
import { FormCardTestIdModifiers as o } from "../../testids/index.js";
|
|
6
7
|
import { useTestIdAttrs as N } from "../../utils/testIds.js";
|
|
7
8
|
import i from "../skeleton/v4/SkeletonV4.vue.js";
|
|
8
9
|
const h = { class: "form-card" }, p = {
|
|
9
10
|
key: 1,
|
|
10
11
|
class: "content-skeleton-container"
|
|
11
|
-
},
|
|
12
|
+
}, z = /* @__PURE__ */ B({
|
|
12
13
|
__name: "FormCard",
|
|
13
14
|
props: {
|
|
14
15
|
title: { default: "" },
|
|
@@ -97,5 +98,5 @@ const h = { class: "form-card" }, p = {
|
|
|
97
98
|
}
|
|
98
99
|
});
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
+
z as default
|
|
101
102
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as u, Transition as g, withCtx as c, unref as
|
|
1
|
+
import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as u, Transition as g, withCtx as c, unref as t, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
|
|
2
2
|
import { useVModel as $ } from "@vueuse/core";
|
|
3
3
|
import E from "../typography/v4/Typography.vue.js";
|
|
4
4
|
import S from "../button/v4/ButtonV4.vue.js";
|
|
5
5
|
import P from "../button/v4/IconButtonV4.vue.js";
|
|
6
|
+
import "../button/v4/ButtonGroup.vue.js";
|
|
6
7
|
import w from "./MultiBarMenu.vue.js";
|
|
7
8
|
import { useTestIdAttrs as L } from "../../utils/testIds.js";
|
|
8
9
|
import { MultiBarTestIdModifiers as n } from "../../testids/index.js";
|
|
@@ -11,7 +12,7 @@ const O = { class: "multi-bar-panel" }, R = {
|
|
|
11
12
|
class: "count-text"
|
|
12
13
|
}, D = {
|
|
13
14
|
inheritAttrs: !1
|
|
14
|
-
},
|
|
15
|
+
}, Y = /* @__PURE__ */ k({
|
|
15
16
|
...D,
|
|
16
17
|
__name: "MultiBar",
|
|
17
18
|
props: {
|
|
@@ -27,22 +28,22 @@ const O = { class: "multi-bar-panel" }, R = {
|
|
|
27
28
|
},
|
|
28
29
|
emits: ["update:modelValue", "close", "action"],
|
|
29
30
|
setup(o, { emit: s }) {
|
|
30
|
-
const
|
|
31
|
+
const e = o, f = $(e, "modelValue", s), I = () => {
|
|
31
32
|
f.value = !1, s("close");
|
|
32
33
|
}, b = (a) => {
|
|
33
34
|
s("action", a);
|
|
34
35
|
}, p = v(
|
|
35
|
-
() =>
|
|
36
|
+
() => e.actions.length > e.visibleActionsCount ? e.actions.slice(0, e.visibleActionsCount) : e.actions
|
|
36
37
|
), C = v(
|
|
37
|
-
() =>
|
|
38
|
-
), y = L(
|
|
38
|
+
() => e.actions.length > e.visibleActionsCount ? e.actions.slice(e.visibleActionsCount) : []
|
|
39
|
+
), y = L(e.testId, n);
|
|
39
40
|
return (a, F) => (l(), d(x, {
|
|
40
41
|
to: "body",
|
|
41
42
|
disabled: !o.appendToBody
|
|
42
43
|
}, [
|
|
43
44
|
u(g, { name: "multi-bar" }, {
|
|
44
45
|
default: c(() => [
|
|
45
|
-
|
|
46
|
+
t(f) ? (l(), r("div", B({
|
|
46
47
|
key: 0,
|
|
47
48
|
class: ["multi-bar", {
|
|
48
49
|
"light-theme-v4": !0,
|
|
@@ -53,29 +54,29 @@ const O = { class: "multi-bar-panel" }, R = {
|
|
|
53
54
|
"multi-bar--left": o.position === "left"
|
|
54
55
|
}],
|
|
55
56
|
style: { zIndex: o.zIndex }
|
|
56
|
-
}, { ...a.$attrs, ...
|
|
57
|
+
}, { ...a.$attrs, ...t(y)[t(n).WRAPPER] }), [
|
|
57
58
|
V("div", O, [
|
|
58
|
-
u(
|
|
59
|
+
u(t(P), B({
|
|
59
60
|
"icon-name": "x",
|
|
60
61
|
class: "close-icon"
|
|
61
|
-
},
|
|
62
|
+
}, t(y)[t(n).CLOSE_BTN], { onClick: I }), null, 16),
|
|
62
63
|
o.selectedCount ? (l(), r("div", R, [
|
|
63
|
-
u(
|
|
64
|
+
u(t(E), { variant: "body1" }, {
|
|
64
65
|
default: c(() => [
|
|
65
66
|
h(A(o.selectedCount) + " selected ", 1)
|
|
66
67
|
]),
|
|
67
68
|
_: 1
|
|
68
69
|
})
|
|
69
70
|
])) : m("", !0),
|
|
70
|
-
(l(!0), r(z, null, M(
|
|
71
|
+
(l(!0), r(z, null, M(t(p), (i, T) => (l(), d(t(S), {
|
|
71
72
|
key: i.id,
|
|
72
73
|
class: N(["action-button", {
|
|
73
|
-
"action-button--last": T ===
|
|
74
|
+
"action-button--last": T === t(p).length - 1
|
|
74
75
|
}]),
|
|
75
76
|
variant: "text",
|
|
76
77
|
color: "default",
|
|
77
78
|
"start-icon-name": i.icon,
|
|
78
|
-
"data-testid": `${
|
|
79
|
+
"data-testid": `${e.testId}-${t(n).ACTION}-${i.id}`,
|
|
79
80
|
disabled: i.disabled,
|
|
80
81
|
onClick: (U) => b(i)
|
|
81
82
|
}, {
|
|
@@ -84,10 +85,10 @@ const O = { class: "multi-bar-panel" }, R = {
|
|
|
84
85
|
]),
|
|
85
86
|
_: 2
|
|
86
87
|
}, 1032, ["class", "start-icon-name", "data-testid", "disabled", "onClick"]))), 128)),
|
|
87
|
-
|
|
88
|
+
t(C).length ? (l(), d(w, {
|
|
88
89
|
key: 1,
|
|
89
|
-
"menu-items":
|
|
90
|
-
"test-id": `${
|
|
90
|
+
"menu-items": t(C),
|
|
91
|
+
"test-id": `${e.testId}-${t(n).MENU}`,
|
|
91
92
|
onSelected: b
|
|
92
93
|
}, null, 8, ["menu-items", "test-id"])) : m("", !0)
|
|
93
94
|
])
|
|
@@ -99,5 +100,5 @@ const O = { class: "multi-bar-panel" }, R = {
|
|
|
99
100
|
}
|
|
100
101
|
});
|
|
101
102
|
export {
|
|
102
|
-
|
|
103
|
+
Y as default
|
|
103
104
|
};
|
|
@@ -3,6 +3,7 @@ import U from "../../icon/v4/IconV4.vue.js";
|
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import D from "../../button/v4/ButtonV4.vue.js";
|
|
5
5
|
import H from "../../button/v4/IconButtonV4.vue.js";
|
|
6
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
7
|
import S from "../../typography/v4/Typography.vue.js";
|
|
7
8
|
import { snackbarCommon as F } from "../common/snackbar.common.js";
|
|
8
9
|
import { useTestIdAttrs as G } from "../../../utils/testIds.js";
|
|
@@ -10,7 +11,7 @@ import { SnackbarTestIdModifiers as i } from "../../../testids/index.js";
|
|
|
10
11
|
const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { class: "message" }, J = { class: "action-wrapper" }, K = {
|
|
11
12
|
key: 0,
|
|
12
13
|
class: "actions"
|
|
13
|
-
}, Q = { class: "close-button-wrapper" },
|
|
14
|
+
}, Q = { class: "close-button-wrapper" }, ie = /* @__PURE__ */ M({
|
|
14
15
|
__name: "SnackbarV4",
|
|
15
16
|
props: {
|
|
16
17
|
customClass: null,
|
|
@@ -34,10 +35,10 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
|
|
|
34
35
|
const u = t, {
|
|
35
36
|
visible: b,
|
|
36
37
|
horizontalClass: w,
|
|
37
|
-
positionStyle:
|
|
38
|
+
positionStyle: p,
|
|
38
39
|
clearTimer: k,
|
|
39
40
|
startTimer: C,
|
|
40
|
-
close:
|
|
41
|
+
close: L
|
|
41
42
|
} = F(u), E = {
|
|
42
43
|
info: {
|
|
43
44
|
iconName: "info",
|
|
@@ -61,7 +62,7 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
|
|
|
61
62
|
g(a("div", l({
|
|
62
63
|
id: t.id,
|
|
63
64
|
class: ["snackbar light-theme-v4", [t.customClass, e(w)]],
|
|
64
|
-
style: e(
|
|
65
|
+
style: e(p),
|
|
65
66
|
role: "alert"
|
|
66
67
|
}, e(r)[e(i).CONTAINER], {
|
|
67
68
|
onMouseenter: o[0] || (o[0] = //@ts-ignore
|
|
@@ -122,7 +123,7 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
|
|
|
122
123
|
"icon-name": "x",
|
|
123
124
|
size: "small"
|
|
124
125
|
}, e(r)[e(i).CLOSE], {
|
|
125
|
-
onClick: x(e(
|
|
126
|
+
onClick: x(e(L), ["stop"])
|
|
126
127
|
}), null, 16, ["onClick"])) : d("", !0)
|
|
127
128
|
])
|
|
128
129
|
])
|
|
@@ -135,5 +136,5 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
|
|
|
135
136
|
}
|
|
136
137
|
});
|
|
137
138
|
export {
|
|
138
|
-
|
|
139
|
+
ie as default
|
|
139
140
|
};
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import { useVModel as C } from "@vueuse/core";
|
|
3
3
|
import "../../button/v4/ButtonV4.vue.js";
|
|
4
4
|
import $ from "../../button/v4/IconButtonV4.vue.js";
|
|
5
|
-
import
|
|
6
|
-
|
|
5
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
|
+
import { SwitchTestIdModifiers as r } from "../../../testids/index.js";
|
|
7
|
+
const w = ["data-testid"], R = /* @__PURE__ */ p({
|
|
7
8
|
__name: "SwitchV4",
|
|
8
9
|
props: {
|
|
9
10
|
options: null,
|
|
@@ -12,8 +13,8 @@ const w = ["data-testid"], P = /* @__PURE__ */ p({
|
|
|
12
13
|
iconKey: { default: "icon" }
|
|
13
14
|
},
|
|
14
15
|
emits: ["update:modelValue"],
|
|
15
|
-
setup(e, { emit:
|
|
16
|
-
const o = e, n = k(), m = C(o, "modelValue",
|
|
16
|
+
setup(e, { emit: u }) {
|
|
17
|
+
const o = e, n = k(), m = C(o, "modelValue", u);
|
|
17
18
|
v(() => {
|
|
18
19
|
n.value = o.options.findIndex(
|
|
19
20
|
(t) => t === o.modelValue
|
|
@@ -24,19 +25,19 @@ const w = ["data-testid"], P = /* @__PURE__ */ p({
|
|
|
24
25
|
};
|
|
25
26
|
return (t, i) => (a(), d("div", {
|
|
26
27
|
class: "switch",
|
|
27
|
-
"data-testid": `${e.testId}-${s(
|
|
28
|
+
"data-testid": `${e.testId}-${s(r).WRAPPER}`
|
|
28
29
|
}, [
|
|
29
30
|
(a(!0), d(I, null, V(e.options, (c, l) => (a(), h(s($), {
|
|
30
31
|
key: l,
|
|
31
32
|
class: B(["option", { "option--selected": n.value === l }]),
|
|
32
33
|
"icon-name": c[e.iconKey],
|
|
33
34
|
size: "small",
|
|
34
|
-
"data-testid": `${e.testId}-${s(
|
|
35
|
+
"data-testid": `${e.testId}-${s(r).BUTTON}`,
|
|
35
36
|
onClick: (y) => f(c, l)
|
|
36
37
|
}, null, 8, ["class", "icon-name", "data-testid", "onClick"]))), 128))
|
|
37
38
|
], 8, w));
|
|
38
39
|
}
|
|
39
40
|
});
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
R as default
|
|
42
43
|
};
|
|
@@ -185,6 +185,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
185
185
|
row: import("@vueuse/core").UseVirtualListItem<Row>;
|
|
186
186
|
gridColumnTemplate: any;
|
|
187
187
|
}): any;
|
|
188
|
+
"floating-row"?(_: {
|
|
189
|
+
row: import("@vueuse/core").UseVirtualListItem<Row>;
|
|
190
|
+
rowIndex: number;
|
|
191
|
+
}): any;
|
|
188
192
|
"empty-state"?(_: {}): any;
|
|
189
193
|
footer?(_: {}): any;
|
|
190
194
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_2f666594_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2f666594"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|