braid-ui 1.0.7 → 1.0.9

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/index.d.cts CHANGED
@@ -627,13 +627,13 @@ interface ListPageProps {
627
627
  declare const ListPage: React$1.ForwardRefExoticComponent<ListPageProps & React$1.RefAttributes<HTMLDivElement>>;
628
628
 
629
629
  interface StatementHeader$1 {
630
- account: string;
631
- productId: string;
632
- programId: string;
633
- startDate: string;
634
- endDate: string;
635
- startingBalance: string;
636
- endingBalance: string;
630
+ account?: string;
631
+ productId?: string;
632
+ programId?: string;
633
+ startDate?: string;
634
+ endDate?: string;
635
+ startingBalance?: string;
636
+ endingBalance?: string;
637
637
  }
638
638
  interface StatementTransaction {
639
639
  transactionType: string;
@@ -666,6 +666,10 @@ interface StatementViewProps {
666
666
  }>;
667
667
  statementHeader: StatementHeader$1 | null;
668
668
  statementTransactions: StatementTransaction[];
669
+ programsLoading: boolean;
670
+ productsLoading: boolean;
671
+ programsError: string | null;
672
+ productsError: string | null;
669
673
  onStatementTypeChange: (value: string) => void;
670
674
  onProgramChange: (value: string) => void;
671
675
  onProductChange: (value: string) => void;
@@ -676,10 +680,12 @@ interface StatementViewProps {
676
680
  onEdit: () => void;
677
681
  onDownloadCSV: () => void;
678
682
  onPrintPDF: () => void;
683
+ onRetryFetch: () => void;
684
+ shouldShowRetry: boolean;
679
685
  isGenerateDisabled: boolean;
680
686
  isLoading: boolean;
681
687
  }
682
- declare const StatementView: ({ statementType, selectedProgram, selectedProduct, accountNumber, startDate, endDate, statementGenerated, programs, products, statementHeader, statementTransactions, onStatementTypeChange, onProgramChange, onProductChange, onAccountNumberChange, onStartDateChange, onEndDateChange, onGenerateStatement, onEdit, onDownloadCSV, onPrintPDF, isGenerateDisabled, isLoading }: StatementViewProps) => react_jsx_runtime.JSX.Element;
688
+ declare const StatementView: ({ statementType, selectedProgram, selectedProduct, accountNumber, startDate, endDate, statementGenerated, programs, products, statementHeader, statementTransactions, programsLoading, productsLoading, programsError, productsError, onStatementTypeChange, onProgramChange, onProductChange, onAccountNumberChange, onStartDateChange, onEndDateChange, onGenerateStatement, onEdit, onDownloadCSV, onPrintPDF, onRetryFetch, shouldShowRetry, isGenerateDisabled, isLoading }: StatementViewProps) => react_jsx_runtime.JSX.Element;
683
689
 
684
690
  interface ACHDetails {
685
691
  type: string;
package/dist/index.d.ts CHANGED
@@ -627,13 +627,13 @@ interface ListPageProps {
627
627
  declare const ListPage: React$1.ForwardRefExoticComponent<ListPageProps & React$1.RefAttributes<HTMLDivElement>>;
628
628
 
629
629
  interface StatementHeader$1 {
630
- account: string;
631
- productId: string;
632
- programId: string;
633
- startDate: string;
634
- endDate: string;
635
- startingBalance: string;
636
- endingBalance: string;
630
+ account?: string;
631
+ productId?: string;
632
+ programId?: string;
633
+ startDate?: string;
634
+ endDate?: string;
635
+ startingBalance?: string;
636
+ endingBalance?: string;
637
637
  }
638
638
  interface StatementTransaction {
639
639
  transactionType: string;
@@ -666,6 +666,10 @@ interface StatementViewProps {
666
666
  }>;
667
667
  statementHeader: StatementHeader$1 | null;
668
668
  statementTransactions: StatementTransaction[];
669
+ programsLoading: boolean;
670
+ productsLoading: boolean;
671
+ programsError: string | null;
672
+ productsError: string | null;
669
673
  onStatementTypeChange: (value: string) => void;
670
674
  onProgramChange: (value: string) => void;
671
675
  onProductChange: (value: string) => void;
@@ -676,10 +680,12 @@ interface StatementViewProps {
676
680
  onEdit: () => void;
677
681
  onDownloadCSV: () => void;
678
682
  onPrintPDF: () => void;
683
+ onRetryFetch: () => void;
684
+ shouldShowRetry: boolean;
679
685
  isGenerateDisabled: boolean;
680
686
  isLoading: boolean;
681
687
  }
682
- declare const StatementView: ({ statementType, selectedProgram, selectedProduct, accountNumber, startDate, endDate, statementGenerated, programs, products, statementHeader, statementTransactions, onStatementTypeChange, onProgramChange, onProductChange, onAccountNumberChange, onStartDateChange, onEndDateChange, onGenerateStatement, onEdit, onDownloadCSV, onPrintPDF, isGenerateDisabled, isLoading }: StatementViewProps) => react_jsx_runtime.JSX.Element;
688
+ declare const StatementView: ({ statementType, selectedProgram, selectedProduct, accountNumber, startDate, endDate, statementGenerated, programs, products, statementHeader, statementTransactions, programsLoading, productsLoading, programsError, productsError, onStatementTypeChange, onProgramChange, onProductChange, onAccountNumberChange, onStartDateChange, onEndDateChange, onGenerateStatement, onEdit, onDownloadCSV, onPrintPDF, onRetryFetch, shouldShowRetry, isGenerateDisabled, isLoading }: StatementViewProps) => react_jsx_runtime.JSX.Element;
683
689
 
684
690
  interface ACHDetails {
685
691
  type: string;