@colijnit/transaction 262.1.25 → 262.1.27

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
@@ -296,6 +296,7 @@ import { SetTransactionDiscountsRequest } from '@colijnit/transactionapi/build/m
296
296
  import { ChangeLineDiscountRequest } from '@colijnit/transactionapi/build/model/change-line-discount-request';
297
297
  import { SuggestedReceiptLocation } from '@colijnit/transactionapi/build/model/suggested-receipt-location';
298
298
  import { PdfHistoricPosReceiptRequest } from '@colijnit/transactionapi/build/model/pdf-historic-pos-receipt-request';
299
+ import { CreatePublicQuoteRequest } from '@colijnit/transactionapi/build/model/create-public-quote-request';
299
300
  import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
300
301
  import { RelationKind as RelationKind$1 } from '@colijnit/articleapi/build/enum/relation-kind.enum';
301
302
  import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
@@ -847,6 +848,10 @@ declare class TransactionEventService {
847
848
  readonly interbranchExistingOrderNavigation: Subject<string>;
848
849
  readonly serviceExistingOrderNavigation: Subject<string>;
849
850
  readonly salesQuotationOrderNavigation: Subject<string>;
851
+ readonly relationNavigationRequested: Subject<{
852
+ relationNr: number;
853
+ relationKind: RelationKind;
854
+ }>;
850
855
  readonly relationNavigation: Subject<{
851
856
  relationNr: number;
852
857
  relationKind: RelationKind;
@@ -878,7 +883,13 @@ declare class TransactionEventService {
878
883
  readonly headerDeliveryHash: Subject<string>;
879
884
  readonly headerInvoiceHash: Subject<string>;
880
885
  readonly showPlanningPopupEvent: BehaviorSubject<boolean>;
881
- readonly headerPopupClose: Subject<boolean>;
886
+ readonly headerPopupClose: Subject<{
887
+ commit: boolean;
888
+ relationData: {
889
+ relationNr: number;
890
+ relationKind: RelationKind;
891
+ };
892
+ }>;
882
893
  readonly orderLineSetButtonClick: Subject<void>;
883
894
  readonly addDocumentToLineClicked: Subject<TransactionLineInfo>;
884
895
  readonly reopenExternalOrderClicked: Subject<{
@@ -1497,6 +1508,8 @@ declare class TransactionConnectorAdapterService {
1497
1508
  cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
1498
1509
  createQRCode(width: number, height: number, data: string): Promise<string>;
1499
1510
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
1511
+ createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
1512
+ getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
1500
1513
  private _openPdfContent;
1501
1514
  private _handleLocalPrintFile;
1502
1515
  private _handleExceptionFromResponse;
@@ -1968,11 +1981,13 @@ declare class TransactionConnectorService {
1968
1981
  getWorkOrderEmailLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
1969
1982
  getWorkOrderPrintLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionPrint[]>;
1970
1983
  getWorkOrderDefaultSendMethod(relationId: number, showLoader?: boolean): Promise<number>;
1971
- getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<string[]>;
1984
+ getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
1972
1985
  previewWorkOrder(pdfWorkOrderRequest: PdfWorkOrderRequest, showLoader?: boolean): Promise<PdfWorkOrderResponse>;
1973
1986
  cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
1974
1987
  createQRCode(width: number, height: number, data: string): Promise<string>;
1975
1988
  roundUp(amount: number, paymentMethodCode: string, showLoader?: boolean): Promise<number>;
1989
+ createPublicQuote(request: CreatePublicQuoteRequest): Promise<number>;
1990
+ getCreatePublicQuoteResponse(request: CreatePublicQuoteRequest): Promise<DataServiceResponseData>;
1976
1991
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionConnectorService, never>;
1977
1992
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionConnectorService>;
1978
1993
  }
@@ -2212,6 +2227,7 @@ declare enum Icon {
2212
2227
  UpFromLineRegular = "up_from_line_regular",
2213
2228
  UpFromLineRegularFull = "up_from_line_regular_full",
2214
2229
  UserRegular = "user_regular",
2230
+ VoucherRegular = "voucher_regular",
2215
2231
  Warehouse = "warehouse",
2216
2232
  WorkInProgressCircleLarge = "work_in_progress_circle_large",
2217
2233
  XSolid = "x_solid"
@@ -2823,7 +2839,7 @@ declare class TransactionService extends PendingReasonService {
2823
2839
  getWorkOrderEmailLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
2824
2840
  getWorkOrderPrintLayouts(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionPrint[]>;
2825
2841
  getWorkOrderDefaultSendMethod(relationId: number, showLoader?: boolean): Promise<number>;
2826
- getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<string[]>;
2842
+ getDefaultEmailAddressListForWorkOrder(transactionUUID: string, showLoader?: boolean): Promise<ReportLayoutSelectionEmail[]>;
2827
2843
  previewWorkOrder(pdfWorkOrderRequest: PdfWorkOrderRequest, showLoader?: boolean): Promise<PdfWorkOrderResponse>;
2828
2844
  sendPackageInformationToLSP(request: TransactionLspInformationRequest): Promise<TransactionInfoResponse>;
2829
2845
  cancelPspTransaction(pspTransactionUuid: string): Promise<boolean>;
@@ -3898,9 +3914,12 @@ declare class CharacteristicAnswerModule {
3898
3914
  }
3899
3915
 
3900
3916
  declare class VoucherCodePendingReasonDialogComponent extends DialogBaseComponent {
3917
+ iconCacheService: IconCacheService;
3901
3918
  showClass(): boolean;
3919
+ readonly icons: typeof Icon;
3902
3920
  voucherCode: string;
3903
3921
  pendingReason: string;
3922
+ constructor(iconCacheService: IconCacheService);
3904
3923
  handleOkClick(): void;
3905
3924
  handleCloseClick(): void;
3906
3925
  onKeyDown(event: KeyboardEvent): void;
@@ -3910,7 +3929,7 @@ declare class VoucherCodePendingReasonDialogComponent extends DialogBaseComponen
3910
3929
 
3911
3930
  declare class VoucherCodePendingReasonDialogModule {
3912
3931
  static ɵfac: i0.ɵɵFactoryDeclaration<VoucherCodePendingReasonDialogModule, never>;
3913
- static ɵmod: i0.ɵɵNgModuleDeclaration<VoucherCodePendingReasonDialogModule, [typeof VoucherCodePendingReasonDialogComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.InputTextModule, typeof PipeModule, typeof i3.ButtonModule], [typeof VoucherCodePendingReasonDialogComponent]>;
3932
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VoucherCodePendingReasonDialogModule, [typeof VoucherCodePendingReasonDialogComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.InputTextModule, typeof PipeModule, typeof i3.ButtonModule, typeof i3.IconModule], [typeof VoucherCodePendingReasonDialogComponent]>;
3914
3933
  static ɵinj: i0.ɵɵInjectorDeclaration<VoucherCodePendingReasonDialogModule>;
3915
3934
  }
3916
3935
 
@@ -5992,7 +6011,10 @@ declare abstract class TransactionHeaderPopupBaseComponent extends TransactionHe
5992
6011
  constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, dialogService: TransactionDialogService, formMasterService: FormMasterService, relationService: TransactionRelationService);
5993
6012
  ngOnInit(): Promise<void>;
5994
6013
  ngOnDestroy(): Promise<void>;
5995
- saveObjects(): Promise<void>;
6014
+ saveObjects(relationInfo?: {
6015
+ relationNr: number;
6016
+ relationKind: RelationKind;
6017
+ }): Promise<void>;
5996
6018
  saveRelation(): Promise<boolean>;
5997
6019
  saveTransaction(): Promise<boolean>;
5998
6020
  protected setFormPristine(): void;
@@ -6375,6 +6397,7 @@ declare class RelationAddressesComponent extends RelationBaseComponent implement
6375
6397
  transactionService: TransactionService;
6376
6398
  transactionEventService: TransactionEventService;
6377
6399
  transactionHeaderService: TransactionHeaderService;
6400
+ changeDetector: ChangeDetectorRef;
6378
6401
  readonly icons: typeof Icon;
6379
6402
  readonly: boolean;
6380
6403
  addresses: Address[];
@@ -6389,11 +6412,12 @@ declare class RelationAddressesComponent extends RelationBaseComponent implement
6389
6412
  showEditAddressDialog: boolean;
6390
6413
  addressToEdit: Address;
6391
6414
  private _boFactory;
6392
- constructor(_formMasterService: FormMasterService, relationService: TransactionRelationService, iconCacheService: IconCacheService, transactionService: TransactionService, transactionEventService: TransactionEventService, transactionHeaderService: TransactionHeaderService);
6415
+ constructor(_formMasterService: FormMasterService, relationService: TransactionRelationService, iconCacheService: IconCacheService, transactionService: TransactionService, transactionEventService: TransactionEventService, transactionHeaderService: TransactionHeaderService, changeDetector: ChangeDetectorRef);
6393
6416
  ngAfterViewInit(): void;
6394
6417
  submitForm(): void;
6395
6418
  addAddress(address: Address): Promise<void>;
6396
6419
  showNewAddressDialog(): void;
6420
+ closeNewAddressDialog(): void;
6397
6421
  changeAddress(address: Address): void;
6398
6422
  handleChangeAddressClick(address: Address): void;
6399
6423
  editAddress(addr: Address): void;
@@ -9631,9 +9655,9 @@ declare class TransactionReceivingGoodsHistoryComponent {
9631
9655
  showDeleteButton: boolean;
9632
9656
  set goodsReceiptHistory(value: LogisticalStateDetail[]);
9633
9657
  get goodsReceiptHistory(): LogisticalStateDetail[];
9658
+ private _goodsReceiptHistory;
9634
9659
  deleteRow: EventEmitter<LogisticalStateDetail>;
9635
9660
  showClass(): boolean;
9636
- private _goodsReceiptHistory;
9637
9661
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionReceivingGoodsHistoryComponent, never>;
9638
9662
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionReceivingGoodsHistoryComponent, "co-transaction-receiving-goods-history", never, { "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; "goodsReceiptHistory": { "alias": "goodsReceiptHistory"; "required": false; }; }, { "deleteRow": "deleteRow"; }, never, never, false, never>;
9639
9663
  }
@@ -16212,6 +16236,7 @@ declare class TransactionLineWarehouseCcGeneralComponent extends TransactionLine
16212
16236
  commissionCodeDisplayList: CoDomainValue[];
16213
16237
  warehouseDescription: string;
16214
16238
  commissionCodeDescription: string;
16239
+ commissionCodeReadonly: boolean;
16215
16240
  constructor(element: ElementRef, iconCacheService: IconCacheService, _transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
16216
16241
  ngOnInit(): void;
16217
16242
  ngOnChanges(): void;
@@ -16221,7 +16246,7 @@ declare class TransactionLineWarehouseCcGeneralComponent extends TransactionLine
16221
16246
  private _getWarehouseDescription;
16222
16247
  private _detectChanges;
16223
16248
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineWarehouseCcGeneralComponent, never>;
16224
- static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineWarehouseCcGeneralComponent, "co-transaction-line-warehouse-cc-general", never, {}, {}, never, never, false, never>;
16249
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineWarehouseCcGeneralComponent, "co-transaction-line-warehouse-cc-general", never, { "commissionCodeReadonly": { "alias": "commissionCodeReadonly"; "required": false; }; }, {}, never, never, false, never>;
16225
16250
  }
16226
16251
 
16227
16252
  declare enum WarehouseTargetSourceTab {
@@ -17326,12 +17351,6 @@ declare class TransactionInvoiceCheckOrderTileComponent {
17326
17351
  readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
17327
17352
  readonly columnAlign: typeof ColumnAlign;
17328
17353
  readonly icons: typeof Icon;
17329
- showClass(): boolean;
17330
- selected: boolean;
17331
- toCheckInputList: QueryList<InputTextComponent>;
17332
- set toCheckInputs(toCheckInputs: QueryList<InputTextComponent>);
17333
- bookingPriceInputList: QueryList<InputTextComponent>;
17334
- set bookingPriceInputs(bookingPriceInputs: QueryList<InputTextComponent>);
17335
17354
  invoiceCheckOrder: InvoiceCheckOrderInterface;
17336
17355
  lineSelectedEvent: EventEmitter<{
17337
17356
  selected: boolean;
@@ -17346,11 +17365,12 @@ declare class TransactionInvoiceCheckOrderTileComponent {
17346
17365
  }>;
17347
17366
  selectAllLinesEvent: EventEmitter<void>;
17348
17367
  openTransactionEvent: EventEmitter<number>;
17368
+ selected: boolean;
17349
17369
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef);
17370
+ showClass(): boolean;
17350
17371
  handleLineSelected(selected: boolean, line: InvoiceCheckOrderLineInterface): void;
17351
17372
  handleSaveRow(data: InvoiceCheckOrderLineInterface | {}): void;
17352
17373
  handleOpenTransaction(transNo: number): void;
17353
- protected readonly close: typeof close;
17354
17374
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInvoiceCheckOrderTileComponent, never>;
17355
17375
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionInvoiceCheckOrderTileComponent, "co-transaction-invoice-check-order-tile", never, { "invoiceCheckOrder": { "alias": "invoiceCheckOrder"; "required": false; }; }, { "lineSelectedEvent": "lineSelectedEvent"; "saveRowEvent": "saveRowEvent"; "selectAllLinesEvent": "selectAllLinesEvent"; "openTransactionEvent": "openTransactionEvent"; }, never, never, false, never>;
17356
17376
  }
@@ -1,4 +1,19 @@
1
1
  @include export-module('cc-voucher-code-pending-reason-dialog-layout') {
2
2
  .co-voucher-code-pending-reason-dialog {
3
+ co-dialog {
4
+ .co-dialog-wrapper {
5
+ max-width: $cc-voucher-code-pending-dialog-width;
6
+ .co-dialog-header-title-icon {
7
+ display: flex;
8
+ align-items: center;
9
+ gap: $cc-voucher-code-pending-dialog-title-gap;
10
+ }
11
+ .co-dialog-content {
12
+ .co-input-text {
13
+ margin: $cc-voucher-code-pending-dialog-co-input-margin;
14
+ }
15
+ }
16
+ }
17
+ }
3
18
  }
4
19
  }
@@ -0,0 +1,3 @@
1
+ $cc-voucher-code-pending-dialog-width: 600px !default;
2
+ $cc-voucher-code-pending-dialog-title-gap: 10px !default;
3
+ $cc-voucher-code-pending-dialog-co-input-margin: 5px 0 15px 0 !default;
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
1
+ @import "../../../../../../style/mixin";
2
2
  @import "./_material-definition";
3
3
  @import "./_layout";
4
4
  @import "./_theme";
@@ -35,6 +35,7 @@
35
35
  right: 0;
36
36
  opacity: 0.5;
37
37
  .relation-address-edit-icon {
38
+ display: flex;
38
39
  height: $tp-relation-address-tile-edit-icon-width;
39
40
  width: $tp-relation-address-tile-edit-icon-width;
40
41
  }
@@ -1,6 +1,5 @@
1
1
  $tp-font-family: Inter, sans-serif !default;
2
2
 
3
-
4
3
  //$tp-color-action-light: #f2f7fc !default;
5
4
  $tp-color-less-light: #F7FAFA !default;
6
5
  $tp-color-action: #1A73E8 !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.25",
3
+ "version": "262.1.27",
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.11"
22
+ "@colijnit/transactionapi": ">=262.1.12"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"
Binary file