globuswebcomponents 2.17.4 → 2.17.5

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 (212) hide show
  1. package/dist/cjs/{gb-accordion-card_80.cjs.entry.js → gb-accordion-card_81.cjs.entry.js} +69 -25
  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/test-input-tag.cjs.entry.js +2 -2
  10. package/dist/collection/components/gb-table/gb-table.js +36 -14
  11. package/dist/collection/components/gb-table/gb-table.js.map +1 -1
  12. package/dist/collection/components/gb-table-test/gb-table-test.js +20 -1
  13. package/dist/collection/components/gb-table-test/gb-table-test.js.map +1 -1
  14. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  15. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  16. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  17. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  18. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
  19. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
  20. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  21. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  22. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  23. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  24. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  25. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  26. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  27. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  28. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  29. package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.js +1 -1
  30. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  31. package/dist/components/gb-accordion-card.js +2 -2
  32. package/dist/components/gb-action-panel.js +2 -2
  33. package/dist/components/gb-approval-modal.js +8 -8
  34. package/dist/components/gb-avatar-add-button.js +1 -1
  35. package/dist/components/gb-avatar-dropdown.js +1 -1
  36. package/dist/components/gb-avatar-group.js +2 -2
  37. package/dist/components/gb-btn.js +1 -1
  38. package/dist/components/gb-button.js +1 -1
  39. package/dist/components/gb-checkbox-group-item.js +1 -1
  40. package/dist/components/gb-checkbox-group.js +3 -3
  41. package/dist/components/gb-collapse-button.js +1 -1
  42. package/dist/components/gb-comment.js +2 -2
  43. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  44. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  45. package/dist/components/gb-date-picker.js +1 -1
  46. package/dist/components/gb-detail-cell.js +2 -2
  47. package/dist/components/gb-empty-state.js +1 -1
  48. package/dist/components/gb-file-upload-item-base.js +1 -1
  49. package/dist/components/gb-file-upload.js +4 -4
  50. package/dist/components/gb-filter-button.js +1 -1
  51. package/dist/components/gb-filter-modal.js +1 -1
  52. package/dist/components/gb-header.js +13 -13
  53. package/dist/components/gb-help-tooltip.js +1 -1
  54. package/dist/components/gb-icon-button-base.js +1 -1
  55. package/dist/components/gb-input-dropdown-test.js +9 -9
  56. package/dist/components/gb-input-dropdown.js +1 -1
  57. package/dist/components/gb-input-field.js +1 -1
  58. package/dist/components/gb-modal-action.js +1 -1
  59. package/dist/components/gb-modal.js +3 -3
  60. package/dist/components/gb-nav-bar-item.js +1 -1
  61. package/dist/components/gb-nav-bar-sidemenu.js +1 -1
  62. package/dist/components/gb-nav-bar.js +2 -2
  63. package/dist/components/gb-notification-pane.js +1 -1
  64. package/dist/components/gb-pagination.js +1 -1
  65. package/dist/components/gb-password-button.js +1 -1
  66. package/dist/components/gb-progress-bar.js +1 -1
  67. package/dist/components/gb-prompt-modal.js +2 -2
  68. package/dist/components/gb-rich-text.js +12 -12
  69. package/dist/components/gb-sidebar.js +5 -5
  70. package/dist/components/gb-simple-side-bar-item.js +1 -1
  71. package/dist/components/gb-slider-control-handle.js +1 -1
  72. package/dist/components/gb-slider.js +2 -2
  73. package/dist/components/gb-table-header.js +1 -1
  74. package/dist/components/gb-table.js +1 -1
  75. package/dist/components/gb-tag-checkbox.js +1 -1
  76. package/dist/components/gb-tag-close.js +1 -1
  77. package/dist/components/gb-tag-count.js +1 -1
  78. package/dist/components/gb-tag.js +1 -1
  79. package/dist/components/gb-textarea-input-field.js +1 -1
  80. package/dist/components/gb-theme-tab.js +1 -1
  81. package/dist/components/gb-toast-button.js +1 -1
  82. package/dist/components/gb-toast.js +1 -1
  83. package/dist/components/gb-toggle-base.js +1 -1
  84. package/dist/components/gb-toggle.js +1 -1
  85. package/dist/components/gb-token-field-compact.js +1 -1
  86. package/dist/components/gb-token-field-compressed.js +2 -2
  87. package/dist/components/gb-tooltip.js +1 -1
  88. package/dist/components/gb-vertical-tabs.js +1 -1
  89. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  90. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  91. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  92. package/dist/components/{p-C1dYzyfa.js → p-4YZvp-qM.js} +3 -3
  93. package/dist/components/{p-C1dYzyfa.js.map → p-4YZvp-qM.js.map} +1 -1
  94. package/dist/components/{p-mmif47-b.js → p-B-_n34Mq.js} +3 -3
  95. package/dist/components/{p-mmif47-b.js.map → p-B-_n34Mq.js.map} +1 -1
  96. package/dist/components/{p-eH4yIAd0.js → p-B0otylT9.js} +4 -4
  97. package/dist/components/{p-eH4yIAd0.js.map → p-B0otylT9.js.map} +1 -1
  98. package/dist/components/{p-bukoNd9j.js → p-B9y0gFWa.js} +3 -3
  99. package/dist/components/{p-bukoNd9j.js.map → p-B9y0gFWa.js.map} +1 -1
  100. package/dist/components/{p-F2IP2NQ7.js → p-BH_pWFmu.js} +10 -10
  101. package/dist/components/{p-F2IP2NQ7.js.map → p-BH_pWFmu.js.map} +1 -1
  102. package/dist/components/{p-CUQQ_pVS.js → p-BNAvzBZq.js} +3 -3
  103. package/dist/components/{p-CUQQ_pVS.js.map → p-BNAvzBZq.js.map} +1 -1
  104. package/dist/components/{p-C555_4OR.js → p-BQeqF_-6.js} +4 -4
  105. package/dist/components/{p-C555_4OR.js.map → p-BQeqF_-6.js.map} +1 -1
  106. package/dist/components/{p-DUcTdAwQ.js → p-BX4Hw5Pp.js} +3 -3
  107. package/dist/components/{p-DUcTdAwQ.js.map → p-BX4Hw5Pp.js.map} +1 -1
  108. package/dist/components/{p-C-81y7Ao.js → p-Bp0YR1uJ.js} +3 -3
  109. package/dist/components/{p-C-81y7Ao.js.map → p-Bp0YR1uJ.js.map} +1 -1
  110. package/dist/components/{p-CjlHYbIG.js → p-BuCno_es.js} +49 -32
  111. package/dist/components/p-BuCno_es.js.map +1 -0
  112. package/dist/components/{p-COvlJwgH.js → p-C-e3hNlH.js} +4 -4
  113. package/dist/components/{p-COvlJwgH.js.map → p-C-e3hNlH.js.map} +1 -1
  114. package/dist/components/{p-BMVHXgxU.js → p-C1BEL6jH.js} +12 -12
  115. package/dist/components/{p-BMVHXgxU.js.map → p-C1BEL6jH.js.map} +1 -1
  116. package/dist/components/{p-CF8lWVGI.js → p-C2x5lNJ2.js} +3 -3
  117. package/dist/components/{p-CF8lWVGI.js.map → p-C2x5lNJ2.js.map} +1 -1
  118. package/dist/components/{p-By06v2rr.js → p-C5In_G7H.js} +3 -3
  119. package/dist/components/{p-By06v2rr.js.map → p-C5In_G7H.js.map} +1 -1
  120. package/dist/components/{p-BfQfhmt2.js → p-CHKnEWqk.js} +4 -4
  121. package/dist/components/{p-BfQfhmt2.js.map → p-CHKnEWqk.js.map} +1 -1
  122. package/dist/components/{p-SXFZD34y.js → p-CU5l35gn.js} +3 -3
  123. package/dist/components/{p-SXFZD34y.js.map → p-CU5l35gn.js.map} +1 -1
  124. package/dist/components/{p-B49zVmuD.js → p-CZkEMeZd.js} +4 -4
  125. package/dist/components/{p-B49zVmuD.js.map → p-CZkEMeZd.js.map} +1 -1
  126. package/dist/components/{p-DS5er_ay.js → p-CcdQMEiN.js} +14 -14
  127. package/dist/components/{p-DS5er_ay.js.map → p-CcdQMEiN.js.map} +1 -1
  128. package/dist/components/{p-BbUBXvD3.js → p-Cf_GFf1d.js} +4 -4
  129. package/dist/components/{p-BbUBXvD3.js.map → p-Cf_GFf1d.js.map} +1 -1
  130. package/dist/components/{p-BB-vktvb.js → p-ChGsSHyD.js} +3 -3
  131. package/dist/components/{p-BB-vktvb.js.map → p-ChGsSHyD.js.map} +1 -1
  132. package/dist/components/{p-DK1gLemw.js → p-Cp9sNYro.js} +3 -3
  133. package/dist/components/{p-DK1gLemw.js.map → p-Cp9sNYro.js.map} +1 -1
  134. package/dist/components/{p-u073g6kS.js → p-Cx4oJFSt.js} +3 -3
  135. package/dist/components/{p-u073g6kS.js.map → p-Cx4oJFSt.js.map} +1 -1
  136. package/dist/components/{p-DlL4FShm.js → p-CxgSqKYx.js} +3 -3
  137. package/dist/components/{p-DlL4FShm.js.map → p-CxgSqKYx.js.map} +1 -1
  138. package/dist/components/{p-B-jY6LAf.js → p-D2XNcd98.js} +11 -11
  139. package/dist/components/{p-B-jY6LAf.js.map → p-D2XNcd98.js.map} +1 -1
  140. package/dist/components/{p-CxQvrUbZ.js → p-DTVnCJvY.js} +3 -3
  141. package/dist/components/{p-CxQvrUbZ.js.map → p-DTVnCJvY.js.map} +1 -1
  142. package/dist/components/{p-BOvu3PCb.js → p-DX7NMlGY.js} +9 -9
  143. package/dist/components/{p-BOvu3PCb.js.map → p-DX7NMlGY.js.map} +1 -1
  144. package/dist/components/{p-DAyBw9KX.js → p-DclzsKE1.js} +3 -3
  145. package/dist/components/{p-DAyBw9KX.js.map → p-DclzsKE1.js.map} +1 -1
  146. package/dist/components/{p-BwVwRnu4.js → p-DeXQ5EJ5.js} +3 -3
  147. package/dist/components/{p-BwVwRnu4.js.map → p-DeXQ5EJ5.js.map} +1 -1
  148. package/dist/components/{p-COlgB45x.js → p-DgixiwuN.js} +13 -13
  149. package/dist/components/{p-COlgB45x.js.map → p-DgixiwuN.js.map} +1 -1
  150. package/dist/components/{p-CphUJ7Q5.js → p-Dh9pNyX0.js} +4 -4
  151. package/dist/components/{p-CphUJ7Q5.js.map → p-Dh9pNyX0.js.map} +1 -1
  152. package/dist/components/{p-d1qdPSLe.js → p-Dt60TTUE.js} +6 -6
  153. package/dist/components/{p-d1qdPSLe.js.map → p-Dt60TTUE.js.map} +1 -1
  154. package/dist/components/{p-B5TsN1E4.js → p-GszQCyXb.js} +4 -4
  155. package/dist/components/{p-B5TsN1E4.js.map → p-GszQCyXb.js.map} +1 -1
  156. package/dist/components/{p-CLvY21aj.js → p-QPpFI6Tl.js} +5 -5
  157. package/dist/components/{p-CLvY21aj.js.map → p-QPpFI6Tl.js.map} +1 -1
  158. package/dist/components/{p-dVwy1uvR.js → p-TVd0-ncC.js} +5 -5
  159. package/dist/components/{p-dVwy1uvR.js.map → p-TVd0-ncC.js.map} +1 -1
  160. package/dist/components/{p-D0_rEkQ_.js → p-XOEsdWXU.js} +4 -4
  161. package/dist/components/{p-D0_rEkQ_.js.map → p-XOEsdWXU.js.map} +1 -1
  162. package/dist/components/{p-CCiQQgXc.js → p-b_TGMORd.js} +5 -5
  163. package/dist/components/{p-CCiQQgXc.js.map → p-b_TGMORd.js.map} +1 -1
  164. package/dist/components/{p-B1VheAVY.js → p-dvsnNsWY.js} +5 -5
  165. package/dist/components/{p-B1VheAVY.js.map → p-dvsnNsWY.js.map} +1 -1
  166. package/dist/components/{p-BYP6HAjp.js → p-iWdssWCr.js} +3 -3
  167. package/dist/components/{p-BYP6HAjp.js.map → p-iWdssWCr.js.map} +1 -1
  168. package/dist/components/{p-C26KO13_.js → p-n4Lzg2Aw.js} +3 -3
  169. package/dist/components/{p-C26KO13_.js.map → p-n4Lzg2Aw.js.map} +1 -1
  170. package/dist/components/{p-DAgyye0m.js → p-wH0NPWp6.js} +6 -6
  171. package/dist/components/{p-DAgyye0m.js.map → p-wH0NPWp6.js.map} +1 -1
  172. package/dist/components/test-input-tag.js +6 -6
  173. package/dist/components/test-wrapper.js +39 -22
  174. package/dist/components/test-wrapper.js.map +1 -1
  175. package/dist/docs.json +20 -15
  176. package/dist/esm/{gb-accordion-card_80.entry.js → gb-accordion-card_81.entry.js} +69 -26
  177. package/dist/esm/gb-token-field-compact.entry.js +1 -1
  178. package/dist/esm/gb-token-field-compressed.entry.js +2 -2
  179. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  180. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  181. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  182. package/dist/esm/globuscomponents.js +1 -1
  183. package/dist/esm/loader.js +1 -1
  184. package/dist/esm/test-input-tag.entry.js +2 -2
  185. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  186. package/dist/globuscomponents/{p-d5f82cf7.entry.js → p-1e5f04e2.entry.js} +2 -2
  187. package/dist/globuscomponents/{p-3574b3d8.entry.js → p-42063daf.entry.js} +2 -2
  188. package/dist/globuscomponents/{p-29ee3766.entry.js → p-528e9bbf.entry.js} +2 -2
  189. package/dist/globuscomponents/{p-d3157710.entry.js → p-53b415e8.entry.js} +2 -2
  190. package/dist/globuscomponents/{p-ca8a55bf.entry.js → p-9767bb82.entry.js} +2 -2
  191. package/dist/globuscomponents/{p-e1933bac.entry.js → p-b2bab8bd.entry.js} +2 -2
  192. package/dist/globuscomponents/{p-95cf9d76.entry.js → p-f9c27149.entry.js} +2 -2
  193. package/dist/globuscomponents/p-f9c27149.entry.js.map +1 -0
  194. package/dist/types/components/gb-table/gb-table.d.ts +2 -1
  195. package/dist/types/components/gb-table-test/gb-table-test.d.ts +1 -0
  196. package/dist/types/components.d.ts +4 -4
  197. package/package.json +1 -1
  198. package/dist/cjs/test-wrapper.cjs.entry.js +0 -15
  199. package/dist/cjs/test-wrapper.entry.cjs.js.map +0 -1
  200. package/dist/components/p-CjlHYbIG.js.map +0 -1
  201. package/dist/esm/test-wrapper.entry.js +0 -13
  202. package/dist/esm/test-wrapper.entry.js.map +0 -1
  203. package/dist/globuscomponents/p-95cf9d76.entry.js.map +0 -1
  204. package/dist/globuscomponents/p-f22a7164.entry.js +0 -2
  205. package/dist/globuscomponents/p-f22a7164.entry.js.map +0 -1
  206. package/dist/globuscomponents/test-wrapper.entry.esm.js.map +0 -1
  207. /package/dist/globuscomponents/{p-d5f82cf7.entry.js.map → p-1e5f04e2.entry.js.map} +0 -0
  208. /package/dist/globuscomponents/{p-3574b3d8.entry.js.map → p-42063daf.entry.js.map} +0 -0
  209. /package/dist/globuscomponents/{p-29ee3766.entry.js.map → p-528e9bbf.entry.js.map} +0 -0
  210. /package/dist/globuscomponents/{p-d3157710.entry.js.map → p-53b415e8.entry.js.map} +0 -0
  211. /package/dist/globuscomponents/{p-ca8a55bf.entry.js.map → p-9767bb82.entry.js.map} +0 -0
  212. /package/dist/globuscomponents/{p-e1933bac.entry.js.map → p-b2bab8bd.entry.js.map} +0 -0
@@ -494,10 +494,10 @@ export class GbTable {
494
494
  };
495
495
  this.showActionsColumn = true;
496
496
  this.rowActions = [
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' },
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' },
501
501
  ];
502
502
  this.dropdownOptions = [
503
503
  // { label: 'Download invalid', action: 'view', icon: 'assets/view.svg', disabled: false },
@@ -594,7 +594,7 @@ export class GbTable {
594
594
  }
595
595
  }
596
596
  async handleAction(action, row) {
597
- console.log('Action clicked:', action, row);
597
+ // console.log('Action clicked:', action, row);
598
598
  this.rowActionClicked.emit({ action, row });
599
599
  }
600
600
  renderCell(col, row) {
@@ -858,6 +858,23 @@ export class GbTable {
858
858
  const splitNames = name.split(' ');
859
859
  return splitNames.map((nm) => nm.charAt(0));
860
860
  }
861
+ renderCustomAction(row) {
862
+ if (!this.renderCustomActions)
863
+ return h("slot", { name: "row_actions" });
864
+ const rowId = String(this.getRowId(row));
865
+ return (h("div", { key: `custom-action-${rowId}`, class: "custom_action_slot", ref: el => {
866
+ if (!el)
867
+ return;
868
+ // Re-mount only when this container is bound to a different row.
869
+ // Prevents tearing down (and resetting) the host-framework component
870
+ // on unrelated re-renders (sort, resize, dropdown open, etc.).
871
+ if (el.dataset.rowKey === rowId)
872
+ return;
873
+ el.dataset.rowKey = rowId;
874
+ el.innerHTML = '';
875
+ this.renderCustomActions(el, row, (action) => this.handleAction(action, row));
876
+ } }));
877
+ }
861
878
  renderDesktopView() {
862
879
  // compute table min-width to force horizontal scroll when > 5 columns
863
880
  const defaultColWidth = 160;
@@ -901,7 +918,7 @@ export class GbTable {
901
918
  .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 => {
902
919
  e.stopPropagation();
903
920
  this.toggleDropdown(rowIndex);
904
- } })) : action.type === 'custom' ? (h("slot", { name: "row_actions" })) : (h("gb-button", { hierarchy: "tertiary_gray", size: "md", icon: "only", destructive: action.destructive, iconLeading: true, iconLeadingSwap: action.icon, onClick: e => {
921
+ } })) : action.type === 'custom' ? (this.renderCustomAction(row)) : (h("gb-button", { hierarchy: "tertiary_gray", size: "md", icon: "only", destructive: action.destructive, iconLeading: true, iconLeadingSwap: action.icon, onClick: e => {
905
922
  e.stopPropagation();
906
923
  this.handleAction(action.action, row);
907
924
  } })))))), 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: () => {
@@ -1122,16 +1139,16 @@ export class GbTable {
1122
1139
  window.removeEventListener('resize', this.checkViewport);
1123
1140
  }
1124
1141
  render() {
1125
- return (h("div", { key: '7e37e1decada263824af90c8cff25cdc398c12d2', class: `table_wrapper ${this.currentTableLayout}` }, this.tableHeaderConfig && (h("div", { key: '1a61eb8ef7a06e3634a1d88f81549cef8d0d19ba', class: `table-header ${this.currentTableLayout}` }, h("gb-table-header", { key: '127fd89235313623b7bd1e7f7fc1e7f802a9f45d', 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: '252d90ee540b90f0776b04ff3580fe92883b5eda', class: "dialog", style: {
1142
+ return (h("div", { key: 'fff578632318ce951474e8e0b017ed34d007b1cc', class: `table_wrapper ${this.currentTableLayout}` }, this.tableHeaderConfig && (h("div", { key: '0bfb29c446aba3674c2a22d125d656e0ff60b905', class: `table-header ${this.currentTableLayout}` }, h("gb-table-header", { key: '5b3b14ae8bd63048508b409296701912dd6266ef', 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: 'ab47e5d1fe46f9ad4af7cf94da064dc5392a9741', class: "dialog", style: {
1126
1143
  transform: `translate(${this.modalPosition.x}px, ${this.modalPosition.y}px)`,
1127
- } }, h("div", { key: '53ed04f9b2d40d5031c160e3fce76c80a995b3f3', class: "column-modal" }, h("div", { key: '1b481f9a462812fa6c9252043c456a0697164ff9', class: "modal_header" }, h("div", { key: 'd090fdf401483a4e52ef58f8c73990fe70421d31', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: '84c7223322fa17b5cea1aeaa89f37a0450ff0563', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '35385dbd7a801fa62534c5a9996a48f6ec2290c4', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: '6db9081a50ee72b78bb13f8fa8bdf944cc3f315d', class: "content_wrapper" }, h("div", { key: '3864f3180ce0883958e220ad88e19303db3c0b73', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
1144
+ } }, h("div", { key: '6d2f489e5a60e1de41389b2c59a234b329b3e9e4', class: "column-modal" }, h("div", { key: '15d3b2d539e1d89e08e87f711e59d1c0a27c1cc0', class: "modal_header" }, h("div", { key: '9e82dd8cbbba886000589a8f22d9e2a4dd99b15e', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: 'a21373b0a6930722cabd74384252476fe717a847', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '2bbd2f88dac95f3bc6545646c02cfc1074f95347', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: '5e52b2115e6fe50b5fec37db6ffad6a55dc6cd70', class: "content_wrapper" }, h("div", { key: 'e84c90cadb033462b0093b33f179add5255dd49a', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
1128
1145
  if (this.draggedIndex !== null && this.draggedIndex !== index) {
1129
1146
  this.reorderColumns(this.draggedIndex, index);
1130
1147
  }
1131
1148
  this.draggedIndex = null;
1132
1149
  } }, 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 => {
1133
1150
  this.toggleColumn(e, col.key);
1134
- } })))), h("div", { key: 'af8ba5cb159997b965129e26a45f28394e88234b', class: "modal-actions" })))))), this.showFilterModalInternal && this.filterConfig && (h("div", { key: 'e6b67ec8dd041a3725315c235010f33c100585a0', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: '71dfa5d239316d26fb78f7ac07d6a3283fa01adb', class: "filter_modal", filterConfig: this.mergedFilterConfig, onClose: e => {
1151
+ } })))), h("div", { key: '3341d8212bb2a00da1ad3870f9981dc7a1e01f16', class: "modal-actions" })))))), this.showFilterModalInternal && this.filterConfig && (h("div", { key: '7d7c1b31ede07a6e918709127fc4f080d3657584', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: '3d9100c67e02b89f1a675be3d4d18283815d005b', class: "filter_modal", filterConfig: this.mergedFilterConfig, onClose: e => {
1135
1152
  e.stopPropagation();
1136
1153
  this.closeFilterModal();
1137
1154
  }, onApplyFilters: e => this.onApplyFilters(e), onClearFilters: () => this.handleClearFilters() }))), this.internalLoading ? (
@@ -1178,7 +1195,7 @@ export class GbTable {
1178
1195
  ? this.renderDesktopView()
1179
1196
  : this.currentTableLayout === 'grid'
1180
1197
  ? this.renderGridView()
1181
- : null)), this.paginationConfig && (h("div", { key: '33a6244621ba1e6bc5310c93525c976f1ce2ed4a', class: `pagination ${this.currentTableLayout}` }, h("gb-pagination", { key: 'c967ffcb992ada18475e77b8fef0916f34cad21f', "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: '61c8e21f95ce33eec2cbb0c6f67fd662d3bdb83a', class: `toast ${this.toastVisible ? 'visible' : ''}`, color: "information", "main-text": this.filterMessage, breakpoint: "desktop", size: "floating", onClose: () => this.hideToast() }))));
1198
+ : null)), this.paginationConfig && (h("div", { key: '527422bd2e3afe19527a91735ad9c2d54e6c23d8', class: `pagination ${this.currentTableLayout}` }, h("gb-pagination", { key: '4b685257a198683d4d1c8ff190a6e1b51f3a93df', "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: '360262fc71f37fbecfbe48a42133faf34b607f57', class: `toast ${this.toastVisible ? 'visible' : ''}`, color: "information", "main-text": this.filterMessage, breakpoint: "desktop", size: "floating", onClose: () => this.hideToast() }))));
1182
1199
  }
1183
1200
  static get is() { return "gb-table"; }
1184
1201
  static get encapsulation() { return "shadow"; }
@@ -1428,7 +1445,7 @@ export class GbTable {
1428
1445
  },
1429
1446
  "getter": false,
1430
1447
  "setter": false,
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 ]"
1448
+ "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 ]"
1432
1449
  },
1433
1450
  "dropdownOptions": {
1434
1451
  "type": "unknown",
@@ -1578,9 +1595,14 @@ export class GbTable {
1578
1595
  "type": "unknown",
1579
1596
  "mutable": false,
1580
1597
  "complexType": {
1581
- "original": "(row: any) => any",
1582
- "resolved": "(row: any) => any",
1583
- "references": {}
1598
+ "original": "(container: HTMLElement, row: any, emit: (action: string) => void) => void",
1599
+ "resolved": "(container: HTMLElement, row: any, emit: (action: string) => void) => void",
1600
+ "references": {
1601
+ "HTMLElement": {
1602
+ "location": "global",
1603
+ "id": "global::HTMLElement"
1604
+ }
1605
+ }
1584
1606
  },
1585
1607
  "required": false,
1586
1608
  "optional": true,