@ironsource/shared-ui 2.2.0-test.3 → 2.2.0-test.4
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/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/IconButtonV4.vue2.js +1 -46
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +10 -8
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -49
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +33 -31
- package/components/chart/ChartStoryArgs.d.ts +6 -0
- package/components/chart/index.d.ts +20 -1
- package/components/chip/v4/ChipV4.vue2.js +1 -1
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/includeExclude/index.d.ts +16 -16
- package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +80 -51
- package/components/inlineCopy/index.d.ts +27 -0
- package/components/popover/v3/Popover.vue2.js +1 -38
- package/components/radioButton/v3/RadioButton.vue2.js +1 -82
- package/components/radioButton/v3/RadioGroup.vue2.js +1 -29
- package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -80
- package/components/radioButton/v4/RadioGroupV4.vue2.js +1 -29
- package/components/snackbar/common/notify.js +25 -25
- package/components/snackbar/common/snackbar.common.js +19 -19
- package/components/snackbar/common/snackbar.types.d.ts +2 -1
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
- package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
- package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +59 -59
- package/components/table-cells/v3/Editable.vue.d.ts +1 -1
- package/components/table-cells/v3/index.d.ts +20 -20
- package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
- package/components/table-cells/v4/EditableV4.vue2.js +1 -57
- package/components/table-cells/v4/index.d.ts +20 -20
- package/index.d.ts +94 -40
- package/index.js +1 -1
- package/package.json +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
|
@@ -4,14 +4,18 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
cell: string;
|
|
7
|
+
isLoading: boolean;
|
|
7
8
|
isEditing: boolean;
|
|
8
9
|
validateFunction: (value: unknown) => string | boolean;
|
|
9
|
-
isLoading: boolean;
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
cell: {
|
|
12
12
|
type: import("vue").PropType<string>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
isLoading: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
isEditing: {
|
|
16
20
|
type: import("vue").PropType<boolean>;
|
|
17
21
|
default: boolean;
|
|
@@ -20,10 +24,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
20
24
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
21
25
|
default: () => false;
|
|
22
26
|
};
|
|
23
|
-
isLoading: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
27
|
rowIndex: {
|
|
28
28
|
type: import("vue").PropType<number>;
|
|
29
29
|
required: true;
|
|
@@ -32,7 +32,7 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
32
32
|
type: import("vue").PropType<number>;
|
|
33
33
|
required: true;
|
|
34
34
|
};
|
|
35
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "
|
|
35
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isLoading" | "isEditing" | "validateFunction">;
|
|
36
36
|
$attrs: {
|
|
37
37
|
[x: string]: unknown;
|
|
38
38
|
};
|
|
@@ -51,6 +51,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
51
51
|
type: import("vue").PropType<string>;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
+
isLoading: {
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
54
58
|
isEditing: {
|
|
55
59
|
type: import("vue").PropType<boolean>;
|
|
56
60
|
default: boolean;
|
|
@@ -59,10 +63,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
59
63
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
60
64
|
default: () => false;
|
|
61
65
|
};
|
|
62
|
-
isLoading: {
|
|
63
|
-
type: import("vue").PropType<boolean>;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
66
|
rowIndex: {
|
|
67
67
|
type: import("vue").PropType<number>;
|
|
68
68
|
required: true;
|
|
@@ -73,9 +73,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
73
73
|
};
|
|
74
74
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
75
75
|
cell: string;
|
|
76
|
+
isLoading: boolean;
|
|
76
77
|
isEditing: boolean;
|
|
77
78
|
validateFunction: (value: unknown) => string | boolean;
|
|
78
|
-
isLoading: boolean;
|
|
79
79
|
}, {}, string> & {
|
|
80
80
|
beforeCreate?: (() => void) | (() => void)[];
|
|
81
81
|
created?: (() => void) | (() => void)[];
|
|
@@ -101,6 +101,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
101
101
|
type: import("vue").PropType<string>;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
|
+
isLoading: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
104
108
|
isEditing: {
|
|
105
109
|
type: import("vue").PropType<boolean>;
|
|
106
110
|
default: boolean;
|
|
@@ -109,10 +113,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
109
113
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
110
114
|
default: () => false;
|
|
111
115
|
};
|
|
112
|
-
isLoading: {
|
|
113
|
-
type: import("vue").PropType<boolean>;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
116
|
rowIndex: {
|
|
117
117
|
type: import("vue").PropType<number>;
|
|
118
118
|
required: true;
|
|
@@ -130,6 +130,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
130
130
|
type: import("vue").PropType<string>;
|
|
131
131
|
default: string;
|
|
132
132
|
};
|
|
133
|
+
isLoading: {
|
|
134
|
+
type: import("vue").PropType<boolean>;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
133
137
|
isEditing: {
|
|
134
138
|
type: import("vue").PropType<boolean>;
|
|
135
139
|
default: boolean;
|
|
@@ -138,10 +142,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
138
142
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
139
143
|
default: () => false;
|
|
140
144
|
};
|
|
141
|
-
isLoading: {
|
|
142
|
-
type: import("vue").PropType<boolean>;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
145
|
rowIndex: {
|
|
146
146
|
type: import("vue").PropType<number>;
|
|
147
147
|
required: true;
|
|
@@ -152,9 +152,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
152
152
|
};
|
|
153
153
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
154
154
|
cell: string;
|
|
155
|
+
isLoading: boolean;
|
|
155
156
|
isEditing: boolean;
|
|
156
157
|
validateFunction: (value: unknown) => string | boolean;
|
|
157
|
-
isLoading: boolean;
|
|
158
158
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
159
159
|
$slots: {
|
|
160
160
|
input?(_: {}): any;
|
|
@@ -37,10 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
}>>>, {
|
|
38
38
|
type: "input" | "dropdown";
|
|
39
39
|
cell: string;
|
|
40
|
+
isLoading: boolean;
|
|
40
41
|
withIcons: boolean;
|
|
41
42
|
saveOnClickOutside: boolean;
|
|
42
43
|
validateFunction: (value: unknown) => string | boolean;
|
|
43
|
-
isLoading: boolean;
|
|
44
44
|
displayValue: (option: unknown) => unknown;
|
|
45
45
|
}>, {
|
|
46
46
|
input?(_: {}): any;
|
|
@@ -1,57 +1 @@
|
|
|
1
|
-
import "../../../EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css";
|
|
2
|
-
import { editableCommon as v } from "../common/Editable.common.js";
|
|
3
|
-
import w from "../../typography/v4/Typography.vue.js";
|
|
4
|
-
import x from "../../input/v4/TextField.vue.js";
|
|
5
|
-
import B from "../../icon/v4/IconV4.vue.js";
|
|
6
|
-
import "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
const C = { class: "editable-wrapper" }, E = {
|
|
8
|
-
key: 1,
|
|
9
|
-
class: "editable-content"
|
|
10
|
-
}, S = /* @__PURE__ */ f({
|
|
11
|
-
__name: "EditableV4",
|
|
12
|
-
props: {
|
|
13
|
-
cell: { default: "" },
|
|
14
|
-
isLoading: { type: Boolean, default: !1 },
|
|
15
|
-
rowIndex: null,
|
|
16
|
-
cellIndex: null,
|
|
17
|
-
type: { default: "input" },
|
|
18
|
-
withIcons: { type: Boolean, default: !0 },
|
|
19
|
-
saveOnClickOutside: { type: Boolean, default: !0 },
|
|
20
|
-
validateFunction: { type: Function, default: () => !1 },
|
|
21
|
-
displayValue: { type: Function, default: (e) => e }
|
|
22
|
-
},
|
|
23
|
-
setup(e) {
|
|
24
|
-
const s = e, { onEdit: n, target: c, isEditing: u } = v(s);
|
|
25
|
-
return (l, a) => (o(), i("div", {
|
|
26
|
-
ref_key: "target",
|
|
27
|
-
ref: c,
|
|
28
|
-
class: "editable",
|
|
29
|
-
onClick: a[0] || (a[0] = //@ts-ignore
|
|
30
|
-
(...p) => t(n) && t(n)(...p))
|
|
31
|
-
}, [
|
|
32
|
-
m("div", C, [
|
|
33
|
-
t(u) ? r(l.$slots, "input", { key: 0 }, () => [
|
|
34
|
-
d(t(x))
|
|
35
|
-
], !0) : (o(), i("div", E, [
|
|
36
|
-
r(l.$slots, "content", {}, () => [
|
|
37
|
-
d(t(w), { variant: "body1" }, {
|
|
38
|
-
default: y(() => [
|
|
39
|
-
k(V(e.displayValue(e.cell)), 1)
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
|
-
}),
|
|
43
|
-
e.type === "dropdown" ? (o(), b(t(B), {
|
|
44
|
-
key: 0,
|
|
45
|
-
class: "caret-icon",
|
|
46
|
-
name: "caret-down",
|
|
47
|
-
size: "20px"
|
|
48
|
-
})) : g("", !0)
|
|
49
|
-
], !0)
|
|
50
|
-
]))
|
|
51
|
-
])
|
|
52
|
-
], 512));
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
S as default
|
|
57
|
-
};
|
|
1
|
+
import "../../../EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css";
|
|
@@ -6,10 +6,10 @@ declare const EditableTypes: () => ({
|
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
type: "input" | "dropdown";
|
|
8
8
|
cell: string;
|
|
9
|
+
isLoading: boolean;
|
|
9
10
|
withIcons: boolean;
|
|
10
11
|
saveOnClickOutside: boolean;
|
|
11
12
|
validateFunction: (value: unknown) => string | boolean;
|
|
12
|
-
isLoading: boolean;
|
|
13
13
|
displayValue: (option: unknown) => unknown;
|
|
14
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
type: {
|
|
@@ -21,6 +21,10 @@ declare const EditableTypes: () => ({
|
|
|
21
21
|
type: import("vue").PropType<string>;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
+
isLoading: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
24
28
|
withIcons: {
|
|
25
29
|
type: import("vue").PropType<boolean>;
|
|
26
30
|
default: boolean;
|
|
@@ -33,10 +37,6 @@ declare const EditableTypes: () => ({
|
|
|
33
37
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
34
38
|
default: () => false;
|
|
35
39
|
};
|
|
36
|
-
isLoading: {
|
|
37
|
-
type: import("vue").PropType<boolean>;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
40
|
rowIndex: {
|
|
41
41
|
type: import("vue").PropType<number>;
|
|
42
42
|
required: true;
|
|
@@ -49,7 +49,7 @@ declare const EditableTypes: () => ({
|
|
|
49
49
|
type: import("vue").PropType<(option: unknown) => unknown>;
|
|
50
50
|
default: (cell: unknown) => unknown;
|
|
51
51
|
};
|
|
52
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "cell" | "
|
|
52
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "cell" | "isLoading" | "withIcons" | "saveOnClickOutside" | "validateFunction" | "displayValue">;
|
|
53
53
|
$attrs: {
|
|
54
54
|
[x: string]: unknown;
|
|
55
55
|
};
|
|
@@ -73,6 +73,10 @@ declare const EditableTypes: () => ({
|
|
|
73
73
|
type: import("vue").PropType<string>;
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
76
|
+
isLoading: {
|
|
77
|
+
type: import("vue").PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
76
80
|
withIcons: {
|
|
77
81
|
type: import("vue").PropType<boolean>;
|
|
78
82
|
default: boolean;
|
|
@@ -85,10 +89,6 @@ declare const EditableTypes: () => ({
|
|
|
85
89
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
86
90
|
default: () => false;
|
|
87
91
|
};
|
|
88
|
-
isLoading: {
|
|
89
|
-
type: import("vue").PropType<boolean>;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
92
|
rowIndex: {
|
|
93
93
|
type: import("vue").PropType<number>;
|
|
94
94
|
required: true;
|
|
@@ -104,10 +104,10 @@ declare const EditableTypes: () => ({
|
|
|
104
104
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
105
105
|
type: "input" | "dropdown";
|
|
106
106
|
cell: string;
|
|
107
|
+
isLoading: boolean;
|
|
107
108
|
withIcons: boolean;
|
|
108
109
|
saveOnClickOutside: boolean;
|
|
109
110
|
validateFunction: (value: unknown) => string | boolean;
|
|
110
|
-
isLoading: boolean;
|
|
111
111
|
displayValue: (option: unknown) => unknown;
|
|
112
112
|
}, {}, string> & {
|
|
113
113
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -139,6 +139,10 @@ declare const EditableTypes: () => ({
|
|
|
139
139
|
type: import("vue").PropType<string>;
|
|
140
140
|
default: string;
|
|
141
141
|
};
|
|
142
|
+
isLoading: {
|
|
143
|
+
type: import("vue").PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
142
146
|
withIcons: {
|
|
143
147
|
type: import("vue").PropType<boolean>;
|
|
144
148
|
default: boolean;
|
|
@@ -151,10 +155,6 @@ declare const EditableTypes: () => ({
|
|
|
151
155
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
152
156
|
default: () => false;
|
|
153
157
|
};
|
|
154
|
-
isLoading: {
|
|
155
|
-
type: import("vue").PropType<boolean>;
|
|
156
|
-
default: boolean;
|
|
157
|
-
};
|
|
158
158
|
rowIndex: {
|
|
159
159
|
type: import("vue").PropType<number>;
|
|
160
160
|
required: true;
|
|
@@ -181,6 +181,10 @@ declare const EditableTypes: () => ({
|
|
|
181
181
|
type: import("vue").PropType<string>;
|
|
182
182
|
default: string;
|
|
183
183
|
};
|
|
184
|
+
isLoading: {
|
|
185
|
+
type: import("vue").PropType<boolean>;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
184
188
|
withIcons: {
|
|
185
189
|
type: import("vue").PropType<boolean>;
|
|
186
190
|
default: boolean;
|
|
@@ -193,10 +197,6 @@ declare const EditableTypes: () => ({
|
|
|
193
197
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
194
198
|
default: () => false;
|
|
195
199
|
};
|
|
196
|
-
isLoading: {
|
|
197
|
-
type: import("vue").PropType<boolean>;
|
|
198
|
-
default: boolean;
|
|
199
|
-
};
|
|
200
200
|
rowIndex: {
|
|
201
201
|
type: import("vue").PropType<number>;
|
|
202
202
|
required: true;
|
|
@@ -212,10 +212,10 @@ declare const EditableTypes: () => ({
|
|
|
212
212
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
213
213
|
type: "input" | "dropdown";
|
|
214
214
|
cell: string;
|
|
215
|
+
isLoading: boolean;
|
|
215
216
|
withIcons: boolean;
|
|
216
217
|
saveOnClickOutside: boolean;
|
|
217
218
|
validateFunction: (value: unknown) => string | boolean;
|
|
218
|
-
isLoading: boolean;
|
|
219
219
|
displayValue: (option: unknown) => unknown;
|
|
220
220
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
221
221
|
$slots: {
|