-
Notifications
You must be signed in to change notification settings - Fork 1
/
8-es5.05eedd9446044b33955e.js.map
1 lines (1 loc) · 17.3 KB
/
8-es5.05eedd9446044b33955e.js.map
1
{"version":3,"sources":["webpack:///./src/app/custom-elements/code/code-example.component.ts","webpack:///./src/app/custom-elements/code/code-example.component.ts.pre-build-optimizer.js","webpack:///./src/app/custom-elements/code/code-example.module.ts","webpack:///./src/app/custom-elements/code/code-example.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/custom-elements/code/code-example.component.ts.CodeExampleComponent.html","webpack:///./src/app/custom-elements/code/code-example.module.ngfactory.js.pre-build-optimizer.js"],"names":["CodeExampleComponent","this","_path","isAvoid","Object","defineProperty","prototype","get","_header","set","header","classes","headed-code","simple-code","enumerable","configurable","path","indexOf","_hidecopy","hidecopy","ngAfterViewInit","aioCode","code","content","nativeElement","innerHTML","code_example_module_CodeExampleModule","customElementComponent","RenderType_CodeExampleComponent","core","encapsulation","styles","data","View_CodeExampleComponent_1","_l","_ck","_v","component","View_CodeExampleComponent_0","common","ngIf","code_component_ngfactory","ngClass","code_component","snack_bar_es5","pretty_printer_service","copier_service","logger_service","hideCopy","language","linenums","region","_co","View_CodeExampleComponent_Host_0","CodeExampleComponentNgFactory","hyphenatedHideCopy","capitalizedHideCopy","__webpack_require__","d","__webpack_exports__","CodeExampleModuleNgFactory","index_ngfactory","overlay_es5","bidi_es5","portal_es5","platform_es5","scrolling_es5","core_es5","platform_browser","button_es5","code_module"],"mappings":"kHAeAA,EAAA,oBAAAA,IA4CUC,KAAAC,MAAQ,GAoBgBD,KAAAE,SAAU,EAS5C,OA9CEC,OAAAC,eACIL,EAAAM,UAAA,SAAM,CCvBJC,ID8BN,WAAuB,OAAON,KAAKO,SC7B7BC,IDqBN,SACWC,GACTT,KAAKO,QAAUE,EACfT,KAAKU,QAAU,CACbC,gBAAiBX,KAAKS,OACtBG,eAAgBZ,KAAKS,SCnBnBI,YAAY,EACZC,cAAc,IDwBpBX,OAAAC,eACIL,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sC,EAAA,EAAqBA,EAAA,EAAqB,IAAKtC,EAAA,GAAQ,WAAYwC,EAAA,EAAqBA,EAAA,EAAqB,IAAKxC,EAAA,GAAQ,WAAYe,EAAA,EAAuBA,EAAA,EAAuB,IAAKf,EAAA,GAAQ,WAAYyC,EAAA,EAAgBA,EAAA,EAAgB,IAAKzC,EAAA,GAAQ,WAAYH,EAAsBA,EAAsB","file":"8-es5.05eedd9446044b33955e.js","sourcesContent":["/* tslint:disable component-selector */\nimport { Component, HostBinding, ElementRef, ViewChild, Input, AfterViewInit } from '@angular/core';\nimport { CodeComponent } from './code.component';\n\n/**\n * An embeddable code block that displays nicely formatted code.\n * Example usage:\n *\n * ```\n * <code-example language=\"ts\" linenums=\"2\" class=\"special\" header=\"Do Stuff\">\n * // a code block\n * console.log('do stuff');\n * </code-example>\n * ```\n */\n@Component({\n selector: 'code-example',\n template: `\n <!-- Content projection is used to get the content HTML provided to this component -->\n <div #content style=\"display: none\"><ng-content></ng-content></div>\n\n <header *ngIf=\"header\">{{header}}</header>\n\n <aio-code [ngClass]=\"classes\"\n [language]=\"language\"\n [linenums]=\"linenums\"\n [path]=\"path\"\n [region]=\"region\"\n [hideCopy]=\"hidecopy\"\n [header]=\"header\">\n </aio-code>\n `,\n})\nexport class CodeExampleComponent implements AfterViewInit {\n classes: {};\n\n @Input() language: string;\n\n @Input() linenums: string;\n\n @Input() region: string;\n\n @Input()\n set header(header: string) {\n this._header = header;\n this.classes = {\n 'headed-code': !!this.header,\n 'simple-code': !this.header,\n };\n }\n get header(): string { return this._header; }\n private _header: string;\n\n @Input()\n set path(path: string) {\n this._path = path;\n this.isAvoid = this.path.indexOf('.avoid.') !== -1;\n }\n get path(): string { return this._path; }\n private _path = '';\n\n @Input()\n set hidecopy(hidecopy: boolean) {\n // Coerce the boolean value.\n this._hidecopy = hidecopy != null && `${hidecopy}` !== 'false';\n }\n get hidecopy(): boolean { return this._hidecopy; }\n private _hidecopy: boolean;\n\n @Input('hide-copy')\n set hyphenatedHideCopy(hidecopy: boolean) {\n this.hidecopy = hidecopy;\n }\n\n @Input('hideCopy')\n set capitalizedHideCopy(hidecopy: boolean) {\n this.hidecopy = hidecopy;\n }\n\n @HostBinding('class.avoidFile') isAvoid = false;\n\n @ViewChild('content', { static: true }) content: ElementRef;\n\n @ViewChild(CodeComponent, { static: true }) aioCode: CodeComponent;\n\n ngAfterViewInit() {\n this.aioCode.code = this.content.nativeElement.innerHTML;\n }\n}\n","/* tslint:disable component-selector */\nimport { ElementRef, AfterViewInit } from '@angular/core';\nimport { CodeComponent } from './code.component';\n/**\n * An embeddable code block that displays nicely formatted code.\n * Example usage:\n *\n * ```\n * <code-example language=\"ts\" linenums=\"2\" class=\"special\" header=\"Do Stuff\">\n * // a code block\n * console.log('do stuff');\n * </code-example>\n * ```\n */\nvar CodeExampleComponent = /** @class */ (function () {\n function CodeExampleComponent() {\n this._path = '';\n this.isAvoid = false;\n }\n Object.defineProperty(CodeExampleComponent.prototype, \"header\", {\n get: function () { return this._header; },\n set: function (header) {\n this._header = header;\n this.classes = {\n 'headed-code': !!this.header,\n 'simple-code': !this.header,\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CodeExampleComponent.prototype, \"path\", {\n get: function () { return this._path; },\n set: function (path) {\n this._path = path;\n this.isAvoid = this.path.indexOf('.avoid.') !== -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CodeExampleComponent.prototype, \"hidecopy\", {\n get: function () { return this._hidecopy; },\n set: function (hidecopy) {\n // Coerce the boolean value.\n this._hidecopy = hidecopy != null && \"\" + hidecopy !== 'false';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CodeExampleComponent.prototype, \"hyphenatedHideCopy\", {\n set: function (hidecopy) {\n this.hidecopy = hidecopy;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CodeExampleComponent.prototype, \"capitalizedHideCopy\", {\n set: function (hidecopy) {\n this.hidecopy = hidecopy;\n },\n enumerable: true,\n configurable: true\n });\n CodeExampleComponent.prototype.ngAfterViewInit = function () {\n this.aioCode.code = this.content.nativeElement.innerHTML;\n };\n return CodeExampleComponent;\n}());\nexport { CodeExampleComponent };\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CodeExampleComponent } from './code-example.component';\nimport { CodeModule } from './code.module';\nimport { WithCustomElementComponent } from '../element-registry';\n\n@NgModule({\n imports: [ CommonModule, CodeModule ],\n declarations: [ CodeExampleComponent ],\n exports: [ CodeExampleComponent ],\n entryComponents: [ CodeExampleComponent ]\n})\nexport class CodeExampleModule implements WithCustomElementComponent {\n customElementComponent: Type<any> = CodeExampleComponent;\n}\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"./code.component.ngfactory\";\nimport * as i3 from \"./code.component\";\nimport * as i4 from \"@angular/material/snack-bar\";\nimport * as i5 from \"./pretty-printer.service\";\nimport * as i6 from \"../../shared/copier.service\";\nimport * as i7 from \"../../shared/logger.service\";\nimport * as i8 from \"./code-example.component\";\nvar styles_CodeExampleComponent = [];\nvar RenderType_CodeExampleComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_CodeExampleComponent, data: {} });\nexport { RenderType_CodeExampleComponent as RenderType_CodeExampleComponent };\nfunction View_CodeExampleComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"header\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.header; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_CodeExampleComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { content: 0 }), i0.ɵqud(402653184, 2, { aioCode: 0 }), (_l()(), i0.ɵeld(2, 0, [[1, 0], [\"content\", 1]], null, 1, \"div\", [[\"style\", \"display: none\"]], null, null, null, null, null)), i0.ɵncd(null, 0), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeExampleComponent_1)), i0.ɵdid(5, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 3, \"aio-code\", [], null, null, null, i2.View_CodeComponent_0, i2.RenderType_CodeComponent)), i0.ɵprd(512, null, i1.ɵNgClassImpl, i1.ɵNgClassR2Impl, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2]), i0.ɵdid(8, 278528, null, 0, i1.NgClass, [i1.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i0.ɵdid(9, 573440, [[2, 4]], 0, i3.CodeComponent, [i4.MatSnackBar, i5.PrettyPrinter, i6.CopierService, i7.Logger], { hideCopy: [0, \"hideCopy\"], language: [1, \"language\"], linenums: [2, \"linenums\"], path: [3, \"path\"], region: [4, \"region\"], header: [5, \"header\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.header; _ck(_v, 5, 0, currVal_0); var currVal_1 = _co.classes; _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.hidecopy; var currVal_3 = _co.language; var currVal_4 = _co.linenums; var currVal_5 = _co.path; var currVal_6 = _co.region; var currVal_7 = _co.header; _ck(_v, 9, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }, null); }\nexport function View_CodeExampleComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"code-example\", [], [[2, \"avoidFile\", null]], null, null, View_CodeExampleComponent_0, RenderType_CodeExampleComponent)), i0.ɵdid(1, 4243456, null, 0, i8.CodeExampleComponent, [], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).isAvoid; _ck(_v, 0, 0, currVal_0); }); }\nvar CodeExampleComponentNgFactory = i0.ɵccf(\"code-example\", i8.CodeExampleComponent, View_CodeExampleComponent_Host_0, { language: \"language\", linenums: \"linenums\", region: \"region\", header: \"header\", path: \"path\", hidecopy: \"hidecopy\", hyphenatedHideCopy: \"hide-copy\", capitalizedHideCopy: \"hideCopy\" }, {}, [\"*\"]);\nexport { CodeExampleComponentNgFactory as CodeExampleComponentNgFactory };\n","\n <!-- Content projection is used to get the content HTML provided to this component -->\n <div #content style=\"display: none\"><ng-content></ng-content></div>\n\n <header *ngIf=\"header\">{{header}}</header>\n\n <aio-code [ngClass]=\"classes\"\n [language]=\"language\"\n [linenums]=\"linenums\"\n [path]=\"path\"\n [region]=\"region\"\n [hideCopy]=\"hidecopy\"\n [header]=\"header\">\n </aio-code>\n ","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./code-example.module\";\nimport * as i2 from \"../../../../node_modules/@angular/material/snack-bar/typings/index.ngfactory\";\nimport * as i3 from \"./code.component.ngfactory\";\nimport * as i4 from \"./code-example.component.ngfactory\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"@angular/cdk/overlay\";\nimport * as i7 from \"@angular/cdk/bidi\";\nimport * as i8 from \"./pretty-printer.service\";\nimport * as i9 from \"../../shared/logger.service\";\nimport * as i10 from \"../../shared/copier.service\";\nimport * as i11 from \"@angular/cdk/portal\";\nimport * as i12 from \"@angular/cdk/platform\";\nimport * as i13 from \"@angular/cdk/scrolling\";\nimport * as i14 from \"@angular/material/core\";\nimport * as i15 from \"@angular/platform-browser\";\nimport * as i16 from \"@angular/material/button\";\nimport * as i17 from \"@angular/material/snack-bar\";\nimport * as i18 from \"./code.module\";\nvar CodeExampleModuleNgFactory = i0.ɵcmf(i1.CodeExampleModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, [i2.MatSnackBarContainerNgFactory, i2.SimpleSnackBarNgFactory, i3.CodeComponentNgFactory, i4.CodeExampleComponentNgFactory]], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i5.NgLocalization, i5.NgLocaleLocalization, [i0.LOCALE_ID, [2, i5.ɵangular_packages_common_common_a]]), i0.ɵmpd(4608, i6.Overlay, i6.Overlay, [i6.ScrollStrategyOptions, i6.OverlayContainer, i0.ComponentFactoryResolver, i6.OverlayPositionBuilder, i6.OverlayKeyboardDispatcher, i0.Injector, i0.NgZone, i5.DOCUMENT, i7.Directionality, [2, i5.Location]]), i0.ɵmpd(5120, i6.ɵc, i6.ɵd, [i6.Overlay]), i0.ɵmpd(4608, i8.PrettyPrinter, i8.PrettyPrinter, [i9.Logger]), i0.ɵmpd(4608, i10.CopierService, i10.CopierService, []), i0.ɵmpd(1073742336, i5.CommonModule, i5.CommonModule, []), i0.ɵmpd(1073742336, i7.BidiModule, i7.BidiModule, []), i0.ɵmpd(1073742336, i11.PortalModule, i11.PortalModule, []), i0.ɵmpd(1073742336, i12.PlatformModule, i12.PlatformModule, []), i0.ɵmpd(1073742336, i13.ScrollingModule, i13.ScrollingModule, []), i0.ɵmpd(1073742336, i6.OverlayModule, i6.OverlayModule, []), i0.ɵmpd(1073742336, i14.MatCommonModule, i14.MatCommonModule, [[2, i14.MATERIAL_SANITY_CHECKS], [2, i15.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i14.MatRippleModule, i14.MatRippleModule, []), i0.ɵmpd(1073742336, i16.MatButtonModule, i16.MatButtonModule, []), i0.ɵmpd(1073742336, i17.MatSnackBarModule, i17.MatSnackBarModule, []), i0.ɵmpd(1073742336, i18.CodeModule, i18.CodeModule, []), i0.ɵmpd(1073742336, i1.CodeExampleModule, i1.CodeExampleModule, [])]); });\nexport { CodeExampleModuleNgFactory as CodeExampleModuleNgFactory };\n"],"sourceRoot":""}