@ironsource/shared-ui 2.1.12-test.68 → 2.1.12-test.70

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.
Files changed (34) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css +1 -0
  2. package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +1 -0
  3. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +1 -0
  4. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
  5. package/components/chart/Chart.vue.d.ts +26 -1
  6. package/components/chart/Chart.vue.js +4 -4
  7. package/components/chart/Chart.vue2.js +68 -56
  8. package/components/chart/ChartPlane.vue.d.ts +21 -1
  9. package/components/chart/ChartPlane.vue.js +4 -4
  10. package/components/chart/ChartPlane.vue2.js +152 -141
  11. package/components/chart/ChartStoryArgs.d.ts +20 -1
  12. package/components/chart/ChartTooltip.vue.d.ts +16 -1
  13. package/components/chart/ChartTooltip.vue.js +2 -2
  14. package/components/chart/ChartTooltip.vue2.js +33 -29
  15. package/components/chart/TooltipHeader.vue.d.ts +6 -1
  16. package/components/chart/TooltipHeader.vue.js +2 -2
  17. package/components/chart/TooltipHeader.vue2.js +37 -27
  18. package/components/chart/colorPalette.js +20 -20
  19. package/components/chart/composables/useChartHeight.d.ts +1 -1
  20. package/components/chart/composables/useChartHeight.js +16 -14
  21. package/components/chart/consts.d.ts +13 -12
  22. package/components/chart/consts.js +33 -32
  23. package/components/chart/index.d.ts +96 -1
  24. package/components/chart/mockData.d.ts +8 -0
  25. package/components/chart/types.d.ts +6 -0
  26. package/components/chart/types.js +4 -3
  27. package/components/chart/utils/utils.d.ts +1 -1
  28. package/components/chart/utils/utils.js +10 -10
  29. package/index.js +1 -1
  30. package/package.json +1 -1
  31. package/Chart.vue_vue_type_style_index_0_scoped_82f5b24e_lang.css +0 -1
  32. package/ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css +0 -1
  33. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9e521454_lang.css +0 -1
  34. package/TooltipHeader.vue_vue_type_style_index_0_scoped_9f6cf389_lang.css +0 -1
@@ -0,0 +1 @@
1
+ .chart-container[data-v-03771fa3]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-03771fa3]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-03771fa3]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-03771fa3]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-03771fa3]{border-left:1px solid var(--common-divider)}
@@ -0,0 +1 @@
1
+ .chart-plane-container[data-v-903fc6ae]{--headerHeight: var(--d271311a);width:100%;height:var(--6c5bc85e);position:relative}.header-wrapper[data-v-903fc6ae]{position:absolute;width:100%;height:var(--headerHeight);top:0;z-index:1}.chart-plane[data-v-903fc6ae]{padding-top:var(--headerHeight);height:100%}.chart[data-v-903fc6ae]{width:100%;height:100%;position:relative}.chart__canvas[data-v-903fc6ae]{width:100%;height:100%}.chart__tooltip[data-v-903fc6ae]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px;z-index:1}
@@ -0,0 +1 @@
1
+ .chart-tooltip[data-v-e53c6287]{color:var(--text-primary);background:var(--common-white);box-shadow:0 4px 8px -2px #1018281f;border:1px solid var(--common-divider-elevation-0);border-radius:var(--border-radius-md);width:280px;padding:calc(var(--spacing-100) - 1px)}.color-box[data-v-e53c6287]{width:12px;height:12px;border-radius:2px;display:inline-block;margin-right:var(--spacing-100)}.color-box+.platform-icon[data-v-e53c6287]{margin-left:calc(var(--spacing-50) - var(--spacing-100))}.list[data-v-e53c6287]{list-style:none;margin:0;padding:0}.list__item[data-v-e53c6287]{display:flex;align-items:center;margin-bottom:var(--spacing-50);color:var(--text-secondary)}.list__item[data-v-e53c6287]:last-child{margin-bottom:0}.platform-icon[data-v-e53c6287]{color:var(--action-active);margin-right:var(--spacing-50)}.popover-label-wrapper[data-v-e53c6287]{display:flex;width:200px;flex-grow:1}.truncated-label[data-v-e53c6287]{max-width:90%}.tooltip-footer[data-v-e53c6287]{display:flex;align-items:center;margin-top:var(--spacing-100);color:var(--text-primary)}.flex-grow[data-v-e53c6287]{flex-grow:1}
@@ -0,0 +1 @@
1
+ .tooltip-title-wrapper[data-v-3b15c693]{display:flex;flex-direction:column;color:var(--text-primary);margin-bottom:var(--spacing-100)}.tooltip-title-wrapper .main-title[data-v-3b15c693]{display:flex;align-items:center;gap:.25rem}.tooltip-title-wrapper .title-text[data-v-3b15c693]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tooltip-title-wrapper .title-image[data-v-3b15c693]{width:20px;height:20px;border-radius:4px}.tooltip-title-wrapper .tooltip-sub-title[data-v-3b15c693]{color:var(--text-secondary)}.tooltip-title-wrapper .platform-icon[data-v-3b15c693]{color:var(--action-active)}
@@ -1,4 +1,4 @@
1
- import { ChartDataSet, ChartParsingConfig, ChartType, TooltipOrder, TrendDirection, ValueFormat } from './types';
1
+ import { ChartDataSet, ChartParsingConfig, ChartType, DateInterval, TooltipOrder, TrendDirection, ValueFormat } from './types';
2
2
  import { TotalType } from '@/utils/totals';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  dataSets: ChartDataSet[];
@@ -7,14 +7,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  parsing?: ChartParsingConfig;
8
8
  xAxisFormat?: ValueFormat;
9
9
  yAxisFormat?: ValueFormat;
10
+ xAxisDateInterval?: DateInterval;
10
11
  tickCount?: number;
11
12
  truncateTickLabels?: boolean;
12
13
  loading?: boolean;
14
+ empty?: boolean;
13
15
  withAnimation?: boolean;
14
16
  totalsChart?: boolean;
15
17
  tooltipTotalType?: TotalType;
16
18
  tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
17
19
  tooltipOrder?: TooltipOrder;
20
+ valueSuffix?: string;
21
+ valuePrefix?: string;
18
22
  header?: string;
19
23
  subheader?: string;
20
24
  subheaderTooltip?: {
@@ -40,6 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
40
44
  sortOptions?: unknown[];
41
45
  sortOptionNameKey?: string;
42
46
  fullHeight?: boolean;
47
+ fullHeightBottomSpacing?: number;
43
48
  withSettingsHeader?: boolean;
44
49
  extraCharts?: Record<string, unknown>[];
45
50
  }>, {
@@ -48,15 +53,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
53
  visibleIds: () => any[];
49
54
  xAxisFormat: string;
50
55
  yAxisFormat: string;
56
+ xAxisDateInterval: DateInterval;
51
57
  parsing: any;
52
58
  tickCount: number;
53
59
  truncateTickLabels: boolean;
54
60
  loading: boolean;
61
+ empty: boolean;
55
62
  withAnimation: boolean;
56
63
  totalsChart: boolean;
57
64
  tooltipTotalType: TotalType;
58
65
  tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
59
66
  tooltipOrder: TooltipOrder;
67
+ valueSuffix: string;
68
+ valuePrefix: string;
60
69
  header: string;
61
70
  subheader: string;
62
71
  subheaderTooltip: any;
@@ -75,6 +84,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
75
84
  sortOptions: () => any[];
76
85
  sortOptionNameKey: string;
77
86
  fullHeight: boolean;
87
+ fullHeightBottomSpacing: number;
78
88
  withSettingsHeader: boolean;
79
89
  extraCharts: () => any[];
80
90
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -88,14 +98,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
88
98
  parsing?: ChartParsingConfig;
89
99
  xAxisFormat?: ValueFormat;
90
100
  yAxisFormat?: ValueFormat;
101
+ xAxisDateInterval?: DateInterval;
91
102
  tickCount?: number;
92
103
  truncateTickLabels?: boolean;
93
104
  loading?: boolean;
105
+ empty?: boolean;
94
106
  withAnimation?: boolean;
95
107
  totalsChart?: boolean;
96
108
  tooltipTotalType?: TotalType;
97
109
  tooltipTotalCalcFn?: (values: number[], totalType: TotalType) => number;
98
110
  tooltipOrder?: TooltipOrder;
111
+ valueSuffix?: string;
112
+ valuePrefix?: string;
99
113
  header?: string;
100
114
  subheader?: string;
101
115
  subheaderTooltip?: {
@@ -121,6 +135,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
121
135
  sortOptions?: unknown[];
122
136
  sortOptionNameKey?: string;
123
137
  fullHeight?: boolean;
138
+ fullHeightBottomSpacing?: number;
124
139
  withSettingsHeader?: boolean;
125
140
  extraCharts?: Record<string, unknown>[];
126
141
  }>, {
@@ -129,15 +144,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
129
144
  visibleIds: () => any[];
130
145
  xAxisFormat: string;
131
146
  yAxisFormat: string;
147
+ xAxisDateInterval: DateInterval;
132
148
  parsing: any;
133
149
  tickCount: number;
134
150
  truncateTickLabels: boolean;
135
151
  loading: boolean;
152
+ empty: boolean;
136
153
  withAnimation: boolean;
137
154
  totalsChart: boolean;
138
155
  tooltipTotalType: TotalType;
139
156
  tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
140
157
  tooltipOrder: TooltipOrder;
158
+ valueSuffix: string;
159
+ valuePrefix: string;
141
160
  header: string;
142
161
  subheader: string;
143
162
  subheaderTooltip: any;
@@ -156,6 +175,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
156
175
  sortOptions: () => any[];
157
176
  sortOptionNameKey: string;
158
177
  fullHeight: boolean;
178
+ fullHeightBottomSpacing: number;
159
179
  withSettingsHeader: boolean;
160
180
  extraCharts: () => any[];
161
181
  }>>> & {
@@ -175,9 +195,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
175
195
  chartType: ChartType;
176
196
  hideLegend: boolean;
177
197
  xAxisFormat: ValueFormat;
198
+ xAxisDateInterval: DateInterval;
178
199
  totalsChart: boolean;
179
200
  parsing: ChartParsingConfig;
180
201
  yAxisFormat: ValueFormat;
202
+ valueSuffix: string;
203
+ valuePrefix: string;
181
204
  dataSets: ChartDataSet[];
182
205
  trendTooltip: any;
183
206
  subheader: string;
@@ -187,6 +210,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
187
210
  tickCount: number;
188
211
  truncateTickLabels: boolean;
189
212
  keepSubheaderVisible: boolean;
213
+ empty: boolean;
190
214
  noDataIcon: string;
191
215
  noDataTitle: string;
192
216
  noDataSubtitle: string;
@@ -195,6 +219,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
195
219
  tooltipTotalCalcFn: (values: number[], totalType: TotalType) => number;
196
220
  tooltipOrder: TooltipOrder;
197
221
  fullHeight: boolean;
222
+ fullHeightBottomSpacing: number;
198
223
  withSettingsHeader: boolean;
199
224
  extraCharts: Record<string, unknown>[];
200
225
  }>, {
@@ -1,7 +1,7 @@
1
1
  import o from "./Chart.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Chart.vue_vue_type_style_index_0_scoped_82f5b24e_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-82f5b24e"]]);
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css"; //*');
4
+ const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-03771fa3"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -1,33 +1,37 @@
1
- import "../../Chart.vue_vue_type_style_index_0_scoped_82f5b24e_lang.css"; import { defineComponent as O, ref as E, computed as n, openBlock as s, createElementBlock as m, Fragment as x, createBlock as k, unref as l, isRef as y, withCtx as d, renderSlot as u, createCommentVNode as I, createElementVNode as L, mergeProps as b, normalizeClass as N, createVNode as D, createSlots as P, renderList as M } from "vue";
2
- import { useVModel as F } from "@vueuse/core";
1
+ import "../../Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css"; import { defineComponent as U, ref as O, computed as n, openBlock as s, createElementBlock as m, Fragment as C, createBlock as I, unref as i, isRef as b, withCtx as d, renderSlot as u, createCommentVNode as D, createElementVNode as k, mergeProps as g, normalizeClass as E, createVNode as L, createSlots as N, renderList as M } from "vue";
2
+ import { useVModel as A } from "@vueuse/core";
3
3
  import $ from "./ChartLegend.vue.js";
4
4
  import K from "./SettingsHeader.vue.js";
5
- import V from "./ChartPlane.vue.js";
5
+ import B from "./ChartPlane.vue.js";
6
6
  import { useColorsMap as z } from "./composables/useColorsMap.js";
7
- import { DEFAULT_TICK_COUNT as R, DEFAULT_MIN_VISIBLE as X, DEFAULT_MAX_VISIBLE as j } from "./consts.js";
8
- import { ChartType as q, TooltipOrder as G, TrendDirection as J } from "./types.js";
7
+ import { DEFAULT_TICK_COUNT as R, DEFAULT_MIN_VISIBLE as X, DEFAULT_MAX_VISIBLE as Y } from "./consts.js";
8
+ import { ChartType as j, DateInterval as q, TooltipOrder as G, TrendDirection as J } from "./types.js";
9
9
  import { useChartHeight as Q } from "./composables/useChartHeight.js";
10
- import { TotalType as W, calculateTotal as Y } from "../../utils/totals.js";
11
- const Z = {
10
+ import { TotalType as W, calculateTotal as Z } from "../../utils/totals.js";
11
+ const _ = {
12
12
  key: 0,
13
13
  class: "chart-sidebar"
14
- }, de = /* @__PURE__ */ O({
14
+ }, ue = /* @__PURE__ */ U({
15
15
  __name: "Chart",
16
16
  props: {
17
17
  dataSets: { default: () => [] },
18
18
  visibleIds: { default: () => [] },
19
- chartType: { default: q.Line },
19
+ chartType: { default: j.Line },
20
20
  parsing: { default: void 0 },
21
21
  xAxisFormat: { default: "string" },
22
22
  yAxisFormat: { default: "number" },
23
+ xAxisDateInterval: { default: q.DAILY },
23
24
  tickCount: { default: R },
24
- truncateTickLabels: { type: Boolean, default: !0 },
25
+ truncateTickLabels: { type: Boolean, default: !1 },
25
26
  loading: { type: Boolean, default: !1 },
27
+ empty: { type: Boolean, default: !1 },
26
28
  withAnimation: { type: Boolean, default: !0 },
27
29
  totalsChart: { type: Boolean, default: !1 },
28
30
  tooltipTotalType: { default: W.Total },
29
- tooltipTotalCalcFn: { type: Function, default: Y },
31
+ tooltipTotalCalcFn: { type: Function, default: Z },
30
32
  tooltipOrder: { default: G.Legend },
33
+ valueSuffix: { default: "" },
34
+ valuePrefix: { default: "" },
31
35
  header: { default: "" },
32
36
  subheader: { default: "" },
33
37
  subheaderTooltip: { default: null },
@@ -40,35 +44,38 @@ const Z = {
40
44
  noDataSubtitle: { default: "Search again with different filters" },
41
45
  hideLegend: { type: Boolean, default: !1 },
42
46
  minVisible: { default: X },
43
- maxVisible: { default: j },
47
+ maxVisible: { default: Y },
44
48
  maxLimitTooltipText: { default: "" },
45
49
  sortSelected: { default: null },
46
50
  sortOptions: { default: () => [] },
47
51
  sortOptionNameKey: { default: "" },
48
52
  fullHeight: { type: Boolean, default: !1 },
53
+ fullHeightBottomSpacing: { default: 50 },
49
54
  withSettingsHeader: { type: Boolean, default: !0 },
50
55
  extraCharts: { default: () => [] }
51
56
  },
52
57
  emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
53
- setup(i, { emit: p }) {
54
- const e = i, r = F(e, "chartType", p), h = F(e, "sortSelected", p), c = E(null), g = n(() => ({
58
+ setup(a, { emit: p }) {
59
+ const e = a, r = A(e, "chartType", p), c = A(e, "sortSelected", p), h = O(null), y = n(() => ({
55
60
  dataSets: e.dataSets,
56
61
  visibleIds: e.visibleIds,
57
62
  parsing: e.parsing,
58
63
  xAxisFormat: e.xAxisFormat,
59
64
  yAxisFormat: e.yAxisFormat,
65
+ xAxisDateInterval: e.xAxisDateInterval,
60
66
  tickCount: e.tickCount,
61
67
  truncateTickLabels: e.truncateTickLabels,
62
68
  header: e.header,
63
69
  subheader: e.subheader,
64
70
  loading: e.loading,
71
+ empty: e.empty,
65
72
  noDataIcon: e.noDataIcon,
66
73
  noDataTitle: e.noDataTitle,
67
74
  noDataSubtitle: e.noDataSubtitle,
68
75
  withAnimation: e.withAnimation,
69
76
  typeSwitcher: !e.withSettingsHeader,
70
- height: U.value,
71
- compactHeader: C.value > 1,
77
+ height: P.value,
78
+ compactHeader: x.value > 1,
72
79
  trendValue: e.trendValue,
73
80
  trendDirection: e.trendDirection,
74
81
  trendTooltip: e.trendTooltip,
@@ -79,27 +86,30 @@ const Z = {
79
86
  tooltipTotalType: e.tooltipTotalType,
80
87
  tooltipTotalCalcFn: e.tooltipTotalCalcFn,
81
88
  tooltipOrder: e.tooltipOrder,
82
- highlightedId: c.value
83
- })), w = n(() => e.dataSets), T = n(() => e.visibleIds), v = n(() => e.extraCharts.length), C = n(() => 1 + v.value), A = (t) => t === v.value - 1, { colorsMap: f } = z({
84
- dataSets: w,
85
- visibleIds: T
86
- }), B = n(() => e.dataSets.map((t) => ({
89
+ highlightedId: h.value,
90
+ valueSuffix: e.valueSuffix,
91
+ valuePrefix: e.valuePrefix
92
+ })), V = n(() => e.dataSets), v = n(() => e.visibleIds), T = n(() => e.extraCharts.length), x = n(() => 1 + T.value), F = (t) => t === T.value - 1, { colorsMap: f } = z({
93
+ dataSets: V,
94
+ visibleIds: v
95
+ }), w = n(() => e.dataSets.map((t) => ({
87
96
  id: t.id,
88
97
  label: t.label,
89
98
  caption: t.caption || null,
90
99
  color: f.value[t.id] || null,
91
100
  icon: t.icon || null,
92
101
  iconType: t.iconType || "branded"
93
- }))), { containerProps: H, eachPlaneHeight: U } = Q({
94
- chartPlanesCount: C,
95
- useFullHeight: e.fullHeight
102
+ }))), { containerProps: H, eachPlaneHeight: P } = Q({
103
+ chartPlanesCount: x,
104
+ useFullHeight: e.fullHeight,
105
+ bottomSpacing: e.fullHeightBottomSpacing
96
106
  });
97
- return (t, o) => (s(), m(x, null, [
98
- i.withSettingsHeader ? (s(), k(K, {
107
+ return (t, o) => (s(), m(C, null, [
108
+ a.withSettingsHeader ? (s(), I(K, {
99
109
  key: 0,
100
- "chart-type": l(r),
101
- "onUpdate:chart-type": o[0] || (o[0] = (a) => y(r) ? r.value = a : null),
102
- "hide-legend": i.hideLegend
110
+ "chart-type": i(r),
111
+ "onUpdate:chart-type": o[0] || (o[0] = (l) => b(r) ? r.value = l : null),
112
+ "hide-legend": a.hideLegend
103
113
  }, {
104
114
  "before-chart-type": d(() => [
105
115
  u(t.$slots, "before-chart-type", {}, void 0, !0)
@@ -111,15 +121,15 @@ const Z = {
111
121
  u(t.$slots, "breakdowns", {}, void 0, !0)
112
122
  ]),
113
123
  _: 3
114
- }, 8, ["chart-type", "hide-legend"])) : I("", !0),
115
- L("div", b({ class: "chart-container" }, l(H)), [
116
- L("section", {
117
- class: N(["chart-planes", [{ "with-legend": !i.hideLegend }]])
124
+ }, 8, ["chart-type", "hide-legend"])) : D("", !0),
125
+ k("div", g({ class: "chart-container" }, i(H)), [
126
+ k("section", {
127
+ class: E(["chart-planes", [{ "with-legend": !a.hideLegend }]])
118
128
  }, [
119
- D(V, b({
120
- "chart-type": l(r),
121
- "onUpdate:chart-type": o[1] || (o[1] = (a) => y(r) ? r.value = a : null)
122
- }, l(g)), P({ _: 2 }, [
129
+ L(B, g({
130
+ "chart-type": i(r),
131
+ "onUpdate:chart-type": o[1] || (o[1] = (l) => b(r) ? r.value = l : null)
132
+ }, i(y)), N({ _: 2 }, [
123
133
  t.$slots["subheader-tooltip"] ? {
124
134
  name: "subheader-tooltip",
125
135
  fn: d(() => [
@@ -128,34 +138,36 @@ const Z = {
128
138
  key: "0"
129
139
  } : void 0
130
140
  ]), 1040, ["chart-type"]),
131
- (s(!0), m(x, null, M(i.extraCharts, (a, S) => (s(), k(V, b({
141
+ (s(!0), m(C, null, M(a.extraCharts, (l, S) => (s(), I(B, g({
132
142
  key: S,
133
143
  class: "extra-chart-plane"
134
- }, { ...l(g), ...a }, {
135
- "chart-type": l(r),
136
- "colors-map": l(f),
144
+ }, { ...i(y), ...l }, {
145
+ "chart-type": i(r),
146
+ "colors-map": i(f),
137
147
  "type-switcher": !1,
138
- "tooltip-respects-top-edge": !A(S)
148
+ "tooltip-respects-top-edge": !F(S)
139
149
  }), null, 16, ["chart-type", "colors-map", "tooltip-respects-top-edge"]))), 128))
140
150
  ], 2),
141
- i.hideLegend ? I("", !0) : (s(), m("section", Z, [
142
- D($, {
143
- "sort-selected": l(h),
144
- "onUpdate:sort-selected": o[2] || (o[2] = (a) => y(h) ? h.value = a : null),
145
- "highlighted-id": c.value,
146
- "onUpdate:highlighted-id": o[3] || (o[3] = (a) => c.value = a),
147
- items: l(B),
148
- "visible-ids": l(T),
149
- "max-limit-tooltip-text": i.maxLimitTooltipText,
150
- "sort-options": i.sortOptions,
151
- "sort-option-name-key": i.sortOptionNameKey,
152
- "onUpdate:visibleIds": o[4] || (o[4] = (a) => p("update:visibleIds", a))
153
- }, null, 8, ["sort-selected", "highlighted-id", "items", "visible-ids", "max-limit-tooltip-text", "sort-options", "sort-option-name-key"])
151
+ a.hideLegend ? D("", !0) : (s(), m("section", _, [
152
+ L($, {
153
+ "sort-selected": i(c),
154
+ "onUpdate:sort-selected": o[2] || (o[2] = (l) => b(c) ? c.value = l : null),
155
+ "highlighted-id": h.value,
156
+ "onUpdate:highlighted-id": o[3] || (o[3] = (l) => h.value = l),
157
+ items: i(w),
158
+ "visible-ids": i(v),
159
+ "max-limit-tooltip-text": a.maxLimitTooltipText,
160
+ "sort-options": a.sortOptions,
161
+ "sort-option-name-key": a.sortOptionNameKey,
162
+ "min-visible": a.minVisible,
163
+ "max-visible": a.maxVisible,
164
+ "onUpdate:visibleIds": o[4] || (o[4] = (l) => p("update:visibleIds", l))
165
+ }, null, 8, ["sort-selected", "highlighted-id", "items", "visible-ids", "max-limit-tooltip-text", "sort-options", "sort-option-name-key", "min-visible", "max-visible"])
154
166
  ]))
155
167
  ], 16)
156
168
  ], 64));
157
169
  }
158
170
  });
159
171
  export {
160
- de as default
172
+ ue as default
161
173
  };
@@ -1,4 +1,4 @@
1
- import { ChartDataSet, ChartParsingConfig, ChartType, TooltipOrder, TrendDirection, ValueFormat } from './types';
1
+ import { ChartDataSet, ChartParsingConfig, ChartType, DateInterval, TooltipOrder, TrendDirection, ValueFormat } from './types';
2
2
  import { TotalType } from '@/utils/totals';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  dataSets: ChartDataSet[];
@@ -8,6 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
8
8
  parsing?: ChartParsingConfig;
9
9
  xAxisFormat?: ValueFormat;
10
10
  yAxisFormat?: ValueFormat;
11
+ xAxisDateInterval?: DateInterval;
11
12
  tickCount?: number;
12
13
  truncateTickLabels?: boolean;
13
14
  header?: string;
@@ -18,6 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
18
19
  };
19
20
  keepSubheaderVisible?: boolean;
20
21
  loading?: boolean;
22
+ empty?: boolean;
21
23
  noDataIcon?: string;
22
24
  noDataTitle?: string;
23
25
  noDataSubtitle?: string;
@@ -38,6 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
38
40
  };
39
41
  totalsChart?: boolean;
40
42
  colorsMap: Record<string, string>;
43
+ valueSuffix?: string;
44
+ valuePrefix?: string;
41
45
  }>, {
42
46
  chartType: ChartType;
43
47
  dataSets: () => any[];
@@ -45,6 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
45
49
  highlightedId: any;
46
50
  xAxisFormat: string;
47
51
  yAxisFormat: string;
52
+ xAxisDateInterval: DateInterval;
48
53
  parsing: any;
49
54
  tickCount: number;
50
55
  truncateTickLabels: boolean;
@@ -53,6 +58,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
58
  subheaderTooltip: any;
54
59
  keepSubheaderVisible: boolean;
55
60
  loading: boolean;
61
+ empty: boolean;
56
62
  noDataIcon: string;
57
63
  noDataTitle: string;
58
64
  noDataSubtitle: string;
@@ -69,6 +75,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
69
75
  trendTooltip: any;
70
76
  totalsChart: boolean;
71
77
  colorsMap: () => {};
78
+ valueSuffix: string;
79
+ valuePrefix: string;
72
80
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
81
  "update:chartType": (chartType: ChartType) => void;
74
82
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -79,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
79
87
  parsing?: ChartParsingConfig;
80
88
  xAxisFormat?: ValueFormat;
81
89
  yAxisFormat?: ValueFormat;
90
+ xAxisDateInterval?: DateInterval;
82
91
  tickCount?: number;
83
92
  truncateTickLabels?: boolean;
84
93
  header?: string;
@@ -89,6 +98,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
89
98
  };
90
99
  keepSubheaderVisible?: boolean;
91
100
  loading?: boolean;
101
+ empty?: boolean;
92
102
  noDataIcon?: string;
93
103
  noDataTitle?: string;
94
104
  noDataSubtitle?: string;
@@ -109,6 +119,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
109
119
  };
110
120
  totalsChart?: boolean;
111
121
  colorsMap: Record<string, string>;
122
+ valueSuffix?: string;
123
+ valuePrefix?: string;
112
124
  }>, {
113
125
  chartType: ChartType;
114
126
  dataSets: () => any[];
@@ -116,6 +128,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
116
128
  highlightedId: any;
117
129
  xAxisFormat: string;
118
130
  yAxisFormat: string;
131
+ xAxisDateInterval: DateInterval;
119
132
  parsing: any;
120
133
  tickCount: number;
121
134
  truncateTickLabels: boolean;
@@ -124,6 +137,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
124
137
  subheaderTooltip: any;
125
138
  keepSubheaderVisible: boolean;
126
139
  loading: boolean;
140
+ empty: boolean;
127
141
  noDataIcon: string;
128
142
  noDataTitle: string;
129
143
  noDataSubtitle: string;
@@ -140,6 +154,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
140
154
  trendTooltip: any;
141
155
  totalsChart: boolean;
142
156
  colorsMap: () => {};
157
+ valueSuffix: string;
158
+ valuePrefix: string;
143
159
  }>>> & {
144
160
  "onUpdate:chartType"?: (chartType: ChartType) => any;
145
161
  }, {
@@ -150,9 +166,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
150
166
  highlightedId: string | number;
151
167
  chartType: ChartType;
152
168
  xAxisFormat: ValueFormat;
169
+ xAxisDateInterval: DateInterval;
153
170
  totalsChart: boolean;
154
171
  parsing: ChartParsingConfig;
155
172
  yAxisFormat: ValueFormat;
173
+ valueSuffix: string;
174
+ valuePrefix: string;
156
175
  dataSets: ChartDataSet[];
157
176
  trendTooltip: any;
158
177
  subheader: string;
@@ -163,6 +182,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
163
182
  tickCount: number;
164
183
  truncateTickLabels: boolean;
165
184
  keepSubheaderVisible: boolean;
185
+ empty: boolean;
166
186
  noDataIcon: string;
167
187
  noDataTitle: string;
168
188
  noDataSubtitle: string;
@@ -1,7 +1,7 @@
1
- import o from "./ChartPlane.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartPlane.vue_vue_type_style_index_0_scoped_5c80d8cd_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-5c80d8cd"]]);
1
+ import e from "./ChartPlane.vue2.js";
2
+ /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-903fc6ae"]]);
5
5
  export {
6
6
  s as default
7
7
  };