@ironsource/shared-ui 2.1.12-test.98 → 2.1.12
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_060d02be_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
- package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +21 -1
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +130 -114
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +49 -44
- package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +43 -39
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +76 -71
- package/components/chart/ChartPlane.vue.d.ts +15 -0
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +173 -156
- package/components/chart/ChartStoryArgs.d.ts +17 -0
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +39 -35
- package/components/chart/LegendSorting.vue.d.ts +5 -0
- package/components/chart/LegendSorting.vue.js +16 -14
- package/components/chart/SettingsHeader.vue.d.ts +19 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +36 -29
- package/components/chart/TooltipHeader.vue.js +3 -3
- package/components/chart/TooltipHeader.vue2.js +26 -26
- package/components/chart/colorPalette.d.ts +2 -1
- package/components/chart/colorPalette.js +47 -33
- package/components/chart/composables/useColorsMap.d.ts +3 -1
- package/components/chart/composables/useColorsMap.js +32 -30
- package/components/chart/consts.d.ts +5 -1
- package/components/chart/consts.js +30 -26
- package/components/chart/index.d.ts +77 -1
- package/components/chart/mockData.d.ts +15 -0
- package/components/chart/types.d.ts +3 -1
- package/components/chart/types.js +5 -5
- package/components/chart/utils/utils.d.ts +1 -1
- package/components/chart/utils/utils.js +20 -14
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +73 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
- package/components/columnPicker/ColumnPicker.vue.js +7 -0
- package/components/columnPicker/ColumnPicker.vue2.js +322 -0
- package/components/columnPicker/OptionChip.vue.d.ts +53 -0
- package/components/columnPicker/OptionChip.vue.js +7 -0
- package/components/columnPicker/OptionChip.vue2.js +46 -0
- package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
- package/components/columnPicker/RemoveButton.vue.js +7 -0
- package/components/columnPicker/RemoveButton.vue2.js +35 -0
- package/components/columnPicker/index.d.ts +388 -0
- package/components/columnPicker/index.js +6 -0
- package/components/columnPicker/mockData.d.ts +8 -0
- package/components/dateRange/common/DateRange.common.js +60 -60
- package/components/dialog/v3/Dialog.vue.d.ts +3 -3
- package/components/dialog/v3/index.d.ts +46 -46
- package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
- package/components/dialog/v4/DialogFooter.vue.js +7 -0
- package/components/dialog/v4/DialogFooter.vue2.js +60 -0
- package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
- package/components/dialog/v4/DialogHeader.vue.js +7 -0
- package/components/dialog/v4/DialogHeader.vue2.js +58 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +157 -157
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/index.d.ts +81 -3
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
- package/components/emptyState/v4/index.d.ts +20 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +70 -70
- package/components/input/v4/TextField.vue.d.ts +12 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +129 -105
- package/components/input/v4/index.d.ts +46 -2
- package/components/link/Link.vue.d.ts +95 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +65 -0
- package/components/link/index.d.ts +296 -0
- package/components/link/index.js +6 -0
- 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/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +5 -5
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +26 -23
- package/components/sortableList/SortableList.types.d.ts +1 -0
- package/components/sortableList/SortableList.vue.d.ts +12 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +111 -113
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +77 -39
- package/components/table/common/consts.d.ts +2 -0
- package/components/table/common/consts.js +6 -4
- package/components/table/v4/DataGrid.vue.d.ts +12 -7
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +273 -268
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- 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 +84 -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 +8 -7
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +92 -90
- package/components/table/v4/index.d.ts +646 -332
- package/components/table/v4/index.js +11 -5
- package/components/table/v4/storyUtils.d.ts +25 -0
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +2675 -1649
- package/index.js +137 -121
- package/package.json +18 -1
- package/testids/index.d.ts +47 -1
- package/testids/index.js +40 -32
- 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/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_934163c0_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { RESERVED_COLORS_MAP as c,
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { computed as r, ref as n, watch as p } from "vue";
|
|
2
|
+
import { RESERVED_COLORS_MAP as c, MEDIATION_COLOR_PALETTE as R, DEFAULT_COLOR_PALETTE as T, DEFAULT_CHART_COLOR as L } from "../colorPalette.js";
|
|
3
|
+
const A = ({
|
|
4
|
+
dataSets: i,
|
|
5
|
+
visibleIds: u,
|
|
6
|
+
variant: v
|
|
7
|
+
}) => {
|
|
8
|
+
const s = r(
|
|
9
|
+
() => i.value.filter(
|
|
10
|
+
(o) => u.value.includes(o.id)
|
|
7
11
|
)
|
|
8
|
-
),
|
|
12
|
+
), t = n({
|
|
9
13
|
...c
|
|
10
14
|
// destructuring is important to avoid mutating the reserved colors object
|
|
11
|
-
}),
|
|
12
|
-
|
|
13
|
-
), d = () => {
|
|
14
|
-
a.value.forEach((o) => {
|
|
15
|
+
}), a = n([]), d = r(() => (v === "mediation" ? R : T).filter((e) => !a.value.includes(e))), f = () => {
|
|
16
|
+
s.value.forEach((o) => {
|
|
15
17
|
const e = String(o.id);
|
|
16
|
-
if (!
|
|
17
|
-
const
|
|
18
|
-
|
|
18
|
+
if (!t.value[e]) {
|
|
19
|
+
const l = o.color || d.value[0] || L;
|
|
20
|
+
E(e, l);
|
|
19
21
|
}
|
|
20
22
|
});
|
|
21
|
-
},
|
|
22
|
-
Object.keys(
|
|
23
|
-
const e =
|
|
24
|
-
!e && !
|
|
23
|
+
}, C = () => {
|
|
24
|
+
Object.keys(t.value).forEach((o) => {
|
|
25
|
+
const e = s.value.find((m) => String(m.id) === o), l = !!c[o];
|
|
26
|
+
!e && !l && O(o);
|
|
25
27
|
});
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
const e =
|
|
30
|
-
delete
|
|
31
|
-
const
|
|
32
|
-
|
|
28
|
+
}, E = (o, e) => {
|
|
29
|
+
t.value[String(o)] = e, a.value.push(e);
|
|
30
|
+
}, O = (o) => {
|
|
31
|
+
const e = t.value[o];
|
|
32
|
+
delete t.value[o];
|
|
33
|
+
const l = a.value.indexOf(e);
|
|
34
|
+
l > -1 && a.value.splice(l, 1);
|
|
33
35
|
};
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
+
return p(
|
|
37
|
+
s,
|
|
36
38
|
() => {
|
|
37
|
-
|
|
39
|
+
C(), f();
|
|
38
40
|
},
|
|
39
41
|
{ immediate: !0 }
|
|
40
42
|
), {
|
|
41
|
-
colorsMap:
|
|
43
|
+
colorsMap: t
|
|
42
44
|
};
|
|
43
45
|
};
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
A as useColorsMap
|
|
46
48
|
};
|
|
@@ -10,7 +10,7 @@ export declare const DROPDOWN_TYPE_OPTIONS: DropdownTypeOption[];
|
|
|
10
10
|
export declare const HEADER_HEIGHT = 76;
|
|
11
11
|
export declare const COMPACT_HEADER_HEIGHT = 43;
|
|
12
12
|
export declare const DEFAULT_CHART_PLANE_HEIGHT = 312;
|
|
13
|
-
export declare const MIN_PLANE_HEIGHT =
|
|
13
|
+
export declare const MIN_PLANE_HEIGHT = 211;
|
|
14
14
|
export declare const TOTALS_HELPER_KEY = "__TOTALS_HELPER_KEY__";
|
|
15
15
|
export declare const BASE_COLOR_KEY = "___BASE_COLOR__";
|
|
16
16
|
export declare const BIDDING_PREFIX = "Bidding";
|
|
@@ -26,6 +26,10 @@ export declare const NETWORK_PANGLE = "Pangle";
|
|
|
26
26
|
export declare const NETWORK_LIFTOFF = "Liftoff Monetize";
|
|
27
27
|
export declare const HOVER_TRANSPARENCY = 10;
|
|
28
28
|
export declare const HOVER_AREA_TRANSPARENCY = 70;
|
|
29
|
+
export declare const STACKED_LINE_TRANSPARENCY = 10;
|
|
30
|
+
export declare const CHART_ITEM_TRANSPARENCY = 70;
|
|
31
|
+
export declare const INCOMPLETE_DATA_BAR_TRANSPARENCY = 40;
|
|
32
|
+
export declare const LINE_DASH_STYLE: number[];
|
|
29
33
|
export declare const CHART_PADDING: {
|
|
30
34
|
left: number;
|
|
31
35
|
right: number;
|
|
@@ -1,47 +1,51 @@
|
|
|
1
1
|
import { ChartType as _ } from "./types.js";
|
|
2
|
-
const
|
|
2
|
+
const T = "#fcfcfc", t = "#E4E4E4", n = "#646464", A = {
|
|
3
3
|
size: 12,
|
|
4
4
|
weight: 400,
|
|
5
5
|
family: "Inter"
|
|
6
|
-
},
|
|
6
|
+
}, o = 4, R = 1, N = 5, O = [
|
|
7
7
|
{ id: _.Line, name: "Line" },
|
|
8
8
|
{ id: _.StackedLine, name: "Stack" },
|
|
9
9
|
{ id: _.Bar, name: "Bar" }
|
|
10
|
-
],
|
|
10
|
+
], c = 76, L = 43, s = 312, I = 211, C = "__TOTALS_HELPER_KEY__", D = "___BASE_COLOR__", e = "Bidding", P = "ironSource", S = "UnityAds", i = "Meta", H = "Google", K = "Mintegral", B = "AppLovin", M = "InMobi", a = "DT Exchange", G = "Pangle", r = "Liftoff Monetize", F = 10, W = 70, Y = 10, f = 70, d = 40, g = [4, 4], U = {
|
|
11
11
|
left: 18,
|
|
12
12
|
right: 18,
|
|
13
13
|
top: 18,
|
|
14
14
|
bottom: 11
|
|
15
|
-
},
|
|
15
|
+
}, m = 6, p = "dateLong";
|
|
16
16
|
export {
|
|
17
17
|
D as BASE_COLOR_KEY,
|
|
18
|
-
|
|
19
|
-
f as
|
|
18
|
+
e as BIDDING_PREFIX,
|
|
19
|
+
f as CHART_ITEM_TRANSPARENCY,
|
|
20
|
+
U as CHART_PADDING,
|
|
20
21
|
L as COMPACT_HEADER_HEIGHT,
|
|
21
22
|
s as DEFAULT_CHART_PLANE_HEIGHT,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
N as DEFAULT_MAX_VISIBLE,
|
|
24
|
+
R as DEFAULT_MIN_VISIBLE,
|
|
25
|
+
o as DEFAULT_TICK_COUNT,
|
|
26
|
+
O as DROPDOWN_TYPE_OPTIONS,
|
|
27
|
+
t as GRID_LINE_COLOR,
|
|
28
|
+
c as HEADER_HEIGHT,
|
|
28
29
|
W as HOVER_AREA_TRANSPARENCY,
|
|
29
30
|
F as HOVER_TRANSPARENCY,
|
|
30
|
-
|
|
31
|
+
d as INCOMPLETE_DATA_BAR_TRANSPARENCY,
|
|
32
|
+
g as LINE_DASH_STYLE,
|
|
33
|
+
p as LONG_DATE_FORMAT,
|
|
31
34
|
I as MIN_PLANE_HEIGHT,
|
|
32
35
|
H as NETWORK_AD_MOB,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
B as NETWORK_APPLOVIN,
|
|
37
|
+
a as NETWORK_DT_EXCHANGE,
|
|
38
|
+
i as NETWORK_FACEBOOK_META,
|
|
39
|
+
M as NETWORK_INMOBI,
|
|
40
|
+
P as NETWORK_IRON_SOURCE,
|
|
38
41
|
r as NETWORK_LIFTOFF,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
K as NETWORK_MINTEGRAL,
|
|
43
|
+
G as NETWORK_PANGLE,
|
|
44
|
+
S as NETWORK_UNITY_ADS,
|
|
45
|
+
T as POINT_BORDER_COLOR,
|
|
46
|
+
Y as STACKED_LINE_TRANSPARENCY,
|
|
47
|
+
m as TICKS_EXTRA_PADDING,
|
|
48
|
+
n as TICK_LABEL_COLOR,
|
|
49
|
+
A as TICK_LABEL_FONT,
|
|
50
|
+
C as TOTALS_HELPER_KEY
|
|
47
51
|
};
|
|
@@ -6,6 +6,7 @@ declare const ChartTypes: () => ({
|
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
header: string;
|
|
9
|
+
testId: string;
|
|
9
10
|
loading: boolean;
|
|
10
11
|
visibleIds: unknown[];
|
|
11
12
|
minVisible: number;
|
|
@@ -41,15 +42,22 @@ declare const ChartTypes: () => ({
|
|
|
41
42
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
42
43
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
43
44
|
tooltipOrder: TooltipOrder;
|
|
45
|
+
indicateIncompleteData: boolean;
|
|
46
|
+
tooltipExcludeTotalItem: boolean;
|
|
44
47
|
fullHeight: boolean;
|
|
45
48
|
fullHeightBottomSpacing: number;
|
|
46
49
|
withSettingsHeader: boolean;
|
|
47
50
|
extraCharts: Record<string, unknown>[];
|
|
51
|
+
colorVariant: import("./types").ColorVariant;
|
|
48
52
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
49
53
|
header: {
|
|
50
54
|
type: import("vue").PropType<string>;
|
|
51
55
|
default: string;
|
|
52
56
|
};
|
|
57
|
+
testId: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
53
61
|
loading: {
|
|
54
62
|
type: import("vue").PropType<boolean>;
|
|
55
63
|
default: boolean;
|
|
@@ -199,6 +207,14 @@ declare const ChartTypes: () => ({
|
|
|
199
207
|
type: import("vue").PropType<TooltipOrder>;
|
|
200
208
|
default: TooltipOrder;
|
|
201
209
|
};
|
|
210
|
+
indicateIncompleteData: {
|
|
211
|
+
type: import("vue").PropType<boolean>;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
tooltipExcludeTotalItem: {
|
|
215
|
+
type: import("vue").PropType<boolean>;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
202
218
|
fullHeight: {
|
|
203
219
|
type: import("vue").PropType<boolean>;
|
|
204
220
|
default: boolean;
|
|
@@ -215,11 +231,15 @@ declare const ChartTypes: () => ({
|
|
|
215
231
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
216
232
|
default: () => any[];
|
|
217
233
|
};
|
|
234
|
+
colorVariant: {
|
|
235
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
236
|
+
default: string;
|
|
237
|
+
};
|
|
218
238
|
}>> & {
|
|
219
239
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
220
240
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
221
241
|
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
222
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts">;
|
|
242
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "testId" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "indicateIncompleteData" | "tooltipExcludeTotalItem" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
|
|
223
243
|
$attrs: {
|
|
224
244
|
[x: string]: unknown;
|
|
225
245
|
};
|
|
@@ -238,6 +258,10 @@ declare const ChartTypes: () => ({
|
|
|
238
258
|
type: import("vue").PropType<string>;
|
|
239
259
|
default: string;
|
|
240
260
|
};
|
|
261
|
+
testId: {
|
|
262
|
+
type: import("vue").PropType<string>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
241
265
|
loading: {
|
|
242
266
|
type: import("vue").PropType<boolean>;
|
|
243
267
|
default: boolean;
|
|
@@ -387,6 +411,14 @@ declare const ChartTypes: () => ({
|
|
|
387
411
|
type: import("vue").PropType<TooltipOrder>;
|
|
388
412
|
default: TooltipOrder;
|
|
389
413
|
};
|
|
414
|
+
indicateIncompleteData: {
|
|
415
|
+
type: import("vue").PropType<boolean>;
|
|
416
|
+
default: boolean;
|
|
417
|
+
};
|
|
418
|
+
tooltipExcludeTotalItem: {
|
|
419
|
+
type: import("vue").PropType<boolean>;
|
|
420
|
+
default: boolean;
|
|
421
|
+
};
|
|
390
422
|
fullHeight: {
|
|
391
423
|
type: import("vue").PropType<boolean>;
|
|
392
424
|
default: boolean;
|
|
@@ -403,6 +435,10 @@ declare const ChartTypes: () => ({
|
|
|
403
435
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
404
436
|
default: () => any[];
|
|
405
437
|
};
|
|
438
|
+
colorVariant: {
|
|
439
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
440
|
+
default: string;
|
|
441
|
+
};
|
|
406
442
|
}>> & {
|
|
407
443
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
408
444
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
@@ -413,6 +449,7 @@ declare const ChartTypes: () => ({
|
|
|
413
449
|
"update:sortSelected": (sortOption: unknown) => void;
|
|
414
450
|
}, string, {
|
|
415
451
|
header: string;
|
|
452
|
+
testId: string;
|
|
416
453
|
loading: boolean;
|
|
417
454
|
visibleIds: unknown[];
|
|
418
455
|
minVisible: number;
|
|
@@ -448,10 +485,13 @@ declare const ChartTypes: () => ({
|
|
|
448
485
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
449
486
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
450
487
|
tooltipOrder: TooltipOrder;
|
|
488
|
+
indicateIncompleteData: boolean;
|
|
489
|
+
tooltipExcludeTotalItem: boolean;
|
|
451
490
|
fullHeight: boolean;
|
|
452
491
|
fullHeightBottomSpacing: number;
|
|
453
492
|
withSettingsHeader: boolean;
|
|
454
493
|
extraCharts: Record<string, unknown>[];
|
|
494
|
+
colorVariant: import("./types").ColorVariant;
|
|
455
495
|
}, {}, string> & {
|
|
456
496
|
beforeCreate?: (() => void) | (() => void)[];
|
|
457
497
|
created?: (() => void) | (() => void)[];
|
|
@@ -477,6 +517,10 @@ declare const ChartTypes: () => ({
|
|
|
477
517
|
type: import("vue").PropType<string>;
|
|
478
518
|
default: string;
|
|
479
519
|
};
|
|
520
|
+
testId: {
|
|
521
|
+
type: import("vue").PropType<string>;
|
|
522
|
+
default: string;
|
|
523
|
+
};
|
|
480
524
|
loading: {
|
|
481
525
|
type: import("vue").PropType<boolean>;
|
|
482
526
|
default: boolean;
|
|
@@ -626,6 +670,14 @@ declare const ChartTypes: () => ({
|
|
|
626
670
|
type: import("vue").PropType<TooltipOrder>;
|
|
627
671
|
default: TooltipOrder;
|
|
628
672
|
};
|
|
673
|
+
indicateIncompleteData: {
|
|
674
|
+
type: import("vue").PropType<boolean>;
|
|
675
|
+
default: boolean;
|
|
676
|
+
};
|
|
677
|
+
tooltipExcludeTotalItem: {
|
|
678
|
+
type: import("vue").PropType<boolean>;
|
|
679
|
+
default: boolean;
|
|
680
|
+
};
|
|
629
681
|
fullHeight: {
|
|
630
682
|
type: import("vue").PropType<boolean>;
|
|
631
683
|
default: boolean;
|
|
@@ -642,6 +694,10 @@ declare const ChartTypes: () => ({
|
|
|
642
694
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
643
695
|
default: () => any[];
|
|
644
696
|
};
|
|
697
|
+
colorVariant: {
|
|
698
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
699
|
+
default: string;
|
|
700
|
+
};
|
|
645
701
|
}>> & {
|
|
646
702
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
647
703
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
@@ -655,6 +711,10 @@ declare const ChartTypes: () => ({
|
|
|
655
711
|
type: import("vue").PropType<string>;
|
|
656
712
|
default: string;
|
|
657
713
|
};
|
|
714
|
+
testId: {
|
|
715
|
+
type: import("vue").PropType<string>;
|
|
716
|
+
default: string;
|
|
717
|
+
};
|
|
658
718
|
loading: {
|
|
659
719
|
type: import("vue").PropType<boolean>;
|
|
660
720
|
default: boolean;
|
|
@@ -804,6 +864,14 @@ declare const ChartTypes: () => ({
|
|
|
804
864
|
type: import("vue").PropType<TooltipOrder>;
|
|
805
865
|
default: TooltipOrder;
|
|
806
866
|
};
|
|
867
|
+
indicateIncompleteData: {
|
|
868
|
+
type: import("vue").PropType<boolean>;
|
|
869
|
+
default: boolean;
|
|
870
|
+
};
|
|
871
|
+
tooltipExcludeTotalItem: {
|
|
872
|
+
type: import("vue").PropType<boolean>;
|
|
873
|
+
default: boolean;
|
|
874
|
+
};
|
|
807
875
|
fullHeight: {
|
|
808
876
|
type: import("vue").PropType<boolean>;
|
|
809
877
|
default: boolean;
|
|
@@ -820,6 +888,10 @@ declare const ChartTypes: () => ({
|
|
|
820
888
|
type: import("vue").PropType<Record<string, unknown>[]>;
|
|
821
889
|
default: () => any[];
|
|
822
890
|
};
|
|
891
|
+
colorVariant: {
|
|
892
|
+
type: import("vue").PropType<import("./types").ColorVariant>;
|
|
893
|
+
default: string;
|
|
894
|
+
};
|
|
823
895
|
}>> & {
|
|
824
896
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
825
897
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
@@ -830,6 +902,7 @@ declare const ChartTypes: () => ({
|
|
|
830
902
|
"update:sortSelected": (sortOption: unknown) => void;
|
|
831
903
|
}, string, {
|
|
832
904
|
header: string;
|
|
905
|
+
testId: string;
|
|
833
906
|
loading: boolean;
|
|
834
907
|
visibleIds: unknown[];
|
|
835
908
|
minVisible: number;
|
|
@@ -865,10 +938,13 @@ declare const ChartTypes: () => ({
|
|
|
865
938
|
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
866
939
|
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
867
940
|
tooltipOrder: TooltipOrder;
|
|
941
|
+
indicateIncompleteData: boolean;
|
|
942
|
+
tooltipExcludeTotalItem: boolean;
|
|
868
943
|
fullHeight: boolean;
|
|
869
944
|
fullHeightBottomSpacing: number;
|
|
870
945
|
withSettingsHeader: boolean;
|
|
871
946
|
extraCharts: Record<string, unknown>[];
|
|
947
|
+
colorVariant: import("./types").ColorVariant;
|
|
872
948
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
873
949
|
$slots: {
|
|
874
950
|
"before-chart-type"?(_: {}): any;
|
|
@@ -38,6 +38,7 @@ export declare const MULTIPLE_DATASETS_DATE: ({
|
|
|
38
38
|
id: number;
|
|
39
39
|
label: string;
|
|
40
40
|
caption: string;
|
|
41
|
+
isTotal: boolean;
|
|
41
42
|
icon: string;
|
|
42
43
|
data: {
|
|
43
44
|
date: string;
|
|
@@ -58,6 +59,20 @@ export declare const MULTIPLE_DATASETS_DATE: ({
|
|
|
58
59
|
value2: number;
|
|
59
60
|
value3: number;
|
|
60
61
|
}[];
|
|
62
|
+
isTotal?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
id: number;
|
|
65
|
+
label: string;
|
|
66
|
+
caption: string;
|
|
67
|
+
icon: string;
|
|
68
|
+
data: {
|
|
69
|
+
date: string;
|
|
70
|
+
value: number;
|
|
71
|
+
value2: number;
|
|
72
|
+
value3: number;
|
|
73
|
+
}[];
|
|
74
|
+
isTotal?: undefined;
|
|
75
|
+
iconType?: undefined;
|
|
61
76
|
})[];
|
|
62
77
|
export declare const MULTIPLE_DATASETS_SINGLE_DATE: {
|
|
63
78
|
id: number;
|
|
@@ -24,6 +24,7 @@ export type ChartDataSet = {
|
|
|
24
24
|
iconType?: IconTypes;
|
|
25
25
|
countryFlag?: string;
|
|
26
26
|
image?: string;
|
|
27
|
+
isTotal?: boolean;
|
|
27
28
|
};
|
|
28
29
|
export type ChartParsingConfig = {
|
|
29
30
|
xAxisKey: string;
|
|
@@ -84,5 +85,6 @@ export declare enum TooltipOrder {
|
|
|
84
85
|
export declare enum TrendDirection {
|
|
85
86
|
UP = "up",
|
|
86
87
|
DOWN = "down",
|
|
87
|
-
NEUTRAL = "
|
|
88
|
+
NEUTRAL = "neutral"
|
|
88
89
|
}
|
|
90
|
+
export type ColorVariant = 'default' | 'mediation';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
1
|
+
var L = /* @__PURE__ */ ((e) => (e.Line = "line", e.Bar = "bar", e.StackedLine = "stackedLine", e.StackedBar = "stackedBar", e))(L || {}), a = /* @__PURE__ */ ((e) => (e.DAILY = "daily", e.WEEKLY = "weekly", e.MONTHLY = "monthly", e))(a || {}), n = /* @__PURE__ */ ((e) => (e.Legend = "legend", e.YAxis = "yAxis", e))(n || {}), r = /* @__PURE__ */ ((e) => (e.UP = "up", e.DOWN = "down", e.NEUTRAL = "neutral", e))(r || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
L as ChartType,
|
|
4
|
+
a as DateInterval,
|
|
5
|
+
n as TooltipOrder,
|
|
6
|
+
r as TrendDirection
|
|
7
7
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PrepareTicksLabelArgs, ValueFormat } from '@/components/chart/types';
|
|
2
|
-
export declare const formatValue: (value: number | string | Date, valueFormat: ValueFormat, formatLowDigits?: boolean) => string;
|
|
2
|
+
export declare const formatValue: (value: number | string | Date, valueFormat: ValueFormat, formatLowDigits?: boolean, withSuffixSpace?: boolean) => string;
|
|
3
3
|
export declare const prepareTickLabel: ({ label, format, availableSpace, truncate, }: PrepareTicksLabelArgs) => string | string[];
|
|
@@ -1,21 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
1
|
+
import { getUTCDate as e } from "../../../utils/date.js";
|
|
2
|
+
import { format as f } from "date-fns";
|
|
3
|
+
import { TICK_LABEL_FONT as d } from "../consts.js";
|
|
4
|
+
import { nFormatter as L, DEFAULT_FALLBACK as T } from "../../../utils/formatNumbers.js";
|
|
5
|
+
import { truncateTextToFit as c } from "../../../utils/text.js";
|
|
6
|
+
import { REGEX_LINEBREAK as s } from "../../../consts/regex.js";
|
|
7
|
+
const u = (r, t, o = !1, n = !0) => t === "day" ? f(e(r), "EEEE") : t === "number" ? L(
|
|
8
|
+
r,
|
|
9
|
+
o,
|
|
10
|
+
T,
|
|
11
|
+
n
|
|
12
|
+
) : t === "date" ? f(e(r), "MMM dd") : t === "dateLong" ? f(e(r), "MMM dd, yyyy") : String(r), B = ({
|
|
7
13
|
label: r,
|
|
8
14
|
format: t,
|
|
9
|
-
availableSpace:
|
|
10
|
-
truncate:
|
|
15
|
+
availableSpace: o,
|
|
16
|
+
truncate: n = !1
|
|
11
17
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
return
|
|
18
|
+
const p = s.test(r), m = (E) => {
|
|
19
|
+
const i = u(E, t);
|
|
20
|
+
return n && o > 0 ? c(i, d, o) : i;
|
|
15
21
|
};
|
|
16
|
-
return
|
|
22
|
+
return p ? r.split(s).map(m) : m(r);
|
|
17
23
|
};
|
|
18
24
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
u as formatValue,
|
|
26
|
+
B as prepareTickLabel
|
|
21
27
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SortableListItem } from '@/components/sortableList/SortableList.types';
|
|
2
|
+
export type ColumnConfigSection = {
|
|
3
|
+
sectionId: string;
|
|
4
|
+
title: string;
|
|
5
|
+
isGrouped: boolean;
|
|
6
|
+
maxSelections?: number;
|
|
7
|
+
sectionOptions: SortableListItem[] | SectionOptionsGroup[];
|
|
8
|
+
};
|
|
9
|
+
export type SectionOptionsGroup = {
|
|
10
|
+
displayText: string;
|
|
11
|
+
options: SortableListItem[];
|
|
12
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ColumnConfigSection } from '@/components/columnConfigurator/ColumnConfigurator.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
columnsConfig: ColumnConfigSection[];
|
|
4
|
+
selection: (string | number)[];
|
|
5
|
+
childSelection: Record<string, string | number>;
|
|
6
|
+
alwaysVisibleCount?: number;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
testId?: string;
|
|
9
|
+
}>, {
|
|
10
|
+
columnsConfig: () => any[];
|
|
11
|
+
selection: () => any[];
|
|
12
|
+
childSelection: () => {};
|
|
13
|
+
alwaysVisibleCount: number;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
testId: string;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:selection": (value: unknown[]) => void;
|
|
18
|
+
"update:childSelection": (value: Record<string, string | number>) => void;
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
columnsConfig: ColumnConfigSection[];
|
|
21
|
+
selection: (string | number)[];
|
|
22
|
+
childSelection: Record<string, string | number>;
|
|
23
|
+
alwaysVisibleCount?: number;
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
testId?: string;
|
|
26
|
+
}>, {
|
|
27
|
+
columnsConfig: () => any[];
|
|
28
|
+
selection: () => any[];
|
|
29
|
+
childSelection: () => {};
|
|
30
|
+
alwaysVisibleCount: number;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
testId: string;
|
|
33
|
+
}>>> & {
|
|
34
|
+
"onUpdate:selection"?: (value: unknown[]) => any;
|
|
35
|
+
"onUpdate:childSelection"?: (value: Record<string, string | number>) => any;
|
|
36
|
+
}, {
|
|
37
|
+
testId: string;
|
|
38
|
+
loading: boolean;
|
|
39
|
+
selection: (string | number)[];
|
|
40
|
+
alwaysVisibleCount: number;
|
|
41
|
+
columnsConfig: ColumnConfigSection[];
|
|
42
|
+
childSelection: Record<string, string | number>;
|
|
43
|
+
}>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
+
} : {
|
|
50
|
+
type: import('vue').PropType<T[K]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
type __VLS_WithDefaults<P, D> = {
|
|
55
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
+
default: D[K];
|
|
57
|
+
}> : P[K];
|
|
58
|
+
};
|
|
59
|
+
type __VLS_Prettify<T> = {
|
|
60
|
+
[K in keyof T]: T[K];
|
|
61
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./ColumnConfigurator.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-702ad52e"]]);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|