@ironsource/shared-ui 2.1.12-rc.20 → 2.1.12-rc.21

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.
@@ -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)}
@@ -1,7 +1,7 @@
1
1
  import o from "./Chart.vue2.js";
2
2
  /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Chart.vue_vue_type_style_index_0_scoped_64205c96_lang.css"; //*');
4
- const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-64205c96"]]);
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
- c as default
6
+ a as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import "../../Chart.vue_vue_type_style_index_0_scoped_64205c96_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 y, normalizeClass as E, createVNode as L, createSlots as N, renderList as M } from "vue";
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
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
7
  import { DEFAULT_TICK_COUNT as R, DEFAULT_MIN_VISIBLE as X, DEFAULT_MAX_VISIBLE as Y } from "./consts.js";
8
8
  import { ChartType as j, DateInterval as q, TooltipOrder as G, TrendDirection as J } from "./types.js";
@@ -56,7 +56,7 @@ const _ = {
56
56
  },
57
57
  emits: ["update:chartType", "update:visibleIds", "update:sortSelected"],
58
58
  setup(a, { emit: p }) {
59
- const e = a, r = A(e, "chartType", p), h = A(e, "sortSelected", p), c = O(null), g = n(() => ({
59
+ const e = a, r = A(e, "chartType", p), c = A(e, "sortSelected", p), h = O(null), y = n(() => ({
60
60
  dataSets: e.dataSets,
61
61
  visibleIds: e.visibleIds,
62
62
  parsing: e.parsing,
@@ -86,11 +86,11 @@ const _ = {
86
86
  tooltipTotalType: e.tooltipTotalType,
87
87
  tooltipTotalCalcFn: e.tooltipTotalCalcFn,
88
88
  tooltipOrder: e.tooltipOrder,
89
- highlightedId: c.value,
89
+ highlightedId: h.value,
90
90
  valueSuffix: e.valueSuffix,
91
91
  valuePrefix: e.valuePrefix
92
- })), B = 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: B,
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
94
  visibleIds: v
95
95
  }), w = n(() => e.dataSets.map((t) => ({
96
96
  id: t.id,
@@ -101,7 +101,8 @@ const _ = {
101
101
  iconType: t.iconType || "branded"
102
102
  }))), { containerProps: H, eachPlaneHeight: P } = Q({
103
103
  chartPlanesCount: x,
104
- useFullHeight: e.fullHeight
104
+ useFullHeight: e.fullHeight,
105
+ bottomSpacing: e.fullHeightBottomSpacing
105
106
  });
106
107
  return (t, o) => (s(), m(C, null, [
107
108
  a.withSettingsHeader ? (s(), I(K, {
@@ -121,14 +122,14 @@ const _ = {
121
122
  ]),
122
123
  _: 3
123
124
  }, 8, ["chart-type", "hide-legend"])) : D("", !0),
124
- k("div", y({ class: "chart-container" }, i(H)), [
125
+ k("div", g({ class: "chart-container" }, i(H)), [
125
126
  k("section", {
126
127
  class: E(["chart-planes", [{ "with-legend": !a.hideLegend }]])
127
128
  }, [
128
- L(V, y({
129
+ L(B, g({
129
130
  "chart-type": i(r),
130
131
  "onUpdate:chart-type": o[1] || (o[1] = (l) => b(r) ? r.value = l : null)
131
- }, i(g)), N({ _: 2 }, [
132
+ }, i(y)), N({ _: 2 }, [
132
133
  t.$slots["subheader-tooltip"] ? {
133
134
  name: "subheader-tooltip",
134
135
  fn: d(() => [
@@ -137,10 +138,10 @@ const _ = {
137
138
  key: "0"
138
139
  } : void 0
139
140
  ]), 1040, ["chart-type"]),
140
- (s(!0), m(C, null, M(a.extraCharts, (l, S) => (s(), I(V, y({
141
+ (s(!0), m(C, null, M(a.extraCharts, (l, S) => (s(), I(B, g({
141
142
  key: S,
142
143
  class: "extra-chart-plane"
143
- }, { ...i(g), ...l }, {
144
+ }, { ...i(y), ...l }, {
144
145
  "chart-type": i(r),
145
146
  "colors-map": i(f),
146
147
  "type-switcher": !1,
@@ -149,10 +150,10 @@ const _ = {
149
150
  ], 2),
150
151
  a.hideLegend ? D("", !0) : (s(), m("section", _, [
151
152
  L($, {
152
- "sort-selected": i(h),
153
- "onUpdate:sort-selected": o[2] || (o[2] = (l) => b(h) ? h.value = l : null),
154
- "highlighted-id": c.value,
155
- "onUpdate:highlighted-id": o[3] || (o[3] = (l) => c.value = 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),
156
157
  items: i(w),
157
158
  "visible-ids": i(v),
158
159
  "max-limit-tooltip-text": a.maxLimitTooltipText,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.12-rc.20",
3
+ "version": "2.1.12-rc.21",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .chart-container[data-v-64205c96]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;border-radius:0 0 6px 6px;width:100%}.chart-planes[data-v-64205c96]{width:100%;height:100%;overflow-y:auto}.chart-planes.with-legend[data-v-64205c96]{width:calc(100% - 221px)}.chart-planes .extra-chart-plane[data-v-64205c96]{border-top:1px solid var(--common-divider)}.chart-sidebar[data-v-64205c96]{border-left:1px solid var(--common-divider)}