@jmruthers/pace-core 0.6.11 → 0.6.12
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-EFYP2QLE.js → DataTable-AQAHSFLM.js} +7 -6
- package/dist/{api-BZR2CYXL.js → api-6OQXYT67.js} +2 -1
- package/dist/{chunk-L5LFKKLJ.js → chunk-2GBDPPUC.js} +1 -1
- package/dist/{chunk-J2KQK6DG.js → chunk-AP5FG7W4.js} +2 -2
- package/dist/{chunk-UZNAFKGW.js → chunk-GHCUP64P.js} +1 -21
- package/dist/{chunk-V7FTM2LU.js → chunk-H6RTU4DZ.js} +37 -19
- package/dist/{chunk-KJXRL3XE.js → chunk-HQTYP6BX.js} +79 -45
- package/dist/{chunk-YFTFFJIV.js → chunk-M7QE7XOA.js} +3 -3
- package/dist/{chunk-YYTWKVHO.js → chunk-MVVWZ7JV.js} +25 -30
- package/dist/{chunk-PCSHBLPB.js → chunk-NJ7FGQWB.js} +5 -5
- package/dist/{chunk-WY6Y7KC3.js → chunk-QWIG36BZ.js} +3 -3
- package/dist/{chunk-4R3T5ENU.js → chunk-S57OLCLO.js} +9 -6
- package/dist/chunk-VFLR5K2H.js +23 -0
- package/dist/{chunk-2OEVOGGR.js → chunk-Y2LWSLLB.js} +41 -25
- package/dist/{chunk-7A6IMHH2.js → chunk-YFGNMB67.js} +75 -6
- package/dist/components.d.ts +3 -3
- package/dist/components.js +13 -12
- package/dist/{functions-DH45k8ec.d.ts → functions-hF5ImHCr.d.ts} +1 -1
- package/dist/hooks.js +8 -7
- package/dist/index.d.ts +5 -5
- package/dist/index.js +17 -16
- package/dist/providers.js +3 -2
- package/dist/rbac/index.d.ts +10 -10
- package/dist/rbac/index.js +9 -8
- package/dist/{types-BE2sEHKd.d.ts → types-Besvoyzb.d.ts} +1 -1
- package/dist/{types-CvOPXWWZ.d.ts → types-CGHrxfqc.d.ts} +3 -0
- package/dist/types.d.ts +2 -2
- package/dist/{usePublicPageContext-B91dGYW1.d.ts → usePublicPageContext-BQrHf95t.d.ts} +1 -1
- package/dist/utils.js +4 -3
- package/docs/api/@jmruthers/namespaces/DialogPortal/README.md +14 -0
- package/docs/api/@jmruthers/namespaces/DialogPortal/variables/displayName.md +11 -0
- package/docs/api/README.md +6 -2
- package/docs/api/_media/README.md +186 -0
- package/docs/api/classes/ColumnFactory.md +225 -0
- package/docs/api/classes/Logger.md +246 -0
- package/docs/api/classes/RBACAuditManager.md +299 -0
- package/docs/api/classes/RBACCache.md +389 -0
- package/docs/api/classes/RBACEngine.md +181 -0
- package/docs/api/classes/SecureSupabaseClient.md +168 -0
- package/docs/api/classes/StorageUtils.md +324 -0
- package/docs/api/enumerations/FileCategory.md +137 -0
- package/docs/api/enumerations/LogLevel.md +43 -0
- package/docs/api/enumerations/RBACErrorCode.md +169 -0
- package/docs/api/enumerations/RPCFunction.md +89 -0
- package/docs/api/functions/AccessDenied.md +30 -0
- package/docs/api/functions/AppSwitcher.md +21 -0
- package/docs/api/functions/Badge.md +42 -0
- package/docs/api/functions/ContextSelector.md +43 -0
- package/docs/api/functions/DataTable.md +36 -0
- package/docs/api/functions/DatePickerWithTimezone.md +28 -0
- package/docs/api/functions/DialogBody.md +24 -0
- package/docs/api/functions/DialogFooter.md +24 -0
- package/docs/api/functions/DialogHeader.md +24 -0
- package/docs/api/functions/ErrorBoundaryProvider.md +28 -0
- package/docs/api/functions/EventServiceProvider.md +28 -0
- package/docs/api/functions/FileDisplay.md +25 -0
- package/docs/api/functions/FileUpload.md +21 -0
- package/docs/api/functions/Form.md +50 -0
- package/docs/api/functions/FormField.md +102 -0
- package/docs/api/functions/Header.md +21 -0
- package/docs/api/functions/InactivityServiceProvider.md +28 -0
- package/docs/api/functions/InactivityWarningModal.md +21 -0
- package/docs/api/functions/Input.md +49 -0
- package/docs/api/functions/NavigationGuard.md +31 -0
- package/docs/api/functions/OrganisationServiceProvider.md +28 -0
- package/docs/api/functions/PaceAppLayout.md +169 -0
- package/docs/api/functions/PasswordChangeForm.md +21 -0
- package/docs/api/functions/ProtectedRoute.md +37 -0
- package/docs/api/functions/PublicPageFooter.md +21 -0
- package/docs/api/functions/PublicPageHeader.md +21 -0
- package/docs/api/functions/PublicPageLayout.md +33 -0
- package/docs/api/functions/PublicPageProvider.md +30 -0
- package/docs/api/functions/Textarea.md +49 -0
- package/docs/api/functions/Toaster.md +34 -0
- package/docs/api/functions/UnifiedAuthProvider.md +28 -0
- package/docs/api/functions/applyPalette.md +33 -0
- package/docs/api/functions/archiveFile.md +47 -0
- package/docs/api/functions/average.md +63 -0
- package/docs/api/functions/buildAppUrl.md +46 -0
- package/docs/api/functions/clearInFlightRequests.md +17 -0
- package/docs/api/functions/clearPalette.md +18 -0
- package/docs/api/functions/clearPublicEventCache.md +18 -0
- package/docs/api/functions/clearPublicFileDisplayCache.md +18 -0
- package/docs/api/functions/clearPublicLogoCache.md +18 -0
- package/docs/api/functions/cn.md +21 -0
- package/docs/api/functions/count.md +56 -0
- package/docs/api/functions/createAuditManager.md +45 -0
- package/docs/api/functions/createBaseClient.md +75 -0
- package/docs/api/functions/createLogger.md +95 -0
- package/docs/api/functions/createRBACConfig.md +21 -0
- package/docs/api/functions/createRBACEngine.md +33 -0
- package/docs/api/functions/createRBACExpressMiddleware.md +84 -0
- package/docs/api/functions/createRBACMiddleware.md +88 -0
- package/docs/api/functions/createSecureClient.md +80 -0
- package/docs/api/functions/createSecureDataAccess.md +39 -0
- package/docs/api/functions/deleteFile.md +33 -0
- package/docs/api/functions/disablePerformanceMonitoring.md +17 -0
- package/docs/api/functions/downloadFile.md +33 -0
- package/docs/api/functions/emitAuditEvent.md +27 -0
- package/docs/api/functions/enablePerformanceMonitoring.md +17 -0
- package/docs/api/functions/err.md +23 -0
- package/docs/api/functions/exportToCSV.md +56 -0
- package/docs/api/functions/exportToCSVWithTableRows.md +46 -0
- package/docs/api/functions/extractEventCodeFromPath.md +24 -0
- package/docs/api/functions/extractFileMetadata.md +33 -0
- package/docs/api/functions/formatCompactNumber.md +27 -0
- package/docs/api/functions/formatCurrency.md +31 -0
- package/docs/api/functions/formatDate.md +23 -0
- package/docs/api/functions/formatDateTime.md +24 -0
- package/docs/api/functions/formatFileSize.md +23 -0
- package/docs/api/functions/formatInTimeZone.md +46 -0
- package/docs/api/functions/formatNumber.md +31 -0
- package/docs/api/functions/formatPercent.md +64 -0
- package/docs/api/functions/formatTime.md +24 -0
- package/docs/api/functions/formatTimeInTimeZone.md +40 -0
- package/docs/api/functions/fromSupabaseClient.md +49 -0
- package/docs/api/functions/fromZonedTime.md +41 -0
- package/docs/api/functions/generateCSVContent.md +55 -0
- package/docs/api/functions/generateFilePath.md +29 -0
- package/docs/api/functions/generateFileUrlsBatch.md +33 -0
- package/docs/api/functions/generatePublicRoutePath.md +27 -0
- package/docs/api/functions/generateUniqueFileName.md +24 -0
- package/docs/api/functions/getAccessLevel.md +48 -0
- package/docs/api/functions/getAllAppPorts.md +19 -0
- package/docs/api/functions/getAllStylePaths.md +15 -0
- package/docs/api/functions/getAppConfig.md +17 -0
- package/docs/api/functions/getAppPort.md +34 -0
- package/docs/api/functions/getBucketName.md +27 -0
- package/docs/api/functions/getCurrentAppId.md +17 -0
- package/docs/api/functions/getCurrentAppName.md +17 -0
- package/docs/api/functions/getFileSizeLimit.md +23 -0
- package/docs/api/functions/getGlobalAuditManager.md +19 -0
- package/docs/api/functions/getInFlightRequestCount.md +19 -0
- package/docs/api/functions/getPerformanceMetrics.md +17 -0
- package/docs/api/functions/getPerformanceSummary.md +17 -0
- package/docs/api/functions/getPermissionMap.md +52 -0
- package/docs/api/functions/getPublicEventCacheStats.md +25 -0
- package/docs/api/functions/getPublicFileDisplayCacheStats.md +25 -0
- package/docs/api/functions/getPublicLogoCacheStats.md +25 -0
- package/docs/api/functions/getPublicUrl.md +39 -0
- package/docs/api/functions/getRBACConfig.md +15 -0
- package/docs/api/functions/getRBACLogger.md +15 -0
- package/docs/api/functions/getRoleContext.md +31 -0
- package/docs/api/functions/getSignedUrl.md +34 -0
- package/docs/api/functions/getStylePath.md +21 -0
- package/docs/api/functions/getTimeZoneDifference.md +40 -0
- package/docs/api/functions/getTimezoneAbbreviation.md +40 -0
- package/docs/api/functions/getUserTimeZone.md +26 -0
- package/docs/api/functions/hasAllPermissions.md +41 -0
- package/docs/api/functions/hasAnyPermission.md +41 -0
- package/docs/api/functions/isDebugMode.md +15 -0
- package/docs/api/functions/isDevelopmentMode.md +15 -0
- package/docs/api/functions/isErr.md +29 -0
- package/docs/api/functions/isOk.md +29 -0
- package/docs/api/functions/isPerformanceMonitoringEnabled.md +17 -0
- package/docs/api/functions/isPermitted.md +58 -0
- package/docs/api/functions/isPermittedCached.md +36 -0
- package/docs/api/functions/isRBACInitialized.md +19 -0
- package/docs/api/functions/isSecureClient.md +38 -0
- package/docs/api/functions/isValidPermission.md +27 -0
- package/docs/api/functions/listFiles.md +29 -0
- package/docs/api/functions/max.md +63 -0
- package/docs/api/functions/min.md +63 -0
- package/docs/api/functions/ok.md +29 -0
- package/docs/api/functions/parseAndNormalizeEventColours.md +105 -0
- package/docs/api/functions/recordAuditEvent.md +23 -0
- package/docs/api/functions/recordPermissionCheck.md +31 -0
- package/docs/api/functions/resetPerformanceMetrics.md +17 -0
- package/docs/api/functions/resolveAppContext.md +27 -0
- package/docs/api/functions/roundToNearestMinutes.md +41 -0
- package/docs/api/functions/sanitizeFormData.md +49 -0
- package/docs/api/functions/sanitizeHtml.md +39 -0
- package/docs/api/functions/sanitizeUserInput.md +27 -0
- package/docs/api/functions/setAppConfig.md +23 -0
- package/docs/api/functions/setGlobalAuditManager.md +25 -0
- package/docs/api/functions/setupRBAC.md +31 -0
- package/docs/api/functions/sum.md +63 -0
- package/docs/api/functions/toZonedTime.md +41 -0
- package/docs/api/functions/uploadFile.md +32 -0
- package/docs/api/functions/useAccessLevel.md +71 -0
- package/docs/api/functions/useAccessibleApps.md +55 -0
- package/docs/api/functions/useAppConfig.md +20 -0
- package/docs/api/functions/useAuthService.md +15 -0
- package/docs/api/functions/useCan.md +99 -0
- package/docs/api/functions/useEventService.md +15 -0
- package/docs/api/functions/useEventTheme.md +26 -0
- package/docs/api/functions/useEvents.md +45 -0
- package/docs/api/functions/useFileReference.md +264 -0
- package/docs/api/functions/useFileReferenceById.md +63 -0
- package/docs/api/functions/useFileReferenceForRecord.md +129 -0
- package/docs/api/functions/useFilesByCategory.md +80 -0
- package/docs/api/functions/useFormDialog.md +62 -0
- package/docs/api/functions/useInactivityService.md +15 -0
- package/docs/api/functions/useInactivityTracker.md +21 -0
- package/docs/api/functions/useIsPublicPage.md +19 -0
- package/docs/api/functions/useMultiplePermissions.md +88 -0
- package/docs/api/functions/useOptionalEvents.md +31 -0
- package/docs/api/functions/useOrganisationPermissions.md +27 -0
- package/docs/api/functions/useOrganisationSecurity.md +15 -0
- package/docs/api/functions/useOrganisationService.md +15 -0
- package/docs/api/functions/useOrganisations.md +48 -0
- package/docs/api/functions/usePermissions.md +130 -0
- package/docs/api/functions/usePublicEvent.md +36 -0
- package/docs/api/functions/usePublicEventCode.md +32 -0
- package/docs/api/functions/usePublicEventLogo.md +48 -0
- package/docs/api/functions/usePublicFileDisplay.md +54 -0
- package/docs/api/functions/usePublicPageContext.md +19 -0
- package/docs/api/functions/usePublicRouteParams.md +31 -0
- package/docs/api/functions/useRBAC.md +21 -0
- package/docs/api/functions/useResolvedScope.md +46 -0
- package/docs/api/functions/useResourcePermissions.md +25 -0
- package/docs/api/functions/useRoleManagement.md +121 -0
- package/docs/api/functions/useSecureSupabase.md +51 -0
- package/docs/api/functions/useSessionRestoration.md +15 -0
- package/docs/api/functions/useSessionTracking.md +62 -0
- package/docs/api/functions/useToast.md +83 -0
- package/docs/api/functions/useUnifiedAuth.md +24 -0
- package/docs/api/functions/useZodForm.md +27 -0
- package/docs/api/functions/validateFileSize.md +31 -0
- package/docs/api/functions/warnIfInsecureClient.md +40 -0
- package/docs/api/functions/withAccessLevelGuard.md +67 -0
- package/docs/api/functions/withPermissionGuard.md +73 -0
- package/docs/api/functions/withRoleGuard.md +86 -0
- package/docs/api/globals.md +502 -0
- package/docs/api/interfaces/AccessDeniedProps.md +87 -0
- package/docs/api/interfaces/AccessibleApp.md +41 -0
- package/docs/api/interfaces/AddressFieldProps.md +195 -0
- package/docs/api/interfaces/AddressFieldRef.md +67 -0
- package/docs/api/interfaces/AggregateConfig.md +35 -0
- package/docs/api/interfaces/AppSwitcherProps.md +51 -0
- package/docs/api/interfaces/AuthSessionData.md +27 -0
- package/docs/api/interfaces/AutocompleteOptions.md +61 -0
- package/docs/api/interfaces/AvatarProps.md +97 -0
- package/docs/api/interfaces/BadgeProps.md +30 -0
- package/docs/api/interfaces/BuildAppUrlOptions.md +41 -0
- package/docs/api/interfaces/ButtonProps.md +46 -0
- package/docs/api/interfaces/CalendarProps.md +60 -0
- package/docs/api/interfaces/CardProps.md +56 -0
- package/docs/api/interfaces/ColorPalette.md +13 -0
- package/docs/api/interfaces/ColorShade.md +58 -0
- package/docs/api/interfaces/ContextSelectorProps.md +131 -0
- package/docs/api/interfaces/DataRecord.md +16 -0
- package/docs/api/interfaces/DataTableAction.md +198 -0
- package/docs/api/interfaces/DataTableColumn.md +422 -0
- package/docs/api/interfaces/DataTableProps.md +511 -0
- package/docs/api/interfaces/DataTableToolbarButton.md +75 -0
- package/docs/api/interfaces/DatePickerWithTimezoneProps.md +75 -0
- package/docs/api/interfaces/DialogBodyProps.md +55 -0
- package/docs/api/interfaces/DialogCloseProps.md +25 -0
- package/docs/api/interfaces/DialogContentProps.md +160 -0
- package/docs/api/interfaces/DialogFooterProps.md +25 -0
- package/docs/api/interfaces/DialogHeaderProps.md +25 -0
- package/docs/api/interfaces/DialogPortalProps.md +19 -0
- package/docs/api/interfaces/DialogProps.md +53 -0
- package/docs/api/interfaces/DialogTriggerProps.md +53 -0
- package/docs/api/interfaces/EmptyStateConfig.md +55 -0
- package/docs/api/interfaces/ErrorBoundaryProps.md +131 -0
- package/docs/api/interfaces/ErrorBoundaryProviderProps.md +31 -0
- package/docs/api/interfaces/ErrorBoundaryState.md +61 -0
- package/docs/api/interfaces/EventAppRoleData.md +54 -0
- package/docs/api/interfaces/ExportColumn.md +69 -0
- package/docs/api/interfaces/ExportOptions.md +109 -0
- package/docs/api/interfaces/FileDisplayProps.md +192 -0
- package/docs/api/interfaces/FileMetadata.md +97 -0
- package/docs/api/interfaces/FileReference.md +89 -0
- package/docs/api/interfaces/FileSizeLimits.md +13 -0
- package/docs/api/interfaces/FileUploadOptions.md +107 -0
- package/docs/api/interfaces/FooterProps.md +37 -0
- package/docs/api/interfaces/FormFieldProps.md +171 -0
- package/docs/api/interfaces/FormProps.md +93 -0
- package/docs/api/interfaces/GrantEventAppRoleParams.md +97 -0
- package/docs/api/interfaces/ImportSummary.md +49 -0
- package/docs/api/interfaces/InactivityWarningModalProps.md +87 -0
- package/docs/api/interfaces/InputProps.md +46 -0
- package/docs/api/interfaces/InvalidScopeError.md +37 -0
- package/docs/api/interfaces/LabelProps.md +85 -0
- package/docs/api/interfaces/LoggerConfig.md +51 -0
- package/docs/api/interfaces/LoginFormProps.md +146 -0
- package/docs/api/interfaces/MissingUserContextError.md +37 -0
- package/docs/api/interfaces/NavigationGuardProps.md +109 -0
- package/docs/api/interfaces/NavigationItem.md +91 -0
- package/docs/api/interfaces/NavigationMenuProps.md +169 -0
- package/docs/api/interfaces/Organisation.md +105 -0
- package/docs/api/interfaces/OrganisationContextRequiredError.md +37 -0
- package/docs/api/interfaces/OrganisationMembership.md +105 -0
- package/docs/api/interfaces/OrganisationSecurityError.md +49 -0
- package/docs/api/interfaces/PaceAppLayoutPermissionConfig.md +127 -0
- package/docs/api/interfaces/PaceAppLayoutRouteConfigItem.md +91 -0
- package/docs/api/interfaces/PaceAppLayoutRoutingConfig.md +79 -0
- package/docs/api/interfaces/PaceLoginPageProps.md +41 -0
- package/docs/api/interfaces/PagePermissionGuardProps.md +143 -0
- package/docs/api/interfaces/PaletteData.md +33 -0
- package/docs/api/interfaces/ParsedAddress.md +91 -0
- package/docs/api/interfaces/PermissionDeniedError.md +37 -0
- package/docs/api/interfaces/ProgressProps.md +35 -0
- package/docs/api/interfaces/ProtectedRouteProps.md +67 -0
- package/docs/api/interfaces/PublicPageFooterProps.md +97 -0
- package/docs/api/interfaces/PublicPageHeaderProps.md +99 -0
- package/docs/api/interfaces/PublicPageLayoutProps.md +153 -0
- package/docs/api/interfaces/RBACAccessValidateParams.md +41 -0
- package/docs/api/interfaces/RBACAccessValidateResult.md +33 -0
- package/docs/api/interfaces/RBACAuditLogParams.md +65 -0
- package/docs/api/interfaces/RBACAuditLogResult.md +41 -0
- package/docs/api/interfaces/RBACContext.md +41 -0
- package/docs/api/interfaces/RBACError.md +37 -0
- package/docs/api/interfaces/RBACLogger.md +97 -0
- package/docs/api/interfaces/RBACNotInitializedError.md +37 -0
- package/docs/api/interfaces/RBACPageAccessCheckParams.md +57 -0
- package/docs/api/interfaces/RBACPerformanceMetrics.md +109 -0
- package/docs/api/interfaces/RBACPermissionCheckParams.md +57 -0
- package/docs/api/interfaces/RBACPermissionCheckResult.md +41 -0
- package/docs/api/interfaces/RBACPermissionsGetParams.md +49 -0
- package/docs/api/interfaces/RBACPermissionsGetResult.md +49 -0
- package/docs/api/interfaces/RBACResult.md +47 -0
- package/docs/api/interfaces/RBACRoleGrantParams.md +49 -0
- package/docs/api/interfaces/RBACRoleGrantResult.md +41 -0
- package/docs/api/interfaces/RBACRoleRevokeParams.md +49 -0
- package/docs/api/interfaces/RBACRoleRevokeResult.md +41 -0
- package/docs/api/interfaces/RBACRoleValidateParams.md +41 -0
- package/docs/api/interfaces/RBACRoleValidateResult.md +49 -0
- package/docs/api/interfaces/RBACRolesListParams.md +41 -0
- package/docs/api/interfaces/RBACRolesListResult.md +57 -0
- package/docs/api/interfaces/RBACSessionTrackParams.md +57 -0
- package/docs/api/interfaces/RBACSessionTrackResult.md +41 -0
- package/docs/api/interfaces/ResourcePermissions.md +119 -0
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +81 -0
- package/docs/api/interfaces/RoleManagementResult.md +41 -0
- package/docs/api/interfaces/SessionRestorationLoaderProps.md +29 -0
- package/docs/api/interfaces/StorageConfig.md +33 -0
- package/docs/api/interfaces/StorageFileInfo.md +57 -0
- package/docs/api/interfaces/StorageFileMetadata.md +113 -0
- package/docs/api/interfaces/StorageListOptions.md +79 -0
- package/docs/api/interfaces/StorageListResult.md +33 -0
- package/docs/api/interfaces/StorageUploadOptions.md +81 -0
- package/docs/api/interfaces/StorageUploadResult.md +49 -0
- package/docs/api/interfaces/StorageUploadSuccess.md +35 -0
- package/docs/api/interfaces/StorageUrlOptions.md +49 -0
- package/docs/api/interfaces/StyleImport.md +17 -0
- package/docs/api/interfaces/SwitchProps.md +30 -0
- package/docs/api/interfaces/TabsContentProps.md +13 -0
- package/docs/api/interfaces/TabsListProps.md +13 -0
- package/docs/api/interfaces/TabsProps.md +13 -0
- package/docs/api/interfaces/TabsTriggerProps.md +41 -0
- package/docs/api/interfaces/TextareaProps.md +43 -0
- package/docs/api/interfaces/ToastActionElement.md +16 -0
- package/docs/api/interfaces/ToastProps.md +13 -0
- package/docs/api/interfaces/UnifiedAuthProviderProps.md +129 -0
- package/docs/api/interfaces/UseAccessibleAppsReturn.md +55 -0
- package/docs/api/interfaces/UseFormDialogOptions.md +49 -0
- package/docs/api/interfaces/UseFormDialogReturn.md +95 -0
- package/docs/api/interfaces/UseInactivityTrackerOptions.md +103 -0
- package/docs/api/interfaces/UseInactivityTrackerReturn.md +91 -0
- package/docs/api/interfaces/UsePublicEventLogoOptions.md +69 -0
- package/docs/api/interfaces/UsePublicEventLogoReturn.md +66 -0
- package/docs/api/interfaces/UsePublicEventOptions.md +29 -0
- package/docs/api/interfaces/UsePublicEventReturn.md +56 -0
- package/docs/api/interfaces/UsePublicFileDisplayOptions.md +39 -0
- package/docs/api/interfaces/UsePublicFileDisplayReturn.md +96 -0
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +76 -0
- package/docs/api/interfaces/UseResolvedScopeOptions.md +49 -0
- package/docs/api/interfaces/UseResolvedScopeReturn.md +39 -0
- package/docs/api/interfaces/UseResourcePermissionsOptions.md +29 -0
- package/docs/api/interfaces/UserEventAccess.md +92 -0
- package/docs/api/interfaces/UserMenuProps.md +69 -0
- package/docs/api/interfaces/UserProfile.md +49 -0
- package/docs/api/type-aliases/AccessLevel.md +11 -0
- package/docs/api/type-aliases/AccessLevelContext.md +14 -0
- package/docs/api/type-aliases/AllPermissions.md +11 -0
- package/docs/api/type-aliases/ApiError.md +37 -0
- package/docs/api/type-aliases/ApiResult.md +19 -0
- package/docs/api/type-aliases/AuditEventType.md +11 -0
- package/docs/api/type-aliases/BadgeVariant.md +18 -0
- package/docs/api/type-aliases/DataTableFeatureConfig.md +14 -0
- package/docs/api/type-aliases/DialogSize.md +13 -0
- package/docs/api/type-aliases/EventAppRole.md +11 -0
- package/docs/api/type-aliases/FileUploadProps.md +15 -0
- package/docs/api/type-aliases/GetRowId.md +33 -0
- package/docs/api/type-aliases/GlobalErrorHandler.md +35 -0
- package/docs/api/type-aliases/GlobalRole.md +11 -0
- package/docs/api/type-aliases/ImportHandlerResult.md +13 -0
- package/docs/api/type-aliases/NavigationMode.md +13 -0
- package/docs/api/type-aliases/Operation.md +11 -0
- package/docs/api/type-aliases/OrganisationContextType.md +13 -0
- package/docs/api/type-aliases/OrganisationRole.md +11 -0
- package/docs/api/type-aliases/PaceAppLayoutProps.md +14 -0
- package/docs/api/type-aliases/Permission.md +11 -0
- package/docs/api/type-aliases/PermissionCheck.md +46 -0
- package/docs/api/type-aliases/PermissionMap.md +11 -0
- package/docs/api/type-aliases/PermissionSource.md +13 -0
- package/docs/api/type-aliases/RBACConfig.md +13 -0
- package/docs/api/type-aliases/RBACFunctionResponse.md +57 -0
- package/docs/api/type-aliases/Scope.md +41 -0
- package/docs/api/type-aliases/SessionType.md +11 -0
- package/docs/api/type-aliases/UUID.md +11 -0
- package/docs/api/type-aliases/UnifiedAuthContextType.md +13 -0
- package/docs/api/type-aliases/UseFileReferenceForRecordReturn.md +161 -0
- package/docs/api/type-aliases/UseFileReferenceOptions.md +35 -0
- package/docs/api/type-aliases/UseFileReferenceReturn.md +13 -0
- package/docs/api/variables/ALL_PERMISSIONS.md +281 -0
- package/docs/api/variables/APP_PATH_MAPPING.md +14 -0
- package/docs/api/variables/AddressField.md +41 -0
- package/docs/api/variables/Alert.md +11 -0
- package/docs/api/variables/AlertDescription.md +11 -0
- package/docs/api/variables/AlertTitle.md +11 -0
- package/docs/api/variables/Avatar.md +13 -0
- package/docs/api/variables/Button.md +31 -0
- package/docs/api/variables/CACHE_PATTERNS.md +89 -0
- package/docs/api/variables/Calendar.md +74 -0
- package/docs/api/variables/Card.md +11 -0
- package/docs/api/variables/CardActions.md +11 -0
- package/docs/api/variables/CardContent.md +11 -0
- package/docs/api/variables/CardDescription.md +11 -0
- package/docs/api/variables/CardFooter.md +11 -0
- package/docs/api/variables/CardHeader.md +11 -0
- package/docs/api/variables/CardTitle.md +11 -0
- package/docs/api/variables/Checkbox.md +11 -0
- package/docs/api/variables/DEFAULT_APP_PORT_MAP.md +14 -0
- package/docs/api/variables/DEFAULT_FILE_SIZE_LIMIT.md +13 -0
- package/docs/api/variables/Dialog.md +14 -0
- package/docs/api/variables/DialogClose.md +14 -0
- package/docs/api/variables/DialogContent.md +28 -0
- package/docs/api/variables/DialogDescription.md +14 -0
- package/docs/api/variables/DialogPortal.md +14 -0
- package/docs/api/variables/DialogTitle.md +14 -0
- package/docs/api/variables/DialogTrigger.md +14 -0
- package/docs/api/variables/EVENT_APP_PERMISSIONS.md +109 -0
- package/docs/api/variables/ErrorBoundary.md +15 -0
- package/docs/api/variables/FILE_SIZE_LIMITS.md +13 -0
- package/docs/api/variables/Footer.md +11 -0
- package/docs/api/variables/GLOBAL_PERMISSIONS.md +29 -0
- package/docs/api/variables/Label.md +34 -0
- package/docs/api/variables/LoadingSpinner.md +28 -0
- package/docs/api/variables/LoginForm.md +34 -0
- package/docs/api/variables/NavigationMenu.md +203 -0
- package/docs/api/variables/ORGANISATION_PERMISSIONS.md +89 -0
- package/docs/api/variables/PAGE_PERMISSIONS.md +93 -0
- package/docs/api/variables/PaceLoginPage.md +40 -0
- package/docs/api/variables/PagePermissionGuard.md +11 -0
- package/docs/api/variables/Progress.md +32 -0
- package/docs/api/variables/SECURE_CLIENT_SYMBOL.md +14 -0
- package/docs/api/variables/STORAGE_CONFIG.md +13 -0
- package/docs/api/variables/Select.md +26 -0
- package/docs/api/variables/SelectContent.md +26 -0
- package/docs/api/variables/SelectGroup.md +26 -0
- package/docs/api/variables/SelectItem.md +26 -0
- package/docs/api/variables/SelectLabel.md +26 -0
- package/docs/api/variables/SelectSeparator.md +26 -0
- package/docs/api/variables/SelectTrigger.md +26 -0
- package/docs/api/variables/SelectValue.md +26 -0
- package/docs/api/variables/SessionRestorationLoader.md +11 -0
- package/docs/api/variables/Switch.md +23 -0
- package/docs/api/variables/Table.md +35 -0
- package/docs/api/variables/TableBody.md +11 -0
- package/docs/api/variables/TableCaption.md +11 -0
- package/docs/api/variables/TableCell.md +11 -0
- package/docs/api/variables/TableFooter.md +11 -0
- package/docs/api/variables/TableHead.md +11 -0
- package/docs/api/variables/TableHeader.md +11 -0
- package/docs/api/variables/TableRow.md +11 -0
- package/docs/api/variables/Tabs.md +25 -0
- package/docs/api/variables/TabsContent.md +24 -0
- package/docs/api/variables/TabsList.md +25 -0
- package/docs/api/variables/TabsTrigger.md +34 -0
- package/docs/api/variables/Toast.md +36 -0
- package/docs/api/variables/ToastAction.md +32 -0
- package/docs/api/variables/ToastClose.md +32 -0
- package/docs/api/variables/ToastDescription.md +32 -0
- package/docs/api/variables/ToastProvider.md +11 -0
- package/docs/api/variables/ToastTitle.md +32 -0
- package/docs/api/variables/ToastViewport.md +26 -0
- package/docs/api/variables/Tooltip.md +34 -0
- package/docs/api/variables/TooltipContent.md +34 -0
- package/docs/api/variables/TooltipProvider.md +11 -0
- package/docs/api/variables/TooltipRoot.md +11 -0
- package/docs/api/variables/TooltipTrigger.md +11 -0
- package/docs/api/variables/UserMenu.md +11 -0
- package/docs/api/variables/emailSchema.md +13 -0
- package/docs/api/variables/logger.md +203 -0
- package/docs/api/variables/nameSchema.md +13 -0
- package/docs/api/variables/passwordSchema.md +13 -0
- package/docs/api/variables/phoneSchema.md +13 -0
- package/docs/api/variables/rbacCache.md +16 -0
- package/docs/api/variables/styleConfig.md +25 -0
- package/docs/api/variables/urlSchema.md +13 -0
- package/docs/api-reference/hooks.md +2 -0
- package/docs/implementation-guides/data-tables.md +8 -0
- package/docs/rbac/getting-started.md +7 -0
- package/docs/rbac/troubleshooting.md +5 -1
- package/package.json +3 -3
- package/src/components/DataTable/hooks/useDataTableEffectiveActions.ts +29 -19
- package/src/components/DataTable/hooks/useDataTableScope.test.ts +5 -13
- package/src/components/DataTable/hooks/useDataTableScope.ts +16 -14
- package/src/components/Dialog/useDialogLifecycle.test.ts +4 -1
- package/src/components/FileDisplay/useFileDisplay.unit.test.ts +12 -8
- package/src/components/PaceAppLayout/PaceAppLayout.edge-cases.test.tsx +33 -9
- package/src/components/PaceAppLayout/useFilteredNavItems.ts +22 -7
- package/src/components/PaceAppLayout/usePaceAppLayoutConfig.ts +44 -23
- package/src/components/PaceAppLayout/usePaceAppLayoutPermissions.ts +1 -1
- package/src/components/PaceAppLayout/usePaceAppLayoutScope.ts +6 -4
- package/src/components/PaceAppLayout/useRoleBasedRouteAccess.ts +2 -2
- package/src/hooks/useAppConfig.unit.test.ts +74 -66
- package/src/hooks/useComponentPerformance.unit.test.tsx +6 -4
- package/src/hooks/useFileUrl.unit.test.ts +1 -3
- package/src/hooks/useInactivityTracker.unit.test.ts +6 -2
- package/src/hooks/usePerformanceMonitor.unit.test.ts +6 -16
- package/src/hooks/usePublicEvent.simple.test.ts +32 -47
- package/src/hooks/usePublicEvent.test.ts +9 -15
- package/src/providers/services/AuthServiceProvider.test.tsx +10 -5
- package/src/providers/services/EventServiceProvider.test.tsx +8 -3
- package/src/providers/services/InactivityServiceProvider.test.tsx +8 -3
- package/src/providers/services/OrganisationServiceProvider.test.tsx +8 -3
- package/src/rbac/README.md +7 -5
- package/src/rbac/api.test.ts +113 -56
- package/src/rbac/api.ts +80 -10
- package/src/rbac/components/NavigationGuard.tsx +2 -1
- package/src/rbac/components/PagePermissionGuard.test.tsx +23 -10
- package/src/rbac/engine.ts +23 -1
- package/src/rbac/hooks/permissions/runPermissionCheck.ts +18 -4
- package/src/rbac/hooks/permissions/useCan.test.ts +59 -20
- package/src/rbac/hooks/permissions/useCan.ts +7 -3
- package/src/rbac/hooks/permissions/useMultiplePermissions.ts +18 -9
- package/src/rbac/hooks/useCan.test.ts +2 -3
- package/src/rbac/hooks/usePageGuardScope.ts +6 -4
- package/src/rbac/hooks/usePagePermissionCheck.ts +4 -4
- package/src/rbac/hooks/useResolvedScope.ts +16 -10
- package/src/rbac/hooks/useResourcePermissions.test.ts +48 -58
- package/src/rbac/hooks/useResourcePermissions.ts +11 -20
- package/src/rbac/types.ts +3 -0
- package/src/services/AuthService.edge-cases.test.ts +2 -2
- package/src/services/EventService.ts +9 -4
- package/src/utils/file-reference/file-reference.test.ts +25 -14
- package/src/utils/supabase/createBaseClient.test.ts +30 -13
- package/docs/api/modules.md +0 -10028
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[**@jmruthers/pace-core v0.6.12**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@jmruthers/pace-core](../globals.md) / withPermissionGuard
|
|
6
|
+
|
|
7
|
+
# Function: withPermissionGuard()
|
|
8
|
+
|
|
9
|
+
> **withPermissionGuard**\<`T`, `R`\>(`config`, `handler`): (...`args`) => `Promise`\<`R`\>
|
|
10
|
+
|
|
11
|
+
Defined in: [rbac/adapters.tsx:58](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/adapters.tsx#L58)
|
|
12
|
+
|
|
13
|
+
Permission Guard for Server Handlers
|
|
14
|
+
|
|
15
|
+
Wraps a server handler with permission checking.
|
|
16
|
+
|
|
17
|
+
## Type Parameters
|
|
18
|
+
|
|
19
|
+
### T
|
|
20
|
+
|
|
21
|
+
`T` *extends* readonly \[`ServerRequest`, `unknown`\]
|
|
22
|
+
|
|
23
|
+
### R
|
|
24
|
+
|
|
25
|
+
`R`
|
|
26
|
+
|
|
27
|
+
## Parameters
|
|
28
|
+
|
|
29
|
+
### config
|
|
30
|
+
|
|
31
|
+
Permission guard configuration
|
|
32
|
+
|
|
33
|
+
#### permission
|
|
34
|
+
|
|
35
|
+
`` `read:${string}` `` \| `` `create:${string}` `` \| `` `update:${string}` `` \| `` `delete:${string}` ``
|
|
36
|
+
|
|
37
|
+
#### pageId?
|
|
38
|
+
|
|
39
|
+
`string`
|
|
40
|
+
|
|
41
|
+
### handler
|
|
42
|
+
|
|
43
|
+
(...`args`) => `Promise`\<`R`\>
|
|
44
|
+
|
|
45
|
+
Handler function to wrap
|
|
46
|
+
|
|
47
|
+
## Returns
|
|
48
|
+
|
|
49
|
+
Wrapped handler function
|
|
50
|
+
|
|
51
|
+
> (...`args`): `Promise`\<`R`\>
|
|
52
|
+
|
|
53
|
+
### Parameters
|
|
54
|
+
|
|
55
|
+
#### args
|
|
56
|
+
|
|
57
|
+
...`T`
|
|
58
|
+
|
|
59
|
+
### Returns
|
|
60
|
+
|
|
61
|
+
`Promise`\<`R`\>
|
|
62
|
+
|
|
63
|
+
## Example
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
const protectedHandler = withPermissionGuard(
|
|
67
|
+
{ permission: 'update:events', pageId: 'page-789' },
|
|
68
|
+
async (req, res) => {
|
|
69
|
+
// Handler logic here
|
|
70
|
+
res.json({ success: true });
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
```
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
[**@jmruthers/pace-core v0.6.12**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@jmruthers/pace-core](../globals.md) / withRoleGuard
|
|
6
|
+
|
|
7
|
+
# Function: withRoleGuard()
|
|
8
|
+
|
|
9
|
+
> **withRoleGuard**\<`T`, `R`\>(`config`, `handler`): (...`args`) => `Promise`\<`R`\>
|
|
10
|
+
|
|
11
|
+
Defined in: [rbac/adapters.tsx:180](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/adapters.tsx#L180)
|
|
12
|
+
|
|
13
|
+
Role Guard for Server Handlers
|
|
14
|
+
|
|
15
|
+
Wraps a server handler with role-based access control.
|
|
16
|
+
This is the primary middleware for routing protection as specified in the contract.
|
|
17
|
+
|
|
18
|
+
## Type Parameters
|
|
19
|
+
|
|
20
|
+
### T
|
|
21
|
+
|
|
22
|
+
`T` *extends* readonly \[`ServerRequest`, `unknown`\]
|
|
23
|
+
|
|
24
|
+
### R
|
|
25
|
+
|
|
26
|
+
`R`
|
|
27
|
+
|
|
28
|
+
## Parameters
|
|
29
|
+
|
|
30
|
+
### config
|
|
31
|
+
|
|
32
|
+
Role guard configuration
|
|
33
|
+
|
|
34
|
+
#### globalRoles?
|
|
35
|
+
|
|
36
|
+
`string`[]
|
|
37
|
+
|
|
38
|
+
#### organisationRoles?
|
|
39
|
+
|
|
40
|
+
`string`[]
|
|
41
|
+
|
|
42
|
+
#### eventAppRoles?
|
|
43
|
+
|
|
44
|
+
`string`[]
|
|
45
|
+
|
|
46
|
+
#### requireAll?
|
|
47
|
+
|
|
48
|
+
`boolean`
|
|
49
|
+
|
|
50
|
+
### handler
|
|
51
|
+
|
|
52
|
+
(...`args`) => `Promise`\<`R`\>
|
|
53
|
+
|
|
54
|
+
Handler function to wrap
|
|
55
|
+
|
|
56
|
+
## Returns
|
|
57
|
+
|
|
58
|
+
Wrapped handler function
|
|
59
|
+
|
|
60
|
+
> (...`args`): `Promise`\<`R`\>
|
|
61
|
+
|
|
62
|
+
### Parameters
|
|
63
|
+
|
|
64
|
+
#### args
|
|
65
|
+
|
|
66
|
+
...`T`
|
|
67
|
+
|
|
68
|
+
### Returns
|
|
69
|
+
|
|
70
|
+
`Promise`\<`R`\>
|
|
71
|
+
|
|
72
|
+
## Example
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
const adminHandler = withRoleGuard(
|
|
76
|
+
{
|
|
77
|
+
globalRoles: ['super_admin'],
|
|
78
|
+
organisationRoles: ['org_admin', 'leader'],
|
|
79
|
+
eventAppRoles: ['event_admin', 'planner']
|
|
80
|
+
},
|
|
81
|
+
async (req, res) => {
|
|
82
|
+
// Admin-only logic here
|
|
83
|
+
res.json({ success: true });
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
```
|
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
[**@jmruthers/pace-core v0.6.12**](README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# @jmruthers/pace-core v0.6.12
|
|
6
|
+
|
|
7
|
+
## File
|
|
8
|
+
|
|
9
|
+
Complete Component Library Export
|
|
10
|
+
|
|
11
|
+
## Package
|
|
12
|
+
|
|
13
|
+
@jmruthers/pace-core
|
|
14
|
+
|
|
15
|
+
## Since
|
|
16
|
+
|
|
17
|
+
0.1.0
|
|
18
|
+
|
|
19
|
+
This file exports the primary components, hooks, and utilities from the PACE Core library.
|
|
20
|
+
It is the main entry point for developers using the library.
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
// Import common components
|
|
26
|
+
import { Button, Card, useUnifiedAuth } from '@jmruthers/pace-core';
|
|
27
|
+
|
|
28
|
+
// For specialized components, use the complete library import:
|
|
29
|
+
import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Namespaces
|
|
33
|
+
|
|
34
|
+
- [DialogPortal](@jmruthers/namespaces/DialogPortal/README.md)
|
|
35
|
+
|
|
36
|
+
## Enumerations
|
|
37
|
+
|
|
38
|
+
- [RPCFunction](enumerations/RPCFunction.md)
|
|
39
|
+
- [RBACErrorCode](enumerations/RBACErrorCode.md)
|
|
40
|
+
- [FileCategory](enumerations/FileCategory.md)
|
|
41
|
+
- [LogLevel](enumerations/LogLevel.md)
|
|
42
|
+
|
|
43
|
+
## Classes
|
|
44
|
+
|
|
45
|
+
- [ColumnFactory](classes/ColumnFactory.md)
|
|
46
|
+
- [RBACAuditManager](classes/RBACAuditManager.md)
|
|
47
|
+
- [RBACCache](classes/RBACCache.md)
|
|
48
|
+
- [RBACEngine](classes/RBACEngine.md)
|
|
49
|
+
- [SecureSupabaseClient](classes/SecureSupabaseClient.md)
|
|
50
|
+
- [Logger](classes/Logger.md)
|
|
51
|
+
- [StorageUtils](classes/StorageUtils.md)
|
|
52
|
+
|
|
53
|
+
## Interfaces
|
|
54
|
+
|
|
55
|
+
- [AddressFieldProps](interfaces/AddressFieldProps.md)
|
|
56
|
+
- [AddressFieldRef](interfaces/AddressFieldRef.md)
|
|
57
|
+
- [AppSwitcherProps](interfaces/AppSwitcherProps.md)
|
|
58
|
+
- [AvatarProps](interfaces/AvatarProps.md)
|
|
59
|
+
- [BadgeProps](interfaces/BadgeProps.md)
|
|
60
|
+
- [ButtonProps](interfaces/ButtonProps.md)
|
|
61
|
+
- [CalendarProps](interfaces/CalendarProps.md)
|
|
62
|
+
- [CardProps](interfaces/CardProps.md)
|
|
63
|
+
- [ContextSelectorProps](interfaces/ContextSelectorProps.md)
|
|
64
|
+
- [DataTableProps](interfaces/DataTableProps.md)
|
|
65
|
+
- [DataTableAction](interfaces/DataTableAction.md)
|
|
66
|
+
- [DataTableToolbarButton](interfaces/DataTableToolbarButton.md)
|
|
67
|
+
- [DataRecord](interfaces/DataRecord.md)
|
|
68
|
+
- [AggregateConfig](interfaces/AggregateConfig.md)
|
|
69
|
+
- [DataTableColumn](interfaces/DataTableColumn.md)
|
|
70
|
+
- [ExportOptions](interfaces/ExportOptions.md)
|
|
71
|
+
- [EmptyStateConfig](interfaces/EmptyStateConfig.md)
|
|
72
|
+
- [ImportSummary](interfaces/ImportSummary.md)
|
|
73
|
+
- [ExportColumn](interfaces/ExportColumn.md)
|
|
74
|
+
- [DatePickerWithTimezoneProps](interfaces/DatePickerWithTimezoneProps.md)
|
|
75
|
+
- [DialogProps](interfaces/DialogProps.md)
|
|
76
|
+
- [DialogTriggerProps](interfaces/DialogTriggerProps.md)
|
|
77
|
+
- [DialogContentProps](interfaces/DialogContentProps.md)
|
|
78
|
+
- [DialogPortalProps](interfaces/DialogPortalProps.md)
|
|
79
|
+
- [DialogHeaderProps](interfaces/DialogHeaderProps.md)
|
|
80
|
+
- [DialogFooterProps](interfaces/DialogFooterProps.md)
|
|
81
|
+
- [DialogBodyProps](interfaces/DialogBodyProps.md)
|
|
82
|
+
- [DialogCloseProps](interfaces/DialogCloseProps.md)
|
|
83
|
+
- [ErrorBoundaryState](interfaces/ErrorBoundaryState.md)
|
|
84
|
+
- [ErrorBoundaryProps](interfaces/ErrorBoundaryProps.md)
|
|
85
|
+
- [ErrorBoundaryProviderProps](interfaces/ErrorBoundaryProviderProps.md)
|
|
86
|
+
- [FileDisplayProps](interfaces/FileDisplayProps.md)
|
|
87
|
+
- [UsePublicFileDisplayReturn](interfaces/UsePublicFileDisplayReturn.md)
|
|
88
|
+
- [UsePublicFileDisplayOptions](interfaces/UsePublicFileDisplayOptions.md)
|
|
89
|
+
- [FooterProps](interfaces/FooterProps.md)
|
|
90
|
+
- [FormProps](interfaces/FormProps.md)
|
|
91
|
+
- [FormFieldProps](interfaces/FormFieldProps.md)
|
|
92
|
+
- [InactivityWarningModalProps](interfaces/InactivityWarningModalProps.md)
|
|
93
|
+
- [InputProps](interfaces/InputProps.md)
|
|
94
|
+
- [LabelProps](interfaces/LabelProps.md)
|
|
95
|
+
- [LoginFormProps](interfaces/LoginFormProps.md)
|
|
96
|
+
- [NavigationItem](interfaces/NavigationItem.md)
|
|
97
|
+
- [NavigationMenuProps](interfaces/NavigationMenuProps.md)
|
|
98
|
+
- [PaceAppLayoutRouteConfigItem](interfaces/PaceAppLayoutRouteConfigItem.md)
|
|
99
|
+
- [PaceAppLayoutPermissionConfig](interfaces/PaceAppLayoutPermissionConfig.md)
|
|
100
|
+
- [PaceAppLayoutRoutingConfig](interfaces/PaceAppLayoutRoutingConfig.md)
|
|
101
|
+
- [PaceLoginPageProps](interfaces/PaceLoginPageProps.md)
|
|
102
|
+
- [ProgressProps](interfaces/ProgressProps.md)
|
|
103
|
+
- [ProtectedRouteProps](interfaces/ProtectedRouteProps.md)
|
|
104
|
+
- [PublicPageLayoutProps](interfaces/PublicPageLayoutProps.md)
|
|
105
|
+
- [PublicPageHeaderProps](interfaces/PublicPageHeaderProps.md)
|
|
106
|
+
- [PublicPageFooterProps](interfaces/PublicPageFooterProps.md)
|
|
107
|
+
- [SessionRestorationLoaderProps](interfaces/SessionRestorationLoaderProps.md)
|
|
108
|
+
- [SwitchProps](interfaces/SwitchProps.md)
|
|
109
|
+
- [TabsProps](interfaces/TabsProps.md)
|
|
110
|
+
- [TabsListProps](interfaces/TabsListProps.md)
|
|
111
|
+
- [TabsTriggerProps](interfaces/TabsTriggerProps.md)
|
|
112
|
+
- [TabsContentProps](interfaces/TabsContentProps.md)
|
|
113
|
+
- [TextareaProps](interfaces/TextareaProps.md)
|
|
114
|
+
- [ToastProps](interfaces/ToastProps.md)
|
|
115
|
+
- [ToastActionElement](interfaces/ToastActionElement.md)
|
|
116
|
+
- [UserMenuProps](interfaces/UserMenuProps.md)
|
|
117
|
+
- [UsePublicEventReturn](interfaces/UsePublicEventReturn.md)
|
|
118
|
+
- [UsePublicEventOptions](interfaces/UsePublicEventOptions.md)
|
|
119
|
+
- [UsePublicEventLogoReturn](interfaces/UsePublicEventLogoReturn.md)
|
|
120
|
+
- [UsePublicEventLogoOptions](interfaces/UsePublicEventLogoOptions.md)
|
|
121
|
+
- [UsePublicRouteParamsReturn](interfaces/UsePublicRouteParamsReturn.md)
|
|
122
|
+
- [AccessibleApp](interfaces/AccessibleApp.md)
|
|
123
|
+
- [UseAccessibleAppsReturn](interfaces/UseAccessibleAppsReturn.md)
|
|
124
|
+
- [UseFormDialogOptions](interfaces/UseFormDialogOptions.md)
|
|
125
|
+
- [UseFormDialogReturn](interfaces/UseFormDialogReturn.md)
|
|
126
|
+
- [UseInactivityTrackerOptions](interfaces/UseInactivityTrackerOptions.md)
|
|
127
|
+
- [UseInactivityTrackerReturn](interfaces/UseInactivityTrackerReturn.md)
|
|
128
|
+
- [UserEventAccess](interfaces/UserEventAccess.md)
|
|
129
|
+
- [UnifiedAuthProviderProps](interfaces/UnifiedAuthProviderProps.md)
|
|
130
|
+
- [AccessDeniedProps](interfaces/AccessDeniedProps.md)
|
|
131
|
+
- [NavigationGuardProps](interfaces/NavigationGuardProps.md)
|
|
132
|
+
- [PagePermissionGuardProps](interfaces/PagePermissionGuardProps.md)
|
|
133
|
+
- [RBACLogger](interfaces/RBACLogger.md)
|
|
134
|
+
- [UseResolvedScopeOptions](interfaces/UseResolvedScopeOptions.md)
|
|
135
|
+
- [UseResolvedScopeReturn](interfaces/UseResolvedScopeReturn.md)
|
|
136
|
+
- [UseResourcePermissionsOptions](interfaces/UseResourcePermissionsOptions.md)
|
|
137
|
+
- [ResourcePermissions](interfaces/ResourcePermissions.md)
|
|
138
|
+
- [RBACPerformanceMetrics](interfaces/RBACPerformanceMetrics.md)
|
|
139
|
+
- [RBACError](interfaces/RBACError.md)
|
|
140
|
+
- [PermissionDeniedError](interfaces/PermissionDeniedError.md)
|
|
141
|
+
- [OrganisationContextRequiredError](interfaces/OrganisationContextRequiredError.md)
|
|
142
|
+
- [RBACNotInitializedError](interfaces/RBACNotInitializedError.md)
|
|
143
|
+
- [InvalidScopeError](interfaces/InvalidScopeError.md)
|
|
144
|
+
- [MissingUserContextError](interfaces/MissingUserContextError.md)
|
|
145
|
+
- [RBACPermissionCheckParams](interfaces/RBACPermissionCheckParams.md)
|
|
146
|
+
- [RBACPermissionCheckResult](interfaces/RBACPermissionCheckResult.md)
|
|
147
|
+
- [RBACPermissionsGetParams](interfaces/RBACPermissionsGetParams.md)
|
|
148
|
+
- [RBACPermissionsGetResult](interfaces/RBACPermissionsGetResult.md)
|
|
149
|
+
- [RBACAccessValidateParams](interfaces/RBACAccessValidateParams.md)
|
|
150
|
+
- [RBACAccessValidateResult](interfaces/RBACAccessValidateResult.md)
|
|
151
|
+
- [RBACPageAccessCheckParams](interfaces/RBACPageAccessCheckParams.md)
|
|
152
|
+
- [RBACRoleGrantParams](interfaces/RBACRoleGrantParams.md)
|
|
153
|
+
- [RBACRoleGrantResult](interfaces/RBACRoleGrantResult.md)
|
|
154
|
+
- [RBACRoleRevokeParams](interfaces/RBACRoleRevokeParams.md)
|
|
155
|
+
- [RBACRoleRevokeResult](interfaces/RBACRoleRevokeResult.md)
|
|
156
|
+
- [RBACRolesListParams](interfaces/RBACRolesListParams.md)
|
|
157
|
+
- [RBACRolesListResult](interfaces/RBACRolesListResult.md)
|
|
158
|
+
- [RBACRoleValidateParams](interfaces/RBACRoleValidateParams.md)
|
|
159
|
+
- [RBACRoleValidateResult](interfaces/RBACRoleValidateResult.md)
|
|
160
|
+
- [RBACSessionTrackParams](interfaces/RBACSessionTrackParams.md)
|
|
161
|
+
- [RBACSessionTrackResult](interfaces/RBACSessionTrackResult.md)
|
|
162
|
+
- [RBACAuditLogParams](interfaces/RBACAuditLogParams.md)
|
|
163
|
+
- [RBACAuditLogResult](interfaces/RBACAuditLogResult.md)
|
|
164
|
+
- [RBACContext](interfaces/RBACContext.md)
|
|
165
|
+
- [RBACResult](interfaces/RBACResult.md)
|
|
166
|
+
- [EventAppRoleData](interfaces/EventAppRoleData.md)
|
|
167
|
+
- [RevokeEventAppRoleParams](interfaces/RevokeEventAppRoleParams.md)
|
|
168
|
+
- [GrantEventAppRoleParams](interfaces/GrantEventAppRoleParams.md)
|
|
169
|
+
- [RoleManagementResult](interfaces/RoleManagementResult.md)
|
|
170
|
+
- [AuthSessionData](interfaces/AuthSessionData.md)
|
|
171
|
+
- [StyleImport](interfaces/StyleImport.md)
|
|
172
|
+
- [ColorShade](interfaces/ColorShade.md)
|
|
173
|
+
- [ColorPalette](interfaces/ColorPalette.md)
|
|
174
|
+
- [PaletteData](interfaces/PaletteData.md)
|
|
175
|
+
- [FileReference](interfaces/FileReference.md)
|
|
176
|
+
- [FileMetadata](interfaces/FileMetadata.md)
|
|
177
|
+
- [FileUploadOptions](interfaces/FileUploadOptions.md)
|
|
178
|
+
- [Organisation](interfaces/Organisation.md)
|
|
179
|
+
- [OrganisationMembership](interfaces/OrganisationMembership.md)
|
|
180
|
+
- [UserProfile](interfaces/UserProfile.md)
|
|
181
|
+
- [OrganisationSecurityError](interfaces/OrganisationSecurityError.md)
|
|
182
|
+
- [BuildAppUrlOptions](interfaces/BuildAppUrlOptions.md)
|
|
183
|
+
- [LoggerConfig](interfaces/LoggerConfig.md)
|
|
184
|
+
- [ParsedAddress](interfaces/ParsedAddress.md)
|
|
185
|
+
- [AutocompleteOptions](interfaces/AutocompleteOptions.md)
|
|
186
|
+
- [StorageUploadOptions](interfaces/StorageUploadOptions.md)
|
|
187
|
+
- [StorageFileMetadata](interfaces/StorageFileMetadata.md)
|
|
188
|
+
- [StorageUploadResult](interfaces/StorageUploadResult.md)
|
|
189
|
+
- [StorageUploadSuccess](interfaces/StorageUploadSuccess.md)
|
|
190
|
+
- [StorageUrlOptions](interfaces/StorageUrlOptions.md)
|
|
191
|
+
- [StorageListOptions](interfaces/StorageListOptions.md)
|
|
192
|
+
- [StorageFileInfo](interfaces/StorageFileInfo.md)
|
|
193
|
+
- [StorageListResult](interfaces/StorageListResult.md)
|
|
194
|
+
- [FileSizeLimits](interfaces/FileSizeLimits.md)
|
|
195
|
+
- [StorageConfig](interfaces/StorageConfig.md)
|
|
196
|
+
|
|
197
|
+
## Type Aliases
|
|
198
|
+
|
|
199
|
+
- [BadgeVariant](type-aliases/BadgeVariant.md)
|
|
200
|
+
- [GetRowId](type-aliases/GetRowId.md)
|
|
201
|
+
- [DataTableFeatureConfig](type-aliases/DataTableFeatureConfig.md)
|
|
202
|
+
- [ImportHandlerResult](type-aliases/ImportHandlerResult.md)
|
|
203
|
+
- [DialogSize](type-aliases/DialogSize.md)
|
|
204
|
+
- [GlobalErrorHandler](type-aliases/GlobalErrorHandler.md)
|
|
205
|
+
- [FileUploadProps](type-aliases/FileUploadProps.md)
|
|
206
|
+
- [NavigationMode](type-aliases/NavigationMode.md)
|
|
207
|
+
- [PaceAppLayoutProps](type-aliases/PaceAppLayoutProps.md)
|
|
208
|
+
- [UseFileReferenceOptions](type-aliases/UseFileReferenceOptions.md)
|
|
209
|
+
- [UseFileReferenceReturn](type-aliases/UseFileReferenceReturn.md)
|
|
210
|
+
- [UseFileReferenceForRecordReturn](type-aliases/UseFileReferenceForRecordReturn.md)
|
|
211
|
+
- [UnifiedAuthContextType](type-aliases/UnifiedAuthContextType.md)
|
|
212
|
+
- [RBACConfig](type-aliases/RBACConfig.md)
|
|
213
|
+
- [AllPermissions](type-aliases/AllPermissions.md)
|
|
214
|
+
- [UUID](type-aliases/UUID.md)
|
|
215
|
+
- [Operation](type-aliases/Operation.md)
|
|
216
|
+
- [Permission](type-aliases/Permission.md)
|
|
217
|
+
- [AccessLevel](type-aliases/AccessLevel.md)
|
|
218
|
+
- [Scope](type-aliases/Scope.md)
|
|
219
|
+
- [PermissionCheck](type-aliases/PermissionCheck.md)
|
|
220
|
+
- [PermissionMap](type-aliases/PermissionMap.md)
|
|
221
|
+
- [GlobalRole](type-aliases/GlobalRole.md)
|
|
222
|
+
- [OrganisationRole](type-aliases/OrganisationRole.md)
|
|
223
|
+
- [EventAppRole](type-aliases/EventAppRole.md)
|
|
224
|
+
- [PermissionSource](type-aliases/PermissionSource.md)
|
|
225
|
+
- [AccessLevelContext](type-aliases/AccessLevelContext.md)
|
|
226
|
+
- [SessionType](type-aliases/SessionType.md)
|
|
227
|
+
- [AuditEventType](type-aliases/AuditEventType.md)
|
|
228
|
+
- [RBACFunctionResponse](type-aliases/RBACFunctionResponse.md)
|
|
229
|
+
- [ApiError](type-aliases/ApiError.md)
|
|
230
|
+
- [ApiResult](type-aliases/ApiResult.md)
|
|
231
|
+
- [OrganisationContextType](type-aliases/OrganisationContextType.md)
|
|
232
|
+
|
|
233
|
+
## Variables
|
|
234
|
+
|
|
235
|
+
- [AddressField](variables/AddressField.md)
|
|
236
|
+
- [Alert](variables/Alert.md)
|
|
237
|
+
- [AlertTitle](variables/AlertTitle.md)
|
|
238
|
+
- [AlertDescription](variables/AlertDescription.md)
|
|
239
|
+
- [Avatar](variables/Avatar.md)
|
|
240
|
+
- [Button](variables/Button.md)
|
|
241
|
+
- [Calendar](variables/Calendar.md)
|
|
242
|
+
- [Card](variables/Card.md)
|
|
243
|
+
- [CardHeader](variables/CardHeader.md)
|
|
244
|
+
- [CardTitle](variables/CardTitle.md)
|
|
245
|
+
- [CardDescription](variables/CardDescription.md)
|
|
246
|
+
- [CardContent](variables/CardContent.md)
|
|
247
|
+
- [CardFooter](variables/CardFooter.md)
|
|
248
|
+
- [CardActions](variables/CardActions.md)
|
|
249
|
+
- [Checkbox](variables/Checkbox.md)
|
|
250
|
+
- [Dialog](variables/Dialog.md)
|
|
251
|
+
- [DialogTrigger](variables/DialogTrigger.md)
|
|
252
|
+
- [DialogPortal](variables/DialogPortal.md)
|
|
253
|
+
- [DialogContent](variables/DialogContent.md)
|
|
254
|
+
- [DialogClose](variables/DialogClose.md)
|
|
255
|
+
- [DialogTitle](variables/DialogTitle.md)
|
|
256
|
+
- [DialogDescription](variables/DialogDescription.md)
|
|
257
|
+
- [ErrorBoundary](variables/ErrorBoundary.md)
|
|
258
|
+
- [Footer](variables/Footer.md)
|
|
259
|
+
- [Label](variables/Label.md)
|
|
260
|
+
- [LoadingSpinner](variables/LoadingSpinner.md)
|
|
261
|
+
- [LoginForm](variables/LoginForm.md)
|
|
262
|
+
- [NavigationMenu](variables/NavigationMenu.md)
|
|
263
|
+
- [PaceLoginPage](variables/PaceLoginPage.md)
|
|
264
|
+
- [Progress](variables/Progress.md)
|
|
265
|
+
- [Select](variables/Select.md)
|
|
266
|
+
- [SelectTrigger](variables/SelectTrigger.md)
|
|
267
|
+
- [SelectValue](variables/SelectValue.md)
|
|
268
|
+
- [SelectContent](variables/SelectContent.md)
|
|
269
|
+
- [SelectItem](variables/SelectItem.md)
|
|
270
|
+
- [SelectGroup](variables/SelectGroup.md)
|
|
271
|
+
- [SelectLabel](variables/SelectLabel.md)
|
|
272
|
+
- [SelectSeparator](variables/SelectSeparator.md)
|
|
273
|
+
- [SessionRestorationLoader](variables/SessionRestorationLoader.md)
|
|
274
|
+
- [Switch](variables/Switch.md)
|
|
275
|
+
- [Table](variables/Table.md)
|
|
276
|
+
- [TableHeader](variables/TableHeader.md)
|
|
277
|
+
- [TableBody](variables/TableBody.md)
|
|
278
|
+
- [TableFooter](variables/TableFooter.md)
|
|
279
|
+
- [TableRow](variables/TableRow.md)
|
|
280
|
+
- [TableHead](variables/TableHead.md)
|
|
281
|
+
- [TableCell](variables/TableCell.md)
|
|
282
|
+
- [TableCaption](variables/TableCaption.md)
|
|
283
|
+
- [Tabs](variables/Tabs.md)
|
|
284
|
+
- [TabsList](variables/TabsList.md)
|
|
285
|
+
- [TabsTrigger](variables/TabsTrigger.md)
|
|
286
|
+
- [TabsContent](variables/TabsContent.md)
|
|
287
|
+
- [ToastProvider](variables/ToastProvider.md)
|
|
288
|
+
- [ToastViewport](variables/ToastViewport.md)
|
|
289
|
+
- [Toast](variables/Toast.md)
|
|
290
|
+
- [ToastAction](variables/ToastAction.md)
|
|
291
|
+
- [ToastClose](variables/ToastClose.md)
|
|
292
|
+
- [ToastTitle](variables/ToastTitle.md)
|
|
293
|
+
- [ToastDescription](variables/ToastDescription.md)
|
|
294
|
+
- [TooltipProvider](variables/TooltipProvider.md)
|
|
295
|
+
- [TooltipRoot](variables/TooltipRoot.md)
|
|
296
|
+
- [TooltipTrigger](variables/TooltipTrigger.md)
|
|
297
|
+
- [TooltipContent](variables/TooltipContent.md)
|
|
298
|
+
- [Tooltip](variables/Tooltip.md)
|
|
299
|
+
- [UserMenu](variables/UserMenu.md)
|
|
300
|
+
- [rbacCache](variables/rbacCache.md)
|
|
301
|
+
- [CACHE\_PATTERNS](variables/CACHE_PATTERNS.md)
|
|
302
|
+
- [PagePermissionGuard](variables/PagePermissionGuard.md)
|
|
303
|
+
- [GLOBAL\_PERMISSIONS](variables/GLOBAL_PERMISSIONS.md)
|
|
304
|
+
- [ORGANISATION\_PERMISSIONS](variables/ORGANISATION_PERMISSIONS.md)
|
|
305
|
+
- [EVENT\_APP\_PERMISSIONS](variables/EVENT_APP_PERMISSIONS.md)
|
|
306
|
+
- [PAGE\_PERMISSIONS](variables/PAGE_PERMISSIONS.md)
|
|
307
|
+
- [ALL\_PERMISSIONS](variables/ALL_PERMISSIONS.md)
|
|
308
|
+
- [SECURE\_CLIENT\_SYMBOL](variables/SECURE_CLIENT_SYMBOL.md)
|
|
309
|
+
- [styleConfig](variables/styleConfig.md)
|
|
310
|
+
- [DEFAULT\_APP\_PORT\_MAP](variables/DEFAULT_APP_PORT_MAP.md)
|
|
311
|
+
- [logger](variables/logger.md)
|
|
312
|
+
- [FILE\_SIZE\_LIMITS](variables/FILE_SIZE_LIMITS.md)
|
|
313
|
+
- [DEFAULT\_FILE\_SIZE\_LIMIT](variables/DEFAULT_FILE_SIZE_LIMIT.md)
|
|
314
|
+
- [APP\_PATH\_MAPPING](variables/APP_PATH_MAPPING.md)
|
|
315
|
+
- [STORAGE\_CONFIG](variables/STORAGE_CONFIG.md)
|
|
316
|
+
- [emailSchema](variables/emailSchema.md)
|
|
317
|
+
- [nameSchema](variables/nameSchema.md)
|
|
318
|
+
- [phoneSchema](variables/phoneSchema.md)
|
|
319
|
+
- [urlSchema](variables/urlSchema.md)
|
|
320
|
+
- [passwordSchema](variables/passwordSchema.md)
|
|
321
|
+
|
|
322
|
+
## Functions
|
|
323
|
+
|
|
324
|
+
- [AppSwitcher](functions/AppSwitcher.md)
|
|
325
|
+
- [Badge](functions/Badge.md)
|
|
326
|
+
- [ContextSelector](functions/ContextSelector.md)
|
|
327
|
+
- [DataTable](functions/DataTable.md)
|
|
328
|
+
- [sum](functions/sum.md)
|
|
329
|
+
- [average](functions/average.md)
|
|
330
|
+
- [count](functions/count.md)
|
|
331
|
+
- [min](functions/min.md)
|
|
332
|
+
- [max](functions/max.md)
|
|
333
|
+
- [generateCSVContent](functions/generateCSVContent.md)
|
|
334
|
+
- [exportToCSVWithTableRows](functions/exportToCSVWithTableRows.md)
|
|
335
|
+
- [exportToCSV](functions/exportToCSV.md)
|
|
336
|
+
- [DatePickerWithTimezone](functions/DatePickerWithTimezone.md)
|
|
337
|
+
- [DialogHeader](functions/DialogHeader.md)
|
|
338
|
+
- [DialogBody](functions/DialogBody.md)
|
|
339
|
+
- [DialogFooter](functions/DialogFooter.md)
|
|
340
|
+
- [ErrorBoundaryProvider](functions/ErrorBoundaryProvider.md)
|
|
341
|
+
- [FileDisplay](functions/FileDisplay.md)
|
|
342
|
+
- [usePublicFileDisplay](functions/usePublicFileDisplay.md)
|
|
343
|
+
- [clearPublicFileDisplayCache](functions/clearPublicFileDisplayCache.md)
|
|
344
|
+
- [getPublicFileDisplayCacheStats](functions/getPublicFileDisplayCacheStats.md)
|
|
345
|
+
- [FileUpload](functions/FileUpload.md)
|
|
346
|
+
- [Form](functions/Form.md)
|
|
347
|
+
- [FormField](functions/FormField.md)
|
|
348
|
+
- [Header](functions/Header.md)
|
|
349
|
+
- [InactivityWarningModal](functions/InactivityWarningModal.md)
|
|
350
|
+
- [Input](functions/Input.md)
|
|
351
|
+
- [PaceAppLayout](functions/PaceAppLayout.md)
|
|
352
|
+
- [PasswordChangeForm](functions/PasswordChangeForm.md)
|
|
353
|
+
- [ProtectedRoute](functions/ProtectedRoute.md)
|
|
354
|
+
- [PublicPageHeader](functions/PublicPageHeader.md)
|
|
355
|
+
- [PublicPageFooter](functions/PublicPageFooter.md)
|
|
356
|
+
- [PublicPageLayout](functions/PublicPageLayout.md)
|
|
357
|
+
- [PublicPageProvider](functions/PublicPageProvider.md)
|
|
358
|
+
- [usePublicPageContext](functions/usePublicPageContext.md)
|
|
359
|
+
- [useIsPublicPage](functions/useIsPublicPage.md)
|
|
360
|
+
- [Textarea](functions/Textarea.md)
|
|
361
|
+
- [Toaster](functions/Toaster.md)
|
|
362
|
+
- [usePublicEvent](functions/usePublicEvent.md)
|
|
363
|
+
- [clearPublicEventCache](functions/clearPublicEventCache.md)
|
|
364
|
+
- [getPublicEventCacheStats](functions/getPublicEventCacheStats.md)
|
|
365
|
+
- [usePublicEventLogo](functions/usePublicEventLogo.md)
|
|
366
|
+
- [clearPublicLogoCache](functions/clearPublicLogoCache.md)
|
|
367
|
+
- [getPublicLogoCacheStats](functions/getPublicLogoCacheStats.md)
|
|
368
|
+
- [usePublicRouteParams](functions/usePublicRouteParams.md)
|
|
369
|
+
- [usePublicEventCode](functions/usePublicEventCode.md)
|
|
370
|
+
- [generatePublicRoutePath](functions/generatePublicRoutePath.md)
|
|
371
|
+
- [extractEventCodeFromPath](functions/extractEventCodeFromPath.md)
|
|
372
|
+
- [useAuthService](functions/useAuthService.md)
|
|
373
|
+
- [useEventService](functions/useEventService.md)
|
|
374
|
+
- [useInactivityService](functions/useInactivityService.md)
|
|
375
|
+
- [useOrganisationService](functions/useOrganisationService.md)
|
|
376
|
+
- [useAccessibleApps](functions/useAccessibleApps.md)
|
|
377
|
+
- [useAppConfig](functions/useAppConfig.md)
|
|
378
|
+
- [useEventTheme](functions/useEventTheme.md)
|
|
379
|
+
- [useOptionalEvents](functions/useOptionalEvents.md)
|
|
380
|
+
- [useEvents](functions/useEvents.md)
|
|
381
|
+
- [useFileReference](functions/useFileReference.md)
|
|
382
|
+
- [useFileReferenceForRecord](functions/useFileReferenceForRecord.md)
|
|
383
|
+
- [useFileReferenceById](functions/useFileReferenceById.md)
|
|
384
|
+
- [useFilesByCategory](functions/useFilesByCategory.md)
|
|
385
|
+
- [useFormDialog](functions/useFormDialog.md)
|
|
386
|
+
- [useInactivityTracker](functions/useInactivityTracker.md)
|
|
387
|
+
- [useOrganisationPermissions](functions/useOrganisationPermissions.md)
|
|
388
|
+
- [useOrganisationSecurity](functions/useOrganisationSecurity.md)
|
|
389
|
+
- [useOrganisations](functions/useOrganisations.md)
|
|
390
|
+
- [useSessionRestoration](functions/useSessionRestoration.md)
|
|
391
|
+
- [useToast](functions/useToast.md)
|
|
392
|
+
- [useZodForm](functions/useZodForm.md)
|
|
393
|
+
- [EventServiceProvider](functions/EventServiceProvider.md)
|
|
394
|
+
- [InactivityServiceProvider](functions/InactivityServiceProvider.md)
|
|
395
|
+
- [OrganisationServiceProvider](functions/OrganisationServiceProvider.md)
|
|
396
|
+
- [UnifiedAuthProvider](functions/UnifiedAuthProvider.md)
|
|
397
|
+
- [useUnifiedAuth](functions/useUnifiedAuth.md)
|
|
398
|
+
- [withPermissionGuard](functions/withPermissionGuard.md)
|
|
399
|
+
- [withAccessLevelGuard](functions/withAccessLevelGuard.md)
|
|
400
|
+
- [withRoleGuard](functions/withRoleGuard.md)
|
|
401
|
+
- [createRBACMiddleware](functions/createRBACMiddleware.md)
|
|
402
|
+
- [createRBACExpressMiddleware](functions/createRBACExpressMiddleware.md)
|
|
403
|
+
- [setupRBAC](functions/setupRBAC.md)
|
|
404
|
+
- [isRBACInitialized](functions/isRBACInitialized.md)
|
|
405
|
+
- [getAccessLevel](functions/getAccessLevel.md)
|
|
406
|
+
- [getPermissionMap](functions/getPermissionMap.md)
|
|
407
|
+
- [resolveAppContext](functions/resolveAppContext.md)
|
|
408
|
+
- [getRoleContext](functions/getRoleContext.md)
|
|
409
|
+
- [isPermitted](functions/isPermitted.md)
|
|
410
|
+
- [isPermittedCached](functions/isPermittedCached.md)
|
|
411
|
+
- [hasAnyPermission](functions/hasAnyPermission.md)
|
|
412
|
+
- [hasAllPermissions](functions/hasAllPermissions.md)
|
|
413
|
+
- [createAuditManager](functions/createAuditManager.md)
|
|
414
|
+
- [setGlobalAuditManager](functions/setGlobalAuditManager.md)
|
|
415
|
+
- [getGlobalAuditManager](functions/getGlobalAuditManager.md)
|
|
416
|
+
- [emitAuditEvent](functions/emitAuditEvent.md)
|
|
417
|
+
- [AccessDenied](functions/AccessDenied.md)
|
|
418
|
+
- [NavigationGuard](functions/NavigationGuard.md)
|
|
419
|
+
- [createRBACConfig](functions/createRBACConfig.md)
|
|
420
|
+
- [getRBACConfig](functions/getRBACConfig.md)
|
|
421
|
+
- [getRBACLogger](functions/getRBACLogger.md)
|
|
422
|
+
- [isDebugMode](functions/isDebugMode.md)
|
|
423
|
+
- [isDevelopmentMode](functions/isDevelopmentMode.md)
|
|
424
|
+
- [createRBACEngine](functions/createRBACEngine.md)
|
|
425
|
+
- [useAccessLevel](functions/useAccessLevel.md)
|
|
426
|
+
- [useCan](functions/useCan.md)
|
|
427
|
+
- [useMultiplePermissions](functions/useMultiplePermissions.md)
|
|
428
|
+
- [usePermissions](functions/usePermissions.md)
|
|
429
|
+
- [useRBAC](functions/useRBAC.md)
|
|
430
|
+
- [useResolvedScope](functions/useResolvedScope.md)
|
|
431
|
+
- [useResourcePermissions](functions/useResourcePermissions.md)
|
|
432
|
+
- [useRoleManagement](functions/useRoleManagement.md)
|
|
433
|
+
- [useSecureSupabase](functions/useSecureSupabase.md)
|
|
434
|
+
- [enablePerformanceMonitoring](functions/enablePerformanceMonitoring.md)
|
|
435
|
+
- [disablePerformanceMonitoring](functions/disablePerformanceMonitoring.md)
|
|
436
|
+
- [isPerformanceMonitoringEnabled](functions/isPerformanceMonitoringEnabled.md)
|
|
437
|
+
- [recordPermissionCheck](functions/recordPermissionCheck.md)
|
|
438
|
+
- [recordAuditEvent](functions/recordAuditEvent.md)
|
|
439
|
+
- [getPerformanceMetrics](functions/getPerformanceMetrics.md)
|
|
440
|
+
- [resetPerformanceMetrics](functions/resetPerformanceMetrics.md)
|
|
441
|
+
- [getPerformanceSummary](functions/getPerformanceSummary.md)
|
|
442
|
+
- [isValidPermission](functions/isValidPermission.md)
|
|
443
|
+
- [clearInFlightRequests](functions/clearInFlightRequests.md)
|
|
444
|
+
- [getInFlightRequestCount](functions/getInFlightRequestCount.md)
|
|
445
|
+
- [createSecureClient](functions/createSecureClient.md)
|
|
446
|
+
- [fromSupabaseClient](functions/fromSupabaseClient.md)
|
|
447
|
+
- [isSecureClient](functions/isSecureClient.md)
|
|
448
|
+
- [warnIfInsecureClient](functions/warnIfInsecureClient.md)
|
|
449
|
+
- [getStylePath](functions/getStylePath.md)
|
|
450
|
+
- [getAllStylePaths](functions/getAllStylePaths.md)
|
|
451
|
+
- [parseAndNormalizeEventColours](functions/parseAndNormalizeEventColours.md)
|
|
452
|
+
- [applyPalette](functions/applyPalette.md)
|
|
453
|
+
- [clearPalette](functions/clearPalette.md)
|
|
454
|
+
- [ok](functions/ok.md)
|
|
455
|
+
- [err](functions/err.md)
|
|
456
|
+
- [isOk](functions/isOk.md)
|
|
457
|
+
- [isErr](functions/isErr.md)
|
|
458
|
+
- [setAppConfig](functions/setAppConfig.md)
|
|
459
|
+
- [getAppConfig](functions/getAppConfig.md)
|
|
460
|
+
- [getCurrentAppName](functions/getCurrentAppName.md)
|
|
461
|
+
- [getCurrentAppId](functions/getCurrentAppId.md)
|
|
462
|
+
- [getAppPort](functions/getAppPort.md)
|
|
463
|
+
- [getAllAppPorts](functions/getAllAppPorts.md)
|
|
464
|
+
- [buildAppUrl](functions/buildAppUrl.md)
|
|
465
|
+
- [useSessionTracking](functions/useSessionTracking.md)
|
|
466
|
+
- [cn](functions/cn.md)
|
|
467
|
+
- [createLogger](functions/createLogger.md)
|
|
468
|
+
- [formatDate](functions/formatDate.md)
|
|
469
|
+
- [formatTime](functions/formatTime.md)
|
|
470
|
+
- [formatDateTime](functions/formatDateTime.md)
|
|
471
|
+
- [formatCurrency](functions/formatCurrency.md)
|
|
472
|
+
- [formatNumber](functions/formatNumber.md)
|
|
473
|
+
- [formatPercent](functions/formatPercent.md)
|
|
474
|
+
- [formatCompactNumber](functions/formatCompactNumber.md)
|
|
475
|
+
- [formatFileSize](functions/formatFileSize.md)
|
|
476
|
+
- [createSecureDataAccess](functions/createSecureDataAccess.md)
|
|
477
|
+
- [getFileSizeLimit](functions/getFileSizeLimit.md)
|
|
478
|
+
- [getBucketName](functions/getBucketName.md)
|
|
479
|
+
- [validateFileSize](functions/validateFileSize.md)
|
|
480
|
+
- [generateFilePath](functions/generateFilePath.md)
|
|
481
|
+
- [generateUniqueFileName](functions/generateUniqueFileName.md)
|
|
482
|
+
- [extractFileMetadata](functions/extractFileMetadata.md)
|
|
483
|
+
- [uploadFile](functions/uploadFile.md)
|
|
484
|
+
- [getPublicUrl](functions/getPublicUrl.md)
|
|
485
|
+
- [getSignedUrl](functions/getSignedUrl.md)
|
|
486
|
+
- [generateFileUrlsBatch](functions/generateFileUrlsBatch.md)
|
|
487
|
+
- [deleteFile](functions/deleteFile.md)
|
|
488
|
+
- [listFiles](functions/listFiles.md)
|
|
489
|
+
- [downloadFile](functions/downloadFile.md)
|
|
490
|
+
- [archiveFile](functions/archiveFile.md)
|
|
491
|
+
- [createBaseClient](functions/createBaseClient.md)
|
|
492
|
+
- [formatInTimeZone](functions/formatInTimeZone.md)
|
|
493
|
+
- [getTimezoneAbbreviation](functions/getTimezoneAbbreviation.md)
|
|
494
|
+
- [formatTimeInTimeZone](functions/formatTimeInTimeZone.md)
|
|
495
|
+
- [getUserTimeZone](functions/getUserTimeZone.md)
|
|
496
|
+
- [toZonedTime](functions/toZonedTime.md)
|
|
497
|
+
- [fromZonedTime](functions/fromZonedTime.md)
|
|
498
|
+
- [roundToNearestMinutes](functions/roundToNearestMinutes.md)
|
|
499
|
+
- [getTimeZoneDifference](functions/getTimeZoneDifference.md)
|
|
500
|
+
- [sanitizeHtml](functions/sanitizeHtml.md)
|
|
501
|
+
- [sanitizeUserInput](functions/sanitizeUserInput.md)
|
|
502
|
+
- [sanitizeFormData](functions/sanitizeFormData.md)
|