@colijnit/transaction 12.1.12 → 12.1.13

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.
Files changed (25) hide show
  1. package/bundles/colijnit-transaction.umd.js +41 -145
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.metadata.json +1 -1
  4. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +20 -32
  5. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +21 -22
  6. package/esm2015/lib/component/checkout/checkout.component.js +4 -4
  7. package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.component.js +10 -12
  8. package/esm2015/lib/component/order-confirmation-grid/order-confirmation-grid.component.js +1 -1
  9. package/esm2015/lib/component/order-grid/order-grid.component.js +1 -1
  10. package/esm2015/lib/component/transaction/transaction.component.js +1 -1
  11. package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +1 -1
  12. package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.component.js +2 -1
  13. package/esm2015/lib/service/ione-connector-adapter.service.js +1 -1
  14. package/esm2015/lib/service/pending-reason.service.js +1 -21
  15. package/esm2015/lib/service/transaction.service.js +1 -64
  16. package/fesm2015/colijnit-transaction.js +51 -151
  17. package/fesm2015/colijnit-transaction.js.map +1 -1
  18. package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +1 -5
  19. package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +0 -2
  20. package/lib/component/delivery-type-tile/delivery-type-tile.component.d.ts +3 -5
  21. package/lib/service/pending-reason.service.d.ts +0 -3
  22. package/lib/service/transaction.service.d.ts +0 -1
  23. package/package.json +2 -2
  24. package/esm2015/lib/model/delivery-type.js +0 -3
  25. package/lib/model/delivery-type.d.ts +0 -7
@@ -9,10 +9,8 @@ import { TransactionService } from "../../../service/transaction.service";
9
9
  import { TextValueContainer } from "../../../model/text-value-container";
10
10
  import { DictionaryService } from "../../../service/dictionary.service";
11
11
  import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
12
- import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
13
12
  import { Icon } from "../../../enum/icon.enum";
14
13
  import { BusinessObjectFactory } from "../../../factory/business-object-factory";
15
- import { DeliveryType } from "../../../model/delivery-type";
16
14
  import { IconCacheService } from "../../../service/icon-cache.service";
17
15
  export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
18
16
  private _dictionaryService;
@@ -21,12 +19,10 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
21
19
  service: TransactionService;
22
20
  iconService: IconCacheService;
23
21
  readonly icons: typeof Icon;
24
- deliveryOptionsRequest: SetTransactionDeliveryOptionsRequest;
25
22
  transaction: TransactionInfoResponse;
26
23
  validSubmit: EventEmitter<void>;
27
24
  invalidSubmit: EventEmitter<void>;
28
25
  showClass(): boolean;
29
- deliveryTypes: DeliveryType[];
30
26
  deliveryOptionList: DeliveryOption[];
31
27
  deliveryOptions: DeliveryOption[];
32
28
  deliveryOptionFields: TextValueContainer;
@@ -55,7 +51,7 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
55
51
  constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, _boFactory: BusinessObjectFactory, service: TransactionService, iconService: IconCacheService);
56
52
  ngOnInit(): Promise<void>;
57
53
  submit(): boolean;
58
- handleDeliveryMethodChange(deliveryMethodId: string): Promise<void>;
54
+ handleDeliveryMethodChange(deliveryMethod: DeliveryMethod): Promise<void>;
59
55
  setIndexDeliveryType(idx: number): void;
60
56
  selectDeliveryOptionsByDeliveryMethod(deliveryMethod: DeliveryMethod): DeliveryOption[];
61
57
  selectDeliveryMethodById(deliveryMethodId: string): DeliveryMethod;
@@ -12,7 +12,6 @@ import { RelationListObject } from "@colijnit/transactionapi/build/model/relatio
12
12
  import { Address } from "@colijnit/transactionapi/build/model/address.bo";
13
13
  import { FormGroup } from "@angular/forms";
14
14
  import { BusinessObjectFactory } from "../../../factory/business-object-factory";
15
- import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
16
15
  import { Icon } from "../../../enum/icon.enum";
17
16
  export declare class CheckoutOverviewRelationEditComponent implements OnInit {
18
17
  private _service;
@@ -21,7 +20,6 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
21
20
  readonly icons: typeof Icon;
22
21
  relationForm: FormComponent;
23
22
  set relation(value: RelationAnyType);
24
- deliveryOptionsRequest: SetTransactionDeliveryOptionsRequest;
25
23
  validSubmit: EventEmitter<void>;
26
24
  invalidSubmit: EventEmitter<void>;
27
25
  relationChange: EventEmitter<RelationAnyType>;
@@ -1,10 +1,8 @@
1
1
  import { EventEmitter } from "@angular/core";
2
- import { DeliveryType } from "../../model/delivery-type";
2
+ import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-method.bo";
3
3
  export declare class DeliveryTypeTileComponent {
4
- type: DeliveryType;
4
+ method: DeliveryMethod;
5
5
  selected: boolean;
6
- selectedChange: EventEmitter<boolean>;
6
+ selectedChange: EventEmitter<DeliveryMethod>;
7
7
  showClass(): boolean;
8
- deliveryTypeIdx: number;
9
- setIndexDeliveryType(index: number): void;
10
8
  }
@@ -3,7 +3,6 @@ import { OptionsService } from "./options.service";
3
3
  import { IOneConnectorAdapterService } from "./ione-connector-adapter.service";
4
4
  import { BehaviorSubject } from "rxjs";
5
5
  import { CustomerFullObject } from "@colijnit/transactionapi/build/model/customer-full-object.bo";
6
- import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
7
6
  import { DialogService } from "./dialog.service";
8
7
  import { ResolveLinePendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
9
8
  export declare class PendingReasonService {
@@ -14,7 +13,6 @@ export declare class PendingReasonService {
14
13
  applicationUser: boolean;
15
14
  currentTransaction: TransactionInfoResponse;
16
15
  relation: CustomerFullObject;
17
- deliveryOptions: SetTransactionDeliveryOptionsRequest;
18
16
  articleAmount: number;
19
17
  constructor(dialogService: DialogService, options: OptionsService, connector: IOneConnectorAdapterService);
20
18
  init(options: any): Promise<void>;
@@ -25,7 +23,6 @@ export declare class PendingReasonService {
25
23
  resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<void>;
26
24
  private _confirmAction;
27
25
  private _showReasonDialog;
28
- private _setTransactionDeliveryOptions;
29
26
  private _setAmount;
30
27
  private _initializeTransaction;
31
28
  private _cancelArticle;
@@ -64,7 +64,6 @@ export declare class TransactionService extends PendingReasonService {
64
64
  updateCustomer(relation: CustomerFullObject): Promise<CustomerFullObject>;
65
65
  getDeliveryMethods(): Promise<DeliveryMethod[]>;
66
66
  getDeliveryOptions(): Promise<DeliveryOption[]>;
67
- setTransactionDeliveryOptions(): Promise<boolean>;
68
67
  getRelationListObjects(relationRequest: RelationRequest): Promise<RelationListObject[]>;
69
68
  retrieveLineImage(line: TransactionLineInfo): Promise<string>;
70
69
  getArticleImageByArticleNumber(articleNumber: string): Promise<string>;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "12.1.12",
3
+ "version": "12.1.13",
4
4
  "description": "Colijn IT transaction module for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {
7
7
  "@angular/common": "^12.2.0",
8
8
  "@angular/core": "^12.2.0",
9
9
  "@colijnit/corecomponents_v12": ">=12.0.18",
10
- "@colijnit/transactionapi": ">=1.1.12",
10
+ "@colijnit/transactionapi": ">=1.1.15",
11
11
  "@syncfusion/ej2-angular-buttons": ">=19.3.44",
12
12
  "@syncfusion/ej2-angular-calendars": ">=19.3.44",
13
13
  "@syncfusion/ej2-angular-dropdowns": ">=19.3.45",
@@ -1,3 +0,0 @@
1
- export class DeliveryType {
2
- }
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsaXZlcnktdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvbW9kZWwvZGVsaXZlcnktdHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sWUFBWTtDQUt4QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7SWNvbn0gZnJvbSBcIi4uL2VudW0vaWNvbi5lbnVtXCI7XHJcblxyXG5leHBvcnQgY2xhc3MgRGVsaXZlcnlUeXBlIHtcclxuICBwdWJsaWMgY29kZTogc3RyaW5nO1xyXG4gIHB1YmxpYyBkZXNjcmlwdGlvbjogc3RyaW5nO1xyXG4gIHB1YmxpYyBpY29uOiBJY29uO1xyXG4gIHB1YmxpYyBwcmljZT86IG51bWJlcjtcclxufVxyXG4iXX0=
@@ -1,7 +0,0 @@
1
- import { Icon } from "../enum/icon.enum";
2
- export declare class DeliveryType {
3
- code: string;
4
- description: string;
5
- icon: Icon;
6
- price?: number;
7
- }