@colijnit/transaction 262.1.2 → 262.1.4

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 (27) hide show
  1. package/fesm2022/colijnit-transaction.mjs +708 -683
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +9 -3
  4. package/lib/component/returns/return-wizard/delivery-chooser/style/_layout.scss +12 -0
  5. package/lib/component/returns/return-wizard/delivery-chooser/style/_material-definition.scss +1 -0
  6. package/lib/component/returns/return-wizard/delivery-chooser/style/_theme.scss +4 -0
  7. package/lib/component/returns/return-wizard/delivery-chooser/style/material.scss +3 -0
  8. package/lib/component/returns/return-wizard/delivery-method-chooser/delivery-method-tile/style/_layout.scss +30 -0
  9. package/lib/component/returns/return-wizard/delivery-method-chooser/delivery-method-tile/style/_material-definition.scss +1 -0
  10. package/lib/component/returns/return-wizard/delivery-method-chooser/delivery-method-tile/style/_theme.scss +4 -0
  11. package/lib/component/returns/return-wizard/delivery-method-chooser/delivery-method-tile/style/material.scss +3 -0
  12. package/lib/component/returns/return-wizard/delivery-method-chooser/style/_layout.scss +11 -0
  13. package/lib/component/returns/return-wizard/delivery-method-chooser/style/_material-definition.scss +1 -0
  14. package/lib/component/returns/return-wizard/delivery-method-chooser/style/_theme.scss +4 -0
  15. package/lib/component/returns/return-wizard/delivery-method-chooser/style/material.scss +3 -0
  16. package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
  17. package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
  18. package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
  19. package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
  20. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  21. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  22. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  23. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  24. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  25. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  26. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  27. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -306,7 +306,7 @@ import { BaseModuleScreenConfigService, BaseModuleService, FormMasterService, Sc
306
306
  import * as i5 from '@colijnit/relation';
307
307
  import { RelationService } from '@colijnit/relation';
308
308
  import * as i6 from '@colijnit/sharedcomponents';
309
- import { SharedService, StatusbarData, CalendarView, SendMethod, AgendaEventPerDay, FormBuilderUserFormComponent, ComponentActivityListComponent } from '@colijnit/sharedcomponents';
309
+ import { SharedService, AgendaEventPerDay, StatusbarData, CalendarView, SendMethod, FormBuilderUserFormComponent, ComponentActivityListComponent } from '@colijnit/sharedcomponents';
310
310
  import { ExternalCatalogAddArticleRequest } from '@colijnit/transactionapi/build/model/external-catalog-add-article-request';
311
311
  import { TransactionDeliveryCostLineInfo } from '@colijnit/transactionapi/build/model/transaction-delivery-cost-line-info.bo';
312
312
  import { UserRoleType } from '@colijnit/ioneconnector/build/enum/user-role-type.enum';
@@ -1067,6 +1067,7 @@ declare class TransactionConnectorAdapterService {
1067
1067
  searchTransactions(request: TransactionSearchViewRequest): Promise<TransactionSearchResult>;
1068
1068
  getSequenceValue(sequenceName: SequenceName): Promise<number>;
1069
1069
  getDeliveryMethods(): Promise<DeliveryMethod$1[]>;
1070
+ getDeliveryMethodsForReturns(): Promise<DeliveryMethod$1[]>;
1070
1071
  getDeliveryOptions(): Promise<DeliveryOption[]>;
1071
1072
  getDiscountCodes(transactionKind: TransactionKind): Promise<DiscountCode[]>;
1072
1073
  setTransactionDiscounts(request: SetTransactionDiscountsRequest): Promise<TransactionInfoResponse>;
@@ -1583,6 +1584,7 @@ declare class TransactionConnectorService {
1583
1584
  searchTransactions(request: TransactionSearchViewRequest): Promise<TransactionSearchResult>;
1584
1585
  getSequenceValue(sequenceName: SequenceName): Promise<number>;
1585
1586
  getDeliveryMethods(): Promise<DeliveryMethod$1[]>;
1587
+ getDeliveryMethodsForReturns(): Promise<DeliveryMethod$1[]>;
1586
1588
  getDeliveryOptions(): Promise<DeliveryOption[]>;
1587
1589
  getDiscountCodes(transactionKind: TransactionKind): Promise<DiscountCode[]>;
1588
1590
  setTransactionDiscounts(request: SetTransactionDiscountsRequest): Promise<TransactionInfoResponse>;
@@ -2509,6 +2511,7 @@ declare class TransactionService extends PendingReasonService {
2509
2511
  createServiceOrderWithSourceTransactionLineRequest(): Promise<boolean>;
2510
2512
  createSalesQuotation(request: CreateSalesQuotationRequest): Promise<boolean>;
2511
2513
  addRelationToTransaction(relationId: number): Promise<boolean>;
2514
+ doDeliveryPlanningRequest(inputs: DoDeliveryPlanningRequestInputParams): Promise<boolean>;
2512
2515
  getCommissionCodes(languageCode: string): Promise<CoDomainValue[]>;
2513
2516
  getContactTypes(languageCode: string): Promise<CoDomainValue[]>;
2514
2517
  getYesNo(languageCode: string): Promise<CoDomainValue[]>;
@@ -2526,6 +2529,7 @@ declare class TransactionService extends PendingReasonService {
2526
2529
  getArticleListWithBarcodeArticleNrEanCode(search: string): Promise<ArticleLight[]>;
2527
2530
  getMainArticles(): Promise<MainArticle[]>;
2528
2531
  getDeliveryMethods(): Promise<DeliveryMethod$1[]>;
2532
+ getDeliveryMethodsForReturns(): Promise<DeliveryMethod$1[]>;
2529
2533
  getDeliveryOptions(): Promise<DeliveryOption[]>;
2530
2534
  getDiscountCodes(): Promise<DiscountCode[]>;
2531
2535
  setTransactionDiscounts(request: SetTransactionDiscountsRequest): Promise<boolean>;
@@ -2752,6 +2756,10 @@ declare class TransactionService extends PendingReasonService {
2752
2756
  getSLAProducts(): Promise<SLAProduct[]>;
2753
2757
  getTermsAndConditionsForm(transId: number): Promise<void>;
2754
2758
  getTransactionPlanPeriods(transId: number): Promise<PlanTimes[]>;
2759
+ getAgendaEventsPerDayForPreferredPlanning(transId: number): Promise<AgendaEventPerDay[]>;
2760
+ private _createEventsPerDayFromPlanTimes;
2761
+ private _createAgendaEventPerDayFromPlanTimes;
2762
+ private _createAgendaEventFromDayPart;
2755
2763
  getSupplierProducts(transId: number): Promise<SupplierProduct[]>;
2756
2764
  getDeliveryDateForSupplierProduct(goodId: number, supplierId: number): Promise<Date>;
2757
2765
  getPlannedResourcesForTransactionLine(transId: number, lineNr: number): Promise<PlannedResourceForTransactionLine[]>;
@@ -13636,8 +13644,6 @@ declare class DialogTransactionPlanningRequest extends DialogTransactionHeaderBa
13636
13644
  private _getAllAvailablePlanDates;
13637
13645
  private _getSelectableDayParts;
13638
13646
  private _applySelectedDate;
13639
- private _createAgendaEventPerDayFromPlanTimes;
13640
- private _createAgendaEventFromDayPart;
13641
13647
  private _getFirstDayOfWeek;
13642
13648
  private _getLastDayOfWeek;
13643
13649
  private _validDate;
@@ -0,0 +1,12 @@
1
+ @include export-module('co-delivery-chooser-layout') {
2
+ .co-delivery-chooser {
3
+ .delivery-chooser-contents {
4
+ display: flex;
5
+ flex-direction: column;
6
+ row-gap: 25px;
7
+ }
8
+ .preferred-planning-contents {
9
+ width: 100%;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-delivery-chooser-theme') {
2
+ .co-delivery-chooser {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -0,0 +1,30 @@
1
+ @include export-module('co-delivery-method-tile-layout') {
2
+ .co-delivery-method-tile {
3
+ .delivery-method-tile-contents {
4
+ display: flex;
5
+ flex-direction: row;
6
+ column-gap: 10px;
7
+
8
+ width: 220px;
9
+ padding: 10px 20px;
10
+
11
+ border-style: solid;
12
+ border-color: #9e9e9e;
13
+ border-width: 2px;
14
+ border-radius: 5px;
15
+
16
+ &.selected {
17
+ border-color: $action-color;
18
+ background-color: #bfd2ff;
19
+ }
20
+
21
+ .description-span {
22
+ width: 100%;
23
+ text-align: start;
24
+ text-overflow: ellipsis;
25
+ overflow: hidden;
26
+ white-space: nowrap;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-delivery-method-tile-theme') {
2
+ .co-delivery-method-tile {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -0,0 +1,11 @@
1
+ @include export-module('co-delivery-method-chooser-layout') {
2
+ .co-delivery-method-chooser {
3
+
4
+ .delivery-method-chooser-contents {
5
+ display: flex;
6
+ flex-direction: row;
7
+ column-gap: 10px;
8
+
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-delivery-method-chooser-theme') {
2
+ .co-delivery-method-chooser {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -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": "262.1.2",
3
+ "version": "262.1.4",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -18,8 +18,8 @@
18
18
  "@colijnit/relation": ">=262.1.0",
19
19
  "@colijnit/relationapi": ">=262.1.0",
20
20
  "@colijnit/sharedapi": ">=1.0.20",
21
- "@colijnit/sharedcomponents": ">=262.1.2",
22
- "@colijnit/transactionapi": ">=262.1.2"
21
+ "@colijnit/sharedcomponents": ">=262.1.3",
22
+ "@colijnit/transactionapi": ">=262.1.3"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.8.1"