globuswebcomponents 2.8.11 → 2.9.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.
- package/dist/cjs/gb-action-panel_75.cjs.entry.js +496 -139
- package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/assets/pencil-edit-01.svg +3 -0
- package/dist/collection/components/gb-button/gb-button.js +30 -1
- package/dist/collection/components/gb-button/gb-button.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.tsx +6 -1
- package/dist/collection/components/gb-button/readme.md +23 -0
- package/dist/collection/components/gb-date-picker/gb-date-picker.css +4 -0
- package/dist/collection/components/gb-date-picker/gb-date-picker.js +5 -7
- package/dist/collection/components/gb-date-picker/gb-date-picker.js.map +1 -1
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +4 -4
- package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js.map +1 -1
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +20 -12
- package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
- package/dist/collection/components/gb-pagination/gb-pagination.css +1 -0
- package/dist/collection/components/gb-portal/gb-portal.css +1 -2
- package/dist/collection/components/gb-portal/gb-portal.js +63 -17
- package/dist/collection/components/gb-portal/gb-portal.js.map +1 -1
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +8 -2
- package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js.map +1 -1
- package/dist/collection/components/gb-table/gb-table.css +146 -31
- package/dist/collection/components/gb-table/gb-table.js +506 -77
- package/dist/collection/components/gb-table/gb-table.js.map +1 -1
- package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
- package/dist/collection/components/gb-table-header/gb-table-header.css +10 -9
- package/dist/collection/components/gb-table-header/gb-table-header.js +28 -26
- package/dist/collection/components/gb-table-header/gb-table-header.js.map +1 -1
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -4
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +1 -1
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +18 -2
- package/dist/collection/components/gb-toast/gb-toast.js.map +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/collection/models/reusableModels.js.map +1 -1
- package/dist/components/gb-action-panel.js +2 -2
- package/dist/components/gb-approval-modal.js +8 -8
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +1 -1
- package/dist/components/gb-avatar-group.js +2 -2
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +3 -3
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment.js +2 -2
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-date-picker.js +1 -1
- package/dist/components/gb-detail-cell.js +2 -2
- package/dist/components/gb-empty-state.js +1 -145
- package/dist/components/gb-empty-state.js.map +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +4 -4
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-header.js +14 -14
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-horizontal-tabs.js +4 -4
- package/dist/components/gb-horizontal-tabs.js.map +1 -1
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +1 -1
- package/dist/components/gb-modal-action.js +1 -1
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +2 -2
- package/dist/components/gb-nav-bar.js +2 -2
- package/dist/components/gb-notification-pane.js +1 -1
- package/dist/components/gb-pagination.js +1 -1
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-portal.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-prompt-modal.js +2 -2
- package/dist/components/gb-sidebar.js +5 -5
- package/dist/components/gb-simple-side-bar-item.js +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +2 -2
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-table-cell.js +1 -1
- package/dist/components/gb-table-header.js +1 -343
- package/dist/components/gb-table-header.js.map +1 -1
- package/dist/components/gb-table.js +471 -121
- package/dist/components/gb-table.js.map +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +1 -1
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +19 -5
- package/dist/components/gb-toast.js.map +1 -1
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +2 -2
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +1 -1
- package/dist/components/{p-DvV7snbA.js → p-49dlhIYS.js} +10 -4
- package/dist/components/p-49dlhIYS.js.map +1 -0
- package/dist/components/{p-Db25H5UF.js → p-B0GSTQw3.js} +3 -3
- package/dist/components/{p-Db25H5UF.js.map → p-B0GSTQw3.js.map} +1 -1
- package/dist/components/{p-DAm-213Y.js → p-BHyPbecw.js} +3 -3
- package/dist/components/{p-DAm-213Y.js.map → p-BHyPbecw.js.map} +1 -1
- package/dist/components/{p-ByFyt4ia.js → p-BYwfw805.js} +3 -3
- package/dist/components/{p-ByFyt4ia.js.map → p-BYwfw805.js.map} +1 -1
- package/dist/components/{p-C8LbZ4kH.js → p-BaOylBgt.js} +5 -5
- package/dist/components/{p-C8LbZ4kH.js.map → p-BaOylBgt.js.map} +1 -1
- package/dist/components/{p-e-QGBXGa.js → p-Bt2auhuC.js} +3 -3
- package/dist/components/{p-e-QGBXGa.js.map → p-Bt2auhuC.js.map} +1 -1
- package/dist/components/{p-ofbsewem.js → p-ByCoMbO2.js} +5 -5
- package/dist/components/{p-ofbsewem.js.map → p-ByCoMbO2.js.map} +1 -1
- package/dist/components/p-ByjJN3cS.js +150 -0
- package/dist/components/p-ByjJN3cS.js.map +1 -0
- package/dist/components/{p-BQU0qEQ8.js → p-C--0Sicf.js} +22 -18
- package/dist/components/p-C--0Sicf.js.map +1 -0
- package/dist/components/{p-CaVLFaUk.js → p-CJelLNTb.js} +9 -10
- package/dist/components/p-CJelLNTb.js.map +1 -0
- package/dist/components/{p-BXST6Rgi.js → p-CKzAcGL2.js} +3 -3
- package/dist/components/{p-BXST6Rgi.js.map → p-CKzAcGL2.js.map} +1 -1
- package/dist/components/{p-wopm_NSt.js → p-CLeShKhE.js} +4 -4
- package/dist/components/{p-wopm_NSt.js.map → p-CLeShKhE.js.map} +1 -1
- package/dist/components/{p-BVu-h1cX.js → p-CQFpc6__.js} +3 -3
- package/dist/components/{p-BVu-h1cX.js.map → p-CQFpc6__.js.map} +1 -1
- package/dist/components/{p-BKvAhdEP.js → p-C_9HhBzA.js} +3 -3
- package/dist/components/{p-BKvAhdEP.js.map → p-C_9HhBzA.js.map} +1 -1
- package/dist/components/{p-cxKfHAER.js → p-C_f2hEd8.js} +10 -5
- package/dist/components/p-C_f2hEd8.js.map +1 -0
- package/dist/components/{p-T48Hj6xM.js → p-Cdgx4Hwc.js} +3 -3
- package/dist/components/{p-T48Hj6xM.js.map → p-Cdgx4Hwc.js.map} +1 -1
- package/dist/components/{p-kAsXRFkD.js → p-Ci5AB68V.js} +3 -3
- package/dist/components/{p-kAsXRFkD.js.map → p-Ci5AB68V.js.map} +1 -1
- package/dist/components/{p-9xYUsl7q.js → p-Cj67a6IJ.js} +3 -3
- package/dist/components/{p-9xYUsl7q.js.map → p-Cj67a6IJ.js.map} +1 -1
- package/dist/components/{p-Dn5rOzr_.js → p-CsQhqi-L.js} +3 -3
- package/dist/components/{p-Dn5rOzr_.js.map → p-CsQhqi-L.js.map} +1 -1
- package/dist/components/{p-uV0Dz5N_.js → p-CwTzPqb2.js} +4 -4
- package/dist/components/{p-uV0Dz5N_.js.map → p-CwTzPqb2.js.map} +1 -1
- package/dist/components/{p-CTNnGEZs.js → p-D0VVIazI.js} +3 -3
- package/dist/components/{p-CTNnGEZs.js.map → p-D0VVIazI.js.map} +1 -1
- package/dist/components/{p-Bo4efGgC.js → p-DLhsTHln.js} +3 -3
- package/dist/components/{p-Bo4efGgC.js.map → p-DLhsTHln.js.map} +1 -1
- package/dist/components/{p-Dd_Eos3v.js → p-DMjBTN85.js} +4 -4
- package/dist/components/{p-Dd_Eos3v.js.map → p-DMjBTN85.js.map} +1 -1
- package/dist/components/{p-DRngXcjq.js → p-DNAqkyM0.js} +4 -4
- package/dist/components/{p-DRngXcjq.js.map → p-DNAqkyM0.js.map} +1 -1
- package/dist/components/{p-BgNv7S1j.js → p-DSuh8sT6.js} +4 -4
- package/dist/components/{p-BgNv7S1j.js.map → p-DSuh8sT6.js.map} +1 -1
- package/dist/components/{p-CO71VZ1J.js → p-DUlP9ot1.js} +4 -4
- package/dist/components/{p-CO71VZ1J.js.map → p-DUlP9ot1.js.map} +1 -1
- package/dist/components/{p-CTfLJ_Yp.js → p-DfeAzwhz.js} +3 -3
- package/dist/components/{p-CTfLJ_Yp.js.map → p-DfeAzwhz.js.map} +1 -1
- package/dist/components/{p-BByUPZTR.js → p-DpjHb85v.js} +5 -5
- package/dist/components/{p-BByUPZTR.js.map → p-DpjHb85v.js.map} +1 -1
- package/dist/components/{p-CgQonNKV.js → p-Dqd4hVBB.js} +3 -3
- package/dist/components/{p-CgQonNKV.js.map → p-Dqd4hVBB.js.map} +1 -1
- package/dist/components/{p-hck2xhPi.js → p-Z_m9SN0_.js} +3 -3
- package/dist/components/{p-hck2xhPi.js.map → p-Z_m9SN0_.js.map} +1 -1
- package/dist/components/{p-qZNN2nfj.js → p-blTaQhCM.js} +5 -5
- package/dist/components/{p-qZNN2nfj.js.map → p-blTaQhCM.js.map} +1 -1
- package/dist/components/p-cHn6O-Kf.js.map +1 -1
- package/dist/components/{p-apFyrUM4.js → p-dgGYVBLp.js} +127 -16
- package/dist/components/p-dgGYVBLp.js.map +1 -0
- package/dist/components/{p-yDP7ObG5.js → p-g6ayM_Wt.js} +6 -6
- package/dist/components/{p-yDP7ObG5.js.map → p-g6ayM_Wt.js.map} +1 -1
- package/dist/components/{p-DlH97JYU.js → p-jEUDScnD.js} +14 -14
- package/dist/components/p-jEUDScnD.js.map +1 -0
- package/dist/components/p-q16C1y-8.js +350 -0
- package/dist/components/p-q16C1y-8.js.map +1 -0
- package/dist/components/{p-c0RQJb24.js → p-rw4UZJOE.js} +11 -11
- package/dist/components/{p-c0RQJb24.js.map → p-rw4UZJOE.js.map} +1 -1
- package/dist/components/{p-CEK6hgEo.js → p-rzRgniQd.js} +9 -11
- package/dist/components/p-rzRgniQd.js.map +1 -0
- package/dist/components/{p-BtGA-5EV.js → p-y6Xot37W.js} +3 -3
- package/dist/components/{p-BtGA-5EV.js.map → p-y6Xot37W.js.map} +1 -1
- package/dist/components/test-input-tag.js +6 -6
- package/dist/docs.json +535 -73
- package/dist/esm/gb-action-panel_75.entry.js +496 -139
- package/dist/esm/gb-table-cell.entry.js +1 -1
- package/dist/esm/gb-token-field-compact.entry.js +1 -1
- package/dist/esm/gb-token-field-compressed.entry.js +2 -2
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/assets/pencil-edit-01.svg +3 -0
- package/dist/globuscomponents/gb-button.tsx +6 -1
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/p-031a93b0.entry.js +2 -0
- package/dist/globuscomponents/{p-5f4f79f3.entry.js → p-087fe238.entry.js} +2 -2
- package/dist/globuscomponents/p-087fe238.entry.js.map +1 -0
- package/dist/globuscomponents/{p-5d4750b8.entry.js → p-a61d1385.entry.js} +2 -2
- package/dist/globuscomponents/{p-957759a4.entry.js → p-bc7a3ff1.entry.js} +2 -2
- package/dist/globuscomponents/{p-9f49601d.entry.js → p-bd89e53d.entry.js} +2 -2
- package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
- package/dist/globuscomponents/{p-b71b110d.entry.js → p-e4bda433.entry.js} +2 -2
- package/dist/globuscomponents/readme.md +23 -0
- package/dist/types/components/gb-button/gb-button.d.ts +1 -0
- package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +1 -1
- package/dist/types/components/gb-portal/gb-portal.d.ts +3 -1
- package/dist/types/components/gb-tab-button-base/gb-tab-button-base.d.ts +3 -2
- package/dist/types/components/gb-table/gb-table.d.ts +68 -2
- package/dist/types/components/gb-table-header/gb-table-header.d.ts +1 -1
- package/dist/types/components/gb-toast/gb-toast.d.ts +4 -0
- package/dist/types/components.d.ts +136 -23
- package/dist/types/models/reusableModels.d.ts +16 -0
- package/package.json +1 -1
- package/dist/components/p-BQU0qEQ8.js.map +0 -1
- package/dist/components/p-CEK6hgEo.js.map +0 -1
- package/dist/components/p-CaVLFaUk.js.map +0 -1
- package/dist/components/p-DlH97JYU.js.map +0 -1
- package/dist/components/p-DvV7snbA.js.map +0 -1
- package/dist/components/p-apFyrUM4.js.map +0 -1
- package/dist/components/p-cxKfHAER.js.map +0 -1
- package/dist/globuscomponents/p-5f4f79f3.entry.js.map +0 -1
- package/dist/globuscomponents/p-9bf9cc0c.entry.js +0 -2
- /package/dist/globuscomponents/{p-9bf9cc0c.entry.js.map → p-031a93b0.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5d4750b8.entry.js.map → p-a61d1385.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-957759a4.entry.js.map → p-bc7a3ff1.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-9f49601d.entry.js.map → p-bd89e53d.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-b71b110d.entry.js.map → p-e4bda433.entry.js.map} +0 -0
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { ArrowPositions, BadgeIconTypes, BadgeTypes, BorderWeights, BreakPoints, ButtonGroupTypes, CheckBoxVariants, CloseButtonPositions, ColorTypes, DetailCellType, DropdownListGroup, DropdownRoles, DropdownTypes, FileIconStyles, FileIconTypes, FileUploadIconType, FileUploadStates, GeneralBackgroundCategories, GeneralColors, GeneralHierarchies, GeneralSizes, GeneralStyles, IllustrationTypes, InputFieldTypes, MetricFeaturedIconTypes, Notification, OnlineIndicatorStates, PaginationDotTypes, PaginationNumberShapes, PaginationTypes, PatternTypes, ProgressStepStates, ProgressStepStatus, ProgressStepTypes, RowAction, StateEnum, StateType, StepperType, TableCellTypes, TableColumn, TabTypes, ThemeTypes } from "./models/reusableModels";
|
|
8
|
+
import { ArrowPositions, BadgeIconTypes, BadgeTypes, BorderWeights, BreakPoints, ButtonGroupTypes, CheckBoxVariants, CloseButtonPositions, ColorTypes, DetailCellType, DropdownListGroup, DropdownOption, DropdownRoles, DropdownTypes, FileIconStyles, FileIconTypes, FileUploadIconType, FileUploadStates, GeneralBackgroundCategories, GeneralColors, GeneralHierarchies, GeneralSizes, GeneralStyles, IllustrationTypes, InputFieldTypes, MetricFeaturedIconTypes, Notification, OnlineIndicatorStates, PaginationDotTypes, PaginationNumberShapes, PaginationTypes, PatternTypes, PortalPlacement, ProgressStepStates, ProgressStepStatus, ProgressStepTypes, RowAction, StateEnum, StateType, StepperType, TableCellTypes, TableColumn, TabTypes, ThemeTypes } from "./models/reusableModels";
|
|
9
9
|
import { StateType as StateType1, ThemeTypes as ThemeTypes1 } from "./components";
|
|
10
|
-
export { ArrowPositions, BadgeIconTypes, BadgeTypes, BorderWeights, BreakPoints, ButtonGroupTypes, CheckBoxVariants, CloseButtonPositions, ColorTypes, DetailCellType, DropdownListGroup, DropdownRoles, DropdownTypes, FileIconStyles, FileIconTypes, FileUploadIconType, FileUploadStates, GeneralBackgroundCategories, GeneralColors, GeneralHierarchies, GeneralSizes, GeneralStyles, IllustrationTypes, InputFieldTypes, MetricFeaturedIconTypes, Notification, OnlineIndicatorStates, PaginationDotTypes, PaginationNumberShapes, PaginationTypes, PatternTypes, ProgressStepStates, ProgressStepStatus, ProgressStepTypes, RowAction, StateEnum, StateType, StepperType, TableCellTypes, TableColumn, TabTypes, ThemeTypes } from "./models/reusableModels";
|
|
10
|
+
export { ArrowPositions, BadgeIconTypes, BadgeTypes, BorderWeights, BreakPoints, ButtonGroupTypes, CheckBoxVariants, CloseButtonPositions, ColorTypes, DetailCellType, DropdownListGroup, DropdownOption, DropdownRoles, DropdownTypes, FileIconStyles, FileIconTypes, FileUploadIconType, FileUploadStates, GeneralBackgroundCategories, GeneralColors, GeneralHierarchies, GeneralSizes, GeneralStyles, IllustrationTypes, InputFieldTypes, MetricFeaturedIconTypes, Notification, OnlineIndicatorStates, PaginationDotTypes, PaginationNumberShapes, PaginationTypes, PatternTypes, PortalPlacement, ProgressStepStates, ProgressStepStatus, ProgressStepTypes, RowAction, StateEnum, StateType, StepperType, TableCellTypes, TableColumn, TabTypes, ThemeTypes } from "./models/reusableModels";
|
|
11
11
|
export { StateType as StateType1, ThemeTypes as ThemeTypes1 } from "./components";
|
|
12
12
|
export namespace Components {
|
|
13
13
|
interface GbActionPanel {
|
|
@@ -431,6 +431,7 @@ export namespace Components {
|
|
|
431
431
|
* @default false
|
|
432
432
|
*/
|
|
433
433
|
"event": boolean;
|
|
434
|
+
"getNativeButton": () => Promise<HTMLButtonElement | null>;
|
|
434
435
|
/**
|
|
435
436
|
* @default 'primary'
|
|
436
437
|
*/
|
|
@@ -741,7 +742,7 @@ export namespace Components {
|
|
|
741
742
|
*/
|
|
742
743
|
"fullWidth": boolean;
|
|
743
744
|
/**
|
|
744
|
-
* @default '
|
|
745
|
+
* @default 'right'
|
|
745
746
|
*/
|
|
746
747
|
"iconPosition": CloseButtonPositions;
|
|
747
748
|
/**
|
|
@@ -1210,7 +1211,7 @@ export namespace Components {
|
|
|
1210
1211
|
"fullWidth": boolean;
|
|
1211
1212
|
"size": GeneralSizes;
|
|
1212
1213
|
/**
|
|
1213
|
-
* @default [ // { // name: 'All accounts', // index: 0, // badgeCount: '5', // }, // { // name: '
|
|
1214
|
+
* @default [ // { // name: 'All accounts', // index: 0, // badgeCount: '5', // }, // { // name: 'LCY Accounts', // index: 1, // badgeCount: '10', // }, // { // name: 'FCY', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, ]
|
|
1214
1215
|
*/
|
|
1215
1216
|
"tabs": { name: string; index: number; badgeCount?: string }[];
|
|
1216
1217
|
"type": TabTypes;
|
|
@@ -1291,7 +1292,10 @@ export namespace Components {
|
|
|
1291
1292
|
* @default false
|
|
1292
1293
|
*/
|
|
1293
1294
|
"loading": boolean;
|
|
1294
|
-
|
|
1295
|
+
/**
|
|
1296
|
+
* @default 'bottom'
|
|
1297
|
+
*/
|
|
1298
|
+
"menuPosition": 'top' | 'bottom';
|
|
1295
1299
|
/**
|
|
1296
1300
|
* @default ''
|
|
1297
1301
|
*/
|
|
@@ -1314,7 +1318,13 @@ export namespace Components {
|
|
|
1314
1318
|
* @default false
|
|
1315
1319
|
*/
|
|
1316
1320
|
"showSearchInput": boolean;
|
|
1321
|
+
/**
|
|
1322
|
+
* @default 'md'
|
|
1323
|
+
*/
|
|
1317
1324
|
"size": GeneralSizes;
|
|
1325
|
+
/**
|
|
1326
|
+
* @default 'default'
|
|
1327
|
+
*/
|
|
1318
1328
|
"state": 'default' | 'focused' | 'disabled' | 'filled';
|
|
1319
1329
|
/**
|
|
1320
1330
|
* @default false
|
|
@@ -1324,6 +1334,9 @@ export namespace Components {
|
|
|
1324
1334
|
* @default false
|
|
1325
1335
|
*/
|
|
1326
1336
|
"text": boolean;
|
|
1337
|
+
/**
|
|
1338
|
+
* @default 'default'
|
|
1339
|
+
*/
|
|
1327
1340
|
"type": DropdownTypes;
|
|
1328
1341
|
/**
|
|
1329
1342
|
* @default [ // { name: 'Mock Item A', username: 1, selected: false }, // { name: 'Mock Item B', username: 2, selected: false }, // { name: 'Mock Item C', username: 3, selected: false }, // 45, // 50, // 20, // 25, // 90, // 'Activated', // 'Deactivated', // 'Transaction Status', ]
|
|
@@ -1742,15 +1755,16 @@ export namespace Components {
|
|
|
1742
1755
|
"type": PatternTypes;
|
|
1743
1756
|
}
|
|
1744
1757
|
interface GbPortal {
|
|
1758
|
+
"anchorEl"?: HTMLElement;
|
|
1745
1759
|
"anchorId"?: string;
|
|
1746
1760
|
/**
|
|
1747
1761
|
* @default false
|
|
1748
1762
|
*/
|
|
1749
1763
|
"open": boolean;
|
|
1750
1764
|
/**
|
|
1751
|
-
* @default 'bottom-
|
|
1765
|
+
* @default 'bottom-end'
|
|
1752
1766
|
*/
|
|
1753
|
-
"placement":
|
|
1767
|
+
"placement": PortalPlacement;
|
|
1754
1768
|
}
|
|
1755
1769
|
interface GbProgressBar {
|
|
1756
1770
|
"labelPosition": 'right' | 'bottom' | 'top_floating' | 'bottom_floating';
|
|
@@ -2189,25 +2203,65 @@ export namespace Components {
|
|
|
2189
2203
|
*/
|
|
2190
2204
|
"actionsType": 'none' | 'dropdown' | '';
|
|
2191
2205
|
/**
|
|
2192
|
-
* @default [ { key: 'id', label: '#', width: '70px'
|
|
2206
|
+
* @default [ { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } }, { key: 'date', label: 'Date', mobile: { position: 'bottom_left' } }, { key: 'name', label: 'Name', sortable: true, sortType: 'string', helpIcon: true, mobile: { position: 'top_right' } }, { key: 'role', label: 'Role' }, { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number' }, { key: 'status', label: 'Status', render: row => ( <gb-badge color={row.status === 'Completed' ? 'success' : 'error'} type="badge_modern" size="sm" icon="dot"> <p>{row.status}</p> </gb-badge> ), mobile: { position: 'bottom_right' }, }, // { // key: '', // label: '', // cellComponent: 'gb-button', // width: '50px', // cellProps: () => ({ // hierarchy: 'tertiary_gray', // size: 'sm', // icon: 'only', // iconLeading: true, // iconLeadingSwap: 'assets/more-horizontal.svg', // }), // }, ]
|
|
2193
2207
|
*/
|
|
2194
2208
|
"columns": TableColumn[];
|
|
2195
2209
|
/**
|
|
2196
|
-
* @default [ { id: '#
|
|
2210
|
+
* @default [ { id: '#3001', date: 'Jan 1, 2022', name: 'Emma Johnson', role: 'Frontend Developer', level: 'Today', customer: 'John Doe', amount: '$120.00', status: 'Completed', }, { id: '#3002', date: 'Jan 2, 2022', name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' }, { id: '#3003', date: 'Jan 3, 2022', name: 'Olivia Brown', role: 'UI Designer', level: 'Today', customer: 'Michael Lee', amount: '$230.75', status: 'Cancelled' }, { id: '#3004', date: 'Jan 4, 2022', name: 'Noah Davis', role: 'DevOps Engineer', level: 'Today', customer: 'Emily Clark', amount: '$59.99', status: 'Completed' }, { id: '#3005', date: 'Jan 5, 2022', name: 'Ava Martinez', role: 'Product Manager', level: 'Today', customer: 'Daniel Harris', amount: '$410.00', status: 'Pending' }, { id: '#3006', date: 'Jan 6, 2022', name: 'William Garcia', role: 'QA Engineer', level: 'Today', customer: 'Sophia Lewis', amount: '$150.20', status: 'Completed' }, { id: '#3007', date: 'Jan 7, 2022', name: 'Isabella Rodriguez', role: 'Business Analyst', level: 'Today', customer: 'James Walker', amount: '$78.40', status: 'Pending' }, { id: '#3008', date: 'Jan 8, 2022', name: 'James Wilson', role: 'Fullstack Developer', level: 'Today', customer: 'Mia Hall', amount: '$300.00', status: 'Completed' }, { id: '#3009', date: 'Jan 9, 2022', name: 'Sophia Anderson', role: 'UX Researcher', level: 'Today', customer: 'Benjamin Allen', amount: '$95.60', status: 'Cancelled' }, { id: '#3010', date: 'Jan 10, 2022', name: 'Benjamin Thomas', role: 'Mobile Developer', level: 'Today', customer: 'Charlotte Young', amount: '$210.10', status: 'Completed' }, { id: '#3011', date: 'Jan 11, 2022', name: 'Mia Taylor', role: 'Data Analyst', level: 'Today', customer: 'Lucas King', amount: '$180.00', status: 'Pending' }, { id: '#3012', date: 'Jan 12, 2022', name: 'Lucas Moore', role: 'Cloud Engineer', level: 'Today', customer: 'Amelia Scott', amount: '$420.75', status: 'Completed' }, { id: '#3013', date: 'Jan 13, 2022', name: 'Charlotte Jackson', role: 'Security Engineer', level: 'Today', customer: 'Elijah Green', amount: '$65.90', status: 'Cancelled' }, { id: '#3014', date: 'Jan 14, 2022', name: 'Elijah Martin', role: 'Technical Lead', level: 'Today', customer: 'Harper Adams', amount: '$510.30', status: 'Completed' }, { id: '#3015', date: 'Jan 15, 2022', name: 'Amelia Lee', role: 'Scrum Master', level: 'Today', customer: 'Alexander Baker', amount: '$99.99', status: 'Pending' }, { id: '#3016', date: 'Jan 16, 2022', name: 'Harper Perez', role: 'Frontend Developer', level: 'Today', customer: 'Ella Nelson', amount: '$275.45', status: 'Completed' }, { id: '#3017', date: 'Jan 17, 2022', name: 'Alexander White', role: 'Backend Developer', level: 'Today', customer: 'Matthew Carter', amount: '$340.00', status: 'Pending' }, { id: '#3018', date: 'Jan 18, 2022', name: 'Ella Harris', role: 'UI Designer', level: 'Today', customer: 'Avery Mitchell', amount: '$88.80', status: 'Completed' }, { id: '#3019', date: 'Jan 19, 2022', name: 'Matthew Clark', role: 'DevOps Engineer', level: 'Today', customer: 'Evelyn Perez', amount: '$190.25', status: 'Cancelled' }, { id: '#3020', date: 'Jan 20, 2022', name: 'Avery Lewis', role: 'Product Manager', level: 'Today', customer: 'Henry Roberts', amount: '$600.00', status: 'Completed' }, { id: '#3021', date: 'Jan 21, 2022', name: 'Evelyn Walker', role: 'QA Engineer', level: 'Today', customer: 'Luna Turner', amount: '$72.30', status: 'Pending' }, { id: '#3022', date: 'Jan 22, 2022', name: 'Henry Hall', role: 'Business Analyst', level: 'Today', customer: 'Jack Phillips', amount: '$310.40', status: 'Completed' }, { id: '#3023', date: 'Jan 23, 2022', name: 'Luna Allen', role: 'Fullstack Developer', level: 'Today', customer: 'Sofia Campbell', amount: '$145.00', status: 'Cancelled' }, { id: '#3024', date: 'Jan 24, 2022', name: 'Jack Young', role: 'UX Researcher', level: 'Today', customer: 'David Parker', amount: '$260.70', status: 'Completed' }, { id: '#3025', date: 'Jan 25, 2022', name: 'Sofia Hernandez', role: 'Mobile Developer', level: 'Today', customer: 'Grace Evans', amount: '$89.10', status: 'Pending' }, { id: '#3026', date: 'Jan 26, 2022', name: 'David King', role: 'Data Analyst', level: 'Today', customer: 'Samuel Edwards', amount: '$410.90', status: 'Completed' }, { id: '#3027', date: 'Jan 27, 2022', name: 'Grace Wright', role: 'Cloud Engineer', level: 'Today', customer: 'Chloe Collins', amount: '$130.55', status: 'Cancelled' }, { id: '#3028', date: 'Jan 28, 2022', name: 'Samuel Scott', role: 'Security Engineer', level: 'Today', customer: 'Victoria Stewart', amount: '$555.00', status: 'Completed' }, { id: '#3029', date: 'Jan 29, 2022', name: 'Chloe Green', role: 'Technical Lead', level: 'Today', customer: 'Nathan Morris', amount: '$205.25', status: 'Pending' }, { id: '#3030', date: 'Jan 30, 2022', name: 'Nathan Adams', role: 'Scrum Master', level: 'Today', customer: 'Zoe Rogers', amount: '$320.80', status: 'Completed' }, ]
|
|
2197
2211
|
*/
|
|
2198
2212
|
"data": any[];
|
|
2199
2213
|
/**
|
|
2200
|
-
* @default [{ label: 'View', action: 'view', disabled: true }]
|
|
2214
|
+
* @default [ { label: 'View', action: 'view', icon: 'assets/view.svg', disabled: false }, { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', disabled: false }, { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: true }, ]
|
|
2201
2215
|
*/
|
|
2202
|
-
"
|
|
2216
|
+
"dropdownOptions"?: DropdownOption[];
|
|
2217
|
+
/**
|
|
2218
|
+
* @default { mainText: 'No data available', supportingText: 'Try adjusting your filters or check back later.', color: 'gray', illustrationIcon: 'assets/alert-circle.svg', theme: 'light', }
|
|
2219
|
+
*/
|
|
2220
|
+
"emptyStateConfig": { mainText: string; supportingText?: string; color?: GeneralColors; illustrationIcon?: string; theme?: ThemeTypes; primaryButtonIcon?: string };
|
|
2221
|
+
/**
|
|
2222
|
+
* @default { paginationMode: 'internal', entriesDropdownMenuPosition: 'top', currentPage: 1, pageSize: 10, totalItems: null, }
|
|
2223
|
+
*/
|
|
2224
|
+
"paginationConfig": {
|
|
2225
|
+
paginationMode: 'internal' | 'external';
|
|
2226
|
+
entriesDropdownMenuPosition: 'top' | 'bottom';
|
|
2227
|
+
currentPage?: number;
|
|
2228
|
+
pageSize?: number;
|
|
2229
|
+
totalItems?: number;
|
|
2230
|
+
};
|
|
2231
|
+
/**
|
|
2232
|
+
* @default [ { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' }, // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' }, // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' }, ]
|
|
2233
|
+
*/
|
|
2234
|
+
"rowActions": RowAction[];
|
|
2235
|
+
/**
|
|
2236
|
+
* @default true
|
|
2237
|
+
*/
|
|
2238
|
+
"showActionsColumn": boolean;
|
|
2203
2239
|
/**
|
|
2204
2240
|
* @default false
|
|
2205
2241
|
*/
|
|
2242
|
+
"showCheckbox": boolean;
|
|
2243
|
+
/**
|
|
2244
|
+
* @default true
|
|
2245
|
+
*/
|
|
2206
2246
|
"stickyFirstColumn": boolean;
|
|
2207
2247
|
/**
|
|
2208
2248
|
* @default true
|
|
2209
2249
|
*/
|
|
2210
2250
|
"stickyLastColumn": boolean;
|
|
2251
|
+
/**
|
|
2252
|
+
* @default { tableHeading: false, tableHeadingLabel: 'Suspicious outflows', showDateFilter: true, showFilter: true, showColumnOptions: true, showSearch: true, showExport: true, showRefreshButton: true, datePickerMode: 'single', }
|
|
2253
|
+
*/
|
|
2254
|
+
"tableHeaderConfig": {
|
|
2255
|
+
tableHeading: boolean;
|
|
2256
|
+
tableHeadingLabel: string;
|
|
2257
|
+
showDateFilter: boolean;
|
|
2258
|
+
showFilter: boolean;
|
|
2259
|
+
showColumnOptions: boolean;
|
|
2260
|
+
showSearch: boolean;
|
|
2261
|
+
showExport: boolean;
|
|
2262
|
+
showRefreshButton: boolean;
|
|
2263
|
+
datePickerMode: 'single' | 'range';
|
|
2264
|
+
};
|
|
2211
2265
|
}
|
|
2212
2266
|
interface GbTableCell {
|
|
2213
2267
|
"type": TableCellTypes;
|
|
@@ -2226,7 +2280,7 @@ export namespace Components {
|
|
|
2226
2280
|
*/
|
|
2227
2281
|
"datePickerDisabled": boolean;
|
|
2228
2282
|
/**
|
|
2229
|
-
* @default '
|
|
2283
|
+
* @default 'left'
|
|
2230
2284
|
*/
|
|
2231
2285
|
"datePickerDropdownPosition": CloseButtonPositions;
|
|
2232
2286
|
/**
|
|
@@ -2307,7 +2361,7 @@ export namespace Components {
|
|
|
2307
2361
|
*/
|
|
2308
2362
|
"showSearch": boolean;
|
|
2309
2363
|
/**
|
|
2310
|
-
* @default
|
|
2364
|
+
* @default false
|
|
2311
2365
|
*/
|
|
2312
2366
|
"tableHeading": boolean;
|
|
2313
2367
|
/**
|
|
@@ -3690,6 +3744,9 @@ declare global {
|
|
|
3690
3744
|
interface HTMLGbTableElementEventMap {
|
|
3691
3745
|
"rowActionClick": { action: string; row: any };
|
|
3692
3746
|
"pageItemSelected": { pageSize: any; pageNumber: number };
|
|
3747
|
+
"selectionChanged": any[];
|
|
3748
|
+
"inputValueChanged": void;
|
|
3749
|
+
"dateChange": string | string[];
|
|
3693
3750
|
}
|
|
3694
3751
|
interface HTMLGbTableElement extends Components.GbTable, HTMLStencilElement {
|
|
3695
3752
|
addEventListener<K extends keyof HTMLGbTableElementEventMap>(type: K, listener: (this: HTMLGbTableElement, ev: GbTableCustomEvent<HTMLGbTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4802,7 +4859,7 @@ declare namespace LocalJSX {
|
|
|
4802
4859
|
*/
|
|
4803
4860
|
"fullWidth"?: boolean;
|
|
4804
4861
|
/**
|
|
4805
|
-
* @default '
|
|
4862
|
+
* @default 'right'
|
|
4806
4863
|
*/
|
|
4807
4864
|
"iconPosition"?: CloseButtonPositions;
|
|
4808
4865
|
/**
|
|
@@ -5289,7 +5346,7 @@ declare namespace LocalJSX {
|
|
|
5289
5346
|
"onTabItemClicked"?: (event: GbHorizontalTabsCustomEvent<number>) => void;
|
|
5290
5347
|
"size"?: GeneralSizes;
|
|
5291
5348
|
/**
|
|
5292
|
-
* @default [ // { // name: 'All accounts', // index: 0, // badgeCount: '5', // }, // { // name: '
|
|
5349
|
+
* @default [ // { // name: 'All accounts', // index: 0, // badgeCount: '5', // }, // { // name: 'LCY Accounts', // index: 1, // badgeCount: '10', // }, // { // name: 'FCY', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, // { // name: 'Second', // index: 1, // badgeCount: '10', // }, ]
|
|
5293
5350
|
*/
|
|
5294
5351
|
"tabs"?: { name: string; index: number; badgeCount?: string }[];
|
|
5295
5352
|
"type"?: TabTypes;
|
|
@@ -5367,7 +5424,10 @@ declare namespace LocalJSX {
|
|
|
5367
5424
|
* @default false
|
|
5368
5425
|
*/
|
|
5369
5426
|
"loading"?: boolean;
|
|
5370
|
-
|
|
5427
|
+
/**
|
|
5428
|
+
* @default 'bottom'
|
|
5429
|
+
*/
|
|
5430
|
+
"menuPosition"?: 'top' | 'bottom';
|
|
5371
5431
|
"onDropdownItemSelected"?: (event: GbInputDropdownCustomEvent<any>) => void;
|
|
5372
5432
|
"onInputValueChanged"?: (event: GbInputDropdownCustomEvent<string>) => void;
|
|
5373
5433
|
/**
|
|
@@ -5392,7 +5452,13 @@ declare namespace LocalJSX {
|
|
|
5392
5452
|
* @default false
|
|
5393
5453
|
*/
|
|
5394
5454
|
"showSearchInput"?: boolean;
|
|
5455
|
+
/**
|
|
5456
|
+
* @default 'md'
|
|
5457
|
+
*/
|
|
5395
5458
|
"size"?: GeneralSizes;
|
|
5459
|
+
/**
|
|
5460
|
+
* @default 'default'
|
|
5461
|
+
*/
|
|
5396
5462
|
"state"?: 'default' | 'focused' | 'disabled' | 'filled';
|
|
5397
5463
|
/**
|
|
5398
5464
|
* @default false
|
|
@@ -5402,6 +5468,9 @@ declare namespace LocalJSX {
|
|
|
5402
5468
|
* @default false
|
|
5403
5469
|
*/
|
|
5404
5470
|
"text"?: boolean;
|
|
5471
|
+
/**
|
|
5472
|
+
* @default 'default'
|
|
5473
|
+
*/
|
|
5405
5474
|
"type"?: DropdownTypes;
|
|
5406
5475
|
/**
|
|
5407
5476
|
* @default [ // { name: 'Mock Item A', username: 1, selected: false }, // { name: 'Mock Item B', username: 2, selected: false }, // { name: 'Mock Item C', username: 3, selected: false }, // 45, // 50, // 20, // 25, // 90, // 'Activated', // 'Deactivated', // 'Transaction Status', ]
|
|
@@ -5831,15 +5900,16 @@ declare namespace LocalJSX {
|
|
|
5831
5900
|
"type"?: PatternTypes;
|
|
5832
5901
|
}
|
|
5833
5902
|
interface GbPortal {
|
|
5903
|
+
"anchorEl"?: HTMLElement;
|
|
5834
5904
|
"anchorId"?: string;
|
|
5835
5905
|
/**
|
|
5836
5906
|
* @default false
|
|
5837
5907
|
*/
|
|
5838
5908
|
"open"?: boolean;
|
|
5839
5909
|
/**
|
|
5840
|
-
* @default 'bottom-
|
|
5910
|
+
* @default 'bottom-end'
|
|
5841
5911
|
*/
|
|
5842
|
-
"placement"?:
|
|
5912
|
+
"placement"?: PortalPlacement;
|
|
5843
5913
|
}
|
|
5844
5914
|
interface GbProgressBar {
|
|
5845
5915
|
"labelPosition"?: 'right' | 'bottom' | 'top_floating' | 'bottom_floating';
|
|
@@ -6289,27 +6359,70 @@ declare namespace LocalJSX {
|
|
|
6289
6359
|
*/
|
|
6290
6360
|
"actionsType"?: 'none' | 'dropdown' | '';
|
|
6291
6361
|
/**
|
|
6292
|
-
* @default [ { key: 'id', label: '#', width: '70px'
|
|
6362
|
+
* @default [ { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } }, { key: 'date', label: 'Date', mobile: { position: 'bottom_left' } }, { key: 'name', label: 'Name', sortable: true, sortType: 'string', helpIcon: true, mobile: { position: 'top_right' } }, { key: 'role', label: 'Role' }, { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number' }, { key: 'status', label: 'Status', render: row => ( <gb-badge color={row.status === 'Completed' ? 'success' : 'error'} type="badge_modern" size="sm" icon="dot"> <p>{row.status}</p> </gb-badge> ), mobile: { position: 'bottom_right' }, }, // { // key: '', // label: '', // cellComponent: 'gb-button', // width: '50px', // cellProps: () => ({ // hierarchy: 'tertiary_gray', // size: 'sm', // icon: 'only', // iconLeading: true, // iconLeadingSwap: 'assets/more-horizontal.svg', // }), // }, ]
|
|
6293
6363
|
*/
|
|
6294
6364
|
"columns"?: TableColumn[];
|
|
6295
6365
|
/**
|
|
6296
|
-
* @default [ { id: '#
|
|
6366
|
+
* @default [ { id: '#3001', date: 'Jan 1, 2022', name: 'Emma Johnson', role: 'Frontend Developer', level: 'Today', customer: 'John Doe', amount: '$120.00', status: 'Completed', }, { id: '#3002', date: 'Jan 2, 2022', name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' }, { id: '#3003', date: 'Jan 3, 2022', name: 'Olivia Brown', role: 'UI Designer', level: 'Today', customer: 'Michael Lee', amount: '$230.75', status: 'Cancelled' }, { id: '#3004', date: 'Jan 4, 2022', name: 'Noah Davis', role: 'DevOps Engineer', level: 'Today', customer: 'Emily Clark', amount: '$59.99', status: 'Completed' }, { id: '#3005', date: 'Jan 5, 2022', name: 'Ava Martinez', role: 'Product Manager', level: 'Today', customer: 'Daniel Harris', amount: '$410.00', status: 'Pending' }, { id: '#3006', date: 'Jan 6, 2022', name: 'William Garcia', role: 'QA Engineer', level: 'Today', customer: 'Sophia Lewis', amount: '$150.20', status: 'Completed' }, { id: '#3007', date: 'Jan 7, 2022', name: 'Isabella Rodriguez', role: 'Business Analyst', level: 'Today', customer: 'James Walker', amount: '$78.40', status: 'Pending' }, { id: '#3008', date: 'Jan 8, 2022', name: 'James Wilson', role: 'Fullstack Developer', level: 'Today', customer: 'Mia Hall', amount: '$300.00', status: 'Completed' }, { id: '#3009', date: 'Jan 9, 2022', name: 'Sophia Anderson', role: 'UX Researcher', level: 'Today', customer: 'Benjamin Allen', amount: '$95.60', status: 'Cancelled' }, { id: '#3010', date: 'Jan 10, 2022', name: 'Benjamin Thomas', role: 'Mobile Developer', level: 'Today', customer: 'Charlotte Young', amount: '$210.10', status: 'Completed' }, { id: '#3011', date: 'Jan 11, 2022', name: 'Mia Taylor', role: 'Data Analyst', level: 'Today', customer: 'Lucas King', amount: '$180.00', status: 'Pending' }, { id: '#3012', date: 'Jan 12, 2022', name: 'Lucas Moore', role: 'Cloud Engineer', level: 'Today', customer: 'Amelia Scott', amount: '$420.75', status: 'Completed' }, { id: '#3013', date: 'Jan 13, 2022', name: 'Charlotte Jackson', role: 'Security Engineer', level: 'Today', customer: 'Elijah Green', amount: '$65.90', status: 'Cancelled' }, { id: '#3014', date: 'Jan 14, 2022', name: 'Elijah Martin', role: 'Technical Lead', level: 'Today', customer: 'Harper Adams', amount: '$510.30', status: 'Completed' }, { id: '#3015', date: 'Jan 15, 2022', name: 'Amelia Lee', role: 'Scrum Master', level: 'Today', customer: 'Alexander Baker', amount: '$99.99', status: 'Pending' }, { id: '#3016', date: 'Jan 16, 2022', name: 'Harper Perez', role: 'Frontend Developer', level: 'Today', customer: 'Ella Nelson', amount: '$275.45', status: 'Completed' }, { id: '#3017', date: 'Jan 17, 2022', name: 'Alexander White', role: 'Backend Developer', level: 'Today', customer: 'Matthew Carter', amount: '$340.00', status: 'Pending' }, { id: '#3018', date: 'Jan 18, 2022', name: 'Ella Harris', role: 'UI Designer', level: 'Today', customer: 'Avery Mitchell', amount: '$88.80', status: 'Completed' }, { id: '#3019', date: 'Jan 19, 2022', name: 'Matthew Clark', role: 'DevOps Engineer', level: 'Today', customer: 'Evelyn Perez', amount: '$190.25', status: 'Cancelled' }, { id: '#3020', date: 'Jan 20, 2022', name: 'Avery Lewis', role: 'Product Manager', level: 'Today', customer: 'Henry Roberts', amount: '$600.00', status: 'Completed' }, { id: '#3021', date: 'Jan 21, 2022', name: 'Evelyn Walker', role: 'QA Engineer', level: 'Today', customer: 'Luna Turner', amount: '$72.30', status: 'Pending' }, { id: '#3022', date: 'Jan 22, 2022', name: 'Henry Hall', role: 'Business Analyst', level: 'Today', customer: 'Jack Phillips', amount: '$310.40', status: 'Completed' }, { id: '#3023', date: 'Jan 23, 2022', name: 'Luna Allen', role: 'Fullstack Developer', level: 'Today', customer: 'Sofia Campbell', amount: '$145.00', status: 'Cancelled' }, { id: '#3024', date: 'Jan 24, 2022', name: 'Jack Young', role: 'UX Researcher', level: 'Today', customer: 'David Parker', amount: '$260.70', status: 'Completed' }, { id: '#3025', date: 'Jan 25, 2022', name: 'Sofia Hernandez', role: 'Mobile Developer', level: 'Today', customer: 'Grace Evans', amount: '$89.10', status: 'Pending' }, { id: '#3026', date: 'Jan 26, 2022', name: 'David King', role: 'Data Analyst', level: 'Today', customer: 'Samuel Edwards', amount: '$410.90', status: 'Completed' }, { id: '#3027', date: 'Jan 27, 2022', name: 'Grace Wright', role: 'Cloud Engineer', level: 'Today', customer: 'Chloe Collins', amount: '$130.55', status: 'Cancelled' }, { id: '#3028', date: 'Jan 28, 2022', name: 'Samuel Scott', role: 'Security Engineer', level: 'Today', customer: 'Victoria Stewart', amount: '$555.00', status: 'Completed' }, { id: '#3029', date: 'Jan 29, 2022', name: 'Chloe Green', role: 'Technical Lead', level: 'Today', customer: 'Nathan Morris', amount: '$205.25', status: 'Pending' }, { id: '#3030', date: 'Jan 30, 2022', name: 'Nathan Adams', role: 'Scrum Master', level: 'Today', customer: 'Zoe Rogers', amount: '$320.80', status: 'Completed' }, ]
|
|
6297
6367
|
*/
|
|
6298
6368
|
"data"?: any[];
|
|
6369
|
+
/**
|
|
6370
|
+
* @default [ { label: 'View', action: 'view', icon: 'assets/view.svg', disabled: false }, { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', disabled: false }, { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: true }, ]
|
|
6371
|
+
*/
|
|
6372
|
+
"dropdownOptions"?: DropdownOption[];
|
|
6373
|
+
/**
|
|
6374
|
+
* @default { mainText: 'No data available', supportingText: 'Try adjusting your filters or check back later.', color: 'gray', illustrationIcon: 'assets/alert-circle.svg', theme: 'light', }
|
|
6375
|
+
*/
|
|
6376
|
+
"emptyStateConfig"?: { mainText: string; supportingText?: string; color?: GeneralColors; illustrationIcon?: string; theme?: ThemeTypes; primaryButtonIcon?: string };
|
|
6377
|
+
"onDateChange"?: (event: GbTableCustomEvent<string | string[]>) => void;
|
|
6378
|
+
"onInputValueChanged"?: (event: GbTableCustomEvent<void>) => void;
|
|
6299
6379
|
"onPageItemSelected"?: (event: GbTableCustomEvent<{ pageSize: any; pageNumber: number }>) => void;
|
|
6300
6380
|
"onRowActionClick"?: (event: GbTableCustomEvent<{ action: string; row: any }>) => void;
|
|
6381
|
+
"onSelectionChanged"?: (event: GbTableCustomEvent<any[]>) => void;
|
|
6301
6382
|
/**
|
|
6302
|
-
* @default
|
|
6383
|
+
* @default { paginationMode: 'internal', entriesDropdownMenuPosition: 'top', currentPage: 1, pageSize: 10, totalItems: null, }
|
|
6384
|
+
*/
|
|
6385
|
+
"paginationConfig"?: {
|
|
6386
|
+
paginationMode: 'internal' | 'external';
|
|
6387
|
+
entriesDropdownMenuPosition: 'top' | 'bottom';
|
|
6388
|
+
currentPage?: number;
|
|
6389
|
+
pageSize?: number;
|
|
6390
|
+
totalItems?: number;
|
|
6391
|
+
};
|
|
6392
|
+
/**
|
|
6393
|
+
* @default [ { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' }, // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' }, // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' }, ]
|
|
6303
6394
|
*/
|
|
6304
6395
|
"rowActions"?: RowAction[];
|
|
6396
|
+
/**
|
|
6397
|
+
* @default true
|
|
6398
|
+
*/
|
|
6399
|
+
"showActionsColumn"?: boolean;
|
|
6305
6400
|
/**
|
|
6306
6401
|
* @default false
|
|
6307
6402
|
*/
|
|
6403
|
+
"showCheckbox"?: boolean;
|
|
6404
|
+
/**
|
|
6405
|
+
* @default true
|
|
6406
|
+
*/
|
|
6308
6407
|
"stickyFirstColumn"?: boolean;
|
|
6309
6408
|
/**
|
|
6310
6409
|
* @default true
|
|
6311
6410
|
*/
|
|
6312
6411
|
"stickyLastColumn"?: boolean;
|
|
6412
|
+
/**
|
|
6413
|
+
* @default { tableHeading: false, tableHeadingLabel: 'Suspicious outflows', showDateFilter: true, showFilter: true, showColumnOptions: true, showSearch: true, showExport: true, showRefreshButton: true, datePickerMode: 'single', }
|
|
6414
|
+
*/
|
|
6415
|
+
"tableHeaderConfig"?: {
|
|
6416
|
+
tableHeading: boolean;
|
|
6417
|
+
tableHeadingLabel: string;
|
|
6418
|
+
showDateFilter: boolean;
|
|
6419
|
+
showFilter: boolean;
|
|
6420
|
+
showColumnOptions: boolean;
|
|
6421
|
+
showSearch: boolean;
|
|
6422
|
+
showExport: boolean;
|
|
6423
|
+
showRefreshButton: boolean;
|
|
6424
|
+
datePickerMode: 'single' | 'range';
|
|
6425
|
+
};
|
|
6313
6426
|
}
|
|
6314
6427
|
interface GbTableCell {
|
|
6315
6428
|
"type"?: TableCellTypes;
|
|
@@ -6328,7 +6441,7 @@ declare namespace LocalJSX {
|
|
|
6328
6441
|
*/
|
|
6329
6442
|
"datePickerDisabled"?: boolean;
|
|
6330
6443
|
/**
|
|
6331
|
-
* @default '
|
|
6444
|
+
* @default 'left'
|
|
6332
6445
|
*/
|
|
6333
6446
|
"datePickerDropdownPosition"?: CloseButtonPositions;
|
|
6334
6447
|
/**
|
|
@@ -6415,7 +6528,7 @@ declare namespace LocalJSX {
|
|
|
6415
6528
|
*/
|
|
6416
6529
|
"showSearch"?: boolean;
|
|
6417
6530
|
/**
|
|
6418
|
-
* @default
|
|
6531
|
+
* @default false
|
|
6419
6532
|
*/
|
|
6420
6533
|
"tableHeading"?: boolean;
|
|
6421
6534
|
/**
|
|
@@ -73,13 +73,18 @@ export interface Notification {
|
|
|
73
73
|
}
|
|
74
74
|
export type IllustrationTypes = 'cloud' | 'box' | 'documents' | 'credit_card';
|
|
75
75
|
export type PatternTypes = 'circles' | 'grid' | 'grid_dot' | 'squares';
|
|
76
|
+
export type MobilePosition = 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right';
|
|
76
77
|
export interface TableColumn {
|
|
77
78
|
key: string;
|
|
78
79
|
label: string;
|
|
79
80
|
width?: string;
|
|
80
81
|
align?: 'left' | 'center' | 'right';
|
|
81
82
|
stickyRight?: boolean;
|
|
83
|
+
helpIcon?: boolean;
|
|
82
84
|
sortable?: boolean;
|
|
85
|
+
sortType?: 'string' | 'number' | 'date';
|
|
86
|
+
sortComparator?: (a: any, b: any) => number;
|
|
87
|
+
render?: (row: any) => any;
|
|
83
88
|
cellComponent?: string;
|
|
84
89
|
cellActionType?: 'dropdown' | 'void';
|
|
85
90
|
cellProps?: {
|
|
@@ -87,10 +92,21 @@ export interface TableColumn {
|
|
|
87
92
|
};
|
|
88
93
|
cellSlots?: JSX.Element | ((row: any) => JSX.Element);
|
|
89
94
|
onClick?: () => void;
|
|
95
|
+
mobile?: {
|
|
96
|
+
position?: MobilePosition;
|
|
97
|
+
};
|
|
90
98
|
}
|
|
91
99
|
export interface RowAction {
|
|
92
100
|
label: string;
|
|
93
101
|
icon?: string;
|
|
94
102
|
action: string;
|
|
95
103
|
disabled?: boolean;
|
|
104
|
+
type?: 'button' | 'dropdown';
|
|
105
|
+
}
|
|
106
|
+
export interface DropdownOption {
|
|
107
|
+
label: string;
|
|
108
|
+
icon?: string;
|
|
109
|
+
action: string;
|
|
110
|
+
disabled?: boolean;
|
|
96
111
|
}
|
|
112
|
+
export type PortalPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|