-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrc_app_custom-elements_code_code-example_module_ts.ba4e2f50a9de1f8d.js
2 lines (2 loc) · 2.24 KB
/
src_app_custom-elements_code_code-example_module_ts.ba4e2f50a9de1f8d.js
1
2
"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([["src_app_custom-elements_code_code-example_module_ts"],{7992:(g,d,a)=>{a.r(d),a.d(d,{CodeExampleModule:()=>y});var h=a(5056),c=a(6356),p=a(8424),e=a(4896);const l=["content"];function m(n,f){if(1&n&&(e.I0R(0,"header"),e.OEk(1),e.C$Y()),2&n){const t=e.GaO();e.yG2(),e.cNF(t.header)}}const r=["*"];let u=(()=>{class n{constructor(){this._path="",this.isAvoid=!1}set path(t){this._path=t,this.isAvoid=-1!==this.path.indexOf(".avoid.")}get path(){return this._path}set hidecopy(t){this._hidecopy=null!=t&&"false"!=`${t}`}get hidecopy(){return this._hidecopy}set hyphenatedHideCopy(t){this.hidecopy=t}set capitalizedHideCopy(t){this.hidecopy=t}ngAfterViewInit(){const t=this.content.nativeElement;this.aioCode.code=(0,c.Oc)(t),t.textContent=""}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.In1({type:n,selectors:[["code-example"]],viewQuery:function(i,o){if(1&i&&(e.CC$(l,7),e.CC$(p.S,7)),2&i){let s;e.wto(s=e.Gqi())&&(o.content=s.first),e.wto(s=e.Gqi())&&(o.aioCode=s.first)}},hostVars:2,hostBindings:function(i,o){2&i&&e.eAK("avoidFile",o.isAvoid)},inputs:{language:"language",linenums:"linenums",region:"region",header:"header",path:"path",hidecopy:"hidecopy",hyphenatedHideCopy:[e.Wk5.None,"hide-copy","hyphenatedHideCopy"],capitalizedHideCopy:[e.Wk5.None,"hideCopy","capitalizedHideCopy"]},ngContentSelectors:r,decls:5,vars:11,consts:[[2,"display","none"],["content",""],[4,"ngIf"],[3,"language","linenums","path","region","hideCopy","header"]],template:function(i,o){1&i&&(e.kPM(),e.I0R(0,"div",0,1),e._Xx(2),e.C$Y(),e.yuY(3,m,2,1,"header",2),e.wR5(4,"aio-code",3)),2&i&&(e.yG2(3),e.E7m("ngIf",o.header),e.yG2(),e.eAK("headed-code",!!o.header)("simple-code",!o.header),e.E7m("language",o.language)("linenums",o.linenums)("path",o.path)("region",o.region)("hideCopy",o.hidecopy)("header",o.header))},dependencies:[h.u_,p.S],encapsulation:2})}return n})();var C=a(8160);let y=(()=>{class n{constructor(){this.customElementComponent=u}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.a4G({type:n});static#o=this.\u0275inj=e.s3X({imports:[h.MD,C.e]})}return n})()}}]);
//# sourceMappingURL=src_app_custom-elements_code_code-example_module_ts.ba4e2f50a9de1f8d.js.map