@ironsource/shared-ui 2.2.0-rc.2 → 2.2.0-rc.20
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/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_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_d59af062_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_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/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
- package/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/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_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/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/index.d.ts +14 -14
- 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/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +10 -8
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -49
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +33 -31
- package/components/chart/ChartStoryArgs.d.ts +6 -0
- package/components/chart/index.d.ts +20 -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/columnConfigurator/SectionDropdown.vue.js +3 -3
- package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
- package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
- package/components/columnPicker/ColumnPicker.vue.js +3 -3
- package/components/columnPicker/ColumnPicker.vue2.js +173 -153
- package/components/columnPicker/index.d.ts +7 -1
- package/components/dateRange/common/CalendarMonth.common.js +46 -41
- package/components/dateRange/common/DateRange.common.d.ts +1 -0
- package/components/dateRange/common/DateRange.common.js +38 -37
- package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
- package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
- package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
- package/components/dateRange/v3/DateRange.vue.d.ts +5 -0
- package/components/dateRange/v3/DateRange.vue.js +2 -2
- package/components/dateRange/v3/DateRange.vue2.js +2 -1
- package/components/dateRange/v3/index.d.ts +20 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +5 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
- package/components/dateRange/v4/index.d.ts +20 -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/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- 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/includeExclude/index.d.ts +16 -16
- package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +80 -51
- package/components/inlineCopy/index.d.ts +27 -0
- 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/snackbar/common/notify.js +25 -25
- package/components/snackbar/common/snackbar.common.js +19 -19
- package/components/snackbar/common/snackbar.types.d.ts +2 -1
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
- package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
- package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
- package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
- package/components/switch/v4/SwitchV4.vue.js +4 -4
- package/components/switch/v4/SwitchV4.vue2.js +14 -13
- package/components/switch/v4/index.d.ts +9 -0
- package/components/table/v4/DataGrid.vue.d.ts +2 -0
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +82 -80
- package/components/table/v4/index.d.ts +7 -1
- package/components/table-cells/v3/Editable.vue.d.ts +1 -1
- package/components/table-cells/v3/index.d.ts +20 -20
- package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
- package/components/table-cells/v4/index.d.ts +20 -20
- 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 +207 -46
- 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/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_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_cd41c5ca_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_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/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_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/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_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,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 "./SectionDropdown.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../SectionDropdown.
|
|
4
|
-
const
|
|
3
|
+
// import "../../SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-65877e48"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../SectionDropdown.
|
|
1
|
+
import "../../SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css"; import { defineComponent as l, openBlock as m, createBlock as a, unref as t, withCtx as p, createVNode as u, mergeProps as f } from "vue";
|
|
2
2
|
import { DISPLAY_FIELD_NAME as n } from "./consts.js";
|
|
3
3
|
import g from "../dropdown/v4/DropdownV4.vue.js";
|
|
4
4
|
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
@@ -12,7 +12,7 @@ import "../dropdown/v4/OptionV4.vue.js";
|
|
|
12
12
|
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
13
13
|
import { ColumnConfiguratorTestIdModifiers as r } from "../../testids/index.js";
|
|
14
14
|
import { matchString as I } from "../../utils/search.js";
|
|
15
|
-
const v = /* @__PURE__ */
|
|
15
|
+
const v = /* @__PURE__ */ l({
|
|
16
16
|
__name: "SectionDropdown",
|
|
17
17
|
props: {
|
|
18
18
|
selected: null,
|
|
@@ -20,8 +20,8 @@ const v = /* @__PURE__ */ c({
|
|
|
20
20
|
testId: { default: "" }
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:selected"],
|
|
23
|
-
setup(e, { emit:
|
|
24
|
-
const
|
|
23
|
+
setup(e, { emit: d }) {
|
|
24
|
+
const c = (s, i) => I(s[n], i);
|
|
25
25
|
return (s, i) => (m(), a(t(g), {
|
|
26
26
|
selected: e.selected,
|
|
27
27
|
class: "section-dropdown",
|
|
@@ -34,11 +34,10 @@ const v = /* @__PURE__ */ c({
|
|
|
34
34
|
multi: "",
|
|
35
35
|
"inline-search": "",
|
|
36
36
|
"show-select-all": !1,
|
|
37
|
-
"
|
|
38
|
-
"on-search": d,
|
|
37
|
+
"on-search": c,
|
|
39
38
|
placement: "bottom-end",
|
|
40
39
|
"test-id": `${e.testId}-${t(r).DROPDOWN}-${e.section.sectionId}`,
|
|
41
|
-
"onUpdate:selected": i[0] || (i[0] = (o) =>
|
|
40
|
+
"onUpdate:selected": i[0] || (i[0] = (o) => d("update:selected", o))
|
|
42
41
|
}, {
|
|
43
42
|
"dropdown-trigger": p(({ buttonTriggerProps: o }) => [
|
|
44
43
|
u(t(D), f({
|
|
@@ -34,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
34
34
|
testId: string;
|
|
35
35
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
36
|
"update:selected": (value: unknown[]) => void;
|
|
37
|
+
trackUserActivity: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => void;
|
|
37
38
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
38
39
|
selected: unknown[];
|
|
39
40
|
options: Record<string, unknown>[];
|
|
@@ -70,6 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
70
71
|
testId: string;
|
|
71
72
|
}>>> & {
|
|
72
73
|
"onUpdate:selected"?: (value: unknown[]) => any;
|
|
74
|
+
onTrackUserActivity?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
|
|
73
75
|
}, {
|
|
74
76
|
testId: string;
|
|
75
77
|
selected: unknown[];
|
|
@@ -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
|
|
3
|
+
// import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-d59af062"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|