-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path936-es2015.a087e3c0fa7843b63e43.js
More file actions
2 lines (2 loc) · 2.18 KB
/
936-es2015.a087e3c0fa7843b63e43.js
File metadata and controls
2 lines (2 loc) · 2.18 KB
1
2
"use strict";(self.webpackChunkrxjs_dev=self.webpackChunkrxjs_dev||[]).push([[936],{50936:function(e,t,i){i.r(t),i.d(t,{CodeExampleModule:function(){return p}});var n=i(54364),s=i(34622),o=i(2316);const a=["content"];function h(e,t){if(1&e&&(o.TgZ(0,"header"),o._uU(1),o.qZA()),2&e){const e=o.oxw();o.xp6(1),o.Oqu(e.header)}}const d=["*"];let r=(()=>{class e{constructor(){this._path="",this.isAvoid=!1}set header(e){this._header=e,this.classes={"headed-code":!!this.header,"simple-code":!this.header}}get header(){return this._header}set path(e){this._path=e,this.isAvoid=-1!==this.path.indexOf(".avoid.")}get path(){return this._path}set hidecopy(e){this._hidecopy=null!=e&&"false"!=`${e}`}get hidecopy(){return this._hidecopy}set hyphenatedHideCopy(e){this.hidecopy=e}set capitalizedHideCopy(e){this.hidecopy=e}ngAfterViewInit(){this.aioCode.code=this.content.nativeElement.innerHTML}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["code-example"]],viewQuery:function(e,t){if(1&e&&(o.Gf(a,7),o.Gf(s.Q,7)),2&e){let e;o.iGM(e=o.CRH())&&(t.content=e.first),o.iGM(e=o.CRH())&&(t.aioCode=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&o.ekj("avoidFile",t.isAvoid)},inputs:{language:"language",linenums:"linenums",region:"region",header:"header",path:"path",hidecopy:"hidecopy",hyphenatedHideCopy:["hide-copy","hyphenatedHideCopy"],capitalizedHideCopy:["hideCopy","capitalizedHideCopy"]},ngContentSelectors:d,decls:5,vars:8,consts:[[2,"display","none"],["content",""],[4,"ngIf"],[3,"ngClass","language","linenums","path","region","hideCopy","header"]],template:function(e,t){1&e&&(o.F$t(),o.TgZ(0,"div",0,1),o.Hsn(2),o.qZA(),o.YNc(3,h,2,1,"header",2),o._UZ(4,"aio-code",3)),2&e&&(o.xp6(3),o.Q6J("ngIf",t.header),o.xp6(1),o.Q6J("ngClass",t.classes)("language",t.language)("linenums",t.linenums)("path",t.path)("region",t.region)("hideCopy",t.hidecopy)("header",t.header))},directives:[n.O5,s.Q,n.mk],encapsulation:2}),e})();var c=i(99835);let p=(()=>{class e{constructor(){this.customElementComponent=r}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[n.ez,c.r]]}),e})()}}]);
//# sourceMappingURL=936-es2015.a087e3c0fa7843b63e43.js.map