df-ae-forms-package 1.0.2 → 1.0.3
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.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +29 -11
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -789,25 +789,43 @@ interface IThresholdAlertProps {
|
|
|
789
789
|
}
|
|
790
790
|
declare const ThresholdAlert: React.FC<IThresholdAlertProps>;
|
|
791
791
|
|
|
792
|
+
interface IIssue {
|
|
793
|
+
_id?: string;
|
|
794
|
+
issueNumber?: string;
|
|
795
|
+
title?: string;
|
|
796
|
+
description?: string;
|
|
797
|
+
workOrderNumber?: string;
|
|
798
|
+
workOrderId?: string;
|
|
799
|
+
assetNumber?: string;
|
|
800
|
+
assetId?: string;
|
|
801
|
+
assetDescription?: string;
|
|
802
|
+
formTemplateId?: string;
|
|
803
|
+
formInstanceId?: string;
|
|
804
|
+
component?: FormComponentType;
|
|
805
|
+
priority?: 'High' | 'Medium' | 'Low';
|
|
806
|
+
status?: string;
|
|
807
|
+
assignee?: string;
|
|
808
|
+
comments?: string;
|
|
809
|
+
createdAt?: string;
|
|
810
|
+
}
|
|
792
811
|
interface IRaiseIssueModalProps {
|
|
793
812
|
isOpen: boolean;
|
|
794
813
|
onClose: () => void;
|
|
795
|
-
onSuccess?: (createdIssue?:
|
|
814
|
+
onSuccess?: (createdIssue?: IIssue) => void;
|
|
796
815
|
component?: FormComponentType;
|
|
797
816
|
formTemplateId?: string;
|
|
798
817
|
formInstanceId?: string;
|
|
799
818
|
notes?: string;
|
|
800
819
|
attachments?: File[] | null;
|
|
801
|
-
issue?:
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
*/
|
|
820
|
+
issue?: IIssue | null;
|
|
821
|
+
onCreateIssue?: (issueData: any, attachments: File[]) => Promise<IIssue>;
|
|
822
|
+
onUpdateIssue?: (issueId: string, updateData: any) => Promise<void>;
|
|
823
|
+
user?: {
|
|
824
|
+
firstName?: string;
|
|
825
|
+
lastName?: string;
|
|
826
|
+
};
|
|
827
|
+
availableUsers?: string[];
|
|
828
|
+
}
|
|
811
829
|
declare const RaiseIssueModal: React.FC<IRaiseIssueModalProps>;
|
|
812
830
|
|
|
813
831
|
interface IAvailableComponent {
|