@ironsource/shared-ui 2.1.6-rc.2 → 2.1.6-rc.21
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/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_6df3b70f_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_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_96ee1c98_lang.css +1 -0
- package/{FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css → FormCard.vue_vue_type_style_index_0_scoped_52ade67c_lang.css} +1 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +6 -2
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +30 -28
- package/components/appHeader/index.d.ts +6 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +3 -3
- package/components/autocomplete/Autocomplete.vue2.js +82 -61
- package/components/autocomplete/index.d.ts +20 -1
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +67 -62
- package/components/dropdown/common/Dropdown.common.js +21 -21
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +2 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +16 -16
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +40 -49
- package/components/dropdown/v4/DropdownV4.vue.d.ts +16 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +140 -128
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +61 -44
- package/components/dropdown/v4/index.d.ts +105 -4
- package/components/forms/FormCard.vue.js +2 -2
- package/components/forms/FormCard.vue2.js +9 -9
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +24 -21
- package/components/input/v4/index.d.ts +20 -1
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -9
- package/components/table/v4/DataGrid.vue.d.ts +4 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +147 -147
- package/components/table/v4/index.d.ts +14 -2
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +12 -12
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +336 -32
- package/package.json +1 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css +0 -1
- package/Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_bf8e7ff5_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_b5b2e8fd_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_ad231e8c_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../InlineCopy.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useClipboard as
|
|
5
|
-
import { Snackbar as
|
|
6
|
-
import
|
|
7
|
-
import { useTestIdAttrs as
|
|
1
|
+
import "../../InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css"; import { defineComponent as f, computed as y, openBlock as i, createElementBlock as x, createBlock as T, unref as e, mergeProps as c, withCtx as n, createTextVNode as C, toDisplayString as h, createCommentVNode as z, createVNode as r } from "vue";
|
|
2
|
+
import I from "../icon/v4/IconV4.vue.js";
|
|
3
|
+
import k from "../typography/v4/Typography.vue.js";
|
|
4
|
+
import { useClipboard as S } from "@vueuse/core";
|
|
5
|
+
import { Snackbar as V } from "../snackbar/v4/index.js";
|
|
6
|
+
import B from "../tooltip/v4/TooltipV4.vue.js";
|
|
7
|
+
import { useTestIdAttrs as b } from "../../utils/testIds.js";
|
|
8
8
|
import { InlineCopyTestIdModifiers as a } from "../../testids/index.js";
|
|
9
|
-
const
|
|
9
|
+
const O = /* @__PURE__ */ f({
|
|
10
10
|
__name: "InlineCopy",
|
|
11
11
|
props: {
|
|
12
12
|
text: { default: "" },
|
|
@@ -18,8 +18,9 @@ const M = /* @__PURE__ */ u({
|
|
|
18
18
|
tooltipText: { default: "Copy to clipboard" },
|
|
19
19
|
tooltipPlacement: { default: "bottom" }
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
emits: ["copy"],
|
|
22
|
+
setup(t, { emit: s }) {
|
|
23
|
+
const o = t, { copy: m, copied: d } = S({}), p = y(() => {
|
|
23
24
|
switch (o.size) {
|
|
24
25
|
case "medium":
|
|
25
26
|
return "0.875rem";
|
|
@@ -27,34 +28,34 @@ const M = /* @__PURE__ */ u({
|
|
|
27
28
|
default:
|
|
28
29
|
return "0.75rem";
|
|
29
30
|
}
|
|
30
|
-
}),
|
|
31
|
-
await
|
|
31
|
+
}), u = async () => {
|
|
32
|
+
await m(o.text), d.value && V({
|
|
32
33
|
title: "Copied successfully",
|
|
33
34
|
type: "success",
|
|
34
35
|
duration: 2e3
|
|
35
|
-
});
|
|
36
|
-
}, l =
|
|
37
|
-
return (
|
|
36
|
+
}), s("copy");
|
|
37
|
+
}, l = b(o.testId, a);
|
|
38
|
+
return (N, P) => (i(), x("div", {
|
|
38
39
|
class: "inline-copy",
|
|
39
|
-
onClick:
|
|
40
|
+
onClick: u
|
|
40
41
|
}, [
|
|
41
|
-
t.hideTextValue ?
|
|
42
|
+
t.hideTextValue ? z("", !0) : (i(), T(e(k), c({
|
|
42
43
|
key: 0,
|
|
43
44
|
variant: "caption",
|
|
44
|
-
style: { fontSize: e(
|
|
45
|
+
style: { fontSize: e(p) }
|
|
45
46
|
}, e(l)[e(a).TEXT]), {
|
|
46
47
|
default: n(() => [
|
|
47
|
-
|
|
48
|
+
C(h(t.text), 1)
|
|
48
49
|
]),
|
|
49
50
|
_: 1
|
|
50
51
|
}, 16, ["style"])),
|
|
51
|
-
r(e(
|
|
52
|
+
r(e(B), {
|
|
52
53
|
text: t.tooltipText,
|
|
53
54
|
header: t.tooltipHeader,
|
|
54
55
|
placement: t.tooltipPlacement
|
|
55
56
|
}, {
|
|
56
57
|
default: n(() => [
|
|
57
|
-
r(e(
|
|
58
|
+
r(e(I), c({
|
|
58
59
|
class: "icon-copy",
|
|
59
60
|
name: "copy",
|
|
60
61
|
size: t.iconSize || "16px"
|
|
@@ -66,5 +67,5 @@ const M = /* @__PURE__ */ u({
|
|
|
66
67
|
}
|
|
67
68
|
});
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
+
O as default
|
|
70
71
|
};
|
|
@@ -36,7 +36,9 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
|
|
|
36
36
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
copy: () => void;
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
42
|
text: {
|
|
41
43
|
type: import("vue").PropType<string>;
|
|
42
44
|
required: true;
|
|
@@ -73,7 +75,9 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
|
|
|
73
75
|
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
74
76
|
default: string;
|
|
75
77
|
};
|
|
76
|
-
}
|
|
78
|
+
}>> & {
|
|
79
|
+
onCopy?: () => any;
|
|
80
|
+
}, {
|
|
77
81
|
text: string;
|
|
78
82
|
size: "small" | "medium";
|
|
79
83
|
testId: string;
|
|
@@ -28,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
28
|
showApply?: boolean;
|
|
29
29
|
inlineError?: boolean;
|
|
30
30
|
inlineErrorText?: string;
|
|
31
|
+
inlineErrorTextPlacement?: TooltipPositions;
|
|
31
32
|
}>, {
|
|
32
33
|
modelValue: string;
|
|
33
34
|
placeholder: string;
|
|
@@ -51,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
52
|
showApply: boolean;
|
|
52
53
|
inlineError: boolean;
|
|
53
54
|
inlineErrorText: string;
|
|
55
|
+
inlineErrorTextPlacement: string;
|
|
54
56
|
feedbackText: string;
|
|
55
57
|
feedbackVariant: any;
|
|
56
58
|
showFeedbackTextIcon: boolean;
|
|
@@ -87,6 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
87
89
|
showApply?: boolean;
|
|
88
90
|
inlineError?: boolean;
|
|
89
91
|
inlineErrorText?: string;
|
|
92
|
+
inlineErrorTextPlacement?: TooltipPositions;
|
|
90
93
|
}>, {
|
|
91
94
|
modelValue: string;
|
|
92
95
|
placeholder: string;
|
|
@@ -110,6 +113,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
110
113
|
showApply: boolean;
|
|
111
114
|
inlineError: boolean;
|
|
112
115
|
inlineErrorText: string;
|
|
116
|
+
inlineErrorTextPlacement: string;
|
|
113
117
|
feedbackText: string;
|
|
114
118
|
feedbackVariant: any;
|
|
115
119
|
showFeedbackTextIcon: boolean;
|
|
@@ -140,6 +144,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
140
144
|
showApply: boolean;
|
|
141
145
|
inlineError: boolean;
|
|
142
146
|
inlineErrorText: string;
|
|
147
|
+
inlineErrorTextPlacement: TooltipPositions;
|
|
143
148
|
feedbackText: string;
|
|
144
149
|
feedbackVariant: FeedbackVariant;
|
|
145
150
|
showFeedbackTextIcon: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./TextField.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TextField.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-a6457440"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../TextField.
|
|
1
|
+
import "../../../TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css"; import { defineComponent as M, computed as b, ref as G, openBlock as l, createElementBlock as r, mergeProps as y, unref as t, createBlock as d, createCommentVNode as n, createElementVNode as E, normalizeClass as L, renderSlot as P, withCtx as h, createTextVNode as V, toDisplayString as C, withKeys as W, withModifiers as F, createVNode as p } from "vue";
|
|
2
2
|
import v from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import j from "../../tooltip/v4/TooltipV4.vue.js";
|
|
4
4
|
import $ from "../../typography/v4/Typography.vue.js";
|
|
@@ -11,7 +11,7 @@ import { useTestIdAttrs as X } from "../../../utils/testIds.js";
|
|
|
11
11
|
const Y = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "icon-container icon-before"
|
|
14
|
-
}, Z = ["value", "placeholder", "disabled", "type", "step"
|
|
14
|
+
}, Z = ["maxlength", "value", "placeholder", "disabled", "type", "step"], _ = ["onClick"], ee = {
|
|
15
15
|
key: 3,
|
|
16
16
|
class: "inline-error"
|
|
17
17
|
}, te = {
|
|
@@ -48,16 +48,17 @@ const Y = {
|
|
|
48
48
|
maxLength: { default: null },
|
|
49
49
|
showApply: { type: Boolean, default: !1 },
|
|
50
50
|
inlineError: { type: Boolean, default: !1 },
|
|
51
|
-
inlineErrorText: { default: "" }
|
|
51
|
+
inlineErrorText: { default: "" },
|
|
52
|
+
inlineErrorTextPlacement: { default: "top" }
|
|
52
53
|
},
|
|
53
54
|
emits: ["update:modelValue", "apply"],
|
|
54
55
|
setup(e, { expose: z, emit: k }) {
|
|
55
56
|
const s = e, c = X(s.testId, f), O = () => {
|
|
56
57
|
s.showApply ? k("apply") : o?.confirmable && N();
|
|
57
|
-
}, D = () =>
|
|
58
|
+
}, D = () => w.value.focus(), {
|
|
58
59
|
onConfirm: N,
|
|
59
|
-
onEnter:
|
|
60
|
-
inputRef:
|
|
60
|
+
onEnter: T,
|
|
61
|
+
inputRef: w,
|
|
61
62
|
isFocused: x,
|
|
62
63
|
showLabelInside: g,
|
|
63
64
|
api: o,
|
|
@@ -84,15 +85,15 @@ const Y = {
|
|
|
84
85
|
disabled: e.disabled,
|
|
85
86
|
"test-id": e.testId
|
|
86
87
|
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : n("", !0),
|
|
87
|
-
|
|
88
|
-
class:
|
|
88
|
+
E("div", {
|
|
89
|
+
class: L({
|
|
89
90
|
"input-container": !0,
|
|
90
91
|
"label-inside": t(g),
|
|
91
92
|
focused: t(x)
|
|
92
93
|
})
|
|
93
94
|
}, [
|
|
94
95
|
u.$slots.iconBefore ? (l(), r("div", Y, [
|
|
95
|
-
|
|
96
|
+
P(u.$slots, "iconBefore", {}, void 0, !0)
|
|
96
97
|
])) : n("", !0),
|
|
97
98
|
e.prefix ? (l(), d(t($), {
|
|
98
99
|
key: 1,
|
|
@@ -100,13 +101,15 @@ const Y = {
|
|
|
100
101
|
variant: "body1"
|
|
101
102
|
}, {
|
|
102
103
|
default: h(() => [
|
|
103
|
-
|
|
104
|
+
V(C(e.prefix), 1)
|
|
104
105
|
]),
|
|
105
106
|
_: 1
|
|
106
107
|
})) : n("", !0),
|
|
107
|
-
|
|
108
|
+
E("input", y({
|
|
108
109
|
ref_key: "inputRef",
|
|
109
|
-
ref:
|
|
110
|
+
ref: w,
|
|
111
|
+
maxlength: e.maxLength
|
|
112
|
+
}, { ...u.$attrs, ...t(c)[t(f).FIELD] }, {
|
|
110
113
|
value: t(A),
|
|
111
114
|
placeholder: t(S),
|
|
112
115
|
disabled: e.disabled || e.viewOnly,
|
|
@@ -119,14 +122,13 @@ const Y = {
|
|
|
119
122
|
"input-type": e.type
|
|
120
123
|
}],
|
|
121
124
|
step: e.step,
|
|
122
|
-
maxlength: e.maxLength,
|
|
123
125
|
onInput: a[0] || (a[0] = //@ts-ignore
|
|
124
126
|
(...i) => t(I) && t(I)(...i)),
|
|
125
127
|
onFocus: a[1] || (a[1] = (i) => x.value = !0),
|
|
126
128
|
onBlur: a[2] || (a[2] = (i) => x.value = !1),
|
|
127
|
-
onKeyup: a[3] || (a[3] = W(
|
|
129
|
+
onKeyup: a[3] || (a[3] = W(F(
|
|
128
130
|
//@ts-ignore
|
|
129
|
-
(...i) => t(
|
|
131
|
+
(...i) => t(T) && t(T)(...i),
|
|
130
132
|
["prevent"]
|
|
131
133
|
), ["enter"])),
|
|
132
134
|
onKeypress: a[4] || (a[4] = //@ts-ignore
|
|
@@ -135,7 +137,7 @@ const Y = {
|
|
|
135
137
|
e.showApply || t(o)?.confirmable && !t(o)?.error?.value ? (l(), r("div", {
|
|
136
138
|
key: 2,
|
|
137
139
|
class: "apply-button",
|
|
138
|
-
onClick:
|
|
140
|
+
onClick: F(O, ["stop", "prevent"])
|
|
139
141
|
}, [
|
|
140
142
|
p(t(v), {
|
|
141
143
|
name: "check",
|
|
@@ -146,7 +148,8 @@ const Y = {
|
|
|
146
148
|
p(t(j), y({
|
|
147
149
|
disabled: !e.inlineErrorText && !t(o)?.error?.value,
|
|
148
150
|
text: e.inlineErrorText || t(o)?.error?.value,
|
|
149
|
-
"test-id": e.testId
|
|
151
|
+
"test-id": e.testId,
|
|
152
|
+
placement: e.inlineErrorTextPlacement
|
|
150
153
|
}, t(c)[t(f).TOOLTIP]), {
|
|
151
154
|
default: h(() => [
|
|
152
155
|
p(t(v), {
|
|
@@ -155,7 +158,7 @@ const Y = {
|
|
|
155
158
|
})
|
|
156
159
|
]),
|
|
157
160
|
_: 1
|
|
158
|
-
}, 16, ["disabled", "text", "test-id"])
|
|
161
|
+
}, 16, ["disabled", "text", "test-id", "placement"])
|
|
159
162
|
])) : n("", !0),
|
|
160
163
|
e.suffix ? (l(), d(t($), {
|
|
161
164
|
key: 4,
|
|
@@ -163,7 +166,7 @@ const Y = {
|
|
|
163
166
|
variant: "body1"
|
|
164
167
|
}, {
|
|
165
168
|
default: h(() => [
|
|
166
|
-
|
|
169
|
+
V(C(e.suffix), 1)
|
|
167
170
|
]),
|
|
168
171
|
_: 1
|
|
169
172
|
})) : n("", !0),
|
|
@@ -184,12 +187,12 @@ const Y = {
|
|
|
184
187
|
}))
|
|
185
188
|
], 16)) : n("", !0),
|
|
186
189
|
u.$slots.iconAfter ? (l(), r("div", te, [
|
|
187
|
-
|
|
190
|
+
P(u.$slots, "iconAfter", {}, void 0, !0)
|
|
188
191
|
])) : n("", !0)
|
|
189
192
|
], 2),
|
|
190
193
|
e.feedbackText || e.maxLength ? (l(), r("div", {
|
|
191
194
|
key: 1,
|
|
192
|
-
class:
|
|
195
|
+
class: L(["footer", e.feedbackPositionAbsolute && "footer-absolute"])
|
|
193
196
|
}, [
|
|
194
197
|
e.feedbackText ? (l(), d(Q, {
|
|
195
198
|
key: 0,
|
|
@@ -26,6 +26,7 @@ declare const TextFieldTypes: () => ({
|
|
|
26
26
|
showApply: boolean;
|
|
27
27
|
inlineError: boolean;
|
|
28
28
|
inlineErrorText: string;
|
|
29
|
+
inlineErrorTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
29
30
|
feedbackText: string;
|
|
30
31
|
feedbackVariant: "success" | "warning" | "error";
|
|
31
32
|
showFeedbackTextIcon: boolean;
|
|
@@ -119,6 +120,10 @@ declare const TextFieldTypes: () => ({
|
|
|
119
120
|
type: import("vue").PropType<string>;
|
|
120
121
|
default: string;
|
|
121
122
|
};
|
|
123
|
+
inlineErrorTextPlacement: {
|
|
124
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
122
127
|
feedbackText: {
|
|
123
128
|
type: import("vue").PropType<string>;
|
|
124
129
|
default: string;
|
|
@@ -138,7 +143,7 @@ declare const TextFieldTypes: () => ({
|
|
|
138
143
|
}>> & {
|
|
139
144
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
140
145
|
onApply?: () => any;
|
|
141
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "showApply" | "inlineError" | "inlineErrorText" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
|
|
146
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
|
|
142
147
|
$attrs: {
|
|
143
148
|
[x: string]: unknown;
|
|
144
149
|
};
|
|
@@ -241,6 +246,10 @@ declare const TextFieldTypes: () => ({
|
|
|
241
246
|
type: import("vue").PropType<string>;
|
|
242
247
|
default: string;
|
|
243
248
|
};
|
|
249
|
+
inlineErrorTextPlacement: {
|
|
250
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
251
|
+
default: string;
|
|
252
|
+
};
|
|
244
253
|
feedbackText: {
|
|
245
254
|
type: import("vue").PropType<string>;
|
|
246
255
|
default: string;
|
|
@@ -288,6 +297,7 @@ declare const TextFieldTypes: () => ({
|
|
|
288
297
|
showApply: boolean;
|
|
289
298
|
inlineError: boolean;
|
|
290
299
|
inlineErrorText: string;
|
|
300
|
+
inlineErrorTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
291
301
|
feedbackText: string;
|
|
292
302
|
feedbackVariant: "success" | "warning" | "error";
|
|
293
303
|
showFeedbackTextIcon: boolean;
|
|
@@ -401,6 +411,10 @@ declare const TextFieldTypes: () => ({
|
|
|
401
411
|
type: import("vue").PropType<string>;
|
|
402
412
|
default: string;
|
|
403
413
|
};
|
|
414
|
+
inlineErrorTextPlacement: {
|
|
415
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
416
|
+
default: string;
|
|
417
|
+
};
|
|
404
418
|
feedbackText: {
|
|
405
419
|
type: import("vue").PropType<string>;
|
|
406
420
|
default: string;
|
|
@@ -515,6 +529,10 @@ declare const TextFieldTypes: () => ({
|
|
|
515
529
|
type: import("vue").PropType<string>;
|
|
516
530
|
default: string;
|
|
517
531
|
};
|
|
532
|
+
inlineErrorTextPlacement: {
|
|
533
|
+
type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
534
|
+
default: string;
|
|
535
|
+
};
|
|
518
536
|
feedbackText: {
|
|
519
537
|
type: import("vue").PropType<string>;
|
|
520
538
|
default: string;
|
|
@@ -562,6 +580,7 @@ declare const TextFieldTypes: () => ({
|
|
|
562
580
|
showApply: boolean;
|
|
563
581
|
inlineError: boolean;
|
|
564
582
|
inlineErrorText: string;
|
|
583
|
+
inlineErrorTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
565
584
|
feedbackText: string;
|
|
566
585
|
feedbackVariant: "success" | "warning" | "error";
|
|
567
586
|
showFeedbackTextIcon: boolean;
|
|
@@ -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_96ee1c98_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-96ee1c98"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../FieldLabel.
|
|
2
|
-
import h from "../icon/
|
|
3
|
-
import
|
|
1
|
+
import "../../FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css"; import { defineComponent as p, openBlock as o, createElementBlock as m, Fragment as T, createElementVNode as b, mergeProps as d, unref as e, createVNode as r, withCtx as i, createTextVNode as n, toDisplayString as f, createBlock as u, createCommentVNode as s } from "vue";
|
|
2
|
+
import h from "../icon/v4/IconV4.vue.js";
|
|
3
|
+
import x from "../tooltip/v4/TooltipV4.vue.js";
|
|
4
4
|
import c from "../typography/v4/Typography.vue.js";
|
|
5
5
|
import { FieldLabelTestIdModifiers as a } from "../../testids/index.js";
|
|
6
|
-
import { useTestIdAttrs as
|
|
7
|
-
const
|
|
6
|
+
import { useTestIdAttrs as y } from "../../utils/testIds.js";
|
|
7
|
+
const v = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "description"
|
|
10
10
|
}, L = /* @__PURE__ */ p({
|
|
@@ -19,7 +19,7 @@ const x = {
|
|
|
19
19
|
testId: { default: "" }
|
|
20
20
|
},
|
|
21
21
|
setup(t) {
|
|
22
|
-
const l =
|
|
22
|
+
const l = y(t.testId, a);
|
|
23
23
|
return (N, g) => (o(), m(T, null, [
|
|
24
24
|
b("div", d({
|
|
25
25
|
class: ["field-label", {
|
|
@@ -46,7 +46,7 @@ const x = {
|
|
|
46
46
|
]),
|
|
47
47
|
_: 1
|
|
48
48
|
}, 16)) : s("", !0),
|
|
49
|
-
t.hoverHelpText ? (o(), u(e(
|
|
49
|
+
t.hoverHelpText ? (o(), u(e(x), d({
|
|
50
50
|
key: 1,
|
|
51
51
|
triggers: ["hover"],
|
|
52
52
|
text: t.hoverHelpText,
|
|
@@ -56,13 +56,13 @@ const x = {
|
|
|
56
56
|
r(e(h), {
|
|
57
57
|
class: "info-icon",
|
|
58
58
|
name: "question",
|
|
59
|
-
|
|
59
|
+
size: "16px"
|
|
60
60
|
})
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
63
|
}, 16, ["text", "placement", "test-id"])) : s("", !0)
|
|
64
64
|
], 16),
|
|
65
|
-
t.description ? (o(), m("div",
|
|
65
|
+
t.description ? (o(), m("div", v, [
|
|
66
66
|
r(e(c), { variant: "body2" }, {
|
|
67
67
|
default: i(() => [
|
|
68
68
|
n(f(t.description), 1)
|
|
@@ -62,6 +62,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
62
|
cellIndex: number;
|
|
63
63
|
}) => void;
|
|
64
64
|
loadMore: () => void;
|
|
65
|
+
selectAll: (value: boolean) => void;
|
|
66
|
+
selectRow: (value: boolean) => void;
|
|
65
67
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
66
68
|
title?: string;
|
|
67
69
|
columns: Column[];
|
|
@@ -113,6 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
113
115
|
searchAutoFocus: boolean;
|
|
114
116
|
zIndexBase: number;
|
|
115
117
|
}>>> & {
|
|
118
|
+
onSelectAll?: (value: boolean) => any;
|
|
116
119
|
onOnScroll?: (event: Event) => any;
|
|
117
120
|
"onUpdate:sort"?: (newSort: Sort) => any;
|
|
118
121
|
onSaveRow?: (args_0: {
|
|
@@ -125,6 +128,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
125
128
|
"onUpdate:search"?: (query: string) => any;
|
|
126
129
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
127
130
|
onOnClearSearch?: () => any;
|
|
131
|
+
onSelectRow?: (value: boolean) => any;
|
|
128
132
|
}, {
|
|
129
133
|
sort: Sort;
|
|
130
134
|
title: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_6df3b70f_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-6df3b70f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|