@ironsource/shared-ui 2.1.7-rc.5 → 2.1.7-rc.7
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/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +1 -0
- package/FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_efbbc0bc_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +2 -2
- package/components/autocomplete/Autocomplete.vue2.js +57 -45
- package/components/autocomplete/index.d.ts +20 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +151 -147
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +70 -53
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
- package/components/dropdown/v4/index.d.ts +78 -2
- package/components/includeExclude/IncludeExclude.vue.js +4 -4
- package/components/includeExclude/IncludeExclude.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
- package/components/input/v4/TextField.vue.d.ts +6 -1
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +95 -90
- package/components/input/v4/index.d.ts +20 -1
- package/components/popover/common/Popover.common.d.ts +6 -0
- package/components/popover/common/Popover.common.js +17 -0
- package/components/popover/v3/Popover.vue.js +8 -0
- package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
- package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
- package/components/popover/v4/PopoverV4.vue.js +7 -0
- package/components/popover/v4/PopoverV4.vue2.js +54 -0
- package/components/popover/v4/index.d.ts +209 -0
- package/components/popover/v4/index.js +6 -0
- package/components/shared/FieldMaxLength.vue.js +3 -3
- package/components/shared/FieldMaxLength.vue2.js +2 -2
- package/components/shared/commonTypes.d.ts +2 -0
- package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +29 -22
- package/components/table/v4/MultipleDataGrid.vue.js +4 -4
- package/components/table/v4/MultipleDataGrid.vue2.js +40 -36
- package/components/table/v4/index.d.ts +9 -0
- package/components/textArea/v4/TextAreaV4.vue.d.ts +6 -1
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +18 -12
- package/components/textArea/v4/index.d.ts +9 -0
- package/index.d.ts +646 -7
- package/index.js +70 -70
- package/package.json +7 -3
- package/testids/index.d.ts +5 -0
- package/testids/index.js +24 -23
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
- package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
- package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +0 -1
- package/components/popover/Popover.vue.js +0 -8
- /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
- /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/popover/{index.js → v3/index.js} +0 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import Popover from './PopoverV4.vue';
|
|
2
|
+
declare const PopoverTypes: () => ({
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
testId: string;
|
|
9
|
+
placement: import("floating-vue").Placement;
|
|
10
|
+
distance: number;
|
|
11
|
+
popperClass: string;
|
|
12
|
+
autoHide: boolean;
|
|
13
|
+
skidding: number;
|
|
14
|
+
trigger: "touch" | "click" | "focus" | "hover" | "managed";
|
|
15
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
disabled: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
testId: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
placement: {
|
|
25
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
distance: {
|
|
29
|
+
type: import("vue").PropType<number>;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
popperClass: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
autoHide: {
|
|
37
|
+
type: import("vue").PropType<boolean>;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
skidding: {
|
|
41
|
+
type: import("vue").PropType<number>;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
trigger: {
|
|
45
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "testId" | "placement" | "distance" | "popperClass" | "autoHide" | "skidding" | "trigger">;
|
|
49
|
+
$attrs: {
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
};
|
|
52
|
+
$refs: {
|
|
53
|
+
[x: string]: unknown;
|
|
54
|
+
};
|
|
55
|
+
$slots: Readonly<{
|
|
56
|
+
[name: string]: import("vue").Slot;
|
|
57
|
+
}>;
|
|
58
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
59
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
60
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
61
|
+
$el: any;
|
|
62
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
disabled: {
|
|
64
|
+
type: import("vue").PropType<boolean>;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
testId: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
placement: {
|
|
72
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
distance: {
|
|
76
|
+
type: import("vue").PropType<number>;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
popperClass: {
|
|
80
|
+
type: import("vue").PropType<string>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
autoHide: {
|
|
84
|
+
type: import("vue").PropType<boolean>;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
skidding: {
|
|
88
|
+
type: import("vue").PropType<number>;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
trigger: {
|
|
92
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
testId: string;
|
|
98
|
+
placement: import("floating-vue").Placement;
|
|
99
|
+
distance: number;
|
|
100
|
+
popperClass: string;
|
|
101
|
+
autoHide: boolean;
|
|
102
|
+
skidding: number;
|
|
103
|
+
trigger: "touch" | "click" | "focus" | "hover" | "managed";
|
|
104
|
+
}, {}, string> & {
|
|
105
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
106
|
+
created?: (() => void) | (() => void)[];
|
|
107
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
108
|
+
mounted?: (() => void) | (() => void)[];
|
|
109
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
110
|
+
updated?: (() => void) | (() => void)[];
|
|
111
|
+
activated?: (() => void) | (() => void)[];
|
|
112
|
+
deactivated?: (() => void) | (() => void)[];
|
|
113
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
114
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
115
|
+
destroyed?: (() => void) | (() => void)[];
|
|
116
|
+
unmounted?: (() => void) | (() => void)[];
|
|
117
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
118
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
119
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
120
|
+
};
|
|
121
|
+
$forceUpdate: () => void;
|
|
122
|
+
$nextTick: typeof import("vue").nextTick;
|
|
123
|
+
$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;
|
|
124
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
125
|
+
disabled: {
|
|
126
|
+
type: import("vue").PropType<boolean>;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
testId: {
|
|
130
|
+
type: import("vue").PropType<string>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
placement: {
|
|
134
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
distance: {
|
|
138
|
+
type: import("vue").PropType<number>;
|
|
139
|
+
default: number;
|
|
140
|
+
};
|
|
141
|
+
popperClass: {
|
|
142
|
+
type: import("vue").PropType<string>;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
autoHide: {
|
|
146
|
+
type: import("vue").PropType<boolean>;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
skidding: {
|
|
150
|
+
type: import("vue").PropType<number>;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
trigger: {
|
|
154
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
158
|
+
__isFragment?: never;
|
|
159
|
+
__isTeleport?: never;
|
|
160
|
+
__isSuspense?: never;
|
|
161
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
162
|
+
disabled: {
|
|
163
|
+
type: import("vue").PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
testId: {
|
|
167
|
+
type: import("vue").PropType<string>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
placement: {
|
|
171
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
distance: {
|
|
175
|
+
type: import("vue").PropType<number>;
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
popperClass: {
|
|
179
|
+
type: import("vue").PropType<string>;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
autoHide: {
|
|
183
|
+
type: import("vue").PropType<boolean>;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
skidding: {
|
|
187
|
+
type: import("vue").PropType<number>;
|
|
188
|
+
default: number;
|
|
189
|
+
};
|
|
190
|
+
trigger: {
|
|
191
|
+
type: import("vue").PropType<"touch" | "click" | "focus" | "hover" | "managed">;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
195
|
+
disabled: boolean;
|
|
196
|
+
testId: string;
|
|
197
|
+
placement: import("floating-vue").Placement;
|
|
198
|
+
distance: number;
|
|
199
|
+
popperClass: string;
|
|
200
|
+
autoHide: boolean;
|
|
201
|
+
skidding: number;
|
|
202
|
+
trigger: "touch" | "click" | "focus" | "hover" | "managed";
|
|
203
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
204
|
+
$slots: {
|
|
205
|
+
trigger?(_: {}): any;
|
|
206
|
+
content?(_: {}): any;
|
|
207
|
+
};
|
|
208
|
+
}))[];
|
|
209
|
+
export { Popover, PopoverTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./FieldMaxLength.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../FieldMaxLength.
|
|
4
|
-
const
|
|
3
|
+
// import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-47877984"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../FieldMaxLength.
|
|
1
|
+
import "../../FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css"; import { defineComponent as n, openBlock as o, createElementBlock as c, createVNode as r, unref as d, withCtx as p, createTextVNode as t, toDisplayString as a, pushScopeId as i, popScopeId as s, createElementVNode as h } from "vue";
|
|
2
2
|
import l from "../typography/v4/Typography.vue.js";
|
|
3
|
-
const m = (e) => (i("data-v-
|
|
3
|
+
const m = (e) => (i("data-v-47877984"), e = e(), s(), e), _ = { class: "max-length" }, u = /* @__PURE__ */ m(() => /* @__PURE__ */ h("span", { class: "max-length__divider" }, "/", -1)), v = /* @__PURE__ */ n({
|
|
4
4
|
__name: "FieldMaxLength",
|
|
5
5
|
props: {
|
|
6
6
|
currentLength: { default: 0 },
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export declare const FEEDBACK_VARIANTS: readonly ["error", "success", "warning"];
|
|
2
2
|
export type FeedbackVariant = (typeof FEEDBACK_VARIANTS)[number];
|
|
3
|
+
export declare const MAX_LENGTH_COUNTER_POSITION: readonly ["inside", "outside"];
|
|
4
|
+
export type MaxLengthCounterPositions = (typeof MAX_LENGTH_COUNTER_POSITION)[number];
|
|
@@ -4,25 +4,30 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
displayingText?: string;
|
|
5
5
|
outOfText?: string;
|
|
6
6
|
totalText?: string;
|
|
7
|
+
testId?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
count: number;
|
|
9
10
|
totalCount: number;
|
|
10
11
|
displayingText: string;
|
|
11
12
|
outOfText: string;
|
|
12
13
|
totalText: string;
|
|
14
|
+
testId: string;
|
|
13
15
|
}>, {}, 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<{
|
|
14
16
|
count?: number;
|
|
15
17
|
totalCount?: number;
|
|
16
18
|
displayingText?: string;
|
|
17
19
|
outOfText?: string;
|
|
18
20
|
totalText?: string;
|
|
21
|
+
testId?: string;
|
|
19
22
|
}>, {
|
|
20
23
|
count: number;
|
|
21
24
|
totalCount: number;
|
|
22
25
|
displayingText: string;
|
|
23
26
|
outOfText: string;
|
|
24
27
|
totalText: string;
|
|
28
|
+
testId: string;
|
|
25
29
|
}>>>, {
|
|
30
|
+
testId: string;
|
|
26
31
|
count: number;
|
|
27
32
|
totalCount: number;
|
|
28
33
|
displayingText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGridRowsCounter.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGridRowsCounter.
|
|
4
|
-
const r = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0ce71f73"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,45 +1,52 @@
|
|
|
1
|
-
import "../../../DataGridRowsCounter.
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css"; import { defineComponent as l, openBlock as u, createElementBlock as r, unref as e, createVNode as o, withCtx as i, createTextVNode as a, toDisplayString as d } from "vue";
|
|
2
|
+
import s from "../../typography/v4/Typography.vue.js";
|
|
3
|
+
import { RowsCounterTestIdModifiers as n } from "../../../testids/index.js";
|
|
4
|
+
const f = ["data-testid"], C = /* @__PURE__ */ l({
|
|
4
5
|
__name: "DataGridRowsCounter",
|
|
5
6
|
props: {
|
|
6
7
|
count: { default: 0 },
|
|
7
8
|
totalCount: { default: 0 },
|
|
8
9
|
displayingText: { default: "Displaying" },
|
|
9
10
|
outOfText: { default: "out of" },
|
|
10
|
-
totalText: { default: "total rows" }
|
|
11
|
+
totalText: { default: "total rows" },
|
|
12
|
+
testId: { default: "" }
|
|
11
13
|
},
|
|
12
14
|
setup(t) {
|
|
13
|
-
return (c,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
return (c, T) => (u(), r("div", {
|
|
16
|
+
class: "data-grid-rows-counter",
|
|
17
|
+
"data-testid": `${t.testId}-${e(n).CONTAINER}`
|
|
18
|
+
}, [
|
|
19
|
+
o(e(s), { variant: "body1" }, {
|
|
20
|
+
default: i(() => [
|
|
21
|
+
a(d(t.displayingText) + " ", 1),
|
|
22
|
+
o(e(s), {
|
|
18
23
|
class: "text-strong",
|
|
19
|
-
variant: "subtitle1"
|
|
24
|
+
variant: "subtitle1",
|
|
25
|
+
"data-testid": `${t.testId}-${e(n).COUNT}`
|
|
20
26
|
}, {
|
|
21
|
-
default:
|
|
22
|
-
|
|
27
|
+
default: i(() => [
|
|
28
|
+
a(d(t.count), 1)
|
|
23
29
|
]),
|
|
24
30
|
_: 1
|
|
25
|
-
}),
|
|
26
|
-
|
|
27
|
-
o(
|
|
31
|
+
}, 8, ["data-testid"]),
|
|
32
|
+
a(" " + d(t.outOfText) + " ", 1),
|
|
33
|
+
o(e(s), {
|
|
28
34
|
class: "text-strong",
|
|
29
|
-
variant: "subtitle1"
|
|
35
|
+
variant: "subtitle1",
|
|
36
|
+
"data-testid": `${t.testId}-${e(n).TOTAL}`
|
|
30
37
|
}, {
|
|
31
|
-
default:
|
|
32
|
-
|
|
38
|
+
default: i(() => [
|
|
39
|
+
a(d(t.totalCount), 1)
|
|
33
40
|
]),
|
|
34
41
|
_: 1
|
|
35
|
-
}),
|
|
36
|
-
|
|
42
|
+
}, 8, ["data-testid"]),
|
|
43
|
+
a(" " + d(t.totalText), 1)
|
|
37
44
|
]),
|
|
38
45
|
_: 1
|
|
39
46
|
})
|
|
40
|
-
]));
|
|
47
|
+
], 8, f));
|
|
41
48
|
}
|
|
42
49
|
});
|
|
43
50
|
export {
|
|
44
|
-
|
|
51
|
+
C as default
|
|
45
52
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../MultipleDataGrid.
|
|
4
|
-
const p = /* @__PURE__ */
|
|
1
|
+
import e from "./MultipleDataGrid.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_efbbc0bc_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-efbbc0bc"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import "../../../MultipleDataGrid.
|
|
1
|
+
import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_efbbc0bc_lang.css"; import { defineComponent as L, useCssVars as R, computed as V, openBlock as l, createElementBlock as d, createElementVNode as y, normalizeClass as z, unref as o, createBlock as c, createCommentVNode as m, isRef as E, Fragment as $, renderList as g, createSlots as p, withCtx as D, renderSlot as M } from "vue";
|
|
2
2
|
import S from "./DataGrid.vue.js";
|
|
3
3
|
import "./DataGridMenu.vue.js";
|
|
4
|
-
import
|
|
4
|
+
import N from "./DataGridRowsCounter.vue.js";
|
|
5
5
|
import "./MultipleDataGrid.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { useVModel as
|
|
8
|
-
|
|
6
|
+
import O from "../../search/v4/SearchV4.vue.js";
|
|
7
|
+
import { useVModel as G } from "@vueuse/core";
|
|
8
|
+
import { TableTestIdModifiers as P } from "../../../testids/index.js";
|
|
9
|
+
const A = ["data-testid"], F = {
|
|
9
10
|
key: 0,
|
|
10
11
|
class: "tables-container"
|
|
11
|
-
},
|
|
12
|
+
}, X = /* @__PURE__ */ L({
|
|
12
13
|
__name: "MultipleDataGrid",
|
|
13
14
|
props: {
|
|
14
15
|
tablesSettings: { default: () => [] },
|
|
@@ -32,37 +33,40 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
32
33
|
},
|
|
33
34
|
emits: ["update:search", "onScroll", "onClearSearch", "clickRow"],
|
|
34
35
|
setup(t, { emit: n }) {
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
"
|
|
36
|
+
const r = t;
|
|
37
|
+
R((e) => ({
|
|
38
|
+
"3e16946e": t.zIndexBase
|
|
38
39
|
}));
|
|
39
|
-
const h =
|
|
40
|
-
() =>
|
|
41
|
-
),
|
|
40
|
+
const h = V(
|
|
41
|
+
() => r.isLoading || !r.tablesSettings.flatMap((e) => e.rows).length
|
|
42
|
+
), u = G(r, "search", n), f = (e) => `cell-${e.id}`, w = (e) => {
|
|
42
43
|
n("onScroll", e.target.scrollTop);
|
|
43
44
|
}, k = () => n("onClearSearch"), x = (e, s) => n("clickRow", e, s);
|
|
44
45
|
return (e, s) => (l(), d("div", {
|
|
45
46
|
class: "multi-table-container",
|
|
46
47
|
onScrollPassive: w
|
|
47
48
|
}, [
|
|
48
|
-
|
|
49
|
+
y("div", {
|
|
49
50
|
class: z(["table-header-container", { sticky: t.isSticky }])
|
|
50
51
|
}, [
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
y("div", {
|
|
53
|
+
class: "rows-counter-container",
|
|
54
|
+
"data-testid": `${t.testId}-${o(P).TITLE}`
|
|
55
|
+
}, [
|
|
56
|
+
t.isLoading ? m("", !0) : (l(), c(o(N), {
|
|
53
57
|
key: 0,
|
|
54
58
|
count: t.count,
|
|
55
59
|
"total-count": t.totalCount,
|
|
56
60
|
"total-text": t.totalText,
|
|
57
61
|
"displaying-text": t.displayingText,
|
|
58
62
|
"out-of-text": t.outOfText,
|
|
59
|
-
|
|
60
|
-
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "
|
|
61
|
-
]),
|
|
62
|
-
t.showSearch ? (l(), c(o(
|
|
63
|
+
testid: t.testId
|
|
64
|
+
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "testid"]))
|
|
65
|
+
], 8, A),
|
|
66
|
+
t.showSearch ? (l(), c(o(O), {
|
|
63
67
|
key: 0,
|
|
64
|
-
modelValue: o(
|
|
65
|
-
"onUpdate:modelValue": s[0] || (s[0] = (a) =>
|
|
68
|
+
modelValue: o(u),
|
|
69
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => E(u) ? u.value = a : null),
|
|
66
70
|
placeholder: t.searchPlaceholder,
|
|
67
71
|
"test-id": t.testId,
|
|
68
72
|
onOnClear: k
|
|
@@ -78,8 +82,8 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
78
82
|
"empty-state-title": t.emptyStateTitle,
|
|
79
83
|
"empty-state-subtitle": t.emptyStateSubtitle,
|
|
80
84
|
"loading-row-count": t.loadingRowCount
|
|
81
|
-
}, null, 8, ["is-loading", "columns", "test-id", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "loading-row-count"])) : (l(), d("div",
|
|
82
|
-
(l(!0), d(
|
|
85
|
+
}, null, 8, ["is-loading", "columns", "test-id", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "loading-row-count"])) : (l(), d("div", F, [
|
|
86
|
+
(l(!0), d($, null, g(t.tablesSettings, (a, C) => (l(), d("div", {
|
|
83
87
|
key: a.testId,
|
|
84
88
|
class: "table-wrapper"
|
|
85
89
|
}, [
|
|
@@ -93,22 +97,22 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
93
97
|
"z-index-base": t.zIndexBase,
|
|
94
98
|
"test-id": a.testId,
|
|
95
99
|
onClickRow: (i) => x(i, C)
|
|
96
|
-
},
|
|
100
|
+
}, p({ _: 2 }, [
|
|
97
101
|
g(a.columns, (i) => ({
|
|
98
|
-
name:
|
|
99
|
-
fn:
|
|
102
|
+
name: f(i),
|
|
103
|
+
fn: D(({
|
|
100
104
|
cell: b,
|
|
101
|
-
rowIndex:
|
|
102
|
-
isLoading:
|
|
103
|
-
cellIndex:
|
|
104
|
-
row:
|
|
105
|
+
rowIndex: T,
|
|
106
|
+
isLoading: I,
|
|
107
|
+
cellIndex: v,
|
|
108
|
+
row: B
|
|
105
109
|
}) => [
|
|
106
|
-
|
|
110
|
+
M(e.$slots, `${f(i)}`, {
|
|
107
111
|
cell: b,
|
|
108
|
-
isLoading:
|
|
109
|
-
cellIndex:
|
|
110
|
-
row:
|
|
111
|
-
rowIndex:
|
|
112
|
+
isLoading: I,
|
|
113
|
+
cellIndex: v,
|
|
114
|
+
row: B,
|
|
115
|
+
rowIndex: T
|
|
112
116
|
}, void 0, !0)
|
|
113
117
|
])
|
|
114
118
|
}))
|
|
@@ -119,5 +123,5 @@ const $ = { class: "rows-counter-container" }, A = {
|
|
|
119
123
|
}
|
|
120
124
|
});
|
|
121
125
|
export {
|
|
122
|
-
|
|
126
|
+
X as default
|
|
123
127
|
};
|
|
@@ -686,6 +686,10 @@ declare const DataGridTypes: () => (({
|
|
|
686
686
|
rowIndex: number;
|
|
687
687
|
menuItems: import("../common/Table.types").MenuItem[];
|
|
688
688
|
}> | import("vue").DefineComponent<{
|
|
689
|
+
testId: {
|
|
690
|
+
type: import("vue").PropType<string>;
|
|
691
|
+
default: string;
|
|
692
|
+
};
|
|
689
693
|
count: {
|
|
690
694
|
type: import("vue").PropType<number>;
|
|
691
695
|
default: number;
|
|
@@ -707,6 +711,10 @@ declare const DataGridTypes: () => (({
|
|
|
707
711
|
default: string;
|
|
708
712
|
};
|
|
709
713
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
714
|
+
testId: {
|
|
715
|
+
type: import("vue").PropType<string>;
|
|
716
|
+
default: string;
|
|
717
|
+
};
|
|
710
718
|
count: {
|
|
711
719
|
type: import("vue").PropType<number>;
|
|
712
720
|
default: number;
|
|
@@ -728,6 +736,7 @@ declare const DataGridTypes: () => (({
|
|
|
728
736
|
default: string;
|
|
729
737
|
};
|
|
730
738
|
}>>, {
|
|
739
|
+
testId: string;
|
|
731
740
|
count: number;
|
|
732
741
|
totalCount: number;
|
|
733
742
|
displayingText: string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
|
|
2
|
-
import { FeedbackVariant } from '@/components/shared/commonTypes';
|
|
2
|
+
import { FeedbackVariant, MaxLengthCounterPositions } from '@/components/shared/commonTypes';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
label?: string;
|
|
8
8
|
maxLength?: number;
|
|
9
|
+
maxLengthCounterPosition?: MaxLengthCounterPositions;
|
|
9
10
|
mandatory?: boolean;
|
|
10
11
|
hoverHelpText?: string;
|
|
11
12
|
hoverHelpTextPlacement?: TooltipPositions;
|
|
@@ -21,6 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
22
|
disabled: boolean;
|
|
22
23
|
label: string;
|
|
23
24
|
maxLength: any;
|
|
25
|
+
maxLengthCounterPosition: string;
|
|
24
26
|
mandatory: boolean;
|
|
25
27
|
hoverHelpText: string;
|
|
26
28
|
hoverHelpTextPlacement: string;
|
|
@@ -38,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
38
40
|
disabled?: boolean;
|
|
39
41
|
label?: string;
|
|
40
42
|
maxLength?: number;
|
|
43
|
+
maxLengthCounterPosition?: MaxLengthCounterPositions;
|
|
41
44
|
mandatory?: boolean;
|
|
42
45
|
hoverHelpText?: string;
|
|
43
46
|
hoverHelpTextPlacement?: TooltipPositions;
|
|
@@ -53,6 +56,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
53
56
|
disabled: boolean;
|
|
54
57
|
label: string;
|
|
55
58
|
maxLength: any;
|
|
59
|
+
maxLengthCounterPosition: string;
|
|
56
60
|
mandatory: boolean;
|
|
57
61
|
hoverHelpText: string;
|
|
58
62
|
hoverHelpTextPlacement: string;
|
|
@@ -76,6 +80,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
76
80
|
maxLength: number;
|
|
77
81
|
modelValue: string;
|
|
78
82
|
placeholder: string;
|
|
83
|
+
maxLengthCounterPosition: MaxLengthCounterPositions;
|
|
79
84
|
feedbackText: string;
|
|
80
85
|
feedbackVariant: FeedbackVariant;
|
|
81
86
|
showFeedbackTextIcon: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./TextAreaV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TextAreaV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4114ef89"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|