@colijnit/transaction 261.20.27 → 261.20.28

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 (32) hide show
  1. package/fesm2022/colijnit-transaction.mjs +40552 -39780
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +6568 -6469
  4. package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +54 -0
  5. package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_layout.scss +48 -1
  6. package/lib/component/returns/return-wizard/return-lines-wizard/style/_layout.scss +77 -0
  7. package/lib/component/returns/return-wizard/return-lines-wizard/style/_material-definition.scss +1 -0
  8. package/lib/component/returns/return-wizard/return-lines-wizard/style/_theme.scss +4 -0
  9. package/lib/component/returns/return-wizard/return-lines-wizard/style/material.scss +3 -0
  10. package/lib/component/returns/return-wizard/style/_layout.scss +21 -3
  11. package/lib/component/returns/return-wizard/wizard-return-line-display/style/_layout.scss +7 -0
  12. package/lib/component/returns/return-wizard/wizard-return-line-display/style/_material-definition.scss +1 -0
  13. package/lib/component/returns/return-wizard/wizard-return-line-display/style/_theme.scss +4 -0
  14. package/lib/component/returns/return-wizard/wizard-return-line-display/style/material.scss +3 -0
  15. package/lib/component/returns/return-wizard/wizard-return-line-display-tile/style/_layout.scss +57 -11
  16. package/lib/component/transaction-header-fields/transaction-header-delivery-method-button/style/_layout.scss +2 -2
  17. package/lib/component/transaction-line/transaction-line-label/style/_layout.scss +3 -2
  18. package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +3 -0
  19. package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss +1 -0
  20. package/lib/component/transaction-line-interbranch-receive-goods/style/_layout.scss +78 -78
  21. package/lib/component/transaction-line-interbranch-receive-goods/style/_material-definition.scss +2 -2
  22. package/lib/component/transaction-line-interbranch-receive-goods/style/_theme.scss +4 -4
  23. package/lib/component/transaction-line-interbranch-receive-goods/style/material.scss +4 -4
  24. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_layout.scss +27 -27
  25. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_material-definition.scss +1 -1
  26. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/_theme.scss +4 -4
  27. package/lib/component/transaction-quick-access/transaction-quick-access-interbranch-order-purchase/style/material.scss +4 -4
  28. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_layout.scss +73 -73
  29. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/_theme.scss +6 -6
  30. package/lib/component/transaction-quick-access/transaction-quick-access-interrbranch-received-goods/style/material.scss +4 -4
  31. package/lib/style/transaction-globals.scss +3 -2
  32. package/package.json +3 -3
@@ -28,6 +28,20 @@
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  }
31
+ .with-discount-button {
32
+ display: flex;
33
+ align-items: center;
34
+
35
+ > * {
36
+ flex: 1;
37
+ min-width: 0;
38
+ margin-right: 10px;
39
+
40
+ &:last-child {
41
+ margin-right: 0;
42
+ }
43
+ }
44
+ }
31
45
  .divide-discount-button {
32
46
  border: none;
33
47
  background: transparent;
@@ -105,5 +119,45 @@
105
119
  font-weight: $tp-dialog-transaction-discount-total-font-weight;
106
120
  }
107
121
  }
122
+ .discount-button {
123
+ width: 36px !important;
124
+ height: 36px !important;
125
+ max-width: 36px;
126
+ &.updated {
127
+ background-color: #37c949;
128
+ }
129
+ }
130
+ .discount-codes-modal {
131
+ .co-dialog-wrapper {
132
+ width: 350px !important;
133
+ }
134
+
135
+ .dialog-header-caption {
136
+ display: flex;
137
+ align-items: center;
138
+ gap: 0.5em;
139
+
140
+ co-icon {
141
+ height: 20px;
142
+ width: 20px;
143
+ }
144
+
145
+ .co-dialog-header-title {
146
+ margin: 0;
147
+ }
148
+ }
149
+
150
+ .dialog-content {
151
+ margin-top: 20px;
152
+ }
153
+
154
+ .dialog-footer {
155
+ border: none;
156
+ }
157
+
158
+ co-input-textarea {
159
+ margin-top: 15px;
160
+ }
161
+ }
108
162
  }
109
163
  }
@@ -14,12 +14,59 @@
14
14
  flex-direction: row;
15
15
  column-gap: 10px;
16
16
  > * {
17
- width: 50%;
17
+ width: calc(50% - 5px);
18
+ }
19
+ }
20
+ .two-column-grid-item {
21
+ display: flex;
22
+ align-items: center;
23
+
24
+ div {
25
+ flex: 1;
26
+ min-width: 0;
18
27
  }
19
28
  }
20
29
  .transaction-line-button {
21
30
  margin: 10px 0;
22
31
  }
32
+ .discount-button {
33
+ margin-left: 10px;
34
+ &.updated {
35
+ background-color: #37c949;
36
+ }
37
+ }
38
+ .discount-codes-modal {
39
+ .co-dialog-wrapper {
40
+ width: 350px !important;
41
+ }
42
+
43
+ .dialog-header-caption {
44
+ display: flex;
45
+ align-items: center;
46
+ gap: 0.5em;
47
+
48
+ co-icon {
49
+ height: 20px;
50
+ width: 20px;
51
+ }
52
+
53
+ .co-dialog-header-title {
54
+ margin: 0;
55
+ }
56
+ }
57
+
58
+ .dialog-content {
59
+ margin-top: 20px;
60
+ }
61
+
62
+ .dialog-footer {
63
+ border: none;
64
+ }
65
+
66
+ co-input-textarea {
67
+ margin-top: 15px;
68
+ }
69
+ }
23
70
  .transaction-line-discount-overview {
24
71
  margin: $tp-dialog-transaction-line-discount-overview-margin;
25
72
  border: $tp-dialog-transaction-line-discount-overview-border;
@@ -0,0 +1,77 @@
1
+ @include export-module('co-return-lines-wizard-layout') {
2
+ .co-return-lines-wizard {
3
+ .return-line-wizard-contents {
4
+ display: flex;
5
+ flex-direction: column;
6
+ row-gap: 10px;
7
+
8
+ .lines-wizard-sub-title {
9
+ font-weight: bold;
10
+ }
11
+
12
+ .files-upload {
13
+ display: flex;
14
+
15
+ .co-files-upload {
16
+ width: 100%;
17
+ min-height: 150px;
18
+ overflow-x: auto;
19
+
20
+ .co-drag-drop-container {
21
+ padding-top: 30px;
22
+ position: relative;
23
+ margin-top: 0;
24
+ gap: 5px;
25
+ align-items: flex-start;
26
+
27
+ .add-file {
28
+ position: absolute;
29
+ top: 0;
30
+
31
+ .co-tile-render {
32
+ display: flex;
33
+ align-items: center;
34
+ flex-direction: row-reverse;
35
+
36
+ .add-button {
37
+ position: unset;
38
+ }
39
+ }
40
+
41
+ .description {
42
+ font-weight: bold;
43
+ font-size: 12px;
44
+ }
45
+ }
46
+
47
+ .tile {
48
+ padding: 10px;
49
+ border-radius: 5px;
50
+ border: 1px solid #CCCCCC;
51
+ height: 100%;
52
+
53
+ .info {
54
+ max-width: 100px;
55
+
56
+ .description {
57
+ font-size: 10px;
58
+ display: -webkit-box;
59
+ -webkit-line-clamp: 2;
60
+ -webkit-box-orient: vertical;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ }
64
+ }
65
+
66
+ .trash {
67
+ width: 20px;
68
+ height: 20px;
69
+ padding: 2px;
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-return-lines-wizard-theme') {
2
+ .co-return-lines-wizard-tile {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -1,9 +1,27 @@
1
1
  @include export-module('co-return-wizard-layout') {
2
2
  .co-return-wizard {
3
- .line-selection-navigation-buttons {
3
+ font-family: $tp-co-transaction-search-font-family;
4
+ font-size: $tp-co-transaction-search-font-size;
5
+ .return-wizard-content {
6
+ width: 1000px;
7
+ padding: 20px;
8
+
4
9
  display: flex;
5
- flex-direction: row;
6
- justify-content: space-between;
10
+ flex-direction: column;
11
+ row-gap: 10px;
12
+ .wizard-title {
13
+ font-weight: bold;
14
+ font-size: 14px;
15
+ padding-bottom: 30px;
16
+ }
17
+ .wizard-sub-title {
18
+ font-weight: bold;
19
+ }
20
+ .line-selection-navigation-buttons {
21
+ display: flex;
22
+ flex-direction: row;
23
+ justify-content: space-between;
24
+ }
7
25
  }
8
26
  }
9
27
  }
@@ -0,0 +1,7 @@
1
+ @include export-module('co-wizard-return-line-display-layout') {
2
+ .co-wizard-return-line-display {
3
+ .return-line-display-contents {
4
+ box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.2);
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('co-wizard-return-line-display-theme') {
2
+ .co-wizard-return-line-display {
3
+ }
4
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";
@@ -3,23 +3,69 @@
3
3
  .return-line-tile-contents {
4
4
  display: flex;
5
5
  flex-direction: row;
6
- column-gap: 30px;
7
- .return-line-image-display{
6
+ justify-content: space-between;
7
+ padding: 10px 15px;
8
+ border-color: rgba(0, 0, 0, 0.2);
9
+ border-style: solid;
10
+ border-width: 1px 1px 1px 1px;
11
+ margin-bottom: -1px;
12
+
13
+ .return-line-tile-left-contents {
8
14
  display: flex;
9
- height: 100px;
10
- width: 100px;
11
- justify-content: center;
12
- align-items: center;
13
- }
14
- .return-line-texts {
15
- display: flex;
16
- flex-direction: column;
17
- row-gap: 10px;
15
+ flex-direction: row;
16
+ column-gap: 30px;
17
+ align-items: flex-start;
18
+
19
+ .wizard-line-checkbox {
20
+ padding-top: 15px;
21
+ }
22
+
23
+ .return-line-image-display {
24
+ display: flex;
25
+ height: 100px;
26
+ width: 100px;
27
+ justify-content: flex-start;
28
+ align-items: flex-start;
29
+ }
30
+
31
+ .return-line-texts {
32
+ font-size: 12px;
33
+ left: 200px;
34
+ display: flex;
35
+ flex-direction: column;
36
+ row-gap: 10px;
37
+
38
+ .return-line-description {
39
+ font-weight: 600;
40
+ display: -webkit-box;
41
+ -webkit-line-clamp: 1;
42
+ -webkit-box-orient: vertical;
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ white-space: nowrap;
46
+ max-width: 100%;
47
+ }
48
+
49
+ .return-line-extra-texts {
50
+ display: flex;
51
+ flex-direction: column;
52
+ row-gap: 5px;
53
+ padding-top: 5px;
54
+ }
55
+ }
18
56
  }
57
+
19
58
  .return-line-picker-button {
20
59
  display: flex;
21
60
  flex-direction: row;
22
61
  column-gap: 10px;
62
+ height: 100%;
63
+ align-items: center;
64
+
65
+ .return-amount-picker {
66
+ width: 100px;
67
+ height: 30px;
68
+ }
23
69
  }
24
70
  }
25
71
  }
@@ -9,8 +9,8 @@
9
9
  display: none;
10
10
  }
11
11
  .transaction-inside-label {
12
- font-size: 9px;
13
- top: -10px;
12
+ font-size: 7.5px;
13
+ top: -9px;
14
14
  line-height: 18px;
15
15
  color: #2e3350;
16
16
  padding: 0 5px;
@@ -3,9 +3,9 @@
3
3
  .transaction-inside-label {
4
4
  position: absolute;
5
5
  transform: translateX(-50%);
6
- top: -5px;
6
+ top: -3px;
7
7
  left: 50%;
8
- font-size: 8px;
8
+ font-size: 6.5px;
9
9
  color: #171721;
10
10
  max-width: 100%;
11
11
  text-overflow: ellipsis;
@@ -17,6 +17,7 @@
17
17
  width: auto;
18
18
  text-align: center;
19
19
  font-weight: normal;
20
+ text-transform: uppercase;
20
21
  }
21
22
  }
22
23
 
@@ -13,6 +13,9 @@
13
13
  width: 20px;
14
14
  height: 20px;
15
15
 
16
+ svg {
17
+ fill: $color-user-form-detail;
18
+ }
16
19
  &.final {
17
20
  svg {
18
21
  fill: $color-user-form-detail-final;
@@ -1 +1,2 @@
1
1
  $color-user-form-detail-final: #5FDCB3 !default;
2
+ $color-user-form-detail: #1A73E8 !default;
@@ -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";