@ironsource/shared-ui 2.1.12-rc.5 → 2.1.12-rc.50

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 (352) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  5. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
  6. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_908ef54f_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3a6b2681_lang.css +1 -0
  9. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  10. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_lang.css +1 -0
  11. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  12. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
  13. package/DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css +1 -0
  14. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  15. package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
  16. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
  17. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  18. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  19. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  20. package/DropdownV4.vue_vue_type_style_index_0_scoped_f9907ea0_lang.css +1 -0
  21. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  22. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  23. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  24. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  25. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  26. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  27. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  28. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  29. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  30. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  31. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  32. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  33. package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
  34. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  35. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  36. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  37. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  38. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  39. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  40. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  41. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  42. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  43. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  44. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
  45. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  46. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  47. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  48. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  49. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  50. package/components/appIcon/index.d.ts +3 -3
  51. package/components/banner/Banner.vue.d.ts +3 -3
  52. package/components/banner/index.d.ts +7 -7
  53. package/components/button/common/consts.d.ts +1 -0
  54. package/components/button/v3/Button.vue.d.ts +3 -3
  55. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  56. package/components/button/v3/IconButton.vue.d.ts +3 -3
  57. package/components/button/v3/index.d.ts +14 -14
  58. package/components/button/v4/ButtonV4.vue.d.ts +5 -3
  59. package/components/button/v4/ButtonV4.vue.js +4 -4
  60. package/components/button/v4/ButtonV4.vue2.js +28 -27
  61. package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
  62. package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
  63. package/components/chart/Chart.vue.d.ts +123 -10
  64. package/components/chart/Chart.vue.js +3 -3
  65. package/components/chart/Chart.vue2.js +120 -64
  66. package/components/chart/ChartHeader.vue.d.ts +36 -7
  67. package/components/chart/ChartHeader.vue.js +3 -3
  68. package/components/chart/ChartHeader.vue2.js +60 -63
  69. package/components/chart/ChartHeaderTrend.vue.d.ts +19 -5
  70. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  71. package/components/chart/ChartHeaderTrend.vue2.js +83 -18
  72. package/components/chart/ChartLegend.vue.d.ts +24 -0
  73. package/components/chart/ChartLegend.vue.js +3 -3
  74. package/components/chart/ChartLegend.vue2.js +80 -62
  75. package/components/chart/ChartPlane.vue.d.ts +106 -13
  76. package/components/chart/ChartPlane.vue.js +5 -5
  77. package/components/chart/ChartPlane.vue2.js +313 -238
  78. package/components/chart/ChartStoryArgs.d.ts +63 -2
  79. package/components/chart/ChartTooltip.vue.d.ts +22 -2
  80. package/components/chart/ChartTooltip.vue.js +2 -2
  81. package/components/chart/ChartTooltip.vue2.js +52 -58
  82. package/components/chart/LegendSorting.vue.d.ts +37 -0
  83. package/components/chart/LegendSorting.vue.js +45 -0
  84. package/components/chart/LegendSorting.vue2.js +4 -0
  85. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  86. package/components/chart/SettingsHeader.vue.js +3 -3
  87. package/components/chart/SettingsHeader.vue2.js +17 -16
  88. package/components/chart/SubHeader.vue.d.ts +52 -0
  89. package/components/chart/SubHeader.vue.js +7 -0
  90. package/components/chart/SubHeader.vue2.js +61 -0
  91. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  92. package/components/chart/TooltipHeader.vue.js +7 -0
  93. package/components/chart/TooltipHeader.vue2.js +69 -0
  94. package/components/chart/colorPalette.d.ts +5 -0
  95. package/components/chart/colorPalette.js +68 -0
  96. package/components/chart/composables/useChartHeight.d.ts +2 -2
  97. package/components/chart/composables/useChartHeight.js +16 -14
  98. package/components/chart/composables/useColorsMap.d.ts +5 -3
  99. package/components/chart/composables/useColorsMap.js +43 -12
  100. package/components/chart/consts.d.ts +29 -8
  101. package/components/chart/consts.js +45 -26
  102. package/components/chart/index.d.ts +473 -76
  103. package/components/chart/mockData.d.ts +33 -5
  104. package/components/chart/types.d.ts +35 -6
  105. package/components/chart/types.js +5 -2
  106. package/components/chart/utils/highlightUtils.d.ts +3 -0
  107. package/components/chart/utils/highlightUtils.js +18 -0
  108. package/components/chart/utils/utils.d.ts +3 -3
  109. package/components/chart/utils/utils.js +25 -10
  110. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  111. package/components/checkbox/v3/index.d.ts +7 -7
  112. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  113. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  114. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  115. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  116. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  117. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  118. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  119. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  120. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  121. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  122. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  123. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  124. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  125. package/components/columnConfigurator/consts.d.ts +1 -0
  126. package/components/columnConfigurator/consts.js +4 -0
  127. package/components/columnConfigurator/index.d.ts +72 -0
  128. package/components/columnConfigurator/index.js +6 -0
  129. package/components/columnConfigurator/mockData.d.ts +30 -0
  130. package/components/columnConfigurator/utils.d.ts +2 -0
  131. package/components/columnConfigurator/utils.js +18 -0
  132. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  133. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  134. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  135. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  136. package/components/columnPicker/OptionChip.vue.js +7 -0
  137. package/components/columnPicker/OptionChip.vue2.js +46 -0
  138. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  139. package/components/columnPicker/RemoveButton.vue.js +7 -0
  140. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  141. package/components/columnPicker/index.d.ts +388 -0
  142. package/components/columnPicker/index.js +6 -0
  143. package/components/columnPicker/mockData.d.ts +8 -0
  144. package/components/dateRange/common/DateRange.common.js +100 -94
  145. package/components/dateRange/common/DateServices.common.d.ts +7 -1
  146. package/components/dateRange/common/DateServices.common.js +88 -92
  147. package/components/dateRange/common/consts.common.d.ts +5 -0
  148. package/components/dateRange/common/consts.common.js +9 -3
  149. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  150. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  151. package/components/dateRange/v3/index.d.ts +7 -7
  152. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  153. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  154. package/components/dateRange/v4/index.d.ts +7 -7
  155. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  156. package/components/dialog/v3/index.d.ts +46 -46
  157. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  158. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  159. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  160. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  161. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  162. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  163. package/components/dialog/v4/DialogV4.vue.d.ts +13 -12
  164. package/components/dialog/v4/DialogV4.vue.js +4 -4
  165. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  166. package/components/dialog/v4/index.d.ts +164 -164
  167. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  168. package/components/dropdown/common/Dropdown.common.js +161 -149
  169. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  170. package/components/dropdown/v3/index.d.ts +39 -39
  171. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  172. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  173. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  174. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  175. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  176. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  177. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  178. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  179. package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
  180. package/components/dropdown/v4/DropdownV4.vue.d.ts +35 -1
  181. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  182. package/components/dropdown/v4/DropdownV4.vue2.js +257 -199
  183. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  184. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  185. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  186. package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
  187. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  188. package/components/dropdown/v4/OptionV4.vue2.js +162 -117
  189. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  190. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  191. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  192. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  193. package/components/dropdown/v4/index.d.ts +702 -162
  194. package/components/forms/FormRow.vue.d.ts +9 -2
  195. package/components/forms/FormRow.vue.js +3 -3
  196. package/components/forms/FormRow.vue2.js +25 -14
  197. package/components/forms/index.d.ts +25 -5
  198. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  199. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  200. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  201. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  202. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  203. package/components/includeExclude/index.d.ts +110 -110
  204. package/components/input/v4/TextField.vue.d.ts +12 -0
  205. package/components/input/v4/TextField.vue.js +3 -3
  206. package/components/input/v4/TextField.vue2.js +129 -105
  207. package/components/input/v4/index.d.ts +46 -2
  208. package/components/link/Link.vue.d.ts +95 -0
  209. package/components/link/Link.vue.js +7 -0
  210. package/components/link/Link.vue2.js +65 -0
  211. package/components/link/index.d.ts +296 -0
  212. package/components/link/index.js +6 -0
  213. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  214. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  215. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  216. package/components/radioButton/v3/index.d.ts +20 -1
  217. package/components/search/v3/index.d.ts +3 -3
  218. package/components/shared/FieldLabel.vue.d.ts +19 -7
  219. package/components/shared/FieldLabel.vue.js +3 -3
  220. package/components/shared/FieldLabel.vue2.js +50 -37
  221. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  222. package/components/sortableList/LoaderBars.vue.js +7 -0
  223. package/components/sortableList/LoaderBars.vue2.js +25 -0
  224. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  225. package/components/sortableList/SortableItem.vue.js +5 -5
  226. package/components/sortableList/SortableItem.vue2.js +86 -70
  227. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  228. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  229. package/components/sortableList/SortableList.types.d.ts +1 -0
  230. package/components/sortableList/SortableList.vue.d.ts +12 -2
  231. package/components/sortableList/SortableList.vue.js +5 -5
  232. package/components/sortableList/SortableList.vue2.js +111 -113
  233. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  234. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  235. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  236. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  237. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  238. package/components/sortableList/composables/useHoverEffect.js +1 -1
  239. package/components/sortableList/consts.d.ts +2 -0
  240. package/components/sortableList/consts.js +4 -2
  241. package/components/sortableList/index.d.ts +77 -39
  242. package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
  243. package/components/switch/v4/SwitchV4.vue.js +3 -3
  244. package/components/switch/v4/SwitchV4.vue2.js +39 -24
  245. package/components/switch/v4/index.d.ts +29 -0
  246. package/components/table/common/Table.common.d.ts +0 -1
  247. package/components/table/common/Table.common.js +38 -39
  248. package/components/table/common/Table.types.d.ts +2 -0
  249. package/components/table/common/consts.d.ts +1 -0
  250. package/components/table/common/consts.js +2 -1
  251. package/components/table/v4/DataGrid.vue.d.ts +19 -7
  252. package/components/table/v4/DataGrid.vue.js +5 -5
  253. package/components/table/v4/DataGrid.vue2.js +375 -307
  254. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  255. package/components/table/v4/DataGridContainer.vue.js +7 -0
  256. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  257. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  258. package/components/table/v4/DataGridHeader.vue.js +7 -0
  259. package/components/table/v4/DataGridHeader.vue2.js +82 -0
  260. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  261. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  262. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  263. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  264. package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
  265. package/components/table/v4/index.d.ts +581 -298
  266. package/components/table/v4/index.js +7 -4
  267. package/components/table/v4/storyUtils.d.ts +27 -0
  268. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  269. package/components/tabs/v3/index.d.ts +7 -7
  270. package/components/tagsField/TagsField.types.d.ts +4 -0
  271. package/components/tagsField/TagsField.vue.d.ts +65 -0
  272. package/components/tagsField/TagsField.vue.js +7 -0
  273. package/components/tagsField/TagsField.vue2.js +90 -0
  274. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  275. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  276. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  277. package/components/tagsField/consts.d.ts +1 -0
  278. package/components/tagsField/consts.js +4 -0
  279. package/components/tagsField/index.d.ts +75 -0
  280. package/components/tagsField/index.js +6 -0
  281. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  282. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  283. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  284. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  285. package/components/tooltip/v3/index.d.ts +7 -7
  286. package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
  287. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  288. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  289. package/components/tooltip/v4/index.d.ts +27 -8
  290. package/components/typography/Text.vue.d.ts +3 -3
  291. package/components/typography/index.d.ts +7 -7
  292. package/composables/useDateService.d.ts +7 -0
  293. package/composables/useDateService.js +10 -0
  294. package/composables/useFormValidation.d.ts +1 -0
  295. package/composables/useFormValidation.js +32 -27
  296. package/consts/common.d.ts +1 -0
  297. package/consts/common.js +4 -0
  298. package/consts/regex.d.ts +1 -0
  299. package/consts/regex.js +2 -1
  300. package/index.d.ts +10373 -8457
  301. package/index.js +158 -134
  302. package/mocks/apps.d.ts +1 -0
  303. package/mocks/optionsWithIcons.d.ts +2 -0
  304. package/package.json +21 -1
  305. package/testids/index.d.ts +24 -1
  306. package/testids/index.js +36 -32
  307. package/utils/date.d.ts +1 -0
  308. package/utils/date.js +9 -0
  309. package/utils/formatNumbers.d.ts +1 -1
  310. package/utils/formatNumbers.js +39 -8
  311. package/utils/index.js +7 -0
  312. package/utils/object.d.ts +2 -0
  313. package/utils/object.js +9 -5
  314. package/utils/search.js +1 -1
  315. package/utils/text.d.ts +3 -0
  316. package/utils/text.js +24 -5
  317. package/utils/totals.d.ts +5 -0
  318. package/utils/totals.js +9 -0
  319. package/utils/utils.d.ts +1 -0
  320. package/utils/utils.js +4 -0
  321. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  322. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  323. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
  324. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
  325. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
  326. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
  327. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
  328. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
  329. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  330. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
  331. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  332. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  333. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  334. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  335. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  336. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  337. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  338. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  339. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  340. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  341. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  342. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  343. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  344. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  345. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
  346. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  347. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
  348. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  349. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  350. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  351. package/components/chart/composables/useChartValues.d.ts +0 -12
  352. package/components/chart/composables/useChartValues.js +0 -32
@@ -0,0 +1,95 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ href?: string;
3
+ disabled?: boolean;
4
+ color?: "default" | "primary";
5
+ variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
6
+ iconName?: string;
7
+ iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
8
+ iconPosition?: "end" | "start";
9
+ testId?: string;
10
+ isTruncated?: boolean;
11
+ withTooltip?: boolean;
12
+ tooltipText?: string;
13
+ navigateToPage?: () => void;
14
+ }>, {
15
+ href: any;
16
+ disabled: boolean;
17
+ color: string;
18
+ variant: string;
19
+ iconName: any;
20
+ iconType: string;
21
+ iconPosition: string;
22
+ testId: string;
23
+ isTruncated: boolean;
24
+ withTooltip: boolean;
25
+ tooltipText: string;
26
+ navigateToPage: any;
27
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ click: () => void;
29
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
30
+ href?: string;
31
+ disabled?: boolean;
32
+ color?: "default" | "primary";
33
+ variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
34
+ iconName?: string;
35
+ iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
36
+ iconPosition?: "end" | "start";
37
+ testId?: string;
38
+ isTruncated?: boolean;
39
+ withTooltip?: boolean;
40
+ tooltipText?: string;
41
+ navigateToPage?: () => void;
42
+ }>, {
43
+ href: any;
44
+ disabled: boolean;
45
+ color: string;
46
+ variant: string;
47
+ iconName: any;
48
+ iconType: string;
49
+ iconPosition: string;
50
+ testId: string;
51
+ isTruncated: boolean;
52
+ withTooltip: boolean;
53
+ tooltipText: string;
54
+ navigateToPage: any;
55
+ }>>> & {
56
+ onClick?: () => any;
57
+ }, {
58
+ testId: string;
59
+ variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
60
+ withTooltip: boolean;
61
+ tooltipText: string;
62
+ isTruncated: boolean;
63
+ disabled: boolean;
64
+ color: "default" | "primary";
65
+ href: string;
66
+ iconName: string;
67
+ iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
68
+ iconPosition: "end" | "start";
69
+ navigateToPage: () => void;
70
+ }>, {
71
+ default?(_: {}): any;
72
+ }>;
73
+ export default _default;
74
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
+ type __VLS_TypePropsToRuntimeProps<T> = {
76
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
77
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
+ } : {
79
+ type: import('vue').PropType<T[K]>;
80
+ required: true;
81
+ };
82
+ };
83
+ type __VLS_WithDefaults<P, D> = {
84
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
85
+ default: D[K];
86
+ }> : P[K];
87
+ };
88
+ type __VLS_Prettify<T> = {
89
+ [K in keyof T]: T[K];
90
+ } & {};
91
+ type __VLS_WithTemplateSlots<T, S> = T & {
92
+ new (): {
93
+ $slots: S;
94
+ };
95
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./Link.vue2.js";
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css"; //*');
4
+ const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-1a766750"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,65 @@
1
+ import "../../Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css"; import { defineComponent as m, openBlock as n, createBlock as l, unref as t, mergeProps as c, withCtx as y, createCommentVNode as d, renderSlot as T } from "vue";
2
+ import k from "../typography/v4/Typography.vue.js";
3
+ import r from "../icon/v4/IconV4.vue.js";
4
+ import "../icon/v4/IconFlag.vue.js";
5
+ import { useTestIdAttrs as p } from "../../utils/testIds.js";
6
+ import { LinkTestIdModifiers as o } from "../../testids/index.js";
7
+ const w = /* @__PURE__ */ m({
8
+ __name: "Link",
9
+ props: {
10
+ href: { default: null },
11
+ disabled: { type: Boolean, default: !1 },
12
+ color: { default: "primary" },
13
+ variant: { default: "body1" },
14
+ iconName: { default: null },
15
+ iconType: { default: "regular" },
16
+ iconPosition: { default: "end" },
17
+ testId: { default: "" },
18
+ isTruncated: { type: Boolean, default: !1 },
19
+ withTooltip: { type: Boolean, default: !1 },
20
+ tooltipText: { default: "" },
21
+ navigateToPage: { type: Function, default: null }
22
+ },
23
+ emits: ["click"],
24
+ setup(e, { emit: u }) {
25
+ const i = e, s = () => {
26
+ if (!i.disabled) {
27
+ {
28
+ if (i.navigateToPage)
29
+ return i.navigateToPage();
30
+ i.href && window.open(i.href);
31
+ }
32
+ u("click");
33
+ }
34
+ }, a = p(i.testId, o);
35
+ return (f, h) => (n(), l(t(k), c({
36
+ class: ["link", [`link--${e.color}`, { "link--disabled": e.disabled }]],
37
+ variant: e.variant,
38
+ "is-truncated": e.isTruncated,
39
+ "with-tooltip": e.withTooltip,
40
+ "tooltip-text": e.tooltipText
41
+ }, t(a)[t(o).WRAPPER], { onClick: s }), {
42
+ default: y(() => [
43
+ e.iconName && e.iconPosition === "start" ? (n(), l(t(r), c({
44
+ key: 0,
45
+ name: e.iconName,
46
+ type: e.iconType,
47
+ size: "16px",
48
+ class: "icon"
49
+ }, t(a)[t(o).ICON]), null, 16, ["name", "type"])) : d("", !0),
50
+ T(f.$slots, "default", {}, void 0, !0),
51
+ e.iconName && e.iconPosition === "end" ? (n(), l(t(r), c({
52
+ key: 1,
53
+ name: e.iconName,
54
+ type: e.iconType,
55
+ size: "16px",
56
+ class: "icon"
57
+ }, t(a)[t(o).ICON]), null, 16, ["name", "type"])) : d("", !0)
58
+ ]),
59
+ _: 3
60
+ }, 16, ["class", "variant", "is-truncated", "with-tooltip", "tooltip-text"]));
61
+ }
62
+ });
63
+ export {
64
+ w as default
65
+ };
@@ -0,0 +1,296 @@
1
+ declare const LinkTypes: () => ({
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ testId: string;
7
+ variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
8
+ withTooltip: boolean;
9
+ tooltipText: string;
10
+ isTruncated: boolean;
11
+ disabled: boolean;
12
+ color: "default" | "primary";
13
+ href: string;
14
+ iconName: string;
15
+ iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
16
+ iconPosition: "end" | "start";
17
+ navigateToPage: () => void;
18
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
+ testId: {
20
+ type: import("vue").PropType<string>;
21
+ default: string;
22
+ };
23
+ variant: {
24
+ type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
25
+ default: string;
26
+ };
27
+ withTooltip: {
28
+ type: import("vue").PropType<boolean>;
29
+ default: boolean;
30
+ };
31
+ tooltipText: {
32
+ type: import("vue").PropType<string>;
33
+ default: string;
34
+ };
35
+ isTruncated: {
36
+ type: import("vue").PropType<boolean>;
37
+ default: boolean;
38
+ };
39
+ disabled: {
40
+ type: import("vue").PropType<boolean>;
41
+ default: boolean;
42
+ };
43
+ color: {
44
+ type: import("vue").PropType<"default" | "primary">;
45
+ default: string;
46
+ };
47
+ href: {
48
+ type: import("vue").PropType<string>;
49
+ default: any;
50
+ };
51
+ iconName: {
52
+ type: import("vue").PropType<string>;
53
+ default: any;
54
+ };
55
+ iconType: {
56
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
57
+ default: string;
58
+ };
59
+ iconPosition: {
60
+ type: import("vue").PropType<"end" | "start">;
61
+ default: string;
62
+ };
63
+ navigateToPage: {
64
+ type: import("vue").PropType<() => void>;
65
+ default: any;
66
+ };
67
+ }>> & {
68
+ onClick?: () => any;
69
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "variant" | "withTooltip" | "tooltipText" | "isTruncated" | "disabled" | "color" | "href" | "iconName" | "iconType" | "iconPosition" | "navigateToPage">;
70
+ $attrs: {
71
+ [x: string]: unknown;
72
+ };
73
+ $refs: {
74
+ [x: string]: unknown;
75
+ };
76
+ $slots: Readonly<{
77
+ [name: string]: import("vue").Slot;
78
+ }>;
79
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
80
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
81
+ $emit: (event: "click") => void;
82
+ $el: any;
83
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
84
+ testId: {
85
+ type: import("vue").PropType<string>;
86
+ default: string;
87
+ };
88
+ variant: {
89
+ type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
90
+ default: string;
91
+ };
92
+ withTooltip: {
93
+ type: import("vue").PropType<boolean>;
94
+ default: boolean;
95
+ };
96
+ tooltipText: {
97
+ type: import("vue").PropType<string>;
98
+ default: string;
99
+ };
100
+ isTruncated: {
101
+ type: import("vue").PropType<boolean>;
102
+ default: boolean;
103
+ };
104
+ disabled: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
108
+ color: {
109
+ type: import("vue").PropType<"default" | "primary">;
110
+ default: string;
111
+ };
112
+ href: {
113
+ type: import("vue").PropType<string>;
114
+ default: any;
115
+ };
116
+ iconName: {
117
+ type: import("vue").PropType<string>;
118
+ default: any;
119
+ };
120
+ iconType: {
121
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
122
+ default: string;
123
+ };
124
+ iconPosition: {
125
+ type: import("vue").PropType<"end" | "start">;
126
+ default: string;
127
+ };
128
+ navigateToPage: {
129
+ type: import("vue").PropType<() => void>;
130
+ default: any;
131
+ };
132
+ }>> & {
133
+ onClick?: () => any;
134
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
135
+ click: () => void;
136
+ }, string, {
137
+ testId: string;
138
+ variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
139
+ withTooltip: boolean;
140
+ tooltipText: string;
141
+ isTruncated: boolean;
142
+ disabled: boolean;
143
+ color: "default" | "primary";
144
+ href: string;
145
+ iconName: string;
146
+ iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
147
+ iconPosition: "end" | "start";
148
+ navigateToPage: () => void;
149
+ }, {}, string> & {
150
+ beforeCreate?: (() => void) | (() => void)[];
151
+ created?: (() => void) | (() => void)[];
152
+ beforeMount?: (() => void) | (() => void)[];
153
+ mounted?: (() => void) | (() => void)[];
154
+ beforeUpdate?: (() => void) | (() => void)[];
155
+ updated?: (() => void) | (() => void)[];
156
+ activated?: (() => void) | (() => void)[];
157
+ deactivated?: (() => void) | (() => void)[];
158
+ beforeDestroy?: (() => void) | (() => void)[];
159
+ beforeUnmount?: (() => void) | (() => void)[];
160
+ destroyed?: (() => void) | (() => void)[];
161
+ unmounted?: (() => void) | (() => void)[];
162
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
163
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
164
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
165
+ };
166
+ $forceUpdate: () => void;
167
+ $nextTick: typeof import("vue").nextTick;
168
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
169
+ } & Readonly<import("vue").ExtractPropTypes<{
170
+ testId: {
171
+ type: import("vue").PropType<string>;
172
+ default: string;
173
+ };
174
+ variant: {
175
+ type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
176
+ default: string;
177
+ };
178
+ withTooltip: {
179
+ type: import("vue").PropType<boolean>;
180
+ default: boolean;
181
+ };
182
+ tooltipText: {
183
+ type: import("vue").PropType<string>;
184
+ default: string;
185
+ };
186
+ isTruncated: {
187
+ type: import("vue").PropType<boolean>;
188
+ default: boolean;
189
+ };
190
+ disabled: {
191
+ type: import("vue").PropType<boolean>;
192
+ default: boolean;
193
+ };
194
+ color: {
195
+ type: import("vue").PropType<"default" | "primary">;
196
+ default: string;
197
+ };
198
+ href: {
199
+ type: import("vue").PropType<string>;
200
+ default: any;
201
+ };
202
+ iconName: {
203
+ type: import("vue").PropType<string>;
204
+ default: any;
205
+ };
206
+ iconType: {
207
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
208
+ default: string;
209
+ };
210
+ iconPosition: {
211
+ type: import("vue").PropType<"end" | "start">;
212
+ default: string;
213
+ };
214
+ navigateToPage: {
215
+ type: import("vue").PropType<() => void>;
216
+ default: any;
217
+ };
218
+ }>> & {
219
+ onClick?: () => any;
220
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
221
+ __isFragment?: never;
222
+ __isTeleport?: never;
223
+ __isSuspense?: never;
224
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
225
+ testId: {
226
+ type: import("vue").PropType<string>;
227
+ default: string;
228
+ };
229
+ variant: {
230
+ type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
231
+ default: string;
232
+ };
233
+ withTooltip: {
234
+ type: import("vue").PropType<boolean>;
235
+ default: boolean;
236
+ };
237
+ tooltipText: {
238
+ type: import("vue").PropType<string>;
239
+ default: string;
240
+ };
241
+ isTruncated: {
242
+ type: import("vue").PropType<boolean>;
243
+ default: boolean;
244
+ };
245
+ disabled: {
246
+ type: import("vue").PropType<boolean>;
247
+ default: boolean;
248
+ };
249
+ color: {
250
+ type: import("vue").PropType<"default" | "primary">;
251
+ default: string;
252
+ };
253
+ href: {
254
+ type: import("vue").PropType<string>;
255
+ default: any;
256
+ };
257
+ iconName: {
258
+ type: import("vue").PropType<string>;
259
+ default: any;
260
+ };
261
+ iconType: {
262
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
263
+ default: string;
264
+ };
265
+ iconPosition: {
266
+ type: import("vue").PropType<"end" | "start">;
267
+ default: string;
268
+ };
269
+ navigateToPage: {
270
+ type: import("vue").PropType<() => void>;
271
+ default: any;
272
+ };
273
+ }>> & {
274
+ onClick?: () => any;
275
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
276
+ click: () => void;
277
+ }, string, {
278
+ testId: string;
279
+ variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
280
+ withTooltip: boolean;
281
+ tooltipText: string;
282
+ isTruncated: boolean;
283
+ disabled: boolean;
284
+ color: "default" | "primary";
285
+ href: string;
286
+ iconName: string;
287
+ iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
288
+ iconPosition: "end" | "start";
289
+ navigateToPage: () => void;
290
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
291
+ $slots: {
292
+ default?(_: {}): any;
293
+ };
294
+ }))[];
295
+ export { default as Link } from './Link.vue';
296
+ export { LinkTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./Link.vue.js";
2
+ const n = () => [o];
3
+ export {
4
+ o as Link,
5
+ n as LinkTypes
6
+ };
@@ -5,6 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
5
5
  errorText?: string;
6
6
  modelValue?: string;
7
7
  testId?: string;
8
+ disabledButton?: boolean;
8
9
  }>, {
9
10
  label: string;
10
11
  name: string;
@@ -12,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
13
  errorText: string;
13
14
  modelValue: any;
14
15
  testId: string;
16
+ disabledButton: boolean;
15
17
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
18
  "update:modelValue": (...args: any[]) => void;
17
19
  change: (...args: any[]) => void;
@@ -22,6 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
24
  errorText?: string;
23
25
  modelValue?: string;
24
26
  testId?: string;
27
+ disabledButton?: boolean;
25
28
  }>, {
26
29
  label: string;
27
30
  name: string;
@@ -29,6 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
29
32
  errorText: string;
30
33
  modelValue: any;
31
34
  testId: string;
35
+ disabledButton: boolean;
32
36
  }>>> & {
33
37
  onChange?: (...args: any[]) => any;
34
38
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -39,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
43
  modelValue: string;
40
44
  helperText: string;
41
45
  errorText: string;
46
+ disabledButton: boolean;
42
47
  }>, {
43
48
  default?(_: {}): any;
44
49
  }>;
@@ -1,7 +1,7 @@
1
1
  import o from "./RadioButton.vue2.js";
2
2
  /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css"; //*');
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3c6b715c"]]);
3
+ // import "../../../RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css"; //*');
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dac25b9f"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };
@@ -1,9 +1,9 @@
1
- import "../../../RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css"; import { defineComponent as E, openBlock as n, createElementBlock as I, normalizeClass as b, unref as e, createElementVNode as r, withDirectives as y, mergeProps as i, isRef as C, vModelRadio as N, renderSlot as g, createVNode as w, withCtx as u, createTextVNode as m, toDisplayString as f, createBlock as v, createCommentVNode as R } from "vue";
2
- import c from "../../typography/Text.vue.js";
3
- import { useRadio as z } from "../common/useRadio.js";
4
- import { RadioTestIdModifiers as o } from "../../../testids/index.js";
5
- import { useTestIdAttrs as A } from "../../../utils/testIds.js";
6
- const D = { class: "wrapper" }, L = ["value", "name", "disabled"], O = /* @__PURE__ */ E({
1
+ import "../../../RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css"; import { defineComponent as E, computed as I, openBlock as u, createElementBlock as C, normalizeClass as T, unref as e, createElementVNode as o, withDirectives as N, mergeProps as i, isRef as g, vModelRadio as w, renderSlot as z, createVNode as A, withCtx as m, createTextVNode as f, toDisplayString as c, createBlock as v, createCommentVNode as R } from "vue";
2
+ import p from "../../typography/Text.vue.js";
3
+ import { useRadio as D } from "../common/useRadio.js";
4
+ import { RadioTestIdModifiers as r } from "../../../testids/index.js";
5
+ import { useTestIdAttrs as L } from "../../../utils/testIds.js";
6
+ const $ = { class: "wrapper" }, F = ["value", "name", "disabled"], U = /* @__PURE__ */ E({
7
7
  __name: "RadioButton",
8
8
  props: {
9
9
  label: { default: "" },
@@ -11,62 +11,65 @@ const D = { class: "wrapper" }, L = ["value", "name", "disabled"], O = /* @__PUR
11
11
  helperText: { default: "" },
12
12
  errorText: { default: "" },
13
13
  modelValue: { default: void 0 },
14
- testId: { default: "" }
14
+ testId: { default: "" },
15
+ disabledButton: { type: Boolean, default: !1 }
15
16
  },
16
17
  emits: ["update:modelValue", "change"],
17
- setup(t, { emit: V }) {
18
- const p = t, { radioRef: h, focus: x, disabled: T, modelValue: a, radioGroup: k } = z(
19
- p,
20
- V
21
- ), d = A(p.testId, o);
22
- return (B, l) => (n(), I("label", {
23
- class: b(["radio-button", { "radio-button--disabled": e(T) }])
18
+ setup(t, { emit: B }) {
19
+ const d = t, { radioRef: V, focus: x, disabled: h, modelValue: a, radioGroup: k } = D(
20
+ d,
21
+ B
22
+ ), s = L(d.testId, r), b = I(
23
+ () => h.value || d.disabledButton
24
+ );
25
+ return (y, l) => (u(), C("label", {
26
+ class: T(["radio-button", { "radio-button--disabled": e(b) }])
24
27
  }, [
25
- r("span", D, [
26
- y(r("input", i({
28
+ o("span", $, [
29
+ N(o("input", i({
27
30
  ref_key: "radioRef",
28
- ref: h,
29
- "onUpdate:modelValue": l[0] || (l[0] = (s) => C(a) ? a.value = s : null),
31
+ ref: V,
32
+ "onUpdate:modelValue": l[0] || (l[0] = (n) => g(a) ? a.value = n : null),
30
33
  value: t.label,
31
34
  name: t.name || e(k)?.name,
32
35
  type: "radio",
33
- disabled: e(T)
34
- }, e(d)[e(o).FIELD], {
35
- onFocus: l[1] || (l[1] = (s) => x.value = !0),
36
- onBlur: l[2] || (l[2] = (s) => x.value = !1)
37
- }), null, 16, L), [
38
- [N, e(a)]
36
+ disabled: e(b)
37
+ }, e(s)[e(r).FIELD], {
38
+ onFocus: l[1] || (l[1] = (n) => x.value = !0),
39
+ onBlur: l[2] || (l[2] = (n) => x.value = !1)
40
+ }), null, 16, F), [
41
+ [w, e(a)]
39
42
  ]),
40
- r("span", {
41
- class: b([{ "circle--selected": e(a) === t.label }, "circle"])
43
+ o("span", {
44
+ class: T([{ "circle--selected": e(a) === t.label }, "circle"])
42
45
  }, null, 2)
43
46
  ]),
44
- r("span", i({ class: "label" }, e(d)[e(o).LABEL]), [
45
- g(B.$slots, "default", {}, () => [
46
- w(c, { "is-truncated": "" }, {
47
- default: u(() => [
48
- m(f(t.label), 1)
47
+ o("span", i({ class: "label" }, e(s)[e(r).LABEL]), [
48
+ z(y.$slots, "default", {}, () => [
49
+ A(p, { "is-truncated": "" }, {
50
+ default: m(() => [
51
+ f(c(t.label), 1)
49
52
  ]),
50
53
  _: 1
51
54
  })
52
55
  ], !0),
53
- !t.errorText && t.helperText ? (n(), v(c, {
56
+ !t.errorText && t.helperText ? (u(), v(p, {
54
57
  key: 0,
55
58
  class: "helper-text--text helper-text",
56
59
  size: "caption"
57
60
  }, {
58
- default: u(() => [
59
- m(f(t.helperText), 1)
61
+ default: m(() => [
62
+ f(c(t.helperText), 1)
60
63
  ]),
61
64
  _: 1
62
65
  })) : R("", !0),
63
- t.errorText ? (n(), v(c, i({
66
+ t.errorText ? (u(), v(p, i({
64
67
  key: 1,
65
68
  size: "caption",
66
69
  class: "helper-text--error helper-text"
67
- }, e(d)[e(o).ERROR_TEXT]), {
68
- default: u(() => [
69
- m(f(t.errorText), 1)
70
+ }, e(s)[e(r).ERROR_TEXT]), {
71
+ default: m(() => [
72
+ f(c(t.errorText), 1)
70
73
  ]),
71
74
  _: 1
72
75
  }, 16)) : R("", !0)
@@ -75,5 +78,5 @@ const D = { class: "wrapper" }, L = ["value", "name", "disabled"], O = /* @__PUR
75
78
  }
76
79
  });
77
80
  export {
78
- O as default
81
+ U as default
79
82
  };