@ironsource/shared-ui 2.1.12-rc.4 → 2.1.12-rc.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
- package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
- package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +1 -0
- package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_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 +168 -37
- package/components/chart/Chart.vue.js +2 -2
- package/components/chart/Chart.vue2.js +154 -297
- package/components/chart/ChartHeader.vue.d.ts +50 -11
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -54
- package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
- package/components/chart/ChartHeaderTrend.vue.js +7 -0
- package/components/chart/ChartHeaderTrend.vue2.js +97 -0
- package/components/chart/ChartLegend.vue.d.ts +24 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +82 -63
- package/components/chart/ChartPlane.vue.d.ts +236 -0
- package/components/chart/ChartPlane.vue.js +7 -0
- package/components/chart/ChartPlane.vue2.js +381 -0
- package/components/chart/ChartStoryArgs.d.ts +196 -0
- package/components/chart/ChartTooltip.vue.d.ts +22 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +51 -56
- package/components/chart/LegendSorting.vue.d.ts +37 -0
- package/components/chart/LegendSorting.vue.js +45 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- package/components/chart/SubHeader.vue.d.ts +52 -0
- package/components/chart/SubHeader.vue.js +7 -0
- package/components/chart/SubHeader.vue2.js +61 -0
- package/components/chart/TooltipHeader.vue.d.ts +50 -0
- package/components/chart/TooltipHeader.vue.js +7 -0
- package/components/chart/TooltipHeader.vue2.js +69 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +5 -0
- package/components/chart/composables/useChartHeight.js +24 -0
- package/components/chart/composables/useColorsMap.d.ts +12 -0
- package/components/chart/composables/useColorsMap.js +48 -0
- package/components/chart/composables/useTooltipPosition.d.ts +1 -1
- package/components/chart/composables/useTooltipPosition.js +11 -15
- package/components/chart/consts.d.ts +33 -7
- package/components/chart/consts.js +46 -22
- package/components/chart/index.d.ts +592 -119
- package/components/chart/mockData.d.ts +59 -5
- package/components/chart/types.d.ts +39 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/formatNumber.d.ts +0 -1
- package/components/chart/utils/highlightUtils.d.ts +3 -0
- package/components/chart/utils/highlightUtils.js +18 -0
- package/components/chart/utils/utils.d.ts +3 -3
- package/components/chart/utils/utils.js +25 -10
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
- package/components/columnPicker/ColumnPicker.vue.js +7 -0
- package/components/columnPicker/ColumnPicker.vue2.js +322 -0
- package/components/columnPicker/OptionChip.vue.d.ts +53 -0
- package/components/columnPicker/OptionChip.vue.js +7 -0
- package/components/columnPicker/OptionChip.vue2.js +46 -0
- package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
- package/components/columnPicker/RemoveButton.vue.js +7 -0
- package/components/columnPicker/RemoveButton.vue2.js +35 -0
- package/components/columnPicker/index.d.ts +388 -0
- package/components/columnPicker/index.js +6 -0
- package/components/columnPicker/mockData.d.ts +8 -0
- package/components/dateRange/common/DateRange.common.js +100 -94
- package/components/dateRange/common/DateServices.common.d.ts +7 -1
- package/components/dateRange/common/DateServices.common.js +88 -92
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -3
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dialog/v3/Dialog.vue.d.ts +3 -3
- package/components/dialog/v3/index.d.ts +46 -46
- package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
- package/components/dialog/v4/DialogFooter.vue.js +7 -0
- package/components/dialog/v4/DialogFooter.vue2.js +60 -0
- package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
- package/components/dialog/v4/DialogHeader.vue.js +7 -0
- package/components/dialog/v4/DialogHeader.vue2.js +58 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +13 -12
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +164 -164
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +161 -149
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +144 -122
- package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
- package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +162 -117
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +701 -162
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/link/Link.vue.d.ts +70 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +43 -0
- package/components/link/index.d.ts +201 -0
- package/components/link/index.js +6 -0
- package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/v3/RadioButton.vue.js +3 -3
- package/components/radioButton/v3/RadioButton.vue2.js +42 -39
- package/components/radioButton/v3/index.d.ts +20 -1
- package/components/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/sortableList/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +3 -3
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +26 -23
- package/components/sortableList/SortableList.types.d.ts +1 -0
- package/components/sortableList/SortableList.vue.d.ts +10 -0
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +104 -96
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/index.d.ts +39 -1
- package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +39 -24
- package/components/switch/v4/index.d.ts +29 -0
- package/components/table/common/Table.common.d.ts +0 -1
- package/components/table/common/Table.common.js +38 -39
- package/components/table/common/Table.types.d.ts +2 -0
- package/components/table/common/consts.d.ts +1 -0
- package/components/table/common/consts.js +2 -1
- package/components/table/v4/DataGrid.vue.d.ts +18 -7
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +300 -250
- package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
- package/components/table/v4/DataGridHeader.vue.js +7 -0
- package/components/table/v4/DataGridHeader.vue2.js +82 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
- package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
- package/components/table/v4/index.d.ts +575 -293
- package/components/table/v4/index.js +7 -4
- package/components/table/v4/storyUtils.d.ts +27 -0
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
- package/components/tooltip/v4/index.d.ts +27 -8
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useDateService.d.ts +7 -0
- package/composables/useDateService.js +10 -0
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +32 -27
- package/composables/useFullPageHeight.d.ts +10 -0
- package/composables/useFullPageHeight.js +15 -0
- package/consts/common.d.ts +1 -0
- package/consts/common.js +4 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.js +2 -1
- package/index.d.ts +4185 -2363
- package/index.js +148 -132
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +13 -1
- package/testids/index.d.ts +8 -0
- package/testids/index.js +35 -33
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +37 -7
- package/utils/index.js +7 -0
- package/utils/text.d.ts +3 -0
- package/utils/text.js +24 -5
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/utils/utils.d.ts +1 -0
- package/utils/utils.js +4 -0
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
- package/components/chart/utils/formatNumber.js +0 -11
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { ChartType, DateInterval, TooltipOrder, TrendDirection } from '@/components/chart/types';
|
|
2
|
+
export declare const chartStoryArgs: {
|
|
3
|
+
chartType: {
|
|
4
|
+
control: {
|
|
5
|
+
type: string;
|
|
6
|
+
};
|
|
7
|
+
options: ChartType[];
|
|
8
|
+
};
|
|
9
|
+
dataSets: {
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
xAxisFormat: {
|
|
13
|
+
options: string[];
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
yAxisFormat: {
|
|
17
|
+
options: string[];
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
xAxisDateInterval: {
|
|
21
|
+
options: DateInterval[];
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
parsing: {
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
hideLegend: {
|
|
28
|
+
table: {
|
|
29
|
+
category: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
minVisible: {
|
|
33
|
+
table: {
|
|
34
|
+
category: string;
|
|
35
|
+
};
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
maxVisible: {
|
|
39
|
+
table: {
|
|
40
|
+
category: string;
|
|
41
|
+
};
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
maxLimitTooltipText: {
|
|
45
|
+
table: {
|
|
46
|
+
category: string;
|
|
47
|
+
};
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
noDataIcon: {
|
|
51
|
+
table: {
|
|
52
|
+
category: string;
|
|
53
|
+
};
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
noDataTitle: {
|
|
57
|
+
table: {
|
|
58
|
+
category: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
noDataSubtitle: {
|
|
62
|
+
table: {
|
|
63
|
+
category: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
header: {
|
|
67
|
+
table: {
|
|
68
|
+
category: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
subheader: {
|
|
72
|
+
table: {
|
|
73
|
+
category: string;
|
|
74
|
+
};
|
|
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
|
+
};
|
|
88
|
+
trendValue: {
|
|
89
|
+
table: {
|
|
90
|
+
category: string;
|
|
91
|
+
};
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
trendDirection: {
|
|
95
|
+
table: {
|
|
96
|
+
category: string;
|
|
97
|
+
};
|
|
98
|
+
description: string;
|
|
99
|
+
control: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
options: TrendDirection[];
|
|
103
|
+
};
|
|
104
|
+
tickCount: {
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
truncateTickLabels: {
|
|
108
|
+
description: string;
|
|
109
|
+
control: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
loading: {
|
|
114
|
+
description: string;
|
|
115
|
+
control: {
|
|
116
|
+
type: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
empty: {
|
|
120
|
+
description: string;
|
|
121
|
+
control: {
|
|
122
|
+
type: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
withAnimation: {
|
|
126
|
+
control: {
|
|
127
|
+
type: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
totalsChart: {
|
|
131
|
+
description: string;
|
|
132
|
+
control: {
|
|
133
|
+
type: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
fullHeight: {
|
|
137
|
+
table: {
|
|
138
|
+
category: string;
|
|
139
|
+
};
|
|
140
|
+
description: string;
|
|
141
|
+
control: {
|
|
142
|
+
type: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
fullHeightBottomSpacing: {
|
|
146
|
+
table: {
|
|
147
|
+
category: string;
|
|
148
|
+
};
|
|
149
|
+
description: string;
|
|
150
|
+
control: {
|
|
151
|
+
type: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
withSettingsHeader: {
|
|
155
|
+
table: {
|
|
156
|
+
category: string;
|
|
157
|
+
};
|
|
158
|
+
description: string;
|
|
159
|
+
control: {
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
extraCharts: {
|
|
164
|
+
table: {
|
|
165
|
+
category: string;
|
|
166
|
+
};
|
|
167
|
+
description: string;
|
|
168
|
+
control: {
|
|
169
|
+
type: string;
|
|
170
|
+
};
|
|
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
|
+
};
|
|
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_3d0780bb_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3d0780bb"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,102 +1,97 @@
|
|
|
1
|
-
import "../../ChartTooltip.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import k from "../icon/v4/IconV4.vue.js";
|
|
1
|
+
import "../../ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_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" }, _ = {
|
|
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
|
-
}, {
|
|
36
|
-
default: r(() => [
|
|
37
|
-
i(s(t(d)(e.title, t(p))), 1)
|
|
38
|
-
]),
|
|
39
|
-
_: 1
|
|
40
|
-
})
|
|
41
|
-
])) : m("", !0),
|
|
42
|
-
f("ul", C, [
|
|
43
|
-
(l(!0), c(v, null, F(e.dataPoints, (a) => (l(), c("li", {
|
|
44
|
-
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,
|
|
45
40
|
class: "list__item"
|
|
46
41
|
}, [
|
|
47
|
-
|
|
42
|
+
c("span", {
|
|
48
43
|
class: "color-box",
|
|
49
44
|
style: h({
|
|
50
|
-
backgroundColor: String(
|
|
45
|
+
backgroundColor: String(e.dataset.pointBackgroundColor)
|
|
51
46
|
})
|
|
52
47
|
}, null, 4),
|
|
53
|
-
|
|
48
|
+
e.dataset.icon ? (a(), f(l(b), {
|
|
54
49
|
key: 0,
|
|
55
50
|
class: "platform-icon",
|
|
56
|
-
type:
|
|
57
|
-
name:
|
|
51
|
+
type: e.dataset.iconType,
|
|
52
|
+
name: e.dataset.icon,
|
|
58
53
|
size: "16px"
|
|
59
|
-
}, null, 8, ["type", "name"])) :
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
}, null, 8, ["type", "name"])) : r("", !0),
|
|
55
|
+
c("div", V, [
|
|
56
|
+
i(l(d), {
|
|
62
57
|
variant: "body2",
|
|
63
58
|
class: "flex-grow truncated-label",
|
|
64
59
|
"is-truncated": ""
|
|
65
60
|
}, {
|
|
66
|
-
default:
|
|
67
|
-
|
|
61
|
+
default: n(() => [
|
|
62
|
+
u(s(e.dataset.label), 1)
|
|
68
63
|
]),
|
|
69
64
|
_: 2
|
|
70
65
|
}, 1024)
|
|
71
66
|
]),
|
|
72
|
-
|
|
73
|
-
default:
|
|
74
|
-
|
|
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)
|
|
75
70
|
]),
|
|
76
71
|
_: 2
|
|
77
72
|
}, 1024)
|
|
78
73
|
]))), 128))
|
|
79
|
-
]),
|
|
80
|
-
|
|
81
|
-
|
|
74
|
+
])),
|
|
75
|
+
t.totalValue !== null ? (a(), o("div", A, [
|
|
76
|
+
i(l(d), {
|
|
82
77
|
variant: "body2",
|
|
83
78
|
class: "flex-grow"
|
|
84
79
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
|
|
80
|
+
default: n(() => [
|
|
81
|
+
u(s(t.totalLabel), 1)
|
|
87
82
|
]),
|
|
88
83
|
_: 1
|
|
89
84
|
}),
|
|
90
|
-
|
|
91
|
-
default:
|
|
92
|
-
|
|
85
|
+
i(l(d), { variant: "body2" }, {
|
|
86
|
+
default: n(() => [
|
|
87
|
+
u(s(t.valuePrefix + l(x)(t.totalValue, t.yAxisFormat, !0) + t.valueSuffix), 1)
|
|
93
88
|
]),
|
|
94
89
|
_: 1
|
|
95
90
|
})
|
|
96
|
-
])) :
|
|
91
|
+
])) : r("", !0)
|
|
97
92
|
]));
|
|
98
93
|
}
|
|
99
94
|
});
|
|
100
95
|
export {
|
|
101
|
-
|
|
96
|
+
L as default
|
|
102
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
|
+
};
|