@colijnit/transaction 12.1.35 → 12.1.37
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 +855 -554
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +267 -261
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +268 -262
- package/esm2015/lib/component/checkout/checkout.component.js +3 -1
- package/esm2015/lib/component/core/base/dynamic-base-component.js +8 -0
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +34 -14
- package/esm2015/lib/component/core/base/transaction-header-base.component.js +1 -1
- package/esm2015/lib/component/core/base/transaction-line-base.component.js +1 -1
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.component.js +3 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.js +4 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.component.js +3 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.component.js +3 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.js +3 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.js +3 -1
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +37 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.module.js +28 -0
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +2 -1
- package/esm2015/lib/component/transaction/transaction.component.js +13 -23
- package/esm2015/lib/component/transaction/transaction.module.js +1 -1
- package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.js +3 -3
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +1 -1
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +39 -22
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +2 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-date.component.js +5 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-preferred-delivery-date.component.js +6 -2
- package/esm2015/lib/component/transaction-line/transaction-line.component.js +18 -7
- package/esm2015/lib/component/transaction-line/transaction-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +45 -5
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +45 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.module.js +23 -0
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +64 -52
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +2 -4
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +6 -2
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +23 -18
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +4 -10
- package/esm2015/lib/service/article-connector.service.js +2 -8
- package/esm2015/lib/service/article.service.js +6 -2
- package/esm2015/lib/service/dialog.service.js +32 -41
- package/esm2015/lib/service/dynamic-component.service.js +68 -0
- package/esm2015/lib/service/transaction.service.js +3 -3
- package/fesm2015/colijnit-transaction.js +643 -359
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/dynamic-base-component.d.ts +3 -0
- package/lib/component/core/base/transaction-filter-popup-base.component.d.ts +4 -2
- package/lib/component/dialog/dialog-header-search/style/_layout.scss +16 -0
- package/lib/component/dialog/dialog-header-search/style/_material-definition.scss +4 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_material-definition.scss +1 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.d.ts +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.module.d.ts +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/style/_material-definition.scss +1 -1
- package/lib/component/transaction/transaction.component.d.ts +3 -3
- package/lib/component/transaction-grid/transaction-received-goods-grid/style/_layout.scss +11 -0
- package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +7 -2
- package/lib/component/transaction-line/style/_layout.scss +6 -0
- package/lib/component/transaction-line/style/material.scss +1 -1
- package/lib/component/transaction-line/transaction-line.component.d.ts +2 -0
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +13 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-date.component.d.ts +9 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +13 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location.module.d.ts +2 -0
- package/lib/component/transaction-line-side-panel/style/_layout.scss +16 -13
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +4 -2
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +1 -1
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +2 -0
- package/lib/component/transaction-receiving-goods-details/style/_layout.scss +16 -0
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +4 -1
- package/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.d.ts +5 -7
- package/lib/service/dialog.service.d.ts +10 -3
- package/lib/service/dynamic-component.service.d.ts +9 -0
- package/lib/service/transaction.service.d.ts +1 -1
- package/lib/style/_variables.scss +1 -0
- package/lib/style/transaction-globals.scss +6 -2
- package/package.json +3 -3
|
@@ -2641,8 +2641,10 @@
|
|
|
2641
2641
|
|
|
2642
2642
|
var TransactionFilterPopupBaseComponent = /** @class */ (function () {
|
|
2643
2643
|
function TransactionFilterPopupBaseComponent() {
|
|
2644
|
+
this.autoClose = false;
|
|
2644
2645
|
this.useModel = true;
|
|
2645
2646
|
this.valueChange = new i0.EventEmitter();
|
|
2647
|
+
this.closeAfterCommit = new i0.EventEmitter();
|
|
2646
2648
|
this.viewModels = [];
|
|
2647
2649
|
this.viewModelsFiltered = [];
|
|
2648
2650
|
this.propsForLabel = [];
|
|
@@ -2677,20 +2679,44 @@
|
|
|
2677
2679
|
enumerable: false,
|
|
2678
2680
|
configurable: true
|
|
2679
2681
|
});
|
|
2680
|
-
TransactionFilterPopupBaseComponent.prototype.commit = function (value) {
|
|
2682
|
+
TransactionFilterPopupBaseComponent.prototype.commit = function (value) {
|
|
2683
|
+
return Promise.resolve(true);
|
|
2684
|
+
};
|
|
2681
2685
|
TransactionFilterPopupBaseComponent.prototype.handleChecked = function (row) {
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2686
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2687
|
+
var currentModel, i;
|
|
2688
|
+
return __generator(this, function (_a) {
|
|
2689
|
+
switch (_a.label) {
|
|
2690
|
+
case 0:
|
|
2691
|
+
row.checked = true;
|
|
2692
|
+
currentModel = this.viewModels.find(function (v) { return v.value === row.value; });
|
|
2693
|
+
if (currentModel) {
|
|
2694
|
+
currentModel.checked = true;
|
|
2695
|
+
}
|
|
2696
|
+
for (i = 0; i < this.viewModels.length; i++) {
|
|
2697
|
+
if (this.viewModels[i].value !== row.value) {
|
|
2698
|
+
this.viewModels[i].checked = false;
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
if (!this.useModel) return [3 /*break*/, 4];
|
|
2702
|
+
if (!this.autoClose) return [3 /*break*/, 2];
|
|
2703
|
+
return [4 /*yield*/, this.commit(row.value)];
|
|
2704
|
+
case 1:
|
|
2705
|
+
if (_a.sent()) {
|
|
2706
|
+
this.closeAfterCommit.emit();
|
|
2707
|
+
}
|
|
2708
|
+
return [3 /*break*/, 3];
|
|
2709
|
+
case 2:
|
|
2710
|
+
this.commit(row.value);
|
|
2711
|
+
_a.label = 3;
|
|
2712
|
+
case 3: return [3 /*break*/, 5];
|
|
2713
|
+
case 4:
|
|
2714
|
+
this.valueChange.emit(row.value);
|
|
2715
|
+
_a.label = 5;
|
|
2716
|
+
case 5: return [2 /*return*/];
|
|
2717
|
+
}
|
|
2718
|
+
});
|
|
2719
|
+
});
|
|
2694
2720
|
};
|
|
2695
2721
|
TransactionFilterPopupBaseComponent.prototype.prepareViewModels = function () {
|
|
2696
2722
|
var _this = this;
|
|
@@ -2731,9 +2757,11 @@
|
|
|
2731
2757
|
{ type: i0.Directive }
|
|
2732
2758
|
];
|
|
2733
2759
|
TransactionFilterPopupBaseComponent.propDecorators = {
|
|
2760
|
+
autoClose: [{ type: i0.Input }],
|
|
2734
2761
|
useModel: [{ type: i0.Input }],
|
|
2735
2762
|
searchText: [{ type: i0.Input }],
|
|
2736
|
-
valueChange: [{ type: i0.Output }]
|
|
2763
|
+
valueChange: [{ type: i0.Output }],
|
|
2764
|
+
closeAfterCommit: [{ type: i0.Output }]
|
|
2737
2765
|
};
|
|
2738
2766
|
|
|
2739
2767
|
var TransactionLineBaseComponent = /** @class */ (function (_super) {
|
|
@@ -2841,7 +2869,7 @@
|
|
|
2841
2869
|
DialogTransactionLineWarehouseComponent.decorators = [
|
|
2842
2870
|
{ type: i0.Component, args: [{
|
|
2843
2871
|
selector: "co-dialog-transaction-line-warehouse",
|
|
2844
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-warehouse\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-warehouse>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'WAREHOUSE'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2872
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-warehouse\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-warehouse>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'WAREHOUSE'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2845
2873
|
encapsulation: i0.ViewEncapsulation.None
|
|
2846
2874
|
},] }
|
|
2847
2875
|
];
|
|
@@ -2862,7 +2890,7 @@
|
|
|
2862
2890
|
DialogTransactionLineCommissionCodeComponent.decorators = [
|
|
2863
2891
|
{ type: i0.Component, args: [{
|
|
2864
2892
|
selector: "co-dialog-transaction-line-commission-code",
|
|
2865
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-commission-code\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-commission-code>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"dialog-header-title\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2893
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-commission-code\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-commission-code>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"dialog-header-title\" [textContent]=\"'COMMISSION_CODE' | localize\"></div>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2866
2894
|
encapsulation: i0.ViewEncapsulation.None
|
|
2867
2895
|
},] }
|
|
2868
2896
|
];
|
|
@@ -2870,12 +2898,104 @@
|
|
|
2870
2898
|
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-commission-code",] }]
|
|
2871
2899
|
};
|
|
2872
2900
|
|
|
2901
|
+
var DynamicComponentService = /** @class */ (function () {
|
|
2902
|
+
function DynamicComponentService(_compFactoryResolver, appRef, injector) {
|
|
2903
|
+
this._compFactoryResolver = _compFactoryResolver;
|
|
2904
|
+
this.appRef = appRef;
|
|
2905
|
+
this.injector = injector;
|
|
2906
|
+
this._componentRefs = [];
|
|
2907
|
+
}
|
|
2908
|
+
DynamicComponentService.prototype.createComponent = function (componentClass, inputs, outputs, providers) {
|
|
2909
|
+
var _this = this;
|
|
2910
|
+
return new Promise(function (resolve) {
|
|
2911
|
+
if (providers) {
|
|
2912
|
+
i0.Injector.create(providers, _this.injector);
|
|
2913
|
+
}
|
|
2914
|
+
var componentRef = _this._compFactoryResolver
|
|
2915
|
+
.resolveComponentFactory(componentClass)
|
|
2916
|
+
.create(_this.injector);
|
|
2917
|
+
_this._componentRefs.push(componentRef);
|
|
2918
|
+
if (inputs) {
|
|
2919
|
+
for (var property in inputs) {
|
|
2920
|
+
if (inputs.hasOwnProperty(property)) {
|
|
2921
|
+
componentRef.instance[property] = inputs[property];
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
if (outputs) {
|
|
2926
|
+
var _loop_1 = function (event) {
|
|
2927
|
+
if (outputs.hasOwnProperty(event)) {
|
|
2928
|
+
componentRef.instance[event].subscribe(function () { return outputs[event](); });
|
|
2929
|
+
}
|
|
2930
|
+
};
|
|
2931
|
+
for (var event in outputs) {
|
|
2932
|
+
_loop_1(event);
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
_this.appRef.attachView(componentRef.hostView);
|
|
2936
|
+
var domElem = componentRef.hostView
|
|
2937
|
+
.rootNodes[0];
|
|
2938
|
+
document.body.appendChild(domElem);
|
|
2939
|
+
componentRef.onDestroy(function () {
|
|
2940
|
+
_this.appRef.detachView(componentRef.hostView);
|
|
2941
|
+
});
|
|
2942
|
+
componentRef.instance.onClose = function (button, output) {
|
|
2943
|
+
var idx = _this._componentRefs.indexOf(componentRef);
|
|
2944
|
+
_this.appRef.detachView(componentRef.hostView);
|
|
2945
|
+
_this._componentRefs[idx] = undefined;
|
|
2946
|
+
_this._componentRefs.splice(idx, 1);
|
|
2947
|
+
if (outputs) {
|
|
2948
|
+
for (var event in outputs) {
|
|
2949
|
+
if (outputs.hasOwnProperty(event)) {
|
|
2950
|
+
componentRef.instance[event].unsubscribe();
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
resolve(output ? output : button);
|
|
2955
|
+
};
|
|
2956
|
+
});
|
|
2957
|
+
};
|
|
2958
|
+
return DynamicComponentService;
|
|
2959
|
+
}());
|
|
2960
|
+
DynamicComponentService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DynamicComponentService_Factory() { return new DynamicComponentService(i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(i0__namespace.ApplicationRef), i0__namespace.ɵɵinject(i0__namespace.INJECTOR)); }, token: DynamicComponentService, providedIn: "root" });
|
|
2961
|
+
DynamicComponentService.decorators = [
|
|
2962
|
+
{ type: i0.Injectable, args: [{
|
|
2963
|
+
providedIn: "root"
|
|
2964
|
+
},] }
|
|
2965
|
+
];
|
|
2966
|
+
DynamicComponentService.ctorParameters = function () { return [
|
|
2967
|
+
{ type: i0.ComponentFactoryResolver },
|
|
2968
|
+
{ type: i0.ApplicationRef },
|
|
2969
|
+
{ type: i0.Injector }
|
|
2970
|
+
]; };
|
|
2971
|
+
|
|
2972
|
+
var DialogTransactionLineWarehouseLocationComponent = /** @class */ (function (_super) {
|
|
2973
|
+
__extends(DialogTransactionLineWarehouseLocationComponent, _super);
|
|
2974
|
+
function DialogTransactionLineWarehouseLocationComponent() {
|
|
2975
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2976
|
+
}
|
|
2977
|
+
DialogTransactionLineWarehouseLocationComponent.prototype.showClass = function () {
|
|
2978
|
+
return true;
|
|
2979
|
+
};
|
|
2980
|
+
return DialogTransactionLineWarehouseLocationComponent;
|
|
2981
|
+
}(DialogTransactionLineBaseComponent));
|
|
2982
|
+
DialogTransactionLineWarehouseLocationComponent.decorators = [
|
|
2983
|
+
{ type: i0.Component, args: [{
|
|
2984
|
+
selector: "co-dialog-transaction-line-warehouse-location",
|
|
2985
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"onClose(buttonType.Ok)\">\n <co-transaction-line-warehouse-location\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-warehouse-location>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'LOCATION'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
2986
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
2987
|
+
},] }
|
|
2988
|
+
];
|
|
2989
|
+
DialogTransactionLineWarehouseLocationComponent.propDecorators = {
|
|
2990
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-warehouse-location",] }]
|
|
2991
|
+
};
|
|
2992
|
+
|
|
2873
2993
|
var DialogService = /** @class */ (function () {
|
|
2874
|
-
function DialogService(_compFactoryResolver, appRef, injector) {
|
|
2994
|
+
function DialogService(_compFactoryResolver, appRef, injector, dynamicComponentService) {
|
|
2875
2995
|
this._compFactoryResolver = _compFactoryResolver;
|
|
2876
2996
|
this.appRef = appRef;
|
|
2877
2997
|
this.injector = injector;
|
|
2878
|
-
|
|
2998
|
+
this.dynamicComponentService = dynamicComponentService;
|
|
2879
2999
|
this._componentRefs = [];
|
|
2880
3000
|
}
|
|
2881
3001
|
DialogService.prototype.showYesNo = function (title, text) {
|
|
@@ -2889,7 +3009,7 @@
|
|
|
2889
3009
|
text: text,
|
|
2890
3010
|
type: AppPopupType.Confirmation
|
|
2891
3011
|
};
|
|
2892
|
-
return [4 /*yield*/, this.
|
|
3012
|
+
return [4 /*yield*/, this.dynamicComponentService.createComponent(ConfirmationDialogComponent, data)];
|
|
2893
3013
|
case 1:
|
|
2894
3014
|
response = _a.sent();
|
|
2895
3015
|
return [2 /*return*/, response === AppPopupButtonType.Yes];
|
|
@@ -2906,7 +3026,7 @@
|
|
|
2906
3026
|
if (details) {
|
|
2907
3027
|
data.details = details;
|
|
2908
3028
|
}
|
|
2909
|
-
return this.
|
|
3029
|
+
return this.dynamicComponentService.createComponent(ConfirmationDialogComponent, data);
|
|
2910
3030
|
};
|
|
2911
3031
|
DialogService.prototype.showInformation = function (message) {
|
|
2912
3032
|
var data = {
|
|
@@ -2914,7 +3034,19 @@
|
|
|
2914
3034
|
text: message,
|
|
2915
3035
|
type: AppPopupType.Information
|
|
2916
3036
|
};
|
|
2917
|
-
return this.
|
|
3037
|
+
return this.dynamicComponentService.createComponent(ConfirmationDialogComponent, data);
|
|
3038
|
+
};
|
|
3039
|
+
DialogService.prototype.showTransactionLineComponent = function (comp, transLine) {
|
|
3040
|
+
var data = {
|
|
3041
|
+
transactionLine: transLine
|
|
3042
|
+
};
|
|
3043
|
+
return this.dynamicComponentService.createComponent(comp, data);
|
|
3044
|
+
};
|
|
3045
|
+
DialogService.prototype.showTransactionHeaderComponent = function (comp, transactionInfo) {
|
|
3046
|
+
var data = {
|
|
3047
|
+
transactionInfo: transactionInfo
|
|
3048
|
+
};
|
|
3049
|
+
return this.dynamicComponentService.createComponent(comp, data);
|
|
2918
3050
|
};
|
|
2919
3051
|
DialogService.prototype.showCharacteristics = function (title, choices, value) {
|
|
2920
3052
|
var data = {
|
|
@@ -2922,55 +3054,29 @@
|
|
|
2922
3054
|
choices: choices,
|
|
2923
3055
|
value: value
|
|
2924
3056
|
};
|
|
2925
|
-
return this.
|
|
3057
|
+
return this.dynamicComponentService.createComponent(CharacteristicAnswerComponent, data);
|
|
2926
3058
|
};
|
|
2927
3059
|
DialogService.prototype.showWarehouse = function () {
|
|
2928
3060
|
var data = {
|
|
2929
3061
|
useModel: false
|
|
2930
3062
|
};
|
|
2931
|
-
return this.
|
|
3063
|
+
return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseComponent, data);
|
|
2932
3064
|
};
|
|
2933
3065
|
DialogService.prototype.showCommissionCode = function () {
|
|
2934
3066
|
var data = {
|
|
2935
3067
|
useModel: false
|
|
2936
3068
|
};
|
|
2937
|
-
return this.
|
|
3069
|
+
return this.dynamicComponentService.createComponent(DialogTransactionLineCommissionCodeComponent, data);
|
|
2938
3070
|
};
|
|
2939
|
-
DialogService.prototype.
|
|
2940
|
-
var
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
}
|
|
2945
|
-
var componentRef = _this._compFactoryResolver
|
|
2946
|
-
.resolveComponentFactory(componentClass)
|
|
2947
|
-
.create(_this.injector);
|
|
2948
|
-
_this._componentRefs.push(componentRef);
|
|
2949
|
-
for (var key in data) {
|
|
2950
|
-
if (data.hasOwnProperty(key)) {
|
|
2951
|
-
componentRef.instance[key] = data[key];
|
|
2952
|
-
}
|
|
2953
|
-
}
|
|
2954
|
-
_this.appRef.attachView(componentRef.hostView);
|
|
2955
|
-
var domElem = componentRef.hostView
|
|
2956
|
-
.rootNodes[0];
|
|
2957
|
-
document.body.appendChild(domElem);
|
|
2958
|
-
componentRef.onDestroy(function () {
|
|
2959
|
-
_this.appRef.detachView(componentRef.hostView);
|
|
2960
|
-
});
|
|
2961
|
-
// @ts-ignore
|
|
2962
|
-
componentRef.instance.onClose = function (button, output) {
|
|
2963
|
-
var idx = _this._componentRefs.indexOf(componentRef);
|
|
2964
|
-
_this.appRef.detachView(componentRef.hostView);
|
|
2965
|
-
_this._componentRefs[idx] = undefined;
|
|
2966
|
-
_this._componentRefs.splice(idx, 1);
|
|
2967
|
-
resolve(output ? output : button);
|
|
2968
|
-
};
|
|
2969
|
-
});
|
|
3071
|
+
DialogService.prototype.showWarehouseLocation = function () {
|
|
3072
|
+
var data = {
|
|
3073
|
+
useModel: false
|
|
3074
|
+
};
|
|
3075
|
+
return this.dynamicComponentService.createComponent(DialogTransactionLineWarehouseLocationComponent, data);
|
|
2970
3076
|
};
|
|
2971
3077
|
return DialogService;
|
|
2972
3078
|
}());
|
|
2973
|
-
DialogService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(i0__namespace.ApplicationRef), i0__namespace.ɵɵinject(i0__namespace.INJECTOR)); }, token: DialogService, providedIn: "root" });
|
|
3079
|
+
DialogService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(i0__namespace.ApplicationRef), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(DynamicComponentService)); }, token: DialogService, providedIn: "root" });
|
|
2974
3080
|
DialogService.decorators = [
|
|
2975
3081
|
{ type: i0.Injectable, args: [{
|
|
2976
3082
|
providedIn: "root"
|
|
@@ -2979,7 +3085,8 @@
|
|
|
2979
3085
|
DialogService.ctorParameters = function () { return [
|
|
2980
3086
|
{ type: i0.ComponentFactoryResolver },
|
|
2981
3087
|
{ type: i0.ApplicationRef },
|
|
2982
|
-
{ type: i0.Injector }
|
|
3088
|
+
{ type: i0.Injector },
|
|
3089
|
+
{ type: DynamicComponentService }
|
|
2983
3090
|
]; };
|
|
2984
3091
|
|
|
2985
3092
|
var ErrorService = /** @class */ (function () {
|
|
@@ -5823,21 +5930,15 @@
|
|
|
5823
5930
|
var _this = this;
|
|
5824
5931
|
return __generator(this, function (_a) {
|
|
5825
5932
|
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
5826
|
-
// const collection = this._collectionService.getCollection(StockLocation.name, [warehouseNr]);
|
|
5827
|
-
// if (collection) {
|
|
5828
|
-
// resolve(collection);
|
|
5829
|
-
// } else {
|
|
5830
5933
|
return _this.connector.getStockManagementLocations(warehouseNr).then(function (response) {
|
|
5831
5934
|
if (response && response.validationResult && response.validationResult.success) {
|
|
5832
5935
|
var collection = _this._boFactory.makeBOArrayFromRawBackendDataArray(stockLocation_bo.StockLocation, response.resultObjects);
|
|
5833
|
-
|
|
5834
|
-
resolve(collection);
|
|
5936
|
+
resolve(collection.slice(0, 50));
|
|
5835
5937
|
}
|
|
5836
5938
|
else {
|
|
5837
5939
|
reject(response.validationMessagesAsString);
|
|
5838
5940
|
}
|
|
5839
5941
|
});
|
|
5840
|
-
// }
|
|
5841
5942
|
})];
|
|
5842
5943
|
});
|
|
5843
5944
|
});
|
|
@@ -7012,10 +7113,7 @@
|
|
|
7012
7113
|
TransactionService.prototype.getRelationListObjects = function (relationRequest) {
|
|
7013
7114
|
return this.connector.getRelationListObjects(relationRequest);
|
|
7014
7115
|
};
|
|
7015
|
-
TransactionService.prototype.addArticle = function (articleNo,
|
|
7016
|
-
if (amount === void 0) { amount = 1; }
|
|
7017
|
-
if (warehouseNo === void 0) { warehouseNo = 1; }
|
|
7018
|
-
if (commissionCode === void 0) { commissionCode = "2"; }
|
|
7116
|
+
TransactionService.prototype.addArticle = function (articleNo, isReturn, aboveLineNr, belowLineNr) {
|
|
7019
7117
|
if (isReturn === void 0) { isReturn = false; }
|
|
7020
7118
|
if (aboveLineNr === void 0) { aboveLineNr = 0; }
|
|
7021
7119
|
if (belowLineNr === void 0) { belowLineNr = 0; }
|
|
@@ -7026,7 +7124,7 @@
|
|
|
7026
7124
|
case 0: return [4 /*yield*/, this._checkAndCreateTransaction()];
|
|
7027
7125
|
case 1:
|
|
7028
7126
|
_a.sent();
|
|
7029
|
-
return [4 /*yield*/, this.connector.addTransactionLine(this.currentTransaction.transactionInfo.uuid, transactionLineType_enum.TransactionLineType.ArticleLine, articleNo,
|
|
7127
|
+
return [4 /*yield*/, this.connector.addTransactionLine(this.currentTransaction.transactionInfo.uuid, transactionLineType_enum.TransactionLineType.ArticleLine, articleNo, null, null, null, isReturn, aboveLineNr, belowLineNr)];
|
|
7030
7128
|
case 2:
|
|
7031
7129
|
response = _a.sent();
|
|
7032
7130
|
return [4 /*yield*/, this.handleLineOperationStatuses(response)];
|
|
@@ -7521,6 +7619,7 @@
|
|
|
7521
7619
|
};
|
|
7522
7620
|
CheckoutComponent.prototype.handleTransactionFinished = function (id) {
|
|
7523
7621
|
this.service.currentTransaction = new transactionInfoResponse_bo.TransactionInfoResponse();
|
|
7622
|
+
this.service.relation = new customerFullObject_bo.CustomerFullObject();
|
|
7524
7623
|
this.service.articleAmount = 0;
|
|
7525
7624
|
this.transactionFinished.emit(id);
|
|
7526
7625
|
};
|
|
@@ -9700,6 +9799,7 @@
|
|
|
9700
9799
|
this._imageService = _imageService;
|
|
9701
9800
|
this.icons = Icon;
|
|
9702
9801
|
this.preview = false;
|
|
9802
|
+
this.transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
9703
9803
|
this.waitingForUserAction = new i0.EventEmitter();
|
|
9704
9804
|
this.sidePanelButtonClicked = new i0.EventEmitter();
|
|
9705
9805
|
this.stock = stockStatus_enum.StockStatus.Low;
|
|
@@ -9860,7 +9960,7 @@
|
|
|
9860
9960
|
TransactionLineComponent.decorators = [
|
|
9861
9961
|
{ type: i0.Component, args: [{
|
|
9862
9962
|
selector: "co-transaction-line",
|
|
9863
|
-
template: "\n <div class=\"transaction-line\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionLine]=\"line\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <span *ngIf=\"line.goodDescription && line.articleNumber\" class=\"transaction-line-description-divider\">|</span>\n <span [textContent]=\"line.articleNumber\" class=\"transaction-line-description-sku\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\" (click)=\"deleteTransactionLineClick()\"></co-icon>\n </div>\n <div *ngIf=!preview class=\"article-text-wrapper\">\n <div class=\"article-text\" *ngFor=\"let text of line.articleTestAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=!preview class=\"configuration-text-wrapper\">\n <span [innerHTML]=\"line.configurationReadable\"></span>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-stock\">\n <div class=\"transaction-line-stock-wrapper\">\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"transaction-line-button\" (click)=\"openTheCommissionCodeDialog()\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.commissionCode | append:' | ' | append:line.commissionDescription\"></span>\n </div>\n <div class=\"transaction-line-button\" (click)=\"openTheWarehouseDialog()\">\n <co-icon class=\"header-warehouse-icon\" [iconData]=\"iconCacheService.getIcon(icons.Warehouse)\"></co-icon>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.warehouseNumber\"></span>\n </div>\n <div class=\"transaction-line-button big\" (click)=\"openTheDeliveryMethodDialog()\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconCacheService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.deliveryMethodDescription\"></span>\n </div>\n <div class=\"transaction-line-button custom-width no-border two-column\">\n <span [textContent]=\"'DELIVERY_DATE' | localize | append:':'\" class=\"small-font\"></span>\n <
|
|
9963
|
+
template: "\n <div class=\"transaction-line\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div class=\"transaction-line-image\" [class.preview]=\"preview\">\n <co-image-display [model]=\"image\"></co-image-display>\n </div>\n <div class=\"transaction-line-description\">\n <div class=\"description-wrapper\">\n <co-transaction-line-description class=\"transaction-line-description-description\"\n [transactionLine]=\"line\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-line-description>\n <span *ngIf=\"line.goodDescription && line.articleNumber\" class=\"transaction-line-description-divider\">|</span>\n <span [textContent]=\"line.articleNumber\" class=\"transaction-line-description-sku\"></span>\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\" (click)=\"deleteTransactionLineClick()\"></co-icon>\n </div>\n <div *ngIf=!preview class=\"article-text-wrapper\">\n <div class=\"article-text\" *ngFor=\"let text of line.articleTestAsArray\">\n <span [innerHTML]=\"text | safeHtml\" (dblclick)=\"handleOpenArticleText(text)\"></span>\n </div>\n </div>\n <div *ngIf=!preview class=\"configuration-text-wrapper\">\n <span [innerHTML]=\"line.configurationReadable\"></span>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-stock\">\n <div class=\"transaction-line-stock-wrapper\">\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <div class=\"transaction-line-button\" (click)=\"openTheCommissionCodeDialog()\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.commissionCode | append:' | ' | append:line.commissionDescription\"></span>\n </div>\n <div class=\"transaction-line-button\" (click)=\"openTheWarehouseDialog()\">\n <co-icon class=\"header-warehouse-icon\" [iconData]=\"iconCacheService.getIcon(icons.Warehouse)\"></co-icon>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.warehouseNumber\"></span>\n </div>\n <div class=\"transaction-line-button big\" (click)=\"openTheDeliveryMethodDialog()\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconCacheService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.deliveryMethodDescription\"></span>\n </div>\n <div class=\"transaction-line-button custom-width no-border no-pointer two-column\">\n <span [textContent]=\"'DELIVERY_DATE' | localize | append:':'\" class=\"small-font\"></span>\n <co-transaction-line-delivery-date class=\"transaction-line-deliverydate\"\n [transactionLine]=\"line\"\n [transactionInfo]=\"transactionInfo\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-delivery-date>\n </div>\n </div>\n <div *ngIf=\"!preview\" class=\"transaction-line-button\" (click)=\"openVatDialog()\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.vatDescription\"></span>\n </div>\n <div class=\"transaction-line-totals\">\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [transactionLine]=\"line\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <div class=\"transaction-line-button center-align custom-width\" (click)=\"openTheDiscountDialog()\">\n <span class=\"co-transaction-overflow-ellipsis transaction-line-discount\" [class.negative]=\"line.lineTotalDiscountAmount < 0\"\n [textContent]=\"(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n <div *ngIf=!preview class=\"transaction-line-totals-amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"localAmount\" [min]=\"0\"\n [readonly]=\"readonly\"\n (modelChange)=\"changeLineAmount($event)\"></co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"line.displayNetLineTotal | coCurrency\"\n [editModel]=\"line.displayNetLineTotal\"\n [readonly]=\"true\"\n [commit]=\"false\"\n ></co-editable-label>\n </div>\n <div *ngIf=\"!preview\" class=\"transaction-line-buttons\">\n <co-transaction-line-action-buttons\n [transactionLine]=\"line\"\n (waitingForUserAction)=\"waitingForUserAction.next($event)\"\n (sidePanelButtonClicked)=\"handleShowSidePanel()\"\n ></co-transaction-line-action-buttons>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"line.isText\">\n <div [textContent]=\"line.text\"></div>\n <div class=\"transaction-line-delete\" *ngIf=\"!preview\">\n <co-icon class=\"delete-icon\" [iconData]=\"iconCacheService.getIcon(icons.TrashCanLight)\" (click)=\"deleteTransactionLineClick()\"></co-icon>\n </div>\n </ng-container>\n <co-dialog-transaction-line-delivery-method *ngIf=\"showDialogDeliveryMethod\"\n [autoClose]=\"true\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogDeliveryMethod = false\"\n ></co-dialog-transaction-line-delivery-method>\n <co-dialog-transaction-line-commission-code *ngIf=\"showDialogCommissionCode\"\n [autoClose]=\"true\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogCommissionCode = false\"\n ></co-dialog-transaction-line-commission-code>\n <co-dialog-transaction-line-vat *ngIf=\"showDialogVat\"\n [autoClose]=\"true\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogVat = false\"\n ></co-dialog-transaction-line-vat>\n <co-dialog-transaction-line-warehouse *ngIf=\"showDialogWarehouse\"\n [autoClose]=\"true\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogWarehouse = false\"\n ></co-dialog-transaction-line-warehouse>\n <co-dialog-transaction-line-discount *ngIf=\"showDialogDiscount\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogDiscount = false\"\n ></co-dialog-transaction-line-discount>\n </div>\n ",
|
|
9864
9964
|
encapsulation: i0.ViewEncapsulation.None
|
|
9865
9965
|
},] }
|
|
9866
9966
|
];
|
|
@@ -9873,6 +9973,7 @@
|
|
|
9873
9973
|
]; };
|
|
9874
9974
|
TransactionLineComponent.propDecorators = {
|
|
9875
9975
|
preview: [{ type: i0.HostBinding, args: ["class.preview",] }, { type: i0.Input }],
|
|
9976
|
+
transactionInfo: [{ type: i0.Input }],
|
|
9876
9977
|
line: [{ type: i0.Input }],
|
|
9877
9978
|
waitingForUserAction: [{ type: i0.Output }],
|
|
9878
9979
|
sidePanelButtonClicked: [{ type: i0.Output }],
|
|
@@ -10342,7 +10443,7 @@
|
|
|
10342
10443
|
DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
10343
10444
|
{ type: i0.Component, args: [{
|
|
10344
10445
|
selector: "co-dialog-transaction-line-delivery-method",
|
|
10345
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-delivery-method\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
10446
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-delivery-method\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
10346
10447
|
encapsulation: i0.ViewEncapsulation.None
|
|
10347
10448
|
},] }
|
|
10348
10449
|
];
|
|
@@ -10425,7 +10526,7 @@
|
|
|
10425
10526
|
TransactionLineCheckboxListComponent.decorators = [
|
|
10426
10527
|
{ type: i0.Component, args: [{
|
|
10427
10528
|
selector: "co-transaction-line-checkbox-list",
|
|
10428
|
-
template: "\n <table lazyRenderMaster>\n <tr *ngFor=\"let row of collection\" lazyRender #lazyRender=\"lazyRender\">\n <td>\n <co-input-checkbox
|
|
10529
|
+
template: "\n <table lazyRenderMaster>\n <tr *ngFor=\"let row of collection\" lazyRender #lazyRender=\"lazyRender\" [class.visible]=\"lazyRender.isShowing\">\n <td>\n <co-input-checkbox\n [model]=\"row.checked\"\n [readonly]=\"readonly\"\n (click)=\"handleChecked($event, row)\"\n ></co-input-checkbox>\n </td>\n <td *ngFor=\"let label of row.propsForLabel\" [innerHTML]=\"label\"></td>\n </tr>\n </table>\n ",
|
|
10429
10530
|
encapsulation: i0.ViewEncapsulation.None
|
|
10430
10531
|
},] }
|
|
10431
10532
|
];
|
|
@@ -10679,7 +10780,7 @@
|
|
|
10679
10780
|
DialogTransactionLineVatComponent.decorators = [
|
|
10680
10781
|
{ type: i0.Component, args: [{
|
|
10681
10782
|
selector: "co-dialog-transaction-line-vat",
|
|
10682
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-vat\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-vat>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'VAT'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
10783
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-vat\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-vat>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'VAT'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
10683
10784
|
encapsulation: i0.ViewEncapsulation.None
|
|
10684
10785
|
},] }
|
|
10685
10786
|
];
|
|
@@ -11327,7 +11428,7 @@
|
|
|
11327
11428
|
DialogTransactionLinePriceListComponent.decorators = [
|
|
11328
11429
|
{ type: i0.Component, args: [{
|
|
11329
11430
|
selector: "co-dialog-transaction-line-price-list",
|
|
11330
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-price-list\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-price-list>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'PRICE_LIST'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
11431
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-price-list\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-price-list>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'PRICE_LIST'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
11331
11432
|
encapsulation: i0.ViewEncapsulation.None
|
|
11332
11433
|
},] }
|
|
11333
11434
|
];
|
|
@@ -11387,6 +11488,115 @@
|
|
|
11387
11488
|
},] }
|
|
11388
11489
|
];
|
|
11389
11490
|
|
|
11491
|
+
var TransactionLineDeliveryDateComponent = /** @class */ (function (_super) {
|
|
11492
|
+
__extends(TransactionLineDeliveryDateComponent, _super);
|
|
11493
|
+
function TransactionLineDeliveryDateComponent(_transactionService) {
|
|
11494
|
+
var _this = _super.call(this) || this;
|
|
11495
|
+
_this._transactionService = _transactionService;
|
|
11496
|
+
_this.showLabel = true;
|
|
11497
|
+
_this.defaultEditMode = true;
|
|
11498
|
+
_this._editMode = false;
|
|
11499
|
+
return _this;
|
|
11500
|
+
}
|
|
11501
|
+
Object.defineProperty(TransactionLineDeliveryDateComponent.prototype, "child", {
|
|
11502
|
+
set: function (content) {
|
|
11503
|
+
var _this = this;
|
|
11504
|
+
if (content) {
|
|
11505
|
+
this.input = content;
|
|
11506
|
+
this.input.commit = function (date) { return _this.commit(date); };
|
|
11507
|
+
if (this._editMode) {
|
|
11508
|
+
this.input.requestFocus();
|
|
11509
|
+
}
|
|
11510
|
+
}
|
|
11511
|
+
},
|
|
11512
|
+
enumerable: false,
|
|
11513
|
+
configurable: true
|
|
11514
|
+
});
|
|
11515
|
+
Object.defineProperty(TransactionLineDeliveryDateComponent.prototype, "editMode", {
|
|
11516
|
+
get: function () {
|
|
11517
|
+
return this._editMode;
|
|
11518
|
+
},
|
|
11519
|
+
set: function (value) {
|
|
11520
|
+
this._editMode = value;
|
|
11521
|
+
if (this._editMode && this.input) {
|
|
11522
|
+
this.input.doFocus();
|
|
11523
|
+
}
|
|
11524
|
+
},
|
|
11525
|
+
enumerable: false,
|
|
11526
|
+
configurable: true
|
|
11527
|
+
});
|
|
11528
|
+
TransactionLineDeliveryDateComponent.prototype.handleClick = function (event) {
|
|
11529
|
+
if (!this.readonly) {
|
|
11530
|
+
this.editMode = true;
|
|
11531
|
+
}
|
|
11532
|
+
};
|
|
11533
|
+
TransactionLineDeliveryDateComponent.prototype.commit = function (date) {
|
|
11534
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11535
|
+
var oldDate, success;
|
|
11536
|
+
return __generator(this, function (_a) {
|
|
11537
|
+
switch (_a.label) {
|
|
11538
|
+
case 0:
|
|
11539
|
+
if (!(this.transactionLine.deliveryDate !== date)) return [3 /*break*/, 2];
|
|
11540
|
+
oldDate = this.transactionLine.deliveryDate;
|
|
11541
|
+
return [4 /*yield*/, this._transactionService.updateDeliveryDateTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, date)];
|
|
11542
|
+
case 1:
|
|
11543
|
+
success = _a.sent();
|
|
11544
|
+
if (!success) {
|
|
11545
|
+
this.transactionLine.deliveryDate = oldDate;
|
|
11546
|
+
}
|
|
11547
|
+
else {
|
|
11548
|
+
this.editMode = false;
|
|
11549
|
+
}
|
|
11550
|
+
return [2 /*return*/, success];
|
|
11551
|
+
case 2: return [2 /*return*/, true];
|
|
11552
|
+
}
|
|
11553
|
+
});
|
|
11554
|
+
});
|
|
11555
|
+
};
|
|
11556
|
+
TransactionLineDeliveryDateComponent.prototype.transactionInfoSet = function () {
|
|
11557
|
+
this.readonly = this.readonly || (this.transactionInfo.deliveryDateDefinitive || !this.transactionInfo.allowPartialDelivery);
|
|
11558
|
+
};
|
|
11559
|
+
return TransactionLineDeliveryDateComponent;
|
|
11560
|
+
}(TransactionLineBaseComponent));
|
|
11561
|
+
TransactionLineDeliveryDateComponent.decorators = [
|
|
11562
|
+
{ type: i0.Component, args: [{
|
|
11563
|
+
selector: "co-transaction-line-delivery-date",
|
|
11564
|
+
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionLine.deliveryDate | date:'dd MMM yyyy'\"></span>\n <co-input-date #input *ngIf=\"editMode || defaultEditMode\"\n [placeholder]=\"showLabel ? ('DELIVERY_DATE' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionLine.deliveryDate\"\n (modelChange)=\"commit($event)\"\n (blur)=\"editMode = false\"\n ></co-input-date>\n ",
|
|
11565
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
11566
|
+
},] }
|
|
11567
|
+
];
|
|
11568
|
+
TransactionLineDeliveryDateComponent.ctorParameters = function () { return [
|
|
11569
|
+
{ type: TransactionService }
|
|
11570
|
+
]; };
|
|
11571
|
+
TransactionLineDeliveryDateComponent.propDecorators = {
|
|
11572
|
+
child: [{ type: i0.ViewChild, args: ['input', { read: corecomponents_v12.InputDatePickerComponent },] }],
|
|
11573
|
+
showLabel: [{ type: i0.Input }],
|
|
11574
|
+
defaultEditMode: [{ type: i0.Input }],
|
|
11575
|
+
editMode: [{ type: i0.Input }],
|
|
11576
|
+
handleClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
11577
|
+
};
|
|
11578
|
+
|
|
11579
|
+
var TransactionLineDeliveryDateModule = /** @class */ (function () {
|
|
11580
|
+
function TransactionLineDeliveryDateModule() {
|
|
11581
|
+
}
|
|
11582
|
+
return TransactionLineDeliveryDateModule;
|
|
11583
|
+
}());
|
|
11584
|
+
TransactionLineDeliveryDateModule.decorators = [
|
|
11585
|
+
{ type: i0.NgModule, args: [{
|
|
11586
|
+
imports: [
|
|
11587
|
+
common.CommonModule,
|
|
11588
|
+
PipeModule,
|
|
11589
|
+
corecomponents_v12.InputDatePickerModule
|
|
11590
|
+
],
|
|
11591
|
+
declarations: [
|
|
11592
|
+
TransactionLineDeliveryDateComponent
|
|
11593
|
+
],
|
|
11594
|
+
exports: [
|
|
11595
|
+
TransactionLineDeliveryDateComponent
|
|
11596
|
+
]
|
|
11597
|
+
},] }
|
|
11598
|
+
];
|
|
11599
|
+
|
|
11390
11600
|
var TransactionLineModule = /** @class */ (function () {
|
|
11391
11601
|
function TransactionLineModule() {
|
|
11392
11602
|
}
|
|
@@ -11412,7 +11622,8 @@
|
|
|
11412
11622
|
DialogTransactionLineCommissionCodeModule,
|
|
11413
11623
|
DialogTransactionLineVatModule,
|
|
11414
11624
|
DialogTransactionLineWarehouseModule,
|
|
11415
|
-
DialogTransactionLineDiscountModule
|
|
11625
|
+
DialogTransactionLineDiscountModule,
|
|
11626
|
+
TransactionLineDeliveryDateModule
|
|
11416
11627
|
],
|
|
11417
11628
|
declarations: [
|
|
11418
11629
|
TransactionLineComponent
|
|
@@ -11428,6 +11639,7 @@
|
|
|
11428
11639
|
this.iconCacheService = iconCacheService;
|
|
11429
11640
|
this.service = service;
|
|
11430
11641
|
this.icons = Icon;
|
|
11642
|
+
this.transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
11431
11643
|
this.transactionLines = [];
|
|
11432
11644
|
this.preview = false;
|
|
11433
11645
|
this.saveTransactionLine = new i0.EventEmitter();
|
|
@@ -11501,7 +11713,7 @@
|
|
|
11501
11713
|
TransactionLinesComponent.decorators = [
|
|
11502
11714
|
{ type: i0.Component, args: [{
|
|
11503
11715
|
selector: "co-transaction-lines",
|
|
11504
|
-
template: "\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"transaction-lines-drag-drop-list narrow-scrollbar\"\n [cdkDropListDisabled]=\"preview || userActionRequired\"\n [cdkDropListData]=\"transactionLines\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"draggable-transaction-line\" *ngFor=\"let line of transactionLines; trackBy:trackByFn;\" cdkDrag>\n <co-icon class=\"transaction-line-drag-handle\" [class.show]=\"line === selectedTransactionLine && transactionLines.length > 1\" cdkDragHandle\n [iconData]=\"iconCacheService.getIcon(icons.GripDotsVerticalSolid)\">\n </co-icon>\n <co-transaction-line\n [preview]=\"preview\"\n [line]=\"line\"\n [selected]=\"line === selectedTransactionLine\"\n (dblclick)=\"handleTransactionLineDblClick(line)\"\n (sidePanelButtonClicked)=\"handleShowSidePanelClicked(line)\"\n (waitingForUserAction)=\"userActionRequired = $event\"\n (click)=\"selectedTransactionLine = line\"\n ></co-transaction-line>\n </div>\n </div>\n </div>\n <co-button *ngIf=!preview class=\"add-text-button circle\" [iconData]=\"iconCacheService.getIcon(icons.Txt)\" (click)=\"handleTransactionArticleText($event)\"></co-button>\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"'TEXT' | localize\"\n [transactionLine]=\"selectedArticleText\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
11716
|
+
template: "\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"transaction-lines-drag-drop-list narrow-scrollbar\"\n [cdkDropListDisabled]=\"preview || userActionRequired\"\n [cdkDropListData]=\"transactionLines\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"draggable-transaction-line\" *ngFor=\"let line of transactionLines; trackBy:trackByFn;\" cdkDrag>\n <co-icon *ngIf=\"!preview\" class=\"transaction-line-drag-handle\" [class.show]=\"line === selectedTransactionLine && transactionLines.length > 1\" cdkDragHandle\n [iconData]=\"iconCacheService.getIcon(icons.GripDotsVerticalSolid)\">\n </co-icon>\n <co-transaction-line\n [preview]=\"preview\"\n [transactionInfo]=\"transactionInfo\"\n [line]=\"line\"\n [selected]=\"line === selectedTransactionLine\"\n (dblclick)=\"handleTransactionLineDblClick(line)\"\n (sidePanelButtonClicked)=\"handleShowSidePanelClicked(line)\"\n (waitingForUserAction)=\"userActionRequired = $event\"\n (click)=\"selectedTransactionLine = line\"\n ></co-transaction-line>\n </div>\n </div>\n </div>\n <co-button *ngIf=!preview class=\"add-text-button circle\" [iconData]=\"iconCacheService.getIcon(icons.Txt)\" (click)=\"handleTransactionArticleText($event)\"></co-button>\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"'TEXT' | localize\"\n [transactionLine]=\"selectedArticleText\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
11505
11717
|
encapsulation: i0.ViewEncapsulation.None
|
|
11506
11718
|
},] }
|
|
11507
11719
|
];
|
|
@@ -11511,6 +11723,7 @@
|
|
|
11511
11723
|
]; };
|
|
11512
11724
|
TransactionLinesComponent.propDecorators = {
|
|
11513
11725
|
transactionArticleText: [{ type: i0.ViewChild, args: [TransactionArticleTextComponent,] }],
|
|
11726
|
+
transactionInfo: [{ type: i0.Input }],
|
|
11514
11727
|
transactionLines: [{ type: i0.Input }],
|
|
11515
11728
|
preview: [{ type: i0.Input }],
|
|
11516
11729
|
saveTransactionLine: [{ type: i0.Output }],
|
|
@@ -11561,7 +11774,7 @@
|
|
|
11561
11774
|
ShoppingCartPreviewComponent.decorators = [
|
|
11562
11775
|
{ type: i0.Component, args: [{
|
|
11563
11776
|
selector: "co-shopping-cart-preview",
|
|
11564
|
-
template: "\n <div class=\"cart-header\">\n <span class=\"cart-header-label\" [textContent]=\"'CART' | localize\"></span>\n </div>\n <div class=\"cart-lines\">\n <co-transaction-lines\n [transactionLines]=\"service.currentTransaction.transactionLines\"\n [preview]=\"true\"\n ></co-transaction-lines>\n </div>\n <div class=\"preview-totals-wrapper\">\n <co-transaction-totals [totals]=\"service.currentTransaction.transactionTotal\"></co-transaction-totals>\n </div>\n <div class=\"cart-buttons\">\n <a class=\"button-edit-cart\" [textContent]=\"'EDIT_CART' | localize\"\n (click)=\"editCartClick.emit()\"\n ></a>\n <co-button *ngIf=\"showCheckoutButton\" class=\"button-checkout\" [label]=\"'SHOPPING_CART_CHECKOUT' | localize\"\n [disabled]=\"!service.articleAmount\"\n (click)=\"checkout.emit()\"></co-button>\n </div>\n ",
|
|
11777
|
+
template: "\n <div class=\"cart-header\">\n <span class=\"cart-header-label\" [textContent]=\"'CART' | localize\"></span>\n </div>\n <div class=\"cart-lines\">\n <co-transaction-lines\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLines]=\"service.currentTransaction.transactionLines\"\n [preview]=\"true\"\n ></co-transaction-lines>\n </div>\n <div class=\"preview-totals-wrapper\">\n <co-transaction-totals [totals]=\"service.currentTransaction.transactionTotal\"></co-transaction-totals>\n </div>\n <div class=\"cart-buttons\">\n <a class=\"button-edit-cart\" [textContent]=\"'EDIT_CART' | localize\"\n (click)=\"editCartClick.emit()\"\n ></a>\n <co-button *ngIf=\"showCheckoutButton\" class=\"button-checkout\" [label]=\"'SHOPPING_CART_CHECKOUT' | localize\"\n [disabled]=\"!service.articleAmount\"\n (click)=\"checkout.emit()\"></co-button>\n </div>\n ",
|
|
11565
11778
|
encapsulation: i0.ViewEncapsulation.None
|
|
11566
11779
|
},] }
|
|
11567
11780
|
];
|
|
@@ -12983,7 +13196,7 @@
|
|
|
12983
13196
|
TransactionHeaderDeliveryComponent.decorators = [
|
|
12984
13197
|
{ type: i0.Component, args: [{
|
|
12985
13198
|
selector: "co-transaction-header-delivery",
|
|
12986
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-delivery-method\" (click)=\"showTheDeliveryMethodDialog()\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span [textContent]=\"deliveryMethod?.description\"></span>\n </div>\n <div class=\"header-planning-request-button\">\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-delivery-deliverydate-label co-transaction-label\" [textContent]=\"'DELIVERY_DATE' | localize\"></div>\n <div class=\"header-delivery-deliverydate-wrapper\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-delivery-date>\n <co-icon *ngIf=\"transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeSolid)\"></co-icon>\n <co-icon *ngIf=\"!transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeOpenSolid)\"></co-icon>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-delivery-preferred-deliverydate-label co-transaction-label\" [textContent]=\"'PREFERRED_DATE' | localize\"></div>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-preferred-delivery-date>\n </ng-template>\n <ng-template #thirdBlock>\n <div class=\"header-delivery-partial-delivery-label co-transaction-label\" [textContent]=\"'PART_DELIVERY' | localize\"></div>\n <co-input-checkbox class=\"header-delivery-partial-delivery\" [model]=\"transactionInfo.allowPartialDelivery\"></co-input-checkbox>\n </ng-template>\n <co-dialog *ngIf=\"showDialog\" [headerTemplate]=\"headerTemplate\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'DELIVERY_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <co-transaction-header-delivery-options\n [transactionInfo]=\"transactionInfo\"\n [deliveryMethod]=\"deliveryMethod\"\n ></co-transaction-header-delivery-options>\n <co-transaction-header-remarks [transactionInfo]=\"transactionInfo\"></co-transaction-header-remarks>\n <co-transaction-header-reference [transactionInfo]=\"transactionInfo\"></co-transaction-header-reference>\n <co-transaction-header-relation-reference [transactionInfo]=\"transactionInfo\"></co-transaction-header-relation-reference>\n </co-dialog>\n <co-dialog-transaction-header-delivery-method *ngIf=\"showDeliveryMethodDialog\"\n [transactionInfo]=\"transactionInfo\" (close)=\"showDeliveryMethodDialog = false\">\n </co-dialog-transaction-header-delivery-method>\n ",
|
|
13199
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-delivery-method\" (click)=\"showTheDeliveryMethodDialog()\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span [textContent]=\"deliveryMethod?.description\"></span>\n </div>\n <div class=\"header-planning-request-button\">\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-delivery-deliverydate-label co-transaction-label\" [textContent]=\"'DELIVERY_DATE' | localize\"></div>\n <div class=\"header-delivery-deliverydate-wrapper\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-delivery-date>\n <co-icon *ngIf=\"transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeSolid)\"></co-icon>\n <co-icon *ngIf=\"!transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeOpenSolid)\"></co-icon>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-delivery-preferred-deliverydate-label co-transaction-label\" [textContent]=\"'PREFERRED_DATE' | localize\"></div>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-preferred-delivery-date>\n </ng-template>\n <ng-template #thirdBlock>\n <div class=\"header-delivery-partial-delivery-label co-transaction-label\" [textContent]=\"'PART_DELIVERY' | localize\"></div>\n <co-input-checkbox class=\"header-delivery-partial-delivery\" [model]=\"transactionInfo.allowPartialDelivery\"></co-input-checkbox>\n </ng-template>\n <co-dialog *ngIf=\"showDialog\" [headerTemplate]=\"headerTemplate\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'DELIVERY_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <co-transaction-header-delivery-options\n [transactionInfo]=\"transactionInfo\"\n [deliveryMethod]=\"deliveryMethod\"\n ></co-transaction-header-delivery-options>\n <co-transaction-header-remarks [transactionInfo]=\"transactionInfo\"></co-transaction-header-remarks>\n <co-transaction-header-reference [transactionInfo]=\"transactionInfo\"></co-transaction-header-reference>\n <co-transaction-header-relation-reference [transactionInfo]=\"transactionInfo\"></co-transaction-header-relation-reference>\n </co-dialog>\n <co-dialog-transaction-header-delivery-method *ngIf=\"showDeliveryMethodDialog\"\n [autoClose]=\"true\"\n [transactionInfo]=\"transactionInfo\" (close)=\"showDeliveryMethodDialog = false\">\n </co-dialog-transaction-header-delivery-method>\n ",
|
|
12987
13200
|
encapsulation: i0.ViewEncapsulation.None
|
|
12988
13201
|
},] }
|
|
12989
13202
|
];
|
|
@@ -13138,6 +13351,9 @@
|
|
|
13138
13351
|
if (!success) {
|
|
13139
13352
|
this.input.model = oldDate;
|
|
13140
13353
|
}
|
|
13354
|
+
else {
|
|
13355
|
+
this.editMode = false;
|
|
13356
|
+
}
|
|
13141
13357
|
return [2 /*return*/, success];
|
|
13142
13358
|
case 2: return [2 /*return*/, true];
|
|
13143
13359
|
}
|
|
@@ -13152,7 +13368,7 @@
|
|
|
13152
13368
|
TransactionHeaderDeliveryDateComponent.decorators = [
|
|
13153
13369
|
{ type: i0.Component, args: [{
|
|
13154
13370
|
selector: "co-transaction-header-delivery-date",
|
|
13155
|
-
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n <co-input-date #input *ngIf=\"editMode || defaultEditMode\"\n [placeholder]=\"showLabel ? ('DELIVERY_DATE' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionInfo.deliveryDate\"\n (blur)=\"editMode = false\"\n ></co-input-date>\n ",
|
|
13371
|
+
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionInfo.deliveryDate | date:'dd MMM yyyy'\"></span>\n <co-input-date #input *ngIf=\"editMode || defaultEditMode\"\n [placeholder]=\"showLabel ? ('DELIVERY_DATE' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionInfo.deliveryDate\"\n (modelChange)=\"commitDeliveryDate($event)\"\n (blur)=\"editMode = false\"\n ></co-input-date>\n ",
|
|
13156
13372
|
encapsulation: i0.ViewEncapsulation.None
|
|
13157
13373
|
},] }
|
|
13158
13374
|
];
|
|
@@ -13756,6 +13972,9 @@
|
|
|
13756
13972
|
if (!success) {
|
|
13757
13973
|
this.input.model = oldDate;
|
|
13758
13974
|
}
|
|
13975
|
+
else {
|
|
13976
|
+
this.editMode = false;
|
|
13977
|
+
}
|
|
13759
13978
|
return [2 /*return*/, success];
|
|
13760
13979
|
case 2: return [2 /*return*/, true];
|
|
13761
13980
|
}
|
|
@@ -13770,7 +13989,7 @@
|
|
|
13770
13989
|
TransactionHeaderPreferredDeliveryDateComponent.decorators = [
|
|
13771
13990
|
{ type: i0.Component, args: [{
|
|
13772
13991
|
selector: "co-transaction-header-preferred-delivery-date",
|
|
13773
|
-
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionInfo.preferredDeliveryDate | date:'dd MMM yyyy'\"></span>\n <co-input-date #input *ngIf=\"editMode || defaultEditMode\"\n [placeholder]=\"showLabel ? ('PREFERRED_DATE' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionInfo.preferredDeliveryDate\"\n (blur)=\"editMode = false\"\n ></co-input-date>\n ",
|
|
13992
|
+
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"(transactionInfo.preferredDeliveryDate | date:'dd MMM yyyy') || '<invullen>'\"></span>\n <co-input-date #input *ngIf=\"editMode || defaultEditMode\"\n [placeholder]=\"showLabel ? ('PREFERRED_DATE' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionInfo.preferredDeliveryDate\"\n (modelChange)=\"commitPreferredDeliveryDate($event)\"\n (blur)=\"editMode = false\"\n ></co-input-date>\n ",
|
|
13774
13993
|
encapsulation: i0.ViewEncapsulation.None
|
|
13775
13994
|
},] }
|
|
13776
13995
|
];
|
|
@@ -13852,7 +14071,7 @@
|
|
|
13852
14071
|
DialogTransactionHeaderDeliveryMethodComponent.decorators = [
|
|
13853
14072
|
{ type: i0.Component, args: [{
|
|
13854
14073
|
selector: "co-dialog-transaction-header-delivery-method",
|
|
13855
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-header-delivery-method\n [showAsCarousel]=\"false\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [searchText]=\"searchText\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-header-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
14074
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-header-delivery-method\n [autoClose]=\"autoClose\"\n [showAsCarousel]=\"false\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-header-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
13856
14075
|
encapsulation: i0.ViewEncapsulation.None
|
|
13857
14076
|
},] }
|
|
13858
14077
|
];
|
|
@@ -14630,29 +14849,135 @@
|
|
|
14630
14849
|
ContentViewMode[ContentViewMode["Tiles"] = 5] = "Tiles";
|
|
14631
14850
|
})(ContentViewMode || (ContentViewMode = {}));
|
|
14632
14851
|
|
|
14633
|
-
var
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
|
|
14652
|
-
|
|
14653
|
-
|
|
14654
|
-
|
|
14655
|
-
|
|
14852
|
+
var TransactionTypeCategory;
|
|
14853
|
+
(function (TransactionTypeCategory) {
|
|
14854
|
+
TransactionTypeCategory["PurchaseOrderOverview"] = "purchaseOrderOverview";
|
|
14855
|
+
TransactionTypeCategory["PurchaseOrderOrderConfirmation"] = "purchaseOrderOrderConfirmation";
|
|
14856
|
+
TransactionTypeCategory["PurchaseOrderTransport"] = "purchaseOrderTransport";
|
|
14857
|
+
TransactionTypeCategory["PurchaseOrderReceivedGoods"] = "purchaseOrderReceivedGoods";
|
|
14858
|
+
TransactionTypeCategory["PurchaseOrderInvoiceCheck"] = "purchaseOrderInvoiceCheck";
|
|
14859
|
+
TransactionTypeCategory["PurchaseOrderMenu"] = "purchaseOrderMenu";
|
|
14860
|
+
TransactionTypeCategory["SalesOrderOverview"] = "salesOrderOverview";
|
|
14861
|
+
TransactionTypeCategory["SalesOrderPurchase"] = "salesOrderPurchase";
|
|
14862
|
+
TransactionTypeCategory["SalesOrderLogistics"] = "salesOrderLogistics";
|
|
14863
|
+
TransactionTypeCategory["SalesOrderPlanning"] = "salesOrderPlanning";
|
|
14864
|
+
TransactionTypeCategory["SalesOrderDeliveryNote"] = "salesOrderDeliveryNote";
|
|
14865
|
+
TransactionTypeCategory["SalesOrderInvoice"] = "salesOrderInvoice";
|
|
14866
|
+
})(TransactionTypeCategory || (TransactionTypeCategory = {}));
|
|
14867
|
+
|
|
14868
|
+
var TransactionEventService = /** @class */ (function () {
|
|
14869
|
+
function TransactionEventService() {
|
|
14870
|
+
this.addToCartBySku = new rxjs.Subject();
|
|
14871
|
+
this.addToCartBySelectorResult = new rxjs.Subject();
|
|
14872
|
+
this.openShoppingCartModule = new rxjs.Subject();
|
|
14873
|
+
this.loggedIn = new rxjs.Subject();
|
|
14874
|
+
this.addNewUserToShoppingCartModule = new rxjs.Subject();
|
|
14875
|
+
this.addUserRelationShoppingCartModule = new rxjs.Subject();
|
|
14876
|
+
this.addArticleLine = new rxjs.Subject();
|
|
14877
|
+
this.addTextLine = new rxjs.Subject();
|
|
14878
|
+
this.addArticleLineAt = new rxjs.Subject();
|
|
14879
|
+
this.addTextLineAt = new rxjs.Subject();
|
|
14880
|
+
this.changeLineSequence = new rxjs.Subject();
|
|
14881
|
+
this.transactionLineClicked = new rxjs.Subject();
|
|
14882
|
+
this.rightSidebarClose = new rxjs.Subject();
|
|
14883
|
+
this.scrollContent = new rxjs.Subject();
|
|
14884
|
+
this.receivedPurchaseOrderCommit = new rxjs.Subject();
|
|
14885
|
+
this.commitReceivePurchaseOrders = new rxjs.Subject();
|
|
14886
|
+
this.transactionLineChanged = new rxjs.Subject();
|
|
14887
|
+
}
|
|
14888
|
+
return TransactionEventService;
|
|
14889
|
+
}());
|
|
14890
|
+
TransactionEventService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
|
|
14891
|
+
TransactionEventService.decorators = [
|
|
14892
|
+
{ type: i0.Injectable, args: [{ providedIn: "root" },] }
|
|
14893
|
+
];
|
|
14894
|
+
|
|
14895
|
+
var DynamicBaseComponent = /** @class */ (function () {
|
|
14896
|
+
function DynamicBaseComponent() {
|
|
14897
|
+
}
|
|
14898
|
+
DynamicBaseComponent.prototype.onClose = function () { };
|
|
14899
|
+
return DynamicBaseComponent;
|
|
14900
|
+
}());
|
|
14901
|
+
DynamicBaseComponent.decorators = [
|
|
14902
|
+
{ type: i0.Directive }
|
|
14903
|
+
];
|
|
14904
|
+
|
|
14905
|
+
var TransactionLineSidePanelComponent = /** @class */ (function (_super) {
|
|
14906
|
+
__extends(TransactionLineSidePanelComponent, _super);
|
|
14907
|
+
function TransactionLineSidePanelComponent(iconService, _service, _transactionEventService) {
|
|
14908
|
+
var _this = _super.call(this) || this;
|
|
14909
|
+
_this.iconService = iconService;
|
|
14910
|
+
_this._service = _service;
|
|
14911
|
+
_this._transactionEventService = _transactionEventService;
|
|
14912
|
+
_this.icons = Icon;
|
|
14913
|
+
_this.categories = TransactionTypeCategory;
|
|
14914
|
+
_this.transactionTypes = transactionKind_enum.TransactionKind;
|
|
14915
|
+
_this.cancelClick = new i0.EventEmitter();
|
|
14916
|
+
_this.show = true;
|
|
14917
|
+
return _this;
|
|
14918
|
+
}
|
|
14919
|
+
TransactionLineSidePanelComponent.prototype.showClass = function () {
|
|
14920
|
+
return true;
|
|
14921
|
+
};
|
|
14922
|
+
TransactionLineSidePanelComponent.prototype.handleCancelClick = function () {
|
|
14923
|
+
var _this = this;
|
|
14924
|
+
this.show = false;
|
|
14925
|
+
setTimeout(function () {
|
|
14926
|
+
_this.onClose();
|
|
14927
|
+
}, 200);
|
|
14928
|
+
};
|
|
14929
|
+
return TransactionLineSidePanelComponent;
|
|
14930
|
+
}(DynamicBaseComponent));
|
|
14931
|
+
TransactionLineSidePanelComponent.decorators = [
|
|
14932
|
+
{ type: i0.Component, args: [{
|
|
14933
|
+
selector: "co-transaction-line-side-panel",
|
|
14934
|
+
template: "\n <div class=\"transaction-line-side-panel-wrapper\" *ngIf=\"show\" @showHideSidePanel>\n <icon (click)=\"handleCancelClick()\" [icon]=\"icons.Cancel\" class=\"close-button\"></icon>\n <div class=\"transaction-line-side-panel-header\">\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ARTICLE_NR'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"transactionLine.articleNumber\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DESCRIPTION'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"transactionLine.goodDescription\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'AMOUNT'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"transactionLine.amount\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\"\n [textContent]=\"activeCategory === categories.PurchaseOrderReceivedGoods ? ('TO_REPORT_IN' | localize) : ('PRICE' | localize)\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"activeCategory === categories.PurchaseOrderReceivedGoods ? quantityToReceive : (transactionLine.price | priceDisplay)\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-nav-bar\">\n <co-transaction-button-bar\n [transactionType]=\"transactionInfo.transactionKind\"\n (buttonClicked)=\"activeCategory = $event.category\"\n ></co-transaction-button-bar>\n </div>\n <div class=\"transaction-line-side-panel-content\">\n <ng-container [ngSwitch]=\"transactionInfo.transactionKind\">\n <ng-container *ngSwitchCase=\"transactionTypes.PurchaseOrder\">\n <co-transaction-line-side-panel-purchase\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [category]=\"activeCategory\"\n (quantityToReceiveChange)=\"quantityToReceive = $event\"\n ></co-transaction-line-side-panel-purchase>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <co-transaction-line-side-panel-purchase\n [transactionLine]=\"transactionLine\"\n [transactionInfo]=\"transactionInfo\"\n [category]=\"activeCategory\"\n ></co-transaction-line-side-panel-purchase>\n </ng-container>\n </ng-container>\n </div>\n </div>\n ",
|
|
14935
|
+
animations: [
|
|
14936
|
+
animations.trigger("showHideSidePanel", [
|
|
14937
|
+
animations.state("void", animations.style({ transform: 'translateX(100%)' })),
|
|
14938
|
+
animations.state("*", animations.style({ transform: 'translateX(0)' })),
|
|
14939
|
+
animations.transition("void <=> *", animations.animate("200ms ease-in-out"))
|
|
14940
|
+
])
|
|
14941
|
+
],
|
|
14942
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
14943
|
+
},] }
|
|
14944
|
+
];
|
|
14945
|
+
TransactionLineSidePanelComponent.ctorParameters = function () { return [
|
|
14946
|
+
{ type: IconCacheService },
|
|
14947
|
+
{ type: TransactionService },
|
|
14948
|
+
{ type: TransactionEventService }
|
|
14949
|
+
]; };
|
|
14950
|
+
TransactionLineSidePanelComponent.propDecorators = {
|
|
14951
|
+
transactionLine: [{ type: i0.Input }],
|
|
14952
|
+
transactionInfo: [{ type: i0.Input }],
|
|
14953
|
+
activeCategory: [{ type: i0.Input }],
|
|
14954
|
+
cancelClick: [{ type: i0.Output }],
|
|
14955
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-side-panel",] }]
|
|
14956
|
+
};
|
|
14957
|
+
|
|
14958
|
+
var TransactionComponent = /** @class */ (function () {
|
|
14959
|
+
function TransactionComponent(iconCacheService, _service, dynamicComponentService) {
|
|
14960
|
+
var _this = this;
|
|
14961
|
+
this.iconCacheService = iconCacheService;
|
|
14962
|
+
this._service = _service;
|
|
14963
|
+
this.dynamicComponentService = dynamicComponentService;
|
|
14964
|
+
this.viewModes = ContentViewMode;
|
|
14965
|
+
this.icons = Icon;
|
|
14966
|
+
this.showHeader = true;
|
|
14967
|
+
this.showQuickAccess = true;
|
|
14968
|
+
this.showButtonBar = true;
|
|
14969
|
+
this.activeViewMode = ContentViewMode.List;
|
|
14970
|
+
this.showDiscountsSidebar = false;
|
|
14971
|
+
this._subs = [];
|
|
14972
|
+
this._transaction = new transactionInfoResponse_bo.TransactionInfoResponse();
|
|
14973
|
+
this._subs.push(this._service.transactionUpdated.subscribe(function (transaction) { return __awaiter(_this, void 0, void 0, function () {
|
|
14974
|
+
return __generator(this, function (_a) {
|
|
14975
|
+
if (transaction) {
|
|
14976
|
+
this.transaction = transaction;
|
|
14977
|
+
}
|
|
14978
|
+
return [2 /*return*/];
|
|
14979
|
+
});
|
|
14980
|
+
}); }));
|
|
14656
14981
|
}
|
|
14657
14982
|
Object.defineProperty(TransactionComponent.prototype, "transaction", {
|
|
14658
14983
|
get: function () {
|
|
@@ -14704,30 +15029,25 @@
|
|
|
14704
15029
|
};
|
|
14705
15030
|
TransactionComponent.prototype.handleShowSidePanel = function (line) {
|
|
14706
15031
|
this.sidePanelTransactionLine = line;
|
|
14707
|
-
this.
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
15032
|
+
this.dynamicComponentService.createComponent(TransactionLineSidePanelComponent, {
|
|
15033
|
+
transactionInfo: this.transaction.transactionInfo,
|
|
15034
|
+
transactionLine: this.sidePanelTransactionLine,
|
|
15035
|
+
activeCategory: this.activeCategory
|
|
15036
|
+
});
|
|
14711
15037
|
};
|
|
14712
15038
|
return TransactionComponent;
|
|
14713
15039
|
}());
|
|
14714
15040
|
TransactionComponent.decorators = [
|
|
14715
15041
|
{ type: i0.Component, args: [{
|
|
14716
15042
|
selector: "co-transaction",
|
|
14717
|
-
template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n\n <co-view-mode-buttons class=\"transaction-lines-header-item\"\n [showViewModes]=\"[viewModes.List, viewModes.Grid, viewModes.Tiles]\" (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles\">\n <co-transaction-tile\n *ngFor=\"let transaction of transaction.transactionLines\"\n [transactionLine]=\"transaction\"\n (showSidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-tile>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"activeViewMode === viewModes.List\">\n <co-transaction-lines\n [transactionLines]=\"transaction.transactionLines\"\n (showSidePanelClicked)=\"handleShowSidePanel($event)\"\n (saveTransactionLine)=\"saveTransactionLine($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-lines-grid-wrapper\" *ngIf=\"activeViewMode === viewModes.Grid\">\n <co-transaction-grid\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-grid>\n <!--\n <co-transaction-order-confirmation-grid\n *ngIf=\"activeCategory === 1\"\n [transactionLines]=\"transaction.transactionLines\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-order-confirmation-grid>\n -->\n </div>\n <div class=\"transaction-footer-wrapper\">\n <co-transaction-totals [totals]=\"transaction.transactionTotal\" [showDiscount]=\"true\" (discountClick)=\"addDiscount()\"></co-transaction-totals>\n </div>\n <co-discount *ngIf=\"showDiscountsSidebar\">\n </co-discount>\n
|
|
14718
|
-
animations: [
|
|
14719
|
-
animations.trigger("showHideSidePanel", [
|
|
14720
|
-
animations.state("void", animations.style({ transform: 'translateX(100%)' })),
|
|
14721
|
-
animations.state("*", animations.style({ transform: 'translateX(0)' })),
|
|
14722
|
-
animations.transition("void <=> *", animations.animate("200ms ease-in-out"))
|
|
14723
|
-
])
|
|
14724
|
-
],
|
|
15043
|
+
template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n\n <co-view-mode-buttons class=\"transaction-lines-header-item\"\n [showViewModes]=\"[viewModes.List, viewModes.Grid, viewModes.Tiles]\" (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles\">\n <co-transaction-tile\n *ngFor=\"let transaction of transaction.transactionLines\"\n [transactionLine]=\"transaction\"\n (showSidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-tile>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"activeViewMode === viewModes.List\">\n <co-transaction-lines\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLines]=\"transaction.transactionLines\"\n (showSidePanelClicked)=\"handleShowSidePanel($event)\"\n (saveTransactionLine)=\"saveTransactionLine($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-lines-grid-wrapper\" *ngIf=\"activeViewMode === viewModes.Grid\">\n <co-transaction-grid\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-grid>\n <!--\n <co-transaction-order-confirmation-grid\n *ngIf=\"activeCategory === 1\"\n [transactionLines]=\"transaction.transactionLines\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-order-confirmation-grid>\n -->\n </div>\n <div class=\"transaction-footer-wrapper\">\n <co-transaction-totals [totals]=\"transaction.transactionTotal\" [showDiscount]=\"true\" (discountClick)=\"addDiscount()\"></co-transaction-totals>\n </div>\n <co-discount *ngIf=\"showDiscountsSidebar\">\n </co-discount>\n ",
|
|
14725
15044
|
encapsulation: i0.ViewEncapsulation.None
|
|
14726
15045
|
},] }
|
|
14727
15046
|
];
|
|
14728
15047
|
TransactionComponent.ctorParameters = function () { return [
|
|
14729
15048
|
{ type: IconCacheService },
|
|
14730
|
-
{ type: TransactionService }
|
|
15049
|
+
{ type: TransactionService },
|
|
15050
|
+
{ type: DynamicComponentService }
|
|
14731
15051
|
]; };
|
|
14732
15052
|
TransactionComponent.propDecorators = {
|
|
14733
15053
|
transaction: [{ type: i0.Input }],
|
|
@@ -15193,7 +15513,7 @@
|
|
|
15193
15513
|
TransactionBaseGridComponent.decorators = [
|
|
15194
15514
|
{ type: i0.Component, args: [{
|
|
15195
15515
|
selector: "co-transaction-base-grid",
|
|
15196
|
-
template: "\n <co-simple-grid [data]=\"transactionLines\"\n [extraColumns]=\"extraColumns\"\n [dragDropEnabled]=\"true\"\n [emitDragDrop]=\"true\"\n (onDrop)=\"handleDrop($event)\"\n (rowVisible)=\"rowVisible.next($event)\">\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | localize\" [width]=\"300\" [order]=\"10\">\n <ng-template #template let-row = \"row\">\n <div class=\"transaction-grid-article-description\" [textContent]=\"row.goodDescription\"></div>\n <div class=\"transaction-grid-article-text\" [textContent]=\"row.articleBoundConcatenatedText\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [width]=\"150\" [order]=\"20\">\n <ng-template #template let-row = \"row\">\n <co-image-display class=\"transaction-grid-article-image\" [model]=\"row.articleImageData\"></co-image-display>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [field]=\"'articleNumber'\" [width]=\"70\" [order]=\"30\" [textAlign]=\"align.Center\">\n <ng-template #headerTemplate>\n <icon class=\"transaction-grid-header-icon\" [icon]=\"icon.BarcodeSolid\"></icon>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"''\" [width]=\"40\" [field]=\"'sideMenuButton'\" [order]=\"400\">\n <ng-template #template let-row = \"row\">\n <co-transaction-line-action-buttons class=\"transaction-line-action-buttons\"\n [transactionLine]=\"row\"\n (sidePanelButtonClicked)=\"openSidePanel(row)\"\n ></co-transaction-line-action-buttons>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
|
|
15516
|
+
template: "\n <co-simple-grid [data]=\"transactionLines\"\n [extraColumns]=\"extraColumns\"\n [dragDropEnabled]=\"true\"\n [emitDragDrop]=\"true\"\n (onDrop)=\"handleDrop($event)\"\n (rowVisible)=\"rowVisible.next($event)\">\n <co-simple-grid-column [headerText]=\"'DESCRIPTION' | localize\" [width]=\"300\" [order]=\"10\">\n <ng-template #template let-row = \"row\">\n <div class=\"transaction-grid-article-description\" [textContent]=\"row.goodDescription\"></div>\n <div class=\"transaction-grid-article-text\" [textContent]=\"row.articleBoundConcatenatedText\"></div>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [width]=\"150\" [order]=\"20\">\n <ng-template #template let-row = \"row\">\n <co-image-display class=\"transaction-grid-article-image\" [model]=\"row.articleImageData\"></co-image-display>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [field]=\"'articleNumber'\" [width]=\"70\" [order]=\"30\" [textAlign]=\"align.Center\">\n <ng-template #headerTemplate>\n <icon class=\"transaction-grid-header-icon\" [icon]=\"icon.BarcodeSolid\"></icon>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"''\" [width]=\"40\" [field]=\"'sideMenuButton'\" [order]=\"400\">\n <ng-template #template let-row = \"row\">\n <co-transaction-line-action-buttons *ngIf=\"row.isArticle\" class=\"transaction-line-action-buttons\"\n [transactionLine]=\"row\"\n (sidePanelButtonClicked)=\"openSidePanel(row)\"\n ></co-transaction-line-action-buttons>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n ",
|
|
15197
15517
|
encapsulation: i0.ViewEncapsulation.None
|
|
15198
15518
|
},] }
|
|
15199
15519
|
];
|
|
@@ -15201,89 +15521,6 @@
|
|
|
15201
15521
|
showClass: [{ type: i0.HostBinding, args: ['class.co-transaction-base-grid',] }]
|
|
15202
15522
|
};
|
|
15203
15523
|
|
|
15204
|
-
var TransactionTypeCategory;
|
|
15205
|
-
(function (TransactionTypeCategory) {
|
|
15206
|
-
TransactionTypeCategory["PurchaseOrderOverview"] = "purchaseOrderOverview";
|
|
15207
|
-
TransactionTypeCategory["PurchaseOrderOrderConfirmation"] = "purchaseOrderOrderConfirmation";
|
|
15208
|
-
TransactionTypeCategory["PurchaseOrderTransport"] = "purchaseOrderTransport";
|
|
15209
|
-
TransactionTypeCategory["PurchaseOrderReceivedGoods"] = "purchaseOrderReceivedGoods";
|
|
15210
|
-
TransactionTypeCategory["PurchaseOrderInvoiceCheck"] = "purchaseOrderInvoiceCheck";
|
|
15211
|
-
TransactionTypeCategory["PurchaseOrderMenu"] = "purchaseOrderMenu";
|
|
15212
|
-
TransactionTypeCategory["SalesOrderOverview"] = "salesOrderOverview";
|
|
15213
|
-
TransactionTypeCategory["SalesOrderPurchase"] = "salesOrderPurchase";
|
|
15214
|
-
TransactionTypeCategory["SalesOrderLogistics"] = "salesOrderLogistics";
|
|
15215
|
-
TransactionTypeCategory["SalesOrderPlanning"] = "salesOrderPlanning";
|
|
15216
|
-
TransactionTypeCategory["SalesOrderDeliveryNote"] = "salesOrderDeliveryNote";
|
|
15217
|
-
TransactionTypeCategory["SalesOrderInvoice"] = "salesOrderInvoice";
|
|
15218
|
-
})(TransactionTypeCategory || (TransactionTypeCategory = {}));
|
|
15219
|
-
|
|
15220
|
-
var TransactionEventService = /** @class */ (function () {
|
|
15221
|
-
function TransactionEventService() {
|
|
15222
|
-
this.addToCartBySku = new rxjs.Subject();
|
|
15223
|
-
this.addToCartBySelectorResult = new rxjs.Subject();
|
|
15224
|
-
this.openShoppingCartModule = new rxjs.Subject();
|
|
15225
|
-
this.loggedIn = new rxjs.Subject();
|
|
15226
|
-
this.addNewUserToShoppingCartModule = new rxjs.Subject();
|
|
15227
|
-
this.addUserRelationShoppingCartModule = new rxjs.Subject();
|
|
15228
|
-
this.addArticleLine = new rxjs.Subject();
|
|
15229
|
-
this.addTextLine = new rxjs.Subject();
|
|
15230
|
-
this.addArticleLineAt = new rxjs.Subject();
|
|
15231
|
-
this.addTextLineAt = new rxjs.Subject();
|
|
15232
|
-
this.changeLineSequence = new rxjs.Subject();
|
|
15233
|
-
this.transactionLineClicked = new rxjs.Subject();
|
|
15234
|
-
this.rightSidebarClose = new rxjs.Subject();
|
|
15235
|
-
this.scrollContent = new rxjs.Subject();
|
|
15236
|
-
this.receivedPurchaseOrderCommit = new rxjs.Subject();
|
|
15237
|
-
this.commitReceivePurchaseOrders = new rxjs.Subject();
|
|
15238
|
-
this.transactionLineChanged = new rxjs.Subject();
|
|
15239
|
-
}
|
|
15240
|
-
return TransactionEventService;
|
|
15241
|
-
}());
|
|
15242
|
-
TransactionEventService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
|
|
15243
|
-
TransactionEventService.decorators = [
|
|
15244
|
-
{ type: i0.Injectable, args: [{ providedIn: "root" },] }
|
|
15245
|
-
];
|
|
15246
|
-
|
|
15247
|
-
var TransactionLineSidePanelComponent = /** @class */ (function () {
|
|
15248
|
-
function TransactionLineSidePanelComponent(iconService, _service, _transactionEventService) {
|
|
15249
|
-
this.iconService = iconService;
|
|
15250
|
-
this._service = _service;
|
|
15251
|
-
this._transactionEventService = _transactionEventService;
|
|
15252
|
-
this.icons = Icon;
|
|
15253
|
-
this.categories = TransactionTypeCategory;
|
|
15254
|
-
this.transactionTypes = transactionKind_enum.TransactionKind;
|
|
15255
|
-
this.transactionLine = new transactionLineInfo_bo.TransactionLineInfo();
|
|
15256
|
-
this.transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
15257
|
-
this.cancelClick = new i0.EventEmitter();
|
|
15258
|
-
}
|
|
15259
|
-
TransactionLineSidePanelComponent.prototype.showClass = function () {
|
|
15260
|
-
return true;
|
|
15261
|
-
};
|
|
15262
|
-
TransactionLineSidePanelComponent.prototype.handleCancelClick = function (event) {
|
|
15263
|
-
this.cancelClick.next(event);
|
|
15264
|
-
};
|
|
15265
|
-
return TransactionLineSidePanelComponent;
|
|
15266
|
-
}());
|
|
15267
|
-
TransactionLineSidePanelComponent.decorators = [
|
|
15268
|
-
{ type: i0.Component, args: [{
|
|
15269
|
-
selector: "co-transaction-line-side-panel",
|
|
15270
|
-
template: "\n <icon (click)=\"handleCancelClick($event)\" [icon]=\"icons.Cancel\" class=\"close-button\"></icon>\n <div class=\"transaction-line-side-panel-header\">\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'ARTICLE_NR'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"transactionLine.articleNumber\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'DESCRIPTION'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"transactionLine.goodDescription\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\" [textContent]=\"'AMOUNT'| localize\"></span>\n <span class=\"side-panel-header-field\" [textContent]=\"transactionLine.amount\"></span>\n </div>\n <div class=\"side-panel-header-divider\"></div>\n <div class=\"transaction-line-side-panel-header-item\">\n <span class=\"side-panel-header-label\"\n [textContent]=\"activeCategory === categories.PurchaseOrderReceivedGoods ? ('TO_REPORT_IN' | localize) : ('PRICE' | localize)\"></span>\n <span class=\"side-panel-header-field\"\n [textContent]=\"activeCategory === categories.PurchaseOrderReceivedGoods ? quantityToReceive : (transactionLine.price | priceDisplay)\"></span>\n </div>\n </div>\n <div class=\"transaction-line-side-panel-nav-bar\">\n <co-transaction-button-bar\n [transactionType]=\"transactionInfo.transactionKind\"\n (buttonClicked)=\"activeCategory = $event.category\"\n ></co-transaction-button-bar>\n </div>\n <div class=\"transaction-line-side-panel-content\">\n <ng-container [ngSwitch]=\"transactionInfo.transactionKind\">\n <ng-container *ngSwitchCase=\"transactionTypes.PurchaseOrder\">\n <co-transaction-line-side-panel-purchase\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [category]=\"activeCategory\"\n (quantityToReceiveChange)=\"quantityToReceive = $event\"\n ></co-transaction-line-side-panel-purchase>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <co-transaction-line-side-panel-purchase\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [category]=\"activeCategory\"\n ></co-transaction-line-side-panel-purchase>\n </ng-container>\n </ng-container>\n </div>\n ",
|
|
15271
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
15272
|
-
},] }
|
|
15273
|
-
];
|
|
15274
|
-
TransactionLineSidePanelComponent.ctorParameters = function () { return [
|
|
15275
|
-
{ type: IconCacheService },
|
|
15276
|
-
{ type: TransactionService },
|
|
15277
|
-
{ type: TransactionEventService }
|
|
15278
|
-
]; };
|
|
15279
|
-
TransactionLineSidePanelComponent.propDecorators = {
|
|
15280
|
-
transactionLine: [{ type: i0.Input }],
|
|
15281
|
-
transactionInfo: [{ type: i0.Input }],
|
|
15282
|
-
activeCategory: [{ type: i0.Input }],
|
|
15283
|
-
cancelClick: [{ type: i0.Output }],
|
|
15284
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-side-panel",] }]
|
|
15285
|
-
};
|
|
15286
|
-
|
|
15287
15524
|
var TransactionLineSidePanelDefaultComponent = /** @class */ (function () {
|
|
15288
15525
|
function TransactionLineSidePanelDefaultComponent(iconService, _transactionService) {
|
|
15289
15526
|
this.iconService = iconService;
|
|
@@ -15391,70 +15628,6 @@
|
|
|
15391
15628
|
},] }
|
|
15392
15629
|
];
|
|
15393
15630
|
|
|
15394
|
-
var TransactionLineDeliveryDateComponent = /** @class */ (function (_super) {
|
|
15395
|
-
__extends(TransactionLineDeliveryDateComponent, _super);
|
|
15396
|
-
function TransactionLineDeliveryDateComponent(_transactionService) {
|
|
15397
|
-
var _this = _super.call(this) || this;
|
|
15398
|
-
_this._transactionService = _transactionService;
|
|
15399
|
-
return _this;
|
|
15400
|
-
}
|
|
15401
|
-
TransactionLineDeliveryDateComponent.prototype.commit = function (date) {
|
|
15402
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
15403
|
-
var oldDate, success;
|
|
15404
|
-
return __generator(this, function (_a) {
|
|
15405
|
-
switch (_a.label) {
|
|
15406
|
-
case 0:
|
|
15407
|
-
if (!(this.transactionLine.deliveryDate !== date)) return [3 /*break*/, 2];
|
|
15408
|
-
oldDate = this.transactionLine.deliveryDate;
|
|
15409
|
-
return [4 /*yield*/, this._transactionService.updateDeliveryDateTransactionLine(this._transactionService.currentTransaction.transactionInfo.uuid, this.transactionLine.uuid, date)];
|
|
15410
|
-
case 1:
|
|
15411
|
-
success = _a.sent();
|
|
15412
|
-
if (!success) {
|
|
15413
|
-
this.transactionLine.deliveryDate = oldDate;
|
|
15414
|
-
}
|
|
15415
|
-
return [2 /*return*/, success];
|
|
15416
|
-
case 2: return [2 /*return*/, true];
|
|
15417
|
-
}
|
|
15418
|
-
});
|
|
15419
|
-
});
|
|
15420
|
-
};
|
|
15421
|
-
TransactionLineDeliveryDateComponent.prototype.transactionInfoSet = function () {
|
|
15422
|
-
this.readonly = this.readonly || (this.transactionInfo.deliveryDateDefinitive || !this.transactionInfo.allowPartialDelivery);
|
|
15423
|
-
};
|
|
15424
|
-
return TransactionLineDeliveryDateComponent;
|
|
15425
|
-
}(TransactionLineBaseComponent));
|
|
15426
|
-
TransactionLineDeliveryDateComponent.decorators = [
|
|
15427
|
-
{ type: i0.Component, args: [{
|
|
15428
|
-
selector: "co-transaction-line-delivery-date",
|
|
15429
|
-
template: "\n <co-input-date\n [placeholder]=\"'DELIVERY_DATE' | localize\"\n [model]=\"transactionLine.deliveryDate\"\n [readonly]=\"readonly\"\n (modelChange)=\"commit($event)\"\n ></co-input-date>\n ",
|
|
15430
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
15431
|
-
},] }
|
|
15432
|
-
];
|
|
15433
|
-
TransactionLineDeliveryDateComponent.ctorParameters = function () { return [
|
|
15434
|
-
{ type: TransactionService }
|
|
15435
|
-
]; };
|
|
15436
|
-
|
|
15437
|
-
var TransactionLineDeliveryDateModule = /** @class */ (function () {
|
|
15438
|
-
function TransactionLineDeliveryDateModule() {
|
|
15439
|
-
}
|
|
15440
|
-
return TransactionLineDeliveryDateModule;
|
|
15441
|
-
}());
|
|
15442
|
-
TransactionLineDeliveryDateModule.decorators = [
|
|
15443
|
-
{ type: i0.NgModule, args: [{
|
|
15444
|
-
imports: [
|
|
15445
|
-
common.CommonModule,
|
|
15446
|
-
PipeModule,
|
|
15447
|
-
corecomponents_v12.InputDatePickerModule
|
|
15448
|
-
],
|
|
15449
|
-
declarations: [
|
|
15450
|
-
TransactionLineDeliveryDateComponent
|
|
15451
|
-
],
|
|
15452
|
-
exports: [
|
|
15453
|
-
TransactionLineDeliveryDateComponent
|
|
15454
|
-
]
|
|
15455
|
-
},] }
|
|
15456
|
-
];
|
|
15457
|
-
|
|
15458
15631
|
var TransactionLineReferenceComponent = /** @class */ (function (_super) {
|
|
15459
15632
|
__extends(TransactionLineReferenceComponent, _super);
|
|
15460
15633
|
function TransactionLineReferenceComponent(_transactionService) {
|
|
@@ -15676,7 +15849,7 @@
|
|
|
15676
15849
|
TransactionHistoryGridComponent.decorators = [
|
|
15677
15850
|
{ type: i0.Component, args: [{
|
|
15678
15851
|
selector: "co-transaction-history-grid",
|
|
15679
|
-
template: "\n <div class=\"history-grid-wrapper\">\n <div class=\"delete-button-wrapper\">\n <co-grid-toolbar-button\n (buttonClick)=\"handleDeleteClick()\"\n [iconData]=\"iconsService.getIcon(icons.TrashBin)\"\n [disabled]=\"!selectedRow\"\n ></co-grid-toolbar-button>\n </div>\n <co-simple-grid [data]=\"collection\" [extraColumns]=\"extraColumns\" (selectRow)=\"handleSelectRow($event)\">\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\" [order]=\"20\" [width]=\"100\">\n <ng-template #template let-row=\"row\">\n <div class=\"row-container\">\n <span class=\"row\" [textContent]=\"row.
|
|
15852
|
+
template: "\n <div class=\"history-grid-wrapper\">\n <div class=\"delete-button-wrapper\">\n <co-grid-toolbar-button\n (buttonClick)=\"handleDeleteClick()\"\n [iconData]=\"iconsService.getIcon(icons.TrashBin)\"\n [disabled]=\"!selectedRow\"\n ></co-grid-toolbar-button>\n </div>\n <co-simple-grid [data]=\"collection\" [extraColumns]=\"extraColumns\" (selectRow)=\"handleSelectRow($event)\">\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\" [order]=\"20\" [width]=\"100\">\n <ng-template #template let-row=\"row\">\n <div class=\"row-container\">\n <span class=\"row\" [textContent]=\"row.date | date\"></span>\n <span class=\"correction\" *ngFor=\"let correction of row.corrections\" [textContent]=\"correction.date | date\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n\n <co-simple-grid-column [headerText]=\"'AMOUNT' | localize\" [order]=\"30\" [width]=\"70\">\n <ng-template #template let-row=\"row\">\n <div class=\"row-container\">\n <span class=\"row\" [textContent]=\"row.quantity\"></span>\n <span class=\"correction\" *ngFor=\"let correction of row.corrections\" [textContent]=\"correction.quantity\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n\n <co-simple-grid-column [headerText]=\"'REFERENCE' | localize\" [order]=\"50\">\n <ng-template #template let-row=\"row\">\n <div class=\"row-container\">\n <span class=\"row\" [textContent]=\"row.reference\"></span>\n <span class=\"correction\" *ngFor=\"let correction of row.corrections\" [textContent]=\"correction.reference\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n\n <co-simple-grid-column [headerText]=\"'USER' | localize\" [order]=\"70\">\n <ng-template #template let-row=\"row\">\n <div class=\"row-container\">\n <span class=\"row\" [textContent]=\"row.username\"></span>\n <span class=\"correction\" *ngFor=\"let correction of row.corrections\" [textContent]=\"correction.username\"></span>\n </div>\n </ng-template>\n </co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
|
|
15680
15853
|
encapsulation: i0.ViewEncapsulation.None
|
|
15681
15854
|
},] }
|
|
15682
15855
|
];
|
|
@@ -15779,18 +15952,13 @@
|
|
|
15779
15952
|
];
|
|
15780
15953
|
|
|
15781
15954
|
var TransactionReceivingGoodsHistoryComponent = /** @class */ (function () {
|
|
15782
|
-
function TransactionReceivingGoodsHistoryComponent(_service
|
|
15955
|
+
function TransactionReceivingGoodsHistoryComponent(_service) {
|
|
15783
15956
|
this._service = _service;
|
|
15784
|
-
this._datePipe = _datePipe;
|
|
15785
15957
|
this.reloadReceivingGoodsHistory = new i0.EventEmitter();
|
|
15786
15958
|
}
|
|
15787
15959
|
Object.defineProperty(TransactionReceivingGoodsHistoryComponent.prototype, "goodsReceiptHistory", {
|
|
15788
15960
|
get: function () {
|
|
15789
|
-
|
|
15790
|
-
return this._goodsReceiptHistory.map(function (receipt) {
|
|
15791
|
-
receipt.receiptDate = _this._datePipe.transform(receipt.receiptDate);
|
|
15792
|
-
return receipt;
|
|
15793
|
-
});
|
|
15961
|
+
return this._goodsReceiptHistory;
|
|
15794
15962
|
},
|
|
15795
15963
|
set: function (value) {
|
|
15796
15964
|
if (value) {
|
|
@@ -15841,8 +16009,7 @@
|
|
|
15841
16009
|
},] }
|
|
15842
16010
|
];
|
|
15843
16011
|
TransactionReceivingGoodsHistoryComponent.ctorParameters = function () { return [
|
|
15844
|
-
{ type: TransactionService }
|
|
15845
|
-
{ type: common.DatePipe }
|
|
16012
|
+
{ type: TransactionService }
|
|
15846
16013
|
]; };
|
|
15847
16014
|
TransactionReceivingGoodsHistoryComponent.propDecorators = {
|
|
15848
16015
|
goodsReceiptHistory: [{ type: i0.Input }],
|
|
@@ -15885,11 +16052,12 @@
|
|
|
15885
16052
|
}
|
|
15886
16053
|
ArticleService.prototype.getWarehouseLocations = function (warehouseNr) {
|
|
15887
16054
|
return __awaiter(this, void 0, void 0, function () {
|
|
16055
|
+
var _this = this;
|
|
15888
16056
|
return __generator(this, function (_a) {
|
|
15889
|
-
|
|
15890
|
-
|
|
15891
|
-
|
|
15892
|
-
|
|
16057
|
+
// @ts-ignore
|
|
16058
|
+
return [2 /*return*/, this._selectMultipleCacheService.requestCache(stockLocation_bo.StockLocation, function () {
|
|
16059
|
+
return _this._articleConnectorService.getWarehouseLocations(warehouseNr);
|
|
16060
|
+
}).getValue()];
|
|
15893
16061
|
});
|
|
15894
16062
|
});
|
|
15895
16063
|
};
|
|
@@ -15907,10 +16075,11 @@
|
|
|
15907
16075
|
]; };
|
|
15908
16076
|
|
|
15909
16077
|
var TransactionReceivingGoodsDetailsComponent = /** @class */ (function () {
|
|
15910
|
-
function TransactionReceivingGoodsDetailsComponent(_formMaster, _service, _articleService) {
|
|
16078
|
+
function TransactionReceivingGoodsDetailsComponent(_formMaster, _service, _articleService, _dialogService) {
|
|
15911
16079
|
this._formMaster = _formMaster;
|
|
15912
16080
|
this._service = _service;
|
|
15913
16081
|
this._articleService = _articleService;
|
|
16082
|
+
this._dialogService = _dialogService;
|
|
15914
16083
|
this.reloadReceivingGoodsHistory = new i0.EventEmitter();
|
|
15915
16084
|
this.receiptDetails = new purchaseOrderLineReceiptDetails_bo.PurchaseOrderLineReceiptDetails();
|
|
15916
16085
|
this.request = new receiveGoodsForPurchaseOrderRequest_bo.ReceiveGoodsForPurchaseOrderRequest();
|
|
@@ -16006,19 +16175,38 @@
|
|
|
16006
16175
|
});
|
|
16007
16176
|
});
|
|
16008
16177
|
};
|
|
16178
|
+
TransactionReceivingGoodsDetailsComponent.prototype.openWarehouseLocationDialog = function () {
|
|
16179
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16180
|
+
var _this = this;
|
|
16181
|
+
return __generator(this, function (_a) {
|
|
16182
|
+
switch (_a.label) {
|
|
16183
|
+
case 0: return [4 /*yield*/, this._dialogService.showWarehouseLocation().then(function (result) {
|
|
16184
|
+
_this.receiptDetails.locationNr = result;
|
|
16185
|
+
})];
|
|
16186
|
+
case 1:
|
|
16187
|
+
_a.sent();
|
|
16188
|
+
return [2 /*return*/];
|
|
16189
|
+
}
|
|
16190
|
+
});
|
|
16191
|
+
});
|
|
16192
|
+
};
|
|
16009
16193
|
return TransactionReceivingGoodsDetailsComponent;
|
|
16010
16194
|
}());
|
|
16011
16195
|
TransactionReceivingGoodsDetailsComponent.decorators = [
|
|
16012
16196
|
{ type: i0.Component, args: [{
|
|
16013
16197
|
selector: 'co-transaction-receiving-goods-details',
|
|
16014
|
-
template: "\n <div class=\"receipt-details-wrapper\">\n <co-form>\n <div class=\"details-header\" [textContent]=\"'RECEIPT_DETAILS' | localize | uppercase\"></div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [max]=\"amountLeftToReceive\"\n [(model)]=\"receiptDetails.serialNr ? 1 : receiptDetails.quantityToReceive\"\n [disabled]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0\"\n [readonly]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0 || readonly\"\n [required]=\"true\"\n [type]=\"'number'\"\n [min]=\"1\"\n [placeholder]=\"'AMOUNT' | localize\"></co-input-text>\n <co-input-text class=\"details-input\" [(model)]=\"receiptDetails.warehouseNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"transactionLine.warehouseNumber !== undefined || readonly\"\n [disabled]=\"transactionLine.warehouseNumber !== undefined\"\n [required]=\"transactionLine.isWarehouseRequired\"\n [placeholder]=\"'WAREHOUSE' | localize\"></co-input-text>\n <
|
|
16198
|
+
template: "\n <div class=\"receipt-details-wrapper\">\n <co-form>\n <div class=\"details-header\" [textContent]=\"'RECEIPT_DETAILS' | localize | uppercase\"></div>\n <div class=\"columns-wrapper\">\n <div class=\"details-column\">\n <co-input-text class=\"details-input\"\n [max]=\"amountLeftToReceive\"\n [(model)]=\"receiptDetails.serialNr ? 1 : receiptDetails.quantityToReceive\"\n [disabled]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0\"\n [readonly]=\"!!receiptDetails.serialNr || receiptDetails.quantityToReceive === 0 || readonly\"\n [required]=\"true\"\n [type]=\"'number'\"\n [min]=\"1\"\n [placeholder]=\"'AMOUNT' | localize\"></co-input-text>\n <co-input-text class=\"details-input\" [(model)]=\"receiptDetails.warehouseNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"transactionLine.warehouseNumber !== undefined || readonly\"\n [disabled]=\"transactionLine.warehouseNumber !== undefined\"\n [required]=\"transactionLine.isWarehouseRequired\"\n [placeholder]=\"'WAREHOUSE' | localize\"></co-input-text>\n <div class=\"location-wrapper\" (click)=\"openWarehouseLocationDialog()\">\n <div [textContent]=\"receiptDetails.locationNr ? receiptDetails.locationNr : ('LOCATION' | localize)\"></div>\n </div>\n <co-input-text class=\"details-input\"\n [(model)]=\"request.packingSlipNr\"\n [placeholder]=\"'PACKING_SLIP' | localize\"\n [readonly]=\"readonly\"\n ></co-input-text>\n </div>\n <div class=\"divider-wrapper\">\n <div class=\"divider\"></div>\n </div>\n <div class=\"details-column\">\n <co-input-date class=\"details-input\"\n [(model)]=\"request.receivedDate\"\n [readonly]=\"readonly\"\n ></co-input-date>\n <co-input-text class=\"details-input\" [(model)]=\"receiptDetails.batchNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly || !transactionLine.isBatchNrRequired\"\n [required]=\"transactionLine.isBatchNrRequired\"\n [placeholder]=\"'BATCH_NUMBER' | localize\"></co-input-text>\n <co-input-text class=\"details-input\" [(model)]=\"receiptDetails.serialNr\"\n [type]=\"'number'\"\n [hideArrowButtons]=\"true\"\n [readonly]=\"readonly || !transactionLine.isSerialNrRequired\"\n [required]=\"transactionLine.isSerialNrRequired\"\n [placeholder]=\"'SERIAL_NUMBER' | localize\"></co-input-text>\n <!-- <co-input-text class=\"details-input\" [(model)]=\"receiptDetails.refLineNr\"-->\n <!-- [placeholder]=\"'REFERENCE_ID' | localize\"></co-input-text>-->\n </div>\n </div>\n </co-form>\n\n <div class=\"save-cancel-wrapper\" *ngIf=\"!readonly\">\n <co-button class=\"button-wrapper clickable\" [disabled]=\"saveButtonDisabled || amountLeftToReceive === 0\" [label]=\"'SAVE' | localize\" (click)=\"handleSaveDetailsEdit()\"></co-button>\n <co-button class=\"button-wrapper clickable\" [label]=\"'CANCEL' | localize\" (click)=\"handleCancelDetailsEdit()\"></co-button>\n </div>\n </div>\n ",
|
|
16199
|
+
providers: [
|
|
16200
|
+
corecomponents_v12.FormMasterService
|
|
16201
|
+
],
|
|
16015
16202
|
encapsulation: i0.ViewEncapsulation.None
|
|
16016
16203
|
},] }
|
|
16017
16204
|
];
|
|
16018
16205
|
TransactionReceivingGoodsDetailsComponent.ctorParameters = function () { return [
|
|
16019
16206
|
{ type: corecomponents_v12.FormMasterService },
|
|
16020
16207
|
{ type: TransactionService },
|
|
16021
|
-
{ type: ArticleService }
|
|
16208
|
+
{ type: ArticleService },
|
|
16209
|
+
{ type: DialogService }
|
|
16022
16210
|
]; };
|
|
16023
16211
|
TransactionReceivingGoodsDetailsComponent.propDecorators = {
|
|
16024
16212
|
amountLeftToReceive: [{ type: i0.Input }],
|
|
@@ -16524,12 +16712,14 @@
|
|
|
16524
16712
|
|
|
16525
16713
|
var TransactionReceivedGoodsGridComponent = /** @class */ (function (_super) {
|
|
16526
16714
|
__extends(TransactionReceivedGoodsGridComponent, _super);
|
|
16527
|
-
function TransactionReceivedGoodsGridComponent(_imageService, _transactionService, _transactionEventService, _articleService) {
|
|
16715
|
+
function TransactionReceivedGoodsGridComponent(_imageService, _transactionService, _transactionEventService, _articleService, _dialogService) {
|
|
16528
16716
|
var _this = _super.call(this, _imageService) || this;
|
|
16529
16717
|
_this._imageService = _imageService;
|
|
16530
16718
|
_this._transactionService = _transactionService;
|
|
16531
16719
|
_this._transactionEventService = _transactionEventService;
|
|
16532
16720
|
_this._articleService = _articleService;
|
|
16721
|
+
_this._dialogService = _dialogService;
|
|
16722
|
+
_this.columnAlign = corecomponents_v12.ColumnAlign;
|
|
16533
16723
|
_this.locationDropdownFields = { text: "locationNo", value: "locationNo" };
|
|
16534
16724
|
_this.rowViewModels = new Map();
|
|
16535
16725
|
_this._subscriptions = [];
|
|
@@ -16557,13 +16747,16 @@
|
|
|
16557
16747
|
var _this = this;
|
|
16558
16748
|
return __generator(this, function (_a) {
|
|
16559
16749
|
switch (_a.label) {
|
|
16560
|
-
case 0:
|
|
16561
|
-
|
|
16562
|
-
|
|
16563
|
-
|
|
16750
|
+
case 0:
|
|
16751
|
+
if (!row.isArticle) return [3 /*break*/, 2];
|
|
16752
|
+
return [4 /*yield*/, this._transactionService.getGoodsReceiptStatus(this.transactionId, row.lineNr)
|
|
16753
|
+
.then(function (result) {
|
|
16754
|
+
_this.rowViewModels.set(row, new ReceiveGoodsViewModel(row, result, result.quantityToReceive === 0, result.quantityToReceive));
|
|
16755
|
+
})];
|
|
16564
16756
|
case 1:
|
|
16565
16757
|
_a.sent();
|
|
16566
|
-
|
|
16758
|
+
_a.label = 2;
|
|
16759
|
+
case 2: return [2 /*return*/];
|
|
16567
16760
|
}
|
|
16568
16761
|
});
|
|
16569
16762
|
});
|
|
@@ -16640,12 +16833,27 @@
|
|
|
16640
16833
|
receiveGoodsViewModel.goodsReceiptStatus.quantityToReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
16641
16834
|
receiveGoodsViewModel.toReceive = change.goodsReceiptStatus.quantityToReceive;
|
|
16642
16835
|
};
|
|
16836
|
+
TransactionReceivedGoodsGridComponent.prototype.openWarehouseLocationDialog = function (line) {
|
|
16837
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16838
|
+
var _this = this;
|
|
16839
|
+
return __generator(this, function (_a) {
|
|
16840
|
+
switch (_a.label) {
|
|
16841
|
+
case 0: return [4 /*yield*/, this._dialogService.showWarehouseLocation().then(function (result) {
|
|
16842
|
+
_this.getRowViewModel(line).location = result;
|
|
16843
|
+
})];
|
|
16844
|
+
case 1:
|
|
16845
|
+
_a.sent();
|
|
16846
|
+
return [2 /*return*/];
|
|
16847
|
+
}
|
|
16848
|
+
});
|
|
16849
|
+
});
|
|
16850
|
+
};
|
|
16643
16851
|
return TransactionReceivedGoodsGridComponent;
|
|
16644
16852
|
}(TransactionGridBaseComponent));
|
|
16645
16853
|
TransactionReceivedGoodsGridComponent.decorators = [
|
|
16646
16854
|
{ type: i0.Component, args: [{
|
|
16647
16855
|
selector: "co-transaction-received-goods-grid",
|
|
16648
|
-
template: "\n <co-transaction-base-grid [transactionLines]=\"transactionLines\" (sidePanelClicked)=\"openSidePanel($event)\" (rowVisible)=\"handleRowVisible($event)\">\n <co-simple-grid-column [headerText]=\"'WAREHOUSE' | localize\" [field]=\"'warehouseNumber'\" [order]=\"40\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [order]=\"45\">\n <ng-template #template let-row = \"row\">\n <co-drop-down-list
|
|
16856
|
+
template: "\n <co-transaction-base-grid [transactionLines]=\"transactionLines\" (sidePanelClicked)=\"openSidePanel($event)\" (rowVisible)=\"handleRowVisible($event)\">\n <co-simple-grid-column [textAlign]=\"columnAlign.Center\" [headerText]=\"'WAREHOUSE' | localize\" [field]=\"'warehouseNumber'\" [order]=\"40\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'LOCATION' | localize\" [order]=\"45\">\n <ng-template #template let-row = \"row\">\n <div *ngIf=\"row.isArticle\" class=\"location-wrapper\" (click)=\"openWarehouseLocationDialog(row)\">\n <div [textContent]=\"getRowViewModel(row).location ? getRowViewModel(row).location : '-'\"></div>\n </div>\n<!-- <co-drop-down-list-->\n<!-- noTriangleGraphic-->\n<!-- (focus)=\"handleDropDownSelected(row.warehouseNumber)\"-->\n<!-- [required]=\"locationRequired(row) && getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0\"-->\n<!-- [collection]=\"locations\"-->\n<!-- [fields]=\"locationDropdownFields\"-->\n<!-- [(model)]=\"getRowViewModel(row).location\"-->\n<!-- [disabled]=\"getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0\"-->\n<!-- ></co-drop-down-list>-->\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [textAlign]=\"columnAlign.Center\" [headerText]=\"'IN_ORDER' | localize\" [field]=\"'amount'\" [order]=\"50\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'RECEIVED' | localize\" [order]=\"51\">\n <ng-template #template let-row = \"row\">\n <co-input-number-picker *ngIf=\"row.isArticle\"\n [min]=\"getRowViewModel(row).goodsReceiptStatus.quantityToReceive > 0 ? 1 : 0\"\n [max]=\"getRowViewModel(row).goodsReceiptStatus.quantityToReceive\"\n [(model)]=\"getRowViewModel(row).toReceive\"\n [disabled]=\"getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0\"\n [readonly]=\"getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0\"\n ></co-input-number-picker>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [textAlign]=\"columnAlign.Center\" [headerText]=\"'BATCH' | localize\" [field]=\"'inOrder'\" [order]=\"52\"></co-simple-grid-column>\n <co-simple-grid-column [textAlign]=\"columnAlign.Center\" [headerText]=\"'Commit button'\" [field]=\"'commitButton'\" [order]=\"55\">\n <ng-template #template let-row = \"row\">\n <co-input-checkbox *ngIf=\"row.isArticle\"\n [(model)]=\"getRowViewModel(row).selected\"\n [disabled]=\"getRowViewModel(row).goodsReceiptStatus.quantityToReceive === 0\"\n ></co-input-checkbox>\n </ng-template>\n </co-simple-grid-column>\n </co-transaction-base-grid>\n ",
|
|
16649
16857
|
encapsulation: i0.ViewEncapsulation.None
|
|
16650
16858
|
},] }
|
|
16651
16859
|
];
|
|
@@ -16653,7 +16861,8 @@
|
|
|
16653
16861
|
{ type: TransactionImageService },
|
|
16654
16862
|
{ type: TransactionService },
|
|
16655
16863
|
{ type: TransactionEventService },
|
|
16656
|
-
{ type: ArticleService }
|
|
16864
|
+
{ type: ArticleService },
|
|
16865
|
+
{ type: DialogService }
|
|
16657
16866
|
]; };
|
|
16658
16867
|
TransactionReceivedGoodsGridComponent.propDecorators = {
|
|
16659
16868
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-received-goods-grid",] }]
|
|
@@ -17123,7 +17332,6 @@
|
|
|
17123
17332
|
this._service = _service;
|
|
17124
17333
|
this._transactionEventService = _transactionEventService;
|
|
17125
17334
|
this.categories = TransactionTypeCategory;
|
|
17126
|
-
this.transactionLine = new transactionLineInfo_bo.TransactionLineInfo();
|
|
17127
17335
|
this.quantityToReceiveChange = new i0.EventEmitter();
|
|
17128
17336
|
this.goodsReceiptStatus = new goodsReceiptStatusWithHistory_bo.GoodsReceiptStatusWithHistory();
|
|
17129
17337
|
this._transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
@@ -17172,8 +17380,8 @@
|
|
|
17172
17380
|
{ type: TransactionEventService }
|
|
17173
17381
|
]; };
|
|
17174
17382
|
TransactionLineSidePanelPurchaseComponent.propDecorators = {
|
|
17175
|
-
transactionInfo: [{ type: i0.Input }],
|
|
17176
17383
|
transactionLine: [{ type: i0.Input }],
|
|
17384
|
+
transactionInfo: [{ type: i0.Input }],
|
|
17177
17385
|
category: [{ type: i0.Input }],
|
|
17178
17386
|
quantityToReceiveChange: [{ type: i0.Output }],
|
|
17179
17387
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-side-panel-purchase",] }]
|
|
@@ -17764,6 +17972,92 @@
|
|
|
17764
17972
|
},] }
|
|
17765
17973
|
];
|
|
17766
17974
|
|
|
17975
|
+
// @ts-ignore
|
|
17976
|
+
var TransactionLineWarehouseLocationComponent = /** @class */ (function (_super) {
|
|
17977
|
+
__extends(TransactionLineWarehouseLocationComponent, _super);
|
|
17978
|
+
function TransactionLineWarehouseLocationComponent(_articleService) {
|
|
17979
|
+
var _this = _super.call(this) || this;
|
|
17980
|
+
_this._articleService = _articleService;
|
|
17981
|
+
_this.codeField = 'locationNo';
|
|
17982
|
+
_this.propsForLabel = ['locationNo', 'description'];
|
|
17983
|
+
return _this;
|
|
17984
|
+
}
|
|
17985
|
+
TransactionLineWarehouseLocationComponent.prototype.ngOnInit = function () {
|
|
17986
|
+
var _this = this;
|
|
17987
|
+
this.viewModels.length = 0;
|
|
17988
|
+
this._articleService.getWarehouseLocations(this.warehouseNr).then(function (locations) {
|
|
17989
|
+
_this.collection = locations.slice();
|
|
17990
|
+
});
|
|
17991
|
+
};
|
|
17992
|
+
TransactionLineWarehouseLocationComponent.prototype.commit = function (locationNr) {
|
|
17993
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17994
|
+
return __generator(this, function (_a) {
|
|
17995
|
+
// not now
|
|
17996
|
+
return [2 /*return*/, true];
|
|
17997
|
+
});
|
|
17998
|
+
});
|
|
17999
|
+
};
|
|
18000
|
+
return TransactionLineWarehouseLocationComponent;
|
|
18001
|
+
}(TransactionLineBaseComponent));
|
|
18002
|
+
TransactionLineWarehouseLocationComponent.decorators = [
|
|
18003
|
+
{ type: i0.Component, args: [{
|
|
18004
|
+
selector: "co-transaction-line-warehouse-location",
|
|
18005
|
+
template: "\n <co-transaction-line-checkbox-list\n [collection]=\"viewModelsFiltered\"\n [readonly]=\"readonly\"\n (checked)=\"handleChecked($event)\"\n ></co-transaction-line-checkbox-list>\n ",
|
|
18006
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
18007
|
+
},] }
|
|
18008
|
+
];
|
|
18009
|
+
TransactionLineWarehouseLocationComponent.ctorParameters = function () { return [
|
|
18010
|
+
{ type: ArticleService }
|
|
18011
|
+
]; };
|
|
18012
|
+
TransactionLineWarehouseLocationComponent.propDecorators = {
|
|
18013
|
+
warehouseNr: [{ type: i0.Input }]
|
|
18014
|
+
};
|
|
18015
|
+
|
|
18016
|
+
var TransactionLineWarehouseLocationModule = /** @class */ (function () {
|
|
18017
|
+
function TransactionLineWarehouseLocationModule() {
|
|
18018
|
+
}
|
|
18019
|
+
return TransactionLineWarehouseLocationModule;
|
|
18020
|
+
}());
|
|
18021
|
+
TransactionLineWarehouseLocationModule.decorators = [
|
|
18022
|
+
{ type: i0.NgModule, args: [{
|
|
18023
|
+
imports: [
|
|
18024
|
+
common.CommonModule,
|
|
18025
|
+
corecomponents_v12.InputCheckboxModule,
|
|
18026
|
+
TransactionLineCheckboxModule
|
|
18027
|
+
],
|
|
18028
|
+
declarations: [
|
|
18029
|
+
TransactionLineWarehouseLocationComponent
|
|
18030
|
+
],
|
|
18031
|
+
exports: [
|
|
18032
|
+
TransactionLineWarehouseLocationComponent
|
|
18033
|
+
]
|
|
18034
|
+
},] }
|
|
18035
|
+
];
|
|
18036
|
+
|
|
18037
|
+
var DialogTransactionLineWarehouseLocationModule = /** @class */ (function () {
|
|
18038
|
+
function DialogTransactionLineWarehouseLocationModule() {
|
|
18039
|
+
}
|
|
18040
|
+
return DialogTransactionLineWarehouseLocationModule;
|
|
18041
|
+
}());
|
|
18042
|
+
DialogTransactionLineWarehouseLocationModule.decorators = [
|
|
18043
|
+
{ type: i0.NgModule, args: [{
|
|
18044
|
+
imports: [
|
|
18045
|
+
common.CommonModule,
|
|
18046
|
+
corecomponents_v12.CoDialogModule,
|
|
18047
|
+
DialogHeaderSearchModule,
|
|
18048
|
+
corecomponents_v12.ButtonModule,
|
|
18049
|
+
PipeModule,
|
|
18050
|
+
TransactionLineWarehouseLocationModule
|
|
18051
|
+
],
|
|
18052
|
+
declarations: [
|
|
18053
|
+
DialogTransactionLineWarehouseLocationComponent
|
|
18054
|
+
],
|
|
18055
|
+
exports: [
|
|
18056
|
+
DialogTransactionLineWarehouseLocationComponent
|
|
18057
|
+
]
|
|
18058
|
+
},] }
|
|
18059
|
+
];
|
|
18060
|
+
|
|
17767
18061
|
var TransactionReceivedGoodsGridModule = /** @class */ (function () {
|
|
17768
18062
|
function TransactionReceivedGoodsGridModule() {
|
|
17769
18063
|
}
|
|
@@ -17779,7 +18073,8 @@
|
|
|
17779
18073
|
PipeModule,
|
|
17780
18074
|
corecomponents_v12.InputCheckboxModule,
|
|
17781
18075
|
corecomponents_v12.DropDownModule,
|
|
17782
|
-
corecomponents_v12.InputNumberPickerModule
|
|
18076
|
+
corecomponents_v12.InputNumberPickerModule,
|
|
18077
|
+
DialogTransactionLineWarehouseLocationModule
|
|
17783
18078
|
],
|
|
17784
18079
|
declarations: [
|
|
17785
18080
|
TransactionReceivedGoodsGridComponent
|
|
@@ -19842,267 +20137,273 @@
|
|
|
19842
20137
|
exports.TransactionTotalsModule = TransactionTotalsModule;
|
|
19843
20138
|
exports["ɵa"] = PendingReasonService;
|
|
19844
20139
|
exports["ɵb"] = DialogService;
|
|
19845
|
-
exports["ɵba"] =
|
|
19846
|
-
exports["ɵbb"] =
|
|
19847
|
-
exports["ɵbc"] =
|
|
19848
|
-
exports["ɵbd"] =
|
|
19849
|
-
exports["ɵbe"] =
|
|
19850
|
-
exports["ɵbf"] =
|
|
19851
|
-
exports["ɵbg"] =
|
|
19852
|
-
exports["ɵbh"] =
|
|
19853
|
-
exports["ɵbi"] =
|
|
19854
|
-
exports["ɵbj"] =
|
|
19855
|
-
exports["ɵbk"] =
|
|
19856
|
-
exports["ɵbl"] =
|
|
19857
|
-
exports["ɵbm"] =
|
|
19858
|
-
exports["ɵbn"] =
|
|
19859
|
-
exports["ɵbo"] =
|
|
19860
|
-
exports["ɵbp"] =
|
|
19861
|
-
exports["ɵbq"] =
|
|
19862
|
-
exports["ɵbr"] =
|
|
19863
|
-
exports["ɵbs"] =
|
|
19864
|
-
exports["ɵbt"] =
|
|
19865
|
-
exports["ɵbu"] =
|
|
19866
|
-
exports["ɵbv"] =
|
|
19867
|
-
exports["ɵbw"] =
|
|
19868
|
-
exports["ɵbx"] =
|
|
19869
|
-
exports["ɵby"] =
|
|
19870
|
-
exports["ɵbz"] =
|
|
19871
|
-
exports["ɵc"] =
|
|
19872
|
-
exports["ɵca"] =
|
|
19873
|
-
exports["ɵcb"] =
|
|
19874
|
-
exports["ɵcc"] =
|
|
19875
|
-
exports["ɵcd"] =
|
|
19876
|
-
exports["ɵce"] =
|
|
19877
|
-
exports["ɵcf"] =
|
|
19878
|
-
exports["ɵcg"] =
|
|
19879
|
-
exports["ɵch"] =
|
|
19880
|
-
exports["ɵci"] =
|
|
19881
|
-
exports["ɵcj"] =
|
|
19882
|
-
exports["ɵck"] =
|
|
19883
|
-
exports["ɵcl"] =
|
|
19884
|
-
exports["ɵcm"] =
|
|
19885
|
-
exports["ɵcn"] =
|
|
19886
|
-
exports["ɵco"] =
|
|
19887
|
-
exports["ɵcp"] =
|
|
19888
|
-
exports["ɵcq"] =
|
|
19889
|
-
exports["ɵcr"] =
|
|
19890
|
-
exports["ɵcs"] =
|
|
19891
|
-
exports["ɵct"] =
|
|
19892
|
-
exports["ɵcu"] =
|
|
19893
|
-
exports["ɵcv"] =
|
|
19894
|
-
exports["ɵcw"] =
|
|
19895
|
-
exports["ɵcx"] =
|
|
19896
|
-
exports["ɵcy"] =
|
|
19897
|
-
exports["ɵcz"] =
|
|
19898
|
-
exports["ɵd"] =
|
|
19899
|
-
exports["ɵda"] =
|
|
19900
|
-
exports["ɵdb"] =
|
|
19901
|
-
exports["ɵdc"] =
|
|
19902
|
-
exports["ɵdd"] =
|
|
19903
|
-
exports["ɵde"] =
|
|
19904
|
-
exports["ɵdf"] =
|
|
19905
|
-
exports["ɵdg"] =
|
|
19906
|
-
exports["ɵdh"] =
|
|
19907
|
-
exports["ɵdi"] =
|
|
19908
|
-
exports["ɵdj"] =
|
|
19909
|
-
exports["ɵdk"] =
|
|
19910
|
-
exports["ɵdl"] =
|
|
19911
|
-
exports["ɵdm"] =
|
|
19912
|
-
exports["ɵdn"] =
|
|
19913
|
-
exports["ɵdo"] =
|
|
19914
|
-
exports["ɵdp"] =
|
|
19915
|
-
exports["ɵdq"] =
|
|
19916
|
-
exports["ɵdr"] =
|
|
19917
|
-
exports["ɵds"] =
|
|
19918
|
-
exports["ɵdt"] =
|
|
19919
|
-
exports["ɵdu"] =
|
|
19920
|
-
exports["ɵdv"] =
|
|
19921
|
-
exports["ɵdw"] =
|
|
19922
|
-
exports["ɵdx"] =
|
|
19923
|
-
exports["ɵdy"] =
|
|
19924
|
-
exports["ɵdz"] =
|
|
19925
|
-
exports["ɵe"] =
|
|
19926
|
-
exports["ɵea"] =
|
|
19927
|
-
exports["ɵeb"] =
|
|
19928
|
-
exports["ɵec"] =
|
|
19929
|
-
exports["ɵed"] =
|
|
19930
|
-
exports["ɵee"] =
|
|
19931
|
-
exports["ɵef"] =
|
|
19932
|
-
exports["ɵeg"] =
|
|
19933
|
-
exports["ɵeh"] =
|
|
19934
|
-
exports["ɵei"] =
|
|
19935
|
-
exports["ɵej"] =
|
|
19936
|
-
exports["ɵek"] =
|
|
19937
|
-
exports["ɵel"] =
|
|
19938
|
-
exports["ɵem"] =
|
|
19939
|
-
exports["ɵen"] =
|
|
19940
|
-
exports["ɵeo"] =
|
|
19941
|
-
exports["ɵep"] =
|
|
19942
|
-
exports["ɵeq"] =
|
|
19943
|
-
exports["ɵer"] =
|
|
19944
|
-
exports["ɵes"] =
|
|
19945
|
-
exports["ɵet"] =
|
|
19946
|
-
exports["ɵeu"] =
|
|
19947
|
-
exports["ɵev"] =
|
|
19948
|
-
exports["ɵew"] =
|
|
19949
|
-
exports["ɵex"] =
|
|
19950
|
-
exports["ɵey"] =
|
|
19951
|
-
exports["ɵez"] =
|
|
19952
|
-
exports["ɵf"] =
|
|
19953
|
-
exports["ɵfa"] =
|
|
19954
|
-
exports["ɵfb"] =
|
|
19955
|
-
exports["ɵfc"] =
|
|
19956
|
-
exports["ɵfd"] =
|
|
19957
|
-
exports["ɵfe"] =
|
|
19958
|
-
exports["ɵff"] =
|
|
19959
|
-
exports["ɵfg"] =
|
|
19960
|
-
exports["ɵfh"] =
|
|
19961
|
-
exports["ɵfi"] =
|
|
19962
|
-
exports["ɵfj"] =
|
|
19963
|
-
exports["ɵfk"] =
|
|
19964
|
-
exports["ɵfl"] =
|
|
19965
|
-
exports["ɵfm"] =
|
|
19966
|
-
exports["ɵfn"] =
|
|
19967
|
-
exports["ɵfo"] =
|
|
19968
|
-
exports["ɵfp"] =
|
|
19969
|
-
exports["ɵfq"] =
|
|
19970
|
-
exports["ɵfr"] =
|
|
19971
|
-
exports["ɵfs"] =
|
|
19972
|
-
exports["ɵft"] =
|
|
19973
|
-
exports["ɵfu"] =
|
|
19974
|
-
exports["ɵfv"] =
|
|
19975
|
-
exports["ɵfw"] =
|
|
19976
|
-
exports["ɵfx"] =
|
|
19977
|
-
exports["ɵfy"] =
|
|
19978
|
-
exports["ɵfz"] =
|
|
19979
|
-
exports["ɵg"] =
|
|
19980
|
-
exports["ɵga"] =
|
|
19981
|
-
exports["ɵgb"] =
|
|
19982
|
-
exports["ɵgc"] =
|
|
19983
|
-
exports["ɵgd"] =
|
|
19984
|
-
exports["ɵge"] =
|
|
19985
|
-
exports["ɵgf"] =
|
|
19986
|
-
exports["ɵgg"] =
|
|
19987
|
-
exports["ɵgh"] =
|
|
19988
|
-
exports["ɵgi"] =
|
|
19989
|
-
exports["ɵgj"] =
|
|
19990
|
-
exports["ɵgk"] =
|
|
19991
|
-
exports["ɵgl"] =
|
|
19992
|
-
exports["ɵgm"] =
|
|
19993
|
-
exports["ɵgn"] =
|
|
19994
|
-
exports["ɵgo"] =
|
|
19995
|
-
exports["ɵgp"] =
|
|
19996
|
-
exports["ɵgq"] =
|
|
19997
|
-
exports["ɵgr"] =
|
|
19998
|
-
exports["ɵgs"] =
|
|
19999
|
-
exports["ɵgt"] =
|
|
20000
|
-
exports["ɵgu"] =
|
|
20001
|
-
exports["ɵgv"] =
|
|
20002
|
-
exports["ɵgw"] =
|
|
20003
|
-
exports["ɵgx"] =
|
|
20004
|
-
exports["ɵgy"] =
|
|
20005
|
-
exports["ɵgz"] =
|
|
20006
|
-
exports["ɵh"] =
|
|
20007
|
-
exports["ɵha"] =
|
|
20008
|
-
exports["ɵhb"] =
|
|
20009
|
-
exports["ɵhc"] =
|
|
20010
|
-
exports["ɵhd"] =
|
|
20011
|
-
exports["ɵhe"] =
|
|
20012
|
-
exports["ɵhf"] =
|
|
20013
|
-
exports["ɵhg"] =
|
|
20014
|
-
exports["ɵhh"] =
|
|
20015
|
-
exports["ɵhi"] =
|
|
20016
|
-
exports["ɵhj"] =
|
|
20017
|
-
exports["ɵhk"] =
|
|
20018
|
-
exports["ɵhl"] =
|
|
20019
|
-
exports["ɵhm"] =
|
|
20020
|
-
exports["ɵhn"] =
|
|
20021
|
-
exports["ɵho"] =
|
|
20022
|
-
exports["ɵhp"] =
|
|
20023
|
-
exports["ɵhq"] =
|
|
20024
|
-
exports["ɵhr"] =
|
|
20025
|
-
exports["ɵhs"] =
|
|
20026
|
-
exports["ɵht"] =
|
|
20027
|
-
exports["ɵhu"] =
|
|
20028
|
-
exports["ɵhv"] =
|
|
20029
|
-
exports["ɵhw"] =
|
|
20030
|
-
exports["ɵhx"] =
|
|
20031
|
-
exports["ɵhy"] =
|
|
20032
|
-
exports["ɵhz"] =
|
|
20033
|
-
exports["ɵi"] =
|
|
20034
|
-
exports["ɵia"] =
|
|
20035
|
-
exports["ɵib"] =
|
|
20036
|
-
exports["ɵic"] =
|
|
20037
|
-
exports["ɵid"] =
|
|
20038
|
-
exports["ɵie"] =
|
|
20039
|
-
exports["ɵif"] =
|
|
20040
|
-
exports["ɵig"] =
|
|
20041
|
-
exports["ɵih"] =
|
|
20042
|
-
exports["ɵii"] =
|
|
20043
|
-
exports["ɵij"] =
|
|
20044
|
-
exports["ɵik"] =
|
|
20045
|
-
exports["ɵil"] =
|
|
20046
|
-
exports["ɵim"] =
|
|
20047
|
-
exports["ɵin"] =
|
|
20048
|
-
exports["ɵio"] =
|
|
20049
|
-
exports["ɵip"] =
|
|
20050
|
-
exports["ɵiq"] =
|
|
20051
|
-
exports["ɵir"] =
|
|
20052
|
-
exports["ɵis"] =
|
|
20053
|
-
exports["ɵit"] =
|
|
20054
|
-
exports["ɵiu"] =
|
|
20055
|
-
exports["ɵiv"] =
|
|
20056
|
-
exports["ɵiw"] =
|
|
20057
|
-
exports["ɵix"] =
|
|
20058
|
-
exports["ɵiy"] =
|
|
20059
|
-
exports["ɵiz"] =
|
|
20060
|
-
exports["ɵj"] =
|
|
20061
|
-
exports["ɵja"] =
|
|
20062
|
-
exports["ɵjb"] =
|
|
20063
|
-
exports["ɵjc"] =
|
|
20064
|
-
exports["ɵjd"] =
|
|
20065
|
-
exports["ɵje"] =
|
|
20066
|
-
exports["ɵjf"] =
|
|
20067
|
-
exports["ɵjg"] =
|
|
20068
|
-
exports["ɵjh"] =
|
|
20069
|
-
exports["ɵji"] =
|
|
20070
|
-
exports["ɵjj"] =
|
|
20071
|
-
exports["ɵjk"] =
|
|
20072
|
-
exports["ɵjl"] =
|
|
20073
|
-
exports["ɵjm"] =
|
|
20074
|
-
exports["ɵjn"] =
|
|
20075
|
-
exports["ɵjo"] =
|
|
20076
|
-
exports["ɵjp"] =
|
|
20077
|
-
exports["ɵjq"] =
|
|
20078
|
-
exports["ɵjr"] =
|
|
20079
|
-
exports["ɵjs"] =
|
|
20080
|
-
exports["ɵjt"] =
|
|
20081
|
-
exports["ɵju"] =
|
|
20082
|
-
exports["ɵjv"] =
|
|
20083
|
-
exports["ɵjw"] =
|
|
20084
|
-
exports["ɵjx"] =
|
|
20085
|
-
exports["ɵjy"] =
|
|
20086
|
-
exports["ɵjz"] =
|
|
20087
|
-
exports["ɵk"] =
|
|
20088
|
-
exports["ɵka"] =
|
|
20089
|
-
exports["ɵkb"] =
|
|
20090
|
-
exports["ɵkc"] =
|
|
20091
|
-
exports["
|
|
20092
|
-
exports["
|
|
20093
|
-
exports["
|
|
20094
|
-
exports["
|
|
20095
|
-
exports["
|
|
20096
|
-
exports["
|
|
20097
|
-
exports["
|
|
20098
|
-
exports["
|
|
20099
|
-
exports["
|
|
20100
|
-
exports["
|
|
20101
|
-
exports["
|
|
20102
|
-
exports["
|
|
20103
|
-
exports["
|
|
20104
|
-
exports["
|
|
20105
|
-
exports["
|
|
20140
|
+
exports["ɵba"] = IconCacheService;
|
|
20141
|
+
exports["ɵbb"] = CharacteristicAnswerModule;
|
|
20142
|
+
exports["ɵbc"] = CharacteristicAnswerComponent;
|
|
20143
|
+
exports["ɵbd"] = WarehouseModule;
|
|
20144
|
+
exports["ɵbe"] = WarehouseComponent;
|
|
20145
|
+
exports["ɵbf"] = ImageDisplayComponent;
|
|
20146
|
+
exports["ɵbg"] = IconComponent;
|
|
20147
|
+
exports["ɵbh"] = CustomerGroupsComponent;
|
|
20148
|
+
exports["ɵbi"] = StockStatusIndicatorComponent;
|
|
20149
|
+
exports["ɵbj"] = LoaderComponent;
|
|
20150
|
+
exports["ɵbk"] = LazyRenderMasterDirective;
|
|
20151
|
+
exports["ɵbl"] = LazyRenderDirective;
|
|
20152
|
+
exports["ɵbm"] = RelationAddressModule;
|
|
20153
|
+
exports["ɵbn"] = RelationAddressComponent;
|
|
20154
|
+
exports["ɵbo"] = RelationBaseComponent;
|
|
20155
|
+
exports["ɵbp"] = RelationAddressSelectModule;
|
|
20156
|
+
exports["ɵbq"] = RelationAddressTileModule;
|
|
20157
|
+
exports["ɵbr"] = TileModule;
|
|
20158
|
+
exports["ɵbs"] = TileComponent;
|
|
20159
|
+
exports["ɵbt"] = RelationAddressTileComponent;
|
|
20160
|
+
exports["ɵbu"] = RelationAddressSelectComponent;
|
|
20161
|
+
exports["ɵbv"] = BusinessObjectFactory;
|
|
20162
|
+
exports["ɵbw"] = StepperModule;
|
|
20163
|
+
exports["ɵbx"] = StepperComponent;
|
|
20164
|
+
exports["ɵby"] = StepperStepComponent;
|
|
20165
|
+
exports["ɵbz"] = TransactionArticleTextModule;
|
|
20166
|
+
exports["ɵc"] = DynamicComponentService;
|
|
20167
|
+
exports["ɵca"] = TransactionArticleTextComponent;
|
|
20168
|
+
exports["ɵcb"] = TransactionArticleTextOverviewModule;
|
|
20169
|
+
exports["ɵcc"] = TransactionArticleTextOverviewComponent;
|
|
20170
|
+
exports["ɵcd"] = TransactionLineActionButtonsModule;
|
|
20171
|
+
exports["ɵce"] = TransactionLineActionButtonsComponent;
|
|
20172
|
+
exports["ɵcf"] = EditableLabelModule;
|
|
20173
|
+
exports["ɵcg"] = EditableLabelComponent;
|
|
20174
|
+
exports["ɵch"] = TransactionLinePriceModule;
|
|
20175
|
+
exports["ɵci"] = TransactionLinePriceComponent;
|
|
20176
|
+
exports["ɵcj"] = TransactionLineBaseComponent;
|
|
20177
|
+
exports["ɵck"] = TransactionFilterPopupBaseComponent;
|
|
20178
|
+
exports["ɵcl"] = TransactionLineDescriptionModule;
|
|
20179
|
+
exports["ɵcm"] = TransactionLineDescriptionComponent;
|
|
20180
|
+
exports["ɵcn"] = DialogTransactionLineDeliveryMethodModule;
|
|
20181
|
+
exports["ɵco"] = TransactionLineDeliveryMethodModule;
|
|
20182
|
+
exports["ɵcp"] = TransactionLineCheckboxModule;
|
|
20183
|
+
exports["ɵcq"] = TransactionLineCheckboxListComponent;
|
|
20184
|
+
exports["ɵcr"] = TransactionLineDeliveryMethodComponent;
|
|
20185
|
+
exports["ɵcs"] = DialogHeaderSearchModule;
|
|
20186
|
+
exports["ɵct"] = DialogHeaderSearchComponent;
|
|
20187
|
+
exports["ɵcu"] = DialogTransactionLineDeliveryMethodComponent;
|
|
20188
|
+
exports["ɵcv"] = DialogTransactionLineBaseComponent;
|
|
20189
|
+
exports["ɵcw"] = DialogTransactionLineCommissionCodeModule;
|
|
20190
|
+
exports["ɵcx"] = TransactionLineCommissionCodeModule;
|
|
20191
|
+
exports["ɵcy"] = TransactionLineCommissionCodeComponent;
|
|
20192
|
+
exports["ɵcz"] = DialogTransactionLineCommissionCodeComponent;
|
|
20193
|
+
exports["ɵd"] = OptionsService;
|
|
20194
|
+
exports["ɵda"] = DialogTransactionLineVatModule;
|
|
20195
|
+
exports["ɵdb"] = TransactionLineVatModule;
|
|
20196
|
+
exports["ɵdc"] = TransactionLineVatComponent;
|
|
20197
|
+
exports["ɵdd"] = DialogTransactionLineVatComponent;
|
|
20198
|
+
exports["ɵde"] = DialogTransactionLineWarehouseModule;
|
|
20199
|
+
exports["ɵdf"] = TransactionLineWarehouseModule;
|
|
20200
|
+
exports["ɵdg"] = TransactionLineWarehouseComponent;
|
|
20201
|
+
exports["ɵdh"] = DialogTransactionLineWarehouseComponent;
|
|
20202
|
+
exports["ɵdi"] = DialogTransactionLineDiscountModule;
|
|
20203
|
+
exports["ɵdj"] = TransactionLinePriceListModule;
|
|
20204
|
+
exports["ɵdk"] = TransactionLinePriceListComponent;
|
|
20205
|
+
exports["ɵdl"] = TransactionLineLineDiscountModule;
|
|
20206
|
+
exports["ɵdm"] = TransactionLineLineDiscountComponent;
|
|
20207
|
+
exports["ɵdn"] = TransactionLineDiscountAmountModule;
|
|
20208
|
+
exports["ɵdo"] = TransactionLineDiscountAmountComponent;
|
|
20209
|
+
exports["ɵdp"] = TransactionLineQuantumDiscountModule;
|
|
20210
|
+
exports["ɵdq"] = TransactionLineQuantumDiscountComponent;
|
|
20211
|
+
exports["ɵdr"] = TransactionLineSpecialDiscountModule;
|
|
20212
|
+
exports["ɵds"] = TransactionLineSpecialDiscountComponent;
|
|
20213
|
+
exports["ɵdt"] = DialogTransactionLinePriceListModule;
|
|
20214
|
+
exports["ɵdu"] = DialogTransactionLinePriceListComponent;
|
|
20215
|
+
exports["ɵdv"] = DialogTransactionLineDiscountComponent;
|
|
20216
|
+
exports["ɵdw"] = TransactionLineDeliveryDateModule;
|
|
20217
|
+
exports["ɵdx"] = TransactionLineDeliveryDateComponent;
|
|
20218
|
+
exports["ɵdy"] = TransactionImageService;
|
|
20219
|
+
exports["ɵdz"] = AvatarModule;
|
|
20220
|
+
exports["ɵe"] = DictionaryService;
|
|
20221
|
+
exports["ɵea"] = AvatarComponent;
|
|
20222
|
+
exports["ɵeb"] = SharedService;
|
|
20223
|
+
exports["ɵec"] = SharedConnectorService;
|
|
20224
|
+
exports["ɵed"] = DeliveryTypeTileModule;
|
|
20225
|
+
exports["ɵee"] = DeliveryTypeTileComponent;
|
|
20226
|
+
exports["ɵef"] = PaymentModule;
|
|
20227
|
+
exports["ɵeg"] = PaymentTileModule;
|
|
20228
|
+
exports["ɵeh"] = PaymentTileComponent;
|
|
20229
|
+
exports["ɵei"] = PaymentQrCodeModule;
|
|
20230
|
+
exports["ɵej"] = PaymentQrCodeComponent;
|
|
20231
|
+
exports["ɵek"] = PaymentComponent;
|
|
20232
|
+
exports["ɵel"] = PaymentService;
|
|
20233
|
+
exports["ɵem"] = RelationTypeModule;
|
|
20234
|
+
exports["ɵen"] = RelationTypeComponent;
|
|
20235
|
+
exports["ɵeo"] = RelationGeneralModule;
|
|
20236
|
+
exports["ɵep"] = RelationSuggestionsListModule;
|
|
20237
|
+
exports["ɵeq"] = RelationSuggestionsListItemModule;
|
|
20238
|
+
exports["ɵer"] = RelationSuggestionsListItemComponent;
|
|
20239
|
+
exports["ɵes"] = RelationSuggestionsListComponent;
|
|
20240
|
+
exports["ɵet"] = RelationGeneralComponent;
|
|
20241
|
+
exports["ɵeu"] = RelationAddressesModule;
|
|
20242
|
+
exports["ɵev"] = RelationAddressesComponent;
|
|
20243
|
+
exports["ɵew"] = RelationContactDetailsModule;
|
|
20244
|
+
exports["ɵex"] = RelationContactDetailsComponent;
|
|
20245
|
+
exports["ɵey"] = RelationPreferencesModule;
|
|
20246
|
+
exports["ɵez"] = RelationPreferencesComponent;
|
|
20247
|
+
exports["ɵf"] = TransactionConnectorService;
|
|
20248
|
+
exports["ɵfa"] = TransactionHeaderBlockModule;
|
|
20249
|
+
exports["ɵfb"] = TransactionHeaderBlockComponent;
|
|
20250
|
+
exports["ɵfc"] = TransactionHeaderDeliveryDateModule;
|
|
20251
|
+
exports["ɵfd"] = TransactionHeaderDeliveryDateComponent;
|
|
20252
|
+
exports["ɵfe"] = TransactionHeaderBaseComponent;
|
|
20253
|
+
exports["ɵff"] = TransactionHeaderDeliveryOptionsModule;
|
|
20254
|
+
exports["ɵfg"] = TransactionHeaderDeliveryOptionsComponent;
|
|
20255
|
+
exports["ɵfh"] = TransactionHeaderRemarksModule;
|
|
20256
|
+
exports["ɵfi"] = TransactionHeaderRemarksComponent;
|
|
20257
|
+
exports["ɵfj"] = TransactionHeaderReferenceModule;
|
|
20258
|
+
exports["ɵfk"] = TransactionHeaderReferenceComponent;
|
|
20259
|
+
exports["ɵfl"] = TransactionHeaderRelationReferenceModule;
|
|
20260
|
+
exports["ɵfm"] = TransactionHeaderRelationReferenceComponent;
|
|
20261
|
+
exports["ɵfn"] = TransactionHeaderDeliveryMethodModule;
|
|
20262
|
+
exports["ɵfo"] = TransactionHeaderDeliveryMethodComponent;
|
|
20263
|
+
exports["ɵfp"] = TransactionHeaderPreferredDeliveryDateModule;
|
|
20264
|
+
exports["ɵfq"] = TransactionHeaderPreferredDeliveryDateComponent;
|
|
20265
|
+
exports["ɵfr"] = DialogTransactionHeaderDeliveryMethodModule;
|
|
20266
|
+
exports["ɵfs"] = DialogTransactionHeaderDeliveryMethodComponent;
|
|
20267
|
+
exports["ɵft"] = DialogTransactionHeaderBaseComponent;
|
|
20268
|
+
exports["ɵfu"] = TransactionBaseComponent;
|
|
20269
|
+
exports["ɵfv"] = TransactionHeaderPartialDeliveryModule;
|
|
20270
|
+
exports["ɵfw"] = TransactionHeaderPartialDeliveryComponent;
|
|
20271
|
+
exports["ɵfx"] = TransactionHeaderDownpaymentPercentageModule;
|
|
20272
|
+
exports["ɵfy"] = TransactionHeaderDownpaymentPercentageComponent;
|
|
20273
|
+
exports["ɵfz"] = TransactionHeaderDownpaymentAmountModule;
|
|
20274
|
+
exports["ɵg"] = TransactionConnectorAdapterService;
|
|
20275
|
+
exports["ɵga"] = TransactionHeaderDownpaymentAmountComponent;
|
|
20276
|
+
exports["ɵgb"] = TransactionHeaderDefinitiveModule;
|
|
20277
|
+
exports["ɵgc"] = TransactionHeaderDefinitiveComponent;
|
|
20278
|
+
exports["ɵgd"] = TransactionHeaderBranchModule;
|
|
20279
|
+
exports["ɵge"] = TransactionHeaderBranchComponent;
|
|
20280
|
+
exports["ɵgf"] = TransactionHeaderAdministrativeRelationModule;
|
|
20281
|
+
exports["ɵgg"] = TransactionHeaderAdministrativeRelationComponent;
|
|
20282
|
+
exports["ɵgh"] = TransactionHeaderMarketingModule;
|
|
20283
|
+
exports["ɵgi"] = TransactionHeaderMarketingComponent;
|
|
20284
|
+
exports["ɵgj"] = CheckoutOverviewRelationEditComponent;
|
|
20285
|
+
exports["ɵgk"] = CheckoutOverviewDeliveryEditComponent;
|
|
20286
|
+
exports["ɵgl"] = CheckoutOverviewDeliveryAddressComponent;
|
|
20287
|
+
exports["ɵgm"] = CheckoutOverviewPaymentComponent;
|
|
20288
|
+
exports["ɵgn"] = CheckoutLoginComponent;
|
|
20289
|
+
exports["ɵgo"] = TransactionFilterCategoriesModule;
|
|
20290
|
+
exports["ɵgp"] = TransactionFilterCategoriesComponent;
|
|
20291
|
+
exports["ɵgq"] = TransactionHeaderPaymentModule;
|
|
20292
|
+
exports["ɵgr"] = TransactionHeaderPaymentComponent;
|
|
20293
|
+
exports["ɵgs"] = TransactionLinesGridModule;
|
|
20294
|
+
exports["ɵgt"] = TransactionBaseGridModule;
|
|
20295
|
+
exports["ɵgu"] = TransactionLineSidePanelModule;
|
|
20296
|
+
exports["ɵgv"] = TransactionLineSidePanelDefaultModule;
|
|
20297
|
+
exports["ɵgw"] = TransactionLineQuantityModule;
|
|
20298
|
+
exports["ɵgx"] = TransactionLineQuantityComponent;
|
|
20299
|
+
exports["ɵgy"] = TransactionLineReferenceModule;
|
|
20300
|
+
exports["ɵgz"] = TransactionLineReferenceComponent;
|
|
20301
|
+
exports["ɵh"] = SelectMultipleCacheService;
|
|
20302
|
+
exports["ɵha"] = TransactionLineSupplierModule;
|
|
20303
|
+
exports["ɵhb"] = TransactionLineSupplierComponent;
|
|
20304
|
+
exports["ɵhc"] = TransactionLineSidePanelDefaultComponent;
|
|
20305
|
+
exports["ɵhd"] = TransactionReceivingGoodsHistoryModule;
|
|
20306
|
+
exports["ɵhe"] = TransactionHistoryGridModule;
|
|
20307
|
+
exports["ɵhf"] = TransactionHistoryGridStatusModule;
|
|
20308
|
+
exports["ɵhg"] = TransactionHistoryGridStatusComponent;
|
|
20309
|
+
exports["ɵhh"] = TransactionHistoryGridComponent;
|
|
20310
|
+
exports["ɵhi"] = TransactionReceivingGoodsHistoryComponent;
|
|
20311
|
+
exports["ɵhj"] = TransactionReceivingGoodsDetailsModule;
|
|
20312
|
+
exports["ɵhk"] = TransactionReceivingGoodsDetailsComponent;
|
|
20313
|
+
exports["ɵhl"] = ArticleService;
|
|
20314
|
+
exports["ɵhm"] = TransactionButtonBarModule;
|
|
20315
|
+
exports["ɵhn"] = TransactionButtonBarComponent;
|
|
20316
|
+
exports["ɵho"] = TransactionMappingService;
|
|
20317
|
+
exports["ɵhp"] = TransactionButtonBarButtonComponent;
|
|
20318
|
+
exports["ɵhq"] = TransactionLineSidePanelPurchaseModule;
|
|
20319
|
+
exports["ɵhr"] = DefaultOkCancelButtonsModule;
|
|
20320
|
+
exports["ɵhs"] = DefaultOkCancelButtonsComponent;
|
|
20321
|
+
exports["ɵht"] = TransactionLineSidePanelPurchaseComponent;
|
|
20322
|
+
exports["ɵhu"] = TransactionEventService;
|
|
20323
|
+
exports["ɵhv"] = TransactionLineSidePanelComponent;
|
|
20324
|
+
exports["ɵhw"] = DynamicBaseComponent;
|
|
20325
|
+
exports["ɵhx"] = TransactionBaseGridComponent;
|
|
20326
|
+
exports["ɵhy"] = TransactionGridBaseComponent;
|
|
20327
|
+
exports["ɵhz"] = TransactionLinesGridComponent;
|
|
20328
|
+
exports["ɵi"] = BusinessObjectCacheManagerService;
|
|
20329
|
+
exports["ɵia"] = DiscountModule;
|
|
20330
|
+
exports["ɵib"] = DiscountComponent;
|
|
20331
|
+
exports["ɵic"] = TransactionQuickAccessOverviewModule;
|
|
20332
|
+
exports["ɵid"] = TransactionQuickAccessOverviewComponent;
|
|
20333
|
+
exports["ɵie"] = TransactionOrderConfirmationGridModule;
|
|
20334
|
+
exports["ɵif"] = TransactionOrderConfirmationGridComponent;
|
|
20335
|
+
exports["ɵig"] = TransactionReceivedGoodsGridModule;
|
|
20336
|
+
exports["ɵih"] = DialogTransactionLineWarehouseLocationModule;
|
|
20337
|
+
exports["ɵii"] = TransactionLineWarehouseLocationModule;
|
|
20338
|
+
exports["ɵij"] = TransactionLineWarehouseLocationComponent;
|
|
20339
|
+
exports["ɵik"] = DialogTransactionLineWarehouseLocationComponent;
|
|
20340
|
+
exports["ɵil"] = TransactionReceivedGoodsGridComponent;
|
|
20341
|
+
exports["ɵim"] = ViewModeButtonsModule;
|
|
20342
|
+
exports["ɵin"] = ViewModeButtonsComponent;
|
|
20343
|
+
exports["ɵio"] = TransactionGridModule;
|
|
20344
|
+
exports["ɵip"] = TransactionGridComponent;
|
|
20345
|
+
exports["ɵiq"] = TransactionTileModule;
|
|
20346
|
+
exports["ɵir"] = TransactionTileComponent;
|
|
20347
|
+
exports["ɵis"] = TransactionSearchResultModule;
|
|
20348
|
+
exports["ɵit"] = TransactionSearchSalesOrderTileModule;
|
|
20349
|
+
exports["ɵiu"] = StatusBarModule;
|
|
20350
|
+
exports["ɵiv"] = StatusBarComponent;
|
|
20351
|
+
exports["ɵiw"] = TransactionSearchSalesOrderTileComponent;
|
|
20352
|
+
exports["ɵix"] = TransactionSearchTileBaseComponent;
|
|
20353
|
+
exports["ɵiy"] = TransactionSearchPurchaseOrderTileModule;
|
|
20354
|
+
exports["ɵiz"] = TransactionSearchPurchaseOrderTileComponent;
|
|
20355
|
+
exports["ɵj"] = CacheField;
|
|
20356
|
+
exports["ɵja"] = TransactionSearchSalesOrderGridModule;
|
|
20357
|
+
exports["ɵjb"] = TransactionSearchSalesOrderGridComponent;
|
|
20358
|
+
exports["ɵjc"] = TransactionSearchGridBaseComponent;
|
|
20359
|
+
exports["ɵjd"] = TransactionSearchPurchaseOrderGridModule;
|
|
20360
|
+
exports["ɵje"] = TransactionSearchPurchaseOrderGridComponent;
|
|
20361
|
+
exports["ɵjf"] = TransactionSearchHeaderModule;
|
|
20362
|
+
exports["ɵjg"] = TransactionSearchHeaderComponent;
|
|
20363
|
+
exports["ɵjh"] = TransactionSearchGridModule;
|
|
20364
|
+
exports["ɵji"] = TransactionSearchGridComponent;
|
|
20365
|
+
exports["ɵjj"] = TransactionSearchTileModule;
|
|
20366
|
+
exports["ɵjk"] = TransactionSearchTileComponent;
|
|
20367
|
+
exports["ɵjl"] = TransactionSearchResultComponent;
|
|
20368
|
+
exports["ɵjm"] = TransactionSalesOrderFilterModule;
|
|
20369
|
+
exports["ɵjn"] = TransactionSalesOrderFilterContentOrderModule;
|
|
20370
|
+
exports["ɵjo"] = TransactionSalesOrderFilterContentOrderComponent;
|
|
20371
|
+
exports["ɵjp"] = TransactionFilterContentBaseComponent;
|
|
20372
|
+
exports["ɵjq"] = FilterRequestService;
|
|
20373
|
+
exports["ɵjr"] = TransactionSalesOrderFilterContentLogisticsModule;
|
|
20374
|
+
exports["ɵjs"] = TransactionFilterHistoricStateModule;
|
|
20375
|
+
exports["ɵjt"] = TransactionFilterHistoricStateComponent;
|
|
20376
|
+
exports["ɵju"] = TransactionSalesOrderFilterContentLogisticsComponent;
|
|
20377
|
+
exports["ɵjv"] = TransactionSalesOrderFilterContentArticleModule;
|
|
20378
|
+
exports["ɵjw"] = TransactionSalesOrderFilterContentArticleComponent;
|
|
20379
|
+
exports["ɵjx"] = TransactionSalesOrderFilterComponent;
|
|
20380
|
+
exports["ɵjy"] = TransactionFilterBaseComponent;
|
|
20381
|
+
exports["ɵjz"] = TransactionPurchaseOrderFilterModule;
|
|
20382
|
+
exports["ɵk"] = SelectMultipleParameterizedCacheService;
|
|
20383
|
+
exports["ɵka"] = TransactionPurchaseOrderFilterContentOrderModule;
|
|
20384
|
+
exports["ɵkb"] = TransactionPurchaseOrderFilterContentOrderComponent;
|
|
20385
|
+
exports["ɵkc"] = TransactionPurchaseOrderFilterContentLogisticsModule;
|
|
20386
|
+
exports["ɵkd"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
|
|
20387
|
+
exports["ɵke"] = TransactionPurchaseOrderFilterContentArticleModule;
|
|
20388
|
+
exports["ɵkf"] = TransactionPurchaseOrderFilterContentArticleComponent;
|
|
20389
|
+
exports["ɵkg"] = TransactionPurchaseOrderFilterComponent;
|
|
20390
|
+
exports["ɵkh"] = TransactionFilterModule;
|
|
20391
|
+
exports["ɵki"] = TransactionFilterComponent;
|
|
20392
|
+
exports["ɵl"] = ErrorService;
|
|
20393
|
+
exports["ɵm"] = SelectSingleCacheService;
|
|
20394
|
+
exports["ɵn"] = ArticleConnectorService;
|
|
20395
|
+
exports["ɵo"] = CoreModule;
|
|
20396
|
+
exports["ɵp"] = ConfirmationDialogModule;
|
|
20397
|
+
exports["ɵq"] = PipeModule;
|
|
20398
|
+
exports["ɵr"] = AppendPipe;
|
|
20399
|
+
exports["ɵs"] = DeliveryTimePipe;
|
|
20400
|
+
exports["ɵt"] = DateDurationPipe;
|
|
20401
|
+
exports["ɵu"] = LocalizePipe;
|
|
20402
|
+
exports["ɵv"] = CoCurrencyPipe;
|
|
20403
|
+
exports["ɵw"] = SafeStylePipe;
|
|
20404
|
+
exports["ɵx"] = SafeHtmlPipe;
|
|
20405
|
+
exports["ɵy"] = ConfirmationDialogComponent;
|
|
20406
|
+
exports["ɵz"] = DialogBaseComponent;
|
|
20106
20407
|
|
|
20107
20408
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
20108
20409
|
|