@ngneat/overview
Advanced tools
Comparing version 1.0.0-beta.5 to 1.0.0-beta.6
@@ -166,3 +166,5 @@ (function (global, factory) { | ||
this.subscription = this.service.outlet$(this.teleportTo).subscribe(function (outlet) { | ||
_this.viewRef = outlet.createEmbeddedView(_this.tpl); | ||
if (outlet) { | ||
_this.viewRef = outlet.createEmbeddedView(_this.tpl); | ||
} | ||
}); | ||
@@ -169,0 +171,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@ngneat/overview",["exports","@angular/common","@angular/core","rxjs","rxjs/operators"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).ngneat=t.ngneat||{},t.ngneat.overview={}),t.ng.common,t.ng.core,t.rxjs,t.rxjs.operators)}(this,(function(t,e,n,o,r){"use strict";var i;!function(t){t[t.String=0]="String",t[t.Template=1]="Template",t[t.Component=2]="Component"}(i||(i={}));var s=function(){function t(){this.ContentType=i,this.contentType=i.String}return Object.defineProperty(t.prototype,"content",{get:function(){return this._content},set:function(t){this._content=t,this.resolveContentType()},enumerable:!1,configurable:!0}),t.prototype.resolveContentType=function(){"string"==typeof this.content?this.contentType=i.String:this.content instanceof n.TemplateRef?this.contentType=i.Template:this.contentType=i.Component},t}();s.decorators=[{type:n.Component,args:[{selector:"dynamic-content",template:'\n <ng-container [ngSwitch]="contentType">\n <div *ngSwitchCase="ContentType.String" [innerHTML]="content"></div>\n\n <ng-container *ngSwitchCase="ContentType.Template">\n <ng-container *ngTemplateOutlet="content"></ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase="ContentType.Component">\n <ng-container *ngComponentOutlet="content"></ng-container>\n </ng-container>\n </ng-container>\n ',changeDetection:n.ChangeDetectionStrategy.OnPush,styles:["\n :host {\n display: block;\n }\n "]}]}],s.propDecorators={content:[{type:n.Input}]};var c=function(){};c.decorators=[{type:n.NgModule,args:[{imports:[e.CommonModule],declarations:[s],exports:[s]}]}];var p=function(){function t(t,e){this.defaultTpl=t,this.vcr=e}return Object.defineProperty(t.prototype,"templateOrStringContext",{set:function(t){this.context=t},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this.content instanceof n.TemplateRef?this.content:this.defaultTpl;this.vcr.createEmbeddedView(t,this.context)},t}();p.decorators=[{type:n.Directive,args:[{selector:"[templateOrString]"}]}],p.ctorParameters=function(){return[{type:n.TemplateRef},{type:n.ViewContainerRef}]},p.propDecorators={templateOrStringContext:[{type:n.Input}],content:[{type:n.Input,args:["templateOrString"]}]};var a=function(){};a.decorators=[{type:n.NgModule,args:[{declarations:[p],exports:[p]}]}];var u=function(){function t(){this.outlets=new o.BehaviorSubject(""),this.asObservable=this.outlets.asObservable(),this.ports=new Map}return t.prototype.outlet$=function(t){var e=this;return this.asObservable.pipe(r.filter((function(e){return e===t})),r.map((function(t){return e.ports.get(t)})))},t.prototype.newOutlet=function(t){this.outlets.next(t)},t}();u.ɵprov=n.ɵɵdefineInjectable({factory:function(){return new u},token:u,providedIn:"root"}),u.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}];var f=function(){function t(t,e){this.vcr=t,this.service=e}return t.prototype.ngOnInit=function(){this.service.ports.set(this.teleportOutlet,this.vcr),this.service.newOutlet(this.teleportOutlet)},t.prototype.ngOnDestroy=function(){this.service.ports.delete(this.teleportOutlet)},t}();f.decorators=[{type:n.Directive,args:[{selector:"[teleportOutlet]"}]}],f.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:u}]},f.propDecorators={teleportOutlet:[{type:n.Input}]};var l=function(){function t(t,e){this.tpl=t,this.service=e}return t.prototype.ngOnInit=function(){var t=this;this.subscription=this.service.outlet$(this.teleportTo).subscribe((function(e){t.viewRef=e.createEmbeddedView(t.tpl)}))},t.prototype.ngOnDestroy=function(){var t,e;null===(t=this.subscription)||void 0===t||t.unsubscribe(),null===(e=this.viewRef)||void 0===e||e.destroy()},t}();l.decorators=[{type:n.Directive,args:[{selector:"[teleportTo]"}]}],l.ctorParameters=function(){return[{type:n.TemplateRef},{type:u}]},l.propDecorators={teleportTo:[{type:n.Input}]};var h=function(){};h.decorators=[{type:n.NgModule,args:[{declarations:[l,f],exports:[l,f]}]}];var g=function(){function t(t){this.value=t}return t.prototype.getElement=function(){return this.value},t.prototype.detectChanges=function(){},t.prototype.destroy=function(){},t}(),v=function(){function t(t){this.args=t;var e=this.args.resolver.resolveComponentFactory(this.args.component);this.args.vcr?this.compRef=this.args.vcr.createComponent(e,this.args.vcr.length,t.injector||this.args.vcr.injector):(this.compRef=e.create(this.args.injector),this.args.appRef.attachView(this.compRef.hostView))}return Object.defineProperty(t.prototype,"ref",{get:function(){return this.compRef},enumerable:!1,configurable:!0}),t.prototype.setInput=function(t,e){return this.compRef.instance[t]=e,this},t.prototype.setInputs=function(t){var e=this;return Object.keys(t).forEach((function(n){e.compRef.instance[n]=t[n]})),this},t.prototype.detectChanges=function(){return this.compRef.hostView.detectChanges(),this},t.prototype.appendTo=function(t){return t.appendChild(this.getElement()),this},t.prototype.removeFrom=function(t){return t.removeChild(this.getElement()),this},t.prototype.getRawContent=function(){return this.getElement().outerHTML},t.prototype.getElement=function(){return this.compRef.location.nativeElement},t.prototype.destroy=function(){this.compRef.destroy(),!this.args.vcr&&this.args.appRef.detachView(this.compRef.hostView),this.compRef=null},t}();Object.create;function y(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s}Object.create;var d=function(){function t(t){this.args=t,this.wrapper=null,this.args.vcr?(this.viewRef=this.args.vcr.createEmbeddedView(this.args.tpl,this.args.context||{}),this.viewRef.detectChanges()):(this.viewRef=this.args.tpl.createEmbeddedView(this.args.context||{}),this.viewRef.detectChanges(),this.args.appRef.attachView(this.viewRef))}return t.prototype.detectChanges=function(){this.viewRef.detectChanges()},t.prototype.getElement=function(){var t,e=this.viewRef.rootNodes;return 1===e.length&&e[0]===Node.ELEMENT_NODE?this.element=e[0]:(this.element=document.createElement("div"),(t=this.element).append.apply(t,function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(y(arguments[e]));return t}(e))),this.element},t.prototype.destroy=function(){1!==this.viewRef.rootNodes[0]&&(this.element.parentNode.removeChild(this.element),this.element=null),this.args.vcr||this.args.appRef.detachView(this.viewRef),this.viewRef.destroy(),this.viewRef=null},t}();function m(t){return t instanceof n.TemplateRef}function R(t){return"function"==typeof t}function w(t){return"string"==typeof t}var C=function(){function t(t,e,n){this.resolver=t,this.injector=e,this.appRef=n}return t.prototype.createComponent=function(t,e){return void 0===e&&(e={}),new v({component:t,vcr:e.vcr,injector:e.injector||this.injector,appRef:this.appRef,resolver:this.resolver})},t.prototype.createTemplate=function(t,e){return void 0===e&&(e={}),new d({vcr:e.vcr,appRef:this.appRef,tpl:t,context:e.context})},t.prototype.createView=function(t,e){if(void 0===e&&(e={}),m(t))return this.createTemplate(t,e);if(R(t))return this.createComponent(t,e);if(w(t))return new g(t);throw"Type of content is not supported"},t}();C.ɵprov=n.ɵɵdefineInjectable({factory:function(){return new C(n.ɵɵinject(n.ComponentFactoryResolver),n.ɵɵinject(n.INJECTOR),n.ɵɵinject(n.ApplicationRef))},token:C,providedIn:"root"}),C.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],C.ctorParameters=function(){return[{type:n.ComponentFactoryResolver},{type:n.Injector},{type:n.ApplicationRef}]},t.CompRef=v,t.DynamicContentModule=c,t.StringRef=g,t.TeleportModule=h,t.TemplateOrStringModule=a,t.TplRef=d,t.ViewService=C,t.isComponent=R,t.isString=w,t.isTemplateRef=m,t.ɵa=s,t.ɵb=p,t.ɵc=l,t.ɵd=u,t.ɵe=f,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@ngneat/overview",["exports","@angular/common","@angular/core","rxjs","rxjs/operators"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).ngneat=t.ngneat||{},t.ngneat.overview={}),t.ng.common,t.ng.core,t.rxjs,t.rxjs.operators)}(this,(function(t,e,n,o,r){"use strict";var i;!function(t){t[t.String=0]="String",t[t.Template=1]="Template",t[t.Component=2]="Component"}(i||(i={}));var s=function(){function t(){this.ContentType=i,this.contentType=i.String}return Object.defineProperty(t.prototype,"content",{get:function(){return this._content},set:function(t){this._content=t,this.resolveContentType()},enumerable:!1,configurable:!0}),t.prototype.resolveContentType=function(){"string"==typeof this.content?this.contentType=i.String:this.content instanceof n.TemplateRef?this.contentType=i.Template:this.contentType=i.Component},t}();s.decorators=[{type:n.Component,args:[{selector:"dynamic-content",template:'\n <ng-container [ngSwitch]="contentType">\n <div *ngSwitchCase="ContentType.String" [innerHTML]="content"></div>\n\n <ng-container *ngSwitchCase="ContentType.Template">\n <ng-container *ngTemplateOutlet="content"></ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase="ContentType.Component">\n <ng-container *ngComponentOutlet="content"></ng-container>\n </ng-container>\n </ng-container>\n ',changeDetection:n.ChangeDetectionStrategy.OnPush,styles:["\n :host {\n display: block;\n }\n "]}]}],s.propDecorators={content:[{type:n.Input}]};var c=function(){};c.decorators=[{type:n.NgModule,args:[{imports:[e.CommonModule],declarations:[s],exports:[s]}]}];var p=function(){function t(t,e){this.defaultTpl=t,this.vcr=e}return Object.defineProperty(t.prototype,"templateOrStringContext",{set:function(t){this.context=t},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this.content instanceof n.TemplateRef?this.content:this.defaultTpl;this.vcr.createEmbeddedView(t,this.context)},t}();p.decorators=[{type:n.Directive,args:[{selector:"[templateOrString]"}]}],p.ctorParameters=function(){return[{type:n.TemplateRef},{type:n.ViewContainerRef}]},p.propDecorators={templateOrStringContext:[{type:n.Input}],content:[{type:n.Input,args:["templateOrString"]}]};var a=function(){};a.decorators=[{type:n.NgModule,args:[{declarations:[p],exports:[p]}]}];var u=function(){function t(){this.outlets=new o.BehaviorSubject(""),this.asObservable=this.outlets.asObservable(),this.ports=new Map}return t.prototype.outlet$=function(t){var e=this;return this.asObservable.pipe(r.filter((function(e){return e===t})),r.map((function(t){return e.ports.get(t)})))},t.prototype.newOutlet=function(t){this.outlets.next(t)},t}();u.ɵprov=n.ɵɵdefineInjectable({factory:function(){return new u},token:u,providedIn:"root"}),u.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}];var f=function(){function t(t,e){this.vcr=t,this.service=e}return t.prototype.ngOnInit=function(){this.service.ports.set(this.teleportOutlet,this.vcr),this.service.newOutlet(this.teleportOutlet)},t.prototype.ngOnDestroy=function(){this.service.ports.delete(this.teleportOutlet)},t}();f.decorators=[{type:n.Directive,args:[{selector:"[teleportOutlet]"}]}],f.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:u}]},f.propDecorators={teleportOutlet:[{type:n.Input}]};var l=function(){function t(t,e){this.tpl=t,this.service=e}return t.prototype.ngOnInit=function(){var t=this;this.subscription=this.service.outlet$(this.teleportTo).subscribe((function(e){e&&(t.viewRef=e.createEmbeddedView(t.tpl))}))},t.prototype.ngOnDestroy=function(){var t,e;null===(t=this.subscription)||void 0===t||t.unsubscribe(),null===(e=this.viewRef)||void 0===e||e.destroy()},t}();l.decorators=[{type:n.Directive,args:[{selector:"[teleportTo]"}]}],l.ctorParameters=function(){return[{type:n.TemplateRef},{type:u}]},l.propDecorators={teleportTo:[{type:n.Input}]};var h=function(){};h.decorators=[{type:n.NgModule,args:[{declarations:[l,f],exports:[l,f]}]}];var g=function(){function t(t){this.value=t}return t.prototype.getElement=function(){return this.value},t.prototype.detectChanges=function(){},t.prototype.destroy=function(){},t}(),v=function(){function t(t){this.args=t;var e=this.args.resolver.resolveComponentFactory(this.args.component);this.args.vcr?this.compRef=this.args.vcr.createComponent(e,this.args.vcr.length,t.injector||this.args.vcr.injector):(this.compRef=e.create(this.args.injector),this.args.appRef.attachView(this.compRef.hostView))}return Object.defineProperty(t.prototype,"ref",{get:function(){return this.compRef},enumerable:!1,configurable:!0}),t.prototype.setInput=function(t,e){return this.compRef.instance[t]=e,this},t.prototype.setInputs=function(t){var e=this;return Object.keys(t).forEach((function(n){e.compRef.instance[n]=t[n]})),this},t.prototype.detectChanges=function(){return this.compRef.hostView.detectChanges(),this},t.prototype.appendTo=function(t){return t.appendChild(this.getElement()),this},t.prototype.removeFrom=function(t){return t.removeChild(this.getElement()),this},t.prototype.getRawContent=function(){return this.getElement().outerHTML},t.prototype.getElement=function(){return this.compRef.location.nativeElement},t.prototype.destroy=function(){this.compRef.destroy(),!this.args.vcr&&this.args.appRef.detachView(this.compRef.hostView),this.compRef=null},t}();Object.create;function y(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s}Object.create;var d=function(){function t(t){this.args=t,this.wrapper=null,this.args.vcr?(this.viewRef=this.args.vcr.createEmbeddedView(this.args.tpl,this.args.context||{}),this.viewRef.detectChanges()):(this.viewRef=this.args.tpl.createEmbeddedView(this.args.context||{}),this.viewRef.detectChanges(),this.args.appRef.attachView(this.viewRef))}return t.prototype.detectChanges=function(){this.viewRef.detectChanges()},t.prototype.getElement=function(){var t,e=this.viewRef.rootNodes;return 1===e.length&&e[0]===Node.ELEMENT_NODE?this.element=e[0]:(this.element=document.createElement("div"),(t=this.element).append.apply(t,function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(y(arguments[e]));return t}(e))),this.element},t.prototype.destroy=function(){1!==this.viewRef.rootNodes[0]&&(this.element.parentNode.removeChild(this.element),this.element=null),this.args.vcr||this.args.appRef.detachView(this.viewRef),this.viewRef.destroy(),this.viewRef=null},t}();function m(t){return t instanceof n.TemplateRef}function R(t){return"function"==typeof t}function w(t){return"string"==typeof t}var C=function(){function t(t,e,n){this.resolver=t,this.injector=e,this.appRef=n}return t.prototype.createComponent=function(t,e){return void 0===e&&(e={}),new v({component:t,vcr:e.vcr,injector:e.injector||this.injector,appRef:this.appRef,resolver:this.resolver})},t.prototype.createTemplate=function(t,e){return void 0===e&&(e={}),new d({vcr:e.vcr,appRef:this.appRef,tpl:t,context:e.context})},t.prototype.createView=function(t,e){if(void 0===e&&(e={}),m(t))return this.createTemplate(t,e);if(R(t))return this.createComponent(t,e);if(w(t))return new g(t);throw"Type of content is not supported"},t}();C.ɵprov=n.ɵɵdefineInjectable({factory:function(){return new C(n.ɵɵinject(n.ComponentFactoryResolver),n.ɵɵinject(n.INJECTOR),n.ɵɵinject(n.ApplicationRef))},token:C,providedIn:"root"}),C.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],C.ctorParameters=function(){return[{type:n.ComponentFactoryResolver},{type:n.Injector},{type:n.ApplicationRef}]},t.CompRef=v,t.DynamicContentModule=c,t.StringRef=g,t.TeleportModule=h,t.TemplateOrStringModule=a,t.TplRef=d,t.ViewService=C,t.isComponent=R,t.isString=w,t.isTemplateRef=m,t.ɵa=s,t.ɵb=p,t.ɵc=l,t.ɵd=u,t.ɵe=f,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=ngneat-overview.umd.min.js.map |
@@ -11,3 +11,5 @@ import { Directive, Input, NgModule, TemplateRef } from '@angular/core'; | ||
this.subscription = this.service.outlet$(this.teleportTo).subscribe((outlet) => { | ||
this.viewRef = outlet.createEmbeddedView(this.tpl); | ||
if (outlet) { | ||
this.viewRef = outlet.createEmbeddedView(this.tpl); | ||
} | ||
}); | ||
@@ -41,2 +43,2 @@ } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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Py5kZXN0cm95KCk7XG4gIH1cbn1cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbVGVsZXBvcnREaXJlY3RpdmUsIFRlbGVwb3J0T3V0bGV0RGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW1RlbGVwb3J0RGlyZWN0aXZlLCBUZWxlcG9ydE91dGxldERpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIFRlbGVwb3J0TW9kdWxlIHt9XG4iXX0= |
@@ -161,3 +161,5 @@ import { CommonModule } from '@angular/common'; | ||
this.subscription = this.service.outlet$(this.teleportTo).subscribe((outlet) => { | ||
this.viewRef = outlet.createEmbeddedView(this.tpl); | ||
if (outlet) { | ||
this.viewRef = outlet.createEmbeddedView(this.tpl); | ||
} | ||
}); | ||
@@ -164,0 +166,0 @@ } |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"dynamic-content","template":"\n <ng-container [ngSwitch]=\"contentType\">\n <div *ngSwitchCase=\"ContentType.String\" [innerHTML]=\"content\"></div>\n\n <ng-container *ngSwitchCase=\"ContentType.Template\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"ContentType.Component\">\n <ng-container *ngComponentOutlet=\"content\"></ng-container>\n </ng-container>\n </ng-container>\n ","styles":["\n :host {\n display: block;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":32,"character":19},"member":"OnPush"}}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"resolveContentType":[{"__symbolic":"method"}]}},"DynamicContentModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":62,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":63,"character":12}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[templateOrString]"}]}],"members":{"templateOrStringContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":6,"character":3}}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3},"arguments":["templateOrString"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":14,"character":65}]}],"ngOnInit":[{"__symbolic":"method"}]}},"TemplateOrStringModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":22,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"[teleportTo]"}]}],"members":{"teleportTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"ɵd"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TeleportModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":27,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}],"exports":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}]}]}],"members":{}},"StringRef":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"getElement":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"CompRef":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":21,"character":33,"context":{"typeName":"T"},"module":"./lib/views/comp-ref"}]}]}],"setInput":[{"__symbolic":"method"}],"setInputs":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"appendTo":[{"__symbolic":"method"}],"removeFrom":[{"__symbolic":"method"}],"getRawContent":[{"__symbolic":"method"}],"getElement":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"TplRef":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":23,"character":33,"context":{"typeName":"C"},"module":"./lib/views/template-ref"}]}]}],"detectChanges":[{"__symbolic":"method"}],"getElement":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"ViewService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":28,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":30,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":30,"character":76},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef","line":30,"character":102}]}],"createComponent":[{"__symbolic":"method"}],"createTemplate":[{"__symbolic":"method"}],"createView":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"ViewOptions":{"__symbolic":"interface"},"isComponent":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":22,"character":9,"module":"./lib/views/types"},"right":"function"}},"isTemplateRef":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"instanceof","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":18,"character":26}}},"Content":{"__symbolic":"interface"},"isString":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":26,"character":9,"module":"./lib/views/types"},"right":"string"}},"ViewRef":{"__symbolic":"interface"},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"outlet$":[{"__symbolic":"method"}],"newOutlet":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":3,"character":1},"arguments":[{"selector":"[teleportOutlet]"}]}],"members":{"teleportOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":9,"character":27},{"__symbolic":"reference","name":"ɵd"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"ɵa":"./lib/dynamic-content/dynamic-content.component","DynamicContentModule":"./lib/dynamic-content/dynamic-content.component","ɵb":"./lib/template-or-string/template-or-string.module","TemplateOrStringModule":"./lib/template-or-string/template-or-string.module","ɵc":"./lib/teleport/teleport.module","TeleportModule":"./lib/teleport/teleport.module","StringRef":"./lib/views/string-ref","CompRef":"./lib/views/comp-ref","TplRef":"./lib/views/template-ref","ViewService":"./lib/views/view","ViewOptions":"./lib/views/view","isComponent":"./lib/views/types","isTemplateRef":"./lib/views/types","Content":"./lib/views/types","isString":"./lib/views/types","ViewRef":"./lib/views/types","ɵd":"./lib/teleport/teleport.service","ɵe":"./lib/teleport/teleport-outlet.directive"},"importAs":"@ngneat/overview"} | ||
{"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"dynamic-content","template":"\n <ng-container [ngSwitch]=\"contentType\">\n <div *ngSwitchCase=\"ContentType.String\" [innerHTML]=\"content\"></div>\n\n <ng-container *ngSwitchCase=\"ContentType.Template\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"ContentType.Component\">\n <ng-container *ngComponentOutlet=\"content\"></ng-container>\n </ng-container>\n </ng-container>\n ","styles":["\n :host {\n display: block;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":32,"character":19},"member":"OnPush"}}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"resolveContentType":[{"__symbolic":"method"}]}},"DynamicContentModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":62,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":63,"character":12}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[templateOrString]"}]}],"members":{"templateOrStringContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":6,"character":3}}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3},"arguments":["templateOrString"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":14,"character":65}]}],"ngOnInit":[{"__symbolic":"method"}]}},"TemplateOrStringModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":22,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"ɵb"}]}]}],"members":{}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"[teleportTo]"}]}],"members":{"teleportTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","name":"ɵd"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"TeleportModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":29,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}],"exports":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵe"}]}]}],"members":{}},"StringRef":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"getElement":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"CompRef":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":21,"character":33,"context":{"typeName":"T"},"module":"./lib/views/comp-ref"}]}]}],"setInput":[{"__symbolic":"method"}],"setInputs":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"appendTo":[{"__symbolic":"method"}],"removeFrom":[{"__symbolic":"method"}],"getRawContent":[{"__symbolic":"method"}],"getElement":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"TplRef":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":23,"character":33,"context":{"typeName":"C"},"module":"./lib/views/template-ref"}]}]}],"detectChanges":[{"__symbolic":"method"}],"getElement":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"ViewService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":28,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":30,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":30,"character":76},{"__symbolic":"reference","module":"@angular/core","name":"ApplicationRef","line":30,"character":102}]}],"createComponent":[{"__symbolic":"method"}],"createTemplate":[{"__symbolic":"method"}],"createView":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"ViewOptions":{"__symbolic":"interface"},"isComponent":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":22,"character":9,"module":"./lib/views/types"},"right":"function"}},"isTemplateRef":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"instanceof","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":18,"character":26}}},"Content":{"__symbolic":"interface"},"isString":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":26,"character":9,"module":"./lib/views/types"},"right":"string"}},"ViewRef":{"__symbolic":"interface"},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"outlet$":[{"__symbolic":"method"}],"newOutlet":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":3,"character":1},"arguments":[{"selector":"[teleportOutlet]"}]}],"members":{"teleportOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":9,"character":27},{"__symbolic":"reference","name":"ɵd"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"ɵa":"./lib/dynamic-content/dynamic-content.component","DynamicContentModule":"./lib/dynamic-content/dynamic-content.component","ɵb":"./lib/template-or-string/template-or-string.module","TemplateOrStringModule":"./lib/template-or-string/template-or-string.module","ɵc":"./lib/teleport/teleport.module","TeleportModule":"./lib/teleport/teleport.module","StringRef":"./lib/views/string-ref","CompRef":"./lib/views/comp-ref","TplRef":"./lib/views/template-ref","ViewService":"./lib/views/view","ViewOptions":"./lib/views/view","isComponent":"./lib/views/types","isTemplateRef":"./lib/views/types","Content":"./lib/views/types","isString":"./lib/views/types","ViewRef":"./lib/views/types","ɵd":"./lib/teleport/teleport.service","ɵe":"./lib/teleport/teleport-outlet.directive"},"importAs":"@ngneat/overview"} |
{ | ||
"name": "@ngneat/overview", | ||
"version": "1.0.0-beta.5", | ||
"version": "1.0.0-beta.6", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "tslib": "^2.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
206850
1608