@propriety/court-calendar 1.0.100 → 1.0.103
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/_components/Modal/DateDetails/CaseViewer.d.ts +1 -0
- package/dist/_components/Modal/DateDetails/PortalFab.d.ts +11 -0
- package/dist/helpers/api/cases.d.ts +6 -0
- package/dist/hooks/UseModalActions.d.ts +1 -1
- package/dist/index.mjs +5293 -5350
- package/package.json +1 -1
- package/src/_components/Modal/DateDetails/CaseViewer.tsx +228 -320
- package/src/_components/Modal/DateDetails/DateTabs.tsx +1 -0
- package/src/_components/Modal/DateDetails/PortalFab.tsx +56 -0
- package/src/_components/Modal/Modal.tsx +22 -2
- package/src/helpers/api/cases.ts +79 -70
- package/src/hooks/UseModalActions.ts +9 -8
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export default function PortalFab({ in: visible, tooltip, icon, onClick, badgeContent, containerId, bottom, right, }: {
|
|
3
|
+
in: boolean;
|
|
4
|
+
tooltip: string;
|
|
5
|
+
icon: ReactNode;
|
|
6
|
+
onClick: (e: React.MouseEvent<HTMLElement>) => void;
|
|
7
|
+
badgeContent?: number;
|
|
8
|
+
containerId?: string;
|
|
9
|
+
bottom?: number;
|
|
10
|
+
right?: number;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,10 @@ export declare function adjournCases(cases: {
|
|
|
6
6
|
indexNumber: string;
|
|
7
7
|
year: number;
|
|
8
8
|
}[], adjournedDate: Date | null, apiKey: string, editUser?: number): Promise<boolean>;
|
|
9
|
+
export interface FoilAffidavitResult {
|
|
10
|
+
affidavit_key: string;
|
|
11
|
+
sent: string[];
|
|
12
|
+
skipped: string[];
|
|
13
|
+
}
|
|
14
|
+
export declare function prepareFoilAffidavit(parcelIds: string[], date: Date, year: number, apiKey: string, negotiatorId?: number, testing?: boolean): Promise<FoilAffidavitResult | null>;
|
|
9
15
|
export declare function updateCaseAdjournment(parcelId: string, scarIndexNumber: string, adjournedDate: Date | null, apiKey: string): Promise<boolean>;
|
|
@@ -30,7 +30,7 @@ export declare function useModalActions({ modalMode, selectedCourtDate, selected
|
|
|
30
30
|
setEditedData: (data: CourtDate) => void;
|
|
31
31
|
setIsOpen: (isOpen: boolean) => void;
|
|
32
32
|
}): {
|
|
33
|
-
handleSave: () => Promise<
|
|
33
|
+
handleSave: () => Promise<boolean>;
|
|
34
34
|
handleDelete: () => Promise<void>;
|
|
35
35
|
handleViewUpdateChair: (position: "first" | "second", userId: number | null) => void;
|
|
36
36
|
handleSelectedCasesAdjournmentChange: (casesToUpdate: Case[], date: Date | null) => Promise<void>;
|