df-ae-forms-package 1.0.27 → 1.0.29
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 +47 -1
- 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 +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -826,6 +826,52 @@ interface IRaiseIssueModalProps {
|
|
|
826
826
|
}
|
|
827
827
|
declare const RaiseIssueModal: React.FC<IRaiseIssueModalProps>;
|
|
828
828
|
|
|
829
|
+
interface IAttachmentData {
|
|
830
|
+
name: string;
|
|
831
|
+
type: string;
|
|
832
|
+
size: number;
|
|
833
|
+
data: string;
|
|
834
|
+
url?: string;
|
|
835
|
+
}
|
|
836
|
+
interface PdfComponentProps {
|
|
837
|
+
id: string;
|
|
838
|
+
name: string;
|
|
839
|
+
basic?: {
|
|
840
|
+
label?: string;
|
|
841
|
+
value?: any;
|
|
842
|
+
defaultValue?: any;
|
|
843
|
+
options?: any[];
|
|
844
|
+
instructions?: string[];
|
|
845
|
+
description?: string;
|
|
846
|
+
notes?: string;
|
|
847
|
+
attachments?: IAttachmentData[];
|
|
848
|
+
};
|
|
849
|
+
validation?: {
|
|
850
|
+
required?: boolean;
|
|
851
|
+
listStyle?: string;
|
|
852
|
+
};
|
|
853
|
+
styles?: {
|
|
854
|
+
column?: number;
|
|
855
|
+
headerBackgroundColor?: string;
|
|
856
|
+
headerTextColor?: string;
|
|
857
|
+
level?: number;
|
|
858
|
+
fontSize?: string;
|
|
859
|
+
textAlign?: string;
|
|
860
|
+
labelAlignment?: 'left' | 'top' | 'right';
|
|
861
|
+
};
|
|
862
|
+
children?: PdfComponentProps[];
|
|
863
|
+
cells?: any[][];
|
|
864
|
+
entries?: any[];
|
|
865
|
+
templateComponents?: PdfComponentProps[];
|
|
866
|
+
}
|
|
867
|
+
interface FormSubmissionPdfProps {
|
|
868
|
+
formTitle: string;
|
|
869
|
+
formDescription?: string;
|
|
870
|
+
userName?: string;
|
|
871
|
+
components: PdfComponentProps[];
|
|
872
|
+
}
|
|
873
|
+
declare const FormSubmissionPdf: React.FC<FormSubmissionPdfProps>;
|
|
874
|
+
|
|
829
875
|
interface IAvailableComponent {
|
|
830
876
|
id: string;
|
|
831
877
|
label: string;
|
|
@@ -955,5 +1001,5 @@ interface IBaseStyleProps {
|
|
|
955
1001
|
}
|
|
956
1002
|
type TFormComponent = FormComponentType;
|
|
957
1003
|
|
|
958
|
-
export { ComponentActionFeatures, ComponentSubmissionActions, DfFormCheckbox, DfFormComments, DfFormDataGrid, DfFormDateTime, DfFormErrorMsg, DfFormFileUpload, DfFormHeading, DfFormInput, DfFormInstruction, DfFormLocation, DfFormPreview, DfFormRadio, DfFormSection, DfFormSegment, DfFormSelect, DfFormSignature, DfFormTable, DfFormTextarea, ELabelAlignment, RaiseIssueModal, ThresholdAlert, conditionalLogicService, toastService };
|
|
1004
|
+
export { ComponentActionFeatures, ComponentSubmissionActions, DfFormCheckbox, DfFormComments, DfFormDataGrid, DfFormDateTime, DfFormErrorMsg, DfFormFileUpload, DfFormHeading, DfFormInput, DfFormInstruction, DfFormLocation, DfFormPreview, DfFormRadio, DfFormSection, DfFormSegment, DfFormSelect, DfFormSignature, DfFormTable, DfFormTextarea, ELabelAlignment, FormSubmissionPdf, RaiseIssueModal, ThresholdAlert, conditionalLogicService, toastService };
|
|
959
1005
|
export type { DataGridEntry, DeviceType, DfFormPreviewProps, ErrorMessageProps, FormComponentProps, FormComponentType, IAvailableComponent, IBaseFormComponent, IBaseProps, IBaseStyleProps, IBaseValidationProps, ICheckboxComponent, ICondition, IConditionalEvaluationResult, IConditionalLogic, IDataGridComponent, IDateComponent, IDatePickerComponent, IDateTimePickerComponent, IDividerComponent, IEmailInputComponent, IFileComponent, IFileUploadComponent, IFormControlChange, IFormValidationErrors, IHeadingComponent, IInstructionComponent, ILocationComponent, INumberInputComponent, IOption, IRadioComponent, ISectionComponent, ISegmentComponent, ISelectComponent, ISignatureComponent, ITableComponent, ITextInputComponent, ITextareaComponent, IToast, TBasicComponentName, TCheckboxValue, TComponentCategory, TComponentName, TFormComponent, TInputComponentType, TableCell, ValidationResult, ValidationRule };
|