{"version":3,"sources":["webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/discovery.service.ts","webpack:///./src/app/hydra-browser/hydra-browser.component.html","webpack:///./src/app/hydra-browser/hydra-browser.component.scss","webpack:///./src/app/hydra-browser/hydra-browser.component.ts","webpack:///./src/app/hydra-discovery/hydra-discovery.component.html","webpack:///./src/app/hydra-discovery/hydra-discovery.component.scss","webpack:///./src/app/hydra-discovery/hydra-discovery.component.ts","webpack:///./src/app/hydra-documentation/hydra-documentation.component.html","webpack:///./src/app/hydra-documentation/hydra-documentation.component.scss","webpack:///./src/app/hydra-documentation/hydra-documentation.component.ts","webpack:///./src/app/hydra-home/hydra-home.component.html","webpack:///./src/app/hydra-home/hydra-home.component.scss","webpack:///./src/app/hydra-home/hydra-home.component.ts","webpack:///./src/app/hydra-navbar/hydra-navbar.component.html","webpack:///./src/app/hydra-navbar/hydra-navbar.component.scss","webpack:///./src/app/hydra-navbar/hydra-navbar.component.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts","webpack:///rdf-canonize-native (ignored)","webpack:///xmldom (ignored)","webpack:///request (ignored)","webpack:///http (ignored)"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,4E;;;;;;;;;;;ACZA,mB;;;;;;;;;;;ACAA,ipB;;;;;;;;;;;;;;;;;;;;;ACA0C;AAO1C,IAAa,YAAY,GAAzB,MAAa,YAAY;IALzB;QAMkB,UAAK,GAAG,eAAe,CAAC;IAC1C,CAAC;CAAA;AAFY,YAAY;IALxB,+DAAS,CAAC;QACT,QAAQ,EAAE,UAAU;;;KAGrB,CAAC;GACW,YAAY,CAExB;AAFwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACPiC;AACjB;AACI;AACU;AACA;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,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;ACXlC,e;;;;;;;;;;;ACAA,e;;;;;;;;;;;ACAA,e;;;;;;;;;;;ACAA,e","file":"main.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error('Cannot find module \"' + req + '\".');\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","module.exports = \"\"","module.exports = \"\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n\"","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"app-root\",\n templateUrl: \"./app.component.html\",\n styleUrls: [\"./app.component.css\"]\n})\nexport class AppComponent {\n public readonly title = \"Hydra console\";\n}\n","import { BrowserModule } from \"@angular/platform-browser\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { RouterModule, Routes } from \"@angular/router\";\nimport { NgbModule } from \"@ng-bootstrap/ng-bootstrap\";\n\nimport HydraClientFactory from \"heracles/HydraClientFactory\";\n\nimport { AppComponent } from \"./app.component\";\nimport { NavbarComponent } from \"./hydra-navbar/hydra-navbar.component\";\nimport { HydraDiscoveryComponent } from \"./hydra-discovery/hydra-discovery.component\";\nimport { HydraDocumentationComponent } from \"./hydra-documentation/hydra-documentation.component\";\nimport { HydraBrowserComponent } from \"./hydra-browser/hydra-browser.component\";\nimport { HydraHomeComponent } from \"./hydra-home/hydra-home.component\";\n\nconst appRoutes: Routes = [\n { path: \"api-documentation\", component: HydraDocumentationComponent },\n { path: \"browser\", component: HydraBrowserComponent },\n { path: \"**\", component: HydraHomeComponent }\n];\n\n@NgModule({\n declarations: [\n AppComponent,\n NavbarComponent,\n HydraDiscoveryComponent,\n HydraDocumentationComponent,\n HydraBrowserComponent,\n HydraHomeComponent\n ],\n imports: [\n BrowserModule,\n FormsModule,\n NgbModule.forRoot(),\n RouterModule.forRoot(appRoutes/*, { enableTracing: true }*/)\n ],\n providers: [\n { provide: \"HydraClient\", useValue: HydraClientFactory.configure().withDefaults().withAllLinks().andCreate() }\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","import { Observable, BehaviorSubject, Subject, from } from \"rxjs\";\nimport { Inject, Injectable } from \"@angular/core\";\nimport { IHydraClient } from \"heracles/IHydraClient\";\nimport { IApiDocumentation } from \"heracles/DataModel/IApiDocumentation\";\nimport { IWebResource } from \"heracles/DataModel/IWebResource\";\nimport { IClass } from \"heracles/DataModel/IClass\";\n\n@Injectable({ providedIn: \"root\" })\nexport class DiscoveryService {\n private readonly _documentation: Subject;\n private readonly _resource: Subject;\n private readonly _selectedClass: Subject;\n private readonly _selectedResource: Subject;\n\n public readonly documentation: Observable;\n public readonly resource: Observable;\n public readonly selectedClass: Observable;\n public readonly selectedResource: Observable;\n\n public isSelectedClassAvailable = false;\n public isResourceAvailable = false;\n\n constructor(@Inject(\"HydraClient\") private hydraClient: IHydraClient) {\n this._documentation = new BehaviorSubject(null);\n this.documentation = this._documentation.asObservable();\n this._resource = new BehaviorSubject(null);\n this.resource = this._resource.asObservable();\n this._selectedClass = new BehaviorSubject(null);\n this.selectedClass = this._selectedClass.asObservable();\n this._selectedResource = new BehaviorSubject(null);\n this.selectedResource = this._selectedResource.asObservable();\n }\n\n public selectClassOf($class: IClass): void {\n this.isSelectedClassAvailable = true;\n this._selectedClass.next($class);\n }\n\n public load(resource: IWebResource): void {\n this.isResourceAvailable = false;\n if (!!resource) {\n this.isResourceAvailable = true;\n from(this.hydraClient.getResource(resource))\n .subscribe(_ => this._selectedResource.next(_));\n }\n }\n\n public loadApiDocumentation(url: string): void {\n if (!!url && url.toLowerCase().indexOf(\"http\") !== -1) {\n this._resource.next(null);\n this.isSelectedClassAvailable = false;\n this._selectedClass.next(null);\n this.isResourceAvailable = false;\n this._selectedResource.next(null);\n from(this.hydraClient.getApiDocumentation(url)).subscribe(_ => this.onDocumentationLoaded(_, url));\n }\n }\n\n public makeLabelFor(resource: any): string {\n let result = resource.displayName;\n if (!result && !!resource.iri && resource.iri.length > 0 && resource.iri.charAt(0) !== \"_\") {\n result = resource.iri;\n let position = result.indexOf(\"?\");\n if (position !== -1) {\n result = result.substring(0, position);\n }\n\n position = result.indexOf(\"#\");\n if (position !== -1) {\n result = result.substring(position + 1);\n }\n\n position = result.lastIndexOf(\"/\");\n if (position !== -1) {\n result = result.substring(position + 1);\n }\n }\n\n return result;\n }\n\n private onDocumentationLoaded(documentation: IApiDocumentation, url: string): void {\n this._documentation.next(documentation);\n if (!!documentation.entryPoint) {\n from(documentation.getEntryPoint()).subscribe(_ => this._resource.next(_));\n } else {\n from(this.hydraClient.getResource(url)).subscribe(_ => this._resource.next(_));\n }\n }\n}\n","module.exports = \"
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
{{ makeLabelFor(supportedProperty) }}{{ getValueOf(requestedResource, supportedProperty.property.iri) }}
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n {{ makeLabelFor(supportedProperty) }}\\r\\n
\\r\\n \\r\\n {{ getValueOf(member.representation, supportedProperty.property.iri) }}\\r\\n \\r\\n {{ getValueOf(member.representation, supportedProperty.property.iri) }}\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\"","module.exports = \"\"","import { BehaviorSubject, from, Observable, Subject, Subscription } from \"rxjs\";\nimport { Component, Inject, OnDestroy, OnInit } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { DiscoveryService } from \"../discovery.service\";\nimport { IWebResource } from \"heracles/DataModel/IWebResource\";\nimport { IHydraClient } from \"heracles/IHydraClient\";\nimport { IApiDocumentation } from \"heracles/DataModel/IApiDocumentation\";\nimport { IResource } from \"heracles/DataModel/IResource\";\nimport { ISupportedProperty } from \"heracles/DataModel/ISupportedProperty\";\nimport ResourceFilterableCollection from \"heracles/DataModel/Collections/ResourceFilterableCollection\";\nimport TypesCollection from \"heracles/DataModel/Collections/TypesCollection\";\nimport { hydra } from \"heracles/namespaces\";\nimport { IHypermediaContainer } from \"hydraclient.js/types/src/DataModel/IHypermediaContainer\";\nimport {ICollection} from \"hydraclient.js/types/src/DataModel/ICollection\";\nimport {IPartialCollectionView} from \"hydraclient.js/types/src/DataModel/IPartialCollectionView\";\nconst jsonld = require(\"jsonld\");\n\nconst defaultProperty: ISupportedProperty = {\n iri: \"\",\n property: {\n iri: \"@id\",\n displayName: \"IRI\",\n description: \"\",\n type: new TypesCollection([]),\n valuesOfType: new ResourceFilterableCollection([])\n },\n type: new TypesCollection([]),\n required: true,\n readable: true,\n writable: false\n};\n\n@Component({\n selector: \"hydra-browser\",\n templateUrl: \"./hydra-browser.component.html\",\n styleUrls: [\"./hydra-browser.component.scss\"]\n})\nexport class HydraBrowserComponent implements OnInit, OnDestroy {\n public readonly documentation: Observable;\n public readonly selectedResource: Observable;\n public requestedResource: any;\n public supportedProperties: Array;\n public members: Array;\n public more: IResource;\n\n private readonly selectedResourceSubscription: Subscription;\n private readonly _selectedResource: Subject;\n private _iri: string;\n\n public constructor(\n @Inject(Router) private router: Router,\n @Inject(DiscoveryService) private discoveryService: DiscoveryService,\n @Inject(\"HydraClient\") private hydraClient: IHydraClient) {\n this._selectedResource = new BehaviorSubject(null);\n this.selectedResource = this._selectedResource.asObservable();\n this.documentation = this.discoveryService.documentation;\n this.selectedResourceSubscription = this.discoveryService.selectedResource.subscribe(_ => this.reset(_));\n this.members = [];\n this.more = null;\n }\n\n public get hasMembers(): boolean {\n return this.members.length > 0;\n }\n\n public makeLabelFor(resource: any): string {\n return this.discoveryService.makeLabelFor(resource) || this.discoveryService.makeLabelFor(resource.property);\n }\n\n public getValueOf(resource: any, predicateIri: string): any {\n let result = \"\";\n if (!!resource) {\n const value = resource[predicateIri];\n if (!!value && value.length > 0) {\n if (typeof(value) === \"string\") {\n result = value;\n } else {\n result = value[0][\"@id\"] || (value[0][\"@value\"] || \"\");\n }\n }\n }\n\n return result;\n }\n\n public getSupportedProperties(documentation: IApiDocumentation): Iterable {\n this.supportedProperties = [];\n\n const commonTypes = this.gatherCommonTypes(this.members);\n if (commonTypes != null) {\n for (const type of commonTypes) {\n for (const supportedClass of documentation.supportedClasses.ofIri(type)) {\n for (const supportedProperty of supportedClass.supportedProperties) {\n if (!this.supportedProperties[supportedProperty.property.iri]) {\n this.supportedProperties[supportedProperty.property.iri] = supportedProperty;\n this.supportedProperties.push(supportedProperty);\n }\n }\n }\n }\n }\n\n if (this.supportedProperties.length === 0) {\n this.supportedProperties.push(defaultProperty);\n }\n\n return this.supportedProperties;\n }\n\n public load(resource: IResource): void {\n from(this.hydraClient.getResource(resource)).subscribe(_ => this.onSelectedResourceAvailable(_));\n }\n\n public ngOnInit(): void {\n if (!this.discoveryService.isResourceAvailable) {\n this.router.navigate([\"/\"]);\n }\n }\n\n public ngOnDestroy(): void {\n this.selectedResourceSubscription.unsubscribe();\n }\n\n private reset(resource: IWebResource): void {\n this.members = [];\n this._iri = null;\n this.onSelectedResourceAvailable(resource);\n }\n\n private onSelectedResourceAvailable(resource: IWebResource): void {\n if (!!resource) {\n from(jsonld.flatten(resource)).subscribe(_ => this.onJsonLdExpanded(resource, _ as Array));\n } else if (!this._iri) {\n this._selectedResource.next(null);\n }\n }\n\n private onJsonLdExpanded(resource: IWebResource, flattened: Array): void {\n let view: IPartialCollectionView = null;\n const members = [];\n let sourceMembers = [];\n if (!this._iri) {\n this._iri = resource.hypermedia.iri;\n view = resource.hypermedia.view as IPartialCollectionView;\n if (!!resource.hypermedia.members) {\n sourceMembers = resource.hypermedia.members;\n }\n } else {\n const collection = resource.hypermedia.collections.ofIri(this._iri).first();\n if (!!collection) {\n view = collection.view as IPartialCollectionView;\n if (!!collection.members) {\n sourceMembers = collection.members;\n }\n }\n }\n\n for (const member of this.members) {\n members.push(member);\n }\n\n for (const member of sourceMembers) {\n (member as any).representation = flattened.find(_ => _[\"@id\"] === member.iri);\n members.push(member);\n }\n\n this.members = members;\n if (!!view) {\n this.more = view.links.withRelationOf(hydra.next).first();\n } else {\n this.more = null;\n }\n\n this._selectedResource.next(this.requestedResource = flattened.find(_ => _[\"@id\"] === this._iri));\n }\n\n private gatherCommonTypes(members: Iterable): Array {\n let commonTypes = null;\n for (const member of members) {\n if (commonTypes === null) {\n commonTypes = [...member.type];\n } else {\n for (let index = commonTypes.length - 1; index >= 0; index--) {\n if (!member.type.contains(commonTypes[index])) {\n commonTypes.splice(index, 1);\n }\n }\n }\n }\n\n return commonTypes || [];\n }\n}\n","module.exports = \"\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n\"","module.exports = \"nav ul.nav li.nav-item a {\\n cursor: pointer; }\\n\"","import { BehaviorSubject, Observable, Subject} from \"rxjs\";\nimport { Component, Inject } from \"@angular/core\";\nimport { DiscoveryService } from \"../discovery.service\";\nimport { IApiDocumentation } from \"heracles/DataModel/IApiDocumentation\";\nimport { IClass } from \"heracles/DataModel/IClass\";\nimport { IWebResource } from \"heracles/DataModel/IWebResource\";\nimport { IResource } from \"hydraclient.js/types/src/DataModel/IResource\";\n\n@Component({\n selector: \"hydra-discovery\",\n templateUrl: \"./hydra-discovery.component.html\",\n styleUrls: [\"./hydra-discovery.component.scss\"]\n})\nexport class HydraDiscoveryComponent {\n public readonly resource: Observable;\n public readonly documentation: Observable;\n public readonly selectedResource: Observable;\n\n protected currentPanel: string = null;\n\n private readonly _selectedResource: Subject;\n\n public constructor(@Inject(DiscoveryService) private discoveryService: DiscoveryService) {\n this.documentation = this.discoveryService.documentation;\n this.resource = this.discoveryService.resource;\n this._selectedResource = new BehaviorSubject(null);\n this.selectedResource = this._selectedResource.asObservable();\n }\n\n public makeLabelFor(resource: any): string {\n return this.discoveryService.makeLabelFor(resource);\n }\n\n public selectClassOf(value: IClass) {\n this.discoveryService.selectClassOf(value);\n }\n\n public load(resource: IResource): void {\n this.discoveryService.load(resource);\n }\n}\n","module.exports = \"\\n \\n \\n

{{ selectedSupportedClass?.displayName }}

\\n {{ selectedSupportedClass?.iri }}\\n

{{ selectedSupportedClass.description }}

\\n
\\n
\\n \\n \\n
\\n \\n
{{ makeLabelFor(supportedProperty) }}
\\n
\\n \\n get; \\n set; \\n {{ supportedProperty.property.iri }}\\n required\\n \\n
\\n
\\n
\\n
\\n
\\n \\n \\n
\\n \\n
{{ makeLabelFor(supportedOperation) }}
\\n
\\n
{{ supportedOperation.method }} {{ supportedOperation.target?.iri}}
\\n expects:\\n \\n {{ expected.iri }}\\n \\n \\n returns:\\n \\n {{ returned.iri }}\\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\\n\"","module.exports = \"\"","import { Observable } from \"rxjs\";\nimport { Component, Inject, OnInit } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { DiscoveryService } from \"../discovery.service\";\nimport { IClass } from \"heracles/DataModel/IClass\";\nimport { IHydraClient } from \"hydraclient.js/types/src/IHydraClient\";\n\n@Component({\n selector: \"hydra-documentation\",\n templateUrl: \"./hydra-documentation.component.html\",\n styleUrls: [\"./hydra-documentation.component.scss\"]\n})\nexport class HydraDocumentationComponent implements OnInit {\n public readonly selectedSupportedClass: Observable;\n\n public constructor(\n @Inject(Router) private router: Router,\n @Inject(DiscoveryService) private discoveryService: DiscoveryService,\n @Inject(\"HydraClient\") private hydraClient: IHydraClient) {\n this.selectedSupportedClass = this.discoveryService.selectedClass;\n }\n\n public makeLabelFor(resource: any): string {\n return this.discoveryService.makeLabelFor(resource) || this.discoveryService.makeLabelFor(resource.property);\n }\n\n public ngOnInit(): void {\n if (!this.discoveryService.isSelectedClassAvailable) {\n this.router.navigate([\"/\"]);\n }\n }\n}\n","module.exports = \"
\\n Please select any of the options discovered.\\n
\\n\\n
\\n Documentation not available. Please provide an API address.\\n
\\n
\\n\"","module.exports = \"\"","import { Component, Inject, OnDestroy } from \"@angular/core\";\nimport { BehaviorSubject, Observable, Subject, Subscription } from \"rxjs\";\nimport { DiscoveryService } from \"../discovery.service\";\n\n@Component({\n selector: \"hydra-home\",\n templateUrl: \"./hydra-home.component.html\",\n styleUrls: [\"./hydra-home.component.scss\"]\n})\nexport class HydraHomeComponent implements OnDestroy {\n public readonly isDataAvailable: Observable;\n\n private readonly entryPointSubscription: Subscription;\n private readonly documentationSubscription: Subscription;\n private readonly _isDataAvailable: Subject;\n\n public constructor(@Inject(DiscoveryService) private discoveryService: DiscoveryService) {\n this._isDataAvailable = new BehaviorSubject(false);\n this.isDataAvailable = this._isDataAvailable.asObservable();\n this.entryPointSubscription = this.discoveryService.documentation.subscribe(_ => this._isDataAvailable.next(!!_));\n this.documentationSubscription = this.discoveryService.resource.subscribe(_ => this._isDataAvailable.next(!!_));\n }\n\n public ngOnDestroy(): void {\n this.entryPointSubscription.unsubscribe();\n this.documentationSubscription.unsubscribe();\n }\n}\n","module.exports = \"
\\n \\n
\\n
    \\n
  • \\n
  • \\n
\\n
\\n
\\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\"","module.exports = \"header.navbar {\\n background-color: #383838; }\\n\"","import { Component, Inject } from \"@angular/core\";\nimport { DiscoveryService } from \"../discovery.service\";\n\n@Component({\n selector: \"hydra-navbar\",\n templateUrl: \"./hydra-navbar.component.html\",\n styleUrls: [\"./hydra-navbar.component.scss\"]\n})\nexport class NavbarComponent {\n public constructor(@Inject(DiscoveryService) private documentationService: DiscoveryService) {\n }\n\n /// Example APIs:\n /// https://wikibus-test.gear.host/ - by tpluscode\n /// https://screening-events.herokuapp.com/ - by angelov\n\n public documentationUrl = \"\";\n\n public async onLoadClick(): Promise {\n if (!!this.documentationUrl) {\n await this.documentationService.loadApiDocumentation(this.documentationUrl);\n }\n }\n}\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * In development mode, to ignore zone related error stack frames such as\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\n * import the following file, but please comment it out in production mode\n * because it will have performance impact when throw error\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.log(err));\n","/* (ignored) */","/* (ignored) */","/* (ignored) */","/* (ignored) */"],"sourceRoot":""}