@colijnit/transaction 262.1.19 → 262.1.21

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/index.d.ts CHANGED
@@ -1495,6 +1495,7 @@ declare class TransactionConnectorAdapterService {
1495
1495
  previewWorkOrder(pdfWorkOrderRequest: PdfWorkOrderRequest, showLoader?: boolean): Promise<PdfWorkOrderResponse>;
1496
1496
  cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
1497
1497
  createQRCode(width: number, height: number, data: string): Promise<string>;
1498
+ roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
1498
1499
  private _openPdfContent;
1499
1500
  private _handleLocalPrintFile;
1500
1501
  private _handleExceptionFromResponse;
@@ -1970,6 +1971,7 @@ declare class TransactionConnectorService {
1970
1971
  previewWorkOrder(pdfWorkOrderRequest: PdfWorkOrderRequest, showLoader?: boolean): Promise<PdfWorkOrderResponse>;
1971
1972
  cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
1972
1973
  createQRCode(width: number, height: number, data: string): Promise<string>;
1974
+ roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
1973
1975
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorService, never>;
1974
1976
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionConnectorService>;
1975
1977
  }
@@ -2825,6 +2827,7 @@ declare class TransactionService extends PendingReasonService {
2825
2827
  sendPackageInformationToLSP(request: TransactionLspInformationRequest): Promise<TransactionInfoResponse>;
2826
2828
  cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
2827
2829
  createQRCode(width: number, height: number, data: string): Promise<string>;
2830
+ roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
2828
2831
  protected _handleBeforeRememberCurrentTransaction(transactionInfoResponse: TransactionInfoResponse): Promise<void>;
2829
2832
  protected _handleAfterRememberCurrentTransaction(): Promise<void>;
2830
2833
  private _checkAndSaveLinesForAIConfirmation;
@@ -3280,6 +3283,7 @@ declare class TransactionPaymentService implements OnDestroy {
3280
3283
  ngOnDestroy(): void;
3281
3284
  handlePayment(): Promise<void>;
3282
3285
  cancelPayment(): Promise<void>;
3286
+ roundUp(): Promise<void>;
3283
3287
  preparePaymentInfo(): Promise<void>;
3284
3288
  private _waitForPinPaymentStatus;
3285
3289
  private _handlePayment;
@@ -3288,8 +3292,8 @@ declare class TransactionPaymentService implements OnDestroy {
3288
3292
  private _clearPspTransactionData;
3289
3293
  private _dataUriToBase64;
3290
3294
  private _setCashDrawerIdIfValidDrawer;
3291
- private _triggerCalculateAmountToPay;
3292
3295
  private _handleCashLimitCheck;
3296
+ private _roundUp;
3293
3297
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionPaymentService, never>;
3294
3298
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionPaymentService>;
3295
3299
  }
@@ -12016,6 +12020,11 @@ declare class TransactionSalesOrderFilterContentLogisticsComponent extends Trans
12016
12020
  text: any;
12017
12021
  value: any;
12018
12022
  };
12023
+ districts: any[];
12024
+ districtFields: {
12025
+ text: any;
12026
+ value: any;
12027
+ };
12019
12028
  hasPreferredDeliveryDate: FilterItemViewmodel[];
12020
12029
  hasPreferredDeliveryDateFields: {
12021
12030
  text: any;
@@ -12058,6 +12067,7 @@ declare class TransactionSalesOrderFilterContentLogisticsComponent extends Trans
12058
12067
  };
12059
12068
  protected loadCollections(): void;
12060
12069
  private _setDeliveryMethods;
12070
+ private _setDistricts;
12061
12071
  private _sethasPreferredDeliveryDate;
12062
12072
  private _setDeliveryDateFinal;
12063
12073
  private _setTobeDelivered;
@@ -12676,6 +12686,11 @@ declare class TransactionSalesQuotationFilterContentLogisticsComponent extends T
12676
12686
  text: any;
12677
12687
  value: any;
12678
12688
  };
12689
+ districts: any[];
12690
+ districtFields: {
12691
+ text: any;
12692
+ value: any;
12693
+ };
12679
12694
  warehouses: FilterItemViewmodel[];
12680
12695
  warehouseFields: {
12681
12696
  text: any;
@@ -12683,6 +12698,7 @@ declare class TransactionSalesQuotationFilterContentLogisticsComponent extends T
12683
12698
  };
12684
12699
  protected loadCollections(): void;
12685
12700
  private _setDeliveryMethods;
12701
+ private _setDistricts;
12686
12702
  private _setWarehouses;
12687
12703
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSalesQuotationFilterContentLogisticsComponent, never>;
12688
12704
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionSalesQuotationFilterContentLogisticsComponent, "co-transaction-sales-quotation-filter-content-logistics", never, {}, {}, never, never, false, never>;
@@ -13060,6 +13076,11 @@ declare class TransactionServiceOrderFilterContentLogisticsComponent extends Tra
13060
13076
  text: any;
13061
13077
  value: any;
13062
13078
  };
13079
+ districts: any[];
13080
+ districtFields: {
13081
+ text: any;
13082
+ value: any;
13083
+ };
13063
13084
  deliveryDateFinal: FilterItemViewmodel[];
13064
13085
  deliveryDateFinalFields: {
13065
13086
  text: any;
@@ -13097,6 +13118,7 @@ declare class TransactionServiceOrderFilterContentLogisticsComponent extends Tra
13097
13118
  };
13098
13119
  protected loadCollections(): void;
13099
13120
  private _setDeliveryMethods;
13121
+ private _setDistricts;
13100
13122
  private _setDeliveryDateFinal;
13101
13123
  private _setTobeDelivered;
13102
13124
  private _setWarehouses;
@@ -14,7 +14,7 @@
14
14
  transform: translateX(0);
15
15
  width: calc(#{$tp-dialog-catalog-min-width} * 2);
16
16
  > * {
17
- width: $tp-dialog-catalog-min-width;
17
+ width: $tp-dialog-catalog-sub-min-width;
18
18
  }
19
19
  height: 100%;
20
20
  .back-button-product {
@@ -1,3 +1,4 @@
1
1
  $tp-dialog-catalog-min-height: 90vh !default;
2
2
  $tp-dialog-catalog-min-width: 100% !default;
3
+ $tp-dialog-catalog-sub-min-width: 50% !default;
3
4
  $tp-dialog-catalog-view-modes-margin-bottom: 0 !default;
@@ -1,2 +1,3 @@
1
1
  $tp-dialog-catalog-min-height: 90vh !default;
2
2
  $tp-dialog-catalog-min-width: 100% !default;
3
+ $tp-dialog-catalog-sub-min-width: 50% !default;
@@ -1,2 +1,3 @@
1
1
  $tp-dialog-catalog-min-height: 90vh !default;
2
2
  $tp-dialog-catalog-min-width: 100% !default;
3
+ $tp-dialog-catalog-sub-min-width: 50% !default;
@@ -4,7 +4,7 @@
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  position: fixed;
7
- z-index: 2;
7
+ z-index: 3;
8
8
  row-gap: $tp-co-transaction-navigation-button-list-row-gap;
9
9
  padding: $tp-co-transaction-navigation-button-list-overlay-padding;
10
10
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.19",
3
+ "version": "262.1.21",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -19,7 +19,7 @@
19
19
  "@colijnit/relationapi": ">=262.1.0",
20
20
  "@colijnit/sharedapi": ">=1.0.20",
21
21
  "@colijnit/sharedcomponents": ">=262.1.11",
22
- "@colijnit/transactionapi": ">=262.1.6"
22
+ "@colijnit/transactionapi": ">=262.1.11"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"