@ironsource/shared-ui 2.1.3-rc.1 → 2.1.3-rc.2
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/AppHeader.vue_vue_type_style_index_0_scoped_95908b8d_lang.css +1 -0
- package/CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_d25514d1_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_4baf9e57_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_13f1ce76_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_39f48410_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css +1 -0
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.js +3 -3
- package/components/appHeader/AppHeader.vue2.js +41 -35
- package/components/checkbox/v4/CheckboxV4.vue.js +4 -4
- package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +11 -12
- package/components/checkbox/v4/icons/UncheckedState.vue.js +12 -11
- package/components/dropdown/common/Dropdown.common.js +93 -92
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +15 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
- package/components/emptyState/v4/EmptyStateV4.vue2.js +41 -27
- package/components/emptyState/v4/index.d.ts +58 -1
- package/components/forms/CardPanel.vue.d.ts +20 -0
- package/components/forms/CardPanel.vue.js +2 -2
- package/components/forms/CardPanel.vue2.js +26 -14
- package/components/forms/FormRow.vue.js +4 -4
- package/components/forms/FormRow.vue2.js +1 -1
- package/components/forms/index.d.ts +77 -1
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +2 -2
- package/components/radioButton/v4/RadioButtonV4.vue.js +4 -4
- package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
- package/components/shared/FieldLabel.vue.d.ts +5 -0
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +63 -46
- package/components/table/common/Table.common.d.ts +1 -0
- package/components/table/common/Table.common.js +64 -60
- package/components/table/common/TableContext.d.ts +1 -0
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +71 -69
- package/components/table/v4/DataGridMenu.vue.d.ts +5 -5
- package/components/table/v4/DataGridMenu.vue.js +4 -4
- package/components/table/v4/DataGridMenu.vue2.js +46 -47
- package/components/table/v4/DataGridRowsCounter.vue.d.ts +15 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +22 -19
- package/components/table/v4/index.d.ts +32 -5
- package/components/table-cells/common/Editable.common.js +15 -15
- package/components/table-cells/v4/EditableV4.vue.d.ts +10 -0
- package/components/table-cells/v4/EditableV4.vue.js +3 -3
- package/components/table-cells/v4/EditableV4.vue2.js +31 -22
- package/components/table-cells/v4/index.d.ts +43 -1
- package/index.d.ts +266 -14
- package/package.json +1 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_209ecc03_lang.css +0 -1
- package/CardPanel.vue_vue_type_style_index_0_scoped_d2b5d12f_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_d5635f1b_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_92d83650_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_9e366543_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_017dc22e_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_2f0a0202_lang.css +0 -1
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css +0 -1
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
noPadding?: boolean;
|
|
3
|
+
label?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
hoverHelpText?: string;
|
|
6
|
+
hoverHelpTextPlacement?: "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";
|
|
3
7
|
}>, {
|
|
4
8
|
noPadding: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
description: string;
|
|
11
|
+
hoverHelpText: string;
|
|
12
|
+
hoverHelpTextPlacement: string;
|
|
5
13
|
}>, {}, 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
14
|
noPadding?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
hoverHelpText?: string;
|
|
18
|
+
hoverHelpTextPlacement?: "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";
|
|
7
19
|
}>, {
|
|
8
20
|
noPadding: boolean;
|
|
21
|
+
label: string;
|
|
22
|
+
description: string;
|
|
23
|
+
hoverHelpText: string;
|
|
24
|
+
hoverHelpTextPlacement: string;
|
|
9
25
|
}>>>, {
|
|
26
|
+
label: string;
|
|
27
|
+
description: string;
|
|
28
|
+
hoverHelpText: string;
|
|
29
|
+
hoverHelpTextPlacement: "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";
|
|
10
30
|
noPadding: boolean;
|
|
11
31
|
}>, {
|
|
12
32
|
default?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CardPanel.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../CardPanel.
|
|
4
|
-
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-7d0acb11"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,25 +1,37 @@
|
|
|
1
|
-
import "../../CardPanel.
|
|
2
|
-
|
|
1
|
+
import "../../CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css"; import { defineComponent as r, ref as a, onMounted as d, openBlock as n, createElementBlock as c, normalizeClass as i, createBlock as s, createCommentVNode as p, renderSlot as u } from "vue";
|
|
2
|
+
import f from "../shared/FieldLabel.vue.js";
|
|
3
|
+
const x = /* @__PURE__ */ r({
|
|
3
4
|
__name: "CardPanel",
|
|
4
5
|
props: {
|
|
5
|
-
noPadding: { type: Boolean, default: !1 }
|
|
6
|
+
noPadding: { type: Boolean, default: !1 },
|
|
7
|
+
label: { default: "" },
|
|
8
|
+
description: { default: "" },
|
|
9
|
+
hoverHelpText: { default: "" },
|
|
10
|
+
hoverHelpTextPlacement: { default: "top" }
|
|
6
11
|
},
|
|
7
|
-
setup(
|
|
8
|
-
const
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
}), (o,
|
|
12
|
+
setup(e) {
|
|
13
|
+
const l = a(null), t = a(!1);
|
|
14
|
+
return d(() => {
|
|
15
|
+
t.value = l.value?.nextSibling?.classList?.contains("card-panel") || null;
|
|
16
|
+
}), (o, h) => (n(), c("div", {
|
|
12
17
|
ref_key: "rootRef",
|
|
13
|
-
ref:
|
|
14
|
-
class:
|
|
15
|
-
"card-panel--no-padding":
|
|
16
|
-
"card-panel--has-next":
|
|
18
|
+
ref: l,
|
|
19
|
+
class: i(["card-panel", {
|
|
20
|
+
"card-panel--no-padding": e.noPadding,
|
|
21
|
+
"card-panel--has-next": t.value
|
|
17
22
|
}])
|
|
18
23
|
}, [
|
|
19
|
-
|
|
24
|
+
e.label ? (n(), s(f, {
|
|
25
|
+
key: 0,
|
|
26
|
+
label: e.label,
|
|
27
|
+
"hover-help-text": e.hoverHelpText,
|
|
28
|
+
"hover-help-text-placement": e.hoverHelpTextPlacement,
|
|
29
|
+
description: e.description
|
|
30
|
+
}, null, 8, ["label", "hover-help-text", "hover-help-text-placement", "description"])) : p("", !0),
|
|
31
|
+
u(o.$slots, "default", {}, void 0, !0)
|
|
20
32
|
], 2));
|
|
21
33
|
}
|
|
22
34
|
});
|
|
23
35
|
export {
|
|
24
|
-
|
|
36
|
+
x as default
|
|
25
37
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormRow.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../FormRow.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../FormRow.vue_vue_type_style_index_0_scoped_39f48410_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-39f48410"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../FormRow.
|
|
1
|
+
import "../../FormRow.vue_vue_type_style_index_0_scoped_39f48410_lang.css"; import { defineComponent as c, openBlock as t, createElementBlock as a, createVNode as i, unref as o, withCtx as l, createTextVNode as d, toDisplayString as m, createBlock as u, createCommentVNode as r, createElementVNode as f, renderSlot as y } from "vue";
|
|
2
2
|
import n from "../typography/v4/Typography.vue.js";
|
|
3
3
|
const p = { class: "form-row" }, _ = ["data-testid"], h = { class: "content" }, B = /* @__PURE__ */ c({
|
|
4
4
|
__name: "FormRow",
|
|
@@ -7,13 +7,33 @@ declare const FormCardTypes: () => (({
|
|
|
7
7
|
$: import("vue").ComponentInternalInstance;
|
|
8
8
|
$data: {};
|
|
9
9
|
$props: Partial<{
|
|
10
|
+
label: string;
|
|
11
|
+
description: string;
|
|
12
|
+
hoverHelpText: string;
|
|
13
|
+
hoverHelpTextPlacement: "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";
|
|
10
14
|
noPadding: boolean;
|
|
11
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
label: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
description: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
hoverHelpText: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
hoverHelpTextPlacement: {
|
|
29
|
+
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">;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
12
32
|
noPadding: {
|
|
13
33
|
type: import("vue").PropType<boolean>;
|
|
14
34
|
default: boolean;
|
|
15
35
|
};
|
|
16
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "noPadding">;
|
|
36
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "description" | "hoverHelpText" | "hoverHelpTextPlacement" | "noPadding">;
|
|
17
37
|
$attrs: {
|
|
18
38
|
[x: string]: unknown;
|
|
19
39
|
};
|
|
@@ -28,11 +48,31 @@ declare const FormCardTypes: () => (({
|
|
|
28
48
|
$emit: (event: string, ...args: any[]) => void;
|
|
29
49
|
$el: any;
|
|
30
50
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
label: {
|
|
52
|
+
type: import("vue").PropType<string>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
description: {
|
|
56
|
+
type: import("vue").PropType<string>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
hoverHelpText: {
|
|
60
|
+
type: import("vue").PropType<string>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
hoverHelpTextPlacement: {
|
|
64
|
+
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">;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
31
67
|
noPadding: {
|
|
32
68
|
type: import("vue").PropType<boolean>;
|
|
33
69
|
default: boolean;
|
|
34
70
|
};
|
|
35
71
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
72
|
+
label: string;
|
|
73
|
+
description: string;
|
|
74
|
+
hoverHelpText: string;
|
|
75
|
+
hoverHelpTextPlacement: "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";
|
|
36
76
|
noPadding: boolean;
|
|
37
77
|
}, {}, string> & {
|
|
38
78
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -55,6 +95,22 @@ declare const FormCardTypes: () => (({
|
|
|
55
95
|
$nextTick: typeof import("vue").nextTick;
|
|
56
96
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
57
97
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
label: {
|
|
99
|
+
type: import("vue").PropType<string>;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
description: {
|
|
103
|
+
type: import("vue").PropType<string>;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
hoverHelpText: {
|
|
107
|
+
type: import("vue").PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
hoverHelpTextPlacement: {
|
|
111
|
+
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">;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
58
114
|
noPadding: {
|
|
59
115
|
type: import("vue").PropType<boolean>;
|
|
60
116
|
default: boolean;
|
|
@@ -64,11 +120,31 @@ declare const FormCardTypes: () => (({
|
|
|
64
120
|
__isTeleport?: never;
|
|
65
121
|
__isSuspense?: never;
|
|
66
122
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
123
|
+
label: {
|
|
124
|
+
type: import("vue").PropType<string>;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
description: {
|
|
128
|
+
type: import("vue").PropType<string>;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
hoverHelpText: {
|
|
132
|
+
type: import("vue").PropType<string>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
hoverHelpTextPlacement: {
|
|
136
|
+
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">;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
67
139
|
noPadding: {
|
|
68
140
|
type: import("vue").PropType<boolean>;
|
|
69
141
|
default: boolean;
|
|
70
142
|
};
|
|
71
143
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
144
|
+
label: string;
|
|
145
|
+
description: string;
|
|
146
|
+
hoverHelpText: string;
|
|
147
|
+
hoverHelpTextPlacement: "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";
|
|
72
148
|
noPadding: boolean;
|
|
73
149
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
74
150
|
$slots: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./InlineCopy.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../InlineCopy.
|
|
4
|
-
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2a9e8782"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../InlineCopy.
|
|
1
|
+
import "../../InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css"; import { defineComponent as d, computed as f, openBlock as a, createElementBlock as y, createBlock as x, unref as e, mergeProps as c, withCtx as s, createTextVNode as C, toDisplayString as T, createCommentVNode as z, createVNode as l } from "vue";
|
|
2
2
|
import I from "../icon/v4/IconV4.vue.js";
|
|
3
3
|
import h from "../typography/v4/Typography.vue.js";
|
|
4
4
|
import { useClipboard as k } from "@vueuse/core";
|
|
@@ -45,7 +45,7 @@ const M = /* @__PURE__ */ d({
|
|
|
45
45
|
]),
|
|
46
46
|
_: 1
|
|
47
47
|
}, 16, ["style"])),
|
|
48
|
-
l(e(V), { text: "Copy to
|
|
48
|
+
l(e(V), { text: "Copy to clipboard" }, {
|
|
49
49
|
default: s(() => [
|
|
50
50
|
l(e(I), c({
|
|
51
51
|
class: "icon-copy",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RadioButtonV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../RadioButtonV4.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cb3a12c6"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../RadioButtonV4.
|
|
1
|
+
import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css"; import { defineComponent as h, ref as y, inject as g, computed as n, openBlock as I, createElementBlock as R, normalizeClass as p, unref as e, createElementVNode as r, withDirectives as E, mergeProps as v, isRef as k, vModelRadio as B, renderSlot as T, createVNode as w, withCtx as x, createTextVNode as A, toDisplayString as C } from "vue";
|
|
2
2
|
import D from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { radioGroupKey as G } from "../common/useRadio.js";
|
|
4
4
|
import { RadioTestIdModifiers as u } from "../../../testids/index.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
label: string;
|
|
4
|
+
description?: string;
|
|
4
5
|
mandatory?: boolean;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
hoverHelpText?: string;
|
|
@@ -8,6 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
8
9
|
testId?: string;
|
|
9
10
|
}>, {
|
|
10
11
|
label: string;
|
|
12
|
+
description: string;
|
|
11
13
|
testId: string;
|
|
12
14
|
mandatory: boolean;
|
|
13
15
|
disabled: boolean;
|
|
@@ -15,6 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
15
17
|
hoverHelpTextPlacement: string;
|
|
16
18
|
}>, {}, 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<{
|
|
17
19
|
label: string;
|
|
20
|
+
description?: string;
|
|
18
21
|
mandatory?: boolean;
|
|
19
22
|
disabled?: boolean;
|
|
20
23
|
hoverHelpText?: string;
|
|
@@ -22,6 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
22
25
|
testId?: string;
|
|
23
26
|
}>, {
|
|
24
27
|
label: string;
|
|
28
|
+
description: string;
|
|
25
29
|
testId: string;
|
|
26
30
|
mandatory: boolean;
|
|
27
31
|
disabled: boolean;
|
|
@@ -32,6 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
36
|
disabled: boolean;
|
|
33
37
|
mandatory: boolean;
|
|
34
38
|
testId: string;
|
|
39
|
+
description: string;
|
|
35
40
|
hoverHelpText: string;
|
|
36
41
|
hoverHelpTextPlacement: TooltipPositions;
|
|
37
42
|
}>;
|
|
@@ -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_5c2a70ad_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-5c2a70ad"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import "../../FieldLabel.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import "../../FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_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/v3/Icon.vue.js";
|
|
3
|
+
import y from "../tooltip/v4/TooltipV4.vue.js";
|
|
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 v } from "../../utils/testIds.js";
|
|
7
|
+
const x = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "description"
|
|
10
|
+
}, L = /* @__PURE__ */ p({
|
|
8
11
|
__name: "FieldLabel",
|
|
9
12
|
props: {
|
|
10
13
|
label: { default: "" },
|
|
14
|
+
description: { default: "" },
|
|
11
15
|
mandatory: { type: Boolean, default: !1 },
|
|
12
16
|
disabled: { type: Boolean, default: !1 },
|
|
13
17
|
hoverHelpText: { default: "" },
|
|
@@ -15,47 +19,60 @@ const H = /* @__PURE__ */ c({
|
|
|
15
19
|
testId: { default: "" }
|
|
16
20
|
},
|
|
17
21
|
setup(t) {
|
|
18
|
-
const l =
|
|
19
|
-
return (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, e(l)[e(a).
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
22
|
+
const l = v(t.testId, a);
|
|
23
|
+
return (N, g) => (o(), m(T, null, [
|
|
24
|
+
b("div", d({
|
|
25
|
+
class: ["field-label", {
|
|
26
|
+
"field-label--disabled": t.disabled,
|
|
27
|
+
"field-label--with-description": !!t.description
|
|
28
|
+
}]
|
|
29
|
+
}, e(l)[e(a).CONTAINER]), [
|
|
30
|
+
r(e(c), d({
|
|
31
|
+
class: "label",
|
|
32
|
+
variant: "inputLabel"
|
|
33
|
+
}, e(l)[e(a).TEXT]), {
|
|
34
|
+
default: i(() => [
|
|
35
|
+
n(f(t.label), 1)
|
|
36
|
+
]),
|
|
37
|
+
_: 1
|
|
38
|
+
}, 16),
|
|
39
|
+
t.mandatory ? (o(), u(e(c), d({
|
|
40
|
+
key: 0,
|
|
41
|
+
variant: "h3",
|
|
42
|
+
class: "mandatory"
|
|
43
|
+
}, e(l)[e(a).MANDATORY]), {
|
|
44
|
+
default: i(() => [
|
|
45
|
+
n("*")
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 16)) : s("", !0),
|
|
49
|
+
t.hoverHelpText ? (o(), u(e(y), d({
|
|
50
|
+
key: 1,
|
|
51
|
+
triggers: ["hover"],
|
|
52
|
+
text: t.hoverHelpText,
|
|
53
|
+
placement: t.hoverHelpTextPlacement
|
|
54
|
+
}, e(l)[e(a).TOOLTIP], { "test-id": t.testId }), {
|
|
55
|
+
default: i(() => [
|
|
56
|
+
r(e(h), {
|
|
57
|
+
class: "info-icon",
|
|
58
|
+
name: "question",
|
|
59
|
+
"font-size": "sm"
|
|
60
|
+
})
|
|
61
|
+
]),
|
|
62
|
+
_: 1
|
|
63
|
+
}, 16, ["text", "placement", "test-id"])) : s("", !0)
|
|
64
|
+
], 16),
|
|
65
|
+
t.description ? (o(), m("div", x, [
|
|
66
|
+
r(e(c), { variant: "body2" }, {
|
|
67
|
+
default: i(() => [
|
|
68
|
+
n(f(t.description), 1)
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})
|
|
72
|
+
])) : s("", !0)
|
|
73
|
+
], 64));
|
|
57
74
|
}
|
|
58
75
|
});
|
|
59
76
|
export {
|
|
60
|
-
|
|
77
|
+
L as default
|
|
61
78
|
};
|
|
@@ -32,4 +32,5 @@ export declare const tableCommon: (props: any, emit: any) => {
|
|
|
32
32
|
isRowExpanded: (rowIndex: number) => boolean;
|
|
33
33
|
cssRowHeight: import("vue").ComputedRef<string>;
|
|
34
34
|
cssExpandGridCol: import("vue").ComputedRef<string>;
|
|
35
|
+
activeMenuRow: import("vue").Ref<number>;
|
|
35
36
|
};
|