@ironsource/shared-ui 2.1.12-rc.4 → 2.1.12-rc.6
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/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_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/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +64 -64
- 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/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_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
package/index.d.ts
CHANGED
|
@@ -4915,7 +4915,7 @@ declare const _default: {
|
|
|
4915
4915
|
$data: {};
|
|
4916
4916
|
$props: Partial<{
|
|
4917
4917
|
title: string;
|
|
4918
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
4918
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
4919
4919
|
iconName: string;
|
|
4920
4920
|
iconSize: string;
|
|
4921
4921
|
subtitle: string;
|
|
@@ -4927,7 +4927,7 @@ declare const _default: {
|
|
|
4927
4927
|
default: string;
|
|
4928
4928
|
};
|
|
4929
4929
|
variant: {
|
|
4930
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
4930
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
4931
4931
|
default: string;
|
|
4932
4932
|
};
|
|
4933
4933
|
iconName: {
|
|
@@ -4972,7 +4972,7 @@ declare const _default: {
|
|
|
4972
4972
|
default: string;
|
|
4973
4973
|
};
|
|
4974
4974
|
variant: {
|
|
4975
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
4975
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
4976
4976
|
default: string;
|
|
4977
4977
|
};
|
|
4978
4978
|
iconName: {
|
|
@@ -5001,7 +5001,7 @@ declare const _default: {
|
|
|
5001
5001
|
click: () => void;
|
|
5002
5002
|
}, string, {
|
|
5003
5003
|
title: string;
|
|
5004
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5004
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
5005
5005
|
iconName: string;
|
|
5006
5006
|
iconSize: string;
|
|
5007
5007
|
subtitle: string;
|
|
@@ -5033,7 +5033,7 @@ declare const _default: {
|
|
|
5033
5033
|
default: string;
|
|
5034
5034
|
};
|
|
5035
5035
|
variant: {
|
|
5036
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5036
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
5037
5037
|
default: string;
|
|
5038
5038
|
};
|
|
5039
5039
|
iconName: {
|
|
@@ -5068,7 +5068,7 @@ declare const _default: {
|
|
|
5068
5068
|
default: string;
|
|
5069
5069
|
};
|
|
5070
5070
|
variant: {
|
|
5071
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5071
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
5072
5072
|
default: string;
|
|
5073
5073
|
};
|
|
5074
5074
|
iconName: {
|
|
@@ -5097,7 +5097,7 @@ declare const _default: {
|
|
|
5097
5097
|
click: () => void;
|
|
5098
5098
|
}, string, {
|
|
5099
5099
|
title: string;
|
|
5100
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5100
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
5101
5101
|
iconName: string;
|
|
5102
5102
|
iconSize: string;
|
|
5103
5103
|
subtitle: string;
|
|
@@ -5115,7 +5115,7 @@ declare const _default: {
|
|
|
5115
5115
|
$data: {};
|
|
5116
5116
|
$props: Partial<{
|
|
5117
5117
|
title: string;
|
|
5118
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5118
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
5119
5119
|
iconName: string;
|
|
5120
5120
|
iconSize: string;
|
|
5121
5121
|
subtitle: string;
|
|
@@ -5127,7 +5127,7 @@ declare const _default: {
|
|
|
5127
5127
|
default: string;
|
|
5128
5128
|
};
|
|
5129
5129
|
variant: {
|
|
5130
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5130
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
5131
5131
|
default: string;
|
|
5132
5132
|
};
|
|
5133
5133
|
iconName: {
|
|
@@ -5172,7 +5172,7 @@ declare const _default: {
|
|
|
5172
5172
|
default: string;
|
|
5173
5173
|
};
|
|
5174
5174
|
variant: {
|
|
5175
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5175
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
5176
5176
|
default: string;
|
|
5177
5177
|
};
|
|
5178
5178
|
iconName: {
|
|
@@ -5201,7 +5201,7 @@ declare const _default: {
|
|
|
5201
5201
|
click: () => void;
|
|
5202
5202
|
}, string, {
|
|
5203
5203
|
title: string;
|
|
5204
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5204
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
5205
5205
|
iconName: string;
|
|
5206
5206
|
iconSize: string;
|
|
5207
5207
|
subtitle: string;
|
|
@@ -5233,7 +5233,7 @@ declare const _default: {
|
|
|
5233
5233
|
default: string;
|
|
5234
5234
|
};
|
|
5235
5235
|
variant: {
|
|
5236
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5236
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
5237
5237
|
default: string;
|
|
5238
5238
|
};
|
|
5239
5239
|
iconName: {
|
|
@@ -5268,7 +5268,7 @@ declare const _default: {
|
|
|
5268
5268
|
default: string;
|
|
5269
5269
|
};
|
|
5270
5270
|
variant: {
|
|
5271
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5271
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
5272
5272
|
default: string;
|
|
5273
5273
|
};
|
|
5274
5274
|
iconName: {
|
|
@@ -5297,7 +5297,7 @@ declare const _default: {
|
|
|
5297
5297
|
click: () => void;
|
|
5298
5298
|
}, string, {
|
|
5299
5299
|
title: string;
|
|
5300
|
-
variant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5300
|
+
variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
5301
5301
|
iconName: string;
|
|
5302
5302
|
iconSize: string;
|
|
5303
5303
|
subtitle: string;
|
|
@@ -5787,7 +5787,7 @@ declare const _default: {
|
|
|
5787
5787
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
5788
5788
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
5789
5789
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
5790
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5790
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
5791
5791
|
rowCustomClassKey: string;
|
|
5792
5792
|
rowDataKey: string;
|
|
5793
5793
|
isSelectionSticky: boolean;
|
|
@@ -5894,7 +5894,7 @@ declare const _default: {
|
|
|
5894
5894
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
5895
5895
|
};
|
|
5896
5896
|
emptyStateVariant: {
|
|
5897
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
5897
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
5898
5898
|
default: any;
|
|
5899
5899
|
};
|
|
5900
5900
|
rowCustomClassKey: {
|
|
@@ -6040,7 +6040,7 @@ declare const _default: {
|
|
|
6040
6040
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
6041
6041
|
};
|
|
6042
6042
|
emptyStateVariant: {
|
|
6043
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6043
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
6044
6044
|
default: any;
|
|
6045
6045
|
};
|
|
6046
6046
|
rowCustomClassKey: {
|
|
@@ -6107,7 +6107,7 @@ declare const _default: {
|
|
|
6107
6107
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
6108
6108
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6109
6109
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6110
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6110
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
6111
6111
|
rowCustomClassKey: string;
|
|
6112
6112
|
rowDataKey: string;
|
|
6113
6113
|
isSelectionSticky: boolean;
|
|
@@ -6234,7 +6234,7 @@ declare const _default: {
|
|
|
6234
6234
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
6235
6235
|
};
|
|
6236
6236
|
emptyStateVariant: {
|
|
6237
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6237
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
6238
6238
|
default: any;
|
|
6239
6239
|
};
|
|
6240
6240
|
rowCustomClassKey: {
|
|
@@ -6372,7 +6372,7 @@ declare const _default: {
|
|
|
6372
6372
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
6373
6373
|
};
|
|
6374
6374
|
emptyStateVariant: {
|
|
6375
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6375
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
6376
6376
|
default: any;
|
|
6377
6377
|
};
|
|
6378
6378
|
rowCustomClassKey: {
|
|
@@ -6439,7 +6439,7 @@ declare const _default: {
|
|
|
6439
6439
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
6440
6440
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6441
6441
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6442
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6442
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
6443
6443
|
rowCustomClassKey: string;
|
|
6444
6444
|
rowDataKey: string;
|
|
6445
6445
|
isSelectionSticky: boolean;
|
|
@@ -6595,7 +6595,7 @@ declare const _default: {
|
|
|
6595
6595
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
6596
6596
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6597
6597
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6598
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6598
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
6599
6599
|
rowCustomClassKey: string;
|
|
6600
6600
|
rowDataKey: string;
|
|
6601
6601
|
isSelectionSticky: boolean;
|
|
@@ -6702,7 +6702,7 @@ declare const _default: {
|
|
|
6702
6702
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
6703
6703
|
};
|
|
6704
6704
|
emptyStateVariant: {
|
|
6705
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6705
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
6706
6706
|
default: any;
|
|
6707
6707
|
};
|
|
6708
6708
|
rowCustomClassKey: {
|
|
@@ -6848,7 +6848,7 @@ declare const _default: {
|
|
|
6848
6848
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
6849
6849
|
};
|
|
6850
6850
|
emptyStateVariant: {
|
|
6851
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6851
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
6852
6852
|
default: any;
|
|
6853
6853
|
};
|
|
6854
6854
|
rowCustomClassKey: {
|
|
@@ -6915,7 +6915,7 @@ declare const _default: {
|
|
|
6915
6915
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
6916
6916
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6917
6917
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6918
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
6918
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
6919
6919
|
rowCustomClassKey: string;
|
|
6920
6920
|
rowDataKey: string;
|
|
6921
6921
|
isSelectionSticky: boolean;
|
|
@@ -7042,7 +7042,7 @@ declare const _default: {
|
|
|
7042
7042
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
7043
7043
|
};
|
|
7044
7044
|
emptyStateVariant: {
|
|
7045
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7045
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
7046
7046
|
default: any;
|
|
7047
7047
|
};
|
|
7048
7048
|
rowCustomClassKey: {
|
|
@@ -7180,7 +7180,7 @@ declare const _default: {
|
|
|
7180
7180
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
7181
7181
|
};
|
|
7182
7182
|
emptyStateVariant: {
|
|
7183
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7183
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
7184
7184
|
default: any;
|
|
7185
7185
|
};
|
|
7186
7186
|
rowCustomClassKey: {
|
|
@@ -7247,7 +7247,7 @@ declare const _default: {
|
|
|
7247
7247
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
7248
7248
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7249
7249
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
7250
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7250
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
7251
7251
|
rowCustomClassKey: string;
|
|
7252
7252
|
rowDataKey: string;
|
|
7253
7253
|
isSelectionSticky: boolean;
|
|
@@ -7390,7 +7390,7 @@ declare const _default: {
|
|
|
7390
7390
|
emptyStateSubtitle: string;
|
|
7391
7391
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
7392
7392
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7393
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7393
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
7394
7394
|
rowCustomClassKey: string;
|
|
7395
7395
|
rowDataKey: string;
|
|
7396
7396
|
totalCount: number;
|
|
@@ -7453,7 +7453,7 @@ declare const _default: {
|
|
|
7453
7453
|
default: (row: any, index: any) => any;
|
|
7454
7454
|
};
|
|
7455
7455
|
emptyStateVariant: {
|
|
7456
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7456
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
7457
7457
|
default: any;
|
|
7458
7458
|
};
|
|
7459
7459
|
rowCustomClassKey: {
|
|
@@ -7568,7 +7568,7 @@ declare const _default: {
|
|
|
7568
7568
|
default: (row: any, index: any) => any;
|
|
7569
7569
|
};
|
|
7570
7570
|
emptyStateVariant: {
|
|
7571
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7571
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
7572
7572
|
default: any;
|
|
7573
7573
|
};
|
|
7574
7574
|
rowCustomClassKey: {
|
|
@@ -7635,7 +7635,7 @@ declare const _default: {
|
|
|
7635
7635
|
emptyStateSubtitle: string;
|
|
7636
7636
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
7637
7637
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7638
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7638
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
7639
7639
|
rowCustomClassKey: string;
|
|
7640
7640
|
rowDataKey: string;
|
|
7641
7641
|
totalCount: number;
|
|
@@ -7718,7 +7718,7 @@ declare const _default: {
|
|
|
7718
7718
|
default: (row: any, index: any) => any;
|
|
7719
7719
|
};
|
|
7720
7720
|
emptyStateVariant: {
|
|
7721
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7721
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
7722
7722
|
default: any;
|
|
7723
7723
|
};
|
|
7724
7724
|
rowCustomClassKey: {
|
|
@@ -7821,7 +7821,7 @@ declare const _default: {
|
|
|
7821
7821
|
default: (row: any, index: any) => any;
|
|
7822
7822
|
};
|
|
7823
7823
|
emptyStateVariant: {
|
|
7824
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7824
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
7825
7825
|
default: any;
|
|
7826
7826
|
};
|
|
7827
7827
|
rowCustomClassKey: {
|
|
@@ -7888,7 +7888,7 @@ declare const _default: {
|
|
|
7888
7888
|
emptyStateSubtitle: string;
|
|
7889
7889
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
7890
7890
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7891
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7891
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
7892
7892
|
rowCustomClassKey: string;
|
|
7893
7893
|
rowDataKey: string;
|
|
7894
7894
|
totalCount: number;
|
|
@@ -7938,7 +7938,7 @@ declare const _default: {
|
|
|
7938
7938
|
emptyStateSubtitle: string;
|
|
7939
7939
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
7940
7940
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7941
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
7941
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
7942
7942
|
rowCustomClassKey: string;
|
|
7943
7943
|
rowDataKey: string;
|
|
7944
7944
|
totalCount: number;
|
|
@@ -8001,7 +8001,7 @@ declare const _default: {
|
|
|
8001
8001
|
default: (row: any, index: any) => any;
|
|
8002
8002
|
};
|
|
8003
8003
|
emptyStateVariant: {
|
|
8004
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
8004
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
8005
8005
|
default: any;
|
|
8006
8006
|
};
|
|
8007
8007
|
rowCustomClassKey: {
|
|
@@ -8116,7 +8116,7 @@ declare const _default: {
|
|
|
8116
8116
|
default: (row: any, index: any) => any;
|
|
8117
8117
|
};
|
|
8118
8118
|
emptyStateVariant: {
|
|
8119
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
8119
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
8120
8120
|
default: any;
|
|
8121
8121
|
};
|
|
8122
8122
|
rowCustomClassKey: {
|
|
@@ -8183,7 +8183,7 @@ declare const _default: {
|
|
|
8183
8183
|
emptyStateSubtitle: string;
|
|
8184
8184
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
8185
8185
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
8186
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
8186
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
8187
8187
|
rowCustomClassKey: string;
|
|
8188
8188
|
rowDataKey: string;
|
|
8189
8189
|
totalCount: number;
|
|
@@ -8266,7 +8266,7 @@ declare const _default: {
|
|
|
8266
8266
|
default: (row: any, index: any) => any;
|
|
8267
8267
|
};
|
|
8268
8268
|
emptyStateVariant: {
|
|
8269
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
8269
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
8270
8270
|
default: any;
|
|
8271
8271
|
};
|
|
8272
8272
|
rowCustomClassKey: {
|
|
@@ -8369,7 +8369,7 @@ declare const _default: {
|
|
|
8369
8369
|
default: (row: any, index: any) => any;
|
|
8370
8370
|
};
|
|
8371
8371
|
emptyStateVariant: {
|
|
8372
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
8372
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
8373
8373
|
default: any;
|
|
8374
8374
|
};
|
|
8375
8375
|
rowCustomClassKey: {
|
|
@@ -8436,7 +8436,7 @@ declare const _default: {
|
|
|
8436
8436
|
emptyStateSubtitle: string;
|
|
8437
8437
|
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => unknown;
|
|
8438
8438
|
getRowKey: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
8439
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
8439
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
8440
8440
|
rowCustomClassKey: string;
|
|
8441
8441
|
rowDataKey: string;
|
|
8442
8442
|
totalCount: number;
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
|
|
2
2
|
import { AppTriggerTypes as ro } from "./components/appTrigger/index.js";
|
|
3
3
|
import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
|
|
4
4
|
import { MenuItemTypes as po } from "./components/menuItem/index.js";
|
package/package.json
CHANGED
package/utils/formatNumbers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const DEFAULT_FALLBACK = "N/A";
|
|
2
|
-
export declare
|
|
2
|
+
export declare function nFormatter(num: number): string;
|
|
3
3
|
export declare const diffInPersentage: (valueA: number | string, valueB: number | string, fallback?: string | null) => string | number;
|
|
4
4
|
export declare const formatNumberWithCommas: (num: number | string, fallback?: string | null) => string;
|
package/utils/formatNumbers.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
return
|
|
7
|
-
}
|
|
1
|
+
function f(e) {
|
|
2
|
+
return e >= 1e12 ? "∞" : e >= 1e9 ? i(e, 1e9, "B") : e >= 1e6 ? i(e, 1e6, "M") : e >= 1e3 ? i(e, 1e3, "K") : (e >= 100 || e >= 10, e.toFixed(0));
|
|
3
|
+
}
|
|
4
|
+
function i(e, o, t) {
|
|
5
|
+
const r = e / o;
|
|
6
|
+
return r >= 100 ? r.toFixed(0) + t : r >= 10 ? r.toFixed(1) + t : r.toFixed(2) + t;
|
|
7
|
+
}
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
u as nFormatter
|
|
9
|
+
f as nFormatter
|
|
11
10
|
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.button-filter-dropdown-trigger[data-v-ea1c4589]{border-radius:var(--border-radius-md);transition:all .2s ease;color:var(--text-primary);display:inline-flex;padding:5px 7px;align-items:center}.button-filter-dropdown-trigger .content[data-v-ea1c4589]{white-space:nowrap}.button-filter-dropdown-trigger[data-v-ea1c4589]:hover{cursor:pointer;background:var(--action-hover)}.button-filter-dropdown-trigger.outlined[data-v-ea1c4589]{border:1px solid var(--default-outlined-border)}.button-filter-dropdown-trigger.outlined[data-v-ea1c4589]:hover{border:1px solid var(--action-active)}.button-filter-dropdown-trigger.outlined.disabled[data-v-ea1c4589]{background:transparent;border:1px solid var(--default-outlined-border)}.button-filter-dropdown-trigger.open[data-v-ea1c4589]{background:var(--action-selected);outline:2px solid var(--action-active);outline-offset:-2px;transition:outline 0s}.button-filter-dropdown-trigger.open[data-v-ea1c4589]:hover{background:var(--action-selected)}.button-filter-dropdown-trigger.disabled[data-v-ea1c4589]{cursor:default;color:var(--text-disabled)}.button-filter-dropdown-trigger.disabled[data-v-ea1c4589]:hover{background:transparent}.start-icon[data-v-ea1c4589]{color:var(--action-active);margin-right:var(--spacing-50)}.end-icon[data-v-ea1c4589]{color:var(--action-active);margin-left:var(--spacing-50)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-container[data-v-a641383a]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;height:388px;border-radius:0 0 6px 6px;width:100%}.header-wrapper[data-v-a641383a]{height:76px}.chart-content[data-v-a641383a]{width:100%}.chart-content.with-legend[data-v-a641383a]{width:calc(100% - 221px)}.chart-sidebar[data-v-a641383a]{border-left:1px solid var(--common-divider)}.chart[data-v-a641383a]{width:100%;height:312px;position:relative}.chart__canvas[data-v-a641383a]{width:100%;height:100%}.chart__tooltip[data-v-a641383a]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-header[data-v-b8213498]{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.chart-header .subheader[data-v-b8213498]{color:var(--text-secondary)}.header-texts[data-v-b8213498]{display:flex;flex-direction:column;color:var(--text-primary);gap:4px;cursor:default}.type-switch[data-v-b8213498]{display:flex;align-items:center;gap:4px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.disabled-tooltip[data-v-4fe1c7d1],.disabled-tooltip[data-v-4fe1c7d1] .container{width:100%}.chart-legend[data-v-4fe1c7d1]{display:flex;flex-direction:column;width:220px;height:100%;padding:0 8px 8px}.search-box[data-v-4fe1c7d1]{padding:12px 0 4px}.legend[data-v-4fe1c7d1]{overflow-y:auto;color:var(--text-primary);height:100%;overflow-x:hidden}.legend__list[data-v-4fe1c7d1]{list-style:none;padding:0}.legend__list>li[data-v-4fe1c7d1]{display:flex;align-items:center;gap:8px;padding:6px 8px}.legend__list>li[data-v-4fe1c7d1]:hover{background-color:var(--action-hover);border-radius:8px;cursor:pointer}.legend__list>li.disabled-item[data-v-4fe1c7d1]{cursor:not-allowed!important;opacity:.5;background:var(--background-paper)}.legend__list>li.empty-list[data-v-4fe1c7d1]{display:flex;align-items:center;justify-content:flex-start;height:32px;color:var(--text-disabled)}.legend__list>li.empty-list[data-v-4fe1c7d1]:hover{background-color:transparent;cursor:default}.legend__list>li .item-wrapper[data-v-4fe1c7d1]{display:flex;align-items:center;gap:8px;width:100%}.legend__list>li .item-wrapper .legend-label[data-v-4fe1c7d1]{width:80%}.legend__list>li .item-wrapper .icon-color[data-v-4fe1c7d1]{color:var(--action-active)}.legend__list>li .item-wrapper .label-container[data-v-4fe1c7d1]{display:flex;flex-direction:column;width:100%}.legend__list>li .item-wrapper .label-container .legend-caption[data-v-4fe1c7d1]{color:var(--text-secondary)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chart-tooltip[data-v-6744325c]{color:var(--text-primary);background:var(--common-white);box-shadow:0 4px 8px -2px #1018281f;border:1px solid var(--common-divider-elevation-0);border-radius:var(--border-radius-md);width:280px;padding:calc(var(--spacing-100) - 1px)}.tooltip-title-wrapper[data-v-6744325c]{display:flex;flex-direction:column;color:var(--text-primary);margin-bottom:var(--spacing-100)}.tooltip-title-wrapper .tooltip-sub-title[data-v-6744325c]{color:var(--text-secondary)}.color-box[data-v-6744325c]{width:12px;height:12px;border-radius:2px;display:inline-block;margin-right:var(--spacing-100)}.color-box+.platform-icon[data-v-6744325c]{margin-left:calc(var(--spacing-50) - var(--spacing-100))}.list[data-v-6744325c]{list-style:none;margin:0;padding:0}.list__item[data-v-6744325c]{display:flex;align-items:center;margin-bottom:var(--spacing-50);color:var(--text-secondary)}.list__item[data-v-6744325c]:last-child{margin-bottom:0}.platform-icon[data-v-6744325c]{color:var(--action-active);margin-right:var(--spacing-50)}.popover-label-wrapper[data-v-6744325c]{display:flex;width:200px;flex-grow:1}.truncated-label[data-v-6744325c]{max-width:90%}.tooltip-footer[data-v-6744325c]{display:flex;align-items:center;margin-top:var(--spacing-100);color:var(--text-primary)}.flex-grow[data-v-6744325c]{flex-grow:1}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.custom-list-area[data-v-96c7507e]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:20px 43px}.inline-search[data-v-96c7507e]{width:100%}.contain-accept[data-v-96c7507e]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-96c7507e]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-96c7507e]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.label[data-v-8a2714eb]{color:#41454d}.pop-up[data-v-8a2714eb]{width:668px;position:absolute;z-index:1000;top:32px;left:1px;overflow:hidden;border-radius:8px;border:1px solid var(--common-divider, #e4e4e4);background:var(--background-modelElevation, #fff);box-shadow:var(--elevation-lg)}.pop-up.open-on-top[data-v-8a2714eb]{top:0}.pop-up.hide-presets[data-v-8a2714eb],.pop-up.hide-presets .calendar-wrap[data-v-8a2714eb]{width:520px}.pop-up.hide-presets .date-picker-calendar[data-v-8a2714eb]{padding:15px 16px}.pop-up .date-picker-menu[data-v-8a2714eb]{width:164px;background:#ffffff;vertical-align:top;border-right:1px solid var(--common-divider-elevation-0, #e4e4e4);background:var(--background-paper, #fcfcfc)}.pop-up .date-picker-menu .preset-element[data-v-8a2714eb]{padding-left:8px;height:32px;border-radius:8px;color:var(--text-primary, #202020);line-height:32px}.pop-up .date-picker-menu .preset-element[data-v-8a2714eb]:hover{background:var(--action-hover, rgba(0, 0, 0, .05))}.pop-up .date-picker-menu .selected-preset[data-v-8a2714eb]{border-radius:8px;background:var(--action-selected, #ebebeb)}.pop-up .date-picker-menu li[data-v-8a2714eb]{cursor:pointer;margin-bottom:2px}.pop-up .left-box[data-v-8a2714eb]{left:-1px}.pop-up .date-picker-calendar[data-v-8a2714eb]{box-sizing:border-box;height:100%;padding:16px;display:grid;grid-template-columns:1fr 1fr;grid-gap:24px}.pop-up .calendars-wrapper[data-v-8a2714eb]{padding-left:6px}.pop-up .preset-dropdown ul[data-v-8a2714eb]{list-style:none;margin:0;padding:8px;line-height:32px}.pop-up .buttons-cover[data-v-8a2714eb]{height:48px;position:absolute;bottom:0;width:100%;right:0;box-sizing:border-box;border-top:1px solid var(--common-divider-elevation-0, #e4e4e4);background:var(--background-modelElevation, #fff);align-items:center;display:flex;justify-content:space-between;padding:12px 16px}.pop-up .buttons-cover .text-container[data-v-8a2714eb]{flex:1;color:var(--text-secondary, #646464)}.pop-up button[data-v-8a2714eb]{float:right;margin-left:8px}.pop-up .error[data-v-8a2714eb]{display:none;position:absolute;left:270px;top:22px}.pop-up .inline-block[data-v-8a2714eb]{display:inline-block}.pop-up.right[data-v-8a2714eb]{left:initial;right:1px}.calendar-wrap[data-v-8a2714eb]{width:504px;height:372px;position:relative;border-bottom-right-radius:8px;border-top-right-radius:8px;vertical-align:top}.type-picker[data-v-8a2714eb]{height:60px;line-height:60px;padding-left:15px;box-shadow:0 1px 3px #0000003b}.range-type[data-v-8a2714eb]{color:#8e959d;padding-left:15px;padding-right:15px;cursor:pointer}.selected-range-type[data-v-8a2714eb]{color:#fff;background-color:#3083ff;border-radius:20px;padding:6px 15px;cursor:default}.date-range-field[data-v-8a2714eb]{display:inline-block;width:100%;height:30px;position:relative;cursor:pointer;border-radius:3px}.date-range-field.selected-item-as-title[data-v-8a2714eb]{left:0;border:none;background-image:none;max-width:100%;height:22px;color:#3083ff;overflow:visible}.date-range-field.selected-item-as-title .small-triangle[data-v-8a2714eb]{right:-25px}.date-range-field.selected-item-as-title .small-triangle[data-v-8a2714eb]:after{border-top-color:currentColor}.date-range-field.selected-item-as-title span[data-v-8a2714eb]{padding-left:12px}.date-range-field.no-button-limit[data-v-8a2714eb]{overflow:visible}.date-range-field.no-button-limit span[data-v-8a2714eb]{width:100%;line-height:22px}.date-range-field span[data-v-8a2714eb]{line-height:28px;padding-left:15px;overflow:hidden;text-overflow:ellipsis;display:inline-block;width:calc(100% - 26px);white-space:nowrap;position:relative}.date-range-disabled .date-range-field[data-v-8a2714eb]{cursor:default;color:#8e959d;pointer-events:none}.date-range-disabled .small-triangle[data-v-8a2714eb]:after{border-top-color:#8e959d}.pop-up-content[data-v-8a2714eb]{margin-top:1px}.type-message[data-v-8a2714eb]{color:#8e959d;padding:10px 20px;line-height:1.5}.relative-wrap[data-v-8a2714eb]{position:relative}.space-right[data-v-8a2714eb]{margin-right:13px}.space-left[data-v-8a2714eb]{margin-left:9px}.top-date[data-v-8a2714eb]{line-height:13px}.flex[data-v-8a2714eb]{display:flex}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const s = "N/A", r = (n, e, t) => n.toLocaleString("en", {
|
|
2
|
-
minimumFractionDigits: e,
|
|
3
|
-
maximumFractionDigits: t
|
|
4
|
-
}), u = (n, e = s) => {
|
|
5
|
-
const t = Number(n), a = t % 1 !== 0;
|
|
6
|
-
return isNaN(t) && e ? e : Math.abs(t) >= 1e12 ? "∞" : Math.abs(t) >= 1e9 ? `${r(t / 1e9, 0, 1)}B` : Math.abs(t) >= 1e6 ? `${r(t / 1e6, 0, 1)}M` : Math.abs(t) >= 1e3 ? `${r(t / 1e3, 0, 1)}K` : a && Math.abs(t) >= 100 ? r(t, 0, 0) : a && Math.abs(t) >= 10 ? r(t, 0, 1) : a ? r(t, 2, 2) : r(t, 0, 0);
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
s as DEFAULT_FALLBACK,
|
|
10
|
-
u as formatNumber
|
|
11
|
-
};
|