globuswebcomponents 2.18.3 → 2.18.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 (102) hide show
  1. package/dist/cjs/{gb-accordion-card_86.cjs.entry.js → gb-accordion-card_78.cjs.entry.js} +2906 -6271
  2. package/dist/cjs/gb-approval-modal.cjs.entry.js +5 -1
  3. package/dist/cjs/gb-approval-modal.entry.cjs.js.map +1 -1
  4. package/dist/cjs/gb-filter-modal.gb-pagination.gb-pagination-button-group-base.gb-pagination-number-base.gb-portal.gb-table-header.gb-toggle.gb-toggle-base.entry.cjs.js.map +1 -0
  5. package/dist/cjs/gb-filter-modal_8.cjs.entry.js +2253 -0
  6. package/dist/cjs/gb-table.cjs.entry.js +1240 -0
  7. package/dist/cjs/gb-table.entry.cjs.js.map +1 -0
  8. package/dist/cjs/globuscomponents.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
  11. package/dist/collection/components/gb-approval-modal/gb-approval-modal.js +19 -1
  12. package/dist/collection/components/gb-approval-modal/gb-approval-modal.js.map +1 -1
  13. package/dist/collection/components/gb-button/readme.md +7 -0
  14. package/dist/collection/components/gb-date-picker/gb-date-picker.js +5 -2
  15. package/dist/collection/components/gb-date-picker/gb-date-picker.js.map +1 -1
  16. package/dist/collection/components/gb-detail-cell/gb-detail-cell.js +1 -1
  17. package/dist/collection/components/gb-detail-cell/gb-detail-cell.js.map +1 -1
  18. package/dist/collection/components/gb-input-field/gb-input-field.js +59 -16
  19. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  20. package/dist/collection/components/gb-sidebar/gb-sidebar.css +1 -0
  21. package/dist/collection/components/gb-table/gb-table.css +7 -0
  22. package/dist/collection/components/gb-table/gb-table.js +26 -20
  23. package/dist/collection/components/gb-table/gb-table.js.map +1 -1
  24. package/dist/collection/models/reusableModels.js.map +1 -1
  25. package/dist/components/gb-approval-modal.js +5 -1
  26. package/dist/components/gb-approval-modal.js.map +1 -1
  27. package/dist/components/gb-date-picker.js +1 -1
  28. package/dist/components/gb-detail-cell.js +1 -1
  29. package/dist/components/gb-detail-cell.js.map +1 -1
  30. package/dist/components/gb-filter-modal.js +1 -1
  31. package/dist/components/gb-header.js +1 -1
  32. package/dist/components/gb-input-dropdown-test.js +1 -1
  33. package/dist/components/gb-input-dropdown.js +1 -1
  34. package/dist/components/gb-input-field.js +1 -1
  35. package/dist/components/gb-pagination.js +1 -1
  36. package/dist/components/gb-rich-text.js +3 -3
  37. package/dist/components/gb-sidebar.js +1 -1
  38. package/dist/components/gb-sidebar.js.map +1 -1
  39. package/dist/components/gb-table-header.js +1 -1
  40. package/dist/components/gb-table.js +1 -1
  41. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  42. package/dist/components/{p-DQBORnne.js → p-6aww0fa8.js} +3 -3
  43. package/dist/components/{p-DQBORnne.js.map → p-6aww0fa8.js.map} +1 -1
  44. package/dist/components/{p-DsN3hb33.js → p-BD74vctU.js} +4 -4
  45. package/dist/components/{p-DsN3hb33.js.map → p-BD74vctU.js.map} +1 -1
  46. package/dist/components/{p-CzePcMXF.js → p-C2nwKlIB.js} +4 -4
  47. package/dist/components/{p-CzePcMXF.js.map → p-C2nwKlIB.js.map} +1 -1
  48. package/dist/components/{p-CsyLoHd6.js → p-CTisVkYS.js} +7 -4
  49. package/dist/components/p-CTisVkYS.js.map +1 -0
  50. package/dist/components/{p-DQOaeODg.js → p-DQyU_YBJ.js} +26 -24
  51. package/dist/components/p-DQyU_YBJ.js.map +1 -0
  52. package/dist/components/{p-CITjyuOY.js → p-DYpvfQik.js} +4 -4
  53. package/dist/components/{p-CITjyuOY.js.map → p-DYpvfQik.js.map} +1 -1
  54. package/dist/components/{p-BF-N7J8c.js → p-JNQBEWGY.js} +3 -3
  55. package/dist/components/{p-BF-N7J8c.js.map → p-JNQBEWGY.js.map} +1 -1
  56. package/dist/components/p-cHn6O-Kf.js.map +1 -1
  57. package/dist/components/{p-DtJfuVIF.js → p-q1BXlX2S.js} +40 -17
  58. package/dist/components/p-q1BXlX2S.js.map +1 -0
  59. package/dist/components/test-wrapper.js +7 -7
  60. package/dist/docs.json +70 -11
  61. package/dist/esm/{gb-accordion-card_86.entry.js → gb-accordion-card_78.entry.js} +2906 -6263
  62. package/dist/esm/gb-approval-modal.entry.js +5 -1
  63. package/dist/esm/gb-approval-modal.entry.js.map +1 -1
  64. package/dist/esm/gb-filter-modal.gb-pagination.gb-pagination-button-group-base.gb-pagination-number-base.gb-portal.gb-table-header.gb-toggle.gb-toggle-base.entry.js.map +1 -0
  65. package/dist/esm/gb-filter-modal_8.entry.js +2244 -0
  66. package/dist/esm/gb-table.entry.js +1238 -0
  67. package/dist/esm/gb-table.entry.js.map +1 -0
  68. package/dist/esm/globuscomponents.js +1 -1
  69. package/dist/esm/loader.js +1 -1
  70. package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
  71. package/dist/globuscomponents/gb-approval-modal.entry.esm.js.map +1 -1
  72. package/dist/globuscomponents/gb-filter-modal.gb-pagination.gb-pagination-button-group-base.gb-pagination-number-base.gb-portal.gb-table-header.gb-toggle.gb-toggle-base.entry.esm.js.map +1 -0
  73. package/dist/globuscomponents/gb-table.entry.esm.js.map +1 -0
  74. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  75. package/dist/globuscomponents/{p-80902514.entry.js → p-18789dc0.entry.js} +2 -2
  76. package/dist/globuscomponents/p-18789dc0.entry.js.map +1 -0
  77. package/dist/globuscomponents/p-7b3bf29c.entry.js +2 -0
  78. package/dist/globuscomponents/p-7b3bf29c.entry.js.map +1 -0
  79. package/dist/globuscomponents/{p-1a215393.entry.js → p-9a44bc13.entry.js} +2 -2
  80. package/dist/globuscomponents/p-9a44bc13.entry.js.map +1 -0
  81. package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
  82. package/dist/globuscomponents/p-dbc76ebb.entry.js +2 -0
  83. package/dist/globuscomponents/p-dbc76ebb.entry.js.map +1 -0
  84. package/dist/globuscomponents/readme.md +7 -0
  85. package/dist/types/components/gb-approval-modal/gb-approval-modal.d.ts +2 -0
  86. package/dist/types/components/gb-input-field/gb-input-field.d.ts +2 -0
  87. package/dist/types/components/gb-table/gb-table.d.ts +2 -1
  88. package/dist/types/components.d.ts +23 -7
  89. package/dist/types/models/reusableModels.d.ts +1 -0
  90. package/package.json +1 -1
  91. package/dist/cjs/gb-detail-cell.cjs.entry.js +0 -94
  92. package/dist/cjs/gb-detail-cell.entry.cjs.js.map +0 -1
  93. package/dist/components/p-CsyLoHd6.js.map +0 -1
  94. package/dist/components/p-DQOaeODg.js.map +0 -1
  95. package/dist/components/p-DtJfuVIF.js.map +0 -1
  96. package/dist/esm/gb-detail-cell.entry.js +0 -92
  97. package/dist/esm/gb-detail-cell.entry.js.map +0 -1
  98. package/dist/globuscomponents/gb-detail-cell.entry.esm.js.map +0 -1
  99. package/dist/globuscomponents/p-1a215393.entry.js.map +0 -1
  100. package/dist/globuscomponents/p-80902514.entry.js.map +0 -1
  101. package/dist/globuscomponents/p-fbf22caa.entry.js +0 -2
  102. package/dist/globuscomponents/p-fbf22caa.entry.js.map +0 -1
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-07-21T09:35:19",
2
+ "timestamp": "2026-07-27T08:25:46",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.38.3",
@@ -1910,6 +1910,20 @@
1910
1910
  ],
1911
1911
  "methods": [],
1912
1912
  "events": [
1913
+ {
1914
+ "event": "closeButtonClicked",
1915
+ "detail": "void",
1916
+ "bubbles": true,
1917
+ "complexType": {
1918
+ "original": "void",
1919
+ "resolved": "void",
1920
+ "references": {}
1921
+ },
1922
+ "cancelable": true,
1923
+ "composed": true,
1924
+ "docs": "",
1925
+ "docsTags": []
1926
+ },
1913
1927
  {
1914
1928
  "event": "primaryButtonClicked",
1915
1929
  "detail": "void",
@@ -19933,6 +19947,35 @@
19933
19947
  "docsTags": [],
19934
19948
  "usage": {},
19935
19949
  "props": [
19950
+ {
19951
+ "name": "allowCustomTags",
19952
+ "type": "boolean",
19953
+ "complexType": {
19954
+ "original": "boolean",
19955
+ "resolved": "boolean",
19956
+ "references": {}
19957
+ },
19958
+ "mutable": false,
19959
+ "attr": "allow-custom-tags",
19960
+ "reflectToAttr": false,
19961
+ "docs": "",
19962
+ "docsTags": [
19963
+ {
19964
+ "name": "default",
19965
+ "text": "true"
19966
+ }
19967
+ ],
19968
+ "default": "true",
19969
+ "values": [
19970
+ {
19971
+ "type": "boolean"
19972
+ }
19973
+ ],
19974
+ "optional": false,
19975
+ "required": false,
19976
+ "getter": false,
19977
+ "setter": false
19978
+ },
19936
19979
  {
19937
19980
  "name": "destructive",
19938
19981
  "type": "boolean",
@@ -20918,7 +20961,13 @@
20918
20961
  "attr": "type",
20919
20962
  "reflectToAttr": false,
20920
20963
  "docs": "",
20921
- "docsTags": [],
20964
+ "docsTags": [
20965
+ {
20966
+ "name": "default",
20967
+ "text": "'tags'"
20968
+ }
20969
+ ],
20970
+ "default": "'tags'",
20922
20971
  "values": [
20923
20972
  {
20924
20973
  "value": "count",
@@ -32410,10 +32459,10 @@
32410
32459
  "docsTags": [
32411
32460
  {
32412
32461
  "name": "default",
32413
- "text": "[\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-button',\r\n // cellProps: row => ({ \r\n // hierarchy: 'link_gray', \r\n // size: 'md', \r\n // icon: 'default',\r\n // iconLeading: true,\r\n // iconLeadingSwap: 'assets/view.svg'\r\n // }),\r\n // cellEvent: 'buttonClicked',\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ]"
32462
+ "text": "[\r\n // { key: 'id', label: '#', width: '10rem', sortable: true, sortType: 'string', truncate: true, 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-button',\r\n // cellProps: row => ({\r\n // hierarchy: 'link_gray',\r\n // size: 'md',\r\n // icon: 'default',\r\n // iconLeading: true,\r\n // iconLeadingSwap: 'assets/view.svg'\r\n // }),\r\n // cellEvent: 'buttonClicked',\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ]"
32414
32463
  }
32415
32464
  ],
32416
- "default": "[\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-button',\r\n // cellProps: row => ({ \r\n // hierarchy: 'link_gray', \r\n // size: 'md', \r\n // icon: 'default',\r\n // iconLeading: true,\r\n // iconLeadingSwap: 'assets/view.svg'\r\n // }),\r\n // cellEvent: 'buttonClicked',\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ]",
32465
+ "default": "[\r\n // { key: 'id', label: '#', width: '10rem', sortable: true, sortType: 'string', truncate: true, 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-button',\r\n // cellProps: row => ({\r\n // hierarchy: 'link_gray',\r\n // size: 'md',\r\n // icon: 'default',\r\n // iconLeading: true,\r\n // iconLeadingSwap: 'assets/view.svg'\r\n // }),\r\n // cellEvent: 'buttonClicked',\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ]",
32417
32466
  "values": [
32418
32467
  {
32419
32468
  "type": "TableColumn[]"
@@ -33008,7 +33057,7 @@
33008
33057
  "docs": ""
33009
33058
  },
33010
33059
  "complexType": {
33011
- "signature": "(action: string, row: any) => Promise<void>",
33060
+ "signature": "(action: string, row: any, disabled?: boolean) => Promise<void>",
33012
33061
  "parameters": [
33013
33062
  {
33014
33063
  "name": "action",
@@ -33019,6 +33068,11 @@
33019
33068
  "name": "row",
33020
33069
  "type": "any",
33021
33070
  "docs": ""
33071
+ },
33072
+ {
33073
+ "name": "disabled",
33074
+ "type": "boolean",
33075
+ "docs": ""
33022
33076
  }
33023
33077
  ],
33024
33078
  "references": {
@@ -33029,7 +33083,7 @@
33029
33083
  },
33030
33084
  "return": "Promise<void>"
33031
33085
  },
33032
- "signature": "handleAction(action: string, row: any) => Promise<void>",
33086
+ "signature": "handleAction(action: string, row: any, disabled?: boolean) => Promise<void>",
33033
33087
  "parameters": [
33034
33088
  {
33035
33089
  "name": "action",
@@ -33040,6 +33094,11 @@
33040
33094
  "name": "row",
33041
33095
  "type": "any",
33042
33096
  "docs": ""
33097
+ },
33098
+ {
33099
+ "name": "disabled",
33100
+ "type": "boolean",
33101
+ "docs": ""
33043
33102
  }
33044
33103
  ],
33045
33104
  "docs": "",
@@ -33052,7 +33111,7 @@
33052
33111
  "detail": "{ row: any; }",
33053
33112
  "bubbles": true,
33054
33113
  "complexType": {
33055
- "original": "{ row: any; }",
33114
+ "original": "{ row: any }",
33056
33115
  "resolved": "{ row: any; }",
33057
33116
  "references": {}
33058
33117
  },
@@ -33189,11 +33248,11 @@
33189
33248
  },
33190
33249
  {
33191
33250
  "event": "rowActionClicked",
33192
- "detail": "{ action: string; row: any; }",
33251
+ "detail": "{ action: string; row: any; disabled: boolean; }",
33193
33252
  "bubbles": true,
33194
33253
  "complexType": {
33195
- "original": "{ action: string; row: any }",
33196
- "resolved": "{ action: string; row: any; }",
33254
+ "original": "{ action: string; row: any; disabled: boolean }",
33255
+ "resolved": "{ action: string; row: any; disabled: boolean; }",
33197
33256
  "references": {}
33198
33257
  },
33199
33258
  "cancelable": true,
@@ -39328,7 +39387,7 @@
39328
39387
  "path": "src/models/reusableModels.ts"
39329
39388
  },
39330
39389
  "src/models/reusableModels.ts::TableColumn": {
39331
- "declaration": "export 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 cellEvent?: string | string[];\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}",
39390
+ "declaration": "export 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 cellEvent?: string | string[];\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 truncate?: boolean;\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}",
39332
39391
  "docstring": "",
39333
39392
  "path": "src/models/reusableModels.ts"
39334
39393
  },