df-ae-forms-package 1.0.39 → 1.0.41

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.ts CHANGED
@@ -413,6 +413,8 @@ interface DfFormPreviewProps {
413
413
  firstName?: string;
414
414
  lastName?: string;
415
415
  };
416
+ onCreateIssue?: (issueData: any, attachments: File[]) => Promise<any>;
417
+ onUpdateIssue?: (issueId: string, updateData: any) => Promise<void>;
416
418
  }
417
419
  declare const DfFormPreview: React.FC<DfFormPreviewProps>;
418
420
 
@@ -698,6 +700,8 @@ interface DfFormSectionProps {
698
700
  firstName?: string;
699
701
  lastName?: string;
700
702
  };
703
+ onCreateIssue?: (issueData: any, attachments: File[]) => Promise<any>;
704
+ onUpdateIssue?: (issueId: string, updateData: any) => Promise<void>;
701
705
  }
702
706
  declare const DfFormSection: React.FC<DfFormSectionProps>;
703
707
 
@@ -737,6 +741,8 @@ interface DfFormDataGridProps {
737
741
  onAttachmentChange?: (componentId: string, attachments: File[] | null) => void;
738
742
  workOrderNumber?: string;
739
743
  assetNumber?: string;
744
+ onCreateIssue?: (issueData: any, attachments: File[]) => Promise<any>;
745
+ onUpdateIssue?: (issueId: string, updateData: any) => Promise<void>;
740
746
  }
741
747
  declare const DfFormDataGrid: React.FC<DfFormDataGridProps>;
742
748
 
@@ -783,6 +789,8 @@ interface DfFormTableProps {
783
789
  firstName?: string;
784
790
  lastName?: string;
785
791
  };
792
+ onCreateIssue?: (issueData: any, attachments: File[]) => Promise<any>;
793
+ onUpdateIssue?: (issueId: string, updateData: any) => Promise<void>;
786
794
  }
787
795
  declare const DfFormTable: React.FC<DfFormTableProps>;
788
796
 
@@ -805,6 +813,8 @@ interface IComponentActionFeaturesProps {
805
813
  firstName?: string;
806
814
  lastName?: string;
807
815
  };
816
+ onCreateIssue?: (issueData: any, attachments: File[]) => Promise<any>;
817
+ onUpdateIssue?: (issueId: string, updateData: any) => Promise<void>;
808
818
  }
809
819
  declare const ComponentActionFeatures: React.FC<IComponentActionFeaturesProps>;
810
820
 
@@ -848,6 +858,7 @@ interface IIssue {
848
858
  comments?: string;
849
859
  attachments?: any[];
850
860
  createdAt?: string;
861
+ updatedAt?: string;
851
862
  createdBy?: string;
852
863
  }
853
864
  interface IRaiseIssueModalProps {
@@ -869,6 +880,7 @@ interface IRaiseIssueModalProps {
869
880
  workOrderNumber?: string;
870
881
  assetNumber?: string;
871
882
  isStandalone?: boolean;
883
+ allowWorkflowActions?: boolean;
872
884
  }
873
885
  declare const RaiseIssueModal: React.FC<IRaiseIssueModalProps>;
874
886