@jmruthers/pace-core 0.5.111 → 0.5.113
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/{DataTable-5W2HVLLV.js → DataTable-YNEB5WDK.js} +8 -8
- package/dist/{UnifiedAuthProvider-LUM3QLS5.js → UnifiedAuthProvider-KZZUO27W.js} +3 -3
- package/dist/{api-SIZPFBFX.js → api-PKU4PUBO.js} +3 -3
- package/dist/{audit-5JI5T3SL.js → audit-H4YJJF7R.js} +2 -2
- package/dist/{chunk-IWJYNWXN.js → chunk-3OGQLOJM.js} +11 -3
- package/dist/chunk-3OGQLOJM.js.map +1 -0
- package/dist/{chunk-TDFBX7KJ.js → chunk-7H75SHXZ.js} +2 -2
- package/dist/{chunk-EFVQBYFN.js → chunk-BUN7NMV7.js} +2 -2
- package/dist/{chunk-X7SPKHYZ.js → chunk-F6QB26OS.js} +4 -4
- package/dist/{chunk-ZL45MG76.js → chunk-HKWQN44G.js} +15 -15
- package/dist/{chunk-TD4BXGPE.js → chunk-KISJX3XZ.js} +8 -4
- package/dist/{chunk-TD4BXGPE.js.map → chunk-KISJX3XZ.js.map} +1 -1
- package/dist/{chunk-ACYQNYHB.js → chunk-KTHLNIMA.js} +7 -7
- package/dist/{chunk-I5YM5BGS.js → chunk-L36JW4KV.js} +2 -2
- package/dist/{chunk-JE2GFA3O.js → chunk-NEONKMTU.js} +3 -3
- package/dist/{chunk-MW73E7SP.js → chunk-OO3V7W4H.js} +2 -2
- package/dist/chunk-OO3V7W4H.js.map +1 -0
- package/dist/{chunk-PXXS26G5.js → chunk-QKIVSZ2O.js} +5 -4
- package/dist/{chunk-PXXS26G5.js.map → chunk-QKIVSZ2O.js.map} +1 -1
- package/dist/{chunk-2BIDKXQU.js → chunk-YUKG6PXE.js} +82 -23
- package/dist/chunk-YUKG6PXE.js.map +1 -0
- package/dist/{chunk-UGVU7L7N.js → chunk-ZPXWJA4H.js} +6 -6
- package/dist/chunk-ZPXWJA4H.js.map +1 -0
- package/dist/components.js +10 -10
- package/dist/hooks.js +7 -7
- package/dist/index.js +13 -13
- package/dist/providers.js +2 -2
- package/dist/rbac/index.js +9 -9
- package/dist/utils.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 +8 -8
- package/docs/api/classes/RBACCache.md +1 -1
- package/docs/api/classes/RBACEngine.md +3 -3
- 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/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/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/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/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.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 +13 -13
- package/package.json +1 -1
- package/src/components/DataTable/DataTable.test.tsx +405 -154
- package/src/components/DataTable/components/DataTableCore.tsx +6 -1
- package/src/components/EventSelector/EventSelector.tsx +32 -2
- package/src/components/NavigationMenu/NavigationMenu.test.tsx +56 -8
- package/src/components/NavigationMenu/NavigationMenu.tsx +75 -12
- package/src/rbac/audit-enhanced.ts +14 -2
- package/src/rbac/audit.test.ts +16 -6
- package/src/rbac/audit.ts +11 -1
- package/src/rbac/engine.ts +4 -2
- package/src/rbac/hooks/usePermissions.ts +18 -2
- package/src/services/EventService.ts +3 -2
- package/dist/chunk-2BIDKXQU.js.map +0 -1
- package/dist/chunk-IWJYNWXN.js.map +0 -1
- package/dist/chunk-MW73E7SP.js.map +0 -1
- package/dist/chunk-UGVU7L7N.js.map +0 -1
- /package/dist/{DataTable-5W2HVLLV.js.map → DataTable-YNEB5WDK.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-LUM3QLS5.js.map → UnifiedAuthProvider-KZZUO27W.js.map} +0 -0
- /package/dist/{api-SIZPFBFX.js.map → api-PKU4PUBO.js.map} +0 -0
- /package/dist/{audit-5JI5T3SL.js.map → audit-H4YJJF7R.js.map} +0 -0
- /package/dist/{chunk-TDFBX7KJ.js.map → chunk-7H75SHXZ.js.map} +0 -0
- /package/dist/{chunk-EFVQBYFN.js.map → chunk-BUN7NMV7.js.map} +0 -0
- /package/dist/{chunk-X7SPKHYZ.js.map → chunk-F6QB26OS.js.map} +0 -0
- /package/dist/{chunk-ZL45MG76.js.map → chunk-HKWQN44G.js.map} +0 -0
- /package/dist/{chunk-ACYQNYHB.js.map → chunk-KTHLNIMA.js.map} +0 -0
- /package/dist/{chunk-I5YM5BGS.js.map → chunk-L36JW4KV.js.map} +0 -0
- /package/dist/{chunk-JE2GFA3O.js.map → chunk-NEONKMTU.js.map} +0 -0
package/docs/api/modules.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.113](README.md) / Exports
|
|
2
2
|
|
|
3
|
-
# @jmruthers/pace-core - v0.5.
|
|
3
|
+
# @jmruthers/pace-core - v0.5.113
|
|
4
4
|
|
|
5
5
|
**`File`**
|
|
6
6
|
|
|
@@ -5273,7 +5273,7 @@ RBACAuditManager instance
|
|
|
5273
5273
|
|
|
5274
5274
|
#### Defined in
|
|
5275
5275
|
|
|
5276
|
-
[packages/core/src/rbac/audit.ts:
|
|
5276
|
+
[packages/core/src/rbac/audit.ts:340](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/audit.ts#L340)
|
|
5277
5277
|
|
|
5278
5278
|
___
|
|
5279
5279
|
|
|
@@ -5295,7 +5295,7 @@ Set the global audit manager
|
|
|
5295
5295
|
|
|
5296
5296
|
#### Defined in
|
|
5297
5297
|
|
|
5298
|
-
[packages/core/src/rbac/audit.ts:
|
|
5298
|
+
[packages/core/src/rbac/audit.ts:356](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/audit.ts#L356)
|
|
5299
5299
|
|
|
5300
5300
|
___
|
|
5301
5301
|
|
|
@@ -5313,7 +5313,7 @@ Global audit manager or null if not set
|
|
|
5313
5313
|
|
|
5314
5314
|
#### Defined in
|
|
5315
5315
|
|
|
5316
|
-
[packages/core/src/rbac/audit.ts:
|
|
5316
|
+
[packages/core/src/rbac/audit.ts:365](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/audit.ts#L365)
|
|
5317
5317
|
|
|
5318
5318
|
___
|
|
5319
5319
|
|
|
@@ -5335,7 +5335,7 @@ Emit an audit event using the global audit manager
|
|
|
5335
5335
|
|
|
5336
5336
|
#### Defined in
|
|
5337
5337
|
|
|
5338
|
-
[packages/core/src/rbac/audit.ts:
|
|
5338
|
+
[packages/core/src/rbac/audit.ts:374](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/audit.ts#L374)
|
|
5339
5339
|
|
|
5340
5340
|
___
|
|
5341
5341
|
|
|
@@ -5743,7 +5743,7 @@ RBACEngine instance
|
|
|
5743
5743
|
|
|
5744
5744
|
#### Defined in
|
|
5745
5745
|
|
|
5746
|
-
[packages/core/src/rbac/engine.ts:
|
|
5746
|
+
[packages/core/src/rbac/engine.ts:613](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/engine.ts#L613)
|
|
5747
5747
|
|
|
5748
5748
|
___
|
|
5749
5749
|
|
|
@@ -5844,7 +5844,7 @@ function MyComponent() {
|
|
|
5844
5844
|
|
|
5845
5845
|
#### Defined in
|
|
5846
5846
|
|
|
5847
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5847
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:217](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L217)
|
|
5848
5848
|
|
|
5849
5849
|
___
|
|
5850
5850
|
|
|
@@ -5894,7 +5894,7 @@ function MyComponent() {
|
|
|
5894
5894
|
|
|
5895
5895
|
#### Defined in
|
|
5896
5896
|
|
|
5897
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5897
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:375](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L375)
|
|
5898
5898
|
|
|
5899
5899
|
___
|
|
5900
5900
|
|
|
@@ -5951,7 +5951,7 @@ function MyComponent() {
|
|
|
5951
5951
|
|
|
5952
5952
|
#### Defined in
|
|
5953
5953
|
|
|
5954
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5954
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:450](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L450)
|
|
5955
5955
|
|
|
5956
5956
|
___
|
|
5957
5957
|
|
|
@@ -6002,7 +6002,7 @@ function MyComponent() {
|
|
|
6002
6002
|
|
|
6003
6003
|
#### Defined in
|
|
6004
6004
|
|
|
6005
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
6005
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:533](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L533)
|
|
6006
6006
|
|
|
6007
6007
|
___
|
|
6008
6008
|
|
|
@@ -6053,7 +6053,7 @@ function MyComponent() {
|
|
|
6053
6053
|
|
|
6054
6054
|
#### Defined in
|
|
6055
6055
|
|
|
6056
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
6056
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:619](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L619)
|
|
6057
6057
|
|
|
6058
6058
|
___
|
|
6059
6059
|
|
|
@@ -6104,7 +6104,7 @@ function MyComponent() {
|
|
|
6104
6104
|
|
|
6105
6105
|
#### Defined in
|
|
6106
6106
|
|
|
6107
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
6107
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:704](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L704)
|
|
6108
6108
|
|
|
6109
6109
|
___
|
|
6110
6110
|
|