-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path8-es2015.8b5adfa5a8c364f891cb.js.map
1 lines (1 loc) · 14.4 KB
/
8-es2015.8b5adfa5a8c364f891cb.js.map
1
{"version":3,"sources":["webpack:///./src/app/custom-elements/code/code-example.component.ts","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","[object Object]","this","_path","isAvoid","header","_header","classes","headed-code","simple-code","path","indexOf","hidecopy","_hidecopy","hyphenatedHideCopy","capitalizedHideCopy","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","pretty_printer_service","copier_service","logger_service","hideCopy","language","linenums","region","_co","View_CodeExampleComponent_Host_0","CodeExampleComponentNgFactory","__webpack_require__","d","__webpack_exports__","CodeExampleModuleNgFactory","index_ngfactory","overlay","bidi","portal","platform","scrolling","esm2015_core","platform_browser","esm2015_button","code_module"],"mappings":"kHAiCO,MAAMA,EAlBbC,cA4CUC,KAAAC,MAAQ,GAoBgBD,KAAAE,SAAU,EArC1CC,WACWA,GACTH,KAAKI,QAAUD,EACfH,KAAKK,QAAU,CACbC,gBAAiBN,KAAKG,OACtBI,eAAgBP,KAAKG,QAGzBA,aAAuB,OAAOH,KAAKI,QAGnCI,SACSA,GACPR,KAAKC,MAAQO,EACbR,KAAKE,SAA4C,IAAlCF,KAAKQ,KAAKC,QAAQ,WAEnCD,WAAqB,OAAOR,KAAKC,MAGjCS,aACaA,GAEXV,KAAKW,UAAwB,MAAZD,GAAsC,aAAfA,IAE1CA,eAA0B,OAAOV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AA,KAAgBV,EAAA,GAAQ,KAAM+B,EAAA,EAAOA,EAAA,EAAO,CAACA,EAAA,IAAc/B,EAAA,GAAQ,KAAMgB,EAAA,EAAkBA,EAAA,EAAkB,CAACE,EAAA,IAAalB,EAAA,GAAQ,KAAMiB,EAAA,EAAmBA,EAAA,EAAmB,IAAKjB,EAAA,GAAQ,WAAYU,EAAA,EAAiBA,EAAA,EAAiB,IAAKV,EAAA,GAAQ,WAAYgC,EAAA,EAAeA,EAAA,EAAe,IAAKhC,EAAA,GAAQ,WAAYiC,EAAA,EAAkBA,EAAA,EAAkB,IAAKjC,EAAA,GAAQ,WAAYkC,EAAA,EAAoBA,EAAA,EAAoB,IAAKlC,EAAA,GAAQ,WAAYmC,EAAA,EAAqBA,EAAA,EAAqB,IAAKnC,EAAA,GAAQ,WAAY+B,EAAA,EAAkBA,EAAA,EAAkB,IAAK/B,EAAA,GAAQ,WAAYoC,EAAA,EAAqBA,EAAA,EAAqB,CAAC,CAAC,EAAGA,EAAA,GAA6B,CAAC,EAAGC,EAAA,KAAsBrC,EAAA,GAAQ,WAAYoC,EAAA,EAAqBA,EAAA,EAAqB,IAAKpC,EAAA,GAAQ,WAAYsC,EAAA,EAAqBA,EAAA,EAAqB,IAAKtC,EAAA,GAAQ,WAAYe,EAAA,EAAuBA,EAAA,EAAuB,IAAKf,EAAA,GAAQ,WAAYuC,EAAA,EAAgBA,EAAA,EAAgB,IAAKvC,EAAA,GAAQ,WAAYH,EAAsBA,EAAsB","file":"8-es2015.8b5adfa5a8c364f891cb.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","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":""}