@hestia-earth/ui-components 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hestia-earth-ui-components.umd.js +10 -4
- package/bundles/hestia-earth-ui-components.umd.js.map +1 -1
- package/engine/engine.service.d.ts +2 -1
- package/esm2015/engine/engine.service.js +10 -6
- package/fesm2015/hestia-earth-ui-components.js +8 -4
- package/fesm2015/hestia-earth-ui-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -1272,7 +1272,8 @@
|
|
|
1272
1272
|
].filter(Boolean).join('-')
|
|
1273
1273
|
].join('/'); };
|
|
1274
1274
|
var HeEngineService = /** @class */ (function () {
|
|
1275
|
-
function HeEngineService(http) {
|
|
1275
|
+
function HeEngineService(_orchestratorBaseUrl, http) {
|
|
1276
|
+
this._orchestratorBaseUrl = _orchestratorBaseUrl;
|
|
1276
1277
|
this.http = http;
|
|
1277
1278
|
this.modelsLoading = false;
|
|
1278
1279
|
this.modelsLoaded = false;
|
|
@@ -1322,20 +1323,25 @@
|
|
|
1322
1323
|
return this.model$(model).pipe(operators.take(1)).toPromise();
|
|
1323
1324
|
};
|
|
1324
1325
|
HeEngineService.prototype.ochestratorConfig = function (type) {
|
|
1325
|
-
return this.http.get(
|
|
1326
|
+
return this.http.get(this._orchestratorBaseUrl + "/" + type + ".json", {
|
|
1326
1327
|
params: { inline: false }
|
|
1327
1328
|
}).toPromise();
|
|
1328
1329
|
};
|
|
1329
1330
|
return HeEngineService;
|
|
1330
1331
|
}());
|
|
1331
|
-
HeEngineService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeEngineService, deps: [{ token: i1__namespace$1.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1332
|
+
HeEngineService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeEngineService, deps: [{ token: HE_ORCHESTRATOR_BASE_URL }, { token: i1__namespace$1.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1332
1333
|
HeEngineService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeEngineService, providedIn: 'root' });
|
|
1333
1334
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HeEngineService, decorators: [{
|
|
1334
1335
|
type: i0.Injectable,
|
|
1335
1336
|
args: [{
|
|
1336
1337
|
providedIn: 'root'
|
|
1337
1338
|
}]
|
|
1338
|
-
}], ctorParameters: function () {
|
|
1339
|
+
}], ctorParameters: function () {
|
|
1340
|
+
return [{ type: undefined, decorators: [{
|
|
1341
|
+
type: i0.Inject,
|
|
1342
|
+
args: [HE_ORCHESTRATOR_BASE_URL]
|
|
1343
|
+
}] }, { type: i1__namespace$1.HttpClient }];
|
|
1344
|
+
} });
|
|
1339
1345
|
|
|
1340
1346
|
var NodeKeyState;
|
|
1341
1347
|
(function (NodeKeyState) {
|