alert-component.metadata.json 7.6KB

1
  1. [{"__symbolic":"module","version":3,"metadata":{"AlertCmp":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-alert","template":"<ion-backdrop (click)=\"bdClick()\" [class.backdrop-no-tappable]=\"!d.enableBackdropDismiss\"></ion-backdrop><div class=\"alert-wrapper\"><div class=\"alert-head\"><h2 id=\"{{hdrId}}\" class=\"alert-title\" *ngIf=\"d.title\" [innerHTML]=\"d.title\"></h2><h3 id=\"{{subHdrId}}\" class=\"alert-sub-title\" *ngIf=\"d.subTitle\" [innerHTML]=\"d.subTitle\"></h3></div><div id=\"{{msgId}}\" class=\"alert-message\" [innerHTML]=\"d.message\"></div><div *ngIf=\"d.inputs.length\" [ngSwitch]=\"inputType\"><ng-template ngSwitchCase=\"radio\"><div class=\"alert-radio-group\" role=\"radiogroup\" [attr.aria-labelledby]=\"hdrId\" [attr.aria-activedescendant]=\"activeId\"><button ion-button=\"alert-radio-button\" *ngFor=\"let i of d.inputs\" (click)=\"rbClick(i)\" [attr.aria-checked]=\"i.checked\" [disabled]=\"i.disabled\" [attr.id]=\"i.id\" class=\"alert-tappable alert-radio\" role=\"radio\"><div class=\"alert-radio-icon\"><div class=\"alert-radio-inner\"></div></div><div class=\"alert-radio-label\">{{i.label}}</div></button></div></ng-template><ng-template ngSwitchCase=\"checkbox\"><div class=\"alert-checkbox-group\"><button ion-button=\"alert-checkbox-button\" *ngFor=\"let i of d.inputs\" (click)=\"cbClick(i)\" [attr.aria-checked]=\"i.checked\" [attr.id]=\"i.id\" [disabled]=\"i.disabled\" class=\"alert-tappable alert-checkbox\" role=\"checkbox\"><div class=\"alert-checkbox-icon\"><div class=\"alert-checkbox-inner\"></div></div><div class=\"alert-checkbox-label\">{{i.label}}</div></button></div></ng-template><ng-template ngSwitchDefault><div class=\"alert-input-group\"><div *ngFor=\"let i of d.inputs\" class=\"alert-input-wrapper\"><input [placeholder]=\"i.placeholder\" [(ngModel)]=\"i.value\" [type]=\"i.type\" dir=\"auto\" [min]=\"i.min\" [max]=\"i.max\" [attr.id]=\"i.id\" class=\"alert-input\"></div></div></ng-template></div><div class=\"alert-button-group\" [ngClass]=\"{'alert-button-group-vertical':d.buttons.length>2}\"><button ion-button=\"alert-button\" *ngFor=\"let b of d.buttons\" (click)=\"btnClick(b)\" [ngClass]=\"b.cssClass\">{{b.text}}</button></div></div>","host":{"role":"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId","$quoted$":["role","[attr.aria-labelledby]","[attr.aria-describedby]"]},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../navigation/view-controller","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../../config/config","name":"Config"},{"__symbolic":"reference","module":"../../gestures/gesture-controller","name":"GestureController"},{"__symbolic":"reference","module":"../../navigation/nav-params","name":"NavParams"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../../platform/platform","name":"Platform"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ionViewWillEnter":[{"__symbolic":"method"}],"ionViewDidLeave":[{"__symbolic":"method"}],"ionViewDidEnter":[{"__symbolic":"method"}],"keyUp":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["body:keyup",["$event"]]}]}],"btnClick":[{"__symbolic":"method"}],"rbClick":[{"__symbolic":"method"}],"cbClick":[{"__symbolic":"method"}],"bdClick":[{"__symbolic":"method"}],"dismiss":[{"__symbolic":"method"}],"getValues":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"AlertCmp":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ion-alert","template":"<ion-backdrop (click)=\"bdClick()\" [class.backdrop-no-tappable]=\"!d.enableBackdropDismiss\"></ion-backdrop><div class=\"alert-wrapper\"><div class=\"alert-head\"><h2 id=\"{{hdrId}}\" class=\"alert-title\" *ngIf=\"d.title\" [innerHTML]=\"d.title\"></h2><h3 id=\"{{subHdrId}}\" class=\"alert-sub-title\" *ngIf=\"d.subTitle\" [innerHTML]=\"d.subTitle\"></h3></div><div id=\"{{msgId}}\" class=\"alert-message\" [innerHTML]=\"d.message\"></div><div *ngIf=\"d.inputs.length\" [ngSwitch]=\"inputType\"><ng-template ngSwitchCase=\"radio\"><div class=\"alert-radio-group\" role=\"radiogroup\" [attr.aria-labelledby]=\"hdrId\" [attr.aria-activedescendant]=\"activeId\"><button ion-button=\"alert-radio-button\" *ngFor=\"let i of d.inputs\" (click)=\"rbClick(i)\" [attr.aria-checked]=\"i.checked\" [disabled]=\"i.disabled\" [attr.id]=\"i.id\" class=\"alert-tappable alert-radio\" role=\"radio\"><div class=\"alert-radio-icon\"><div class=\"alert-radio-inner\"></div></div><div class=\"alert-radio-label\">{{i.label}}</div></button></div></ng-template><ng-template ngSwitchCase=\"checkbox\"><div class=\"alert-checkbox-group\"><button ion-button=\"alert-checkbox-button\" *ngFor=\"let i of d.inputs\" (click)=\"cbClick(i)\" [attr.aria-checked]=\"i.checked\" [attr.id]=\"i.id\" [disabled]=\"i.disabled\" class=\"alert-tappable alert-checkbox\" role=\"checkbox\"><div class=\"alert-checkbox-icon\"><div class=\"alert-checkbox-inner\"></div></div><div class=\"alert-checkbox-label\">{{i.label}}</div></button></div></ng-template><ng-template ngSwitchDefault><div class=\"alert-input-group\"><div *ngFor=\"let i of d.inputs\" class=\"alert-input-wrapper\"><input [placeholder]=\"i.placeholder\" [(ngModel)]=\"i.value\" [type]=\"i.type\" dir=\"auto\" [min]=\"i.min\" [max]=\"i.max\" [attr.id]=\"i.id\" class=\"alert-input\"></div></div></ng-template></div><div class=\"alert-button-group\" [ngClass]=\"{'alert-button-group-vertical':d.buttons.length>2}\"><button ion-button=\"alert-button\" *ngFor=\"let b of d.buttons\" (click)=\"btnClick(b)\" [ngClass]=\"b.cssClass\">{{b.text}}</button></div></div>","host":{"role":"dialog","[attr.aria-labelledby]":"hdrId","[attr.aria-describedby]":"descId"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../navigation/view-controller","name":"ViewController"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"../../config/config","name":"Config"},{"__symbolic":"reference","module":"../../gestures/gesture-controller","name":"GestureController"},{"__symbolic":"reference","module":"../../navigation/nav-params","name":"NavParams"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"},{"__symbolic":"reference","module":"../../platform/platform","name":"Platform"}]}],"ionViewDidLoad":[{"__symbolic":"method"}],"ionViewWillEnter":[{"__symbolic":"method"}],"ionViewDidLeave":[{"__symbolic":"method"}],"ionViewDidEnter":[{"__symbolic":"method"}],"keyUp":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["body:keyup",["$event"]]}]}],"btnClick":[{"__symbolic":"method"}],"rbClick":[{"__symbolic":"method"}],"cbClick":[{"__symbolic":"method"}],"bdClick":[{"__symbolic":"method"}],"dismiss":[{"__symbolic":"method"}],"getValues":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]