UNPKG

@asoftwareworld/form-builder-pro

Version:

ASW Form Builder Pro 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 b

498 lines (497 loc) 11.4 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: ({ id: string; guid: string; icon: string; displayName: string; controlType: string; subtype: string; style: string; label: string; tooltip?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; color?: undefined; type?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; value: string; label: string; style: string; isRequired: boolean; isDisabled: boolean; maxlength: number; minlength: number; subtype?: undefined; color?: undefined; type?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; label: string; subtype?: undefined; style?: undefined; tooltip?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; color?: undefined; type?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; subtype?: undefined; style?: undefined; label?: undefined; tooltip?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; color?: undefined; type?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; label: string; value: boolean; color: string; isRequired: boolean; isDisabled: boolean; subtype?: undefined; style?: undefined; tooltip?: undefined; maxlength?: undefined; minlength?: undefined; type?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; type: string; color: string; style: string; subtype?: undefined; value?: undefined; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; })[]; export declare const CHOICE_CONTROLS: ({ id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; value: string; style: string; isRequired: boolean; isDisabled: boolean; options: { key: string; value: string; isChecked: boolean; }[]; labelType?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; value: string; isRequired: boolean; isDisabled: boolean; labelType: string; options: { key: string; value: string; isChecked: boolean; }[]; style?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; label: string; isRequired: boolean; isDisabled: boolean; labelType: string; options: { key: string; value: string; isChecked: boolean; }[]; value?: undefined; style?: undefined; })[]; export declare const ADVANCED_CONTROLS: ({ id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; value: string; label: string; style: string; isRequired: boolean; isDisabled: boolean; maxlength: number; minlength: number; currencySymbol?: undefined; placeholder?: undefined; operations?: undefined; type?: undefined; mode?: undefined; defaultView?: undefined; yearSelector?: undefined; twelveHour?: undefined; isDisableWeekendDates?: undefined; latitude?: undefined; longitude?: undefined; minSize?: undefined; maxSize?: undefined; fileTypes?: undefined; allowMultipleFile?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; value: string; currencySymbol: string; label: string; style: string; isRequired: boolean; isDisabled: boolean; maxlength: number; minlength: number; placeholder?: undefined; operations?: undefined; type?: undefined; mode?: undefined; defaultView?: undefined; yearSelector?: undefined; twelveHour?: undefined; isDisableWeekendDates?: undefined; latitude?: undefined; longitude?: undefined; minSize?: undefined; maxSize?: undefined; fileTypes?: undefined; allowMultipleFile?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; value: string; label: string; placeholder: string; style: string; operations: any[]; isRequired?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; currencySymbol?: undefined; type?: undefined; mode?: undefined; defaultView?: undefined; yearSelector?: undefined; twelveHour?: undefined; isDisableWeekendDates?: undefined; latitude?: undefined; longitude?: undefined; minSize?: undefined; maxSize?: undefined; fileTypes?: undefined; allowMultipleFile?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; tooltip: string; value: string; label: string; style: string; isRequired: boolean; isDisabled: boolean; minlength: number; maxlength?: undefined; currencySymbol?: undefined; placeholder?: undefined; operations?: undefined; type?: undefined; mode?: undefined; defaultView?: undefined; yearSelector?: undefined; twelveHour?: undefined; isDisableWeekendDates?: undefined; latitude?: undefined; longitude?: undefined; minSize?: undefined; maxSize?: undefined; fileTypes?: undefined; allowMultipleFile?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; value: string; tooltip: string; label: string; style: string; type: string; mode: string; defaultView: string; yearSelector: boolean; twelveHour: boolean; isRequired: boolean; isDisabled: boolean; isDisableWeekendDates: boolean; maxlength?: undefined; minlength?: undefined; currencySymbol?: undefined; placeholder?: undefined; operations?: undefined; latitude?: undefined; longitude?: undefined; minSize?: undefined; maxSize?: undefined; fileTypes?: undefined; allowMultipleFile?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; label: string; tooltip: string; latitude: string; longitude: string; style: string; value: string; isRequired: boolean; isDisabled: boolean; maxlength?: undefined; minlength?: undefined; currencySymbol?: undefined; placeholder?: undefined; operations?: undefined; type?: undefined; mode?: undefined; defaultView?: undefined; yearSelector?: undefined; twelveHour?: undefined; isDisableWeekendDates?: undefined; minSize?: undefined; maxSize?: undefined; fileTypes?: undefined; allowMultipleFile?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; label: string; value: any[]; minSize: string; maxSize: string; fileTypes: string; allowMultipleFile: string; isRequired: boolean; tooltip?: undefined; style?: undefined; isDisabled?: undefined; maxlength?: undefined; minlength?: undefined; currencySymbol?: undefined; placeholder?: undefined; operations?: undefined; type?: undefined; mode?: undefined; defaultView?: undefined; yearSelector?: undefined; twelveHour?: undefined; isDisableWeekendDates?: undefined; latitude?: undefined; longitude?: undefined; })[]; export declare const DIGITAL_CONTROLS: ({ id: string; guid: string; icon: string; displayName: string; controlType: string; label: string; class: string; imageShape: string; height: number; width: number; imageUrl: string; isUploadHide: boolean; isRequired?: undefined; density?: undefined; logoStyle?: undefined; backgroundColor?: undefined; middleShape?: undefined; cornerInnerShape?: undefined; cornerOuterShape?: undefined; logo?: undefined; type?: undefined; outerMargin?: undefined; value?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; label: string; class: string; imageUrl: string; height: string; width: string; isUploadHide: boolean; imageShape?: undefined; isRequired?: undefined; density?: undefined; logoStyle?: undefined; backgroundColor?: undefined; middleShape?: undefined; cornerInnerShape?: undefined; cornerOuterShape?: undefined; logo?: undefined; type?: undefined; outerMargin?: undefined; value?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; label: string; class: string; imageUrl: string; isRequired: boolean; height: string; width: string; isUploadHide: boolean; imageShape?: undefined; density?: undefined; logoStyle?: undefined; backgroundColor?: undefined; middleShape?: undefined; cornerInnerShape?: undefined; cornerOuterShape?: undefined; logo?: undefined; type?: undefined; outerMargin?: undefined; value?: undefined; } | { id: string; guid: string; icon: string; displayName: string; controlType: string; density: { errorCorrectionLevel: string; mode: string; typeNumber: number; }; logoStyle: { hideBackgroundCircle: boolean; logoSize: number; logoMargin: number; }; backgroundColor: string; middleShape: { color: string; type: string; }; cornerInnerShape: { color: string; type: string; }; cornerOuterShape: { color: string; type: string; }; logo: string; width: number; height: number; type: string; outerMargin: number; value: string; label?: undefined; class?: undefined; imageShape?: undefined; imageUrl?: undefined; isUploadHide?: undefined; isRequired?: undefined; })[]; export declare const LAYOUT_CONTROLS: { id: string; guid: string; label: string; icon: string; displayName: string; controlType: string; isColumnHidden: boolean; columns: { components: any[]; size: string; width: number; }[]; }[];