@ironsource/shared-ui 2.1.7-test.1 → 2.1.7-test.10

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 (159) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_f06a4764_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_88d4532f_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_efc608f9_lang.css +1 -0
  5. package/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +1 -0
  7. package/DataGrid.vue_vue_type_style_index_0_scoped_706b324e_lang.css +1 -0
  8. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
  9. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_98819e5a_lang.css +1 -0
  10. package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +1 -0
  11. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
  12. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css +1 -0
  13. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +1 -0
  14. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
  15. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
  16. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
  17. package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +1 -0
  18. package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
  19. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
  20. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
  21. package/README.md +1 -1
  22. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +1 -0
  23. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +1 -0
  24. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
  25. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
  26. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +1 -0
  27. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
  28. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  29. package/TreeDropdown.vue_vue_type_style_index_0_scoped_dbd80d49_lang.css +1 -0
  30. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  31. package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
  32. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  33. package/components/appHeader/index.d.ts +9 -9
  34. package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
  35. package/components/autocomplete/Autocomplete.vue.js +2 -2
  36. package/components/autocomplete/Autocomplete.vue2.js +57 -45
  37. package/components/autocomplete/index.d.ts +20 -1
  38. package/components/chart/Chart.vue.js +7 -0
  39. package/components/chart/Chart.vue2.js +281 -0
  40. package/components/chart/ChartHeader.vue.js +7 -0
  41. package/components/chart/ChartHeader.vue2.js +51 -0
  42. package/components/chart/ChartLegend.vue.js +7 -0
  43. package/components/chart/ChartLegend.vue2.js +65 -0
  44. package/components/chart/ChartLoader.vue.js +25 -0
  45. package/components/chart/ChartLoader.vue2.js +0 -0
  46. package/components/chart/ChartTooltip.vue.js +7 -0
  47. package/components/chart/ChartTooltip.vue2.js +81 -0
  48. package/components/chart/composables/useChartValues.js +32 -0
  49. package/components/chart/composables/useTooltipPosition.js +22 -0
  50. package/components/chart/consts.js +21 -0
  51. package/components/chart/index.js +6 -0
  52. package/components/chart/plugins/HoverVerticalLine.js +12 -0
  53. package/components/chart/types.js +4 -0
  54. package/components/chart/utils/formatNumber.js +11 -0
  55. package/components/chart/utils/utils.js +12 -0
  56. package/components/dropdown/common/Dropdown.common.js +89 -89
  57. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
  58. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  59. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +32 -29
  60. package/components/dropdown/v4/DropdownV4.vue.d.ts +39 -0
  61. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  62. package/components/dropdown/v4/DropdownV4.vue2.js +256 -224
  63. package/components/dropdown/v4/OptionV4.vue.d.ts +36 -2
  64. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  65. package/components/dropdown/v4/OptionV4.vue2.js +99 -59
  66. package/components/dropdown/v4/TreeDropdown.vue.d.ts +21 -16
  67. package/components/dropdown/v4/TreeDropdown.vue.js +3 -3
  68. package/components/dropdown/v4/TreeDropdown.vue2.js +170 -74
  69. package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
  70. package/components/dropdown/v4/index.d.ts +528 -83
  71. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  72. package/components/icon/v4/IconV4.vue.js +4 -4
  73. package/components/icon/v4/IconV4.vue2.js +29 -26
  74. package/components/icon/v4/index.d.ts +20 -1
  75. package/components/includeExclude/IncludeExclude.vue.js +4 -4
  76. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  77. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
  78. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  79. package/components/input/v4/TextField.vue.d.ts +6 -1
  80. package/components/input/v4/TextField.vue.js +3 -3
  81. package/components/input/v4/TextField.vue2.js +95 -90
  82. package/components/input/v4/index.d.ts +20 -1
  83. package/components/popover/common/Popover.common.d.ts +6 -0
  84. package/components/popover/common/Popover.common.js +17 -0
  85. package/components/popover/v3/Popover.vue.js +8 -0
  86. package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
  87. package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
  88. package/components/popover/v4/PopoverV4.vue.js +7 -0
  89. package/components/popover/v4/PopoverV4.vue2.js +54 -0
  90. package/components/popover/v4/index.d.ts +209 -0
  91. package/components/popover/v4/index.js +6 -0
  92. package/components/shared/FieldMaxLength.vue.js +3 -3
  93. package/components/shared/FieldMaxLength.vue2.js +2 -2
  94. package/components/shared/commonTypes.d.ts +2 -0
  95. package/components/sortableList/SortableItem.vue.js +7 -0
  96. package/components/sortableList/SortableItem.vue2.js +140 -0
  97. package/components/sortableList/SortableItemLabel.vue.js +7 -0
  98. package/components/sortableList/SortableItemLabel.vue2.js +60 -0
  99. package/components/sortableList/SortableList.vue.d.ts +25 -0
  100. package/components/sortableList/SortableList.vue.js +7 -0
  101. package/components/sortableList/SortableList.vue2.js +160 -0
  102. package/components/sortableList/composables/useHoverEffect.js +19 -0
  103. package/components/sortableList/consts.js +4 -0
  104. package/components/sortableList/index.d.ts +88 -2
  105. package/components/sortableList/index.js +6 -0
  106. package/components/table/v3/Table.vue.d.ts +2 -2
  107. package/components/table/v3/index.d.ts +39 -39
  108. package/components/table/v4/DataGrid.vue.d.ts +6 -2
  109. package/components/table/v4/DataGrid.vue.js +4 -4
  110. package/components/table/v4/DataGrid.vue2.js +131 -122
  111. package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
  112. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  113. package/components/table/v4/DataGridRowsCounter.vue2.js +29 -22
  114. package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
  115. package/components/table/v4/MultipleDataGrid.vue.js +4 -4
  116. package/components/table/v4/MultipleDataGrid.vue2.js +114 -66
  117. package/components/table/v4/index.d.ts +101 -75
  118. package/components/table-cells/common/Editable.common.js +37 -26
  119. package/components/table-cells/common/EditableContext.d.ts +1 -0
  120. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  121. package/components/table-cells/v4/EditableV4.vue.js +5 -5
  122. package/components/table-cells/v4/EditableV4.vue2.js +18 -17
  123. package/components/table-cells/v4/index.d.ts +20 -1
  124. package/components/tabs/v4/TabsV4.vue.js +4 -4
  125. package/components/tabs/v4/TabsV4.vue2.js +37 -40
  126. package/components/textArea/v4/TextAreaV4.vue.d.ts +6 -1
  127. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  128. package/components/textArea/v4/TextAreaV4.vue2.js +18 -12
  129. package/components/textArea/v4/index.d.ts +9 -0
  130. package/design-foundation.stories/icons/iconsData.d.ts +6 -2
  131. package/index.d.ts +9608 -7356
  132. package/index.js +136 -131
  133. package/mocks/options.d.ts +12 -0
  134. package/package.json +15 -3
  135. package/testids/index.d.ts +5 -0
  136. package/testids/index.js +27 -25
  137. package/utils/search.js +4 -0
  138. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
  139. package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
  140. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
  141. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +0 -1
  142. package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
  143. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
  144. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +0 -1
  145. package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +0 -1
  146. package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
  147. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
  148. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
  149. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
  150. package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
  151. package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
  152. package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +0 -1
  153. package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +0 -1
  154. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
  155. package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +0 -1
  156. package/components/popover/Popover.vue.js +0 -8
  157. /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
  158. /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
  159. /package/components/popover/{index.js → v3/index.js} +0 -0
@@ -13,6 +13,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  endIconKey?: string;
14
14
  endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
15
15
  toolTipPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
16
+ treeMainOption?: boolean;
17
+ treeMainOptionExpanded?: boolean;
18
+ stopOptionClickEventPropagation?: boolean;
19
+ optionTwoLinesVariant?: "horizontal" | "vertical";
20
+ optionTwoLinesKey?: string;
21
+ treeChildShown?: boolean;
16
22
  }>, {
17
23
  subtitle: string;
18
24
  disabled: boolean;
@@ -27,7 +33,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
33
  endIconKey: any;
28
34
  endIconType: string;
29
35
  toolTipPlacement: string;
30
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
+ treeMainOption: boolean;
37
+ treeMainOptionExpanded: boolean;
38
+ stopOptionClickEventPropagation: boolean;
39
+ optionTwoLinesVariant: any;
40
+ optionTwoLinesKey: any;
41
+ treeChildShown: boolean;
42
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ toggleTreeCollapse: (option: unknown) => void;
44
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
31
45
  option?: unknown;
32
46
  subtitle?: string;
33
47
  disabled?: boolean;
@@ -42,6 +56,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
56
  endIconKey?: string;
43
57
  endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
44
58
  toolTipPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
59
+ treeMainOption?: boolean;
60
+ treeMainOptionExpanded?: boolean;
61
+ stopOptionClickEventPropagation?: boolean;
62
+ optionTwoLinesVariant?: "horizontal" | "vertical";
63
+ optionTwoLinesKey?: string;
64
+ treeChildShown?: boolean;
45
65
  }>, {
46
66
  subtitle: string;
47
67
  disabled: boolean;
@@ -56,11 +76,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
56
76
  endIconKey: any;
57
77
  endIconType: string;
58
78
  toolTipPlacement: string;
59
- }>>>, {
79
+ treeMainOption: boolean;
80
+ treeMainOptionExpanded: boolean;
81
+ stopOptionClickEventPropagation: boolean;
82
+ optionTwoLinesVariant: any;
83
+ optionTwoLinesKey: any;
84
+ treeChildShown: boolean;
85
+ }>>> & {
86
+ onToggleTreeCollapse?: (option: unknown) => any;
87
+ }, {
60
88
  option: any;
61
89
  disabled: boolean;
62
90
  active: boolean;
63
91
  endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
92
+ optionTwoLinesVariant: "horizontal" | "vertical";
93
+ optionTwoLinesKey: string;
64
94
  isIndeterminate: boolean;
65
95
  subtitle: string;
66
96
  selectAllOption: boolean;
@@ -70,6 +100,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
70
100
  iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
71
101
  endIconKey: string;
72
102
  toolTipPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
103
+ treeMainOption: boolean;
104
+ treeMainOptionExpanded: boolean;
105
+ stopOptionClickEventPropagation: boolean;
106
+ treeChildShown: boolean;
73
107
  }>, {
74
108
  image?(_: {}): any;
75
109
  "icon-start"?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./OptionV4.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-9db0f796"]]);
3
+ // import "../../../OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-77509f61"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,24 +1,28 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css"; import { defineComponent as B, ref as z, computed as N, openBlock as n, createBlock as f, unref as i, withCtx as y, createElementVNode as s, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as K, toDisplayString as h, withModifiers as V } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css"; import { defineComponent as V, ref as x, watch as M, openBlock as i, createBlock as g, unref as o, withCtx as u, createElementVNode as s, normalizeClass as m, createCommentVNode as n, createElementBlock as l, renderSlot as f, createVNode as c, toDisplayString as k, createTextVNode as b, withModifiers as K } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
- import w from "../../typography/Text.vue.js";
4
- import O from "../../checkbox/v4/CheckboxV4.vue.js";
5
- import T from "../../icon/v4/IconV4.vue.js";
3
+ import S from "../../typography/Text.vue.js";
4
+ import L from "../../checkbox/v4/CheckboxV4.vue.js";
5
+ import y from "../../icon/v4/IconV4.vue.js";
6
6
  import "../../icon/v4/IconFlag.vue.js";
7
- import { NOOP as P } from "@vue/shared";
8
- import { optionCommon as S } from "../common/Option.common.js";
9
- import E from "../../typography/v4/Typography.vue.js";
10
- import j from "../../tooltip/v4/TooltipV4.vue.js";
11
- import { isElementTruncated as M } from "../../../utils/text.js";
12
- const R = {
7
+ import { NOOP as N } from "@vue/shared";
8
+ import { optionCommon as j } from "../common/Option.common.js";
9
+ import w from "../../typography/v4/Typography.vue.js";
10
+ import R from "../../tooltip/v4/TooltipV4.vue.js";
11
+ import { isElementTruncated as A } from "../../../utils/text.js";
12
+ import { promiseTimeout as D } from "@vueuse/core";
13
+ const q = {
13
14
  key: 1,
14
15
  class: "image"
15
- }, A = ["src"], D = {
16
+ }, F = ["src"], G = {
16
17
  key: 2,
17
18
  class: "start-icon"
18
- }, q = {
19
+ }, H = { class: "main-text" }, J = {
20
+ key: 0,
21
+ class: "caption-text"
22
+ }, Q = {
19
23
  key: 3,
20
24
  class: "end-icon"
21
- }, F = { key: 0 }, ee = /* @__PURE__ */ B({
25
+ }, U = ["onClick"], W = { key: 0 }, ce = /* @__PURE__ */ V({
22
26
  __name: "OptionV4",
23
27
  props: {
24
28
  option: { default: null },
@@ -34,109 +38,145 @@ const R = {
34
38
  iconType: { default: "regular" },
35
39
  endIconKey: { default: null },
36
40
  endIconType: { default: "regular" },
37
- toolTipPlacement: { default: "right" }
41
+ toolTipPlacement: { default: "right" },
42
+ treeMainOption: { type: Boolean, default: !1 },
43
+ treeMainOptionExpanded: { type: Boolean, default: !1 },
44
+ stopOptionClickEventPropagation: { type: Boolean, default: !1 },
45
+ optionTwoLinesVariant: { default: void 0 },
46
+ optionTwoLinesKey: { default: void 0 },
47
+ treeChildShown: { type: Boolean, default: !1 }
38
48
  },
39
- setup(e) {
40
- const g = e, { selected: r, isMulti: u, id: I, onClick: p, api: b } = S(g), m = z(null), x = N(
41
- () => m.value && M(m.value)
42
- ), C = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : x.value ? t[g.nameKey] : "", $ = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
43
- return (t, a) => (n(), f(i(j), {
44
- text: C(e.option),
45
- "test-id": $(e.option),
49
+ emits: ["toggleTreeCollapse"],
50
+ setup(e, { emit: I }) {
51
+ const a = e, { selected: p, isMulti: T, id: B, onClick: O, api: v } = j(a), $ = (t) => {
52
+ a.stopOptionClickEventPropagation && t.stopPropagation(), a.disabled ? N() : O(t);
53
+ }, d = x(null), h = x(!1);
54
+ M([() => a.treeChildShown, d], async () => {
55
+ await D(100), h.value = d.value && A(d.value);
56
+ });
57
+ const z = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : h.value ? t[a.nameKey] : "", E = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, P = () => {
58
+ I("toggleTreeCollapse", a.option);
59
+ };
60
+ return (t, r) => (i(), g(o(R), {
61
+ text: z(e.option),
62
+ "test-id": E(e.option),
46
63
  placement: e.toolTipPlacement,
47
64
  class: "tooltip-option"
48
65
  }, {
49
- default: y(() => [
66
+ default: u(() => [
50
67
  s("div", {
51
68
  ref: "el",
52
- class: v(["item-container", {
69
+ class: m(["item-container", {
53
70
  "item-container--disabled": e.disabled,
54
71
  "item-container--active": e.nameKey ? !1 : e.active,
55
- "item-container--selected": i(r),
56
- "item-container--multi": i(u)
72
+ "item-container--selected": o(p),
73
+ "item-container--multi": o(T)
57
74
  }])
58
75
  }, [
59
76
  s("div", {
60
- class: v(["item", {
61
- "item--multi": i(u),
77
+ class: m(["item", {
78
+ "item--multi": o(T),
62
79
  "item--with-icon": t.$slots["icon-start"] || t.$slots.image
63
80
  }])
64
81
  }, [
65
- i(u) ? (n(), f(i(O), {
82
+ o(T) ? (i(), g(o(L), {
66
83
  key: 0,
67
- id: i(I).toString(),
84
+ id: o(B).toString(),
68
85
  tabindex: "-1",
69
86
  class: "checkbox",
70
- "is-checked": i(r),
87
+ "is-checked": o(p),
71
88
  "is-indeterminate": e.isIndeterminate,
72
- onClick: a[0] || (a[0] = (k) => e.disabled ? i(P)() : i(p)(k))
73
- }, null, 8, ["id", "is-checked", "is-indeterminate"])) : o("", !0),
74
- t.$slots.image || e.imageKey ? (n(), l("div", R, [
75
- c(t.$slots, "image", {}, () => [
76
- e.imageKey ? (n(), l("img", {
89
+ onClick: r[0] || (r[0] = (C) => $(C))
90
+ }, null, 8, ["id", "is-checked", "is-indeterminate"])) : n("", !0),
91
+ t.$slots.image || e.imageKey ? (i(), l("div", q, [
92
+ f(t.$slots, "image", {}, () => [
93
+ e.imageKey ? (i(), l("img", {
77
94
  key: 0,
78
95
  src: e.option[e.imageKey]
79
- }, null, 8, A)) : o("", !0)
96
+ }, null, 8, F)) : n("", !0)
80
97
  ], !0)
81
- ])) : o("", !0),
82
- t.$slots["icon-start"] || e.iconKey ? (n(), l("div", D, [
83
- c(t.$slots, "icon-start", {}, () => [
84
- d(i(T), {
98
+ ])) : n("", !0),
99
+ t.$slots["icon-start"] || e.iconKey ? (i(), l("div", G, [
100
+ f(t.$slots, "icon-start", {}, () => [
101
+ c(o(y), {
85
102
  type: e.iconType,
86
103
  name: e.option[e.iconKey],
87
104
  size: e.iconType === "regular" ? "20px" : "16px"
88
105
  }, null, 8, ["type", "name", "size"])
89
106
  ], !0)
90
- ])) : o("", !0),
107
+ ])) : n("", !0),
91
108
  s("div", {
92
109
  ref_key: "textContainerRef",
93
- ref: m,
110
+ ref: d,
94
111
  class: "text-container"
95
112
  }, [
96
- d(i(E), {
113
+ c(o(w), {
97
114
  class: "option-text",
98
115
  variant: "body2"
99
116
  }, {
100
- default: y(() => [
101
- c(t.$slots, "default", {}, () => [
102
- K(h(e.option[e.nameKey]), 1)
117
+ default: u(() => [
118
+ f(t.$slots, "default", {}, () => [
119
+ s("div", {
120
+ class: m(`option-content-${e.optionTwoLinesVariant || "horizontal"}`)
121
+ }, [
122
+ s("div", H, k(e.option[e.nameKey]), 1),
123
+ e.optionTwoLinesKey ? (i(), l("div", J, [
124
+ c(o(w), { variant: "caption" }, {
125
+ default: u(() => [
126
+ b(k(e.option[e.optionTwoLinesKey]), 1)
127
+ ]),
128
+ _: 1
129
+ })
130
+ ])) : n("", !0)
131
+ ], 2)
103
132
  ], !0)
104
133
  ]),
105
134
  _: 3
106
135
  }),
107
- e.subtitle ? (n(), f(i(w), {
136
+ e.subtitle ? (i(), g(o(S), {
108
137
  key: 0,
109
138
  class: "subtitle",
110
139
  size: "xs"
111
140
  }, {
112
- default: y(() => [
113
- K(h(e.subtitle), 1)
141
+ default: u(() => [
142
+ b(k(e.subtitle), 1)
114
143
  ]),
115
144
  _: 1
116
- })) : o("", !0)
145
+ })) : n("", !0)
117
146
  ], 512),
118
- t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), l("div", q, [
119
- c(t.$slots, "icon-end", {}, () => [
120
- d(i(T), {
147
+ t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (i(), l("div", Q, [
148
+ f(t.$slots, "icon-end", {}, () => [
149
+ c(o(y), {
121
150
  type: e.endIconType,
122
151
  name: e.option[e.endIconKey],
123
152
  size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
124
153
  }, null, 8, ["type", "name", "size"])
125
154
  ], !0)
126
- ])) : o("", !0)
155
+ ])) : n("", !0),
156
+ e.treeMainOption ? (i(), l("div", {
157
+ key: 4,
158
+ class: "tree-main-arrow-wrapper",
159
+ onClick: K(P, ["stop"])
160
+ }, [
161
+ c(o(y), {
162
+ name: "caret-down",
163
+ size: "16px",
164
+ class: m(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
165
+ }, null, 8, ["class"])
166
+ ], 8, U)) : n("", !0)
127
167
  ], 2),
128
- i(b).clearable && i(r) ? (n(), l("div", F, [
168
+ o(v).clearable && o(p) ? (i(), l("div", W, [
129
169
  s("button", {
130
170
  class: "clear-button",
131
- onClick: a[1] || (a[1] = V((k) => i(b).clearSelection(), ["prevent", "stop"]))
171
+ onClick: r[1] || (r[1] = K((C) => o(v).clearSelection(), ["prevent", "stop"]))
132
172
  }, [
133
- d(i(T), {
173
+ c(o(y), {
134
174
  name: "close",
135
175
  width: "8",
136
176
  height: "8"
137
177
  })
138
178
  ])
139
- ])) : o("", !0)
179
+ ])) : n("", !0)
140
180
  ], 2)
141
181
  ]),
142
182
  _: 3
@@ -144,5 +184,5 @@ const R = {
144
184
  }
145
185
  });
146
186
  export {
147
- ee as default
187
+ ce as default
148
188
  };
@@ -1,23 +1,23 @@
1
- import { IconTypes } from '@is-ssp/icon/v4/Icon.types';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
2
  options: unknown[];
4
3
  selected?: unknown[];
5
4
  isOpen?: boolean;
6
5
  placeholder?: string;
7
6
  inlineSearchPlaceholder?: string;
8
- size?: 'small' | 'medium' | 'large';
7
+ size?: "small" | "medium" | "large";
9
8
  disabled?: boolean;
10
9
  testId?: string;
11
10
  displayValue: (option: unknown) => string;
12
11
  optionNameKey?: string;
13
12
  optionIconKey?: string;
14
13
  optionImageKey?: string;
15
- optionIconType?: IconTypes;
14
+ optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
16
15
  optionEndIconKey?: string;
17
- optionEndIconType?: IconTypes;
16
+ optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
18
17
  valueToCopy?: string;
19
18
  disabledOptionKey?: string;
20
- optionChildrenKey?: string;
19
+ optionChildrenKey: string;
20
+ optionUniqueIdKey: string;
21
21
  }>, {
22
22
  selected: any;
23
23
  placeholder: string;
@@ -33,7 +33,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
33
33
  optionEndIconType: any;
34
34
  valueToCopy: any;
35
35
  disabledOptionKey: string;
36
- optionChildrenKey: string;
37
36
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
37
  "update:selected": (value: unknown) => void;
39
38
  "update:isOpen": (value: unknown) => void;
@@ -43,19 +42,20 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
43
42
  isOpen?: boolean;
44
43
  placeholder?: string;
45
44
  inlineSearchPlaceholder?: string;
46
- size?: 'small' | 'medium' | 'large';
45
+ size?: "small" | "medium" | "large";
47
46
  disabled?: boolean;
48
47
  testId?: string;
49
48
  displayValue: (option: unknown) => string;
50
49
  optionNameKey?: string;
51
50
  optionIconKey?: string;
52
51
  optionImageKey?: string;
53
- optionIconType?: IconTypes;
52
+ optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
54
53
  optionEndIconKey?: string;
55
- optionEndIconType?: IconTypes;
54
+ optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
56
55
  valueToCopy?: string;
57
56
  disabledOptionKey?: string;
58
- optionChildrenKey?: string;
57
+ optionChildrenKey: string;
58
+ optionUniqueIdKey: string;
59
59
  }>, {
60
60
  selected: any;
61
61
  placeholder: string;
@@ -71,13 +71,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
71
71
  optionEndIconType: any;
72
72
  valueToCopy: any;
73
73
  disabledOptionKey: string;
74
- optionChildrenKey: string;
75
74
  }>>> & {
76
75
  "onUpdate:selected"?: (value: unknown) => any;
77
76
  "onUpdate:isOpen"?: (value: unknown) => any;
78
77
  }, {
79
78
  disabled: boolean;
80
- size: 'small' | 'medium' | 'large';
79
+ size: "small" | "medium" | "large";
81
80
  testId: string;
82
81
  selected: unknown[];
83
82
  placeholder: string;
@@ -85,12 +84,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
85
84
  optionNameKey: string;
86
85
  optionIconKey: string;
87
86
  optionImageKey: string;
88
- optionIconType: IconTypes;
87
+ optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
89
88
  optionEndIconKey: string;
90
- optionEndIconType: IconTypes;
89
+ optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
91
90
  valueToCopy: string;
92
91
  disabledOptionKey: string;
93
- optionChildrenKey: string;
92
+ }>, {
93
+ "trigger-end-icon"?(_: {}): any;
94
94
  }>;
95
95
  export default _default;
96
96
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -110,3 +110,8 @@ type __VLS_WithDefaults<P, D> = {
110
110
  type __VLS_Prettify<T> = {
111
111
  [K in keyof T]: T[K];
112
112
  } & {};
113
+ type __VLS_WithTemplateSlots<T, S> = T & {
114
+ new (): {
115
+ $slots: S;
116
+ };
117
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./TreeDropdown.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-142eab98"]]);
3
+ // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_dbd80d49_lang.css"; //*');
4
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-dbd80d49"]]);
5
5
  export {
6
- s as default
6
+ r as default
7
7
  };