globuswebcomponents 2.9.2 → 2.10.2

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 (76) hide show
  1. package/dist/cjs/gb-avatar_44.cjs.entry.js +151 -101
  2. package/dist/cjs/globuscomponents.cjs.js +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
  5. package/dist/collection/components/gb-button/readme.md +2 -0
  6. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.css +0 -1
  7. package/dist/collection/components/gb-filter-modal/gb-filter-modal.css +4 -0
  8. package/dist/collection/components/gb-filter-modal/gb-filter-modal.js +2 -2
  9. package/dist/collection/components/gb-filter-modal/gb-filter-modal.js.map +1 -1
  10. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +16 -4
  11. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  12. package/dist/collection/components/gb-input-field/gb-input-field.js +14 -2
  13. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  14. package/dist/collection/components/gb-table/gb-table.css +26 -13
  15. package/dist/collection/components/gb-table/gb-table.js +158 -97
  16. package/dist/collection/components/gb-table/gb-table.js.map +1 -1
  17. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +1 -1
  18. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js.map +1 -1
  19. package/dist/collection/models/reusableModels.js.map +1 -1
  20. package/dist/components/gb-avatar-dropdown.js +1 -1
  21. package/dist/components/gb-contact-help-dropdown.js +1 -1
  22. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  23. package/dist/components/gb-filter-modal.js +1 -1
  24. package/dist/components/gb-header.js +5 -5
  25. package/dist/components/gb-help-dropdown.js +1 -1
  26. package/dist/components/gb-input-dropdown.js +1 -1
  27. package/dist/components/gb-input-field.js +1 -1
  28. package/dist/components/gb-nav-bar.js +1 -1
  29. package/dist/components/gb-pagination.js +1 -1
  30. package/dist/components/gb-table-header.js +1 -1
  31. package/dist/components/gb-table.js +126 -98
  32. package/dist/components/gb-table.js.map +1 -1
  33. package/dist/components/gb-toggle-base.js +1 -1
  34. package/dist/components/gb-toggle.js +1 -1
  35. package/dist/components/{p-3Du3w-pS.js → p-6u1HaWoe.js} +3 -3
  36. package/dist/components/p-6u1HaWoe.js.map +1 -0
  37. package/dist/components/{p-Co457UXm.js → p-B1U9qYyf.js} +3 -3
  38. package/dist/components/{p-Co457UXm.js.map → p-B1U9qYyf.js.map} +1 -1
  39. package/dist/components/{p-CBwlEMQ5.js → p-B1q7GSUP.js} +19 -7
  40. package/dist/components/p-B1q7GSUP.js.map +1 -0
  41. package/dist/components/{p-BAGZEYW2.js → p-B8V2b584.js} +5 -5
  42. package/dist/components/p-B8V2b584.js.map +1 -0
  43. package/dist/components/{p-VqHJf1uS.js → p-BDEe2hS1.js} +4 -4
  44. package/dist/components/{p-VqHJf1uS.js.map → p-BDEe2hS1.js.map} +1 -1
  45. package/dist/components/{p-fASCuyDJ.js → p-CgRjoJ7j.js} +3 -3
  46. package/dist/components/{p-fASCuyDJ.js.map → p-CgRjoJ7j.js.map} +1 -1
  47. package/dist/components/{p-_h_4WkXb.js → p-D9WlXXTb.js} +3 -3
  48. package/dist/components/{p-_h_4WkXb.js.map → p-D9WlXXTb.js.map} +1 -1
  49. package/dist/components/{p-Dfb-OutP.js → p-DIorYzCL.js} +3 -3
  50. package/dist/components/{p-Dfb-OutP.js.map → p-DIorYzCL.js.map} +1 -1
  51. package/dist/components/{p-btCkXoB_.js → p-Dy0A4tjX.js} +3 -3
  52. package/dist/components/{p-btCkXoB_.js.map → p-Dy0A4tjX.js.map} +1 -1
  53. package/dist/components/{p-CT7vYQvP.js → p-FycGmteh.js} +3 -3
  54. package/dist/components/{p-CT7vYQvP.js.map → p-FycGmteh.js.map} +1 -1
  55. package/dist/components/p-cHn6O-Kf.js.map +1 -1
  56. package/dist/components/{p-BJOkCh_x.js → p-xpOcvUAn.js} +16 -4
  57. package/dist/components/p-xpOcvUAn.js.map +1 -0
  58. package/dist/docs.json +64 -17
  59. package/dist/esm/gb-avatar_44.entry.js +151 -101
  60. package/dist/esm/globuscomponents.js +1 -1
  61. package/dist/esm/loader.js +1 -1
  62. package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
  63. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  64. package/dist/globuscomponents/{p-2fe0e837.entry.js → p-c75bc3c7.entry.js} +2 -2
  65. package/dist/globuscomponents/p-c75bc3c7.entry.js.map +1 -0
  66. package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
  67. package/dist/globuscomponents/readme.md +2 -0
  68. package/dist/types/components/gb-table/gb-table.d.ts +10 -1
  69. package/dist/types/components.d.ts +32 -16
  70. package/dist/types/models/reusableModels.d.ts +2 -0
  71. package/package.json +1 -1
  72. package/dist/components/p-3Du3w-pS.js.map +0 -1
  73. package/dist/components/p-BAGZEYW2.js.map +0 -1
  74. package/dist/components/p-BJOkCh_x.js.map +0 -1
  75. package/dist/components/p-CBwlEMQ5.js.map +0 -1
  76. package/dist/globuscomponents/p-2fe0e837.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"gb-table.js","sourceRoot":"","sources":["../../../src/components/gb-table/gb-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxG,OAAO,EASL,SAAS,GAIV,MAAM,6BAA6B,CAAC;AAOrC,MAAM,OAAO,OAAO;IALpB;QAMU,YAAO,GAAY,KAAK,CAAC;QACzB,YAAO,GAAkB;YAC/B,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAA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AC,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAI,CAC1E;YACA,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAChD,wGACkC,IAAI,CAAC,gBAAgB,CAAC,2BAA2B,eACtE,IAAI,CAAC,gBAAgB,CAAC,QAAQ,kBAC3B,IAAI,CAAC,gBAAgB,CAAC,cAAc,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,WAAW,iBACnH,IAAI,CAAC,UAAU,EAC5B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,GACrC,CAClB,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Prop, State, h, Fragment, Watch, Listen } from '@stencil/core';\r\nimport {\r\n DropdownOption,\r\n FileIconStyles,\r\n FileIconTypes,\r\n FilterConfig,\r\n GeneralColors,\r\n GeneralSizes,\r\n IllustrationTypes,\r\n RowAction,\r\n StateEnum,\r\n StateType,\r\n TableColumn,\r\n ThemeTypes,\r\n} from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-table',\r\n styleUrl: 'gb-table.css',\r\n shadow: true,\r\n})\r\nexport class GbTable {\r\n @Prop() loading: boolean = false;\r\n @Prop() columns: TableColumn[] = [\r\n { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } },\r\n { key: 'date', label: 'Date', mobile: { position: 'bottom_left' } },\r\n { key: 'name', label: 'Name', sortable: true, sortType: 'string', helpIcon: true, supportingText: row => row.role, mobile: { position: 'top_right' } },\r\n { key: 'role', label: 'Role' },\r\n { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number' },\r\n {\r\n key: 'status',\r\n label: 'Status',\r\n cellComponent: 'gb-badge',\r\n cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),\r\n cellSlots: {\r\n default: {\r\n tag: 'p',\r\n content: row => row.status, // Get status value from row\r\n },\r\n },\r\n },\r\n ];\r\n @Prop() data: any[] = [\r\n // {\r\n // id: '#30011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111',\r\n // date: 'Jan 1, 2022',\r\n // name: 'Emma Johnson',\r\n // role: 'Frontend Developer',\r\n // level: 'Today',\r\n // customer: 'John Doe',\r\n // amount: '$120.00',\r\n // status: 'Completed',\r\n // },\r\n { id: '#3002', date: 'Jan 2, 2022', name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n { id: '#3003', date: 'Jan 3, 2022', name: 'Olivia Brown', role: 'UI Designer', level: 'Today', customer: 'Michael Lee', amount: '$230.75', status: 'Cancelled' },\r\n { id: '#3004', date: 'Jan 4, 2022', name: 'Noah Davis', role: 'DevOps Engineer', level: 'Today', customer: 'Emily Clark', amount: '$59.99', status: 'Completed' },\r\n { id: '#3005', date: 'Jan 5, 2022', name: 'Ava Martinez', role: 'Product Manager', level: 'Today', customer: 'Daniel Harris', amount: '$410.00', status: 'Pending' },\r\n { id: '#3006', date: 'Jan 6, 2022', name: 'William Garcia', role: 'QA Engineer', level: 'Today', customer: 'Sophia Lewis', amount: '$150.20', status: 'Completed' },\r\n { id: '#3007', date: 'Jan 7, 2022', name: 'Isabella Rodriguez', role: 'Business Analyst', level: 'Today', customer: 'James Walker', amount: '$78.40', status: 'Pending' },\r\n { id: '#3008', date: 'Jan 8, 2022', name: 'James Wilson', role: 'Fullstack Developer', level: 'Today', customer: 'Mia Hall', amount: '$300.00', status: 'Completed' },\r\n { id: '#3009', date: 'Jan 9, 2022', name: 'Sophia Anderson', role: 'UX Researcher', level: 'Today', customer: 'Benjamin Allen', amount: '$95.60', status: 'Cancelled' },\r\n { id: '#3010', date: 'Jan 10, 2022', name: 'Benjamin Thomas', role: 'Mobile Developer', level: 'Today', customer: 'Charlotte Young', amount: '$210.10', status: 'Completed' },\r\n { id: '#3011', date: 'Jan 11, 2022', name: 'Mia Taylor', role: 'Data Analyst', level: 'Today', customer: 'Lucas King', amount: '$180.00', status: 'Pending' },\r\n { id: '#3012', date: 'Jan 12, 2022', name: 'Lucas Moore', role: 'Cloud Engineer', level: 'Today', customer: 'Amelia Scott', amount: '$420.75', status: 'Completed' },\r\n { id: '#3013', date: 'Jan 13, 2022', name: 'Charlotte Jackson', role: 'Security Engineer', level: 'Today', customer: 'Elijah Green', amount: '$65.90', status: 'Cancelled' },\r\n { id: '#3014', date: 'Jan 14, 2022', name: 'Elijah Martin', role: 'Technical Lead', level: 'Today', customer: 'Harper Adams', amount: '$510.30', status: 'Completed' },\r\n { id: '#3015', date: 'Jan 15, 2022', name: 'Amelia Lee', role: 'Scrum Master', level: 'Today', customer: 'Alexander Baker', amount: '$99.99', status: 'Pending' },\r\n { id: '#3016', date: 'Jan 16, 2022', name: 'Harper Perez', role: 'Frontend Developer', level: 'Today', customer: 'Ella Nelson', amount: '$275.45', status: 'Completed' },\r\n { id: '#3017', date: 'Jan 17, 2022', name: 'Alexander White', role: 'Backend Developer', level: 'Today', customer: 'Matthew Carter', amount: '$340.00', status: 'Pending' },\r\n { id: '#3018', date: 'Jan 18, 2022', name: 'Ella Harris', role: 'UI Designer', level: 'Today', customer: 'Avery Mitchell', amount: '$88.80', status: 'Completed' },\r\n { id: '#3019', date: 'Jan 19, 2022', name: 'Matthew Clark', role: 'DevOps Engineer', level: 'Today', customer: 'Evelyn Perez', amount: '$190.25', status: 'Cancelled' },\r\n { id: '#3020', date: 'Jan 20, 2022', name: 'Avery Lewis', role: 'Product Manager', level: 'Today', customer: 'Henry Roberts', amount: '$600.00', status: 'Completed' },\r\n { id: '#3021', date: 'Jan 21, 2022', name: 'Evelyn Walker', role: 'QA Engineer', level: 'Today', customer: 'Luna Turner', amount: '$72.30', status: 'Pending' },\r\n { id: '#3022', date: 'Jan 22, 2022', name: 'Henry Hall', role: 'Business Analyst', level: 'Today', customer: 'Jack Phillips', amount: '$310.40', status: 'Completed' },\r\n { id: '#3023', date: 'Jan 23, 2022', name: 'Luna Allen', role: 'Fullstack Developer', level: 'Today', customer: 'Sofia Campbell', amount: '$145.00', status: 'Cancelled' },\r\n { id: '#3024', date: 'Jan 24, 2022', name: 'Jack Young', role: 'UX Researcher', level: 'Today', customer: 'David Parker', amount: '$260.70', status: 'Completed' },\r\n { id: '#3025', date: 'Jan 25, 2022', name: 'Sofia Hernandez', role: 'Mobile Developer', level: 'Today', customer: 'Grace Evans', amount: '$89.10', status: 'Pending' },\r\n { id: '#3026', date: 'Jan 26, 2022', name: 'David King', role: 'Data Analyst', level: 'Today', customer: 'Samuel Edwards', amount: '$410.90', status: 'Completed' },\r\n { id: '#3027', date: 'Jan 27, 2022', name: 'Grace Wright', role: 'Cloud Engineer', level: 'Today', customer: 'Chloe Collins', amount: '$130.55', status: 'Cancelled' },\r\n { id: '#3028', date: 'Jan 28, 2022', name: 'Samuel Scott', role: 'Security Engineer', level: 'Today', customer: 'Victoria Stewart', amount: '$555.00', status: 'Completed' },\r\n { id: '#3029', date: 'Jan 29, 2022', name: 'Chloe Green', role: 'Technical Lead', level: 'Today', customer: 'Nathan Morris', amount: '$205.25', status: 'Pending' },\r\n { id: '#3030', date: 'Jan 30, 2022', name: 'Nathan Adams', role: 'Scrum Master', level: 'Today', customer: 'Zoe Rogers', amount: '$320.80', status: 'Completed' },\r\n ];\r\n @Prop() tableHeaderConfig: {\r\n tableHeading?: boolean;\r\n tableHeadingLabel?: string;\r\n showDateFilter?: boolean;\r\n showFilter?: boolean;\r\n showColumnOptions?: boolean;\r\n showSearch?: boolean;\r\n showExport?: boolean;\r\n showRefreshButton?: boolean;\r\n showEntireData?: boolean;\r\n showLayoutToggle?: boolean;\r\n filterState?: 'default' | 'applied';\r\n filterCount?: number;\r\n exportButtonState?: 'default' | 'disabled';\r\n pdfState?: 'default' | 'disabled';\r\n csvState?: 'default' | 'disabled';\r\n datePickerMode?: 'single' | 'range';\r\n inputPlaceholder?: string;\r\n datePickerPlaceholder?: string;\r\n } = {\r\n tableHeading: false,\r\n tableHeadingLabel: 'Suspicious outflows',\r\n showDateFilter: true,\r\n showFilter: true,\r\n showColumnOptions: true,\r\n showSearch: true,\r\n showExport: true,\r\n showRefreshButton: false,\r\n datePickerMode: 'range',\r\n inputPlaceholder: 'Transaction reference',\r\n };\r\n @Prop() paginationConfig: {\r\n paginationMode: 'internal' | 'external';\r\n entriesDropdownMenuPosition: 'top' | 'bottom';\r\n currentPage?: number;\r\n pageSize?: number;\r\n totalItems?: number;\r\n } = {\r\n paginationMode: 'internal',\r\n entriesDropdownMenuPosition: 'top',\r\n currentPage: 1,\r\n pageSize: 10,\r\n };\r\n @Prop() emptyStateConfig: {\r\n size: GeneralSizes;\r\n mainText: string;\r\n supportingText?: string;\r\n color?: GeneralColors;\r\n illustrationIcon?: string;\r\n illustrationStyle: IllustrationTypes;\r\n background: boolean;\r\n backgroundType: 'grid' | 'circles';\r\n theme?: ThemeTypes;\r\n primaryButtonState?: StateType;\r\n primaryButtonIconLeadingSwap?: string;\r\n primaryButtonIconTrailingSwap?: string;\r\n secondaryButtonIconLeadingSwap?: string;\r\n secondaryButtonIconTrailingSwap?: string;\r\n primaryButtonText?: string;\r\n secondaryButtonText?: string;\r\n fileStyle?: FileIconStyles;\r\n fileType?: FileIconTypes;\r\n featuredIconSwap?: string;\r\n } = {\r\n size: 'md',\r\n background: true,\r\n backgroundType: 'grid',\r\n mainText: 'No data available',\r\n supportingText: 'Try adjusting your filters or check back later.',\r\n color: 'gray',\r\n illustrationIcon: 'assets/alert-circle.svg',\r\n illustrationStyle: 'box',\r\n theme: 'light',\r\n };\r\n @Prop() filterConfig: FilterConfig = {\r\n title: 'Filter',\r\n enableDateRange: true,\r\n showClearButton: true,\r\n additionalFields: [\r\n {\r\n tag: 'gb-input-dropdown',\r\n key: 'approvalStatus',\r\n event: 'dropdownItemSelected',\r\n props: {\r\n type: 'default',\r\n showLabel: true,\r\n label: 'Approval status',\r\n placeholder: 'Select approval status',\r\n items: ['Draft', 'Pending', 'Approved', 'Rejected'],\r\n destructive: false,\r\n },\r\n default: {\r\n value: [],\r\n },\r\n },\r\n {\r\n tag: 'gb-slider',\r\n key: 'amountRange',\r\n event: 'thumbValueChanged',\r\n props: {\r\n showHeading: true,\r\n heading: 'Amount range',\r\n },\r\n default: {\r\n leftControl: 50,\r\n rightControl: 100,\r\n },\r\n },\r\n {\r\n tag: 'gb-input-dropdown',\r\n key: 'disbursementStatus',\r\n event: 'dropdownItemSelected',\r\n props: {\r\n type: 'default',\r\n showLabel: true,\r\n label: 'Disbursement status',\r\n placeholder: 'Select disbursement status',\r\n items: ['Disbursed', 'Not Disbursed'],\r\n },\r\n },\r\n // {\r\n // tag: 'gb-input-dropdown',\r\n // key: 'facilityCategory',\r\n // props: {\r\n // showLabel: true,\r\n // label: 'Facility category',\r\n // placeholder: 'Select facility category',\r\n // items: ['Retail', 'Commercial', 'Corporate'],\r\n // },\r\n // },\r\n ],\r\n initialValues: {\r\n pageNumber: 1,\r\n pageSize: 10,\r\n },\r\n };\r\n @Prop() showActionsColumn: boolean = true;\r\n @Prop() rowActions: RowAction[] = [\r\n { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n ];\r\n @Prop() dropdownOptions?: DropdownOption[] = [\r\n { label: 'View', action: 'view', icon: 'assets/view.svg', disabled: false },\r\n { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', disabled: false },\r\n { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: true },\r\n ];\r\n @Prop() stickyFirstColumn: boolean = true;\r\n @Prop() stickyLastColumn: boolean = true;\r\n @Prop() actionsType: 'none' | 'dropdown' | '' = 'none';\r\n @Prop() showCheckbox: boolean = true;\r\n @Prop() tableHeadColor: 'gray' | 'blue' = 'gray';\r\n @State() internalCurrentPage: number = 1;\r\n @State() internalPageSize: number = 10;\r\n @State() openRowIndex: number | null = null;\r\n @State() dropdownPlacement: 'top-end' | 'bottom-end' = 'bottom-end';\r\n @State() sortKey?: string;\r\n @State() sortDirection: 'asc' | 'desc' = 'asc';\r\n @State() selectedRowIds: Set<string> = new Set();\r\n @State() breakpoint: 'mobile' | 'desktop' = 'desktop';\r\n @State() isMobile: boolean = false;\r\n @State() isScrollable: boolean = false;\r\n @State() showColumnsPanel = false;\r\n @State() showFilterModal = false;\r\n @State() internalColumns: TableColumn[];\r\n @State() modalPosition = { x: 0, y: 0 };\r\n @State() showFilterModalInternal: boolean = false;\r\n @State() internalLoading: boolean = false;\r\n @Event() rowActionClick: EventEmitter<{ action: string; row: any }>;\r\n @Event() pageItemSelected: EventEmitter<{ pageSize: any; pageNumber: number }>;\r\n @Event() selectionChanged: EventEmitter<any[]>;\r\n @Event() inputValueChanged: EventEmitter<void>;\r\n @Event() dateChange: EventEmitter<string | string[]>;\r\n @Event() exportClicked: EventEmitter<{ dataType: string; exportType: string }>;\r\n @Event() rowClicked: EventEmitter<{ row: any }>;\r\n\r\n private isDraggingModal = false;\r\n private dragOffset = { x: 0, y: 0 };\r\n private actionButtonRefs: HTMLGbButtonElement[] = [];\r\n private currentAnchorEl?: HTMLElement;\r\n private scrollContainer?: HTMLDivElement;\r\n private draggedIndex: number | null = null;\r\n private dropdownRef: HTMLDivElement;\r\n\r\n componentWillLoad() {\r\n this.initializeColumns(this.columns);\r\n\r\n this.internalLoading = this.loading;\r\n }\r\n\r\n componentWillRender() {\r\n this.checkViewport();\r\n window.addEventListener('resize', this.checkViewport.bind(this));\r\n }\r\n\r\n componentDidRender() {\r\n requestAnimationFrame(() => this.checkScrollability());\r\n }\r\n\r\n @Listen('resize', { target: 'window' })\r\n checkViewport() {\r\n this.isMobile = window.innerWidth <= 768;\r\n this.checkScrollability();\r\n }\r\n\r\n private checkScrollability() {\r\n if (!this.scrollContainer) return;\r\n\r\n const { scrollWidth, clientWidth } = this.scrollContainer;\r\n const newScrollable = scrollWidth > clientWidth;\r\n\r\n if (newScrollable !== this.isScrollable) {\r\n this.isScrollable = newScrollable; // only update if different\r\n }\r\n }\r\n\r\n private handleAction(action: string, row: any) {\r\n this.rowActionClick.emit({ action, row });\r\n }\r\n\r\n private renderCell(col: TableColumn, row: any) {\r\n if (col.cellComponent) {\r\n const Tag = col.cellComponent as keyof HTMLElementTagNameMap;\r\n\r\n // resolve props\r\n const props = typeof col.cellProps === 'function' ? col.cellProps(row) : col.cellProps || {};\r\n\r\n // resolve default slot content\r\n let defaultSlotContent: any = null;\r\n if (col.cellSlots?.default?.content) {\r\n const content = col.cellSlots.default.content(row);\r\n const slotTag = col.cellSlots.default.tag;\r\n defaultSlotContent = slotTag ? h(slotTag, {}, content) : content;\r\n }\r\n\r\n // resolve named slots\r\n const namedSlotElements: any[] = [];\r\n if (col.cellSlots?.named) {\r\n for (const [slotName, slotConfig] of Object.entries(col.cellSlots.named)) {\r\n const content = slotConfig.content(row);\r\n const element = h(slotConfig.tag, { slot: slotName }, content);\r\n namedSlotElements.push(element);\r\n }\r\n }\r\n\r\n // render component with slots\r\n const allChildren = [defaultSlotContent, ...namedSlotElements].filter(child => child != null);\r\n\r\n return h(Tag, props, allChildren.length > 0 ? allChildren : undefined);\r\n }\r\n\r\n if (col.supportingText) {\r\n const primary = row[col.key];\r\n\r\n const supporting = typeof col.supportingText === 'function' ? col.supportingText(row) : col.supportingText ? row[col.supportingText] : undefined;\r\n\r\n return (\r\n <div class=\"text_and_supporting_text\">\r\n <div class=\"primary\">\r\n <p class=\"text-sm-medium\">{primary}</p>\r\n </div>\r\n {supporting && (\r\n <div class=\"supporting\">\r\n <p class=\"text-xs-regular\">{supporting}</p>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n\r\n return <p class=\"body_text text-sm-regular\">{row[col.key]}</p>;\r\n }\r\n\r\n emitPaginationDetails({ detail }) {\r\n this.pageItemSelected.emit(detail);\r\n }\r\n\r\n private async toggleDropdown(rowIndex: number) {\r\n if (this.openRowIndex === rowIndex) {\r\n this.openRowIndex = null;\r\n return;\r\n }\r\n\r\n const buttonInstance = this.actionButtonRefs[rowIndex];\r\n const nativeBtn = await buttonInstance?.getNativeButton();\r\n\r\n this.currentAnchorEl = nativeBtn ?? undefined;\r\n this.openRowIndex = rowIndex;\r\n\r\n // Calculate available space for dropdown positioning\r\n requestAnimationFrame(() => this.calculateDropdownPlacement(nativeBtn, this.dropdownRef));\r\n }\r\n\r\n private calculateDropdownPlacement(buttonElement?: HTMLElement, dropdownElement?: HTMLDivElement) {\r\n if (!buttonElement || !dropdownElement) return;\r\n\r\n const buttonRect = buttonElement.getBoundingClientRect();\r\n const tableRect = this.scrollContainer.getBoundingClientRect();\r\n const dropdownHeight = requestAnimationFrame(() => dropdownElement.scrollHeight);\r\n\r\n // Space within the TABLE, not viewport\r\n const spaceBelow = tableRect.bottom - buttonRect.bottom;\r\n const spaceAbove = buttonRect.top - tableRect.top;\r\n\r\n if (spaceBelow < dropdownHeight && spaceAbove > dropdownHeight) {\r\n this.dropdownPlacement = 'top-end';\r\n } else {\r\n this.dropdownPlacement = 'bottom-end';\r\n }\r\n }\r\n\r\n private onSort(col: TableColumn) {\r\n if (!col.sortable) return;\r\n\r\n if (this.sortKey === col.key) {\r\n this.sortDirection = this.sortDirection === 'asc' ? 'desc' : 'asc';\r\n } else {\r\n this.sortKey = col.key;\r\n this.sortDirection = 'asc';\r\n }\r\n }\r\n\r\n private get sortedData() {\r\n if (!this.sortKey) return this.data;\r\n\r\n const col = this.internalColumns.find(c => c.key === this.sortKey);\r\n if (!col) return this.data;\r\n\r\n return [...this.data].sort((a, b) => {\r\n let valA = a[this.sortKey!];\r\n let valB = b[this.sortKey!];\r\n\r\n // Null safety\r\n if (valA == null) return 1;\r\n if (valB == null) return -1;\r\n\r\n let result = 0;\r\n\r\n switch (col.sortType) {\r\n case 'number': {\r\n const numA = Number(String(valA).replace(/[^0-9.-]+/g, ''));\r\n const numB = Number(String(valB).replace(/[^0-9.-]+/g, ''));\r\n result = numA - numB;\r\n break;\r\n }\r\n\r\n case 'date': {\r\n const timeA = new Date(valA).getTime();\r\n const timeB = new Date(valB).getTime();\r\n result = timeA - timeB;\r\n break;\r\n }\r\n\r\n case 'string':\r\n default: {\r\n result = String(valA).localeCompare(String(valB), undefined, {\r\n sensitivity: 'base',\r\n });\r\n break;\r\n }\r\n }\r\n\r\n return this.sortDirection === 'asc' ? result : -result;\r\n });\r\n }\r\n\r\n private get allSelected() {\r\n return this.sortedData.length > 0 && this.selectedRowIds.size === this.sortedData.length;\r\n }\r\n\r\n private get isIndeterminate() {\r\n return this.selectedRowIds.size > 0 && this.selectedRowIds.size < this.sortedData.length;\r\n }\r\n\r\n private toggleAll() {\r\n if (this.allSelected) {\r\n this.selectedRowIds = new Set();\r\n } else {\r\n this.selectedRowIds = new Set(this.sortedData.map(row => row.id));\r\n }\r\n\r\n this.emitSelection();\r\n }\r\n\r\n private toggleRow(row: any) {\r\n const updated = new Set(this.selectedRowIds);\r\n\r\n if (updated.has(row.id)) {\r\n updated.delete(row.id);\r\n } else {\r\n updated.add(row.id);\r\n }\r\n\r\n this.selectedRowIds = updated;\r\n\r\n this.emitSelection();\r\n }\r\n\r\n private emitSelection() {\r\n const selected = this.sortedData.filter(row => this.selectedRowIds.has(row.id));\r\n\r\n this.selectionChanged.emit(selected);\r\n }\r\n\r\n private get displayedData() {\r\n if (!this.paginationConfig) {\r\n return this.sortedData;\r\n }\r\n\r\n if (this.paginationConfig.paginationMode === 'external') {\r\n return this.sortedData; // parent already paginated it\r\n }\r\n\r\n const start = (this.internalCurrentPage - 1) * this.internalPageSize;\r\n const end = start + this.internalPageSize;\r\n\r\n return this.sortedData.slice(start, end);\r\n }\r\n\r\n private handlePageChange = ({ detail }: any) => {\r\n const { pageNumber, pageSize } = detail;\r\n\r\n if (this.paginationConfig.paginationMode === 'internal') {\r\n this.internalCurrentPage = pageNumber;\r\n this.internalPageSize = pageSize;\r\n } else {\r\n this.pageItemSelected.emit(detail);\r\n }\r\n };\r\n\r\n private get totalPages() {\r\n if (!this.paginationConfig) return 1;\r\n\r\n const pageSize = this.paginationConfig.paginationMode === 'internal' ? this.internalPageSize : this.paginationConfig.pageSize;\r\n\r\n const totalItems = this.paginationConfig.paginationMode === 'external' ? this.paginationConfig.totalItems : this.sortedData.length;\r\n\r\n return Math.ceil(totalItems / pageSize);\r\n }\r\n\r\n @Watch('data')\r\n onDataChange(newValue: any[], _oldValue: any[]) {\r\n if (!newValue) return;\r\n\r\n this.data = newValue;\r\n }\r\n\r\n @Watch('totalItems')\r\n onTotalItemsChange(newValue: number, _oldValue: number) {\r\n if (!newValue || newValue < 1) return;\r\n\r\n this.paginationConfig.totalItems = Number(newValue);\r\n }\r\n\r\n @Watch('loading')\r\n onLoadingChange(newValue: boolean, _oldValue: boolean) {\r\n this.internalLoading = newValue;\r\n }\r\n\r\n private renderHeaderIcons(col: TableColumn) {\r\n return (\r\n <>\r\n {col.sortable && (\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"16\"\r\n height=\"16\"\r\n viewBox=\"0 0 16 16\"\r\n fill=\"none\"\r\n style={{\r\n transform: this.sortKey === col.key && this.sortDirection === 'desc' ? 'rotate(180deg)' : 'rotate(0deg)',\r\n opacity: this.sortKey === col.key ? '1' : '0.4',\r\n transition: 'transform 0.2s ease',\r\n }}\r\n >\r\n <path\r\n d=\"M7.99998 13.3332V2.6665M7.99998 13.3332C8.87837 13.3332 11.3333 9.99993 11.3333 9.99993M7.99998 13.3332C7.12158 13.3332 4.66663 9.9999 4.66663 9.9999\"\r\n stroke=\"var(--color-icon, #4B5565)\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n\r\n {col.helpIcon && (\r\n <gb-help-tooltip show-supporting-text=\"true\">\r\n <p slot=\"label\">This is a label</p>\r\n <p slot=\"supporting_text\">This is a supporting text</p>\r\n </gb-help-tooltip>\r\n )}\r\n </>\r\n );\r\n }\r\n\r\n renderDesktopView() {\r\n // compute table min-width to force horizontal scroll when > 5 columns\r\n const defaultColWidth = 160;\r\n let totalWidth = 0;\r\n\r\n this.internalColumns.forEach(col => {\r\n if (col.width) {\r\n const w = typeof col.width === 'number' ? col.width : parseInt(String(col.width), 10);\r\n totalWidth += Number.isFinite(w) ? w : defaultColWidth;\r\n } else {\r\n totalWidth += defaultColWidth;\r\n }\r\n });\r\n\r\n // const tableStyle = this.columns.length > 5 ? { minWidth: `${totalWidth}px` } : {};\r\n\r\n return (\r\n <div class={`table_scroll`} ref={el => (this.scrollContainer = el as HTMLDivElement)}>\r\n <table>\r\n <thead>\r\n <tr class=\"table_head_row\">\r\n {this.showCheckbox && (\r\n <th\r\n style={{ width: '15px' }}\r\n class={{\r\n checkbox: this.showCheckbox,\r\n sticky_left: this.stickyFirstColumn,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <gb-checkbox type=\"checkbox\" checked={this.allSelected} indeterminate={this.isIndeterminate} size=\"sm\" onClick={() => this.toggleAll()}></gb-checkbox>\r\n </th>\r\n )}\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((col, index) => {\r\n const align = col.align ?? 'left';\r\n\r\n return (\r\n <th\r\n style={{ width: col.width, cursor: col.sortable ? 'pointer' : 'default', textAlign: col.align || 'left' }}\r\n onClick={() => this.onSort(col)}\r\n class={{\r\n table_header: true,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n sticky_left: this.stickyFirstColumn && index === 0,\r\n sortable: col.sortable,\r\n has_border: this.isScrollable,\r\n }}\r\n >\r\n <div class={`table_head_content align-${align}`}>\r\n {align === 'right' && <div class=\"table_head_icons\">{this.renderHeaderIcons(col)}</div>}\r\n <p class={`head_text text-xs-medium`}>{col.label}</p>\r\n {align === 'left' && <div class=\"table_head_icons\">{this.renderHeaderIcons(col)}</div>}\r\n </div>\r\n </th>\r\n );\r\n })}\r\n {this.showActionsColumn && (\r\n <th\r\n class={{\r\n actions_cell: true,\r\n sticky_right: this.stickyLastColumn,\r\n has_border: this.isScrollable,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <div class=\"empty_div\"></div>\r\n </th>\r\n )}\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {this.displayedData.map((row, rowIndex) => (\r\n <tr class=\"table_body\">\r\n {this.showCheckbox && (\r\n <td class={`table_detail ${this.showCheckbox ? 'checkbox' : ''}`}>\r\n <gb-checkbox type=\"checkbox\" checked={this.selectedRowIds.has(row.id)} indeterminate={false} size=\"sm\" onClick={() => this.toggleRow(row)}></gb-checkbox>\r\n </td>\r\n )}\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((col, index) => (\r\n <>\r\n <td\r\n style={{ textAlign: col.align || 'left' }}\r\n class={`table_detail ${this.stickyFirstColumn && index === 0 ? 'sticky_left' : ''} ${this.isScrollable ? 'has_border' : ''}`}\r\n >\r\n {this.renderCell(col, row)}\r\n </td>\r\n </>\r\n ))}\r\n {this.showActionsColumn && (\r\n <td class={{ table_detail: true, actions_cell: true, sticky_right: this.stickyLastColumn, has_border: this.isScrollable }} style={{ width: '50px' }}>\r\n <>\r\n <div class=\"action_buttons\">\r\n {this.rowActions.map(action => (\r\n <>\r\n {action.type === 'dropdown' ? (\r\n <gb-button\r\n id={`gb-table-trigger-${rowIndex}`}\r\n ref={el => (this.actionButtonRefs[rowIndex] = el)}\r\n class=\"dropdown_button\"\r\n hierarchy=\"tertiary_gray\"\r\n size=\"md\"\r\n icon=\"only\"\r\n iconLeading\r\n iconLeadingSwap=\"assets/more-horizontal.svg\"\r\n onClick={() => this.toggleDropdown(rowIndex)}\r\n ></gb-button>\r\n ) : (\r\n <gb-button\r\n hierarchy=\"tertiary_gray\"\r\n size=\"md\"\r\n icon=\"only\"\r\n destructive={action.destructive}\r\n iconLeading\r\n iconLeadingSwap={action.icon}\r\n onClick={() => this.handleAction(action.action, row)}\r\n ></gb-button>\r\n )}\r\n </>\r\n ))}\r\n </div>\r\n <>\r\n {this.openRowIndex === rowIndex && (\r\n <gb-portal\r\n anchor-id={`gb-table-trigger-${rowIndex}`}\r\n placement={this.dropdownPlacement}\r\n anchorEl={this.currentAnchorEl}\r\n boundaryEl={this.scrollContainer}\r\n dropdownHeight={requestAnimationFrame(() => this.dropdownRef.scrollHeight)}\r\n open\r\n >\r\n <div class=\"portal_dropdown_wrapper\" ref={el => (this.dropdownRef = el as HTMLDivElement)}>\r\n {this.dropdownOptions.map(action => (\r\n <gb-dropdown-items-with-shortcut\r\n icon={action.icon ? true : false}\r\n state={action.disabled ? StateEnum.Disabled : StateEnum.Default}\r\n label={action.label}\r\n icon-src={action.icon}\r\n onClick={() => {\r\n this.handleAction(action.action, row);\r\n this.openRowIndex = null;\r\n }}\r\n ></gb-dropdown-items-with-shortcut>\r\n ))}\r\n </div>\r\n </gb-portal>\r\n )}\r\n </>\r\n </>\r\n </td>\r\n )}\r\n </tr>\r\n ))}\r\n </tbody>\r\n </table>\r\n </div>\r\n );\r\n }\r\n\r\n @Watch('columns')\r\n validateMobilePositions(newCols: TableColumn[]) {\r\n const positions = this.internalColumns.map(c => c.mobile?.position).filter(Boolean);\r\n\r\n const duplicates = positions.filter((item, index) => positions.indexOf(item) !== index);\r\n\r\n if (duplicates.length) {\r\n console.warn('[gb-table] Duplicate mobile positions detected:', duplicates);\r\n }\r\n\r\n this.initializeColumns(newCols);\r\n }\r\n\r\n emitRowData(row: any) {\r\n this.rowClicked.emit(row);\r\n }\r\n\r\n renderMobileView() {\r\n return (\r\n <div class=\"mobile_wrapper\">\r\n {this.displayedData.map(row => {\r\n const topLeft = this.internalColumns.find(c => c.mobile?.position === 'top_left');\r\n const topRight = this.internalColumns.find(c => c.mobile?.position === 'top_right');\r\n const bottomLeft = this.internalColumns.find(c => c.mobile?.position === 'bottom_left');\r\n const bottomRight = this.internalColumns.find(c => c.mobile?.position === 'bottom_right');\r\n\r\n return (\r\n <div class=\"mobile_card_wrapper\" style={{ paddingLeft: this.showCheckbox ? 'var(--spacing-4)' : '' }}>\r\n {this.showCheckbox && (\r\n <gb-checkbox\r\n style={{ paddingTop: 'var(--spacing-6)' }}\r\n type=\"checkbox\"\r\n checked={this.selectedRowIds.has(row.id)}\r\n indeterminate={false}\r\n size=\"sm\"\r\n onClick={() => this.toggleRow(row)}\r\n ></gb-checkbox>\r\n )}\r\n {/* <div class=\"mobile-card\">\r\n <div class=\"mobile-row mobile-top\">\r\n <div class=\"mobile-cell\">\r\n <p class=\"top_left_text text-md-regular\">{topLeft && row[topLeft.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell right\">\r\n <p class=\"top_right_text text-md-semi-bold\">{topRight && row[topRight.key]}</p>\r\n </div>\r\n </div>\r\n <div class=\"mobile-row mobile-bottom\">\r\n <div class=\"mobile-cell\">\r\n <p class=\"bottom_left_text text-sm-regular\">{bottomLeft && row[bottomLeft.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell right\">{bottomRight && this.renderCell(bottomRight, row)}</div>\r\n </div>\r\n </div> */}\r\n <div class=\"mobile-card\" onClick={() => this.emitRowData(row)}>\r\n <div class=\"mobile-row left\">\r\n <div class=\"mobile-cell\">\r\n <p class=\"top_left_text text-md-regular\">{topLeft && row[topLeft.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell\">\r\n <p class=\"bottom_left_text text-sm-regular\">{bottomLeft && row[bottomLeft.key]}</p>\r\n </div>\r\n </div>\r\n <div class=\"mobile-row right\">\r\n <div class=\"mobile-cell right\">\r\n <p class=\"top_right_text text-md-semi-bold\">{topRight && row[topRight.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell right\">{bottomRight && this.renderCell(bottomRight, row)}</div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n })}\r\n </div>\r\n );\r\n }\r\n\r\n emitSearchValue(detail) {\r\n this.inputValueChanged.emit(detail.detail);\r\n }\r\n\r\n emitDateChange(detail) {\r\n this.dateChange.emit(detail.detail);\r\n }\r\n\r\n private initializeColumns(cols: TableColumn[]) {\r\n this.internalColumns = (cols || []).map(col => ({\r\n ...col,\r\n visible: col.visible ?? true, // default to true\r\n }));\r\n }\r\n\r\n private reorderColumns(fromIndex: number, toIndex: number) {\r\n const updated = [...this.internalColumns];\r\n const [movedItem] = updated.splice(fromIndex, 1);\r\n updated.splice(toIndex, 0, movedItem);\r\n\r\n this.internalColumns = updated;\r\n }\r\n\r\n columnOptionsButtonClicked() {\r\n return () => {\r\n this.showColumnsPanel = !this.showColumnsPanel;\r\n };\r\n }\r\n\r\n exportButtonClicked(detail) {\r\n this.exportClicked.emit(detail.detail);\r\n }\r\n\r\n private toggleColumn(event: CustomEvent<boolean>, columnKey: string) {\r\n const isVisible = event.detail;\r\n\r\n this.internalColumns = this.internalColumns.map(col => (col.key === columnKey ? { ...col, visible: isVisible } : col));\r\n }\r\n\r\n private onModalPointerDown = (event: PointerEvent) => {\r\n this.isDraggingModal = true;\r\n\r\n this.dragOffset = {\r\n x: event.clientX - this.modalPosition.x,\r\n y: event.clientY - this.modalPosition.y,\r\n };\r\n\r\n window.addEventListener('pointermove', this.onModalPointerMove);\r\n window.addEventListener('pointerup', this.onModalPointerUp);\r\n };\r\n\r\n private onModalPointerMove = (event: PointerEvent) => {\r\n if (!this.isDraggingModal) return;\r\n\r\n this.modalPosition = {\r\n x: event.clientX - this.dragOffset.x,\r\n y: event.clientY - this.dragOffset.y,\r\n };\r\n };\r\n\r\n private onModalPointerUp = () => {\r\n this.isDraggingModal = false;\r\n\r\n window.removeEventListener('pointermove', this.onModalPointerMove);\r\n window.removeEventListener('pointerup', this.onModalPointerUp);\r\n };\r\n\r\n private openFilterModal() {\r\n this.showFilterModalInternal = true;\r\n }\r\n\r\n private closeFilterModal() {\r\n const modal = document.querySelector('gb-filter-modal') as HTMLElement;\r\n if (modal) {\r\n modal.style.transform = 'translateX(100%)';\r\n setTimeout(() => (this.showFilterModalInternal = false), 300); // wait for animation\r\n }\r\n }\r\n\r\n disconnectedCallback() {\r\n window.removeEventListener('resize', this.checkViewport);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`table_wrapper`}>\r\n <gb-table-header\r\n mode={this.tableHeaderConfig.datePickerMode}\r\n table-heading={this.tableHeaderConfig.tableHeading}\r\n table-heading-label={this.tableHeaderConfig.tableHeadingLabel}\r\n show-search={this.tableHeaderConfig.showSearch}\r\n show-date-filter={this.tableHeaderConfig.showDateFilter}\r\n show-filter={this.tableHeaderConfig.showFilter}\r\n show-export={this.tableHeaderConfig.showExport}\r\n show-column-options={this.tableHeaderConfig.showColumnOptions}\r\n show-refresh-button={this.tableHeaderConfig.showRefreshButton}\r\n input-placeholder={this.tableHeaderConfig.inputPlaceholder}\r\n date-picker-placeholder={this.tableHeaderConfig.datePickerPlaceholder}\r\n show-entire-data={this.tableHeaderConfig.showEntireData}\r\n show-layout-toggle={this.tableHeaderConfig.showLayoutToggle}\r\n filter-state={this.tableHeaderConfig.filterState}\r\n filter-count={this.tableHeaderConfig.filterCount}\r\n export-button-state={this.tableHeaderConfig.exportButtonState}\r\n pdf-state={this.tableHeaderConfig.pdfState}\r\n csv-state={this.tableHeaderConfig.csvState}\r\n onInputValueChanged={this.emitSearchValue.bind(this)}\r\n onDateChange={this.emitDateChange.bind(this)}\r\n onColumnOptionsButtonClicked={this.columnOptionsButtonClicked()}\r\n onExportClicked={e => this.exportButtonClicked(e)}\r\n onFilterButtonClicked={() => this.openFilterModal()}\r\n ></gb-table-header>\r\n {this.showColumnsPanel && (\r\n <div\r\n class=\"dialog\"\r\n style={{\r\n transform: `translate(${this.modalPosition.x}px, ${this.modalPosition.y}px)`,\r\n }}\r\n >\r\n <div class=\"column-modal\">\r\n <div class=\"modal_header\">\r\n <div class=\"modal_header_content\" onPointerDown={this.onModalPointerDown}>\r\n <h4 class=\"heading display-xs-semi-bold\">Column Options</h4>\r\n <gb-button-close class=\"close_button\" color=\"gray\" size=\"sm\" onClick={() => (this.showColumnsPanel = false)}></gb-button-close>\r\n </div>\r\n </div>\r\n <div class=\"content_wrapper\">\r\n <div class=\"modal_content\">\r\n {this.internalColumns.map((col, index) => (\r\n <div\r\n class=\"column_option\"\r\n draggable\r\n onDragStart={() => (this.draggedIndex = index)}\r\n onDragOver={e => e.preventDefault()}\r\n onDrop={() => {\r\n if (this.draggedIndex !== null && this.draggedIndex !== index) {\r\n this.reorderColumns(this.draggedIndex, index);\r\n }\r\n this.draggedIndex = null;\r\n }}\r\n >\r\n <div class=\"label_and_dragger\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\r\n <path\r\n d=\"M8 6H8.00635M8 12H8.00635M8 18H8.00635M15.9937 6H16M15.9937 12H16M15.9937 18H16\"\r\n stroke=\"var(--color-icon, #4B5565)\"\r\n stroke-width=\"2.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n <p class=\"label text-md-regular\">{col.label}</p>\r\n </div>\r\n <gb-toggle\r\n size=\"sm\"\r\n state={StateEnum.Default}\r\n position=\"right\"\r\n pressed={col.visible}\r\n text={false}\r\n onToggleClicked={e => {\r\n this.toggleColumn(e, col.key);\r\n }}\r\n ></gb-toggle>\r\n </div>\r\n ))}\r\n <div class=\"modal-actions\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n {this.showFilterModalInternal && (\r\n <div class=\"filter_modal_overlay\">\r\n <gb-filter-modal\r\n class=\"filter_modal\"\r\n onClose={e => {\r\n e.stopPropagation();\r\n this.closeFilterModal();\r\n }}\r\n ></gb-filter-modal>\r\n </div>\r\n )}\r\n {this.internalLoading ? (\r\n // ✅ ALWAYS show loading when loading = true\r\n <table>\r\n <thead>\r\n <tr class=\"table_head_row\">\r\n {this.showCheckbox && (\r\n <th\r\n class={{\r\n checkbox: true,\r\n sticky_left: this.stickyFirstColumn,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <gb-checkbox type=\"checkbox\" checked={this.allSelected} indeterminate={this.isIndeterminate} size=\"sm\" onClick={() => this.toggleAll()}></gb-checkbox>\r\n </th>\r\n )}\r\n\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((col, index) => {\r\n const align = col.align ?? 'left';\r\n\r\n return (\r\n <th\r\n style={{\r\n width: col.width,\r\n textAlign: col.align || 'left',\r\n }}\r\n class={{\r\n table_header: true,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n sticky_left: this.stickyFirstColumn && index === 0,\r\n has_border: this.isScrollable,\r\n }}\r\n >\r\n <div class={`table_head_content align-${align}`}>\r\n <p class=\"head_text text-xs-medium\">{col.label}</p>\r\n </div>\r\n </th>\r\n );\r\n })}\r\n\r\n {this.showActionsColumn && (\r\n <th\r\n class={{\r\n actions_cell: true,\r\n sticky_right: this.stickyLastColumn,\r\n has_border: this.isScrollable,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <div class=\"empty_div\"></div>\r\n </th>\r\n )}\r\n </tr>\r\n </thead>\r\n\r\n <tbody>\r\n {Array.from({ length: 5 }).map((_) => (\r\n <tr class=\"table_body\">\r\n {this.showCheckbox && (\r\n <td class=\"table_detail checkbox\">\r\n <gb-checkbox type=\"checkbox\" checked={this.allSelected} indeterminate={this.isIndeterminate} size=\"sm\" onClick={() => this.toggleAll()}></gb-checkbox>\r\n </td>\r\n )}\r\n\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((_col, index) => (\r\n <td class={`table_detail ${this.stickyFirstColumn && index === 0 ? 'sticky_left' : ''} ${this.isScrollable ? 'has_border' : ''}`}>\r\n <div class=\"loader\">\r\n <div class=\"skeleton skeleton-text\"></div>\r\n </div>\r\n </td>\r\n ))}\r\n\r\n {this.showActionsColumn && (\r\n <td\r\n class={{\r\n table_detail: true,\r\n actions_cell: true,\r\n sticky_right: this.stickyLastColumn,\r\n has_border: this.isScrollable,\r\n }}\r\n style={{ width: '50px' }}\r\n >\r\n <div class=\"loader\">\r\n <div class=\"skeleton skeleton-action\"></div>\r\n </div>\r\n </td>\r\n )}\r\n </tr>\r\n ))}\r\n </tbody>\r\n </table>\r\n ) : this.data.length === 0 ? (\r\n // ✅ No loading + no data = empty state\r\n <div class=\"empty_state_wrapper\">\r\n <gb-empty-state\r\n size=\"sm\"\r\n main-text={this.emptyStateConfig.mainText}\r\n supporting-text={this.emptyStateConfig.supportingText}\r\n color={this.emptyStateConfig.color}\r\n theme={this.emptyStateConfig.theme}\r\n primary-button-icon-leading-swap=\"assets/plus.svg\"\r\n illustration-icon={this.emptyStateConfig.illustrationIcon}\r\n background={true}\r\n background-type=\"grid\"\r\n icon=\"illustration\"\r\n illustration-style=\"cloud\"\r\n ></gb-empty-state>\r\n </div>\r\n ) : (\r\n // ✅ Has data + not loading\r\n <>{this.isMobile ? this.renderMobileView() : this.renderDesktopView()}</>\r\n )}\r\n {this.paginationConfig && this.data.length > 0 && (\r\n <gb-pagination\r\n entries-dropdown-menu-position={this.paginationConfig.entriesDropdownMenuPosition}\r\n page-size={this.paginationConfig.pageSize}\r\n current-page={this.paginationConfig.paginationMode === 'internal' ? this.internalCurrentPage : this.paginationConfig.currentPage}\r\n total-pages={this.totalPages}\r\n onPageItemSelected={this.handlePageChange.bind(this)}\r\n ></gb-pagination>\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"gb-table.js","sourceRoot":"","sources":["../../../src/components/gb-table/gb-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxG,OAAO,EASL,SAAS,GAIV,MAAM,6BAA6B,CAAC;AAOrC,MAAM,OAAO,OAAO;IALpB;QAMU,YAAO,GAAY,KAAK,CAAC;QACzB,YAAO,GAAkB;QAC/B,kHAAkH;QAClH,gHAAgH;QAChH,0JAA0J;QAC1J,kCAAkC;QAClC,0FAA0F;QAC1F,IAAI;QACJ,mBAAmB;QACnB,qBAAqB;QACrB,+BAA+B;QAC/B,oIAAoI;QACpI,iBAAiB;QACjB,iBAAiB;QACjB,kBAAkB;QAClB,oCAAoC;QACpC,SAAS;QACT,OAAO;QACP,KAAK;SACN,CAAC;QACM,SAAI,GAAU;QACpB,IAAI;QACJ,8KAA8K;QAC9K,yBAAyB;QACzB,0BAA0B;QAC1B,gCAAgC;QAChC,oBAAoB;QACpB,0BAA0B;QAC1B,uBAAuB;QACvB,yBAAyB;QACzB,KAAK;QACL,mKAAmK;QACnK,oKAAoK;QACpK,mKAAmK;QACnK,mKAAmK;QACnK,mKAAmK;QACnK,oKAAoK;QACpK,qKAAqK;QACrK,wKAAwK;QACxK,uKAAuK;QACvK,6KAA6K;QAC7K,yKAAyK;QACzK,2KA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C3B,IAAI,CAAC,gBAAgB,CAAC,cAAc,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,WAAW,iBACnH,IAAI,CAAC,UAAU,EAC5B,kBAAkB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,GACrC,CAClB,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Prop, State, h, Fragment, Watch, Listen } from '@stencil/core';\r\nimport {\r\n DropdownOption,\r\n FileIconStyles,\r\n FileIconTypes,\r\n FilterConfig,\r\n GeneralColors,\r\n GeneralSizes,\r\n IllustrationTypes,\r\n RowAction,\r\n StateEnum,\r\n StateType,\r\n TableColumn,\r\n ThemeTypes,\r\n} from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-table',\r\n styleUrl: 'gb-table.css',\r\n shadow: true,\r\n})\r\nexport class GbTable {\r\n @Prop() loading: boolean = false;\r\n @Prop() columns: TableColumn[] = [\r\n // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } },\r\n // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } },\r\n // { key: 'name', label: 'Name', sortable: true, sortType: 'string', helpIcon: true, supportingText: row => row.role, mobile: { position: 'top_right' } },\r\n // { key: 'role', label: 'Role' },\r\n // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number' },\r\n // {\r\n // key: 'status',\r\n // label: 'Status',\r\n // cellComponent: 'gb-badge',\r\n // cellProps: row => ({ color: row.status === 'Completed' ? 'success' : 'error', type: 'badge_modern', size: 'sm', icon: 'dot' }),\r\n // cellSlots: {\r\n // default: {\r\n // tag: 'p',\r\n // content: row => row.status,\r\n // },\r\n // },\r\n // },\r\n ];\r\n @Prop() data: any[] = [\r\n // {\r\n // id: '#30011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111',\r\n // date: 'Jan 1, 2022',\r\n // name: 'Emma Johnson',\r\n // role: 'Frontend Developer',\r\n // level: 'Today',\r\n // customer: 'John Doe',\r\n // amount: '$120.00',\r\n // status: 'Completed',\r\n // },\r\n // { id: '#3002', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3003', date: new Date(), name: 'Liam Smith', role: 'Frontend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3004', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3005', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3006', date: new Date(), name: 'Liam Smith', role: 'Backend Developer', level: 'Today', customer: 'Sarah Wilson', amount: '$85.50', status: 'Pending' },\r\n // { id: '#3003', date: 'Jan 3, 2022', name: 'Olivia Brown', role: 'UI Designer', level: 'Today', customer: 'Michael Lee', amount: '$230.75', status: 'Cancelled' },\r\n // { id: '#3004', date: 'Jan 4, 2022', name: 'Noah Davis', role: 'DevOps Engineer', level: 'Today', customer: 'Emily Clark', amount: '$59.99', status: 'Completed' },\r\n // { id: '#3005', date: 'Jan 5, 2022', name: 'Ava Martinez', role: 'Product Manager', level: 'Today', customer: 'Daniel Harris', amount: '$410.00', status: 'Pending' },\r\n // { id: '#3006', date: 'Jan 6, 2022', name: 'William Garcia', role: 'QA Engineer', level: 'Today', customer: 'Sophia Lewis', amount: '$150.20', status: 'Completed' },\r\n // { id: '#3007', date: 'Jan 7, 2022', name: 'Isabella Rodriguez', role: 'Business Analyst', level: 'Today', customer: 'James Walker', amount: '$78.40', status: 'Pending' },\r\n // { id: '#3008', date: 'Jan 8, 2022', name: 'James Wilson', role: 'Fullstack Developer', level: 'Today', customer: 'Mia Hall', amount: '$300.00', status: 'Completed' },\r\n // { id: '#3009', date: 'Jan 9, 2022', name: 'Sophia Anderson', role: 'UX Researcher', level: 'Today', customer: 'Benjamin Allen', amount: '$95.60', status: 'Cancelled' },\r\n // { id: '#3010', date: 'Jan 10, 2022', name: 'Benjamin Thomas', role: 'Mobile Developer', level: 'Today', customer: 'Charlotte Young', amount: '$210.10', status: 'Completed' },\r\n // { id: '#3011', date: 'Jan 11, 2022', name: 'Mia Taylor', role: 'Data Analyst', level: 'Today', customer: 'Lucas King', amount: '$180.00', status: 'Pending' },\r\n // { id: '#3012', date: 'Jan 12, 2022', name: 'Lucas Moore', role: 'Cloud Engineer', level: 'Today', customer: 'Amelia Scott', amount: '$420.75', status: 'Completed' },\r\n // { id: '#3013', date: 'Jan 13, 2022', name: 'Charlotte Jackson', role: 'Security Engineer', level: 'Today', customer: 'Elijah Green', amount: '$65.90', status: 'Cancelled' },\r\n // { id: '#3014', date: 'Jan 14, 2022', name: 'Elijah Martin', role: 'Technical Lead', level: 'Today', customer: 'Harper Adams', amount: '$510.30', status: 'Completed' },\r\n // { id: '#3015', date: 'Jan 15, 2022', name: 'Amelia Lee', role: 'Scrum Master', level: 'Today', customer: 'Alexander Baker', amount: '$99.99', status: 'Pending' },\r\n // { id: '#3016', date: 'Jan 16, 2022', name: 'Harper Perez', role: 'Frontend Developer', level: 'Today', customer: 'Ella Nelson', amount: '$275.45', status: 'Completed' },\r\n // { id: '#3017', date: 'Jan 17, 2022', name: 'Alexander White', role: 'Backend Developer', level: 'Today', customer: 'Matthew Carter', amount: '$340.00', status: 'Pending' },\r\n // { id: '#3018', date: 'Jan 18, 2022', name: 'Ella Harris', role: 'UI Designer', level: 'Today', customer: 'Avery Mitchell', amount: '$88.80', status: 'Completed' },\r\n // { id: '#3019', date: 'Jan 19, 2022', name: 'Matthew Clark', role: 'DevOps Engineer', level: 'Today', customer: 'Evelyn Perez', amount: '$190.25', status: 'Cancelled' },\r\n // { id: '#3020', date: 'Jan 20, 2022', name: 'Avery Lewis', role: 'Product Manager', level: 'Today', customer: 'Henry Roberts', amount: '$600.00', status: 'Completed' },\r\n // { id: '#3021', date: 'Jan 21, 2022', name: 'Evelyn Walker', role: 'QA Engineer', level: 'Today', customer: 'Luna Turner', amount: '$72.30', status: 'Pending' },\r\n // { id: '#3022', date: 'Jan 22, 2022', name: 'Henry Hall', role: 'Business Analyst', level: 'Today', customer: 'Jack Phillips', amount: '$310.40', status: 'Completed' },\r\n // { id: '#3023', date: 'Jan 23, 2022', name: 'Luna Allen', role: 'Fullstack Developer', level: 'Today', customer: 'Sofia Campbell', amount: '$145.00', status: 'Cancelled' },\r\n // { id: '#3024', date: 'Jan 24, 2022', name: 'Jack Young', role: 'UX Researcher', level: 'Today', customer: 'David Parker', amount: '$260.70', status: 'Completed' },\r\n // { id: '#3025', date: 'Jan 25, 2022', name: 'Sofia Hernandez', role: 'Mobile Developer', level: 'Today', customer: 'Grace Evans', amount: '$89.10', status: 'Pending' },\r\n // { id: '#3026', date: 'Jan 26, 2022', name: 'David King', role: 'Data Analyst', level: 'Today', customer: 'Samuel Edwards', amount: '$410.90', status: 'Completed' },\r\n // { id: '#3027', date: 'Jan 27, 2022', name: 'Grace Wright', role: 'Cloud Engineer', level: 'Today', customer: 'Chloe Collins', amount: '$130.55', status: 'Cancelled' },\r\n // { id: '#3028', date: 'Jan 28, 2022', name: 'Samuel Scott', role: 'Security Engineer', level: 'Today', customer: 'Victoria Stewart', amount: '$555.00', status: 'Completed' },\r\n // { id: '#3029', date: 'Jan 29, 2022', name: 'Chloe Green', role: 'Technical Lead', level: 'Today', customer: 'Nathan Morris', amount: '$205.25', status: 'Pending' },\r\n // { id: '#3030', date: 'Jan 30, 2022', name: 'Nathan Adams', role: 'Scrum Master', level: 'Today', customer: 'Zoe Rogers', amount: '$320.80', status: 'Completed' },\r\n ];\r\n @Prop() tableHeaderConfig: {\r\n tableHeading?: boolean;\r\n tableHeadingLabel?: string;\r\n showDateFilter?: boolean;\r\n showFilter?: boolean;\r\n showColumnOptions?: boolean;\r\n showSearch?: boolean;\r\n showExport?: boolean;\r\n showRefreshButton?: boolean;\r\n showEntireData?: boolean;\r\n showLayoutToggle?: boolean;\r\n filterState?: 'default' | 'applied';\r\n filterCount?: number;\r\n exportButtonState?: 'default' | 'disabled';\r\n pdfState?: 'default' | 'disabled';\r\n csvState?: 'default' | 'disabled';\r\n datePickerMode?: 'single' | 'range';\r\n inputPlaceholder?: string;\r\n datePickerPlaceholder?: string;\r\n } = {\r\n tableHeading: false,\r\n tableHeadingLabel: 'Suspicious outflows',\r\n showDateFilter: true,\r\n showFilter: true,\r\n showColumnOptions: true,\r\n showSearch: true,\r\n showExport: true,\r\n showRefreshButton: false,\r\n datePickerMode: 'range',\r\n inputPlaceholder: 'Transaction reference',\r\n };\r\n @Prop() paginationConfig: {\r\n paginationMode: 'internal' | 'external';\r\n entriesDropdownMenuPosition: 'top' | 'bottom';\r\n currentPage?: number;\r\n pageSize?: number;\r\n totalItems?: number;\r\n } = {\r\n paginationMode: 'internal',\r\n entriesDropdownMenuPosition: 'top',\r\n currentPage: 1,\r\n pageSize: 10,\r\n };\r\n @Prop() emptyStateConfig: {\r\n size: GeneralSizes;\r\n mainText: string;\r\n supportingText?: string;\r\n color?: GeneralColors;\r\n illustrationIcon?: string;\r\n illustrationStyle: IllustrationTypes;\r\n background: boolean;\r\n backgroundType: 'grid' | 'circles';\r\n theme?: ThemeTypes;\r\n primaryButtonState?: StateType;\r\n primaryButtonIconLeadingSwap?: string;\r\n primaryButtonIconTrailingSwap?: string;\r\n secondaryButtonIconLeadingSwap?: string;\r\n secondaryButtonIconTrailingSwap?: string;\r\n primaryButtonText?: string;\r\n secondaryButtonText?: string;\r\n fileStyle?: FileIconStyles;\r\n fileType?: FileIconTypes;\r\n featuredIconSwap?: string;\r\n } = {\r\n size: 'md',\r\n background: true,\r\n backgroundType: 'grid',\r\n mainText: 'No data available',\r\n supportingText: 'Try adjusting your filters or check back later.',\r\n color: 'gray',\r\n illustrationIcon: 'assets/alert-circle.svg',\r\n illustrationStyle: 'box',\r\n theme: 'light',\r\n };\r\n @Prop() filterConfig: FilterConfig = {\r\n title: 'Filter',\r\n enableDateRange: true,\r\n showClearButton: true,\r\n additionalFields: [\r\n {\r\n tag: 'gb-input-dropdown',\r\n key: 'approvalStatus',\r\n event: 'dropdownItemSelected',\r\n props: {\r\n type: 'default',\r\n showLabel: true,\r\n label: 'Approval status',\r\n placeholder: 'Select approval status',\r\n items: ['Draft', 'Pending', 'Approved', 'Rejected'],\r\n destructive: false,\r\n },\r\n default: {\r\n value: [],\r\n },\r\n },\r\n {\r\n tag: 'gb-slider',\r\n key: 'amountRange',\r\n event: 'thumbValueChanged',\r\n props: {\r\n showHeading: true,\r\n heading: 'Amount range',\r\n },\r\n default: {\r\n leftControl: 50,\r\n rightControl: 100,\r\n },\r\n },\r\n {\r\n tag: 'gb-input-dropdown',\r\n key: 'disbursementStatus',\r\n event: 'dropdownItemSelected',\r\n props: {\r\n type: 'default',\r\n showLabel: true,\r\n label: 'Disbursement status',\r\n placeholder: 'Select disbursement status',\r\n items: ['Disbursed', 'Not Disbursed'],\r\n },\r\n },\r\n // {\r\n // tag: 'gb-input-dropdown',\r\n // key: 'facilityCategory',\r\n // props: {\r\n // showLabel: true,\r\n // label: 'Facility category',\r\n // placeholder: 'Select facility category',\r\n // items: ['Retail', 'Commercial', 'Corporate'],\r\n // },\r\n // },\r\n ],\r\n initialValues: {\r\n pageNumber: 1,\r\n pageSize: 10,\r\n },\r\n };\r\n @Prop() showActionsColumn: boolean = false;\r\n @Prop() rowActions: RowAction[] = [\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n ];\r\n @Prop() dropdownOptions?: DropdownOption[] = [\r\n // { label: 'View', action: 'view', icon: 'assets/view.svg', disabled: false },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', disabled: false },\r\n // { label: 'Delete', action: 'delete', icon: 'assets/delete-02.svg', disabled: true },\r\n ];\r\n @Prop() stickyFirstColumn: boolean = false;\r\n @Prop() stickyLastColumn: boolean = false;\r\n @Prop() actionsType: 'none' | 'dropdown' | '' = 'none';\r\n @Prop() showCheckbox: boolean = true;\r\n @Prop() tableHeadColor: 'gray' | 'blue' = 'gray';\r\n @Prop() rowKey: string | ((row: any) => string) = 'id';\r\n @State() internalCurrentPage: number = 1;\r\n @State() internalPageSize: number = 10;\r\n @State() openRowIndex: number | null = null;\r\n @State() dropdownPlacement: 'top-end' | 'bottom-end' = 'bottom-end';\r\n @State() sortKey?: string;\r\n @State() sortDirection: 'asc' | 'desc' = 'asc';\r\n @State() selectedRowIds: Set<string> = new Set();\r\n @State() breakpoint: 'mobile' | 'desktop' = 'desktop';\r\n @State() isMobile: boolean = false;\r\n @State() isScrollable: boolean = false;\r\n @State() showColumnsPanel = false;\r\n @State() showFilterModal = false;\r\n @State() internalColumns: TableColumn[];\r\n @State() modalPosition = { x: 0, y: 0 };\r\n @State() showFilterModalInternal: boolean = false;\r\n @State() isFilterModalVisible: boolean = false;\r\n @State() internalLoading: boolean = false;\r\n @Event() rowActionClicked: EventEmitter<{ action: string; row: any }>;\r\n @Event() pageItemSelected: EventEmitter<{ pageSize: any; pageNumber: number }>;\r\n @Event() selectionChanged: EventEmitter<any[]>;\r\n @Event() inputValueChanged: EventEmitter<void>;\r\n @Event() dateChange: EventEmitter<string | string[]>;\r\n @Event() exportClicked: EventEmitter<{ dataType: string; exportType: string }>;\r\n @Event() rowClicked: EventEmitter<{ row: any }>;\r\n @Event() applyFilters: EventEmitter<{\r\n filters: any;\r\n pagination: any;\r\n }>;\r\n\r\n private isDraggingModal = false;\r\n private dragOffset = { x: 0, y: 0 };\r\n private actionButtonRefs: HTMLGbButtonElement[] = [];\r\n private currentAnchorEl?: HTMLElement;\r\n private scrollContainer?: HTMLDivElement;\r\n private draggedIndex: number | null = null;\r\n private dropdownRef: HTMLDivElement;\r\n\r\n componentWillLoad() {\r\n this.initializeColumns(this.columns);\r\n\r\n this.internalLoading = this.loading;\r\n }\r\n\r\n componentWillRender() {\r\n this.checkViewport();\r\n window.addEventListener('resize', this.checkViewport.bind(this));\r\n }\r\n\r\n componentDidRender() {\r\n requestAnimationFrame(() => this.checkScrollability());\r\n }\r\n\r\n @Listen('resize', { target: 'window' })\r\n checkViewport() {\r\n this.isMobile = window.innerWidth <= 768;\r\n this.checkScrollability();\r\n }\r\n\r\n private checkScrollability() {\r\n if (!this.scrollContainer) return;\r\n\r\n const { scrollWidth, clientWidth } = this.scrollContainer;\r\n const newScrollable = scrollWidth > clientWidth;\r\n\r\n if (newScrollable !== this.isScrollable) {\r\n this.isScrollable = newScrollable; // only update if different\r\n }\r\n }\r\n\r\n private handleAction(action: string, row: any) {\r\n this.rowActionClicked.emit({ action, row });\r\n }\r\n\r\n private renderCell(col: TableColumn, row: any) {\r\n if (col.cellComponent) {\r\n const Tag = col.cellComponent as keyof HTMLElementTagNameMap;\r\n\r\n // resolve props\r\n const props = typeof col.cellProps === 'function' ? col.cellProps(row) : col.cellProps || {};\r\n\r\n // resolve default slot content\r\n let defaultSlotContent: any = null;\r\n if (col.cellSlots?.default?.content) {\r\n const content = col.cellSlots.default.content(row);\r\n const slotTag = col.cellSlots.default.tag;\r\n defaultSlotContent = slotTag ? h(slotTag, {}, content) : content;\r\n }\r\n\r\n // resolve named slots\r\n const namedSlotElements: any[] = [];\r\n if (col.cellSlots?.named) {\r\n for (const [slotName, slotConfig] of Object.entries(col.cellSlots.named)) {\r\n const content = slotConfig.content(row);\r\n const element = h(slotConfig.tag, { slot: slotName }, content);\r\n namedSlotElements.push(element);\r\n }\r\n }\r\n\r\n // render component with slots\r\n const allChildren = [defaultSlotContent, ...namedSlotElements].filter(child => child != null);\r\n\r\n return h(Tag, props, allChildren.length > 0 ? allChildren : undefined);\r\n }\r\n\r\n if (col.supportingText) {\r\n const primary = row[col.key];\r\n\r\n const supporting = typeof col.supportingText === 'function' ? col.supportingText(row) : col.supportingText ? row[col.supportingText] : undefined;\r\n\r\n return (\r\n <div class=\"text_and_supporting_text\">\r\n <div class=\"primary\">\r\n <p class=\"text-sm-medium\">{primary}</p>\r\n </div>\r\n {supporting && (\r\n <div class=\"supporting\">\r\n <p class=\"text-xs-regular\">{supporting}</p>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n\r\n const value = this.getCellValue(col, row);\r\n return <p class=\"body_text text-sm-regular\">{value}</p>;\r\n }\r\n\r\n private getCellValue(col: TableColumn, row: any) {\r\n if (col.value) {\r\n return col.value(row);\r\n }\r\n\r\n return <p class=\"body_text text-sm-regular\">{row[col.key]}</p>;\r\n }\r\n\r\n emitPaginationDetails({ detail }) {\r\n this.pageItemSelected.emit(detail);\r\n }\r\n\r\n private async toggleDropdown(rowIndex: number) {\r\n if (this.openRowIndex === rowIndex) {\r\n this.openRowIndex = null;\r\n return;\r\n }\r\n\r\n const buttonInstance = this.actionButtonRefs[rowIndex];\r\n const nativeBtn = await buttonInstance?.getNativeButton();\r\n\r\n this.currentAnchorEl = nativeBtn ?? undefined;\r\n this.openRowIndex = rowIndex;\r\n\r\n // Calculate available space for dropdown positioning\r\n requestAnimationFrame(() => this.calculateDropdownPlacement(nativeBtn, this.dropdownRef));\r\n }\r\n\r\n private calculateDropdownPlacement(buttonElement?: HTMLElement, dropdownElement?: HTMLDivElement) {\r\n if (!buttonElement || !dropdownElement) return;\r\n\r\n const buttonRect = buttonElement.getBoundingClientRect();\r\n const tableRect = this.scrollContainer.getBoundingClientRect();\r\n const dropdownHeight = requestAnimationFrame(() => dropdownElement.scrollHeight);\r\n\r\n // Space within the TABLE, not viewport\r\n const spaceBelow = tableRect.bottom - buttonRect.bottom;\r\n const spaceAbove = buttonRect.top - tableRect.top;\r\n\r\n if (spaceBelow < dropdownHeight && spaceAbove > dropdownHeight) {\r\n this.dropdownPlacement = 'top-end';\r\n } else {\r\n this.dropdownPlacement = 'bottom-end';\r\n }\r\n }\r\n\r\n private onSort(col: TableColumn) {\r\n if (!col.sortable) return;\r\n\r\n if (this.sortKey === col.key) {\r\n this.sortDirection = this.sortDirection === 'asc' ? 'desc' : 'asc';\r\n } else {\r\n this.sortKey = col.key;\r\n this.sortDirection = 'asc';\r\n }\r\n }\r\n\r\n private get sortedData() {\r\n if (!this.sortKey) return this.data;\r\n\r\n const col = this.internalColumns.find(c => c.key === this.sortKey);\r\n if (!col) return this.data;\r\n\r\n return [...this.data].sort((a, b) => {\r\n let valA = col.value ? col.value(a) : a[this.sortKey!];\r\n let valB = col.value ? col.value(b) : b[this.sortKey!];\r\n\r\n // Null safety\r\n if (valA == null) return 1;\r\n if (valB == null) return -1;\r\n\r\n let result = 0;\r\n\r\n switch (col.sortType) {\r\n case 'number': {\r\n const numA = Number(String(valA).replace(/[^0-9.-]+/g, ''));\r\n const numB = Number(String(valB).replace(/[^0-9.-]+/g, ''));\r\n result = numA - numB;\r\n break;\r\n }\r\n\r\n case 'date': {\r\n const timeA = new Date(valA).getTime();\r\n const timeB = new Date(valB).getTime();\r\n result = timeA - timeB;\r\n break;\r\n }\r\n\r\n case 'string':\r\n default: {\r\n result = String(valA).localeCompare(String(valB), undefined, {\r\n sensitivity: 'base',\r\n });\r\n break;\r\n }\r\n }\r\n\r\n return this.sortDirection === 'asc' ? result : -result;\r\n });\r\n }\r\n\r\n private get allSelected() {\r\n return this.sortedData.length > 0 && this.selectedRowIds.size === this.sortedData.length;\r\n }\r\n\r\n private get isIndeterminate() {\r\n return this.selectedRowIds.size > 0 && this.selectedRowIds.size < this.sortedData.length;\r\n }\r\n\r\n private getRowId(row: any): string {\r\n if (typeof this.rowKey === 'function') {\r\n return this.rowKey(row);\r\n }\r\n\r\n return row[this.rowKey];\r\n }\r\n\r\n private toggleAll() {\r\n if (this.allSelected) {\r\n this.selectedRowIds = new Set();\r\n } else {\r\n this.selectedRowIds = new Set(this.sortedData.map(row => this.getRowId(row)));\r\n }\r\n\r\n this.emitSelection();\r\n }\r\n\r\n private toggleRow(row: any) {\r\n const updated = new Set(this.selectedRowIds);\r\n\r\n if (updated.has(this.getRowId(row))) {\r\n updated.delete(this.getRowId(row));\r\n } else {\r\n updated.add(this.getRowId(row));\r\n }\r\n\r\n this.selectedRowIds = updated;\r\n\r\n this.emitSelection();\r\n }\r\n\r\n private emitSelection() {\r\n const selected = this.sortedData.filter(row => this.selectedRowIds.has(this.getRowId(row)));\r\n\r\n this.selectionChanged.emit(selected);\r\n }\r\n\r\n private get displayedData() {\r\n if (!this.paginationConfig) {\r\n return this.sortedData;\r\n }\r\n\r\n if (this.paginationConfig.paginationMode === 'external') {\r\n return this.sortedData; // parent already paginated it\r\n }\r\n\r\n const start = (this.internalCurrentPage - 1) * this.internalPageSize;\r\n const end = start + this.internalPageSize;\r\n\r\n return this.sortedData.slice(start, end);\r\n }\r\n\r\n private handlePageChange = ({ detail }: any) => {\r\n const { pageNumber, pageSize } = detail;\r\n\r\n if (this.paginationConfig.paginationMode === 'internal') {\r\n this.internalCurrentPage = pageNumber;\r\n this.internalPageSize = pageSize;\r\n } else {\r\n this.pageItemSelected.emit(detail);\r\n }\r\n };\r\n\r\n private get totalPages() {\r\n if (!this.paginationConfig) return 1;\r\n\r\n const pageSize = this.paginationConfig.paginationMode === 'internal' ? this.internalPageSize : this.paginationConfig.pageSize;\r\n\r\n const totalItems = this.paginationConfig.paginationMode === 'external' ? this.paginationConfig.totalItems : this.sortedData.length;\r\n\r\n return Math.ceil(totalItems / pageSize);\r\n }\r\n\r\n @Watch('data')\r\n onDataChange(newValue: any[], _oldValue: any[]) {\r\n if (!newValue) return;\r\n\r\n this.data = newValue;\r\n }\r\n\r\n @Watch('totalItems')\r\n onTotalItemsChange(newValue: number, _oldValue: number) {\r\n if (!newValue || newValue < 1) return;\r\n\r\n this.paginationConfig.totalItems = Number(newValue);\r\n }\r\n\r\n @Watch('loading')\r\n onLoadingChange(newValue: boolean, _oldValue: boolean) {\r\n this.internalLoading = newValue;\r\n }\r\n\r\n private renderHeaderIcons(col: TableColumn) {\r\n return (\r\n <>\r\n {col.sortable && (\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"16\"\r\n height=\"16\"\r\n viewBox=\"0 0 16 16\"\r\n fill=\"none\"\r\n style={{\r\n transform: this.sortKey === col.key && this.sortDirection === 'desc' ? 'rotate(180deg)' : 'rotate(0deg)',\r\n transition: 'transform 0.2s ease',\r\n }}\r\n >\r\n <path\r\n d=\"M7.99998 13.3332V2.6665M7.99998 13.3332C8.87837 13.3332 11.3333 9.99993 11.3333 9.99993M7.99998 13.3332C7.12158 13.3332 4.66663 9.9999 4.66663 9.9999\"\r\n stroke={this.sortKey === col.key ? 'var(--color-icon, #4B5565)' : 'var(--color-icon-disabled, #808c9e)'}\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n )}\r\n\r\n {col.helpIcon && (\r\n <gb-help-tooltip show-supporting-text=\"true\">\r\n <p slot=\"label\">This is a label</p>\r\n <p slot=\"supporting_text\">This is a supporting text</p>\r\n </gb-help-tooltip>\r\n )}\r\n </>\r\n );\r\n }\r\n\r\n renderDesktopView() {\r\n // compute table min-width to force horizontal scroll when > 5 columns\r\n const defaultColWidth = 160;\r\n let totalWidth = 0;\r\n\r\n this.internalColumns.forEach(col => {\r\n if (col.width) {\r\n const w = typeof col.width === 'number' ? col.width : parseInt(String(col.width), 10);\r\n totalWidth += Number.isFinite(w) ? w : defaultColWidth;\r\n } else {\r\n totalWidth += defaultColWidth;\r\n }\r\n });\r\n\r\n // const tableStyle = this.columns.length > 5 ? { minWidth: `${totalWidth}px` } : {};\r\n\r\n return (\r\n <div class={`table_scroll`} ref={el => (this.scrollContainer = el as HTMLDivElement)}>\r\n <table>\r\n <thead>\r\n <tr class=\"table_head_row\">\r\n {this.showCheckbox && (\r\n <th\r\n style={{ width: '15px' }}\r\n class={{\r\n checkbox: this.showCheckbox,\r\n sticky_left: this.stickyFirstColumn,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <gb-checkbox type=\"checkbox\" checked={this.allSelected} indeterminate={this.isIndeterminate} size=\"sm\" onClick={() => this.toggleAll()}></gb-checkbox>\r\n </th>\r\n )}\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((col, index) => {\r\n const align = col.align ?? 'left';\r\n\r\n return (\r\n <th\r\n style={{ width: col.width, cursor: col.sortable ? 'pointer' : 'default', textAlign: col.align || 'left' }}\r\n onClick={() => this.onSort(col)}\r\n class={{\r\n table_header: true,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n sticky_left: this.stickyFirstColumn && index === 0,\r\n sortable: col.sortable,\r\n has_border: this.isScrollable,\r\n }}\r\n >\r\n <div class={`table_head_content align-${align}`}>\r\n {align === 'right' && <div class=\"table_head_icons\">{this.renderHeaderIcons(col)}</div>}\r\n <p class={`head_text text-xs-medium`}>{col.label}</p>\r\n {align === 'left' && <div class=\"table_head_icons\">{this.renderHeaderIcons(col)}</div>}\r\n </div>\r\n </th>\r\n );\r\n })}\r\n {this.showActionsColumn && (\r\n <th\r\n class={{\r\n actions_cell: true,\r\n sticky_right: this.stickyLastColumn,\r\n has_border: this.isScrollable,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <div class=\"empty_div\"></div>\r\n </th>\r\n )}\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {this.displayedData.map((row, rowIndex) => (\r\n <tr class=\"table_body\">\r\n {this.showCheckbox && (\r\n <td class={`table_detail ${this.showCheckbox ? 'checkbox' : ''}`}>\r\n <gb-checkbox\r\n type=\"checkbox\"\r\n checked={this.selectedRowIds.has(this.getRowId(row))}\r\n indeterminate={false}\r\n size=\"sm\"\r\n onClick={() => this.toggleRow(row)}\r\n ></gb-checkbox>\r\n </td>\r\n )}\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((col, index) => (\r\n <>\r\n <td\r\n style={{ textAlign: col.align || 'left' }}\r\n class={`table_detail ${this.stickyFirstColumn && index === 0 ? 'sticky_left' : ''} ${this.isScrollable ? 'has_border' : ''}`}\r\n >\r\n {this.renderCell(col, row)}\r\n </td>\r\n </>\r\n ))}\r\n {this.showActionsColumn && (\r\n <td class={{ table_detail: true, actions_cell: true, sticky_right: this.stickyLastColumn, has_border: this.isScrollable }} style={{ width: '50px' }}>\r\n <>\r\n <div class=\"action_buttons\">\r\n {this.rowActions.map(action => (\r\n <>\r\n {action.type === 'dropdown' ? (\r\n <gb-button\r\n id={`gb-table-trigger-${rowIndex}`}\r\n ref={el => (this.actionButtonRefs[rowIndex] = el)}\r\n class=\"dropdown_button\"\r\n hierarchy=\"tertiary_gray\"\r\n size=\"md\"\r\n icon=\"only\"\r\n iconLeading\r\n iconLeadingSwap=\"assets/more-horizontal.svg\"\r\n onClick={() => this.toggleDropdown(rowIndex)}\r\n ></gb-button>\r\n ) : (\r\n <gb-button\r\n hierarchy=\"tertiary_gray\"\r\n size=\"md\"\r\n icon=\"only\"\r\n destructive={action.destructive}\r\n iconLeading\r\n iconLeadingSwap={action.icon}\r\n onClick={() => this.handleAction(action.action, row)}\r\n ></gb-button>\r\n )}\r\n </>\r\n ))}\r\n </div>\r\n <>\r\n {this.openRowIndex === rowIndex && (\r\n <gb-portal\r\n anchor-id={`gb-table-trigger-${rowIndex}`}\r\n placement={this.dropdownPlacement}\r\n anchorEl={this.currentAnchorEl}\r\n boundaryEl={this.scrollContainer}\r\n dropdownHeight={requestAnimationFrame(() => this.dropdownRef.scrollHeight)}\r\n open\r\n >\r\n <div class=\"portal_dropdown_wrapper\" ref={el => (this.dropdownRef = el as HTMLDivElement)}>\r\n {this.dropdownOptions.map(action => (\r\n <gb-dropdown-items-with-shortcut\r\n icon={action.icon ? true : false}\r\n state={action.disabled ? StateEnum.Disabled : StateEnum.Default}\r\n label={action.label}\r\n icon-src={action.icon}\r\n onClick={() => {\r\n this.handleAction(action.action, row);\r\n this.openRowIndex = null;\r\n }}\r\n ></gb-dropdown-items-with-shortcut>\r\n ))}\r\n </div>\r\n </gb-portal>\r\n )}\r\n </>\r\n </>\r\n </td>\r\n )}\r\n </tr>\r\n ))}\r\n </tbody>\r\n </table>\r\n </div>\r\n );\r\n }\r\n\r\n @Watch('columns')\r\n validateMobilePositions(newCols: TableColumn[]) {\r\n const positions = this.internalColumns.map(c => c.mobile?.position).filter(Boolean);\r\n\r\n const duplicates = positions.filter((item, index) => positions.indexOf(item) !== index);\r\n\r\n if (duplicates.length) {\r\n console.warn('[gb-table] Duplicate mobile positions detected:', duplicates);\r\n }\r\n\r\n this.initializeColumns(newCols);\r\n }\r\n\r\n emitRowData(row: any) {\r\n this.rowClicked.emit(row);\r\n }\r\n\r\n renderMobileView() {\r\n return (\r\n <div class=\"mobile_wrapper\">\r\n {this.displayedData.map(row => {\r\n const topLeft = this.internalColumns.find(c => c.mobile?.position === 'top_left');\r\n const topRight = this.internalColumns.find(c => c.mobile?.position === 'top_right');\r\n const bottomLeft = this.internalColumns.find(c => c.mobile?.position === 'bottom_left');\r\n const bottomRight = this.internalColumns.find(c => c.mobile?.position === 'bottom_right');\r\n\r\n return (\r\n <div class=\"mobile_card_wrapper\" style={{ paddingLeft: this.showCheckbox ? 'var(--spacing-4)' : '' }}>\r\n {this.showCheckbox && (\r\n <gb-checkbox\r\n style={{ paddingTop: 'var(--spacing-6)' }}\r\n type=\"checkbox\"\r\n checked={this.selectedRowIds.has(this.getRowId(row))}\r\n indeterminate={false}\r\n size=\"sm\"\r\n onClick={() => this.toggleRow(row)}\r\n ></gb-checkbox>\r\n )}\r\n {/* <div class=\"mobile-card\">\r\n <div class=\"mobile-row mobile-top\">\r\n <div class=\"mobile-cell\">\r\n <p class=\"top_left_text text-md-regular\">{topLeft && row[topLeft.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell right\">\r\n <p class=\"top_right_text text-md-semi-bold\">{topRight && row[topRight.key]}</p>\r\n </div>\r\n </div>\r\n <div class=\"mobile-row mobile-bottom\">\r\n <div class=\"mobile-cell\">\r\n <p class=\"bottom_left_text text-sm-regular\">{bottomLeft && row[bottomLeft.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell right\">{bottomRight && this.renderCell(bottomRight, row)}</div>\r\n </div>\r\n </div> */}\r\n <div class=\"mobile-card\" onClick={() => this.emitRowData(row)}>\r\n <div class=\"mobile-row left\">\r\n <div class=\"mobile-cell\">\r\n <p class=\"top_left_text text-md-regular\">{topLeft && row[topLeft.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell\">\r\n <p class=\"bottom_left_text text-sm-regular\">{bottomLeft && row[bottomLeft.key]}</p>\r\n </div>\r\n </div>\r\n <div class=\"mobile-row right\">\r\n <div class=\"mobile-cell right\">\r\n <p class=\"top_right_text text-md-semi-bold\">{topRight && row[topRight.key]}</p>\r\n </div>\r\n <div class=\"mobile-cell right\">{bottomRight && this.renderCell(bottomRight, row)}</div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n })}\r\n </div>\r\n );\r\n }\r\n\r\n emitSearchValue(detail) {\r\n this.inputValueChanged.emit(detail.detail);\r\n }\r\n\r\n emitDateChange(detail) {\r\n this.dateChange.emit(detail.detail);\r\n }\r\n\r\n private initializeColumns(cols: TableColumn[]) {\r\n this.internalColumns = (cols || []).map(col => ({\r\n ...col,\r\n visible: col.visible ?? true, // default to true\r\n }));\r\n }\r\n\r\n private reorderColumns(fromIndex: number, toIndex: number) {\r\n const updated = [...this.internalColumns];\r\n const [movedItem] = updated.splice(fromIndex, 1);\r\n updated.splice(toIndex, 0, movedItem);\r\n\r\n this.internalColumns = updated;\r\n }\r\n\r\n columnOptionsButtonClicked() {\r\n return () => {\r\n this.showColumnsPanel = !this.showColumnsPanel;\r\n };\r\n }\r\n\r\n exportButtonClicked(detail) {\r\n this.exportClicked.emit(detail.detail);\r\n }\r\n\r\n private toggleColumn(event: CustomEvent<boolean>, columnKey: string) {\r\n const isVisible = event.detail;\r\n\r\n this.internalColumns = this.internalColumns.map(col => (col.key === columnKey ? { ...col, visible: isVisible } : col));\r\n }\r\n\r\n private onModalPointerDown = (event: PointerEvent) => {\r\n this.isDraggingModal = true;\r\n\r\n this.dragOffset = {\r\n x: event.clientX - this.modalPosition.x,\r\n y: event.clientY - this.modalPosition.y,\r\n };\r\n\r\n window.addEventListener('pointermove', this.onModalPointerMove);\r\n window.addEventListener('pointerup', this.onModalPointerUp);\r\n };\r\n\r\n private onModalPointerMove = (event: PointerEvent) => {\r\n if (!this.isDraggingModal) return;\r\n\r\n this.modalPosition = {\r\n x: event.clientX - this.dragOffset.x,\r\n y: event.clientY - this.dragOffset.y,\r\n };\r\n };\r\n\r\n private onModalPointerUp = () => {\r\n this.isDraggingModal = false;\r\n\r\n window.removeEventListener('pointermove', this.onModalPointerMove);\r\n window.removeEventListener('pointerup', this.onModalPointerUp);\r\n };\r\n\r\n private openFilterModal() {\r\n this.showFilterModalInternal = true;\r\n\r\n requestAnimationFrame(() => {\r\n this.isFilterModalVisible = true;\r\n });\r\n }\r\n\r\n private closeFilterModal() {\r\n this.isFilterModalVisible = false;\r\n\r\n setTimeout(() => {\r\n this.showFilterModalInternal = false;\r\n }, 300); // match CSS duration\r\n }\r\n\r\n onApplyFilters(detail) {\r\n console.log(detail.detail);\r\n this.applyFilters.emit(detail.detail);\r\n this.showFilterModalInternal = false;\r\n }\r\n\r\n disconnectedCallback() {\r\n window.removeEventListener('resize', this.checkViewport);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`table_wrapper`}>\r\n <gb-table-header\r\n mode={this.tableHeaderConfig.datePickerMode}\r\n table-heading={this.tableHeaderConfig.tableHeading}\r\n table-heading-label={this.tableHeaderConfig.tableHeadingLabel}\r\n show-search={this.tableHeaderConfig.showSearch}\r\n show-date-filter={this.tableHeaderConfig.showDateFilter}\r\n show-filter={this.tableHeaderConfig.showFilter}\r\n show-export={this.tableHeaderConfig.showExport}\r\n show-column-options={this.tableHeaderConfig.showColumnOptions}\r\n show-refresh-button={this.tableHeaderConfig.showRefreshButton}\r\n input-placeholder={this.tableHeaderConfig.inputPlaceholder}\r\n date-picker-placeholder={this.tableHeaderConfig.datePickerPlaceholder}\r\n show-entire-data={this.tableHeaderConfig.showEntireData}\r\n show-layout-toggle={this.tableHeaderConfig.showLayoutToggle}\r\n filter-state={this.tableHeaderConfig.filterState}\r\n filter-count={this.tableHeaderConfig.filterCount}\r\n export-button-state={this.tableHeaderConfig.exportButtonState}\r\n pdf-state={this.tableHeaderConfig.pdfState}\r\n csv-state={this.tableHeaderConfig.csvState}\r\n onInputValueChanged={this.emitSearchValue.bind(this)}\r\n onDateChange={this.emitDateChange.bind(this)}\r\n onColumnOptionsButtonClicked={this.columnOptionsButtonClicked()}\r\n onExportClicked={e => this.exportButtonClicked(e)}\r\n onFilterButtonClicked={() => this.openFilterModal()}\r\n ></gb-table-header>\r\n {this.showColumnsPanel && (\r\n <div\r\n class=\"dialog\"\r\n style={{\r\n transform: `translate(${this.modalPosition.x}px, ${this.modalPosition.y}px)`,\r\n }}\r\n >\r\n <div class=\"column-modal\">\r\n <div class=\"modal_header\">\r\n <div class=\"modal_header_content\" onPointerDown={this.onModalPointerDown}>\r\n <h4 class=\"heading display-xs-semi-bold\">Column Options</h4>\r\n <gb-button-close class=\"close_button\" color=\"gray\" size=\"sm\" onClick={() => (this.showColumnsPanel = false)}></gb-button-close>\r\n </div>\r\n </div>\r\n <div class=\"content_wrapper\">\r\n <div class=\"modal_content\">\r\n {this.internalColumns.map((col, index) => (\r\n <div\r\n class=\"column_option\"\r\n draggable\r\n onDragStart={() => (this.draggedIndex = index)}\r\n onDragOver={e => e.preventDefault()}\r\n onDrop={() => {\r\n if (this.draggedIndex !== null && this.draggedIndex !== index) {\r\n this.reorderColumns(this.draggedIndex, index);\r\n }\r\n this.draggedIndex = null;\r\n }}\r\n >\r\n <div class=\"label_and_dragger\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\r\n <path\r\n d=\"M8 6H8.00635M8 12H8.00635M8 18H8.00635M15.9937 6H16M15.9937 12H16M15.9937 18H16\"\r\n stroke=\"var(--color-icon, #4B5565)\"\r\n stroke-width=\"2.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n <p class=\"label text-md-regular\">{col.label}</p>\r\n </div>\r\n <gb-toggle\r\n size=\"sm\"\r\n state={StateEnum.Default}\r\n position=\"right\"\r\n pressed={col.visible}\r\n text={false}\r\n onToggleClicked={e => {\r\n this.toggleColumn(e, col.key);\r\n }}\r\n ></gb-toggle>\r\n </div>\r\n ))}\r\n <div class=\"modal-actions\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n )}\r\n {this.showFilterModalInternal && (\r\n <div class={`filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}`}>\r\n <gb-filter-modal\r\n class=\"filter_modal\"\r\n onClose={e => {\r\n e.stopPropagation();\r\n this.closeFilterModal();\r\n }}\r\n onApplyFilters={e => this.onApplyFilters(e)}\r\n ></gb-filter-modal>\r\n </div>\r\n )}\r\n {this.internalLoading ? (\r\n // ✅ ALWAYS show loading when loading = true\r\n <table>\r\n <thead>\r\n <tr class=\"table_head_row\">\r\n {this.showCheckbox && (\r\n <th\r\n class={{\r\n checkbox: true,\r\n sticky_left: this.stickyFirstColumn,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <gb-checkbox type=\"checkbox\" checked={this.allSelected} indeterminate={this.isIndeterminate} size=\"sm\" onClick={() => this.toggleAll()}></gb-checkbox>\r\n </th>\r\n )}\r\n\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((col, index) => {\r\n const align = col.align ?? 'left';\r\n\r\n return (\r\n <th\r\n style={{\r\n width: col.width,\r\n textAlign: col.align || 'left',\r\n }}\r\n class={{\r\n table_header: true,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n sticky_left: this.stickyFirstColumn && index === 0,\r\n has_border: this.isScrollable,\r\n }}\r\n >\r\n <div class={`table_head_content align-${align}`}>\r\n <p class=\"head_text text-xs-medium\">{col.label}</p>\r\n </div>\r\n </th>\r\n );\r\n })}\r\n\r\n {this.showActionsColumn && (\r\n <th\r\n class={{\r\n actions_cell: true,\r\n sticky_right: this.stickyLastColumn,\r\n has_border: this.isScrollable,\r\n [`table_header_${this.tableHeadColor}`]: true,\r\n }}\r\n >\r\n <div class=\"empty_div\"></div>\r\n </th>\r\n )}\r\n </tr>\r\n </thead>\r\n\r\n <tbody>\r\n {Array.from({ length: 5 }).map(_ => (\r\n <tr class=\"table_body\">\r\n {this.showCheckbox && (\r\n <td class=\"table_detail checkbox\">\r\n <gb-checkbox type=\"checkbox\" checked={this.allSelected} indeterminate={this.isIndeterminate} size=\"sm\" onClick={() => this.toggleAll()}></gb-checkbox>\r\n </td>\r\n )}\r\n\r\n {this.internalColumns\r\n .filter(col => col.visible)\r\n .map((_col, index) => (\r\n <td class={`table_detail ${this.stickyFirstColumn && index === 0 ? 'sticky_left' : ''} ${this.isScrollable ? 'has_border' : ''}`}>\r\n <div class=\"loader\">\r\n <div class=\"skeleton skeleton-text\"></div>\r\n </div>\r\n </td>\r\n ))}\r\n\r\n {this.showActionsColumn && (\r\n <td\r\n class={{\r\n table_detail: true,\r\n actions_cell: true,\r\n sticky_right: this.stickyLastColumn,\r\n has_border: this.isScrollable,\r\n }}\r\n style={{ width: '50px' }}\r\n >\r\n <div class=\"loader\">\r\n <div class=\"skeleton skeleton-action\"></div>\r\n </div>\r\n </td>\r\n )}\r\n </tr>\r\n ))}\r\n </tbody>\r\n </table>\r\n ) : this.data.length === 0 ? (\r\n // ✅ No loading + no data = empty state\r\n <div class=\"empty_state_wrapper\">\r\n <gb-empty-state\r\n size=\"sm\"\r\n main-text={this.emptyStateConfig.mainText}\r\n supporting-text={this.emptyStateConfig.supportingText}\r\n color={this.emptyStateConfig.color}\r\n theme={this.emptyStateConfig.theme}\r\n primary-button-icon-leading-swap=\"assets/plus.svg\"\r\n illustration-icon={this.emptyStateConfig.illustrationIcon}\r\n background={true}\r\n background-type=\"grid\"\r\n icon=\"illustration\"\r\n illustration-style=\"cloud\"\r\n ></gb-empty-state>\r\n </div>\r\n ) : (\r\n // ✅ Has data + not loading\r\n <>{this.isMobile ? this.renderMobileView() : this.renderDesktopView()}</>\r\n )}\r\n {this.paginationConfig && this.data.length > 0 && (\r\n <gb-pagination\r\n entries-dropdown-menu-position={this.paginationConfig.entriesDropdownMenuPosition}\r\n page-size={this.paginationConfig.pageSize}\r\n current-page={this.paginationConfig.paginationMode === 'internal' ? this.internalCurrentPage : this.paginationConfig.currentPage}\r\n total-pages={this.totalPages}\r\n onPageItemSelected={this.handlePageChange.bind(this)}\r\n ></gb-pagination>\r\n )}\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
@@ -12,7 +12,7 @@ export class GbToggleBase {
12
12
  render() {
13
13
  return [
14
14
  h("input", { key: '136cf68e1dd0a0c4dd681b6407b8d9efa03428ce', type: "checkbox", id: "customCheckbox", class: `${this.pressed ? 'pressed' : ''}`, readonly: true }),
15
- h("label", { key: '05dbc20a44fff374add62cfcc3a4747afb08cea5', onClick: () => this.handleToggleClick(), class: `${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`, htmlFor: "customCheckbox" }, this.pressed && this.state === 'default' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `default_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#075DB2", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : this.pressed && this.state === 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `disabled_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "#E3E8EF", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : null),
15
+ h("label", { key: '6c2faf1a97307d179a2b9e39d9c5a6bea1489a0d', onClick: () => this.handleToggleClick(), class: `${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`, htmlFor: "customCheckbox" }, this.pressed && this.state === 'default' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `default_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "var(--color-background-selected, #075DB2)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : this.pressed && this.state === 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `disabled_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "var(--color-background-gray-subtle, #E3E8EF)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : null),
16
16
  ];
17
17
  }
18
18
  static get is() { return "gb-toggle-base"; }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-toggle-base.js","sourceRoot":"","sources":["../../../src/components/gb-toggle-base/gb-toggle-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQxE,MAAM,OAAO,YAAY;IALzB;QAQ2B,YAAO,GAAY,KAAK,CAAC;KA0CnD;IAvCS,iBAAiB;QACvB,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;YAC7B,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO;YACL,8DAAO,IAAI,EAAC,UAAU,EAAC,EAAE,EAAC,gBAAgB,EAAC,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,SAAG;YACjG,8DACE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE,EACvC,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,EACpE,OAAO,EAAC,gBAAgB,IAEvB,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAC1C,WAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,uBAAuB,IAAI,CAAC,IAAI,EAAE;gBACtI,YACE,CAAC,EAAC,0GAA0G,EAC5G,MAAM,EAAC,SAAS,kBACH,KAAK,oBACH,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,CAC9C,WAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,wBAAwB,IAAI,CAAC,IAAI,EAAE;gBACvI,YACE,CAAC,EAAC,0GAA0G,EAC5G,MAAM,EAAC,SAAS,kBACH,KAAK,oBACH,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CAAC,CAAC,CAAC,IAAI,CACF;SACT,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from \"@stencil/core\";\r\nimport { GeneralSizes, StateEnum } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-toggle-base',\r\n styleUrl: 'gb-toggle-base.css',\r\n shadow: true,\r\n})\r\nexport class GbToggleBase {\r\n @Prop() size: GeneralSizes;\r\n @Prop() state: StateEnum;\r\n @Prop({ mutable: true }) pressed: boolean = false;\r\n @Event() toggleClicked: EventEmitter<boolean>;\r\n\r\n private handleToggleClick() {\r\n if (this.state === 'default') {\r\n this.pressed = !this.pressed;\r\n this.toggleClicked.emit(this.pressed);\r\n }\r\n }\r\n\r\n render() {\r\n return [\r\n <input type=\"checkbox\" id=\"customCheckbox\" class={`${this.pressed ? 'pressed' : ''}`} readonly />,\r\n <label\r\n onClick={() => this.handleToggleClick()}\r\n class={`${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`}\r\n htmlFor=\"customCheckbox\"\r\n >\r\n {this.pressed && this.state === 'default' ? (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`default_checked_svg ${this.size}`}>\r\n <path\r\n d=\"M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667\"\r\n stroke=\"#075DB2\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n ) : this.pressed && this.state === 'disabled' ? (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`disabled_checked_svg ${this.size}`}>\r\n <path\r\n d=\"M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667\"\r\n stroke=\"#E3E8EF\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n ) : null}\r\n </label>,\r\n ];\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-toggle-base.js","sourceRoot":"","sources":["../../../src/components/gb-toggle-base/gb-toggle-base.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;A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AAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,wBAAwB,IAAI,CAAC,IAAI,EAAE;gBACvI,YACE,CAAC,EAAC,0GAA0G,EAC5G,MAAM,EAAC,8CAA8C,kBACxC,KAAK,oBACH,OAAO,qBACN,OAAO,GACvB,CACE,CACP,CAAC,CAAC,CAAC,IAAI,CACF;SACT,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from \"@stencil/core\";\r\nimport { GeneralSizes, StateEnum } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-toggle-base',\r\n styleUrl: 'gb-toggle-base.css',\r\n shadow: true,\r\n})\r\nexport class GbToggleBase {\r\n @Prop() size: GeneralSizes;\r\n @Prop() state: StateEnum;\r\n @Prop({ mutable: true }) pressed: boolean = false;\r\n @Event() toggleClicked: EventEmitter<boolean>;\r\n\r\n private handleToggleClick() {\r\n if (this.state === 'default') {\r\n this.pressed = !this.pressed;\r\n this.toggleClicked.emit(this.pressed);\r\n }\r\n }\r\n\r\n render() {\r\n return [\r\n <input type=\"checkbox\" id=\"customCheckbox\" class={`${this.pressed ? 'pressed' : ''}`} readonly />,\r\n <label onClick={() => this.handleToggleClick()} class={`${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`} htmlFor=\"customCheckbox\">\r\n {this.pressed && this.state === 'default' ? (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`default_checked_svg ${this.size}`}>\r\n <path\r\n d=\"M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667\"\r\n stroke=\"var(--color-background-selected, #075DB2)\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n ) : this.pressed && this.state === 'disabled' ? (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`disabled_checked_svg ${this.size}`}>\r\n <path\r\n d=\"M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667\"\r\n stroke=\"var(--color-background-gray-subtle, #E3E8EF)\"\r\n stroke-width=\"1.5\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n ) : null}\r\n </label>,\r\n ];\r\n }\r\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"reusableModels.js","sourceRoot":"","sources":["../../src/models/reusableModels.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAMD,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,yCAAwB,CAAA;IACxB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACrB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC","sourcesContent":["export type GeneralSizes = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled',\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none' | 'center';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy',\r\n}\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline',\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple' | 'white';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes =\r\n | 'button_primary'\r\n | 'button_gray'\r\n | 'button_white'\r\n | 'rounded_button_white'\r\n | 'underline'\r\n | 'underline_filled'\r\n | 'line'\r\n | 'button_white_border'\r\n | 'rounded_button_white_border'\r\n | 'button_gray_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\nexport type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags';\r\n\r\nexport type ColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow' | 'red' | 'white';\r\n\r\nexport type DropdownItemTypes = string | number | { name: string | number; username: string; selected?: boolean };\r\n\r\nexport type PaginationDotTypes = 'dot' | 'line';\r\n\r\nexport type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\nexport type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4' | 'png' | 'empty';\r\n\r\nexport type TableCellTypes = 'text' | 'lead_text' | 'lead_checkbox' | 'badge';\r\n\r\nexport type ProgressStepStatus = 'incomplete' | 'current' | 'complete';\r\n\r\nexport type ProgressStepTypes = 'icon_only' | 'icon_left' | 'icon_top' | 'text_line' | 'featured_icon_left' | 'featured_icon_top';\r\n\r\nexport type ProgressStepStates = 'default' | 'destructive';\r\n\r\nexport type BadgeTypes = 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n\r\nexport type GeneralStyles = 'standard' | 'compact';\r\n\r\nexport type StateType = 'default' | 'disabled' | 'applied' | 'loading';\r\n\r\nexport type ButtonGroupTypes = 'false' | 'leading' | 'only' | 'dot' | 'checkbox';\r\n\r\nexport type ThemeTypes = 'system' | 'light' | 'dark';\r\n\r\nexport type BadgeIconTypes = 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only' | 'false';\r\n\r\nexport type DropdownRoles = { badgeLabel: string; badgeColor: GeneralColors; badgeType: BadgeTypes };\r\n\r\nexport type StepperType = {\r\n state: ProgressStepStates;\r\n status: ProgressStepStatus;\r\n label?: string;\r\n supportingText?: string;\r\n};\r\n\r\nexport type DetailCellType = 'information' | 'document' | 'status' | 'button';\r\n\r\nexport type MetricFeaturedIconTypes = 'glassmorphism' | 'circular_filled';\r\n\r\nexport interface DropdownListGroup {\r\n icon: string;\r\n label: string;\r\n shortcut: string;\r\n}\r\n\r\nexport type CloseButtonPositions = 'left' | 'right';\r\n\r\nexport interface Notification {\r\n label: string;\r\n time: string;\r\n desc: string;\r\n icon: string;\r\n}\r\n\r\nexport type IllustrationTypes = 'cloud' | 'box' | 'documents' | 'credit_card';\r\n\r\nexport type PatternTypes = 'circles' | 'grid' | 'grid_dot' | 'squares';\r\n\r\nexport type MobilePosition = 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right';\r\n\r\nexport interface TableColumn {\r\n key: string;\r\n label: string;\r\n supportingText?: string | ((row: any) => string);\r\n width?: string;\r\n align?: 'left' | 'center' | 'right';\r\n stickyRight?: boolean;\r\n helpIcon?: boolean;\r\n sortable?: boolean;\r\n sortType?: 'string' | 'number' | 'date';\r\n visible?: boolean;\r\n sortComparator?: (a: any, b: any) => number;\r\n cellComponent?: string;\r\n cellActionType?: 'dropdown' | 'void';\r\n cellProps?: ((row: any) => { [key: string]: any }) | { [key: string]: any };\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 onClick?: () => void;\r\n mobile?: {\r\n position?: MobilePosition;\r\n };\r\n}\r\n\r\nexport interface RowAction {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n destructive?: boolean;\r\n type?: 'button' | 'dropdown';\r\n}\r\n\r\nexport interface DropdownOption {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n}\r\n\r\nexport type PortalPlacement =\r\n | 'top'\r\n | 'top-start'\r\n | 'top-end'\r\n | 'bottom'\r\n | 'bottom-start'\r\n | 'bottom-end'\r\n | 'left'\r\n | 'left-start'\r\n | 'left-end'\r\n | 'right'\r\n | 'right-start'\r\n | 'right-end';\r\n\r\n export interface FilterConfig {\r\n title: string;\r\n enableDateRange: boolean;\r\n showClearButton?: boolean;\r\n additionalFields?: {\r\n tag: string;\r\n key: string;\r\n event: string;\r\n props: any;\r\n default?: any;\r\n }[];\r\n initialValues: {\r\n pageNumber: number;\r\n pageSize: number;\r\n };\r\n }"]}
1
+ {"version":3,"file":"reusableModels.js","sourceRoot":"","sources":["../../src/models/reusableModels.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAMD,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,yCAAwB,CAAA;IACxB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACrB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC","sourcesContent":["export type GeneralSizes = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled',\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none' | 'center';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy',\r\n}\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline',\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple' | 'white';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes =\r\n | 'button_primary'\r\n | 'button_gray'\r\n | 'button_white'\r\n | 'rounded_button_white'\r\n | 'underline'\r\n | 'underline_filled'\r\n | 'line'\r\n | 'button_white_border'\r\n | 'rounded_button_white_border'\r\n | 'button_gray_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\nexport type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags';\r\n\r\nexport type ColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow' | 'red' | 'white';\r\n\r\nexport type DropdownItemTypes = string | number | { name: string | number; username: string; selected?: boolean };\r\n\r\nexport type PaginationDotTypes = 'dot' | 'line';\r\n\r\nexport type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\nexport type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4' | 'png' | 'empty';\r\n\r\nexport type TableCellTypes = 'text' | 'lead_text' | 'lead_checkbox' | 'badge';\r\n\r\nexport type ProgressStepStatus = 'incomplete' | 'current' | 'complete';\r\n\r\nexport type ProgressStepTypes = 'icon_only' | 'icon_left' | 'icon_top' | 'text_line' | 'featured_icon_left' | 'featured_icon_top';\r\n\r\nexport type ProgressStepStates = 'default' | 'destructive';\r\n\r\nexport type BadgeTypes = 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n\r\nexport type GeneralStyles = 'standard' | 'compact';\r\n\r\nexport type StateType = 'default' | 'disabled' | 'applied' | 'loading';\r\n\r\nexport type ButtonGroupTypes = 'false' | 'leading' | 'only' | 'dot' | 'checkbox';\r\n\r\nexport type ThemeTypes = 'system' | 'light' | 'dark';\r\n\r\nexport type BadgeIconTypes = 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only' | 'false';\r\n\r\nexport type DropdownRoles = { badgeLabel: string; badgeColor: GeneralColors; badgeType: BadgeTypes };\r\n\r\nexport type StepperType = {\r\n state: ProgressStepStates;\r\n status: ProgressStepStatus;\r\n label?: string;\r\n supportingText?: string;\r\n};\r\n\r\nexport type DetailCellType = 'information' | 'document' | 'status' | 'button';\r\n\r\nexport type MetricFeaturedIconTypes = 'glassmorphism' | 'circular_filled';\r\n\r\nexport interface DropdownListGroup {\r\n icon: string;\r\n label: string;\r\n shortcut: string;\r\n}\r\n\r\nexport type CloseButtonPositions = 'left' | 'right';\r\n\r\nexport interface Notification {\r\n label: string;\r\n time: string;\r\n desc: string;\r\n icon: string;\r\n}\r\n\r\nexport type IllustrationTypes = 'cloud' | 'box' | 'documents' | 'credit_card';\r\n\r\nexport type PatternTypes = 'circles' | 'grid' | 'grid_dot' | 'squares';\r\n\r\nexport type MobilePosition = 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right';\r\n\r\nexport interface TableColumn {\r\n key: string;\r\n label: string;\r\n transform?: {\r\n \r\n }\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 stickyRight?: boolean;\r\n helpIcon?: boolean;\r\n sortable?: boolean;\r\n sortType?: 'string' | 'number' | 'date';\r\n visible?: boolean;\r\n sortComparator?: (a: any, b: any) => number;\r\n cellComponent?: string;\r\n cellActionType?: 'dropdown' | 'void';\r\n cellProps?: ((row: any) => { [key: string]: any }) | { [key: string]: any };\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 onClick?: () => void;\r\n mobile?: {\r\n position?: MobilePosition;\r\n };\r\n}\r\n\r\nexport interface RowAction {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n destructive?: boolean;\r\n type?: 'button' | 'dropdown';\r\n}\r\n\r\nexport interface DropdownOption {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n}\r\n\r\nexport type PortalPlacement =\r\n | 'top'\r\n | 'top-start'\r\n | 'top-end'\r\n | 'bottom'\r\n | 'bottom-start'\r\n | 'bottom-end'\r\n | 'left'\r\n | 'left-start'\r\n | 'left-end'\r\n | 'right'\r\n | 'right-start'\r\n | 'right-end';\r\n\r\n export interface FilterConfig {\r\n title: string;\r\n enableDateRange: boolean;\r\n showClearButton?: boolean;\r\n additionalFields?: {\r\n tag: string;\r\n key: string;\r\n event: string;\r\n props: any;\r\n default?: any;\r\n }[];\r\n initialValues: {\r\n pageNumber: number;\r\n pageSize: number;\r\n };\r\n }"]}
@@ -1,4 +1,4 @@
1
- import { G as GbAvatarDropdown$1, d as defineCustomElement$1 } from './p-Co457UXm.js';
1
+ import { G as GbAvatarDropdown$1, d as defineCustomElement$1 } from './p-B1U9qYyf.js';
2
2
 
3
3
  const GbAvatarDropdown = GbAvatarDropdown$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { G as GbContactHelpDropdown$1, d as defineCustomElement$1 } from './p-fASCuyDJ.js';
1
+ import { G as GbContactHelpDropdown$1, d as defineCustomElement$1 } from './p-CgRjoJ7j.js';
2
2
 
3
3
  const GbContactHelpDropdown = GbContactHelpDropdown$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { G as GbDropdownShortcut, d as defineCustomElement$1 } from './p-_h_4WkXb.js';
1
+ import { G as GbDropdownShortcut, d as defineCustomElement$1 } from './p-D9WlXXTb.js';
2
2
 
3
3
  const GbDropdownItemsWithShortcut = GbDropdownShortcut;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { G as GbFilterModal$1, d as defineCustomElement$1 } from './p-BAGZEYW2.js';
1
+ import { G as GbFilterModal$1, d as defineCustomElement$1 } from './p-B8V2b584.js';
2
2
 
3
3
  const GbFilterModal = GbFilterModal$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -2,7 +2,7 @@ import { p as proxyCustomElement, H, c as createEvent, g as getAssetPath, h, F a
2
2
  import { S as StateEnum } from './p-cHn6O-Kf.js';
3
3
  import { d as defineCustomElement$u } from './p-CCJRBTmm.js';
4
4
  import { d as defineCustomElement$t } from './p-CBhs3lgE.js';
5
- import { d as defineCustomElement$s } from './p-Co457UXm.js';
5
+ import { d as defineCustomElement$s } from './p-B1U9qYyf.js';
6
6
  import { d as defineCustomElement$r } from './p-TwFNB1NA.js';
7
7
  import { d as defineCustomElement$q } from './p-CLliPnaQ.js';
8
8
  import { d as defineCustomElement$p } from './p-2a0wkTHt.js';
@@ -11,14 +11,14 @@ import { d as defineCustomElement$n } from './p-C3KltUhi.js';
11
11
  import { d as defineCustomElement$m } from './p-DgkM-_4B.js';
12
12
  import { d as defineCustomElement$l } from './p-C3Ajgg65.js';
13
13
  import { d as defineCustomElement$k } from './p-BSWqodKJ.js';
14
- import { d as defineCustomElement$j } from './p-fASCuyDJ.js';
15
- import { d as defineCustomElement$i } from './p-_h_4WkXb.js';
14
+ import { d as defineCustomElement$j } from './p-CgRjoJ7j.js';
15
+ import { d as defineCustomElement$i } from './p-D9WlXXTb.js';
16
16
  import { d as defineCustomElement$h } from './p-Bdn4kcZi.js';
17
- import { d as defineCustomElement$g } from './p-btCkXoB_.js';
17
+ import { d as defineCustomElement$g } from './p-Dy0A4tjX.js';
18
18
  import { d as defineCustomElement$f } from './p-VX-r7DWK.js';
19
19
  import { d as defineCustomElement$e } from './p-BEMW7MAj.js';
20
20
  import { d as defineCustomElement$d } from './p-vPCRhWG0.js';
21
- import { d as defineCustomElement$c } from './p-BJOkCh_x.js';
21
+ import { d as defineCustomElement$c } from './p-xpOcvUAn.js';
22
22
  import { d as defineCustomElement$b } from './p-D7oemwx-.js';
23
23
  import { d as defineCustomElement$a } from './p-2WcQOU7L.js';
24
24
  import { d as defineCustomElement$9 } from './p-CBVQbHoV.js';
@@ -1,4 +1,4 @@
1
- import { G as GbHelpDropdown$1, d as defineCustomElement$1 } from './p-btCkXoB_.js';
1
+ import { G as GbHelpDropdown$1, d as defineCustomElement$1 } from './p-Dy0A4tjX.js';
2
2
 
3
3
  const GbHelpDropdown = GbHelpDropdown$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { G as GbInputDropdown$1, d as defineCustomElement$1 } from './p-CBwlEMQ5.js';
1
+ import { G as GbInputDropdown$1, d as defineCustomElement$1 } from './p-B1q7GSUP.js';
2
2
 
3
3
  const GbInputDropdown = GbInputDropdown$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { G as GbInputField$1, d as defineCustomElement$1 } from './p-BJOkCh_x.js';
1
+ import { G as GbInputField$1, d as defineCustomElement$1 } from './p-xpOcvUAn.js';
2
2
 
3
3
  const GbInputField = GbInputField$1;
4
4
  const defineCustomElement = defineCustomElement$1;