@ironsource/shared-ui 2.1.12-rc.31 → 2.1.12-rc.33
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_3da25a36_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_f871962e_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_36ec94a7_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_5160f12d_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +10 -0
- package/components/chart/Chart.vue.js +2 -2
- package/components/chart/Chart.vue2.js +29 -25
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +34 -33
- package/components/chart/ChartPlane.vue.d.ts +10 -0
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +158 -147
- package/components/chart/ChartStoryArgs.d.ts +12 -0
- package/components/chart/TooltipHeader.vue.js +2 -2
- package/components/chart/TooltipHeader.vue2.js +21 -20
- package/components/chart/consts.d.ts +4 -0
- package/components/chart/consts.js +30 -26
- package/components/chart/index.d.ts +39 -1
- package/components/chart/mockData.d.ts +15 -0
- package/components/chart/types.d.ts +2 -1
- package/components/chart/types.js +5 -5
- package/components/chart/utils/utils.js +14 -13
- package/components/dateRange/common/DateRange.common.js +60 -60
- package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/v3/RadioButton.vue.js +3 -3
- package/components/radioButton/v3/RadioButton.vue2.js +42 -39
- package/components/radioButton/v3/index.d.ts +20 -1
- package/components/table/v4/DataGrid.vue.d.ts +4 -4
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +237 -245
- package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
- package/components/table/v4/DataGridHeader.vue.js +7 -0
- package/components/table/v4/DataGridHeader.vue2.js +82 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
- package/components/table/v4/MultipleDataGrid.vue.d.ts +6 -5
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
- package/components/table/v4/index.d.ts +552 -305
- package/components/table/v4/index.js +7 -4
- package/components/table/v4/storyUtils.d.ts +8 -0
- package/index.d.ts +1578 -1085
- package/index.js +1 -1
- package/package.json +1 -1
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +38 -21
- package/Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../../RadioButton.
|
|
2
|
-
import
|
|
3
|
-
import { useRadio as
|
|
4
|
-
import { RadioTestIdModifiers as
|
|
5
|
-
import { useTestIdAttrs as
|
|
6
|
-
const
|
|
1
|
+
import "../../../RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css"; import { defineComponent as E, computed as I, openBlock as u, createElementBlock as C, normalizeClass as T, unref as e, createElementVNode as o, withDirectives as N, mergeProps as i, isRef as g, vModelRadio as w, renderSlot as z, createVNode as A, withCtx as m, createTextVNode as f, toDisplayString as c, createBlock as v, createCommentVNode as R } from "vue";
|
|
2
|
+
import p from "../../typography/Text.vue.js";
|
|
3
|
+
import { useRadio as D } from "../common/useRadio.js";
|
|
4
|
+
import { RadioTestIdModifiers as r } from "../../../testids/index.js";
|
|
5
|
+
import { useTestIdAttrs as L } from "../../../utils/testIds.js";
|
|
6
|
+
const $ = { class: "wrapper" }, F = ["value", "name", "disabled"], U = /* @__PURE__ */ E({
|
|
7
7
|
__name: "RadioButton",
|
|
8
8
|
props: {
|
|
9
9
|
label: { default: "" },
|
|
@@ -11,62 +11,65 @@ const D = { class: "wrapper" }, L = ["value", "name", "disabled"], O = /* @__PUR
|
|
|
11
11
|
helperText: { default: "" },
|
|
12
12
|
errorText: { default: "" },
|
|
13
13
|
modelValue: { default: void 0 },
|
|
14
|
-
testId: { default: "" }
|
|
14
|
+
testId: { default: "" },
|
|
15
|
+
disabledButton: { type: Boolean, default: !1 }
|
|
15
16
|
},
|
|
16
17
|
emits: ["update:modelValue", "change"],
|
|
17
|
-
setup(t, { emit:
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
),
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
setup(t, { emit: B }) {
|
|
19
|
+
const d = t, { radioRef: V, focus: x, disabled: h, modelValue: a, radioGroup: k } = D(
|
|
20
|
+
d,
|
|
21
|
+
B
|
|
22
|
+
), s = L(d.testId, r), b = I(
|
|
23
|
+
() => h.value || d.disabledButton
|
|
24
|
+
);
|
|
25
|
+
return (y, l) => (u(), C("label", {
|
|
26
|
+
class: T(["radio-button", { "radio-button--disabled": e(b) }])
|
|
24
27
|
}, [
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
o("span", $, [
|
|
29
|
+
N(o("input", i({
|
|
27
30
|
ref_key: "radioRef",
|
|
28
|
-
ref:
|
|
29
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
31
|
+
ref: V,
|
|
32
|
+
"onUpdate:modelValue": l[0] || (l[0] = (n) => g(a) ? a.value = n : null),
|
|
30
33
|
value: t.label,
|
|
31
34
|
name: t.name || e(k)?.name,
|
|
32
35
|
type: "radio",
|
|
33
|
-
disabled: e(
|
|
34
|
-
}, e(
|
|
35
|
-
onFocus: l[1] || (l[1] = (
|
|
36
|
-
onBlur: l[2] || (l[2] = (
|
|
37
|
-
}), null, 16,
|
|
38
|
-
[
|
|
36
|
+
disabled: e(b)
|
|
37
|
+
}, e(s)[e(r).FIELD], {
|
|
38
|
+
onFocus: l[1] || (l[1] = (n) => x.value = !0),
|
|
39
|
+
onBlur: l[2] || (l[2] = (n) => x.value = !1)
|
|
40
|
+
}), null, 16, F), [
|
|
41
|
+
[w, e(a)]
|
|
39
42
|
]),
|
|
40
|
-
|
|
41
|
-
class:
|
|
43
|
+
o("span", {
|
|
44
|
+
class: T([{ "circle--selected": e(a) === t.label }, "circle"])
|
|
42
45
|
}, null, 2)
|
|
43
46
|
]),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
default:
|
|
48
|
-
|
|
47
|
+
o("span", i({ class: "label" }, e(s)[e(r).LABEL]), [
|
|
48
|
+
z(y.$slots, "default", {}, () => [
|
|
49
|
+
A(p, { "is-truncated": "" }, {
|
|
50
|
+
default: m(() => [
|
|
51
|
+
f(c(t.label), 1)
|
|
49
52
|
]),
|
|
50
53
|
_: 1
|
|
51
54
|
})
|
|
52
55
|
], !0),
|
|
53
|
-
!t.errorText && t.helperText ? (
|
|
56
|
+
!t.errorText && t.helperText ? (u(), v(p, {
|
|
54
57
|
key: 0,
|
|
55
58
|
class: "helper-text--text helper-text",
|
|
56
59
|
size: "caption"
|
|
57
60
|
}, {
|
|
58
|
-
default:
|
|
59
|
-
|
|
61
|
+
default: m(() => [
|
|
62
|
+
f(c(t.helperText), 1)
|
|
60
63
|
]),
|
|
61
64
|
_: 1
|
|
62
65
|
})) : R("", !0),
|
|
63
|
-
t.errorText ? (
|
|
66
|
+
t.errorText ? (u(), v(p, i({
|
|
64
67
|
key: 1,
|
|
65
68
|
size: "caption",
|
|
66
69
|
class: "helper-text--error helper-text"
|
|
67
|
-
}, e(
|
|
68
|
-
default:
|
|
69
|
-
|
|
70
|
+
}, e(s)[e(r).ERROR_TEXT]), {
|
|
71
|
+
default: m(() => [
|
|
72
|
+
f(c(t.errorText), 1)
|
|
70
73
|
]),
|
|
71
74
|
_: 1
|
|
72
75
|
}, 16)) : R("", !0)
|
|
@@ -75,5 +78,5 @@ const D = { class: "wrapper" }, L = ["value", "name", "disabled"], O = /* @__PUR
|
|
|
75
78
|
}
|
|
76
79
|
});
|
|
77
80
|
export {
|
|
78
|
-
|
|
81
|
+
U as default
|
|
79
82
|
};
|
|
@@ -11,6 +11,7 @@ declare const RadioButtonTypes: () => (({
|
|
|
11
11
|
modelValue: string;
|
|
12
12
|
helperText: string;
|
|
13
13
|
errorText: string;
|
|
14
|
+
disabledButton: boolean;
|
|
14
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
15
16
|
name: {
|
|
16
17
|
type: import("vue").PropType<string>;
|
|
@@ -37,10 +38,14 @@ declare const RadioButtonTypes: () => (({
|
|
|
37
38
|
type: import("vue").PropType<string>;
|
|
38
39
|
default: string;
|
|
39
40
|
};
|
|
41
|
+
disabledButton: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
40
45
|
}>> & {
|
|
41
46
|
onChange?: (...args: any[]) => any;
|
|
42
47
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
43
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "label" | "testId" | "modelValue" | "helperText" | "errorText">;
|
|
48
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "name" | "label" | "testId" | "modelValue" | "helperText" | "errorText" | "disabledButton">;
|
|
44
49
|
$attrs: {
|
|
45
50
|
[x: string]: unknown;
|
|
46
51
|
};
|
|
@@ -80,6 +85,10 @@ declare const RadioButtonTypes: () => (({
|
|
|
80
85
|
type: import("vue").PropType<string>;
|
|
81
86
|
default: string;
|
|
82
87
|
};
|
|
88
|
+
disabledButton: {
|
|
89
|
+
type: import("vue").PropType<boolean>;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
83
92
|
}>> & {
|
|
84
93
|
onChange?: (...args: any[]) => any;
|
|
85
94
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
@@ -93,6 +102,7 @@ declare const RadioButtonTypes: () => (({
|
|
|
93
102
|
modelValue: string;
|
|
94
103
|
helperText: string;
|
|
95
104
|
errorText: string;
|
|
105
|
+
disabledButton: boolean;
|
|
96
106
|
}, {}, string> & {
|
|
97
107
|
beforeCreate?: (() => void) | (() => void)[];
|
|
98
108
|
created?: (() => void) | (() => void)[];
|
|
@@ -139,6 +149,10 @@ declare const RadioButtonTypes: () => (({
|
|
|
139
149
|
type: import("vue").PropType<string>;
|
|
140
150
|
default: string;
|
|
141
151
|
};
|
|
152
|
+
disabledButton: {
|
|
153
|
+
type: import("vue").PropType<boolean>;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
142
156
|
}>> & {
|
|
143
157
|
onChange?: (...args: any[]) => any;
|
|
144
158
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
@@ -172,6 +186,10 @@ declare const RadioButtonTypes: () => (({
|
|
|
172
186
|
type: import("vue").PropType<string>;
|
|
173
187
|
default: string;
|
|
174
188
|
};
|
|
189
|
+
disabledButton: {
|
|
190
|
+
type: import("vue").PropType<boolean>;
|
|
191
|
+
default: boolean;
|
|
192
|
+
};
|
|
175
193
|
}>> & {
|
|
176
194
|
onChange?: (...args: any[]) => any;
|
|
177
195
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
@@ -185,6 +203,7 @@ declare const RadioButtonTypes: () => (({
|
|
|
185
203
|
modelValue: string;
|
|
186
204
|
helperText: string;
|
|
187
205
|
errorText: string;
|
|
206
|
+
disabledButton: boolean;
|
|
188
207
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
189
208
|
$slots: {
|
|
190
209
|
default?(_: {}): any;
|
|
@@ -146,9 +146,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
146
146
|
"onUpdate:sort"?: (newSort: Sort) => any;
|
|
147
147
|
onSaveRow?: (args_0: SaveRowEvent) => any;
|
|
148
148
|
onOnClearSearch?: () => any;
|
|
149
|
+
onClickRow?: (rowIndex: number) => any;
|
|
149
150
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
150
151
|
onSelectRow?: (value: boolean) => any;
|
|
151
|
-
onClickRow?: (rowIndex: number) => any;
|
|
152
152
|
}, {
|
|
153
153
|
sort: Sort;
|
|
154
154
|
title: string;
|
|
@@ -172,11 +172,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
172
172
|
defaultScrollPosition: number;
|
|
173
173
|
getRowId: (row: Row, index: number) => unknown;
|
|
174
174
|
getRowKey: (row: Row, index: number) => string | number;
|
|
175
|
-
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
176
175
|
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
177
|
-
helpTooltipVariant: "icon" | "underline";
|
|
178
176
|
rowCustomClassKey: string;
|
|
179
177
|
rowDataKey: string;
|
|
178
|
+
helpTooltipVariant: "icon" | "underline";
|
|
179
|
+
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
180
180
|
isSelectionSticky: boolean;
|
|
181
181
|
isSelectionBordered: boolean;
|
|
182
182
|
}>, Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
|
|
@@ -193,8 +193,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
193
193
|
rowIndex: number;
|
|
194
194
|
}) => any>> & {
|
|
195
195
|
title?(_: {}): any;
|
|
196
|
-
"table-header-pre-search"?(_: {}): any;
|
|
197
196
|
search?(_: {}): any;
|
|
197
|
+
"table-header-pre-search"?(_: {}): any;
|
|
198
198
|
"table-header-actions"?(_: {}): any;
|
|
199
199
|
"select-all-checkbox"?(_: {}): any;
|
|
200
200
|
loader?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_36ec94a7_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-36ec94a7"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|