UNPKG

@asoftwareworld/form-builder

Version:

ASW Form Builder helps you with rapid development and designed web forms which includes several controls. The key feature of Form Builder is to make your content attractive and effective. We can customize our control at run time and preview the same befor

302 lines (301 loc) 6.57 kB
/** * @license * Copyright ASW (A Software World) All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file */ export declare const SIMPLE_CONTROLS: ({ icon: string; displayName: string; controlType: string; subtype: string; style: string; label: string; column: string; id?: undefined; tooltip?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; placeholder?: undefined; operations?: undefined; color?: undefined; type?: undefined; } | { id: string; icon: string; displayName: string; controlType: string; tooltip: string; value: string; label: string; style: string; column: string; isRequired: boolean; isDisabled: boolean; maxlength: number; minlength: number; subtype?: undefined; placeholder?: undefined; operations?: undefined; color?: undefined; type?: undefined; } | { icon: string; displayName: string; controlType: string; tooltip: string; value: string; label: string; placeholder: string; style: string; column: string; operations: any[]; subtype?: undefined; id?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; color?: undefined; type?: undefined; } | { id: string; icon: string; displayName: string; controlType: string; label: string; column: string; subtype: string; style: string; tooltip?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; placeholder?: undefined; operations?: undefined; color?: undefined; type?: undefined; } | { icon: string; displayName: string; controlType: string; column: string; subtype?: undefined; style?: undefined; label?: undefined; id?: undefined; tooltip?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; placeholder?: undefined; operations?: undefined; color?: undefined; type?: undefined; } | { icon: string; displayName: string; controlType: string; label: string; value: boolean; color: string; column: string; isRequired: boolean; isDisabled: boolean; subtype?: undefined; style?: undefined; id?: undefined; tooltip?: undefined; maxlength?: undefined; minlength?: undefined; placeholder?: undefined; operations?: undefined; type?: undefined; } | { id: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; type: string; column: string; color: string; style: string; subtype?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; placeholder?: undefined; operations?: undefined; })[]; export declare const CHOICE_CONTROLS: ({ id: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; column: string; style: string; isRequired: boolean; isDisabled: boolean; options: { key: string; value: string; isChecked: boolean; }[]; value?: undefined; } | { id: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; style: string; column: string; value: string; isRequired: boolean; isDisabled: boolean; options: { key: string; value: string; isChecked: boolean; }[]; } | { id: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; value: string; column: string; isRequired: boolean; isDisabled: boolean; options: { key: string; value: string; isChecked: boolean; }[]; style?: undefined; } | { id: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; column: string; isRequired: boolean; isDisabled: boolean; options: { key: string; value: string; isChecked: boolean; }[]; style?: undefined; value?: undefined; })[]; export declare const DATE_AND_GPS_CONTROLS: ({ id: string; icon: string; displayName: string; controlType: string; value: string; tooltip: string; label: string; style: string; column: string; isRequired: boolean; isWeekendsDisable: boolean; isDisabled: boolean; latitude?: undefined; longitude?: undefined; } | { id: string; icon: string; displayName: string; controlType: string; label: string; tooltip: string; latitude: string; longitude: string; style: string; column: string; value: string; isRequired: boolean; isDisabled: boolean; isWeekendsDisable?: undefined; })[]; export declare const DIGITAL_CONTROLS: ({ icon: string; displayName: string; controlType: string; label: string; column: string; class: string; imageShape: string; height: number; width: number; imageUrl: string; isRequired?: undefined; } | { icon: string; displayName: string; controlType: string; label: string; class: string; imageUrl: string; column: string; height: string; width: string; imageShape?: undefined; isRequired?: undefined; } | { icon: string; displayName: string; controlType: string; label: string; class: string; imageUrl: string; column: string; isRequired: boolean; height: string; width: string; imageShape?: undefined; })[]; export declare const OTHERS_CONTROLS: { id: string; guid: string; icon: string; displayName: string; controlType: string; density: { errorCorrectionLevel: string; mode: string; typeNumber: number; }; logoStyle: { hideBackgroundCircle: boolean; logoSize: number; logoMargin: number; }; logo: string; width: number; height: number; outerMargin: number; value: string; column: string; }[];