@ironsource/shared-ui 2.2.0-rc.12 → 2.2.0-rc.14
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/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_b16780cd_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
- package/components/dateRange/common/CalendarMonth.common.js +46 -41
- package/components/dateRange/common/DateRange.common.d.ts +1 -0
- package/components/dateRange/common/DateRange.common.js +38 -37
- package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
- package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
- package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
- package/components/dateRange/v3/DateRange.vue.d.ts +5 -0
- package/components/dateRange/v3/DateRange.vue.js +2 -2
- package/components/dateRange/v3/DateRange.vue2.js +2 -1
- package/components/dateRange/v3/index.d.ts +20 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +5 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
- package/components/dateRange/v4/index.d.ts +20 -1
- package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -86
- package/components/table/v4/DataGrid.vue.d.ts +2 -0
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +133 -132
- package/components/table/v4/index.d.ts +7 -1
- package/index.d.ts +54 -4
- package/index.js +1 -1
- package/package.json +1 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_46851fcb_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
|
@@ -17,6 +17,7 @@ declare const DateRangeTypes: () => ({
|
|
|
17
17
|
openOnTop: boolean;
|
|
18
18
|
showPresets: boolean;
|
|
19
19
|
maxDate: Date;
|
|
20
|
+
minDate: Date;
|
|
20
21
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
21
22
|
testId: {
|
|
22
23
|
type: import("vue").PropType<string>;
|
|
@@ -84,6 +85,10 @@ declare const DateRangeTypes: () => ({
|
|
|
84
85
|
type: import("vue").PropType<Date>;
|
|
85
86
|
default: any;
|
|
86
87
|
};
|
|
88
|
+
minDate: {
|
|
89
|
+
type: import("vue").PropType<Date>;
|
|
90
|
+
default: any;
|
|
91
|
+
};
|
|
87
92
|
}>> & {
|
|
88
93
|
onOpened?: (...args: any[]) => any;
|
|
89
94
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -91,7 +96,7 @@ declare const DateRangeTypes: () => ({
|
|
|
91
96
|
onRangeChanged?: (...args: any[]) => any;
|
|
92
97
|
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
93
98
|
onDismissed?: (...args: any[]) => any;
|
|
94
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "allowedDays" | "uniqueId" | "includeToday" | "dateFormat" | "types" | "maxDaysInRange" | "datePresetList" | "regex" | "initialType" | "openOnTop" | "showPresets" | "maxDate">;
|
|
99
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "allowedDays" | "uniqueId" | "includeToday" | "dateFormat" | "types" | "maxDaysInRange" | "datePresetList" | "regex" | "initialType" | "openOnTop" | "showPresets" | "maxDate" | "minDate">;
|
|
95
100
|
$attrs: {
|
|
96
101
|
[x: string]: unknown;
|
|
97
102
|
};
|
|
@@ -172,6 +177,10 @@ declare const DateRangeTypes: () => ({
|
|
|
172
177
|
type: import("vue").PropType<Date>;
|
|
173
178
|
default: any;
|
|
174
179
|
};
|
|
180
|
+
minDate: {
|
|
181
|
+
type: import("vue").PropType<Date>;
|
|
182
|
+
default: any;
|
|
183
|
+
};
|
|
175
184
|
}>> & {
|
|
176
185
|
onOpened?: (...args: any[]) => any;
|
|
177
186
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -201,6 +210,7 @@ declare const DateRangeTypes: () => ({
|
|
|
201
210
|
openOnTop: boolean;
|
|
202
211
|
showPresets: boolean;
|
|
203
212
|
maxDate: Date;
|
|
213
|
+
minDate: Date;
|
|
204
214
|
}, {}, string> & {
|
|
205
215
|
beforeCreate?: (() => void) | (() => void)[];
|
|
206
216
|
created?: (() => void) | (() => void)[];
|
|
@@ -288,6 +298,10 @@ declare const DateRangeTypes: () => ({
|
|
|
288
298
|
type: import("vue").PropType<Date>;
|
|
289
299
|
default: any;
|
|
290
300
|
};
|
|
301
|
+
minDate: {
|
|
302
|
+
type: import("vue").PropType<Date>;
|
|
303
|
+
default: any;
|
|
304
|
+
};
|
|
291
305
|
}>> & {
|
|
292
306
|
onOpened?: (...args: any[]) => any;
|
|
293
307
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -366,6 +380,10 @@ declare const DateRangeTypes: () => ({
|
|
|
366
380
|
type: import("vue").PropType<Date>;
|
|
367
381
|
default: any;
|
|
368
382
|
};
|
|
383
|
+
minDate: {
|
|
384
|
+
type: import("vue").PropType<Date>;
|
|
385
|
+
default: any;
|
|
386
|
+
};
|
|
369
387
|
}>> & {
|
|
370
388
|
onOpened?: (...args: any[]) => any;
|
|
371
389
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -395,6 +413,7 @@ declare const DateRangeTypes: () => ({
|
|
|
395
413
|
openOnTop: boolean;
|
|
396
414
|
showPresets: boolean;
|
|
397
415
|
maxDate: Date;
|
|
416
|
+
minDate: Date;
|
|
398
417
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
399
418
|
$slots: {
|
|
400
419
|
field?(_: {
|
|
@@ -1,86 +1 @@
|
|
|
1
|
-
import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css";
|
|
2
|
-
import { defineComponent as T, computed as N, defineAsyncComponent as b, openBlock as o, createElementBlock as k, mergeProps as s, unref as e, createBlock as n, createCommentVNode as a, createElementVNode as C, renderSlot as p, withCtx as m, createTextVNode as l, toDisplayString as u } from "vue";
|
|
3
|
-
import E from "../../button/v4/ButtonV4.vue.js";
|
|
4
|
-
import "../../button/v4/IconButtonV4.vue.js";
|
|
5
|
-
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
|
-
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
7
|
-
import y from "../../typography/v4/Typography.vue.js";
|
|
8
|
-
import { capitalizeFirstLetter as S, snakeCaseToCamelCase as g } from "../../../utils/string.js";
|
|
9
|
-
import x from "../../icon/v4/IconV4.vue.js";
|
|
10
|
-
import "../../icon/v4/IconFlag.vue.js";
|
|
11
|
-
import { useTestIdAttrs as z } from "../../../utils/testIds.js";
|
|
12
|
-
import { EmptyStateTestIdModifiers as r } from "../../../testids/index.js";
|
|
13
|
-
const A = { class: "title-wrapper" }, P = /* @__PURE__ */ T({
|
|
14
|
-
__name: "EmptyStateV4",
|
|
15
|
-
props: {
|
|
16
|
-
title: { default: "No data to display" },
|
|
17
|
-
subtitle: { default: void 0 },
|
|
18
|
-
variant: { default: "no-data" },
|
|
19
|
-
buttonText: { default: void 0 },
|
|
20
|
-
iconName: { default: null },
|
|
21
|
-
iconType: { default: "regular" },
|
|
22
|
-
iconSize: { default: "48px" },
|
|
23
|
-
testId: { default: "" }
|
|
24
|
-
},
|
|
25
|
-
emits: ["click"],
|
|
26
|
-
setup(t) {
|
|
27
|
-
const d = t, v = N(() => {
|
|
28
|
-
const i = S(g(d.variant));
|
|
29
|
-
return b(() => I(/* @__PURE__ */ Object.assign({ "./icons/IconError.vue": () => import("./icons/IconError.vue.js"), "./icons/IconFiles.vue": () => import("./icons/IconFiles.vue.js"), "./icons/IconNoAccess.vue": () => import("./icons/IconNoAccess.vue.js"), "./icons/IconNoData.vue": () => import("./icons/IconNoData.vue.js"), "./icons/IconNoResults.vue": () => import("./icons/IconNoResults.vue.js"), "./icons/IconSettings.vue": () => import("./icons/IconSettings.vue.js") }), `./icons/Icon${i}.vue`));
|
|
30
|
-
}), c = z(d.testId, r);
|
|
31
|
-
return (i, f) => (o(), k("div", s({ class: "empty-state" }, e(c)[e(r).CONTAINER]), [
|
|
32
|
-
t.variant && !t.iconName ? (o(), n(e(v), {
|
|
33
|
-
key: 0,
|
|
34
|
-
class: "empty-variant-icon"
|
|
35
|
-
})) : a("", !0),
|
|
36
|
-
t.iconName ? (o(), n(e(x), {
|
|
37
|
-
key: 1,
|
|
38
|
-
class: "custom-empty-icon",
|
|
39
|
-
name: t.iconName,
|
|
40
|
-
size: t.iconSize,
|
|
41
|
-
type: t.iconType
|
|
42
|
-
}, null, 8, ["name", "size", "type"])) : a("", !0),
|
|
43
|
-
C("div", A, [
|
|
44
|
-
p(i.$slots, "content", {}, () => [
|
|
45
|
-
t.title ? (o(), n(e(y), s({
|
|
46
|
-
key: 0,
|
|
47
|
-
variant: "h4",
|
|
48
|
-
class: "title"
|
|
49
|
-
}, e(c)[e(r).TITLE]), {
|
|
50
|
-
default: m(() => [
|
|
51
|
-
l(u(t.title), 1)
|
|
52
|
-
]),
|
|
53
|
-
_: 1
|
|
54
|
-
}, 16)) : a("", !0),
|
|
55
|
-
t.subtitle ? (o(), n(e(y), s({
|
|
56
|
-
key: 1,
|
|
57
|
-
variant: "body1",
|
|
58
|
-
class: "subtitle"
|
|
59
|
-
}, e(c)[e(r).SUBTITLE]), {
|
|
60
|
-
default: m(() => [
|
|
61
|
-
l(u(t.subtitle), 1)
|
|
62
|
-
]),
|
|
63
|
-
_: 1
|
|
64
|
-
}, 16)) : a("", !0)
|
|
65
|
-
], !0)
|
|
66
|
-
]),
|
|
67
|
-
p(i.$slots, "button", {}, () => [
|
|
68
|
-
t.buttonText ? (o(), n(e(E), {
|
|
69
|
-
key: 0,
|
|
70
|
-
variant: "outlined",
|
|
71
|
-
color: "default",
|
|
72
|
-
class: "button",
|
|
73
|
-
onClick: f[0] || (f[0] = (B) => i.$emit("click"))
|
|
74
|
-
}, {
|
|
75
|
-
default: m(() => [
|
|
76
|
-
l(u(t.buttonText), 1)
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
})) : a("", !0)
|
|
80
|
-
], !0)
|
|
81
|
-
], 16));
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
export {
|
|
85
|
-
P as default
|
|
86
|
-
};
|
|
1
|
+
import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css";
|
|
@@ -77,6 +77,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
77
77
|
selectAll: (value: boolean) => void;
|
|
78
78
|
selectRow: (value: boolean) => void;
|
|
79
79
|
clickRow: (rowIndex: number) => void;
|
|
80
|
+
columnHover: (column: Column) => void;
|
|
80
81
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
81
82
|
title?: string;
|
|
82
83
|
columns: Column[];
|
|
@@ -153,6 +154,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
153
154
|
onOnClearSearch?: () => any;
|
|
154
155
|
onClickRow?: (rowIndex: number) => any;
|
|
155
156
|
onSelectRow?: (value: boolean) => any;
|
|
157
|
+
onColumnHover?: (column: Column) => any;
|
|
156
158
|
}, {
|
|
157
159
|
sort: Sort;
|
|
158
160
|
title: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_b16780cd_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-b16780cd"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|