df-ae-forms-package 1.0.35 → 1.0.36
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 -0
- 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
|
@@ -408,6 +408,11 @@ interface DfFormPreviewProps {
|
|
|
408
408
|
selectedComponent?: FormComponentType | null;
|
|
409
409
|
workOrderNumber?: string;
|
|
410
410
|
assetNumber?: string;
|
|
411
|
+
isStandalone?: boolean;
|
|
412
|
+
user?: {
|
|
413
|
+
firstName?: string;
|
|
414
|
+
lastName?: string;
|
|
415
|
+
};
|
|
411
416
|
}
|
|
412
417
|
declare const DfFormPreview: React.FC<DfFormPreviewProps>;
|
|
413
418
|
|
|
@@ -432,6 +437,10 @@ interface DfFormInputProps {
|
|
|
432
437
|
raisedThresholdIssues?: Set<string>;
|
|
433
438
|
workOrderNumber?: string;
|
|
434
439
|
assetNumber?: string;
|
|
440
|
+
user?: {
|
|
441
|
+
firstName?: string;
|
|
442
|
+
lastName?: string;
|
|
443
|
+
};
|
|
435
444
|
}
|
|
436
445
|
declare const DfFormInput: React.FC<DfFormInputProps>;
|
|
437
446
|
|
|
@@ -683,6 +692,8 @@ interface DfFormSectionProps {
|
|
|
683
692
|
onThresholdIssueRaised?: (conditionId: string) => void;
|
|
684
693
|
onNotesChange?: (componentId: string, notes: string) => void;
|
|
685
694
|
onAttachmentChange?: (componentId: string, attachments: File[] | null) => void;
|
|
695
|
+
workOrderNumber?: string;
|
|
696
|
+
assetNumber?: string;
|
|
686
697
|
}
|
|
687
698
|
declare const DfFormSection: React.FC<DfFormSectionProps>;
|
|
688
699
|
|
|
@@ -720,6 +731,8 @@ interface DfFormDataGridProps {
|
|
|
720
731
|
onThresholdIssueRaised?: (conditionId: string) => void;
|
|
721
732
|
onNotesChange?: (componentId: string, notes: string) => void;
|
|
722
733
|
onAttachmentChange?: (componentId: string, attachments: File[] | null) => void;
|
|
734
|
+
workOrderNumber?: string;
|
|
735
|
+
assetNumber?: string;
|
|
723
736
|
}
|
|
724
737
|
declare const DfFormDataGrid: React.FC<DfFormDataGridProps>;
|
|
725
738
|
|
|
@@ -760,6 +773,8 @@ interface DfFormTableProps {
|
|
|
760
773
|
onThresholdIssueRaised?: (conditionId: string) => void;
|
|
761
774
|
onNotesChange?: (componentId: string, notes: string) => void;
|
|
762
775
|
onAttachmentChange?: (componentId: string, attachments: File[] | null) => void;
|
|
776
|
+
workOrderNumber?: string;
|
|
777
|
+
assetNumber?: string;
|
|
763
778
|
}
|
|
764
779
|
declare const DfFormTable: React.FC<DfFormTableProps>;
|
|
765
780
|
|
|
@@ -775,6 +790,13 @@ interface IComponentActionFeaturesProps {
|
|
|
775
790
|
onThresholdActionCompletion?: (conditionId: string, action: 'notes' | 'attachments' | 'email', completed: boolean) => void;
|
|
776
791
|
onThresholdIssueRaised?: (conditionId: string) => void;
|
|
777
792
|
onBasicPropertyActionCompletion?: (action: 'notes' | 'attachments' | 'email' | 'issue', completed: boolean) => void;
|
|
793
|
+
workOrderNumber?: string;
|
|
794
|
+
assetNumber?: string;
|
|
795
|
+
isStandalone?: boolean;
|
|
796
|
+
user?: {
|
|
797
|
+
firstName?: string;
|
|
798
|
+
lastName?: string;
|
|
799
|
+
};
|
|
778
800
|
}
|
|
779
801
|
declare const ComponentActionFeatures: React.FC<IComponentActionFeaturesProps>;
|
|
780
802
|
|
|
@@ -791,6 +813,10 @@ interface IThresholdAlertProps {
|
|
|
791
813
|
formTemplateId?: string;
|
|
792
814
|
workOrderNumber?: string;
|
|
793
815
|
assetNumber?: string;
|
|
816
|
+
user?: {
|
|
817
|
+
firstName?: string;
|
|
818
|
+
lastName?: string;
|
|
819
|
+
};
|
|
794
820
|
onDismiss?: () => void;
|
|
795
821
|
onIssueRaised?: (conditionId: string) => void;
|
|
796
822
|
isIssueRaised?: boolean;
|
|
@@ -810,8 +836,10 @@ interface IIssue {
|
|
|
810
836
|
priority?: 'High' | 'Medium' | 'Low';
|
|
811
837
|
status?: string;
|
|
812
838
|
assignee?: string;
|
|
839
|
+
assignTo?: string;
|
|
813
840
|
comments?: string;
|
|
814
841
|
createdAt?: string;
|
|
842
|
+
createdBy?: string;
|
|
815
843
|
}
|
|
816
844
|
interface IRaiseIssueModalProps {
|
|
817
845
|
isOpen: boolean;
|
|
@@ -831,6 +859,7 @@ interface IRaiseIssueModalProps {
|
|
|
831
859
|
availableUsers?: string[];
|
|
832
860
|
workOrderNumber?: string;
|
|
833
861
|
assetNumber?: string;
|
|
862
|
+
isStandalone?: boolean;
|
|
834
863
|
}
|
|
835
864
|
declare const RaiseIssueModal: React.FC<IRaiseIssueModalProps>;
|
|
836
865
|
|