@jmruthers/pace-core 0.5.121 → 0.5.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AuthService-D4646R4b.d.ts → AuthService-DYuQPJj6.d.ts} +0 -9
- package/dist/{DataTable-DGZDJUYM.js → DataTable-WTS4IRF2.js} +7 -8
- package/dist/{PublicLoadingSpinner-DgDWTFqn.d.ts → PublicLoadingSpinner-CaoRbHvJ.d.ts} +30 -4
- package/dist/{UnifiedAuthProvider-UACKFATV.js → UnifiedAuthProvider-6C47WIML.js} +3 -4
- package/dist/{chunk-D6BOFXYR.js → chunk-35ZDPMBM.js} +3 -3
- package/dist/{chunk-CGURJ27Z.js → chunk-4MXVZVNS.js} +2 -2
- package/dist/{chunk-ZYJ6O5CA.js → chunk-C43QIDN3.js} +2 -2
- package/dist/{chunk-VKOCWWVY.js → chunk-CX5M4ZAG.js} +1 -6
- package/dist/{chunk-VKOCWWVY.js 3.map → chunk-CX5M4ZAG.js.map} +1 -1
- package/dist/{chunk-HFBOFZ3Z.js → chunk-DHMFMXFV.js} +258 -243
- package/dist/chunk-DHMFMXFV.js.map +1 -0
- package/dist/{chunk-RIEJGKD3.js → chunk-ESJTIADP.js} +15 -6
- package/dist/{chunk-RIEJGKD3.js.map → chunk-ESJTIADP.js.map} +1 -1
- package/dist/{chunk-SMJZMKYN.js → chunk-GEVIB2UB.js} +43 -10
- package/dist/chunk-GEVIB2UB.js.map +1 -0
- package/dist/{chunk-TDNI6ZWL.js → chunk-IJOZZOGT.js} +7 -7
- package/dist/chunk-IJOZZOGT.js.map +1 -0
- package/dist/{chunk-GZRXOUBE.js → chunk-M6DDYFUD.js} +2 -2
- package/dist/chunk-M6DDYFUD.js.map +1 -0
- package/dist/{chunk-B4GZ2BXO.js → chunk-NZGLXZGP.js} +3 -3
- package/dist/{chunk-NZ32EONV.js → chunk-QWNJCQXZ.js} +2 -2
- package/dist/{chunk-FKFHZUGF.js → chunk-XN6GWKMV.js} +43 -56
- package/dist/chunk-XN6GWKMV.js.map +1 -0
- package/dist/{chunk-BHWIUEYH.js → chunk-ZBLK676C.js} +1 -61
- package/dist/chunk-ZBLK676C.js.map +1 -0
- package/dist/{chunk-QPI2CCBA.js → chunk-ZPJMYGEP.js} +149 -96
- package/dist/chunk-ZPJMYGEP.js.map +1 -0
- package/dist/components.d.ts +1 -1
- package/dist/components.js +11 -11
- package/dist/{formatting-B1jSqgl-.d.ts → formatting-DFcCxUEk.d.ts} +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +9 -8
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +19 -17
- package/dist/index.js.map +1 -1
- package/dist/providers.d.ts +2 -2
- package/dist/providers.js +2 -3
- package/dist/rbac/index.js +7 -8
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.js +5 -3
- package/dist/theming/runtime.d.ts +73 -1
- package/dist/theming/runtime.js +5 -5
- package/dist/{usePublicRouteParams-BdF8bZgs.d.ts → usePublicRouteParams-Dyt1tzI9.d.ts} +60 -8
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +5 -5
- package/docs/api/classes/ColumnFactory.md +1 -1
- package/docs/api/classes/ErrorBoundary.md +1 -1
- package/docs/api/classes/InvalidScopeError.md +1 -1
- package/docs/api/classes/MissingUserContextError.md +1 -1
- package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
- package/docs/api/classes/PermissionDeniedError.md +1 -1
- package/docs/api/classes/PublicErrorBoundary.md +6 -6
- package/docs/api/classes/RBACAuditManager.md +1 -1
- package/docs/api/classes/RBACCache.md +1 -1
- package/docs/api/classes/RBACEngine.md +1 -1
- package/docs/api/classes/RBACError.md +1 -1
- package/docs/api/classes/RBACNotInitializedError.md +1 -1
- package/docs/api/classes/SecureSupabaseClient.md +6 -6
- package/docs/api/classes/StorageUtils.md +1 -1
- package/docs/api/enums/FileCategory.md +1 -1
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CardProps.md +1 -1
- package/docs/api/interfaces/ColorPalette.md +1 -1
- package/docs/api/interfaces/ColorShade.md +1 -1
- package/docs/api/interfaces/DataAccessRecord.md +1 -1
- package/docs/api/interfaces/DataRecord.md +1 -1
- package/docs/api/interfaces/DataTableAction.md +1 -1
- package/docs/api/interfaces/DataTableColumn.md +1 -1
- package/docs/api/interfaces/DataTableProps.md +1 -1
- package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
- package/docs/api/interfaces/EmptyStateConfig.md +1 -1
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
- package/docs/api/interfaces/EventAppRoleData.md +1 -1
- package/docs/api/interfaces/FileDisplayProps.md +1 -1
- package/docs/api/interfaces/FileMetadata.md +1 -1
- package/docs/api/interfaces/FileReference.md +1 -1
- package/docs/api/interfaces/FileSizeLimits.md +1 -1
- package/docs/api/interfaces/FileUploadOptions.md +1 -1
- package/docs/api/interfaces/FileUploadProps.md +1 -1
- package/docs/api/interfaces/FooterProps.md +1 -1
- package/docs/api/interfaces/GrantEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
- package/docs/api/interfaces/InputProps.md +1 -1
- package/docs/api/interfaces/LabelProps.md +1 -1
- package/docs/api/interfaces/LoginFormProps.md +1 -1
- package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
- package/docs/api/interfaces/NavigationContextType.md +1 -1
- package/docs/api/interfaces/NavigationGuardProps.md +1 -1
- package/docs/api/interfaces/NavigationItem.md +1 -1
- package/docs/api/interfaces/NavigationMenuProps.md +1 -1
- package/docs/api/interfaces/NavigationProviderProps.md +1 -1
- package/docs/api/interfaces/Organisation.md +1 -1
- package/docs/api/interfaces/OrganisationContextType.md +1 -1
- package/docs/api/interfaces/OrganisationMembership.md +1 -1
- package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
- package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
- package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
- package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
- package/docs/api/interfaces/PageAccessRecord.md +1 -1
- package/docs/api/interfaces/PagePermissionContextType.md +1 -1
- package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
- package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
- package/docs/api/interfaces/PaletteData.md +1 -1
- package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/ProtectedRouteProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryProps.md +7 -7
- package/docs/api/interfaces/PublicErrorBoundaryState.md +5 -5
- package/docs/api/interfaces/PublicLoadingSpinnerProps.md +7 -7
- package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
- package/docs/api/interfaces/PublicPageHeaderProps.md +51 -12
- package/docs/api/interfaces/PublicPageLayoutProps.md +72 -12
- package/docs/api/interfaces/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RoleManagementResult.md +1 -1
- package/docs/api/interfaces/RouteAccessRecord.md +1 -1
- package/docs/api/interfaces/RouteConfig.md +1 -1
- package/docs/api/interfaces/SecureDataContextType.md +1 -1
- package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
- package/docs/api/interfaces/StorageConfig.md +1 -1
- package/docs/api/interfaces/StorageFileInfo.md +1 -1
- package/docs/api/interfaces/StorageFileMetadata.md +1 -1
- package/docs/api/interfaces/StorageListOptions.md +1 -1
- package/docs/api/interfaces/StorageListResult.md +1 -1
- package/docs/api/interfaces/StorageUploadOptions.md +1 -1
- package/docs/api/interfaces/StorageUploadResult.md +1 -1
- package/docs/api/interfaces/StorageUrlOptions.md +1 -1
- package/docs/api/interfaces/StyleImport.md +1 -1
- package/docs/api/interfaces/SwitchProps.md +1 -1
- package/docs/api/interfaces/ToastActionElement.md +1 -1
- package/docs/api/interfaces/ToastProps.md +1 -1
- package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
- package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayOptions.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayReturn.md +1 -1
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeOptions.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeReturn.md +1 -1
- package/docs/api/interfaces/UserEventAccess.md +1 -1
- package/docs/api/interfaces/UserMenuProps.md +1 -1
- package/docs/api/interfaces/UserProfile.md +1 -1
- package/docs/api/modules.md +140 -30
- package/docs/best-practices/README.md +1 -1
- package/docs/implementation-guides/datatable-filtering.md +313 -0
- package/docs/implementation-guides/datatable-rbac-usage.md +317 -0
- package/docs/implementation-guides/hierarchical-datatable.md +850 -0
- package/docs/implementation-guides/large-datasets.md +281 -0
- package/docs/implementation-guides/performance.md +403 -0
- package/docs/implementation-guides/public-pages.md +4 -4
- package/docs/migration/quick-migration-guide.md +320 -0
- package/docs/rbac/quick-start.md +16 -16
- package/docs/troubleshooting/README.md +4 -4
- package/docs/troubleshooting/cake-page-permission-guard-issue-summary.md +1 -1
- package/docs/troubleshooting/debugging.md +1117 -0
- package/docs/troubleshooting/migration.md +918 -0
- package/examples/public-pages/CorrectPublicPageImplementation.tsx +30 -30
- package/examples/public-pages/PublicEventPage.tsx +41 -41
- package/examples/public-pages/PublicPageApp.tsx +33 -33
- package/examples/public-pages/PublicPageUsageExample.tsx +30 -30
- package/package.json +4 -4
- package/src/__tests__/hooks/usePermissions.test.ts +265 -0
- package/src/components/DataTable/DataTable.test.tsx +9 -38
- package/src/components/DataTable/DataTable.tsx +0 -7
- package/src/components/DataTable/components/DataTableCore.tsx +66 -136
- package/src/components/DataTable/components/DataTableModals.tsx +25 -22
- package/src/components/DataTable/components/EditableRow.tsx +118 -42
- package/src/components/DataTable/components/UnifiedTableBody.tsx +129 -76
- package/src/components/DataTable/components/__tests__/DataTableModals.test.tsx +33 -14
- package/src/components/DataTable/utils/__tests__/exportUtils.test.ts +17 -5
- package/src/components/DataTable/utils/exportUtils.ts +3 -2
- package/src/components/Dialog/Dialog.tsx +1 -1
- package/src/components/Dialog/README.md +24 -24
- package/src/components/Dialog/examples/BasicHtmlTest.tsx +2 -2
- package/src/components/Dialog/examples/DebugHtmlExample.tsx +6 -6
- package/src/components/Dialog/examples/HtmlDialogExample.tsx +2 -2
- package/src/components/Dialog/examples/SimpleHtmlTest.tsx +3 -3
- package/src/components/Dialog/examples/__tests__/SimpleHtmlTest.test.tsx +4 -4
- package/src/components/PaceAppLayout/PaceAppLayout.tsx +12 -1
- package/src/components/PublicLayout/EventLogo.tsx +175 -0
- package/src/components/PublicLayout/PublicErrorBoundary.tsx +22 -18
- package/src/components/PublicLayout/PublicLoadingSpinner.tsx +22 -14
- package/src/components/PublicLayout/PublicPageHeader.tsx +133 -40
- package/src/components/PublicLayout/PublicPageLayout.tsx +75 -72
- package/src/components/PublicLayout/__tests__/PublicErrorBoundary.test.tsx +1 -1
- package/src/components/PublicLayout/__tests__/PublicLoadingSpinner.test.tsx +8 -8
- package/src/components/PublicLayout/__tests__/PublicPageHeader.test.tsx +23 -16
- package/src/components/PublicLayout/__tests__/PublicPageLayout.test.tsx +86 -14
- package/src/examples/CorrectPublicPageImplementation.tsx +30 -30
- package/src/examples/PublicEventPage.tsx +41 -41
- package/src/examples/PublicPageApp.tsx +33 -33
- package/src/examples/PublicPageUsageExample.tsx +30 -30
- package/src/hooks/__tests__/usePublicEvent.unit.test.ts +583 -0
- package/src/hooks/__tests__/usePublicRouteParams.unit.test.ts +10 -3
- package/src/hooks/index.ts +1 -1
- package/src/hooks/public/usePublicEventLogo.ts +285 -0
- package/src/hooks/public/usePublicRouteParams.ts +21 -4
- package/src/hooks/useEventTheme.test.ts +119 -43
- package/src/hooks/useEventTheme.ts +84 -55
- package/src/index.ts +3 -1
- package/src/rbac/components/__tests__/EnhancedNavigationMenu.test.tsx +630 -0
- package/src/rbac/components/__tests__/NavigationProvider.test.tsx +667 -0
- package/src/rbac/components/__tests__/PagePermissionProvider.test.tsx +647 -0
- package/src/rbac/components/__tests__/SecureDataProvider.fixed.test.tsx +496 -0
- package/src/rbac/components/__tests__/SecureDataProvider.test.tsx +496 -0
- package/src/rbac/secureClient.ts +4 -2
- package/src/services/EventService.ts +0 -66
- package/src/services/__tests__/EventService.eventColours.test.ts +44 -40
- package/src/styles/index.ts +1 -1
- package/src/theming/__tests__/parseEventColours.test.ts +209 -0
- package/src/theming/parseEventColours.ts +123 -0
- package/src/theming/runtime.ts +3 -0
- package/src/types/__tests__/file-reference.test.ts +447 -0
- package/src/utils/formatDate.test.ts +11 -11
- package/src/utils/formatting.ts +3 -2
- package/dist/chunk-BDZUMRBD.js 3.map +0 -1
- package/dist/chunk-BHWIUEYH.js.map +0 -1
- package/dist/chunk-CGURJ27Z.js.map +0 -1
- package/dist/chunk-FKFHZUGF.js.map +0 -1
- package/dist/chunk-GKHF54DI 2.js +0 -619
- package/dist/chunk-GKHF54DI.js 2.map +0 -1
- package/dist/chunk-GZRXOUBE.js.map +0 -1
- package/dist/chunk-HFBOFZ3Z.js.map +0 -1
- package/dist/chunk-NZ32EONV.js.map +0 -1
- package/dist/chunk-O3NWNXDY 2.js +0 -76
- package/dist/chunk-QPI2CCBA.js.map +0 -1
- package/dist/chunk-SMJZMKYN.js.map +0 -1
- package/dist/chunk-TDNI6ZWL.js 2.map +0 -1
- package/dist/chunk-TDNI6ZWL.js.map +0 -1
- package/dist/chunk-VKOCWWVY.js.map +0 -1
- package/dist/chunk-WP5I5GLN 2.js +0 -1564
- package/dist/index 3.js +0 -856
- package/dist/providers 3.js +0 -38
- package/dist/providers.js 3.map +0 -1
- package/dist/types 3.js +0 -128
- package/dist/types.js 3.map +0 -1
- package/dist/useInactivityTracker-MRUU55XI.js 3.map +0 -1
- package/dist/utils.js 3.map +0 -1
- package/dist/validation 3.js +0 -479
- package/src/styles/semantic.css +0 -24
- /package/dist/{DataTable-DGZDJUYM.js.map → DataTable-WTS4IRF2.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-UACKFATV.js.map → UnifiedAuthProvider-6C47WIML.js.map} +0 -0
- /package/dist/{chunk-D6BOFXYR.js.map → chunk-35ZDPMBM.js.map} +0 -0
- /package/dist/{chunk-CGURJ27Z.js 2.map → chunk-4MXVZVNS.js.map} +0 -0
- /package/dist/{chunk-ZYJ6O5CA.js.map → chunk-C43QIDN3.js.map} +0 -0
- /package/dist/{chunk-B4GZ2BXO.js.map → chunk-NZGLXZGP.js.map} +0 -0
- /package/dist/{chunk-NZ32EONV.js 2.map → chunk-QWNJCQXZ.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.123](../README.md) / [Exports](../modules.md) / PublicPageHeaderProps
|
|
2
2
|
|
|
3
3
|
# Interface: PublicPageHeaderProps
|
|
4
4
|
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
- [children](PublicPageHeaderProps.md#children)
|
|
17
17
|
- [customAppLogo](PublicPageHeaderProps.md#customapplogo)
|
|
18
18
|
- [customEventLogo](PublicPageHeaderProps.md#customeventlogo)
|
|
19
|
+
- [logoUrl](PublicPageHeaderProps.md#logourl)
|
|
20
|
+
- [logoAlt](PublicPageHeaderProps.md#logoalt)
|
|
21
|
+
- [logoHref](PublicPageHeaderProps.md#logohref)
|
|
19
22
|
|
|
20
23
|
## Properties
|
|
21
24
|
|
|
@@ -27,7 +30,7 @@ The event data for this public page
|
|
|
27
30
|
|
|
28
31
|
#### Defined in
|
|
29
32
|
|
|
30
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
33
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:79](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L79)
|
|
31
34
|
|
|
32
35
|
___
|
|
33
36
|
|
|
@@ -39,7 +42,7 @@ The event code for this public page
|
|
|
39
42
|
|
|
40
43
|
#### Defined in
|
|
41
44
|
|
|
42
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
45
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:81](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L81)
|
|
43
46
|
|
|
44
47
|
___
|
|
45
48
|
|
|
@@ -51,7 +54,7 @@ Optional page title
|
|
|
51
54
|
|
|
52
55
|
#### Defined in
|
|
53
56
|
|
|
54
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
57
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:83](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L83)
|
|
55
58
|
|
|
56
59
|
___
|
|
57
60
|
|
|
@@ -63,7 +66,7 @@ Optional page description
|
|
|
63
66
|
|
|
64
67
|
#### Defined in
|
|
65
68
|
|
|
66
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
69
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:85](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L85)
|
|
67
70
|
|
|
68
71
|
___
|
|
69
72
|
|
|
@@ -75,7 +78,7 @@ Whether to show the event logo (default: true)
|
|
|
75
78
|
|
|
76
79
|
#### Defined in
|
|
77
80
|
|
|
78
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
81
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:87](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L87)
|
|
79
82
|
|
|
80
83
|
___
|
|
81
84
|
|
|
@@ -87,7 +90,7 @@ Whether to show the app logo (default: true)
|
|
|
87
90
|
|
|
88
91
|
#### Defined in
|
|
89
92
|
|
|
90
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
93
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:89](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L89)
|
|
91
94
|
|
|
92
95
|
___
|
|
93
96
|
|
|
@@ -99,7 +102,7 @@ Custom CSS classes for the header
|
|
|
99
102
|
|
|
100
103
|
#### Defined in
|
|
101
104
|
|
|
102
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
105
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:91](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L91)
|
|
103
106
|
|
|
104
107
|
___
|
|
105
108
|
|
|
@@ -111,7 +114,7 @@ Custom content to display in the header
|
|
|
111
114
|
|
|
112
115
|
#### Defined in
|
|
113
116
|
|
|
114
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
117
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:93](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L93)
|
|
115
118
|
|
|
116
119
|
___
|
|
117
120
|
|
|
@@ -119,11 +122,11 @@ ___
|
|
|
119
122
|
|
|
120
123
|
• `Optional` **customAppLogo**: `ReactNode`
|
|
121
124
|
|
|
122
|
-
Custom app logo component
|
|
125
|
+
Custom app logo component (overrides logoUrl and auto-generated path)
|
|
123
126
|
|
|
124
127
|
#### Defined in
|
|
125
128
|
|
|
126
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
129
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:95](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L95)
|
|
127
130
|
|
|
128
131
|
___
|
|
129
132
|
|
|
@@ -135,4 +138,40 @@ Custom event logo component
|
|
|
135
138
|
|
|
136
139
|
#### Defined in
|
|
137
140
|
|
|
138
|
-
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:
|
|
141
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:97](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L97)
|
|
142
|
+
|
|
143
|
+
___
|
|
144
|
+
|
|
145
|
+
### logoUrl
|
|
146
|
+
|
|
147
|
+
• `Optional` **logoUrl**: `string`
|
|
148
|
+
|
|
149
|
+
URL to the app logo image (overrides auto-generated path, but customAppLogo takes precedence)
|
|
150
|
+
|
|
151
|
+
#### Defined in
|
|
152
|
+
|
|
153
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:99](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L99)
|
|
154
|
+
|
|
155
|
+
___
|
|
156
|
+
|
|
157
|
+
### logoAlt
|
|
158
|
+
|
|
159
|
+
• `Optional` **logoAlt**: `string`
|
|
160
|
+
|
|
161
|
+
Alt text for the app logo (defaults to appName from useAppConfig)
|
|
162
|
+
|
|
163
|
+
#### Defined in
|
|
164
|
+
|
|
165
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:101](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L101)
|
|
166
|
+
|
|
167
|
+
___
|
|
168
|
+
|
|
169
|
+
### logoHref
|
|
170
|
+
|
|
171
|
+
• `Optional` **logoHref**: `string`
|
|
172
|
+
|
|
173
|
+
URL to navigate to when app logo is clicked
|
|
174
|
+
|
|
175
|
+
#### Defined in
|
|
176
|
+
|
|
177
|
+
[packages/core/src/components/PublicLayout/PublicPageHeader.tsx:103](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageHeader.tsx#L103)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.123](../README.md) / [Exports](../modules.md) / PublicPageLayoutProps
|
|
2
2
|
|
|
3
3
|
# Interface: PublicPageLayoutProps
|
|
4
4
|
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
- [eventCode](PublicPageLayoutProps.md#eventcode)
|
|
10
10
|
- [children](PublicPageLayoutProps.md#children)
|
|
11
11
|
- [event](PublicPageLayoutProps.md#event)
|
|
12
|
+
- [isLoading](PublicPageLayoutProps.md#isloading)
|
|
13
|
+
- [error](PublicPageLayoutProps.md#error)
|
|
14
|
+
- [refetch](PublicPageLayoutProps.md#refetch)
|
|
12
15
|
- [showFooter](PublicPageLayoutProps.md#showfooter)
|
|
13
16
|
- [className](PublicPageLayoutProps.md#classname)
|
|
14
17
|
- [errorFallback](PublicPageLayoutProps.md#errorfallback)
|
|
@@ -16,6 +19,7 @@
|
|
|
16
19
|
- [customHeader](PublicPageLayoutProps.md#customheader)
|
|
17
20
|
- [customFooter](PublicPageLayoutProps.md#customfooter)
|
|
18
21
|
- [showValidationErrors](PublicPageLayoutProps.md#showvalidationerrors)
|
|
22
|
+
- [loadingMessage](PublicPageLayoutProps.md#loadingmessage)
|
|
19
23
|
|
|
20
24
|
## Properties
|
|
21
25
|
|
|
@@ -27,7 +31,7 @@ The event code for this public page
|
|
|
27
31
|
|
|
28
32
|
#### Defined in
|
|
29
33
|
|
|
30
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
34
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:78](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L78)
|
|
31
35
|
|
|
32
36
|
___
|
|
33
37
|
|
|
@@ -39,7 +43,7 @@ Child components to render
|
|
|
39
43
|
|
|
40
44
|
#### Defined in
|
|
41
45
|
|
|
42
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
46
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:80](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L80)
|
|
43
47
|
|
|
44
48
|
___
|
|
45
49
|
|
|
@@ -51,7 +55,51 @@ Optional event data - if not provided, will be fetched by parent component
|
|
|
51
55
|
|
|
52
56
|
#### Defined in
|
|
53
57
|
|
|
54
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
58
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:82](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L82)
|
|
59
|
+
|
|
60
|
+
___
|
|
61
|
+
|
|
62
|
+
### isLoading
|
|
63
|
+
|
|
64
|
+
• `Optional` **isLoading**: `boolean`
|
|
65
|
+
|
|
66
|
+
Loading state - if true, shows loading spinner
|
|
67
|
+
|
|
68
|
+
#### Defined in
|
|
69
|
+
|
|
70
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:84](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L84)
|
|
71
|
+
|
|
72
|
+
___
|
|
73
|
+
|
|
74
|
+
### error
|
|
75
|
+
|
|
76
|
+
• `Optional` **error**: ``null`` \| `Error`
|
|
77
|
+
|
|
78
|
+
Error state - if provided, shows error message
|
|
79
|
+
|
|
80
|
+
#### Defined in
|
|
81
|
+
|
|
82
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:86](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L86)
|
|
83
|
+
|
|
84
|
+
___
|
|
85
|
+
|
|
86
|
+
### refetch
|
|
87
|
+
|
|
88
|
+
• `Optional` **refetch**: () => `void` \| `Promise`\<`void`\>
|
|
89
|
+
|
|
90
|
+
Function to retry loading event data
|
|
91
|
+
|
|
92
|
+
#### Type declaration
|
|
93
|
+
|
|
94
|
+
▸ (): `void` \| `Promise`\<`void`\>
|
|
95
|
+
|
|
96
|
+
##### Returns
|
|
97
|
+
|
|
98
|
+
`void` \| `Promise`\<`void`\>
|
|
99
|
+
|
|
100
|
+
#### Defined in
|
|
101
|
+
|
|
102
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:88](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L88)
|
|
55
103
|
|
|
56
104
|
___
|
|
57
105
|
|
|
@@ -63,7 +111,7 @@ Whether to show the footer (default: true)
|
|
|
63
111
|
|
|
64
112
|
#### Defined in
|
|
65
113
|
|
|
66
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
114
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:90](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L90)
|
|
67
115
|
|
|
68
116
|
___
|
|
69
117
|
|
|
@@ -71,11 +119,11 @@ ___
|
|
|
71
119
|
|
|
72
120
|
• `Optional` **className**: `string`
|
|
73
121
|
|
|
74
|
-
Custom CSS classes for the layout
|
|
122
|
+
Custom CSS classes for the layout - no longer used as wrapper div was removed
|
|
75
123
|
|
|
76
124
|
#### Defined in
|
|
77
125
|
|
|
78
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
126
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:92](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L92)
|
|
79
127
|
|
|
80
128
|
___
|
|
81
129
|
|
|
@@ -87,7 +135,7 @@ Custom error fallback component
|
|
|
87
135
|
|
|
88
136
|
#### Defined in
|
|
89
137
|
|
|
90
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
138
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:94](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L94)
|
|
91
139
|
|
|
92
140
|
___
|
|
93
141
|
|
|
@@ -99,7 +147,7 @@ Custom loading fallback component
|
|
|
99
147
|
|
|
100
148
|
#### Defined in
|
|
101
149
|
|
|
102
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
150
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:96](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L96)
|
|
103
151
|
|
|
104
152
|
___
|
|
105
153
|
|
|
@@ -111,7 +159,7 @@ Custom header component
|
|
|
111
159
|
|
|
112
160
|
#### Defined in
|
|
113
161
|
|
|
114
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
162
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:98](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L98)
|
|
115
163
|
|
|
116
164
|
___
|
|
117
165
|
|
|
@@ -123,7 +171,7 @@ Custom footer component
|
|
|
123
171
|
|
|
124
172
|
#### Defined in
|
|
125
173
|
|
|
126
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
174
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:100](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L100)
|
|
127
175
|
|
|
128
176
|
___
|
|
129
177
|
|
|
@@ -135,4 +183,16 @@ Whether to show event validation errors (default: true)
|
|
|
135
183
|
|
|
136
184
|
#### Defined in
|
|
137
185
|
|
|
138
|
-
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:
|
|
186
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:102](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L102)
|
|
187
|
+
|
|
188
|
+
___
|
|
189
|
+
|
|
190
|
+
### loadingMessage
|
|
191
|
+
|
|
192
|
+
• `Optional` **loadingMessage**: `string`
|
|
193
|
+
|
|
194
|
+
Custom loading message
|
|
195
|
+
|
|
196
|
+
#### Defined in
|
|
197
|
+
|
|
198
|
+
[packages/core/src/components/PublicLayout/PublicPageLayout.tsx:104](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageLayout.tsx#L104)
|