@colijnit/transaction 301.1.3 → 301.1.5

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
@@ -11194,6 +11194,7 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
11194
11194
  transId: number;
11195
11195
  start: Date;
11196
11196
  end: Date;
11197
+ fromCalendar: boolean;
11197
11198
  }>;
11198
11199
  deleteOrderLineEvent: EventEmitter<{
11199
11200
  order: PlanOrder;
@@ -11265,6 +11266,7 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
11265
11266
  end: Date;
11266
11267
  id: number;
11267
11268
  }): void;
11269
+ private _draggedOrder;
11268
11270
  handleMapClicked(mouseEvent: MouseEvent, transport: PlanningTransportWeekDay): void;
11269
11271
  handleDropdownClicked(event: MouseEvent): void;
11270
11272
  handleDropdownActionClicked(clickAction: DeliveryPlanningTileDropdownActions): void;
@@ -11384,6 +11386,7 @@ declare class DeliveryPlanningOverviewComponent implements OnInit, OnDestroy {
11384
11386
  start: Date;
11385
11387
  end: Date;
11386
11388
  transId: number;
11389
+ fromCalendar: boolean;
11387
11390
  }, transportWeekDay: PlanningTransportWeekDay, week: PlanningTransportWeekDay[]): Promise<void>;
11388
11391
  handleMoveNormalEvent(transId: string, transport: PlanningTransportWeekDay, week: PlanningTransportWeekDay[], weekArr: PlanningTransportWeekDay[][]): Promise<void>;
11389
11392
  handleReorderOrder(event: {
@@ -15448,6 +15451,7 @@ interface DeliveryMethod {
15448
15451
  declare class TransactionQuickAccessPlanningPopupComponent implements OnInit, OnDestroy {
15449
15452
  iconCacheService: IconCacheService;
15450
15453
  transactionService: TransactionService;
15454
+ protected changeDetector: ChangeDetectorRef;
15451
15455
  readonly icons: typeof Icon;
15452
15456
  readonly sendMethodType: typeof SendMethodType;
15453
15457
  printLayouts: ReportLayoutSelectionPrint[];
@@ -15471,8 +15475,10 @@ declare class TransactionQuickAccessPlanningPopupComponent implements OnInit, On
15471
15475
  autoPrinted: EventEmitter<number>;
15472
15476
  createdTrackAndTrace: EventEmitter<string>;
15473
15477
  get packageLSP(): PackageLSP[];
15478
+ get printRequest(): ReportingDocumentPrintSignDocBaseRequest;
15479
+ set printRequest(request: ReportingDocumentPrintSignDocBaseRequest);
15474
15480
  showClass(): boolean;
15475
- constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
15481
+ constructor(iconCacheService: IconCacheService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
15476
15482
  ngOnInit(): void;
15477
15483
  ngOnDestroy(): void;
15478
15484
  get transactionInfo(): TransactionInfoResponse;
@@ -15829,6 +15835,7 @@ declare class ReturnLinesWizardComponent {
15829
15835
  needScroll: EventEmitter<void>;
15830
15836
  newLineCreationProcessStarted: EventEmitter<void>;
15831
15837
  lineReadyToAdd: EventEmitter<void>;
15838
+ lineCreationProcessFailed: EventEmitter<void>;
15832
15839
  linesCreated: EventEmitter<void>;
15833
15840
  set showPhotosAndDescription(value: boolean);
15834
15841
  get showPhotosAndDescription(): boolean;
@@ -15856,8 +15863,9 @@ declare class ReturnLinesWizardComponent {
15856
15863
  upsertDocument(document: CoDocument): Promise<void>;
15857
15864
  getCounterLabel(): string;
15858
15865
  private _createNewLineRequest;
15866
+ private _handleLineCreationFailure;
15859
15867
  static ɵfac: i0.ɵɵFactoryDeclaration<ReturnLinesWizardComponent, never>;
15860
- static ɵcmp: i0.ɵɵComponentDeclaration<ReturnLinesWizardComponent, "co-return-lines-wizard", never, { "lines": { "alias": "lines"; "required": false; }; "sourceTransId": { "alias": "sourceTransId"; "required": false; }; }, { "needScroll": "needScroll"; "newLineCreationProcessStarted": "newLineCreationProcessStarted"; "lineReadyToAdd": "lineReadyToAdd"; "linesCreated": "linesCreated"; }, never, never, false, never>;
15868
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReturnLinesWizardComponent, "co-return-lines-wizard", never, { "lines": { "alias": "lines"; "required": false; }; "sourceTransId": { "alias": "sourceTransId"; "required": false; }; }, { "needScroll": "needScroll"; "newLineCreationProcessStarted": "newLineCreationProcessStarted"; "lineReadyToAdd": "lineReadyToAdd"; "lineCreationProcessFailed": "lineCreationProcessFailed"; "linesCreated": "linesCreated"; }, never, never, false, never>;
15861
15869
  }
15862
15870
 
15863
15871
  declare class WizardReturnLineDisplayTileComponent {
@@ -15928,6 +15936,7 @@ declare class DeliveryChooserComponent {
15928
15936
 
15929
15937
  declare class ReturnForSalesOrderDialogComponent implements OnInit {
15930
15938
  returnService: TransactionReturnService;
15939
+ private _dialogService;
15931
15940
  private _changeDetector;
15932
15941
  returnDialogElementRef: ElementRef<HTMLElement>;
15933
15942
  scrollAnchor: ElementRef;
@@ -15943,16 +15952,18 @@ declare class ReturnForSalesOrderDialogComponent implements OnInit {
15943
15952
  showDeliveryChooser: boolean;
15944
15953
  deliveryChooserNextButtonDisabled: boolean;
15945
15954
  private _resizeObserver;
15946
- constructor(returnService: TransactionReturnService, _changeDetector: ChangeDetectorRef);
15955
+ constructor(returnService: TransactionReturnService, _dialogService: DialogService, _changeDetector: ChangeDetectorRef);
15947
15956
  ngOnInit(): Promise<void>;
15948
15957
  handleNewLineCreationProcessStarted(): void;
15949
15958
  handleLineReadyToAdd(): void;
15950
15959
  handleLinesWizardButtonNextClick(): Promise<void>;
15951
15960
  handleLinesCreated(): void;
15961
+ handleLineCreationProcessFailed(): void;
15952
15962
  handleDeliveryMethodChosen(): void;
15953
15963
  handleDeliveryChooserButtonNextClick(): Promise<void>;
15954
15964
  handleDeliveryPreferencesSetToOrder(): void;
15955
15965
  handleNeedScroll(): void;
15966
+ handleCloseClick(): Promise<void>;
15956
15967
  static ɵfac: i0.ɵɵFactoryDeclaration<ReturnForSalesOrderDialogComponent, never>;
15957
15968
  static ɵcmp: i0.ɵɵComponentDeclaration<ReturnForSalesOrderDialogComponent, "co-return-for-sales-order-dialog", never, { "sourceSalesOrderTransId": { "alias": "sourceSalesOrderTransId"; "required": false; }; "sourceSalesOrderLines": { "alias": "sourceSalesOrderLines"; "required": false; }; }, { "closeClick": "closeClick"; "returnOrderCreatedAndFilled": "returnOrderCreatedAndFilled"; }, never, never, false, never>;
15958
15969
  }
@@ -18227,6 +18238,7 @@ declare class TransactionInvoiceCheckOrderTileComponent {
18227
18238
  readonly columnAlign: typeof ColumnAlign;
18228
18239
  readonly icons: typeof Icon;
18229
18240
  newBookingPrice: number;
18241
+ newQuantity: number;
18230
18242
  invoiceCheckOrder: InvoiceCheckOrderInterface;
18231
18243
  lineSelectedEvent: EventEmitter<{
18232
18244
  selected: boolean;
@@ -18252,6 +18264,7 @@ declare class TransactionInvoiceCheckOrderTileComponent {
18252
18264
  handleSaveRow(data: InvoiceCheckOrderLineInterface | {}): void;
18253
18265
  handleOpenTransaction(transNo: number): void;
18254
18266
  handleOrderSelected(selected: boolean, data: InvoiceCheckOrderInterface): void;
18267
+ isOrderSelected(): boolean;
18255
18268
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionInvoiceCheckOrderTileComponent, never>;
18256
18269
  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"; "selectTransactionEvent": "selectTransactionEvent"; }, never, never, false, never>;
18257
18270
  }
@@ -1,78 +1,78 @@
1
- @include export-module('co-transaction-line-interbranch-receive-goods-layout') {
2
- .co-transaction-line-interbranch-receive-goods {
3
- .columns-wrapper {
4
- display: flex;
5
- }
6
-
7
- .co-input-number-picker {
8
- width: 140px;
9
- }
10
-
11
- .details-column {
12
- width: 45%;
13
- display: flex;
14
- flex-direction: column;
15
-
16
- .transaction-line-totals-amount {
17
- margin: 5px;
18
- }
19
-
20
- //.amount-number-picker {
21
- // height: 40px;
22
- // margin: 5px;
23
- //}
24
- }
25
-
26
- .header-wrapper {
27
- display: flex;
28
- align-items: center;
29
- justify-content: space-between;
30
- margin: $tp-co-transaction-line-receive-goods-title-margin;
31
-
32
- .details-header {
33
- font-size: $tp-co-transaction-line-receive-goods-title-font-size;
34
- font-weight: bold;
35
- }
36
- }
37
-
38
- .divider-wrapper {
39
- display: flex;
40
- width: 10%;
41
- justify-content: center;
42
- visibility: hidden;
43
-
44
- .divider {
45
- border-left: 1px solid;
46
- border-color: $tp-color-border;
47
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
48
- }
49
- }
50
-
51
- .details-input {
52
- margin: 5px; // $tp-co-transaction-request-details-input-margin;
53
- }
54
-
55
- .location-wrapper {
56
- position: relative;
57
-
58
- .co-transaction-button {
59
- width: auto;
60
- margin: 5px;
61
- }
62
- }
63
- .disabled {
64
- cursor: default;
65
- opacity: 0.6;
66
- }
67
- .clickable {
68
- cursor: pointer;
69
- }
70
-
71
- .warehouse-buttons {
72
- width: 100%;
73
- .co-transaction-button {
74
- width: 100%;
75
- }
76
- }
77
- }
78
- }
1
+ @include export-module('co-transaction-line-interbranch-receive-goods-layout') {
2
+ .co-transaction-line-interbranch-receive-goods {
3
+ .columns-wrapper {
4
+ display: flex;
5
+ }
6
+
7
+ .co-input-number-picker {
8
+ width: 140px;
9
+ }
10
+
11
+ .details-column {
12
+ width: 45%;
13
+ display: flex;
14
+ flex-direction: column;
15
+
16
+ .transaction-line-totals-amount {
17
+ margin: 5px;
18
+ }
19
+
20
+ //.amount-number-picker {
21
+ // height: 40px;
22
+ // margin: 5px;
23
+ //}
24
+ }
25
+
26
+ .header-wrapper {
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: space-between;
30
+ margin: $tp-co-transaction-line-receive-goods-title-margin;
31
+
32
+ .details-header {
33
+ font-size: $tp-co-transaction-line-receive-goods-title-font-size;
34
+ font-weight: bold;
35
+ }
36
+ }
37
+
38
+ .divider-wrapper {
39
+ display: flex;
40
+ width: 10%;
41
+ justify-content: center;
42
+ visibility: hidden;
43
+
44
+ .divider {
45
+ border-left: 1px solid;
46
+ border-color: $tp-color-border;
47
+ margin: 5px; // $tp-co-transaction-request-details-input-margin;
48
+ }
49
+ }
50
+
51
+ .details-input {
52
+ margin: 5px; // $tp-co-transaction-request-details-input-margin;
53
+ }
54
+
55
+ .location-wrapper {
56
+ position: relative;
57
+
58
+ .co-transaction-button {
59
+ width: auto;
60
+ margin: 5px;
61
+ }
62
+ }
63
+ .disabled {
64
+ cursor: default;
65
+ opacity: 0.6;
66
+ }
67
+ .clickable {
68
+ cursor: pointer;
69
+ }
70
+
71
+ .warehouse-buttons {
72
+ width: 100%;
73
+ .co-transaction-button {
74
+ width: 100%;
75
+ }
76
+ }
77
+ }
78
+ }
@@ -1,2 +1,2 @@
1
- $tp-co-transaction-line-receive-goods-title-font-size: 12px !default;
2
- $tp-co-transaction-line-receive-goods-title-margin: 0 0 10px 5px !default;
1
+ $tp-co-transaction-line-receive-goods-title-font-size: 12px !default;
2
+ $tp-co-transaction-line-receive-goods-title-margin: 0 0 10px 5px !default;
@@ -1,4 +1,4 @@
1
- @include export-module('co-transaction-line-interbranch-receive-goods-theme') {
2
- .co-transaction-line-interbranch-receive-goods {
3
- }
4
- }
1
+ @include export-module('co-transaction-line-interbranch-receive-goods-theme') {
2
+ .co-transaction-line-interbranch-receive-goods {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,27 +1,27 @@
1
- @use "sass:math";
2
- @import "../../../../style/mixin";
3
-
4
- @include export-module('co-transaction-quick-access-interbranch-order-purchase-layout') {
5
- .co-transaction-quick-access-interbranch-order-purchase {
6
- .select-all-wrapper {
7
- display: flex;
8
- align-items: center;
9
- }
10
- .button {
11
- padding: 0.25em;
12
- background-color: white;
13
- border: 1px solid $tp-transaction-quick-access-planning-lsp-mode-button;
14
- cursor: pointer;
15
- co-icon {
16
- fill: $tp-transaction-quick-access-planning-lsp-mode-button;
17
- }
18
- &.selected {
19
- background-color: $tp-transaction-quick-access-planning-lsp-mode-button;
20
- co-icon {
21
- fill: white;
22
- }
23
- }
24
- }
25
-
26
- }
27
- }
1
+ @use "sass:math";
2
+ @import "../../../../style/mixin";
3
+
4
+ @include export-module('co-transaction-quick-access-interbranch-order-purchase-layout') {
5
+ .co-transaction-quick-access-interbranch-order-purchase {
6
+ .select-all-wrapper {
7
+ display: flex;
8
+ align-items: center;
9
+ }
10
+ .button {
11
+ padding: 0.25em;
12
+ background-color: white;
13
+ border: 1px solid $tp-transaction-quick-access-planning-lsp-mode-button;
14
+ cursor: pointer;
15
+ co-icon {
16
+ fill: $tp-transaction-quick-access-planning-lsp-mode-button;
17
+ }
18
+ &.selected {
19
+ background-color: $tp-transaction-quick-access-planning-lsp-mode-button;
20
+ co-icon {
21
+ fill: white;
22
+ }
23
+ }
24
+ }
25
+
26
+ }
27
+ }
@@ -1 +1 @@
1
- $tp-transaction-quick-access-planning-lsp-mode-button: #1A73E8;
1
+ $tp-transaction-quick-access-planning-lsp-mode-button: #1A73E8;
@@ -1,4 +1,4 @@
1
- @include export-module('co-transaction-quick-access-interbranch-order-purchase-theme') {
2
- .co-transaction-quick-access-interbranch-order-purchase {
3
- }
4
- }
1
+ @include export-module('co-transaction-quick-access-interbranch-order-purchase-theme') {
2
+ .co-transaction-quick-access-interbranch-order-purchase {
3
+ }
4
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,73 +1,73 @@
1
- @import "../../../../style/mixin";
2
-
3
- @include export-module('cc-transaction-quick-access-received-goods-layout') {
4
- .co-transaction-quick-access-received-goods {
5
-
6
- .quick-access-wrapper {
7
- display: flex;
8
- flex-direction: row;
9
- column-gap: 10px;
10
- align-items: start;
11
-
12
- .sub-section-input {
13
- display: flex;
14
- flex-direction: column;
15
- gap: 10px;
16
- }
17
-
18
- .sub-section {
19
- display: flex;
20
- flex-direction: row;
21
- column-gap: 10px;
22
- .checkbox-wrapper {
23
- display: flex;
24
- flex-direction: row;
25
- }
26
-
27
- .dots-wrapper {
28
- display: flex;
29
- transform: scale(0.7);
30
-
31
- .dot {
32
- width: 8px;
33
- height: 8px;
34
- background-color: black;
35
- border-radius: 16px;
36
- transform: scale(0.3);
37
- }
38
- }
39
-
40
- .co-input-date {
41
- min-width: 170px;
42
- }
43
-
44
- .co-input-text {
45
- min-width: 100px;
46
- }
47
-
48
- .button-wrapper {
49
- background: $tp-default-background-accent;
50
- border-radius: $tp-default-border-radius;
51
- padding: 5px;
52
- display: flex;
53
- flex-direction: column;
54
- align-items: center;
55
- justify-content: center;
56
- cursor: pointer;
57
- width: 68px;
58
- height: 46px;
59
-
60
- .button-icon {
61
- height: 20px;
62
- width: 20px;
63
- }
64
-
65
- span {
66
- font-size: 10px;
67
- margin-top: 3px;
68
- }
69
- }
70
- }
71
- }
72
- }
73
- }
1
+ @import "../../../../style/mixin";
2
+
3
+ @include export-module('cc-transaction-quick-access-received-goods-layout') {
4
+ .co-transaction-quick-access-received-goods {
5
+
6
+ .quick-access-wrapper {
7
+ display: flex;
8
+ flex-direction: row;
9
+ column-gap: 10px;
10
+ align-items: start;
11
+
12
+ .sub-section-input {
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: 10px;
16
+ }
17
+
18
+ .sub-section {
19
+ display: flex;
20
+ flex-direction: row;
21
+ column-gap: 10px;
22
+ .checkbox-wrapper {
23
+ display: flex;
24
+ flex-direction: row;
25
+ }
26
+
27
+ .dots-wrapper {
28
+ display: flex;
29
+ transform: scale(0.7);
30
+
31
+ .dot {
32
+ width: 8px;
33
+ height: 8px;
34
+ background-color: black;
35
+ border-radius: 16px;
36
+ transform: scale(0.3);
37
+ }
38
+ }
39
+
40
+ .co-input-date {
41
+ min-width: 170px;
42
+ }
43
+
44
+ .co-input-text {
45
+ min-width: 100px;
46
+ }
47
+
48
+ .button-wrapper {
49
+ background: $tp-default-background-accent;
50
+ border-radius: $tp-default-border-radius;
51
+ padding: 5px;
52
+ display: flex;
53
+ flex-direction: column;
54
+ align-items: center;
55
+ justify-content: center;
56
+ cursor: pointer;
57
+ width: 68px;
58
+ height: 46px;
59
+
60
+ .button-icon {
61
+ height: 20px;
62
+ width: 20px;
63
+ }
64
+
65
+ span {
66
+ font-size: 10px;
67
+ margin-top: 3px;
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
@@ -1,6 +1,6 @@
1
- @import "../../../../style/mixin";
2
-
3
- @include export-module('cc-transaction-quick-access-received-goods-theme') {
4
- .co-transaction-quick-access-received-goods {
5
- }
6
- }
1
+ @import "../../../../style/mixin";
2
+
3
+ @include export-module('cc-transaction-quick-access-received-goods-theme') {
4
+ .co-transaction-quick-access-received-goods {
5
+ }
6
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "301.1.3",
3
+ "version": "301.1.5",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -13,7 +13,7 @@
13
13
  "@colijnit/catalog": ">=301.1.0 < 302",
14
14
  "@colijnit/corecomponents_v12": ">=301.1.0 < 302",
15
15
  "@colijnit/ioneconnector": ">=301.1.0 < 302",
16
- "@colijnit/mainapi": ">=301.1.0 < 302",
16
+ "@colijnit/mainapi": ">=301.1.1 < 302",
17
17
  "@colijnit/product": ">=301.1.0 < 302",
18
18
  "@colijnit/relation": ">=301.1.0 < 302",
19
19
  "@colijnit/relationapi": ">=301.1.0 < 302",