@propriety/court-calendar 1.0.99 → 1.0.102

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.
@@ -8,5 +8,6 @@ declare const CaseViewer: import('react').NamedExoticComponent<{
8
8
  csvFileName?: string;
9
9
  isAdmin?: boolean;
10
10
  onSelectedCasesAdjournmentChange?: (cases: Case[], date: Date | null) => void;
11
+ firstChair?: number | null;
11
12
  }>;
12
13
  export default CaseViewer;
@@ -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>;
@@ -1,3 +1,4 @@
1
1
  import { MouseEvent } from 'react';
2
2
  export declare function openDocument(url: string): Promise<void>;
3
+ export declare function printDocument(e: MouseEvent, url: string): Promise<void>;
3
4
  export declare function downloadDocument(e: MouseEvent, url: string): Promise<void>;
@@ -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<void>;
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>;