-
Notifications
You must be signed in to change notification settings - Fork 1
/
src_app_custom-elements_code_code-example_module_ts.57ae65d8b8d60ff7.js
2 lines (2 loc) · 2.28 KB
/
src_app_custom-elements_code_code-example_module_ts.57ae65d8b8d60ff7.js
1
2
"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([["src_app_custom-elements_code_code-example_module_ts"],{8620:(g,h,a)=>{a.r(h),a.d(h,{CodeExampleModule:()=>y});var p=a(3267),l=a(6968),e=a(5460);const c=["content"];function m(n,d){if(1&n&&(e.I0R(0,"header"),e.OEk(1),e.C$Y()),2&n){const i=e.GaO();e.yG2(),e.cNF(i.header)}}const r=["*"];let C=(()=>{var n;class d{constructor(){this._path="",this.isAvoid=!1}set header(o){this._header=o,this.classes={"headed-code":!!this.header,"simple-code":!this.header}}get header(){return this._header}set path(o){this._path=o,this.isAvoid=-1!==this.path.indexOf(".avoid.")}get path(){return this._path}set hidecopy(o){this._hidecopy=null!=o&&"false"!=`${o}`}get hidecopy(){return this._hidecopy}set hyphenatedHideCopy(o){this.hidecopy=o}set capitalizedHideCopy(o){this.hidecopy=o}ngAfterViewInit(){this.aioCode.code=this.content.nativeElement.innerHTML}}return(n=d).\u0275fac=function(o){return new(o||n)},n.\u0275cmp=e.In1({type:n,selectors:[["code-example"]],viewQuery:function(o,t){if(1&o&&(e.CC$(c,7),e.CC$(l.S,7)),2&o){let s;e.wto(s=e.Gqi())&&(t.content=s.first),e.wto(s=e.Gqi())&&(t.aioCode=s.first)}},hostVars:2,hostBindings:function(o,t){2&o&&e.eAK("avoidFile",t.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:8,consts:[[2,"display","none"],["content",""],[4,"ngIf"],[3,"ngClass","language","linenums","path","region","hideCopy","header"]],template:function(o,t){1&o&&(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&o&&(e.yG2(3),e.E7m("ngIf",t.header),e.yG2(),e.E7m("ngClass",t.classes)("language",t.language)("linenums",t.linenums)("path",t.path)("region",t.region)("hideCopy",t.hidecopy)("header",t.header))},dependencies:[p.QF,p.u_,l.S],encapsulation:2}),d})();var u=a(7996);let y=(()=>{var n;class d{constructor(){this.customElementComponent=C}}return(n=d).\u0275fac=function(o){return new(o||n)},n.\u0275mod=e.a4G({type:n}),n.\u0275inj=e.s3X({imports:[p.MD,u.e]}),d})()}}]);
//# sourceMappingURL=src_app_custom-elements_code_code-example_module_ts.57ae65d8b8d60ff7.js.map