@ironsource/shared-ui 2.1.3-rc.1 → 2.1.3-rc.11
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_203b6bd1_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_f9d4e49d_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_e36c9442_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_9b108af3_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/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +1 -0
- package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_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/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_dca4c102_lang.css +1 -0
- package/components/alert/Alert.vue.d.ts +68 -0
- package/components/alert/Alert.vue.js +7 -0
- package/components/alert/Alert.vue2.js +86 -0
- package/components/alert/index.d.ts +82 -0
- package/components/alert/index.js +6 -0
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +44 -35
- package/components/autocomplete/Autocomplete.vue.d.ts +117 -0
- package/components/autocomplete/Autocomplete.vue.js +7 -0
- package/components/autocomplete/Autocomplete.vue2.js +84 -0
- package/components/autocomplete/index.d.ts +366 -0
- package/components/autocomplete/index.js +6 -0
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/ButtonBase.vue.d.ts +1 -1
- package/components/button/v3/IconButton.vue.d.ts +1 -1
- package/components/button/v3/index.d.ts +34 -34
- package/components/button/v4/ButtonV4.vue.d.ts +1 -1
- package/components/button/v4/IconButtonV4.vue.d.ts +1 -1
- package/components/button/v4/index.d.ts +40 -40
- package/components/checkbox/v3/index.d.ts +12 -12
- 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/checkbox/v4/index.d.ts +12 -12
- package/components/chip/v3/Chip.vue.d.ts +1 -1
- package/components/chip/v3/index.d.ts +20 -20
- package/components/chip/v4/ChipV4.vue.d.ts +1 -1
- package/components/chip/v4/index.d.ts +20 -20
- package/components/dialog/v4/index.d.ts +17 -17
- package/components/dropdown/common/Dropdown.common.js +93 -92
- package/components/dropdown/v3/Dropdown.vue.d.ts +11 -11
- package/components/dropdown/v3/index.d.ts +159 -159
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +4 -4
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +7 -7
- package/components/dropdown/v4/DropdownV4.vue.d.ts +13 -13
- package/components/dropdown/v4/index.d.ts +573 -573
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- 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/filterDropdown/index.d.ts +8 -8
- 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/FormCard.vue.d.ts +5 -0
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +62 -36
- package/components/forms/FormRow.vue.d.ts +10 -0
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +22 -29
- package/components/forms/index.d.ts +136 -3
- package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +3 -3
- package/components/includeExclude/index.d.ts +168 -168
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +2 -2
- package/components/input/v3/Input.vue.d.ts +3 -3
- package/components/input/v3/index.d.ts +82 -82
- package/components/input/v4/TextField.vue.d.ts +7 -7
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +83 -90
- package/components/input/v4/index.d.ts +122 -122
- package/components/radioButton/v4/RadioButtonV4.vue.js +4 -4
- package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
- package/components/search/v3/Search.vue.d.ts +1 -1
- package/components/search/v3/index.d.ts +9 -9
- 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/shared/FieldMaxLength.vue.d.ts +34 -0
- package/components/shared/FieldMaxLength.vue.js +7 -0
- package/components/shared/FieldMaxLength.vue2.js +24 -0
- package/components/skeleton/v4/index.d.ts +2 -2
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +12 -12
- package/components/table/common/Table.common.d.ts +1 -0
- package/components/table/common/Table.common.js +64 -60
- package/components/table/common/Table.types.d.ts +3 -0
- package/components/table/common/TableContext.d.ts +1 -0
- package/components/table/v4/DataGrid.vue.d.ts +2 -2
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +136 -128
- 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/HelpIcon.vue.d.ts +40 -0
- package/components/table/v4/HelpIcon.vue.js +7 -0
- package/components/table/v4/HelpIcon.vue2.js +32 -0
- package/components/table/v4/index.d.ts +71 -44
- 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/components/tabs/v3/Tabs.vue.d.ts +1 -1
- package/components/tabs/v3/index.d.ts +20 -20
- package/components/textArea/v3/TextArea.vue.js +7 -0
- package/components/textArea/{TextArea.vue2.js → v3/TextArea.vue2.js} +4 -4
- package/components/textArea/v4/TextAreaV4.vue.d.ts +100 -0
- package/components/textArea/v4/TextAreaV4.vue.js +7 -0
- package/components/textArea/v4/TextAreaV4.vue2.js +74 -0
- package/components/textArea/v4/index.d.ts +136 -0
- package/components/textArea/v4/index.js +6 -0
- package/components/toggle/v3/Toggle.vue.d.ts +1 -1
- package/components/toggle/v3/index.d.ts +9 -9
- package/components/toggle/v4/ToggleV4.vue.d.ts +1 -1
- package/components/toggle/v4/index.d.ts +28 -28
- package/components/typography/index.d.ts +12 -12
- package/index.d.ts +2363 -1842
- package/index.js +131 -123
- package/package.json +11 -2
- package/testids/index.d.ts +9 -1
- package/testids/index.js +25 -24
- 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/FormCard.vue_vue_type_style_index_0_scoped_ad5e4be0_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
- package/TextArea.vue_vue_type_style_index_0_scoped_889b62ac_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_473bab9b_lang.css +0 -1
- package/components/textArea/TextArea.vue.js +0 -7
- /package/components/textArea/{TextArea.vue.d.ts → v3/TextArea.vue.d.ts} +0 -0
- /package/components/textArea/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/textArea/{index.js → v3/index.js} +0 -0
|
@@ -6,7 +6,10 @@ declare const EmptyStateTypes: () => ({
|
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
title: string;
|
|
8
8
|
variant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
9
|
+
iconName: string;
|
|
10
|
+
iconSize: string;
|
|
9
11
|
subtitle: string;
|
|
12
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
10
13
|
buttonText: string;
|
|
11
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
12
15
|
title: {
|
|
@@ -17,17 +20,29 @@ declare const EmptyStateTypes: () => ({
|
|
|
17
20
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
18
21
|
default: string;
|
|
19
22
|
};
|
|
23
|
+
iconName: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
iconSize: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
20
31
|
subtitle: {
|
|
21
32
|
type: import("vue").PropType<string>;
|
|
22
33
|
default: any;
|
|
23
34
|
};
|
|
35
|
+
iconType: {
|
|
36
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
24
39
|
buttonText: {
|
|
25
40
|
type: import("vue").PropType<string>;
|
|
26
41
|
default: any;
|
|
27
42
|
};
|
|
28
43
|
}>> & {
|
|
29
44
|
onClick?: () => any;
|
|
30
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "variant" | "subtitle" | "buttonText">;
|
|
45
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "variant" | "iconName" | "iconSize" | "subtitle" | "iconType" | "buttonText">;
|
|
31
46
|
$attrs: {
|
|
32
47
|
[x: string]: unknown;
|
|
33
48
|
};
|
|
@@ -50,10 +65,22 @@ declare const EmptyStateTypes: () => ({
|
|
|
50
65
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
51
66
|
default: string;
|
|
52
67
|
};
|
|
68
|
+
iconName: {
|
|
69
|
+
type: import("vue").PropType<string>;
|
|
70
|
+
default: any;
|
|
71
|
+
};
|
|
72
|
+
iconSize: {
|
|
73
|
+
type: import("vue").PropType<string>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
53
76
|
subtitle: {
|
|
54
77
|
type: import("vue").PropType<string>;
|
|
55
78
|
default: any;
|
|
56
79
|
};
|
|
80
|
+
iconType: {
|
|
81
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
57
84
|
buttonText: {
|
|
58
85
|
type: import("vue").PropType<string>;
|
|
59
86
|
default: any;
|
|
@@ -65,7 +92,10 @@ declare const EmptyStateTypes: () => ({
|
|
|
65
92
|
}, string, {
|
|
66
93
|
title: string;
|
|
67
94
|
variant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
95
|
+
iconName: string;
|
|
96
|
+
iconSize: string;
|
|
68
97
|
subtitle: string;
|
|
98
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
69
99
|
buttonText: string;
|
|
70
100
|
}, {}, string> & {
|
|
71
101
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -96,10 +126,22 @@ declare const EmptyStateTypes: () => ({
|
|
|
96
126
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
97
127
|
default: string;
|
|
98
128
|
};
|
|
129
|
+
iconName: {
|
|
130
|
+
type: import("vue").PropType<string>;
|
|
131
|
+
default: any;
|
|
132
|
+
};
|
|
133
|
+
iconSize: {
|
|
134
|
+
type: import("vue").PropType<string>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
99
137
|
subtitle: {
|
|
100
138
|
type: import("vue").PropType<string>;
|
|
101
139
|
default: any;
|
|
102
140
|
};
|
|
141
|
+
iconType: {
|
|
142
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
103
145
|
buttonText: {
|
|
104
146
|
type: import("vue").PropType<string>;
|
|
105
147
|
default: any;
|
|
@@ -119,10 +161,22 @@ declare const EmptyStateTypes: () => ({
|
|
|
119
161
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
120
162
|
default: string;
|
|
121
163
|
};
|
|
164
|
+
iconName: {
|
|
165
|
+
type: import("vue").PropType<string>;
|
|
166
|
+
default: any;
|
|
167
|
+
};
|
|
168
|
+
iconSize: {
|
|
169
|
+
type: import("vue").PropType<string>;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
122
172
|
subtitle: {
|
|
123
173
|
type: import("vue").PropType<string>;
|
|
124
174
|
default: any;
|
|
125
175
|
};
|
|
176
|
+
iconType: {
|
|
177
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
126
180
|
buttonText: {
|
|
127
181
|
type: import("vue").PropType<string>;
|
|
128
182
|
default: any;
|
|
@@ -134,7 +188,10 @@ declare const EmptyStateTypes: () => ({
|
|
|
134
188
|
}, string, {
|
|
135
189
|
title: string;
|
|
136
190
|
variant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
191
|
+
iconName: string;
|
|
192
|
+
iconSize: string;
|
|
137
193
|
subtitle: string;
|
|
194
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
138
195
|
buttonText: string;
|
|
139
196
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
140
197
|
$slots: {
|
|
@@ -114,14 +114,14 @@ declare const FilterDropdownTypes: () => (({
|
|
|
114
114
|
type: import("vue").PropType<any[]>;
|
|
115
115
|
required: true;
|
|
116
116
|
};
|
|
117
|
-
displayValue: {
|
|
118
|
-
type: import("vue").PropType<(item: unknown) => string>;
|
|
119
|
-
required: true;
|
|
120
|
-
};
|
|
121
117
|
onSearch: {
|
|
122
118
|
type: import("vue").PropType<(item: unknown) => boolean>;
|
|
123
119
|
required: true;
|
|
124
120
|
};
|
|
121
|
+
displayValue: {
|
|
122
|
+
type: import("vue").PropType<(item: unknown) => string>;
|
|
123
|
+
required: true;
|
|
124
|
+
};
|
|
125
125
|
addNewFilter: {
|
|
126
126
|
type: import("vue").PropType<(filter: import("../filtersPanel/v3").Filter) => void>;
|
|
127
127
|
required: true;
|
|
@@ -143,14 +143,14 @@ declare const FilterDropdownTypes: () => (({
|
|
|
143
143
|
type: import("vue").PropType<any[]>;
|
|
144
144
|
required: true;
|
|
145
145
|
};
|
|
146
|
-
displayValue: {
|
|
147
|
-
type: import("vue").PropType<(item: unknown) => string>;
|
|
148
|
-
required: true;
|
|
149
|
-
};
|
|
150
146
|
onSearch: {
|
|
151
147
|
type: import("vue").PropType<(item: unknown) => boolean>;
|
|
152
148
|
required: true;
|
|
153
149
|
};
|
|
150
|
+
displayValue: {
|
|
151
|
+
type: import("vue").PropType<(item: unknown) => string>;
|
|
152
|
+
required: true;
|
|
153
|
+
};
|
|
154
154
|
addNewFilter: {
|
|
155
155
|
type: import("vue").PropType<(filter: import("../filtersPanel/v3").Filter) => void>;
|
|
156
156
|
required: true;
|
|
@@ -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
|
};
|
|
@@ -6,6 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
6
|
cancelLabel?: string;
|
|
7
7
|
saveLoading?: boolean;
|
|
8
8
|
testId?: string;
|
|
9
|
+
isLoading?: boolean;
|
|
9
10
|
}>, {
|
|
10
11
|
title: string;
|
|
11
12
|
noPadding: boolean;
|
|
@@ -14,6 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
15
|
saveLabel: string;
|
|
15
16
|
saveLoading: boolean;
|
|
16
17
|
testId: string;
|
|
18
|
+
isLoading: boolean;
|
|
17
19
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
20
|
save: () => void;
|
|
19
21
|
cancel: () => void;
|
|
@@ -25,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
27
|
cancelLabel?: string;
|
|
26
28
|
saveLoading?: boolean;
|
|
27
29
|
testId?: string;
|
|
30
|
+
isLoading?: boolean;
|
|
28
31
|
}>, {
|
|
29
32
|
title: string;
|
|
30
33
|
noPadding: boolean;
|
|
@@ -33,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
36
|
saveLabel: string;
|
|
34
37
|
saveLoading: boolean;
|
|
35
38
|
testId: string;
|
|
39
|
+
isLoading: boolean;
|
|
36
40
|
}>>> & {
|
|
37
41
|
onCancel?: () => any;
|
|
38
42
|
onSave?: () => any;
|
|
@@ -40,6 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
44
|
title: string;
|
|
41
45
|
testId: string;
|
|
42
46
|
actionButtons: boolean;
|
|
47
|
+
isLoading: boolean;
|
|
43
48
|
noPadding: boolean;
|
|
44
49
|
saveLabel: string;
|
|
45
50
|
cancelLabel: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormCard.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../FormCard.
|
|
4
|
-
const t = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-276bd901"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import "../../FormCard.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "../../FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css"; import { defineComponent as T, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as l, unref as e, renderSlot as u, createVNode as a, withCtx as m, createTextVNode as g, toDisplayString as v, createBlock as B, createCommentVNode as C } from "vue";
|
|
2
|
+
import p from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import y from "../button/v4/ButtonV4.vue.js";
|
|
4
4
|
import "../button/v4/IconButtonV4.vue.js";
|
|
5
|
-
import { FormCardTestIdModifiers as
|
|
6
|
-
import { useTestIdAttrs as
|
|
7
|
-
|
|
5
|
+
import { FormCardTestIdModifiers as o } from "../../testids/index.js";
|
|
6
|
+
import { useTestIdAttrs as N } from "../../utils/testIds.js";
|
|
7
|
+
import i from "../skeleton/v4/SkeletonV4.vue.js";
|
|
8
|
+
const b = { class: "form-card" }, h = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "content-skeleton-container"
|
|
11
|
+
}, z = /* @__PURE__ */ T({
|
|
8
12
|
__name: "FormCard",
|
|
9
13
|
props: {
|
|
10
14
|
title: { default: "" },
|
|
@@ -13,62 +17,84 @@ const y = { class: "form-card" }, b = /* @__PURE__ */ g({
|
|
|
13
17
|
saveLabel: { default: "Save" },
|
|
14
18
|
cancelLabel: { default: "Cancel" },
|
|
15
19
|
saveLoading: { type: Boolean, default: !1 },
|
|
16
|
-
testId: { default: "" }
|
|
20
|
+
testId: { default: "" },
|
|
21
|
+
isLoading: { type: Boolean, default: !1 }
|
|
17
22
|
},
|
|
18
23
|
emits: ["save", "cancel"],
|
|
19
|
-
setup(t, { emit:
|
|
20
|
-
const
|
|
21
|
-
return (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
setup(t, { emit: k }) {
|
|
25
|
+
const n = N(t.testId, o);
|
|
26
|
+
return (r, s) => (d(), c("div", null, [
|
|
27
|
+
f("div", b, [
|
|
28
|
+
f("header", l({ class: "card-header" }, e(n)[e(o).TITLE]), [
|
|
29
|
+
t.isLoading ? (d(), B(e(i), {
|
|
30
|
+
key: 1,
|
|
31
|
+
type: "rectangle",
|
|
32
|
+
size: 20,
|
|
33
|
+
class: "skeleton-header"
|
|
34
|
+
})) : u(r.$slots, "header", { key: 0 }, () => [
|
|
35
|
+
a(e(p), { variant: "h3" }, {
|
|
36
|
+
default: m(() => [
|
|
37
|
+
g(v(t.title), 1)
|
|
28
38
|
]),
|
|
29
39
|
_: 1
|
|
30
40
|
})
|
|
31
41
|
], !0)
|
|
32
42
|
], 16),
|
|
33
|
-
|
|
43
|
+
f("div", l({
|
|
34
44
|
class: ["card-content", { "card-content--no-padding": t.noPadding }]
|
|
35
|
-
}, e(
|
|
36
|
-
|
|
45
|
+
}, e(n)[e(o).CONTENT]), [
|
|
46
|
+
t.isLoading ? (d(), c("div", h, [
|
|
47
|
+
a(e(i), {
|
|
48
|
+
type: "rectangle",
|
|
49
|
+
size: 20,
|
|
50
|
+
class: "skeleton-long"
|
|
51
|
+
}),
|
|
52
|
+
a(e(i), {
|
|
53
|
+
class: "skeleton-short",
|
|
54
|
+
type: "rectangle"
|
|
55
|
+
}),
|
|
56
|
+
a(e(i), {
|
|
57
|
+
class: "skeleton-short",
|
|
58
|
+
type: "rectangle"
|
|
59
|
+
})
|
|
60
|
+
])) : u(r.$slots, "default", { key: 0 }, void 0, !0)
|
|
37
61
|
], 16)
|
|
38
62
|
]),
|
|
39
|
-
t.actionButtons ? (
|
|
63
|
+
t.actionButtons ? (d(), c("div", l({
|
|
40
64
|
key: 0,
|
|
41
65
|
class: "form-actions"
|
|
42
|
-
}, e(
|
|
43
|
-
|
|
44
|
-
|
|
66
|
+
}, e(n)[e(o).ACTIONS]), [
|
|
67
|
+
u(r.$slots, "footer", {}, () => [
|
|
68
|
+
a(e(y), l({
|
|
45
69
|
class: "form-action",
|
|
46
70
|
variant: "outlined",
|
|
47
71
|
color: "default"
|
|
48
|
-
}, e(
|
|
49
|
-
|
|
72
|
+
}, e(n)[e(o).CANCEL_BUTTON], {
|
|
73
|
+
disabled: t.isLoading,
|
|
74
|
+
onClick: s[0] || (s[0] = (L) => k("cancel"))
|
|
50
75
|
}), {
|
|
51
|
-
default:
|
|
52
|
-
|
|
76
|
+
default: m(() => [
|
|
77
|
+
g(v(t.cancelLabel), 1)
|
|
53
78
|
]),
|
|
54
79
|
_: 1
|
|
55
|
-
}, 16),
|
|
56
|
-
|
|
80
|
+
}, 16, ["disabled"]),
|
|
81
|
+
a(e(y), l({
|
|
57
82
|
class: "form-action",
|
|
58
83
|
loading: t.saveLoading
|
|
59
|
-
}, e(
|
|
60
|
-
|
|
84
|
+
}, e(n)[e(o).SAVE_BUTTON], {
|
|
85
|
+
disabled: t.isLoading,
|
|
86
|
+
onClick: s[1] || (s[1] = (L) => k("save"))
|
|
61
87
|
}), {
|
|
62
|
-
default:
|
|
63
|
-
|
|
88
|
+
default: m(() => [
|
|
89
|
+
g(v(t.saveLabel), 1)
|
|
64
90
|
]),
|
|
65
91
|
_: 1
|
|
66
|
-
}, 16, ["loading"])
|
|
92
|
+
}, 16, ["loading", "disabled"])
|
|
67
93
|
], !0)
|
|
68
|
-
], 16)) :
|
|
94
|
+
], 16)) : C("", !0)
|
|
69
95
|
]));
|
|
70
96
|
}
|
|
71
97
|
});
|
|
72
98
|
export {
|
|
73
|
-
|
|
99
|
+
z as default
|
|
74
100
|
};
|
|
@@ -2,22 +2,32 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
2
2
|
label: string;
|
|
3
3
|
mandatory?: boolean;
|
|
4
4
|
testId?: 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";
|
|
5
7
|
}>, {
|
|
6
8
|
label: string;
|
|
7
9
|
mandatory: boolean;
|
|
8
10
|
testId: string;
|
|
11
|
+
hoverHelpText: string;
|
|
12
|
+
hoverHelpTextPlacement: string;
|
|
9
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<{
|
|
10
14
|
label: string;
|
|
11
15
|
mandatory?: boolean;
|
|
12
16
|
testId?: 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";
|
|
13
19
|
}>, {
|
|
14
20
|
label: string;
|
|
15
21
|
mandatory: boolean;
|
|
16
22
|
testId: string;
|
|
23
|
+
hoverHelpText: string;
|
|
24
|
+
hoverHelpTextPlacement: string;
|
|
17
25
|
}>>>, {
|
|
18
26
|
label: string;
|
|
19
27
|
mandatory: boolean;
|
|
20
28
|
testId: string;
|
|
29
|
+
hoverHelpText: string;
|
|
30
|
+
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";
|
|
21
31
|
}>, {
|
|
22
32
|
default?(_: {}): any;
|
|
23
33
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormRow.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../FormRow.
|
|
4
|
-
const c = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fc3897fd"]]);
|
|
5
5
|
export {
|
|
6
6
|
c as default
|
|
7
7
|
};
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import "../../FormRow.
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import "../../FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css"; import { defineComponent as a, openBlock as t, createElementBlock as l, createVNode as n, createCommentVNode as r, createElementVNode as d, renderSlot as c } from "vue";
|
|
2
|
+
import m from "../shared/FieldLabel.vue.js";
|
|
3
|
+
const s = { class: "form-row" }, h = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "label-container"
|
|
6
|
+
}, i = { class: "content" }, p = /* @__PURE__ */ a({
|
|
4
7
|
__name: "FormRow",
|
|
5
8
|
props: {
|
|
6
9
|
label: { default: "" },
|
|
7
10
|
mandatory: { type: Boolean, default: !1 },
|
|
8
|
-
testId: { default: "" }
|
|
11
|
+
testId: { default: "" },
|
|
12
|
+
hoverHelpText: { default: "" },
|
|
13
|
+
hoverHelpTextPlacement: { default: "top" }
|
|
9
14
|
},
|
|
10
15
|
setup(e) {
|
|
11
|
-
return (
|
|
12
|
-
e.label ? (t(),
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})
|
|
23
|
-
e.mandatory ? (t(), u(o(n), {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "mandatory"
|
|
26
|
-
}, {
|
|
27
|
-
default: l(() => [
|
|
28
|
-
d("*")
|
|
29
|
-
]),
|
|
30
|
-
_: 1
|
|
31
|
-
})) : r("", !0)
|
|
32
|
-
], 8, _)) : r("", !0),
|
|
33
|
-
f("div", h, [
|
|
34
|
-
y(s.$slots, "default", {}, void 0, !0)
|
|
16
|
+
return (o, f) => (t(), l("div", s, [
|
|
17
|
+
e.label ? (t(), l("div", h, [
|
|
18
|
+
n(m, {
|
|
19
|
+
label: e.label,
|
|
20
|
+
mandatory: e.mandatory,
|
|
21
|
+
"hover-help-text": e.hoverHelpText,
|
|
22
|
+
"hover-help-text-placement": e.hoverHelpTextPlacement,
|
|
23
|
+
"test-id": e.testId
|
|
24
|
+
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "test-id"])
|
|
25
|
+
])) : r("", !0),
|
|
26
|
+
d("div", i, [
|
|
27
|
+
c(o.$slots, "default", {}, void 0, !0)
|
|
35
28
|
])
|
|
36
29
|
]));
|
|
37
30
|
}
|
|
38
31
|
});
|
|
39
32
|
export {
|
|
40
|
-
|
|
33
|
+
p as default
|
|
41
34
|
};
|