@ironsource/shared-ui 2.1.12-rc.4 → 2.1.12-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/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +57 -39
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +97 -296
- package/components/chart/ChartHeader.vue.d.ts +20 -10
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +74 -52
- package/components/chart/ChartHeaderTrend.vue.d.ts +34 -0
- package/components/chart/ChartHeaderTrend.vue.js +7 -0
- package/components/chart/ChartHeaderTrend.vue2.js +32 -0
- package/components/chart/ChartLegend.vue.js +2 -2
- package/components/chart/ChartLegend.vue2.js +36 -35
- package/components/chart/ChartPlane.vue.d.ts +143 -0
- package/components/chart/ChartPlane.vue.js +7 -0
- package/components/chart/ChartPlane.vue2.js +306 -0
- package/components/chart/ChartStoryArgs.d.ts +135 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +36 -35
- package/components/chart/composables/useChartHeight.d.ts +5 -0
- package/components/chart/composables/useChartHeight.js +22 -0
- package/components/chart/composables/useColorsMap.d.ts +10 -0
- package/components/chart/composables/useColorsMap.js +17 -0
- package/components/chart/composables/useTooltipPosition.d.ts +1 -1
- package/components/chart/composables/useTooltipPosition.js +11 -15
- package/components/chart/consts.d.ts +5 -0
- package/components/chart/consts.js +20 -15
- package/components/chart/index.d.ts +189 -113
- package/components/chart/mockData.d.ts +27 -1
- package/components/chart/types.d.ts +4 -0
- package/components/chart/utils/formatNumber.d.ts +0 -1
- package/components/chart/utils/utils.js +5 -5
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- package/components/table/v4/DataGrid.vue.d.ts +3 -3
- package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
- package/components/table/v4/index.d.ts +14 -14
- package/composables/useFullPageHeight.d.ts +10 -0
- package/composables/useFullPageHeight.js +15 -0
- package/index.d.ts +42 -42
- package/index.js +1 -1
- package/package.json +1 -1
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +8 -9
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
- package/components/chart/utils/formatNumber.js +0 -11
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { format as n } from "date-fns";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { nFormatter as d } from "../../../utils/formatNumbers.js";
|
|
3
|
+
const M = (r, t, e) => {
|
|
4
4
|
if (e === 0)
|
|
5
5
|
return 0;
|
|
6
6
|
const f = t - r, o = f / e * 0.4;
|
|
7
7
|
return (f + o) / e;
|
|
8
|
-
},
|
|
8
|
+
}, c = (r, t) => t === "day" ? n(new Date(r), "EEEE") : t === "number" ? d(r) : t === "date" ? n(new Date(r), "MMM dd") : t === "dateLong" ? n(new Date(r), "MMM dd, yyyy") : String(r);
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
M as calcStepSize,
|
|
11
|
+
c as formatValue
|
|
12
12
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./DateRangeV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DateRangeV4.
|
|
4
|
-
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-a849128a"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DateRangeV4.
|
|
1
|
+
import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css"; import { defineComponent as J, watch as Q, openBlock as n, createElementBlock as s, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as x, createVNode as i, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as E, vShow as $, normalizeStyle as X, setBlockTracking as R } from "vue";
|
|
2
2
|
import Z from "./CalendarMonthV4.vue.js";
|
|
3
3
|
import { typeToName as _, messagePerType as ee } from "../common/consts.common.js";
|
|
4
4
|
import A from "../../button/v4/ButtonV4.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonFilterDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ButtonFilterDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0198fee8"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ButtonFilterDropdownTrigger.
|
|
1
|
+
import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css"; import { defineComponent as m, openBlock as o, createElementBlock as u, mergeProps as l, unref as t, createBlock as d, createCommentVNode as i, createVNode as f, withCtx as p, createTextVNode as I, toDisplayString as T } from "vue";
|
|
2
2
|
import y from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import s from "../../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../../icon/v4/IconFlag.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
title?: string;
|
|
3
3
|
subtitle?: string;
|
|
4
|
-
variant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
4
|
+
variant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
5
5
|
buttonText?: string;
|
|
6
6
|
iconName?: string;
|
|
7
7
|
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
20
|
title?: string;
|
|
21
21
|
subtitle?: string;
|
|
22
|
-
variant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
22
|
+
variant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
23
23
|
buttonText?: string;
|
|
24
24
|
iconName?: string;
|
|
25
25
|
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
onClick?: () => any;
|
|
37
37
|
}, {
|
|
38
38
|
title: string;
|
|
39
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
39
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
40
40
|
iconName: string;
|
|
41
41
|
iconSize: string;
|
|
42
42
|
subtitle: string;
|
|
@@ -5,7 +5,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
title: string;
|
|
8
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
8
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
9
9
|
iconName: string;
|
|
10
10
|
iconSize: string;
|
|
11
11
|
subtitle: string;
|
|
@@ -17,7 +17,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
variant: {
|
|
20
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
20
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
iconName: {
|
|
@@ -62,7 +62,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
62
62
|
default: string;
|
|
63
63
|
};
|
|
64
64
|
variant: {
|
|
65
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
65
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
68
|
iconName: {
|
|
@@ -91,7 +91,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
91
91
|
click: () => void;
|
|
92
92
|
}, string, {
|
|
93
93
|
title: string;
|
|
94
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
94
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
95
95
|
iconName: string;
|
|
96
96
|
iconSize: string;
|
|
97
97
|
subtitle: string;
|
|
@@ -123,7 +123,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
123
123
|
default: string;
|
|
124
124
|
};
|
|
125
125
|
variant: {
|
|
126
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
126
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
127
127
|
default: string;
|
|
128
128
|
};
|
|
129
129
|
iconName: {
|
|
@@ -158,7 +158,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
158
158
|
default: string;
|
|
159
159
|
};
|
|
160
160
|
variant: {
|
|
161
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
161
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
162
162
|
default: string;
|
|
163
163
|
};
|
|
164
164
|
iconName: {
|
|
@@ -187,7 +187,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
187
187
|
click: () => void;
|
|
188
188
|
}, string, {
|
|
189
189
|
title: string;
|
|
190
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
190
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
191
191
|
iconName: string;
|
|
192
192
|
iconSize: string;
|
|
193
193
|
subtitle: string;
|
|
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
isSticky?: boolean;
|
|
13
13
|
isStickyHeader?: boolean;
|
|
14
14
|
isLoading?: boolean;
|
|
15
|
-
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
15
|
+
emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
16
16
|
emptyStateTitle?: string;
|
|
17
17
|
emptyStateSubtitle?: string;
|
|
18
18
|
isInfiniteScroll?: boolean;
|
|
@@ -85,7 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
85
85
|
isSticky?: boolean;
|
|
86
86
|
isStickyHeader?: boolean;
|
|
87
87
|
isLoading?: boolean;
|
|
88
|
-
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
88
|
+
emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
89
89
|
emptyStateTitle?: string;
|
|
90
90
|
emptyStateSubtitle?: string;
|
|
91
91
|
isInfiniteScroll?: boolean;
|
|
@@ -167,7 +167,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
167
167
|
getRowId: (row: Row, index: number) => unknown;
|
|
168
168
|
getRowKey: (row: Row, index: number) => string | number;
|
|
169
169
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
170
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
170
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
171
171
|
rowCustomClassKey: string;
|
|
172
172
|
rowDataKey: string;
|
|
173
173
|
isSelectionSticky: boolean;
|
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
getRowKey?: (row: Row, index: number) => string | number;
|
|
8
8
|
isSticky?: boolean;
|
|
9
9
|
isLoading?: boolean;
|
|
10
|
-
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
10
|
+
emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
11
11
|
emptyStateTitle?: string;
|
|
12
12
|
emptyStateSubtitle?: string;
|
|
13
13
|
loadingRowCount?: number;
|
|
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
61
|
getRowKey?: (row: Row, index: number) => string | number;
|
|
62
62
|
isSticky?: boolean;
|
|
63
63
|
isLoading?: boolean;
|
|
64
|
-
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
64
|
+
emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
65
65
|
emptyStateTitle?: string;
|
|
66
66
|
emptyStateSubtitle?: string;
|
|
67
67
|
loadingRowCount?: number;
|
|
@@ -122,7 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
122
122
|
emptyStateSubtitle: string;
|
|
123
123
|
getRowId: (row: Row, index: number) => unknown;
|
|
124
124
|
getRowKey: (row: Row, index: number) => string | number;
|
|
125
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
125
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
126
126
|
rowCustomClassKey: string;
|
|
127
127
|
rowDataKey: string;
|
|
128
128
|
totalCount: number;
|
|
@@ -30,7 +30,7 @@ declare const DataGridTypes: () => (({
|
|
|
30
30
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
31
31
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
32
32
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
33
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
33
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
34
34
|
rowCustomClassKey: string;
|
|
35
35
|
rowDataKey: string;
|
|
36
36
|
isSelectionSticky: boolean;
|
|
@@ -137,7 +137,7 @@ declare const DataGridTypes: () => (({
|
|
|
137
137
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
138
138
|
};
|
|
139
139
|
emptyStateVariant: {
|
|
140
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
140
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
141
141
|
default: any;
|
|
142
142
|
};
|
|
143
143
|
rowCustomClassKey: {
|
|
@@ -283,7 +283,7 @@ declare const DataGridTypes: () => (({
|
|
|
283
283
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
284
284
|
};
|
|
285
285
|
emptyStateVariant: {
|
|
286
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
286
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
287
287
|
default: any;
|
|
288
288
|
};
|
|
289
289
|
rowCustomClassKey: {
|
|
@@ -350,7 +350,7 @@ declare const DataGridTypes: () => (({
|
|
|
350
350
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
351
351
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
352
352
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
353
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
353
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
354
354
|
rowCustomClassKey: string;
|
|
355
355
|
rowDataKey: string;
|
|
356
356
|
isSelectionSticky: boolean;
|
|
@@ -477,7 +477,7 @@ declare const DataGridTypes: () => (({
|
|
|
477
477
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
478
478
|
};
|
|
479
479
|
emptyStateVariant: {
|
|
480
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
480
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
481
481
|
default: any;
|
|
482
482
|
};
|
|
483
483
|
rowCustomClassKey: {
|
|
@@ -615,7 +615,7 @@ declare const DataGridTypes: () => (({
|
|
|
615
615
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
616
616
|
};
|
|
617
617
|
emptyStateVariant: {
|
|
618
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
618
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
619
619
|
default: any;
|
|
620
620
|
};
|
|
621
621
|
rowCustomClassKey: {
|
|
@@ -682,7 +682,7 @@ declare const DataGridTypes: () => (({
|
|
|
682
682
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
683
683
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
684
684
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
685
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
685
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
686
686
|
rowCustomClassKey: string;
|
|
687
687
|
rowDataKey: string;
|
|
688
688
|
isSelectionSticky: boolean;
|
|
@@ -825,7 +825,7 @@ declare const DataGridTypes: () => (({
|
|
|
825
825
|
emptyStateSubtitle: string;
|
|
826
826
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
827
827
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
828
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
828
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
829
829
|
rowCustomClassKey: string;
|
|
830
830
|
rowDataKey: string;
|
|
831
831
|
totalCount: number;
|
|
@@ -888,7 +888,7 @@ declare const DataGridTypes: () => (({
|
|
|
888
888
|
default: (row: any, index: any) => any;
|
|
889
889
|
};
|
|
890
890
|
emptyStateVariant: {
|
|
891
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
891
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
892
892
|
default: any;
|
|
893
893
|
};
|
|
894
894
|
rowCustomClassKey: {
|
|
@@ -1003,7 +1003,7 @@ declare const DataGridTypes: () => (({
|
|
|
1003
1003
|
default: (row: any, index: any) => any;
|
|
1004
1004
|
};
|
|
1005
1005
|
emptyStateVariant: {
|
|
1006
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1006
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
1007
1007
|
default: any;
|
|
1008
1008
|
};
|
|
1009
1009
|
rowCustomClassKey: {
|
|
@@ -1070,7 +1070,7 @@ declare const DataGridTypes: () => (({
|
|
|
1070
1070
|
emptyStateSubtitle: string;
|
|
1071
1071
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1072
1072
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1073
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1073
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
1074
1074
|
rowCustomClassKey: string;
|
|
1075
1075
|
rowDataKey: string;
|
|
1076
1076
|
totalCount: number;
|
|
@@ -1153,7 +1153,7 @@ declare const DataGridTypes: () => (({
|
|
|
1153
1153
|
default: (row: any, index: any) => any;
|
|
1154
1154
|
};
|
|
1155
1155
|
emptyStateVariant: {
|
|
1156
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1156
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
1157
1157
|
default: any;
|
|
1158
1158
|
};
|
|
1159
1159
|
rowCustomClassKey: {
|
|
@@ -1256,7 +1256,7 @@ declare const DataGridTypes: () => (({
|
|
|
1256
1256
|
default: (row: any, index: any) => any;
|
|
1257
1257
|
};
|
|
1258
1258
|
emptyStateVariant: {
|
|
1259
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1259
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
1260
1260
|
default: any;
|
|
1261
1261
|
};
|
|
1262
1262
|
rowCustomClassKey: {
|
|
@@ -1323,7 +1323,7 @@ declare const DataGridTypes: () => (({
|
|
|
1323
1323
|
emptyStateSubtitle: string;
|
|
1324
1324
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1325
1325
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1326
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1326
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
1327
1327
|
rowCustomClassKey: string;
|
|
1328
1328
|
rowDataKey: string;
|
|
1329
1329
|
totalCount: number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
type UseFullPageHeightArgs = {
|
|
3
|
+
elem: Ref<HTMLElement | null>;
|
|
4
|
+
minHeight?: number;
|
|
5
|
+
bottomSpacing?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const useFullPageHeight: ({ elem, minHeight, bottomSpacing, }: UseFullPageHeightArgs) => {
|
|
8
|
+
cssHeightValue: import("vue").ComputedRef<string>;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { computed as c } from "vue";
|
|
2
|
+
import { useElementBounding as s, useWindowSize as i } from "@vueuse/core";
|
|
3
|
+
const p = ({
|
|
4
|
+
elem: u,
|
|
5
|
+
minHeight: e = 300,
|
|
6
|
+
bottomSpacing: t = 50
|
|
7
|
+
}) => {
|
|
8
|
+
const { top: o } = s(u), { height: l } = i();
|
|
9
|
+
return {
|
|
10
|
+
cssHeightValue: c(() => l.value - o.value - t <= e ? `${e}px` : `calc(100vh - ${o.value}px - ${t}px)`)
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
p as useFullPageHeight
|
|
15
|
+
};
|