ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
1 lines • 8.68 kB
JSON
{"__symbolic":"module","version":4,"metadata":{"NzMNService":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ng-zorro-antd/core/services","name":"NzSingletonService","line":20,"character":44},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":20,"character":83},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":20,"character":110}]}],"remove":[{"__symbolic":"method"}],"getInstanceId":[{"__symbolic":"method"}],"withContainer":[{"__symbolic":"method"}]}},"NzMNContainerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":61,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":68,"character":29},{"__symbolic":"reference","module":"ng-zorro-antd/core/config","name":"NzConfigService","line":68,"character":75}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"removeAll":[{"__symbolic":"method"}],"onCreate":[{"__symbolic":"method"}],"onRemove":[{"__symbolic":"method"}],"readyInstances":[{"__symbolic":"method"}],"updateConfig":[{"__symbolic":"method"}],"subscribeConfigChange":[{"__symbolic":"method"}],"mergeOptions":[{"__symbolic":"method"}]}},"NzMNComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":140,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":68,"character":29}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"onEnter":[{"__symbolic":"method"}],"onLeave":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"initErase":[{"__symbolic":"method"}],"updateTTL":[{"__symbolic":"method"}],"startEraseTimeout":[{"__symbolic":"method"}],"clearEraseTimeout":[{"__symbolic":"method"}]}},"NzMessageService":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NzMNService"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":14,"character":1},"arguments":[{"providedIn":{"__symbolic":"reference","name":"NzMessageServiceModule"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ng-zorro-antd/core/services","name":"NzSingletonService","line":21,"character":34},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":21,"character":63},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":21,"character":82}]}],"success":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"warning":[{"__symbolic":"method"}],"loading":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"}],"createInstance":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"NzMessageServiceModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1}}],"members":{}},"NzMessageModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":12},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":15,"character":26},{"__symbolic":"reference","module":"ng-zorro-antd/icon","name":"NzIconModule","line":15,"character":41},{"__symbolic":"reference","module":"ng-zorro-antd/core/outlet","name":"NzOutletModule","line":15,"character":55},{"__symbolic":"reference","name":"NzMessageServiceModule"}],"declarations":[{"__symbolic":"reference","name":"NzMessageContainerComponent"},{"__symbolic":"reference","name":"NzMessageComponent"}],"entryComponents":[{"__symbolic":"reference","name":"NzMessageContainerComponent"}]}]}],"members":{}},"NzMessageComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NzMNComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":22,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":23,"character":17},"member":"None"},"selector":"nz-message","exportAs":"nzMessage","preserveWhitespaces":false,"animations":[{"__symbolic":"reference","module":"ng-zorro-antd/core/animation","name":"moveUpMotion","line":27,"character":15}],"template":"\n <div class=\"ant-message-notice\" [@moveUpMotion]=\"instance.state\" (mouseenter)=\"onEnter()\" (mouseleave)=\"onLeave()\">\n <div class=\"ant-message-notice-content\">\n <div class=\"ant-message-custom-content\" [ngClass]=\"'ant-message-' + instance.type\">\n <ng-container [ngSwitch]=\"instance.type\">\n <i *ngSwitchCase=\"'success'\" nz-icon nzType=\"check-circle\"></i>\n <i *ngSwitchCase=\"'info'\" nz-icon nzType=\"info-circle\"></i>\n <i *ngSwitchCase=\"'warning'\" nz-icon nzType=\"exclamation-circle\"></i>\n <i *ngSwitchCase=\"'error'\" nz-icon nzType=\"close-circle\"></i>\n <i *ngSwitchCase=\"'loading'\" nz-icon nzType=\"loading\"></i>\n </ng-container>\n <ng-container *nzStringTemplateOutlet=\"instance.content\">\n <span [innerHTML]=\"instance.content\"></span>\n </ng-container>\n </div>\n </div>\n </div>\n "}]}],"members":{"instance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"destroyed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":49,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":51,"character":19}]}]}},"NzMessageType":{"__symbolic":"interface"},"NzMessageDataOptions":{"__symbolic":"interface"},"NzMessageData":{"__symbolic":"interface"},"NzMessageRef":{"__symbolic":"interface"},"NzMessageContainerComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NzMNContainerComponent"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":24,"character":1},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":25,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":26,"character":17},"member":"None"},"selector":"nz-message-container","exportAs":"nzMessageContainer","preserveWhitespaces":false,"template":"\n <div class=\"ant-message\" [style.top]=\"top\">\n <nz-message *ngFor=\"let instance of instances\" [instance]=\"instance\" (destroyed)=\"remove($event.id, $event.userAction)\"></nz-message>\n </div>\n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":42,"character":19},{"__symbolic":"reference","module":"ng-zorro-antd/core/config","name":"NzConfigService","line":42,"character":55}]}],"subscribeConfigChange":[{"__symbolic":"method"}],"updateConfig":[{"__symbolic":"method"}]}}},"origins":{"NzMNService":"./base","NzMNContainerComponent":"./base","NzMNComponent":"./base","NzMessageService":"./message.service","NzMessageServiceModule":"./message.service.module","NzMessageModule":"./message.module","NzMessageComponent":"./message.component","NzMessageType":"./typings","NzMessageDataOptions":"./typings","NzMessageData":"./typings","NzMessageRef":"./typings","NzMessageContainerComponent":"./message-container.component"},"importAs":"ng-zorro-antd/message"}