@ironsource/shared-ui 2.1.12-rc.4 → 2.1.12-rc.40
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_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_f5204c04_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_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_55dd36a7_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_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/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_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_84dc8525_lang.css +1 -0
- package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_5160f12d_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_4ba9e4bd_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +5 -3
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +28 -27
- package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
- package/components/chart/Chart.vue.d.ts +168 -37
- package/components/chart/Chart.vue.js +2 -2
- package/components/chart/Chart.vue2.js +154 -297
- package/components/chart/ChartHeader.vue.d.ts +50 -11
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -54
- package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
- package/components/chart/ChartHeaderTrend.vue.js +7 -0
- package/components/chart/ChartHeaderTrend.vue2.js +97 -0
- package/components/chart/ChartLegend.vue.d.ts +24 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +82 -63
- package/components/chart/ChartPlane.vue.d.ts +236 -0
- package/components/chart/ChartPlane.vue.js +7 -0
- package/components/chart/ChartPlane.vue2.js +381 -0
- package/components/chart/ChartStoryArgs.d.ts +196 -0
- package/components/chart/ChartTooltip.vue.d.ts +22 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +51 -56
- package/components/chart/LegendSorting.vue.d.ts +37 -0
- package/components/chart/LegendSorting.vue.js +45 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- package/components/chart/SubHeader.vue.d.ts +52 -0
- package/components/chart/SubHeader.vue.js +7 -0
- package/components/chart/SubHeader.vue2.js +61 -0
- package/components/chart/TooltipHeader.vue.d.ts +50 -0
- package/components/chart/TooltipHeader.vue.js +7 -0
- package/components/chart/TooltipHeader.vue2.js +70 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +5 -0
- package/components/chart/composables/useChartHeight.js +24 -0
- package/components/chart/composables/useColorsMap.d.ts +12 -0
- package/components/chart/composables/useColorsMap.js +48 -0
- package/components/chart/composables/useTooltipPosition.d.ts +1 -1
- package/components/chart/composables/useTooltipPosition.js +11 -15
- package/components/chart/consts.d.ts +33 -7
- package/components/chart/consts.js +46 -22
- package/components/chart/index.d.ts +592 -119
- package/components/chart/mockData.d.ts +59 -5
- package/components/chart/types.d.ts +39 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/formatNumber.d.ts +0 -1
- package/components/chart/utils/highlightUtils.d.ts +3 -0
- package/components/chart/utils/highlightUtils.js +18 -0
- package/components/chart/utils/utils.d.ts +3 -3
- package/components/chart/utils/utils.js +25 -10
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- 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 +100 -94
- package/components/dateRange/common/DateServices.common.d.ts +7 -1
- package/components/dateRange/common/DateServices.common.js +88 -92
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -3
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dateRange/v4/index.d.ts +7 -7
- 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 +13 -12
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +164 -164
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +161 -149
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +144 -122
- package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
- package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +162 -117
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +701 -162
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/link/Link.vue.d.ts +70 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +43 -0
- package/components/link/index.d.ts +201 -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/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/sortableList/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +3 -3
- 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 +10 -0
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +104 -96
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/index.d.ts +39 -1
- package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +39 -24
- package/components/switch/v4/index.d.ts +29 -0
- package/components/table/common/Table.common.d.ts +0 -1
- package/components/table/common/Table.common.js +38 -39
- package/components/table/common/Table.types.d.ts +2 -0
- package/components/table/common/consts.d.ts +1 -0
- package/components/table/common/consts.js +2 -1
- package/components/table/v4/DataGrid.vue.d.ts +18 -7
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +300 -250
- 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 +82 -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 +91 -90
- package/components/table/v4/index.d.ts +575 -293
- package/components/table/v4/index.js +7 -4
- package/components/table/v4/storyUtils.d.ts +27 -0
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
- 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 +27 -8
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useDateService.d.ts +7 -0
- package/composables/useDateService.js +10 -0
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +32 -27
- package/composables/useFullPageHeight.d.ts +10 -0
- package/composables/useFullPageHeight.js +15 -0
- package/consts/common.d.ts +1 -0
- package/consts/common.js +4 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.js +2 -1
- package/index.d.ts +4185 -2363
- package/index.js +148 -132
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +13 -1
- package/testids/index.d.ts +8 -0
- package/testids/index.js +35 -33
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +37 -7
- package/utils/index.js +7 -0
- package/utils/text.d.ts +3 -0
- package/utils/text.js +24 -5
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/utils/utils.d.ts +1 -0
- package/utils/utils.js +4 -0
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_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_1e8837dc_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_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/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
- package/components/chart/utils/formatNumber.js +0 -11
|
@@ -1,324 +1,181 @@
|
|
|
1
|
-
import "../../Chart.
|
|
2
|
-
import { useVModel as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import { hexColorToRgba as Se } from "../../utils/color.js";
|
|
13
|
-
import { useChartValues as we } from "./composables/useChartValues.js";
|
|
14
|
-
import Be from "./ChartLoader.vue.js";
|
|
15
|
-
import Ie from "../emptyState/v4/EmptyStateV4.vue.js";
|
|
16
|
-
import Ae from "./SettingsHeader.vue.js";
|
|
17
|
-
const Ee = { class: "chart-container" }, Ve = { class: "header-wrapper" }, Re = { class: "chart" }, De = {
|
|
1
|
+
import "../../Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css"; import { defineComponent as P, ref as U, computed as n, openBlock as d, createElementBlock as m, Fragment as I, createBlock as C, unref as i, isRef as b, withCtx as s, renderSlot as u, createCommentVNode as D, createElementVNode as k, mergeProps as y, normalizeClass as O, createVNode as L, createSlots as N, renderList as M } from "vue";
|
|
2
|
+
import { useVModel as B } from "@vueuse/core";
|
|
3
|
+
import $ from "./ChartLegend.vue.js";
|
|
4
|
+
import K from "./SettingsHeader.vue.js";
|
|
5
|
+
import V from "./ChartPlane.vue.js";
|
|
6
|
+
import { useColorsMap as z } from "./composables/useColorsMap.js";
|
|
7
|
+
import { DEFAULT_TICK_COUNT as R, DEFAULT_MIN_VISIBLE as X, DEFAULT_MAX_VISIBLE as Y } from "./consts.js";
|
|
8
|
+
import { ChartType as j, DateInterval as q, TooltipOrder as G, TrendDirection as J } from "./types.js";
|
|
9
|
+
import { useChartHeight as Q } from "./composables/useChartHeight.js";
|
|
10
|
+
import { TotalType as W, calculateTotal as Z } from "../../utils/totals.js";
|
|
11
|
+
const _ = {
|
|
18
12
|
key: 0,
|
|
19
13
|
class: "chart-sidebar"
|
|
20
|
-
},
|
|
14
|
+
}, ue = /* @__PURE__ */ P({
|
|
21
15
|
__name: "Chart",
|
|
22
16
|
props: {
|
|
23
17
|
dataSets: { default: () => [] },
|
|
24
18
|
visibleIds: { default: () => [] },
|
|
25
|
-
chartType: { default:
|
|
19
|
+
chartType: { default: j.Line },
|
|
26
20
|
parsing: { default: void 0 },
|
|
27
21
|
xAxisFormat: { default: "string" },
|
|
28
22
|
yAxisFormat: { default: "number" },
|
|
29
|
-
|
|
23
|
+
xAxisDateInterval: { default: q.DAILY },
|
|
24
|
+
tickCount: { default: R },
|
|
25
|
+
truncateTickLabels: { type: Boolean, default: !1 },
|
|
26
|
+
loading: { type: Boolean, default: !1 },
|
|
27
|
+
empty: { type: Boolean, default: !1 },
|
|
28
|
+
withAnimation: { type: Boolean, default: !0 },
|
|
29
|
+
totalsChart: { type: Boolean, default: !1 },
|
|
30
|
+
tooltipTotalType: { default: W.Total },
|
|
31
|
+
tooltipTotalCalcFn: { type: Function, default: Z },
|
|
32
|
+
tooltipOrder: { default: G.Legend },
|
|
33
|
+
valueSuffix: { default: "" },
|
|
34
|
+
valuePrefix: { default: "" },
|
|
35
|
+
indicateIncompleteData: { type: Boolean, default: !1 },
|
|
36
|
+
tooltipExcludeTotalItem: { type: Boolean, default: !1 },
|
|
30
37
|
header: { default: "" },
|
|
31
38
|
subheader: { default: "" },
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
subheaderTooltip: { default: null },
|
|
40
|
+
keepSubheaderVisible: { type: Boolean, default: !1 },
|
|
41
|
+
trendValue: { default: null },
|
|
42
|
+
trendDirection: { default: J.UP },
|
|
43
|
+
trendTooltip: { default: null },
|
|
44
|
+
noteText: { default: "" },
|
|
37
45
|
noDataIcon: { default: "file-search" },
|
|
38
46
|
noDataTitle: { default: "No data to display" },
|
|
39
47
|
noDataSubtitle: { default: "Search again with different filters" },
|
|
40
|
-
|
|
48
|
+
hideLegend: { type: Boolean, default: !1 },
|
|
49
|
+
minVisible: { default: X },
|
|
50
|
+
maxVisible: { default: Y },
|
|
41
51
|
maxLimitTooltipText: { default: "" },
|
|
42
|
-
|
|
52
|
+
sortSelected: { default: null },
|
|
53
|
+
sortOptions: { default: () => [] },
|
|
54
|
+
sortOptionNameKey: { default: "" },
|
|
55
|
+
fullHeight: { type: Boolean, default: !1 },
|
|
56
|
+
fullHeightBottomSpacing: { default: 50 },
|
|
57
|
+
withSettingsHeader: { type: Boolean, default: !0 },
|
|
58
|
+
extraCharts: { default: () => [] },
|
|
59
|
+
colorVariant: { default: "default" }
|
|
43
60
|
},
|
|
44
|
-
emits: ["update:chartType", "update:visibleIds"],
|
|
45
|
-
setup(a, { emit:
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
e
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
()
|
|
100
|
-
(e) => e.data.length === 1
|
|
101
|
-
)
|
|
102
|
-
), E = i(
|
|
103
|
-
() => ({
|
|
104
|
-
type: t.chartType == n.Bar || t.chartType === n.StackedBar ? "bar" : "line",
|
|
105
|
-
// Chart Data
|
|
106
|
-
data: {
|
|
107
|
-
datasets: g.value
|
|
108
|
-
},
|
|
109
|
-
// Chart Options
|
|
110
|
-
options: {
|
|
111
|
-
parsing: t.parsing,
|
|
112
|
-
interaction: {
|
|
113
|
-
intersect: !1,
|
|
114
|
-
mode: "index",
|
|
115
|
-
axis: "x"
|
|
116
|
-
},
|
|
117
|
-
// plugins
|
|
118
|
-
plugins: {
|
|
119
|
-
legend: { display: !1 },
|
|
120
|
-
title: { display: !1 },
|
|
121
|
-
hoverVerticalLine: I.value,
|
|
122
|
-
// tooltip
|
|
123
|
-
tooltip: {
|
|
124
|
-
enabled: !1,
|
|
125
|
-
position: "average",
|
|
126
|
-
external: ({ tooltip: e }) => {
|
|
127
|
-
r.value = { ...e };
|
|
128
|
-
},
|
|
129
|
-
callbacks: {
|
|
130
|
-
footer: (e) => {
|
|
131
|
-
const o = e.reduce((l, q) => l + (q.parsed.y || 0), 0);
|
|
132
|
-
return ["Total", String(o)];
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
// chart layout
|
|
138
|
-
responsive: !0,
|
|
139
|
-
maintainAspectRatio: !1,
|
|
140
|
-
layout: {
|
|
141
|
-
padding: {
|
|
142
|
-
left: 18,
|
|
143
|
-
top: 18,
|
|
144
|
-
bottom: 13
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
// basic styles
|
|
148
|
-
elements: {
|
|
149
|
-
line: {
|
|
150
|
-
borderWidth: 2,
|
|
151
|
-
tension: 0.3
|
|
152
|
-
},
|
|
153
|
-
point: {
|
|
154
|
-
radius: A.value ? 3 : 1,
|
|
155
|
-
hitRadius: 8,
|
|
156
|
-
borderWidth: 0,
|
|
157
|
-
hoverRadius: 4,
|
|
158
|
-
hoverBorderWidth: 2,
|
|
159
|
-
pointHoverBackgroundColor: Te
|
|
160
|
-
},
|
|
161
|
-
bar: {
|
|
162
|
-
borderRadius: 4
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
scales: {
|
|
166
|
-
// Horizontal Axis (X)
|
|
167
|
-
x: {
|
|
168
|
-
beginAtZero: !0,
|
|
169
|
-
offset: !I.value || A.value,
|
|
170
|
-
border: { display: !1 },
|
|
171
|
-
stacked: m.value,
|
|
172
|
-
// stack on top of each other
|
|
173
|
-
// ticks
|
|
174
|
-
ticks: {
|
|
175
|
-
color: z,
|
|
176
|
-
font: M,
|
|
177
|
-
padding: 4,
|
|
178
|
-
callback: function(e) {
|
|
179
|
-
return U(
|
|
180
|
-
this.getLabelForValue(e),
|
|
181
|
-
t.xAxisFormat
|
|
182
|
-
);
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
// grid lines
|
|
186
|
-
grid: {
|
|
187
|
-
color: $,
|
|
188
|
-
drawOnChartArea: !1,
|
|
189
|
-
drawTicks: !0,
|
|
190
|
-
drawBorder: !1,
|
|
191
|
-
tickLength: 7
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
// Vertical Axis (Y)
|
|
195
|
-
y: {
|
|
196
|
-
beginAtZero: !0,
|
|
197
|
-
border: { display: !1 },
|
|
198
|
-
// hide left borderline
|
|
199
|
-
stacked: m.value,
|
|
200
|
-
// stack on top of each other
|
|
201
|
-
// ticks
|
|
202
|
-
ticks: {
|
|
203
|
-
color: z,
|
|
204
|
-
font: M,
|
|
205
|
-
padding: 8,
|
|
206
|
-
stepSize: O.value,
|
|
207
|
-
min: D.value,
|
|
208
|
-
max: O.value * t.tickCount,
|
|
209
|
-
callback: (e) => U(e, t.yAxisFormat)
|
|
210
|
-
},
|
|
211
|
-
// grid lines
|
|
212
|
-
grid: {
|
|
213
|
-
color: $,
|
|
214
|
-
drawOnChartArea: !0,
|
|
215
|
-
drawTicks: !1
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
})
|
|
221
|
-
), Z = i(
|
|
222
|
-
() => g.value.reduce((e, o) => (e[o.id] = o.borderColor, e), {})
|
|
223
|
-
), G = i(() => t.dataSets.map((e) => ({
|
|
224
|
-
id: e.id,
|
|
225
|
-
label: e.label,
|
|
226
|
-
caption: e.caption || null,
|
|
227
|
-
color: Z.value[e.id] || null,
|
|
228
|
-
icon: e.icon || null,
|
|
229
|
-
iconType: e.iconType || "branded"
|
|
230
|
-
}))), V = T(null), r = T(null), { position: R } = Ce(
|
|
231
|
-
h,
|
|
232
|
-
V,
|
|
233
|
-
r
|
|
234
|
-
), X = i(() => ({
|
|
235
|
-
left: `${R.value.left}px`,
|
|
236
|
-
top: `${R.value.top}px`,
|
|
237
|
-
opacity: r.value?.opacity || 0
|
|
238
|
-
})), { minValue: D, maxValue: j } = we({
|
|
239
|
-
parsingConfig: t.parsing,
|
|
240
|
-
dataSets: f,
|
|
241
|
-
isStacked: m
|
|
242
|
-
}), O = i(
|
|
243
|
-
() => fe(D.value, j.value, t.tickCount)
|
|
244
|
-
);
|
|
245
|
-
return (e, o) => (d(), k(F, null, [
|
|
246
|
-
a.withSettingsHeader ? (d(), v(Ae, {
|
|
61
|
+
emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
|
|
62
|
+
setup(a, { emit: p }) {
|
|
63
|
+
const e = a, r = B(e, "chartType", p), c = B(e, "sortSelected", p), f = U(null), T = n(() => ({
|
|
64
|
+
dataSets: e.dataSets,
|
|
65
|
+
visibleIds: e.visibleIds,
|
|
66
|
+
parsing: e.parsing,
|
|
67
|
+
xAxisFormat: e.xAxisFormat,
|
|
68
|
+
yAxisFormat: e.yAxisFormat,
|
|
69
|
+
xAxisDateInterval: e.xAxisDateInterval,
|
|
70
|
+
tickCount: e.tickCount,
|
|
71
|
+
truncateTickLabels: e.truncateTickLabels,
|
|
72
|
+
header: e.header,
|
|
73
|
+
subheader: e.subheader,
|
|
74
|
+
noteText: e.noteText,
|
|
75
|
+
loading: e.loading,
|
|
76
|
+
empty: e.empty,
|
|
77
|
+
noDataIcon: e.noDataIcon,
|
|
78
|
+
noDataTitle: e.noDataTitle,
|
|
79
|
+
noDataSubtitle: e.noDataSubtitle,
|
|
80
|
+
withAnimation: e.withAnimation,
|
|
81
|
+
typeSwitcher: !e.withSettingsHeader,
|
|
82
|
+
height: E.value,
|
|
83
|
+
compactHeader: x.value > 1,
|
|
84
|
+
trendValue: e.trendValue,
|
|
85
|
+
trendDirection: e.trendDirection,
|
|
86
|
+
trendTooltip: e.trendTooltip,
|
|
87
|
+
totalsChart: e.totalsChart,
|
|
88
|
+
subheaderTooltip: e.subheaderTooltip,
|
|
89
|
+
keepSubheaderVisible: e.keepSubheaderVisible,
|
|
90
|
+
colorsMap: h.value,
|
|
91
|
+
tooltipTotalType: e.tooltipTotalType,
|
|
92
|
+
tooltipTotalCalcFn: e.tooltipTotalCalcFn,
|
|
93
|
+
tooltipOrder: e.tooltipOrder,
|
|
94
|
+
highlightedId: f.value,
|
|
95
|
+
valueSuffix: e.valueSuffix,
|
|
96
|
+
valuePrefix: e.valuePrefix,
|
|
97
|
+
indicateIncompleteData: e.indicateIncompleteData,
|
|
98
|
+
tooltipExcludeTotalItem: e.tooltipExcludeTotalItem
|
|
99
|
+
})), A = n(() => e.dataSets), g = n(() => e.visibleIds), v = n(() => e.extraCharts.length), x = n(() => 1 + v.value), F = (t) => t === v.value - 1, { colorsMap: h } = z({
|
|
100
|
+
dataSets: A,
|
|
101
|
+
visibleIds: g,
|
|
102
|
+
variant: e.colorVariant
|
|
103
|
+
}), w = n(() => e.dataSets.map((t) => ({
|
|
104
|
+
id: t.id,
|
|
105
|
+
label: t.label,
|
|
106
|
+
caption: t.caption || null,
|
|
107
|
+
color: h.value[t.id] || null,
|
|
108
|
+
icon: t.icon || null,
|
|
109
|
+
iconType: t.iconType || "branded"
|
|
110
|
+
}))), { containerProps: H, eachPlaneHeight: E } = Q({
|
|
111
|
+
chartPlanesCount: x,
|
|
112
|
+
useFullHeight: e.fullHeight,
|
|
113
|
+
bottomSpacing: e.fullHeightBottomSpacing
|
|
114
|
+
});
|
|
115
|
+
return (t, o) => (d(), m(I, null, [
|
|
116
|
+
a.withSettingsHeader ? (d(), C(K, {
|
|
247
117
|
key: 0,
|
|
248
|
-
"chart-type":
|
|
249
|
-
"onUpdate:chart-type": o[0] || (o[0] = (l) =>
|
|
118
|
+
"chart-type": i(r),
|
|
119
|
+
"onUpdate:chart-type": o[0] || (o[0] = (l) => b(r) ? r.value = l : null),
|
|
250
120
|
"hide-legend": a.hideLegend
|
|
251
121
|
}, {
|
|
252
|
-
|
|
253
|
-
|
|
122
|
+
"before-chart-type": s(() => [
|
|
123
|
+
u(t.$slots, "before-chart-type", {}, void 0, !0)
|
|
124
|
+
]),
|
|
125
|
+
metric: s(() => [
|
|
126
|
+
u(t.$slots, "metric", {}, void 0, !0)
|
|
254
127
|
]),
|
|
255
|
-
breakdowns:
|
|
256
|
-
|
|
128
|
+
breakdowns: s(() => [
|
|
129
|
+
u(t.$slots, "breakdowns", {}, void 0, !0)
|
|
257
130
|
]),
|
|
258
131
|
_: 3
|
|
259
|
-
}, 8, ["chart-type", "hide-legend"])) :
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
], 2),
|
|
304
|
-
a.hideLegend ? y("", !0) : (d(), k("section", De, [
|
|
305
|
-
H(xe, {
|
|
306
|
-
items: u(G),
|
|
307
|
-
"visible-ids": a.visibleIds,
|
|
308
|
-
"max-limit-tooltip-text": a.maxLimitTooltipText,
|
|
309
|
-
"onUpdate:visibleIds": o[2] || (o[2] = (l) => S("update:visibleIds", l))
|
|
310
|
-
}, null, 8, ["items", "visible-ids", "max-limit-tooltip-text"])
|
|
311
|
-
]))
|
|
312
|
-
], 64)) : a.loading ? (d(), v(Be, { key: 1 })) : u(w) ? (d(), v(u(Ie), {
|
|
313
|
-
key: 2,
|
|
314
|
-
title: a.noDataTitle,
|
|
315
|
-
subtitle: a.noDataSubtitle,
|
|
316
|
-
"icon-name": a.noDataIcon
|
|
317
|
-
}, null, 8, ["title", "subtitle", "icon-name"])) : y("", !0)
|
|
318
|
-
])
|
|
132
|
+
}, 8, ["chart-type", "hide-legend"])) : D("", !0),
|
|
133
|
+
k("div", y({ class: "chart-container" }, i(H)), [
|
|
134
|
+
k("section", {
|
|
135
|
+
class: O(["chart-planes", [{ "with-legend": !a.hideLegend }]])
|
|
136
|
+
}, [
|
|
137
|
+
L(V, y({
|
|
138
|
+
"chart-type": i(r),
|
|
139
|
+
"onUpdate:chart-type": o[1] || (o[1] = (l) => b(r) ? r.value = l : null)
|
|
140
|
+
}, i(T)), N({ _: 2 }, [
|
|
141
|
+
t.$slots["subheader-tooltip"] ? {
|
|
142
|
+
name: "subheader-tooltip",
|
|
143
|
+
fn: s(() => [
|
|
144
|
+
u(t.$slots, "subheader-tooltip", {}, void 0, !0)
|
|
145
|
+
]),
|
|
146
|
+
key: "0"
|
|
147
|
+
} : void 0
|
|
148
|
+
]), 1040, ["chart-type"]),
|
|
149
|
+
(d(!0), m(I, null, M(a.extraCharts, (l, S) => (d(), C(V, y({
|
|
150
|
+
key: S,
|
|
151
|
+
class: "extra-chart-plane"
|
|
152
|
+
}, { ...i(T), ...l }, {
|
|
153
|
+
"chart-type": i(r),
|
|
154
|
+
"colors-map": i(h),
|
|
155
|
+
"type-switcher": !1,
|
|
156
|
+
"tooltip-respects-top-edge": !F(S)
|
|
157
|
+
}), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge"]))), 128))
|
|
158
|
+
], 2),
|
|
159
|
+
a.hideLegend ? D("", !0) : (d(), m("section", _, [
|
|
160
|
+
L($, {
|
|
161
|
+
"sort-selected": i(c),
|
|
162
|
+
"onUpdate:sort-selected": o[2] || (o[2] = (l) => b(c) ? c.value = l : null),
|
|
163
|
+
"highlighted-id": f.value,
|
|
164
|
+
"onUpdate:highlighted-id": o[3] || (o[3] = (l) => f.value = l),
|
|
165
|
+
items: i(w),
|
|
166
|
+
"visible-ids": i(g),
|
|
167
|
+
"max-limit-tooltip-text": a.maxLimitTooltipText,
|
|
168
|
+
"sort-options": a.sortOptions,
|
|
169
|
+
"sort-option-name-key": a.sortOptionNameKey,
|
|
170
|
+
"min-visible": a.minVisible,
|
|
171
|
+
"max-visible": a.maxVisible,
|
|
172
|
+
"onUpdate:visibleIds": o[4] || (o[4] = (l) => p("update:visibleIds", l))
|
|
173
|
+
}, null, 8, ["sort-selected", "highlighted-id", "items", "visible-ids", "max-limit-tooltip-text", "sort-options", "sort-option-name-key", "min-visible", "max-visible"])
|
|
174
|
+
]))
|
|
175
|
+
], 16)
|
|
319
176
|
], 64));
|
|
320
177
|
}
|
|
321
178
|
});
|
|
322
179
|
export {
|
|
323
|
-
|
|
180
|
+
ue as default
|
|
324
181
|
};
|
|
@@ -1,38 +1,77 @@
|
|
|
1
|
-
import { ChartType } from '@/components/chart/types';
|
|
1
|
+
import { ChartType, TrendDirection } from '@/components/chart/types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
chartType: ChartType;
|
|
4
|
-
|
|
4
|
+
typeSwitcher: boolean;
|
|
5
5
|
header?: string;
|
|
6
6
|
subheader?: string;
|
|
7
|
-
|
|
7
|
+
subheaderTooltip?: {
|
|
8
|
+
header?: string;
|
|
9
|
+
text?: string;
|
|
10
|
+
};
|
|
11
|
+
trendTooltip?: {
|
|
12
|
+
header?: string;
|
|
13
|
+
rangeCurrent?: string;
|
|
14
|
+
rangePrevious?: string;
|
|
15
|
+
};
|
|
16
|
+
compact: boolean;
|
|
17
|
+
trendValue?: string | number;
|
|
18
|
+
trendDirection?: TrendDirection;
|
|
19
|
+
noteText?: string;
|
|
8
20
|
}>, {
|
|
9
21
|
chartType: ChartType;
|
|
10
|
-
|
|
22
|
+
typeSwitcher: boolean;
|
|
11
23
|
header: string;
|
|
12
24
|
subheader: string;
|
|
13
|
-
|
|
25
|
+
subheaderTooltip: any;
|
|
26
|
+
trendTooltip: any;
|
|
27
|
+
compact: boolean;
|
|
28
|
+
trendValue: any;
|
|
29
|
+
trendDirection: TrendDirection;
|
|
30
|
+
noteText: string;
|
|
14
31
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
32
|
"update:chartType": (type: ChartType) => void;
|
|
16
33
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
34
|
chartType: ChartType;
|
|
18
|
-
|
|
35
|
+
typeSwitcher: boolean;
|
|
19
36
|
header?: string;
|
|
20
37
|
subheader?: string;
|
|
21
|
-
|
|
38
|
+
subheaderTooltip?: {
|
|
39
|
+
header?: string;
|
|
40
|
+
text?: string;
|
|
41
|
+
};
|
|
42
|
+
trendTooltip?: {
|
|
43
|
+
header?: string;
|
|
44
|
+
rangeCurrent?: string;
|
|
45
|
+
rangePrevious?: string;
|
|
46
|
+
};
|
|
47
|
+
compact: boolean;
|
|
48
|
+
trendValue?: string | number;
|
|
49
|
+
trendDirection?: TrendDirection;
|
|
50
|
+
noteText?: string;
|
|
22
51
|
}>, {
|
|
23
52
|
chartType: ChartType;
|
|
24
|
-
|
|
53
|
+
typeSwitcher: boolean;
|
|
25
54
|
header: string;
|
|
26
55
|
subheader: string;
|
|
27
|
-
|
|
56
|
+
subheaderTooltip: any;
|
|
57
|
+
trendTooltip: any;
|
|
58
|
+
compact: boolean;
|
|
59
|
+
trendValue: any;
|
|
60
|
+
trendDirection: TrendDirection;
|
|
61
|
+
noteText: string;
|
|
28
62
|
}>>> & {
|
|
29
63
|
"onUpdate:chartType"?: (type: ChartType) => any;
|
|
30
64
|
}, {
|
|
31
65
|
header: string;
|
|
66
|
+
compact: boolean;
|
|
32
67
|
chartType: ChartType;
|
|
33
|
-
|
|
68
|
+
trendTooltip: any;
|
|
34
69
|
subheader: string;
|
|
35
|
-
|
|
70
|
+
subheaderTooltip: any;
|
|
71
|
+
typeSwitcher: boolean;
|
|
72
|
+
trendValue: string | number;
|
|
73
|
+
trendDirection: TrendDirection;
|
|
74
|
+
noteText: string;
|
|
36
75
|
}>, {
|
|
37
76
|
"subheader-tooltip"?(_: {}): any;
|
|
38
77
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./ChartHeader.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../ChartHeader.
|
|
4
|
-
const
|
|
3
|
+
// import "../../ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-af520313"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|