@jmruthers/pace-core 0.5.103 → 0.5.105
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-DX15wM6y.d.ts → AuthService-1D2ifNfa.d.ts} +1 -0
- package/dist/{DataTable-EEDFYMJP.js → DataTable-LWHFLTEW.js} +6 -6
- package/dist/{UnifiedAuthProvider-H7RI4KYD.js → UnifiedAuthProvider-XU4BHFXZ.js} +3 -3
- package/dist/{chunk-62AVH7CM.js → chunk-75G3NZWN.js} +4 -4
- package/dist/{chunk-SZWCMVTQ.js → chunk-AZFPGDCJ.js} +15 -7
- package/dist/chunk-AZFPGDCJ.js.map +1 -0
- package/dist/{chunk-5SGBVBRU.js → chunk-DWYMGSGU.js} +14 -7
- package/dist/chunk-DWYMGSGU.js.map +1 -0
- package/dist/{chunk-G7UUVEAP.js → chunk-GVRSXXAA.js} +3 -3
- package/dist/{chunk-X33A4WWI.js → chunk-HBGPLSA5.js} +38 -8
- package/dist/chunk-HBGPLSA5.js.map +1 -0
- package/dist/{chunk-ORACUZ7H.js → chunk-KBG34SVL.js} +2 -2
- package/dist/{chunk-ZGCVJ7WW.js → chunk-LT6RKRA7.js} +2 -2
- package/dist/{chunk-7TQDRDSM.js → chunk-MOMYOQMC.js} +5 -5
- package/dist/{chunk-2KLAOD4M.js → chunk-QDDUU625.js} +3 -3
- package/dist/{chunk-5RYPBJYL.js → chunk-X4FRXJV6.js} +7 -3
- package/dist/{chunk-5RYPBJYL.js.map → chunk-X4FRXJV6.js.map} +1 -1
- package/dist/{chunk-MVNOAHOP.js → chunk-ZXY5NTJB.js} +2 -2
- package/dist/components.js +8 -8
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11 -11
- package/dist/providers.d.ts +2 -2
- package/dist/providers.js +2 -2
- package/dist/rbac/index.js +7 -7
- package/dist/{usePublicRouteParams-BiXgKiYa.d.ts → usePublicRouteParams-CnM-IK2I.d.ts} +1 -0
- 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 +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/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 +4 -4
- 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 +7 -6
- package/package.json +1 -1
- package/src/components/PaceLoginPage/PaceLoginPage.tsx +7 -0
- package/src/hooks/public/usePublicFileDisplay.ts +27 -1
- package/src/hooks/useEventTheme.ts +14 -1
- package/src/hooks/useFileDisplay.ts +10 -2
- package/src/services/EventService.ts +10 -3
- package/src/utils/file-reference.ts +15 -6
- package/dist/chunk-5SGBVBRU.js.map +0 -1
- package/dist/chunk-SZWCMVTQ.js.map +0 -1
- package/dist/chunk-X33A4WWI.js.map +0 -1
- /package/dist/{DataTable-EEDFYMJP.js.map → DataTable-LWHFLTEW.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-H7RI4KYD.js.map → UnifiedAuthProvider-XU4BHFXZ.js.map} +0 -0
- /package/dist/{chunk-62AVH7CM.js.map → chunk-75G3NZWN.js.map} +0 -0
- /package/dist/{chunk-G7UUVEAP.js.map → chunk-GVRSXXAA.js.map} +0 -0
- /package/dist/{chunk-ORACUZ7H.js.map → chunk-KBG34SVL.js.map} +0 -0
- /package/dist/{chunk-ZGCVJ7WW.js.map → chunk-LT6RKRA7.js.map} +0 -0
- /package/dist/{chunk-7TQDRDSM.js.map → chunk-MOMYOQMC.js.map} +0 -0
- /package/dist/{chunk-2KLAOD4M.js.map → chunk-QDDUU625.js.map} +0 -0
- /package/dist/{chunk-MVNOAHOP.js.map → chunk-ZXY5NTJB.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
UnifiedAuthProvider,
|
|
3
3
|
init_UnifiedAuthProvider,
|
|
4
4
|
useUnifiedAuth
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X4FRXJV6.js";
|
|
6
6
|
import {
|
|
7
7
|
__esm,
|
|
8
8
|
__export
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
UnifiedAuthProvider_exports,
|
|
25
25
|
init_UnifiedAuthProvider2 as init_UnifiedAuthProvider
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-KBG34SVL.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
init_InactivityServiceProvider,
|
|
5
5
|
init_OrganisationServiceProvider,
|
|
6
6
|
init_UnifiedAuthProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X4FRXJV6.js";
|
|
8
8
|
|
|
9
9
|
// src/providers/index.ts
|
|
10
10
|
init_UnifiedAuthProvider();
|
|
@@ -12,4 +12,4 @@ init_EventServiceProvider();
|
|
|
12
12
|
init_OrganisationServiceProvider();
|
|
13
13
|
init_InactivityServiceProvider();
|
|
14
14
|
init_AuthServiceProvider();
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-LT6RKRA7.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createScopeFromEvent,
|
|
3
3
|
useAccessLevel,
|
|
4
4
|
useCan
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QDDUU625.js";
|
|
6
6
|
import {
|
|
7
7
|
OrganisationContextRequiredError,
|
|
8
8
|
RBACCache,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk-S63MFSY6.js";
|
|
12
12
|
import {
|
|
13
13
|
useSecureDataAccess
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GVRSXXAA.js";
|
|
15
15
|
import {
|
|
16
16
|
init_UnifiedAuthProvider
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KBG34SVL.js";
|
|
18
18
|
import {
|
|
19
19
|
useUnifiedAuth
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-X4FRXJV6.js";
|
|
21
21
|
import {
|
|
22
22
|
getCurrentAppName
|
|
23
23
|
} from "./chunk-JCQZ6LA7.js";
|
|
@@ -1860,4 +1860,4 @@ export {
|
|
|
1860
1860
|
getPermissionsForRole,
|
|
1861
1861
|
ALL_PERMISSIONS
|
|
1862
1862
|
};
|
|
1863
|
-
//# sourceMappingURL=chunk-
|
|
1863
|
+
//# sourceMappingURL=chunk-MOMYOQMC.js.map
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
init_useOrganisations,
|
|
12
12
|
useEvents,
|
|
13
13
|
useOrganisations
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZXY5NTJB.js";
|
|
15
15
|
import {
|
|
16
16
|
init_UnifiedAuthProvider,
|
|
17
17
|
useUnifiedAuth
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-X4FRXJV6.js";
|
|
19
19
|
import {
|
|
20
20
|
getCurrentAppName
|
|
21
21
|
} from "./chunk-JCQZ6LA7.js";
|
|
@@ -729,4 +729,4 @@ export {
|
|
|
729
729
|
useHasAllPermissions,
|
|
730
730
|
useCachedPermissions
|
|
731
731
|
};
|
|
732
|
-
//# sourceMappingURL=chunk-
|
|
732
|
+
//# sourceMappingURL=chunk-QDDUU625.js.map
|
|
@@ -1193,7 +1193,7 @@ var init_EventService = __esm({
|
|
|
1193
1193
|
if (persistedEvent) {
|
|
1194
1194
|
this.selectedEvent = persistedEvent;
|
|
1195
1195
|
this.setSelectedEventId?.(persistedEventId);
|
|
1196
|
-
this.updateThemeForSelectedEvent();
|
|
1196
|
+
this.updateThemeForSelectedEvent(true);
|
|
1197
1197
|
return true;
|
|
1198
1198
|
} else {
|
|
1199
1199
|
sessionStorage.removeItem("pace-core-selected-event");
|
|
@@ -1361,8 +1361,12 @@ var init_EventService = __esm({
|
|
|
1361
1361
|
}
|
|
1362
1362
|
/**
|
|
1363
1363
|
* Apply or clear runtime theme variables based on the current selected event's colours
|
|
1364
|
+
* @param skipTheming - If true, skip theme application (useful during session restoration/login)
|
|
1364
1365
|
*/
|
|
1365
|
-
updateThemeForSelectedEvent() {
|
|
1366
|
+
updateThemeForSelectedEvent(skipTheming = false) {
|
|
1367
|
+
if (skipTheming) {
|
|
1368
|
+
return;
|
|
1369
|
+
}
|
|
1366
1370
|
try {
|
|
1367
1371
|
const normalized = this.parseAndNormalizeEventColours(this.selectedEvent?.event_colours);
|
|
1368
1372
|
if (normalized) {
|
|
@@ -2351,4 +2355,4 @@ export {
|
|
|
2351
2355
|
UnifiedAuthProvider,
|
|
2352
2356
|
init_UnifiedAuthProvider
|
|
2353
2357
|
};
|
|
2354
|
-
//# sourceMappingURL=chunk-
|
|
2358
|
+
//# sourceMappingURL=chunk-X4FRXJV6.js.map
|