@colijnit/transaction 254.1.17 → 254.1.18
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/bundles/colijnit-transaction.umd.js +81 -15
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/core/base/transaction-payment-base.component.js +3 -3
- package/esm2015/lib/component/service-wizard-qa/question-answer-item/question-answer-item.component.js +24 -22
- package/esm2015/lib/component/service-wizard-qa/question-answer-item/question-answer-item.module.js +4 -3
- package/esm2015/lib/component/transaction-create-wizard/transaction-create-wizard.component.js +8 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-create-service.component.js +5 -2
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-relation.component.js +64 -5
- package/esm2015/lib/component/transaction-header/transaction-header-popup/transaction-header-popup-service-fields.component.js +2 -2
- package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +5 -3
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.component.js +2 -1
- package/esm2015/lib/service/transaction-connector-adapter.service.js +13 -1
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction.service.js +18 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +144 -36
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/payment/style/_layout.scss +1 -0
- package/lib/component/service-wizard-qa/question-answer-item/style/_layout.scss +14 -3
- package/lib/component/transaction-cash-register-order/transaction-cash-register-payment-dialog/style/_layout.scss +1 -0
- package/lib/component/transaction-create-wizard/transaction-create-wizard.component.d.ts +1 -1
- package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +96 -1
- package/lib/component/transaction-service-overview/style/_layout.scss +45 -19
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
- package/lib/service/transaction-connector.service.d.ts +2 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/package.json +3 -3
|
@@ -7,7 +7,17 @@
|
|
|
7
7
|
width: 100%;
|
|
8
8
|
margin-top: $tp-co-purchase-confirmation-drag-handle-width;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
.answer-items-wrapper {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 10px;
|
|
14
|
+
.co-input-checkbox {
|
|
15
|
+
.checkbox {
|
|
16
|
+
background-color: #F8F8FA;
|
|
17
|
+
border-color: #F8F8FA;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
.answer-item {
|
|
12
22
|
padding: 20px $tp-co-purchase-confirmation-column-gap;
|
|
13
23
|
border-radius: 5px;
|
|
@@ -16,9 +26,10 @@
|
|
|
16
26
|
.link {
|
|
17
27
|
display: inline-block;
|
|
18
28
|
margin-left: $tp-co-purchase-confirmation-drag-handle-width;
|
|
19
|
-
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
font-style: italic;
|
|
31
|
+
color: #1a73e8;
|
|
20
32
|
cursor: pointer;
|
|
21
|
-
|
|
22
33
|
&:hover {
|
|
23
34
|
text-decoration: underline;
|
|
24
35
|
}
|
|
@@ -39,7 +39,7 @@ export declare class TransactionCreateWizardComponent implements OnInit {
|
|
|
39
39
|
handleTransactionValidation(): Promise<boolean>;
|
|
40
40
|
handleWizardValidation(): Promise<boolean>;
|
|
41
41
|
handleServiceInfoValidation(): Promise<boolean>;
|
|
42
|
-
wizardFinished(): void
|
|
42
|
+
wizardFinished(): Promise<void>;
|
|
43
43
|
private _validateForArticleTransaction;
|
|
44
44
|
private _processExternalTransactionLine;
|
|
45
45
|
}
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
.create-via-transaction {
|
|
568
568
|
display: flex;
|
|
569
569
|
flex-direction: column;
|
|
570
|
-
gap:
|
|
570
|
+
gap: 15px;
|
|
571
571
|
width: 100%;
|
|
572
572
|
|
|
573
573
|
.create-via-transaction-result-display {
|
|
@@ -594,4 +594,99 @@
|
|
|
594
594
|
padding-top: 30px;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
+
.service-read-only-wrapper {
|
|
598
|
+
display: flex;
|
|
599
|
+
flex-direction: column;
|
|
600
|
+
gap: 30px;
|
|
601
|
+
margin-bottom: 30px;
|
|
602
|
+
}
|
|
603
|
+
.service-data-read-only {
|
|
604
|
+
display: flex;
|
|
605
|
+
flex-direction: column;
|
|
606
|
+
gap: 20px;
|
|
607
|
+
.row, .double-column {
|
|
608
|
+
display: flex;
|
|
609
|
+
align-items: center;
|
|
610
|
+
gap: 30px;
|
|
611
|
+
justify-content: space-between;
|
|
612
|
+
flex: 1;
|
|
613
|
+
.column {
|
|
614
|
+
display: flex;
|
|
615
|
+
flex-direction: column;
|
|
616
|
+
flex: 1;
|
|
617
|
+
gap: 5px;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
.label {
|
|
621
|
+
color: #8083A3;
|
|
622
|
+
font-size: 10px;
|
|
623
|
+
}
|
|
624
|
+
.value {
|
|
625
|
+
font-weight: normal;
|
|
626
|
+
font-size: 12px;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
.service-data-header {
|
|
630
|
+
display: flex;
|
|
631
|
+
gap: 30px;
|
|
632
|
+
align-items: center;
|
|
633
|
+
.data-description {
|
|
634
|
+
font-size: 14px;
|
|
635
|
+
}
|
|
636
|
+
.toggle-change {
|
|
637
|
+
font-weight: 600;
|
|
638
|
+
font-style: italic;
|
|
639
|
+
color: #1a73e8;
|
|
640
|
+
cursor: pointer;
|
|
641
|
+
&:hover {
|
|
642
|
+
text-decoration: underline;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
.files-upload {
|
|
647
|
+
.co-files-upload {
|
|
648
|
+
.co-drag-drop-container {
|
|
649
|
+
padding-top: 40px;
|
|
650
|
+
position: relative;
|
|
651
|
+
margin-top: 30px;
|
|
652
|
+
.add-file {
|
|
653
|
+
position: absolute;
|
|
654
|
+
top: 0;
|
|
655
|
+
.co-tile-render {
|
|
656
|
+
display: flex;
|
|
657
|
+
align-items: center;
|
|
658
|
+
flex-direction: row-reverse;
|
|
659
|
+
.add-button {
|
|
660
|
+
position: unset;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
.description {
|
|
664
|
+
font-weight: bold;
|
|
665
|
+
font-size: 12px;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
.tile {
|
|
669
|
+
padding: 10px;
|
|
670
|
+
border-radius: 5px;
|
|
671
|
+
border: 2px solid #DCE4EA;
|
|
672
|
+
.info {
|
|
673
|
+
max-width: 100px;
|
|
674
|
+
.description {
|
|
675
|
+
font-size: 10px;
|
|
676
|
+
display: -webkit-box;
|
|
677
|
+
-webkit-line-clamp: 2;
|
|
678
|
+
-webkit-box-orient: vertical;
|
|
679
|
+
overflow: hidden;
|
|
680
|
+
text-overflow: ellipsis;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
.trash {
|
|
684
|
+
width: 20px;
|
|
685
|
+
height: 20px;
|
|
686
|
+
padding: 2px;
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
597
692
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
flex-direction: row;
|
|
18
18
|
gap: 30px;
|
|
19
19
|
.service-message-wrapper {
|
|
20
|
-
width:
|
|
20
|
+
width: 65%;
|
|
21
21
|
display: flex;
|
|
22
22
|
flex-direction: column;
|
|
23
23
|
gap: 10px;
|
|
@@ -37,32 +37,58 @@
|
|
|
37
37
|
gap: 10px;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
+
|
|
40
41
|
.co-files-upload {
|
|
41
|
-
width:
|
|
42
|
+
width: 35%;
|
|
42
43
|
min-height: auto;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
overflow-x: auto;
|
|
45
|
+
.co-drag-drop-container {
|
|
46
|
+
padding-top: 30px;
|
|
47
|
+
position: relative;
|
|
48
|
+
margin-top: 0;
|
|
49
|
+
gap: 5px;
|
|
50
|
+
align-items: flex-start;
|
|
51
|
+
.add-file {
|
|
52
|
+
position: absolute;
|
|
53
|
+
top: 0;
|
|
54
|
+
.co-tile-render {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
flex-direction: row-reverse;
|
|
58
|
+
.add-button {
|
|
59
|
+
position: unset;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.description {
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
font-size: 12px;
|
|
53
65
|
}
|
|
66
|
+
}
|
|
67
|
+
.tile {
|
|
68
|
+
padding: 10px;
|
|
69
|
+
border-radius: 5px;
|
|
70
|
+
border: 1px solid #CCCCCC;
|
|
71
|
+
height: 100%;
|
|
54
72
|
.info {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
73
|
+
max-width: 100px;
|
|
74
|
+
.description {
|
|
75
|
+
font-size: 10px;
|
|
76
|
+
display: -webkit-box;
|
|
77
|
+
-webkit-line-clamp: 2;
|
|
78
|
+
-webkit-box-orient: vertical;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
text-overflow: ellipsis;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.trash {
|
|
84
|
+
width: 20px;
|
|
85
|
+
height: 20px;
|
|
86
|
+
padding: 2px;
|
|
59
87
|
}
|
|
60
88
|
}
|
|
61
89
|
}
|
|
62
|
-
.co-drag-drop-container {
|
|
63
|
-
gap: 15px;
|
|
64
|
-
}
|
|
65
90
|
}
|
|
91
|
+
|
|
66
92
|
.image-display {
|
|
67
93
|
width: 20%;
|
|
68
94
|
}
|
|
@@ -173,6 +173,7 @@ import { ServiceWizard } from "@colijnit/transactionapi/build/model/service-wiza
|
|
|
173
173
|
import { ServiceType } from "@colijnit/transactionapi/build/model/service-type";
|
|
174
174
|
import { AddHeaderImageRequest } from "@colijnit/transactionapi/build/model/add-header-image-request";
|
|
175
175
|
import { DeleteHeaderImageRequest } from "@colijnit/transactionapi/build/model/delete-header-image-request";
|
|
176
|
+
import { ChangeServiceHeaderCauseCodeRequest } from "@colijnit/transactionapi/build/model/change-service-headercause-code-request";
|
|
176
177
|
export declare class TransactionConnectorAdapterService {
|
|
177
178
|
private _optionsService;
|
|
178
179
|
private _selectMultipleCacheService;
|
|
@@ -313,6 +314,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
313
314
|
changeHeaderAutoRecalculateDeposit(uuid: string, newAutoRecalculateDeposit: boolean): Promise<TransactionInfoResponse>;
|
|
314
315
|
changeHeaderUseDepositRule(uuid: string, newUseDepositRule: boolean): Promise<TransactionInfoResponse>;
|
|
315
316
|
changeServiceHeaderReportMessage(request: ChangeServiceHeaderReportMessageRequest): Promise<TransactionInfoResponse>;
|
|
317
|
+
changeServiceHeaderCauseCode(request: ChangeServiceHeaderCauseCodeRequest): Promise<TransactionInfoResponse>;
|
|
316
318
|
addHeaderImage(request: AddHeaderImageRequest): Promise<TransactionInfoResponse>;
|
|
317
319
|
deleteHeaderImage(request: DeleteHeaderImageRequest): Promise<TransactionInfoResponse>;
|
|
318
320
|
changeTransactionLineCollectionCode(uuid: string, lineUuid: string, code: string): Promise<TransactionInfoResponse>;
|
|
@@ -160,6 +160,7 @@ import { ServiceWizard } from "@colijnit/transactionapi/build/model/service-wiza
|
|
|
160
160
|
import { ServiceType } from "@colijnit/transactionapi/build/model/service-type";
|
|
161
161
|
import { AddHeaderImageRequest } from "@colijnit/transactionapi/build/model/add-header-image-request";
|
|
162
162
|
import { DeleteHeaderImageRequest } from "@colijnit/transactionapi/build/model/delete-header-image-request";
|
|
163
|
+
import { ChangeServiceHeaderCauseCodeRequest } from "@colijnit/transactionapi/build/model/change-service-headercause-code-request";
|
|
163
164
|
export declare class TransactionConnectorService {
|
|
164
165
|
private _adapterService;
|
|
165
166
|
private _selectSingleCacheService;
|
|
@@ -296,6 +297,7 @@ export declare class TransactionConnectorService {
|
|
|
296
297
|
changeHeaderAutoRecalculateDeposit(uuid: string, newAutoRecalculateDeposit: any): Promise<TransactionInfoResponse>;
|
|
297
298
|
changeHeaderUseDepositRule(uuid: string, newUseDepositRule: boolean): Promise<TransactionInfoResponse>;
|
|
298
299
|
changeServiceHeaderReportMessage(request: ChangeServiceHeaderReportMessageRequest): Promise<TransactionInfoResponse>;
|
|
300
|
+
changeServiceHeaderCauseCode(request: ChangeServiceHeaderCauseCodeRequest): Promise<TransactionInfoResponse>;
|
|
299
301
|
addHeaderImage(request: AddHeaderImageRequest): Promise<TransactionInfoResponse>;
|
|
300
302
|
deleteHeaderImage(request: DeleteHeaderImageRequest): Promise<TransactionInfoResponse>;
|
|
301
303
|
createIonePaymentLinkAndQRCode(uuid: string, amount: number, paymentMethodCode: string): Promise<CreatePaymentLinkResult>;
|
|
@@ -192,6 +192,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
192
192
|
updateHeaderTransactionExpectedScoringDate(request: ChangeHeaderExpectedScoringDateRequest, saveTransaction: boolean): Promise<boolean>;
|
|
193
193
|
updateHeaderTransactionRetailStadium(request: ChangeHeaderRetailStadiumRequest, saveTransaction: boolean): Promise<boolean>;
|
|
194
194
|
updateServiceHeaderReportMessage(message: string, saveTransaction: boolean): Promise<boolean>;
|
|
195
|
+
updateServiceHeaderCauseCode(code: string, saveTransaction: boolean): Promise<boolean>;
|
|
195
196
|
addHeaderImage(image: CoDocument, saveTransaction: boolean): Promise<boolean>;
|
|
196
197
|
deleteHeaderImage(image: CoDocument, saveTransaction: boolean): Promise<boolean>;
|
|
197
198
|
updatePriceTransactionLine(uuid: string, lineUuid: string, price: number): Promise<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "254.1.
|
|
3
|
+
"version": "254.1.18",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"@colijnit/relation": ">=254.1.1",
|
|
20
20
|
"@colijnit/relationapi": ">=254.1.1",
|
|
21
21
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
22
|
-
"@colijnit/sharedcomponents": ">=254.1.
|
|
23
|
-
"@colijnit/transactionapi": ">=254.1.
|
|
22
|
+
"@colijnit/sharedcomponents": ">=254.1.6",
|
|
23
|
+
"@colijnit/transactionapi": ">=254.1.10",
|
|
24
24
|
"@types/three": ">=0.125.0",
|
|
25
25
|
"@tweenjs/tween.js": ">=17.2.0",
|
|
26
26
|
"three": ">=0.125.0",
|