-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsrc_app_custom-elements_code_code-example_module_ts-es5.853b40eff1bf35b4ba00.js
2 lines (2 loc) · 2.74 KB
/
src_app_custom-elements_code_code-example_module_ts-es5.853b40eff1bf35b4ba00.js
1
2
!function(){function e(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function n(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(self.webpackChunkangular_cn=self.webpackChunkangular_cn||[]).push([["src_app_custom-elements_code_code-example_module_ts"],{7341:function(t,i,o){"use strict";o.r(i),o.d(i,{CodeExampleModule:function(){return f}});var a=o(1116),s=o(199),c=o(5366),r=["content"];function h(e,n){if(1&e&&(c.TgZ(0,"header"),c._uU(1),c.qZA()),2&e){var t=c.oxw();c.xp6(1),c.Oqu(t.header)}}var d,u=["*"],p=function(){var t=function(){function t(){e(this,t),this._path="",this.isAvoid=!1}var i,o,a;return i=t,(o=[{key:"header",get:function(){return this._header},set:function(e){this._header=e,this.classes={"headed-code":!!this.header,"simple-code":!this.header}}},{key:"path",get:function(){return this._path},set:function(e){this._path=e,this.isAvoid=-1!==this.path.indexOf(".avoid.")}},{key:"hidecopy",get:function(){return this._hidecopy},set:function(e){this._hidecopy=null!=e&&"false"!="".concat(e)}},{key:"hyphenatedHideCopy",set:function(e){this.hidecopy=e}},{key:"capitalizedHideCopy",set:function(e){this.hidecopy=e}},{key:"ngAfterViewInit",value:function(){var e=this.content.nativeElement;this.aioCode.code=e.innerHTML,e.innerHTML=""}}])&&n(i.prototype,o),a&&n(i,a),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=c.Xpm({type:t,selectors:[["code-example"]],viewQuery:function(e,n){var t;(1&e&&(c.Gf(r,7),c.Gf(s.Q,7)),2&e)&&(c.iGM(t=c.CRH())&&(n.content=t.first),c.iGM(t=c.CRH())&&(n.aioCode=t.first))},hostVars:2,hostBindings:function(e,n){2&e&&c.ekj("avoidFile",n.isAvoid)},inputs:{language:"language",linenums:"linenums",region:"region",header:"header",path:"path",hidecopy:"hidecopy",hyphenatedHideCopy:["hide-copy","hyphenatedHideCopy"],capitalizedHideCopy:["hideCopy","capitalizedHideCopy"]},ngContentSelectors:u,decls:5,vars:8,consts:[[2,"display","none"],["content",""],[4,"ngIf"],[3,"ngClass","language","linenums","path","region","hideCopy","header"]],template:function(e,n){1&e&&(c.F$t(),c.TgZ(0,"div",0,1),c.Hsn(2),c.qZA(),c.YNc(3,h,2,1,"header",2),c._UZ(4,"aio-code",3)),2&e&&(c.xp6(3),c.Q6J("ngIf",n.header),c.xp6(1),c.Q6J("ngClass",n.classes)("language",n.language)("linenums",n.linenums)("path",n.path)("region",n.region)("hideCopy",n.hidecopy)("header",n.header))},directives:[a.O5,s.Q,a.mk],encapsulation:2}),t}(),l=o(145),f=((d=function n(){e(this,n),this.customElementComponent=p}).\u0275fac=function(e){return new(e||d)},d.\u0275mod=c.oAB({type:d}),d.\u0275inj=c.cJS({imports:[[a.ez,l.r]]}),d)}}])}();
//# sourceMappingURL=src_app_custom-elements_code_code-example_module_ts-es5.853b40eff1bf35b4ba00.js.map