@jmruthers/pace-core 0.6.3 → 0.6.5
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-THFPBKTP.js → DataTable-AOVNCPTX.js} +8 -8
- package/dist/{PublicPageProvider-DEMpysFR.d.ts → PublicPageProvider-QTFVrL-Z.d.ts} +65 -83
- package/dist/{UnifiedAuthProvider-KAGUYQ4J.js → UnifiedAuthProvider-4SBX4LU5.js} +4 -4
- package/dist/{api-IAGWF3ZG.js → api-O6HTBX5Y.js} +3 -3
- package/dist/{chunk-ZNIWI3UC.js → chunk-6COVEUS7.js} +141 -107
- package/dist/chunk-6COVEUS7.js.map +1 -0
- package/dist/{chunk-QRPVRXYT.js → chunk-AFVQODI2.js} +38 -1
- package/dist/{chunk-QRPVRXYT.js.map → chunk-AFVQODI2.js.map} +1 -1
- package/dist/{chunk-RWEBCB47.js → chunk-EFN2EIMK.js} +2 -2
- package/dist/{chunk-CNCQDFLN.js → chunk-G7QEZTYQ.js} +31 -31
- package/dist/{chunk-CNCQDFLN.js.map → chunk-G7QEZTYQ.js.map} +1 -1
- package/dist/{chunk-YDQHOZNA.js → chunk-HU2C6SSC.js} +29 -18
- package/dist/chunk-HU2C6SSC.js.map +1 -0
- package/dist/{chunk-DWUBLJJM.js → chunk-IHB5DR3H.js} +184 -53
- package/dist/chunk-IHB5DR3H.js.map +1 -0
- package/dist/{chunk-PQBSKX33.js → chunk-IVOFDYWT.js} +364 -208
- package/dist/chunk-IVOFDYWT.js.map +1 -0
- package/dist/{chunk-6SOIHG6Z.js → chunk-JGRYX5UX.js} +120 -20
- package/dist/chunk-JGRYX5UX.js.map +1 -0
- package/dist/{chunk-6Z7LTB3D.js → chunk-NTM7ZSB6.js} +4 -4
- package/dist/chunk-NTM7ZSB6.js.map +1 -0
- package/dist/{chunk-HFZBI76P.js → chunk-RGAWHO7N.js} +4 -4
- package/dist/chunk-RGAWHO7N.js.map +1 -0
- package/dist/{chunk-2T2IG7T7.js → chunk-UPPMRMYG.js} +3 -3
- package/dist/{chunk-2T2IG7T7.js.map → chunk-UPPMRMYG.js.map} +1 -1
- package/dist/components.d.ts +2 -3
- package/dist/components.js +24 -28
- package/dist/components.js.map +1 -1
- package/dist/{contextValidator-3JNZKUTX.js → contextValidator-5OGXSPKS.js} +2 -2
- package/dist/hooks.d.ts +3 -3
- package/dist/hooks.js +41 -139
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +27 -18
- package/dist/index.js +41 -50
- package/dist/index.js.map +1 -1
- package/dist/providers.js +3 -3
- package/dist/rbac/index.d.ts +16 -9
- package/dist/rbac/index.js +6 -6
- package/dist/{usePublicRouteParams-i3qtoBgg.d.ts → usePublicRouteParams-ClnV4tnv.d.ts} +8 -8
- package/dist/utils.js +1 -1
- package/docs/api/modules.md +210 -100
- package/package.json +8 -4
- package/scripts/audit/core/checks/dependencies.cjs +9 -0
- package/scripts/validate-master.js +1 -1
- package/src/components/DataTable/__tests__/keyboard.test.tsx +15 -2
- package/src/components/DataTable/components/ImportModal.tsx +4 -6
- package/src/components/DataTable/components/ViewRowModal.tsx +4 -4
- package/src/components/DataTable/components/__tests__/ImportModal.test.tsx +455 -96
- package/src/components/DataTable/components/__tests__/ViewRowModal.test.tsx +122 -58
- package/src/components/DataTable/core/DataTableContext.tsx +1 -1
- package/src/components/DateTimeField/DateTimeField.tsx +17 -19
- package/src/components/DateTimeField/README.md +5 -2
- package/src/components/Dialog/Dialog.test.tsx +248 -228
- package/src/components/Dialog/Dialog.tsx +455 -325
- package/src/components/Dialog/index.ts +3 -3
- package/src/components/FileDisplay/FileDisplay.test.tsx +41 -0
- package/src/components/FileDisplay/FileDisplay.tsx +5 -5
- package/src/components/Form/Form.test.tsx +3 -2
- package/src/components/Form/Form.tsx +4 -5
- package/src/components/InactivityWarningModal/InactivityWarningModal.test.tsx +28 -28
- package/src/components/InactivityWarningModal/InactivityWarningModal.tsx +40 -54
- package/src/components/LoginForm/LoginForm.tsx +2 -2
- package/src/components/NavigationMenu/NavigationMenu.tsx +2 -2
- package/src/components/PaceAppLayout/PaceAppLayout.tsx +54 -42
- package/src/components/PaceAppLayout/README.md +10 -9
- package/src/components/PaceAppLayout/test-setup.tsx +40 -31
- package/src/components/PasswordChange/PasswordChangeForm.test.tsx +61 -0
- package/src/components/PasswordChange/PasswordChangeForm.tsx +20 -13
- package/src/components/PublicLayout/PublicLayout.test.tsx +7 -3
- package/src/components/PublicLayout/PublicPageLayout.tsx +5 -8
- package/src/components/UserMenu/UserMenu.test.tsx +38 -6
- package/src/components/UserMenu/UserMenu.tsx +36 -34
- package/src/components/index.ts +3 -4
- package/src/hooks/useEventTheme.ts +4 -4
- package/src/hooks/useEvents.ts +11 -7
- package/src/hooks/useKeyboardShortcuts.ts +1 -1
- package/src/hooks/useOrganisationPermissions.ts +4 -4
- package/src/hooks/useOrganisations.ts +13 -7
- package/src/index.ts +11 -1
- package/src/rbac/README.md +20 -20
- package/src/rbac/hooks/useRBAC.test.ts +21 -3
- package/src/rbac/hooks/useRBAC.ts +4 -3
- package/src/rbac/hooks/useResourcePermissions.test.ts +125 -30
- package/src/rbac/hooks/useResourcePermissions.ts +57 -29
- package/src/rbac/permissions.ts +17 -17
- package/src/rbac/utils/contextValidator.ts +36 -0
- package/src/services/AuthService.ts +2 -5
- package/src/services/EventService.ts +99 -2
- package/src/services/InactivityService.ts +139 -58
- package/src/styles/core.css +4 -0
- package/src/utils/formatting/formatTime.test.ts +3 -2
- package/dist/chunk-6SOIHG6Z.js.map +0 -1
- package/dist/chunk-6Z7LTB3D.js.map +0 -1
- package/dist/chunk-DWUBLJJM.js.map +0 -1
- package/dist/chunk-HFZBI76P.js.map +0 -1
- package/dist/chunk-PQBSKX33.js.map +0 -1
- package/dist/chunk-YDQHOZNA.js.map +0 -1
- package/dist/chunk-ZNIWI3UC.js.map +0 -1
- /package/dist/{DataTable-THFPBKTP.js.map → DataTable-AOVNCPTX.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-KAGUYQ4J.js.map → UnifiedAuthProvider-4SBX4LU5.js.map} +0 -0
- /package/dist/{api-IAGWF3ZG.js.map → api-O6HTBX5Y.js.map} +0 -0
- /package/dist/{chunk-RWEBCB47.js.map → chunk-EFN2EIMK.js.map} +0 -0
- /package/dist/{contextValidator-3JNZKUTX.js.map → contextValidator-5OGXSPKS.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-IVOFDYWT.js";
|
|
64
|
+
import "./chunk-HU2C6SSC.js";
|
|
65
65
|
import {
|
|
66
66
|
CircuitBreaker,
|
|
67
67
|
DEFAULT_FALLBACK_CONFIG,
|
|
@@ -79,13 +79,13 @@ import {
|
|
|
79
79
|
safeExecute,
|
|
80
80
|
throttle,
|
|
81
81
|
useDataTablePerformance
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
} from "./chunk-JGRYX5UX.js";
|
|
83
|
+
import "./chunk-NTM7ZSB6.js";
|
|
84
84
|
import "./chunk-KQCRWDSA.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-IHB5DR3H.js";
|
|
86
|
+
import "./chunk-EFN2EIMK.js";
|
|
87
87
|
import "./chunk-63FOKYGO.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-AFVQODI2.js";
|
|
89
89
|
import "./chunk-QXHPKYJV.js";
|
|
90
90
|
import "./chunk-M43Y4SSO.js";
|
|
91
91
|
import "./chunk-M7MPQISP.js";
|
|
@@ -172,4 +172,4 @@ export {
|
|
|
172
172
|
validateHierarchicalData,
|
|
173
173
|
validatePaginationConfig
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=DataTable-
|
|
175
|
+
//# sourceMappingURL=DataTable-AOVNCPTX.js.map
|
|
@@ -6,7 +6,6 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
6
6
|
import { F as FileCategory, e as FileUploadResult, U as UploadProgress, c as FileUploadOptions, a as FileReference } from './file-reference-BavO2eQj.js';
|
|
7
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
8
8
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
9
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
10
9
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
11
10
|
import { DayPickerProps, DateRange } from 'react-day-picker';
|
|
12
11
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
@@ -869,26 +868,32 @@ type DialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'full' | 'auto';
|
|
|
869
868
|
* Props for the Dialog root component
|
|
870
869
|
* @public
|
|
871
870
|
*/
|
|
872
|
-
interface DialogProps
|
|
871
|
+
interface DialogProps {
|
|
872
|
+
children: React$1.ReactNode;
|
|
873
|
+
open?: boolean;
|
|
874
|
+
defaultOpen?: boolean;
|
|
875
|
+
onOpenChange?: (open: boolean) => void;
|
|
873
876
|
}
|
|
874
877
|
/**
|
|
875
878
|
* Props for the DialogTrigger component
|
|
876
879
|
* @public
|
|
877
880
|
*/
|
|
878
|
-
interface DialogTriggerProps
|
|
881
|
+
interface DialogTriggerProps {
|
|
882
|
+
children: React$1.ReactNode;
|
|
883
|
+
asChild?: boolean;
|
|
884
|
+
className?: string;
|
|
885
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
879
886
|
}
|
|
880
887
|
/**
|
|
881
888
|
* Enhanced props for the DialogContent component with size variants and customization
|
|
882
|
-
* Uses semantic HTML dialog element
|
|
889
|
+
* Uses semantic HTML dialog element
|
|
883
890
|
* @public
|
|
884
891
|
*/
|
|
885
|
-
interface DialogContentProps extends React$1.
|
|
892
|
+
interface DialogContentProps extends React$1.HTMLAttributes<HTMLDialogElement> {
|
|
886
893
|
/** Dialog size variant */
|
|
887
894
|
size?: DialogSize;
|
|
888
895
|
/** Whether to show the close button */
|
|
889
896
|
showCloseButton?: boolean;
|
|
890
|
-
/** Custom className for the overlay */
|
|
891
|
-
overlayClassName?: string;
|
|
892
897
|
/** Whether to prevent closing on escape key */
|
|
893
898
|
preventCloseOnEscape?: boolean;
|
|
894
899
|
/** Whether to prevent closing on outside click */
|
|
@@ -907,12 +912,23 @@ interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof Dia
|
|
|
907
912
|
minHeight?: string;
|
|
908
913
|
/** Minimum width in CSS units */
|
|
909
914
|
minWidth?: string;
|
|
915
|
+
/** Dialog title for accessibility (sets native title attribute) */
|
|
916
|
+
title?: string;
|
|
917
|
+
/** Dialog description for accessibility (sets aria-description attribute) */
|
|
918
|
+
description?: string;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Props for the DialogPortal component
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
924
|
+
interface DialogPortalProps {
|
|
925
|
+
children: React$1.ReactNode;
|
|
910
926
|
}
|
|
911
927
|
/**
|
|
912
|
-
* Props for the
|
|
928
|
+
* Props for the DialogClose component
|
|
913
929
|
* @public
|
|
914
930
|
*/
|
|
915
|
-
interface
|
|
931
|
+
interface DialogCloseProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
916
932
|
}
|
|
917
933
|
/**
|
|
918
934
|
* Props for the DialogHeader component (semantic header element)
|
|
@@ -950,7 +966,7 @@ interface DialogBodyProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
950
966
|
* Props for the DialogTitle component
|
|
951
967
|
* @public
|
|
952
968
|
*/
|
|
953
|
-
interface DialogTitleProps extends React$1.
|
|
969
|
+
interface DialogTitleProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
|
|
954
970
|
/** HTML content to render as title (will be sanitized for security) */
|
|
955
971
|
htmlContent?: string;
|
|
956
972
|
/** Whether to allow HTML content rendering (default: true) */
|
|
@@ -960,57 +976,44 @@ interface DialogTitleProps extends React$1.ComponentPropsWithoutRef<typeof Dialo
|
|
|
960
976
|
* Props for the DialogDescription component
|
|
961
977
|
* @public
|
|
962
978
|
*/
|
|
963
|
-
interface DialogDescriptionProps extends React$1.
|
|
979
|
+
interface DialogDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
964
980
|
/** HTML content to render as description (will be sanitized for security) */
|
|
965
981
|
htmlContent?: string;
|
|
966
982
|
/** Whether to allow HTML content rendering (default: true) */
|
|
967
983
|
allowHtml?: boolean;
|
|
968
984
|
}
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
declare const
|
|
985
|
+
/**
|
|
986
|
+
* Dialog root component
|
|
987
|
+
* Provides context for dialog state management
|
|
988
|
+
*/
|
|
989
|
+
declare const Dialog: React$1.NamedExoticComponent<DialogProps>;
|
|
990
|
+
/**
|
|
991
|
+
* DialogTrigger component
|
|
992
|
+
* Opens the dialog when clicked
|
|
993
|
+
*/
|
|
994
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogTriggerProps & React$1.RefAttributes<HTMLElement>>;
|
|
995
|
+
/**
|
|
996
|
+
* DialogPortal component
|
|
997
|
+
* Portals dialog content to document.body
|
|
998
|
+
*/
|
|
999
|
+
declare const DialogPortal: React$1.FC<DialogPortalProps>;
|
|
974
1000
|
/**
|
|
975
1001
|
* DialogContent component
|
|
976
1002
|
* The main content container using semantic HTML <dialog> element with enhanced features
|
|
977
|
-
* Built on Radix UI primitives for accessibility while providing semantic structure
|
|
978
1003
|
*
|
|
979
1004
|
* @param props - Content configuration and styling
|
|
980
1005
|
* @param ref - Forwarded ref to the dialog element
|
|
981
1006
|
* @returns JSX.Element - The semantic dialog content with overlay and optional close button
|
|
982
|
-
*
|
|
983
|
-
* @example
|
|
984
|
-
* ```tsx
|
|
985
|
-
* <DialogContent size="lg" enableScrolling={true} maxHeightPercent={80}>
|
|
986
|
-
* <DialogHeader>
|
|
987
|
-
* <DialogTitle>Scrollable Dialog</DialogTitle>
|
|
988
|
-
* <DialogDescription>This dialog will scroll if content overflows.</DialogDescription>
|
|
989
|
-
* </DialogHeader>
|
|
990
|
-
* <DialogBody>
|
|
991
|
-
* <section>Large amount of semantic content here...</section>
|
|
992
|
-
* </DialogBody>
|
|
993
|
-
* <DialogFooter>
|
|
994
|
-
* <Button>Save</Button>
|
|
995
|
-
* </DialogFooter>
|
|
996
|
-
* </DialogContent>
|
|
997
|
-
* ```
|
|
998
1007
|
*/
|
|
999
|
-
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<
|
|
1008
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDialogElement>>;
|
|
1009
|
+
/**
|
|
1010
|
+
* DialogClose component
|
|
1011
|
+
* Button to close the dialog
|
|
1012
|
+
*/
|
|
1013
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1000
1014
|
/**
|
|
1001
1015
|
* DialogHeader component
|
|
1002
1016
|
* Semantic header container for dialog title and description with optional sticky behavior
|
|
1003
|
-
*
|
|
1004
|
-
* @param props - Header configuration and styling
|
|
1005
|
-
* @returns JSX.Element - The dialog header container using semantic <header> element
|
|
1006
|
-
*
|
|
1007
|
-
* @example
|
|
1008
|
-
* ```tsx
|
|
1009
|
-
* <DialogHeader sticky={true}>
|
|
1010
|
-
* <DialogTitle>Sticky Header</DialogTitle>
|
|
1011
|
-
* <DialogDescription>This header stays visible while scrolling.</DialogDescription>
|
|
1012
|
-
* </DialogHeader>
|
|
1013
|
-
* ```
|
|
1014
1017
|
*/
|
|
1015
1018
|
declare const DialogHeader: {
|
|
1016
1019
|
({ className, sticky, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1019,27 +1022,6 @@ declare const DialogHeader: {
|
|
|
1019
1022
|
/**
|
|
1020
1023
|
* DialogBody component
|
|
1021
1024
|
* Semantic main content area for dialog body content with scrollable functionality
|
|
1022
|
-
* Supports both React children and safe HTML content rendering
|
|
1023
|
-
*
|
|
1024
|
-
* @param props - Body configuration and styling
|
|
1025
|
-
* @returns JSX.Element - The scrollable dialog body container using semantic <main> element
|
|
1026
|
-
*
|
|
1027
|
-
* @example
|
|
1028
|
-
* ```tsx
|
|
1029
|
-
* // Using React children
|
|
1030
|
-
* <DialogBody>
|
|
1031
|
-
* <section className="space-y-4">
|
|
1032
|
-
* <h4>Content Title</h4>
|
|
1033
|
-
* <p>Long content that will scroll...</p>
|
|
1034
|
-
* </section>
|
|
1035
|
-
* </DialogBody>
|
|
1036
|
-
*
|
|
1037
|
-
* // Using HTML content
|
|
1038
|
-
* <DialogBody
|
|
1039
|
-
* htmlContent="<h2>Import Instructions</h2><p>Upload a CSV file with the following format:</p><ul><li>Required columns: name, email</li><li>Optional columns: phone, address</li></ul>"
|
|
1040
|
-
* allowHtml={true}
|
|
1041
|
-
* />
|
|
1042
|
-
* ```
|
|
1043
1025
|
*/
|
|
1044
1026
|
declare const DialogBody: {
|
|
1045
1027
|
({ className, maxHeight, style, htmlContent, allowHtml, strictSanitization, logWarnings, children, ...props }: DialogBodyProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1048,24 +1030,21 @@ declare const DialogBody: {
|
|
|
1048
1030
|
/**
|
|
1049
1031
|
* DialogFooter component
|
|
1050
1032
|
* Semantic footer container for dialog action buttons with optional sticky behavior
|
|
1051
|
-
*
|
|
1052
|
-
* @param props - Footer configuration and styling
|
|
1053
|
-
* @returns JSX.Element - The dialog footer container using semantic <footer> element
|
|
1054
|
-
*
|
|
1055
|
-
* @example
|
|
1056
|
-
* ```tsx
|
|
1057
|
-
* <DialogFooter sticky={true}>
|
|
1058
|
-
* <Button variant="outline">Cancel</Button>
|
|
1059
|
-
* <Button>Save changes</Button>
|
|
1060
|
-
* </DialogFooter>
|
|
1061
|
-
* ```
|
|
1062
1033
|
*/
|
|
1063
1034
|
declare const DialogFooter: {
|
|
1064
1035
|
({ className, sticky, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
1065
1036
|
displayName: string;
|
|
1066
1037
|
};
|
|
1038
|
+
/**
|
|
1039
|
+
* DialogTitle component
|
|
1040
|
+
* Title element with ARIA support
|
|
1041
|
+
*/
|
|
1067
1042
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1068
|
-
|
|
1043
|
+
/**
|
|
1044
|
+
* DialogDescription component
|
|
1045
|
+
* Description element with ARIA support
|
|
1046
|
+
*/
|
|
1047
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1069
1048
|
|
|
1070
1049
|
/**
|
|
1071
1050
|
* Direction for Select dropdown opening.
|
|
@@ -2548,7 +2527,7 @@ declare const NavigationMenu: React$1.ForwardRefExoticComponent<NavigationMenuPr
|
|
|
2548
2527
|
* }}
|
|
2549
2528
|
* />
|
|
2550
2529
|
*
|
|
2551
|
-
* // Password change form in a modal
|
|
2530
|
+
* // Password change form in a modal with onSuccess callback
|
|
2552
2531
|
* <Modal isOpen={showPasswordChange} onClose={() => setShowPasswordChange(false)}>
|
|
2553
2532
|
* <ModalContent>
|
|
2554
2533
|
* <ModalHeader>
|
|
@@ -2559,13 +2538,15 @@ declare const NavigationMenu: React$1.ForwardRefExoticComponent<NavigationMenuPr
|
|
|
2559
2538
|
* onSubmit={async (values) => {
|
|
2560
2539
|
* const result = await changePassword(values.newPassword);
|
|
2561
2540
|
* if (result.success) {
|
|
2562
|
-
* setShowPasswordChange(false);
|
|
2563
|
-
* toast.success('Password changed successfully');
|
|
2564
2541
|
* return {};
|
|
2565
2542
|
* } else {
|
|
2566
2543
|
* return { error: { message: result.error } };
|
|
2567
2544
|
* }
|
|
2568
2545
|
* }}
|
|
2546
|
+
* onSuccess={() => {
|
|
2547
|
+
* setShowPasswordChange(false);
|
|
2548
|
+
* toast.success('Password changed successfully');
|
|
2549
|
+
* }}
|
|
2569
2550
|
* />
|
|
2570
2551
|
* </ModalBody>
|
|
2571
2552
|
* </ModalContent>
|
|
@@ -2618,9 +2599,10 @@ interface PasswordChangeFormProps {
|
|
|
2618
2599
|
onSubmit: (values: PasswordChangeFormValues) => Promise<{
|
|
2619
2600
|
error?: PasswordChangeFormError;
|
|
2620
2601
|
}>;
|
|
2602
|
+
onSuccess?: () => void;
|
|
2621
2603
|
className?: string;
|
|
2622
2604
|
}
|
|
2623
|
-
declare function PasswordChangeForm({ onSubmit, className }: PasswordChangeFormProps): react_jsx_runtime.JSX.Element;
|
|
2605
|
+
declare function PasswordChangeForm({ onSubmit, onSuccess, className }: PasswordChangeFormProps): react_jsx_runtime.JSX.Element;
|
|
2624
2606
|
|
|
2625
2607
|
/**
|
|
2626
2608
|
* Props for the Header component
|
|
@@ -4195,4 +4177,4 @@ declare function usePublicPageContext(): PublicPageContextType;
|
|
|
4195
4177
|
*/
|
|
4196
4178
|
declare function useIsPublicPage(): boolean;
|
|
4197
4179
|
|
|
4198
|
-
export { type
|
|
4180
|
+
export { type DialogContentProps 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, DialogTrigger as O, Progress as P, DialogClose as Q, DialogContent as R, Switch as S, Textarea as T, DialogHeader as U, DialogBody as V, DialogFooter as W, DialogTitle as X, DialogDescription as Y, type DialogProps as Z, type DialogTriggerProps as _, type ButtonProps as a, SessionRestorationLoader as a$, type DialogPortalProps as a0, type DialogCloseProps as a1, type DialogHeaderProps as a2, type DialogFooterProps as a3, type DialogBodyProps as a4, type DialogSize as a5, Select as a6, SelectGroup as a7, SelectValue as a8, SelectTrigger as a9, TooltipContent as aA, TooltipProvider as aB, TooltipRoot as aC, Form as aD, FormField as aE, type FormProps as aF, type FormFieldProps as aG, LoginForm as aH, type LoginFormProps as aI, Header as aJ, Footer as aK, type FooterProps as aL, ProtectedRoute as aM, type ProtectedRouteProps as aN, NavigationMenu as aO, type NavigationMenuProps as aP, type NavigationItem as aQ, ContextSelector as aR, type ContextSelectorProps as aS, UserMenu as aT, ErrorBoundary as aU, ErrorBoundaryProvider as aV, type ErrorBoundaryProps as aW, type ErrorBoundaryState as aX, type ErrorBoundaryProviderProps as aY, type GlobalErrorHandler as aZ, LoadingSpinner as a_, SelectContent as aa, SelectLabel as ab, SelectItem as ac, SelectSeparator as ad, Tabs as ae, TabsList as af, TabsTrigger as ag, TabsContent as ah, type TabsProps as ai, type TabsListProps as aj, type TabsTriggerProps as ak, type TabsContentProps as al, Calendar as am, type CalendarProps as an, Toast as ao, Toaster as ap, ToastAction as aq, ToastProvider as ar, ToastViewport as as, ToastTitle as at, ToastDescription as au, ToastClose as av, type ToastActionElement as aw, type ToastProps as ax, Tooltip as ay, TooltipTrigger as az, CardHeader as b, type SessionRestorationLoaderProps as b0, FileUpload as b1, type FileUploadProps as b2, FileDisplay as b3, type FileDisplayProps as b4, useFileReference as b5, useFileReferenceForRecord as b6, useFileReferenceById as b7, useFilesByCategory as b8, type UseFileReferenceOptions as b9, type UseFileReferenceReturn as ba, type UseFileReferenceForRecordReturn as bb, PublicPageLayout as bc, PublicPageHeader as bd, PublicPageFooter as be, PublicPageProvider as bf, usePublicPageContext as bg, useIsPublicPage as bh, type PublicPageLayoutProps as bi, type PublicPageHeaderProps as bj, type PublicPageFooterProps as bk, type PaceAppLayoutProps as bl, PaceAppLayout as bm, type PaceLoginPageProps as bn, PaceLoginPage as bo, type NavigationMode as bp, type UserMenuProps as bq, PasswordChangeForm as br, 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,10 +2,10 @@ import {
|
|
|
2
2
|
UnifiedAuthContext,
|
|
3
3
|
UnifiedAuthProvider,
|
|
4
4
|
useUnifiedAuth
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-IHB5DR3H.js";
|
|
6
|
+
import "./chunk-EFN2EIMK.js";
|
|
7
7
|
import "./chunk-63FOKYGO.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-AFVQODI2.js";
|
|
9
9
|
import "./chunk-QXHPKYJV.js";
|
|
10
10
|
import "./chunk-VBXEHIUJ.js";
|
|
11
11
|
import "./chunk-PWLANIRT.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
UnifiedAuthProvider,
|
|
16
16
|
useUnifiedAuth
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=UnifiedAuthProvider-
|
|
18
|
+
//# sourceMappingURL=UnifiedAuthProvider-4SBX4LU5.js.map
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
isSuperAdmin,
|
|
20
20
|
resolveAppContext,
|
|
21
21
|
setupRBAC
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EFN2EIMK.js";
|
|
23
23
|
import "./chunk-63FOKYGO.js";
|
|
24
24
|
import {
|
|
25
25
|
OrganisationContextRequiredError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AFVQODI2.js";
|
|
27
27
|
import "./chunk-PWLANIRT.js";
|
|
28
28
|
import "./chunk-DGUM43GV.js";
|
|
29
29
|
export {
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
resolveAppContext,
|
|
50
50
|
setupRBAC
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=api-
|
|
52
|
+
//# sourceMappingURL=api-O6HTBX5Y.js.map
|