globuswebcomponents 2.16.8 → 2.17.0

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 (220) hide show
  1. package/dist/cjs/gb-accordion-card_80.cjs.entry.js +55 -30
  2. package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
  3. package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
  4. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
  7. package/dist/cjs/globuscomponents.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
  10. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  11. package/dist/cjs/test-wrapper.cjs.entry.js +16 -0
  12. package/dist/cjs/test-wrapper.entry.cjs.js.map +1 -0
  13. package/dist/collection/collection-manifest.json +1 -0
  14. package/dist/collection/components/gb-table/gb-table.js +92 -20
  15. package/dist/collection/components/gb-table/gb-table.js.map +1 -1
  16. package/dist/collection/components/gb-table-test/gb-table-test.js +12 -0
  17. package/dist/collection/components/gb-table-test/gb-table-test.js.map +1 -0
  18. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  19. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  20. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  21. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  22. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
  23. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
  24. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  25. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  26. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  27. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  28. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  29. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  30. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  31. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  32. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  33. package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.js +1 -1
  34. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  35. package/dist/collection/models/reusableModels.js.map +1 -1
  36. package/dist/components/gb-accordion-card.js +2 -2
  37. package/dist/components/gb-action-panel.js +2 -2
  38. package/dist/components/gb-approval-modal.js +8 -8
  39. package/dist/components/gb-avatar-add-button.js +1 -1
  40. package/dist/components/gb-avatar-dropdown.js +1 -1
  41. package/dist/components/gb-avatar-group.js +2 -2
  42. package/dist/components/gb-btn.js +1 -1
  43. package/dist/components/gb-button.js +1 -1
  44. package/dist/components/gb-checkbox-group-item.js +1 -1
  45. package/dist/components/gb-checkbox-group.js +3 -3
  46. package/dist/components/gb-collapse-button.js +1 -1
  47. package/dist/components/gb-comment.js +2 -2
  48. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  49. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  50. package/dist/components/gb-date-picker.js +1 -1
  51. package/dist/components/gb-detail-cell.js +2 -2
  52. package/dist/components/gb-empty-state.js +1 -1
  53. package/dist/components/gb-file-upload-item-base.js +1 -1
  54. package/dist/components/gb-file-upload.js +4 -4
  55. package/dist/components/gb-filter-button.js +1 -1
  56. package/dist/components/gb-filter-modal.js +1 -1
  57. package/dist/components/gb-header.js +13 -13
  58. package/dist/components/gb-help-tooltip.js +1 -1
  59. package/dist/components/gb-icon-button-base.js +1 -1
  60. package/dist/components/gb-input-dropdown-test.js +9 -9
  61. package/dist/components/gb-input-dropdown.js +1 -1
  62. package/dist/components/gb-input-field.js +1 -1
  63. package/dist/components/gb-modal-action.js +1 -1
  64. package/dist/components/gb-modal.js +3 -3
  65. package/dist/components/gb-nav-bar-item.js +1 -1
  66. package/dist/components/gb-nav-bar-sidemenu.js +1 -1
  67. package/dist/components/gb-nav-bar.js +2 -2
  68. package/dist/components/gb-notification-pane.js +1 -1
  69. package/dist/components/gb-pagination.js +1 -1
  70. package/dist/components/gb-password-button.js +1 -1
  71. package/dist/components/gb-progress-bar.js +1 -1
  72. package/dist/components/gb-prompt-modal.js +2 -2
  73. package/dist/components/gb-rich-text.js +12 -12
  74. package/dist/components/gb-sidebar.js +5 -5
  75. package/dist/components/gb-simple-side-bar-item.js +1 -1
  76. package/dist/components/gb-slider-control-handle.js +1 -1
  77. package/dist/components/gb-slider.js +2 -2
  78. package/dist/components/gb-table-header.js +1 -1
  79. package/dist/components/gb-table.js +1 -1502
  80. package/dist/components/gb-table.js.map +1 -1
  81. package/dist/components/gb-tag-checkbox.js +1 -1
  82. package/dist/components/gb-tag-close.js +1 -1
  83. package/dist/components/gb-tag-count.js +1 -1
  84. package/dist/components/gb-tag.js +1 -1
  85. package/dist/components/gb-textarea-input-field.js +1 -1
  86. package/dist/components/gb-theme-tab.js +1 -1
  87. package/dist/components/gb-toast-button.js +1 -1
  88. package/dist/components/gb-toast.js +1 -1
  89. package/dist/components/gb-toggle-base.js +1 -1
  90. package/dist/components/gb-toggle.js +1 -1
  91. package/dist/components/gb-token-field-compact.js +1 -1
  92. package/dist/components/gb-token-field-compressed.js +2 -2
  93. package/dist/components/gb-tooltip.js +1 -1
  94. package/dist/components/gb-vertical-tabs.js +1 -1
  95. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  96. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  97. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  98. package/dist/components/{p-QS6WCgEU.js → p-4YZvp-qM.js} +3 -3
  99. package/dist/components/{p-QS6WCgEU.js.map → p-4YZvp-qM.js.map} +1 -1
  100. package/dist/components/{p-Dy6voUvk.js → p-B-_n34Mq.js} +3 -3
  101. package/dist/components/{p-Dy6voUvk.js.map → p-B-_n34Mq.js.map} +1 -1
  102. package/dist/components/{p-K9KSmTWl.js → p-B0otylT9.js} +4 -4
  103. package/dist/components/{p-K9KSmTWl.js.map → p-B0otylT9.js.map} +1 -1
  104. package/dist/components/{p-SBK--MJo.js → p-B9y0gFWa.js} +3 -3
  105. package/dist/components/{p-SBK--MJo.js.map → p-B9y0gFWa.js.map} +1 -1
  106. package/dist/components/{p-CZZ49jCW.js → p-BH_pWFmu.js} +10 -10
  107. package/dist/components/{p-CZZ49jCW.js.map → p-BH_pWFmu.js.map} +1 -1
  108. package/dist/components/{p-C1CXTcv3.js → p-BNAvzBZq.js} +3 -3
  109. package/dist/components/{p-C1CXTcv3.js.map → p-BNAvzBZq.js.map} +1 -1
  110. package/dist/components/{p-DA3OT9y9.js → p-BQeqF_-6.js} +4 -4
  111. package/dist/components/{p-DA3OT9y9.js.map → p-BQeqF_-6.js.map} +1 -1
  112. package/dist/components/{p-CKeeP1RN.js → p-BX4Hw5Pp.js} +3 -3
  113. package/dist/components/{p-CKeeP1RN.js.map → p-BX4Hw5Pp.js.map} +1 -1
  114. package/dist/components/{p-oG_anvpK.js → p-Bp0YR1uJ.js} +3 -3
  115. package/dist/components/{p-oG_anvpK.js.map → p-Bp0YR1uJ.js.map} +1 -1
  116. package/dist/components/{p-DwVPshyR.js → p-C-e3hNlH.js} +4 -4
  117. package/dist/components/{p-DwVPshyR.js.map → p-C-e3hNlH.js.map} +1 -1
  118. package/dist/components/{p-BPeBBYq8.js → p-C1BEL6jH.js} +12 -12
  119. package/dist/components/{p-BPeBBYq8.js.map → p-C1BEL6jH.js.map} +1 -1
  120. package/dist/components/{p-CotcMe-a.js → p-C2x5lNJ2.js} +3 -3
  121. package/dist/components/{p-CotcMe-a.js.map → p-C2x5lNJ2.js.map} +1 -1
  122. package/dist/components/{p-CtQU7pWw.js → p-C5In_G7H.js} +3 -3
  123. package/dist/components/{p-CtQU7pWw.js.map → p-C5In_G7H.js.map} +1 -1
  124. package/dist/components/{p-DZIp7ek6.js → p-CHKnEWqk.js} +4 -4
  125. package/dist/components/{p-DZIp7ek6.js.map → p-CHKnEWqk.js.map} +1 -1
  126. package/dist/components/{p-BnHQXWL-.js → p-CU5l35gn.js} +3 -3
  127. package/dist/components/{p-BnHQXWL-.js.map → p-CU5l35gn.js.map} +1 -1
  128. package/dist/components/{p-D2KhJvIW.js → p-CZkEMeZd.js} +4 -4
  129. package/dist/components/{p-D2KhJvIW.js.map → p-CZkEMeZd.js.map} +1 -1
  130. package/dist/components/{p-0uF8DOrG.js → p-CcdQMEiN.js} +14 -14
  131. package/dist/components/{p-0uF8DOrG.js.map → p-CcdQMEiN.js.map} +1 -1
  132. package/dist/components/{p-CMxQjY0A.js → p-Cf_GFf1d.js} +4 -4
  133. package/dist/components/{p-CMxQjY0A.js.map → p-Cf_GFf1d.js.map} +1 -1
  134. package/dist/components/{p-BWZddYxh.js → p-ChGsSHyD.js} +3 -3
  135. package/dist/components/{p-BWZddYxh.js.map → p-ChGsSHyD.js.map} +1 -1
  136. package/dist/components/{p-CZtozqON.js → p-Cp9sNYro.js} +3 -3
  137. package/dist/components/{p-CZtozqON.js.map → p-Cp9sNYro.js.map} +1 -1
  138. package/dist/components/{p-Duli5tX8.js → p-Cx4oJFSt.js} +3 -3
  139. package/dist/components/{p-Duli5tX8.js.map → p-Cx4oJFSt.js.map} +1 -1
  140. package/dist/components/{p-Bh1XZOYW.js → p-CxgSqKYx.js} +3 -3
  141. package/dist/components/{p-Bh1XZOYW.js.map → p-CxgSqKYx.js.map} +1 -1
  142. package/dist/components/{p-BLYEjP6E.js → p-D2XNcd98.js} +11 -11
  143. package/dist/components/{p-BLYEjP6E.js.map → p-D2XNcd98.js.map} +1 -1
  144. package/dist/components/p-DDeW0ybD.js +1534 -0
  145. package/dist/components/p-DDeW0ybD.js.map +1 -0
  146. package/dist/components/{p-Cb__yLCa.js → p-DTVnCJvY.js} +3 -3
  147. package/dist/components/{p-Cb__yLCa.js.map → p-DTVnCJvY.js.map} +1 -1
  148. package/dist/components/{p-CIQlqNhl.js → p-DX7NMlGY.js} +9 -9
  149. package/dist/components/{p-CIQlqNhl.js.map → p-DX7NMlGY.js.map} +1 -1
  150. package/dist/components/{p-Cr8wvTe2.js → p-DclzsKE1.js} +3 -3
  151. package/dist/components/{p-Cr8wvTe2.js.map → p-DclzsKE1.js.map} +1 -1
  152. package/dist/components/{p-C1bHN2Rx.js → p-DeXQ5EJ5.js} +3 -3
  153. package/dist/components/{p-C1bHN2Rx.js.map → p-DeXQ5EJ5.js.map} +1 -1
  154. package/dist/components/{p-BlpmvVW_.js → p-DgixiwuN.js} +13 -13
  155. package/dist/components/{p-BlpmvVW_.js.map → p-DgixiwuN.js.map} +1 -1
  156. package/dist/components/{p-CATNi5KI.js → p-Dh9pNyX0.js} +4 -4
  157. package/dist/components/{p-CATNi5KI.js.map → p-Dh9pNyX0.js.map} +1 -1
  158. package/dist/components/{p-CRpalI6I.js → p-Dt60TTUE.js} +6 -6
  159. package/dist/components/{p-CRpalI6I.js.map → p-Dt60TTUE.js.map} +1 -1
  160. package/dist/components/{p-B-qTC1TG.js → p-GszQCyXb.js} +4 -4
  161. package/dist/components/{p-B-qTC1TG.js.map → p-GszQCyXb.js.map} +1 -1
  162. package/dist/components/{p-CQJsx5Pc.js → p-QPpFI6Tl.js} +5 -5
  163. package/dist/components/{p-CQJsx5Pc.js.map → p-QPpFI6Tl.js.map} +1 -1
  164. package/dist/components/{p-CsN5I1IB.js → p-TVd0-ncC.js} +5 -5
  165. package/dist/components/{p-CsN5I1IB.js.map → p-TVd0-ncC.js.map} +1 -1
  166. package/dist/components/{p-CKuD3zQv.js → p-XOEsdWXU.js} +4 -4
  167. package/dist/components/{p-CKuD3zQv.js.map → p-XOEsdWXU.js.map} +1 -1
  168. package/dist/components/{p-CsB4EuxU.js → p-b_TGMORd.js} +5 -5
  169. package/dist/components/{p-CsB4EuxU.js.map → p-b_TGMORd.js.map} +1 -1
  170. package/dist/components/p-cHn6O-Kf.js.map +1 -1
  171. package/dist/components/{p-CuxVMYlt.js → p-dvsnNsWY.js} +5 -5
  172. package/dist/components/{p-CuxVMYlt.js.map → p-dvsnNsWY.js.map} +1 -1
  173. package/dist/components/{p-BOcaPh7T.js → p-iWdssWCr.js} +3 -3
  174. package/dist/components/{p-BOcaPh7T.js.map → p-iWdssWCr.js.map} +1 -1
  175. package/dist/components/{p-sRpXKkA4.js → p-n4Lzg2Aw.js} +3 -3
  176. package/dist/components/{p-sRpXKkA4.js.map → p-n4Lzg2Aw.js.map} +1 -1
  177. package/dist/components/{p-B7-FdB2z.js → p-wH0NPWp6.js} +6 -6
  178. package/dist/components/{p-B7-FdB2z.js.map → p-wH0NPWp6.js.map} +1 -1
  179. package/dist/components/test-input-tag.js +6 -6
  180. package/dist/components/test-wrapper.d.ts +11 -0
  181. package/dist/components/test-wrapper.js +307 -0
  182. package/dist/components/test-wrapper.js.map +1 -0
  183. package/dist/docs.json +239 -12
  184. package/dist/esm/gb-accordion-card_80.entry.js +55 -30
  185. package/dist/esm/gb-token-field-compact.entry.js +1 -1
  186. package/dist/esm/gb-token-field-compressed.entry.js +2 -2
  187. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  188. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  189. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  190. package/dist/esm/globuscomponents.js +1 -1
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
  193. package/dist/esm/test-input-tag.entry.js +2 -2
  194. package/dist/esm/test-wrapper.entry.js +14 -0
  195. package/dist/esm/test-wrapper.entry.js.map +1 -0
  196. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  197. package/dist/globuscomponents/p-0bb96d33.entry.js +2 -0
  198. package/dist/globuscomponents/p-0bb96d33.entry.js.map +1 -0
  199. package/dist/globuscomponents/{p-c18f6ea1.entry.js → p-1e5f04e2.entry.js} +2 -2
  200. package/dist/globuscomponents/{p-b2bfcf10.entry.js → p-3bf86ca5.entry.js} +2 -2
  201. package/dist/globuscomponents/p-3bf86ca5.entry.js.map +1 -0
  202. package/dist/globuscomponents/{p-6db2a93b.entry.js → p-42063daf.entry.js} +2 -2
  203. package/dist/globuscomponents/{p-20b06b76.entry.js → p-528e9bbf.entry.js} +2 -2
  204. package/dist/globuscomponents/{p-0c220ec3.entry.js → p-53b415e8.entry.js} +2 -2
  205. package/dist/globuscomponents/{p-7759bf63.entry.js → p-9767bb82.entry.js} +2 -2
  206. package/dist/globuscomponents/{p-bad04086.entry.js → p-b2bab8bd.entry.js} +2 -2
  207. package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
  208. package/dist/globuscomponents/test-wrapper.entry.esm.js.map +1 -0
  209. package/dist/types/components/gb-table/gb-table.d.ts +2 -1
  210. package/dist/types/components/gb-table-test/gb-table-test.d.ts +4 -0
  211. package/dist/types/components.d.ts +28 -6
  212. package/dist/types/models/reusableModels.d.ts +2 -2
  213. package/package.json +1 -1
  214. package/dist/globuscomponents/p-b2bfcf10.entry.js.map +0 -1
  215. /package/dist/globuscomponents/{p-c18f6ea1.entry.js.map → p-1e5f04e2.entry.js.map} +0 -0
  216. /package/dist/globuscomponents/{p-6db2a93b.entry.js.map → p-42063daf.entry.js.map} +0 -0
  217. /package/dist/globuscomponents/{p-20b06b76.entry.js.map → p-528e9bbf.entry.js.map} +0 -0
  218. /package/dist/globuscomponents/{p-0c220ec3.entry.js.map → p-53b415e8.entry.js.map} +0 -0
  219. /package/dist/globuscomponents/{p-7759bf63.entry.js.map → p-9767bb82.entry.js.map} +0 -0
  220. /package/dist/globuscomponents/{p-bad04086.entry.js.map → p-b2bab8bd.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"reusableModels-_LRAKnsh.js","sources":["src/models/reusableModels.ts"],"sourcesContent":["export type GeneralSizes = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled',\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none' | 'center';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy',\r\n}\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline',\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple' | 'white';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes =\r\n | 'button_primary'\r\n | 'button_gray'\r\n | 'button_white'\r\n | 'rounded_button_white'\r\n | 'underline'\r\n | 'underline_filled'\r\n | 'line'\r\n | 'button_white_border'\r\n | 'rounded_button_white_border'\r\n | 'button_gray_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\nexport type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags';\r\n\r\nexport type ColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow' | 'red' | 'white';\r\n\r\nexport type DropdownItemTypes = string | number | { name: string | number; username: string; selected?: boolean };\r\n\r\nexport type PaginationDotTypes = 'dot' | 'line';\r\n\r\nexport type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\nexport type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4' | 'png' | 'empty';\r\n\r\nexport type TableCellTypes = 'text' | 'lead_text' | 'lead_checkbox' | 'badge';\r\n\r\nexport type ProgressStepStatus = 'incomplete' | 'current' | 'complete';\r\n\r\nexport type ProgressStepTypes = 'icon_only' | 'icon_left' | 'icon_top' | 'text_line' | 'featured_icon_left' | 'featured_icon_top';\r\n\r\nexport type ProgressStepStates = 'default' | 'destructive';\r\n\r\nexport type BadgeTypes = 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n\r\nexport type GeneralStyles = 'standard' | 'compact';\r\n\r\nexport type StateType = 'default' | 'disabled' | 'applied' | 'loading' | 'open';\r\n\r\nexport type ButtonGroupTypes = 'false' | 'leading' | 'only' | 'dot' | 'checkbox';\r\n\r\nexport type ThemeTypes = 'system' | 'light' | 'dark';\r\n\r\nexport type BadgeIconTypes = 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only' | 'false';\r\n\r\nexport type DropdownRoles = { badgeLabel: string; badgeColor: GeneralColors; badgeType: BadgeTypes };\r\n\r\nexport type StepperType = {\r\n state: ProgressStepStates;\r\n status: ProgressStepStatus;\r\n label?: string;\r\n supportingText?: string;\r\n};\r\n\r\nexport type DetailCellType = 'information' | 'document' | 'status' | 'button';\r\n\r\nexport type MetricFeaturedIconTypes = 'glassmorphism' | 'circular_filled';\r\n\r\nexport interface DropdownListGroup {\r\n icon: string;\r\n label: string;\r\n shortcut: string;\r\n}\r\n\r\nexport type CloseButtonPositions = 'left' | 'right';\r\n\r\nexport interface Notification {\r\n label: string;\r\n time: string;\r\n desc: string;\r\n icon: string;\r\n}\r\n\r\nexport type IllustrationTypes = 'cloud' | 'box' | 'documents' | 'credit_card';\r\n\r\nexport type PatternTypes = 'circles' | 'grid' | 'grid_dot' | 'squares';\r\n\r\nexport type MobilePosition = 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right';\r\n\r\nexport interface TableColumn {\r\n key: string;\r\n label: string;\r\n value?: (row: any) => any;\r\n supportingText?: string | ((row: any) => string);\r\n width?: string;\r\n align?: 'left' | 'center' | 'right';\r\n helpIcon?: boolean;\r\n sortable?: boolean;\r\n sortType?: 'string' | 'number' | 'date';\r\n visible?: boolean;\r\n cellComponent?: string;\r\n searchable?: boolean;\r\n cellProps?: ((row: any) => { [key: string]: any }) | { [key: string]: any };\r\n hasAvatar?: boolean;\r\n cellAvatar?: {\r\n props?: {};\r\n slots?: {\r\n initials?: string | ((row: any) => string | any);\r\n image?: string | ((row: any) => string | any);\r\n };\r\n };\r\n cellSlots?: {\r\n default?: {\r\n tag?: string; // e.g., 'p', 'span' to wrap content\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n named?: {\r\n [slotName: string]: {\r\n tag: string; // e.g., 'p', 'h1', 'span'\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n };\r\n };\r\n cellClass?: string | ((row: any) => string);\r\n cellStyle?: { [key: string]: string } | ((row: any) => { [key: string]: string });\r\n splitCell?: {\r\n left: (row: any) => string | number;\r\n right: (row: any) => string | number;\r\n separator?: string;\r\n leftStyle?: (row: any) => { [key: string]: string };\r\n rightStyle?: (row: any) => { [key: string]: string };\r\n };\r\n mobile?: {\r\n position?: MobilePosition;\r\n };\r\n gridCard?: {\r\n buttonIcon?: string;\r\n buttonText?: string;\r\n };\r\n}\r\n\r\nexport interface RowAction {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n destructive?: boolean;\r\n type?: 'button' | 'dropdown';\r\n}\r\n\r\nexport interface DropdownOption {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n}\r\n\r\nexport type PortalPlacement =\r\n | 'top'\r\n | 'top-start'\r\n | 'top-end'\r\n | 'bottom'\r\n | 'bottom-start'\r\n | 'bottom-end'\r\n | 'left'\r\n | 'left-start'\r\n | 'left-end'\r\n | 'right'\r\n | 'right-start'\r\n | 'right-end';\r\n\r\nexport interface FilterField {\r\n tag: string;\r\n columnKey?: string; // ← the actual row property to filter on\r\n key: string | { start: string; end: string }; // date ranges need two keys\r\n event: string | { start: string; end: string }; // date ranges need two events\r\n label?: string;\r\n props?: any;\r\n default?: any;\r\n}\r\n\r\nexport interface FilterConfig {\r\n mode?: 'internal' | 'external';\r\n title?: string;\r\n showClearButton?: boolean;\r\n fields?: FilterField[];\r\n initialValues?: {\r\n pageNumber: number;\r\n pageSize: number;\r\n };\r\n appliedValues?: Record<string, any>;\r\n}\r\n\r\nexport type IconStyles = 'stroke' | 'two-tone' | 'duotone' | 'solid' | 'bulk';\r\n\r\nexport type IconTypes = 'rounded' | 'sharp';\r\n\r\nexport type SubMenuChild = {\r\n label: string;\r\n icon: string;\r\n};\r\n\r\nexport type SubMenuItem = {\r\n label: string;\r\n icon: string;\r\n children?: SubMenuChild[];\r\n};"],"names":["StateEnum","BorderWeights","OnlineIndicatorStates"],"mappings":";;AAIYA;AAAZ,CAAA,UAAY,SAAS,EAAA;AACnB,IAAA,SAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,SAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EAHWA,iBAAS,KAATA,iBAAS,GAGpB,EAAA,CAAA,CAAA;AAMWC;AAAZ,CAAA,UAAY,aAAa,EAAA;AACvB,IAAA,aAAA,CAAA,WAAA,CAAA,GAAA,YAAwB;AACxB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,aAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACjB,CAAC,EALWA,qBAAa,KAAbA,qBAAa,GAKxB,EAAA,CAAA,CAAA;AAEWC;AAAZ,CAAA,UAAY,qBAAqB,EAAA;AAC/B,IAAA,qBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,qBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACrB,CAAC,EAHWA,6BAAqB,KAArBA,6BAAqB,GAGhC,EAAA,CAAA,CAAA;;"}
1
+ {"version":3,"file":"reusableModels-_LRAKnsh.js","sources":["src/models/reusableModels.ts"],"sourcesContent":["export type GeneralSizes = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled',\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none' | 'center';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy',\r\n}\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline',\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple' | 'white';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes =\r\n | 'button_primary'\r\n | 'button_gray'\r\n | 'button_white'\r\n | 'rounded_button_white'\r\n | 'underline'\r\n | 'underline_filled'\r\n | 'line'\r\n | 'button_white_border'\r\n | 'rounded_button_white_border'\r\n | 'button_gray_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\nexport type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags';\r\n\r\nexport type ColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow' | 'red' | 'white';\r\n\r\nexport type DropdownItemTypes = string | number | { name: string | number; username: string; selected?: boolean };\r\n\r\nexport type PaginationDotTypes = 'dot' | 'line';\r\n\r\nexport type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\nexport type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4' | 'png' | 'empty';\r\n\r\nexport type TableCellTypes = 'text' | 'lead_text' | 'lead_checkbox' | 'badge';\r\n\r\nexport type ProgressStepStatus = 'incomplete' | 'current' | 'complete';\r\n\r\nexport type ProgressStepTypes = 'icon_only' | 'icon_left' | 'icon_top' | 'text_line' | 'featured_icon_left' | 'featured_icon_top';\r\n\r\nexport type ProgressStepStates = 'default' | 'destructive';\r\n\r\nexport type BadgeTypes = 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n\r\nexport type GeneralStyles = 'standard' | 'compact';\r\n\r\nexport type StateType = 'default' | 'disabled' | 'applied' | 'loading' | 'open';\r\n\r\nexport type ButtonGroupTypes = 'false' | 'leading' | 'only' | 'dot' | 'checkbox';\r\n\r\nexport type ThemeTypes = 'system' | 'light' | 'dark';\r\n\r\nexport type BadgeIconTypes = 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only' | 'false';\r\n\r\nexport type DropdownRoles = { badgeLabel: string; badgeColor: GeneralColors; badgeType: BadgeTypes };\r\n\r\nexport type StepperType = {\r\n state: ProgressStepStates;\r\n status: ProgressStepStatus;\r\n label?: string;\r\n supportingText?: string;\r\n};\r\n\r\nexport type DetailCellType = 'information' | 'document' | 'status' | 'button';\r\n\r\nexport type MetricFeaturedIconTypes = 'glassmorphism' | 'circular_filled';\r\n\r\nexport interface DropdownListGroup {\r\n icon: string;\r\n label: string;\r\n shortcut: string;\r\n}\r\n\r\nexport type CloseButtonPositions = 'left' | 'right';\r\n\r\nexport interface Notification {\r\n label: string;\r\n time: string;\r\n desc: string;\r\n icon: string;\r\n}\r\n\r\nexport type IllustrationTypes = 'cloud' | 'box' | 'documents' | 'credit_card';\r\n\r\nexport type PatternTypes = 'circles' | 'grid' | 'grid_dot' | 'squares';\r\n\r\nexport type MobilePosition = 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right';\r\n\r\nexport interface TableColumn {\r\n key: string;\r\n label: string;\r\n value?: (row: any) => any;\r\n supportingText?: string | ((row: any) => string);\r\n width?: string;\r\n align?: 'left' | 'center' | 'right';\r\n helpIcon?: boolean;\r\n sortable?: boolean;\r\n sortType?: 'string' | 'number' | 'date';\r\n visible?: boolean;\r\n cellComponent?: string;\r\n searchable?: boolean;\r\n cellProps?: ((row: any) => { [key: string]: any }) | { [key: string]: any };\r\n hasAvatar?: boolean;\r\n cellAvatar?: {\r\n props?: {};\r\n slots?: {\r\n initials?: string | ((row: any) => string | any);\r\n image?: string | ((row: any) => string | any);\r\n };\r\n };\r\n cellSlots?: {\r\n default?: {\r\n tag?: string; // e.g., 'p', 'span' to wrap content\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n named?: {\r\n [slotName: string]: {\r\n tag: string; // e.g., 'p', 'h1', 'span'\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n };\r\n };\r\n cellClass?: string | ((row: any) => string);\r\n cellStyle?: { [key: string]: string } | ((row: any) => { [key: string]: string });\r\n splitCell?: {\r\n left: (row: any) => string | number;\r\n right: (row: any) => string | number;\r\n separator?: string;\r\n leftStyle?: (row: any) => { [key: string]: string };\r\n rightStyle?: (row: any) => { [key: string]: string };\r\n };\r\n mobile?: {\r\n position?: MobilePosition;\r\n };\r\n gridCard?: {\r\n buttonIcon?: string;\r\n buttonText?: string;\r\n };\r\n}\r\n\r\nexport interface RowAction {\r\n label?: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n destructive?: boolean;\r\n type?: 'button' | 'dropdown' | 'custom';\r\n}\r\n\r\nexport interface DropdownOption {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n}\r\n\r\nexport type PortalPlacement =\r\n | 'top'\r\n | 'top-start'\r\n | 'top-end'\r\n | 'bottom'\r\n | 'bottom-start'\r\n | 'bottom-end'\r\n | 'left'\r\n | 'left-start'\r\n | 'left-end'\r\n | 'right'\r\n | 'right-start'\r\n | 'right-end';\r\n\r\nexport interface FilterField {\r\n tag: string;\r\n columnKey?: string; // ← the actual row property to filter on\r\n key: string | { start: string; end: string }; // date ranges need two keys\r\n event: string | { start: string; end: string }; // date ranges need two events\r\n label?: string;\r\n props?: any;\r\n default?: any;\r\n}\r\n\r\nexport interface FilterConfig {\r\n mode?: 'internal' | 'external';\r\n title?: string;\r\n showClearButton?: boolean;\r\n fields?: FilterField[];\r\n initialValues?: {\r\n pageNumber: number;\r\n pageSize: number;\r\n };\r\n appliedValues?: Record<string, any>;\r\n}\r\n\r\nexport type IconStyles = 'stroke' | 'two-tone' | 'duotone' | 'solid' | 'bulk';\r\n\r\nexport type IconTypes = 'rounded' | 'sharp';\r\n\r\nexport type SubMenuChild = {\r\n label: string;\r\n icon: string;\r\n};\r\n\r\nexport type SubMenuItem = {\r\n label: string;\r\n icon: string;\r\n children?: SubMenuChild[];\r\n};"],"names":["StateEnum","BorderWeights","OnlineIndicatorStates"],"mappings":";;AAIYA;AAAZ,CAAA,UAAY,SAAS,EAAA;AACnB,IAAA,SAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,SAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EAHWA,iBAAS,KAATA,iBAAS,GAGpB,EAAA,CAAA,CAAA;AAMWC;AAAZ,CAAA,UAAY,aAAa,EAAA;AACvB,IAAA,aAAA,CAAA,WAAA,CAAA,GAAA,YAAwB;AACxB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,aAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACjB,CAAC,EALWA,qBAAa,KAAbA,qBAAa,GAKxB,EAAA,CAAA,CAAA;AAEWC;AAAZ,CAAA,UAAY,qBAAqB,EAAA;AAC/B,IAAA,qBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,qBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACrB,CAAC,EAHWA,6BAAqB,KAArBA,6BAAqB,GAGhC,EAAA,CAAA,CAAA;;"}
@@ -78,7 +78,7 @@ const TestInputTag = class {
78
78
  this.exportValue.emit(this.selectedStaff);
79
79
  }
80
80
  render() {
81
- return (index.h("div", { key: 'e2a08dae691eef1558e62dd478ca6703e0cc5894', class: "input_group", ref: el => (this.inputGroupElement = el) }, index.h("label", { key: 'cf61e216b843fa949ea3494a08d7052e85e11f15', htmlFor: this.idOfInput }, this.labelText), index.h("div", { key: '9990e2ba36cb17ff0db0b40a37a9cb28fbc89824', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, index.h("input", { key: '7bcfa381edbaf6b340449f73a731a6efd283be6c', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), index.h("div", { key: 'ec87e69a0d5105c936aa81ad11582a22a991f077', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index$1) => (
81
+ return (index.h("div", { key: 'f0f8f6d44a9155b90bb7f139120715c5f40ea8ac', class: "input_group", ref: el => (this.inputGroupElement = el) }, index.h("label", { key: '25d6107ec315af4bcfcf53ee144e67049354f668', htmlFor: this.idOfInput }, this.labelText), index.h("div", { key: '1adffbfd9dce09bc5af6d661754facd0db63cc22', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, index.h("input", { key: '3c3b829b6df4a59b88a33914b35fe588d622c807', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), index.h("div", { key: '09d7809df8d170fa1b867bb7bc0714bc9ce8289e', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index$1) => (
82
82
  // <span>
83
83
  // {staff.fullname}
84
84
  // <img
@@ -87,7 +87,7 @@ const TestInputTag = class {
87
87
  // onClick={() => this.removeStaff(index)}
88
88
  // />
89
89
  // </span>
90
- index.h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index$1) }, index.h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), index.h("p", null, staff.fullname.split(' ')[0])))))), this.show && (index.h("div", { key: 'df4081eab4ad2f49f0081e29d67548df112b4b66', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
90
+ index.h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index$1) }, index.h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), index.h("p", null, staff.fullname.split(' ')[0])))))), this.show && (index.h("div", { key: '58a8c49baa697bea3807dee05853d6a87a35d185', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
91
91
  // <li class="aList" onClick={() => this.selectStaff(staff)}>
92
92
  // <div>{staff.fullname}</div>
93
93
  // <div>{staff.email}</div>
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-Dps6xl1B.js');
4
+
5
+ const TestWrapper = class {
6
+ constructor(hostRef) {
7
+ index.registerInstance(this, hostRef);
8
+ this.renderRowActions = (row) => (index.h(index.Fragment, null, index.h("gb-button", { hierarchy: "tertiary_gray", size: "sm", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/thumbs-up.svg", onClick: () => document.querySelector('gb-table').handleAction('approve', row) }, "Approve"), index.h("gb-button", { hierarchy: "tertiary_gray", size: "sm", icon: "only", "icon-leading": true, "icon-leading-swap": "assets/thumbs-up.svg", onClick: () => document.querySelector('gb-table').handleAction('reject', row) }, "Reject")));
9
+ }
10
+ render() {
11
+ return index.h("gb-table", { key: 'c2ca9869b7839b87d1ef7b4c4690bc093299e4ed', renderCustomActions: this.renderRowActions });
12
+ }
13
+ };
14
+
15
+ exports.test_wrapper = TestWrapper;
16
+ //# sourceMappingURL=test-wrapper.entry.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-wrapper.entry.cjs.js","sources":["src/components/gb-table-test/gb-table-test.tsx"],"sourcesContent":["import { Component, h, Fragment } from \"@stencil/core\";\r\n\r\n@Component({\r\n tag: 'test-wrapper',\r\n shadow: true,\r\n})\r\nexport class TestWrapper {\r\n private renderRowActions = (row: any) => (\r\n <>\r\n <gb-button\r\n hierarchy=\"tertiary_gray\"\r\n size=\"sm\"\r\n icon=\"only\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/thumbs-up.svg\"\r\n onClick={() => (document.querySelector('gb-table') as any).handleAction('approve', row)}\r\n >\r\n Approve\r\n </gb-button>\r\n <gb-button\r\n hierarchy=\"tertiary_gray\"\r\n size=\"sm\"\r\n icon=\"only\"\r\n icon-leading={true}\r\n icon-leading-swap=\"assets/thumbs-up.svg\"\r\n onClick={() => (document.querySelector('gb-table') as any).handleAction('reject', row)}\r\n >\r\n Reject\r\n </gb-button>\r\n </>\r\n );\r\n\r\n render() {\r\n return <gb-table renderCustomActions={this.renderRowActions}></gb-table>;\r\n }\r\n}\r\n"],"names":["h","Fragment"],"mappings":";;;;MAMa,WAAW,GAAA,MAAA;AAJxB,IAAA,WAAA,CAAA,OAAA,EAAA;;QAKU,IAAA,CAAA,gBAAgB,GAAG,CAAC,GAAQ,MAClCA,OAAA,CAAAC,cAAA,EAAA,IAAA,EACED,OAAA,CAAA,WAAA,EAAA,EACE,SAAS,EAAC,eAAe,EACzB,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,MAAM,EAAA,cAAA,EACG,IAAI,EAAA,mBAAA,EACA,sBAAsB,EACxC,OAAO,EAAE,MAAO,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAS,CAAC,YAAY,CAAC,SAAS,EAAE,GAAG,CAAC,EAG7E,EAAA,SAAA,CAAA,EACZA,OAAA,CAAA,WAAA,EAAA,EACE,SAAS,EAAC,eAAe,EACzB,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,MAAM,EACG,cAAA,EAAA,IAAI,EACA,mBAAA,EAAA,sBAAsB,EACxC,OAAO,EAAE,MAAO,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAS,CAAC,YAAY,CAAC,QAAQ,EAAE,GAAG,CAAC,EAG5E,EAAA,QAAA,CAAA,CACX,CACJ;AAKF;IAHC,MAAM,GAAA;AACJ,QAAA,OAAOA,uEAAU,mBAAmB,EAAE,IAAI,CAAC,gBAAgB,GAAa;;;;;;"}
@@ -106,6 +106,7 @@
106
106
  "components/gb-tab-button-base/gb-tab-button-base.js",
107
107
  "components/gb-table/gb-table.js",
108
108
  "components/gb-table-header/gb-table-header.js",
109
+ "components/gb-table-test/gb-table-test.js",
109
110
  "components/gb-tag/gb-tag.js",
110
111
  "components/gb-tag-checkbox/gb-tag-checkbox.js",
111
112
  "components/gb-tag-close/gb-tag-close.js",
@@ -29,14 +29,14 @@ export class GbTable {
29
29
  // key: 'status',
30
30
  // label: 'Status',
31
31
  // cellComponent: 'gb-badge',
32
- // cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),
33
- // cellSlots: {
34
- // default: {
35
- // tag: 'p',
36
- // content: row => row.status,
32
+ // cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),
33
+ // cellSlots: {
34
+ // default: {
35
+ // tag: 'p',
36
+ // content: row => row.status,
37
+ // },
37
38
  // },
38
39
  // },
39
- // },
40
40
  ];
41
41
  this.data = [
42
42
  // {
@@ -414,6 +414,29 @@ export class GbTable {
414
414
  // },
415
415
  ];
416
416
  // = {
417
+ // name: { key: 'name' },
418
+ // badges: [
419
+ // { key: 'role', label: 'Role' },
420
+ // { key: 'amount', label: 'Amount' },
421
+ // ],
422
+ // button: { icon: 'assets/sent.svg', text: 'Send Money', action: 'send_money' },
423
+ // };
424
+ this.tableHeaderConfig = {
425
+ type: 'default',
426
+ tableHeading: false,
427
+ tableHeadingLabel: 'Suspicious outflows',
428
+ showDateFilter: true,
429
+ showFilter: true,
430
+ showColumnOptions: false,
431
+ showSearch: true,
432
+ showExport: true,
433
+ showRefreshButton: false,
434
+ showLayoutToggle: false,
435
+ datePickerMode: 'range',
436
+ inputPlaceholder: 'Transaction reference',
437
+ showEntireData: true,
438
+ };
439
+ // = {
417
440
  // paginationMode: 'internal',
418
441
  // entriesDropdownMenuPosition: 'top',
419
442
  // currentPage: 1,
@@ -471,9 +494,10 @@ export class GbTable {
471
494
  };
472
495
  this.showActionsColumn = true;
473
496
  this.rowActions = [
474
- // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },
475
- // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },
476
- // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },
497
+ // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },
498
+ // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },
499
+ // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },
500
+ { action: 'edit', type: 'custom' },
477
501
  ];
478
502
  this.dropdownOptions = [
479
503
  // { label: 'Download invalid', action: 'view', icon: 'assets/view.svg', disabled: false },
@@ -482,7 +506,7 @@ export class GbTable {
482
506
  ];
483
507
  this.stickyFirstColumn = true;
484
508
  this.stickyLastColumn = true;
485
- this.showCheckbox = true;
509
+ this.showCheckbox = false;
486
510
  this.tableHeadColor = 'gray';
487
511
  this.rowKey = 'id';
488
512
  this.tableHeaderType = 'default';
@@ -569,7 +593,8 @@ export class GbTable {
569
593
  this.isScrollable = newScrollable; // only update if different
570
594
  }
571
595
  }
572
- handleAction(action, row) {
596
+ async handleAction(action, row) {
597
+ console.log('Action clicked:', action, row);
573
598
  this.rowActionClicked.emit({ action, row });
574
599
  }
575
600
  renderCell(col, row) {
@@ -876,7 +901,7 @@ export class GbTable {
876
901
  .map((col, index) => (h(Fragment, null, h("td", { style: { textAlign: col.align || 'left' }, class: `table_detail ${this.stickyFirstColumn && index === 0 ? 'sticky_left' : ''} ${this.isScrollable ? 'has_border' : ''}` }, this.renderCell(col, row))))), this.showActionsColumn && (h("td", { class: { table_detail: true, actions_cell: true, sticky_right: this.stickyLastColumn, has_border: this.isScrollable }, style: { width: '50px' } }, h(Fragment, null, h("div", { class: "action_buttons" }, this.rowActions.map(action => (h(Fragment, null, action.type === 'dropdown' ? (h("gb-button", { id: `gb-table-trigger-${rowIndex}`, ref: el => (this.actionButtonRefs[rowIndex] = el), class: "dropdown_button", hierarchy: "tertiary_gray", size: "md", icon: "only", iconLeading: true, iconLeadingSwap: "assets/more-horizontal.svg", onClick: e => {
877
902
  e.stopPropagation();
878
903
  this.toggleDropdown(rowIndex);
879
- } })) : (h("gb-button", { hierarchy: "tertiary_gray", size: "md", icon: "only", destructive: action.destructive, iconLeading: true, iconLeadingSwap: action.icon, onClick: e => {
904
+ } })) : action.type === 'custom' ? (this.renderCustomActions ? (this.renderCustomActions(row)) : null) : (h("gb-button", { hierarchy: "tertiary_gray", size: "md", icon: "only", destructive: action.destructive, iconLeading: true, iconLeadingSwap: action.icon, onClick: e => {
880
905
  e.stopPropagation();
881
906
  this.handleAction(action.action, row);
882
907
  } })))))), h(Fragment, null, this.openRowIndex === rowIndex && (h("gb-portal", { "anchor-id": `gb-table-trigger-${rowIndex}`, placement: this.dropdownPlacement, anchorEl: this.currentAnchorEl, boundaryEl: this.scrollContainer, dropdownHeight: requestAnimationFrame(() => this.dropdownRef.scrollHeight), open: true }, h("div", { class: "portal_dropdown_wrapper", ref: el => (this.dropdownRef = el) }, 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: () => {
@@ -1097,16 +1122,16 @@ export class GbTable {
1097
1122
  window.removeEventListener('resize', this.checkViewport);
1098
1123
  }
1099
1124
  render() {
1100
- return (h("div", { key: '08bed4790123cd14b04c9aeca1b17338a21d0378', class: `table_wrapper ${this.currentTableLayout}` }, this.tableHeaderConfig && (h("div", { key: 'f206fa57601e83520530a325186a774be25bec1c', class: `table-header ${this.currentTableLayout}` }, h("gb-table-header", { key: 'e020968dad30ed2c0db4ee96d1de181eb932b494', type: this.tableHeaderConfig.type, 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), onTableControlClicked: e => this.emitTableContolClickedEvent(e) }))), this.showColumnsPanel && this.columns.length > 0 && (h("div", { key: 'faaa2d3c8b31b00c4ede7731702127639ce6aab9', class: "dialog", style: {
1125
+ return (h("div", { key: 'ecbd96f75a578fe7c4729faa64e0981b4db76883', class: `table_wrapper ${this.currentTableLayout}` }, this.tableHeaderConfig && (h("div", { key: '27a90c6c234d6316b92126787b59cc30a4a861ee', class: `table-header ${this.currentTableLayout}` }, h("gb-table-header", { key: 'f74e3eb05a230a35674708ee9319d6f3ead930c2', type: this.tableHeaderConfig.type, 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), onTableControlClicked: e => this.emitTableContolClickedEvent(e) }))), this.showColumnsPanel && this.columns.length > 0 && (h("div", { key: '03a69e03ed948c172825d60afd1b21aebed704d9', class: "dialog", style: {
1101
1126
  transform: `translate(${this.modalPosition.x}px, ${this.modalPosition.y}px)`,
1102
- } }, h("div", { key: 'e98a9fcc41d9e7281a538361d4e7ddf1d2f182ea', class: "column-modal" }, h("div", { key: 'f754fb3b60ff7908fad8982157f05108e227f16f', class: "modal_header" }, h("div", { key: '68805a02141e44b3b077606fb01ea22805a2ec8a', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: '2502833b479337b8c5a15d5a2467721567a01d93', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '259b8b1bfd01f7be00b2e4081148febcce67b151', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: 'de725fb507605422d302f519e4d5edec51430d57', class: "content_wrapper" }, h("div", { key: 'a5e06ec2acd4d58910e19115bf8026bb27e35da0', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
1127
+ } }, h("div", { key: 'e13f8d1e50ca0f943249d5ebb4827dd81a4c1218', class: "column-modal" }, h("div", { key: '448f4233a36435bbf34e4b839614e33072a4045d', class: "modal_header" }, h("div", { key: '69732e7e814d86476e678fb3143c150a9e4a72b3', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: 'e7ab5e157444fffccc412954ce36d8e13e28686b', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '8d91a7c96ae86b19274046bd1bbf8037a4b05461', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: '78ee134fb4f9e5a0878effdbc5f51cde7f4782b0', class: "content_wrapper" }, h("div", { key: 'b78b3fbfa603be4b198aa469b69750761659a0c7', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
1103
1128
  if (this.draggedIndex !== null && this.draggedIndex !== index) {
1104
1129
  this.reorderColumns(this.draggedIndex, index);
1105
1130
  }
1106
1131
  this.draggedIndex = null;
1107
1132
  } }, 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 => {
1108
1133
  this.toggleColumn(e, col.key);
1109
- } })))), h("div", { key: '7b4a2031677cff5feeb32fba5466a63087531cec', class: "modal-actions" })))))), this.showFilterModalInternal && this.filterConfig && (h("div", { key: '15113dbc0a79c6796b648b0fe45e4c450dd876a8', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: '4ec80231b62a65272d63131d6a1d1faa69d0c6a6', class: "filter_modal", filterConfig: this.mergedFilterConfig, onClose: e => {
1134
+ } })))), h("div", { key: '81bfd60a84ae3ce018800519a7e16425a44a990e', class: "modal-actions" })))))), this.showFilterModalInternal && this.filterConfig && (h("div", { key: '4fcf8c485b7f9240f9fa9bdfdbc07cc925210038', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: 'c2432a18c99e29b18ca2a55ff9339d2356caee39', class: "filter_modal", filterConfig: this.mergedFilterConfig, onClose: e => {
1110
1135
  e.stopPropagation();
1111
1136
  this.closeFilterModal();
1112
1137
  }, onApplyFilters: e => this.onApplyFilters(e), onClearFilters: () => this.handleClearFilters() }))), this.internalLoading ? (
@@ -1153,7 +1178,7 @@ export class GbTable {
1153
1178
  ? this.renderDesktopView()
1154
1179
  : this.currentTableLayout === 'grid'
1155
1180
  ? this.renderGridView()
1156
- : null)), this.paginationConfig && (h("div", { key: '39767fe82ce88bcb4f1c570b9b3fd35b2e86ae43', class: `pagination ${this.currentTableLayout}` }, h("gb-pagination", { key: 'c76fc64fda5ebaf94122ca8a51f1addc754f63e3', "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) }))), this.showToast && (h("gb-toast", { key: 'b92a6728c7f97754cb350f049081af3f76868225', class: `toast ${this.toastVisible ? 'visible' : ''}`, color: "information", "main-text": this.filterMessage, breakpoint: "desktop", size: "floating", onClose: () => this.hideToast() }))));
1181
+ : null)), this.paginationConfig && (h("div", { key: 'dacef80f52cbcaecb101a6c1f20a1caddea54a96', class: `pagination ${this.currentTableLayout}` }, h("gb-pagination", { key: 'f50686e161588aa3e9d7d564aee3131fb5ca335d', "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) }))), this.showToast && (h("gb-toast", { key: '9654af9af7f09183e29459f40e704955018d5c2b', class: `toast ${this.toastVisible ? 'visible' : ''}`, color: "information", "main-text": this.filterMessage, breakpoint: "desktop", size: "floating", onClose: () => this.hideToast() }))));
1157
1182
  }
1158
1183
  static get is() { return "gb-table"; }
1159
1184
  static get encapsulation() { return "shadow"; }
@@ -1211,7 +1236,7 @@ export class GbTable {
1211
1236
  },
1212
1237
  "getter": false,
1213
1238
  "setter": false,
1214
- "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 // searchable: true,\r\n // hasAvatar: true,\r\n // cellAvatar: {\r\n // // image: '',\r\n // slots: {\r\n // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)),\r\n // image: row => row.image,\r\n // },\r\n // },\r\n // mobile: { position: 'top_right' },\r\n // },\r\n // { key: 'role', label: 'Role', searchable: true },\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 ]"
1239
+ "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 // searchable: true,\r\n // hasAvatar: true,\r\n // cellAvatar: {\r\n // // image: '',\r\n // slots: {\r\n // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)),\r\n // image: row => row.image,\r\n // },\r\n // },\r\n // mobile: { position: 'top_right' },\r\n // },\r\n // { key: 'role', label: 'Role', searchable: true },\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 ]"
1215
1240
  },
1216
1241
  "data": {
1217
1242
  "type": "unknown",
@@ -1263,7 +1288,8 @@ export class GbTable {
1263
1288
  "text": ""
1264
1289
  },
1265
1290
  "getter": false,
1266
- "setter": false
1291
+ "setter": false,
1292
+ "defaultValue": "{\r\n type: 'default',\r\n tableHeading: false,\r\n tableHeadingLabel: 'Suspicious outflows',\r\n showDateFilter: true,\r\n showFilter: true,\r\n showColumnOptions: false,\r\n showSearch: true,\r\n showExport: true,\r\n showRefreshButton: false,\r\n showLayoutToggle: false,\r\n datePickerMode: 'range',\r\n inputPlaceholder: 'Transaction reference',\r\n showEntireData: true,\r\n }"
1267
1293
  },
1268
1294
  "paginationConfig": {
1269
1295
  "type": "unknown",
@@ -1402,7 +1428,7 @@ export class GbTable {
1402
1428
  },
1403
1429
  "getter": false,
1404
1430
  "setter": false,
1405
- "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 ]"
1431
+ "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 { action: 'edit', type: 'custom' },\r\n ]"
1406
1432
  },
1407
1433
  "dropdownOptions": {
1408
1434
  "type": "unknown",
@@ -1486,7 +1512,7 @@ export class GbTable {
1486
1512
  "setter": false,
1487
1513
  "reflect": false,
1488
1514
  "attribute": "show-checkbox",
1489
- "defaultValue": "true"
1515
+ "defaultValue": "false"
1490
1516
  },
1491
1517
  "tableHeadColor": {
1492
1518
  "type": "string",
@@ -1547,6 +1573,23 @@ export class GbTable {
1547
1573
  "reflect": false,
1548
1574
  "attribute": "table-header-type",
1549
1575
  "defaultValue": "'default'"
1576
+ },
1577
+ "renderCustomActions": {
1578
+ "type": "unknown",
1579
+ "mutable": false,
1580
+ "complexType": {
1581
+ "original": "(row: any) => any",
1582
+ "resolved": "(row: any) => any",
1583
+ "references": {}
1584
+ },
1585
+ "required": false,
1586
+ "optional": true,
1587
+ "docs": {
1588
+ "tags": [],
1589
+ "text": ""
1590
+ },
1591
+ "getter": false,
1592
+ "setter": false
1550
1593
  }
1551
1594
  };
1552
1595
  }
@@ -1763,6 +1806,35 @@ export class GbTable {
1763
1806
  }
1764
1807
  }];
1765
1808
  }
1809
+ static get methods() {
1810
+ return {
1811
+ "handleAction": {
1812
+ "complexType": {
1813
+ "signature": "(action: string, row: any) => Promise<void>",
1814
+ "parameters": [{
1815
+ "name": "action",
1816
+ "type": "string",
1817
+ "docs": ""
1818
+ }, {
1819
+ "name": "row",
1820
+ "type": "any",
1821
+ "docs": ""
1822
+ }],
1823
+ "references": {
1824
+ "Promise": {
1825
+ "location": "global",
1826
+ "id": "global::Promise"
1827
+ }
1828
+ },
1829
+ "return": "Promise<void>"
1830
+ },
1831
+ "docs": {
1832
+ "text": "",
1833
+ "tags": []
1834
+ }
1835
+ }
1836
+ };
1837
+ }
1766
1838
  static get watchers() {
1767
1839
  return [{
1768
1840
  "propName": "data",