@veloceapps/sdk 4.0.16 → 4.0.18
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/veloce-sdk-cms.umd.js +14 -2
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-core.umd.js +10 -4
- package/bundles/veloce-sdk-core.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +1 -1
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/components/element.component.d.ts +6 -2
- package/cms/components/plugin.component.d.ts +4 -4
- package/cms/types/configuration.types.d.ts +1 -1
- package/core/services/context.service.d.ts +1 -0
- package/esm2015/cms/components/element.component.js +15 -2
- package/esm2015/cms/components/plugin.component.js +2 -2
- package/esm2015/cms/plugins/configuration.plugin.js +3 -3
- package/esm2015/cms/types/configuration.types.js +1 -1
- package/esm2015/core/services/context.service.js +7 -1
- package/esm2015/core/services/quote-draft.service.js +4 -4
- package/esm2015/src/components/header/header.component.js +2 -2
- package/fesm2015/veloce-sdk-cms.js +14 -2
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-core.js +9 -3
- package/fesm2015/veloce-sdk-core.js.map +1 -1
- package/fesm2015/veloce-sdk.js +1 -1
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
@@ -438,12 +438,24 @@
|
|
438
438
|
_super.prototype.initPlugins.call(_this);
|
439
439
|
return _this;
|
440
440
|
}
|
441
|
+
ElementComponent.prototype.ngOnChanges = function (changes) {
|
442
|
+
this.plugins.forEach(function (plugin) { var _a; return (_a = plugin.ngOnChanges) === null || _a === void 0 ? void 0 : _a.call(plugin, changes); });
|
443
|
+
};
|
441
444
|
ElementComponent.prototype.ngOnInit = function () {
|
442
445
|
this.plugins.forEach(function (plugin) { var _a; return (_a = plugin.ngOnInit) === null || _a === void 0 ? void 0 : _a.call(plugin); });
|
443
446
|
};
|
447
|
+
ElementComponent.prototype.ngDoCheck = function () {
|
448
|
+
this.plugins.forEach(function (plugin) { var _a; return (_a = plugin.ngDoCheck) === null || _a === void 0 ? void 0 : _a.call(plugin); });
|
449
|
+
};
|
450
|
+
ElementComponent.prototype.ngAfterContentInit = function () {
|
451
|
+
this.plugins.forEach(function (plugin) { var _a; return (_a = plugin.ngAfterContentInit) === null || _a === void 0 ? void 0 : _a.call(plugin); });
|
452
|
+
};
|
444
453
|
ElementComponent.prototype.ngAfterViewInit = function () {
|
445
454
|
this.plugins.forEach(function (plugin) { var _a; return (_a = plugin.ngAfterViewInit) === null || _a === void 0 ? void 0 : _a.call(plugin); });
|
446
455
|
};
|
456
|
+
ElementComponent.prototype.ngAfterViewChecked = function () {
|
457
|
+
this.plugins.forEach(function (plugin) { var _a; return (_a = plugin.ngAfterViewChecked) === null || _a === void 0 ? void 0 : _a.call(plugin); });
|
458
|
+
};
|
447
459
|
ElementComponent.prototype.ngOnDestroy = function () {
|
448
460
|
this.plugins.forEach(function (plugin) { var _a; return (_a = plugin.ngOnDestroy) === null || _a === void 0 ? void 0 : _a.call(plugin); });
|
449
461
|
};
|
@@ -1333,8 +1345,8 @@
|
|
1333
1345
|
ConfigurationPlugin.prototype.registerPort = function (name) {
|
1334
1346
|
var _this = this;
|
1335
1347
|
var model$ = this.host.model$;
|
1336
|
-
var portItems$ = model$.pipe(rxjs.map(function (model) { return model.lineItems.filter(function (li) { return li.port === _this.host.boundName; }); }));
|
1337
|
-
var portDomain$ = model$.pipe(rxjs.map(function (model) { return model.portDomains[_this.host.boundName]; }));
|
1348
|
+
var portItems$ = model$.pipe(rxjs.map(function (model) { var _a; return (_a = model === null || model === void 0 ? void 0 : model.lineItems.filter(function (li) { return li.port === _this.host.boundName; })) !== null && _a !== void 0 ? _a : []; }));
|
1349
|
+
var portDomain$ = model$.pipe(rxjs.map(function (model) { return model === null || model === void 0 ? void 0 : model.portDomains[_this.host.boundName]; }));
|
1338
1350
|
var add = function (type, attributes) {
|
1339
1351
|
if (attributes === void 0) { attributes = []; }
|
1340
1352
|
if (!_this.modelSnapshot) {
|