@jmruthers/pace-core 0.5.9 → 0.5.11
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-4TQ6VBHW.js → DataTable-7LYDPZXT.js} +5 -5
- package/dist/{chunk-PCFG6WRC.js → chunk-7KDZXMES.js} +5 -5
- package/dist/{chunk-HXX35Q2M.js → chunk-7UEIZCST.js} +2 -2
- package/dist/{chunk-OCM3I4GY.js → chunk-AMOT5ZSZ.js} +3 -3
- package/dist/{chunk-PVMYVQSM.js → chunk-CMXBNDPM.js} +3 -3
- package/dist/{chunk-K6B7BLSE.js → chunk-DKDTXS5Q.js} +2 -2
- package/dist/{chunk-GNTALZV3.js → chunk-DV2Z3RBQ.js} +3 -3
- package/dist/{chunk-SM6KCLW5.js → chunk-JV73V2W5.js} +10 -6
- package/dist/chunk-JV73V2W5.js.map +1 -0
- package/dist/{chunk-CTV3NKPM.js → chunk-ROHDZOP7.js} +3 -3
- package/dist/{chunk-QKHFMQ5R.js → chunk-RQ7Y2CN6.js} +30 -5
- package/dist/chunk-RQ7Y2CN6.js.map +1 -0
- package/dist/{chunk-HD7PYDUV.js → chunk-XYRRPUYV.js} +2 -2
- package/dist/components.js +7 -7
- package/dist/hooks.js +4 -4
- package/dist/index.js +10 -10
- package/dist/providers.js +3 -3
- package/dist/rbac/index.js +5 -5
- package/dist/utils.js +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/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/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/EventContextType.md +1 -1
- package/docs/api/interfaces/EventLogoProps.md +1 -1
- package/docs/api/interfaces/EventProviderProps.md +1 -1
- package/docs/api/interfaces/FileSizeLimits.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/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/RBACContextType.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RBACProviderProps.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/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/UsePublicEventLogoOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
- package/docs/api/interfaces/UsePublicRouteParamsReturn.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 +2 -2
- package/package.json +1 -1
- package/src/providers/AuthProvider.tsx +34 -5
- package/src/rbac/components/PagePermissionGuard.tsx +11 -2
- package/dist/chunk-QKHFMQ5R.js.map +0 -1
- package/dist/chunk-SM6KCLW5.js.map +0 -1
- /package/dist/{DataTable-4TQ6VBHW.js.map → DataTable-7LYDPZXT.js.map} +0 -0
- /package/dist/{chunk-PCFG6WRC.js.map → chunk-7KDZXMES.js.map} +0 -0
- /package/dist/{chunk-HXX35Q2M.js.map → chunk-7UEIZCST.js.map} +0 -0
- /package/dist/{chunk-OCM3I4GY.js.map → chunk-AMOT5ZSZ.js.map} +0 -0
- /package/dist/{chunk-PVMYVQSM.js.map → chunk-CMXBNDPM.js.map} +0 -0
- /package/dist/{chunk-K6B7BLSE.js.map → chunk-DKDTXS5Q.js.map} +0 -0
- /package/dist/{chunk-GNTALZV3.js.map → chunk-DV2Z3RBQ.js.map} +0 -0
- /package/dist/{chunk-CTV3NKPM.js.map → chunk-ROHDZOP7.js.map} +0 -0
- /package/dist/{chunk-HD7PYDUV.js.map → chunk-XYRRPUYV.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
init_UnifiedAuthProvider,
|
|
4
4
|
useOrganisations,
|
|
5
5
|
useUnifiedAuth
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RQ7Y2CN6.js";
|
|
7
7
|
import {
|
|
8
8
|
init_organisationContext,
|
|
9
9
|
setOrganisationContext
|
|
@@ -379,4 +379,4 @@ function useSecureDataAccess() {
|
|
|
379
379
|
export {
|
|
380
380
|
useSecureDataAccess
|
|
381
381
|
};
|
|
382
|
-
//# sourceMappingURL=chunk-
|
|
382
|
+
//# sourceMappingURL=chunk-XYRRPUYV.js.map
|
package/dist/components.js
CHANGED
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
usePublicPageContext as usePublicPageContext2,
|
|
50
50
|
useStorage,
|
|
51
51
|
useToast
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7KDZXMES.js";
|
|
53
53
|
import {
|
|
54
54
|
Alert,
|
|
55
55
|
AlertDescription,
|
|
@@ -72,14 +72,14 @@ import {
|
|
|
72
72
|
SelectSeparator,
|
|
73
73
|
SelectTrigger,
|
|
74
74
|
SelectValue
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-ROHDZOP7.js";
|
|
76
76
|
import {
|
|
77
77
|
useRBAC
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-AMOT5ZSZ.js";
|
|
79
79
|
import "./chunk-GWSBHC4J.js";
|
|
80
80
|
import "./chunk-7BNPOCLL.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-DV2Z3RBQ.js";
|
|
82
|
+
import "./chunk-7UEIZCST.js";
|
|
83
83
|
import {
|
|
84
84
|
DefaultPublicErrorFallback,
|
|
85
85
|
PublicErrorBoundary,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
useErrorBoundary,
|
|
88
88
|
useIsPublicPage,
|
|
89
89
|
usePublicPageContext
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-DKDTXS5Q.js";
|
|
91
91
|
import "./chunk-SS3E6QLB.js";
|
|
92
92
|
import {
|
|
93
93
|
Button,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
init_Tooltip2 as init_Tooltip,
|
|
113
113
|
init_UnifiedAuthProvider,
|
|
114
114
|
useUnifiedAuth
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-RQ7Y2CN6.js";
|
|
116
116
|
import "./chunk-YDJW5XTN.js";
|
|
117
117
|
import {
|
|
118
118
|
LoadingSpinner
|
package/dist/hooks.js
CHANGED
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
usePublicEvent,
|
|
9
9
|
usePublicEventCode,
|
|
10
10
|
usePublicRouteParams
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CMXBNDPM.js";
|
|
12
12
|
import {
|
|
13
13
|
useSecureDataAccess
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XYRRPUYV.js";
|
|
15
15
|
import {
|
|
16
16
|
clearPublicLogoCache,
|
|
17
17
|
getPublicLogoCacheStats,
|
|
18
18
|
useAppConfig,
|
|
19
19
|
usePublicEventLogo
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DKDTXS5Q.js";
|
|
21
21
|
import {
|
|
22
22
|
useDataTablePerformance
|
|
23
23
|
} from "./chunk-SS3E6QLB.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-RQ7Y2CN6.js";
|
|
25
25
|
import "./chunk-YDJW5XTN.js";
|
|
26
26
|
import {
|
|
27
27
|
useComponentPerformance
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
withAccessLevelGuard,
|
|
32
32
|
withPermissionGuard,
|
|
33
33
|
withRoleGuard
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JV73V2W5.js";
|
|
35
35
|
import {
|
|
36
36
|
APP_PATH_MAPPING,
|
|
37
37
|
Avatar,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
useStorage,
|
|
101
101
|
useToast,
|
|
102
102
|
validateFileSize
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-7KDZXMES.js";
|
|
104
104
|
import {
|
|
105
105
|
Alert,
|
|
106
106
|
AlertDescription,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
SelectSeparator,
|
|
124
124
|
SelectTrigger,
|
|
125
125
|
SelectValue
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-ROHDZOP7.js";
|
|
127
127
|
import {
|
|
128
128
|
useAccessLevel,
|
|
129
129
|
useCachedPermissions,
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
useMultiplePermissions,
|
|
134
134
|
usePermissions,
|
|
135
135
|
useRBAC as useRBAC2
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-AMOT5ZSZ.js";
|
|
137
137
|
import {
|
|
138
138
|
CACHE_PATTERNS,
|
|
139
139
|
RBACCache,
|
|
@@ -161,12 +161,12 @@ import {
|
|
|
161
161
|
getGlobalAuditManager,
|
|
162
162
|
setGlobalAuditManager
|
|
163
163
|
} from "./chunk-7BNPOCLL.js";
|
|
164
|
-
import "./chunk-
|
|
164
|
+
import "./chunk-DV2Z3RBQ.js";
|
|
165
165
|
import {
|
|
166
166
|
EventProvider,
|
|
167
167
|
init_EventProvider,
|
|
168
168
|
useEvents
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-7UEIZCST.js";
|
|
170
170
|
import {
|
|
171
171
|
clearPublicEventCache,
|
|
172
172
|
extractEventCodeFromPath,
|
|
@@ -177,8 +177,8 @@ import {
|
|
|
177
177
|
usePublicEvent,
|
|
178
178
|
usePublicEventCode,
|
|
179
179
|
usePublicRouteParams
|
|
180
|
-
} from "./chunk-
|
|
181
|
-
import "./chunk-
|
|
180
|
+
} from "./chunk-CMXBNDPM.js";
|
|
181
|
+
import "./chunk-XYRRPUYV.js";
|
|
182
182
|
import {
|
|
183
183
|
DefaultPublicErrorFallback,
|
|
184
184
|
PublicErrorBoundary,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
useIsPublicPage,
|
|
191
191
|
usePublicEventLogo,
|
|
192
192
|
usePublicPageContext
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-DKDTXS5Q.js";
|
|
194
194
|
import "./chunk-SS3E6QLB.js";
|
|
195
195
|
import {
|
|
196
196
|
Button,
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
useOrganisations,
|
|
226
226
|
useRBAC,
|
|
227
227
|
useUnifiedAuth
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-RQ7Y2CN6.js";
|
|
229
229
|
import "./chunk-YDJW5XTN.js";
|
|
230
230
|
import {
|
|
231
231
|
getAppConfig,
|
package/dist/providers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-DV2Z3RBQ.js";
|
|
2
2
|
import {
|
|
3
3
|
EventProvider,
|
|
4
4
|
useEvents
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7UEIZCST.js";
|
|
6
6
|
import {
|
|
7
7
|
AuthProvider,
|
|
8
8
|
InactivityProvider,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useInactivity,
|
|
13
13
|
useOrganisations,
|
|
14
14
|
useUnifiedAuth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RQ7Y2CN6.js";
|
|
16
16
|
import "./chunk-YDJW5XTN.js";
|
|
17
17
|
import "./chunk-WJARTBCT.js";
|
|
18
18
|
import "./chunk-PLDDJCW6.js";
|
package/dist/rbac/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
withAccessLevelGuard,
|
|
32
32
|
withPermissionGuard,
|
|
33
33
|
withRoleGuard
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-JV73V2W5.js";
|
|
35
35
|
import {
|
|
36
36
|
useAccessLevel,
|
|
37
37
|
useCachedPermissions,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
useMultiplePermissions,
|
|
42
42
|
usePermissions,
|
|
43
43
|
useRBAC as useRBAC2
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-AMOT5ZSZ.js";
|
|
45
45
|
import {
|
|
46
46
|
CACHE_PATTERNS,
|
|
47
47
|
RBACCache,
|
|
@@ -69,12 +69,12 @@ import {
|
|
|
69
69
|
getGlobalAuditManager,
|
|
70
70
|
setGlobalAuditManager
|
|
71
71
|
} from "../chunk-7BNPOCLL.js";
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
72
|
+
import "../chunk-7UEIZCST.js";
|
|
73
|
+
import "../chunk-XYRRPUYV.js";
|
|
74
74
|
import {
|
|
75
75
|
RBACProvider,
|
|
76
76
|
useRBAC
|
|
77
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-RQ7Y2CN6.js";
|
|
78
78
|
import "../chunk-YDJW5XTN.js";
|
|
79
79
|
import "../chunk-MZBUOP4P.js";
|
|
80
80
|
import "../chunk-WJARTBCT.js";
|
package/dist/utils.js
CHANGED
|
@@ -545,7 +545,7 @@ function createLazyComponent(importFn, componentName, options = {}) {
|
|
|
545
545
|
return WrappedComponent;
|
|
546
546
|
}
|
|
547
547
|
var LazyDataTable = createLazyComponent(
|
|
548
|
-
() => import("./DataTable-
|
|
548
|
+
() => import("./DataTable-7LYDPZXT.js").then((module) => ({ default: module.DataTable })),
|
|
549
549
|
"DataTable"
|
|
550
550
|
);
|
|
551
551
|
|