@ironsource/shared-ui 2.2.0-test.90 → 2.2.0-test.91
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/AddFilterButton.vue_vue_type_style_index_0_scoped_e87c83df_lang.css +1 -0
- package/AppTrigger.vue_vue_type_style_index_0_scoped_735d152c_lang.css +1 -0
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_7bfd1b2b_lang.css +1 -0
- package/Banner.vue_vue_type_style_index_0_scoped_c76863fc_lang.css +1 -0
- package/Button.vue_vue_type_style_index_0_scoped_35545b8c_lang.css +1 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_37783fab_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_2d8c9e98_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_c054d65d_lang.css +1 -0
- package/ChartLoader.vue_vue_type_style_index_0_scoped_ffa4cc66_lang.css +1 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_1fcb0465_lang.css +1 -0
- package/Checkbox.vue_vue_type_style_index_0_scoped_d6d0f9ef_lang.css +1 -0
- package/Chip.vue_vue_type_style_index_0_scoped_5c5674fc_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_1e1143ac_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -1
- package/DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css +1 -1
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +1 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_6249380e_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_eb1733fa_lang.css +1 -0
- package/Dialog.vue_vue_type_style_index_0_scoped_5d321934_lang.css +1 -0
- package/DollarInput.vue_vue_type_style_index_0_scoped_edfcc8c5_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_c5e0eb4a_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_4cdaada8_lang.css +1 -0
- package/EmptyState.vue_vue_type_style_index_0_scoped_93b6937e_lang.css +1 -0
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_9e29e2d2_lang.css +1 -0
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_34409b6b_lang.css +1 -0
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_9d2f3413_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_6b91ae9a_lang.css +1 -0
- package/GroupOption.vue_vue_type_style_index_0_scoped_8922333d_lang.css +1 -0
- package/Heading.vue_vue_type_style_index_0_scoped_19878c4b_lang.css +1 -1
- package/IconButton.vue_vue_type_style_index_0_scoped_6dffd3f6_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_0a5bbce1_lang.css +1 -0
- package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_5467ea5e_lang.css +1 -0
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f40d8742_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_573a8670_lang.css +1 -0
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_d13cebf1_lang.css +1 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_7006d3c6_lang.css +1 -0
- package/Input.vue_vue_type_style_index_0_scoped_6e29de03_lang.css +1 -0
- package/Label.vue_vue_type_style_index_0_scoped_d9395f53_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_9924c6c1_lang.css +1 -0
- package/Option.vue_vue_type_style_index_0_scoped_83464ba3_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +1 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_8c1082ea_lang.css +1 -0
- package/PercentageInput.vue_vue_type_style_index_0_scoped_8afc27af_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_0_scoped_7f510cb8_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_1_lang.css +1 -1
- package/README.md +2 -2
- package/RadioButton.vue_vue_type_style_index_0_scoped_2b66ac25_lang.css +1 -0
- package/ScrollButton.vue_vue_type_style_index_0_scoped_c302f4a4_lang.css +1 -0
- package/Search.vue_vue_type_style_index_0_scoped_6ada15c9_lang.css +1 -0
- package/SearchInput.vue_vue_type_style_index_0_scoped_d3f49471_lang.css +1 -0
- package/Skeleton.vue_vue_type_style_index_0_scoped_a45dcbb9_lang.css +1 -0
- package/SkeletonV4.vue_vue_type_style_index_0_scoped_93ae1260_lang.css +1 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_26cd9aa3_lang.css +1 -0
- package/Switch.vue_vue_type_style_index_0_scoped_2c00c273_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_3ae8705f_lang.css +1 -0
- package/Table.vue_vue_type_style_index_1_lang.css +1 -1
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_cc63bc78_lang.css +1 -0
- package/Tabs.vue_vue_type_style_index_0_scoped_3ad630ee_lang.css +1 -0
- package/Text.vue_vue_type_style_index_0_scoped_94bd409b_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_295167e0_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_adae060d_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_fbf7dbeb_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_b9b75a5a_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +1 -1
- package/components/ThemeWrapper/ThemeStrore.js +8 -6
- package/components/ThemeWrapper/ThemeWrapper.vue.js +3 -3
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +1 -1
- package/components/appTrigger/AppTrigger.vue.js +2 -2
- package/components/appTrigger/AppTrigger.vue2.js +1 -1
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +2 -2
- package/components/autocompleteDropdown/AutocompleteInput.vue2.js +1 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +3 -3
- package/components/autocompleteDropdown/GroupOption.vue2.js +1 -1
- package/components/banner/Banner.vue.js +3 -3
- package/components/banner/Banner.vue2.js +9 -9
- package/components/button/v3/ButtonBase.vue.js +3 -3
- package/components/button/v3/ButtonBase.vue2.js +1 -1
- package/components/button/v3/ScrollButton.vue.js +3 -3
- package/components/button/v3/ScrollButton.vue2.js +1 -1
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +131 -127
- package/components/chart/composables/useChartThemeColors.d.ts +6 -0
- package/components/chart/composables/useChartThemeColors.js +21 -0
- package/components/chart/consts.d.ts +0 -3
- package/components/chart/consts.js +35 -38
- package/components/chart/plugins/HoverVerticalLine.js +5 -3
- package/components/checkbox/v3/Checkbox.vue.js +2 -2
- package/components/checkbox/v3/Checkbox.vue2.js +2 -2
- package/components/chip/v3/Chip.vue.js +3 -3
- package/components/chip/v3/Chip.vue2.js +1 -1
- package/components/datePicker/v3/DatePicker.vue.js +2 -2
- package/components/datePicker/v3/DatePicker.vue2.js +1 -1
- package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
- package/components/dateRange/v3/CalendarMonth.vue2.js +1 -1
- package/components/dateRange/v3/DateRange.vue.js +2 -2
- package/components/dateRange/v3/DateRange.vue2.js +1 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.js +2 -2
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dialog/v3/Dialog.vue.js +4 -4
- package/components/dialog/v3/Dialog.vue2.js +11 -11
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +2 -2
- package/components/dropdown/v3/Label.vue.js +5 -5
- package/components/dropdown/v3/Label.vue2.js +1 -1
- package/components/dropdown/v3/Option.vue.js +4 -4
- package/components/dropdown/v3/Option.vue2.js +1 -1
- package/components/dropdown/v3/SearchInput.vue.js +4 -4
- package/components/dropdown/v3/SearchInput.vue2.js +1 -1
- package/components/emptyState/v3/EmptyState.vue.js +2 -2
- package/components/emptyState/v3/EmptyState.vue2.js +1 -1
- package/components/emptyState/v3/EmptyStateIcon.vue.js +9 -9
- package/components/emptyState/v4/icons/IconError.vue.js +9 -9
- package/components/emptyState/v4/icons/IconFiles.vue.js +9 -9
- package/components/emptyState/v4/icons/IconNoAccess.vue.js +9 -9
- package/components/emptyState/v4/icons/IconNoData.vue.js +9 -9
- package/components/emptyState/v4/icons/IconNoResults.vue.js +8 -8
- package/components/emptyState/v4/icons/IconSettings.vue.js +8 -8
- package/components/filterDropdown/AddFilterButton.vue.js +2 -2
- package/components/filterDropdown/AddFilterButton.vue2.js +1 -1
- package/components/filtersPanel/v3/FilterSearchInput.vue.js +2 -2
- package/components/filtersPanel/v3/FilterSearchInput.vue2.js +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.js +4 -4
- package/components/floatingToolbar/FloatingToolbar.vue2.js +1 -1
- package/components/icon/v3/icons/CubeBackground.vue.js +5 -5
- package/components/icon/v3/icons/Duplicate.vue.js +10 -10
- package/components/icon/v3/icons/FiltersSearch.vue.js +7 -7
- package/components/icon/v3/icons/Marketing.vue.js +2 -2
- package/components/icon/v3/icons/TableEdit.vue.js +9 -9
- package/components/includeExclude/IncludeExclude.vue.js +5 -5
- package/components/includeExclude/IncludeExclude.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeOption.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +1 -1
- package/components/input/v3/DollarInput.vue.js +4 -4
- package/components/input/v3/DollarInput.vue2.js +1 -1
- package/components/input/v3/Input.vue.js +4 -4
- package/components/input/v3/Input.vue2.js +1 -1
- package/components/input/v3/PasswordInput.vue.js +2 -2
- package/components/input/v3/PasswordInput.vue2.js +1 -1
- package/components/input/v3/PercentageInput.vue.js +3 -3
- package/components/input/v3/PercentageInput.vue2.js +1 -1
- package/components/menuItem/MenuItem.vue.js +3 -3
- package/components/menuItem/MenuItem.vue2.js +1 -1
- package/components/popover/v3/Popover.vue.js +2 -2
- package/components/popover/v3/Popover.vue2.js +1 -1
- package/components/radioButton/v3/RadioButton.vue.js +2 -2
- package/components/radioButton/v3/RadioButton.vue2.js +1 -1
- package/components/search/v3/Search.vue.js +5 -5
- package/components/search/v3/Search.vue2.js +1 -1
- package/components/skeleton/v3/Skeleton.vue.js +5 -5
- package/components/skeleton/v3/Skeleton.vue2.js +1 -1
- package/components/snackbar/v3/Snackbar.vue.js +4 -4
- package/components/snackbar/v3/Snackbar.vue2.js +1 -1
- package/components/switch/v3/Switch.vue.js +2 -2
- package/components/switch/v3/Switch.vue2.js +1 -1
- package/components/table/v3/Table.vue.js +5 -5
- package/components/table/v3/Table.vue2.js +2 -2
- package/components/table/v3/TableHeaderSorter.vue.js +2 -2
- package/components/table/v3/TableHeaderSorter.vue2.js +1 -1
- package/components/table-cells/v3/Editable.vue.js +5 -5
- package/components/table-cells/v3/Editable.vue2.js +1 -1
- package/components/tabs/v3/Tabs.vue.js +4 -4
- package/components/tabs/v3/Tabs.vue2.js +15 -15
- package/components/textArea/v3/TextArea.vue.js +3 -3
- package/components/textArea/v3/TextArea.vue2.js +1 -1
- package/components/toggle/v3/Toggle.vue.js +3 -3
- package/components/toggle/v3/Toggle.vue2.js +14 -14
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +11 -11
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/style/v3/theme-bridge.css +1 -0
- package/style/v3/theme-bridge.css.map +1 -0
- package/style/v3/theme-bridge.scss +93 -0
- package/styleguide.scss +16 -16
- package/AddFilterButton.vue_vue_type_style_index_0_scoped_fd98af08_lang.css +0 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css +0 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_2b63231b_lang.css +0 -1
- package/Banner.vue_vue_type_style_index_0_scoped_a293c6d0_lang.css +0 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_9021cac4_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +0 -1
- package/Checkbox.vue_vue_type_style_index_0_scoped_58dedb90_lang.css +0 -1
- package/Chip.vue_vue_type_style_index_0_scoped_f89d9361_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css +0 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css +0 -1
- package/DollarInput.vue_vue_type_style_index_0_scoped_9ef40daf_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +0 -1
- package/Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css +0 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_d3aecf34_lang.css +0 -1
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_18855436_lang.css +0 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_51006ea0_lang.css +0 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_04d485be_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_8aae9eb9_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +0 -1
- package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_947cb1fc_lang.css +0 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f738b223_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +0 -1
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_91bc7787_lang.css +0 -1
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css +0 -1
- package/Input.vue_vue_type_style_index_0_scoped_7092804b_lang.css +0 -1
- package/Label.vue_vue_type_style_index_0_scoped_48e00c04_lang.css +0 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css +0 -1
- package/Option.vue_vue_type_style_index_0_scoped_3d6ce2fc_lang.css +0 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_243f3e16_lang.css +0 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_08a15760_lang.css +0 -1
- package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +0 -1
- package/ScrollButton.vue_vue_type_style_index_0_scoped_35ed2cfe_lang.css +0 -1
- package/Search.vue_vue_type_style_index_0_scoped_63beaf6b_lang.css +0 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_b256f8ef_lang.css +0 -1
- package/Skeleton.vue_vue_type_style_index_0_scoped_5ed40068_lang.css +0 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css +0 -1
- package/Switch.vue_vue_type_style_index_0_scoped_9c008fc4_lang.css +0 -1
- package/Table.vue_vue_type_style_index_0_scoped_9375215d_lang.css +0 -1
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css +0 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_06c58d5a_lang.css +0 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +0 -1
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_8eef6574_lang.css +0 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_1cf7973e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +0 -1
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import "../../ChartPlane.
|
|
2
|
-
import { Chart as
|
|
3
|
-
import { HoverVerticalLine as
|
|
4
|
-
import { prepareTickLabel as Be, formatValue as
|
|
5
|
-
import { DEFAULT_TICK_COUNT as
|
|
6
|
-
import { ChartType as d, DateInterval as
|
|
1
|
+
import "../../ChartPlane.vue_vue_type_style_index_0_scoped_1fcb0465_lang.css"; import { defineComponent as se, useCssVars as de, unref as n, computed as i, ref as E, onMounted as ue, watch as y, nextTick as M, openBlock as p, createElementBlock as L, createVNode as ce, isRef as fe, createSlots as pe, withCtx as he, renderSlot as me, createCommentVNode as D, createElementVNode as I, normalizeStyle as ve, createBlock as R, mergeProps as Te } from "vue";
|
|
2
|
+
import { Chart as Y, ArcElement as ye, LineElement as Ce, BarElement as ge, PointElement as be, LineController as xe, BarController as Ae, PieController as ke, ScatterController as Se, CategoryScale as Ee, LinearScale as Le, Filler as De, Tooltip as Ie } from "chart.js";
|
|
3
|
+
import { HoverVerticalLine as Re } from "./plugins/HoverVerticalLine.js";
|
|
4
|
+
import { prepareTickLabel as Be, formatValue as Pe } from "./utils/utils.js";
|
|
5
|
+
import { DEFAULT_TICK_COUNT as He, TOTALS_HELPER_KEY as K, LINE_DASH_STYLE as Ne, BASE_COLOR_KEY as U, CHART_PADDING as we, TICK_LABEL_FONT as G, TICKS_EXTRA_PADDING as Oe, HEADER_HEIGHT as Ve, COMPACT_HEADER_HEIGHT as Fe, HOVER_AREA_TRANSPARENCY as Me, HOVER_TRANSPARENCY as C, CHART_ITEM_TRANSPARENCY as Ye, INCOMPLETE_DATA_BAR_TRANSPARENCY as Ke, STACKED_LINE_TRANSPARENCY as Ue } from "./consts.js";
|
|
6
|
+
import { ChartType as d, DateInterval as Ge, TooltipOrder as $, TrendDirection as $e } from "./types.js";
|
|
7
7
|
import { useTooltipPosition as ze } from "./composables/useTooltipPosition.js";
|
|
8
|
-
import We from "./
|
|
8
|
+
import { useChartThemeColors as We } from "./composables/useChartThemeColors.js";
|
|
9
|
+
import { useThemeStore as Ze } from "../ThemeWrapper/ThemeStrore.js";
|
|
10
|
+
import Xe from "./ChartTooltip.vue.js";
|
|
9
11
|
import { hexColorToRgba as h } from "../../utils/color.js";
|
|
10
|
-
import
|
|
11
|
-
import { useMemoize as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { DEFAULT_CHART_COLOR as
|
|
15
|
-
import { TotalType as
|
|
16
|
-
import { isNullOrUndefined as
|
|
17
|
-
import { storeOriginalDatasetColors as
|
|
18
|
-
import { useTestIdAttrs as
|
|
19
|
-
import { ChartTestIdModifiers as
|
|
20
|
-
const
|
|
12
|
+
import je from "./ChartHeader.vue.js";
|
|
13
|
+
import { useMemoize as qe, useVModel as Je } from "@vueuse/core";
|
|
14
|
+
import Qe from "../emptyState/v4/EmptyStateV4.vue.js";
|
|
15
|
+
import _e from "./ChartLoader.vue.js";
|
|
16
|
+
import { DEFAULT_CHART_COLOR as et } from "./colorPalette.js";
|
|
17
|
+
import { TotalType as z, calculateTotal as tt } from "../../utils/totals.js";
|
|
18
|
+
import { isNullOrUndefined as at } from "../../utils/utils.js";
|
|
19
|
+
import { storeOriginalDatasetColors as ot, restoreOriginalDatasetColors as lt } from "./utils/highlightUtils.js";
|
|
20
|
+
import { useTestIdAttrs as rt } from "../../utils/testIds.js";
|
|
21
|
+
import { ChartTestIdModifiers as W } from "../../testids/index.js";
|
|
22
|
+
const it = { class: "chart-plane-container" }, nt = {
|
|
21
23
|
key: 0,
|
|
22
24
|
class: "header-wrapper"
|
|
23
|
-
},
|
|
25
|
+
}, st = {
|
|
24
26
|
key: 1,
|
|
25
27
|
class: "chart-plane"
|
|
26
|
-
},
|
|
28
|
+
}, dt = { class: "chart" }, Bt = /* @__PURE__ */ se({
|
|
27
29
|
__name: "ChartPlane",
|
|
28
30
|
props: {
|
|
29
31
|
dataSets: { default: () => [] },
|
|
@@ -33,8 +35,8 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
33
35
|
parsing: { default: void 0 },
|
|
34
36
|
xAxisFormat: { default: "string" },
|
|
35
37
|
yAxisFormat: { default: "number" },
|
|
36
|
-
xAxisDateInterval: { default:
|
|
37
|
-
tickCount: { default:
|
|
38
|
+
xAxisDateInterval: { default: Ge.DAILY },
|
|
39
|
+
tickCount: { default: He },
|
|
38
40
|
truncateTickLabels: { type: Boolean, default: !1 },
|
|
39
41
|
header: { default: "" },
|
|
40
42
|
headerTooltip: { default: null },
|
|
@@ -52,9 +54,9 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
52
54
|
compactHeader: { type: Boolean, default: !1 },
|
|
53
55
|
noteText: { default: "" },
|
|
54
56
|
tooltipRespectsTopEdge: { type: Boolean, default: !0 },
|
|
55
|
-
tooltipTotalType: { default:
|
|
56
|
-
tooltipTotalCalcFn: { type: Function, default:
|
|
57
|
-
tooltipOrder: { default:
|
|
57
|
+
tooltipTotalType: { default: z.Total },
|
|
58
|
+
tooltipTotalCalcFn: { type: Function, default: tt },
|
|
59
|
+
tooltipOrder: { default: $.Legend },
|
|
58
60
|
trendValue: { default: null },
|
|
59
61
|
trendDirection: { default: $e.UP },
|
|
60
62
|
trendTooltip: { default: null },
|
|
@@ -67,14 +69,14 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
67
69
|
testId: { default: "" }
|
|
68
70
|
},
|
|
69
71
|
emits: ["update:chartType"],
|
|
70
|
-
setup(o, { emit:
|
|
72
|
+
setup(o, { emit: Z }) {
|
|
71
73
|
const e = o;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
de((t) => ({
|
|
75
|
+
"88f7e4ae": n(le),
|
|
76
|
+
ccb5f6d8: o.height
|
|
75
77
|
}));
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
+
const X = qe(Be);
|
|
79
|
+
Y.register(
|
|
78
80
|
ye,
|
|
79
81
|
Ce,
|
|
80
82
|
ge,
|
|
@@ -82,65 +84,67 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
82
84
|
xe,
|
|
83
85
|
Ae,
|
|
84
86
|
ke,
|
|
85
|
-
Ee,
|
|
86
87
|
Se,
|
|
88
|
+
Ee,
|
|
87
89
|
Le,
|
|
88
|
-
|
|
90
|
+
De,
|
|
89
91
|
Ie,
|
|
90
|
-
|
|
92
|
+
Re
|
|
91
93
|
);
|
|
92
|
-
const
|
|
94
|
+
const g = Je(e, "chartType", Z), j = i(
|
|
93
95
|
() => e.withAnimation ? "" : "none"
|
|
94
|
-
),
|
|
96
|
+
), m = E(null), v = We(m), { theme: q } = Ze();
|
|
95
97
|
let s = null;
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
},
|
|
99
|
-
s && (s.data.datasets =
|
|
98
|
+
const B = i(() => e.empty || e.dataSets.length === 0), c = i(() => !e.loading && !B.value), b = () => {
|
|
99
|
+
m.value && (s && s.destroy(), s = new Y(m.value, w.value));
|
|
100
|
+
}, P = () => {
|
|
101
|
+
s && (s.data.datasets = N.value, s.options = w.value.options, s.update(j.value));
|
|
100
102
|
};
|
|
101
|
-
|
|
102
|
-
t && (await
|
|
103
|
-
}),
|
|
103
|
+
ue(b), y(() => e.chartType, b), y(c, async (t) => {
|
|
104
|
+
t && (await M(), b());
|
|
105
|
+
}), y(
|
|
104
106
|
[
|
|
105
107
|
() => e.visibleIds,
|
|
106
108
|
() => e.dataSets,
|
|
107
109
|
() => e.valuePrefix,
|
|
108
110
|
() => e.valueSuffix
|
|
109
111
|
],
|
|
110
|
-
|
|
111
|
-
)
|
|
112
|
-
|
|
112
|
+
P
|
|
113
|
+
), y(q, async () => {
|
|
114
|
+
await M(), P();
|
|
115
|
+
});
|
|
116
|
+
const f = i(() => e.totalsChart), x = i(
|
|
113
117
|
() => e.chartType === d.StackedLine || e.chartType === d.StackedBar || f.value
|
|
114
|
-
),
|
|
118
|
+
), A = i(
|
|
115
119
|
() => e.chartType === d.Line || e.chartType === d.StackedLine
|
|
116
|
-
),
|
|
120
|
+
), J = i(() => f.value && !e.parsing.xAxisKey ? { ...e.parsing, xAxisKey: K } : e.parsing), Q = i(() => f.value ? e.dataSets.map((t) => ({
|
|
117
121
|
...t,
|
|
118
122
|
data: t.data.map((r) => ({
|
|
119
123
|
...r,
|
|
120
|
-
[
|
|
124
|
+
[K]: t.label
|
|
121
125
|
}))
|
|
122
|
-
})) : e.dataSets),
|
|
123
|
-
() =>
|
|
124
|
-
),
|
|
125
|
-
() =>
|
|
126
|
+
})) : e.dataSets), k = i(
|
|
127
|
+
() => Q.value.filter((t) => e.visibleIds.includes(t.id))
|
|
128
|
+
), _ = (t) => e.colorsMap[t] || et, H = i(
|
|
129
|
+
() => k.value.length && k.value.every(
|
|
126
130
|
(t) => t.data.length === 1
|
|
127
131
|
)
|
|
128
|
-
),
|
|
132
|
+
), ee = (t) => (r) => {
|
|
129
133
|
const a = r.chart.data.labels.length - 1;
|
|
130
|
-
let l =
|
|
131
|
-
return e.chartType === d.Bar && e.indicateIncompleteData && r.index === a ? l =
|
|
132
|
-
},
|
|
133
|
-
const a =
|
|
134
|
-
borderDash: (
|
|
135
|
-
if (
|
|
134
|
+
let l = Ye;
|
|
135
|
+
return e.chartType === d.Bar && e.indicateIncompleteData && r.index === a ? l = Ke : e.chartType === d.StackedLine && (l = Ue), h(t, l);
|
|
136
|
+
}, N = i(() => k.value.map((t, r) => {
|
|
137
|
+
const a = _(t.id), l = x.value ? r !== 0 ? "-1" : "start" : void 0, T = e.indicateIncompleteData ? {
|
|
138
|
+
borderDash: (F) => {
|
|
139
|
+
if (F.p1DataIndex === F.chart.data.labels.length - 1)
|
|
136
140
|
return Ne;
|
|
137
141
|
}
|
|
138
|
-
} : void 0,
|
|
142
|
+
} : void 0, S = ee(a);
|
|
139
143
|
return {
|
|
140
144
|
...t,
|
|
141
145
|
fill: l,
|
|
142
|
-
segment:
|
|
143
|
-
backgroundColor:
|
|
146
|
+
segment: T,
|
|
147
|
+
backgroundColor: S,
|
|
144
148
|
borderColor: a,
|
|
145
149
|
pointBackgroundColor: a,
|
|
146
150
|
pointHoverBorderColor: a,
|
|
@@ -149,22 +153,22 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
149
153
|
// draw a bit outside the chart area
|
|
150
154
|
icon: t.icon || null,
|
|
151
155
|
iconType: t.iconType || "branded",
|
|
152
|
-
[
|
|
156
|
+
[U]: a
|
|
153
157
|
// store base color for later use
|
|
154
158
|
};
|
|
155
|
-
})),
|
|
156
|
-
() => e.tooltipTotalType ===
|
|
157
|
-
),
|
|
159
|
+
})), te = i(
|
|
160
|
+
() => e.tooltipTotalType === z.Total ? "Total" : "Mean"
|
|
161
|
+
), ae = (t) => t.filter(
|
|
158
162
|
(r) => !r.dataset.isTotal
|
|
159
|
-
),
|
|
163
|
+
), w = i(() => ({
|
|
160
164
|
type: e.chartType == d.Bar || e.chartType === d.StackedBar ? "bar" : "line",
|
|
161
165
|
// Chart Data
|
|
162
166
|
data: {
|
|
163
|
-
datasets:
|
|
167
|
+
datasets: N.value
|
|
164
168
|
},
|
|
165
169
|
// Chart Options
|
|
166
170
|
options: {
|
|
167
|
-
parsing:
|
|
171
|
+
parsing: J.value,
|
|
168
172
|
interaction: {
|
|
169
173
|
intersect: !1,
|
|
170
174
|
mode: f.value ? "point" : "index",
|
|
@@ -174,7 +178,7 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
174
178
|
plugins: {
|
|
175
179
|
legend: { display: !1 },
|
|
176
180
|
title: { display: !1 },
|
|
177
|
-
hoverVerticalLine:
|
|
181
|
+
hoverVerticalLine: A.value,
|
|
178
182
|
// tooltip
|
|
179
183
|
tooltip: {
|
|
180
184
|
enabled: !1,
|
|
@@ -184,15 +188,15 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
184
188
|
},
|
|
185
189
|
callbacks: {
|
|
186
190
|
footer: (t) => {
|
|
187
|
-
const a = (e.tooltipExcludeTotalItem && t.length > 1 ?
|
|
191
|
+
const a = (e.tooltipExcludeTotalItem && t.length > 1 ? ae(t) : t).map((T) => T.parsed.y || 0), l = e.tooltipTotalCalcFn(
|
|
188
192
|
a,
|
|
189
193
|
e.tooltipTotalType
|
|
190
194
|
);
|
|
191
|
-
return [
|
|
195
|
+
return [te.value, String(l)];
|
|
192
196
|
}
|
|
193
197
|
},
|
|
194
198
|
itemSort: (t, r) => {
|
|
195
|
-
if (e.tooltipOrder ===
|
|
199
|
+
if (e.tooltipOrder === $.YAxis) {
|
|
196
200
|
const a = t.parsed.y || 0, l = r.parsed.y || 0;
|
|
197
201
|
return a === l ? 0 : a > l ? -1 : 1;
|
|
198
202
|
}
|
|
@@ -204,7 +208,7 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
204
208
|
responsive: !0,
|
|
205
209
|
maintainAspectRatio: !1,
|
|
206
210
|
layout: {
|
|
207
|
-
padding:
|
|
211
|
+
padding: we
|
|
208
212
|
},
|
|
209
213
|
// basic styles
|
|
210
214
|
elements: {
|
|
@@ -213,12 +217,12 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
213
217
|
tension: 0
|
|
214
218
|
},
|
|
215
219
|
point: {
|
|
216
|
-
radius:
|
|
220
|
+
radius: H.value ? 3 : 1,
|
|
217
221
|
hitRadius: 8,
|
|
218
222
|
borderWidth: 0,
|
|
219
223
|
hoverRadius: 4,
|
|
220
224
|
hoverBorderWidth: 2,
|
|
221
|
-
pointHoverBackgroundColor:
|
|
225
|
+
pointHoverBackgroundColor: v.value.pointBorderColor
|
|
222
226
|
},
|
|
223
227
|
bar: {
|
|
224
228
|
borderRadius: 4
|
|
@@ -228,31 +232,31 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
228
232
|
// Horizontal Axis (X)
|
|
229
233
|
x: {
|
|
230
234
|
beginAtZero: !0,
|
|
231
|
-
offset: !
|
|
235
|
+
offset: !A.value || H.value,
|
|
232
236
|
border: { display: !1 },
|
|
233
|
-
stacked:
|
|
237
|
+
stacked: x.value,
|
|
234
238
|
// stack on top of each other
|
|
235
239
|
// ticks
|
|
236
240
|
ticks: {
|
|
237
|
-
color:
|
|
238
|
-
font:
|
|
241
|
+
color: v.value.tickLabelColor,
|
|
242
|
+
font: G,
|
|
239
243
|
padding: 4,
|
|
240
244
|
maxRotation: 0,
|
|
241
245
|
autoSkip: !e.truncateTickLabels,
|
|
242
246
|
autoSkipPadding: 8,
|
|
243
247
|
callback: function(t, r, a) {
|
|
244
|
-
const l = this.getLabelForValue(t),
|
|
245
|
-
return
|
|
248
|
+
const l = this.getLabelForValue(t), T = A.value && !f.value ? a.length - 1 : a.length, S = this.chart.scales?.x?.width / T - Oe;
|
|
249
|
+
return X({
|
|
246
250
|
label: l,
|
|
247
251
|
format: e.xAxisFormat,
|
|
248
|
-
availableSpace:
|
|
252
|
+
availableSpace: S,
|
|
249
253
|
truncate: e.truncateTickLabels
|
|
250
254
|
});
|
|
251
255
|
}
|
|
252
256
|
},
|
|
253
257
|
// grid lines
|
|
254
258
|
grid: {
|
|
255
|
-
color:
|
|
259
|
+
color: v.value.gridLineColor,
|
|
256
260
|
drawOnChartArea: !1,
|
|
257
261
|
drawTicks: !0,
|
|
258
262
|
drawBorder: !1,
|
|
@@ -264,61 +268,61 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
264
268
|
beginAtZero: !0,
|
|
265
269
|
border: { display: !1 },
|
|
266
270
|
// hide left borderline
|
|
267
|
-
stacked:
|
|
271
|
+
stacked: x.value,
|
|
268
272
|
// stack on top of each other
|
|
269
273
|
// ticks
|
|
270
274
|
ticks: {
|
|
271
|
-
color:
|
|
272
|
-
font:
|
|
275
|
+
color: v.value.tickLabelColor,
|
|
276
|
+
font: G,
|
|
273
277
|
count: e.tickCount + 1,
|
|
274
278
|
padding: 8,
|
|
275
279
|
min: 0,
|
|
276
|
-
callback: (t) => e.valuePrefix +
|
|
280
|
+
callback: (t) => e.valuePrefix + Pe(t, e.yAxisFormat, { formatLowDigits: !0 }) + e.valueSuffix
|
|
277
281
|
},
|
|
278
282
|
// grid lines
|
|
279
283
|
grid: {
|
|
280
|
-
color:
|
|
284
|
+
color: v.value.gridLineColor,
|
|
281
285
|
drawOnChartArea: !0,
|
|
282
286
|
drawTicks: !1
|
|
283
287
|
}
|
|
284
288
|
}
|
|
285
289
|
}
|
|
286
290
|
}
|
|
287
|
-
})),
|
|
288
|
-
|
|
289
|
-
|
|
291
|
+
})), O = E(null), u = E(null), { position: V } = ze(
|
|
292
|
+
m,
|
|
293
|
+
O,
|
|
290
294
|
u,
|
|
291
295
|
e.tooltipRespectsTopEdge
|
|
292
|
-
),
|
|
293
|
-
left: `${
|
|
294
|
-
top: `${
|
|
296
|
+
), oe = i(() => ({
|
|
297
|
+
left: `${V.value.left}px`,
|
|
298
|
+
top: `${V.value.top}px`,
|
|
295
299
|
opacity: u.value?.opacity || 0
|
|
296
|
-
})),
|
|
297
|
-
() => (e.compactHeader ?
|
|
300
|
+
})), le = i(
|
|
301
|
+
() => (e.compactHeader ? Fe : Ve) + "px"
|
|
298
302
|
);
|
|
299
|
-
|
|
303
|
+
y(
|
|
300
304
|
() => e.highlightedId,
|
|
301
305
|
(t) => {
|
|
302
|
-
s && (
|
|
306
|
+
s && (at(t) ? ie() : re(t), s.update());
|
|
303
307
|
}
|
|
304
308
|
);
|
|
305
|
-
const
|
|
309
|
+
const re = (t) => {
|
|
306
310
|
(s?.data.datasets || []).forEach((a) => {
|
|
307
|
-
|
|
308
|
-
const l = a[
|
|
311
|
+
ot(a);
|
|
312
|
+
const l = a[U];
|
|
309
313
|
a.id === t ? e.chartType === d.StackedLine && (a.backgroundColor = h(
|
|
310
314
|
l,
|
|
311
|
-
|
|
312
|
-
)) : (a.backgroundColor = h(l,
|
|
315
|
+
Me
|
|
316
|
+
)) : (a.backgroundColor = h(l, C), a.borderColor = h(l, C), a.pointBackgroundColor = h(l, C), a.pointHoverBorderColor = h(l, C));
|
|
313
317
|
});
|
|
314
|
-
},
|
|
315
|
-
(s?.data.datasets || []).forEach(
|
|
316
|
-
},
|
|
317
|
-
return (t, r) => (p(),
|
|
318
|
-
n(c) || o.keepSubheaderVisible ? (p(),
|
|
319
|
-
ce(
|
|
320
|
-
"chart-type": n(
|
|
321
|
-
"onUpdate:chart-type": r[0] || (r[0] = (a) => fe(
|
|
318
|
+
}, ie = () => {
|
|
319
|
+
(s?.data.datasets || []).forEach(lt);
|
|
320
|
+
}, ne = rt(e.testId, W);
|
|
321
|
+
return (t, r) => (p(), L("div", it, [
|
|
322
|
+
n(c) || o.keepSubheaderVisible ? (p(), L("div", nt, [
|
|
323
|
+
ce(je, {
|
|
324
|
+
"chart-type": n(g),
|
|
325
|
+
"onUpdate:chart-type": r[0] || (r[0] = (a) => fe(g) ? g.value = a : null),
|
|
322
326
|
"type-switcher": n(c) ? o.typeSwitcher : !1,
|
|
323
327
|
header: n(c) ? o.header : null,
|
|
324
328
|
subheader: o.subheader,
|
|
@@ -339,21 +343,21 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
339
343
|
key: "0"
|
|
340
344
|
} : void 0
|
|
341
345
|
]), 1032, ["chart-type", "type-switcher", "header", "subheader", "subheader-tooltip", "header-tooltip", "trend-tooltip", "compact", "trend-value", "trend-direction", "note-text", "test-id"])
|
|
342
|
-
])) :
|
|
343
|
-
n(c) ? (p(),
|
|
344
|
-
|
|
345
|
-
|
|
346
|
+
])) : D("", !0),
|
|
347
|
+
n(c) ? (p(), L("section", st, [
|
|
348
|
+
I("div", dt, [
|
|
349
|
+
I("canvas", {
|
|
346
350
|
ref_key: "chartRef",
|
|
347
|
-
ref:
|
|
351
|
+
ref: m,
|
|
348
352
|
class: "chart__canvas"
|
|
349
353
|
}, null, 512),
|
|
350
|
-
|
|
354
|
+
I("div", {
|
|
351
355
|
ref_key: "tooltipRef",
|
|
352
|
-
ref:
|
|
356
|
+
ref: O,
|
|
353
357
|
class: "chart__tooltip",
|
|
354
|
-
style:
|
|
358
|
+
style: ve(n(oe))
|
|
355
359
|
}, [
|
|
356
|
-
u.value ? (p(),
|
|
360
|
+
u.value ? (p(), R(Xe, {
|
|
357
361
|
key: 0,
|
|
358
362
|
"totals-chart": n(f),
|
|
359
363
|
title: String(u.value.title),
|
|
@@ -366,13 +370,13 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
366
370
|
"value-suffix": o.valueSuffix,
|
|
367
371
|
"value-prefix": o.valuePrefix,
|
|
368
372
|
"test-id": o.testId
|
|
369
|
-
}, null, 8, ["totals-chart", "title", "data-points", "x-axis-format", "y-axis-format", "x-axis-date-interval", "total-label", "total-value", "value-suffix", "value-prefix", "test-id"])) :
|
|
373
|
+
}, null, 8, ["totals-chart", "title", "data-points", "x-axis-format", "y-axis-format", "x-axis-date-interval", "total-label", "total-value", "value-suffix", "value-prefix", "test-id"])) : D("", !0)
|
|
370
374
|
], 4)
|
|
371
375
|
])
|
|
372
|
-
])) : o.loading ? (p(),
|
|
376
|
+
])) : o.loading ? (p(), R(_e, Te({
|
|
373
377
|
key: 2,
|
|
374
378
|
class: "chart-loading"
|
|
375
|
-
}, n(
|
|
379
|
+
}, n(ne)[n(W).LOADER]), null, 16)) : n(B) ? (p(), R(n(Qe), {
|
|
376
380
|
key: 3,
|
|
377
381
|
class: "chart-empty",
|
|
378
382
|
variant: null,
|
|
@@ -380,10 +384,10 @@ const rt = { class: "chart-plane-container" }, it = {
|
|
|
380
384
|
subtitle: o.noDataSubtitle,
|
|
381
385
|
"icon-name": o.noDataIcon,
|
|
382
386
|
"test-id": o.testId
|
|
383
|
-
}, null, 8, ["title", "subtitle", "icon-name", "test-id"])) :
|
|
387
|
+
}, null, 8, ["title", "subtitle", "icon-name", "test-id"])) : D("", !0)
|
|
384
388
|
]));
|
|
385
389
|
}
|
|
386
390
|
});
|
|
387
391
|
export {
|
|
388
|
-
|
|
392
|
+
Bt as default
|
|
389
393
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { computed as i } from "vue";
|
|
2
|
+
import { useThemeStore as c } from "../../ThemeWrapper/ThemeStrore.js";
|
|
3
|
+
const r = {
|
|
4
|
+
grid: "#E4E4E4",
|
|
5
|
+
tick: "#646464",
|
|
6
|
+
point: "#fcfcfc"
|
|
7
|
+
}, n = (t, o, e) => !t || typeof getComputedStyle > "u" ? e : getComputedStyle(t).getPropertyValue(o).trim() || e, p = (t) => {
|
|
8
|
+
const { theme: o } = c();
|
|
9
|
+
return i(() => {
|
|
10
|
+
o.value;
|
|
11
|
+
const e = t.value;
|
|
12
|
+
return {
|
|
13
|
+
gridLineColor: n(e, "--common-divider", r.grid),
|
|
14
|
+
tickLabelColor: n(e, "--text-secondary", r.tick),
|
|
15
|
+
pointBorderColor: n(e, "--background-paper", r.point)
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
p as useChartThemeColors
|
|
21
|
+
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { DropdownTypeOption, Font, ValueFormat } from './types';
|
|
2
|
-
export declare const POINT_BORDER_COLOR = "#fcfcfc";
|
|
3
|
-
export declare const GRID_LINE_COLOR = "#E4E4E4";
|
|
4
|
-
export declare const TICK_LABEL_COLOR = "#646464";
|
|
5
2
|
export declare const TICK_LABEL_FONT: Font;
|
|
6
3
|
export declare const DEFAULT_TICK_COUNT = 4;
|
|
7
4
|
export declare const DEFAULT_MIN_VISIBLE = 1;
|
|
@@ -1,51 +1,48 @@
|
|
|
1
1
|
import { ChartType as _ } from "./types.js";
|
|
2
|
-
const T =
|
|
2
|
+
const T = {
|
|
3
3
|
size: 12,
|
|
4
4
|
weight: 400,
|
|
5
5
|
family: "Inter"
|
|
6
|
-
},
|
|
6
|
+
}, A = 4, t = 1, n = 5, o = [
|
|
7
7
|
{ id: _.Line, name: "Line" },
|
|
8
8
|
{ id: _.StackedLine, name: "Stack" },
|
|
9
9
|
{ id: _.Bar, name: "Bar" }
|
|
10
|
-
],
|
|
10
|
+
], N = 76, R = 43, O = 312, c = 211, s = "__TOTALS_HELPER_KEY__", I = "___BASE_COLOR__", L = "Bidding", e = "ironSource", C = "UnityAds", D = "Meta", P = "Google", S = "Mintegral", i = "AppLovin", H = "InMobi", K = "DT Exchange", M = "Pangle", a = "Liftoff Monetize", B = 10, G = 70, r = 10, F = 70, W = 40, Y = [4, 4], d = {
|
|
11
11
|
left: 18,
|
|
12
12
|
right: 18,
|
|
13
13
|
top: 18,
|
|
14
14
|
bottom: 11
|
|
15
|
-
},
|
|
15
|
+
}, g = 6, U = "dateLong";
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
n as TICK_LABEL_COLOR,
|
|
49
|
-
A as TICK_LABEL_FONT,
|
|
50
|
-
C as TOTALS_HELPER_KEY
|
|
17
|
+
I as BASE_COLOR_KEY,
|
|
18
|
+
L as BIDDING_PREFIX,
|
|
19
|
+
F as CHART_ITEM_TRANSPARENCY,
|
|
20
|
+
d as CHART_PADDING,
|
|
21
|
+
R as COMPACT_HEADER_HEIGHT,
|
|
22
|
+
O as DEFAULT_CHART_PLANE_HEIGHT,
|
|
23
|
+
n as DEFAULT_MAX_VISIBLE,
|
|
24
|
+
t as DEFAULT_MIN_VISIBLE,
|
|
25
|
+
A as DEFAULT_TICK_COUNT,
|
|
26
|
+
o as DROPDOWN_TYPE_OPTIONS,
|
|
27
|
+
N as HEADER_HEIGHT,
|
|
28
|
+
G as HOVER_AREA_TRANSPARENCY,
|
|
29
|
+
B as HOVER_TRANSPARENCY,
|
|
30
|
+
W as INCOMPLETE_DATA_BAR_TRANSPARENCY,
|
|
31
|
+
Y as LINE_DASH_STYLE,
|
|
32
|
+
U as LONG_DATE_FORMAT,
|
|
33
|
+
c as MIN_PLANE_HEIGHT,
|
|
34
|
+
P as NETWORK_AD_MOB,
|
|
35
|
+
i as NETWORK_APPLOVIN,
|
|
36
|
+
K as NETWORK_DT_EXCHANGE,
|
|
37
|
+
D as NETWORK_FACEBOOK_META,
|
|
38
|
+
H as NETWORK_INMOBI,
|
|
39
|
+
e as NETWORK_IRON_SOURCE,
|
|
40
|
+
a as NETWORK_LIFTOFF,
|
|
41
|
+
S as NETWORK_MINTEGRAL,
|
|
42
|
+
M as NETWORK_PANGLE,
|
|
43
|
+
C as NETWORK_UNITY_ADS,
|
|
44
|
+
r as STACKED_LINE_TRANSPARENCY,
|
|
45
|
+
g as TICKS_EXTRA_PADDING,
|
|
46
|
+
T as TICK_LABEL_FONT,
|
|
47
|
+
s as TOTALS_HELPER_KEY
|
|
51
48
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
const
|
|
1
|
+
const c = {
|
|
2
2
|
id: "hoverVerticalLine",
|
|
3
3
|
beforeDraw: (t) => {
|
|
4
4
|
if (t.getActiveElements().length) {
|
|
5
5
|
const o = t.getActiveElements()[0], n = t.chartArea, e = t.ctx;
|
|
6
|
-
e.save(), e.beginPath(), e.moveTo(o.element.x, n.top), e.lineTo(o.element.x, n.bottom), e.lineWidth = 1
|
|
6
|
+
e.save(), e.beginPath(), e.moveTo(o.element.x, n.top), e.lineTo(o.element.x, n.bottom), e.lineWidth = 1;
|
|
7
|
+
const i = t.ctx.canvas, r = typeof getComputedStyle < "u" && getComputedStyle(i).getPropertyValue("--common-divider").trim() || "rgba(0,0,0,0.1)";
|
|
8
|
+
e.strokeStyle = r, e.stroke(), e.restore();
|
|
7
9
|
}
|
|
8
10
|
}
|
|
9
11
|
};
|
|
10
12
|
export {
|
|
11
|
-
|
|
13
|
+
c as HoverVerticalLine
|
|
12
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Checkbox.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../Checkbox.
|
|
4
|
-
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../Checkbox.vue_vue_type_style_index_0_scoped_d6d0f9ef_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-d6d0f9ef"]]);
|
|
5
5
|
export {
|
|
6
6
|
c as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../Checkbox.
|
|
1
|
+
import "../../../Checkbox.vue_vue_type_style_index_0_scoped_d6d0f9ef_lang.css"; import { defineComponent as z, openBlock as i, createElementBlock as B, unref as e, normalizeClass as E, createElementVNode as r, mergeProps as V, createVNode as S, withCtx as p, createBlock as s, createCommentVNode as c, renderSlot as F, createTextVNode as N, toDisplayString as g, pushScopeId as D, popScopeId as L } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import P from "../../typography/Text.vue.js";
|
|
4
4
|
import T from "../../icon/v3/Icon.vue.js";
|
|
@@ -7,7 +7,7 @@ import w from "./icons/checked.vue.js";
|
|
|
7
7
|
import A from "./icons/indeterminate.vue.js";
|
|
8
8
|
import { CheckboxTestIdModifiers as a } from "../../../testids/index.js";
|
|
9
9
|
import { checkboxCommon as R } from "../common/Checkbox.common.js";
|
|
10
|
-
const H = (t) => (D("data-v-
|
|
10
|
+
const H = (t) => (D("data-v-d6d0f9ef"), t = t(), L(), t), K = ["for", "data-testid"], M = { class: "checkboxes" }, U = ["id", "disabled", "checked", ".indeterminate", "data-testid"], W = /* @__PURE__ */ H(() => /* @__PURE__ */ r("span", { class: "checkbox__inner" }, null, -1)), _ = /* @__PURE__ */ z({
|
|
11
11
|
__name: "Checkbox",
|
|
12
12
|
props: {
|
|
13
13
|
isChecked: { type: Boolean },
|