@ironsource/shared-ui 2.0.2-rc.3 → 2.0.2-rc.5
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_28bb325a_lang.css +1 -0
- package/components/ThemeWrapper/index.d.ts +2 -2
- package/components/ThemeWrapper/index.js +4 -4
- package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
- package/components/appTrigger/index.d.ts +20 -20
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/ScrollButton.vue.d.ts +1 -1
- package/components/button/v3/index.d.ts +23 -23
- package/components/button/v4/ButtonV4.vue.d.ts +12 -12
- package/components/button/v4/IconButtonV4.vue.d.ts +8 -8
- package/components/button/v4/index.d.ts +116 -116
- package/components/checkbox/v3/index.d.ts +12 -12
- 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/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
- package/components/dateRange/index.d.ts +20 -20
- package/components/dialog/v3/Dialog.vue.d.ts +2 -2
- package/components/dialog/v3/index.d.ts +25 -25
- package/components/dialog/v4/DialogV4.vue.d.ts +2 -2
- package/components/dialog/v4/index.d.ts +25 -25
- package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
- package/components/dropdown/v3/Option.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +111 -111
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +7 -7
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +6 -6
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +13 -13
- package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -11
- package/components/dropdown/v4/OptionV4.vue.d.ts +4 -4
- package/components/dropdown/v4/index.d.ts +325 -325
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
- package/components/filterDropdown/index.d.ts +9 -9
- package/components/icon/v4/IconV4.vue.d.ts +3 -3
- package/components/icon/v4/index.d.ts +7 -7
- package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +101 -101
- package/components/input/v3/Input.vue.d.ts +2 -2
- package/components/input/v3/index.d.ts +69 -69
- package/components/input/v4/TextField.vue.d.ts +2 -2
- package/components/input/v4/index.d.ts +53 -53
- package/components/layout/FoldableSection.vue.d.ts +1 -1
- package/components/layout/index.d.ts +20 -20
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +20 -20
- package/components/multibar/MultiBar.vue.d.ts +1 -1
- package/components/multibar/index.d.ts +12 -12
- package/components/popover/Popover.vue.d.ts +5 -5
- package/components/popover/index.d.ts +58 -58
- package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/v3/RadioGroup.vue.d.ts +2 -2
- package/components/radioButton/v3/index.d.ts +42 -42
- package/components/radioButton/v4/RadioButtonV4.vue.d.ts +1 -1
- package/components/radioButton/v4/RadioGroupV4.vue.d.ts +2 -2
- package/components/radioButton/v4/index.d.ts +42 -42
- package/components/search/v3/Search.vue.d.ts +2 -2
- package/components/search/v3/index.d.ts +16 -16
- package/components/search/v4/SearchV4.vue.d.ts +1 -1
- package/components/search/v4/index.d.ts +9 -9
- package/components/shared/FieldHelpText.vue.d.ts +1 -1
- package/components/shared/FieldLabel.vue.d.ts +1 -1
- package/components/snackbar/common/snackbar.common.d.ts +1 -1
- package/components/snackbar/v3/Snackbar.vue.d.ts +6 -6
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +43 -43
- package/components/table/common/Table.common.js +31 -31
- package/components/table/v3/index.d.ts +16 -16
- package/components/table/v4/index.d.ts +16 -16
- package/components/tabs/v3/Tabs.vue.d.ts +1 -1
- package/components/tabs/v3/index.d.ts +20 -20
- package/components/tabs/v4/TabsV4.vue.d.ts +1 -1
- package/components/tabs/v4/index.d.ts +20 -20
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/index.d.ts +9 -9
- 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 +7 -7
- package/components/toggle/v4/index.d.ts +34 -34
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/index.d.ts +34 -34
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/index.d.ts +34 -34
- package/components/typography/Heading.vue.d.ts +1 -1
- package/components/typography/index.d.ts +20 -20
- package/composables/useStorage.js +9 -10
- package/index.d.ts +1641 -1833
- package/index.js +105 -109
- package/package.json +2 -10
- package/testids/index.d.ts +0 -8
- package/testids/index.js +11 -13
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_44158e5f_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_5afbd3dd_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css +0 -1
- package/components/appHeader/AppHeader.vue.d.ts +0 -49
- package/components/appHeader/AppHeader.vue.js +0 -7
- package/components/appHeader/AppHeader.vue2.js +0 -58
- package/components/appHeader/index.d.ts +0 -61
- package/components/appHeader/index.js +0 -6
- package/components/inlineCopy/InlineCopy.vue.d.ts +0 -39
- package/components/inlineCopy/InlineCopy.vue.js +0 -7
- package/components/inlineCopy/InlineCopy.vue2.js +0 -60
- package/components/inlineCopy/index.d.ts +0 -39
- package/components/inlineCopy/index.js +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useSlots as z, ref as a, provide as G, computed as s, onMounted as K, nextTick as N } from "vue";
|
|
2
2
|
import { useVirtualList as V, useInfiniteScroll as j } from "@vueuse/core";
|
|
3
3
|
import { TableContext as q } from "./TableContext.js";
|
|
4
4
|
const F = 46, J = 46, Z = (o, u) => {
|
|
5
|
-
const c = a([]);
|
|
6
|
-
|
|
5
|
+
const v = z(), c = a([]);
|
|
6
|
+
G(q, {
|
|
7
7
|
onClose({ rowIndex: t, cellIndex: e, value: n } = {}) {
|
|
8
8
|
n && (c.value = [...c.value, t], u("saveRow", {
|
|
9
9
|
rowIndex: t,
|
|
@@ -11,37 +11,37 @@ const F = 46, J = 46, Z = (o, u) => {
|
|
|
11
11
|
value: n,
|
|
12
12
|
confirm: () => {
|
|
13
13
|
c.value = c.value.filter(
|
|
14
|
-
(
|
|
14
|
+
(i) => i !== t
|
|
15
15
|
);
|
|
16
16
|
}
|
|
17
17
|
}));
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
const
|
|
21
|
-
const t = (
|
|
20
|
+
const x = s(() => !!o.selection), T = s(() => {
|
|
21
|
+
const t = (x.value ? `${J}px ` : "") + (g.value ? `${F}px ` : "");
|
|
22
22
|
return o.columns.reduce((e, n) => {
|
|
23
|
-
const
|
|
24
|
-
return `${e} ${
|
|
23
|
+
const i = n.width ? `${n.width}px` : `${n.colSpan || 1}fr`;
|
|
24
|
+
return `${e} ${i}`;
|
|
25
25
|
}, t);
|
|
26
|
-
}), R = a(null), y =
|
|
26
|
+
}), g = s(() => !!v.expanded), R = a(null), y = s(() => Array(o.loadingRowCount).fill(
|
|
27
27
|
Array(o.columns.length).fill("")
|
|
28
|
-
)),
|
|
29
|
-
itemHeight: (t) =>
|
|
30
|
-
}),
|
|
31
|
-
l.onScroll(),
|
|
28
|
+
)), H = s(() => o.isLoading ? [...o.rows, ...y.value] : o.rows), { list: C, containerProps: l, wrapperProps: $ } = V(H, {
|
|
29
|
+
itemHeight: g.value ? (t) => w[t] ?? o.rowHeight : o.rowHeight
|
|
30
|
+
}), b = a(null), h = a(0), k = s(() => !!v.search), B = (t) => {
|
|
31
|
+
l.onScroll(), h.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, u("onScroll", t.target.scrollTop);
|
|
32
32
|
};
|
|
33
33
|
K(() => {
|
|
34
|
-
|
|
34
|
+
h.value = l.ref.value?.getBoundingClientRect().width, o.defaultScrollPosition && setTimeout(() => {
|
|
35
35
|
l.ref.value?.scrollTo({
|
|
36
36
|
top: o.defaultScrollPosition,
|
|
37
37
|
behavior: "smooth"
|
|
38
38
|
});
|
|
39
39
|
}, 300);
|
|
40
40
|
});
|
|
41
|
-
const I =
|
|
42
|
-
const [t] =
|
|
41
|
+
const I = s(() => {
|
|
42
|
+
const [t] = C.value;
|
|
43
43
|
return t && t.index > 0;
|
|
44
|
-
}), O =
|
|
44
|
+
}), O = s(() => l.style), P = s(() => o.columns.reduce((t, e) => (e.isSticky && (t[e.id] = A(e)), t), {}));
|
|
45
45
|
j(
|
|
46
46
|
l.ref,
|
|
47
47
|
() => {
|
|
@@ -61,37 +61,37 @@ const F = 46, J = 46, Z = (o, u) => {
|
|
|
61
61
|
const e = o.sort.sortBy === t.id;
|
|
62
62
|
if (!(t.isSortable || t.isSortable === void 0))
|
|
63
63
|
return;
|
|
64
|
-
let
|
|
65
|
-
e ?
|
|
64
|
+
let i = o.sort.sortOrder, f = o.sort.sortBy;
|
|
65
|
+
e ? i = o.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, u("update:sort", { sortBy: f, sortOrder: i });
|
|
66
66
|
}
|
|
67
67
|
function A(t) {
|
|
68
68
|
const { isSticky: e, width: n } = t;
|
|
69
69
|
if (!e || !n)
|
|
70
70
|
return null;
|
|
71
|
-
const
|
|
71
|
+
const i = o.columns.findIndex((r) => r.id === t.id), f = o.columns.reduce((r, S, m) => m < i ? r + S.width : r, 0), X = o.columns.reduce((r, S, m) => m > i ? r + S.width : r, 0);
|
|
72
72
|
return {
|
|
73
73
|
...t.isStickyRight ? { right: `${X}px` } : { left: `${f}px` },
|
|
74
74
|
zIndex: 1
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
const d = a([]),
|
|
77
|
+
const d = a([]), w = {}, _ = (t) => d.value.includes(t), D = async (t, e) => {
|
|
78
78
|
const n = d.value.indexOf(t);
|
|
79
79
|
if (n === -1) {
|
|
80
80
|
d.value.push(t);
|
|
81
|
-
const
|
|
82
|
-
await N(),
|
|
81
|
+
const i = e.target.closest("tr");
|
|
82
|
+
await N(), i && (w[t] = i.offsetHeight);
|
|
83
83
|
} else
|
|
84
|
-
d.value.splice(n, 1), delete
|
|
85
|
-
},
|
|
84
|
+
d.value.splice(n, 1), delete w[t];
|
|
85
|
+
}, M = s(() => `${o.rowHeight}px`), W = s(
|
|
86
86
|
() => `1 / span ${o.columns.length + 1}`
|
|
87
87
|
);
|
|
88
88
|
return {
|
|
89
|
-
list:
|
|
89
|
+
list: C,
|
|
90
90
|
containerProps: l,
|
|
91
|
-
wrapperProps:
|
|
91
|
+
wrapperProps: $,
|
|
92
92
|
activeRow: R,
|
|
93
93
|
gridColumnTemplate: T,
|
|
94
|
-
floatingActionRef:
|
|
94
|
+
floatingActionRef: b,
|
|
95
95
|
scrollToTop: E,
|
|
96
96
|
toggleSortOrder: L,
|
|
97
97
|
columnsStickyPositions: P,
|
|
@@ -100,9 +100,9 @@ const F = 46, J = 46, Z = (o, u) => {
|
|
|
100
100
|
containerStyle: O,
|
|
101
101
|
onScroll: B,
|
|
102
102
|
savingRows: c,
|
|
103
|
-
floatingActionPosition:
|
|
104
|
-
hasExpandSlot:
|
|
105
|
-
hasCheckboxes:
|
|
103
|
+
floatingActionPosition: h,
|
|
104
|
+
hasExpandSlot: g,
|
|
105
|
+
hasCheckboxes: x,
|
|
106
106
|
toggleExpandRow: D,
|
|
107
107
|
isRowExpanded: _,
|
|
108
108
|
cssRowHeight: M,
|
|
@@ -24,14 +24,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
24
24
|
type: import("vue").PropType<string>;
|
|
25
25
|
required: true;
|
|
26
26
|
};
|
|
27
|
-
columns: {
|
|
28
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
27
|
testId: {
|
|
32
28
|
type: import("vue").PropType<string>;
|
|
33
29
|
default: string;
|
|
34
30
|
};
|
|
31
|
+
columns: {
|
|
32
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
35
|
isLoading: {
|
|
36
36
|
type: import("vue").PropType<boolean>;
|
|
37
37
|
default: boolean;
|
|
@@ -118,14 +118,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
118
118
|
type: import("vue").PropType<string>;
|
|
119
119
|
required: true;
|
|
120
120
|
};
|
|
121
|
-
columns: {
|
|
122
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
123
|
-
required: true;
|
|
124
|
-
};
|
|
125
121
|
testId: {
|
|
126
122
|
type: import("vue").PropType<string>;
|
|
127
123
|
default: string;
|
|
128
124
|
};
|
|
125
|
+
columns: {
|
|
126
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
127
|
+
required: true;
|
|
128
|
+
};
|
|
129
129
|
isLoading: {
|
|
130
130
|
type: import("vue").PropType<boolean>;
|
|
131
131
|
default: boolean;
|
|
@@ -236,14 +236,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
236
236
|
type: import("vue").PropType<string>;
|
|
237
237
|
required: true;
|
|
238
238
|
};
|
|
239
|
-
columns: {
|
|
240
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
241
|
-
required: true;
|
|
242
|
-
};
|
|
243
239
|
testId: {
|
|
244
240
|
type: import("vue").PropType<string>;
|
|
245
241
|
default: string;
|
|
246
242
|
};
|
|
243
|
+
columns: {
|
|
244
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
245
|
+
required: true;
|
|
246
|
+
};
|
|
247
247
|
isLoading: {
|
|
248
248
|
type: import("vue").PropType<boolean>;
|
|
249
249
|
default: boolean;
|
|
@@ -315,14 +315,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
315
315
|
type: import("vue").PropType<string>;
|
|
316
316
|
required: true;
|
|
317
317
|
};
|
|
318
|
-
columns: {
|
|
319
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
320
|
-
required: true;
|
|
321
|
-
};
|
|
322
318
|
testId: {
|
|
323
319
|
type: import("vue").PropType<string>;
|
|
324
320
|
default: string;
|
|
325
321
|
};
|
|
322
|
+
columns: {
|
|
323
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
324
|
+
required: true;
|
|
325
|
+
};
|
|
326
326
|
isLoading: {
|
|
327
327
|
type: import("vue").PropType<boolean>;
|
|
328
328
|
default: boolean;
|
|
@@ -41,10 +41,6 @@ declare const DataGridTypes: () => (({
|
|
|
41
41
|
type: import("vue").PropType<string>;
|
|
42
42
|
default: any;
|
|
43
43
|
};
|
|
44
|
-
columns: {
|
|
45
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
44
|
testId: {
|
|
49
45
|
type: import("vue").PropType<string>;
|
|
50
46
|
default: string;
|
|
@@ -57,6 +53,10 @@ declare const DataGridTypes: () => (({
|
|
|
57
53
|
type: import("vue").PropType<unknown[]>;
|
|
58
54
|
default: any;
|
|
59
55
|
};
|
|
56
|
+
columns: {
|
|
57
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
60
|
searchAutoFocus: {
|
|
61
61
|
type: import("vue").PropType<boolean>;
|
|
62
62
|
default: boolean;
|
|
@@ -169,10 +169,6 @@ declare const DataGridTypes: () => (({
|
|
|
169
169
|
type: import("vue").PropType<string>;
|
|
170
170
|
default: any;
|
|
171
171
|
};
|
|
172
|
-
columns: {
|
|
173
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
174
|
-
required: true;
|
|
175
|
-
};
|
|
176
172
|
testId: {
|
|
177
173
|
type: import("vue").PropType<string>;
|
|
178
174
|
default: string;
|
|
@@ -185,6 +181,10 @@ declare const DataGridTypes: () => (({
|
|
|
185
181
|
type: import("vue").PropType<unknown[]>;
|
|
186
182
|
default: any;
|
|
187
183
|
};
|
|
184
|
+
columns: {
|
|
185
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
186
|
+
required: true;
|
|
187
|
+
};
|
|
188
188
|
searchAutoFocus: {
|
|
189
189
|
type: import("vue").PropType<boolean>;
|
|
190
190
|
default: boolean;
|
|
@@ -333,10 +333,6 @@ declare const DataGridTypes: () => (({
|
|
|
333
333
|
type: import("vue").PropType<string>;
|
|
334
334
|
default: any;
|
|
335
335
|
};
|
|
336
|
-
columns: {
|
|
337
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
338
|
-
required: true;
|
|
339
|
-
};
|
|
340
336
|
testId: {
|
|
341
337
|
type: import("vue").PropType<string>;
|
|
342
338
|
default: string;
|
|
@@ -349,6 +345,10 @@ declare const DataGridTypes: () => (({
|
|
|
349
345
|
type: import("vue").PropType<unknown[]>;
|
|
350
346
|
default: any;
|
|
351
347
|
};
|
|
348
|
+
columns: {
|
|
349
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
350
|
+
required: true;
|
|
351
|
+
};
|
|
352
352
|
searchAutoFocus: {
|
|
353
353
|
type: import("vue").PropType<boolean>;
|
|
354
354
|
default: boolean;
|
|
@@ -446,10 +446,6 @@ declare const DataGridTypes: () => (({
|
|
|
446
446
|
type: import("vue").PropType<string>;
|
|
447
447
|
default: any;
|
|
448
448
|
};
|
|
449
|
-
columns: {
|
|
450
|
-
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
451
|
-
required: true;
|
|
452
|
-
};
|
|
453
449
|
testId: {
|
|
454
450
|
type: import("vue").PropType<string>;
|
|
455
451
|
default: string;
|
|
@@ -462,6 +458,10 @@ declare const DataGridTypes: () => (({
|
|
|
462
458
|
type: import("vue").PropType<unknown[]>;
|
|
463
459
|
default: any;
|
|
464
460
|
};
|
|
461
|
+
columns: {
|
|
462
|
+
type: import("vue").PropType<import("../common/Table.types").Column[]>;
|
|
463
|
+
required: true;
|
|
464
|
+
};
|
|
465
465
|
searchAutoFocus: {
|
|
466
466
|
type: import("vue").PropType<boolean>;
|
|
467
467
|
default: boolean;
|
|
@@ -27,8 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
27
|
"onUpdate:selectedTab"?: (tabId: string | number) => any;
|
|
28
28
|
}, {
|
|
29
29
|
size: "sm" | "md" | "lg" | "xl";
|
|
30
|
-
variant: "fill" | "fix";
|
|
31
30
|
testId: string;
|
|
31
|
+
variant: "fill" | "fix";
|
|
32
32
|
tabsList: Tab[];
|
|
33
33
|
}>, {
|
|
34
34
|
default?(_: {
|
|
@@ -4,22 +4,22 @@ declare const TabsTypes: () => ({
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
size: "sm" | "md" | "lg" | "xl";
|
|
7
|
-
variant: "fill" | "fix";
|
|
8
7
|
testId: string;
|
|
8
|
+
variant: "fill" | "fix";
|
|
9
9
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
size: {
|
|
12
12
|
type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
-
variant: {
|
|
16
|
-
type: import("vue").PropType<"fill" | "fix">;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
15
|
testId: {
|
|
20
16
|
type: import("vue").PropType<string>;
|
|
21
17
|
default: string;
|
|
22
18
|
};
|
|
19
|
+
variant: {
|
|
20
|
+
type: import("vue").PropType<"fill" | "fix">;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
23
|
tabsList: {
|
|
24
24
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
25
25
|
required: true;
|
|
@@ -31,7 +31,7 @@ declare const TabsTypes: () => ({
|
|
|
31
31
|
};
|
|
32
32
|
}>> & {
|
|
33
33
|
"onUpdate:selectedTab"?: (tabId: string | number) => any;
|
|
34
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "
|
|
34
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "testId" | "variant" | "tabsList">;
|
|
35
35
|
$attrs: {
|
|
36
36
|
[x: string]: unknown;
|
|
37
37
|
};
|
|
@@ -50,14 +50,14 @@ declare const TabsTypes: () => ({
|
|
|
50
50
|
type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
|
-
variant: {
|
|
54
|
-
type: import("vue").PropType<"fill" | "fix">;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
53
|
testId: {
|
|
58
54
|
type: import("vue").PropType<string>;
|
|
59
55
|
default: string;
|
|
60
56
|
};
|
|
57
|
+
variant: {
|
|
58
|
+
type: import("vue").PropType<"fill" | "fix">;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
61
|
tabsList: {
|
|
62
62
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
63
63
|
required: true;
|
|
@@ -73,8 +73,8 @@ declare const TabsTypes: () => ({
|
|
|
73
73
|
"update:selectedTab": (tabId: string | number) => void;
|
|
74
74
|
}, string, {
|
|
75
75
|
size: "sm" | "md" | "lg" | "xl";
|
|
76
|
-
variant: "fill" | "fix";
|
|
77
76
|
testId: string;
|
|
77
|
+
variant: "fill" | "fix";
|
|
78
78
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
79
79
|
}, {}, string> & {
|
|
80
80
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -101,14 +101,14 @@ declare const TabsTypes: () => ({
|
|
|
101
101
|
type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
|
-
variant: {
|
|
105
|
-
type: import("vue").PropType<"fill" | "fix">;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
104
|
testId: {
|
|
109
105
|
type: import("vue").PropType<string>;
|
|
110
106
|
default: string;
|
|
111
107
|
};
|
|
108
|
+
variant: {
|
|
109
|
+
type: import("vue").PropType<"fill" | "fix">;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
112
|
tabsList: {
|
|
113
113
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
114
114
|
required: true;
|
|
@@ -129,14 +129,14 @@ declare const TabsTypes: () => ({
|
|
|
129
129
|
type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
|
|
130
130
|
default: string;
|
|
131
131
|
};
|
|
132
|
-
variant: {
|
|
133
|
-
type: import("vue").PropType<"fill" | "fix">;
|
|
134
|
-
default: string;
|
|
135
|
-
};
|
|
136
132
|
testId: {
|
|
137
133
|
type: import("vue").PropType<string>;
|
|
138
134
|
default: string;
|
|
139
135
|
};
|
|
136
|
+
variant: {
|
|
137
|
+
type: import("vue").PropType<"fill" | "fix">;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
140
|
tabsList: {
|
|
141
141
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
142
142
|
required: true;
|
|
@@ -152,8 +152,8 @@ declare const TabsTypes: () => ({
|
|
|
152
152
|
"update:selectedTab": (tabId: string | number) => void;
|
|
153
153
|
}, string, {
|
|
154
154
|
size: "sm" | "md" | "lg" | "xl";
|
|
155
|
-
variant: "fill" | "fix";
|
|
156
155
|
testId: string;
|
|
156
|
+
variant: "fill" | "fix";
|
|
157
157
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
158
158
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
159
159
|
$slots: {
|
|
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
22
|
}>>> & {
|
|
23
23
|
"onUpdate:selectedTab"?: (tabId: string | number) => any;
|
|
24
24
|
}, {
|
|
25
|
-
variant: "page" | "card";
|
|
26
25
|
testId: string;
|
|
26
|
+
variant: "page" | "card";
|
|
27
27
|
tabsList: Tab[];
|
|
28
28
|
}>, {
|
|
29
29
|
"tab-icon"?(_: {
|
|
@@ -3,18 +3,18 @@ declare const TabsTypes: () => ({
|
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
|
-
variant: "page" | "card";
|
|
7
6
|
testId: string;
|
|
7
|
+
variant: "page" | "card";
|
|
8
8
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
9
9
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
variant: {
|
|
11
|
-
type: import("vue").PropType<"page" | "card">;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
testId: {
|
|
15
11
|
type: import("vue").PropType<string>;
|
|
16
12
|
default: string;
|
|
17
13
|
};
|
|
14
|
+
variant: {
|
|
15
|
+
type: import("vue").PropType<"page" | "card">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
tabsList: {
|
|
19
19
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
20
20
|
required: true;
|
|
@@ -26,7 +26,7 @@ declare const TabsTypes: () => ({
|
|
|
26
26
|
};
|
|
27
27
|
}>> & {
|
|
28
28
|
"onUpdate:selectedTab"?: (tabId: string | number) => any;
|
|
29
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
29
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "variant" | "tabsList">;
|
|
30
30
|
$attrs: {
|
|
31
31
|
[x: string]: unknown;
|
|
32
32
|
};
|
|
@@ -41,14 +41,14 @@ declare const TabsTypes: () => ({
|
|
|
41
41
|
$emit: (event: "update:selectedTab", tabId: string | number) => void;
|
|
42
42
|
$el: any;
|
|
43
43
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
variant: {
|
|
45
|
-
type: import("vue").PropType<"page" | "card">;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
44
|
testId: {
|
|
49
45
|
type: import("vue").PropType<string>;
|
|
50
46
|
default: string;
|
|
51
47
|
};
|
|
48
|
+
variant: {
|
|
49
|
+
type: import("vue").PropType<"page" | "card">;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
52
|
tabsList: {
|
|
53
53
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
54
54
|
required: true;
|
|
@@ -63,8 +63,8 @@ declare const TabsTypes: () => ({
|
|
|
63
63
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
64
64
|
"update:selectedTab": (tabId: string | number) => void;
|
|
65
65
|
}, string, {
|
|
66
|
-
variant: "page" | "card";
|
|
67
66
|
testId: string;
|
|
67
|
+
variant: "page" | "card";
|
|
68
68
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
69
69
|
}, {}, string> & {
|
|
70
70
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -87,14 +87,14 @@ declare const TabsTypes: () => ({
|
|
|
87
87
|
$nextTick: typeof import("vue").nextTick;
|
|
88
88
|
$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;
|
|
89
89
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
90
|
-
variant: {
|
|
91
|
-
type: import("vue").PropType<"page" | "card">;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
90
|
testId: {
|
|
95
91
|
type: import("vue").PropType<string>;
|
|
96
92
|
default: string;
|
|
97
93
|
};
|
|
94
|
+
variant: {
|
|
95
|
+
type: import("vue").PropType<"page" | "card">;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
98
|
tabsList: {
|
|
99
99
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
100
100
|
required: true;
|
|
@@ -111,14 +111,14 @@ declare const TabsTypes: () => ({
|
|
|
111
111
|
__isTeleport?: never;
|
|
112
112
|
__isSuspense?: never;
|
|
113
113
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
-
variant: {
|
|
115
|
-
type: import("vue").PropType<"page" | "card">;
|
|
116
|
-
default: string;
|
|
117
|
-
};
|
|
118
114
|
testId: {
|
|
119
115
|
type: import("vue").PropType<string>;
|
|
120
116
|
default: string;
|
|
121
117
|
};
|
|
118
|
+
variant: {
|
|
119
|
+
type: import("vue").PropType<"page" | "card">;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
122
|
tabsList: {
|
|
123
123
|
type: import("vue").PropType<import("../common/Tabs.types").Tab[]>;
|
|
124
124
|
required: true;
|
|
@@ -133,8 +133,8 @@ declare const TabsTypes: () => ({
|
|
|
133
133
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
134
134
|
"update:selectedTab": (tabId: string | number) => void;
|
|
135
135
|
}, string, {
|
|
136
|
-
variant: "page" | "card";
|
|
137
136
|
testId: string;
|
|
137
|
+
variant: "page" | "card";
|
|
138
138
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
139
139
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
140
140
|
$slots: {
|
|
@@ -36,8 +36,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
36
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
37
37
|
}, {
|
|
38
38
|
label: string;
|
|
39
|
-
disabled: boolean;
|
|
40
39
|
testId: string;
|
|
40
|
+
disabled: boolean;
|
|
41
41
|
modelValue: string;
|
|
42
42
|
placeholder: string;
|
|
43
43
|
feedbackHelpText: string;
|
|
@@ -3,14 +3,14 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
3
3
|
type: import("vue").PropType<string>;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
disabled: {
|
|
7
|
-
type: import("vue").PropType<boolean>;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
6
|
testId: {
|
|
11
7
|
type: import("vue").PropType<string>;
|
|
12
8
|
default: string;
|
|
13
9
|
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: import("vue").PropType<boolean>;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
14
|
modelValue: {
|
|
15
15
|
type: import("vue").PropType<string>;
|
|
16
16
|
default: string;
|
|
@@ -34,14 +34,14 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
34
34
|
type: import("vue").PropType<string>;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
|
-
disabled: {
|
|
38
|
-
type: import("vue").PropType<boolean>;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
37
|
testId: {
|
|
42
38
|
type: import("vue").PropType<string>;
|
|
43
39
|
default: string;
|
|
44
40
|
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
45
|
modelValue: {
|
|
46
46
|
type: import("vue").PropType<string>;
|
|
47
47
|
default: string;
|
|
@@ -62,8 +62,8 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
62
62
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
63
63
|
}, {
|
|
64
64
|
label: string;
|
|
65
|
-
disabled: boolean;
|
|
66
65
|
testId: string;
|
|
66
|
+
disabled: boolean;
|
|
67
67
|
modelValue: string;
|
|
68
68
|
placeholder: string;
|
|
69
69
|
feedbackHelpText: string;
|
|
@@ -41,9 +41,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
41
41
|
}>>> & {
|
|
42
42
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
43
43
|
}, {
|
|
44
|
-
color: string;
|
|
45
44
|
testId: string;
|
|
46
45
|
helperText: string;
|
|
46
|
+
color: string;
|
|
47
47
|
isLoading: boolean;
|
|
48
48
|
errorText: string;
|
|
49
49
|
activeText: string;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
declare const ToggleTypes: () => import("vue").DefineComponent<{
|
|
2
|
-
color: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
2
|
testId: {
|
|
7
3
|
type: import("vue").PropType<string>;
|
|
8
4
|
default: string;
|
|
@@ -15,6 +11,10 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
|
|
|
15
11
|
type: import("vue").PropType<string>;
|
|
16
12
|
default: any;
|
|
17
13
|
};
|
|
14
|
+
color: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
isLoading: {
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
20
|
default: boolean;
|
|
@@ -38,10 +38,6 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
|
|
|
38
38
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
39
|
"update:modelValue": (value: boolean) => void;
|
|
40
40
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
color: {
|
|
42
|
-
type: import("vue").PropType<string>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
41
|
testId: {
|
|
46
42
|
type: import("vue").PropType<string>;
|
|
47
43
|
default: string;
|
|
@@ -54,6 +50,10 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
|
|
|
54
50
|
type: import("vue").PropType<string>;
|
|
55
51
|
default: any;
|
|
56
52
|
};
|
|
53
|
+
color: {
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
57
|
isLoading: {
|
|
58
58
|
type: import("vue").PropType<boolean>;
|
|
59
59
|
default: boolean;
|
|
@@ -77,9 +77,9 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
|
|
|
77
77
|
}>> & {
|
|
78
78
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
79
79
|
}, {
|
|
80
|
-
color: string;
|
|
81
80
|
testId: string;
|
|
82
81
|
helperText: string;
|
|
82
|
+
color: string;
|
|
83
83
|
isLoading: boolean;
|
|
84
84
|
errorText: string;
|
|
85
85
|
activeText: string;
|