@docuninja/builder2.0 0.0.78 → 0.0.83

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.
@@ -6,4 +6,5 @@ export declare function $save(): void;
6
6
  export declare function $noSignatoryWarning(): void;
7
7
  export declare function $openCreateDialog(): void;
8
8
  export declare function $connectWebsockets(): void;
9
+ export declare function $hasPendingFiles(): boolean;
9
10
  export declare function $retryImage(element: HTMLImageElement, initialDelay?: number): void;
@@ -53,9 +53,6 @@ export type NavigateButtonProps = {
53
53
  onClick: () => void;
54
54
  disabled: boolean;
55
55
  };
56
- export type SuccessProps = {
57
- closeTab: () => void;
58
- };
59
56
  export type ConsentScreenProps = {
60
57
  onCheckboxChange: (checked: boolean) => void;
61
58
  };
@@ -1,7 +1,7 @@
1
1
  import { Axios } from 'axios';
2
2
  import { Document } from '../types/api';
3
3
  import { Builder } from '../ui';
4
- import { ConsentContinueButtonProps, ConsentDownloadButtonProps, ConsentScreenProps, DateInputProps, MinimizeButtonProps, NavigateButtonProps, SignCardProps, SignatureSelectorButtonProps, SignatureSelectorDialogProps, SignatureSelectorInputProps, StartSigningButtonProps, SubmitButtonProps, SuccessProps } from './component-types';
4
+ import { ConsentContinueButtonProps, ConsentDownloadButtonProps, ConsentScreenProps, DateInputProps, MinimizeButtonProps, NavigateButtonProps, SignCardProps, SignatureSelectorButtonProps, SignatureSelectorDialogProps, SignatureSelectorInputProps, StartSigningButtonProps, SubmitButtonProps } from './component-types';
5
5
  export type Sign = {
6
6
  document: string;
7
7
  invitation: string;
@@ -12,7 +12,7 @@ export type Sign = {
12
12
  minimize: React.ComponentType<MinimizeButtonProps>;
13
13
  submit: React.ComponentType<SubmitButtonProps>;
14
14
  dateInput: React.ComponentType<DateInputProps>;
15
- success: React.ComponentType<SuccessProps>;
15
+ success: React.ComponentType;
16
16
  card: {
17
17
  card: React.ComponentType<SignCardProps>;
18
18
  };
@@ -1,3 +1,3 @@
1
1
  import { Document } from '../types/api';
2
- export declare function Success(): import("@emotion/react/jsx-runtime").JSX.Element | null;
2
+ export declare function Success(): import("@emotion/react/jsx-runtime").JSX.Element;
3
3
  export declare function isDownloadAvailable(document: Document | null): boolean;
@@ -174,7 +174,6 @@ export interface Document {
174
174
  signatures?: DocumentSignature[];
175
175
  signatoryOrder: string[];
176
176
  metadata: Record<string, unknown> | null;
177
- pending_files: boolean;
178
177
  }
179
178
  export interface DocumentFile {
180
179
  id: string;
package/dist/builder.d.ts CHANGED
@@ -415,7 +415,6 @@ declare interface Document_2 {
415
415
  signatures?: DocumentSignature[];
416
416
  signatoryOrder: string[];
417
417
  metadata: Record<string, unknown> | null;
418
- pending_files: boolean;
419
418
  }
420
419
  export { Document_2 as Document }
421
420
 
@@ -744,7 +743,7 @@ export declare type Sign = {
744
743
  minimize: React.ComponentType<MinimizeButtonProps>;
745
744
  submit: React.ComponentType<SubmitButtonProps>;
746
745
  dateInput: React.ComponentType<DateInputProps>;
747
- success: React.ComponentType<SuccessProps>;
746
+ success: React.ComponentType;
748
747
  card: {
749
748
  card: React.ComponentType<SignCardProps>;
750
749
  };
@@ -843,10 +842,6 @@ export declare type SubmitButtonProps = {
843
842
  onClick: () => void;
844
843
  };
845
844
 
846
- export declare type SuccessProps = {
847
- closeTab: () => void;
848
- };
849
-
850
845
  export declare interface Template {
851
846
  id: string;
852
847
  name: string;