@propriety/court-calendar 1.0.179 → 1.0.181
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/.vscode/extensions.json +1 -1
- package/dist/__tests__/openSettledCasesReport.test.d.ts +1 -0
- package/dist/_components/Modal/DateDetails/SettledCasesReport.d.ts +11 -0
- package/dist/helpers/api/courtDates.d.ts +6 -0
- package/dist/index.mjs +3206 -3161
- package/package.json +1 -1
- package/src/__tests__/openSettledCasesReport.test.ts +48 -0
- package/src/_components/Modal/DateDetails/DateDetails.tsx +12 -8
- package/src/_components/Modal/DateDetails/SettledCasesReport.tsx +64 -0
- package/src/helpers/api/courtDates.ts +35 -0
package/.vscode/extensions.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dbaeumer.vscode-eslint",
|
|
21
21
|
"inferrinizzard.prettier-sql-vscode",
|
|
22
22
|
|
|
23
|
-
// --- Python stack (lives in ../adminAPI, ../
|
|
23
|
+
// --- Python stack (lives in ../adminAPI, ../court-calendar-api, ../ocr) ---
|
|
24
24
|
"ms-python.python",
|
|
25
25
|
"ms-python.vscode-pylance",
|
|
26
26
|
"ms-python.debugpy",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CourtDate } from '../../../types';
|
|
2
|
+
import { MotionToast } from './MotionToPreclude';
|
|
3
|
+
/**
|
|
4
|
+
* The hearing officer's pre-session sheet: every case on this date that is already resolved, with
|
|
5
|
+
* the assessed, requested and settled values. The backend builds and prints it — this is only the
|
|
6
|
+
* button that opens it in a new tab.
|
|
7
|
+
*/
|
|
8
|
+
export default function SettledCasesReport({ courtDate, onNotify, }: {
|
|
9
|
+
courtDate: CourtDate;
|
|
10
|
+
onNotify: (toast: MotionToast) => void;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,3 +29,9 @@ export declare function deleteCourtDate(courtDateId: number, apiKey: string, typ
|
|
|
29
29
|
export declare function createCourtDate(courtDate: Date, muniCode: string, apiKey: string, courtCases?: string[], hearingTime?: string, multipleDates?: Date[], type?: DateType, noticeFiles?: File[], editUser?: number): Promise<number | null>;
|
|
30
30
|
export declare function snoozeUploadDeadline(courtDateId: number, apiKey: string): Promise<boolean>;
|
|
31
31
|
export declare function getDateEditLogs(courtDateId: number, apiKey: string, type?: DateType): Promise<DateEditLog | null>;
|
|
32
|
+
/**
|
|
33
|
+
* Opens the printable settled-cases report for a court date in a new tab. The JSON route mints a
|
|
34
|
+
* `print_url` carrying a signed, date-bound token, so the tab needs no API key. Returns false on
|
|
35
|
+
* failure; the caller shows the toast.
|
|
36
|
+
*/
|
|
37
|
+
export declare function openSettledCasesReport(courtDateId: number, apiKey: string): Promise<boolean>;
|