@jmruthers/pace-core 0.5.179 → 0.5.180
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/{chunk-LEBYAJVF.js → chunk-6HLVGAZG.js} +1 -1
- package/dist/chunk-6HLVGAZG.js.map +1 -0
- package/dist/{chunk-CRGFNQ2L.js → chunk-CPTUD43C.js} +2 -2
- package/dist/chunk-CPTUD43C.js.map +1 -0
- package/dist/{chunk-2AKRP5QZ.js → chunk-N5YCCUG5.js} +3 -3
- package/dist/chunk-N5YCCUG5.js.map +1 -0
- package/dist/{chunk-PJEVDATQ.js → chunk-P6UUHOIF.js} +14 -4
- package/dist/chunk-P6UUHOIF.js.map +1 -0
- package/dist/components.js +2 -2
- package/dist/hooks.js +2 -2
- package/dist/index.js +4 -4
- package/dist/rbac/index.d.ts +2 -2
- package/dist/rbac/index.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/BadgeProps.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CalendarProps.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/EventLogoProps.md +1 -1
- package/docs/api/interfaces/ExportColumn.md +1 -1
- package/docs/api/interfaces/ExportOptions.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 +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
- package/docs/api/interfaces/PublicLoadingSpinnerProps.md +1 -1
- package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
- package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
- package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
- package/docs/api/interfaces/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/ResourcePermissions.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/SessionRestorationLoaderProps.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/TabsContentProps.md +1 -1
- package/docs/api/interfaces/TabsListProps.md +1 -1
- package/docs/api/interfaces/TabsProps.md +1 -1
- package/docs/api/interfaces/TabsTriggerProps.md +1 -1
- package/docs/api/interfaces/TextareaProps.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/UseResourcePermissionsOptions.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 +6 -6
- package/docs/best-practices/deployment.md +6 -3
- package/docs/getting-started/installation-guide.md +2 -1
- package/docs/implementation-guides/authentication.md +5 -3
- package/docs/rbac/quick-start.md +2 -1
- package/package.json +1 -1
- package/src/components/PaceAppLayout/PaceAppLayout.tsx +15 -3
- package/src/components/PublicLayout/PublicPageDiagnostic.tsx +1 -1
- package/src/components/PublicLayout/PublicPageProvider.tsx +2 -1
- package/src/hooks/public/usePublicEvent.ts +1 -1
- package/src/rbac/secureClient.ts +2 -2
- package/src/vite-env.d.ts +1 -0
- package/dist/chunk-2AKRP5QZ.js.map +0 -1
- package/dist/chunk-CRGFNQ2L.js.map +0 -1
- package/dist/chunk-LEBYAJVF.js.map +0 -1
- package/dist/chunk-PJEVDATQ.js.map +0 -1
package/dist/components.js
CHANGED
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
useFileReferenceForRecord,
|
|
58
58
|
useFilesByCategory,
|
|
59
59
|
usePublicPageContext as usePublicPageContext2
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-P6UUHOIF.js";
|
|
61
61
|
import {
|
|
62
62
|
Alert,
|
|
63
63
|
AlertDescription,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
useErrorBoundary,
|
|
110
110
|
useIsPublicPage,
|
|
111
111
|
usePublicPageContext
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-CPTUD43C.js";
|
|
113
113
|
import {
|
|
114
114
|
useToast
|
|
115
115
|
} from "./chunk-BESYRHQM.js";
|
package/dist/hooks.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
usePublicEvent,
|
|
9
9
|
usePublicEventCode,
|
|
10
10
|
usePublicRouteParams
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N5YCCUG5.js";
|
|
12
12
|
import {
|
|
13
13
|
useSecureDataAccess
|
|
14
14
|
} from "./chunk-R53TUSFK.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
useEventTheme,
|
|
23
23
|
useFileDisplay,
|
|
24
24
|
usePublicFileDisplay
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CPTUD43C.js";
|
|
26
26
|
import {
|
|
27
27
|
useDataTablePerformance,
|
|
28
28
|
useToast
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
withAccessLevelGuard,
|
|
31
31
|
withPermissionGuard,
|
|
32
32
|
withRoleGuard
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-6HLVGAZG.js";
|
|
34
34
|
import {
|
|
35
35
|
init_useInactivityTracker,
|
|
36
36
|
useInactivityTracker
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
useFileReferenceForRecord,
|
|
97
97
|
useFilesByCategory,
|
|
98
98
|
usePublicPageContext as usePublicPageContext2
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-P6UUHOIF.js";
|
|
100
100
|
import {
|
|
101
101
|
Alert,
|
|
102
102
|
AlertDescription,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
usePublicEvent,
|
|
200
200
|
usePublicEventCode,
|
|
201
201
|
usePublicRouteParams
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-N5YCCUG5.js";
|
|
203
203
|
import "./chunk-R53TUSFK.js";
|
|
204
204
|
import {
|
|
205
205
|
APP_PATH_MAPPING,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
usePublicFileDisplay,
|
|
232
232
|
usePublicPageContext,
|
|
233
233
|
validateFileSize
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-CPTUD43C.js";
|
|
235
235
|
import {
|
|
236
236
|
useToast
|
|
237
237
|
} from "./chunk-BESYRHQM.js";
|
package/dist/rbac/index.d.ts
CHANGED
|
@@ -243,7 +243,7 @@ declare class SecureSupabaseClient {
|
|
|
243
243
|
* Create a secure Supabase client with organisation context
|
|
244
244
|
*
|
|
245
245
|
* @param supabaseUrl - Supabase project URL
|
|
246
|
-
* @param supabaseKey - Supabase anon key
|
|
246
|
+
* @param supabaseKey - Supabase publishable key or anon key (accepts both legacy anon keys and modern publishable keys)
|
|
247
247
|
* @param organisationId - Required organisation ID
|
|
248
248
|
* @param eventId - Optional event ID
|
|
249
249
|
* @param appId - Optional app ID
|
|
@@ -253,7 +253,7 @@ declare class SecureSupabaseClient {
|
|
|
253
253
|
* ```typescript
|
|
254
254
|
* const client = createSecureClient(
|
|
255
255
|
* 'https://your-project.supabase.co',
|
|
256
|
-
* 'your-anon-key',
|
|
256
|
+
* 'your-publishable-key-or-anon-key',
|
|
257
257
|
* 'org-123',
|
|
258
258
|
* 'event-456',
|
|
259
259
|
* 'app-789'
|
package/dist/rbac/index.js
CHANGED