globuswebcomponents 2.10.13 → 2.11.1

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 (464) hide show
  1. package/dist/cjs/gb-avatar-dropdown_5.cjs.entry.js +5 -5
  2. package/dist/cjs/gb-avatar-label-group_3.cjs.entry.js +2 -2
  3. package/dist/cjs/gb-avatar_44.cjs.entry.js +276 -166
  4. package/dist/cjs/gb-collapse-button_4.cjs.entry.js +2 -2
  5. package/dist/cjs/gb-header.cjs.entry.js +2 -2
  6. package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-logo.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
  9. package/dist/cjs/gb-metric-card.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-metric-featured-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-modal-action_3.cjs.entry.js +5 -5
  12. package/dist/cjs/gb-nav-bar-item.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-nav-bar-sidemenu.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-nav-bar.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
  17. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
  19. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-prompt-modal.cjs.entry.js +1 -1
  21. package/dist/cjs/gb-quick-action-card.cjs.entry.js +1 -1
  22. package/dist/cjs/gb-quick-action-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  24. package/dist/cjs/gb-sidebar.cjs.entry.js +1 -1
  25. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  26. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  27. package/dist/cjs/gb-step-base_2.cjs.entry.js +2 -2
  28. package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
  29. package/dist/cjs/gb-stepper-horizontal-icons-connected.cjs.entry.js +1 -1
  30. package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
  31. package/dist/cjs/gb-stepper-horizontal-minimal-icons.cjs.entry.js +1 -1
  32. package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
  33. package/dist/cjs/gb-tab-button-base.cjs.entry.js +2 -2
  34. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  35. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  36. package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
  37. package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
  38. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  39. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  40. package/dist/cjs/globuscomponents.cjs.js +1 -1
  41. package/dist/cjs/loader.cjs.js +1 -1
  42. package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
  43. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  44. package/dist/collection/assets/more-vertical.svg +3 -0
  45. package/dist/collection/assets/sent.svg +3 -0
  46. package/dist/collection/components/gb-date-picker/gb-date-picker.css +6 -1
  47. package/dist/collection/components/gb-date-picker/gb-date-picker.js +32 -7
  48. package/dist/collection/components/gb-date-picker/gb-date-picker.js.map +1 -1
  49. package/dist/collection/components/gb-filter-modal/gb-filter-modal.css +2 -1
  50. package/dist/collection/components/gb-filter-modal/gb-filter-modal.js +47 -83
  51. package/dist/collection/components/gb-filter-modal/gb-filter-modal.js.map +1 -1
  52. package/dist/collection/components/gb-header/gb-header.js +2 -2
  53. package/dist/collection/components/gb-header-icon/gb-header-icon.js +1 -1
  54. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  55. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  56. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  57. package/dist/collection/components/gb-icon-button-base/gb-icon-button-base.js +1 -1
  58. package/dist/collection/components/gb-illustration/gb-illustration.js +8 -8
  59. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +3 -3
  60. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
  61. package/dist/collection/components/gb-input-field/gb-input-field.js +14 -14
  62. package/dist/collection/components/gb-logo/gb-logo.js +1 -1
  63. package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +2 -2
  64. package/dist/collection/components/gb-metric-card/gb-metric-card.js +1 -1
  65. package/dist/collection/components/gb-metric-featured-icon/gb-metric-featured-icon.js +1 -1
  66. package/dist/collection/components/gb-modal-header/gb-modal-header.js +2 -2
  67. package/dist/collection/components/gb-nav-bar/gb-nav-bar.js +1 -1
  68. package/dist/collection/components/gb-nav-bar-item/gb-nav-bar-item.js +1 -1
  69. package/dist/collection/components/gb-nav-bar-sidemenu/gb-nav-bar-sidemenu.js +1 -1
  70. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  71. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +3 -3
  72. package/dist/collection/components/gb-pagination/gb-pagination.js +4 -4
  73. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  74. package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
  75. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  76. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  77. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  78. package/dist/collection/components/gb-pattern/gb-pattern.js +1 -1
  79. package/dist/collection/components/gb-portal/gb-portal.js +1 -1
  80. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  81. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  82. package/dist/collection/components/gb-prompt-modal/gb-prompt-modal.js +1 -1
  83. package/dist/collection/components/gb-quick-action-card/gb-quick-action-card.js +1 -1
  84. package/dist/collection/components/gb-quick-action-icon/gb-quick-action-icon.js +1 -1
  85. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  86. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  87. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +2 -2
  88. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  89. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  90. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  91. package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
  92. package/dist/collection/components/gb-step-icon-base/gb-step-icon-base.js +1 -1
  93. package/dist/collection/components/gb-stepper-horizontal-icons-centered/gb-stepper-horizontal-icons-centered.js +1 -1
  94. package/dist/collection/components/gb-stepper-horizontal-icons-connected/gb-stepper-horizontal-icons-connected.js +1 -1
  95. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
  96. package/dist/collection/components/gb-stepper-horizontal-minimal-icons/gb-stepper-horizontal-minimal-icons.js +1 -1
  97. package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
  98. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +2 -2
  99. package/dist/collection/components/gb-table/gb-table.css +135 -2
  100. package/dist/collection/components/gb-table/gb-table.js +206 -36
  101. package/dist/collection/components/gb-table/gb-table.js.map +1 -1
  102. package/dist/collection/components/gb-table-header/gb-table-header.js +2 -2
  103. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  104. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  105. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  106. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  107. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
  108. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
  109. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  110. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  111. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  112. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  113. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  114. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  115. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  116. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  117. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  118. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  119. package/dist/collection/models/reusableModels.js.map +1 -1
  120. package/dist/components/gb-action-panel.js +2 -2
  121. package/dist/components/gb-approval-modal.js +13 -13
  122. package/dist/components/gb-avatar-add-button.js +1 -1
  123. package/dist/components/gb-avatar-dropdown.js +1 -1
  124. package/dist/components/gb-avatar-group.js +4 -4
  125. package/dist/components/gb-avatar-label-group.js +1 -1
  126. package/dist/components/gb-avatar-profile-photo.js +2 -2
  127. package/dist/components/gb-avatar.js +1 -1
  128. package/dist/components/gb-badge.js +1 -1
  129. package/dist/components/gb-btn.js +1 -1
  130. package/dist/components/gb-button.js +1 -1
  131. package/dist/components/gb-checkbox-group-item.js +1 -1
  132. package/dist/components/gb-checkbox-group.js +5 -5
  133. package/dist/components/gb-collapse-button.js +1 -1
  134. package/dist/components/gb-comment.js +2 -2
  135. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  136. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  137. package/dist/components/gb-date-picker.js +1 -1
  138. package/dist/components/gb-detail-cell.js +5 -5
  139. package/dist/components/gb-empty-state.js +1 -1
  140. package/dist/components/gb-file-upload-item-base.js +1 -1
  141. package/dist/components/gb-file-upload.js +4 -4
  142. package/dist/components/gb-filter-button.js +1 -1
  143. package/dist/components/gb-filter-modal.js +1 -1
  144. package/dist/components/gb-header-icon.js +1 -1
  145. package/dist/components/gb-header.js +24 -24
  146. package/dist/components/gb-help-dropdown.js +1 -1
  147. package/dist/components/gb-help-tooltip.js +1 -1
  148. package/dist/components/gb-horizontal-tabs.js +5 -5
  149. package/dist/components/gb-icon-button-base.js +1 -1
  150. package/dist/components/gb-illustration.js +1 -1
  151. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  152. package/dist/components/gb-input-dropdown.js +1 -1
  153. package/dist/components/gb-input-field.js +1 -1
  154. package/dist/components/gb-logo.js +1 -1
  155. package/dist/components/gb-mega-input-field-base.js +1 -1
  156. package/dist/components/gb-metric-card.js +5 -5
  157. package/dist/components/gb-metric-featured-icon.js +1 -1
  158. package/dist/components/gb-modal-action.js +1 -1
  159. package/dist/components/gb-modal-header.js +1 -1
  160. package/dist/components/gb-nav-bar-item.js +1 -1
  161. package/dist/components/gb-nav-bar-sidemenu.js +6 -6
  162. package/dist/components/gb-nav-bar.js +3 -3
  163. package/dist/components/gb-notification-content.js +1 -1
  164. package/dist/components/gb-notification-pane.js +1 -1
  165. package/dist/components/gb-pagination-button-group-base.js +1 -1
  166. package/dist/components/gb-pagination-dot-group.js +1 -1
  167. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  168. package/dist/components/gb-pagination-number-base.js +1 -1
  169. package/dist/components/gb-pagination.js +1 -1
  170. package/dist/components/gb-password-button.js +1 -1
  171. package/dist/components/gb-pattern.js +1 -1
  172. package/dist/components/gb-portal.js +1 -1
  173. package/dist/components/gb-progress-bar.js +1 -1
  174. package/dist/components/gb-progress-circle.js +1 -1
  175. package/dist/components/gb-prompt-modal.js +3 -3
  176. package/dist/components/gb-quick-action-card.js +1 -1
  177. package/dist/components/gb-quick-action-icon.js +1 -1
  178. package/dist/components/gb-scrollbar.js +1 -1
  179. package/dist/components/gb-sidebar.js +9 -9
  180. package/dist/components/gb-simple-side-bar-item.js +1 -1
  181. package/dist/components/gb-slider-control-handle.js +1 -1
  182. package/dist/components/gb-slider.js +3 -3
  183. package/dist/components/gb-status-indicator.js +1 -1
  184. package/dist/components/gb-step-base.js +1 -1
  185. package/dist/components/gb-step-icon-base.js +1 -1
  186. package/dist/components/gb-stepper-horizontal-icons-centered.js +3 -3
  187. package/dist/components/gb-stepper-horizontal-icons-connected.js +1 -1
  188. package/dist/components/gb-stepper-horizontal-line-with-text.js +3 -3
  189. package/dist/components/gb-stepper-horizontal-minimal-icons.js +2 -2
  190. package/dist/components/gb-stepper-vertical-icons-with-text.js +3 -3
  191. package/dist/components/gb-tab-button-base.js +1 -1
  192. package/dist/components/gb-table-header.js +1 -1
  193. package/dist/components/gb-table.js +185 -59
  194. package/dist/components/gb-table.js.map +1 -1
  195. package/dist/components/gb-tag-checkbox.js +1 -1
  196. package/dist/components/gb-tag-close.js +1 -1
  197. package/dist/components/gb-tag-count.js +1 -1
  198. package/dist/components/gb-tag.js +1 -1
  199. package/dist/components/gb-textarea-input-field.js +1 -1
  200. package/dist/components/gb-theme-tab.js +1 -1
  201. package/dist/components/gb-toast-button.js +1 -1
  202. package/dist/components/gb-toast.js +4 -4
  203. package/dist/components/gb-toggle-base.js +1 -1
  204. package/dist/components/gb-toggle.js +1 -1
  205. package/dist/components/gb-token-field-compact.js +1 -1
  206. package/dist/components/gb-token-field-compressed.js +3 -3
  207. package/dist/components/gb-tooltip.js +1 -1
  208. package/dist/components/gb-vertical-tabs.js +1 -1
  209. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  210. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  211. package/dist/components/{p-Bw7gw9s2.js → p-Aa9V-f5L.js} +6 -6
  212. package/dist/components/{p-Bw7gw9s2.js.map → p-Aa9V-f5L.js.map} +1 -1
  213. package/dist/components/{p-BN5SQJZH.js → p-B5lItBJ8.js} +4 -4
  214. package/dist/components/{p-BN5SQJZH.js.map → p-B5lItBJ8.js.map} +1 -1
  215. package/dist/components/{p-8KPRgq60.js → p-B6BxHB8R.js} +3 -3
  216. package/dist/components/{p-8KPRgq60.js.map → p-B6BxHB8R.js.map} +1 -1
  217. package/dist/components/{p-DsEln-e0.js → p-BDuFlhdF.js} +6 -6
  218. package/dist/components/{p-DsEln-e0.js.map → p-BDuFlhdF.js.map} +1 -1
  219. package/dist/components/{p-3LUuAIuq.js → p-BUAzJ421.js} +3 -3
  220. package/dist/components/{p-3LUuAIuq.js.map → p-BUAzJ421.js.map} +1 -1
  221. package/dist/components/{p-Cr8eGx5W.js → p-BUQaTkZ9.js} +5 -5
  222. package/dist/components/{p-Cr8eGx5W.js.map → p-BUQaTkZ9.js.map} +1 -1
  223. package/dist/components/{p-DvBv-n5E.js → p-BUSy4Kaw.js} +4 -4
  224. package/dist/components/{p-DvBv-n5E.js.map → p-BUSy4Kaw.js.map} +1 -1
  225. package/dist/components/{p-Dsq6pKFl.js → p-BbQUkO3X.js} +3 -3
  226. package/dist/components/{p-Dsq6pKFl.js.map → p-BbQUkO3X.js.map} +1 -1
  227. package/dist/components/{p-DA7bBOGE.js → p-BbXo5waU.js} +4 -4
  228. package/dist/components/{p-DA7bBOGE.js.map → p-BbXo5waU.js.map} +1 -1
  229. package/dist/components/{p-9CtKkSzA.js → p-Bdn4kcZi.js} +3 -3
  230. package/dist/components/{p-9CtKkSzA.js.map → p-Bdn4kcZi.js.map} +1 -1
  231. package/dist/components/{p-B1dO_zNp.js → p-Bp2prpEY.js} +28 -28
  232. package/dist/components/{p-B1dO_zNp.js.map → p-Bp2prpEY.js.map} +1 -1
  233. package/dist/components/{p-BqUYAF2A.js → p-BuhW7Hu0.js} +35 -10
  234. package/dist/components/p-BuhW7Hu0.js.map +1 -0
  235. package/dist/components/{p-DUg13FZJ.js → p-BvzWV7_c.js} +4 -4
  236. package/dist/components/{p-DUg13FZJ.js.map → p-BvzWV7_c.js.map} +1 -1
  237. package/dist/components/{p-QMvxRWGo.js → p-Bx-ZLO6f.js} +3 -3
  238. package/dist/components/{p-QMvxRWGo.js.map → p-Bx-ZLO6f.js.map} +1 -1
  239. package/dist/components/{p-CMSgQk_J.js → p-C7Z71gB9.js} +3 -3
  240. package/dist/components/{p-CMSgQk_J.js.map → p-C7Z71gB9.js.map} +1 -1
  241. package/dist/components/{p-C__Zx-sJ.js → p-CBkBPSW9.js} +20 -20
  242. package/dist/components/{p-C__Zx-sJ.js.map → p-CBkBPSW9.js.map} +1 -1
  243. package/dist/components/{p-BpoNaOin.js → p-CCJRBTmm.js} +3 -3
  244. package/dist/components/{p-BpoNaOin.js.map → p-CCJRBTmm.js.map} +1 -1
  245. package/dist/components/{p-BzdxMBqd.js → p-CCntxtbY.js} +3 -3
  246. package/dist/components/{p-BzdxMBqd.js.map → p-CCntxtbY.js.map} +1 -1
  247. package/dist/components/{p-BVq_Ti-V.js → p-CHtrLIr5.js} +3 -3
  248. package/dist/components/{p-BVq_Ti-V.js.map → p-CHtrLIr5.js.map} +1 -1
  249. package/dist/components/{p-DXcUl9ra.js → p-CKcfW5yy.js} +3 -3
  250. package/dist/components/{p-DXcUl9ra.js.map → p-CKcfW5yy.js.map} +1 -1
  251. package/dist/components/{p-CIpMWSO-.js → p-CLliPnaQ.js} +4 -4
  252. package/dist/components/{p-CIpMWSO-.js.map → p-CLliPnaQ.js.map} +1 -1
  253. package/dist/components/{p-DiwgKK9w.js → p-CM9N9uqd.js} +8 -8
  254. package/dist/components/{p-DiwgKK9w.js.map → p-CM9N9uqd.js.map} +1 -1
  255. package/dist/components/{p-lP887Fvg.js → p-CMEHlrkM.js} +9 -9
  256. package/dist/components/{p-lP887Fvg.js.map → p-CMEHlrkM.js.map} +1 -1
  257. package/dist/components/{p-C3Ne5oaM.js → p-CMk4vgJk.js} +4 -4
  258. package/dist/components/{p-C3Ne5oaM.js.map → p-CMk4vgJk.js.map} +1 -1
  259. package/dist/components/{p-DzCRnNZl.js → p-CPfOVrGD.js} +3 -3
  260. package/dist/components/{p-DzCRnNZl.js.map → p-CPfOVrGD.js.map} +1 -1
  261. package/dist/components/{p-luUMKdgw.js → p-CQLcNjHY.js} +4 -4
  262. package/dist/components/{p-luUMKdgw.js.map → p-CQLcNjHY.js.map} +1 -1
  263. package/dist/components/{p-BKPSkaip.js → p-CR9jnMpX.js} +4 -4
  264. package/dist/components/{p-BKPSkaip.js.map → p-CR9jnMpX.js.map} +1 -1
  265. package/dist/components/{p-CJ9LMMSm.js → p-CRq7S8Z9.js} +3 -3
  266. package/dist/components/{p-CJ9LMMSm.js.map → p-CRq7S8Z9.js.map} +1 -1
  267. package/dist/components/{p-D1T18wZL.js → p-CjfDZwCD.js} +4 -4
  268. package/dist/components/{p-D1T18wZL.js.map → p-CjfDZwCD.js.map} +1 -1
  269. package/dist/components/{p-rfgtX-Yh.js → p-CuKYC5qs.js} +3 -3
  270. package/dist/components/{p-rfgtX-Yh.js.map → p-CuKYC5qs.js.map} +1 -1
  271. package/dist/components/{p-DfwhwEoc.js → p-Cx2Xt959.js} +7 -7
  272. package/dist/components/{p-DfwhwEoc.js.map → p-Cx2Xt959.js.map} +1 -1
  273. package/dist/components/{p-B5gEkPoU.js → p-CyxLUgVQ.js} +12 -12
  274. package/dist/components/{p-B5gEkPoU.js.map → p-CyxLUgVQ.js.map} +1 -1
  275. package/dist/components/{p-Dg7B5nH1.js → p-D1FPm7nr.js} +4 -4
  276. package/dist/components/{p-Dg7B5nH1.js.map → p-D1FPm7nr.js.map} +1 -1
  277. package/dist/components/{p-BrOSaQiR.js → p-D7oemwx-.js} +3 -3
  278. package/dist/components/{p-BrOSaQiR.js.map → p-D7oemwx-.js.map} +1 -1
  279. package/dist/components/{p-DhGPhyRl.js → p-DCIm0ulG.js} +5 -5
  280. package/dist/components/{p-DhGPhyRl.js.map → p-DCIm0ulG.js.map} +1 -1
  281. package/dist/components/{p-B6k24H6F.js → p-DIsxhyr1.js} +3 -3
  282. package/dist/components/{p-B6k24H6F.js.map → p-DIsxhyr1.js.map} +1 -1
  283. package/dist/components/{p-DrYuPFS5.js → p-DKhdkzBx.js} +7 -7
  284. package/dist/components/{p-DrYuPFS5.js.map → p-DKhdkzBx.js.map} +1 -1
  285. package/dist/components/{p-CuhbZLf5.js → p-DL9L0Zch.js} +8 -8
  286. package/dist/components/{p-CuhbZLf5.js.map → p-DL9L0Zch.js.map} +1 -1
  287. package/dist/components/{p-DWd7gFDp.js → p-DTcsmKes.js} +7 -7
  288. package/dist/components/{p-DWd7gFDp.js.map → p-DTcsmKes.js.map} +1 -1
  289. package/dist/components/{p-DMTc86TV.js → p-DVwS5alK.js} +3 -3
  290. package/dist/components/{p-DMTc86TV.js.map → p-DVwS5alK.js.map} +1 -1
  291. package/dist/components/{p-CxmrLytr.js → p-DbYSDIEE.js} +8 -8
  292. package/dist/components/{p-CxmrLytr.js.map → p-DbYSDIEE.js.map} +1 -1
  293. package/dist/components/{p-BCs1raYY.js → p-Dd2YznNu.js} +4 -4
  294. package/dist/components/{p-BCs1raYY.js.map → p-Dd2YznNu.js.map} +1 -1
  295. package/dist/components/{p-uJGVGDOJ.js → p-DfmE1tWD.js} +22 -22
  296. package/dist/components/{p-uJGVGDOJ.js.map → p-DfmE1tWD.js.map} +1 -1
  297. package/dist/components/{p-Bsju_6ME.js → p-DoQNNQsR.js} +3 -3
  298. package/dist/components/{p-Bsju_6ME.js.map → p-DoQNNQsR.js.map} +1 -1
  299. package/dist/components/{p-BH7Tv4o3.js → p-Dpw-kexX.js} +3 -3
  300. package/dist/components/{p-BH7Tv4o3.js.map → p-Dpw-kexX.js.map} +1 -1
  301. package/dist/components/{p-wbR36hMv.js → p-Dy0A4tjX.js} +3 -3
  302. package/dist/components/{p-wbR36hMv.js.map → p-Dy0A4tjX.js.map} +1 -1
  303. package/dist/components/{p-Cgs2Vwnw.js → p-EGGrvNi9.js} +3 -3
  304. package/dist/components/{p-Cgs2Vwnw.js.map → p-EGGrvNi9.js.map} +1 -1
  305. package/dist/components/{p-DaM2q3ak.js → p-PCho9z7U.js} +3 -3
  306. package/dist/components/{p-DaM2q3ak.js.map → p-PCho9z7U.js.map} +1 -1
  307. package/dist/components/{p-gpZ2X_c1.js → p-Qol7MsY0.js} +3 -3
  308. package/dist/components/{p-gpZ2X_c1.js.map → p-Qol7MsY0.js.map} +1 -1
  309. package/dist/components/{p-NcCpLnkb.js → p-TwFNB1NA.js} +4 -4
  310. package/dist/components/{p-NcCpLnkb.js.map → p-TwFNB1NA.js.map} +1 -1
  311. package/dist/components/{p-B8xTwy6a.js → p-_b9j72nq.js} +3 -3
  312. package/dist/components/{p-B8xTwy6a.js.map → p-_b9j72nq.js.map} +1 -1
  313. package/dist/components/{p-Cpjhc0YK.js → p-b7wvY55u.js} +10 -10
  314. package/dist/components/{p-Cpjhc0YK.js.map → p-b7wvY55u.js.map} +1 -1
  315. package/dist/components/p-cHn6O-Kf.js.map +1 -1
  316. package/dist/components/{p-BUXMMSJn.js → p-j7BhW7Vi.js} +6 -6
  317. package/dist/components/{p-BUXMMSJn.js.map → p-j7BhW7Vi.js.map} +1 -1
  318. package/dist/components/{p-CLZal_C6.js → p-qtGdrlQO.js} +4 -4
  319. package/dist/components/{p-CLZal_C6.js.map → p-qtGdrlQO.js.map} +1 -1
  320. package/dist/components/{p-CTquChw2.js → p-vPCRhWG0.js} +6 -6
  321. package/dist/components/{p-CTquChw2.js.map → p-vPCRhWG0.js.map} +1 -1
  322. package/dist/components/{p-DmjkaQ_5.js → p-wNPNaesa.js} +52 -87
  323. package/dist/components/p-wNPNaesa.js.map +1 -0
  324. package/dist/components/{p-CYpM3pUM.js → p-zxljeihf.js} +18 -18
  325. package/dist/components/{p-CYpM3pUM.js.map → p-zxljeihf.js.map} +1 -1
  326. package/dist/components/test-input-tag.js +9 -9
  327. package/dist/docs.json +89 -39
  328. package/dist/esm/gb-avatar-dropdown_5.entry.js +5 -5
  329. package/dist/esm/gb-avatar-label-group_3.entry.js +2 -2
  330. package/dist/esm/gb-avatar_44.entry.js +276 -166
  331. package/dist/esm/gb-collapse-button_4.entry.js +2 -2
  332. package/dist/esm/gb-header.entry.js +2 -2
  333. package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
  334. package/dist/esm/gb-logo.entry.js +1 -1
  335. package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
  336. package/dist/esm/gb-metric-card.entry.js +1 -1
  337. package/dist/esm/gb-metric-featured-icon.entry.js +1 -1
  338. package/dist/esm/gb-modal-action_3.entry.js +5 -5
  339. package/dist/esm/gb-nav-bar-item.entry.js +1 -1
  340. package/dist/esm/gb-nav-bar-sidemenu.entry.js +1 -1
  341. package/dist/esm/gb-nav-bar.entry.js +1 -1
  342. package/dist/esm/gb-notification-content.entry.js +1 -1
  343. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  344. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  345. package/dist/esm/gb-progress-bar.entry.js +1 -1
  346. package/dist/esm/gb-progress-circle.entry.js +1 -1
  347. package/dist/esm/gb-prompt-modal.entry.js +1 -1
  348. package/dist/esm/gb-quick-action-card.entry.js +1 -1
  349. package/dist/esm/gb-quick-action-icon.entry.js +1 -1
  350. package/dist/esm/gb-scrollbar.entry.js +1 -1
  351. package/dist/esm/gb-sidebar.entry.js +1 -1
  352. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  353. package/dist/esm/gb-slider.entry.js +1 -1
  354. package/dist/esm/gb-step-base_2.entry.js +2 -2
  355. package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
  356. package/dist/esm/gb-stepper-horizontal-icons-connected.entry.js +1 -1
  357. package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
  358. package/dist/esm/gb-stepper-horizontal-minimal-icons.entry.js +1 -1
  359. package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
  360. package/dist/esm/gb-tab-button-base.entry.js +2 -2
  361. package/dist/esm/gb-toast-button.entry.js +1 -1
  362. package/dist/esm/gb-toast.entry.js +1 -1
  363. package/dist/esm/gb-token-field-compact.entry.js +1 -1
  364. package/dist/esm/gb-token-field-compressed.entry.js +2 -2
  365. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  366. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  367. package/dist/esm/globuscomponents.js +1 -1
  368. package/dist/esm/loader.js +1 -1
  369. package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
  370. package/dist/esm/test-input-tag.entry.js +2 -2
  371. package/dist/globuscomponents/assets/more-vertical.svg +3 -0
  372. package/dist/globuscomponents/assets/sent.svg +3 -0
  373. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  374. package/dist/globuscomponents/{p-d55dc1ab.entry.js → p-0d26bfab.entry.js} +2 -2
  375. package/dist/globuscomponents/{p-b0c00fce.entry.js → p-1ca5b476.entry.js} +2 -2
  376. package/dist/globuscomponents/{p-64c25eca.entry.js → p-201f6b79.entry.js} +2 -2
  377. package/dist/globuscomponents/{p-66f5363a.entry.js → p-21b20a87.entry.js} +2 -2
  378. package/dist/globuscomponents/{p-af2fadf8.entry.js → p-21ee6522.entry.js} +2 -2
  379. package/dist/globuscomponents/{p-e8f42c89.entry.js → p-22f1c3e9.entry.js} +2 -2
  380. package/dist/globuscomponents/{p-a8ed8e7c.entry.js → p-300cd753.entry.js} +2 -2
  381. package/dist/globuscomponents/{p-fdd80101.entry.js → p-31d72720.entry.js} +2 -2
  382. package/dist/globuscomponents/{p-c4decd4a.entry.js → p-33dda74f.entry.js} +2 -2
  383. package/dist/globuscomponents/{p-b72d51e3.entry.js → p-43d98014.entry.js} +2 -2
  384. package/dist/globuscomponents/{p-9a086995.entry.js → p-45e02e0a.entry.js} +2 -2
  385. package/dist/globuscomponents/{p-5a002d95.entry.js → p-47155c79.entry.js} +2 -2
  386. package/dist/globuscomponents/{p-b6a0161e.entry.js → p-475d3410.entry.js} +2 -2
  387. package/dist/globuscomponents/{p-4cb9a4c0.entry.js → p-4ec62490.entry.js} +2 -2
  388. package/dist/globuscomponents/{p-df5538b0.entry.js → p-4f44a0cb.entry.js} +2 -2
  389. package/dist/globuscomponents/{p-da156fba.entry.js → p-51aa14a5.entry.js} +2 -2
  390. package/dist/globuscomponents/{p-5d0e8192.entry.js → p-563f3f9c.entry.js} +2 -2
  391. package/dist/globuscomponents/{p-433c7415.entry.js → p-61872974.entry.js} +2 -2
  392. package/dist/globuscomponents/{p-f3bd7944.entry.js → p-6eccd6af.entry.js} +2 -2
  393. package/dist/globuscomponents/{p-e4895336.entry.js → p-706b479f.entry.js} +2 -2
  394. package/dist/globuscomponents/{p-37f87474.entry.js → p-72637941.entry.js} +2 -2
  395. package/dist/globuscomponents/{p-e2b42130.entry.js → p-7483911b.entry.js} +2 -2
  396. package/dist/globuscomponents/{p-b72eda91.entry.js → p-75251944.entry.js} +2 -2
  397. package/dist/globuscomponents/{p-6825b63d.entry.js → p-799b98e4.entry.js} +2 -2
  398. package/dist/globuscomponents/{p-852014ab.entry.js → p-872e1752.entry.js} +2 -2
  399. package/dist/globuscomponents/{p-c22a4cfd.entry.js → p-89116f8e.entry.js} +2 -2
  400. package/dist/globuscomponents/p-98d25cbc.entry.js +2 -0
  401. package/dist/globuscomponents/{p-66c49225.entry.js → p-a1e35b45.entry.js} +2 -2
  402. package/dist/globuscomponents/p-a1e35b45.entry.js.map +1 -0
  403. package/dist/globuscomponents/{p-669c6e2e.entry.js → p-ab818182.entry.js} +2 -2
  404. package/dist/globuscomponents/{p-f904cfc0.entry.js → p-ae4b0f08.entry.js} +2 -2
  405. package/dist/globuscomponents/{p-6d1f7f89.entry.js → p-bf5b3dfe.entry.js} +2 -2
  406. package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
  407. package/dist/globuscomponents/{p-cc54f44a.entry.js → p-ce9bf9ff.entry.js} +2 -2
  408. package/dist/globuscomponents/{p-0104af18.entry.js → p-d1ce0f80.entry.js} +2 -2
  409. package/dist/globuscomponents/{p-2a47d7a6.entry.js → p-e49cac6d.entry.js} +2 -2
  410. package/dist/globuscomponents/{p-7133f4ef.entry.js → p-e9b5af5c.entry.js} +2 -2
  411. package/dist/globuscomponents/{p-05a29c1a.entry.js → p-ee3e3ffa.entry.js} +2 -2
  412. package/dist/globuscomponents/{p-40e5be27.entry.js → p-ee7e25c4.entry.js} +2 -2
  413. package/dist/globuscomponents/p-f084a9b2.entry.js +2 -0
  414. package/dist/globuscomponents/{p-e68d4d8a.entry.js → p-f337949a.entry.js} +2 -2
  415. package/dist/globuscomponents/{p-60e4f305.entry.js → p-f3ac27d9.entry.js} +2 -2
  416. package/dist/types/components/gb-date-picker/gb-date-picker.d.ts +1 -0
  417. package/dist/types/components/gb-table/gb-table.d.ts +31 -6
  418. package/dist/types/components.d.ts +24 -28
  419. package/dist/types/models/reusableModels.d.ts +20 -9
  420. package/package.json +1 -1
  421. package/dist/components/p-BqUYAF2A.js.map +0 -1
  422. package/dist/components/p-DmjkaQ_5.js.map +0 -1
  423. package/dist/globuscomponents/p-66c49225.entry.js.map +0 -1
  424. package/dist/globuscomponents/p-7b7eee40.entry.js +0 -2
  425. package/dist/globuscomponents/p-9f87e97d.entry.js +0 -2
  426. /package/dist/globuscomponents/{p-d55dc1ab.entry.js.map → p-0d26bfab.entry.js.map} +0 -0
  427. /package/dist/globuscomponents/{p-b0c00fce.entry.js.map → p-1ca5b476.entry.js.map} +0 -0
  428. /package/dist/globuscomponents/{p-64c25eca.entry.js.map → p-201f6b79.entry.js.map} +0 -0
  429. /package/dist/globuscomponents/{p-66f5363a.entry.js.map → p-21b20a87.entry.js.map} +0 -0
  430. /package/dist/globuscomponents/{p-af2fadf8.entry.js.map → p-21ee6522.entry.js.map} +0 -0
  431. /package/dist/globuscomponents/{p-e8f42c89.entry.js.map → p-22f1c3e9.entry.js.map} +0 -0
  432. /package/dist/globuscomponents/{p-a8ed8e7c.entry.js.map → p-300cd753.entry.js.map} +0 -0
  433. /package/dist/globuscomponents/{p-fdd80101.entry.js.map → p-31d72720.entry.js.map} +0 -0
  434. /package/dist/globuscomponents/{p-c4decd4a.entry.js.map → p-33dda74f.entry.js.map} +0 -0
  435. /package/dist/globuscomponents/{p-b72d51e3.entry.js.map → p-43d98014.entry.js.map} +0 -0
  436. /package/dist/globuscomponents/{p-9a086995.entry.js.map → p-45e02e0a.entry.js.map} +0 -0
  437. /package/dist/globuscomponents/{p-5a002d95.entry.js.map → p-47155c79.entry.js.map} +0 -0
  438. /package/dist/globuscomponents/{p-b6a0161e.entry.js.map → p-475d3410.entry.js.map} +0 -0
  439. /package/dist/globuscomponents/{p-4cb9a4c0.entry.js.map → p-4ec62490.entry.js.map} +0 -0
  440. /package/dist/globuscomponents/{p-df5538b0.entry.js.map → p-4f44a0cb.entry.js.map} +0 -0
  441. /package/dist/globuscomponents/{p-da156fba.entry.js.map → p-51aa14a5.entry.js.map} +0 -0
  442. /package/dist/globuscomponents/{p-5d0e8192.entry.js.map → p-563f3f9c.entry.js.map} +0 -0
  443. /package/dist/globuscomponents/{p-433c7415.entry.js.map → p-61872974.entry.js.map} +0 -0
  444. /package/dist/globuscomponents/{p-f3bd7944.entry.js.map → p-6eccd6af.entry.js.map} +0 -0
  445. /package/dist/globuscomponents/{p-e4895336.entry.js.map → p-706b479f.entry.js.map} +0 -0
  446. /package/dist/globuscomponents/{p-37f87474.entry.js.map → p-72637941.entry.js.map} +0 -0
  447. /package/dist/globuscomponents/{p-e2b42130.entry.js.map → p-7483911b.entry.js.map} +0 -0
  448. /package/dist/globuscomponents/{p-b72eda91.entry.js.map → p-75251944.entry.js.map} +0 -0
  449. /package/dist/globuscomponents/{p-6825b63d.entry.js.map → p-799b98e4.entry.js.map} +0 -0
  450. /package/dist/globuscomponents/{p-852014ab.entry.js.map → p-872e1752.entry.js.map} +0 -0
  451. /package/dist/globuscomponents/{p-c22a4cfd.entry.js.map → p-89116f8e.entry.js.map} +0 -0
  452. /package/dist/globuscomponents/{p-9f87e97d.entry.js.map → p-98d25cbc.entry.js.map} +0 -0
  453. /package/dist/globuscomponents/{p-669c6e2e.entry.js.map → p-ab818182.entry.js.map} +0 -0
  454. /package/dist/globuscomponents/{p-f904cfc0.entry.js.map → p-ae4b0f08.entry.js.map} +0 -0
  455. /package/dist/globuscomponents/{p-6d1f7f89.entry.js.map → p-bf5b3dfe.entry.js.map} +0 -0
  456. /package/dist/globuscomponents/{p-cc54f44a.entry.js.map → p-ce9bf9ff.entry.js.map} +0 -0
  457. /package/dist/globuscomponents/{p-0104af18.entry.js.map → p-d1ce0f80.entry.js.map} +0 -0
  458. /package/dist/globuscomponents/{p-2a47d7a6.entry.js.map → p-e49cac6d.entry.js.map} +0 -0
  459. /package/dist/globuscomponents/{p-7133f4ef.entry.js.map → p-e9b5af5c.entry.js.map} +0 -0
  460. /package/dist/globuscomponents/{p-05a29c1a.entry.js.map → p-ee3e3ffa.entry.js.map} +0 -0
  461. /package/dist/globuscomponents/{p-40e5be27.entry.js.map → p-ee7e25c4.entry.js.map} +0 -0
  462. /package/dist/globuscomponents/{p-7b7eee40.entry.js.map → p-f084a9b2.entry.js.map} +0 -0
  463. /package/dist/globuscomponents/{p-e68d4d8a.entry.js.map → p-f337949a.entry.js.map} +0 -0
  464. /package/dist/globuscomponents/{p-60e4f305.entry.js.map → p-f3ac27d9.entry.js.map} +0 -0
@@ -6,9 +6,17 @@ export class GbTable {
6
6
  this.columns = [
7
7
  // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } },
8
8
  // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } },
9
- // { key: 'name', label: 'Name', sortable: true, sortType: 'string', helpIcon: true, supportingText: row => row.role, mobile: { position: 'top_right' } },
9
+ // {
10
+ // key: 'name',
11
+ // label: 'Name',
12
+ // sortable: true,
13
+ // sortType: 'string',
14
+ // helpIcon: true,
15
+ // supportingText: row => row.role,
16
+ // mobile: { position: 'top_right' },
17
+ // },
10
18
  // { key: 'role', label: 'Role' },
11
- // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: (row) => ({color: row.amount > 200 ? 'green' : ''}) },
19
+ // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) },
12
20
  // {
13
21
  // key: 'status',
14
22
  // label: 'Status',
@@ -67,6 +75,14 @@ export class GbTable {
67
75
  // { id: '#3029', date: 'Jan 29, 2022', name: 'Chloe Green', role: 'Technical Lead', level: 'Today', customer: 'Nathan Morris', amount: '$205.25', status: 'Pending' },
68
76
  // { id: '#3030', date: 'Jan 30, 2022', name: 'Nathan Adams', role: 'Scrum Master', level: 'Today', customer: 'Zoe Rogers', amount: '$320.80', status: 'Completed' },
69
77
  ];
78
+ // = {
79
+ // name: { key: 'customer' },
80
+ // badges: [
81
+ // { key: 'role', label: 'Role' },
82
+ // { key: 'amount', label: 'Amount' },
83
+ // ],
84
+ // button: { icon: 'assets/sent.svg', text: 'Send Money', action: 'send_money' },
85
+ // };
70
86
  this.tableHeaderConfig = {
71
87
  tableHeading: false,
72
88
  tableHeadingLabel: 'Suspicious outflows',
@@ -76,6 +92,7 @@ export class GbTable {
76
92
  showSearch: true,
77
93
  showExport: true,
78
94
  showRefreshButton: false,
95
+ showLayoutToggle: true,
79
96
  datePickerMode: 'range',
80
97
  inputPlaceholder: 'Transaction reference',
81
98
  };
@@ -96,16 +113,70 @@ export class GbTable {
96
113
  illustrationStyle: 'box',
97
114
  theme: 'light',
98
115
  };
116
+ // = {
117
+ // title: 'Filter',
118
+ // fields: [
119
+ // {
120
+ // tag: 'gb-date-picker',
121
+ // label: 'Post date',
122
+ // key: { start: 'postStartDate', end: 'postEndDate' },
123
+ // event: 'dateChange',
124
+ // },
125
+ // {
126
+ // tag: 'gb-date-picker',
127
+ // label: 'Value date',
128
+ // key: { start: 'valueStartDate', end: 'valueEndDate' },
129
+ // event: 'dateChange',
130
+ // },
131
+ // {
132
+ // tag: 'gb-input-dropdown',
133
+ // key: 'status',
134
+ // event: 'dropdownItemSelected',
135
+ // props: {
136
+ // type: 'tags',
137
+ // showLabel: true,
138
+ // label: 'Status',
139
+ // placeholder: 'Select a status',
140
+ // items: ['Successful', 'Reversed'],
141
+ // },
142
+ // },
143
+ // {
144
+ // tag: 'gb-input-dropdown',
145
+ // key: 'transactionType',
146
+ // event: 'dropdownItemSelected',
147
+ // props: {
148
+ // type: 'default',
149
+ // showLabel: true,
150
+ // label: 'Transaction type',
151
+ // placeholder: 'Select type',
152
+ // items: ['Credit', 'Debit'],
153
+ // },
154
+ // },
155
+ // {
156
+ // tag: 'gb-slider',
157
+ // key: 'amountRange',
158
+ // event: 'thumbValueChanged',
159
+ // props: {
160
+ // showHeading: true,
161
+ // heading: 'Amount range',
162
+ // },
163
+ // },
164
+ // ],
165
+ // initialValues: {
166
+ // pageNumber: 0,
167
+ // pageSize: 10,
168
+ // },
169
+ // };
99
170
  this.showActionsColumn = true;
100
171
  this.rowActions = [
101
- // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },
102
172
  // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },
173
+ // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },
103
174
  // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },
104
175
  ];
105
176
  this.dropdownOptions = [
106
177
  // { label: 'View', action: 'view', icon: 'assets/view.svg', disabled: false },
107
178
  // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', disabled: false },
108
- // { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: true },
179
+ // { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: false },
109
180
  ];
110
181
  this.stickyFirstColumn = false;
111
182
  this.stickyLastColumn = false;
@@ -128,14 +199,17 @@ export class GbTable {
128
199
  this.modalPosition = { x: 0, y: 0 };
129
200
  this.showFilterModalInternal = false;
130
201
  this.isFilterModalVisible = false;
202
+ this.isGridModalVisible = false;
131
203
  this.internalLoading = false;
204
+ this.currentTableLayout = 'list';
205
+ this.showGridCardModal = false;
206
+ this.appliedFilterValues = {};
132
207
  this.isDraggingModal = false;
133
208
  this.dragOffset = { x: 0, y: 0 };
134
209
  this.actionButtonRefs = [];
135
210
  this.draggedIndex = null;
136
211
  this.handlePageChange = ({ detail }) => {
137
212
  const { pageNumber, pageSize } = detail;
138
- // console.log(detail);
139
213
  // Update these state variables to trigger a re-render
140
214
  this.internalPageSize = pageSize;
141
215
  this.internalCurrentPage = pageNumber;
@@ -225,8 +299,8 @@ export class GbTable {
225
299
  }
226
300
  const value = this.getCellValue(col, row);
227
301
  const resolvedClass = typeof col.cellClass === 'function' ? col.cellClass(row) : ((_d = col.cellClass) !== null && _d !== void 0 ? _d : '');
228
- const resolvedStyle = typeof col.cellStyle === 'function' ? col.cellStyle(row) : (_e = col.cellStyle) !== null && _e !== void 0 ? _e : {};
229
- return h("p", { class: `body_text text-sm-regular ${resolvedClass}`, style: resolvedStyle }, value);
302
+ const resolvedStyle = typeof col.cellStyle === 'function' ? col.cellStyle(row) : ((_e = col.cellStyle) !== null && _e !== void 0 ? _e : {});
303
+ return (h("p", { class: `body_text text-sm-regular ${resolvedClass}`, style: resolvedStyle }, value));
230
304
  }
231
305
  getCellValue(col, row) {
232
306
  if (col.value) {
@@ -249,6 +323,20 @@ export class GbTable {
249
323
  // Calculate available space for dropdown positioning
250
324
  requestAnimationFrame(() => this.calculateDropdownPlacement(nativeBtn, this.dropdownRef));
251
325
  }
326
+ openGridModal(rowIndex) {
327
+ this.openRowIndex = rowIndex;
328
+ this.isGridModalVisible = true;
329
+ requestAnimationFrame(() => {
330
+ this.isGridModalVisible = true;
331
+ });
332
+ }
333
+ closeGridModal() {
334
+ this.openRowIndex = null;
335
+ this.isGridModalVisible = false;
336
+ setTimeout(() => {
337
+ this.showFilterModalInternal = false;
338
+ }, 300);
339
+ }
252
340
  calculateDropdownPlacement(buttonElement, dropdownElement) {
253
341
  if (!buttonElement || !dropdownElement)
254
342
  return;
@@ -352,15 +440,11 @@ export class GbTable {
352
440
  this.selectionChanged.emit(selected);
353
441
  }
354
442
  get displayedData() {
355
- // console.log('sortedData length:', this.sortedData.length);
356
- // console.log('mode:', this.paginationConfig?.paginationMode);
357
- // console.log('page:', this.internalCurrentPage, 'size:', this.internalPageSize);
358
443
  if (!this.paginationConfig || this.paginationConfig.paginationMode === 'external') {
359
444
  return this.sortedData;
360
445
  }
361
446
  const start = (this.internalCurrentPage - 1) * this.internalPageSize;
362
447
  const end = start + this.internalPageSize;
363
- // console.log('slice:', start, end);
364
448
  return this.sortedData.slice(start, end);
365
449
  }
366
450
  get totalPages() {
@@ -398,6 +482,21 @@ export class GbTable {
398
482
  transition: 'transform 0.2s ease',
399
483
  } }, h("path", { d: "M7.99998 13.3332V2.6665M7.99998 13.3332C8.87837 13.3332 11.3333 9.99993 11.3333 9.99993M7.99998 13.3332C7.12158 13.3332 4.66663 9.9999 4.66663 9.9999", stroke: this.sortKey === col.key ? 'var(--color-icon, #4B5565)' : 'var(--color-icon-disabled, #808c9e)', "stroke-linecap": "round", "stroke-linejoin": "round" }))), col.helpIcon && (h("gb-help-tooltip", { "show-supporting-text": "true" }, h("p", { slot: "label" }, "This is a label"), h("p", { slot: "supporting_text" }, "This is a supporting text")))));
400
484
  }
485
+ validateMobilePositions(newCols) {
486
+ const positions = this.internalColumns.map(c => { var _a; return (_a = c.mobile) === null || _a === void 0 ? void 0 : _a.position; }).filter(Boolean);
487
+ const duplicates = positions.filter((item, index) => positions.indexOf(item) !== index);
488
+ if (duplicates.length) {
489
+ console.warn('[gb-table] Duplicate mobile positions detected:', duplicates);
490
+ }
491
+ this.initializeColumns(newCols);
492
+ }
493
+ emitRowData(row) {
494
+ this.rowClicked.emit(row);
495
+ }
496
+ generateNameInitials(name) {
497
+ const splitNames = name.split(' ');
498
+ return splitNames.map((nm) => nm.charAt(0));
499
+ }
401
500
  renderDesktopView() {
402
501
  // compute table min-width to force horizontal scroll when > 5 columns
403
502
  const defaultColWidth = 160;
@@ -440,16 +539,15 @@ export class GbTable {
440
539
  this.openRowIndex = null;
441
540
  } })))))))))))))))));
442
541
  }
443
- validateMobilePositions(newCols) {
444
- const positions = this.internalColumns.map(c => { var _a; return (_a = c.mobile) === null || _a === void 0 ? void 0 : _a.position; }).filter(Boolean);
445
- const duplicates = positions.filter((item, index) => positions.indexOf(item) !== index);
446
- if (duplicates.length) {
447
- console.warn('[gb-table] Duplicate mobile positions detected:', duplicates);
448
- }
449
- this.initializeColumns(newCols);
450
- }
451
- emitRowData(row) {
452
- this.rowClicked.emit(row);
542
+ renderGridView() {
543
+ return (h("div", { class: `table_grid_wrapper` }, this.displayedData.map((row, rowIndex) => {
544
+ var _a, _b, _c;
545
+ return (h("div", { class: "table_grid_card" }, h("div", { class: "grid_card_profile" }, h("div", { class: "grid_card_profile_content" }, h("div", { class: "profile_avatar" }, h("gb-avatar", { size: "lg", "show-border": "false" }, h("h1", { slot: "initials" }, this.generateNameInitials(row[this.gridCardConfig.name.key])))), h("div", { class: "profile_details" }, h("div", { class: "profile_name" }, h("p", { class: "text-lg-semi-bold" }, ((_a = this.gridCardConfig) === null || _a === void 0 ? void 0 : _a.name) ? row[this.gridCardConfig.name.key] : '')), (_c = (_b = this.gridCardConfig) === null || _b === void 0 ? void 0 : _b.badges) === null || _c === void 0 ? void 0 :
546
+ _c.map(badge => (h("gb-badge", { size: "lg", type: "badge_modern", color: "gray" }, h("p", null, row[badge.key]))))))), h("div", { class: "grid_card_buttons" }, h("div", { class: "btn" }, h("gb-button", { size: "md", hierarchy: "secondary_gray", icon: "default", "icon-leading": this.gridCardConfig.button.icon ? true : false, iconLeadingSwap: this.gridCardConfig.button.icon, onClick: () => this.handleAction(this.gridCardConfig.button.action, row) }, h("p", null, this.gridCardConfig.button.text))), h("gb-button", { size: "md", hierarchy: "secondary_gray", iconLeading: true, "icon-leading-swap": "assets/more-vertical.svg", icon: "only", onClick: () => this.openGridModal(rowIndex) })), this.openRowIndex === rowIndex && this.isGridModalVisible && (h("div", { class: `grid_dropdown_modal_overlay ${this.isGridModalVisible ? 'open' : 'closing'}` }, h("gb-button-close", { size: "sm", color: "gray", class: "grid_card_modal_close_button", onClick: () => this.closeGridModal() }), h("div", { class: "grid_dropdown_modal" }, this.dropdownOptions.map(action => (h("gb-dropdown-items-with-shortcut", { icon: action.icon ? true : false, state: action.disabled ? StateEnum.Disabled : StateEnum.Default, label: action.label, "icon-src": action.icon, onClick: () => {
547
+ this.handleAction(action.action, row);
548
+ this.openRowIndex = null;
549
+ } }))))))));
550
+ })));
453
551
  }
454
552
  renderMobileView() {
455
553
  return (h("div", { class: "mobile_wrapper" }, this.displayedData.map(row => {
@@ -486,6 +584,12 @@ export class GbTable {
486
584
  exportButtonClicked(detail) {
487
585
  this.exportClicked.emit(detail.detail);
488
586
  }
587
+ onRefreshButtonClicked() {
588
+ this.refreshButtonClicked.emit();
589
+ }
590
+ switchTableLayout(layout) {
591
+ this.currentTableLayout = layout.detail;
592
+ }
489
593
  toggleColumn(event, columnKey) {
490
594
  const isVisible = event.detail;
491
595
  this.internalColumns = this.internalColumns.map(col => (col.key === columnKey ? Object.assign(Object.assign({}, col), { visible: isVisible }) : col));
@@ -502,28 +606,37 @@ export class GbTable {
502
606
  this.showFilterModalInternal = false;
503
607
  }, 300); // match CSS duration
504
608
  }
505
- onApplyFilters(detail) {
609
+ onApplyFilters(e) {
506
610
  // console.log(detail.detail);
507
- this.applyFilters.emit(detail.detail);
508
- this.showFilterModalInternal = false;
611
+ const { filters } = e.detail; // ← destructure, don't store the whole thing
612
+ this.appliedFilterValues = Object.assign(Object.assign({}, this.appliedFilterValues), filters); // ← merge, not replace
613
+ this.applyFilters.emit(this.appliedFilterValues);
614
+ console.log(this.appliedFilterValues);
615
+ this.closeFilterModal();
616
+ }
617
+ get mergedFilterConfig() {
618
+ return Object.assign(Object.assign({}, this.filterConfig), { appliedValues: this.appliedFilterValues });
619
+ }
620
+ handleClearFilters() {
621
+ this.appliedFilterValues = {};
509
622
  }
510
623
  disconnectedCallback() {
511
624
  window.removeEventListener('resize', this.checkViewport);
512
625
  }
513
626
  render() {
514
- return (h("div", { key: 'db94ba1f0c6df50a9912269e5868410965a1731d', class: `table_wrapper` }, h("gb-table-header", { key: 'baf7efe46da8fd6644265c151e2e2b180207c9ce', mode: this.tableHeaderConfig.datePickerMode, "table-heading": this.tableHeaderConfig.tableHeading, "table-heading-label": this.tableHeaderConfig.tableHeadingLabel, "show-search": this.tableHeaderConfig.showSearch, "show-date-filter": this.tableHeaderConfig.showDateFilter, "show-filter": this.tableHeaderConfig.showFilter, "show-export": this.tableHeaderConfig.showExport, "show-column-options": this.tableHeaderConfig.showColumnOptions, "show-refresh-button": this.tableHeaderConfig.showRefreshButton, "input-placeholder": this.tableHeaderConfig.inputPlaceholder, "date-picker-placeholder": this.tableHeaderConfig.datePickerPlaceholder, "show-entire-data": this.tableHeaderConfig.showEntireData, "show-layout-toggle": this.tableHeaderConfig.showLayoutToggle, "filter-state": this.tableHeaderConfig.filterState, "filter-count": this.tableHeaderConfig.filterCount, "export-button-state": this.tableHeaderConfig.exportButtonState, "pdf-state": this.tableHeaderConfig.pdfState, "csv-state": this.tableHeaderConfig.csvState, onInputValueChanged: this.emitSearchValue.bind(this), onDateChange: this.emitDateChange.bind(this), onColumnOptionsButtonClicked: this.columnOptionsButtonClicked(), onExportClicked: e => this.exportButtonClicked(e), onFilterButtonClicked: () => this.openFilterModal() }), this.showColumnsPanel && (h("div", { key: '7b0cf14209c88a9906e7f9d76b4b754d2b57367a', class: "dialog", style: {
627
+ return (h("div", { key: 'caf68eb2b46924d073d6dbc4eea4a48dcabe6f7c', class: `table_wrapper ${this.currentTableLayout}` }, h("div", { key: '330123b5eb565ca7d848f68fb9f8f5bd14c6afb4', class: `table-header ${this.currentTableLayout}` }, h("gb-table-header", { key: 'b8a248e14024f048ceba5ec2167dbc132ee496d4', mode: this.tableHeaderConfig.datePickerMode, "table-heading": this.tableHeaderConfig.tableHeading, "table-heading-label": this.tableHeaderConfig.tableHeadingLabel, "show-search": this.tableHeaderConfig.showSearch, "show-date-filter": this.tableHeaderConfig.showDateFilter, "show-filter": this.tableHeaderConfig.showFilter, "show-export": this.tableHeaderConfig.showExport, "show-column-options": this.tableHeaderConfig.showColumnOptions, "show-refresh-button": this.tableHeaderConfig.showRefreshButton, "input-placeholder": this.tableHeaderConfig.inputPlaceholder, "date-picker-placeholder": this.tableHeaderConfig.datePickerPlaceholder, "show-entire-data": this.tableHeaderConfig.showEntireData, "show-layout-toggle": this.tableHeaderConfig.showLayoutToggle, "filter-state": Object.keys(this.appliedFilterValues).length > 0 ? 'applied' : 'default', "filter-count": Object.keys(this.appliedFilterValues).length, "export-button-state": this.tableHeaderConfig.exportButtonState, "pdf-state": this.tableHeaderConfig.pdfState, "csv-state": this.tableHeaderConfig.csvState, onInputValueChanged: this.emitSearchValue.bind(this), onDateChange: this.emitDateChange.bind(this), onColumnOptionsButtonClicked: this.columnOptionsButtonClicked(), onExportClicked: e => this.exportButtonClicked(e), onFilterButtonClicked: () => this.openFilterModal(), onRefreshButtonClicked: () => this.onRefreshButtonClicked(), onLayoutButtonClicked: e => this.switchTableLayout(e) })), this.showColumnsPanel && this.columns.length > 0 && (h("div", { key: 'dcc1a49c5dbd687dbabd408630b9061d51aff1c8', class: "dialog", style: {
515
628
  transform: `translate(${this.modalPosition.x}px, ${this.modalPosition.y}px)`,
516
- } }, h("div", { key: '732916316e147ce1dc1ca6b1376812bd1c972820', class: "column-modal" }, h("div", { key: '721fb6a9b5fe32fcdc0da5603b556782dabbd48c', class: "modal_header" }, h("div", { key: 'd568e6b262c020615250a0cf074ab0eeab57585d', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: '3f5d07af3cdc6733f8df0b15ec8b6a883a6251f3', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '527eaf24a973964cb2b208e1a58dc3da52c2ee0e', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: '9833cb5a3245b9627e3575dc72d257b89ea6d410', class: "content_wrapper" }, h("div", { key: '7d3f5bbcf994e95d1256fcd6d0d4a0ede0313e48', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
629
+ } }, h("div", { key: '0f5ee0fd638b7e9dc084c9570ee7d79c2e20ac1a', class: "column-modal" }, h("div", { key: '484b817d9b9e8309da6ebe70cac77d476a12fda1', class: "modal_header" }, h("div", { key: '9c5d579488dec241008d9b2f53e1aa5207d2bb06', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: '88dada4a289cc8d3ff5ae4740e058cdf5b2d0a4a', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '474eac6c80ce6bc0cee0e19c941cecf04a960a5a', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: '9806900c4dca46e8d3ee1a7e86b6736a40dc0e03', class: "content_wrapper" }, h("div", { key: 'f312e74df83eeb9ab3392a3882fff4ba0c1400b6', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
517
630
  if (this.draggedIndex !== null && this.draggedIndex !== index) {
518
631
  this.reorderColumns(this.draggedIndex, index);
519
632
  }
520
633
  this.draggedIndex = null;
521
634
  } }, h("div", { class: "label_and_dragger" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { d: "M8 6H8.00635M8 12H8.00635M8 18H8.00635M15.9937 6H16M15.9937 12H16M15.9937 18H16", stroke: "var(--color-icon, #4B5565)", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("p", { class: "label text-md-regular" }, col.label)), h("gb-toggle", { size: "sm", state: StateEnum.Default, position: "right", pressed: col.visible, text: false, onToggleClicked: e => {
522
635
  this.toggleColumn(e, col.key);
523
- } })))), h("div", { key: 'bef112827b7898c2a27a5a0ecada4ce1df9e5151', class: "modal-actions" })))))), this.showFilterModalInternal && (h("div", { key: '5415a76c52c1f80d681cd613c91c6acdf5d424aa', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: '1c7e3d27495749c2dd4c0155d2f2ffe9f7568e52', class: "filter_modal", filterConfig: this.filterConfig, onClose: e => {
636
+ } })))), h("div", { key: '0080f5cd42e2a6a43953c0ccf89a65d385c11706', class: "modal-actions" })))))), this.showFilterModalInternal && this.filterConfig && (h("div", { key: 'd530bd6111a95767f4f1db19e8a12fb7ef372f09', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: '7f23c3094898f0ce65311722a1979ad5eac3ca08', class: "filter_modal", filterConfig: this.mergedFilterConfig, onClose: e => {
524
637
  e.stopPropagation();
525
638
  this.closeFilterModal();
526
- }, onApplyFilters: e => this.onApplyFilters(e) }))), this.internalLoading ? (
639
+ }, onApplyFilters: e => this.onApplyFilters(e), onClearFilters: () => this.handleClearFilters() }))), this.internalLoading ? (
527
640
  // ✅ ALWAYS show loading when loading = true
528
641
  h("table", null, h("thead", null, h("tr", { class: "table_head_row" }, this.showCheckbox && (h("th", { class: {
529
642
  checkbox: true,
@@ -559,7 +672,13 @@ export class GbTable {
559
672
  // ✅ No loading + no data = empty state
560
673
  h("div", { class: "empty_state_wrapper" }, h("gb-empty-state", { size: "sm", "main-text": this.emptyStateConfig.mainText, "supporting-text": this.emptyStateConfig.supportingText, color: this.emptyStateConfig.color, theme: this.emptyStateConfig.theme, "primary-button-icon-leading-swap": "assets/plus.svg", "illustration-icon": this.emptyStateConfig.illustrationIcon, background: true, "background-type": "grid", icon: "illustration", "illustration-style": "cloud" }))) : (
561
674
  // ✅ Has data + not loading
562
- h(Fragment, null, this.isMobile ? this.renderMobileView() : this.renderDesktopView())), this.paginationConfig && this.data.length > 0 && (h("gb-pagination", { key: '162a6f2d43f693d8a4a6dd44940ee3e1b7a9b49f', "entries-dropdown-menu-position": this.paginationConfig.entriesDropdownMenuPosition, "page-size": this.paginationConfig.paginationMode === 'internal' ? this.internalPageSize : this.paginationConfig.pageSize, "current-page": this.paginationConfig.paginationMode === 'internal' ? this.internalCurrentPage : this.paginationConfig.currentPage, "total-pages": this.totalPages, onPageItemSelected: this.handlePageChange.bind(this) }))));
675
+ h(Fragment, null, this.isMobile
676
+ ? this.renderMobileView()
677
+ : this.currentTableLayout === 'list'
678
+ ? this.renderDesktopView()
679
+ : this.currentTableLayout === 'grid'
680
+ ? this.renderGridView()
681
+ : null)), this.paginationConfig && this.data.length > 0 && (h("div", { key: '264d008d5a227653603e624f0d31c3756c9e1d70', class: `pagination ${this.currentTableLayout}` }, h("gb-pagination", { key: 'dbfa962f33a445168e83f103f0da9abebe37ab2a', "entries-dropdown-menu-position": this.paginationConfig.entriesDropdownMenuPosition, "page-size": this.paginationConfig.paginationMode === 'internal' ? this.internalPageSize : this.paginationConfig.pageSize, "current-page": this.paginationConfig.paginationMode === 'internal' ? this.internalCurrentPage : this.paginationConfig.currentPage, "total-pages": this.totalPages, onPageItemSelected: this.handlePageChange.bind(this) })))));
563
682
  }
564
683
  static get is() { return "gb-table"; }
565
684
  static get encapsulation() { return "shadow"; }
@@ -617,7 +736,7 @@ export class GbTable {
617
736
  },
618
737
  "getter": false,
619
738
  "setter": false,
620
- "defaultValue": "[\r\n // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } },\r\n // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } },\r\n // { key: 'name', label: 'Name', sortable: true, sortType: 'string', helpIcon: true, supportingText: row => row.role, mobile: { position: 'top_right' } },\r\n // { key: 'role', label: 'Role' },\r\n // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: (row) => ({color: row.amount > 200 ? 'green' : ''}) },\r\n // {\r\n // key: 'status',\r\n // label: 'Status',\r\n // cellComponent: 'gb-badge',\r\n // cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ]"
739
+ "defaultValue": "[\r\n // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } },\r\n // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } },\r\n // {\r\n // key: 'name',\r\n // label: 'Name',\r\n // sortable: true,\r\n // sortType: 'string',\r\n // helpIcon: true,\r\n // supportingText: row => row.role,\r\n // mobile: { position: 'top_right' },\r\n // },\r\n // { key: 'role', label: 'Role' },\r\n // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) },\r\n // {\r\n // key: 'status',\r\n // label: 'Status',\r\n // cellComponent: 'gb-badge',\r\n // cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ]"
621
740
  },
622
741
  "data": {
623
742
  "type": "unknown",
@@ -637,6 +756,23 @@ export class GbTable {
637
756
  "setter": false,
638
757
  "defaultValue": "[\r\n // {\r\n // id: '#30011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111',\r\n // date: 'Jan 1, 2022',\r\n // name: 'Emma Johnson',\r\n // role: 'Frontend Developer',\r\n // level: 'Today',\r\n // customer: 'John Doe',\r\n // amount: '$120.00',\r\n // status: 'Completed',\r\n // },\r\n // { id: '#3002', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3003', date: new Date(), name: 'Liam Smith', role: 'Frontend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3004', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3005', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3006', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3003', date: 'Jan 3, 2022', name: 'Olivia Brown', role: 'UI Designer', level: 'Today', customer: 'Michael Lee', amount: '$230.75', status: 'Cancelled' },\r\n // { id: '#3004', date: 'Jan 4, 2022', name: 'Noah Davis', role: 'DevOps Engineer', level: 'Today', customer: 'Emily Clark', amount: '$59.99', status: 'Completed' },\r\n // { id: '#3005', date: 'Jan 5, 2022', name: 'Ava Martinez', role: 'Product Manager', level: 'Today', customer: 'Daniel Harris', amount: '$410.00', status: 'Pending' },\r\n // { id: '#3006', date: 'Jan 6, 2022', name: 'William Garcia', role: 'QA Engineer', level: 'Today', customer: 'Sophia Lewis', amount: '$150.20', status: 'Completed' },\r\n // { id: '#3007', date: 'Jan 7, 2022', name: 'Isabella Rodriguez', role: 'Business Analyst', level: 'Today', customer: 'James Walker', amount: '$78.40', status: 'Pending' },\r\n // { id: '#3008', date: 'Jan 8, 2022', name: 'James Wilson', role: 'Fullstack Developer', level: 'Today', customer: 'Mia Hall', amount: '$300.00', status: 'Completed' },\r\n // { id: '#3009', date: 'Jan 9, 2022', name: 'Sophia Anderson', role: 'UX Researcher', level: 'Today', customer: 'Benjamin Allen', amount: '$95.60', status: 'Cancelled' },\r\n // { id: '#3010', date: 'Jan 10, 2022', name: 'Benjamin Thomas', role: 'Mobile Developer', level: 'Today', customer: 'Charlotte Young', amount: '$210.10', status: 'Completed' },\r\n // { id: '#3011', date: 'Jan 11, 2022', name: 'Mia Taylor', role: 'Data Analyst', level: 'Today', customer: 'Lucas King', amount: '$180.00', status: 'Pending' },\r\n // { id: '#3012', date: 'Jan 12, 2022', name: 'Lucas Moore', role: 'Cloud Engineer', level: 'Today', customer: 'Amelia Scott', amount: '$420.75', status: 'Completed' },\r\n // { id: '#3013', date: 'Jan 13, 2022', name: 'Charlotte Jackson', role: 'Security Engineer', level: 'Today', customer: 'Elijah Green', amount: '$65.90', status: 'Cancelled' },\r\n // { id: '#3014', date: 'Jan 14, 2022', name: 'Elijah Martin', role: 'Technical Lead', level: 'Today', customer: 'Harper Adams', amount: '$510.30', status: 'Completed' },\r\n // { id: '#3015', date: 'Jan 15, 2022', name: 'Amelia Lee', role: 'Scrum Master', level: 'Today', customer: 'Alexander Baker', amount: '$99.99', status: 'Pending' },\r\n // { id: '#3016', date: 'Jan 16, 2022', name: 'Harper Perez', role: 'Frontend Developer', level: 'Today', customer: 'Ella Nelson', amount: '$275.45', status: 'Completed' },\r\n // { id: '#3017', date: 'Jan 17, 2022', name: 'Alexander White', role: 'Backend Developer', level: 'Today', customer: 'Matthew Carter', amount: '$340.00', status: 'Pending' },\r\n // { id: '#3018', date: 'Jan 18, 2022', name: 'Ella Harris', role: 'UI Designer', level: 'Today', customer: 'Avery Mitchell', amount: '$88.80', status: 'Completed' },\r\n // { id: '#3019', date: 'Jan 19, 2022', name: 'Matthew Clark', role: 'DevOps Engineer', level: 'Today', customer: 'Evelyn Perez', amount: '$190.25', status: 'Cancelled' },\r\n // { id: '#3020', date: 'Jan 20, 2022', name: 'Avery Lewis', role: 'Product Manager', level: 'Today', customer: 'Henry Roberts', amount: '$600.00', status: 'Completed' },\r\n // { id: '#3021', date: 'Jan 21, 2022', name: 'Evelyn Walker', role: 'QA Engineer', level: 'Today', customer: 'Luna Turner', amount: '$72.30', status: 'Pending' },\r\n // { id: '#3022', date: 'Jan 22, 2022', name: 'Henry Hall', role: 'Business Analyst', level: 'Today', customer: 'Jack Phillips', amount: '$310.40', status: 'Completed' },\r\n // { id: '#3023', date: 'Jan 23, 2022', name: 'Luna Allen', role: 'Fullstack Developer', level: 'Today', customer: 'Sofia Campbell', amount: '$145.00', status: 'Cancelled' },\r\n // { id: '#3024', date: 'Jan 24, 2022', name: 'Jack Young', role: 'UX Researcher', level: 'Today', customer: 'David Parker', amount: '$260.70', status: 'Completed' },\r\n // { id: '#3025', date: 'Jan 25, 2022', name: 'Sofia Hernandez', role: 'Mobile Developer', level: 'Today', customer: 'Grace Evans', amount: '$89.10', status: 'Pending' },\r\n // { id: '#3026', date: 'Jan 26, 2022', name: 'David King', role: 'Data Analyst', level: 'Today', customer: 'Samuel Edwards', amount: '$410.90', status: 'Completed' },\r\n // { id: '#3027', date: 'Jan 27, 2022', name: 'Grace Wright', role: 'Cloud Engineer', level: 'Today', customer: 'Chloe Collins', amount: '$130.55', status: 'Cancelled' },\r\n // { id: '#3028', date: 'Jan 28, 2022', name: 'Samuel Scott', role: 'Security Engineer', level: 'Today', customer: 'Victoria Stewart', amount: '$555.00', status: 'Completed' },\r\n // { id: '#3029', date: 'Jan 29, 2022', name: 'Chloe Green', role: 'Technical Lead', level: 'Today', customer: 'Nathan Morris', amount: '$205.25', status: 'Pending' },\r\n // { id: '#3030', date: 'Jan 30, 2022', name: 'Nathan Adams', role: 'Scrum Master', level: 'Today', customer: 'Zoe Rogers', amount: '$320.80', status: 'Completed' },\r\n ]"
639
758
  },
759
+ "gridCardConfig": {
760
+ "type": "unknown",
761
+ "mutable": false,
762
+ "complexType": {
763
+ "original": "{\r\n name?: { key: string };\r\n badges?: { key: string; label?: string }[];\r\n button?: { icon: string; text: string; action: string };\r\n }",
764
+ "resolved": "{ name?: { key: string; }; badges?: { key: string; label?: string; }[]; button?: { icon: string; text: string; action: string; }; }",
765
+ "references": {}
766
+ },
767
+ "required": false,
768
+ "optional": true,
769
+ "docs": {
770
+ "tags": [],
771
+ "text": ""
772
+ },
773
+ "getter": false,
774
+ "setter": false
775
+ },
640
776
  "tableHeaderConfig": {
641
777
  "type": "unknown",
642
778
  "mutable": false,
@@ -653,7 +789,7 @@ export class GbTable {
653
789
  },
654
790
  "getter": false,
655
791
  "setter": false,
656
- "defaultValue": "{\r\n tableHeading: false,\r\n tableHeadingLabel: 'Suspicious outflows',\r\n showDateFilter: true,\r\n showFilter: true,\r\n showColumnOptions: true,\r\n showSearch: true,\r\n showExport: true,\r\n showRefreshButton: false,\r\n datePickerMode: 'range',\r\n inputPlaceholder: 'Transaction reference',\r\n }"
792
+ "defaultValue": "{\r\n tableHeading: false,\r\n tableHeadingLabel: 'Suspicious outflows',\r\n showDateFilter: true,\r\n showFilter: true,\r\n showColumnOptions: true,\r\n showSearch: true,\r\n showExport: true,\r\n showRefreshButton: false,\r\n showLayoutToggle: true,\r\n datePickerMode: 'range',\r\n inputPlaceholder: 'Transaction reference',\r\n }"
657
793
  },
658
794
  "paginationConfig": {
659
795
  "type": "unknown",
@@ -792,7 +928,7 @@ export class GbTable {
792
928
  },
793
929
  "getter": false,
794
930
  "setter": false,
795
- "defaultValue": "[\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n ]"
931
+ "defaultValue": "[\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n ]"
796
932
  },
797
933
  "dropdownOptions": {
798
934
  "type": "unknown",
@@ -816,7 +952,7 @@ export class GbTable {
816
952
  },
817
953
  "getter": false,
818
954
  "setter": false,
819
- "defaultValue": "[\r\n // { label: 'View', action: 'view', icon: 'assets/view.svg', disabled: false },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', disabled: false },\r\n // { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: true },\r\n ]"
955
+ "defaultValue": "[\r\n // { label: 'View', action: 'view', icon: 'assets/view.svg', disabled: false },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', disabled: false },\r\n // { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: false },\r\n ]"
820
956
  },
821
957
  "stickyFirstColumn": {
822
958
  "type": "boolean",
@@ -959,7 +1095,11 @@ export class GbTable {
959
1095
  "modalPosition": {},
960
1096
  "showFilterModalInternal": {},
961
1097
  "isFilterModalVisible": {},
962
- "internalLoading": {}
1098
+ "isGridModalVisible": {},
1099
+ "internalLoading": {},
1100
+ "currentTableLayout": {},
1101
+ "showGridCardModal": {},
1102
+ "appliedFilterValues": {}
963
1103
  };
964
1104
  }
965
1105
  static get events() {
@@ -1053,6 +1193,36 @@ export class GbTable {
1053
1193
  "resolved": "{ dataType: string; exportType: string; }",
1054
1194
  "references": {}
1055
1195
  }
1196
+ }, {
1197
+ "method": "refreshButtonClicked",
1198
+ "name": "refreshButtonClicked",
1199
+ "bubbles": true,
1200
+ "cancelable": true,
1201
+ "composed": true,
1202
+ "docs": {
1203
+ "tags": [],
1204
+ "text": ""
1205
+ },
1206
+ "complexType": {
1207
+ "original": "void",
1208
+ "resolved": "void",
1209
+ "references": {}
1210
+ }
1211
+ }, {
1212
+ "method": "layoutButtonClicked",
1213
+ "name": "layoutButtonClicked",
1214
+ "bubbles": true,
1215
+ "cancelable": true,
1216
+ "composed": true,
1217
+ "docs": {
1218
+ "tags": [],
1219
+ "text": ""
1220
+ },
1221
+ "complexType": {
1222
+ "original": "string",
1223
+ "resolved": "string",
1224
+ "references": {}
1225
+ }
1056
1226
  }, {
1057
1227
  "method": "rowClicked",
1058
1228
  "name": "rowClicked",
@@ -1079,8 +1249,8 @@ export class GbTable {
1079
1249
  "text": ""
1080
1250
  },
1081
1251
  "complexType": {
1082
- "original": "{\r\n filters: any;\r\n pagination: any;\r\n }",
1083
- "resolved": "{ filters: any; pagination: any; }",
1252
+ "original": "any",
1253
+ "resolved": "any",
1084
1254
  "references": {}
1085
1255
  }
1086
1256
  }];