@ironsource/shared-ui 2.2.0-rc.43 → 2.2.0-rc.48
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/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +1 -0
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +1 -0
- package/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +1 -2
- package/components/ThemeWrapper/ThemeStrore.js +11 -14
- package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +11 -8
- package/components/ThemeWrapper/index.d.ts +1 -2
- package/components/ThemeWrapper/index.js +2 -4
- package/components/alert/Alert.vue.js +4 -4
- package/components/alert/Alert.vue2.js +1 -1
- package/components/autocomplete/index.d.ts +16 -16
- package/components/button/v3/ButtonBase.vue.d.ts +1 -1
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +28 -27
- package/components/dropdown/common/Dropdown.common.js +351 -274
- package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
- package/components/dropdown/v3/index.d.ts +88 -88
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +38 -32
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +50 -41
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +239 -224
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -9
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +2377 -2349
- package/components/helpText/HelpText.vue.js +3 -3
- package/components/helpText/HelpText.vue2.js +11 -10
- package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +54 -54
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +54 -53
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +22 -19
- package/components/input/v4/index.d.ts +20 -1
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +30 -21
- package/components/loader/v4/Loader.vue.js +3 -3
- package/components/loader/v4/Loader.vue2.js +1 -1
- package/components/menu/Menu.vue.js +3 -3
- package/components/menu/Menu.vue2.js +30 -33
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +50 -51
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +21 -22
- package/components/search/v4/SearchV4.vue.d.ts +5 -0
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +23 -18
- package/components/search/v4/index.d.ts +9 -0
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -8
- package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
- package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
- package/components/table/v4/DataGridMenu.vue.d.ts +5 -0
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +28 -22
- package/components/table/v4/index.d.ts +9 -0
- package/components/tabs/v4/TabsV4.vue.d.ts +5 -0
- package/components/tabs/v4/TabsV4.vue.js +3 -3
- package/components/tabs/v4/TabsV4.vue2.js +74 -43
- package/components/tabs/v4/index.d.ts +20 -1
- package/components/toggle/v4/ToggleV4.vue.d.ts +5 -0
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +50 -41
- package/components/toggle/v4/index.d.ts +20 -1
- package/components/tooltip/v3/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/v3/index.d.ts +20 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +15 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +85 -63
- package/components/tooltip/v4/index.d.ts +70 -23
- package/design-foundation.stories/colors/ColorsData.d.ts +0 -114
- package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +1 -28
- package/index.d.ts +3013 -2696
- package/index.js +1 -1
- package/package.json +5 -1
- package/style/v4/border-radius.scss +2 -2
- package/style/v4/colors.scss +0 -105
- package/style/v4/elevations.scss +0 -11
- package/style/v4/grid.css +1 -17
- package/style/v4/grid.css.map +1 -1
- package/style/v4/grid.scss +1 -1
- package/style/v4/spacings.scss +1 -1
- package/style/v4/styleguideV4.scss +0 -1
- package/styleguide.scss +2 -2
- package/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +0 -1
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +0 -1
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +0 -1
- package/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +0 -1
- package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +0 -1
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_8eef6574_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css +0 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "../../../PopoverV4.
|
|
2
|
-
import { Dropdown as
|
|
3
|
-
import { popoverCommon as
|
|
4
|
-
|
|
5
|
-
const H = ["data-testid"], S = /* @__PURE__ */ h({
|
|
1
|
+
import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_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 r, 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({
|
|
6
5
|
__name: "PopoverV4",
|
|
7
6
|
props: {
|
|
8
7
|
isOpen: { type: Boolean, default: !1 },
|
|
@@ -18,53 +17,53 @@ const H = ["data-testid"], S = /* @__PURE__ */ h({
|
|
|
18
17
|
container: { default: "body" }
|
|
19
18
|
},
|
|
20
19
|
emits: ["isOpen"],
|
|
21
|
-
setup(e, { expose: f, emit:
|
|
22
|
-
const i = e, { popup: c, open: t, toggle: d, triggerRef: v } =
|
|
20
|
+
setup(e, { expose: f, emit: m }) {
|
|
21
|
+
const i = e, { popup: c, open: t, toggle: d, triggerRef: v } = $();
|
|
23
22
|
s(t, () => {
|
|
24
|
-
|
|
23
|
+
m("isOpen", t.value);
|
|
25
24
|
}), s(
|
|
26
25
|
() => i.isOpen,
|
|
27
26
|
(o) => {
|
|
28
27
|
d(o);
|
|
29
28
|
}
|
|
30
29
|
);
|
|
31
|
-
const
|
|
30
|
+
const a = (o) => {
|
|
32
31
|
i.trigger === o && (t.value = !t.value);
|
|
33
32
|
};
|
|
34
33
|
return f({
|
|
35
34
|
toggle: d
|
|
36
|
-
}), (o, n) => (p(),
|
|
35
|
+
}), (o, n) => (p(), y(r(w), {
|
|
37
36
|
theme: "custom-popover",
|
|
38
37
|
placement: e.placement,
|
|
39
|
-
shown: !!
|
|
38
|
+
shown: !!r(t),
|
|
40
39
|
triggers: e.trigger === "managed" ? [] : [e.trigger],
|
|
41
40
|
"auto-hide": e.autoHide,
|
|
42
41
|
distance: e.distance,
|
|
43
42
|
skidding: e.skidding,
|
|
44
43
|
delay: e.delay,
|
|
45
44
|
container: e.container,
|
|
46
|
-
"popper-class": [e.popperClass, "v4-popover__popper"]
|
|
45
|
+
"popper-class": [e.popperClass, "v4-popover__popper light-theme-v4"]
|
|
47
46
|
}, {
|
|
48
47
|
popper: u(() => [
|
|
49
|
-
|
|
48
|
+
r(t) ? (p(), h("div", {
|
|
50
49
|
key: 0,
|
|
51
50
|
ref_key: "popup",
|
|
52
51
|
ref: c,
|
|
53
|
-
class:
|
|
52
|
+
class: "menu-popup",
|
|
54
53
|
"data-testid": e.testId
|
|
55
54
|
}, [
|
|
56
|
-
|
|
57
|
-
],
|
|
55
|
+
g(o.$slots, "content", {}, void 0, !0)
|
|
56
|
+
], 8, O)) : B("", !0)
|
|
58
57
|
]),
|
|
59
58
|
default: u(() => [
|
|
60
|
-
|
|
59
|
+
C("div", {
|
|
61
60
|
ref_key: "triggerRef",
|
|
62
61
|
ref: v,
|
|
63
|
-
onClick: n[0] || (n[0] = (l) =>
|
|
64
|
-
onMouseenter: n[1] || (n[1] = (l) =>
|
|
65
|
-
onMouseleave: n[2] || (n[2] = (l) =>
|
|
62
|
+
onClick: n[0] || (n[0] = (l) => a("click")),
|
|
63
|
+
onMouseenter: n[1] || (n[1] = (l) => a("hover")),
|
|
64
|
+
onMouseleave: n[2] || (n[2] = (l) => a("hover"))
|
|
66
65
|
}, [
|
|
67
|
-
|
|
66
|
+
g(o.$slots, "trigger", {}, void 0, !0)
|
|
68
67
|
], 544)
|
|
69
68
|
]),
|
|
70
69
|
_: 3
|
|
@@ -72,5 +71,5 @@ const H = ["data-testid"], S = /* @__PURE__ */ h({
|
|
|
72
71
|
}
|
|
73
72
|
});
|
|
74
73
|
export {
|
|
75
|
-
|
|
74
|
+
H as default
|
|
76
75
|
};
|
|
@@ -4,11 +4,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
testId?: string;
|
|
6
6
|
autoFocus?: boolean;
|
|
7
|
+
clearLabel?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
disabled: boolean;
|
|
9
10
|
testId: string;
|
|
10
11
|
autoFocus: boolean;
|
|
11
12
|
placeholder: string;
|
|
13
|
+
clearLabel: string;
|
|
12
14
|
}>, {
|
|
13
15
|
inputRef: import("vue").Ref<any>;
|
|
14
16
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -20,11 +22,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
22
|
disabled?: boolean;
|
|
21
23
|
testId?: string;
|
|
22
24
|
autoFocus?: boolean;
|
|
25
|
+
clearLabel?: string;
|
|
23
26
|
}>, {
|
|
24
27
|
disabled: boolean;
|
|
25
28
|
testId: string;
|
|
26
29
|
autoFocus: boolean;
|
|
27
30
|
placeholder: string;
|
|
31
|
+
clearLabel: string;
|
|
28
32
|
}>>> & {
|
|
29
33
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
30
34
|
onOnClear?: () => any;
|
|
@@ -33,6 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
33
37
|
disabled: boolean;
|
|
34
38
|
placeholder: string;
|
|
35
39
|
autoFocus: boolean;
|
|
40
|
+
clearLabel: string;
|
|
36
41
|
}>;
|
|
37
42
|
export default _default;
|
|
38
43
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../SearchV4.
|
|
4
|
-
const
|
|
1
|
+
import e from "./SearchV4.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-e1a33934"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import "../../../SearchV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css"; import { defineComponent as p, openBlock as h, createElementBlock as b, mergeProps as u, unref as e, createVNode as o, withCtx as V, withDirectives as x, createElementVNode as C, vShow as I } from "vue";
|
|
2
|
+
import m from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import { SearchTestIdModifiers as r } from "../../../testids/index.js";
|
|
5
|
-
import { searchCommon as
|
|
6
|
-
import
|
|
5
|
+
import { searchCommon as y } from "../common/Search.common.js";
|
|
6
|
+
import v from "../../input/v4/TextField.vue.js";
|
|
7
7
|
import { useTestIdAttrs as B } from "../../../utils/testIds.js";
|
|
8
|
-
const
|
|
8
|
+
const g = ["aria-label"], F = /* @__PURE__ */ p({
|
|
9
9
|
__name: "SearchV4",
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: null,
|
|
12
12
|
placeholder: { default: "Search" },
|
|
13
13
|
disabled: { type: Boolean, default: !1 },
|
|
14
14
|
testId: { default: "" },
|
|
15
|
-
autoFocus: { type: Boolean, default: !1 }
|
|
15
|
+
autoFocus: { type: Boolean, default: !1 },
|
|
16
|
+
clearLabel: { default: "Clear search" }
|
|
16
17
|
},
|
|
17
18
|
emits: ["update:modelValue", "onClear"],
|
|
18
19
|
setup(t, { expose: f, emit: d }) {
|
|
19
|
-
const s = t, { inputRef: i, clearValue: n } =
|
|
20
|
+
const s = t, { inputRef: i, clearValue: n } = y(s, d), c = B(s.testId, r);
|
|
20
21
|
return f({
|
|
21
22
|
inputRef: i
|
|
22
|
-
}), (
|
|
23
|
-
|
|
23
|
+
}), (k, a) => (h(), b("div", u({ class: "search-container" }, e(c)[e(r).CONTAINER]), [
|
|
24
|
+
o(e(v), {
|
|
24
25
|
ref_key: "inputRef",
|
|
25
26
|
ref: i,
|
|
26
27
|
"model-value": t.modelValue,
|
|
@@ -29,31 +30,35 @@ const T = /* @__PURE__ */ p({
|
|
|
29
30
|
placeholder: t.placeholder,
|
|
30
31
|
disabled: t.disabled,
|
|
31
32
|
"test-id": t.testId,
|
|
32
|
-
"onUpdate:modelValue":
|
|
33
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => d("update:modelValue", l))
|
|
33
34
|
}, {
|
|
34
|
-
iconBefore:
|
|
35
|
-
|
|
35
|
+
iconBefore: V(() => [
|
|
36
|
+
o(e(m), {
|
|
36
37
|
name: "magnifying-glass",
|
|
37
38
|
size: "16px"
|
|
38
39
|
})
|
|
39
40
|
]),
|
|
40
41
|
_: 1
|
|
41
42
|
}, 8, ["model-value", "auto-focus", "placeholder", "disabled", "test-id"]),
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
x(C("button", u({
|
|
44
|
+
type: "button",
|
|
45
|
+
class: "x-circle-wrapper",
|
|
46
|
+
"aria-label": t.clearLabel
|
|
47
|
+
}, e(c)[e(r).CLEAR], {
|
|
48
|
+
onClick: a[1] || (a[1] = //@ts-ignore
|
|
44
49
|
(...l) => e(n) && e(n)(...l))
|
|
45
50
|
}), [
|
|
46
|
-
|
|
51
|
+
o(e(m), {
|
|
47
52
|
name: "x-circle",
|
|
48
53
|
size: "16px",
|
|
49
54
|
type: "fill"
|
|
50
55
|
})
|
|
51
|
-
], 16), [
|
|
52
|
-
[
|
|
56
|
+
], 16, g), [
|
|
57
|
+
[I, !!t.modelValue]
|
|
53
58
|
])
|
|
54
59
|
], 16));
|
|
55
60
|
}
|
|
56
61
|
});
|
|
57
62
|
export {
|
|
58
|
-
|
|
63
|
+
F as default
|
|
59
64
|
};
|
|
@@ -19,6 +19,10 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
+
clearLabel: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
22
26
|
}, {
|
|
23
27
|
inputRef: import("vue").Ref<any>;
|
|
24
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -45,6 +49,10 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
45
49
|
type: import("vue").PropType<boolean>;
|
|
46
50
|
default: boolean;
|
|
47
51
|
};
|
|
52
|
+
clearLabel: {
|
|
53
|
+
type: import("vue").PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
48
56
|
}>> & {
|
|
49
57
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
50
58
|
onOnClear?: () => any;
|
|
@@ -53,6 +61,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
53
61
|
disabled: boolean;
|
|
54
62
|
placeholder: string;
|
|
55
63
|
autoFocus: boolean;
|
|
64
|
+
clearLabel: string;
|
|
56
65
|
}>[];
|
|
57
66
|
export { default as Search } from './SearchV4.vue';
|
|
58
67
|
export { SearchTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./FieldLabel.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../FieldLabel.
|
|
4
|
-
const
|
|
3
|
+
// import "../../FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-960ea8b1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../FieldLabel.
|
|
1
|
+
import "../../FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css"; import { defineComponent as I, useSlots as y, computed as s, openBlock as i, createElementBlock as p, Fragment as k, createElementVNode as N, mergeProps as n, unref as e, createVNode as c, withCtx as l, createTextVNode as d, toDisplayString as T, createBlock as h, createCommentVNode as m, createSlots as C, normalizeClass as A, renderSlot as B } from "vue";
|
|
2
2
|
import H from "../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import S from "../tooltip/v4/TooltipV4.vue.js";
|
|
@@ -33,12 +33,12 @@ const L = {
|
|
|
33
33
|
"field-label--with-description": !!t.description
|
|
34
34
|
}]
|
|
35
35
|
}, e(a)[e(o).CONTAINER]), [
|
|
36
|
-
|
|
36
|
+
c(e(f), n({
|
|
37
37
|
class: "label",
|
|
38
38
|
variant: "inputLabel"
|
|
39
39
|
}, e(a)[e(o).TEXT]), {
|
|
40
40
|
default: l(() => [
|
|
41
|
-
|
|
41
|
+
d(T(t.label), 1)
|
|
42
42
|
]),
|
|
43
43
|
_: 1
|
|
44
44
|
}, 16),
|
|
@@ -48,7 +48,7 @@ const L = {
|
|
|
48
48
|
class: "mandatory"
|
|
49
49
|
}, e(a)[e(o).MANDATORY]), {
|
|
50
50
|
default: l(() => [
|
|
51
|
-
|
|
51
|
+
d("*")
|
|
52
52
|
]),
|
|
53
53
|
_: 1
|
|
54
54
|
}, 16)) : m("", !0),
|
|
@@ -56,10 +56,11 @@ const L = {
|
|
|
56
56
|
key: 1,
|
|
57
57
|
triggers: t.helpTextIconTooltipTrigger,
|
|
58
58
|
text: t.hoverHelpText,
|
|
59
|
-
placement: t.hoverHelpTextPlacement
|
|
59
|
+
placement: t.hoverHelpTextPlacement,
|
|
60
|
+
focusable: ""
|
|
60
61
|
}, e(a)[e(o).TOOLTIP], { "test-id": t.testId }), C({
|
|
61
62
|
default: l(() => [
|
|
62
|
-
|
|
63
|
+
c(e(H), {
|
|
63
64
|
class: A(["info-icon", { "clickable-icon": e(g) }]),
|
|
64
65
|
name: "question",
|
|
65
66
|
size: "16px"
|
|
@@ -77,9 +78,9 @@ const L = {
|
|
|
77
78
|
]), 1040, ["triggers", "text", "placement", "test-id"])) : m("", !0)
|
|
78
79
|
], 16),
|
|
79
80
|
t.description ? (i(), p("div", L, [
|
|
80
|
-
|
|
81
|
+
c(e(f), { variant: "body2" }, {
|
|
81
82
|
default: l(() => [
|
|
82
|
-
|
|
83
|
+
d(T(t.description), 1)
|
|
83
84
|
]),
|
|
84
85
|
_: 1
|
|
85
86
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SnackbarV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../SnackbarV4.
|
|
4
|
-
const r = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-35c79635"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../SnackbarV4.
|
|
1
|
+
import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css"; import { defineComponent as $, computed as O, onMounted as x, nextTick as z, openBlock as s, createBlock as l, Transition as V, withCtx as y, withDirectives as I, createElementVNode as r, mergeProps as c, unref as e, createElementBlock as g, createVNode as U, createTextVNode as b, toDisplayString as B, createCommentVNode as u, renderSlot as N, vShow as S, Fragment as D, renderList as H, withModifiers as q } from "vue";
|
|
2
2
|
import F from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import G from "../../button/v4/ButtonV4.vue.js";
|
|
@@ -4,24 +4,29 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
menuItems: MenuItem[];
|
|
5
5
|
rowIndex?: number;
|
|
6
6
|
placement?: Placement;
|
|
7
|
+
ariaLabel?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
menuItems: () => any[];
|
|
9
10
|
rowIndex: any;
|
|
10
11
|
placement: string;
|
|
12
|
+
ariaLabel: string;
|
|
11
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
14
|
selected: (option: unknown) => void;
|
|
13
15
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
16
|
menuItems: MenuItem[];
|
|
15
17
|
rowIndex?: number;
|
|
16
18
|
placement?: Placement;
|
|
19
|
+
ariaLabel?: string;
|
|
17
20
|
}>, {
|
|
18
21
|
menuItems: () => any[];
|
|
19
22
|
rowIndex: any;
|
|
20
23
|
placement: string;
|
|
24
|
+
ariaLabel: string;
|
|
21
25
|
}>>> & {
|
|
22
26
|
onSelected?: (option: unknown) => any;
|
|
23
27
|
}, {
|
|
24
28
|
placement: Placement;
|
|
29
|
+
ariaLabel: string;
|
|
25
30
|
rowIndex: number;
|
|
26
31
|
menuItems: MenuItem[];
|
|
27
32
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGridMenu.
|
|
4
|
-
const
|
|
1
|
+
import e from "./DataGridMenu.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-b7e65177"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../DataGridMenu.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css"; import { defineComponent as x, onBeforeUnmount as w, openBlock as b, createBlock as v, unref as n, withCtx as r, createVNode as c, createSlots as I, createTextVNode as M, toDisplayString as g } from "vue";
|
|
2
|
+
import C from "../../dropdown/v4/DropdownV4.vue.js";
|
|
3
3
|
import "../../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "../../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
5
5
|
import "../../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
@@ -7,47 +7,53 @@ import "../../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
|
7
7
|
import "../../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
8
8
|
import "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "../../dropdown/v4/TreeDropdown.vue.js";
|
|
10
|
-
import
|
|
10
|
+
import k from "../../dropdown/v4/OptionV4.vue.js";
|
|
11
11
|
import "../../dropdown/v4/ConditionalDropdown.vue.js";
|
|
12
|
-
import
|
|
12
|
+
import y from "../../icon/v4/IconV4.vue.js";
|
|
13
13
|
import "../../icon/v4/IconFlag.vue.js";
|
|
14
|
-
import { useTableContext as
|
|
15
|
-
const
|
|
14
|
+
import { useTableContext as A } from "../common/TableContext.js";
|
|
15
|
+
const q = /* @__PURE__ */ x({
|
|
16
16
|
__name: "DataGridMenu",
|
|
17
17
|
props: {
|
|
18
18
|
menuItems: { default: () => [] },
|
|
19
19
|
rowIndex: { default: null },
|
|
20
|
-
placement: { default: "left-start" }
|
|
20
|
+
placement: { default: "left-start" },
|
|
21
|
+
ariaLabel: { default: "More options" }
|
|
21
22
|
},
|
|
22
23
|
emits: ["selected"],
|
|
23
24
|
setup(t, { emit: d }) {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
|
|
25
|
+
const o = t, a = A("DataGridMenu"), i = (m) => m.text, p = () => {
|
|
26
|
+
o.rowIndex && a.setActiveMenuRow(o.rowIndex);
|
|
27
|
+
}, l = () => {
|
|
28
|
+
o.rowIndex && a.setActiveMenuRow(null);
|
|
28
29
|
};
|
|
29
|
-
return
|
|
30
|
+
return w(l), (m, s) => (b(), v(n(C), {
|
|
30
31
|
class: "data-grid-menu",
|
|
31
32
|
options: t.menuItems,
|
|
32
|
-
"display-value":
|
|
33
|
+
"display-value": i,
|
|
34
|
+
"aria-label": t.ariaLabel,
|
|
33
35
|
"predefined-trigger": "icon-button",
|
|
34
36
|
placement: t.placement,
|
|
35
37
|
skidding: -4,
|
|
36
|
-
"onUpdate:selected":
|
|
38
|
+
"onUpdate:selected": s[0] || (s[0] = (e) => d("selected", e)),
|
|
37
39
|
onOpened: p,
|
|
38
|
-
onClosed:
|
|
40
|
+
onClosed: l
|
|
39
41
|
}, {
|
|
40
|
-
default: r(({ option: e }) => [
|
|
41
|
-
c(
|
|
42
|
+
default: r(({ option: e, active: u, selected: f }) => [
|
|
43
|
+
c(n(k), {
|
|
44
|
+
option: e,
|
|
45
|
+
active: u,
|
|
46
|
+
"selected-prop": f
|
|
47
|
+
}, I({
|
|
42
48
|
default: r(() => [
|
|
43
|
-
|
|
49
|
+
M(" " + g(i(e)), 1)
|
|
44
50
|
]),
|
|
45
51
|
_: 2
|
|
46
52
|
}, [
|
|
47
53
|
e.icon ? {
|
|
48
54
|
name: "icon-start",
|
|
49
55
|
fn: r(() => [
|
|
50
|
-
c(
|
|
56
|
+
c(n(y), {
|
|
51
57
|
class: "menu-icon",
|
|
52
58
|
name: e.icon,
|
|
53
59
|
size: "20px"
|
|
@@ -55,12 +61,12 @@ const h = /* @__PURE__ */ u({
|
|
|
55
61
|
]),
|
|
56
62
|
key: "0"
|
|
57
63
|
} : void 0
|
|
58
|
-
]), 1032, ["option"])
|
|
64
|
+
]), 1032, ["option", "active", "selected-prop"])
|
|
59
65
|
]),
|
|
60
66
|
_: 1
|
|
61
|
-
}, 8, ["options", "placement"]));
|
|
67
|
+
}, 8, ["options", "aria-label", "placement"]));
|
|
62
68
|
}
|
|
63
69
|
});
|
|
64
70
|
export {
|
|
65
|
-
|
|
71
|
+
q as default
|
|
66
72
|
};
|
|
@@ -9,6 +9,10 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
9
9
|
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
+
ariaLabel: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
12
16
|
rowIndex: {
|
|
13
17
|
type: import("vue").PropType<number>;
|
|
14
18
|
default: any;
|
|
@@ -25,6 +29,10 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
25
29
|
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
26
30
|
default: string;
|
|
27
31
|
};
|
|
32
|
+
ariaLabel: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
28
36
|
rowIndex: {
|
|
29
37
|
type: import("vue").PropType<number>;
|
|
30
38
|
default: any;
|
|
@@ -38,6 +46,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
38
46
|
onSelected?: (option: unknown) => any;
|
|
39
47
|
}, {
|
|
40
48
|
placement: import("floating-vue").Placement;
|
|
49
|
+
ariaLabel: string;
|
|
41
50
|
rowIndex: number;
|
|
42
51
|
menuItems: import("../common/Table.types").MenuItem[];
|
|
43
52
|
}> | import("vue").DefineComponent<{
|
|
@@ -4,10 +4,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
selectedTab: string | number;
|
|
5
5
|
variant?: "page" | "card";
|
|
6
6
|
testId?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
tabsList: () => any[];
|
|
9
10
|
variant: string;
|
|
10
11
|
testId: string;
|
|
12
|
+
ariaLabel: any;
|
|
11
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
14
|
"update:selectedTab": (tabId: string | number) => void;
|
|
13
15
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -15,15 +17,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
17
|
selectedTab: string | number;
|
|
16
18
|
variant?: "page" | "card";
|
|
17
19
|
testId?: string;
|
|
20
|
+
ariaLabel?: string;
|
|
18
21
|
}>, {
|
|
19
22
|
tabsList: () => any[];
|
|
20
23
|
variant: string;
|
|
21
24
|
testId: string;
|
|
25
|
+
ariaLabel: any;
|
|
22
26
|
}>>> & {
|
|
23
27
|
"onUpdate:selectedTab"?: (tabId: string | number) => any;
|
|
24
28
|
}, {
|
|
25
29
|
testId: string;
|
|
26
30
|
variant: "page" | "card";
|
|
31
|
+
ariaLabel: string;
|
|
27
32
|
tabsList: Tab[];
|
|
28
33
|
}>, {
|
|
29
34
|
"tab-icon"?(_: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TabsV4.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TabsV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-9747c9da"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|