@ironsource/shared-ui 2.1.12-rc.9 → 2.1.12-test.100
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_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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_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_7e61692c_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/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_a869d327_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_63dc057e_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 +128 -10
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +152 -86
- package/components/chart/ChartHeader.vue.d.ts +41 -7
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +67 -65
- package/components/chart/ChartHeaderTrend.vue.d.ts +24 -5
- package/components/chart/ChartHeaderTrend.vue.js +3 -3
- package/components/chart/ChartHeaderTrend.vue2.js +89 -21
- package/components/chart/ChartLegend.vue.d.ts +29 -0
- package/components/chart/ChartLegend.vue.js +2 -2
- package/components/chart/ChartLegend.vue2.js +88 -65
- package/components/chart/ChartPlane.vue.d.ts +111 -13
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +321 -240
- package/components/chart/ChartStoryArgs.d.ts +63 -2
- package/components/chart/ChartTooltip.vue.d.ts +27 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +52 -54
- package/components/chart/LegendSorting.vue.d.ts +42 -0
- package/components/chart/LegendSorting.vue.js +47 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +20 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +39 -31
- 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 +492 -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 +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 +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 +108 -103
- 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 +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
- package/components/dropdown/v4/DropdownV4.vue.d.ts +41 -1
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +269 -206
- 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 +11 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +760 -162
- 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/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 +3 -0
- package/components/table/common/consts.js +7 -4
- package/components/table/v4/DataGrid.vue.d.ts +24 -7
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +381 -302
- 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 +91 -90
- package/components/table/v4/index.d.ts +600 -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 +5309 -3205
- package/index.js +138 -116
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +22 -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/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_8d5521da_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/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_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_4ba9e4bd_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,36 @@ 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;
|
|
24
|
+
testId?: string;
|
|
13
25
|
header?: string;
|
|
14
26
|
subheader?: string;
|
|
27
|
+
subheaderTooltip?: {
|
|
28
|
+
header?: string;
|
|
29
|
+
text?: string;
|
|
30
|
+
};
|
|
31
|
+
keepSubheaderVisible?: boolean;
|
|
15
32
|
trendValue?: string | number;
|
|
16
|
-
trendDirection?:
|
|
33
|
+
trendDirection?: TrendDirection;
|
|
34
|
+
trendTooltip?: {
|
|
35
|
+
header?: string;
|
|
36
|
+
rangeCurrent?: string;
|
|
37
|
+
rangePrevious?: string;
|
|
38
|
+
};
|
|
39
|
+
noteText?: string;
|
|
17
40
|
noDataIcon?: string;
|
|
18
41
|
noDataTitle?: string;
|
|
19
42
|
noDataSubtitle?: string;
|
|
@@ -21,24 +44,44 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
44
|
minVisible?: number;
|
|
22
45
|
maxVisible?: number;
|
|
23
46
|
maxLimitTooltipText?: string;
|
|
47
|
+
sortSelected?: unknown;
|
|
48
|
+
sortOptions?: unknown[];
|
|
49
|
+
sortOptionNameKey?: string;
|
|
24
50
|
fullHeight?: boolean;
|
|
51
|
+
fullHeightBottomSpacing?: number;
|
|
25
52
|
withSettingsHeader?: boolean;
|
|
26
53
|
extraCharts?: Record<string, unknown>[];
|
|
54
|
+
colorVariant?: ColorVariant;
|
|
27
55
|
}>, {
|
|
28
56
|
chartType: ChartType;
|
|
29
57
|
dataSets: () => any[];
|
|
30
58
|
visibleIds: () => any[];
|
|
31
59
|
xAxisFormat: string;
|
|
32
60
|
yAxisFormat: string;
|
|
61
|
+
xAxisDateInterval: DateInterval;
|
|
33
62
|
parsing: any;
|
|
34
63
|
tickCount: number;
|
|
64
|
+
truncateTickLabels: boolean;
|
|
35
65
|
loading: boolean;
|
|
66
|
+
empty: boolean;
|
|
36
67
|
withAnimation: boolean;
|
|
37
68
|
totalsChart: boolean;
|
|
69
|
+
tooltipTotalType: TotalType;
|
|
70
|
+
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
71
|
+
tooltipOrder: TooltipOrder;
|
|
72
|
+
tooltipExcludeTotalItem: boolean;
|
|
73
|
+
valueSuffix: string;
|
|
74
|
+
valuePrefix: string;
|
|
75
|
+
indicateIncompleteData: boolean;
|
|
76
|
+
testId: string;
|
|
38
77
|
header: string;
|
|
39
78
|
subheader: string;
|
|
79
|
+
subheaderTooltip: any;
|
|
80
|
+
keepSubheaderVisible: boolean;
|
|
40
81
|
trendValue: any;
|
|
41
|
-
trendDirection:
|
|
82
|
+
trendDirection: TrendDirection;
|
|
83
|
+
trendTooltip: any;
|
|
84
|
+
noteText: string;
|
|
42
85
|
noDataIcon: string;
|
|
43
86
|
noDataTitle: string;
|
|
44
87
|
noDataSubtitle: string;
|
|
@@ -46,12 +89,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
89
|
minVisible: number;
|
|
47
90
|
maxVisible: number;
|
|
48
91
|
maxLimitTooltipText: string;
|
|
92
|
+
sortSelected: any;
|
|
93
|
+
sortOptions: () => any[];
|
|
94
|
+
sortOptionNameKey: string;
|
|
49
95
|
fullHeight: boolean;
|
|
96
|
+
fullHeightBottomSpacing: number;
|
|
50
97
|
withSettingsHeader: boolean;
|
|
51
98
|
extraCharts: () => any[];
|
|
99
|
+
colorVariant: string;
|
|
52
100
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
101
|
"update:chartType": (chartType: ChartType) => void;
|
|
54
102
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
103
|
+
"update:sortSelected": (sortOption: unknown) => void;
|
|
55
104
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
56
105
|
dataSets: ChartDataSet[];
|
|
57
106
|
visibleIds: unknown[];
|
|
@@ -59,14 +108,36 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
108
|
parsing?: ChartParsingConfig;
|
|
60
109
|
xAxisFormat?: ValueFormat;
|
|
61
110
|
yAxisFormat?: ValueFormat;
|
|
111
|
+
xAxisDateInterval?: DateInterval;
|
|
62
112
|
tickCount?: number;
|
|
113
|
+
truncateTickLabels?: boolean;
|
|
63
114
|
loading?: boolean;
|
|
115
|
+
empty?: boolean;
|
|
64
116
|
withAnimation?: boolean;
|
|
65
117
|
totalsChart?: boolean;
|
|
118
|
+
tooltipTotalType?: TotalType;
|
|
119
|
+
tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
|
|
120
|
+
tooltipOrder?: TooltipOrder;
|
|
121
|
+
valueSuffix?: string;
|
|
122
|
+
valuePrefix?: string;
|
|
123
|
+
indicateIncompleteData?: boolean;
|
|
124
|
+
tooltipExcludeTotalItem?: boolean;
|
|
125
|
+
testId?: string;
|
|
66
126
|
header?: string;
|
|
67
127
|
subheader?: string;
|
|
128
|
+
subheaderTooltip?: {
|
|
129
|
+
header?: string;
|
|
130
|
+
text?: string;
|
|
131
|
+
};
|
|
132
|
+
keepSubheaderVisible?: boolean;
|
|
68
133
|
trendValue?: string | number;
|
|
69
|
-
trendDirection?:
|
|
134
|
+
trendDirection?: TrendDirection;
|
|
135
|
+
trendTooltip?: {
|
|
136
|
+
header?: string;
|
|
137
|
+
rangeCurrent?: string;
|
|
138
|
+
rangePrevious?: string;
|
|
139
|
+
};
|
|
140
|
+
noteText?: string;
|
|
70
141
|
noDataIcon?: string;
|
|
71
142
|
noDataTitle?: string;
|
|
72
143
|
noDataSubtitle?: string;
|
|
@@ -74,24 +145,44 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
145
|
minVisible?: number;
|
|
75
146
|
maxVisible?: number;
|
|
76
147
|
maxLimitTooltipText?: string;
|
|
148
|
+
sortSelected?: unknown;
|
|
149
|
+
sortOptions?: unknown[];
|
|
150
|
+
sortOptionNameKey?: string;
|
|
77
151
|
fullHeight?: boolean;
|
|
152
|
+
fullHeightBottomSpacing?: number;
|
|
78
153
|
withSettingsHeader?: boolean;
|
|
79
154
|
extraCharts?: Record<string, unknown>[];
|
|
155
|
+
colorVariant?: ColorVariant;
|
|
80
156
|
}>, {
|
|
81
157
|
chartType: ChartType;
|
|
82
158
|
dataSets: () => any[];
|
|
83
159
|
visibleIds: () => any[];
|
|
84
160
|
xAxisFormat: string;
|
|
85
161
|
yAxisFormat: string;
|
|
162
|
+
xAxisDateInterval: DateInterval;
|
|
86
163
|
parsing: any;
|
|
87
164
|
tickCount: number;
|
|
165
|
+
truncateTickLabels: boolean;
|
|
88
166
|
loading: boolean;
|
|
167
|
+
empty: boolean;
|
|
89
168
|
withAnimation: boolean;
|
|
90
169
|
totalsChart: boolean;
|
|
170
|
+
tooltipTotalType: TotalType;
|
|
171
|
+
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
172
|
+
tooltipOrder: TooltipOrder;
|
|
173
|
+
tooltipExcludeTotalItem: boolean;
|
|
174
|
+
valueSuffix: string;
|
|
175
|
+
valuePrefix: string;
|
|
176
|
+
indicateIncompleteData: boolean;
|
|
177
|
+
testId: string;
|
|
91
178
|
header: string;
|
|
92
179
|
subheader: string;
|
|
180
|
+
subheaderTooltip: any;
|
|
181
|
+
keepSubheaderVisible: boolean;
|
|
93
182
|
trendValue: any;
|
|
94
|
-
trendDirection:
|
|
183
|
+
trendDirection: TrendDirection;
|
|
184
|
+
trendTooltip: any;
|
|
185
|
+
noteText: string;
|
|
95
186
|
noDataIcon: string;
|
|
96
187
|
noDataTitle: string;
|
|
97
188
|
noDataSubtitle: string;
|
|
@@ -99,38 +190,65 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
190
|
minVisible: number;
|
|
100
191
|
maxVisible: number;
|
|
101
192
|
maxLimitTooltipText: string;
|
|
193
|
+
sortSelected: any;
|
|
194
|
+
sortOptions: () => any[];
|
|
195
|
+
sortOptionNameKey: string;
|
|
102
196
|
fullHeight: boolean;
|
|
197
|
+
fullHeightBottomSpacing: number;
|
|
103
198
|
withSettingsHeader: boolean;
|
|
104
199
|
extraCharts: () => any[];
|
|
200
|
+
colorVariant: string;
|
|
105
201
|
}>>> & {
|
|
106
202
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
203
|
+
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
107
204
|
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
108
205
|
}, {
|
|
109
206
|
header: string;
|
|
207
|
+
testId: string;
|
|
110
208
|
loading: boolean;
|
|
111
209
|
visibleIds: unknown[];
|
|
112
210
|
minVisible: number;
|
|
113
211
|
maxVisible: number;
|
|
114
212
|
maxLimitTooltipText: string;
|
|
213
|
+
sortSelected: any;
|
|
214
|
+
sortOptions: unknown[];
|
|
215
|
+
sortOptionNameKey: string;
|
|
115
216
|
chartType: ChartType;
|
|
116
217
|
hideLegend: boolean;
|
|
117
218
|
xAxisFormat: ValueFormat;
|
|
118
|
-
|
|
219
|
+
xAxisDateInterval: DateInterval;
|
|
220
|
+
totalsChart: boolean;
|
|
119
221
|
parsing: ChartParsingConfig;
|
|
120
|
-
|
|
222
|
+
yAxisFormat: ValueFormat;
|
|
223
|
+
valueSuffix: string;
|
|
224
|
+
valuePrefix: string;
|
|
225
|
+
trendTooltip: any;
|
|
121
226
|
subheader: string;
|
|
227
|
+
subheaderTooltip: any;
|
|
122
228
|
trendValue: string | number;
|
|
123
|
-
trendDirection:
|
|
229
|
+
trendDirection: TrendDirection;
|
|
230
|
+
noteText: string;
|
|
231
|
+
dataSets: ChartDataSet[];
|
|
124
232
|
tickCount: number;
|
|
125
|
-
|
|
126
|
-
|
|
233
|
+
truncateTickLabels: boolean;
|
|
234
|
+
keepSubheaderVisible: boolean;
|
|
235
|
+
empty: boolean;
|
|
127
236
|
noDataIcon: string;
|
|
128
237
|
noDataTitle: string;
|
|
129
238
|
noDataSubtitle: string;
|
|
239
|
+
withAnimation: boolean;
|
|
240
|
+
tooltipTotalType: TotalType;
|
|
241
|
+
tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
|
|
242
|
+
tooltipOrder: TooltipOrder;
|
|
243
|
+
indicateIncompleteData: boolean;
|
|
244
|
+
tooltipExcludeTotalItem: boolean;
|
|
130
245
|
fullHeight: boolean;
|
|
246
|
+
fullHeightBottomSpacing: number;
|
|
131
247
|
withSettingsHeader: boolean;
|
|
132
248
|
extraCharts: Record<string, unknown>[];
|
|
249
|
+
colorVariant: ColorVariant;
|
|
133
250
|
}>, {
|
|
251
|
+
"before-chart-type"?(_: {}): any;
|
|
134
252
|
metric?(_: {}): any;
|
|
135
253
|
breakdowns?(_: {}): any;
|
|
136
254
|
"subheader-tooltip"?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Chart.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../Chart.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-060d02be"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,125 +1,191 @@
|
|
|
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_060d02be_lang.css"; import { defineComponent as P, ref as U, computed as n, openBlock as d, createElementBlock as b, Fragment as S, createBlock as D, unref as l, isRef as y, withCtx as s, renderSlot as u, createCommentVNode as A, createElementVNode as L, mergeProps as g, normalizeClass as $, createVNode as k, createSlots as M, renderList as R } from "vue";
|
|
2
|
+
import { useVModel as B } from "@vueuse/core";
|
|
3
|
+
import K from "./ChartLegend.vue.js";
|
|
4
|
+
import X 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 G, DEFAULT_MIN_VISIBLE as Y, DEFAULT_MAX_VISIBLE as j } from "./consts.js";
|
|
8
|
+
import { ChartType as q, DateInterval as J, TooltipOrder as Q, TrendDirection as W } from "./types.js";
|
|
9
|
+
import { useChartHeight as Z } from "./composables/useChartHeight.js";
|
|
10
|
+
import { TotalType as _, calculateTotal as tt } from "../../utils/totals.js";
|
|
11
|
+
import { useTestIdAttrs as et } from "../../utils/testIds.js";
|
|
12
|
+
import { ChartTestIdModifiers as p } from "../../testids/index.js";
|
|
13
|
+
const at = {
|
|
11
14
|
key: 0,
|
|
12
15
|
class: "chart-sidebar"
|
|
13
|
-
},
|
|
16
|
+
}, mt = /* @__PURE__ */ P({
|
|
14
17
|
__name: "Chart",
|
|
15
18
|
props: {
|
|
16
19
|
dataSets: { default: () => [] },
|
|
17
20
|
visibleIds: { default: () => [] },
|
|
18
|
-
chartType: { default:
|
|
21
|
+
chartType: { default: q.Line },
|
|
19
22
|
parsing: { default: void 0 },
|
|
20
23
|
xAxisFormat: { default: "string" },
|
|
21
24
|
yAxisFormat: { default: "number" },
|
|
22
|
-
|
|
25
|
+
xAxisDateInterval: { default: J.DAILY },
|
|
26
|
+
tickCount: { default: G },
|
|
27
|
+
truncateTickLabels: { type: Boolean, default: !1 },
|
|
23
28
|
loading: { type: Boolean, default: !1 },
|
|
29
|
+
empty: { type: Boolean, default: !1 },
|
|
24
30
|
withAnimation: { type: Boolean, default: !0 },
|
|
25
31
|
totalsChart: { type: Boolean, default: !1 },
|
|
32
|
+
tooltipTotalType: { default: _.Total },
|
|
33
|
+
tooltipTotalCalcFn: { type: Function, default: tt },
|
|
34
|
+
tooltipOrder: { default: Q.Legend },
|
|
35
|
+
valueSuffix: { default: "" },
|
|
36
|
+
valuePrefix: { default: "" },
|
|
37
|
+
indicateIncompleteData: { type: Boolean, default: !1 },
|
|
38
|
+
tooltipExcludeTotalItem: { type: Boolean, default: !1 },
|
|
39
|
+
testId: { default: "" },
|
|
26
40
|
header: { default: "" },
|
|
27
41
|
subheader: { default: "" },
|
|
42
|
+
subheaderTooltip: { default: null },
|
|
43
|
+
keepSubheaderVisible: { type: Boolean, default: !1 },
|
|
28
44
|
trendValue: { default: null },
|
|
29
|
-
trendDirection: { default:
|
|
45
|
+
trendDirection: { default: W.UP },
|
|
46
|
+
trendTooltip: { default: null },
|
|
47
|
+
noteText: { default: "" },
|
|
30
48
|
noDataIcon: { default: "file-search" },
|
|
31
49
|
noDataTitle: { default: "No data to display" },
|
|
32
50
|
noDataSubtitle: { default: "Search again with different filters" },
|
|
33
51
|
hideLegend: { type: Boolean, default: !1 },
|
|
34
|
-
minVisible: { default:
|
|
35
|
-
maxVisible: { default:
|
|
52
|
+
minVisible: { default: Y },
|
|
53
|
+
maxVisible: { default: j },
|
|
36
54
|
maxLimitTooltipText: { default: "" },
|
|
55
|
+
sortSelected: { default: null },
|
|
56
|
+
sortOptions: { default: () => [] },
|
|
57
|
+
sortOptionNameKey: { default: "" },
|
|
37
58
|
fullHeight: { type: Boolean, default: !1 },
|
|
59
|
+
fullHeightBottomSpacing: { default: 50 },
|
|
38
60
|
withSettingsHeader: { type: Boolean, default: !0 },
|
|
39
|
-
extraCharts: { default: () => [] }
|
|
61
|
+
extraCharts: { default: () => [] },
|
|
62
|
+
colorVariant: { default: "default" }
|
|
40
63
|
},
|
|
41
|
-
emits: ["update:chartType", "update:visibleIds"],
|
|
42
|
-
setup(
|
|
43
|
-
const
|
|
44
|
-
dataSets:
|
|
45
|
-
visibleIds:
|
|
46
|
-
parsing:
|
|
47
|
-
xAxisFormat:
|
|
48
|
-
yAxisFormat:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
64
|
+
emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
|
|
65
|
+
setup(e, { emit: c }) {
|
|
66
|
+
const t = e, r = B(t, "chartType", c), f = B(t, "sortSelected", c), h = U(null), v = n(() => ({
|
|
67
|
+
dataSets: t.dataSets,
|
|
68
|
+
visibleIds: t.visibleIds,
|
|
69
|
+
parsing: t.parsing,
|
|
70
|
+
xAxisFormat: t.xAxisFormat,
|
|
71
|
+
yAxisFormat: t.yAxisFormat,
|
|
72
|
+
xAxisDateInterval: t.xAxisDateInterval,
|
|
73
|
+
tickCount: t.tickCount,
|
|
74
|
+
truncateTickLabels: t.truncateTickLabels,
|
|
75
|
+
header: t.header,
|
|
76
|
+
subheader: t.subheader,
|
|
77
|
+
noteText: t.noteText,
|
|
78
|
+
loading: t.loading,
|
|
79
|
+
empty: t.empty,
|
|
80
|
+
noDataIcon: t.noDataIcon,
|
|
81
|
+
noDataTitle: t.noDataTitle,
|
|
82
|
+
noDataSubtitle: t.noDataSubtitle,
|
|
83
|
+
withAnimation: t.withAnimation,
|
|
84
|
+
typeSwitcher: !t.withSettingsHeader,
|
|
85
|
+
height: N.value,
|
|
86
|
+
compactHeader: C.value > 1,
|
|
87
|
+
trendValue: t.trendValue,
|
|
88
|
+
trendDirection: t.trendDirection,
|
|
89
|
+
trendTooltip: t.trendTooltip,
|
|
90
|
+
totalsChart: t.totalsChart,
|
|
91
|
+
subheaderTooltip: t.subheaderTooltip,
|
|
92
|
+
keepSubheaderVisible: t.keepSubheaderVisible,
|
|
93
|
+
colorsMap: m.value,
|
|
94
|
+
tooltipTotalType: t.tooltipTotalType,
|
|
95
|
+
tooltipTotalCalcFn: t.tooltipTotalCalcFn,
|
|
96
|
+
tooltipOrder: t.tooltipOrder,
|
|
97
|
+
highlightedId: h.value,
|
|
98
|
+
valueSuffix: t.valueSuffix,
|
|
99
|
+
valuePrefix: t.valuePrefix,
|
|
100
|
+
indicateIncompleteData: t.indicateIncompleteData,
|
|
101
|
+
tooltipExcludeTotalItem: t.tooltipExcludeTotalItem,
|
|
102
|
+
testId: t.testId
|
|
103
|
+
})), E = n(() => t.dataSets), I = n(() => t.visibleIds), x = n(() => t.extraCharts.length), C = n(() => 1 + x.value), F = (a) => a === x.value - 1, { colorsMap: m } = z({
|
|
104
|
+
dataSets: E,
|
|
105
|
+
visibleIds: I,
|
|
106
|
+
variant: t.colorVariant
|
|
107
|
+
}), w = n(() => t.dataSets.map((a) => ({
|
|
108
|
+
id: a.id,
|
|
109
|
+
label: a.label,
|
|
110
|
+
caption: a.caption || null,
|
|
111
|
+
color: m.value[a.id] || null,
|
|
112
|
+
icon: a.icon || null,
|
|
113
|
+
iconType: a.iconType || "branded"
|
|
114
|
+
}))), { containerProps: H, eachPlaneHeight: N } = Z({
|
|
115
|
+
chartPlanesCount: C,
|
|
116
|
+
useFullHeight: t.fullHeight,
|
|
117
|
+
bottomSpacing: t.fullHeightBottomSpacing
|
|
118
|
+
}), O = et(t.testId, p);
|
|
119
|
+
return (a, i) => (d(), b(S, null, [
|
|
120
|
+
e.withSettingsHeader ? (d(), D(X, {
|
|
76
121
|
key: 0,
|
|
77
|
-
"chart-type":
|
|
78
|
-
"onUpdate:chart-type":
|
|
79
|
-
"hide-legend":
|
|
122
|
+
"chart-type": l(r),
|
|
123
|
+
"onUpdate:chart-type": i[0] || (i[0] = (o) => y(r) ? r.value = o : null),
|
|
124
|
+
"hide-legend": e.hideLegend,
|
|
125
|
+
"test-id": e.testId
|
|
80
126
|
}, {
|
|
81
|
-
|
|
82
|
-
|
|
127
|
+
"before-chart-type": s(() => [
|
|
128
|
+
u(a.$slots, "before-chart-type", {}, void 0, !0)
|
|
83
129
|
]),
|
|
84
|
-
|
|
85
|
-
|
|
130
|
+
metric: s(() => [
|
|
131
|
+
u(a.$slots, "metric", {}, void 0, !0)
|
|
132
|
+
]),
|
|
133
|
+
breakdowns: s(() => [
|
|
134
|
+
u(a.$slots, "breakdowns", {}, void 0, !0)
|
|
86
135
|
]),
|
|
87
136
|
_: 3
|
|
88
|
-
}, 8, ["chart-type", "hide-legend"])) :
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
137
|
+
}, 8, ["chart-type", "hide-legend", "test-id"])) : A("", !0),
|
|
138
|
+
L("div", g({ class: "chart-container" }, {
|
|
139
|
+
...l(H),
|
|
140
|
+
...l(O)[l(p).CONTAINER]
|
|
141
|
+
}), [
|
|
142
|
+
L("section", {
|
|
143
|
+
class: $(["chart-planes", [{ "with-legend": !e.hideLegend }]])
|
|
92
144
|
}, [
|
|
93
|
-
|
|
94
|
-
"chart-type":
|
|
95
|
-
"onUpdate:chart-type":
|
|
96
|
-
},
|
|
97
|
-
"subheader-tooltip"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
145
|
+
k(V, g({
|
|
146
|
+
"chart-type": l(r),
|
|
147
|
+
"onUpdate:chart-type": i[1] || (i[1] = (o) => y(r) ? r.value = o : null)
|
|
148
|
+
}, l(v)), M({ _: 2 }, [
|
|
149
|
+
a.$slots["subheader-tooltip"] ? {
|
|
150
|
+
name: "subheader-tooltip",
|
|
151
|
+
fn: s(() => [
|
|
152
|
+
u(a.$slots, "subheader-tooltip", {}, void 0, !0)
|
|
153
|
+
]),
|
|
154
|
+
key: "0"
|
|
155
|
+
} : void 0
|
|
156
|
+
]), 1040, ["chart-type"]),
|
|
157
|
+
(d(!0), b(S, null, R(e.extraCharts, (o, T) => (d(), D(V, g({
|
|
158
|
+
key: T,
|
|
104
159
|
class: "extra-chart-plane"
|
|
105
|
-
}, { ...
|
|
106
|
-
"chart-type":
|
|
160
|
+
}, { ...l(v), ...o }, {
|
|
161
|
+
"chart-type": l(r),
|
|
162
|
+
"colors-map": l(m),
|
|
107
163
|
"type-switcher": !1,
|
|
108
|
-
"tooltip-respects-top-edge": !
|
|
109
|
-
|
|
164
|
+
"tooltip-respects-top-edge": !F(T),
|
|
165
|
+
"test-id": `${e.testId}-${l(p).EXTRA_CHART}-${T}`
|
|
166
|
+
}), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge", "test-id"]))), 128))
|
|
110
167
|
], 2),
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"onUpdate:
|
|
117
|
-
|
|
168
|
+
e.hideLegend ? A("", !0) : (d(), b("section", at, [
|
|
169
|
+
k(K, {
|
|
170
|
+
"sort-selected": l(f),
|
|
171
|
+
"onUpdate:sort-selected": i[2] || (i[2] = (o) => y(f) ? f.value = o : null),
|
|
172
|
+
"highlighted-id": h.value,
|
|
173
|
+
"onUpdate:highlighted-id": i[3] || (i[3] = (o) => h.value = o),
|
|
174
|
+
items: l(w),
|
|
175
|
+
"visible-ids": l(I),
|
|
176
|
+
"max-limit-tooltip-text": e.maxLimitTooltipText,
|
|
177
|
+
"sort-options": e.sortOptions,
|
|
178
|
+
"sort-option-name-key": e.sortOptionNameKey,
|
|
179
|
+
"min-visible": e.minVisible,
|
|
180
|
+
"max-visible": e.maxVisible,
|
|
181
|
+
"test-id": `${e.testId}-${l(p).LEGEND}`,
|
|
182
|
+
"onUpdate:visibleIds": i[4] || (i[4] = (o) => c("update:visibleIds", o))
|
|
183
|
+
}, null, 8, ["sort-selected", "highlighted-id", "items", "visible-ids", "max-limit-tooltip-text", "sort-options", "sort-option-name-key", "min-visible", "max-visible", "test-id"])
|
|
118
184
|
]))
|
|
119
185
|
], 16)
|
|
120
186
|
], 64));
|
|
121
187
|
}
|
|
122
188
|
});
|
|
123
189
|
export {
|
|
124
|
-
|
|
190
|
+
mt as default
|
|
125
191
|
};
|
|
@@ -1,20 +1,35 @@
|
|
|
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;
|
|
20
|
+
testId?: string;
|
|
10
21
|
}>, {
|
|
11
22
|
chartType: ChartType;
|
|
12
23
|
typeSwitcher: boolean;
|
|
13
24
|
header: string;
|
|
14
25
|
subheader: string;
|
|
26
|
+
subheaderTooltip: any;
|
|
27
|
+
trendTooltip: any;
|
|
15
28
|
compact: boolean;
|
|
16
29
|
trendValue: any;
|
|
17
|
-
trendDirection:
|
|
30
|
+
trendDirection: TrendDirection;
|
|
31
|
+
noteText: string;
|
|
32
|
+
testId: string;
|
|
18
33
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
34
|
"update:chartType": (type: ChartType) => void;
|
|
20
35
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -22,27 +37,46 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
37
|
typeSwitcher: boolean;
|
|
23
38
|
header?: string;
|
|
24
39
|
subheader?: string;
|
|
40
|
+
subheaderTooltip?: {
|
|
41
|
+
header?: string;
|
|
42
|
+
text?: string;
|
|
43
|
+
};
|
|
44
|
+
trendTooltip?: {
|
|
45
|
+
header?: string;
|
|
46
|
+
rangeCurrent?: string;
|
|
47
|
+
rangePrevious?: string;
|
|
48
|
+
};
|
|
25
49
|
compact: boolean;
|
|
26
50
|
trendValue?: string | number;
|
|
27
|
-
trendDirection?:
|
|
51
|
+
trendDirection?: TrendDirection;
|
|
52
|
+
noteText?: string;
|
|
53
|
+
testId?: string;
|
|
28
54
|
}>, {
|
|
29
55
|
chartType: ChartType;
|
|
30
56
|
typeSwitcher: boolean;
|
|
31
57
|
header: string;
|
|
32
58
|
subheader: string;
|
|
59
|
+
subheaderTooltip: any;
|
|
60
|
+
trendTooltip: any;
|
|
33
61
|
compact: boolean;
|
|
34
62
|
trendValue: any;
|
|
35
|
-
trendDirection:
|
|
63
|
+
trendDirection: TrendDirection;
|
|
64
|
+
noteText: string;
|
|
65
|
+
testId: string;
|
|
36
66
|
}>>> & {
|
|
37
67
|
"onUpdate:chartType"?: (type: ChartType) => any;
|
|
38
68
|
}, {
|
|
39
69
|
header: string;
|
|
70
|
+
testId: string;
|
|
40
71
|
compact: boolean;
|
|
41
72
|
chartType: ChartType;
|
|
42
|
-
|
|
73
|
+
trendTooltip: any;
|
|
43
74
|
subheader: string;
|
|
75
|
+
subheaderTooltip: any;
|
|
76
|
+
typeSwitcher: boolean;
|
|
44
77
|
trendValue: string | number;
|
|
45
|
-
trendDirection:
|
|
78
|
+
trendDirection: TrendDirection;
|
|
79
|
+
noteText: string;
|
|
46
80
|
}>, {
|
|
47
81
|
"subheader-tooltip"?(_: {}): any;
|
|
48
82
|
}>;
|
|
@@ -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 s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-d90c583e"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|