@ironsource/shared-ui 2.1.12-rc.3 → 2.1.12-rc.30

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 (237) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
  3. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  4. package/Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css +1 -0
  5. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  6. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
  7. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  8. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
  9. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
  10. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  11. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
  12. package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +1 -0
  13. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
  14. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
  15. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
  16. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  17. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  18. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  19. package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
  20. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +1 -0
  21. package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
  22. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  23. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  24. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
  25. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  26. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
  27. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
  28. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  29. package/components/appIcon/index.d.ts +3 -3
  30. package/components/banner/Banner.vue.d.ts +3 -3
  31. package/components/banner/index.d.ts +7 -7
  32. package/components/button/common/consts.d.ts +1 -0
  33. package/components/button/v3/Button.vue.d.ts +3 -3
  34. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  35. package/components/button/v3/IconButton.vue.d.ts +3 -3
  36. package/components/button/v3/index.d.ts +14 -14
  37. package/components/button/v4/ButtonV4.vue.d.ts +5 -3
  38. package/components/button/v4/ButtonV4.vue.js +4 -4
  39. package/components/button/v4/ButtonV4.vue2.js +28 -27
  40. package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
  41. package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
  42. package/components/chart/Chart.vue.d.ts +158 -37
  43. package/components/chart/Chart.vue.js +2 -2
  44. package/components/chart/Chart.vue2.js +150 -297
  45. package/components/chart/ChartHeader.vue.d.ts +50 -11
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +73 -54
  48. package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
  49. package/components/chart/ChartHeaderTrend.vue.js +7 -0
  50. package/components/chart/ChartHeaderTrend.vue2.js +96 -0
  51. package/components/chart/ChartLegend.vue.d.ts +24 -0
  52. package/components/chart/ChartLegend.vue.js +3 -3
  53. package/components/chart/ChartLegend.vue2.js +82 -63
  54. package/components/chart/ChartPlane.vue.d.ts +226 -0
  55. package/components/chart/ChartPlane.vue.js +7 -0
  56. package/components/chart/ChartPlane.vue2.js +370 -0
  57. package/components/chart/ChartStoryArgs.d.ts +184 -0
  58. package/components/chart/ChartTooltip.vue.d.ts +22 -2
  59. package/components/chart/ChartTooltip.vue.js +2 -2
  60. package/components/chart/ChartTooltip.vue2.js +50 -55
  61. package/components/chart/LegendSorting.vue.d.ts +37 -0
  62. package/components/chart/LegendSorting.vue.js +45 -0
  63. package/components/chart/LegendSorting.vue2.js +4 -0
  64. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  65. package/components/chart/SettingsHeader.vue.js +3 -3
  66. package/components/chart/SettingsHeader.vue2.js +17 -16
  67. package/components/chart/SubHeader.vue.d.ts +52 -0
  68. package/components/chart/SubHeader.vue.js +7 -0
  69. package/components/chart/SubHeader.vue2.js +61 -0
  70. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  71. package/components/chart/TooltipHeader.vue.js +7 -0
  72. package/components/chart/TooltipHeader.vue2.js +69 -0
  73. package/components/chart/colorPalette.d.ts +5 -0
  74. package/components/chart/colorPalette.js +68 -0
  75. package/components/chart/composables/useChartHeight.d.ts +5 -0
  76. package/components/chart/composables/useChartHeight.js +24 -0
  77. package/components/chart/composables/useColorsMap.d.ts +12 -0
  78. package/components/chart/composables/useColorsMap.js +48 -0
  79. package/components/chart/composables/useTooltipPosition.d.ts +1 -1
  80. package/components/chart/composables/useTooltipPosition.js +11 -15
  81. package/components/chart/consts.d.ts +29 -7
  82. package/components/chart/consts.js +41 -21
  83. package/components/chart/index.d.ts +554 -119
  84. package/components/chart/mockData.d.ts +44 -5
  85. package/components/chart/types.d.ts +38 -6
  86. package/components/chart/types.js +5 -2
  87. package/components/chart/utils/formatNumber.d.ts +0 -1
  88. package/components/chart/utils/highlightUtils.d.ts +3 -0
  89. package/components/chart/utils/highlightUtils.js +18 -0
  90. package/components/chart/utils/utils.d.ts +3 -3
  91. package/components/chart/utils/utils.js +19 -10
  92. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  93. package/components/checkbox/v3/index.d.ts +7 -7
  94. package/components/dateRange/common/DateRange.common.js +81 -75
  95. package/components/dateRange/common/DateServices.common.d.ts +7 -1
  96. package/components/dateRange/common/DateServices.common.js +88 -92
  97. package/components/dateRange/common/consts.common.d.ts +5 -0
  98. package/components/dateRange/common/consts.common.js +9 -3
  99. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  100. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  101. package/components/dateRange/v3/index.d.ts +7 -7
  102. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  103. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  104. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  105. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  106. package/components/dateRange/v4/index.d.ts +7 -7
  107. package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
  108. package/components/dialog/v4/DialogV4.vue.js +4 -4
  109. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  110. package/components/dialog/v4/index.d.ts +7 -7
  111. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  112. package/components/dropdown/common/Dropdown.common.js +172 -160
  113. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  114. package/components/dropdown/v3/index.d.ts +20 -20
  115. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  116. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  117. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  118. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  119. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
  120. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  121. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  122. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  123. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  124. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  125. package/components/dropdown/v4/ConditionalDropdown.vue2.js +151 -129
  126. package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
  127. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  128. package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
  129. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  130. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  131. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  132. package/components/dropdown/v4/OptionV4.vue.d.ts +18 -5
  133. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  134. package/components/dropdown/v4/OptionV4.vue2.js +140 -108
  135. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  136. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  137. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  138. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  139. package/components/dropdown/v4/index.d.ts +682 -162
  140. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  141. package/components/emptyState/v4/index.d.ts +7 -7
  142. package/components/forms/FormRow.vue.d.ts +9 -2
  143. package/components/forms/FormRow.vue.js +3 -3
  144. package/components/forms/FormRow.vue2.js +25 -14
  145. package/components/forms/index.d.ts +25 -5
  146. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  147. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  148. package/components/includeExclude/index.d.ts +40 -40
  149. package/components/link/Link.vue.d.ts +70 -0
  150. package/components/link/Link.vue.js +7 -0
  151. package/components/link/Link.vue2.js +43 -0
  152. package/components/link/index.d.ts +201 -0
  153. package/components/link/index.js +6 -0
  154. package/components/search/v3/index.d.ts +3 -3
  155. package/components/shared/FieldLabel.vue.d.ts +19 -7
  156. package/components/shared/FieldLabel.vue.js +3 -3
  157. package/components/shared/FieldLabel.vue2.js +50 -37
  158. package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
  159. package/components/switch/v4/SwitchV4.vue.js +3 -3
  160. package/components/switch/v4/SwitchV4.vue2.js +39 -24
  161. package/components/switch/v4/index.d.ts +29 -0
  162. package/components/table/common/Table.common.d.ts +0 -1
  163. package/components/table/common/Table.common.js +38 -39
  164. package/components/table/common/Table.types.d.ts +2 -0
  165. package/components/table/common/consts.d.ts +1 -0
  166. package/components/table/common/consts.js +2 -1
  167. package/components/table/v4/DataGrid.vue.d.ts +15 -4
  168. package/components/table/v4/DataGrid.vue.js +4 -4
  169. package/components/table/v4/DataGrid.vue2.js +288 -230
  170. package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
  171. package/components/table/v4/index.d.ts +50 -15
  172. package/components/table/v4/storyUtils.d.ts +2 -0
  173. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  174. package/components/tabs/v3/index.d.ts +7 -7
  175. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  176. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  177. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  178. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  179. package/components/tooltip/v3/index.d.ts +7 -7
  180. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  181. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  182. package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
  183. package/components/tooltip/v4/index.d.ts +7 -7
  184. package/components/typography/Text.vue.d.ts +3 -3
  185. package/components/typography/index.d.ts +7 -7
  186. package/composables/useDateService.d.ts +7 -0
  187. package/composables/useDateService.js +10 -0
  188. package/composables/useFormValidation.d.ts +1 -0
  189. package/composables/useFormValidation.js +32 -27
  190. package/composables/useFullPageHeight.d.ts +10 -0
  191. package/composables/useFullPageHeight.js +15 -0
  192. package/consts/common.d.ts +1 -0
  193. package/consts/common.js +4 -0
  194. package/consts/regex.d.ts +1 -0
  195. package/consts/regex.js +2 -1
  196. package/index.d.ts +1601 -425
  197. package/index.js +148 -136
  198. package/mocks/apps.d.ts +1 -0
  199. package/mocks/optionsWithIcons.d.ts +2 -0
  200. package/package.json +9 -1
  201. package/testids/index.d.ts +4 -0
  202. package/testids/index.js +31 -30
  203. package/utils/formatNumbers.d.ts +1 -1
  204. package/utils/formatNumbers.js +19 -6
  205. package/utils/index.js +7 -0
  206. package/utils/text.d.ts +3 -0
  207. package/utils/text.js +24 -5
  208. package/utils/totals.d.ts +5 -0
  209. package/utils/totals.js +9 -0
  210. package/utils/utils.d.ts +1 -0
  211. package/utils/utils.js +4 -0
  212. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  213. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
  214. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  215. package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
  216. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
  217. package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
  218. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
  219. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  220. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
  221. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  222. package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
  223. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  224. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  225. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  226. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  227. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  228. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  229. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  230. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
  231. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
  232. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  233. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  234. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  235. package/components/chart/composables/useChartValues.d.ts +0 -12
  236. package/components/chart/composables/useChartValues.js +0 -32
  237. package/components/chart/utils/formatNumber.js +0 -11
@@ -185,8 +185,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
185
185
  error: string;
186
186
  skidding: number;
187
187
  modelValue: any;
188
- selected: any;
189
188
  valueToCopy: string;
189
+ selected: any;
190
190
  placeholder: string;
191
191
  autoFocus: boolean;
192
192
  multi: boolean;
@@ -21,8 +21,8 @@ declare const DropdownTypes: () => (({
21
21
  error: string;
22
22
  skidding: number;
23
23
  modelValue: any;
24
- selected: any;
25
24
  valueToCopy: string;
25
+ selected: any;
26
26
  placeholder: string;
27
27
  autoFocus: boolean;
28
28
  multi: boolean;
@@ -104,14 +104,14 @@ declare const DropdownTypes: () => (({
104
104
  type: import("vue").PropType<unknown>;
105
105
  default: any;
106
106
  };
107
- selected: {
108
- type: import("vue").PropType<unknown>;
109
- default: any;
110
- };
111
107
  valueToCopy: {
112
108
  type: import("vue").PropType<string>;
113
109
  default: string;
114
110
  };
111
+ selected: {
112
+ type: import("vue").PropType<unknown>;
113
+ default: any;
114
+ };
115
115
  options: {
116
116
  type: import("vue").PropType<any[]>;
117
117
  required: true;
@@ -203,7 +203,7 @@ declare const DropdownTypes: () => (({
203
203
  "onUpdate:isOpen"?: (value: unknown) => any;
204
204
  onOpened?: () => any;
205
205
  onClosed?: () => any;
206
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "searchPlaceholder" | "helperText" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
206
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "valueToCopy" | "selected" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "searchPlaceholder" | "helperText" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
207
207
  $attrs: {
208
208
  [x: string]: unknown;
209
209
  };
@@ -280,14 +280,14 @@ declare const DropdownTypes: () => (({
280
280
  type: import("vue").PropType<unknown>;
281
281
  default: any;
282
282
  };
283
- selected: {
284
- type: import("vue").PropType<unknown>;
285
- default: any;
286
- };
287
283
  valueToCopy: {
288
284
  type: import("vue").PropType<string>;
289
285
  default: string;
290
286
  };
287
+ selected: {
288
+ type: import("vue").PropType<unknown>;
289
+ default: any;
290
+ };
291
291
  options: {
292
292
  type: import("vue").PropType<any[]>;
293
293
  required: true;
@@ -405,8 +405,8 @@ declare const DropdownTypes: () => (({
405
405
  error: string;
406
406
  skidding: number;
407
407
  modelValue: any;
408
- selected: any;
409
408
  valueToCopy: string;
409
+ selected: any;
410
410
  placeholder: string;
411
411
  autoFocus: boolean;
412
412
  multi: boolean;
@@ -508,14 +508,14 @@ declare const DropdownTypes: () => (({
508
508
  type: import("vue").PropType<unknown>;
509
509
  default: any;
510
510
  };
511
- selected: {
512
- type: import("vue").PropType<unknown>;
513
- default: any;
514
- };
515
511
  valueToCopy: {
516
512
  type: import("vue").PropType<string>;
517
513
  default: string;
518
514
  };
515
+ selected: {
516
+ type: import("vue").PropType<unknown>;
517
+ default: any;
518
+ };
519
519
  options: {
520
520
  type: import("vue").PropType<any[]>;
521
521
  required: true;
@@ -677,14 +677,14 @@ declare const DropdownTypes: () => (({
677
677
  type: import("vue").PropType<unknown>;
678
678
  default: any;
679
679
  };
680
- selected: {
681
- type: import("vue").PropType<unknown>;
682
- default: any;
683
- };
684
680
  valueToCopy: {
685
681
  type: import("vue").PropType<string>;
686
682
  default: string;
687
683
  };
684
+ selected: {
685
+ type: import("vue").PropType<unknown>;
686
+ default: any;
687
+ };
688
688
  options: {
689
689
  type: import("vue").PropType<any[]>;
690
690
  required: true;
@@ -802,8 +802,8 @@ declare const DropdownTypes: () => (({
802
802
  error: string;
803
803
  skidding: number;
804
804
  modelValue: any;
805
- selected: any;
806
805
  valueToCopy: string;
806
+ selected: any;
807
807
  placeholder: string;
808
808
  autoFocus: boolean;
809
809
  multi: boolean;
@@ -66,6 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
66
  hideEndIcon: boolean;
67
67
  }>, {
68
68
  default?(_: {}): any;
69
+ "after-label"?(_: {}): any;
69
70
  }>;
70
71
  export default _default;
71
72
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonDropdownTrigger.vue2.js";
2
- /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css"; //*');
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-604dfc6f"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-adb49e50"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css"; import { defineComponent as c, openBlock as s, createBlock as u, unref as o, normalizeClass as m, withCtx as n, renderSlot as f, createElementVNode as p, normalizeStyle as y, createVNode as h, createTextVNode as b, toDisplayString as x } from "vue";
1
+ import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css"; import { defineComponent as s, openBlock as u, createBlock as m, unref as i, normalizeClass as f, withCtx as e, renderSlot as d, createElementVNode as p, normalizeStyle as y, createVNode as b, createTextVNode as h, toDisplayString as x } from "vue";
2
2
  import T from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
5
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
6
  import B from "../../typography/v4/Typography.vue.js";
7
- const W = /* @__PURE__ */ c({
7
+ const W = /* @__PURE__ */ s({
8
8
  __name: "ButtonDropdownTrigger",
9
9
  props: {
10
10
  label: null,
@@ -21,10 +21,10 @@ const W = /* @__PURE__ */ c({
21
21
  tooltipPlacement: { default: "top" }
22
22
  },
23
23
  emits: ["click"],
24
- setup(t, { emit: i }) {
25
- const e = t, a = 40, d = e.maxWidth > a ? { maxWidth: `${e.maxWidth - a}px` } : {};
26
- return (r, l) => (s(), u(o(T), {
27
- class: m(["button-trigger", { open: t.open }]),
24
+ setup(t, { emit: r }) {
25
+ const a = t, l = 40, c = a.maxWidth > l ? { maxWidth: `${a.maxWidth - l}px` } : {};
26
+ return (o, n) => (u(), m(i(T), {
27
+ class: f(["button-trigger", { open: t.open }]),
28
28
  disabled: t.disabled,
29
29
  color: "default",
30
30
  variant: t.variant,
@@ -34,15 +34,18 @@ const W = /* @__PURE__ */ c({
34
34
  "end-icon-name": t.hideEndIcon ? null : "caret-down",
35
35
  content: t.label,
36
36
  "test-id": t.testId,
37
- onClick: l[0] || (l[0] = (g) => i("click"))
37
+ onClick: n[0] || (n[0] = (g) => r("click"))
38
38
  }, {
39
- default: n(() => [
40
- f(r.$slots, "default", {}, () => [
39
+ "after-label": e(() => [
40
+ d(o.$slots, "after-label", {}, void 0, !0)
41
+ ]),
42
+ default: e(() => [
43
+ d(o.$slots, "default", {}, () => [
41
44
  p("div", {
42
- style: y(o(d)),
45
+ style: y(i(c)),
43
46
  class: "label-wrapper"
44
47
  }, [
45
- h(B, {
48
+ b(B, {
46
49
  variant: "button",
47
50
  class: "label-text",
48
51
  "is-truncated": "",
@@ -50,8 +53,8 @@ const W = /* @__PURE__ */ c({
50
53
  "tooltip-text": t.label,
51
54
  "tooltip-placement": t.tooltipPlacement
52
55
  }, {
53
- default: n(() => [
54
- b(x(t.label), 1)
56
+ default: e(() => [
57
+ h(x(t.label), 1)
55
58
  ]),
56
59
  _: 1
57
60
  }, 8, ["with-tooltip", "tooltip-text", "tooltip-placement"])
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonFilterDropdownTrigger.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ea1c4589"]]);
3
+ // import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0198fee8"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css"; import { defineComponent as m, openBlock as o, createElementBlock as u, mergeProps as l, unref as t, createBlock as d, createCommentVNode as i, createVNode as f, withCtx as p, createTextVNode as I, toDisplayString as T } from "vue";
1
+ import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css"; import { defineComponent as m, openBlock as o, createElementBlock as u, mergeProps as l, unref as t, createBlock as d, createCommentVNode as i, createVNode as f, withCtx as p, createTextVNode as I, toDisplayString as T } from "vue";
2
2
  import y from "../../typography/v4/Typography.vue.js";
3
3
  import s from "../../icon/v4/IconV4.vue.js";
4
4
  import "../../icon/v4/IconFlag.vue.js";
@@ -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 e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3a2aeea3"]]);
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css"; //*');
4
+ const n = /* @__PURE__ */ _(o, [["__scopeId", "data-v-f5204c04"]]);
5
5
  export {
6
- p as default
6
+ n as default
7
7
  };