@colijnit/transaction 12.1.6 → 12.1.7
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/app/app.component.scss +39 -0
- package/app/component/checkout/checkout/checkout.component.d.ts +2 -0
- package/app/component/checkout/checkout/checkout.component.scss +137 -0
- package/app/component/checkout/checkout-login/checkout-login.component.scss +35 -0
- package/app/component/checkout/checkout-overview/checkout-overview.component.scss +0 -0
- package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.scss +0 -0
- package/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.scss +0 -0
- package/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.scss +3 -0
- package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +1 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_layout.scss +19 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_material-definition.scss +0 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_theme.scss +7 -0
- package/app/component/checkout/checkout-overview-relation-address/style/material.scss +4 -0
- package/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +1 -2
- package/app/component/checkout/checkout-overview-relation-edit/style/_layout.scss +92 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +15 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/_theme.scss +9 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/material.scss +5 -0
- package/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +2 -3
- package/app/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +7 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss +0 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +6 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/material.scss +5 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +5 -9
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +34 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +8 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +6 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +4 -0
- package/app/component/checkout/checkout-transaction/checkout-transaction.component.d.ts +3 -0
- package/app/component/checkout/checkout-transaction/checkout-transaction.component.scss +11 -0
- package/app/component/checkout/ione-checkout.component.d.ts +3 -1
- package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +2 -2
- package/app/component/core/base/style/_layout.scss +7 -0
- package/app/component/core/base/style/_material-definition.scss +0 -0
- package/app/component/core/base/style/_theme.scss +6 -0
- package/app/component/core/base/style/material.scss +4 -0
- package/app/component/core/characteristic-answer/characteristic-answer.component.scss +18 -0
- package/app/component/core/icon/icon.component.scss +85 -0
- package/app/component/core/image-display/image-display.component.d.ts +1 -0
- package/app/component/core/image-display/style/_layout.scss +39 -0
- package/app/component/core/image-display/style/_material-definition.scss +0 -0
- package/app/component/core/image-display/style/_theme.scss +6 -0
- package/app/component/core/image-display/style/material.scss +4 -0
- package/app/component/core/no-image-display/no-image-display.component.scss +0 -0
- package/app/component/core/relation/customer-groups.component.d.ts +13 -0
- package/app/component/core/stock-status-indicator/stock-status-indicator.component.scss +45 -0
- package/app/component/service-order/service-order.component.scss +152 -0
- package/app/component/service-order/summary/transaction-delivery-summary.component.scss +20 -0
- package/app/component/service-order/summary/transaction-summary-block.component.scss +107 -0
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.scss +6 -0
- package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.scss +0 -0
- package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
- package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss +65 -0
- package/app/component/service-order/transaction-manager/transaction-manager.component.scss +52 -0
- package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +88 -0
- package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +83 -0
- package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +24 -0
- package/app/component/service-order/transaction-relation/transaction-relation-edit.component.scss +24 -0
- package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
- package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +17 -0
- package/app/component/service-order/warehouse/warehouse.component.scss +52 -0
- package/app/component/shopping-cart/shopping-cart/shopping-cart.component.scss +79 -0
- package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.scss +107 -0
- package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.scss +52 -0
- package/app/service/ione-connector-adapter.service.d.ts +5 -2
- package/app/service/options.service.d.ts +2 -3
- package/app/service/transaction.service.d.ts +3 -1
- package/bundles/colijnit-transaction.umd.js +282 -187
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +42 -41
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/app/component/checkout/checkout/checkout.component.js +13 -5
- package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +4 -4
- package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +1 -1
- package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
- package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +4 -4
- package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +37 -49
- package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +140 -159
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +16 -19
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +17 -39
- package/esm2015/app/component/checkout/checkout-transaction/checkout-transaction.component.js +7 -5
- package/esm2015/app/component/checkout/ione-checkout.component.js +6 -4
- package/esm2015/app/component/checkout/ione-checkout.module.js +7 -7
- package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +13 -11
- package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +1 -1
- package/esm2015/app/component/core/core.module.js +9 -4
- package/esm2015/app/component/core/icon/icon.component.js +1 -1
- package/esm2015/app/component/core/image-display/image-display.component.js +9 -5
- package/esm2015/app/component/core/relation/customer-groups.component.js +40 -0
- package/esm2015/app/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
- package/esm2015/app/component/service-order/service-order.component.js +1 -1
- package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +1 -1
- package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +3 -3
- package/esm2015/app/component/service-order/warehouse/warehouse.component.js +1 -1
- package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +1 -1
- package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +3 -3
- package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +1 -1
- package/esm2015/app/service/ione-connector-adapter.service.js +16 -2
- package/esm2015/app/service/options.service.js +2 -3
- package/esm2015/app/service/transaction.service.js +25 -13
- package/esm2015/colijnit-transaction.js +43 -42
- package/fesm2015/colijnit-transaction.js +358 -338
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/package.json +3 -4
- package/style/_mixin.scss +9 -0
- package/style/_variables.scss +75 -0
- package/style/styles.scss +367 -0
- package/styles.scss +11 -0
- package/app/enum/direction.enum.d.ts +0 -6
- package/css/styles.css +0 -38
- package/esm2015/app/enum/direction.enum.js +0 -9
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
$size-header-height: 60px;
|
|
2
|
+
$distance-medium: 11px;
|
|
3
|
+
$xs-width: 600px;
|
|
4
|
+
|
|
5
|
+
@mixin screen-xs {
|
|
6
|
+
@media only screen and (max-width: $xs-width - 1) {
|
|
7
|
+
@content;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.overlay-shopping-cart {
|
|
12
|
+
// position: absolute;
|
|
13
|
+
top: $size-header-height;
|
|
14
|
+
right: $distance-medium;
|
|
15
|
+
// border: 3px solid #DBE3E8;
|
|
16
|
+
// background-color: white;
|
|
17
|
+
// height: 0;
|
|
18
|
+
// min-width: 600px;
|
|
19
|
+
// max-width: 90vw;
|
|
20
|
+
//
|
|
21
|
+
&.opened {
|
|
22
|
+
height: 80vh;
|
|
23
|
+
transition: height 600ms ease-in-out;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@include screen-xs() {
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
.constraint {
|
|
33
|
+
//position: relative;
|
|
34
|
+
//min-width: 18.25rem;
|
|
35
|
+
//max-width: 76rem;
|
|
36
|
+
//padding-right: 1rem;
|
|
37
|
+
//padding-left: 1rem;
|
|
38
|
+
//margin: 0 auto;
|
|
39
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
1
2
|
import { StepperSelectionEvent } from "@angular/cdk/stepper";
|
|
2
3
|
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
3
4
|
import { CustomerFullObject } from "@colijnit/transactionapi/build/model/customer-full-object.bo";
|
|
@@ -10,6 +11,7 @@ export declare class CheckoutComponent {
|
|
|
10
11
|
promptService: PromptService;
|
|
11
12
|
overview: CheckoutOverviewComponent;
|
|
12
13
|
stepper: MatStepper;
|
|
14
|
+
transactionFinished: EventEmitter<TransactionInfo>;
|
|
13
15
|
get relation(): CustomerFullObject;
|
|
14
16
|
get transaction(): TransactionInfo;
|
|
15
17
|
get canContinue(): boolean;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
//@import "src/style/variables";
|
|
2
|
+
//@import "src/style/styles";
|
|
3
|
+
//
|
|
4
|
+
//.checkout-viewport {
|
|
5
|
+
// //max-width:60%;
|
|
6
|
+
// //margin-left:20%;
|
|
7
|
+
//}
|
|
8
|
+
//
|
|
9
|
+
//
|
|
10
|
+
////.mat-label {
|
|
11
|
+
//// font-family: Montserrat, Arial, Helvetica, sans-serif;
|
|
12
|
+
////}
|
|
13
|
+
//
|
|
14
|
+
//
|
|
15
|
+
//.default-flex-row {
|
|
16
|
+
// flex-direction: row;
|
|
17
|
+
// box-sizing: border-box;
|
|
18
|
+
// column-gap: 20px;
|
|
19
|
+
// display: flex;
|
|
20
|
+
//}
|
|
21
|
+
//
|
|
22
|
+
//.default-flex-column {
|
|
23
|
+
// display: flex;
|
|
24
|
+
// flex-direction: column;
|
|
25
|
+
// width: 200px;
|
|
26
|
+
//}
|
|
27
|
+
//
|
|
28
|
+
//.checkout-overview h2 {
|
|
29
|
+
// font-size: 18px;
|
|
30
|
+
// font-weight: bold;
|
|
31
|
+
//}
|
|
32
|
+
//
|
|
33
|
+
//.checkout-overview h3 {
|
|
34
|
+
// font-size: 15px;
|
|
35
|
+
//}
|
|
36
|
+
//
|
|
37
|
+
//mat-horizontal-stepper {
|
|
38
|
+
// position: sticky;
|
|
39
|
+
// top: 0;
|
|
40
|
+
// z-index: 30;
|
|
41
|
+
//}
|
|
42
|
+
//
|
|
43
|
+
//::ng-deep .mat-horizontal-content-container {
|
|
44
|
+
// display: none;
|
|
45
|
+
//}
|
|
46
|
+
//
|
|
47
|
+
//.step-content-customer {
|
|
48
|
+
// background-color: white;
|
|
49
|
+
// @extend %flex-column;
|
|
50
|
+
// @extend %padding-big;
|
|
51
|
+
//}
|
|
52
|
+
//
|
|
53
|
+
//.step-content-delivery {
|
|
54
|
+
// background-color: white;
|
|
55
|
+
// @extend %flex-row;
|
|
56
|
+
// // @extend %flex-center;
|
|
57
|
+
// @extend %padding-big;
|
|
58
|
+
//}
|
|
59
|
+
//
|
|
60
|
+
//::ng-deep .step-wrapper {
|
|
61
|
+
// width: auto; //360px;
|
|
62
|
+
// background: rgba(255, 255, 255, 0.25);
|
|
63
|
+
//
|
|
64
|
+
// button-colijn {
|
|
65
|
+
// margin-top: 20px;
|
|
66
|
+
// }
|
|
67
|
+
//
|
|
68
|
+
// &.payment {
|
|
69
|
+
// align-items: center !important;
|
|
70
|
+
// justify-content: left !important;
|
|
71
|
+
// }
|
|
72
|
+
//}
|
|
73
|
+
//
|
|
74
|
+
//.overview-wrapper {
|
|
75
|
+
//}
|
|
76
|
+
//
|
|
77
|
+
//.overview-header {
|
|
78
|
+
// background: rgba(255, 255, 255, 0.25);
|
|
79
|
+
// border-top-left-radius: 5px;
|
|
80
|
+
// border-top-right-radius: 5px;
|
|
81
|
+
//
|
|
82
|
+
// .overview-step-nr {
|
|
83
|
+
// @include square($tp-item-size-very-small);
|
|
84
|
+
// @extend %circle;
|
|
85
|
+
// @extend %action-background;
|
|
86
|
+
// text-align: center;
|
|
87
|
+
// font-weight: bold;
|
|
88
|
+
// }
|
|
89
|
+
//}
|
|
90
|
+
//
|
|
91
|
+
//.overview-body {
|
|
92
|
+
// @extend %padding-very-big;
|
|
93
|
+
// border-bottom-left-radius: 5px;
|
|
94
|
+
// border-bottom-right-radius: 5px;
|
|
95
|
+
//
|
|
96
|
+
// .contact-option-value {
|
|
97
|
+
// align-self: center;
|
|
98
|
+
// }
|
|
99
|
+
//}
|
|
100
|
+
//
|
|
101
|
+
//.overview-header-label {
|
|
102
|
+
// font-weight: bold;
|
|
103
|
+
//}
|
|
104
|
+
//
|
|
105
|
+
//.overview-label {
|
|
106
|
+
// font-weight: bold;
|
|
107
|
+
//}
|
|
108
|
+
//
|
|
109
|
+
//ul.cart-buttons {
|
|
110
|
+
// display: flex;
|
|
111
|
+
// justify-content: space-between;
|
|
112
|
+
// @extend %margin-vertical-big;
|
|
113
|
+
// flex-wrap: nowrap;
|
|
114
|
+
// list-style-type: none;
|
|
115
|
+
//
|
|
116
|
+
// > li {
|
|
117
|
+
// display: flex;
|
|
118
|
+
// align-items: center;
|
|
119
|
+
// justify-content: center;
|
|
120
|
+
// flex-grow: 0;
|
|
121
|
+
// flex-shrink: 0;
|
|
122
|
+
// width: fit-content;
|
|
123
|
+
// @extend %padding-horizontal-medium;
|
|
124
|
+
// height: 40px;
|
|
125
|
+
// background-color: $tp-color-less-light;
|
|
126
|
+
// cursor: pointer;
|
|
127
|
+
// font-size: 15px;
|
|
128
|
+
// color: $tp-color-action;
|
|
129
|
+
// border: 1px solid $tp-color-border;
|
|
130
|
+
// border-radius: 5px;
|
|
131
|
+
// opacity: 1;
|
|
132
|
+
//
|
|
133
|
+
// a {
|
|
134
|
+
// white-space: nowrap;
|
|
135
|
+
// }
|
|
136
|
+
// }
|
|
137
|
+
//}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.users {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
|
|
5
|
+
co-form {
|
|
6
|
+
width: 50%;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.existing-user {
|
|
11
|
+
padding-right: 2rem;
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
border-right: 1px solid #aaa;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.new-user {
|
|
17
|
+
padding-left: 2rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.new-user-e-mail {
|
|
21
|
+
padding-top: 2.6rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.boxedbottom {
|
|
25
|
+
margin-bottom: .5rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.login-button {
|
|
29
|
+
display:flex;
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
|
|
32
|
+
co-button {
|
|
33
|
+
margin-right: 10px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -9,6 +9,7 @@ export declare class CheckoutOverviewRelationAddressComponent implements OnInit
|
|
|
9
9
|
label: string;
|
|
10
10
|
set address(address: Address);
|
|
11
11
|
get address(): Address;
|
|
12
|
+
showClass(): boolean;
|
|
12
13
|
countries: Country[];
|
|
13
14
|
fields: Object;
|
|
14
15
|
constructor(_dictionary: DictionaryService, _connector: IOneConnectorAdapterService);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@import "../../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-checkout-overview-relation-address-layout') {
|
|
4
|
+
.co-checkout-overview-relation-address {
|
|
5
|
+
font-family: $tp-checkout-font-family;
|
|
6
|
+
.checkout-data-row {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
row-gap: $tp-checkout-default-padding;
|
|
11
|
+
column-gap: $tp-checkout-default-padding;
|
|
12
|
+
&.default {
|
|
13
|
+
.form-input {
|
|
14
|
+
flex: 1;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
package/app/component/checkout/checkout-overview-relation-address/style/_material-definition.scss
ADDED
|
File without changes
|
|
@@ -9,17 +9,16 @@ import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum
|
|
|
9
9
|
import { TransactionService } from "../../../service/transaction.service";
|
|
10
10
|
import { FormComponent } from "@colijnit/corecomponents_v12";
|
|
11
11
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
12
|
-
import { CoSidebarComponent } from "@colijnit/corecomponents_v12";
|
|
13
12
|
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
14
13
|
export declare class CheckoutOverviewRelationEditComponent implements OnInit, AfterViewInit {
|
|
15
14
|
private _changeDetector;
|
|
16
15
|
private _transactionService;
|
|
17
16
|
relationForm: FormComponent;
|
|
18
|
-
relationSidebar: CoSidebarComponent;
|
|
19
17
|
set relation(value: RelationAnyType);
|
|
20
18
|
transaction: TransactionInfo;
|
|
21
19
|
validSubmit: EventEmitter<void>;
|
|
22
20
|
invalidSubmit: EventEmitter<void>;
|
|
21
|
+
showClass(): boolean;
|
|
23
22
|
testje: boolean;
|
|
24
23
|
dateOfBirth: Date;
|
|
25
24
|
accountPassword: string;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@import "../../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-checkout-overview-relation-edit-layout') {
|
|
4
|
+
.co-checkout-overview-relation-edit {
|
|
5
|
+
font-family: $tp-checkout-font-family;
|
|
6
|
+
font-size: $tp-font-size;
|
|
7
|
+
.checkout-form-wrapper {
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-template-columns: minmax(170px, 250px) auto;
|
|
10
|
+
grid-template-areas: "columnlabel columndata";
|
|
11
|
+
grid-row-gap: 50px;
|
|
12
|
+
}
|
|
13
|
+
.checkout-label-column {
|
|
14
|
+
font-family: $tp-checkout-label-column-font-family;
|
|
15
|
+
font-size: $tp-checkout-label-fontsize;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
grid-area: columnlabel;
|
|
19
|
+
grid-column-start: 1;
|
|
20
|
+
grid-row: auto;
|
|
21
|
+
align-self: baseline;
|
|
22
|
+
.label-description {
|
|
23
|
+
margin-top: 10px;
|
|
24
|
+
font-size: $tp-checkout-label-description-fontsize;
|
|
25
|
+
}
|
|
26
|
+
.label {
|
|
27
|
+
font-weight: $tp-checkout-label-fontweight;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.checkout-data-column {
|
|
32
|
+
grid-area: columndata;
|
|
33
|
+
grid-column-start: 2;
|
|
34
|
+
grid-row: auto;
|
|
35
|
+
}
|
|
36
|
+
.default-width {
|
|
37
|
+
width: $tp-radio-button-width;
|
|
38
|
+
}
|
|
39
|
+
.checkout-first-name {
|
|
40
|
+
flex-basis: $tp-checkout-first-name-width;
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
}
|
|
43
|
+
.checkout-prefix-name {
|
|
44
|
+
flex-basis: $tp-checkout-prefix-width;
|
|
45
|
+
}
|
|
46
|
+
.checkout-last-name {
|
|
47
|
+
flex-shrink: 1;
|
|
48
|
+
flex-grow: 3;
|
|
49
|
+
min-width: 200px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.checkout-data-row {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: row;
|
|
55
|
+
flex-wrap: wrap;
|
|
56
|
+
row-gap: $tp-checkout-default-padding;
|
|
57
|
+
column-gap: $tp-checkout-default-padding;
|
|
58
|
+
}
|
|
59
|
+
.collapseable {
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
}
|
|
62
|
+
.two-column-grid {
|
|
63
|
+
display: grid;
|
|
64
|
+
grid-template-areas: "firstcolumn secondcolumn";
|
|
65
|
+
.first-column {
|
|
66
|
+
grid-area: firstcolumn;
|
|
67
|
+
grid-row: auto;
|
|
68
|
+
}
|
|
69
|
+
.second-column {
|
|
70
|
+
grid-area: secondcolumn;
|
|
71
|
+
grid-row: auto;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.suggestions-sidebar {
|
|
75
|
+
position: fixed;
|
|
76
|
+
top: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
width: $tp-checkout-suggestion-list-sidebar-width;
|
|
79
|
+
height: 100%;
|
|
80
|
+
background: $tp-checkout-suggestion-list-sidebar-background-color;
|
|
81
|
+
box-shadow: $tp-checkout-suggestion-list-sidebar-boxshadow;
|
|
82
|
+
}
|
|
83
|
+
.relation-sidebar-header {
|
|
84
|
+
padding: $tp-checkout-suggestion-list-label-padding;
|
|
85
|
+
margin: $tp-checkout-suggestion-list-label-margin;
|
|
86
|
+
}
|
|
87
|
+
.checkout-label-h3 {
|
|
88
|
+
font-size: $tp-checkout-suggestion-list-label-fontsize;
|
|
89
|
+
font-weight: $tp-checkout-suggestion-list-label-fontweight;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
$tp-checkout-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-checkout-label-column-font-family: $tp-checkout-font-family !default;
|
|
3
|
+
$tp-checkout-first-name-width: 200px !default;
|
|
4
|
+
$tp-checkout-prefix-width: 50px !default;
|
|
5
|
+
$tp-checkout-label-sequence-fontsize: $tp-font-size !default;
|
|
6
|
+
$tp-checkout-label-description-fontsize: $tp-font-size-small !default;
|
|
7
|
+
$tp-checkout-label-fontsize: $tp-font-size !default;
|
|
8
|
+
$tp-checkout-label-fontweight: bold !default;
|
|
9
|
+
$tp-checkout-suggestion-list-sidebar-width: 300px !default;
|
|
10
|
+
$tp-checkout-suggestion-list-sidebar-background-color: white !default;
|
|
11
|
+
$tp-checkout-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
|
|
12
|
+
$tp-checkout-suggestion-list-label-fontsize: $tp-font-size !default;
|
|
13
|
+
$tp-checkout-suggestion-list-label-fontweight: bold !default;
|
|
14
|
+
$tp-checkout-suggestion-list-label-padding: 5px !default;
|
|
15
|
+
$tp-checkout-suggestion-list-label-margin: 5px !default;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
3
|
-
import { Direction } from "../../../enum/direction.enum";
|
|
4
3
|
export declare class CheckOutRelationSuggestionsListComponent {
|
|
5
4
|
suggestions: RelationListObject[];
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
suggestionSelected: EventEmitter<RelationListObject>;
|
|
6
|
+
showClass(): boolean;
|
|
8
7
|
}
|
package/app/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss
ADDED
|
File without changes
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
3
|
-
|
|
4
|
-
export declare class CheckOutRelationSuggestionsListItemComponent implements OnInit {
|
|
3
|
+
export declare class CheckOutRelationSuggestionsListItemComponent {
|
|
5
4
|
suggestion: RelationListObject;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
constructor();
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
private _updateIcon;
|
|
5
|
+
selectionSelected: EventEmitter<RelationListObject>;
|
|
6
|
+
showClass(): boolean;
|
|
7
|
+
handleClick(event: MouseEvent): void;
|
|
12
8
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import "../../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-checkout-relation-suggestions-list-item-layout') {
|
|
4
|
+
.co-checkout-relation-suggestions-list-item {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
padding: $tp-checkout-suggestions-padding;
|
|
11
|
+
background-color: $tp-checkout-suggestions-background-color;
|
|
12
|
+
border: 1px solid $tp-checkout-suggestions-border-color;
|
|
13
|
+
border-radius: 5px;
|
|
14
|
+
margin: 5px;
|
|
15
|
+
max-width: $tp-checkout-suggestions-max-width;
|
|
16
|
+
|
|
17
|
+
.name {
|
|
18
|
+
font-weight: $tp-checkout-suggestions-name-fontweight;
|
|
19
|
+
font-size: $tp-checkout-suggestions-name-fontsize;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.email, .address, .phone {
|
|
23
|
+
color: $tp-color-text-grey;
|
|
24
|
+
font-size: $tp-checkout-suggestions-fontsize;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
background-color: $tp-checkout-suggestions-hover-color;
|
|
29
|
+
co-button.popup {
|
|
30
|
+
visibility: visible;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
$tp-checkout-suggestions-padding: 11px !default;
|
|
2
|
+
$tp-checkout-suggestions-background-color: $tp-color-light !default;
|
|
3
|
+
$tp-checkout-suggestions-border-color: $tp-color-light-accent !default;
|
|
4
|
+
$tp-checkout-suggestions-max-width: 250px !default;
|
|
5
|
+
$tp-checkout-suggestions-hover-color: $tp-color-hover !default;
|
|
6
|
+
$tp-checkout-suggestions-name-fontsize: $tp-font-size !default;
|
|
7
|
+
$tp-checkout-suggestions-fontsize: $tp-font-size !default;
|
|
8
|
+
$tp-checkout-suggestions-name-fontweight: bold !default;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { CheckoutComponent } from "../checkout/checkout.component";
|
|
2
|
+
import { EventEmitter } from "@angular/core";
|
|
2
3
|
import { TransactionService } from "../../../service/transaction.service";
|
|
4
|
+
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
3
5
|
export declare class CheckoutTransactionComponent {
|
|
4
6
|
service: TransactionService;
|
|
5
7
|
checkout: CheckoutComponent;
|
|
8
|
+
transactionFinished: EventEmitter<TransactionInfo>;
|
|
6
9
|
get canPrevious(): boolean;
|
|
7
10
|
get canContinue(): boolean;
|
|
8
11
|
get started(): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { OptionsService } from "../../service/options.service";
|
|
3
3
|
import { TransactionService } from "../../service/transaction.service";
|
|
4
4
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
@@ -6,6 +6,7 @@ import { IOneConnectorAdapterService } from "../../service/ione-connector-adapte
|
|
|
6
6
|
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
7
7
|
import { PromptService } from "@colijnit/corecomponents_v12";
|
|
8
8
|
import { CheckoutLoginComponent } from "./checkout-login/checkout-login.component";
|
|
9
|
+
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
9
10
|
export declare class IoneCheckoutComponent implements OnInit, OnDestroy {
|
|
10
11
|
_changeDetector: ChangeDetectorRef;
|
|
11
12
|
_optionsService: OptionsService;
|
|
@@ -18,6 +19,7 @@ export declare class IoneCheckoutComponent implements OnInit, OnDestroy {
|
|
|
18
19
|
checkoutLogin: CheckoutLoginComponent;
|
|
19
20
|
set options(value: any);
|
|
20
21
|
set applicationUser(value: boolean);
|
|
22
|
+
transactionFinished: EventEmitter<TransactionInfo>;
|
|
21
23
|
get transactionNr(): number;
|
|
22
24
|
get applicationUser(): boolean;
|
|
23
25
|
upAndLoaded: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { ButtonComponent } from "@colijnit/corecomponents_v12";
|
|
3
3
|
export declare class DefaultOkCancelButtonsComponent {
|
|
4
|
+
okButtonComp: ButtonComponent;
|
|
4
5
|
okDisabled: boolean;
|
|
5
6
|
hideCancel: boolean;
|
|
6
7
|
hideOk: boolean;
|
|
7
8
|
okLabel: string;
|
|
8
9
|
okClick: EventEmitter<MouseEvent>;
|
|
9
10
|
cancelClick: EventEmitter<MouseEvent>;
|
|
10
|
-
|
|
11
|
-
constructor();
|
|
11
|
+
showClass(): boolean;
|
|
12
12
|
onOkClick(event: MouseEvent): void;
|
|
13
13
|
}
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import "src/style/variables";
|
|
2
|
+
@import "src/style/styles";
|
|
3
|
+
|
|
4
|
+
.characteristic-title {
|
|
5
|
+
font-weight: bold;
|
|
6
|
+
font-size: 20px;
|
|
7
|
+
margin-right: 10px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.characteristic-value {
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
font-size: 20px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.characteristic-header {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
}
|