@colijnit/transaction 255.1.60 → 255.1.61
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/colijnit-transaction.umd.js +11 -13
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +56 -55
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +59 -58
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.d.ts +2 -3
- package/package.json +1 -1
- package/colijnit-transaction-255.1.58.tgz +0 -0
- package/colijnit-transaction-255.1.60.tgz +0 -0
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
function Version() {
|
|
34
34
|
this.name = "@colijnit/transaction";
|
|
35
35
|
this.description = "Colijn IT transaction package";
|
|
36
|
-
this.symVer = "255.1.
|
|
37
|
-
this.publishDate = "
|
|
36
|
+
this.symVer = "255.1.61";
|
|
37
|
+
this.publishDate = "12-11-2024 10:37:23";
|
|
38
38
|
}
|
|
39
39
|
return Version;
|
|
40
40
|
}());
|
|
@@ -40271,13 +40271,12 @@
|
|
|
40271
40271
|
]; };
|
|
40272
40272
|
|
|
40273
40273
|
var DialogCatalogComponent = /** @class */ (function () {
|
|
40274
|
-
function DialogCatalogComponent(_transactionService, _catalogService, _catalogEventService, _articleService, _dialogService,
|
|
40274
|
+
function DialogCatalogComponent(_transactionService, _catalogService, _catalogEventService, _articleService, _dialogService, iconCacheService) {
|
|
40275
40275
|
this._transactionService = _transactionService;
|
|
40276
40276
|
this._catalogService = _catalogService;
|
|
40277
40277
|
this._catalogEventService = _catalogEventService;
|
|
40278
40278
|
this._articleService = _articleService;
|
|
40279
40279
|
this._dialogService = _dialogService;
|
|
40280
|
-
this._screenConfigService = _screenConfigService;
|
|
40281
40280
|
this.iconCacheService = iconCacheService;
|
|
40282
40281
|
this.icons = Icon;
|
|
40283
40282
|
this.handleAddArticleInternally = true;
|
|
@@ -40291,6 +40290,7 @@
|
|
|
40291
40290
|
this.addArticleClicked = new i0.EventEmitter();
|
|
40292
40291
|
this.addCatFarmArticleClicked = new i0.EventEmitter();
|
|
40293
40292
|
this.addExternalArticleClicked = new i0.EventEmitter();
|
|
40293
|
+
this.settingsSet = false;
|
|
40294
40294
|
this.showExternalCatalog = false;
|
|
40295
40295
|
this.showStock = false;
|
|
40296
40296
|
this.showProduct = false;
|
|
@@ -40309,19 +40309,18 @@
|
|
|
40309
40309
|
var _this = this;
|
|
40310
40310
|
return __generator(this, function (_a) {
|
|
40311
40311
|
switch (_a.label) {
|
|
40312
|
-
case 0:
|
|
40313
|
-
case 1:
|
|
40314
|
-
_a.sent();
|
|
40312
|
+
case 0:
|
|
40315
40313
|
this.catalogSettings = Object.assign({}, this._transactionService.optionsService.settings);
|
|
40316
|
-
if (!this.catalogSettings) return [3 /*break*/,
|
|
40314
|
+
if (!this.catalogSettings) return [3 /*break*/, 2];
|
|
40317
40315
|
this.catalogSettings.createWebOrder = false;
|
|
40318
40316
|
this.catalogSettings.options = this.options;
|
|
40319
40317
|
this.catalogSettings.catalogParameters = this.parameters;
|
|
40320
40318
|
return [4 /*yield*/, this._catalogService.init(this.catalogSettings, true)];
|
|
40321
|
-
case
|
|
40319
|
+
case 1:
|
|
40322
40320
|
_a.sent();
|
|
40323
|
-
|
|
40324
|
-
|
|
40321
|
+
this.settingsSet = true;
|
|
40322
|
+
_a.label = 2;
|
|
40323
|
+
case 2:
|
|
40325
40324
|
this._subs.push(this._catalogEventService.stockDetailsClick.subscribe(function (article) {
|
|
40326
40325
|
_this.handleStockButtonClick(article);
|
|
40327
40326
|
}));
|
|
@@ -40478,7 +40477,7 @@
|
|
|
40478
40477
|
DialogCatalogComponent.decorators = [
|
|
40479
40478
|
{ type: i0.Component, args: [{
|
|
40480
40479
|
selector: "co-dialog-catalog",
|
|
40481
|
-
template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [@.disabled]=\"destroyed\">\n <co-icon *ngIf=\"showExternalCatalog\" [iconData]=\"iconCacheService.getIcon(icons.ArrowPointLeft)\"\n (click)=\"handleBackClick($event)\"></co-icon>\n <ng-container *ngIf=\"!showExternalCatalog\">\n
|
|
40480
|
+
template: "\n <co-dialog (closeClick)=\"closeClick.emit($event)\" [@.disabled]=\"destroyed\">\n <co-icon *ngIf=\"showExternalCatalog\" [iconData]=\"iconCacheService.getIcon(icons.ArrowPointLeft)\"\n (click)=\"handleBackClick($event)\"></co-icon>\n <ng-container *ngIf=\"settingsSet\">\n <ng-container *ngIf=\"!showExternalCatalog\">\n <div class=\"dialog-catalog-product-wrapper\" [class.show-product]=\"showProduct\">\n <co-catalog-search\n [title]=\"'CATALOG' | localize\"\n [subTitle]=\"'SEARCH_BY_ARTICLENUMBER_NAME_OR_DESCRIPTION' | localize\"\n [searchPlaceholder]=\"'SEARCH_BY_ARTICLENUMBER_OR_DESCRIPTION' | localize\"\n [createFrozenArticle]=\"false\"\n [showNavigation]=\"showNavigation\"\n [settings]=\"catalogSettings\"\n (onExternalSourceClick)=\"handleExternalSourceClick($event)\"\n (onAddArticleButtonClick)=\"handleAddArticleClick($event)\"\n (onLookAtArticleButtonClick)=\"handleArticleClick($event)\"\n (onArticleClick)=\"handleArticleClick($event)\">\n </co-catalog-search>\n <div class=\"catalog-article-wrapper\">\n <co-icon class=\"back-button-product\" [iconData]=\"iconCacheService.getIcon(icons.ArrowPointLeft)\"\n (click)=\"showProduct = false\"></co-icon>\n <app-ione-product *ngIf=\"showProduct\"\n [sku]=\"sku\"\n [settings]=\"catalogSettings\"\n [handleAddArticleInternally]=\"false\"\n [isReturn]=\"isReturn\"\n (onAddToCart)=\"handleAddArticleFromArticleClick($event)\"\n (onAlternativeClick)=\"handleOnAlternativeClick($event)\"\n ></app-ione-product>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"showExternalCatalog\">\n <div class=\"dialog-catalog-product-wrapper\" [class.show-product]=\"showProduct\">\n\n <co-catalog-external-source\n [externalCatalogStartupInfo]=\"catalogInfo\"\n [title]=\"'CATALOG' | localize | append: ' ' | append: externalCatalogName\"\n [subTitle]=\"'SEARCH_BY_ARTICLENUMBER_NAME_OR_DESCRIPTION' | localize\"\n [searchPlaceholder]=\"'SEARCH_BY_ARTICLENUMBER_OR_DESCRIPTION' | localize\"\n [name]=\"externalCatalogName\"\n [options]=\"externalCatalogOptions\"\n [showNavigation]=\"false\"\n (articleClick)=\"handleCatFarmArticleClicked($event)\"\n (addArticleClick)=\"handleAddCatFarmArticleClicked($event)\"\n (iFrameFeedbackReceived)=\"handleIFrameFeedback($event)\"\n ></co-catalog-external-source>\n\n <div class=\"catalog-article-wrapper\">\n <co-icon class=\"back-button-product\" [iconData]=\"iconCacheService.getIcon(icons.ArrowPointLeft)\"\n (click)=\"showProduct = false\"></co-icon>\n <co-product-external-source *ngIf=\"showProduct\"\n [externalSource]=\"externalSource\"\n [sku]=\"catSku\"\n (addToCart)=\"handleAddCatFarmArticleClicked($event)\"\n ></co-product-external-source>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </co-dialog>\n <co-dialog *ngIf=\"articleForStock && showStock\" (closeClick)=\"cancelStockButtonClick()\">\n <co-stock [article]=\"articleForStock\" (cancelButtonClicked)=\"cancelStockButtonClick()\"></co-stock>\n </co-dialog>\n ",
|
|
40482
40481
|
providers: [
|
|
40483
40482
|
catalog.CatalogService,
|
|
40484
40483
|
product.ProductConnectorService,
|
|
@@ -40503,7 +40502,6 @@
|
|
|
40503
40502
|
{ type: catalog.CatalogEventService },
|
|
40504
40503
|
{ type: ArticleService },
|
|
40505
40504
|
{ type: DialogService },
|
|
40506
|
-
{ type: CatalogScreenConfigurationService },
|
|
40507
40505
|
{ type: IconCacheService }
|
|
40508
40506
|
]; };
|
|
40509
40507
|
DialogCatalogComponent.propDecorators = {
|