@ironsource/shared-ui 2.1.12-rc.4 → 2.1.12-rc.40
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_5160f12d_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 +70 -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,61 @@
|
|
|
1
|
+
import "../../SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css"; import { defineComponent as b, useSlots as f, computed as m, openBlock as a, createElementBlock as T, createVNode as u, unref as t, withCtx as o, renderSlot as x, createElementVNode as y, createBlock as i, createTextVNode as r, toDisplayString as d, createCommentVNode as h } from "vue";
|
|
2
|
+
import l from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import S from "../tooltip/v4/TooltipV4.vue.js";
|
|
4
|
+
const k = { class: "header-row" }, v = { class: "subheader-tooltip" }, g = /* @__PURE__ */ b({
|
|
5
|
+
__name: "SubHeader",
|
|
6
|
+
props: {
|
|
7
|
+
subheader: { default: "" },
|
|
8
|
+
subheaderTooltip: { default: null },
|
|
9
|
+
showSeparator: { type: Boolean, default: !1 }
|
|
10
|
+
},
|
|
11
|
+
setup(e) {
|
|
12
|
+
const s = e, n = f(), c = m(() => n["subheader-tooltip"] || s.subheaderTooltip?.text || s.subheaderTooltip?.header);
|
|
13
|
+
return (p, w) => (a(), T("div", k, [
|
|
14
|
+
u(t(S), {
|
|
15
|
+
placement: "right",
|
|
16
|
+
disabled: !t(c)
|
|
17
|
+
}, {
|
|
18
|
+
tooltip: o(() => [
|
|
19
|
+
x(p.$slots, "subheader-tooltip", {}, () => [
|
|
20
|
+
y("div", v, [
|
|
21
|
+
e.subheaderTooltip?.header ? (a(), i(t(l), {
|
|
22
|
+
key: 0,
|
|
23
|
+
variant: "h5"
|
|
24
|
+
}, {
|
|
25
|
+
default: o(() => [
|
|
26
|
+
r(d(e.subheaderTooltip.header), 1)
|
|
27
|
+
]),
|
|
28
|
+
_: 1
|
|
29
|
+
})) : h("", !0),
|
|
30
|
+
e.subheaderTooltip?.text ? (a(), i(t(l), {
|
|
31
|
+
key: 1,
|
|
32
|
+
variant: "body2",
|
|
33
|
+
class: "subheader-tooltip__text"
|
|
34
|
+
}, {
|
|
35
|
+
default: o(() => [
|
|
36
|
+
r(d(e.subheaderTooltip.text), 1)
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
})) : h("", !0)
|
|
40
|
+
])
|
|
41
|
+
], !0)
|
|
42
|
+
]),
|
|
43
|
+
default: o(() => [
|
|
44
|
+
u(t(l), {
|
|
45
|
+
class: "subheader",
|
|
46
|
+
variant: "h5"
|
|
47
|
+
}, {
|
|
48
|
+
default: o(() => [
|
|
49
|
+
r(d(e.subheader + (e.showSeparator ? ":" : "")), 1)
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
})
|
|
53
|
+
]),
|
|
54
|
+
_: 3
|
|
55
|
+
}, 8, ["disabled"])
|
|
56
|
+
]));
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
g as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { DateInterval, MyTooltipItem, ValueFormat } from '@/components/chart/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
title?: string;
|
|
4
|
+
xAxisFormat?: ValueFormat;
|
|
5
|
+
xAxisDateInterval?: DateInterval;
|
|
6
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
7
|
+
totalsChart?: boolean;
|
|
8
|
+
}>, {
|
|
9
|
+
title: string;
|
|
10
|
+
xAxisFormat: any;
|
|
11
|
+
xAxisDateInterval: any;
|
|
12
|
+
dataPoints: () => any[];
|
|
13
|
+
totalsChart: boolean;
|
|
14
|
+
}>, {}, 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<{
|
|
15
|
+
title?: string;
|
|
16
|
+
xAxisFormat?: ValueFormat;
|
|
17
|
+
xAxisDateInterval?: DateInterval;
|
|
18
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
19
|
+
totalsChart?: boolean;
|
|
20
|
+
}>, {
|
|
21
|
+
title: string;
|
|
22
|
+
xAxisFormat: any;
|
|
23
|
+
xAxisDateInterval: any;
|
|
24
|
+
dataPoints: () => any[];
|
|
25
|
+
totalsChart: boolean;
|
|
26
|
+
}>>>, {
|
|
27
|
+
title: string;
|
|
28
|
+
xAxisFormat: ValueFormat;
|
|
29
|
+
xAxisDateInterval: DateInterval;
|
|
30
|
+
dataPoints: MyTooltipItem<'line'>[];
|
|
31
|
+
totalsChart: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./TooltipHeader.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_5160f12d_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-5160f12d"]]);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import "../../TooltipHeader.vue_vue_type_style_index_0_scoped_5160f12d_lang.css"; import { defineComponent as v, computed as u, openBlock as i, createElementBlock as f, createElementVNode as A, unref as t, createCommentVNode as s, createBlock as m, createVNode as D, withCtx as d, createTextVNode as x, toDisplayString as p } from "vue";
|
|
2
|
+
import { getUTCDate as T } from "../../utils/date.js";
|
|
3
|
+
import { formatValue as r } from "./utils/utils.js";
|
|
4
|
+
import y from "../typography/v4/Typography.vue.js";
|
|
5
|
+
import { DateInterval as c } from "./types.js";
|
|
6
|
+
import k from "../icon/v4/IconV4.vue.js";
|
|
7
|
+
import C from "../icon/v4/IconFlag.vue.js";
|
|
8
|
+
import { startOfWeek as F, endOfWeek as I, startOfMonth as O, endOfMonth as E } from "date-fns";
|
|
9
|
+
import { LONG_DATE_FORMAT as n } from "./consts.js";
|
|
10
|
+
const N = { class: "tooltip-title-wrapper" }, L = { class: "main-title" }, M = ["src"], S = /* @__PURE__ */ v({
|
|
11
|
+
__name: "TooltipHeader",
|
|
12
|
+
props: {
|
|
13
|
+
title: { default: "" },
|
|
14
|
+
xAxisFormat: { default: null },
|
|
15
|
+
xAxisDateInterval: { default: null },
|
|
16
|
+
dataPoints: { default: () => [] },
|
|
17
|
+
totalsChart: { type: Boolean, default: !1 }
|
|
18
|
+
},
|
|
19
|
+
setup(a) {
|
|
20
|
+
const e = a, o = u(() => e.dataPoints.length ? e.dataPoints[0].dataset : null), h = u(() => e.totalsChart ? o.value?.label || e.title : e.xAxisFormat === "date" ? g(T(e.title)) : r(e.title, e.xAxisFormat)), g = (l) => e.xAxisDateInterval === c.WEEKLY ? `
|
|
21
|
+
${r(F(l), n)} -
|
|
22
|
+
${r(I(l), n)}
|
|
23
|
+
` : e.xAxisDateInterval === c.MONTHLY ? `
|
|
24
|
+
${r(O(l), n)} -
|
|
25
|
+
${r(E(l), n)}
|
|
26
|
+
` : r(l, n);
|
|
27
|
+
return (l, V) => (i(), f("div", N, [
|
|
28
|
+
A("div", L, [
|
|
29
|
+
a.totalsChart && t(o)?.image ? (i(), f("img", {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "title-image",
|
|
32
|
+
src: t(o)?.image
|
|
33
|
+
}, null, 8, M)) : s("", !0),
|
|
34
|
+
a.totalsChart && t(o)?.countryFlag ? (i(), m(t(C), {
|
|
35
|
+
key: 1,
|
|
36
|
+
"country-code": t(o).countryFlag
|
|
37
|
+
}, null, 8, ["country-code"])) : s("", !0),
|
|
38
|
+
a.totalsChart && t(o)?.icon ? (i(), m(t(k), {
|
|
39
|
+
key: 2,
|
|
40
|
+
class: "platform-icon",
|
|
41
|
+
type: t(o)?.iconType,
|
|
42
|
+
name: t(o)?.icon,
|
|
43
|
+
size: "16px"
|
|
44
|
+
}, null, 8, ["type", "name"])) : s("", !0),
|
|
45
|
+
D(t(y), {
|
|
46
|
+
class: "title-text",
|
|
47
|
+
variant: "subtitle2"
|
|
48
|
+
}, {
|
|
49
|
+
default: d(() => [
|
|
50
|
+
x(p(t(h)), 1)
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
})
|
|
54
|
+
]),
|
|
55
|
+
a.xAxisFormat === "date" && a.xAxisDateInterval !== t(c).WEEKLY && a.xAxisDateInterval !== t(c).MONTHLY ? (i(), m(t(y), {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: "tooltip-sub-title",
|
|
58
|
+
variant: "caption"
|
|
59
|
+
}, {
|
|
60
|
+
default: d(() => [
|
|
61
|
+
x(p(t(r)(a.title, "day")), 1)
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
})) : s("", !0)
|
|
65
|
+
]));
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
export {
|
|
69
|
+
S as default
|
|
70
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HexColor } from '@/components/chart/types';
|
|
2
|
+
export declare const DEFAULT_CHART_COLOR: HexColor;
|
|
3
|
+
export declare const DEFAULT_COLOR_PALETTE: HexColor[];
|
|
4
|
+
export declare const MEDIATION_COLOR_PALETTE: HexColor[];
|
|
5
|
+
export declare const RESERVED_COLORS_MAP: Record<string, HexColor>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { NETWORK_UNITY_ADS as R, BIDDING_PREFIX as F, NETWORK_AD_MOB as T, NETWORK_IRON_SOURCE as E, NETWORK_MINTEGRAL as _, NETWORK_APPLOVIN as C, NETWORK_FACEBOOK_META as A, NETWORK_LIFTOFF as B, NETWORK_PANGLE as O, NETWORK_INMOBI as $, NETWORK_DT_EXCHANGE as D } from "./consts.js";
|
|
2
|
+
const I = "#c9c9c9", L = [
|
|
3
|
+
"#80BCFE",
|
|
4
|
+
"#9999FF",
|
|
5
|
+
"#5883E4",
|
|
6
|
+
"#80CBC4",
|
|
7
|
+
"#FFC670",
|
|
8
|
+
"#FF7557",
|
|
9
|
+
"#0D7EA0",
|
|
10
|
+
"#673AFF",
|
|
11
|
+
"#CA80DC",
|
|
12
|
+
"#FEBBB2"
|
|
13
|
+
], t = [
|
|
14
|
+
"#487BEC",
|
|
15
|
+
"#FFC670",
|
|
16
|
+
"#80CBC4",
|
|
17
|
+
"#FF7557",
|
|
18
|
+
"#7856FF",
|
|
19
|
+
"#FEBBB2",
|
|
20
|
+
"#DA88EE",
|
|
21
|
+
"#0D7EA0",
|
|
22
|
+
"#01AB01",
|
|
23
|
+
"#B3596E"
|
|
24
|
+
], K = {
|
|
25
|
+
Total: "#646464",
|
|
26
|
+
// AB tests
|
|
27
|
+
A: "#FFC134",
|
|
28
|
+
B: "#4F4FF5",
|
|
29
|
+
// Countries
|
|
30
|
+
US: "#9999FF",
|
|
31
|
+
CN: "#FF1200",
|
|
32
|
+
GB: "#89009B",
|
|
33
|
+
DE: "#FBE32D",
|
|
34
|
+
JP: "#8D001F",
|
|
35
|
+
AU: "#E57D00",
|
|
36
|
+
FR: "#ACC62C",
|
|
37
|
+
RU: "#FF70AA",
|
|
38
|
+
// Ad formats
|
|
39
|
+
Rewarded: "#80BCFE",
|
|
40
|
+
Interstitial: "#8D001F",
|
|
41
|
+
Banner: "#E57D00",
|
|
42
|
+
Native: "#ACC62C",
|
|
43
|
+
Offerwall: "#9999FF",
|
|
44
|
+
// Ad sources
|
|
45
|
+
[`${R} ${F}`]: "#80BCFE",
|
|
46
|
+
[`${T} ${F}`]: "#ACC62C",
|
|
47
|
+
[`${E} ${F}`]: "#9999FF",
|
|
48
|
+
[`${E}`]: "#CCCCFF",
|
|
49
|
+
[`${_} ${F}`]: "#E57D00",
|
|
50
|
+
[`${C} ${F}`]: "#00CCD7",
|
|
51
|
+
[`${C}`]: "#80E5EB",
|
|
52
|
+
[`${A} ${F}`]: "#89009B",
|
|
53
|
+
[`${A}`]: "#B866C3",
|
|
54
|
+
[`${B} ${F}`]: "#FF70AA",
|
|
55
|
+
[`${B}`]: "#FFB1DB",
|
|
56
|
+
[`${O} ${F}`]: "#FF1200",
|
|
57
|
+
[`${O}`]: "#FF8880",
|
|
58
|
+
[`${$} ${F}`]: "#FBE32D",
|
|
59
|
+
[`${$}`]: "#FDF196",
|
|
60
|
+
[`${D} ${F}`]: "#8D001F",
|
|
61
|
+
[`${D}`]: "#C6808F"
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
I as DEFAULT_CHART_COLOR,
|
|
65
|
+
L as DEFAULT_COLOR_PALETTE,
|
|
66
|
+
t as MEDIATION_COLOR_PALETTE,
|
|
67
|
+
K as RESERVED_COLORS_MAP
|
|
68
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UseChartHeightArgs } from '@/components/chart/types';
|
|
2
|
+
export declare const useChartHeight: ({ chartPlanesCount, useFullHeight, bottomSpacing, }: UseChartHeightArgs) => {
|
|
3
|
+
containerProps: import("vue").ComputedRef<Record<string, unknown>>;
|
|
4
|
+
eachPlaneHeight: import("vue").ComputedRef<string>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ref as g, computed as o } from "vue";
|
|
2
|
+
import { useElementBounding as m, useWindowScroll as f } from "@vueuse/core";
|
|
3
|
+
import { useFullPageHeight as p } from "../../../composables/useFullPageHeight.js";
|
|
4
|
+
import { DEFAULT_CHART_PLANE_HEIGHT as E, HEADER_HEIGHT as v, MIN_PLANE_HEIGHT as r } from "../consts.js";
|
|
5
|
+
const T = ({
|
|
6
|
+
chartPlanesCount: e,
|
|
7
|
+
useFullHeight: n,
|
|
8
|
+
bottomSpacing: i = 50
|
|
9
|
+
}) => {
|
|
10
|
+
const t = g(), { height: c } = m(t), { cssHeightValue: l } = p({
|
|
11
|
+
elem: t,
|
|
12
|
+
bottomSpacing: i
|
|
13
|
+
}), { y: s } = f(), u = o(() => n && !s.value ? l.value : E + v + "px"), h = o(() => ({
|
|
14
|
+
ref: t,
|
|
15
|
+
style: { height: u.value }
|
|
16
|
+
})), a = o(() => e.value === 1 ? "100%" : c.value / e.value < r ? `${r}px` : 100 / e.value + "%");
|
|
17
|
+
return {
|
|
18
|
+
containerProps: h,
|
|
19
|
+
eachPlaneHeight: a
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
T as useChartHeight
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ChartDataSet } from '@/components/chart';
|
|
3
|
+
import { ColorVariant } from '@/components/chart/types';
|
|
4
|
+
type UseColorsMapArgs = {
|
|
5
|
+
dataSets: Ref<ChartDataSet[]>;
|
|
6
|
+
visibleIds: Ref<unknown[]>;
|
|
7
|
+
variant?: ColorVariant;
|
|
8
|
+
};
|
|
9
|
+
export declare const useColorsMap: ({ dataSets, visibleIds, variant, }: UseColorsMapArgs) => {
|
|
10
|
+
colorsMap: Ref<Record<string, `#${string}`>>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { computed as r, ref as n, watch as p } from "vue";
|
|
2
|
+
import { RESERVED_COLORS_MAP as c, MEDIATION_COLOR_PALETTE as R, DEFAULT_COLOR_PALETTE as T, DEFAULT_CHART_COLOR as L } from "../colorPalette.js";
|
|
3
|
+
const A = ({
|
|
4
|
+
dataSets: i,
|
|
5
|
+
visibleIds: u,
|
|
6
|
+
variant: v
|
|
7
|
+
}) => {
|
|
8
|
+
const s = r(
|
|
9
|
+
() => i.value.filter(
|
|
10
|
+
(o) => u.value.includes(o.id)
|
|
11
|
+
)
|
|
12
|
+
), t = n({
|
|
13
|
+
...c
|
|
14
|
+
// destructuring is important to avoid mutating the reserved colors object
|
|
15
|
+
}), a = n([]), d = r(() => (v === "mediation" ? R : T).filter((e) => !a.value.includes(e))), f = () => {
|
|
16
|
+
s.value.forEach((o) => {
|
|
17
|
+
const e = String(o.id);
|
|
18
|
+
if (!t.value[e]) {
|
|
19
|
+
const l = o.color || d.value[0] || L;
|
|
20
|
+
E(e, l);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}, C = () => {
|
|
24
|
+
Object.keys(t.value).forEach((o) => {
|
|
25
|
+
const e = s.value.find((m) => String(m.id) === o), l = !!c[o];
|
|
26
|
+
!e && !l && O(o);
|
|
27
|
+
});
|
|
28
|
+
}, E = (o, e) => {
|
|
29
|
+
t.value[String(o)] = e, a.value.push(e);
|
|
30
|
+
}, O = (o) => {
|
|
31
|
+
const e = t.value[o];
|
|
32
|
+
delete t.value[o];
|
|
33
|
+
const l = a.value.indexOf(e);
|
|
34
|
+
l > -1 && a.value.splice(l, 1);
|
|
35
|
+
};
|
|
36
|
+
return p(
|
|
37
|
+
s,
|
|
38
|
+
() => {
|
|
39
|
+
C(), f();
|
|
40
|
+
},
|
|
41
|
+
{ immediate: !0 }
|
|
42
|
+
), {
|
|
43
|
+
colorsMap: t
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
A as useColorsMap
|
|
48
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { TooltipModel } from 'chart.js';
|
|
3
|
-
export declare const useTooltipPosition: (chartRef: Ref<HTMLCanvasElement | null>, tooltipRef: Ref<HTMLDivElement | null>, tooltipModel: Ref<TooltipModel<'line' | 'bar'
|
|
3
|
+
export declare const useTooltipPosition: (chartRef: Ref<HTMLCanvasElement | null>, tooltipRef: Ref<HTMLDivElement | null>, tooltipModel: Ref<TooltipModel<'line' | 'bar'>>, respectTop?: boolean) => {
|
|
4
4
|
position: import("vue").ComputedRef<{
|
|
5
5
|
top: number;
|
|
6
6
|
left: number;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { useElementSize as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { computed as h } from "vue";
|
|
2
|
+
import { useElementSize as T } from "@vueuse/core";
|
|
3
|
+
import { COMPACT_HEADER_HEIGHT as l } from "../consts.js";
|
|
4
|
+
const D = (n, s, E, _ = !0) => {
|
|
5
|
+
const t = T(s);
|
|
5
6
|
return {
|
|
6
|
-
position:
|
|
7
|
-
if (!
|
|
7
|
+
position: h(() => {
|
|
8
|
+
if (!n.value || !E.value)
|
|
8
9
|
return { top: 0, left: 0 };
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
top: e + (_ ? -1 * Math.min(
|
|
13
|
-
e - 8,
|
|
14
|
-
t.height.value + 8
|
|
15
|
-
) : -20)
|
|
16
|
-
};
|
|
10
|
+
const e = n.value.getBoundingClientRect(), { caretX: F, caretY: o } = E.value, c = F + t.width.value + 20 >= e.width, r = o + t.height.value + -30 >= e.height, u = F + (c ? -(t.width.value + 20) : 20);
|
|
11
|
+
let i = o + (r ? -1 * (o + t.height.value + 8 - e.height) : -30);
|
|
12
|
+
return _ && (i = Math.max(i, -l + 8)), { left: u, top: i };
|
|
17
13
|
})
|
|
18
14
|
};
|
|
19
15
|
};
|
|
20
16
|
export {
|
|
21
|
-
|
|
17
|
+
D as useTooltipPosition
|
|
22
18
|
};
|
|
@@ -1,14 +1,40 @@
|
|
|
1
|
-
import { DropdownTypeOption } from './types';
|
|
1
|
+
import { DropdownTypeOption, Font, ValueFormat } from './types';
|
|
2
2
|
export declare const POINT_BORDER_COLOR = "#fcfcfc";
|
|
3
3
|
export declare const GRID_LINE_COLOR = "#E4E4E4";
|
|
4
4
|
export declare const TICK_LABEL_COLOR = "#646464";
|
|
5
|
-
export declare const TICK_LABEL_FONT:
|
|
6
|
-
size: number;
|
|
7
|
-
weight: number;
|
|
8
|
-
family: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const COLOR_PALETTE: string[];
|
|
5
|
+
export declare const TICK_LABEL_FONT: Font;
|
|
11
6
|
export declare const DEFAULT_TICK_COUNT = 4;
|
|
12
7
|
export declare const DEFAULT_MIN_VISIBLE = 1;
|
|
13
8
|
export declare const DEFAULT_MAX_VISIBLE = 5;
|
|
14
9
|
export declare const DROPDOWN_TYPE_OPTIONS: DropdownTypeOption[];
|
|
10
|
+
export declare const HEADER_HEIGHT = 76;
|
|
11
|
+
export declare const COMPACT_HEADER_HEIGHT = 43;
|
|
12
|
+
export declare const DEFAULT_CHART_PLANE_HEIGHT = 312;
|
|
13
|
+
export declare const MIN_PLANE_HEIGHT = 187;
|
|
14
|
+
export declare const TOTALS_HELPER_KEY = "__TOTALS_HELPER_KEY__";
|
|
15
|
+
export declare const BASE_COLOR_KEY = "___BASE_COLOR__";
|
|
16
|
+
export declare const BIDDING_PREFIX = "Bidding";
|
|
17
|
+
export declare const NETWORK_IRON_SOURCE = "ironSource";
|
|
18
|
+
export declare const NETWORK_UNITY_ADS = "UnityAds";
|
|
19
|
+
export declare const NETWORK_FACEBOOK_META = "Meta";
|
|
20
|
+
export declare const NETWORK_AD_MOB = "Google";
|
|
21
|
+
export declare const NETWORK_MINTEGRAL = "Mintegral";
|
|
22
|
+
export declare const NETWORK_APPLOVIN = "AppLovin";
|
|
23
|
+
export declare const NETWORK_INMOBI = "InMobi";
|
|
24
|
+
export declare const NETWORK_DT_EXCHANGE = "DT Exchange";
|
|
25
|
+
export declare const NETWORK_PANGLE = "Pangle";
|
|
26
|
+
export declare const NETWORK_LIFTOFF = "Liftoff Monetize";
|
|
27
|
+
export declare const HOVER_TRANSPARENCY = 10;
|
|
28
|
+
export declare const HOVER_AREA_TRANSPARENCY = 70;
|
|
29
|
+
export declare const STACKED_LINE_TRANSPARENCY = 10;
|
|
30
|
+
export declare const CHART_ITEM_TRANSPARENCY = 70;
|
|
31
|
+
export declare const INCOMPLETE_DATA_BAR_TRANSPARENCY = 40;
|
|
32
|
+
export declare const LINE_DASH_STYLE: number[];
|
|
33
|
+
export declare const CHART_PADDING: {
|
|
34
|
+
left: number;
|
|
35
|
+
right: number;
|
|
36
|
+
top: number;
|
|
37
|
+
bottom: number;
|
|
38
|
+
};
|
|
39
|
+
export declare const TICKS_EXTRA_PADDING = 6;
|
|
40
|
+
export declare const LONG_DATE_FORMAT: ValueFormat;
|
|
@@ -1,27 +1,51 @@
|
|
|
1
|
-
import { ChartType as
|
|
2
|
-
const
|
|
1
|
+
import { ChartType as _ } from "./types.js";
|
|
2
|
+
const T = "#fcfcfc", t = "#E4E4E4", n = "#646464", A = {
|
|
3
3
|
size: 12,
|
|
4
4
|
weight: 400,
|
|
5
5
|
family: "Inter"
|
|
6
|
-
},
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
];
|
|
6
|
+
}, o = 4, R = 1, N = 5, O = [
|
|
7
|
+
{ id: _.Line, name: "Line" },
|
|
8
|
+
{ id: _.StackedLine, name: "Stack" },
|
|
9
|
+
{ id: _.Bar, name: "Bar" }
|
|
10
|
+
], c = 76, L = 43, s = 312, I = 187, C = "__TOTALS_HELPER_KEY__", D = "___BASE_COLOR__", e = "Bidding", P = "ironSource", S = "UnityAds", i = "Meta", H = "Google", K = "Mintegral", B = "AppLovin", M = "InMobi", a = "DT Exchange", G = "Pangle", r = "Liftoff Monetize", F = 10, W = 70, Y = 10, f = 70, d = 40, g = [4, 4], U = {
|
|
11
|
+
left: 18,
|
|
12
|
+
right: 18,
|
|
13
|
+
top: 18,
|
|
14
|
+
bottom: 11
|
|
15
|
+
}, m = 6, p = "dateLong";
|
|
17
16
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
D as BASE_COLOR_KEY,
|
|
18
|
+
e as BIDDING_PREFIX,
|
|
19
|
+
f as CHART_ITEM_TRANSPARENCY,
|
|
20
|
+
U as CHART_PADDING,
|
|
21
|
+
L as COMPACT_HEADER_HEIGHT,
|
|
22
|
+
s as DEFAULT_CHART_PLANE_HEIGHT,
|
|
23
|
+
N as DEFAULT_MAX_VISIBLE,
|
|
24
|
+
R as DEFAULT_MIN_VISIBLE,
|
|
25
|
+
o as DEFAULT_TICK_COUNT,
|
|
26
|
+
O as DROPDOWN_TYPE_OPTIONS,
|
|
27
|
+
t as GRID_LINE_COLOR,
|
|
28
|
+
c as HEADER_HEIGHT,
|
|
29
|
+
W as HOVER_AREA_TRANSPARENCY,
|
|
30
|
+
F as HOVER_TRANSPARENCY,
|
|
31
|
+
d as INCOMPLETE_DATA_BAR_TRANSPARENCY,
|
|
32
|
+
g as LINE_DASH_STYLE,
|
|
33
|
+
p as LONG_DATE_FORMAT,
|
|
34
|
+
I as MIN_PLANE_HEIGHT,
|
|
35
|
+
H as NETWORK_AD_MOB,
|
|
36
|
+
B as NETWORK_APPLOVIN,
|
|
37
|
+
a as NETWORK_DT_EXCHANGE,
|
|
38
|
+
i as NETWORK_FACEBOOK_META,
|
|
39
|
+
M as NETWORK_INMOBI,
|
|
40
|
+
P as NETWORK_IRON_SOURCE,
|
|
41
|
+
r as NETWORK_LIFTOFF,
|
|
42
|
+
K as NETWORK_MINTEGRAL,
|
|
43
|
+
G as NETWORK_PANGLE,
|
|
44
|
+
S as NETWORK_UNITY_ADS,
|
|
45
|
+
T as POINT_BORDER_COLOR,
|
|
46
|
+
Y as STACKED_LINE_TRANSPARENCY,
|
|
47
|
+
m as TICKS_EXTRA_PADDING,
|
|
48
|
+
n as TICK_LABEL_COLOR,
|
|
49
|
+
A as TICK_LABEL_FONT,
|
|
50
|
+
C as TOTALS_HELPER_KEY
|
|
27
51
|
};
|