@ironsource/shared-ui 2.2.0-rc.5 → 2.2.0-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/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
- package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
- package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
- package/components/alert/Alert.vue.d.ts +3 -8
- package/components/alert/Alert.vue.js +2 -2
- package/components/alert/Alert.vue2.js +48 -46
- package/components/alert/index.d.ts +8 -27
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +44 -45
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
- package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
- package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
- package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
- package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
- package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
- package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
- package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
- package/components/chip/v4/ChipV4.vue.js +3 -3
- package/components/chip/v4/ChipV4.vue2.js +1 -1
- package/components/columnPicker/ColumnPicker.vue.js +2 -2
- package/components/columnPicker/ColumnPicker.vue2.js +1 -1
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +2 -2
- package/components/dropdown/v4/GroupOption.vue.js +3 -3
- package/components/dropdown/v4/GroupOption.vue2.js +1 -1
- package/components/helpText/HelpText.vue.d.ts +68 -0
- package/components/helpText/HelpText.vue.js +7 -0
- package/components/helpText/HelpText.vue2.js +45 -0
- package/components/helpText/index.d.ts +190 -0
- package/components/helpText/index.js +6 -0
- package/components/icon/v4/IconV4.vue.d.ts +5 -0
- package/components/icon/v4/IconV4.vue.js +2 -2
- package/components/icon/v4/IconV4.vue2.js +27 -26
- package/components/icon/v4/index.d.ts +20 -1
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +1 -1
- package/components/link/Link.vue.d.ts +3 -3
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +1 -1
- package/components/link/index.d.ts +7 -7
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +1 -1
- package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
- package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
- package/components/switch/v4/SwitchV4.vue.js +2 -2
- package/components/switch/v4/SwitchV4.vue2.js +1 -1
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +59 -59
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
- package/index.d.ts +41 -2
- package/index.js +95 -91
- package/package.json +7 -2
- package/style/v4/colors.scss +89 -84
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/testids/index.d.ts +4 -0
- package/testids/index.js +38 -37
- package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_3bc0f416_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_445ebb01_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
- package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../AppHeader.
|
|
2
|
-
import
|
|
1
|
+
import "../../AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css"; import { defineComponent as x, computed as s, openBlock as m, createElementBlock as c, normalizeClass as I, createElementVNode as o, mergeProps as r, unref as t, createVNode as i, withCtx as C, createTextVNode as v, toDisplayString as b, createCommentVNode as A } from "vue";
|
|
2
|
+
import p from "../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import T from "../typography/v4/Typography.vue.js";
|
|
5
5
|
import g from "../inlineCopy/InlineCopy.vue.js";
|
|
6
|
-
import { useTestIdAttrs as
|
|
7
|
-
import { AppHeaderTestIdModifiers as
|
|
8
|
-
const
|
|
6
|
+
import { useTestIdAttrs as z } from "../../utils/testIds.js";
|
|
7
|
+
import { AppHeaderTestIdModifiers as n } from "../../testids/index.js";
|
|
8
|
+
const N = { class: "image-container" }, w = ["src", "alt"], k = ["data-platform"], B = { class: "name-container" }, O = /* @__PURE__ */ x({
|
|
9
9
|
__name: "AppHeader",
|
|
10
10
|
props: {
|
|
11
11
|
image: { default: "" },
|
|
@@ -17,62 +17,61 @@ const w = { class: "image-container" }, k = ["src", "alt"], B = ["data-platform"
|
|
|
17
17
|
showAbIcon: { type: Boolean, default: !1 }
|
|
18
18
|
},
|
|
19
19
|
emits: ["copyToClipboard"],
|
|
20
|
-
setup(
|
|
21
|
-
const a =
|
|
20
|
+
setup(e, { emit: y }) {
|
|
21
|
+
const a = e, f = s(
|
|
22
22
|
() => a.platform ? a.platform.toLowerCase() : ""
|
|
23
|
-
), u =
|
|
24
|
-
() => a.type === "normal" ? "24px" : "20px"
|
|
25
|
-
), x = o(
|
|
23
|
+
), u = s(
|
|
26
24
|
() => a.type === "small" ? "18px" : null
|
|
27
|
-
),
|
|
25
|
+
), h = s(
|
|
28
26
|
() => a.type === "normal" ? "h2" : "subtitle1"
|
|
29
|
-
),
|
|
30
|
-
return (
|
|
31
|
-
class:
|
|
27
|
+
), l = z(a.testId, n);
|
|
28
|
+
return (P, d) => (m(), c("div", {
|
|
29
|
+
class: I(["app-header", `size-${e.type}`])
|
|
32
30
|
}, [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
src:
|
|
36
|
-
alt:
|
|
37
|
-
}, null, 8,
|
|
31
|
+
o("div", N, [
|
|
32
|
+
o("img", {
|
|
33
|
+
src: e.image,
|
|
34
|
+
alt: e.name
|
|
35
|
+
}, null, 8, w)
|
|
38
36
|
]),
|
|
39
|
-
|
|
40
|
-
class: "icon-container",
|
|
41
|
-
"data-platform":
|
|
42
|
-
},
|
|
43
|
-
i(
|
|
37
|
+
o("div", r({
|
|
38
|
+
class: ["icon-container", `icon-container--${e.type}`],
|
|
39
|
+
"data-platform": e.platform
|
|
40
|
+
}, t(l)[t(n).APP_PLATFORM]), [
|
|
41
|
+
i(t(p), {
|
|
44
42
|
type: "branded",
|
|
45
|
-
name:
|
|
46
|
-
size:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
name: t(f),
|
|
44
|
+
size: "24px",
|
|
45
|
+
circled: e.type === "small"
|
|
46
|
+
}, null, 8, ["name", "circled"])
|
|
47
|
+
], 16, k),
|
|
48
|
+
o("div", B, [
|
|
49
|
+
i(t(T), r({
|
|
50
|
+
variant: t(h),
|
|
52
51
|
class: "title"
|
|
53
|
-
},
|
|
54
|
-
default:
|
|
55
|
-
v(
|
|
52
|
+
}, t(l)[t(n).TITLE]), {
|
|
53
|
+
default: C(() => [
|
|
54
|
+
v(b(e.name), 1)
|
|
56
55
|
]),
|
|
57
56
|
_: 1
|
|
58
57
|
}, 16, ["variant"]),
|
|
59
|
-
i(
|
|
60
|
-
text:
|
|
58
|
+
i(t(g), {
|
|
59
|
+
text: e.appKey,
|
|
61
60
|
size: "medium",
|
|
62
61
|
class: "inline-copy",
|
|
63
|
-
"hide-text-value":
|
|
64
|
-
"test-id":
|
|
65
|
-
"icon-size":
|
|
62
|
+
"hide-text-value": e.type === "small",
|
|
63
|
+
"test-id": e.testId,
|
|
64
|
+
"icon-size": t(u),
|
|
66
65
|
"tooltip-header": "Copy app key",
|
|
67
|
-
"tooltip-text":
|
|
68
|
-
onCopy: d[0] || (d[0] = (V) =>
|
|
66
|
+
"tooltip-text": e.appKey,
|
|
67
|
+
onCopy: d[0] || (d[0] = (V) => y("copyToClipboard"))
|
|
69
68
|
}, null, 8, ["text", "hide-text-value", "test-id", "icon-size", "tooltip-text"])
|
|
70
69
|
]),
|
|
71
|
-
|
|
70
|
+
e.showAbIcon ? (m(), c("div", r({
|
|
72
71
|
key: 0,
|
|
73
72
|
class: "ab-icon-wrapper"
|
|
74
|
-
},
|
|
75
|
-
i(
|
|
73
|
+
}, t(l)[t(n).AB_ICON]), [
|
|
74
|
+
i(t(p), {
|
|
76
75
|
type: "ab-test",
|
|
77
76
|
name: "ab",
|
|
78
77
|
size: "28px"
|
|
@@ -82,5 +81,5 @@ const w = { class: "image-container" }, k = ["src", "alt"], B = ["data-platform"
|
|
|
82
81
|
}
|
|
83
82
|
});
|
|
84
83
|
export {
|
|
85
|
-
|
|
84
|
+
O as default
|
|
86
85
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../ButtonV4.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a59af1ad"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ButtonV4.
|
|
1
|
+
import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css"; import { defineComponent as N, computed as h, openBlock as n, createElementBlock as s, normalizeClass as c, createElementVNode as r, createBlock as f, unref as t, createCommentVNode as o, createVNode as u, withCtx as m, renderSlot as d, createTextVNode as z, toDisplayString as b } from "vue";
|
|
2
2
|
import I from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import y from "../../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../../icon/v4/IconFlag.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ToggleButtonGroupAB.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ToggleButtonGroupAB.
|
|
4
|
-
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0fc9ddf5"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ToggleButtonGroupAB.
|
|
1
|
+
import "../../../ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css"; import { defineComponent as b, ref as u, computed as A, openBlock as f, createElementBlock as C, createVNode as n, mergeProps as s, unref as e, withCtx as t, createTextVNode as B, createBlock as y, createElementVNode as N, renderSlot as w, createCommentVNode as O } from "vue";
|
|
2
2
|
import c from "./ButtonV4.vue.js";
|
|
3
3
|
import { useVModel as R } from "@vueuse/core";
|
|
4
4
|
import x from "../../icon/v4/IconV4.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CheckboxV4.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../CheckboxV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-88525d86"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import "../../../CheckboxV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css"; import { defineComponent as V, openBlock as l, createElementBlock as $, mergeProps as i, unref as e, createElementVNode as r, createBlock as a, createCommentVNode as n, normalizeClass as I, withCtx as S, renderSlot as A, createTextVNode as F, toDisplayString as T, pushScopeId as g, popScopeId as v } from "vue";
|
|
2
|
+
import D from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import L from "./icons/UncheckedState.vue.js";
|
|
4
4
|
import N from "./icons/CheckedState.vue.js";
|
|
5
5
|
import P from "./icons/IndeterminateState.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
import { checkboxCommon as R } from "../common/Checkbox.common.js";
|
|
11
|
-
import { useTestIdAttrs as U } from "../../../utils/testIds.js";
|
|
12
|
-
const M = (t) => (A("data-v-af4ae3c3"), t = t(), T(), t), W = ["for"], j = { class: "checkboxes" }, q = ["id", "disabled", "checked", ".indeterminate"], z = /* @__PURE__ */ M(() => /* @__PURE__ */ u("span", { class: "checkbox__inner" }, null, -1)), G = { class: "states" }, le = /* @__PURE__ */ D({
|
|
6
|
+
import { CheckboxTestIdModifiers as d } from "../../../testids/index.js";
|
|
7
|
+
import { checkboxCommon as w } from "../common/Checkbox.common.js";
|
|
8
|
+
import { useTestIdAttrs as R } from "../../../utils/testIds.js";
|
|
9
|
+
const z = (t) => (g("data-v-88525d86"), t = t(), v(), t), H = ["for"], K = { class: "checkboxes" }, M = ["id", "disabled", "checked", ".indeterminate"], W = /* @__PURE__ */ z(() => /* @__PURE__ */ r("span", { class: "checkbox__inner" }, null, -1)), j = { class: "states" }, Z = /* @__PURE__ */ V({
|
|
13
10
|
__name: "CheckboxV4",
|
|
14
11
|
props: {
|
|
15
12
|
isChecked: { type: Boolean },
|
|
@@ -21,91 +18,75 @@ const M = (t) => (A("data-v-af4ae3c3"), t = t(), T(), t), W = ["for"], j = { cla
|
|
|
21
18
|
},
|
|
22
19
|
emits: ["update:isChecked", "click"],
|
|
23
20
|
setup(t, { emit: b }) {
|
|
24
|
-
const
|
|
25
|
-
id:
|
|
26
|
-
checkbox:
|
|
27
|
-
isFocusVisible:
|
|
28
|
-
handleFocus:
|
|
29
|
-
handleBlur:
|
|
30
|
-
indeterminate:
|
|
31
|
-
checked:
|
|
32
|
-
unchecked:
|
|
33
|
-
updateValue:
|
|
34
|
-
} =
|
|
35
|
-
return (
|
|
36
|
-
for: e(
|
|
21
|
+
const k = t, {
|
|
22
|
+
id: f,
|
|
23
|
+
checkbox: x,
|
|
24
|
+
isFocusVisible: B,
|
|
25
|
+
handleFocus: h,
|
|
26
|
+
handleBlur: p,
|
|
27
|
+
indeterminate: u,
|
|
28
|
+
checked: y,
|
|
29
|
+
unchecked: E,
|
|
30
|
+
updateValue: C
|
|
31
|
+
} = w(k, b), c = R(k.testId, d);
|
|
32
|
+
return (m, o) => (l(), $("label", i({
|
|
33
|
+
for: e(f),
|
|
37
34
|
class: [{
|
|
38
|
-
"focus-visible": e(
|
|
35
|
+
"focus-visible": e(B),
|
|
39
36
|
disabled: t.disabled
|
|
40
37
|
}, "checkbox"]
|
|
41
|
-
}, e(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
id: e(
|
|
45
|
-
ref: e(
|
|
38
|
+
}, e(c)[e(d).WRAPPER]), [
|
|
39
|
+
r("span", K, [
|
|
40
|
+
r("input", i({ ...m.$attrs, ...e(c)[e(d).FIELD] }, {
|
|
41
|
+
id: e(f),
|
|
42
|
+
ref: e(x),
|
|
46
43
|
disabled: t.disabled,
|
|
47
|
-
checked: e(
|
|
44
|
+
checked: e(y),
|
|
48
45
|
class: "input",
|
|
49
|
-
".indeterminate": e(
|
|
46
|
+
".indeterminate": e(u),
|
|
50
47
|
type: "checkbox",
|
|
51
|
-
onBlur:
|
|
52
|
-
(...s) => e(
|
|
53
|
-
onFocus:
|
|
54
|
-
(...s) => e(
|
|
55
|
-
onClick:
|
|
56
|
-
onInput:
|
|
57
|
-
(...s) => e(
|
|
58
|
-
}), null, 16,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
], 64)),
|
|
77
|
-
t.disabled ? (o(), f(B, { key: 1 }, [
|
|
78
|
-
e(m) ? (o(), n(H, a({
|
|
79
|
-
key: 0,
|
|
80
|
-
color: t.color,
|
|
81
|
-
class: "icon checked"
|
|
82
|
-
}, e(r)[e(i).CHECKED]), null, 16, ["color"])) : c("", !0),
|
|
83
|
-
e(d) ? (o(), n(K, {
|
|
84
|
-
key: 1,
|
|
85
|
-
class: "icon indeterminate"
|
|
86
|
-
})) : c("", !0),
|
|
87
|
-
e(I) && !e(d) ? (o(), n(w, {
|
|
88
|
-
key: 2,
|
|
89
|
-
class: "icon unchecked"
|
|
90
|
-
})) : c("", !0)
|
|
91
|
-
], 64)) : c("", !0)
|
|
48
|
+
onBlur: o[0] || (o[0] = //@ts-ignore
|
|
49
|
+
(...s) => e(p) && e(p)(...s)),
|
|
50
|
+
onFocus: o[1] || (o[1] = //@ts-ignore
|
|
51
|
+
(...s) => e(h) && e(h)(...s)),
|
|
52
|
+
onClick: o[2] || (o[2] = (s) => b("click", s)),
|
|
53
|
+
onInput: o[3] || (o[3] = //@ts-ignore
|
|
54
|
+
(...s) => e(C) && e(C)(...s))
|
|
55
|
+
}), null, 16, M),
|
|
56
|
+
W,
|
|
57
|
+
r("span", j, [
|
|
58
|
+
e(y) ? (l(), a(N, i({
|
|
59
|
+
key: 0,
|
|
60
|
+
class: ["icon checked", { disabled: t.disabled }],
|
|
61
|
+
color: t.color
|
|
62
|
+
}, e(c)[e(d).CHECKED]), null, 16, ["class", "color"])) : n("", !0),
|
|
63
|
+
e(u) ? (l(), a(P, {
|
|
64
|
+
key: 1,
|
|
65
|
+
color: t.color,
|
|
66
|
+
class: I(["icon indeterminate", { disabled: t.disabled }])
|
|
67
|
+
}, null, 8, ["color", "class"])) : n("", !0),
|
|
68
|
+
e(E) && !e(u) ? (l(), a(L, {
|
|
69
|
+
key: 2,
|
|
70
|
+
class: I(["icon unchecked", { disabled: t.disabled }]),
|
|
71
|
+
disabled: t.disabled
|
|
72
|
+
}, null, 8, ["class", "disabled"])) : n("", !0)
|
|
92
73
|
])
|
|
93
74
|
]),
|
|
94
|
-
t.label ||
|
|
75
|
+
t.label || m.$slots.default ? (l(), a(e(D), i({
|
|
95
76
|
key: 0,
|
|
96
77
|
variant: "body2",
|
|
97
78
|
class: "checkbox-label"
|
|
98
|
-
}, e(
|
|
99
|
-
default:
|
|
100
|
-
|
|
101
|
-
F(
|
|
79
|
+
}, e(c)[e(d).LABEL]), {
|
|
80
|
+
default: S(() => [
|
|
81
|
+
A(m.$slots, "default", {}, () => [
|
|
82
|
+
F(T(t.label), 1)
|
|
102
83
|
], !0)
|
|
103
84
|
]),
|
|
104
85
|
_: 3
|
|
105
|
-
}, 16)) :
|
|
106
|
-
], 16,
|
|
86
|
+
}, 16)) : n("", !0)
|
|
87
|
+
], 16, H));
|
|
107
88
|
}
|
|
108
89
|
});
|
|
109
90
|
export {
|
|
110
|
-
|
|
91
|
+
Z as default
|
|
111
92
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as r, createElementBlock as
|
|
2
|
-
import { darkerColor as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as o, openBlock as r, createElementBlock as n, createElementVNode as t, unref as l } from "vue";
|
|
2
|
+
import { darkerColor as i } from "../../../../utils/color.js";
|
|
3
|
+
const c = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
viewBox: "0 0 16 16",
|
|
6
6
|
fill: "none"
|
|
7
|
-
}, s = ["fill"],
|
|
7
|
+
}, s = ["fill"], a = ["stroke"], d = /* @__PURE__ */ t("path", {
|
|
8
8
|
d: "M12.125 5.375L6.875 10.625L4.25 8",
|
|
9
9
|
stroke: "white",
|
|
10
10
|
"stroke-width": "1.5",
|
|
11
11
|
"stroke-linecap": "round",
|
|
12
12
|
"stroke-linejoin": "round"
|
|
13
|
-
}, null, -1),
|
|
13
|
+
}, null, -1), f = /* @__PURE__ */ o({
|
|
14
14
|
__name: "CheckedState",
|
|
15
15
|
props: {
|
|
16
16
|
color: { default: null }
|
|
17
17
|
},
|
|
18
18
|
setup(e) {
|
|
19
|
-
return (
|
|
19
|
+
return (h, m) => (r(), n("svg", c, [
|
|
20
20
|
t("rect", {
|
|
21
21
|
x: "0.5",
|
|
22
22
|
y: "0.5",
|
|
23
23
|
width: "15",
|
|
24
24
|
height: "15",
|
|
25
25
|
rx: "3.5",
|
|
26
|
-
fill: e.color || "
|
|
26
|
+
fill: e.color || "var(--primary-main)"
|
|
27
27
|
}, null, 8, s),
|
|
28
28
|
t("rect", {
|
|
29
29
|
x: "0.5",
|
|
@@ -31,12 +31,12 @@ const i = {
|
|
|
31
31
|
width: "15",
|
|
32
32
|
height: "15",
|
|
33
33
|
rx: "3.5",
|
|
34
|
-
stroke: e.color ?
|
|
35
|
-
}, null, 8,
|
|
36
|
-
|
|
34
|
+
stroke: e.color ? l(i)(e.color) : "var(--primary-dark)"
|
|
35
|
+
}, null, 8, a),
|
|
36
|
+
d
|
|
37
37
|
]));
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
f as default
|
|
42
42
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as r, createElementBlock as
|
|
1
|
+
import { defineComponent as o, openBlock as r, createElementBlock as n, createElementVNode as t, unref as l } from "vue";
|
|
2
2
|
import { darkerColor as i } from "../../../../utils/color.js";
|
|
3
3
|
const c = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
viewBox: "0 0 16 16",
|
|
6
6
|
fill: "none"
|
|
7
|
-
}, s = ["fill"],
|
|
7
|
+
}, s = ["fill"], a = ["stroke"], d = /* @__PURE__ */ t("line", {
|
|
8
8
|
x1: "4.75",
|
|
9
9
|
y1: "8.25",
|
|
10
10
|
x2: "11.25",
|
|
@@ -18,14 +18,14 @@ const c = {
|
|
|
18
18
|
color: { default: null }
|
|
19
19
|
},
|
|
20
20
|
setup(e) {
|
|
21
|
-
return (
|
|
21
|
+
return (h, m) => (r(), n("svg", c, [
|
|
22
22
|
t("rect", {
|
|
23
23
|
x: "0.5",
|
|
24
24
|
y: "0.5",
|
|
25
25
|
width: "15",
|
|
26
26
|
height: "15",
|
|
27
27
|
rx: "3.5",
|
|
28
|
-
fill: e.color || "
|
|
28
|
+
fill: e.color || "var(--primary-main)"
|
|
29
29
|
}, null, 8, s),
|
|
30
30
|
t("rect", {
|
|
31
31
|
x: "0.5",
|
|
@@ -33,9 +33,9 @@ const c = {
|
|
|
33
33
|
width: "15",
|
|
34
34
|
height: "15",
|
|
35
35
|
rx: "3.5",
|
|
36
|
-
stroke: e.color ?
|
|
37
|
-
}, null, 8,
|
|
38
|
-
|
|
36
|
+
stroke: e.color ? l(i)(e.color) : "var(--primary-dark)"
|
|
37
|
+
}, null, 8, a),
|
|
38
|
+
d
|
|
39
39
|
]));
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -1,2 +1,29 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
}>, {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
}>, {}, 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<{
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>>>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>;
|
|
2
12
|
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
|
|
3
|
-
const r = {}, n = {
|
|
1
|
+
import { defineComponent as o, openBlock as n, createElementBlock as l, createElementVNode as e } from "vue";
|
|
2
|
+
const r = {
|
|
4
3
|
viewBox: "0 0 16 16",
|
|
5
4
|
fill: "none",
|
|
6
5
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7
|
-
},
|
|
8
|
-
x: "0.5",
|
|
9
|
-
y: "0.5",
|
|
10
|
-
width: "15",
|
|
11
|
-
height: "15",
|
|
12
|
-
rx: "3.5",
|
|
13
|
-
fill: "black",
|
|
14
|
-
"fill-opacity": "0.05"
|
|
15
|
-
}, null, -1), s = /* @__PURE__ */ t("rect", {
|
|
6
|
+
}, c = ["fill"], s = /* @__PURE__ */ e("rect", {
|
|
16
7
|
x: "0.5",
|
|
17
8
|
y: "0.5",
|
|
18
9
|
width: "15",
|
|
19
10
|
height: "15",
|
|
20
11
|
rx: "3.5",
|
|
21
12
|
stroke: "currentColor"
|
|
22
|
-
}, null, -1),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
13
|
+
}, null, -1), h = /* @__PURE__ */ o({
|
|
14
|
+
__name: "UncheckedState",
|
|
15
|
+
props: {
|
|
16
|
+
disabled: { type: Boolean, default: !1 }
|
|
17
|
+
},
|
|
18
|
+
setup(t) {
|
|
19
|
+
return (a, i) => (n(), l("svg", r, [
|
|
20
|
+
e("rect", {
|
|
21
|
+
x: "0.5",
|
|
22
|
+
y: "0.5",
|
|
23
|
+
width: "15",
|
|
24
|
+
height: "15",
|
|
25
|
+
rx: "3.5",
|
|
26
|
+
fill: t.disabled ? "var(--action-disabled-background)" : "var(--background-inset)"
|
|
27
|
+
}, null, 8, c),
|
|
28
|
+
s
|
|
29
|
+
]));
|
|
30
|
+
}
|
|
31
|
+
});
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
h as default
|
|
32
34
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ChipV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../ChipV4.
|
|
4
|
-
const t = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-a221c649"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ChipV4.
|
|
1
|
+
import "../../../ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css"; import { defineComponent as i, openBlock as o, createElementBlock as d, mergeProps as s, unref as t, renderSlot as c, createVNode as f, withCtx as n, createTextVNode as p, toDisplayString as u } from "vue";
|
|
2
2
|
import { ChipTestIdModifiers as a } from "../../../testids/index.js";
|
|
3
3
|
import { useTestIdAttrs as m } from "../../../utils/testIds.js";
|
|
4
4
|
import h from "../../typography/v4/Typography.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ColumnPicker.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../ColumnPicker.
|
|
4
|
-
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-01c4e08f"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../ColumnPicker.
|
|
1
|
+
import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css"; import { defineComponent as ie, ref as K, watch as ne, computed as c, provide as se, openBlock as d, createElementBlock as m, Fragment as S, renderSlot as oe, createVNode as r, unref as s, withCtx as p, createElementVNode as u, mergeProps as ae, renderList as R, withModifiers as U, createTextVNode as k, toDisplayString as V, withDirectives as de, createBlock as W, vShow as re, createCommentVNode as q, isRef as ue } from "vue";
|
|
2
2
|
import ce from "./OptionChip.vue.js";
|
|
3
3
|
import "../dropdown/v4/DropdownV4.vue.js";
|
|
4
4
|
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DialogV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DialogV4.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-a6710278"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DialogV4.
|
|
1
|
+
import "../../../DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css"; import { defineComponent as k, openBlock as l, createBlock as s, Teleport as T, createVNode as L, Transition as D, withCtx as d, unref as t, createElementBlock as C, createElementVNode as g, mergeProps as B, renderSlot as b, createCommentVNode as u, createTextVNode as O, toDisplayString as p } from "vue";
|
|
2
2
|
import { NOOP as I } from "@vue/shared";
|
|
3
3
|
import N from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import { Reason as v } from "../common/Reason.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AppDropdownTrigger.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../AppDropdownTrigger.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-f86477a9"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../AppDropdownTrigger.
|
|
1
|
+
import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css"; import { defineComponent as B, computed as y, ref as O, watch as w, nextTick as z, openBlock as a, createElementBlock as i, normalizeClass as N, createElementVNode as d, mergeProps as C, unref as t, renderSlot as f, createCommentVNode as c, createVNode as s, withCtx as m, toDisplayString as S } from "vue";
|
|
2
2
|
import r from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import D from "../../typography/v4/Typography.vue.js";
|