@ironsource/shared-ui 2.1.11-rc.51 → 2.1.11-rc.53

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-026d82c5]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;height:388px;border-radius:0 0 6px 6px;width:100%}.header-wrapper[data-v-026d82c5]{height:76px}.chart-content[data-v-026d82c5]{width:100%}.chart-content.with-legend[data-v-026d82c5]{width:calc(100% - 221px)}.chart-sidebar[data-v-026d82c5]{border-left:1px solid var(--common-divider)}.chart[data-v-026d82c5]{width:100%;height:312px;position:relative}.chart__canvas[data-v-026d82c5]{width:100%;height:100%}.chart__tooltip[data-v-026d82c5]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px}
@@ -0,0 +1 @@
1
+ .custom-list-area[data-v-03022bc9]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 43px}.inline-search[data-v-03022bc9]{width:100%}.contain-accept[data-v-03022bc9]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-03022bc9]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-03022bc9]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
@@ -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_277fde76_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-277fde76"]]);
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Chart.vue_vue_type_style_index_0_scoped_026d82c5_lang.css"; //*');
4
+ const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-026d82c5"]]);
5
5
  export {
6
- p as default
6
+ c as default
7
7
  };
@@ -1,23 +1,23 @@
1
- import "../../Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css"; import { defineComponent as q, computed as l, ref as g, onMounted as J, watch as T, nextTick as Q, openBlock as d, createElementBlock as C, Fragment as O, createBlock as f, unref as u, isRef as D, withCtx as k, renderSlot as x, createCommentVNode as v, createElementVNode as p, normalizeClass as Y, createVNode as F, normalizeStyle as _ } from "vue";
2
- import { useVModel as ee } from "@vueuse/core";
3
- import { Chart as N, ArcElement as te, LineElement as ae, BarElement as oe, PointElement as ie, LineController as le, BarController as re, PieController as ne, ScatterController as se, CategoryScale as de, LinearScale as ue, Filler as ce, Tooltip as pe } from "chart.js";
1
+ import "../../Chart.vue_vue_type_style_index_0_scoped_026d82c5_lang.css"; import { defineComponent as J, computed as i, ref as T, onMounted as Q, watch as C, nextTick as Y, openBlock as d, createElementBlock as k, Fragment as F, createBlock as v, unref as u, isRef as N, withCtx as x, renderSlot as L, createCommentVNode as y, createElementVNode as p, normalizeClass as _, createVNode as H, normalizeStyle as ee } from "vue";
2
+ import { useVModel as te } from "@vueuse/core";
3
+ import { Chart as P, ArcElement as ae, LineElement as oe, BarElement as ie, PointElement as le, LineController as re, BarController as ne, PieController as se, ScatterController as de, CategoryScale as ue, LinearScale as ce, Filler as pe, Tooltip as he } from "chart.js";
4
4
  import { HoverVerticalLine as me } from "./plugins/HoverVerticalLine.js";
5
- import { formatValue as H, calcStepSize as he } from "./utils/utils.js";
6
- import { DEFAULT_TICK_COUNT as fe, DEFAULT_MIN_VISIBLE as ve, DEFAULT_MAX_VISIBLE as ye, COLOR_PALETTE as be, POINT_BORDER_COLOR as ge, TICK_LABEL_COLOR as U, TICK_LABEL_FONT as P, GRID_LINE_COLOR as z } from "./consts.js";
5
+ import { formatValue as U, calcStepSize as fe } from "./utils/utils.js";
6
+ import { DEFAULT_TICK_COUNT as ve, DEFAULT_MIN_VISIBLE as ye, DEFAULT_MAX_VISIBLE as be, COLOR_PALETTE as ge, POINT_BORDER_COLOR as Te, TICK_LABEL_COLOR as z, TICK_LABEL_FONT as M, GRID_LINE_COLOR as $ } from "./consts.js";
7
7
  import { ChartType as n } from "./types.js";
8
- import { useTooltipPosition as Te } from "./composables/useTooltipPosition.js";
9
- import Ce from "./ChartTooltip.vue.js";
10
- import ke from "./ChartLegend.vue.js";
11
- import xe from "./ChartHeader.vue.js";
12
- import { hexColorToRgba as Le } from "../../utils/color.js";
13
- import { useChartValues as Se } from "./composables/useChartValues.js";
14
- import we from "./ChartLoader.vue.js";
15
- import Be from "../emptyState/v4/EmptyStateV4.vue.js";
16
- import Ie from "./SettingsHeader.vue.js";
17
- const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve = { class: "chart" }, Re = {
8
+ import { useTooltipPosition as Ce } from "./composables/useTooltipPosition.js";
9
+ import ke from "./ChartTooltip.vue.js";
10
+ import xe from "./ChartLegend.vue.js";
11
+ import Le from "./ChartHeader.vue.js";
12
+ import { hexColorToRgba as Se } from "../../utils/color.js";
13
+ import { useChartValues as we } from "./composables/useChartValues.js";
14
+ import Be from "./ChartLoader.vue.js";
15
+ import Ie from "../emptyState/v4/EmptyStateV4.vue.js";
16
+ import Ae from "./SettingsHeader.vue.js";
17
+ const Ee = { class: "chart-container" }, Ve = { class: "header-wrapper" }, Re = { class: "chart" }, De = {
18
18
  key: 0,
19
19
  class: "chart-sidebar"
20
- }, qe = /* @__PURE__ */ q({
20
+ }, Je = /* @__PURE__ */ J({
21
21
  __name: "Chart",
22
22
  props: {
23
23
  dataSets: { default: () => [] },
@@ -26,13 +26,13 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
26
26
  parsing: { default: void 0 },
27
27
  xAxisFormat: { default: "string" },
28
28
  yAxisFormat: { default: "number" },
29
- tickCount: { default: fe },
29
+ tickCount: { default: ve },
30
30
  header: { default: "" },
31
31
  subheader: { default: "" },
32
32
  withSubheaderTooltip: { type: Boolean, default: !1 },
33
33
  hideLegend: { type: Boolean, default: !1 },
34
- minVisible: { default: ve },
35
- maxVisible: { default: ye },
34
+ minVisible: { default: ye },
35
+ maxVisible: { default: be },
36
36
  loading: { type: Boolean, default: !1 },
37
37
  noDataIcon: { default: "file-x" },
38
38
  noDataTitle: { default: "No data to display" },
@@ -42,10 +42,9 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
42
42
  withAnimation: { type: Boolean, default: !0 }
43
43
  },
44
44
  emits: ["update:chartType", "update:visibleIds"],
45
- setup(a, { emit: L }) {
45
+ setup(a, { emit: S }) {
46
46
  const t = a;
47
- N.register(
48
- te,
47
+ P.register(
49
48
  ae,
50
49
  oe,
51
50
  ie,
@@ -57,50 +56,55 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
57
56
  ue,
58
57
  ce,
59
58
  pe,
59
+ he,
60
60
  me
61
61
  );
62
- const c = ee(t, "chartType", L), M = l(
62
+ const c = te(t, "chartType", S), K = i(
63
63
  () => t.withAnimation ? "" : "none"
64
- ), m = g(null);
64
+ ), h = T(null);
65
65
  let s = null;
66
- const S = l(() => t.dataSets.length === 0), w = l(() => !t.loading && !S.value), y = () => {
67
- m.value && (s && s.destroy(), s = new N(m.value, I.value));
68
- }, $ = () => {
69
- s && (s.data.datasets = b.value, s.options = I.value.options, s.update(M.value));
66
+ const w = i(() => t.dataSets.length === 0), B = i(() => !t.loading && !w.value), b = () => {
67
+ h.value && (s && s.destroy(), s = new P(h.value, E.value));
68
+ }, W = () => {
69
+ s && (s.data.datasets = g.value, s.options = E.value.options, s.update(K.value));
70
70
  };
71
- J(y), T(() => t.chartType, y), T(w, async (e) => {
72
- e && (await Q(), y());
73
- }), T([() => t.visibleIds, () => t.dataSets], $);
74
- const h = l(
71
+ Q(b), C(() => t.chartType, b), C(B, async (e) => {
72
+ e && (await Y(), b());
73
+ }), C([() => t.visibleIds, () => t.dataSets], W);
74
+ const m = i(
75
75
  () => t.chartType === n.StackedLine || t.chartType === n.StackedBar
76
- ), K = l(
76
+ ), I = i(
77
77
  () => t.chartType === n.Line || t.chartType === n.StackedLine
78
- ), B = l(
78
+ ), f = i(
79
79
  () => t.dataSets.filter((e) => t.visibleIds.includes(e.id))
80
- ), b = l(() => B.value.map((e, o) => {
81
- const i = e.color || be[o] || "#000000";
80
+ ), g = i(() => f.value.map((e, o) => {
81
+ const l = e.color || ge[o] || "#000000";
82
82
  return {
83
83
  ...e,
84
- fill: h.value ? "start" : void 0,
85
- backgroundColor: Le(
86
- i,
84
+ fill: m.value ? "start" : void 0,
85
+ backgroundColor: Se(
86
+ l,
87
87
  t.chartType === n.StackedLine ? 10 : 70
88
88
  ),
89
- borderColor: i,
90
- pointBackgroundColor: i,
91
- pointHoverBorderColor: i,
89
+ borderColor: l,
90
+ pointBackgroundColor: l,
91
+ pointHoverBorderColor: l,
92
92
  maxBarThickness: 50,
93
93
  clip: 5,
94
94
  // draw a bit outside the chart area
95
95
  icon: e.icon || null,
96
96
  iconType: e.iconType || "branded"
97
97
  };
98
- })), I = l(
98
+ })), A = i(
99
+ () => f.value.length && f.value.every(
100
+ (e) => e.data.length === 1
101
+ )
102
+ ), E = i(
99
103
  () => ({
100
104
  type: t.chartType == n.Bar || t.chartType === n.StackedBar ? "bar" : "line",
101
105
  // Chart Data
102
106
  data: {
103
- datasets: b.value
107
+ datasets: g.value
104
108
  },
105
109
  // Chart Options
106
110
  options: {
@@ -114,7 +118,7 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
114
118
  plugins: {
115
119
  legend: { display: !1 },
116
120
  title: { display: !1 },
117
- hoverVerticalLine: K.value,
121
+ hoverVerticalLine: I.value,
118
122
  // tooltip
119
123
  tooltip: {
120
124
  enabled: !1,
@@ -124,7 +128,7 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
124
128
  },
125
129
  callbacks: {
126
130
  footer: (e) => {
127
- const o = e.reduce((i, j) => i + (j.parsed.y || 0), 0);
131
+ const o = e.reduce((l, q) => l + (q.parsed.y || 0), 0);
128
132
  return ["Total", String(o)];
129
133
  }
130
134
  }
@@ -147,12 +151,12 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
147
151
  tension: 0.3
148
152
  },
149
153
  point: {
150
- radius: 1,
154
+ radius: A.value ? 3 : 1,
151
155
  hitRadius: 8,
152
156
  borderWidth: 0,
153
157
  hoverRadius: 4,
154
158
  hoverBorderWidth: 2,
155
- pointHoverBackgroundColor: ge
159
+ pointHoverBackgroundColor: Te
156
160
  },
157
161
  bar: {
158
162
  borderRadius: 4
@@ -162,16 +166,17 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
162
166
  // Horizontal Axis (X)
163
167
  x: {
164
168
  beginAtZero: !0,
169
+ offset: !I.value || A.value,
165
170
  border: { display: !1 },
166
- stacked: h.value,
171
+ stacked: m.value,
167
172
  // stack on top of each other
168
173
  // ticks
169
174
  ticks: {
170
- color: U,
171
- font: P,
175
+ color: z,
176
+ font: M,
172
177
  padding: 4,
173
178
  callback: function(e) {
174
- return H(
179
+ return U(
175
180
  this.getLabelForValue(e),
176
181
  t.xAxisFormat
177
182
  );
@@ -179,7 +184,7 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
179
184
  },
180
185
  // grid lines
181
186
  grid: {
182
- color: z,
187
+ color: $,
183
188
  drawOnChartArea: !1,
184
189
  drawTicks: !0,
185
190
  drawBorder: !1,
@@ -191,21 +196,21 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
191
196
  beginAtZero: !0,
192
197
  border: { display: !1 },
193
198
  // hide left borderline
194
- stacked: h.value,
199
+ stacked: m.value,
195
200
  // stack on top of each other
196
201
  // ticks
197
202
  ticks: {
198
- color: U,
199
- font: P,
203
+ color: z,
204
+ font: M,
200
205
  padding: 8,
201
- stepSize: R.value,
202
- min: V.value,
203
- max: R.value * t.tickCount,
204
- callback: (e) => H(e, t.yAxisFormat)
206
+ stepSize: O.value,
207
+ min: D.value,
208
+ max: O.value * t.tickCount,
209
+ callback: (e) => U(e, t.yAxisFormat)
205
210
  },
206
211
  // grid lines
207
212
  grid: {
208
- color: z,
213
+ color: $,
209
214
  drawOnChartArea: !0,
210
215
  drawTicks: !1
211
216
  }
@@ -213,78 +218,78 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
213
218
  }
214
219
  }
215
220
  })
216
- ), W = l(
217
- () => b.value.reduce((e, o) => (e[o.id] = o.borderColor, e), {})
218
- ), Z = l(() => t.dataSets.map((e) => ({
221
+ ), Z = i(
222
+ () => g.value.reduce((e, o) => (e[o.id] = o.borderColor, e), {})
223
+ ), G = i(() => t.dataSets.map((e) => ({
219
224
  id: e.id,
220
225
  label: e.label,
221
226
  caption: e.caption || null,
222
- color: W.value[e.id] || null,
227
+ color: Z.value[e.id] || null,
223
228
  icon: e.icon || null,
224
229
  iconType: e.iconType || "branded"
225
- }))), A = g(null), r = g(null), { position: E } = Te(
226
- m,
227
- A,
230
+ }))), V = T(null), r = T(null), { position: R } = Ce(
231
+ h,
232
+ V,
228
233
  r
229
- ), G = l(() => ({
230
- left: `${E.value.left}px`,
231
- top: `${E.value.top}px`,
234
+ ), X = i(() => ({
235
+ left: `${R.value.left}px`,
236
+ top: `${R.value.top}px`,
232
237
  opacity: r.value?.opacity || 0
233
- })), { minValue: V, maxValue: X } = Se({
238
+ })), { minValue: D, maxValue: j } = we({
234
239
  parsingConfig: t.parsing,
235
- dataSets: B,
236
- isStacked: h
237
- }), R = l(
238
- () => he(V.value, X.value, t.tickCount)
240
+ dataSets: f,
241
+ isStacked: m
242
+ }), O = i(
243
+ () => fe(D.value, j.value, t.tickCount)
239
244
  );
240
- return (e, o) => (d(), C(O, null, [
241
- a.withSettingsHeader ? (d(), f(Ie, {
245
+ return (e, o) => (d(), k(F, null, [
246
+ a.withSettingsHeader ? (d(), v(Ae, {
242
247
  key: 0,
243
248
  "chart-type": u(c),
244
- "onUpdate:chart-type": o[0] || (o[0] = (i) => D(c) ? c.value = i : null),
249
+ "onUpdate:chart-type": o[0] || (o[0] = (l) => N(c) ? c.value = l : null),
245
250
  "hide-legend": a.hideLegend
246
251
  }, {
247
- metric: k(() => [
248
- x(e.$slots, "metric", {}, void 0, !0)
252
+ metric: x(() => [
253
+ L(e.$slots, "metric", {}, void 0, !0)
249
254
  ]),
250
- breakdowns: k(() => [
251
- x(e.$slots, "breakdowns", {}, void 0, !0)
255
+ breakdowns: x(() => [
256
+ L(e.$slots, "breakdowns", {}, void 0, !0)
252
257
  ]),
253
258
  _: 3
254
- }, 8, ["chart-type", "hide-legend"])) : v("", !0),
255
- p("div", Ae, [
256
- u(w) ? (d(), C(O, { key: 0 }, [
259
+ }, 8, ["chart-type", "hide-legend"])) : y("", !0),
260
+ p("div", Ee, [
261
+ u(B) ? (d(), k(F, { key: 0 }, [
257
262
  p("section", {
258
- class: Y(["chart-content", [{ "with-legend": !a.hideLegend }]])
263
+ class: _(["chart-content", [{ "with-legend": !a.hideLegend }]])
259
264
  }, [
260
- p("div", Ee, [
261
- F(xe, {
265
+ p("div", Ve, [
266
+ H(Le, {
262
267
  "chart-type": u(c),
263
- "onUpdate:chart-type": o[1] || (o[1] = (i) => D(c) ? c.value = i : null),
268
+ "onUpdate:chart-type": o[1] || (o[1] = (l) => N(c) ? c.value = l : null),
264
269
  "with-settings-header": a.withSettingsHeader,
265
270
  header: a.header,
266
271
  subheader: a.subheader,
267
272
  "with-subheader-tooltip": a.withSubheaderTooltip
268
273
  }, {
269
- "subheader-tooltip": k(() => [
270
- x(e.$slots, "subheader-tooltip", {}, void 0, !0)
274
+ "subheader-tooltip": x(() => [
275
+ L(e.$slots, "subheader-tooltip", {}, void 0, !0)
271
276
  ]),
272
277
  _: 3
273
278
  }, 8, ["chart-type", "with-settings-header", "header", "subheader", "with-subheader-tooltip"])
274
279
  ]),
275
- p("div", Ve, [
280
+ p("div", Re, [
276
281
  p("canvas", {
277
282
  ref_key: "chartRef",
278
- ref: m,
283
+ ref: h,
279
284
  class: "chart__canvas"
280
285
  }, null, 512),
281
286
  p("div", {
282
287
  ref_key: "tooltipRef",
283
- ref: A,
288
+ ref: V,
284
289
  class: "chart__tooltip",
285
- style: _(u(G))
290
+ style: ee(u(X))
286
291
  }, [
287
- r.value ? (d(), f(Ce, {
292
+ r.value ? (d(), v(ke, {
288
293
  key: 0,
289
294
  title: String(r.value.title),
290
295
  "data-points": r.value.dataPoints,
@@ -292,28 +297,28 @@ const Ae = { class: "chart-container" }, Ee = { class: "header-wrapper" }, Ve =
292
297
  "y-axis-format": a.yAxisFormat,
293
298
  "total-label": r.value.footer[0],
294
299
  "total-value": Number(r.value.footer[1])
295
- }, null, 8, ["title", "data-points", "x-axis-format", "y-axis-format", "total-label", "total-value"])) : v("", !0)
300
+ }, null, 8, ["title", "data-points", "x-axis-format", "y-axis-format", "total-label", "total-value"])) : y("", !0)
296
301
  ], 4)
297
302
  ])
298
303
  ], 2),
299
- a.hideLegend ? v("", !0) : (d(), C("section", Re, [
300
- F(ke, {
301
- items: u(Z),
304
+ a.hideLegend ? y("", !0) : (d(), k("section", De, [
305
+ H(xe, {
306
+ items: u(G),
302
307
  "visible-ids": a.visibleIds,
303
308
  "max-limit-tooltip-text": a.maxLimitTooltipText,
304
- "onUpdate:visibleIds": o[2] || (o[2] = (i) => L("update:visibleIds", i))
309
+ "onUpdate:visibleIds": o[2] || (o[2] = (l) => S("update:visibleIds", l))
305
310
  }, null, 8, ["items", "visible-ids", "max-limit-tooltip-text"])
306
311
  ]))
307
- ], 64)) : a.loading ? (d(), f(we, { key: 1 })) : u(S) ? (d(), f(u(Be), {
312
+ ], 64)) : a.loading ? (d(), v(Be, { key: 1 })) : u(w) ? (d(), v(u(Ie), {
308
313
  key: 2,
309
314
  title: a.noDataTitle,
310
315
  subtitle: a.noDataSubtitle,
311
316
  "icon-name": a.noDataIcon
312
- }, null, 8, ["title", "subtitle", "icon-name"])) : v("", !0)
317
+ }, null, 8, ["title", "subtitle", "icon-name"])) : y("", !0)
313
318
  ])
314
319
  ], 64));
315
320
  }
316
321
  });
317
322
  export {
318
- qe as default
323
+ Je as default
319
324
  };
@@ -34,4 +34,12 @@ export declare const MULTIPLE_DATASETS_DATE: ({
34
34
  value: number;
35
35
  }[];
36
36
  })[];
37
+ export declare const MULTIPLE_DATASETS_SINGLE_DATE: {
38
+ id: string;
39
+ label: string;
40
+ data: {
41
+ date: string;
42
+ value: number;
43
+ }[];
44
+ }[];
37
45
  export declare const generateMockData: (numSeries?: number) => any[];
@@ -25,6 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
25
  optionIconKey?: string;
26
26
  optionImageKey?: string;
27
27
  optionIconType?: IconTypes;
28
+ loadingOverride?: boolean;
28
29
  }>, {
29
30
  label: string;
30
31
  testId: string;
@@ -42,10 +43,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
42
43
  optionIconKey: string;
43
44
  optionImageKey: string;
44
45
  optionIconType: any;
46
+ loadingOverride: boolean;
45
47
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
48
  "update:selectedCondition": (value: SelectedCondition) => void;
47
49
  "update:appliedSelections": (value: unknown) => void;
48
50
  clear: () => void;
51
+ closed: () => void;
49
52
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
50
53
  selectedCondition: SelectedCondition | null;
51
54
  appliedSelections: unknown | unknown[];
@@ -67,6 +70,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
67
70
  optionIconKey?: string;
68
71
  optionImageKey?: string;
69
72
  optionIconType?: IconTypes;
73
+ loadingOverride?: boolean;
70
74
  }>, {
71
75
  label: string;
72
76
  testId: string;
@@ -84,8 +88,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
84
88
  optionIconKey: string;
85
89
  optionImageKey: string;
86
90
  optionIconType: any;
91
+ loadingOverride: boolean;
87
92
  }>>> & {
88
93
  onClear?: () => any;
94
+ onClosed?: () => any;
89
95
  "onUpdate:selectedCondition"?: (value: SelectedCondition) => any;
90
96
  "onUpdate:appliedSelections"?: (value: unknown) => any;
91
97
  }, {
@@ -105,6 +111,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
105
111
  loadMoreFn: () => Promise<any[]>;
106
112
  fetchDataDebounceTime: number;
107
113
  autoFocusSearch: boolean;
114
+ loadingOverride: boolean;
108
115
  }>;
109
116
  export default _default;
110
117
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./ConditionalDropdown.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_2c6a03f9_lang.css"; //*');
4
- const n = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2c6a03f9"]]);
3
+ // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_03022bc9_lang.css"; //*');
4
+ const n = /* @__PURE__ */ _(o, [["__scopeId", "data-v-03022bc9"]]);
5
5
  export {
6
6
  n as default
7
7
  };
@@ -1,21 +1,21 @@
1
- import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_2c6a03f9_lang.css"; import { defineComponent as $, computed as C, ref as s, watch as O, onMounted as j, openBlock as D, createBlock as W, unref as d, withCtx as f, createVNode as g, mergeProps as q, createElementVNode as G, isRef as H, normalizeProps as J, guardReactiveProps as X, createElementBlock as Y, createTextVNode as Z, toDisplayString as _, createCommentVNode as ee } from "vue";
1
+ import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_03022bc9_lang.css"; import { defineComponent as W, computed as O, ref as s, watch as k, onMounted as q, openBlock as L, createBlock as G, unref as d, withCtx as f, createVNode as y, mergeProps as H, createElementVNode as J, isRef as X, normalizeProps as Y, guardReactiveProps as Z, createElementBlock as _, createTextVNode as ee, toDisplayString as le, createCommentVNode as oe } from "vue";
2
2
  import N from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
- import le from "./ChipDropdownTrigger.vue.js";
5
+ import ae from "./ChipDropdownTrigger.vue.js";
6
6
  import "./AppDropdownTrigger.vue.js";
7
- import oe from "./ButtonDropdownTrigger.vue.js";
7
+ import te from "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import "./OptionV4.vue.js";
11
11
  import "./ConditionalDropdown.vue.js";
12
- import ae from "../../search/v4/SearchV4.vue.js";
13
- import te from "../../typography/v4/Typography.vue.js";
14
- import { useDebounceFn as ne } from "@vueuse/core";
15
- const ie = { class: "conditional-container" }, ue = {
12
+ import ne from "../../search/v4/SearchV4.vue.js";
13
+ import ie from "../../typography/v4/Typography.vue.js";
14
+ import { useDebounceFn as ue } from "@vueuse/core";
15
+ const re = { class: "conditional-container" }, se = {
16
16
  key: 0,
17
17
  class: "custom-list-area"
18
- }, Oe = /* @__PURE__ */ $({
18
+ }, Ke = /* @__PURE__ */ W({
19
19
  __name: "ConditionalDropdown",
20
20
  props: {
21
21
  selectedCondition: null,
@@ -37,49 +37,51 @@ const ie = { class: "conditional-container" }, ue = {
37
37
  optionFlagKey: { default: "" },
38
38
  optionIconKey: { default: "" },
39
39
  optionImageKey: { default: "" },
40
- optionIconType: { default: null }
40
+ optionIconType: { default: null },
41
+ loadingOverride: { type: Boolean, default: !1 }
41
42
  },
42
- emits: ["update:selectedCondition", "update:appliedSelections", "clear"],
43
- setup(r, { emit: k }) {
44
- const e = r, h = C({
43
+ emits: ["update:selectedCondition", "update:appliedSelections", "clear", "closed"],
44
+ setup(u, { emit: h }) {
45
+ const e = u, S = O({
45
46
  get: () => e.appliedSelections,
46
47
  set: (l) => {
47
- k("update:appliedSelections", l);
48
+ h("update:appliedSelections", l);
48
49
  }
49
- }), n = C({
50
+ }), n = O({
50
51
  get: () => e.selectedCondition || e.conditionalOptions[0],
51
52
  set: (l) => {
52
- k("update:selectedCondition", l);
53
+ h("update:selectedCondition", l);
53
54
  }
54
- }), w = s(null), c = s(!0), a = s([]), u = s(
55
- Array.isArray(e.appliedSelections) ? e.appliedSelections : [e.appliedSelections]
56
- ), K = s(!0), p = s(!1), S = s(!1), i = s(e.searchQuery), L = s(""), m = s(e.label), T = s([]), F = C(() => (!i.value || i.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} keywords to begin` : "No results found"), U = C(() => {
55
+ }), F = () => {
56
+ const { appliedSelections: l } = e;
57
+ return l ? Array.isArray(l) ? l : [l] : [];
58
+ }, w = s(null), c = s(!0), a = s([]), r = s(F()), K = s(!0), p = s(!1), C = s(!1), i = s(e.searchQuery), B = s(""), m = s(e.label), T = s([]), U = O(() => (!i.value || i.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} keywords to begin` : "No results found"), I = O(() => {
57
59
  const l = c.value ? 4 : 4.5, t = a.value.length > 4 ? a.value.length : l;
58
60
  if (e.groupedOptions) {
59
61
  let o = 0;
60
- return a.value.forEach((y) => {
61
- y.options && (o = o + y.options.length);
62
+ return a.value.forEach((g) => {
63
+ g.options && (o = o + g.options.length);
62
64
  }), o > 4 ? o : l;
63
65
  }
64
66
  return t > l ? t : l;
65
- }), B = (l, t) => {
66
- if (e.infiniteLoading && n.value.multi && Array.isArray(u.value) && u.value.length && l && t.length) {
67
- const o = [], y = u.value.filter(
67
+ }), M = (l, t) => {
68
+ if (e.infiniteLoading && n.value.multi && Array.isArray(r.value) && r.value.length && l && t.length) {
69
+ const o = [], g = r.value.filter(
68
70
  (v) => v[e.optionNameKey].includes(l)
69
71
  );
70
72
  return t.forEach((v) => {
71
- y.find(
72
- (z) => z[e.comparingKey] === v[e.comparingKey]
73
+ g.find(
74
+ (j) => j[e.comparingKey] === v[e.comparingKey]
73
75
  ) && o.push(v[e.comparingKey]);
74
- }), y.filter(
76
+ }), g.filter(
75
77
  (v) => !o.includes(v[e.comparingKey])
76
78
  );
77
79
  }
78
80
  return [];
79
- }, I = async (l) => {
81
+ }, A = async (l) => {
80
82
  try {
81
83
  p.value = !0;
82
- const t = await e.fetchFnCallback(l), o = B(
84
+ const t = await e.fetchFnCallback(l), o = M(
83
85
  l,
84
86
  t
85
87
  );
@@ -87,21 +89,21 @@ const ie = { class: "conditional-container" }, ue = {
87
89
  } catch (t) {
88
90
  p.value = !1, console.error("Error fetching data:", t);
89
91
  }
90
- }, M = async () => {
92
+ }, E = async () => {
91
93
  if (e.infiniteLoading)
92
94
  try {
93
- S.value = !0;
95
+ C.value = !0;
94
96
  const l = await e.loadMoreFn();
95
- S.value = !1, Array.isArray(l) && (a.value = [...a.value, ...l]);
97
+ C.value = !1, Array.isArray(l) && (a.value = [...a.value, ...l]);
96
98
  } catch (l) {
97
- S.value = !1, console.error("Error fetching data:", l);
99
+ C.value = !1, console.error("Error fetching data:", l);
98
100
  }
99
- }, E = ne(
100
- I,
101
+ }, V = ue(
102
+ A,
101
103
  e.fetchDataDebounceTime
102
104
  ), b = (l) => {
103
- l.length >= e.minCharsToStart ? (E(l), w.value?.scrollTo(0)) : e.infiniteLoading && n.value.multi ? a.value = T.value || [] : a.value = [];
104
- }, V = () => {
105
+ l.length >= e.minCharsToStart ? (V(l), w.value?.scrollTo(0)) : e.infiniteLoading && n.value.multi ? a.value = T.value || [] : a.value = [];
106
+ }, x = () => {
105
107
  i.value && a.value.length && !p.value && !n.value.multi ? a.value[0].conditionalOptions ? a.value[0] = {
106
108
  name: i.value,
107
109
  conditionalOptions: !0,
@@ -116,119 +118,129 @@ const ie = { class: "conditional-container" }, ue = {
116
118
  },
117
119
  ...a.value
118
120
  ] : a.value.length && a.value[0].conditionalOptions && a.value.shift();
119
- }, A = () => {
120
- c.value && u.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${n.value.label.toLowerCase()}`;
121
+ }, D = () => {
122
+ c.value && r.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${n.value.label.toLowerCase()}`;
121
123
  };
122
- O(i, () => {
124
+ k(i, () => {
123
125
  b(i.value);
124
- }), O([n, a], () => {
125
- V();
126
- });
127
- const x = () => {
128
- c.value && u.value.length === 0 ? (n.value = null, h.value = [], n.value = null) : (L.value = i.value, h.value = c.value ? [...u.value] : { ...u.value }, K.value = c.value), A();
126
+ }), k([n, a], () => {
127
+ x();
128
+ }), k(
129
+ () => e.loadingOverride,
130
+ (l, t) => {
131
+ !l && t && !e.infiniteLoading && A(e.searchQuery);
132
+ }
133
+ );
134
+ const P = () => {
135
+ c.value && r.value.length === 0 ? (n.value = null, S.value = [], n.value = null) : (B.value = i.value, S.value = c.value ? [...r.value] : { ...r.value }, K.value = c.value), D();
129
136
  };
130
- O(n, (l, t) => {
131
- n.value.multi ? (p.value = !0, !t.multi && l.multi && Array.isArray(e.appliedSelections) && (u.value = e.appliedSelections), setTimeout(() => {
137
+ k(n, (l, t) => {
138
+ n.value.multi ? (p.value = !0, !t.multi && l.multi && Array.isArray(e.appliedSelections) && (r.value = e.appliedSelections), setTimeout(() => {
132
139
  p.value = !1, c.value = !0;
133
140
  }, 100)) : setTimeout(() => {
134
141
  c.value = !1;
135
142
  }, 100);
136
143
  });
137
- const P = (l) => {
144
+ const Q = (l) => {
138
145
  T.value = l;
139
- }, Q = () => {
140
- u.value = [], h.value = [], n.value = null, m.value = e.label, i.value = "", k("clear");
141
- }, R = (l) => {
142
- l && n.value.multi && e.infiniteLoading && u.value && (a.value = u.value, i.value && b(i.value));
146
+ }, R = () => {
147
+ r.value = [], S.value = [], n.value = null, m.value = e.label, i.value = "", h("clear");
148
+ }, z = (l) => {
149
+ l && n.value.multi && e.infiniteLoading && r.value && (a.value = r.value, i.value && b(i.value));
150
+ };
151
+ q(() => {
152
+ (e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && b(e.searchQuery), D();
153
+ });
154
+ const $ = () => {
155
+ h("closed");
143
156
  };
144
- return j(() => {
145
- (e.searchQuery || !e.infiniteLoading) && b(e.searchQuery), A();
146
- }), (l, t) => (D(), W(d(N), {
157
+ return (l, t) => (L(), G(d(N), {
147
158
  ref_key: "dropdownRef",
148
159
  ref: w,
149
- selected: u.value,
150
- "onUpdate:selected": t[2] || (t[2] = (o) => u.value = o),
160
+ selected: r.value,
161
+ "onUpdate:selected": t[2] || (t[2] = (o) => r.value = o),
151
162
  "predefined-trigger": "chip",
152
- "display-value": (o) => o?.[r.optionNameKey],
163
+ "display-value": (o) => o?.[u.optionNameKey],
153
164
  multi: c.value,
154
165
  options: a.value,
155
166
  placeholder: m.value,
156
167
  "search-placeholder": "Search",
157
- "option-name-key": r.optionNameKey,
168
+ "option-name-key": u.optionNameKey,
158
169
  "with-conditions": "",
159
170
  "inline-search": "",
160
- "custom-number-of-displayed-options": d(U),
171
+ "custom-number-of-displayed-options": d(I),
161
172
  "options-list-width": "330px",
162
- loading: p.value,
163
- "load-more-loading": S.value,
164
- "comparing-key": r.comparingKey,
165
- "is-open": r.isOpen,
166
- "infinite-loading": r.infiniteLoading,
167
- "show-select-all": !r.infiniteLoading && !i.value,
168
- "grouped-options": r.groupedOptions,
169
- "option-flag-key": r.optionFlagKey,
170
- "option-image-key": r.optionImageKey,
171
- "option-icon-key": r.optionIconKey,
172
- "option-icon-type": r.optionIconType,
173
- "onUpdate:isOpen": R,
173
+ loading: p.value || u.loadingOverride,
174
+ "load-more-loading": C.value,
175
+ "comparing-key": u.comparingKey,
176
+ "is-open": u.isOpen,
177
+ "infinite-loading": u.infiniteLoading,
178
+ "show-select-all": !u.infiniteLoading && !i.value,
179
+ "grouped-options": u.groupedOptions,
180
+ "option-flag-key": u.optionFlagKey,
181
+ "option-image-key": u.optionImageKey,
182
+ "option-icon-key": u.optionIconKey,
183
+ "option-icon-type": u.optionIconType,
184
+ "onUpdate:isOpen": z,
174
185
  onOnsearch: b,
175
- onApply: x,
176
- onLoadMore: M,
177
- onUnsavedSelectionUpdate: P
186
+ onApply: P,
187
+ onLoadMore: E,
188
+ onUnsavedSelectionUpdate: Q,
189
+ onClosed: $
178
190
  }, {
179
191
  "dropdown-trigger": f(({ defaultTriggerProps: o }) => [
180
- g(d(le), q(o, {
192
+ y(d(ae), H(o, {
181
193
  label: m.value,
182
- "selected-option": d(h),
194
+ "selected-option": d(S),
183
195
  multi: K.value,
184
196
  "cancel-all-selected-display": "",
185
- "display-value-in-quotes": !Array.isArray(u.value) && u.value.conditionalOptions,
186
- onClear: Q
197
+ "display-value-in-quotes": !Array.isArray(r.value) && r.value.conditionalOptions,
198
+ onClear: R
187
199
  }), null, 16, ["label", "selected-option", "multi", "display-value-in-quotes"])
188
200
  ]),
189
201
  "dropdown-conditions": f(() => [
190
- G("div", ie, [
191
- g(d(N), {
202
+ J("div", re, [
203
+ y(d(N), {
192
204
  selected: d(n),
193
- "onUpdate:selected": t[0] || (t[0] = (o) => H(n) ? n.value = o : null),
194
- options: r.conditionalOptions,
205
+ "onUpdate:selected": t[0] || (t[0] = (o) => X(n) ? n.value = o : null),
206
+ options: u.conditionalOptions,
195
207
  "option-name-key": "label",
196
208
  "display-value": (o) => o?.label,
197
209
  container: ".conditional-container",
198
210
  size: "small"
199
211
  }, {
200
212
  "dropdown-trigger": f(({ buttonTriggerProps: o }) => [
201
- g(d(oe), J(X(o)), null, 16)
213
+ y(d(te), Y(Z(o)), null, 16)
202
214
  ]),
203
215
  _: 1
204
216
  }, 8, ["selected", "options", "display-value"])
205
217
  ])
206
218
  ]),
207
219
  "inline-search": f(() => [
208
- g(d(ae), {
220
+ y(d(ne), {
209
221
  modelValue: i.value,
210
222
  "onUpdate:modelValue": t[1] || (t[1] = (o) => i.value = o),
211
223
  class: "inline-search",
212
224
  placeholder: "Search",
213
225
  variant: "transparent",
214
226
  size: "md",
215
- "auto-focus": r.autoFocusSearch
227
+ "auto-focus": u.autoFocusSearch
216
228
  }, null, 8, ["modelValue", "auto-focus"])
217
229
  ]),
218
230
  "custom-list-area": f(() => [
219
- !a.value.length && !p.value ? (D(), Y("div", ue, [
220
- g(te, { variant: "body1" }, {
231
+ !a.value.length && !p.value ? (L(), _("div", se, [
232
+ y(ie, { variant: "body1" }, {
221
233
  default: f(() => [
222
- Z(_(d(F)), 1)
234
+ ee(le(d(U)), 1)
223
235
  ]),
224
236
  _: 1
225
237
  })
226
- ])) : ee("", !0)
238
+ ])) : oe("", !0)
227
239
  ]),
228
240
  _: 1
229
241
  }, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type"]));
230
242
  }
231
243
  });
232
244
  export {
233
- Oe as default
245
+ Ke as default
234
246
  };
@@ -3651,6 +3651,10 @@ declare const DropdownTypes: () => (({
3651
3651
  type: import("vue").PropType<boolean>;
3652
3652
  default: boolean;
3653
3653
  };
3654
+ loadingOverride: {
3655
+ type: import("vue").PropType<boolean>;
3656
+ default: boolean;
3657
+ };
3654
3658
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3655
3659
  "update:selectedCondition": (value: {
3656
3660
  label: string;
@@ -3659,6 +3663,7 @@ declare const DropdownTypes: () => (({
3659
3663
  }) => void;
3660
3664
  "update:appliedSelections": (value: unknown) => void;
3661
3665
  clear: () => void;
3666
+ closed: () => void;
3662
3667
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3663
3668
  label: {
3664
3669
  type: import("vue").PropType<string>;
@@ -3751,8 +3756,13 @@ declare const DropdownTypes: () => (({
3751
3756
  type: import("vue").PropType<boolean>;
3752
3757
  default: boolean;
3753
3758
  };
3759
+ loadingOverride: {
3760
+ type: import("vue").PropType<boolean>;
3761
+ default: boolean;
3762
+ };
3754
3763
  }>> & {
3755
3764
  onClear?: () => any;
3765
+ onClosed?: () => any;
3756
3766
  "onUpdate:selectedCondition"?: (value: {
3757
3767
  label: string;
3758
3768
  value: string;
@@ -3776,5 +3786,6 @@ declare const DropdownTypes: () => (({
3776
3786
  loadMoreFn: () => Promise<any[]>;
3777
3787
  fetchDataDebounceTime: number;
3778
3788
  autoFocusSearch: boolean;
3789
+ loadingOverride: boolean;
3779
3790
  }>)[];
3780
3791
  export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, ConditionalDropdown, };
package/index.d.ts CHANGED
@@ -22817,6 +22817,10 @@ declare const _default: {
22817
22817
  type: import("vue").PropType<boolean>;
22818
22818
  default: boolean;
22819
22819
  };
22820
+ loadingOverride: {
22821
+ type: import("vue").PropType<boolean>;
22822
+ default: boolean;
22823
+ };
22820
22824
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22821
22825
  "update:selectedCondition": (value: {
22822
22826
  label: string;
@@ -22825,6 +22829,7 @@ declare const _default: {
22825
22829
  }) => void;
22826
22830
  "update:appliedSelections": (value: unknown) => void;
22827
22831
  clear: () => void;
22832
+ closed: () => void;
22828
22833
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22829
22834
  label: {
22830
22835
  type: import("vue").PropType<string>;
@@ -22917,8 +22922,13 @@ declare const _default: {
22917
22922
  type: import("vue").PropType<boolean>;
22918
22923
  default: boolean;
22919
22924
  };
22925
+ loadingOverride: {
22926
+ type: import("vue").PropType<boolean>;
22927
+ default: boolean;
22928
+ };
22920
22929
  }>> & {
22921
22930
  onClear?: () => any;
22931
+ onClosed?: () => any;
22922
22932
  "onUpdate:selectedCondition"?: (value: {
22923
22933
  label: string;
22924
22934
  value: string;
@@ -22942,6 +22952,7 @@ declare const _default: {
22942
22952
  loadMoreFn: () => Promise<any[]>;
22943
22953
  fetchDataDebounceTime: number;
22944
22954
  autoFocusSearch: boolean;
22955
+ loadingOverride: boolean;
22945
22956
  }>)[];
22946
22957
  Option: {
22947
22958
  new (...args: any[]): {
@@ -23984,6 +23995,10 @@ declare const _default: {
23984
23995
  type: import("vue").PropType<boolean>;
23985
23996
  default: boolean;
23986
23997
  };
23998
+ loadingOverride: {
23999
+ type: import("vue").PropType<boolean>;
24000
+ default: boolean;
24001
+ };
23987
24002
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23988
24003
  "update:selectedCondition": (value: {
23989
24004
  label: string;
@@ -23992,6 +24007,7 @@ declare const _default: {
23992
24007
  }) => void;
23993
24008
  "update:appliedSelections": (value: unknown) => void;
23994
24009
  clear: () => void;
24010
+ closed: () => void;
23995
24011
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23996
24012
  label: {
23997
24013
  type: import("vue").PropType<string>;
@@ -24084,8 +24100,13 @@ declare const _default: {
24084
24100
  type: import("vue").PropType<boolean>;
24085
24101
  default: boolean;
24086
24102
  };
24103
+ loadingOverride: {
24104
+ type: import("vue").PropType<boolean>;
24105
+ default: boolean;
24106
+ };
24087
24107
  }>> & {
24088
24108
  onClear?: () => any;
24109
+ onClosed?: () => any;
24089
24110
  "onUpdate:selectedCondition"?: (value: {
24090
24111
  label: string;
24091
24112
  value: string;
@@ -24109,6 +24130,7 @@ declare const _default: {
24109
24130
  loadMoreFn: () => Promise<any[]>;
24110
24131
  fetchDataDebounceTime: number;
24111
24132
  autoFocusSearch: boolean;
24133
+ loadingOverride: boolean;
24112
24134
  }>;
24113
24135
  Label: {
24114
24136
  new (...args: any[]): {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_lang.css';
1
+ import './IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css';
2
2
  import { AppTriggerTypes as ro } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as po } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.11-rc.51",
3
+ "version": "2.1.11-rc.53",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .chart-container[data-v-277fde76]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;height:388px;border-radius:0 0 6px 6px;width:100%}.header-wrapper[data-v-277fde76]{height:76px}.chart-content[data-v-277fde76]{width:100%}.chart-content.with-legend[data-v-277fde76]{width:calc(100% - 221px)}.chart-sidebar[data-v-277fde76]{border-left:1px solid var(--common-divider)}.chart[data-v-277fde76]{width:100%;height:312px;position:relative}.chart__canvas[data-v-277fde76]{width:100%;height:100%}.chart__tooltip[data-v-277fde76]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px}
@@ -1 +0,0 @@
1
- .custom-list-area[data-v-2c6a03f9]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 43px}.inline-search[data-v-2c6a03f9]{width:100%}.contain-accept[data-v-2c6a03f9]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-2c6a03f9]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-2c6a03f9]{margin-left:4px;display:inline-flex;color:var(--primary-main)}