@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,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,64 @@
|
|
|
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;
|
|
13
|
+
testId?: string;
|
|
9
14
|
}>, {
|
|
10
15
|
title: string;
|
|
11
16
|
dataPoints: () => any[];
|
|
12
17
|
xAxisFormat: any;
|
|
13
18
|
yAxisFormat: any;
|
|
19
|
+
xAxisDateInterval: any;
|
|
14
20
|
totalLabel: string;
|
|
15
21
|
totalValue: any;
|
|
22
|
+
totalsChart: boolean;
|
|
23
|
+
valueSuffix: string;
|
|
24
|
+
valuePrefix: string;
|
|
25
|
+
testId: string;
|
|
16
26
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
27
|
title?: string;
|
|
18
28
|
dataPoints: MyTooltipItem<'line'>[];
|
|
19
29
|
xAxisFormat?: ValueFormat;
|
|
20
30
|
yAxisFormat?: ValueFormat;
|
|
31
|
+
xAxisDateInterval?: DateInterval;
|
|
21
32
|
totalLabel?: string;
|
|
22
33
|
totalValue?: number;
|
|
34
|
+
totalsChart?: boolean;
|
|
35
|
+
valueSuffix?: string;
|
|
36
|
+
valuePrefix?: string;
|
|
37
|
+
testId?: string;
|
|
23
38
|
}>, {
|
|
24
39
|
title: string;
|
|
25
40
|
dataPoints: () => any[];
|
|
26
41
|
xAxisFormat: any;
|
|
27
42
|
yAxisFormat: any;
|
|
43
|
+
xAxisDateInterval: any;
|
|
28
44
|
totalLabel: string;
|
|
29
45
|
totalValue: any;
|
|
46
|
+
totalsChart: boolean;
|
|
47
|
+
valueSuffix: string;
|
|
48
|
+
valuePrefix: string;
|
|
49
|
+
testId: string;
|
|
30
50
|
}>>>, {
|
|
31
51
|
title: string;
|
|
32
|
-
|
|
52
|
+
testId: string;
|
|
33
53
|
xAxisFormat: ValueFormat;
|
|
54
|
+
xAxisDateInterval: DateInterval;
|
|
55
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
56
|
+
totalsChart: boolean;
|
|
34
57
|
yAxisFormat: ValueFormat;
|
|
35
58
|
totalLabel: string;
|
|
36
59
|
totalValue: number;
|
|
60
|
+
valueSuffix: string;
|
|
61
|
+
valuePrefix: string;
|
|
37
62
|
}>;
|
|
38
63
|
export default _default;
|
|
39
64
|
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_9623dbbd_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9623dbbd"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,103 +1,101 @@
|
|
|
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_9623dbbd_lang.css"; import { defineComponent as v, openBlock as l, createElementBlock as o, mergeProps as h, unref as e, createBlock as f, createCommentVNode as r, Fragment as b, renderList as C, createElementVNode as c, normalizeStyle as k, createVNode as i, withCtx as s, createTextVNode as u, toDisplayString as n } from "vue";
|
|
2
|
+
import d from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import A from "../icon/v4/IconV4.vue.js";
|
|
5
4
|
import "../icon/v4/IconFlag.vue.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import { formatValue as m } from "./utils/utils.js";
|
|
6
|
+
import I from "./TooltipHeader.vue.js";
|
|
7
|
+
import { useTestIdAttrs as T } from "../../utils/testIds.js";
|
|
8
|
+
import { ChartTooltipTestIdModifiers as x } from "../../testids/index.js";
|
|
9
|
+
const g = {
|
|
10
10
|
key: 1,
|
|
11
|
+
class: "list"
|
|
12
|
+
}, p = { class: "popover-label-wrapper" }, V = {
|
|
13
|
+
key: 2,
|
|
11
14
|
class: "tooltip-footer"
|
|
12
|
-
},
|
|
15
|
+
}, O = /* @__PURE__ */ v({
|
|
13
16
|
__name: "ChartTooltip",
|
|
14
17
|
props: {
|
|
15
18
|
title: { default: "" },
|
|
16
19
|
dataPoints: { default: () => [] },
|
|
17
20
|
xAxisFormat: { default: null },
|
|
18
21
|
yAxisFormat: { default: null },
|
|
22
|
+
xAxisDateInterval: { default: null },
|
|
19
23
|
totalLabel: { default: "Total" },
|
|
20
|
-
totalValue: { default: null }
|
|
24
|
+
totalValue: { default: null },
|
|
25
|
+
totalsChart: { type: Boolean, default: !1 },
|
|
26
|
+
valueSuffix: { default: "" },
|
|
27
|
+
valuePrefix: { default: "" },
|
|
28
|
+
testId: { default: "" }
|
|
21
29
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
return (
|
|
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", {
|
|
30
|
+
setup(t) {
|
|
31
|
+
const y = T(t.testId, x);
|
|
32
|
+
return (N, S) => (l(), o("div", h({ class: "chart-tooltip" }, e(y)[e(x).CONTAINER]), [
|
|
33
|
+
t.title ? (l(), f(I, {
|
|
34
|
+
key: 0,
|
|
35
|
+
title: t.title,
|
|
36
|
+
"data-points": t.dataPoints,
|
|
37
|
+
"totals-chart": t.totalsChart,
|
|
38
|
+
"x-axis-format": t.xAxisFormat,
|
|
39
|
+
"x-axis-date-interval": t.xAxisDateInterval
|
|
40
|
+
}, null, 8, ["title", "data-points", "totals-chart", "x-axis-format", "x-axis-date-interval"])) : r("", !0),
|
|
41
|
+
t.totalsChart ? r("", !0) : (l(), o("ul", g, [
|
|
42
|
+
(l(!0), o(b, null, C(t.dataPoints, (a) => (l(), o("li", {
|
|
45
43
|
key: a.datasetIndex,
|
|
46
44
|
class: "list__item"
|
|
47
45
|
}, [
|
|
48
|
-
|
|
46
|
+
c("span", {
|
|
49
47
|
class: "color-box",
|
|
50
48
|
style: k({
|
|
51
49
|
backgroundColor: String(a.dataset.pointBackgroundColor)
|
|
52
50
|
})
|
|
53
51
|
}, null, 4),
|
|
54
|
-
a.dataset.icon ? (l(),
|
|
52
|
+
a.dataset.icon ? (l(), f(e(A), {
|
|
55
53
|
key: 0,
|
|
56
54
|
class: "platform-icon",
|
|
57
55
|
type: a.dataset.iconType,
|
|
58
56
|
name: a.dataset.icon,
|
|
59
57
|
size: "16px"
|
|
60
|
-
}, null, 8, ["type", "name"])) :
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
}, null, 8, ["type", "name"])) : r("", !0),
|
|
59
|
+
c("div", p, [
|
|
60
|
+
i(e(d), {
|
|
63
61
|
variant: "body2",
|
|
64
62
|
class: "flex-grow truncated-label",
|
|
65
63
|
"is-truncated": ""
|
|
66
64
|
}, {
|
|
67
|
-
default:
|
|
68
|
-
|
|
65
|
+
default: s(() => [
|
|
66
|
+
u(n(a.dataset.label), 1)
|
|
69
67
|
]),
|
|
70
68
|
_: 2
|
|
71
69
|
}, 1024)
|
|
72
70
|
]),
|
|
73
|
-
|
|
74
|
-
default:
|
|
75
|
-
|
|
71
|
+
i(e(d), { variant: "body2" }, {
|
|
72
|
+
default: s(() => [
|
|
73
|
+
u(n(t.valuePrefix + e(m)(a.parsed.y, t.yAxisFormat, !0, !1) + t.valueSuffix), 1)
|
|
76
74
|
]),
|
|
77
75
|
_: 2
|
|
78
76
|
}, 1024)
|
|
79
77
|
]))), 128))
|
|
80
|
-
]),
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
])),
|
|
79
|
+
t.totalValue !== null ? (l(), o("div", V, [
|
|
80
|
+
i(e(d), {
|
|
83
81
|
variant: "body2",
|
|
84
82
|
class: "flex-grow"
|
|
85
83
|
}, {
|
|
86
|
-
default:
|
|
87
|
-
|
|
84
|
+
default: s(() => [
|
|
85
|
+
u(n(t.totalLabel), 1)
|
|
88
86
|
]),
|
|
89
87
|
_: 1
|
|
90
88
|
}),
|
|
91
|
-
|
|
92
|
-
default:
|
|
93
|
-
|
|
89
|
+
i(e(d), { variant: "body2" }, {
|
|
90
|
+
default: s(() => [
|
|
91
|
+
u(n(t.valuePrefix + e(m)(t.totalValue, t.yAxisFormat, !0) + t.valueSuffix), 1)
|
|
94
92
|
]),
|
|
95
93
|
_: 1
|
|
96
94
|
})
|
|
97
|
-
])) :
|
|
98
|
-
]));
|
|
95
|
+
])) : r("", !0)
|
|
96
|
+
], 16));
|
|
99
97
|
}
|
|
100
98
|
});
|
|
101
99
|
export {
|
|
102
|
-
|
|
100
|
+
O as default
|
|
103
101
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
selected: unknown;
|
|
3
|
+
options: unknown[];
|
|
4
|
+
optionNameKey: string;
|
|
5
|
+
testId?: string;
|
|
6
|
+
}>, {
|
|
7
|
+
options: () => any[];
|
|
8
|
+
testId: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:selected": (option: unknown) => void;
|
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
selected: unknown;
|
|
13
|
+
options: unknown[];
|
|
14
|
+
optionNameKey: string;
|
|
15
|
+
testId?: string;
|
|
16
|
+
}>, {
|
|
17
|
+
options: () => any[];
|
|
18
|
+
testId: string;
|
|
19
|
+
}>>> & {
|
|
20
|
+
"onUpdate:selected"?: (option: unknown) => any;
|
|
21
|
+
}, {
|
|
22
|
+
testId: string;
|
|
23
|
+
options: unknown[];
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as l, openBlock as s, createElementBlock as m, 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
|
+
testId: { default: "" }
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:selected"],
|
|
22
|
+
setup(e, { emit: p }) {
|
|
23
|
+
const o = g(e, "selected", p);
|
|
24
|
+
return (v, i) => (s(), m("div", y, [
|
|
25
|
+
r(n(u), {
|
|
26
|
+
selected: n(o),
|
|
27
|
+
"onUpdate:selected": i[0] || (i[0] = (t) => d(o) ? o.value = t : null),
|
|
28
|
+
"display-value": (t) => t[e.optionNameKey],
|
|
29
|
+
options: e.options,
|
|
30
|
+
"option-name-key": e.optionNameKey,
|
|
31
|
+
placement: "bottom-end",
|
|
32
|
+
"test-id": e.testId
|
|
33
|
+
}, {
|
|
34
|
+
"dropdown-trigger": a(({ buttonTriggerProps: t }) => [
|
|
35
|
+
r(n(f), c(t, {
|
|
36
|
+
"icon-name": "funnel-simple",
|
|
37
|
+
"icon-type": "regular"
|
|
38
|
+
}), null, 16)
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
}, 8, ["selected", "display-value", "options", "option-name-key", "test-id"])
|
|
42
|
+
]));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
L as default
|
|
47
|
+
};
|
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
import { ChartType } from './types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
chartType: ChartType;
|
|
4
4
|
hideLegend: boolean;
|
|
5
|
+
testId?: string;
|
|
6
|
+
}>, {
|
|
7
|
+
testId: string;
|
|
5
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
9
|
"update:chartType": (type: ChartType) => void;
|
|
7
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
11
|
chartType: ChartType;
|
|
9
12
|
hideLegend: boolean;
|
|
13
|
+
testId?: string;
|
|
14
|
+
}>, {
|
|
15
|
+
testId: string;
|
|
10
16
|
}>>> & {
|
|
11
17
|
"onUpdate:chartType"?: (type: ChartType) => any;
|
|
12
|
-
}, {
|
|
18
|
+
}, {
|
|
19
|
+
testId: string;
|
|
20
|
+
}>, {
|
|
21
|
+
"before-chart-type"?(_: {}): any;
|
|
13
22
|
metric?(_: {}): any;
|
|
14
23
|
breakdowns?(_: {}): any;
|
|
15
24
|
}>;
|
|
@@ -23,6 +32,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
23
32
|
required: true;
|
|
24
33
|
};
|
|
25
34
|
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
26
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
44
|
new (): {
|
|
28
45
|
$slots: S;
|
|
@@ -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_a869d327_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-a869d327"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,65 +1,73 @@
|
|
|
1
|
-
import "../../SettingsHeader.
|
|
2
|
-
import
|
|
1
|
+
import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css"; import { defineComponent as y, computed as T, openBlock as v, createElementBlock as I, mergeProps as m, unref as t, createElementVNode as s, normalizeClass as c, renderSlot as i, createVNode as u, isRef as b, withCtx as w } from "vue";
|
|
2
|
+
import N 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";
|
|
6
6
|
import "../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import O from "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
8
8
|
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "../dropdown/v4/TreeDropdown.vue.js";
|
|
10
10
|
import "../dropdown/v4/OptionV4.vue.js";
|
|
11
11
|
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
12
|
-
import { DROPDOWN_TYPE_OPTIONS as
|
|
13
|
-
|
|
12
|
+
import { DROPDOWN_TYPE_OPTIONS as f } from "./consts.js";
|
|
13
|
+
import { useTestIdAttrs as k } from "../../utils/testIds.js";
|
|
14
|
+
import { ChartSettingsHeaderTestIdModifiers as n } from "../../testids/index.js";
|
|
15
|
+
const C = { class: "chart-type-selection" }, M = /* @__PURE__ */ y({
|
|
14
16
|
__name: "SettingsHeader",
|
|
15
17
|
props: {
|
|
16
18
|
chartType: null,
|
|
17
|
-
hideLegend: { type: Boolean }
|
|
19
|
+
hideLegend: { type: Boolean },
|
|
20
|
+
testId: { default: "" }
|
|
18
21
|
},
|
|
19
22
|
emits: ["update:chartType"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
23
|
+
setup(r, { emit: h }) {
|
|
24
|
+
const a = r, o = T({
|
|
22
25
|
get() {
|
|
23
|
-
return
|
|
26
|
+
return f.find(({ id: e }) => e === a.chartType);
|
|
24
27
|
},
|
|
25
28
|
set(e) {
|
|
26
|
-
|
|
29
|
+
h("update:chartType", e.id);
|
|
27
30
|
}
|
|
28
|
-
}),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
}), l = (e) => `Chart: ${e.name}`, g = k(
|
|
32
|
+
a.testId,
|
|
33
|
+
n
|
|
34
|
+
);
|
|
35
|
+
return (e, p) => (v(), I("div", m({ class: "settings-header-container" }, t(g)[t(n).CONTAINER]), [
|
|
36
|
+
s("div", {
|
|
37
|
+
class: c(["settings", { "settings-spacer": !r.hideLegend }])
|
|
32
38
|
}, [
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
i(e.$slots, "before-chart-type", {}, void 0, !0),
|
|
40
|
+
s("div", C, [
|
|
41
|
+
u(t(N), {
|
|
35
42
|
selected: t(o),
|
|
36
|
-
"onUpdate:selected":
|
|
37
|
-
options: t(
|
|
43
|
+
"onUpdate:selected": p[0] || (p[0] = (d) => b(o) ? o.value = d : null),
|
|
44
|
+
options: t(f),
|
|
38
45
|
"option-name-key": "name",
|
|
39
|
-
"display-value":
|
|
46
|
+
"display-value": l,
|
|
40
47
|
placeholder: "Select chart type",
|
|
41
|
-
size: "small"
|
|
48
|
+
size: "small",
|
|
49
|
+
"test-id": `${r.testId}-${t(n).TYPE_DROPDOWN}`
|
|
42
50
|
}, {
|
|
43
|
-
"dropdown-trigger":
|
|
44
|
-
|
|
45
|
-
label:
|
|
51
|
+
"dropdown-trigger": w(({ buttonTriggerProps: d }) => [
|
|
52
|
+
u(t(O), m(d, {
|
|
53
|
+
label: l(t(o))
|
|
46
54
|
}), null, 16, ["label"])
|
|
47
55
|
]),
|
|
48
56
|
_: 1
|
|
49
|
-
}, 8, ["selected", "options"])
|
|
57
|
+
}, 8, ["selected", "options", "test-id"])
|
|
50
58
|
]),
|
|
51
|
-
|
|
52
|
-
|
|
59
|
+
s("div", null, [
|
|
60
|
+
i(e.$slots, "metric", {}, void 0, !0)
|
|
53
61
|
])
|
|
54
62
|
], 2),
|
|
55
|
-
|
|
56
|
-
class:
|
|
63
|
+
s("div", {
|
|
64
|
+
class: c(["breakdowns", { "breakdowns-border": !r.hideLegend }])
|
|
57
65
|
}, [
|
|
58
|
-
|
|
66
|
+
i(e.$slots, "breakdowns", {}, void 0, !0)
|
|
59
67
|
], 2)
|
|
60
|
-
]));
|
|
68
|
+
], 16));
|
|
61
69
|
}
|
|
62
70
|
});
|
|
63
71
|
export {
|
|
64
|
-
|
|
72
|
+
M as default
|
|
65
73
|
};
|
|
@@ -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
|
+
};
|