@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,4 @@
|
|
|
1
|
-
import { ChartType } from '@/components/chart/types';
|
|
1
|
+
import { ChartType, DateInterval, TooltipOrder, TrendDirection } from '@/components/chart/types';
|
|
2
2
|
export declare const chartStoryArgs: {
|
|
3
3
|
chartType: {
|
|
4
4
|
control: {
|
|
@@ -17,6 +17,10 @@ export declare const chartStoryArgs: {
|
|
|
17
17
|
options: string[];
|
|
18
18
|
description: string;
|
|
19
19
|
};
|
|
20
|
+
xAxisDateInterval: {
|
|
21
|
+
options: DateInterval[];
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
20
24
|
parsing: {
|
|
21
25
|
description: string;
|
|
22
26
|
};
|
|
@@ -69,6 +73,18 @@ export declare const chartStoryArgs: {
|
|
|
69
73
|
category: string;
|
|
70
74
|
};
|
|
71
75
|
};
|
|
76
|
+
subheaderTooltip: {
|
|
77
|
+
table: {
|
|
78
|
+
category: string;
|
|
79
|
+
};
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
keepSubheaderVisible: {
|
|
83
|
+
table: {
|
|
84
|
+
category: string;
|
|
85
|
+
};
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
72
88
|
trendValue: {
|
|
73
89
|
table: {
|
|
74
90
|
category: string;
|
|
@@ -82,18 +98,30 @@ export declare const chartStoryArgs: {
|
|
|
82
98
|
description: string;
|
|
83
99
|
control: {
|
|
84
100
|
type: string;
|
|
85
|
-
options: string[];
|
|
86
101
|
};
|
|
102
|
+
options: TrendDirection[];
|
|
87
103
|
};
|
|
88
104
|
tickCount: {
|
|
89
105
|
description: string;
|
|
90
106
|
};
|
|
107
|
+
truncateTickLabels: {
|
|
108
|
+
description: string;
|
|
109
|
+
control: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
91
113
|
loading: {
|
|
92
114
|
description: string;
|
|
93
115
|
control: {
|
|
94
116
|
type: string;
|
|
95
117
|
};
|
|
96
118
|
};
|
|
119
|
+
empty: {
|
|
120
|
+
description: string;
|
|
121
|
+
control: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
97
125
|
withAnimation: {
|
|
98
126
|
control: {
|
|
99
127
|
type: string;
|
|
@@ -114,6 +142,15 @@ export declare const chartStoryArgs: {
|
|
|
114
142
|
type: string;
|
|
115
143
|
};
|
|
116
144
|
};
|
|
145
|
+
fullHeightBottomSpacing: {
|
|
146
|
+
table: {
|
|
147
|
+
category: string;
|
|
148
|
+
};
|
|
149
|
+
description: string;
|
|
150
|
+
control: {
|
|
151
|
+
type: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
117
154
|
withSettingsHeader: {
|
|
118
155
|
table: {
|
|
119
156
|
category: string;
|
|
@@ -132,4 +169,28 @@ export declare const chartStoryArgs: {
|
|
|
132
169
|
type: string;
|
|
133
170
|
};
|
|
134
171
|
};
|
|
172
|
+
tooltipOrder: {
|
|
173
|
+
description: string;
|
|
174
|
+
control: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
177
|
+
options: TooltipOrder[];
|
|
178
|
+
};
|
|
179
|
+
colorVariant: {
|
|
180
|
+
description: string;
|
|
181
|
+
control: string;
|
|
182
|
+
options: string[];
|
|
183
|
+
};
|
|
184
|
+
indicateIncompleteData: {
|
|
185
|
+
description: string;
|
|
186
|
+
control: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
tooltipExcludeTotalItem: {
|
|
191
|
+
description: string;
|
|
192
|
+
control: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
135
196
|
};
|
|
@@ -1,39 +1,59 @@
|
|
|
1
|
-
import { MyTooltipItem, ValueFormat } from '@/components/chart/types';
|
|
1
|
+
import { DateInterval, MyTooltipItem, ValueFormat } from '@/components/chart/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
title?: string;
|
|
4
4
|
dataPoints: MyTooltipItem<'line'>[];
|
|
5
5
|
xAxisFormat?: ValueFormat;
|
|
6
6
|
yAxisFormat?: ValueFormat;
|
|
7
|
+
xAxisDateInterval?: DateInterval;
|
|
7
8
|
totalLabel?: string;
|
|
8
9
|
totalValue?: number;
|
|
10
|
+
totalsChart?: boolean;
|
|
11
|
+
valueSuffix?: string;
|
|
12
|
+
valuePrefix?: string;
|
|
9
13
|
}>, {
|
|
10
14
|
title: string;
|
|
11
15
|
dataPoints: () => any[];
|
|
12
16
|
xAxisFormat: any;
|
|
13
17
|
yAxisFormat: any;
|
|
18
|
+
xAxisDateInterval: any;
|
|
14
19
|
totalLabel: string;
|
|
15
20
|
totalValue: any;
|
|
21
|
+
totalsChart: boolean;
|
|
22
|
+
valueSuffix: string;
|
|
23
|
+
valuePrefix: string;
|
|
16
24
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
25
|
title?: string;
|
|
18
26
|
dataPoints: MyTooltipItem<'line'>[];
|
|
19
27
|
xAxisFormat?: ValueFormat;
|
|
20
28
|
yAxisFormat?: ValueFormat;
|
|
29
|
+
xAxisDateInterval?: DateInterval;
|
|
21
30
|
totalLabel?: string;
|
|
22
31
|
totalValue?: number;
|
|
32
|
+
totalsChart?: boolean;
|
|
33
|
+
valueSuffix?: string;
|
|
34
|
+
valuePrefix?: string;
|
|
23
35
|
}>, {
|
|
24
36
|
title: string;
|
|
25
37
|
dataPoints: () => any[];
|
|
26
38
|
xAxisFormat: any;
|
|
27
39
|
yAxisFormat: any;
|
|
40
|
+
xAxisDateInterval: any;
|
|
28
41
|
totalLabel: string;
|
|
29
42
|
totalValue: any;
|
|
43
|
+
totalsChart: boolean;
|
|
44
|
+
valueSuffix: string;
|
|
45
|
+
valuePrefix: string;
|
|
30
46
|
}>>>, {
|
|
31
47
|
title: string;
|
|
32
|
-
dataPoints: MyTooltipItem<'line'>[];
|
|
33
48
|
xAxisFormat: ValueFormat;
|
|
49
|
+
xAxisDateInterval: DateInterval;
|
|
50
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
51
|
+
totalsChart: boolean;
|
|
34
52
|
yAxisFormat: ValueFormat;
|
|
35
53
|
totalLabel: string;
|
|
36
54
|
totalValue: number;
|
|
55
|
+
valueSuffix: string;
|
|
56
|
+
valuePrefix: string;
|
|
37
57
|
}>;
|
|
38
58
|
export default _default;
|
|
39
59
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ChartTooltip.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../ChartTooltip.
|
|
4
|
-
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3a6b2681"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,103 +1,97 @@
|
|
|
1
|
-
import "../../ChartTooltip.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import g from "../icon/v4/IconV4.vue.js";
|
|
1
|
+
import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css"; import { defineComponent as m, openBlock as a, createElementBlock as o, createBlock as f, createCommentVNode as r, Fragment as y, renderList as v, createElementVNode as c, normalizeStyle as h, unref as l, createVNode as i, withCtx as n, createTextVNode as u, toDisplayString as s } from "vue";
|
|
2
|
+
import d from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import b from "../icon/v4/IconV4.vue.js";
|
|
5
4
|
import "../icon/v4/IconFlag.vue.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}, C = { class: "list" }, T = { class: "popover-label-wrapper" }, w = {
|
|
5
|
+
import { formatValue as x } from "./utils/utils.js";
|
|
6
|
+
import k from "./TooltipHeader.vue.js";
|
|
7
|
+
const C = { class: "chart-tooltip" }, g = {
|
|
10
8
|
key: 1,
|
|
9
|
+
class: "list"
|
|
10
|
+
}, V = { class: "popover-label-wrapper" }, A = {
|
|
11
|
+
key: 2,
|
|
11
12
|
class: "tooltip-footer"
|
|
12
|
-
},
|
|
13
|
+
}, L = /* @__PURE__ */ m({
|
|
13
14
|
__name: "ChartTooltip",
|
|
14
15
|
props: {
|
|
15
16
|
title: { default: "" },
|
|
16
17
|
dataPoints: { default: () => [] },
|
|
17
18
|
xAxisFormat: { default: null },
|
|
18
19
|
yAxisFormat: { default: null },
|
|
20
|
+
xAxisDateInterval: { default: null },
|
|
19
21
|
totalLabel: { default: "Total" },
|
|
20
|
-
totalValue: { default: null }
|
|
22
|
+
totalValue: { default: null },
|
|
23
|
+
totalsChart: { type: Boolean, default: !1 },
|
|
24
|
+
valueSuffix: { default: "" },
|
|
25
|
+
valuePrefix: { default: "" }
|
|
21
26
|
},
|
|
22
|
-
setup(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
variant: "caption"
|
|
36
|
-
}, {
|
|
37
|
-
default: o(() => [
|
|
38
|
-
r(i(t(m)(e.title, t(b))), 1)
|
|
39
|
-
]),
|
|
40
|
-
_: 1
|
|
41
|
-
})) : d("", !0)
|
|
42
|
-
])) : d("", !0),
|
|
43
|
-
f("ul", C, [
|
|
44
|
-
(l(!0), n(v, null, h(e.dataPoints, (a) => (l(), n("li", {
|
|
45
|
-
key: a.datasetIndex,
|
|
27
|
+
setup(t) {
|
|
28
|
+
return (F, S) => (a(), o("div", C, [
|
|
29
|
+
t.title ? (a(), f(k, {
|
|
30
|
+
key: 0,
|
|
31
|
+
title: t.title,
|
|
32
|
+
"data-points": t.dataPoints,
|
|
33
|
+
"totals-chart": t.totalsChart,
|
|
34
|
+
"x-axis-format": t.xAxisFormat,
|
|
35
|
+
"x-axis-date-interval": t.xAxisDateInterval
|
|
36
|
+
}, null, 8, ["title", "data-points", "totals-chart", "x-axis-format", "x-axis-date-interval"])) : r("", !0),
|
|
37
|
+
t.totalsChart ? r("", !0) : (a(), o("ul", g, [
|
|
38
|
+
(a(!0), o(y, null, v(t.dataPoints, (e) => (a(), o("li", {
|
|
39
|
+
key: e.datasetIndex,
|
|
46
40
|
class: "list__item"
|
|
47
41
|
}, [
|
|
48
|
-
|
|
42
|
+
c("span", {
|
|
49
43
|
class: "color-box",
|
|
50
|
-
style:
|
|
51
|
-
backgroundColor: String(
|
|
44
|
+
style: h({
|
|
45
|
+
backgroundColor: String(e.dataset.pointBackgroundColor)
|
|
52
46
|
})
|
|
53
47
|
}, null, 4),
|
|
54
|
-
|
|
48
|
+
e.dataset.icon ? (a(), f(l(b), {
|
|
55
49
|
key: 0,
|
|
56
50
|
class: "platform-icon",
|
|
57
|
-
type:
|
|
58
|
-
name:
|
|
51
|
+
type: e.dataset.iconType,
|
|
52
|
+
name: e.dataset.icon,
|
|
59
53
|
size: "16px"
|
|
60
|
-
}, null, 8, ["type", "name"])) :
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
}, null, 8, ["type", "name"])) : r("", !0),
|
|
55
|
+
c("div", V, [
|
|
56
|
+
i(l(d), {
|
|
63
57
|
variant: "body2",
|
|
64
58
|
class: "flex-grow truncated-label",
|
|
65
59
|
"is-truncated": ""
|
|
66
60
|
}, {
|
|
67
|
-
default:
|
|
68
|
-
|
|
61
|
+
default: n(() => [
|
|
62
|
+
u(s(e.dataset.label), 1)
|
|
69
63
|
]),
|
|
70
64
|
_: 2
|
|
71
65
|
}, 1024)
|
|
72
66
|
]),
|
|
73
|
-
|
|
74
|
-
default:
|
|
75
|
-
|
|
67
|
+
i(l(d), { variant: "body2" }, {
|
|
68
|
+
default: n(() => [
|
|
69
|
+
u(s(t.valuePrefix + l(x)(e.parsed.y, t.yAxisFormat, !0, !1) + t.valueSuffix), 1)
|
|
76
70
|
]),
|
|
77
71
|
_: 2
|
|
78
72
|
}, 1024)
|
|
79
73
|
]))), 128))
|
|
80
|
-
]),
|
|
81
|
-
|
|
82
|
-
|
|
74
|
+
])),
|
|
75
|
+
t.totalValue !== null ? (a(), o("div", A, [
|
|
76
|
+
i(l(d), {
|
|
83
77
|
variant: "body2",
|
|
84
78
|
class: "flex-grow"
|
|
85
79
|
}, {
|
|
86
|
-
default:
|
|
87
|
-
|
|
80
|
+
default: n(() => [
|
|
81
|
+
u(s(t.totalLabel), 1)
|
|
88
82
|
]),
|
|
89
83
|
_: 1
|
|
90
84
|
}),
|
|
91
|
-
|
|
92
|
-
default:
|
|
93
|
-
|
|
85
|
+
i(l(d), { variant: "body2" }, {
|
|
86
|
+
default: n(() => [
|
|
87
|
+
u(s(t.valuePrefix + l(x)(t.totalValue, t.yAxisFormat, !0) + t.valueSuffix), 1)
|
|
94
88
|
]),
|
|
95
89
|
_: 1
|
|
96
90
|
})
|
|
97
|
-
])) :
|
|
91
|
+
])) : r("", !0)
|
|
98
92
|
]));
|
|
99
93
|
}
|
|
100
94
|
});
|
|
101
95
|
export {
|
|
102
|
-
|
|
96
|
+
L as default
|
|
103
97
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
selected: unknown;
|
|
3
|
+
options: unknown[];
|
|
4
|
+
optionNameKey: string;
|
|
5
|
+
}>, {
|
|
6
|
+
options: () => any[];
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:selected": (option: unknown) => void;
|
|
9
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
selected: unknown;
|
|
11
|
+
options: unknown[];
|
|
12
|
+
optionNameKey: string;
|
|
13
|
+
}>, {
|
|
14
|
+
options: () => any[];
|
|
15
|
+
}>>> & {
|
|
16
|
+
"onUpdate:selected"?: (option: unknown) => any;
|
|
17
|
+
}, {
|
|
18
|
+
options: unknown[];
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as l, openBlock as m, createElementBlock as s, createVNode as r, unref as n, isRef as d, withCtx as a, mergeProps as c } from "vue";
|
|
2
|
+
import u from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
|
+
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
|
+
import f from "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
5
|
+
import "../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
6
|
+
import "../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
7
|
+
import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
8
|
+
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
|
+
import "../dropdown/v4/TreeDropdown.vue.js";
|
|
10
|
+
import "../dropdown/v4/OptionV4.vue.js";
|
|
11
|
+
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
12
|
+
import { useVModel as g } from "@vueuse/core";
|
|
13
|
+
const y = { class: "legend-sorting" }, L = /* @__PURE__ */ l({
|
|
14
|
+
__name: "LegendSorting",
|
|
15
|
+
props: {
|
|
16
|
+
selected: null,
|
|
17
|
+
options: { default: () => [] },
|
|
18
|
+
optionNameKey: null
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:selected"],
|
|
21
|
+
setup(o, { emit: p }) {
|
|
22
|
+
const t = g(o, "selected", p);
|
|
23
|
+
return (v, i) => (m(), s("div", y, [
|
|
24
|
+
r(n(u), {
|
|
25
|
+
selected: n(t),
|
|
26
|
+
"onUpdate:selected": i[0] || (i[0] = (e) => d(t) ? t.value = e : null),
|
|
27
|
+
"display-value": (e) => e[o.optionNameKey],
|
|
28
|
+
options: o.options,
|
|
29
|
+
"option-name-key": o.optionNameKey,
|
|
30
|
+
placement: "bottom-end"
|
|
31
|
+
}, {
|
|
32
|
+
"dropdown-trigger": a(({ buttonTriggerProps: e }) => [
|
|
33
|
+
r(n(f), c(e, {
|
|
34
|
+
"icon-name": "funnel-simple",
|
|
35
|
+
"icon-type": "regular"
|
|
36
|
+
}), null, 16)
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
}, 8, ["selected", "display-value", "options", "option-name-key"])
|
|
40
|
+
]));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
L as default
|
|
45
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./SettingsHeader.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../SettingsHeader.
|
|
4
|
-
const
|
|
3
|
+
// import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-01f78cd7"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../SettingsHeader.
|
|
2
|
-
import
|
|
1
|
+
import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css"; import { defineComponent as h, computed as g, openBlock as y, createElementBlock as f, createElementVNode as r, normalizeClass as l, renderSlot as i, createVNode as p, unref as t, isRef as v, withCtx as T, mergeProps as b } from "vue";
|
|
2
|
+
import w from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
3
|
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
5
5
|
import "../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
@@ -10,7 +10,7 @@ import "../dropdown/v4/TreeDropdown.vue.js";
|
|
|
10
10
|
import "../dropdown/v4/OptionV4.vue.js";
|
|
11
11
|
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
12
12
|
import { DROPDOWN_TYPE_OPTIONS as c } from "./consts.js";
|
|
13
|
-
const
|
|
13
|
+
const B = { class: "settings-header-container" }, C = { class: "chart-type-selection" }, H = /* @__PURE__ */ h({
|
|
14
14
|
__name: "SettingsHeader",
|
|
15
15
|
props: {
|
|
16
16
|
chartType: null,
|
|
@@ -25,41 +25,42 @@ const _ = { class: "settings-header-container" }, B = { class: "chart-type-selec
|
|
|
25
25
|
set(e) {
|
|
26
26
|
m("update:chartType", e.id);
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
29
|
-
return (e,
|
|
28
|
+
}), d = (e) => `Chart: ${e.name}`;
|
|
29
|
+
return (e, a) => (y(), f("div", B, [
|
|
30
30
|
r("div", {
|
|
31
|
-
class:
|
|
31
|
+
class: l(["settings", { "settings-spacer": !s.hideLegend }])
|
|
32
32
|
}, [
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
i(e.$slots, "before-chart-type", {}, void 0, !0),
|
|
34
|
+
r("div", C, [
|
|
35
|
+
p(t(w), {
|
|
35
36
|
selected: t(o),
|
|
36
|
-
"onUpdate:selected":
|
|
37
|
+
"onUpdate:selected": a[0] || (a[0] = (n) => v(o) ? o.value = n : null),
|
|
37
38
|
options: t(c),
|
|
38
39
|
"option-name-key": "name",
|
|
39
|
-
"display-value":
|
|
40
|
+
"display-value": d,
|
|
40
41
|
placeholder: "Select chart type",
|
|
41
42
|
size: "small"
|
|
42
43
|
}, {
|
|
43
44
|
"dropdown-trigger": T(({ buttonTriggerProps: n }) => [
|
|
44
|
-
|
|
45
|
-
label:
|
|
45
|
+
p(t(k), b(n, {
|
|
46
|
+
label: d(t(o))
|
|
46
47
|
}), null, 16, ["label"])
|
|
47
48
|
]),
|
|
48
49
|
_: 1
|
|
49
50
|
}, 8, ["selected", "options"])
|
|
50
51
|
]),
|
|
51
52
|
r("div", null, [
|
|
52
|
-
|
|
53
|
+
i(e.$slots, "metric", {}, void 0, !0)
|
|
53
54
|
])
|
|
54
55
|
], 2),
|
|
55
56
|
r("div", {
|
|
56
|
-
class:
|
|
57
|
+
class: l(["breakdowns", { "breakdowns-border": !s.hideLegend }])
|
|
57
58
|
}, [
|
|
58
|
-
|
|
59
|
+
i(e.$slots, "breakdowns", {}, void 0, !0)
|
|
59
60
|
], 2)
|
|
60
61
|
]));
|
|
61
62
|
}
|
|
62
63
|
});
|
|
63
64
|
export {
|
|
64
|
-
|
|
65
|
+
H as default
|
|
65
66
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
subheader: string;
|
|
3
|
+
subheaderTooltip?: {
|
|
4
|
+
header?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
};
|
|
7
|
+
showSeparator?: boolean;
|
|
8
|
+
}>, {
|
|
9
|
+
subheader: string;
|
|
10
|
+
subheaderTooltip: any;
|
|
11
|
+
showSeparator: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
subheader: string;
|
|
14
|
+
subheaderTooltip?: {
|
|
15
|
+
header?: string;
|
|
16
|
+
text?: string;
|
|
17
|
+
};
|
|
18
|
+
showSeparator?: boolean;
|
|
19
|
+
}>, {
|
|
20
|
+
subheader: string;
|
|
21
|
+
subheaderTooltip: any;
|
|
22
|
+
showSeparator: boolean;
|
|
23
|
+
}>>>, {
|
|
24
|
+
subheader: string;
|
|
25
|
+
subheaderTooltip: any;
|
|
26
|
+
showSeparator: boolean;
|
|
27
|
+
}>, {
|
|
28
|
+
"subheader-tooltip"?(_: {}): any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./SubHeader.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-e6008b6c"]]);
|
|
5
|
+
export {
|
|
6
|
+
c as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "../../SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css"; import { defineComponent as b, useSlots as f, computed as m, openBlock as a, createElementBlock as T, createVNode as u, unref as t, withCtx as o, renderSlot as x, createElementVNode as y, createBlock as i, createTextVNode as r, toDisplayString as d, createCommentVNode as h } from "vue";
|
|
2
|
+
import l from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import S from "../tooltip/v4/TooltipV4.vue.js";
|
|
4
|
+
const k = { class: "header-row" }, v = { class: "subheader-tooltip" }, g = /* @__PURE__ */ b({
|
|
5
|
+
__name: "SubHeader",
|
|
6
|
+
props: {
|
|
7
|
+
subheader: { default: "" },
|
|
8
|
+
subheaderTooltip: { default: null },
|
|
9
|
+
showSeparator: { type: Boolean, default: !1 }
|
|
10
|
+
},
|
|
11
|
+
setup(e) {
|
|
12
|
+
const s = e, n = f(), c = m(() => n["subheader-tooltip"] || s.subheaderTooltip?.text || s.subheaderTooltip?.header);
|
|
13
|
+
return (p, w) => (a(), T("div", k, [
|
|
14
|
+
u(t(S), {
|
|
15
|
+
placement: "right",
|
|
16
|
+
disabled: !t(c)
|
|
17
|
+
}, {
|
|
18
|
+
tooltip: o(() => [
|
|
19
|
+
x(p.$slots, "subheader-tooltip", {}, () => [
|
|
20
|
+
y("div", v, [
|
|
21
|
+
e.subheaderTooltip?.header ? (a(), i(t(l), {
|
|
22
|
+
key: 0,
|
|
23
|
+
variant: "h5"
|
|
24
|
+
}, {
|
|
25
|
+
default: o(() => [
|
|
26
|
+
r(d(e.subheaderTooltip.header), 1)
|
|
27
|
+
]),
|
|
28
|
+
_: 1
|
|
29
|
+
})) : h("", !0),
|
|
30
|
+
e.subheaderTooltip?.text ? (a(), i(t(l), {
|
|
31
|
+
key: 1,
|
|
32
|
+
variant: "body2",
|
|
33
|
+
class: "subheader-tooltip__text"
|
|
34
|
+
}, {
|
|
35
|
+
default: o(() => [
|
|
36
|
+
r(d(e.subheaderTooltip.text), 1)
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
})) : h("", !0)
|
|
40
|
+
])
|
|
41
|
+
], !0)
|
|
42
|
+
]),
|
|
43
|
+
default: o(() => [
|
|
44
|
+
u(t(l), {
|
|
45
|
+
class: "subheader",
|
|
46
|
+
variant: "h5"
|
|
47
|
+
}, {
|
|
48
|
+
default: o(() => [
|
|
49
|
+
r(d(e.subheader + (e.showSeparator ? ":" : "")), 1)
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
})
|
|
53
|
+
]),
|
|
54
|
+
_: 3
|
|
55
|
+
}, 8, ["disabled"])
|
|
56
|
+
]));
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
g as default
|
|
61
|
+
};
|