@ironsource/shared-ui 2.1.12-rc.24 → 2.1.12-rc.26

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 (49) hide show
  1. package/ChartPlane.vue_vue_type_style_index_0_scoped_ff7e556e_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  3. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_683b8a75_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_0_scoped_1f7f7f9c_lang.css +1 -0
  6. package/OptionV4.vue_vue_type_style_index_0_scoped_9560a062_lang.css +1 -0
  7. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  8. package/components/chart/Chart.vue.d.ts +1 -1
  9. package/components/chart/ChartPlane.vue.d.ts +1 -1
  10. package/components/chart/ChartPlane.vue.js +3 -3
  11. package/components/chart/ChartPlane.vue2.js +141 -141
  12. package/components/chart/index.d.ts +24 -24
  13. package/components/chart/utils/utils.d.ts +1 -2
  14. package/components/chart/utils/utils.js +13 -19
  15. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  16. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  17. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  18. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  19. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  20. package/components/dropdown/v4/ConditionalDropdown.vue2.js +144 -131
  21. package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
  22. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  23. package/components/dropdown/v4/DropdownV4.vue2.js +78 -74
  24. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  25. package/components/dropdown/v4/OptionV4.vue2.js +41 -39
  26. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  27. package/components/dropdown/v4/index.d.ts +485 -103
  28. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  29. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  30. package/components/includeExclude/index.d.ts +40 -40
  31. package/components/switch/v4/SwitchV4.vue.d.ts +11 -0
  32. package/components/switch/v4/SwitchV4.vue.js +2 -2
  33. package/components/switch/v4/SwitchV4.vue2.js +39 -26
  34. package/components/switch/v4/index.d.ts +18 -0
  35. package/components/table/v4/DataGrid.vue.js +2 -2
  36. package/components/table/v4/DataGrid.vue2.js +5 -5
  37. package/index.d.ts +1010 -210
  38. package/index.js +1 -1
  39. package/mocks/optionsWithIcons.d.ts +1 -0
  40. package/package.json +1 -1
  41. package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +0 -1
  42. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  43. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css +0 -1
  44. package/DataGrid.vue_vue_type_style_index_0_scoped_086c5b0d_lang.css +0 -1
  45. package/DropdownV4.vue_vue_type_style_index_0_scoped_86b82f0c_lang.css +0 -1
  46. package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +0 -1
  47. package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +0 -1
  48. package/components/chart/composables/useChartValues.d.ts +0 -12
  49. package/components/chart/composables/useChartValues.js +0 -32
@@ -23,12 +23,12 @@ declare const ChartTypes: () => ({
23
23
  yAxisFormat: import("./types").ValueFormat;
24
24
  valueSuffix: string;
25
25
  valuePrefix: string;
26
- dataSets: import("./types").ChartDataSet[];
27
26
  trendTooltip: any;
28
27
  subheader: string;
29
28
  subheaderTooltip: any;
30
29
  trendValue: string | number;
31
30
  trendDirection: TrendDirection;
31
+ dataSets: import("./types").ChartDataSet[];
32
32
  tickCount: number;
33
33
  truncateTickLabels: boolean;
34
34
  keepSubheaderVisible: boolean;
@@ -118,11 +118,6 @@ declare const ChartTypes: () => ({
118
118
  type: import("vue").PropType<string>;
119
119
  default: string;
120
120
  };
121
- dataSets: {
122
- type: import("vue").PropType<import("./types").ChartDataSet[]>;
123
- required: true;
124
- default: () => any[];
125
- };
126
121
  trendTooltip: {
127
122
  type: import("vue").PropType<{
128
123
  header?: string;
@@ -150,6 +145,11 @@ declare const ChartTypes: () => ({
150
145
  type: import("vue").PropType<TrendDirection>;
151
146
  default: TrendDirection;
152
147
  };
148
+ dataSets: {
149
+ type: import("vue").PropType<import("./types").ChartDataSet[]>;
150
+ required: true;
151
+ default: () => any[];
152
+ };
153
153
  tickCount: {
154
154
  type: import("vue").PropType<number>;
155
155
  default: number;
@@ -214,7 +214,7 @@ declare const ChartTypes: () => ({
214
214
  "onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
215
215
  "onUpdate:sortSelected"?: (sortOption: unknown) => any;
216
216
  "onUpdate:chartType"?: (chartType: ChartType) => any;
217
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "dataSets" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts">;
217
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts">;
218
218
  $attrs: {
219
219
  [x: string]: unknown;
220
220
  };
@@ -302,11 +302,6 @@ declare const ChartTypes: () => ({
302
302
  type: import("vue").PropType<string>;
303
303
  default: string;
304
304
  };
305
- dataSets: {
306
- type: import("vue").PropType<import("./types").ChartDataSet[]>;
307
- required: true;
308
- default: () => any[];
309
- };
310
305
  trendTooltip: {
311
306
  type: import("vue").PropType<{
312
307
  header?: string;
@@ -334,6 +329,11 @@ declare const ChartTypes: () => ({
334
329
  type: import("vue").PropType<TrendDirection>;
335
330
  default: TrendDirection;
336
331
  };
332
+ dataSets: {
333
+ type: import("vue").PropType<import("./types").ChartDataSet[]>;
334
+ required: true;
335
+ default: () => any[];
336
+ };
337
337
  tickCount: {
338
338
  type: import("vue").PropType<number>;
339
339
  default: number;
@@ -421,12 +421,12 @@ declare const ChartTypes: () => ({
421
421
  yAxisFormat: import("./types").ValueFormat;
422
422
  valueSuffix: string;
423
423
  valuePrefix: string;
424
- dataSets: import("./types").ChartDataSet[];
425
424
  trendTooltip: any;
426
425
  subheader: string;
427
426
  subheaderTooltip: any;
428
427
  trendValue: string | number;
429
428
  trendDirection: TrendDirection;
429
+ dataSets: import("./types").ChartDataSet[];
430
430
  tickCount: number;
431
431
  truncateTickLabels: boolean;
432
432
  keepSubheaderVisible: boolean;
@@ -536,11 +536,6 @@ declare const ChartTypes: () => ({
536
536
  type: import("vue").PropType<string>;
537
537
  default: string;
538
538
  };
539
- dataSets: {
540
- type: import("vue").PropType<import("./types").ChartDataSet[]>;
541
- required: true;
542
- default: () => any[];
543
- };
544
539
  trendTooltip: {
545
540
  type: import("vue").PropType<{
546
541
  header?: string;
@@ -568,6 +563,11 @@ declare const ChartTypes: () => ({
568
563
  type: import("vue").PropType<TrendDirection>;
569
564
  default: TrendDirection;
570
565
  };
566
+ dataSets: {
567
+ type: import("vue").PropType<import("./types").ChartDataSet[]>;
568
+ required: true;
569
+ default: () => any[];
570
+ };
571
571
  tickCount: {
572
572
  type: import("vue").PropType<number>;
573
573
  default: number;
@@ -710,11 +710,6 @@ declare const ChartTypes: () => ({
710
710
  type: import("vue").PropType<string>;
711
711
  default: string;
712
712
  };
713
- dataSets: {
714
- type: import("vue").PropType<import("./types").ChartDataSet[]>;
715
- required: true;
716
- default: () => any[];
717
- };
718
713
  trendTooltip: {
719
714
  type: import("vue").PropType<{
720
715
  header?: string;
@@ -742,6 +737,11 @@ declare const ChartTypes: () => ({
742
737
  type: import("vue").PropType<TrendDirection>;
743
738
  default: TrendDirection;
744
739
  };
740
+ dataSets: {
741
+ type: import("vue").PropType<import("./types").ChartDataSet[]>;
742
+ required: true;
743
+ default: () => any[];
744
+ };
745
745
  tickCount: {
746
746
  type: import("vue").PropType<number>;
747
747
  default: number;
@@ -829,12 +829,12 @@ declare const ChartTypes: () => ({
829
829
  yAxisFormat: import("./types").ValueFormat;
830
830
  valueSuffix: string;
831
831
  valuePrefix: string;
832
- dataSets: import("./types").ChartDataSet[];
833
832
  trendTooltip: any;
834
833
  subheader: string;
835
834
  subheaderTooltip: any;
836
835
  trendValue: string | number;
837
836
  trendDirection: TrendDirection;
837
+ dataSets: import("./types").ChartDataSet[];
838
838
  tickCount: number;
839
839
  truncateTickLabels: boolean;
840
840
  keepSubheaderVisible: boolean;
@@ -1,4 +1,3 @@
1
1
  import { PrepareTicksLabelArgs, ValueFormat } from '@/components/chart/types';
2
- export declare const calcStepSize: (min: number, max: number, tickCount: number) => number;
3
- export declare const formatValue: (value: number | string | Date, valueFormat: ValueFormat) => string;
2
+ export declare const formatValue: (value: number | string | Date, valueFormat: ValueFormat, formatLowDigits?: boolean) => string;
4
3
  export declare const prepareTickLabel: ({ label, format, availableSpace, truncate, }: PrepareTicksLabelArgs) => string | string[];
@@ -1,27 +1,21 @@
1
- import { format as f } from "date-fns";
2
- import { TICK_LABEL_FONT as c } from "../consts.js";
3
- import { nFormatter as d } from "../../../utils/formatNumbers.js";
4
- import { truncateTextToFit as E } from "../../../utils/text.js";
5
- import { REGEX_LINEBREAK as i } from "../../../consts/regex.js";
6
- const g = (r, t, e) => {
7
- if (e === 0)
8
- return 0;
9
- const n = t - r, o = n / e * 0.4;
10
- return (n + o) / e;
11
- }, a = (r, t) => t === "day" ? f(new Date(r), "EEEE") : t === "number" ? d(r) : t === "date" ? f(new Date(r), "MMM dd") : t === "dateLong" ? f(new Date(r), "MMM dd, yyyy") : String(r), w = ({
1
+ import { format as e } from "date-fns";
2
+ import { TICK_LABEL_FONT as p } from "../consts.js";
3
+ import { nFormatter as E } from "../../../utils/formatNumbers.js";
4
+ import { truncateTextToFit as a } from "../../../utils/text.js";
5
+ import { REGEX_LINEBREAK as m } from "../../../consts/regex.js";
6
+ const c = (r, t, n = !1) => t === "day" ? e(new Date(r), "EEEE") : t === "number" ? E(r, n) : t === "date" ? e(new Date(r), "MMM dd") : t === "dateLong" ? e(new Date(r), "MMM dd, yyyy") : String(r), w = ({
12
7
  label: r,
13
8
  format: t,
14
- availableSpace: e,
15
- truncate: n = !1
9
+ availableSpace: n,
10
+ truncate: i = !1
16
11
  }) => {
17
- const s = i.test(r), o = (p) => {
18
- const m = a(p, t);
19
- return n && e > 0 ? E(m, c, e) : m;
12
+ const s = m.test(r), o = (d) => {
13
+ const f = c(d, t);
14
+ return i && n > 0 ? a(f, p, n) : f;
20
15
  };
21
- return s ? r.split(i).map(o) : o(r);
16
+ return s ? r.split(m).map(o) : o(r);
22
17
  };
23
18
  export {
24
- g as calcStepSize,
25
- a as formatValue,
19
+ c as formatValue,
26
20
  w as prepareTickLabel
27
21
  };
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
12
12
  multi: boolean;
13
13
  cancelAllSelectedDisplay?: boolean;
14
14
  displayValueInQuotes?: boolean;
15
+ shownValuesCount?: number;
15
16
  }>, {
16
17
  label: string;
17
18
  open: boolean;
@@ -22,6 +23,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
22
23
  allSelected: boolean;
23
24
  cancelAllSelectedDisplay: boolean;
24
25
  displayValueInQuotes: boolean;
26
+ shownValuesCount: number;
25
27
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
28
  clear: () => void;
27
29
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -38,6 +40,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
38
40
  multi: boolean;
39
41
  cancelAllSelectedDisplay?: boolean;
40
42
  displayValueInQuotes?: boolean;
43
+ shownValuesCount?: number;
41
44
  }>, {
42
45
  label: string;
43
46
  open: boolean;
@@ -48,6 +51,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
48
51
  allSelected: boolean;
49
52
  cancelAllSelectedDisplay: boolean;
50
53
  displayValueInQuotes: boolean;
54
+ shownValuesCount: number;
51
55
  }>>> & {
52
56
  onClear?: () => any;
53
57
  }, {
@@ -60,6 +64,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
60
64
  displayedValue: any;
61
65
  cancelAllSelectedDisplay: boolean;
62
66
  displayValueInQuotes: boolean;
67
+ shownValuesCount: number;
63
68
  }>;
64
69
  export default _default;
65
70
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./ChipDropdownTrigger.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css"; //*');
4
- const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e43ac1c9"]]);
3
+ // import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-38354f10"]]);
5
5
  export {
6
- c as default
6
+ s as default
7
7
  };
@@ -1,13 +1,13 @@
1
- import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css"; import { defineComponent as k, ref as f, computed as m, watch as D, openBlock as I, createBlock as S, unref as t, withCtx as y, createElementVNode as c, mergeProps as p, createVNode as d, createTextVNode as V, toDisplayString as v, withDirectives as x, vShow as _, withModifiers as $ } from "vue";
2
- import b from "../../icon/v4/IconV4.vue.js";
1
+ import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css"; import { defineComponent as k, ref as m, computed as y, watch as S, openBlock as $, createBlock as D, unref as t, withCtx as h, createElementVNode as p, mergeProps as d, createVNode as u, createTextVNode as O, toDisplayString as C, withDirectives as b, vShow as x, withModifiers as E } from "vue";
2
+ import v from "../../icon/v4/IconV4.vue.js";
3
3
  import "../../icon/v4/IconFlag.vue.js";
4
- import C from "../../typography/v4/Typography.vue.js";
4
+ import _ from "../../typography/v4/Typography.vue.js";
5
5
  import { DropdownTestIdModifiers as i } from "../../../testids/index.js";
6
- import { useTestIdAttrs as E } from "../../../utils/testIds.js";
7
- import { isElementTruncated as U } from "../../../utils/text.js";
8
- import { promiseTimeout as F } from "@vueuse/core";
9
- import L from "../../tooltip/v4/TooltipV4.vue.js";
10
- const R = { class: "chip-trigger--icon" }, z = ["onClick"], K = /* @__PURE__ */ k({
6
+ import { useTestIdAttrs as U } from "../../../utils/testIds.js";
7
+ import { isElementTruncated as F } from "../../../utils/text.js";
8
+ import { promiseTimeout as L } from "@vueuse/core";
9
+ import R from "../../tooltip/v4/TooltipV4.vue.js";
10
+ const z = { class: "chip-trigger--icon" }, M = ["onClick"], W = /* @__PURE__ */ k({
11
11
  __name: "ChipDropdownTrigger",
12
12
  props: {
13
13
  label: { default: "Status" },
@@ -22,87 +22,97 @@ const R = { class: "chip-trigger--icon" }, z = ["onClick"], K = /* @__PURE__ */
22
22
  displayValue: null,
23
23
  multi: { type: Boolean },
24
24
  cancelAllSelectedDisplay: { type: Boolean, default: !1 },
25
- displayValueInQuotes: { type: Boolean, default: !1 }
25
+ displayValueInQuotes: { type: Boolean, default: !1 },
26
+ shownValuesCount: { default: 1 }
26
27
  },
27
28
  emits: ["clear"],
28
- setup(u, { emit: A }) {
29
- const e = u, B = () => {
30
- A("clear");
31
- }, o = f(null), r = f(!0), T = f(!1), h = (l) => {
29
+ setup(f, { emit: w }) {
30
+ const e = f, A = () => {
31
+ w("clear");
32
+ }, o = m(null), r = m(!0), T = m(!1), g = (l) => {
32
33
  let a = l;
33
- Array.isArray(l) && (l.length > 1 ? a = `${l[0]}` : a = l[0] ? `${l[0]}` : ""), r.value = !!a;
34
- let O = a;
35
- return e.displayValueInQuotes && (O = `"${a}"`), a ? `${e.label}: ${O}` : e.label;
36
- }, g = (l) => {
37
- let a = "";
38
- return Array.isArray(l) && l.length > 1 && (a = `, +${l[1]}`), a;
39
- }, N = m(
34
+ Array.isArray(l) && (l.length > 1 ? a = `${l.filter((I) => typeof I == "string").join(", ")}` : a = l[0] ? `${l[0]}` : ""), r.value = !!a;
35
+ let c = a;
36
+ return e.displayValueInQuotes && (c = `"${a}"`), a ? `${e.label}: ${c}` : e.label;
37
+ }, V = (l) => {
38
+ if (Array.isArray(l) && l.length > 1) {
39
+ const a = l[l.length - 1];
40
+ if (typeof a == "number" && a > 0)
41
+ return `, +${a}`;
42
+ }
43
+ return "";
44
+ }, B = y(
40
45
  () => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
41
- ), s = E(e.testId, i), n = m(() => {
46
+ ), n = U(e.testId, i), s = y(() => {
42
47
  if (!e.multi)
43
48
  return e.selectedOption ? e.displayValue(e.selectedOption) : "";
44
- if (Array.isArray(e.selectedOption))
45
- return e.selectedOption.length ? e.allSelected && !e.cancelAllSelectedDisplay ? ["All"] : e.selectedOption.length == 1 && e.displayValue ? [e.displayValue(e.selectedOption[0])] : [
46
- e.displayValue(e.selectedOption[0]),
47
- e.selectedOption.length - 1
48
- ] : [];
49
+ if (!Array.isArray(e.selectedOption))
50
+ return;
51
+ if (!e.selectedOption.length)
52
+ return [];
53
+ if (e.allSelected && !e.cancelAllSelectedDisplay)
54
+ return ["All"];
55
+ if (e.selectedOption.length === 1 && e.displayValue)
56
+ return [e.displayValue(e.selectedOption[0])];
57
+ const l = e.selectedOption.slice(0, e.shownValuesCount).map((c) => e.displayValue(c)), a = e.selectedOption.length - l.length;
58
+ return [...l, a];
49
59
  });
50
- D([() => e.selectedOption, o], async () => {
51
- await F(100), T.value = o.value && U(o.value);
60
+ S([() => e.selectedOption, o], async () => {
61
+ await L(100), T.value = o.value && F(o.value);
52
62
  });
53
- const w = m(() => T.value ? `${h(n.value)}${g(
54
- n.value
63
+ const N = y(() => T.value ? `${g(s.value)}${V(
64
+ s.value
55
65
  )}` : "");
56
- return (l, a) => (I(), S(t(L), {
57
- text: t(w),
66
+ return (l, a) => ($(), D(t(R), {
67
+ text: t(N),
58
68
  class: "tooltip-option",
59
69
  placement: "top"
60
70
  }, {
61
- default: y(() => [
62
- c("div", p({
63
- class: ["chip-trigger", [t(N), { active: r.value, disabled: u.disabled, open: u.open }]]
64
- }, t(s)[t(i).BUTTON]), [
65
- c("div", {
71
+ default: h(() => [
72
+ p("div", d({
73
+ class: ["chip-trigger", [t(B), { active: r.value, disabled: f.disabled, open: f.open }]]
74
+ }, t(n)[t(i).BUTTON]), [
75
+ p("div", {
66
76
  ref_key: "textContainerRef",
67
77
  ref: o,
68
78
  class: "chip-trigger--content"
69
79
  }, [
70
- d(t(C), p({
80
+ u(t(_), d({
71
81
  class: "chip-trigger--text",
72
82
  variant: "chipLabel"
73
- }, t(s)[t(i).BUTTON_CONTENT]), {
74
- default: y(() => [
75
- V(v(h(t(n))), 1)
83
+ }, t(n)[t(i).BUTTON_CONTENT]), {
84
+ default: h(() => [
85
+ O(C(g(t(s))), 1)
76
86
  ]),
77
87
  _: 1
78
88
  }, 16),
79
- d(t(C), p({
89
+ u(t(_), d({
80
90
  class: "chip-trigger--suffix",
81
91
  variant: "chipLabel"
82
- }, t(s)[t(i).BUTTON_CONTENT_SUFFIX]), {
83
- default: y(() => [
84
- V(v(g(t(n))), 1)
92
+ }, t(n)[t(i).BUTTON_CONTENT_SUFFIX]), {
93
+ default: h(() => [
94
+ O(C(V(t(s))), 1)
85
95
  ]),
86
96
  _: 1
87
97
  }, 16),
88
- x(c("div", R, [
89
- d(t(b), {
98
+ b(p("div", z, [
99
+ u(t(v), {
90
100
  name: "caret-down",
91
101
  size: "16px"
92
102
  })
93
103
  ], 512), [
94
- [_, !r.value]
104
+ [x, !r.value]
95
105
  ]),
96
- x(c("div", p({ class: "x-circle-wrapper" }, t(s)[t(i).BUTTON_CLEAR], {
97
- onClick: $(B, ["stop"])
106
+ b(p("div", d({ class: "x-circle-wrapper" }, t(n)[t(i).BUTTON_CLEAR], {
107
+ onClick: E(A, ["stop"])
98
108
  }), [
99
- d(t(b), {
109
+ u(t(v), {
100
110
  name: "x-circle",
101
111
  size: "16px",
102
112
  type: "fill"
103
113
  })
104
- ], 16, z), [
105
- [_, r.value]
114
+ ], 16, M), [
115
+ [x, r.value]
106
116
  ])
107
117
  ], 512)
108
118
  ], 16)
@@ -112,5 +122,5 @@ const R = { class: "chip-trigger--icon" }, z = ["onClick"], K = /* @__PURE__ */
112
122
  }
113
123
  });
114
124
  export {
115
- K as default
125
+ W as default
116
126
  };
@@ -1,12 +1,11 @@
1
- import { IconTypes } from '@is-ssp/icon/v4/Icon.types';
2
1
  type SelectedCondition = {
3
2
  label: string;
4
3
  value: string;
5
4
  multi: boolean;
6
5
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- selectedCondition: SelectedCondition | null;
9
- appliedSelections: unknown | unknown[];
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ selectedCondition: SelectedCondition;
8
+ appliedSelections: unknown;
10
9
  conditionalOptions: SelectedCondition[];
11
10
  label: string;
12
11
  testId?: string;
@@ -24,8 +23,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
24
23
  optionFlagKey?: string;
25
24
  optionIconKey?: string;
26
25
  optionImageKey?: string;
27
- optionIconType?: IconTypes;
26
+ optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
28
27
  loadingOverride?: boolean;
28
+ triggerShownValuesCount?: number;
29
29
  }>, {
30
30
  label: string;
31
31
  testId: string;
@@ -44,14 +44,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
44
44
  optionImageKey: string;
45
45
  optionIconType: any;
46
46
  loadingOverride: boolean;
47
+ triggerShownValuesCount: number;
47
48
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
49
  "update:selectedCondition": (value: SelectedCondition) => void;
49
50
  "update:appliedSelections": (value: unknown) => void;
50
51
  clear: () => void;
51
52
  closed: () => void;
52
53
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
53
- selectedCondition: SelectedCondition | null;
54
- appliedSelections: unknown | unknown[];
54
+ selectedCondition: SelectedCondition;
55
+ appliedSelections: unknown;
55
56
  conditionalOptions: SelectedCondition[];
56
57
  label: string;
57
58
  testId?: string;
@@ -69,8 +70,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
69
70
  optionFlagKey?: string;
70
71
  optionIconKey?: string;
71
72
  optionImageKey?: string;
72
- optionIconType?: IconTypes;
73
+ optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
73
74
  loadingOverride?: boolean;
75
+ triggerShownValuesCount?: number;
74
76
  }>, {
75
77
  label: string;
76
78
  testId: string;
@@ -89,6 +91,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
89
91
  optionImageKey: string;
90
92
  optionIconType: any;
91
93
  loadingOverride: boolean;
94
+ triggerShownValuesCount: number;
92
95
  }>>> & {
93
96
  onClear?: () => any;
94
97
  onClosed?: () => any;
@@ -99,10 +102,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
99
102
  testId: string;
100
103
  isOpen: boolean;
101
104
  infiniteLoading: boolean;
105
+ triggerShownValuesCount: number;
102
106
  optionNameKey: string;
103
107
  optionIconKey: string;
104
108
  optionImageKey: string;
105
- optionIconType: IconTypes;
109
+ optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
106
110
  optionFlagKey: string;
107
111
  groupedOptions: boolean;
108
112
  comparingKey: string;
@@ -112,6 +116,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
112
116
  fetchDataDebounceTime: number;
113
117
  autoFocusSearch: boolean;
114
118
  loadingOverride: boolean;
119
+ }>, {
120
+ "option-end"?(_: {
121
+ option: any;
122
+ }): any;
115
123
  }>;
116
124
  export default _default;
117
125
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -131,3 +139,8 @@ type __VLS_WithDefaults<P, D> = {
131
139
  type __VLS_Prettify<T> = {
132
140
  [K in keyof T]: T[K];
133
141
  } & {};
142
+ type __VLS_WithTemplateSlots<T, S> = T & {
143
+ new (): {
144
+ $slots: S;
145
+ };
146
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./ConditionalDropdown.vue2.js";
2
- /* empty css */import d from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css"; //*');
4
- const p = /* @__PURE__ */ d(o, [["__scopeId", "data-v-8d5521da"]]);
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_683b8a75_lang.css"; //*');
4
+ const n = /* @__PURE__ */ _(o, [["__scopeId", "data-v-683b8a75"]]);
5
5
  export {
6
- p as default
6
+ n as default
7
7
  };