@jmruthers/pace-core 0.5.187 → 0.5.189
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-K3RJRSOX.js → DataTable-GUFUNZ3N.js} +5 -5
- package/dist/{PublicPageProvider-DrLDztHt.d.ts → PublicPageProvider-B8HaLe69.d.ts} +47 -17
- package/dist/{UnifiedAuthProvider-B76OWOAT.js → UnifiedAuthProvider-643PUAIM.js} +2 -2
- package/dist/{chunk-FMTK4XNN.js → chunk-2UUZZJFT.js} +3 -3
- package/dist/{chunk-3IC5WCMO.js → chunk-3GOZZZYH.js} +3 -3
- package/dist/{chunk-ULX5FYEM.js → chunk-DDM4CCYT.js} +3 -3
- package/dist/{chunk-K2JGDXGU.js → chunk-E7UAOUMY.js} +2 -2
- package/dist/{chunk-T6ZJVI3A.js → chunk-IM4QE42D.js} +4 -4
- package/dist/{chunk-3NFNJOO7.js → chunk-MX64ZF6I.js} +4 -4
- package/dist/{chunk-C4OYJOV4.js → chunk-UCQSRW7Z.js} +829 -829
- package/dist/chunk-UCQSRW7Z.js.map +1 -0
- package/dist/{chunk-WK2Y6TGA.js → chunk-VGZZXKBR.js} +3 -3
- package/dist/chunk-VGZZXKBR.js.map +1 -0
- package/dist/{chunk-LBBUPSSC.js → chunk-YGPFYGA6.js} +3760 -3692
- package/dist/chunk-YGPFYGA6.js.map +1 -0
- package/dist/components.d.ts +1 -2
- package/dist/components.js +6 -10
- package/dist/components.js.map +1 -1
- package/dist/hooks.js +5 -5
- package/dist/index.d.ts +1 -2
- package/dist/index.js +9 -13
- package/dist/index.js.map +1 -1
- package/dist/providers.js +1 -1
- package/dist/rbac/index.js +5 -5
- 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/Logger.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/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/enums/LogLevel.md +1 -1
- package/docs/api/enums/RBACErrorCode.md +1 -1
- package/docs/api/enums/RPCFunction.md +1 -1
- package/docs/api/interfaces/AddressFieldProps.md +1 -1
- package/docs/api/interfaces/AddressFieldRef.md +1 -1
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/AutocompleteOptions.md +1 -1
- package/docs/api/interfaces/AvatarProps.md +128 -0
- package/docs/api/interfaces/BadgeProps.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CalendarProps.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/ComplianceResult.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/DatabaseComplianceResult.md +1 -1
- package/docs/api/interfaces/DatabaseIssue.md +1 -1
- package/docs/api/interfaces/EmptyStateConfig.md +1 -1
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
- package/docs/api/interfaces/EventAppRoleData.md +1 -1
- package/docs/api/interfaces/ExportColumn.md +1 -1
- package/docs/api/interfaces/ExportOptions.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/FormFieldProps.md +1 -1
- package/docs/api/interfaces/FormProps.md +1 -1
- package/docs/api/interfaces/GrantEventAppRoleParams.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/LoggerConfig.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/ParsedAddress.md +1 -1
- package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/ProgressProps.md +1 -1
- package/docs/api/interfaces/ProtectedRouteProps.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/QuickFix.md +1 -1
- package/docs/api/interfaces/RBACAccessValidateParams.md +1 -1
- package/docs/api/interfaces/RBACAccessValidateResult.md +1 -1
- package/docs/api/interfaces/RBACAuditLogParams.md +1 -1
- package/docs/api/interfaces/RBACAuditLogResult.md +1 -1
- package/docs/api/interfaces/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACContext.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RBACPageAccessCheckParams.md +1 -1
- package/docs/api/interfaces/RBACPerformanceMetrics.md +1 -1
- package/docs/api/interfaces/RBACPermissionCheckParams.md +1 -1
- package/docs/api/interfaces/RBACPermissionCheckResult.md +1 -1
- package/docs/api/interfaces/RBACPermissionsGetParams.md +1 -1
- package/docs/api/interfaces/RBACPermissionsGetResult.md +1 -1
- package/docs/api/interfaces/RBACResult.md +1 -1
- package/docs/api/interfaces/RBACRoleGrantParams.md +1 -1
- package/docs/api/interfaces/RBACRoleGrantResult.md +1 -1
- package/docs/api/interfaces/RBACRoleRevokeParams.md +1 -1
- package/docs/api/interfaces/RBACRoleRevokeResult.md +1 -1
- package/docs/api/interfaces/RBACRoleValidateParams.md +1 -1
- package/docs/api/interfaces/RBACRoleValidateResult.md +1 -1
- package/docs/api/interfaces/RBACRolesListParams.md +1 -1
- package/docs/api/interfaces/RBACRolesListResult.md +1 -1
- package/docs/api/interfaces/RBACSessionTrackParams.md +1 -1
- package/docs/api/interfaces/RBACSessionTrackResult.md +1 -1
- package/docs/api/interfaces/ResourcePermissions.md +1 -1
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RoleManagementResult.md +1 -1
- package/docs/api/interfaces/RouteAccessRecord.md +1 -1
- package/docs/api/interfaces/RouteConfig.md +1 -1
- package/docs/api/interfaces/RuntimeComplianceResult.md +1 -1
- package/docs/api/interfaces/SecureDataContextType.md +1 -1
- package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
- package/docs/api/interfaces/SessionRestorationLoaderProps.md +1 -1
- package/docs/api/interfaces/SetupIssue.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/TabsContentProps.md +1 -1
- package/docs/api/interfaces/TabsListProps.md +1 -1
- package/docs/api/interfaces/TabsProps.md +1 -1
- package/docs/api/interfaces/TabsTriggerProps.md +1 -1
- package/docs/api/interfaces/TextareaProps.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/UseFormDialogOptions.md +1 -1
- package/docs/api/interfaces/UseFormDialogReturn.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/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/UseResourcePermissionsOptions.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 +6 -45
- package/docs/api-reference/components.md +57 -22
- package/docs/getting-started/examples/README.md +2 -2
- package/docs/implementation-guides/public-pages.md +140 -1230
- package/docs/standards/05-security-standard.md +3 -1
- package/docs/standards/07-rbac-and-rls-standard.md +356 -0
- package/package.json +1 -2
- package/src/__tests__/public-recipe-view.test.ts +199 -0
- package/src/__tests__/rls-policies.test.ts +333 -0
- package/src/components/Avatar/Avatar.test.tsx +183 -209
- package/src/components/Avatar/Avatar.tsx +179 -53
- package/src/components/Avatar/index.ts +1 -1
- package/src/components/UserMenu/UserMenu.test.tsx +7 -9
- package/src/components/UserMenu/UserMenu.tsx +7 -5
- package/src/components/index.ts +2 -1
- package/src/index.ts +2 -1
- package/src/services/OrganisationService.ts +5 -4
- package/dist/chunk-C4OYJOV4.js.map +0 -1
- package/dist/chunk-LBBUPSSC.js.map +0 -1
- package/dist/chunk-WK2Y6TGA.js.map +0 -1
- /package/dist/{DataTable-K3RJRSOX.js.map → DataTable-GUFUNZ3N.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-B76OWOAT.js.map → UnifiedAuthProvider-643PUAIM.js.map} +0 -0
- /package/dist/{chunk-FMTK4XNN.js.map → chunk-2UUZZJFT.js.map} +0 -0
- /package/dist/{chunk-3IC5WCMO.js.map → chunk-3GOZZZYH.js.map} +0 -0
- /package/dist/{chunk-ULX5FYEM.js.map → chunk-DDM4CCYT.js.map} +0 -0
- /package/dist/{chunk-K2JGDXGU.js.map → chunk-E7UAOUMY.js.map} +0 -0
- /package/dist/{chunk-T6ZJVI3A.js.map → chunk-IM4QE42D.js.map} +0 -0
- /package/dist/{chunk-3NFNJOO7.js.map → chunk-MX64ZF6I.js.map} +0 -0
|
@@ -60,8 +60,8 @@ import {
|
|
|
60
60
|
sum,
|
|
61
61
|
validateHierarchicalData,
|
|
62
62
|
validatePaginationConfig
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-2UUZZJFT.js";
|
|
64
|
+
import "./chunk-3GOZZZYH.js";
|
|
65
65
|
import "./chunk-HEHYGYOX.js";
|
|
66
66
|
import "./chunk-63FOKYGO.js";
|
|
67
67
|
import {
|
|
@@ -82,8 +82,8 @@ import {
|
|
|
82
82
|
throttle,
|
|
83
83
|
useDataTablePerformance
|
|
84
84
|
} from "./chunk-6C4YBBJM.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-E7UAOUMY.js";
|
|
86
|
+
import "./chunk-VGZZXKBR.js";
|
|
87
87
|
import "./chunk-QXHPKYJV.js";
|
|
88
88
|
import "./chunk-R77UEZ4E.js";
|
|
89
89
|
import "./chunk-F2IMUDXZ.js";
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
validateHierarchicalData,
|
|
170
170
|
validatePaginationConfig
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=DataTable-
|
|
172
|
+
//# sourceMappingURL=DataTable-GUFUNZ3N.js.map
|
|
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { Component, ReactNode } from 'react';
|
|
3
3
|
import { P as ParsedAddress, A as AutocompleteOptions } from './types-Bwgl--Xo.js';
|
|
4
4
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
5
|
-
import
|
|
5
|
+
import { F as FileCategory, e as FileUploadResult, U as UploadProgress, c as FileUploadOptions, a as FileReference } from './file-reference-D037xOFK.js';
|
|
6
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
7
7
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
8
8
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
@@ -17,7 +17,6 @@ import { z } from 'zod';
|
|
|
17
17
|
import { User, SupabaseClient, createClient } from '@supabase/supabase-js';
|
|
18
18
|
import { P as Permission, A as AccessLevel } from './types-UU913iLA.js';
|
|
19
19
|
import { E as Event, O as Organisation } from './event-CW5YB_2p.js';
|
|
20
|
-
import { F as FileCategory, e as FileUploadResult, U as UploadProgress, c as FileUploadOptions, a as FileReference } from './file-reference-D037xOFK.js';
|
|
21
20
|
|
|
22
21
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
23
22
|
/** Visual variant of the button */
|
|
@@ -575,13 +574,16 @@ declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
575
574
|
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
576
575
|
|
|
577
576
|
/**
|
|
578
|
-
* @file Avatar Component
|
|
577
|
+
* @file Avatar Component
|
|
579
578
|
* @package @jmruthers/pace-core
|
|
580
579
|
* @module Components
|
|
581
580
|
* @since 0.1.0
|
|
582
581
|
*
|
|
583
|
-
* A
|
|
584
|
-
*
|
|
582
|
+
* A simple and accessible avatar component for displaying user profile images or initials.
|
|
583
|
+
* Supports three approaches for image display:
|
|
584
|
+
* - File reference props (uses FileDisplay for Supabase storage)
|
|
585
|
+
* - File ID (uses file reference lookup)
|
|
586
|
+
* - Direct URL (simple img tag for public images)
|
|
585
587
|
*
|
|
586
588
|
* Features:
|
|
587
589
|
* - Circular avatar display
|
|
@@ -592,16 +594,31 @@ declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
592
594
|
*
|
|
593
595
|
* @example
|
|
594
596
|
* ```tsx
|
|
595
|
-
* //
|
|
596
|
-
* <Avatar
|
|
597
|
-
*
|
|
598
|
-
*
|
|
599
|
-
*
|
|
597
|
+
* // Avatar with direct URL
|
|
598
|
+
* <Avatar
|
|
599
|
+
* src="/user.jpg"
|
|
600
|
+
* alt="User"
|
|
601
|
+
* fallback="AB"
|
|
602
|
+
* />
|
|
603
|
+
*
|
|
604
|
+
* // Avatar with file reference props
|
|
605
|
+
* <Avatar
|
|
606
|
+
* table_name="user_profiles"
|
|
607
|
+
* record_id={userId}
|
|
608
|
+
* organisation_id={orgId}
|
|
609
|
+
* category={FileCategory.PROFILE_PHOTOS}
|
|
610
|
+
* fallback="JD"
|
|
611
|
+
* />
|
|
612
|
+
*
|
|
613
|
+
* // Avatar with file ID
|
|
614
|
+
* <Avatar
|
|
615
|
+
* fileId={fileReferenceId}
|
|
616
|
+
* organisation_id={orgId}
|
|
617
|
+
* fallback="JD"
|
|
618
|
+
* />
|
|
600
619
|
*
|
|
601
620
|
* // Avatar with fallback only
|
|
602
|
-
* <Avatar
|
|
603
|
-
* <AvatarFallback>JD</AvatarFallback>
|
|
604
|
-
* </Avatar>
|
|
621
|
+
* <Avatar fallback="JD" />
|
|
605
622
|
* ```
|
|
606
623
|
*
|
|
607
624
|
* @accessibility
|
|
@@ -610,9 +627,22 @@ declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAt
|
|
|
610
627
|
* - Keyboard focusable and navigable
|
|
611
628
|
*/
|
|
612
629
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
630
|
+
interface AvatarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
631
|
+
table_name?: string;
|
|
632
|
+
record_id?: string;
|
|
633
|
+
organisation_id?: string;
|
|
634
|
+
category?: FileCategory;
|
|
635
|
+
fileId?: string;
|
|
636
|
+
src?: string;
|
|
637
|
+
alt?: string;
|
|
638
|
+
fallback: string;
|
|
639
|
+
className?: string;
|
|
640
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Avatar component for displaying user profile images or initials
|
|
644
|
+
*/
|
|
645
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
616
646
|
|
|
617
647
|
/**
|
|
618
648
|
* @file Badge Component
|
|
@@ -4002,4 +4032,4 @@ declare function usePublicPageContext(): PublicPageContextType;
|
|
|
4002
4032
|
*/
|
|
4003
4033
|
declare function useIsPublicPage(): boolean;
|
|
4004
4034
|
|
|
4005
|
-
export { type
|
|
4035
|
+
export { type DialogTriggerProps as $, AddressField as A, Button as B, Card as C, TableHeader as D, TableBody as E, TableCaption as F, TableCell as G, TableFooter as H, Input as I, TableHead as J, TableRow as K, Label as L, Dialog as M, DialogPortal as N, DialogOverlay as O, Progress as P, DialogTrigger as Q, DialogClose as R, Switch as S, Textarea as T, DialogContent as U, DialogHeader as V, DialogBody as W, DialogFooter as X, DialogTitle as Y, DialogDescription as Z, type DialogProps as _, type ButtonProps as a, EventSelector as a$, type DialogContentProps as a0, type DialogOverlayProps as a1, type DialogHeaderProps as a2, type DialogFooterProps as a3, type DialogTitleProps as a4, type DialogDescriptionProps as a5, type DialogSize as a6, Select as a7, SelectGroup as a8, SelectValue as a9, TooltipTrigger as aA, TooltipContent as aB, TooltipProvider as aC, TooltipRoot as aD, Form as aE, FormField as aF, type FormProps as aG, type FormFieldProps as aH, LoginForm as aI, type LoginFormProps as aJ, Header as aK, Footer as aL, type FooterProps as aM, ProtectedRoute as aN, type ProtectedRouteProps as aO, NavigationMenu as aP, type NavigationMenuProps as aQ, type NavigationItem as aR, OrganisationSelector as aS, type OrganisationSelectorProps as aT, UserMenu as aU, ErrorBoundary as aV, type ErrorBoundaryProps as aW, type ErrorBoundaryState as aX, LoadingSpinner as aY, SessionRestorationLoader as aZ, type SessionRestorationLoaderProps as a_, SelectTrigger as aa, SelectContent as ab, SelectLabel as ac, SelectItem as ad, SelectSeparator as ae, Tabs as af, TabsList as ag, TabsTrigger as ah, TabsContent as ai, type TabsProps as aj, type TabsListProps as ak, type TabsTriggerProps as al, type TabsContentProps as am, Calendar as an, type CalendarProps as ao, Toast as ap, Toaster as aq, ToastAction as ar, ToastProvider as as, ToastViewport as at, ToastTitle as au, ToastDescription as av, ToastClose as aw, type ToastActionElement as ax, type ToastProps as ay, Tooltip as az, CardHeader as b, FileUpload as b0, type FileUploadProps as b1, FileDisplay as b2, type FileDisplayProps as b3, useFileReference as b4, useFileReferenceForRecord as b5, useFileReferenceById as b6, useFilesByCategory as b7, type UseFileReferenceOptions as b8, type UseFileReferenceReturn as b9, type UseFileReferenceForRecordReturn as ba, PublicPageLayout as bb, PublicPageHeader as bc, PublicPageFooter as bd, PublicPageProvider as be, usePublicPageContext as bf, useIsPublicPage as bg, type PublicPageLayoutProps as bh, type PublicPageHeaderProps as bi, type PublicPageFooterProps as bj, type PaceAppLayoutProps as bk, PaceAppLayout as bl, type PaceLoginPageProps as bm, PaceLoginPage as bn, type NavigationMode as bo, type UserMenuProps as bp, PasswordChangeForm as bq, CardFooter as c, CardTitle as d, CardDescription as e, CardContent as f, CardActions as g, type CardProps as h, type CardActionsProps as i, type InputProps as j, type AddressFieldProps as k, type AddressFieldRef as l, type LabelProps as m, type TextareaProps as n, Alert as o, AlertTitle as p, AlertDescription as q, Avatar as r, type AvatarProps as s, Badge as t, type BadgeProps as u, type BadgeVariant as v, Checkbox as w, type SwitchProps as x, type ProgressProps as y, Table as z };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
UnifiedAuthContext,
|
|
3
3
|
UnifiedAuthProvider,
|
|
4
4
|
useUnifiedAuth
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VGZZXKBR.js";
|
|
6
6
|
import "./chunk-QXHPKYJV.js";
|
|
7
7
|
import "./chunk-VBXEHIUJ.js";
|
|
8
8
|
import "./chunk-PWLANIRT.js";
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
UnifiedAuthProvider,
|
|
13
13
|
useUnifiedAuth
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=UnifiedAuthProvider-
|
|
15
|
+
//# sourceMappingURL=UnifiedAuthProvider-643PUAIM.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCan,
|
|
3
3
|
useResolvedScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3GOZZZYH.js";
|
|
5
5
|
import {
|
|
6
6
|
toast,
|
|
7
7
|
useDataTablePerformance
|
|
8
8
|
} from "./chunk-6C4YBBJM.js";
|
|
9
9
|
import {
|
|
10
10
|
useUnifiedAuth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VGZZXKBR.js";
|
|
12
12
|
import {
|
|
13
13
|
cn,
|
|
14
14
|
renderSafeHtml
|
|
@@ -12753,4 +12753,4 @@ lodash/lodash.js:
|
|
|
12753
12753
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
12754
12754
|
*)
|
|
12755
12755
|
*/
|
|
12756
|
-
//# sourceMappingURL=chunk-
|
|
12756
|
+
//# sourceMappingURL=chunk-2UUZZJFT.js.map
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
useEvents,
|
|
13
13
|
useOrganisations
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E7UAOUMY.js";
|
|
15
15
|
import {
|
|
16
16
|
useUnifiedAuth
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VGZZXKBR.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentAppName
|
|
20
20
|
} from "./chunk-F2IMUDXZ.js";
|
|
@@ -1483,4 +1483,4 @@ export {
|
|
|
1483
1483
|
useRoleManagement,
|
|
1484
1484
|
useSecureSupabase
|
|
1485
1485
|
};
|
|
1486
|
-
//# sourceMappingURL=chunk-
|
|
1486
|
+
//# sourceMappingURL=chunk-3GOZZZYH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useOrganisations
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E7UAOUMY.js";
|
|
4
4
|
import {
|
|
5
5
|
EventServiceContext,
|
|
6
6
|
useUnifiedAuth
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VGZZXKBR.js";
|
|
8
8
|
import {
|
|
9
9
|
setOrganisationContext
|
|
10
10
|
} from "./chunk-VBXEHIUJ.js";
|
|
@@ -388,4 +388,4 @@ function useSecureDataAccess() {
|
|
|
388
388
|
export {
|
|
389
389
|
useSecureDataAccess
|
|
390
390
|
};
|
|
391
|
-
//# sourceMappingURL=chunk-
|
|
391
|
+
//# sourceMappingURL=chunk-DDM4CCYT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useEventService,
|
|
3
3
|
useOrganisationService
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VGZZXKBR.js";
|
|
5
5
|
|
|
6
6
|
// src/hooks/useEvents.ts
|
|
7
7
|
import { useMemo, useRef } from "react";
|
|
@@ -72,4 +72,4 @@ export {
|
|
|
72
72
|
useEvents,
|
|
73
73
|
useOrganisations
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=chunk-
|
|
75
|
+
//# sourceMappingURL=chunk-E7UAOUMY.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
useAccessLevel,
|
|
5
5
|
useCan,
|
|
6
6
|
useMultiplePermissions
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3GOZZZYH.js";
|
|
8
8
|
import {
|
|
9
9
|
RBACCache,
|
|
10
10
|
RBACNotInitializedError,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-HEHYGYOX.js";
|
|
15
15
|
import {
|
|
16
16
|
useSecureDataAccess
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DDM4CCYT.js";
|
|
18
18
|
import {
|
|
19
19
|
useUnifiedAuth
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VGZZXKBR.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
logger
|
|
@@ -2109,4 +2109,4 @@ export {
|
|
|
2109
2109
|
getDirectSupabaseAuthFixes,
|
|
2110
2110
|
getQuickFixes
|
|
2111
2111
|
};
|
|
2112
|
-
//# sourceMappingURL=chunk-
|
|
2112
|
+
//# sourceMappingURL=chunk-IM4QE42D.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
listFiles,
|
|
11
11
|
uploadFile,
|
|
12
12
|
usePublicPageContext
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UCQSRW7Z.js";
|
|
14
14
|
import {
|
|
15
15
|
useOrganisations
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E7UAOUMY.js";
|
|
17
17
|
import {
|
|
18
18
|
useUnifiedAuth
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VGZZXKBR.js";
|
|
20
20
|
import {
|
|
21
21
|
assertOrganisationId
|
|
22
22
|
} from "./chunk-QXHPKYJV.js";
|
|
@@ -866,4 +866,4 @@ export {
|
|
|
866
866
|
generatePublicRoutePath,
|
|
867
867
|
extractEventCodeFromPath
|
|
868
868
|
};
|
|
869
|
-
//# sourceMappingURL=chunk-
|
|
869
|
+
//# sourceMappingURL=chunk-MX64ZF6I.js.map
|