@ironsource/shared-ui 2.0.0-rc.5 → 2.0.0-rc.6

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 (288) hide show
  1. package/AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_14dcdae5_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_f080f37f_lang.css +1 -0
  4. package/DataGridMenu.vue_vue_type_style_index_0_scoped_99f1dcca_lang.css +1 -0
  5. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c218ef1f_lang.css +1 -0
  6. package/Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css +1 -0
  7. package/DialogV4.vue_vue_type_style_index_0_scoped_c0c12287_lang.css +1 -0
  8. package/DropdownV4.vue_vue_type_style_index_0_scoped_571b7c2f_lang.css +1 -0
  9. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css +1 -0
  11. package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +1 -0
  12. package/EmptyState.vue_vue_type_style_index_0_scoped_d3aecf34_lang.css +1 -0
  13. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_18855436_lang.css +1 -0
  14. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +1 -0
  15. package/ExpandRowToggle.vue_vue_type_style_index_0_scoped_b053baa6_lang.css +1 -0
  16. package/FieldHelpText.vue_vue_type_style_index_0_scoped_c551c20f_lang.css +1 -0
  17. package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +1 -0
  18. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +1 -0
  19. package/IconButtonV4.vue_vue_type_style_index_0_scoped_2ca54aa8_lang.css +1 -0
  20. package/IconV4.vue_vue_type_style_index_0_scoped_a78f8a3e_lang.css +1 -0
  21. package/IncludeExclude.vue_vue_type_style_index_0_scoped_2c9debd6_lang.css +1 -0
  22. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f738b223_lang.css +1 -0
  23. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_ff32d111_lang.css +1 -0
  24. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_4a87e4fd_lang.css +1 -0
  25. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css +1 -0
  26. package/Input.vue_vue_type_style_index_0_scoped_7092804b_lang.css +1 -0
  27. package/MultiBar.vue_vue_type_style_index_0_scoped_f5061530_lang.css +1 -0
  28. package/MultiBarMenu.vue_vue_type_style_index_0_scoped_ae2bbc6c_lang.css +1 -0
  29. package/ScrollButton.vue_vue_type_style_index_0_scoped_35ed2cfe_lang.css +1 -0
  30. package/SearchV4.vue_vue_type_style_index_0_scoped_215f0f29_lang.css +1 -0
  31. package/SortIcon.vue_vue_type_style_index_0_scoped_2bda5d4a_lang.css +1 -0
  32. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_cb20f507_lang.css +1 -0
  33. package/Table.vue_vue_type_style_index_0_scoped_6b769df2_lang.css +1 -0
  34. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css +1 -0
  35. package/Tabs.vue_vue_type_style_index_0_scoped_06c58d5a_lang.css +1 -0
  36. package/TabsV4.vue_vue_type_style_index_0_scoped_bab86b0a_lang.css +1 -0
  37. package/TextField.vue_vue_type_style_index_0_scoped_d4dc4582_lang.css +1 -0
  38. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_13b5aebd_lang.css +1 -0
  39. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7792f772_lang.css +1 -0
  40. package/Toggle.vue_vue_type_style_index_0_scoped_1cf7973e_lang.css +1 -0
  41. package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
  42. package/TooltipV4.vue_vue_type_style_index_0_lang.css +1 -0
  43. package/components/appTrigger/AppTrigger.vue.js +2 -2
  44. package/components/appTrigger/AppTrigger.vue2.js +3 -3
  45. package/components/button/v3/ScrollButton.vue.js +3 -3
  46. package/components/button/v3/ScrollButton.vue2.js +3 -3
  47. package/components/button/v4/IconButtonV4.vue.d.ts +66 -0
  48. package/components/button/v4/IconButtonV4.vue.js +7 -0
  49. package/components/button/v4/IconButtonV4.vue2.js +35 -0
  50. package/components/button/v4/index.d.ts +190 -3
  51. package/components/button/v4/index.js +6 -4
  52. package/components/dialog/common/Dialog.common.d.ts +10 -0
  53. package/components/dialog/common/Dialog.common.js +57 -0
  54. package/components/dialog/{Dialog.vue.d.ts → v3/Dialog.vue.d.ts} +1 -1
  55. package/components/dialog/v3/Dialog.vue.js +7 -0
  56. package/components/dialog/v3/Dialog.vue2.js +137 -0
  57. package/components/dialog/{index.d.ts → v3/index.d.ts} +8 -8
  58. package/components/dialog/v3/index.js +8 -0
  59. package/components/dialog/v4/DialogV4.vue.d.ts +109 -0
  60. package/components/dialog/v4/DialogV4.vue.js +7 -0
  61. package/components/dialog/v4/DialogV4.vue2.js +119 -0
  62. package/components/dialog/v4/index.d.ts +345 -0
  63. package/components/dialog/{index.js → v4/index.js} +1 -1
  64. package/components/dropdown/common/Dropdown.common.js +15 -15
  65. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  66. package/components/dropdown/v3/index.d.ts +40 -40
  67. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +66 -0
  68. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +7 -0
  69. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -0
  70. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  71. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +36 -35
  72. package/components/dropdown/v4/Dropdown.types.d.ts +3 -0
  73. package/components/dropdown/v4/Dropdown.types.js +8 -0
  74. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -20
  75. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  76. package/components/dropdown/v4/DropdownV4.vue2.js +222 -186
  77. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +29 -0
  78. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +7 -0
  79. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +19 -0
  80. package/components/dropdown/v4/index.d.ts +190 -115
  81. package/components/dropdown/v4/index.js +14 -4
  82. package/components/emptyState/v3/EmptyState.vue.js +7 -0
  83. package/components/emptyState/{EmptyState.vue2.js → v3/EmptyState.vue2.js} +7 -7
  84. package/components/emptyState/{EmptyStateIcon.vue.js → v3/EmptyStateIcon.vue.js} +8 -8
  85. package/components/emptyState/v4/EmptyStateV4.types.d.ts +2 -0
  86. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +56 -0
  87. package/components/emptyState/v4/EmptyStateV4.vue.js +7 -0
  88. package/components/emptyState/v4/EmptyStateV4.vue2.js +66 -0
  89. package/components/emptyState/v4/icons/IconError.vue.js +16 -0
  90. package/components/emptyState/v4/icons/IconFiles.vue.d.ts +2 -0
  91. package/components/emptyState/v4/icons/IconFiles.vue.js +16 -0
  92. package/components/emptyState/v4/icons/IconNoAccess.vue.d.ts +2 -0
  93. package/components/emptyState/v4/icons/IconNoAccess.vue.js +16 -0
  94. package/components/emptyState/v4/icons/IconNoData.vue.d.ts +2 -0
  95. package/components/emptyState/v4/icons/IconNoData.vue.js +16 -0
  96. package/components/emptyState/v4/icons/IconNoResults.vue.d.ts +2 -0
  97. package/components/emptyState/v4/icons/IconNoResults.vue.js +16 -0
  98. package/components/emptyState/v4/icons/IconSettings.vue.d.ts +2 -0
  99. package/components/emptyState/v4/icons/IconSettings.vue.js +16 -0
  100. package/components/emptyState/v4/index.d.ts +145 -0
  101. package/components/emptyState/v4/index.js +6 -0
  102. package/components/icon/v4/Icon.types.d.ts +2 -0
  103. package/components/icon/v4/IconV4.vue.d.ts +3 -3
  104. package/components/icon/v4/IconV4.vue.js +4 -4
  105. package/components/icon/v4/IconV4.vue2.js +27 -24
  106. package/components/icon/v4/index.d.ts +7 -7
  107. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  108. package/components/includeExclude/IncludeExclude.vue.js +2 -2
  109. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  110. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
  111. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +3 -3
  112. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  113. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +3 -3
  114. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  115. package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
  116. package/components/includeExclude/IncludeExcludeOption.vue2.js +3 -3
  117. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +3 -3
  118. package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +3 -3
  119. package/components/includeExclude/index.d.ts +40 -40
  120. package/components/input/common/Input.common.d.ts +1 -1
  121. package/components/input/common/Input.common.js +2 -2
  122. package/components/input/v3/Input.vue.js +2 -2
  123. package/components/input/v3/Input.vue2.js +3 -3
  124. package/components/input/v4/TextField.vue.d.ts +8 -3
  125. package/components/input/v4/TextField.vue.js +3 -3
  126. package/components/input/v4/TextField.vue2.js +81 -74
  127. package/components/input/v4/index.d.ts +27 -8
  128. package/components/menu/Menu.vue.d.ts +1 -1
  129. package/components/menu/index.d.ts +20 -20
  130. package/components/multibar/MultiBar.types.d.ts +6 -0
  131. package/components/multibar/MultiBar.vue.d.ts +65 -0
  132. package/components/multibar/MultiBar.vue.js +7 -0
  133. package/components/multibar/MultiBar.vue2.js +96 -0
  134. package/components/multibar/MultiBarMenu.vue.d.ts +34 -0
  135. package/components/multibar/MultiBarMenu.vue.js +7 -0
  136. package/components/multibar/MultiBarMenu.vue2.js +50 -0
  137. package/components/multibar/index.d.ts +77 -0
  138. package/components/multibar/index.js +6 -0
  139. package/components/popover/index.d.ts +16 -16
  140. package/components/search/v4/SearchV4.vue.js +2 -2
  141. package/components/search/v4/SearchV4.vue2.js +29 -32
  142. package/components/shared/FieldHelpText.vue.js +3 -3
  143. package/components/shared/FieldHelpText.vue2.js +21 -25
  144. package/components/shared/FieldLabel.vue.d.ts +1 -1
  145. package/components/shared/FieldLabel.vue.js +3 -3
  146. package/components/shared/FieldLabel.vue2.js +31 -35
  147. package/components/table/common/Table.common.d.ts +35 -0
  148. package/components/table/common/Table.common.js +114 -0
  149. package/components/table/{Table.types.d.ts → common/Table.types.d.ts} +7 -0
  150. package/components/table/v3/SortOrderIcon.vue.d.ts +2 -0
  151. package/components/table/v3/SortOrderIcon.vue.js +21 -0
  152. package/components/table/{Table.vue.d.ts → v3/Table.vue.d.ts} +2 -3
  153. package/components/table/v3/Table.vue.js +7 -0
  154. package/components/table/v3/Table.vue2.js +248 -0
  155. package/components/table/v3/TableHeaderSorter.vue.js +7 -0
  156. package/components/table/{TableHeaderSorter.vue2.js → v3/TableHeaderSorter.vue2.js} +1 -1
  157. package/components/table/{index.d.ts → v3/index.d.ts} +49 -49
  158. package/components/table/v3/index.js +10 -0
  159. package/components/table/v4/DataGrid.vue.d.ts +182 -0
  160. package/components/table/v4/DataGrid.vue.js +7 -0
  161. package/components/table/v4/DataGrid.vue2.js +296 -0
  162. package/components/table/v4/DataGridMenu.vue.d.ts +34 -0
  163. package/components/table/v4/DataGridMenu.vue.js +7 -0
  164. package/components/table/v4/DataGridMenu.vue2.js +50 -0
  165. package/components/table/v4/ExpandRowToggle.vue.d.ts +33 -0
  166. package/components/table/v4/ExpandRowToggle.vue.js +7 -0
  167. package/components/table/v4/ExpandRowToggle.vue2.js +24 -0
  168. package/components/table/v4/SortIcon.vue.d.ts +15 -0
  169. package/components/table/v4/SortIcon.vue.js +7 -0
  170. package/components/table/v4/SortIcon.vue2.js +24 -0
  171. package/components/table/v4/index.d.ts +601 -0
  172. package/components/table/v4/index.js +8 -0
  173. package/components/table/v4/storyUtils.d.ts +4 -0
  174. package/components/table-cells/common/Editable.common.d.ts +5 -0
  175. package/components/table-cells/common/Editable.common.js +39 -0
  176. package/components/table-cells/v3/Editable.vue.js +7 -0
  177. package/components/table-cells/v3/Editable.vue2.js +43 -0
  178. package/components/table-cells/{index.d.ts → v3/index.d.ts} +2 -2
  179. package/components/table-cells/{index.js → v3/index.js} +2 -2
  180. package/components/table-cells/v4/EditableV4.vue.d.ts +51 -0
  181. package/components/table-cells/v4/EditableV4.vue.js +7 -0
  182. package/components/table-cells/v4/EditableV4.vue2.js +45 -0
  183. package/components/table-cells/v4/index.d.ts +146 -0
  184. package/components/table-cells/v4/index.js +6 -0
  185. package/components/tabs/common/Tabs.types.d.ts +6 -0
  186. package/components/tabs/common/tabsCommon.d.ts +16 -0
  187. package/components/tabs/common/tabsCommon.js +43 -0
  188. package/components/tabs/{Tabs.vue.d.ts → v3/Tabs.vue.d.ts} +1 -6
  189. package/components/tabs/v3/Tabs.vue.js +7 -0
  190. package/components/tabs/v3/Tabs.vue2.js +85 -0
  191. package/components/tabs/{index.d.ts → v3/index.d.ts} +8 -48
  192. package/components/tabs/v4/TabsV4.vue.d.ts +56 -0
  193. package/components/tabs/v4/TabsV4.vue.js +7 -0
  194. package/components/tabs/v4/TabsV4.vue2.js +75 -0
  195. package/components/tabs/v4/index.d.ts +148 -0
  196. package/components/tabs/v4/index.js +6 -0
  197. package/components/toggle/v3/Toggle.vue.js +7 -0
  198. package/components/toggle/{Toggle.vue2.js → v3/Toggle.vue2.js} +17 -17
  199. package/components/toggle/v4/ToggleV4.vue.d.ts +98 -0
  200. package/components/tooltip/common/Tooltip.common.d.ts +3 -0
  201. package/components/tooltip/common/Tooltip.common.js +27 -0
  202. package/components/tooltip/v3/TextWithTitleContent.vue.js +7 -0
  203. package/components/tooltip/{TextWithTitleContent.vue2.js → v3/TextWithTitleContent.vue2.js} +4 -4
  204. package/components/tooltip/v3/Tooltip.vue.js +5 -0
  205. package/components/tooltip/v3/Tooltip.vue2.js +87 -0
  206. package/components/tooltip/{index.js → v3/index.js} +2 -2
  207. package/components/tooltip/v4/TextWithTitleContent.vue.d.ts +33 -0
  208. package/components/tooltip/v4/TextWithTitleContent.vue.js +7 -0
  209. package/components/tooltip/v4/TextWithTitleContent.vue2.js +36 -0
  210. package/components/tooltip/v4/TooltipV4.vue.d.ts +85 -0
  211. package/components/tooltip/v4/TooltipV4.vue.js +67 -0
  212. package/components/tooltip/v4/TooltipV4.vue2.js +0 -0
  213. package/components/tooltip/v4/TooltipV4.vue3.js +4 -0
  214. package/components/tooltip/v4/index.d.ts +249 -0
  215. package/components/tooltip/v4/index.js +6 -0
  216. package/index.d.ts +4897 -333
  217. package/index.js +150 -153
  218. package/package.json +55 -19
  219. package/testids/index.d.ts +11 -3
  220. package/testids/index.js +14 -14
  221. package/utils/storybook-utils.d.ts +1 -0
  222. package/utils/string.d.ts +2 -0
  223. package/utils/string.js +5 -0
  224. package/AppTrigger.vue_vue_type_style_index_0_scoped_512ac1ab_lang.css +0 -1
  225. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_4cbcfcce_lang.css +0 -1
  226. package/Dialog.vue_vue_type_style_index_0_scoped_40b833a0_lang.css +0 -1
  227. package/DropdownV4.vue_vue_type_style_index_0_scoped_34bd23a1_lang.css +0 -1
  228. package/Editable.vue_vue_type_style_index_0_scoped_3b865286_lang.css +0 -1
  229. package/EmptyState.vue_vue_type_style_index_0_scoped_f082a371_lang.css +0 -1
  230. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_f4915249_lang.css +0 -1
  231. package/FieldHelpText.vue_vue_type_style_index_0_scoped_d5507827_lang.css +0 -1
  232. package/FieldLabel.vue_vue_type_style_index_0_scoped_90f19704_lang.css +0 -1
  233. package/IconV4.vue_vue_type_style_index_0_scoped_f23078a4_lang.css +0 -1
  234. package/IncludeExclude.vue_vue_type_style_index_0_scoped_802d4031_lang.css +0 -1
  235. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_1621ad67_lang.css +0 -1
  236. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_daccb4bb_lang.css +0 -1
  237. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_18847008_lang.css +0 -1
  238. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_df79f184_lang.css +0 -1
  239. package/Input.vue_vue_type_style_index_0_scoped_79f436f9_lang.css +0 -1
  240. package/ScrollButton.vue_vue_type_style_index_0_scoped_90bacbbc_lang.css +0 -1
  241. package/SearchV4.vue_vue_type_style_index_0_scoped_63f11472_lang.css +0 -1
  242. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_eaa4d6ee_lang.css +0 -1
  243. package/Table.vue_vue_type_style_index_0_scoped_096d493a_lang.css +0 -1
  244. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css +0 -1
  245. package/Tabs.vue_vue_type_style_index_0_scoped_e92a7c21_lang.css +0 -1
  246. package/TextField.vue_vue_type_style_index_0_scoped_7aa32734_lang.css +0 -1
  247. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7da6e1ca_lang.css +0 -1
  248. package/Toggle.vue_vue_type_style_index_0_scoped_d97166d1_lang.css +0 -1
  249. package/components/dialog/Dialog.vue.js +0 -7
  250. package/components/dialog/Dialog.vue2.js +0 -178
  251. package/components/emptyState/EmptyState.vue.js +0 -7
  252. package/components/table/SortOrderIcon.vue.js +0 -21
  253. package/components/table/Table.vue.js +0 -7
  254. package/components/table/Table.vue2.js +0 -298
  255. package/components/table/TableHeaderSorter.vue.js +0 -7
  256. package/components/table/index.js +0 -8
  257. package/components/table-cells/Editable.vue.js +0 -7
  258. package/components/table-cells/Editable.vue2.js +0 -66
  259. package/components/tabs/Tabs.vue.js +0 -7
  260. package/components/tabs/Tabs.vue2.js +0 -96
  261. package/components/toggle/Toggle.vue.js +0 -7
  262. package/components/tooltip/TextWithTitleContent.vue.js +0 -7
  263. package/components/tooltip/Tooltip.vue.js +0 -84
  264. package/components/tooltip/Tooltip.vue2.js +0 -5
  265. /package/components/dialog/{Reason.d.ts → common/Reason.d.ts} +0 -0
  266. /package/components/dialog/{Reason.js → common/Reason.js} +0 -0
  267. /package/components/emptyState/{EmptyState.vue.d.ts → v3/EmptyState.vue.d.ts} +0 -0
  268. /package/components/emptyState/{EmptyStateIcon.vue.d.ts → v3/EmptyStateIcon.vue.d.ts} +0 -0
  269. /package/components/emptyState/{EmptyStateIcon.vue2.js → v3/EmptyStateIcon.vue2.js} +0 -0
  270. /package/components/emptyState/{index.d.ts → v3/index.d.ts} +0 -0
  271. /package/components/emptyState/{index.js → v3/index.js} +0 -0
  272. /package/components/{table/SortOrderIcon.vue.d.ts → emptyState/v4/icons/IconError.vue.d.ts} +0 -0
  273. /package/components/table/{TableContext.d.ts → common/TableContext.d.ts} +0 -0
  274. /package/components/table/{TableContext.js → common/TableContext.js} +0 -0
  275. /package/components/table/{SortOrderIcon.vue2.js → v3/SortOrderIcon.vue2.js} +0 -0
  276. /package/components/table/{TableHeaderSorter.vue.d.ts → v3/TableHeaderSorter.vue.d.ts} +0 -0
  277. /package/components/table/{codeTemplate.d.ts → v3/codeTemplate.d.ts} +0 -0
  278. /package/components/table-cells/{EditableContext.d.ts → common/EditableContext.d.ts} +0 -0
  279. /package/components/table-cells/{EditableContext.js → common/EditableContext.js} +0 -0
  280. /package/components/table-cells/{Editable.vue.d.ts → v3/Editable.vue.d.ts} +0 -0
  281. /package/components/tabs/{index.js → v3/index.js} +0 -0
  282. /package/components/toggle/{Toggle.vue.d.ts → v3/Toggle.vue.d.ts} +0 -0
  283. /package/components/toggle/{index.d.ts → v3/index.d.ts} +0 -0
  284. /package/components/toggle/{index.js → v3/index.js} +0 -0
  285. /package/components/tooltip/{Tooltip.types.d.ts → common/Tooltip.types.d.ts} +0 -0
  286. /package/components/tooltip/{TextWithTitleContent.vue.d.ts → v3/TextWithTitleContent.vue.d.ts} +0 -0
  287. /package/components/tooltip/{Tooltip.vue.d.ts → v3/Tooltip.vue.d.ts} +0 -0
  288. /package/components/tooltip/{index.d.ts → v3/index.d.ts} +0 -0
@@ -0,0 +1,296 @@
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_f080f37f_lang.css"; import { defineComponent as p, useCssVars as _, unref as t, useSlots as tt, computed as H, openBlock as i, createElementBlock as d, createElementVNode as n, normalizeStyle as v, normalizeClass as y, renderSlot as r, createVNode as c, withCtx as b, createTextVNode as $, toDisplayString as R, isRef as et, createCommentVNode as u, Fragment as T, renderList as C, createBlock as st, mergeProps as at } from "vue";
2
+ import E from "../../typography/v4/Typography.vue.js";
3
+ import it from "../../skeleton/Skeleton.vue.js";
4
+ import dt from "../../emptyState/v4/EmptyStateV4.vue.js";
5
+ import U from "../../checkbox/Checkbox.vue.js";
6
+ import { TableTestIdModifiers as f } from "../../../testids/index.js";
7
+ import { tableCommon as lt } from "../common/Table.common.js";
8
+ import ot from "./SortIcon.vue.js";
9
+ import nt from "./ExpandRowToggle.vue.js";
10
+ import rt from "../../search/v4/SearchV4.vue.js";
11
+ import { useVModel as ct } from "@vueuse/core";
12
+ const ut = ["data-testid"], ht = ["data-testid"], yt = ["data-testid"], ft = ["data-testid"], St = ["data-testid"], kt = { class: "search-wrapper" }, mt = ["data-testid"], gt = ["data-testid"], vt = { key: 0 }, bt = {
13
+ key: 1,
14
+ class: "expand-toggle-cell"
15
+ }, $t = ["onClick"], Rt = { class: "table-head-container" }, Tt = ["data-testid"], Ct = ["onMouseenter"], Et = { key: 0 }, xt = {
16
+ key: 1,
17
+ class: "expand-toggle-cell"
18
+ }, Bt = {
19
+ key: 2,
20
+ class: "expanded-row"
21
+ }, Pt = { key: 1 }, Vt = {
22
+ key: 0,
23
+ class: "table-footer"
24
+ }, Ut = /* @__PURE__ */ p({
25
+ __name: "DataGrid",
26
+ props: {
27
+ title: { default: "" },
28
+ columns: null,
29
+ rows: null,
30
+ sections: { default: null },
31
+ sort: { default: null },
32
+ selection: { default: null },
33
+ getRowId: { type: Function, default: (s, S) => S },
34
+ isSticky: { type: Boolean, default: !0 },
35
+ isStickyHeader: { type: Boolean, default: !1 },
36
+ isLoading: { type: Boolean, default: !1 },
37
+ emptyStateVariant: { default: "no-data" },
38
+ emptyStateTitle: { default: "No data to display" },
39
+ emptyStateSubtitle: { default: "" },
40
+ isInfiniteScroll: { type: Boolean, default: !1 },
41
+ infiniteScrollThreshold: { default: 100 },
42
+ rowHeight: { type: [Number, Function], default: 48 },
43
+ loadingRowCount: { default: 3 },
44
+ defaultScrollPosition: { default: null },
45
+ testId: { default: "" },
46
+ search: { default: null },
47
+ showSearch: { type: Boolean, default: !1 },
48
+ searchPlaceholder: { default: "Search" },
49
+ searchAutoFocus: { type: Boolean, default: !1 }
50
+ },
51
+ emits: ["update:sort", "update:search", "update:selection", "onScroll", "saveRow", "loadMore"],
52
+ setup(s, { emit: S }) {
53
+ const h = s;
54
+ _((a) => ({
55
+ "0df6ad71": t(K),
56
+ "32cd282a": t(L),
57
+ "1e6d6132": t(J)
58
+ }));
59
+ const x = tt(), {
60
+ list: I,
61
+ containerProps: G,
62
+ wrapperProps: Y,
63
+ activeRow: B,
64
+ gridColumnTemplate: L,
65
+ toggleSortOrder: Q,
66
+ columnsStickyPositions: N,
67
+ hasSearchSlot: W,
68
+ containerStyle: j,
69
+ onScroll: w,
70
+ savingRows: F,
71
+ hasExpandSlot: m,
72
+ toggleExpandRow: q,
73
+ cssRowHeight: J,
74
+ cssExpandGridCol: K,
75
+ isRowExpanded: P,
76
+ hasCheckboxes: M
77
+ } = lt(h, S), O = H(() => !!x.footer), V = ct(h, "search", S), D = H(() => h.selection.length || 0), A = H(() => D.value === h.rows.length), z = (a) => h.selection.includes(a), X = (a) => {
78
+ z(a) ? g(h.selection.filter((o) => o !== a)) : g([...h.selection, a]);
79
+ }, Z = () => {
80
+ A.value ? g([]) : g(h.rows.map((a, o) => h.getRowId(a, o)));
81
+ }, g = (a) => {
82
+ S("update:selection", a);
83
+ };
84
+ return (a, o) => (i(), d("div", {
85
+ class: "table-container",
86
+ "data-testid": `${s.testId}-${t(f).CONTAINER}`,
87
+ onMouseleave: o[2] || (o[2] = (e) => B.value = null)
88
+ }, [
89
+ n("table", {
90
+ ref: t(G).ref,
91
+ style: v(t(j)),
92
+ class: y({
93
+ hasFooter: t(O)
94
+ }),
95
+ "data-testid": `${s.testId}-${t(f).TABLE}`,
96
+ onScrollPassive: o[1] || (o[1] = //@ts-ignore
97
+ (...e) => t(w) && t(w)(...e))
98
+ }, [
99
+ s.title || t(W) || t(x)["table-header-actions"] ? (i(), d("div", {
100
+ key: 0,
101
+ class: y(["table-header", { isStickyHeader: s.isStickyHeader }]),
102
+ "data-testid": `${s.testId}-${t(f).HEADER}`
103
+ }, [
104
+ n("div", {
105
+ class: "table-title",
106
+ "data-testid": `${s.testId}-${t(f).TITLE}`
107
+ }, [
108
+ r(a.$slots, "title", {}, () => [
109
+ c(t(E), { variant: "h3" }, {
110
+ default: b(() => [
111
+ $(R(s.title), 1)
112
+ ]),
113
+ _: 1
114
+ })
115
+ ], !0)
116
+ ], 8, ft),
117
+ n("div", {
118
+ class: "table-header-right",
119
+ "data-testid": `${s.testId}-${t(f).HEADER_RIGHT}`
120
+ }, [
121
+ s.showSearch ? r(a.$slots, "search", { key: 0 }, () => [
122
+ n("div", kt, [
123
+ c(t(rt), {
124
+ modelValue: t(V),
125
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => et(V) ? V.value = e : null),
126
+ placeholder: s.searchPlaceholder,
127
+ "auto-focus": s.searchAutoFocus,
128
+ "test-id": s.testId
129
+ }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
130
+ ])
131
+ ], !0) : u("", !0)
132
+ ], 8, St),
133
+ t(x)["table-header-actions"] ? (i(), d("div", {
134
+ key: 0,
135
+ class: "table-header-actions",
136
+ "data-testid": `${s.testId}-${t(f).ACTIONS}`
137
+ }, [
138
+ r(a.$slots, "table-header-actions", {}, void 0, !0)
139
+ ], 8, mt)) : u("", !0)
140
+ ], 10, yt)) : u("", !0),
141
+ n("thead", {
142
+ class: y({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
143
+ }, [
144
+ n("div", {
145
+ class: "sections",
146
+ "data-testid": `${s.testId}-${t(f).SECTIONS}`
147
+ }, [
148
+ (i(!0), d(T, null, C(s.sections, (e) => (i(), d("div", {
149
+ key: e.id,
150
+ class: y(["section-container", { sticky: e.isSticky }])
151
+ }, [
152
+ r(a.$slots, `section-${e.id}`, {}, () => [
153
+ n("div", {
154
+ style: v({ width: e.width + "px" }),
155
+ class: y({ section: !0 })
156
+ }, [
157
+ c(t(E), { variant: "body2" }, {
158
+ default: b(() => [
159
+ $(R(e.title), 1)
160
+ ]),
161
+ _: 2
162
+ }, 1024)
163
+ ], 4)
164
+ ], !0)
165
+ ], 2))), 128))
166
+ ], 8, gt),
167
+ n("tr", null, [
168
+ t(M) ? (i(), d("th", vt, [
169
+ c(t(U), {
170
+ "is-checked": t(A),
171
+ "is-indeterminate": !t(A) && t(D) > 0,
172
+ size: "sm",
173
+ "onUpdate:isChecked": Z
174
+ }, null, 8, ["is-checked", "is-indeterminate"])
175
+ ])) : u("", !0),
176
+ t(m) ? (i(), d("th", bt)) : u("", !0),
177
+ (i(!0), d(T, null, C(s.columns, (e) => (i(), d("th", {
178
+ key: e.id,
179
+ class: y({
180
+ sticky: e.isSticky,
181
+ isStickyRight: e.isStickyRight,
182
+ bordered: e.isBordered,
183
+ isTextRight: e.isTextRight,
184
+ isSortable: e.isSortable
185
+ }),
186
+ style: v(e.isSticky ? t(N)[e.id] : null),
187
+ onClick: (k) => e.isSortable ? t(Q)(e) : null
188
+ }, [
189
+ n("div", Rt, [
190
+ r(a.$slots, `header-${e.id}`, { column: e }, () => [
191
+ c(t(E), { variant: "tableLabel" }, {
192
+ default: b(() => [
193
+ $(R(e.title), 1)
194
+ ]),
195
+ _: 2
196
+ }, 1024)
197
+ ], !0),
198
+ e.isSortable && e.id === s.sort?.sortBy ? (i(), st(ot, {
199
+ key: 0,
200
+ "sort-order": s.sort.sortOrder
201
+ }, null, 8, ["sort-order"])) : u("", !0)
202
+ ])
203
+ ], 14, $t))), 128))
204
+ ])
205
+ ], 2),
206
+ n("tbody", null, [
207
+ t(I).length > 0 ? (i(), d("div", at({
208
+ key: 0,
209
+ class: "table-body-wrapper",
210
+ "data-testid": `${s.testId}-${t(f).BODY_WRAPPER}`
211
+ }, t(Y)), [
212
+ (i(!0), d(T, null, C(t(I), (e) => (i(), d("tr", {
213
+ key: e.index,
214
+ class: y(["table-row", {
215
+ loading: s.isLoading || s.isLoading && !e.data || t(F).includes(e.index),
216
+ active: t(B) === e.index,
217
+ expanded: t(m) && t(P)(e.index)
218
+ }]),
219
+ onMouseenter: (k) => B.value = e.index
220
+ }, [
221
+ t(M) ? (i(), d("td", Et, [
222
+ c(t(U), {
223
+ "is-checked": z(s.getRowId(e.data, e.index)),
224
+ size: "sm",
225
+ "onUpdate:isChecked": (k) => X(s.getRowId(e.data, e.index))
226
+ }, null, 8, ["is-checked", "onUpdate:isChecked"])
227
+ ])) : u("", !0),
228
+ t(m) ? (i(), d("td", xt, [
229
+ c(nt, {
230
+ expanded: t(P)(e.index),
231
+ onClick: (k) => t(q)(e.index, k)
232
+ }, null, 8, ["expanded", "onClick"])
233
+ ])) : u("", !0),
234
+ (i(!0), d(T, null, C(s.columns, (k, l) => (i(), d("td", {
235
+ key: l,
236
+ class: y({
237
+ sticky: s.columns[l].isSticky,
238
+ isStickyRight: s.columns[l].isStickyRight,
239
+ bordered: s.columns[l].isBordered,
240
+ isTextRight: s.columns[l].isTextRight
241
+ }),
242
+ style: v(
243
+ s.columns[l].isSticky ? t(N)[s.columns[l].id] : null
244
+ )
245
+ }, [
246
+ !s.isLoading || s.isLoading && e.data[l] ? (i(), d("div", {
247
+ key: 0,
248
+ class: y(["table-cell", { last: l === e.data.length - 1 }])
249
+ }, [
250
+ r(a.$slots, `cell-${s.columns[l].id}`, {
251
+ cell: e.data[l],
252
+ isLoading: t(F).includes(e.index),
253
+ cellIndex: l,
254
+ row: e,
255
+ rowIndex: e.index
256
+ }, () => [
257
+ c(t(E), { variant: "body1" }, {
258
+ default: b(() => [
259
+ $(R(e.data[l]), 1)
260
+ ]),
261
+ _: 2
262
+ }, 1024)
263
+ ], !0)
264
+ ], 2)) : r(a.$slots, "loader", { key: 1 }, () => [
265
+ c(t(it), { round: "" })
266
+ ], !0)
267
+ ], 6))), 128)),
268
+ t(m) && t(P)(e.index) ? (i(), d("div", Bt, [
269
+ r(a.$slots, "expanded", {
270
+ row: e,
271
+ gridColumnTemplate: t(L)
272
+ }, void 0, !0)
273
+ ])) : u("", !0)
274
+ ], 42, Ct))), 128))
275
+ ], 16, Tt)) : (i(), d("div", Pt, [
276
+ r(a.$slots, "empty-state", {}, () => [
277
+ c(t(dt), {
278
+ class: "empty-state",
279
+ title: s.emptyStateTitle,
280
+ subtitle: s.emptyStateSubtitle,
281
+ variant: s.emptyStateVariant,
282
+ "test-id": `${s.testId}-${t(f).EMPTY_STATE}`
283
+ }, null, 8, ["title", "subtitle", "variant", "test-id"])
284
+ ], !0)
285
+ ]))
286
+ ])
287
+ ], 46, ht),
288
+ t(O) ? (i(), d("div", Vt, [
289
+ r(a.$slots, "footer", {}, void 0, !0)
290
+ ])) : u("", !0)
291
+ ], 40, ut));
292
+ }
293
+ });
294
+ export {
295
+ Ut as default
296
+ };
@@ -0,0 +1,34 @@
1
+ import { MenuItem } from '@is-ssp/table/common/Table.types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ menuItems: MenuItem[];
4
+ }>, {
5
+ menuItems: () => any[];
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ selected: (option: unknown) => void;
8
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ menuItems: MenuItem[];
10
+ }>, {
11
+ menuItems: () => any[];
12
+ }>>> & {
13
+ onSelected?: (option: unknown) => any;
14
+ }, {
15
+ menuItems: MenuItem[];
16
+ }>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -0,0 +1,7 @@
1
+ import o from "./DataGridMenu.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_99f1dcca_lang.css"; //*');
4
+ const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-99f1dcca"]]);
5
+ export {
6
+ c as default
7
+ };
@@ -0,0 +1,50 @@
1
+ import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_99f1dcca_lang.css"; import { defineComponent as d, openBlock as p, createBlock as l, unref as t, withCtx as o, createVNode as a, createSlots as c, createTextVNode as u, toDisplayString as f } from "vue";
2
+ import x from "../../dropdown/v4/DropdownV4.vue.js";
3
+ import "../../dropdown/v4/DefaultDropdownTrigger.vue.js";
4
+ import "../../dropdown/v4/IconButtonDropdownTrigger.vue.js";
5
+ import "../../dropdown/v4/ChipDropdownTrigger.vue.js";
6
+ import _ from "../../dropdown/v4/OptionV4.vue.js";
7
+ import g from "../../icon/v4/IconV4.vue.js";
8
+ const B = /* @__PURE__ */ d({
9
+ __name: "DataGridMenu",
10
+ props: {
11
+ menuItems: { default: () => [] }
12
+ },
13
+ emits: ["selected"],
14
+ setup(m, { emit: s }) {
15
+ const n = (r) => r.text;
16
+ return (r, i) => (p(), l(t(x), {
17
+ class: "data-grid-menu",
18
+ options: m.menuItems,
19
+ "display-value": n,
20
+ "predefined-trigger": "icon-button",
21
+ placement: "left-start",
22
+ skidding: -4,
23
+ "onUpdate:selected": i[0] || (i[0] = (e) => s("selected", e))
24
+ }, {
25
+ default: o(({ option: e }) => [
26
+ a(t(_), { option: e }, c({
27
+ default: o(() => [
28
+ u(" " + f(n(e)), 1)
29
+ ]),
30
+ _: 2
31
+ }, [
32
+ e.icon ? {
33
+ name: "icon-start",
34
+ fn: o(() => [
35
+ a(t(g), {
36
+ name: e.icon,
37
+ size: "20px"
38
+ }, null, 8, ["name"])
39
+ ]),
40
+ key: "0"
41
+ } : void 0
42
+ ]), 1032, ["option"])
43
+ ]),
44
+ _: 1
45
+ }, 8, ["options"]));
46
+ }
47
+ });
48
+ export {
49
+ B as default
50
+ };
@@ -0,0 +1,33 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ expanded: boolean;
3
+ }>, {
4
+ expanded: boolean;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ click: (event: Event) => void;
7
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ expanded: boolean;
9
+ }>, {
10
+ expanded: boolean;
11
+ }>>> & {
12
+ onClick?: (event: Event) => any;
13
+ }, {
14
+ expanded: boolean;
15
+ }>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -0,0 +1,7 @@
1
+ import o from "./ExpandRowToggle.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ExpandRowToggle.vue_vue_type_style_index_0_scoped_b053baa6_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b053baa6"]]);
5
+ export {
6
+ s as default
7
+ };
@@ -0,0 +1,24 @@
1
+ import "../../../ExpandRowToggle.vue_vue_type_style_index_0_scoped_b053baa6_lang.css"; import { defineComponent as a, openBlock as r, createElementBlock as c, createVNode as l, unref as p } from "vue";
2
+ import "../../button/v4/ButtonV4.vue.js";
3
+ import d from "../../button/v4/IconButtonV4.vue.js";
4
+ const f = /* @__PURE__ */ a({
5
+ __name: "ExpandRowToggle",
6
+ props: {
7
+ expanded: { type: Boolean, default: !1 }
8
+ },
9
+ emits: ["click"],
10
+ setup(n, { emit: o }) {
11
+ return (i, e) => (r(), c("div", {
12
+ class: "expand-row-toggle",
13
+ onClick: e[0] || (e[0] = (t) => o("click", t))
14
+ }, [
15
+ l(p(d), {
16
+ class: "expand-button",
17
+ "icon-name": n.expanded ? "caret-down" : "caret-right"
18
+ }, null, 8, ["icon-name"])
19
+ ]));
20
+ }
21
+ });
22
+ export {
23
+ f as default
24
+ };
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ sortOrder: 'asc' | 'desc';
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ sortOrder: 'asc' | 'desc';
5
+ }>>>, {}>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./SortIcon.vue2.js";
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../SortIcon.vue_vue_type_style_index_0_scoped_2bda5d4a_lang.css"; //*');
4
+ const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2bda5d4a"]]);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,24 @@
1
+ import "../../../SortIcon.vue_vue_type_style_index_0_scoped_2bda5d4a_lang.css"; import { defineComponent as c, openBlock as e, createElementBlock as s, createBlock as o, unref as t, createCommentVNode as a } from "vue";
2
+ import n from "../../icon/v4/IconV4.vue.js";
3
+ const m = { class: "table-sort-icon" }, u = /* @__PURE__ */ c({
4
+ __name: "SortIcon",
5
+ props: {
6
+ sortOrder: null
7
+ },
8
+ setup(r) {
9
+ return (d, i) => (e(), s("div", m, [
10
+ r.sortOrder === "asc" ? (e(), o(t(n), {
11
+ key: 0,
12
+ name: "arrow-up",
13
+ size: "20px"
14
+ })) : r.sortOrder === "desc" ? (e(), o(t(n), {
15
+ key: 1,
16
+ name: "arrow-down",
17
+ size: "20px"
18
+ })) : a("", !0)
19
+ ]));
20
+ }
21
+ });
22
+ export {
23
+ u as default
24
+ };