@colijnit/transaction 261.20.22 → 261.20.24

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 (28) hide show
  1. package/fesm2022/colijnit-transaction.mjs +1869 -1298
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +115 -35
  4. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/style/_layout.scss +12 -0
  5. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +38 -0
  6. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_material-definition.scss +1 -1
  7. package/lib/component/shared/conversion-assistant/style/_layout.scss +61 -0
  8. package/lib/component/shared/conversion-assistant/style/_material-definition.scss +2 -0
  9. package/lib/component/shared/conversion-assistant/style/_theme.scss +6 -0
  10. package/lib/component/shared/conversion-assistant/style/material.scss +3 -0
  11. package/lib/component/transaction-header/transaction-header-popup/style/_material-definition.scss +1 -0
  12. package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +7 -0
  13. package/lib/component/transaction-line/transaction-line/style/_layout.scss +1 -0
  14. package/lib/component/transaction-line/transaction-planning-line/components/transaction-planning-line-planned-resource/style/_layout.scss +9 -8
  15. package/lib/component/transaction-line/transaction-planning-line/style/_layout.scss +6 -3
  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-lines-side-panel/transaction-lines-side-panel-cash-desk/style/_layout.scss +6 -2
  21. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  22. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  23. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  24. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  25. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  26. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  27. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  28. package/package.json +2 -2
@@ -0,0 +1,61 @@
1
+ @import "../../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-line-conversion-assistant-layout') {
4
+ .co-transaction-line-conversion-assistant {
5
+ .co-dialog:not(.is-mobile) .co-dialog-wrapper {
6
+ width: 500px;
7
+ .assistant-header {
8
+ display: flex;
9
+ flex-direction: row;
10
+ column-gap: 5px;
11
+ align-items: center;
12
+ padding-bottom: 10px;
13
+ }
14
+
15
+ .assistant-content-wrapper {
16
+ display: flex;
17
+ flex-direction: row;
18
+ column-gap: 5px;
19
+
20
+ .unit-amount {
21
+ height: $tp-conversion-assistant-field-height;
22
+ max-width: 90px;
23
+ }
24
+
25
+ .unit-list {
26
+ height: $tp-conversion-assistant-field-height;
27
+
28
+ .co-input-text {
29
+ height: $tp-conversion-assistant-field-height;
30
+ }
31
+ }
32
+
33
+ .quantity-number-picker {
34
+ width: $tp-conversion-assistant-quantity-width;
35
+ height: $tp-conversion-assistant-field-height;
36
+
37
+ .icon-wrapper {
38
+ max-width: $tp-conversion-assistant-field-height;
39
+ }
40
+
41
+ .co-input-text {
42
+ width: $tp-conversion-assistant-quantity-width;
43
+ height: $tp-conversion-assistant-field-height;
44
+
45
+ .right-icon {
46
+ min-width: $cc-co-list-of-values-right-icon-spacer-width;
47
+ }
48
+
49
+ .input-text-right-icon svg {
50
+ width: $cc-co-list-of-values-right-icon-width;
51
+ height: $cc-co-list-of-values-right-icon-width;
52
+ padding: $cc-co-list-of-values-right-icon-padding;
53
+ background: $cc-co-list-of-values-right-icon-background;
54
+ border-radius: $cc-co-list-of-values-right-icon-radius;
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,2 @@
1
+ $tp-conversion-assistant-field-height: 36px !default;
2
+ $tp-conversion-assistant-quantity-width: 150px !default;
@@ -0,0 +1,6 @@
1
+ @import "../../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-line-conversion-assistant-theme') {
4
+ .co-transaction-line-conversion-assistant {
5
+ }
6
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -78,6 +78,7 @@ $tp-transaction-header-popup-business-rule-applied-font-weight: normal !default;
78
78
  $tp-co-transaction-header-relation-content-gap: 60px !default;
79
79
  $tp-co-transaction-header-relation-content-padding: 0 0 0 0 !default;
80
80
  $tp-co-transaction-header-relation-content-empty: 0 !default;
81
+ $tp-co-transaction-header-relation-content-empty-color: #1a73e8 !default;
81
82
  $tp-co-transaction-header-relation-content-padding-empty: 0 !default;
82
83
  $tp-co-transaction-header-relation-content-icon-left: 0 !default;
83
84
  $tp-co-transaction-header-relation-content-icon-top: 0 !default;
@@ -84,6 +84,13 @@
84
84
  .no-relation-yet {
85
85
  position: relative;
86
86
  left: $tp-co-transaction-header-relation-content-empty;
87
+ .co-button {
88
+ border-style: solid;
89
+ border-width: 1px;
90
+ border-color: $tp-co-transaction-header-relation-content-empty-color;
91
+ color: $tp-co-transaction-header-relation-content-empty-color;
92
+ background-color: transparent;
93
+ }
87
94
  }
88
95
  .transaction-relation-icon {
89
96
  position: absolute;
@@ -99,6 +99,7 @@
99
99
  display: flex;
100
100
  align-items: center;
101
101
  width: 100%;
102
+ justify-content: end;
102
103
  .input-text-wrapper, .input-wrapper {
103
104
  max-width: 100%;
104
105
  }
@@ -1,13 +1,14 @@
1
1
  @include export-module('cc-transaction-planning-line-planned-resource-layout') {
2
2
  .co-transaction-planning-line-planned-resource {
3
- .row{
4
- align-items: center;
5
- justify-content: center;
6
- border: 1px solid rgba(black, 0.4);
7
- border-radius: 8px;
8
- display: flex;
9
- flex-direction: row;
10
- padding: 0.25em 0.5em;
3
+ height: 100%;
4
+ width: 100%;
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+
9
+ span {
10
+ font-size: 10px;
11
+ font-weight: bold;
11
12
  }
12
13
  }
13
14
  }
@@ -1,9 +1,12 @@
1
1
  @include export-module('co-transaction-planning-line-layout') {
2
2
  .co-transaction-planning-line {
3
- .row {
3
+ .planning-line-planned-resource-wrapper {
4
4
  display: flex;
5
- flex-direction: row;
6
- gap: 0.1em;
5
+ flex-direction: column;
6
+ height: 100%;
7
+ width: 100%;
8
+ justify-content: center;
9
+ align-items: center;
7
10
  }
8
11
 
9
12
  .transaction-line-section {
@@ -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,8 +1,11 @@
1
1
  @include export-module('co-transaction-lines-side-panel-cash-desk-layout') {
2
2
  .co-transaction-lines-side-panel-cash-desk {
3
3
  display: flex;
4
- flex-direction: column;
4
+ flex-direction: column-reverse;
5
5
  align-items: center;
6
+ width: 300px;
7
+ max-width: 100%;
8
+ gap: 10px;
6
9
  //.co-key-pad {
7
10
  // width: 80%;
8
11
  //}
@@ -30,11 +33,12 @@
30
33
  .cash-register-payment-methods-wrapper {
31
34
  display: flex;
32
35
  flex-wrap: wrap;
33
- padding: 10px 0 0 0;
36
+ padding: 0;
34
37
  gap: 10px;
35
38
  }
36
39
  .co-payment-tile {
37
40
  width: calc(50% - 10px);
41
+ max-width: 150px;
38
42
  .co-tile-wrapper {
39
43
  padding: 5px;
40
44
  height: 75px;
@@ -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": "261.20.22",
3
+ "version": "261.20.24",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -9,7 +9,7 @@
9
9
  "peerDependencies": {
10
10
  "@angular/common": ">=20.3.16",
11
11
  "@angular/core": ">=20.3.16",
12
- "@colijnit/articleapi": ">=261.1.1",
12
+ "@colijnit/articleapi": ">=261.1.3",
13
13
  "@colijnit/catalog": ">=261.20.3",
14
14
  "@colijnit/corecomponents_v12": ">=261.20.4",
15
15
  "@colijnit/ioneconnector": ">=261.1.2",