@colijnit/transaction 262.1.20 → 262.1.22

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
  }
@@ -10702,11 +10706,14 @@ declare class DeliveryPlanningSelectionModule {
10702
10706
  declare class DeliveryPlanningOverviewPopupComponent implements OnDestroy {
10703
10707
  iconCacheService: IconCacheService;
10704
10708
  deliveryPlanningService: DeliveryPlanningService;
10709
+ private _transactionService;
10705
10710
  private _datePipe;
10706
10711
  private _dialogService;
10707
10712
  private _transportWeekDay;
10708
10713
  icons: typeof Icon;
10709
10714
  planOrder: PlanOrder;
10715
+ transaction: TransactionInfoResponse;
10716
+ set setPlanOrder(planOrder: PlanOrder);
10710
10717
  set transportDay(transportWeekDay: PlanningTransportWeekDay);
10711
10718
  get transportDay(): PlanningTransportWeekDay;
10712
10719
  week: PlanningTransportWeekDay[];
@@ -10715,7 +10722,7 @@ declare class DeliveryPlanningOverviewPopupComponent implements OnDestroy {
10715
10722
  startTimeCompRef: InputTextComponent;
10716
10723
  endTimeCompRef: InputTextComponent;
10717
10724
  showClass(): boolean;
10718
- constructor(iconCacheService: IconCacheService, deliveryPlanningService: DeliveryPlanningService, _datePipe: DatePipe, _dialogService: TransactionDialogService);
10725
+ constructor(iconCacheService: IconCacheService, deliveryPlanningService: DeliveryPlanningService, _transactionService: TransactionService, _datePipe: DatePipe, _dialogService: TransactionDialogService);
10719
10726
  ngOnDestroy(): void;
10720
10727
  impactTime(): number;
10721
10728
  closePopup(): void;
@@ -10729,6 +10736,7 @@ declare class DeliveryPlanningOverviewPopupComponent implements OnDestroy {
10729
10736
  handleDateChange(text: string): Date;
10730
10737
  deliveryOptionsForOrder(planOrder: PlanOrder): string[];
10731
10738
  districtsForOrder(planOrder: PlanOrder): string[];
10739
+ handlePlanRemarkChange(remarks: string): string;
10732
10740
  static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewPopupComponent, never>;
10733
10741
  static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryPlanningOverviewPopupComponent, "co-delivery-planning-overview-popup", never, {}, { "closeEvent": "closeEvent"; "onSucceededPlanAction": "onSucceededPlanAction"; }, never, never, false, never>;
10734
10742
  }
@@ -12016,6 +12024,11 @@ declare class TransactionSalesOrderFilterContentLogisticsComponent extends Trans
12016
12024
  text: any;
12017
12025
  value: any;
12018
12026
  };
12027
+ districts: any[];
12028
+ districtFields: {
12029
+ text: any;
12030
+ value: any;
12031
+ };
12019
12032
  hasPreferredDeliveryDate: FilterItemViewmodel[];
12020
12033
  hasPreferredDeliveryDateFields: {
12021
12034
  text: any;
@@ -12058,6 +12071,7 @@ declare class TransactionSalesOrderFilterContentLogisticsComponent extends Trans
12058
12071
  };
12059
12072
  protected loadCollections(): void;
12060
12073
  private _setDeliveryMethods;
12074
+ private _setDistricts;
12061
12075
  private _sethasPreferredDeliveryDate;
12062
12076
  private _setDeliveryDateFinal;
12063
12077
  private _setTobeDelivered;
@@ -12676,6 +12690,11 @@ declare class TransactionSalesQuotationFilterContentLogisticsComponent extends T
12676
12690
  text: any;
12677
12691
  value: any;
12678
12692
  };
12693
+ districts: any[];
12694
+ districtFields: {
12695
+ text: any;
12696
+ value: any;
12697
+ };
12679
12698
  warehouses: FilterItemViewmodel[];
12680
12699
  warehouseFields: {
12681
12700
  text: any;
@@ -12683,6 +12702,7 @@ declare class TransactionSalesQuotationFilterContentLogisticsComponent extends T
12683
12702
  };
12684
12703
  protected loadCollections(): void;
12685
12704
  private _setDeliveryMethods;
12705
+ private _setDistricts;
12686
12706
  private _setWarehouses;
12687
12707
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionSalesQuotationFilterContentLogisticsComponent, never>;
12688
12708
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionSalesQuotationFilterContentLogisticsComponent, "co-transaction-sales-quotation-filter-content-logistics", never, {}, {}, never, never, false, never>;
@@ -13060,6 +13080,11 @@ declare class TransactionServiceOrderFilterContentLogisticsComponent extends Tra
13060
13080
  text: any;
13061
13081
  value: any;
13062
13082
  };
13083
+ districts: any[];
13084
+ districtFields: {
13085
+ text: any;
13086
+ value: any;
13087
+ };
13063
13088
  deliveryDateFinal: FilterItemViewmodel[];
13064
13089
  deliveryDateFinalFields: {
13065
13090
  text: any;
@@ -13097,6 +13122,7 @@ declare class TransactionServiceOrderFilterContentLogisticsComponent extends Tra
13097
13122
  };
13098
13123
  protected loadCollections(): void;
13099
13124
  private _setDeliveryMethods;
13125
+ private _setDistricts;
13100
13126
  private _setDeliveryDateFinal;
13101
13127
  private _setTobeDelivered;
13102
13128
  private _setWarehouses;
@@ -13910,6 +13936,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
13910
13936
  lineUUID: string;
13911
13937
  lineDraggedOver: number;
13912
13938
  headerReadOnly: boolean;
13939
+ kassaPersnr: boolean;
13913
13940
  statusBarConfigNames: StatusBarCfgNames;
13914
13941
  private _subs;
13915
13942
  private _transaction;
@@ -13919,7 +13946,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
13919
13946
  private _salesPersonAvatarComponentRef;
13920
13947
  private _containerForFillMode;
13921
13948
  constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, transactionHeaderService: TransactionHeaderService, _overlayService: OverlayService, _lineSelection: LineSelectionService);
13922
- ngOnInit(): void;
13949
+ ngOnInit(): Promise<void>;
13923
13950
  ngOnDestroy(): void;
13924
13951
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
13925
13952
  checkPreferredPlanning(): Promise<void>;
@@ -128,7 +128,6 @@
128
128
  padding: $tp-transaction-transaction-lines-wrapper-padding;
129
129
  border-top: none;
130
130
  }
131
-
132
131
  .quick-send-button {
133
132
  height: 32px;
134
133
  width: 70px;
@@ -142,5 +141,34 @@
142
141
  &.customer-portal {
143
142
  padding: 0;
144
143
  }
144
+ co-transaction-header-handled-by.mandatory {
145
+ position: relative;
146
+ &::after {
147
+ content: '';
148
+ position: absolute;
149
+ top: -3px;
150
+ left: -3px;
151
+ right: -3px;
152
+ bottom: -3px;
153
+ border-radius: 50%;
154
+ border: 2px solid red;
155
+ animation: pulse-border 1.5s infinite;
156
+ pointer-events: none;
157
+ }
158
+ }
159
+ @keyframes pulse-border {
160
+ 0% {
161
+ transform: scale(1);
162
+ opacity: 1;
163
+ }
164
+ 70% {
165
+ transform: scale(1.4);
166
+ opacity: 0;
167
+ }
168
+ 100% {
169
+ transform: scale(1);
170
+ opacity: 0;
171
+ }
172
+ }
145
173
  }
146
174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.20",
3
+ "version": "262.1.22",
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"
Binary file
Binary file