@jmruthers/pace-core 0.5.112 → 0.5.114
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-3D3BUZDV.js → DataTable-3JRLZXER.js} +4 -4
- package/dist/{api-QPMBZZUZ.js → api-PKU4PUBO.js} +2 -2
- package/dist/{chunk-EKVVTPIF.js → chunk-5YIZFEUQ.js} +18 -10
- package/dist/chunk-5YIZFEUQ.js.map +1 -0
- package/dist/{chunk-MNSGWRPB.js → chunk-HKWQN44G.js} +10 -10
- package/dist/{chunk-WMPZY26G.js → chunk-JHWQNJP3.js} +5 -4
- package/dist/{chunk-WMPZY26G.js.map → chunk-JHWQNJP3.js.map} +1 -1
- package/dist/{chunk-C5RN4TE5.js → chunk-KTHLNIMA.js} +3 -3
- package/dist/{chunk-TAJRS6YB.js → chunk-QKIVSZ2O.js} +4 -3
- package/dist/{chunk-TAJRS6YB.js.map → chunk-QKIVSZ2O.js.map} +1 -1
- package/dist/{chunk-I7JC7PTJ.js → chunk-ZPXWJA4H.js} +2 -2
- package/dist/components.js +4 -4
- package/dist/hooks.js +1 -1
- package/dist/index.js +6 -6
- package/dist/rbac/index.js +3 -3
- 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 +1 -1
- 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 +5 -5
- package/docs/architecture/rpc-function-standards.md +131 -11
- package/package.json +1 -1
- package/src/components/Dialog/Dialog.tsx +3 -2
- package/src/components/NavigationMenu/NavigationMenu.tsx +29 -5
- package/src/rbac/engine.ts +4 -2
- package/dist/chunk-EKVVTPIF.js.map +0 -1
- /package/dist/{DataTable-3D3BUZDV.js.map → DataTable-3JRLZXER.js.map} +0 -0
- /package/dist/{api-QPMBZZUZ.js.map → api-PKU4PUBO.js.map} +0 -0
- /package/dist/{chunk-MNSGWRPB.js.map → chunk-HKWQN44G.js.map} +0 -0
- /package/dist/{chunk-C5RN4TE5.js.map → chunk-KTHLNIMA.js.map} +0 -0
- /package/dist/{chunk-I7JC7PTJ.js.map → chunk-ZPXWJA4H.js.map} +0 -0
package/dist/components.js
CHANGED
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
useFileReferenceForRecord,
|
|
52
52
|
useFilesByCategory,
|
|
53
53
|
usePublicPageContext as usePublicPageContext2
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-5YIZFEUQ.js";
|
|
55
55
|
import {
|
|
56
56
|
Alert,
|
|
57
57
|
AlertDescription,
|
|
@@ -91,9 +91,9 @@ import {
|
|
|
91
91
|
TooltipProvider,
|
|
92
92
|
TooltipRoot,
|
|
93
93
|
TooltipTrigger
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-JHWQNJP3.js";
|
|
95
|
+
import "./chunk-ZPXWJA4H.js";
|
|
96
|
+
import "./chunk-QKIVSZ2O.js";
|
|
97
97
|
import "./chunk-3OGQLOJM.js";
|
|
98
98
|
import {
|
|
99
99
|
DefaultPublicErrorFallback,
|
package/dist/hooks.js
CHANGED
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-HKWQN44G.js";
|
|
34
34
|
import {
|
|
35
35
|
init_useInactivityTracker,
|
|
36
36
|
useInactivityTracker
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
useFileReferenceForRecord,
|
|
91
91
|
useFilesByCategory,
|
|
92
92
|
usePublicPageContext as usePublicPageContext2
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-5YIZFEUQ.js";
|
|
94
94
|
import {
|
|
95
95
|
Alert,
|
|
96
96
|
AlertDescription,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
TooltipProvider,
|
|
132
132
|
TooltipRoot,
|
|
133
133
|
TooltipTrigger
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-JHWQNJP3.js";
|
|
135
135
|
import {
|
|
136
136
|
useAccessLevel,
|
|
137
137
|
useCachedPermissions,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
usePermissions,
|
|
143
143
|
useRBAC,
|
|
144
144
|
useResolvedScope
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-ZPXWJA4H.js";
|
|
146
146
|
import {
|
|
147
147
|
CACHE_PATTERNS,
|
|
148
148
|
RBACCache,
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
rbacCache,
|
|
165
165
|
resolveAppContext,
|
|
166
166
|
setupRBAC
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-QKIVSZ2O.js";
|
|
168
168
|
import {
|
|
169
169
|
RBACAuditManager,
|
|
170
170
|
createAuditManager,
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
usePublicEvent,
|
|
184
184
|
usePublicEventCode,
|
|
185
185
|
usePublicRouteParams
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-KTHLNIMA.js";
|
|
187
187
|
import "./chunk-NEONKMTU.js";
|
|
188
188
|
import {
|
|
189
189
|
APP_PATH_MAPPING,
|
package/dist/rbac/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
withAccessLevelGuard,
|
|
31
31
|
withPermissionGuard,
|
|
32
32
|
withRoleGuard
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-HKWQN44G.js";
|
|
34
34
|
import {
|
|
35
35
|
useAccessLevel,
|
|
36
36
|
useCachedPermissions,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
usePermissions,
|
|
42
42
|
useRBAC,
|
|
43
43
|
useResolvedScope
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-ZPXWJA4H.js";
|
|
45
45
|
import {
|
|
46
46
|
CACHE_PATTERNS,
|
|
47
47
|
RBACCache,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
rbacCache,
|
|
64
64
|
resolveAppContext,
|
|
65
65
|
setupRBAC
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-QKIVSZ2O.js";
|
|
67
67
|
import {
|
|
68
68
|
RBACAuditManager,
|
|
69
69
|
createAuditManager,
|
package/dist/utils.js
CHANGED
|
@@ -595,7 +595,7 @@ function createLazyComponent(importFn, componentName, options = {}) {
|
|
|
595
595
|
return WrappedComponent;
|
|
596
596
|
}
|
|
597
597
|
var LazyDataTable = createLazyComponent(
|
|
598
|
-
() => import("./DataTable-
|
|
598
|
+
() => import("./DataTable-3JRLZXER.js").then((module) => ({ default: module.DataTable })),
|
|
599
599
|
"DataTable"
|
|
600
600
|
);
|
|
601
601
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.114](../README.md) / [Exports](../modules.md) / RBACEngine
|
|
2
2
|
|
|
3
3
|
# Class: RBACEngine
|
|
4
4
|
|
|
@@ -146,7 +146,7 @@ ___
|
|
|
146
146
|
|
|
147
147
|
#### Defined in
|
|
148
148
|
|
|
149
|
-
[packages/core/src/rbac/engine.ts:
|
|
149
|
+
[packages/core/src/rbac/engine.ts:454](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/engine.ts#L454)
|
|
150
150
|
|
|
151
151
|
___
|
|
152
152
|
|
|
@@ -168,4 +168,4 @@ ___
|
|
|
168
168
|
|
|
169
169
|
#### Defined in
|
|
170
170
|
|
|
171
|
-
[packages/core/src/rbac/engine.ts:
|
|
171
|
+
[packages/core/src/rbac/engine.ts:486](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/engine.ts#L486)
|