@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,38 +1,40 @@
|
|
|
1
|
-
import "../../ChartPlane.
|
|
2
|
-
import { Chart as
|
|
3
|
-
import { HoverVerticalLine as
|
|
4
|
-
import { prepareTickLabel as
|
|
5
|
-
import { DEFAULT_TICK_COUNT as
|
|
6
|
-
import { ChartType as
|
|
7
|
-
import { useTooltipPosition as
|
|
8
|
-
import
|
|
1
|
+
import "../../ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css"; import { defineComponent as ne, useCssVars as se, unref as n, computed as i, ref as E, onMounted as de, watch as v, nextTick as ce, openBlock as p, createElementBlock as S, createVNode as ue, isRef as fe, createSlots as pe, withCtx as he, renderSlot as me, createCommentVNode as L, createElementVNode as R, normalizeStyle as Te, createBlock as I, mergeProps as ve } from "vue";
|
|
2
|
+
import { Chart as V, ArcElement as ye, LineElement as Ce, BarElement as ge, PointElement as be, LineController as xe, BarController as Ae, PieController as ke, ScatterController as Ee, CategoryScale as Se, LinearScale as Le, Filler as Re, Tooltip as Ie } from "chart.js";
|
|
3
|
+
import { HoverVerticalLine as De } from "./plugins/HoverVerticalLine.js";
|
|
4
|
+
import { prepareTickLabel as Be, formatValue as Oe } from "./utils/utils.js";
|
|
5
|
+
import { DEFAULT_TICK_COUNT as Pe, TOTALS_HELPER_KEY as F, LINE_DASH_STYLE as Ne, BASE_COLOR_KEY as M, CHART_PADDING as He, POINT_BORDER_COLOR as we, TICK_LABEL_COLOR as Y, TICK_LABEL_FONT as K, TICKS_EXTRA_PADDING as Ve, GRID_LINE_COLOR as U, HEADER_HEIGHT as Fe, COMPACT_HEADER_HEIGHT as Me, HOVER_AREA_TRANSPARENCY as Ye, HOVER_TRANSPARENCY as y, CHART_ITEM_TRANSPARENCY as Ke, INCOMPLETE_DATA_BAR_TRANSPARENCY as Ue, STACKED_LINE_TRANSPARENCY as _e } from "./consts.js";
|
|
6
|
+
import { ChartType as d, DateInterval as Ge, TooltipOrder as _, TrendDirection as $e } from "./types.js";
|
|
7
|
+
import { useTooltipPosition as ze } from "./composables/useTooltipPosition.js";
|
|
8
|
+
import We from "./ChartTooltip.vue.js";
|
|
9
9
|
import { hexColorToRgba as h } from "../../utils/color.js";
|
|
10
|
-
import
|
|
11
|
-
import { useMemoize as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { DEFAULT_CHART_COLOR as
|
|
15
|
-
import { TotalType as
|
|
16
|
-
import { isNullOrUndefined as
|
|
17
|
-
import { storeOriginalDatasetColors as
|
|
18
|
-
|
|
10
|
+
import Ze from "./ChartHeader.vue.js";
|
|
11
|
+
import { useMemoize as Xe, useVModel as je } from "@vueuse/core";
|
|
12
|
+
import qe from "../emptyState/v4/EmptyStateV4.vue.js";
|
|
13
|
+
import Je from "./ChartLoader.vue.js";
|
|
14
|
+
import { DEFAULT_CHART_COLOR as Qe } from "./colorPalette.js";
|
|
15
|
+
import { TotalType as G, calculateTotal as et } from "../../utils/totals.js";
|
|
16
|
+
import { isNullOrUndefined as tt } from "../../utils/utils.js";
|
|
17
|
+
import { storeOriginalDatasetColors as at, restoreOriginalDatasetColors as ot } from "./utils/highlightUtils.js";
|
|
18
|
+
import { useTestIdAttrs as lt } from "../../utils/testIds.js";
|
|
19
|
+
import { ChartTestIdModifiers as $ } from "../../testids/index.js";
|
|
20
|
+
const rt = { class: "chart-plane-container" }, it = {
|
|
19
21
|
key: 0,
|
|
20
22
|
class: "header-wrapper"
|
|
21
|
-
},
|
|
23
|
+
}, nt = {
|
|
22
24
|
key: 1,
|
|
23
25
|
class: "chart-plane"
|
|
24
|
-
},
|
|
26
|
+
}, st = { class: "chart" }, Rt = /* @__PURE__ */ ne({
|
|
25
27
|
__name: "ChartPlane",
|
|
26
28
|
props: {
|
|
27
29
|
dataSets: { default: () => [] },
|
|
28
30
|
visibleIds: { default: () => [] },
|
|
29
31
|
highlightedId: { default: null },
|
|
30
|
-
chartType: { default:
|
|
32
|
+
chartType: { default: d.Line },
|
|
31
33
|
parsing: { default: void 0 },
|
|
32
34
|
xAxisFormat: { default: "string" },
|
|
33
35
|
yAxisFormat: { default: "number" },
|
|
34
|
-
xAxisDateInterval: { default:
|
|
35
|
-
tickCount: { default:
|
|
36
|
+
xAxisDateInterval: { default: Ge.DAILY },
|
|
37
|
+
tickCount: { default: Pe },
|
|
36
38
|
truncateTickLabels: { type: Boolean, default: !1 },
|
|
37
39
|
header: { default: "" },
|
|
38
40
|
subheader: { default: "" },
|
|
@@ -49,51 +51,54 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
49
51
|
compactHeader: { type: Boolean, default: !1 },
|
|
50
52
|
noteText: { default: "" },
|
|
51
53
|
tooltipRespectsTopEdge: { type: Boolean, default: !0 },
|
|
52
|
-
tooltipTotalType: { default:
|
|
53
|
-
tooltipTotalCalcFn: { type: Function, default:
|
|
54
|
-
tooltipOrder: { default:
|
|
54
|
+
tooltipTotalType: { default: G.Total },
|
|
55
|
+
tooltipTotalCalcFn: { type: Function, default: et },
|
|
56
|
+
tooltipOrder: { default: _.Legend },
|
|
55
57
|
trendValue: { default: null },
|
|
56
|
-
trendDirection: { default:
|
|
58
|
+
trendDirection: { default: $e.UP },
|
|
57
59
|
trendTooltip: { default: null },
|
|
58
60
|
totalsChart: { type: Boolean, default: !1 },
|
|
59
61
|
colorsMap: { default: () => ({}) },
|
|
60
62
|
valueSuffix: { default: "" },
|
|
61
|
-
valuePrefix: { default: "" }
|
|
63
|
+
valuePrefix: { default: "" },
|
|
64
|
+
indicateIncompleteData: { type: Boolean, default: !1 },
|
|
65
|
+
tooltipExcludeTotalItem: { type: Boolean, default: !1 },
|
|
66
|
+
testId: { default: "" }
|
|
62
67
|
},
|
|
63
68
|
emits: ["update:chartType"],
|
|
64
|
-
setup(o, { emit:
|
|
69
|
+
setup(o, { emit: z }) {
|
|
65
70
|
const e = o;
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
71
|
+
se((t) => ({
|
|
72
|
+
"6a964917": n(oe),
|
|
73
|
+
"322ee3fc": o.height
|
|
69
74
|
}));
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
fe,
|
|
73
|
-
pe,
|
|
74
|
-
he,
|
|
75
|
-
me,
|
|
76
|
-
ve,
|
|
75
|
+
const W = Xe(Be);
|
|
76
|
+
V.register(
|
|
77
77
|
ye,
|
|
78
|
-
Te,
|
|
79
78
|
Ce,
|
|
80
|
-
be,
|
|
81
79
|
ge,
|
|
80
|
+
be,
|
|
82
81
|
xe,
|
|
82
|
+
Ae,
|
|
83
83
|
ke,
|
|
84
|
-
|
|
84
|
+
Ee,
|
|
85
|
+
Se,
|
|
86
|
+
Le,
|
|
87
|
+
Re,
|
|
88
|
+
Ie,
|
|
89
|
+
De
|
|
85
90
|
);
|
|
86
|
-
const
|
|
91
|
+
const C = je(e, "chartType", z), Z = i(
|
|
87
92
|
() => e.withAnimation ? "" : "none"
|
|
88
|
-
),
|
|
89
|
-
let
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
},
|
|
93
|
-
|
|
93
|
+
), T = E(null);
|
|
94
|
+
let s = null;
|
|
95
|
+
const D = i(() => e.empty || e.dataSets.length === 0), u = i(() => !e.loading && !D.value), g = () => {
|
|
96
|
+
T.value && (s && s.destroy(), s = new V(T.value, P.value));
|
|
97
|
+
}, X = () => {
|
|
98
|
+
s && (s.data.datasets = O.value, s.options = P.value.options, s.update(Z.value));
|
|
94
99
|
};
|
|
95
|
-
|
|
96
|
-
t && (await
|
|
100
|
+
de(g), v(() => e.chartType, g), v(u, async (t) => {
|
|
101
|
+
t && (await ce(), g());
|
|
97
102
|
}), v(
|
|
98
103
|
[
|
|
99
104
|
() => e.visibleIds,
|
|
@@ -101,33 +106,40 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
101
106
|
() => e.valuePrefix,
|
|
102
107
|
() => e.valueSuffix
|
|
103
108
|
],
|
|
104
|
-
|
|
109
|
+
X
|
|
105
110
|
);
|
|
106
|
-
const f =
|
|
107
|
-
() => e.chartType ===
|
|
108
|
-
),
|
|
109
|
-
() => e.chartType ===
|
|
110
|
-
),
|
|
111
|
+
const f = i(() => e.totalsChart), b = i(
|
|
112
|
+
() => e.chartType === d.StackedLine || e.chartType === d.StackedBar || f.value
|
|
113
|
+
), x = i(
|
|
114
|
+
() => e.chartType === d.Line || e.chartType === d.StackedLine
|
|
115
|
+
), j = i(() => f.value && !e.parsing.xAxisKey ? { ...e.parsing, xAxisKey: F } : e.parsing), q = i(() => f.value ? e.dataSets.map((t) => ({
|
|
111
116
|
...t,
|
|
112
|
-
data: t.data.map((
|
|
113
|
-
...
|
|
114
|
-
[
|
|
117
|
+
data: t.data.map((r) => ({
|
|
118
|
+
...r,
|
|
119
|
+
[F]: t.label
|
|
115
120
|
}))
|
|
116
|
-
})) : e.dataSets),
|
|
117
|
-
() =>
|
|
118
|
-
),
|
|
119
|
-
() =>
|
|
121
|
+
})) : e.dataSets), A = i(
|
|
122
|
+
() => q.value.filter((t) => e.visibleIds.includes(t.id))
|
|
123
|
+
), J = (t) => e.colorsMap[t] || Qe, B = i(
|
|
124
|
+
() => A.value.length && A.value.every(
|
|
120
125
|
(t) => t.data.length === 1
|
|
121
126
|
)
|
|
122
|
-
),
|
|
123
|
-
const a =
|
|
127
|
+
), Q = (t) => (r) => {
|
|
128
|
+
const a = r.chart.data.labels.length - 1;
|
|
129
|
+
let l = Ke;
|
|
130
|
+
return e.chartType === d.Bar && e.indicateIncompleteData && r.index === a ? l = Ue : e.chartType === d.StackedLine && (l = _e), h(t, l);
|
|
131
|
+
}, O = i(() => A.value.map((t, r) => {
|
|
132
|
+
const a = J(t.id), l = b.value ? r !== 0 ? "-1" : "start" : void 0, m = e.indicateIncompleteData ? {
|
|
133
|
+
borderDash: (w) => {
|
|
134
|
+
if (w.p1DataIndex === w.chart.data.labels.length - 1)
|
|
135
|
+
return Ne;
|
|
136
|
+
}
|
|
137
|
+
} : void 0, k = Q(a);
|
|
124
138
|
return {
|
|
125
139
|
...t,
|
|
126
|
-
fill:
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
e.chartType === u.StackedLine ? 10 : 70
|
|
130
|
-
),
|
|
140
|
+
fill: l,
|
|
141
|
+
segment: m,
|
|
142
|
+
backgroundColor: k,
|
|
131
143
|
borderColor: a,
|
|
132
144
|
pointBackgroundColor: a,
|
|
133
145
|
pointHoverBorderColor: a,
|
|
@@ -136,20 +148,22 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
136
148
|
// draw a bit outside the chart area
|
|
137
149
|
icon: t.icon || null,
|
|
138
150
|
iconType: t.iconType || "branded",
|
|
139
|
-
[
|
|
151
|
+
[M]: a
|
|
140
152
|
// store base color for later use
|
|
141
153
|
};
|
|
142
|
-
})),
|
|
143
|
-
() => e.tooltipTotalType ===
|
|
144
|
-
),
|
|
145
|
-
|
|
154
|
+
})), ee = i(
|
|
155
|
+
() => e.tooltipTotalType === G.Total ? "Total" : "Mean"
|
|
156
|
+
), te = (t) => t.filter(
|
|
157
|
+
(r) => !r.dataset.isTotal
|
|
158
|
+
), P = i(() => ({
|
|
159
|
+
type: e.chartType == d.Bar || e.chartType === d.StackedBar ? "bar" : "line",
|
|
146
160
|
// Chart Data
|
|
147
161
|
data: {
|
|
148
|
-
datasets:
|
|
162
|
+
datasets: O.value
|
|
149
163
|
},
|
|
150
164
|
// Chart Options
|
|
151
165
|
options: {
|
|
152
|
-
parsing:
|
|
166
|
+
parsing: j.value,
|
|
153
167
|
interaction: {
|
|
154
168
|
intersect: !1,
|
|
155
169
|
mode: f.value ? "point" : "index",
|
|
@@ -159,27 +173,27 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
159
173
|
plugins: {
|
|
160
174
|
legend: { display: !1 },
|
|
161
175
|
title: { display: !1 },
|
|
162
|
-
hoverVerticalLine:
|
|
176
|
+
hoverVerticalLine: x.value,
|
|
163
177
|
// tooltip
|
|
164
178
|
tooltip: {
|
|
165
179
|
enabled: !1,
|
|
166
180
|
position: "average",
|
|
167
181
|
external: ({ tooltip: t }) => {
|
|
168
|
-
|
|
182
|
+
c.value = { ...t };
|
|
169
183
|
},
|
|
170
184
|
callbacks: {
|
|
171
185
|
footer: (t) => {
|
|
172
|
-
const
|
|
173
|
-
|
|
186
|
+
const a = (e.tooltipExcludeTotalItem && t.length > 1 ? te(t) : t).map((m) => m.parsed.y || 0), l = e.tooltipTotalCalcFn(
|
|
187
|
+
a,
|
|
174
188
|
e.tooltipTotalType
|
|
175
189
|
);
|
|
176
|
-
return [
|
|
190
|
+
return [ee.value, String(l)];
|
|
177
191
|
}
|
|
178
192
|
},
|
|
179
|
-
itemSort: (t,
|
|
180
|
-
if (e.tooltipOrder ===
|
|
181
|
-
const a = t.parsed.y || 0,
|
|
182
|
-
return a ===
|
|
193
|
+
itemSort: (t, r) => {
|
|
194
|
+
if (e.tooltipOrder === _.YAxis) {
|
|
195
|
+
const a = t.parsed.y || 0, l = r.parsed.y || 0;
|
|
196
|
+
return a === l ? 0 : a > l ? -1 : 1;
|
|
183
197
|
}
|
|
184
198
|
return 0;
|
|
185
199
|
}
|
|
@@ -189,13 +203,13 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
189
203
|
responsive: !0,
|
|
190
204
|
maintainAspectRatio: !1,
|
|
191
205
|
layout: {
|
|
192
|
-
padding:
|
|
206
|
+
padding: He
|
|
193
207
|
},
|
|
194
208
|
// basic styles
|
|
195
209
|
elements: {
|
|
196
210
|
line: {
|
|
197
211
|
borderWidth: 2,
|
|
198
|
-
tension: 0
|
|
212
|
+
tension: 0
|
|
199
213
|
},
|
|
200
214
|
point: {
|
|
201
215
|
radius: B.value ? 3 : 1,
|
|
@@ -203,7 +217,7 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
203
217
|
borderWidth: 0,
|
|
204
218
|
hoverRadius: 4,
|
|
205
219
|
hoverBorderWidth: 2,
|
|
206
|
-
pointHoverBackgroundColor:
|
|
220
|
+
pointHoverBackgroundColor: we
|
|
207
221
|
},
|
|
208
222
|
bar: {
|
|
209
223
|
borderRadius: 4
|
|
@@ -213,31 +227,31 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
213
227
|
// Horizontal Axis (X)
|
|
214
228
|
x: {
|
|
215
229
|
beginAtZero: !0,
|
|
216
|
-
offset: !
|
|
230
|
+
offset: !x.value || B.value,
|
|
217
231
|
border: { display: !1 },
|
|
218
232
|
stacked: b.value,
|
|
219
233
|
// stack on top of each other
|
|
220
234
|
// ticks
|
|
221
235
|
ticks: {
|
|
222
|
-
color:
|
|
223
|
-
font:
|
|
236
|
+
color: Y,
|
|
237
|
+
font: K,
|
|
224
238
|
padding: 4,
|
|
225
239
|
maxRotation: 0,
|
|
226
240
|
autoSkip: !e.truncateTickLabels,
|
|
227
241
|
autoSkipPadding: 8,
|
|
228
|
-
callback: function(t,
|
|
229
|
-
const
|
|
230
|
-
return
|
|
231
|
-
label:
|
|
242
|
+
callback: function(t, r, a) {
|
|
243
|
+
const l = this.getLabelForValue(t), m = x.value && !f.value ? a.length - 1 : a.length, k = this.chart.scales?.x?.width / m - Ve;
|
|
244
|
+
return W({
|
|
245
|
+
label: l,
|
|
232
246
|
format: e.xAxisFormat,
|
|
233
|
-
availableSpace:
|
|
247
|
+
availableSpace: k,
|
|
234
248
|
truncate: e.truncateTickLabels
|
|
235
249
|
});
|
|
236
250
|
}
|
|
237
251
|
},
|
|
238
252
|
// grid lines
|
|
239
253
|
grid: {
|
|
240
|
-
color:
|
|
254
|
+
color: U,
|
|
241
255
|
drawOnChartArea: !1,
|
|
242
256
|
drawTicks: !0,
|
|
243
257
|
drawBorder: !1,
|
|
@@ -253,118 +267,121 @@ const Ze = { class: "chart-plane-container" }, Xe = {
|
|
|
253
267
|
// stack on top of each other
|
|
254
268
|
// ticks
|
|
255
269
|
ticks: {
|
|
256
|
-
color:
|
|
257
|
-
font:
|
|
270
|
+
color: Y,
|
|
271
|
+
font: K,
|
|
258
272
|
count: e.tickCount + 1,
|
|
259
273
|
padding: 8,
|
|
260
274
|
min: 0,
|
|
261
|
-
callback: (t) => e.valuePrefix +
|
|
275
|
+
callback: (t) => e.valuePrefix + Oe(t, e.yAxisFormat, !0) + e.valueSuffix
|
|
262
276
|
},
|
|
263
277
|
// grid lines
|
|
264
278
|
grid: {
|
|
265
|
-
color:
|
|
279
|
+
color: U,
|
|
266
280
|
drawOnChartArea: !0,
|
|
267
281
|
drawTicks: !1
|
|
268
282
|
}
|
|
269
283
|
}
|
|
270
284
|
}
|
|
271
285
|
}
|
|
272
|
-
})),
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
286
|
+
})), N = E(null), c = E(null), { position: H } = ze(
|
|
287
|
+
T,
|
|
288
|
+
N,
|
|
289
|
+
c,
|
|
276
290
|
e.tooltipRespectsTopEdge
|
|
277
|
-
),
|
|
291
|
+
), ae = i(() => ({
|
|
278
292
|
left: `${H.value.left}px`,
|
|
279
293
|
top: `${H.value.top}px`,
|
|
280
|
-
opacity:
|
|
281
|
-
})),
|
|
282
|
-
() => (e.compactHeader ?
|
|
294
|
+
opacity: c.value?.opacity || 0
|
|
295
|
+
})), oe = i(
|
|
296
|
+
() => (e.compactHeader ? Me : Fe) + "px"
|
|
283
297
|
);
|
|
284
298
|
v(
|
|
285
299
|
() => e.highlightedId,
|
|
286
300
|
(t) => {
|
|
287
|
-
|
|
301
|
+
s && (tt(t) ? re() : le(t), s.update());
|
|
288
302
|
}
|
|
289
303
|
);
|
|
290
|
-
const
|
|
291
|
-
(
|
|
292
|
-
|
|
293
|
-
const
|
|
294
|
-
a.id === t ? e.chartType ===
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
)) : (a.backgroundColor = h(
|
|
304
|
+
const le = (t) => {
|
|
305
|
+
(s?.data.datasets || []).forEach((a) => {
|
|
306
|
+
at(a);
|
|
307
|
+
const l = a[M];
|
|
308
|
+
a.id === t ? e.chartType === d.StackedLine && (a.backgroundColor = h(
|
|
309
|
+
l,
|
|
310
|
+
Ye
|
|
311
|
+
)) : (a.backgroundColor = h(l, y), a.borderColor = h(l, y), a.pointBackgroundColor = h(l, y), a.pointHoverBorderColor = h(l, y));
|
|
298
312
|
});
|
|
299
|
-
},
|
|
300
|
-
(
|
|
301
|
-
};
|
|
302
|
-
return (t,
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
"chart-type":
|
|
306
|
-
"onUpdate:chart-type":
|
|
307
|
-
"type-switcher":
|
|
308
|
-
header:
|
|
313
|
+
}, re = () => {
|
|
314
|
+
(s?.data.datasets || []).forEach(ot);
|
|
315
|
+
}, ie = lt(e.testId, $);
|
|
316
|
+
return (t, r) => (p(), S("div", rt, [
|
|
317
|
+
n(u) || o.keepSubheaderVisible ? (p(), S("div", it, [
|
|
318
|
+
ue(Ze, {
|
|
319
|
+
"chart-type": n(C),
|
|
320
|
+
"onUpdate:chart-type": r[0] || (r[0] = (a) => fe(C) ? C.value = a : null),
|
|
321
|
+
"type-switcher": n(u) ? o.typeSwitcher : !1,
|
|
322
|
+
header: n(u) ? o.header : null,
|
|
309
323
|
subheader: o.subheader,
|
|
310
324
|
"subheader-tooltip": o.subheaderTooltip,
|
|
311
325
|
"trend-tooltip": o.trendTooltip,
|
|
312
326
|
compact: o.compactHeader,
|
|
313
|
-
"trend-value":
|
|
327
|
+
"trend-value": n(u) ? o.trendValue : null,
|
|
314
328
|
"trend-direction": o.trendDirection,
|
|
315
|
-
"note-text": o.noteText
|
|
316
|
-
|
|
329
|
+
"note-text": o.noteText,
|
|
330
|
+
"test-id": o.testId
|
|
331
|
+
}, pe({ _: 2 }, [
|
|
317
332
|
t.$slots["subheader-tooltip"] ? {
|
|
318
333
|
name: "subheader-tooltip",
|
|
319
|
-
fn:
|
|
320
|
-
|
|
334
|
+
fn: he(() => [
|
|
335
|
+
me(t.$slots, "subheader-tooltip", {}, void 0, !0)
|
|
321
336
|
]),
|
|
322
337
|
key: "0"
|
|
323
338
|
} : void 0
|
|
324
|
-
]), 1032, ["chart-type", "type-switcher", "header", "subheader", "subheader-tooltip", "trend-tooltip", "compact", "trend-value", "trend-direction", "note-text"])
|
|
325
|
-
])) :
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
339
|
+
]), 1032, ["chart-type", "type-switcher", "header", "subheader", "subheader-tooltip", "trend-tooltip", "compact", "trend-value", "trend-direction", "note-text", "test-id"])
|
|
340
|
+
])) : L("", !0),
|
|
341
|
+
n(u) ? (p(), S("section", nt, [
|
|
342
|
+
R("div", st, [
|
|
343
|
+
R("canvas", {
|
|
329
344
|
ref_key: "chartRef",
|
|
330
|
-
ref:
|
|
345
|
+
ref: T,
|
|
331
346
|
class: "chart__canvas"
|
|
332
347
|
}, null, 512),
|
|
333
|
-
|
|
348
|
+
R("div", {
|
|
334
349
|
ref_key: "tooltipRef",
|
|
335
|
-
ref:
|
|
350
|
+
ref: N,
|
|
336
351
|
class: "chart__tooltip",
|
|
337
|
-
style:
|
|
352
|
+
style: Te(n(ae))
|
|
338
353
|
}, [
|
|
339
|
-
|
|
354
|
+
c.value ? (p(), I(We, {
|
|
340
355
|
key: 0,
|
|
341
|
-
"totals-chart":
|
|
342
|
-
title: String(
|
|
343
|
-
"data-points":
|
|
356
|
+
"totals-chart": n(f),
|
|
357
|
+
title: String(c.value.title),
|
|
358
|
+
"data-points": c.value.dataPoints,
|
|
344
359
|
"x-axis-format": o.xAxisFormat,
|
|
345
360
|
"y-axis-format": o.yAxisFormat,
|
|
346
361
|
"x-axis-date-interval": o.xAxisDateInterval,
|
|
347
|
-
"total-label":
|
|
348
|
-
"total-value": Number(
|
|
362
|
+
"total-label": c.value.footer?.[0],
|
|
363
|
+
"total-value": Number(c.value.footer?.[1]),
|
|
349
364
|
"value-suffix": o.valueSuffix,
|
|
350
|
-
"value-prefix": o.valuePrefix
|
|
351
|
-
|
|
365
|
+
"value-prefix": o.valuePrefix,
|
|
366
|
+
"test-id": o.testId
|
|
367
|
+
}, null, 8, ["totals-chart", "title", "data-points", "x-axis-format", "y-axis-format", "x-axis-date-interval", "total-label", "total-value", "value-suffix", "value-prefix", "test-id"])) : L("", !0)
|
|
352
368
|
], 4)
|
|
353
369
|
])
|
|
354
|
-
])) : o.loading ? (p(),
|
|
370
|
+
])) : o.loading ? (p(), I(Je, ve({
|
|
355
371
|
key: 2,
|
|
356
372
|
class: "chart-loading"
|
|
357
|
-
})) :
|
|
373
|
+
}, n(ie)[n($).LOADER]), null, 16)) : n(D) ? (p(), I(n(qe), {
|
|
358
374
|
key: 3,
|
|
359
375
|
class: "chart-empty",
|
|
360
376
|
variant: null,
|
|
361
377
|
title: o.noDataTitle,
|
|
362
378
|
subtitle: o.noDataSubtitle,
|
|
363
|
-
"icon-name": o.noDataIcon
|
|
364
|
-
|
|
379
|
+
"icon-name": o.noDataIcon,
|
|
380
|
+
"test-id": o.testId
|
|
381
|
+
}, null, 8, ["title", "subtitle", "icon-name", "test-id"])) : L("", !0)
|
|
365
382
|
]));
|
|
366
383
|
}
|
|
367
384
|
});
|
|
368
385
|
export {
|
|
369
|
-
|
|
386
|
+
Rt as default
|
|
370
387
|
};
|
|
@@ -176,4 +176,21 @@ export declare const chartStoryArgs: {
|
|
|
176
176
|
};
|
|
177
177
|
options: TooltipOrder[];
|
|
178
178
|
};
|
|
179
|
+
colorVariant: {
|
|
180
|
+
description: string;
|
|
181
|
+
control: string;
|
|
182
|
+
options: string[];
|
|
183
|
+
};
|
|
184
|
+
indicateIncompleteData: {
|
|
185
|
+
description: string;
|
|
186
|
+
control: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
tooltipExcludeTotalItem: {
|
|
191
|
+
description: string;
|
|
192
|
+
control: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
179
196
|
};
|
|
@@ -10,6 +10,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
totalsChart?: boolean;
|
|
11
11
|
valueSuffix?: string;
|
|
12
12
|
valuePrefix?: string;
|
|
13
|
+
testId?: string;
|
|
13
14
|
}>, {
|
|
14
15
|
title: string;
|
|
15
16
|
dataPoints: () => any[];
|
|
@@ -21,6 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
22
|
totalsChart: boolean;
|
|
22
23
|
valueSuffix: string;
|
|
23
24
|
valuePrefix: string;
|
|
25
|
+
testId: string;
|
|
24
26
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
25
27
|
title?: string;
|
|
26
28
|
dataPoints: MyTooltipItem<'line'>[];
|
|
@@ -32,6 +34,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
34
|
totalsChart?: boolean;
|
|
33
35
|
valueSuffix?: string;
|
|
34
36
|
valuePrefix?: string;
|
|
37
|
+
testId?: string;
|
|
35
38
|
}>, {
|
|
36
39
|
title: string;
|
|
37
40
|
dataPoints: () => any[];
|
|
@@ -43,8 +46,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
43
46
|
totalsChart: boolean;
|
|
44
47
|
valueSuffix: string;
|
|
45
48
|
valuePrefix: string;
|
|
49
|
+
testId: string;
|
|
46
50
|
}>>>, {
|
|
47
51
|
title: string;
|
|
52
|
+
testId: string;
|
|
48
53
|
xAxisFormat: ValueFormat;
|
|
49
54
|
xAxisDateInterval: DateInterval;
|
|
50
55
|
dataPoints: MyTooltipItem<'line'>[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ChartTooltip.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../ChartTooltip.
|
|
4
|
-
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9623dbbd"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|