@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
42 lines (41 loc) • 2.27 kB
TypeScript
/**
* @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
*/
import { EventEmitter, OnInit } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { CSSFrameworkEnum } from '@asoftwareworld/form-builder-pro/api';
import { AswApiService } from '@asoftwareworld/form-builder-pro/common';
import { RadioButtonControl } from './radio-button-control';
import * as i0 from "@angular/core";
export declare class AswRadioButton implements OnInit {
dialog: MatDialog;
private aswApiService;
constants: any;
icons: any;
/**
* RadioButton control
*/
control: any;
propertyPersonalization: string[];
isPreviewTemplate: boolean;
CSSFramework: CSSFrameworkEnum;
formControls: any[];
radioButtonUpdateEvent: EventEmitter<RadioButtonControl>;
radioButtonDeleteEvent: EventEmitter<RadioButtonControl>;
selectionChange: EventEmitter<RadioButtonControl>;
duplicateControl: EventEmitter<RadioButtonControl>;
constructor(dialog: MatDialog, aswApiService: AswApiService);
ngOnInit(): void;
private callApiToFetchData;
deleteRadioButtonDialog(control: RadioButtonControl): void;
editRadioButtonDialog(control: RadioButtonControl, formControls: any[]): void;
onSelectionChange(control: RadioButtonControl): void;
duplicateRadioButtonControl(control: RadioButtonControl): void;
private getAllExceptCurrentControl;
static ɵfac: i0.ɵɵFactoryDeclaration<AswRadioButton, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AswRadioButton, "asw-radio-button", never, { "control": { "alias": "control"; "required": false; }; "propertyPersonalization": { "alias": "propertyPersonalization"; "required": false; }; "isPreviewTemplate": { "alias": "isPreviewTemplate"; "required": false; }; "CSSFramework": { "alias": "CSSFramework"; "required": false; }; "formControls": { "alias": "formControls"; "required": false; }; }, { "radioButtonUpdateEvent": "radioButtonUpdateEvent"; "radioButtonDeleteEvent": "radioButtonDeleteEvent"; "selectionChange": "selectionChange"; "duplicateControl": "duplicateControl"; }, never, never, false, never>;
}