@ironsource/shared-ui 2.1.12-rc.5 → 2.1.12-rc.50
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/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_908ef54f_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_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_ef67c78e_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_840e700c_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_f9907ea0_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_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 +1 -0
- 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/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/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/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_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_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 +123 -10
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +120 -64
- package/components/chart/ChartHeader.vue.d.ts +36 -7
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +60 -63
- package/components/chart/ChartHeaderTrend.vue.d.ts +19 -5
- package/components/chart/ChartHeaderTrend.vue.js +3 -3
- package/components/chart/ChartHeaderTrend.vue2.js +83 -18
- package/components/chart/ChartLegend.vue.d.ts +24 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +80 -62
- package/components/chart/ChartPlane.vue.d.ts +106 -13
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +313 -238
- package/components/chart/ChartStoryArgs.d.ts +63 -2
- package/components/chart/ChartTooltip.vue.d.ts +22 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +52 -58
- 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 +69 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +2 -2
- package/components/chart/composables/useChartHeight.js +16 -14
- package/components/chart/composables/useColorsMap.d.ts +5 -3
- package/components/chart/composables/useColorsMap.js +43 -12
- package/components/chart/consts.d.ts +29 -8
- package/components/chart/consts.js +45 -26
- package/components/chart/index.d.ts +473 -76
- package/components/chart/mockData.d.ts +33 -5
- package/components/chart/types.d.ts +35 -6
- package/components/chart/types.js +5 -2
- 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/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 +72 -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 +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/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 +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- 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/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 +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
- package/components/dropdown/v4/DropdownV4.vue.d.ts +35 -1
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +257 -199
- 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 +702 -162
- 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/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.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 +110 -110
- 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/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/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/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 +19 -7
- package/components/table/v4/DataGrid.vue.js +5 -5
- package/components/table/v4/DataGrid.vue2.js +375 -307
- 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 +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 +581 -298
- 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/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/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/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 +10373 -8457
- package/index.js +158 -134
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +21 -1
- package/testids/index.d.ts +24 -1
- package/testids/index.js +36 -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 +39 -8
- package/utils/index.js +7 -0
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- 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/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_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/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/TextField.vue_vue_type_style_index_0_scoped_fce3948c_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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ChartDataSet, ChartParsingConfig, ChartType, ValueFormat } from './types';
|
|
1
|
+
import { ChartDataSet, ChartParsingConfig, ChartType, ColorVariant, DateInterval, TooltipOrder, TrendDirection, ValueFormat } from './types';
|
|
2
|
+
import { TotalType } from '@/utils/totals';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
dataSets: ChartDataSet[];
|
|
4
5
|
visibleIds: unknown[];
|
|
@@ -6,14 +7,35 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
7
|
parsing?: ChartParsingConfig;
|
|
7
8
|
xAxisFormat?: ValueFormat;
|
|
8
9
|
yAxisFormat?: ValueFormat;
|
|
10
|
+
xAxisDateInterval?: DateInterval;
|
|
9
11
|
tickCount?: number;
|
|
12
|
+
truncateTickLabels?: boolean;
|
|
10
13
|
loading?: boolean;
|
|
14
|
+
empty?: boolean;
|
|
11
15
|
withAnimation?: boolean;
|
|
12
16
|
totalsChart?: boolean;
|
|
17
|
+
tooltipTotalType?: TotalType;
|
|
18
|
+
tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
|
|
19
|
+
tooltipOrder?: TooltipOrder;
|
|
20
|
+
valueSuffix?: string;
|
|
21
|
+
valuePrefix?: string;
|
|
22
|
+
indicateIncompleteData?: boolean;
|
|
23
|
+
tooltipExcludeTotalItem?: boolean;
|
|
13
24
|
header?: string;
|
|
14
25
|
subheader?: string;
|
|
26
|
+
subheaderTooltip?: {
|
|
27
|
+
header?: string;
|
|
28
|
+
text?: string;
|
|
29
|
+
};
|
|
30
|
+
keepSubheaderVisible?: boolean;
|
|
15
31
|
trendValue?: string | number;
|
|
16
|
-
trendDirection?:
|
|
32
|
+
trendDirection?: TrendDirection;
|
|
33
|
+
trendTooltip?: {
|
|
34
|
+
header?: string;
|
|
35
|
+
rangeCurrent?: string;
|
|
36
|
+
rangePrevious?: string;
|
|
37
|
+
};
|
|
38
|
+
noteText?: string;
|
|
17
39
|
noDataIcon?: string;
|
|
18
40
|
noDataTitle?: string;
|
|
19
41
|
noDataSubtitle?: string;
|
|
@@ -21,24 +43,43 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
43
|
minVisible?: number;
|
|
22
44
|
maxVisible?: number;
|
|
23
45
|
maxLimitTooltipText?: string;
|
|
46
|
+
sortSelected?: unknown;
|
|
47
|
+
sortOptions?: unknown[];
|
|
48
|
+
sortOptionNameKey?: string;
|
|
24
49
|
fullHeight?: boolean;
|
|
50
|
+
fullHeightBottomSpacing?: number;
|
|
25
51
|
withSettingsHeader?: boolean;
|
|
26
52
|
extraCharts?: Record<string, unknown>[];
|
|
53
|
+
colorVariant?: ColorVariant;
|
|
27
54
|
}>, {
|
|
28
55
|
chartType: ChartType;
|
|
29
56
|
dataSets: () => any[];
|
|
30
57
|
visibleIds: () => any[];
|
|
31
58
|
xAxisFormat: string;
|
|
32
59
|
yAxisFormat: string;
|
|
60
|
+
xAxisDateInterval: DateInterval;
|
|
33
61
|
parsing: any;
|
|
34
62
|
tickCount: number;
|
|
63
|
+
truncateTickLabels: boolean;
|
|
35
64
|
loading: boolean;
|
|
65
|
+
empty: boolean;
|
|
36
66
|
withAnimation: boolean;
|
|
37
67
|
totalsChart: boolean;
|
|
68
|
+
tooltipTotalType: TotalType;
|
|
69
|
+
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
70
|
+
tooltipOrder: TooltipOrder;
|
|
71
|
+
tooltipExcludeTotalItem: boolean;
|
|
72
|
+
valueSuffix: string;
|
|
73
|
+
valuePrefix: string;
|
|
74
|
+
indicateIncompleteData: boolean;
|
|
38
75
|
header: string;
|
|
39
76
|
subheader: string;
|
|
77
|
+
subheaderTooltip: any;
|
|
78
|
+
keepSubheaderVisible: boolean;
|
|
40
79
|
trendValue: any;
|
|
41
|
-
trendDirection:
|
|
80
|
+
trendDirection: TrendDirection;
|
|
81
|
+
trendTooltip: any;
|
|
82
|
+
noteText: string;
|
|
42
83
|
noDataIcon: string;
|
|
43
84
|
noDataTitle: string;
|
|
44
85
|
noDataSubtitle: string;
|
|
@@ -46,12 +87,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
87
|
minVisible: number;
|
|
47
88
|
maxVisible: number;
|
|
48
89
|
maxLimitTooltipText: string;
|
|
90
|
+
sortSelected: any;
|
|
91
|
+
sortOptions: () => any[];
|
|
92
|
+
sortOptionNameKey: string;
|
|
49
93
|
fullHeight: boolean;
|
|
94
|
+
fullHeightBottomSpacing: number;
|
|
50
95
|
withSettingsHeader: boolean;
|
|
51
96
|
extraCharts: () => any[];
|
|
97
|
+
colorVariant: string;
|
|
52
98
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
99
|
"update:chartType": (chartType: ChartType) => void;
|
|
54
100
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
101
|
+
"update:sortSelected": (sortOption: unknown) => void;
|
|
55
102
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
56
103
|
dataSets: ChartDataSet[];
|
|
57
104
|
visibleIds: unknown[];
|
|
@@ -59,14 +106,35 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
106
|
parsing?: ChartParsingConfig;
|
|
60
107
|
xAxisFormat?: ValueFormat;
|
|
61
108
|
yAxisFormat?: ValueFormat;
|
|
109
|
+
xAxisDateInterval?: DateInterval;
|
|
62
110
|
tickCount?: number;
|
|
111
|
+
truncateTickLabels?: boolean;
|
|
63
112
|
loading?: boolean;
|
|
113
|
+
empty?: boolean;
|
|
64
114
|
withAnimation?: boolean;
|
|
65
115
|
totalsChart?: boolean;
|
|
116
|
+
tooltipTotalType?: TotalType;
|
|
117
|
+
tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
|
|
118
|
+
tooltipOrder?: TooltipOrder;
|
|
119
|
+
valueSuffix?: string;
|
|
120
|
+
valuePrefix?: string;
|
|
121
|
+
indicateIncompleteData?: boolean;
|
|
122
|
+
tooltipExcludeTotalItem?: boolean;
|
|
66
123
|
header?: string;
|
|
67
124
|
subheader?: string;
|
|
125
|
+
subheaderTooltip?: {
|
|
126
|
+
header?: string;
|
|
127
|
+
text?: string;
|
|
128
|
+
};
|
|
129
|
+
keepSubheaderVisible?: boolean;
|
|
68
130
|
trendValue?: string | number;
|
|
69
|
-
trendDirection?:
|
|
131
|
+
trendDirection?: TrendDirection;
|
|
132
|
+
trendTooltip?: {
|
|
133
|
+
header?: string;
|
|
134
|
+
rangeCurrent?: string;
|
|
135
|
+
rangePrevious?: string;
|
|
136
|
+
};
|
|
137
|
+
noteText?: string;
|
|
70
138
|
noDataIcon?: string;
|
|
71
139
|
noDataTitle?: string;
|
|
72
140
|
noDataSubtitle?: string;
|
|
@@ -74,24 +142,43 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
142
|
minVisible?: number;
|
|
75
143
|
maxVisible?: number;
|
|
76
144
|
maxLimitTooltipText?: string;
|
|
145
|
+
sortSelected?: unknown;
|
|
146
|
+
sortOptions?: unknown[];
|
|
147
|
+
sortOptionNameKey?: string;
|
|
77
148
|
fullHeight?: boolean;
|
|
149
|
+
fullHeightBottomSpacing?: number;
|
|
78
150
|
withSettingsHeader?: boolean;
|
|
79
151
|
extraCharts?: Record<string, unknown>[];
|
|
152
|
+
colorVariant?: ColorVariant;
|
|
80
153
|
}>, {
|
|
81
154
|
chartType: ChartType;
|
|
82
155
|
dataSets: () => any[];
|
|
83
156
|
visibleIds: () => any[];
|
|
84
157
|
xAxisFormat: string;
|
|
85
158
|
yAxisFormat: string;
|
|
159
|
+
xAxisDateInterval: DateInterval;
|
|
86
160
|
parsing: any;
|
|
87
161
|
tickCount: number;
|
|
162
|
+
truncateTickLabels: boolean;
|
|
88
163
|
loading: boolean;
|
|
164
|
+
empty: boolean;
|
|
89
165
|
withAnimation: boolean;
|
|
90
166
|
totalsChart: boolean;
|
|
167
|
+
tooltipTotalType: TotalType;
|
|
168
|
+
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
169
|
+
tooltipOrder: TooltipOrder;
|
|
170
|
+
tooltipExcludeTotalItem: boolean;
|
|
171
|
+
valueSuffix: string;
|
|
172
|
+
valuePrefix: string;
|
|
173
|
+
indicateIncompleteData: boolean;
|
|
91
174
|
header: string;
|
|
92
175
|
subheader: string;
|
|
176
|
+
subheaderTooltip: any;
|
|
177
|
+
keepSubheaderVisible: boolean;
|
|
93
178
|
trendValue: any;
|
|
94
|
-
trendDirection:
|
|
179
|
+
trendDirection: TrendDirection;
|
|
180
|
+
trendTooltip: any;
|
|
181
|
+
noteText: string;
|
|
95
182
|
noDataIcon: string;
|
|
96
183
|
noDataTitle: string;
|
|
97
184
|
noDataSubtitle: string;
|
|
@@ -99,11 +186,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
186
|
minVisible: number;
|
|
100
187
|
maxVisible: number;
|
|
101
188
|
maxLimitTooltipText: string;
|
|
189
|
+
sortSelected: any;
|
|
190
|
+
sortOptions: () => any[];
|
|
191
|
+
sortOptionNameKey: string;
|
|
102
192
|
fullHeight: boolean;
|
|
193
|
+
fullHeightBottomSpacing: number;
|
|
103
194
|
withSettingsHeader: boolean;
|
|
104
195
|
extraCharts: () => any[];
|
|
196
|
+
colorVariant: string;
|
|
105
197
|
}>>> & {
|
|
106
198
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
199
|
+
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
107
200
|
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
108
201
|
}, {
|
|
109
202
|
header: string;
|
|
@@ -112,25 +205,45 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
112
205
|
minVisible: number;
|
|
113
206
|
maxVisible: number;
|
|
114
207
|
maxLimitTooltipText: string;
|
|
208
|
+
sortSelected: any;
|
|
209
|
+
sortOptions: unknown[];
|
|
210
|
+
sortOptionNameKey: string;
|
|
115
211
|
chartType: ChartType;
|
|
116
212
|
hideLegend: boolean;
|
|
117
213
|
xAxisFormat: ValueFormat;
|
|
118
|
-
|
|
214
|
+
xAxisDateInterval: DateInterval;
|
|
215
|
+
totalsChart: boolean;
|
|
119
216
|
parsing: ChartParsingConfig;
|
|
120
|
-
|
|
217
|
+
yAxisFormat: ValueFormat;
|
|
218
|
+
valueSuffix: string;
|
|
219
|
+
valuePrefix: string;
|
|
220
|
+
trendTooltip: any;
|
|
121
221
|
subheader: string;
|
|
222
|
+
subheaderTooltip: any;
|
|
122
223
|
trendValue: string | number;
|
|
123
|
-
trendDirection:
|
|
224
|
+
trendDirection: TrendDirection;
|
|
225
|
+
noteText: string;
|
|
226
|
+
dataSets: ChartDataSet[];
|
|
124
227
|
tickCount: number;
|
|
125
|
-
|
|
126
|
-
|
|
228
|
+
truncateTickLabels: boolean;
|
|
229
|
+
keepSubheaderVisible: boolean;
|
|
230
|
+
empty: boolean;
|
|
127
231
|
noDataIcon: string;
|
|
128
232
|
noDataTitle: string;
|
|
129
233
|
noDataSubtitle: string;
|
|
234
|
+
withAnimation: boolean;
|
|
235
|
+
tooltipTotalType: TotalType;
|
|
236
|
+
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
237
|
+
tooltipOrder: TooltipOrder;
|
|
238
|
+
indicateIncompleteData: boolean;
|
|
239
|
+
tooltipExcludeTotalItem: boolean;
|
|
130
240
|
fullHeight: boolean;
|
|
241
|
+
fullHeightBottomSpacing: number;
|
|
131
242
|
withSettingsHeader: boolean;
|
|
132
243
|
extraCharts: Record<string, unknown>[];
|
|
244
|
+
colorVariant: ColorVariant;
|
|
133
245
|
}>, {
|
|
246
|
+
"before-chart-type"?(_: {}): any;
|
|
134
247
|
metric?(_: {}): any;
|
|
135
248
|
breakdowns?(_: {}): any;
|
|
136
249
|
"subheader-tooltip"?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Chart.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../Chart.
|
|
4
|
-
const
|
|
3
|
+
// import "../../Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-3da25a36"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,125 +1,181 @@
|
|
|
1
|
-
import "../../Chart.
|
|
2
|
-
import { useVModel as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { useColorsMap as
|
|
7
|
-
import { DEFAULT_TICK_COUNT as
|
|
8
|
-
import { ChartType as
|
|
9
|
-
import { useChartHeight as
|
|
10
|
-
|
|
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 _ = {
|
|
11
12
|
key: 0,
|
|
12
13
|
class: "chart-sidebar"
|
|
13
|
-
},
|
|
14
|
+
}, ue = /* @__PURE__ */ P({
|
|
14
15
|
__name: "Chart",
|
|
15
16
|
props: {
|
|
16
17
|
dataSets: { default: () => [] },
|
|
17
18
|
visibleIds: { default: () => [] },
|
|
18
|
-
chartType: { default:
|
|
19
|
+
chartType: { default: j.Line },
|
|
19
20
|
parsing: { default: void 0 },
|
|
20
21
|
xAxisFormat: { default: "string" },
|
|
21
22
|
yAxisFormat: { default: "number" },
|
|
22
|
-
|
|
23
|
+
xAxisDateInterval: { default: q.DAILY },
|
|
24
|
+
tickCount: { default: R },
|
|
25
|
+
truncateTickLabels: { type: Boolean, default: !1 },
|
|
23
26
|
loading: { type: Boolean, default: !1 },
|
|
27
|
+
empty: { type: Boolean, default: !1 },
|
|
24
28
|
withAnimation: { type: Boolean, default: !0 },
|
|
25
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 },
|
|
26
37
|
header: { default: "" },
|
|
27
38
|
subheader: { default: "" },
|
|
39
|
+
subheaderTooltip: { default: null },
|
|
40
|
+
keepSubheaderVisible: { type: Boolean, default: !1 },
|
|
28
41
|
trendValue: { default: null },
|
|
29
|
-
trendDirection: { default:
|
|
42
|
+
trendDirection: { default: J.UP },
|
|
43
|
+
trendTooltip: { default: null },
|
|
44
|
+
noteText: { default: "" },
|
|
30
45
|
noDataIcon: { default: "file-search" },
|
|
31
46
|
noDataTitle: { default: "No data to display" },
|
|
32
47
|
noDataSubtitle: { default: "Search again with different filters" },
|
|
33
48
|
hideLegend: { type: Boolean, default: !1 },
|
|
34
|
-
minVisible: { default:
|
|
35
|
-
maxVisible: { default:
|
|
49
|
+
minVisible: { default: X },
|
|
50
|
+
maxVisible: { default: Y },
|
|
36
51
|
maxLimitTooltipText: { default: "" },
|
|
52
|
+
sortSelected: { default: null },
|
|
53
|
+
sortOptions: { default: () => [] },
|
|
54
|
+
sortOptionNameKey: { default: "" },
|
|
37
55
|
fullHeight: { type: Boolean, default: !1 },
|
|
56
|
+
fullHeightBottomSpacing: { default: 50 },
|
|
38
57
|
withSettingsHeader: { type: Boolean, default: !0 },
|
|
39
|
-
extraCharts: { default: () => [] }
|
|
58
|
+
extraCharts: { default: () => [] },
|
|
59
|
+
colorVariant: { default: "default" }
|
|
40
60
|
},
|
|
41
|
-
emits: ["update:chartType", "update:visibleIds"],
|
|
42
|
-
setup(
|
|
43
|
-
const e =
|
|
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(() => ({
|
|
44
64
|
dataSets: e.dataSets,
|
|
45
65
|
visibleIds: e.visibleIds,
|
|
46
66
|
parsing: e.parsing,
|
|
47
67
|
xAxisFormat: e.xAxisFormat,
|
|
48
68
|
yAxisFormat: e.yAxisFormat,
|
|
69
|
+
xAxisDateInterval: e.xAxisDateInterval,
|
|
49
70
|
tickCount: e.tickCount,
|
|
71
|
+
truncateTickLabels: e.truncateTickLabels,
|
|
50
72
|
header: e.header,
|
|
51
73
|
subheader: e.subheader,
|
|
74
|
+
noteText: e.noteText,
|
|
52
75
|
loading: e.loading,
|
|
76
|
+
empty: e.empty,
|
|
53
77
|
noDataIcon: e.noDataIcon,
|
|
54
78
|
noDataTitle: e.noDataTitle,
|
|
55
79
|
noDataSubtitle: e.noDataSubtitle,
|
|
56
80
|
withAnimation: e.withAnimation,
|
|
57
81
|
typeSwitcher: !e.withSettingsHeader,
|
|
58
|
-
height:
|
|
59
|
-
compactHeader:
|
|
82
|
+
height: E.value,
|
|
83
|
+
compactHeader: x.value > 1,
|
|
60
84
|
trendValue: e.trendValue,
|
|
61
85
|
trendDirection: e.trendDirection,
|
|
62
|
-
|
|
63
|
-
|
|
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) => ({
|
|
64
104
|
id: t.id,
|
|
65
105
|
label: t.label,
|
|
66
106
|
caption: t.caption || null,
|
|
67
|
-
color:
|
|
107
|
+
color: h.value[t.id] || null,
|
|
68
108
|
icon: t.icon || null,
|
|
69
109
|
iconType: t.iconType || "branded"
|
|
70
|
-
}))), { containerProps:
|
|
71
|
-
chartPlanesCount:
|
|
72
|
-
useFullHeight: e.fullHeight
|
|
110
|
+
}))), { containerProps: H, eachPlaneHeight: E } = Q({
|
|
111
|
+
chartPlanesCount: x,
|
|
112
|
+
useFullHeight: e.fullHeight,
|
|
113
|
+
bottomSpacing: e.fullHeightBottomSpacing
|
|
73
114
|
});
|
|
74
|
-
return (t,
|
|
75
|
-
|
|
115
|
+
return (t, o) => (d(), m(I, null, [
|
|
116
|
+
a.withSettingsHeader ? (d(), C(K, {
|
|
76
117
|
key: 0,
|
|
77
|
-
"chart-type":
|
|
78
|
-
"onUpdate:chart-type":
|
|
79
|
-
"hide-legend":
|
|
118
|
+
"chart-type": i(r),
|
|
119
|
+
"onUpdate:chart-type": o[0] || (o[0] = (l) => b(r) ? r.value = l : null),
|
|
120
|
+
"hide-legend": a.hideLegend
|
|
80
121
|
}, {
|
|
81
|
-
|
|
82
|
-
|
|
122
|
+
"before-chart-type": s(() => [
|
|
123
|
+
u(t.$slots, "before-chart-type", {}, void 0, !0)
|
|
83
124
|
]),
|
|
84
|
-
|
|
85
|
-
|
|
125
|
+
metric: s(() => [
|
|
126
|
+
u(t.$slots, "metric", {}, void 0, !0)
|
|
127
|
+
]),
|
|
128
|
+
breakdowns: s(() => [
|
|
129
|
+
u(t.$slots, "breakdowns", {}, void 0, !0)
|
|
86
130
|
]),
|
|
87
131
|
_: 3
|
|
88
|
-
}, 8, ["chart-type", "hide-legend"])) :
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
class:
|
|
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 }]])
|
|
92
136
|
}, [
|
|
93
|
-
|
|
94
|
-
"chart-type":
|
|
95
|
-
"onUpdate:chart-type":
|
|
96
|
-
},
|
|
97
|
-
"subheader-tooltip"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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,
|
|
104
151
|
class: "extra-chart-plane"
|
|
105
|
-
}, { ...
|
|
106
|
-
"chart-type":
|
|
152
|
+
}, { ...i(T), ...l }, {
|
|
153
|
+
"chart-type": i(r),
|
|
154
|
+
"colors-map": i(h),
|
|
107
155
|
"type-switcher": !1,
|
|
108
|
-
"tooltip-respects-top-edge": !
|
|
109
|
-
}), null, 16, ["chart-type", "tooltip-respects-top-edge"]))), 128))
|
|
156
|
+
"tooltip-respects-top-edge": !F(S)
|
|
157
|
+
}), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge"]))), 128))
|
|
110
158
|
], 2),
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"onUpdate:
|
|
117
|
-
|
|
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"])
|
|
118
174
|
]))
|
|
119
175
|
], 16)
|
|
120
176
|
], 64));
|
|
121
177
|
}
|
|
122
178
|
});
|
|
123
179
|
export {
|
|
124
|
-
|
|
180
|
+
ue as default
|
|
125
181
|
};
|
|
@@ -1,20 +1,33 @@
|
|
|
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
|
+
subheaderTooltip?: {
|
|
8
|
+
header?: string;
|
|
9
|
+
text?: string;
|
|
10
|
+
};
|
|
11
|
+
trendTooltip?: {
|
|
12
|
+
header?: string;
|
|
13
|
+
rangeCurrent?: string;
|
|
14
|
+
rangePrevious?: string;
|
|
15
|
+
};
|
|
7
16
|
compact: boolean;
|
|
8
17
|
trendValue?: string | number;
|
|
9
|
-
trendDirection?:
|
|
18
|
+
trendDirection?: TrendDirection;
|
|
19
|
+
noteText?: string;
|
|
10
20
|
}>, {
|
|
11
21
|
chartType: ChartType;
|
|
12
22
|
typeSwitcher: boolean;
|
|
13
23
|
header: string;
|
|
14
24
|
subheader: string;
|
|
25
|
+
subheaderTooltip: any;
|
|
26
|
+
trendTooltip: any;
|
|
15
27
|
compact: boolean;
|
|
16
28
|
trendValue: any;
|
|
17
|
-
trendDirection:
|
|
29
|
+
trendDirection: TrendDirection;
|
|
30
|
+
noteText: string;
|
|
18
31
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
32
|
"update:chartType": (type: ChartType) => void;
|
|
20
33
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -22,27 +35,43 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
35
|
typeSwitcher: boolean;
|
|
23
36
|
header?: string;
|
|
24
37
|
subheader?: string;
|
|
38
|
+
subheaderTooltip?: {
|
|
39
|
+
header?: string;
|
|
40
|
+
text?: string;
|
|
41
|
+
};
|
|
42
|
+
trendTooltip?: {
|
|
43
|
+
header?: string;
|
|
44
|
+
rangeCurrent?: string;
|
|
45
|
+
rangePrevious?: string;
|
|
46
|
+
};
|
|
25
47
|
compact: boolean;
|
|
26
48
|
trendValue?: string | number;
|
|
27
|
-
trendDirection?:
|
|
49
|
+
trendDirection?: TrendDirection;
|
|
50
|
+
noteText?: string;
|
|
28
51
|
}>, {
|
|
29
52
|
chartType: ChartType;
|
|
30
53
|
typeSwitcher: boolean;
|
|
31
54
|
header: string;
|
|
32
55
|
subheader: string;
|
|
56
|
+
subheaderTooltip: any;
|
|
57
|
+
trendTooltip: any;
|
|
33
58
|
compact: boolean;
|
|
34
59
|
trendValue: any;
|
|
35
|
-
trendDirection:
|
|
60
|
+
trendDirection: TrendDirection;
|
|
61
|
+
noteText: string;
|
|
36
62
|
}>>> & {
|
|
37
63
|
"onUpdate:chartType"?: (type: ChartType) => any;
|
|
38
64
|
}, {
|
|
39
65
|
header: string;
|
|
40
66
|
compact: boolean;
|
|
41
67
|
chartType: ChartType;
|
|
42
|
-
|
|
68
|
+
trendTooltip: any;
|
|
43
69
|
subheader: string;
|
|
70
|
+
subheaderTooltip: any;
|
|
71
|
+
typeSwitcher: boolean;
|
|
44
72
|
trendValue: string | number;
|
|
45
|
-
trendDirection:
|
|
73
|
+
trendDirection: TrendDirection;
|
|
74
|
+
noteText: string;
|
|
46
75
|
}>, {
|
|
47
76
|
"subheader-tooltip"?(_: {}): any;
|
|
48
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
|
};
|