@colijnit/transaction 12.1.158 → 12.1.159
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 +23 -17
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +10 -14
- package/esm2015/lib/service/transaction-base.service.js +4 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +10 -5
- package/esm2015/lib/service/transaction-connector.service.js +5 -5
- package/esm2015/lib/service/transaction.service.js +3 -3
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +29 -28
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/style/_layout.scss +31 -2
- package/lib/component/checkout/style/_material-definition.scss +1 -0
- package/lib/service/transaction-base.service.d.ts +1 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -2
- package/lib/service/transaction-connector.service.d.ts +2 -2
- package/lib/service/transaction.service.d.ts +1 -1
- package/lib/style/_variables.scss +8 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.co-stepper-content-wrapper {
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: row;
|
|
10
|
-
flex-wrap:
|
|
10
|
+
flex-wrap: nowrap;
|
|
11
11
|
column-gap: $tp-checkout-column-gap;
|
|
12
12
|
padding: $tp-checkout-padding;
|
|
13
13
|
}
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
flex-basis: $tp-checkout-right-panel-width;
|
|
25
25
|
flex-grow: 1;
|
|
26
26
|
flex-shrink: 1;
|
|
27
|
-
max-width: $tp-checkout-max-width;
|
|
27
|
+
max-width: $tp-checkout-right-panel-max-width;
|
|
28
|
+
width: 100%;
|
|
28
29
|
.cart-header-label {
|
|
29
30
|
display: none;
|
|
30
31
|
}
|
|
@@ -103,6 +104,34 @@
|
|
|
103
104
|
flex: 1;
|
|
104
105
|
width: 100%;
|
|
105
106
|
}
|
|
107
|
+
co-transaction-header-delivery-method {
|
|
108
|
+
max-width: $tp-checkout-transaction-delivery-method-carousel-max-width;
|
|
109
|
+
.co-carousel {
|
|
110
|
+
.carousel-navigate-button {
|
|
111
|
+
&.right {
|
|
112
|
+
right: $tp-checkout-transaction-delivery-method-carousel-button-right;
|
|
113
|
+
}
|
|
114
|
+
.carousel-navigate-button-wrapper {
|
|
115
|
+
width: $tp-checkout-transaction-delivery-method-carousel-button-size;
|
|
116
|
+
height: $tp-checkout-transaction-delivery-method-carousel-button-size;
|
|
117
|
+
box-shadow: $tp-checkout-transaction-delivery-method-carousel-button-shadow;
|
|
118
|
+
svg {
|
|
119
|
+
width: $tp-checkout-transaction-delivery-method-carousel-button-svg-size;
|
|
120
|
+
height: $tp-checkout-transaction-delivery-method-carousel-button-svg-size;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
.collapsible-header-start, .collapsible-header-end {
|
|
127
|
+
align-items: center;
|
|
128
|
+
}
|
|
129
|
+
.co-transaction-header-definitive {
|
|
130
|
+
margin: $tp-checkout-transaction-header-definitive-margin;
|
|
131
|
+
}
|
|
132
|
+
.co-radio-button {
|
|
133
|
+
border-width: $cc-radio-button-border-width;
|
|
134
|
+
}
|
|
106
135
|
}
|
|
107
136
|
.collapseable {
|
|
108
137
|
overflow: hidden;
|
|
@@ -4,6 +4,7 @@ $tp-checkout-column-gap: 30px !default;
|
|
|
4
4
|
$tp-checkout-row-gap: 10px !default;
|
|
5
5
|
$tp-checkout-default-width: 55% !default;
|
|
6
6
|
$tp-checkout-max-width: calc(100% - 450px) !default;
|
|
7
|
+
$tp-checkout-right-panel-max-width: 450px !default;
|
|
7
8
|
$tp-checkout-wrapper-max-width: 1340px !default;
|
|
8
9
|
$tp-checkout-right-panel-row-gap: 15px !default;
|
|
9
10
|
$tp-checkout-right-panel-width: 400px !default;
|
|
@@ -110,7 +110,7 @@ export declare class TransactionBaseService extends BaseModuleService {
|
|
|
110
110
|
searchTransactions(request: TransactionSearchViewRequest): Promise<TransactionSearchResult>;
|
|
111
111
|
getTransactionById(transactionId: number): Promise<void>;
|
|
112
112
|
getTransactionByNrAndKind(transactionNr: number, transactionKind: TransactionKind): Promise<void>;
|
|
113
|
-
getWebSessionSalesOrder(): Promise<void>;
|
|
113
|
+
getWebSessionSalesOrder(transactionUuid: string): Promise<void>;
|
|
114
114
|
tryToLockTransaction(id: number, version: number, secondAttempt?: boolean): Promise<boolean>;
|
|
115
115
|
getTransactionInfo(transId: number, lineId: number): Promise<TransactionInfoHistory[]>;
|
|
116
116
|
getRefTransactions(transId: number): Promise<RefTransaction[]>;
|
|
@@ -154,7 +154,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
154
154
|
getArticleBoundTextLinesOfArticleLine(articleLineUuid: string): Promise<TransactionLineInfo[]>;
|
|
155
155
|
getTransactionByNrAndKind(kind: TransactionKind, transactionNo: number): Promise<TransactionInfoResponse>;
|
|
156
156
|
getTransactionById(transactionId: number): Promise<TransactionInfoResponse>;
|
|
157
|
-
getWebSessionSalesOrder(): Promise<TransactionInfoResponse>;
|
|
157
|
+
getWebSessionSalesOrder(transactionUuid: string): Promise<TransactionInfoResponse>;
|
|
158
158
|
deleteTransactionByUuId(uuid: string): Promise<TransactionInfoResponse>;
|
|
159
159
|
lockTransactionById(transactionId: number, version: number): Promise<TransactionLockResult>;
|
|
160
160
|
getCashRegisters(branch?: string, group?: number): Promise<CashRegister[]>;
|
|
@@ -195,7 +195,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
195
195
|
setRelationByUser(uuid: string, username: string, password: string): Promise<boolean>;
|
|
196
196
|
resolvePendingHeaderReason(pendingHeaderValues: ResolveHeaderPendingReasonRequest): Promise<TransactionInfoResponse>;
|
|
197
197
|
resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<TransactionInfoResponse>;
|
|
198
|
-
addWebSessionTransactionLine(articleNumber: string, quantity: number): Promise<TransactionInfoResponse>;
|
|
198
|
+
addWebSessionTransactionLine(transactionUuid: string, articleNumber: string, quantity: number): Promise<TransactionInfoResponse>;
|
|
199
199
|
addTransactionLine(uuid: string, articleNo: string, quantity: number, aboveLineNr: number, belowLineNr: number): Promise<TransactionInfoResponse>;
|
|
200
200
|
addTextLineToTransaction(uuid: string, showOnDocuments: number, text: string, amount: number, articleBound: boolean, refArticleLineNr: number, aboveLineNr?: number, belowLineNr?: number): Promise<TransactionInfoResponse>;
|
|
201
201
|
updateTextLine(uuid: string, lineUuid: string, showOnDocuments: number, text: string): Promise<TransactionInfoResponse>;
|
|
@@ -143,7 +143,7 @@ export declare class TransactionConnectorService {
|
|
|
143
143
|
getArticleBoundTextLinesOfArticleLine(articleLineUuid: string): Promise<TransactionLineInfo[]>;
|
|
144
144
|
getTransactionByNrAndKind(kind: TransactionKind, transactionNo: number): Promise<TransactionInfoResponse>;
|
|
145
145
|
getTransactionById(transactionId: number): Promise<TransactionInfoResponse>;
|
|
146
|
-
getWebSessionSalesOrder(): Promise<TransactionInfoResponse>;
|
|
146
|
+
getWebSessionSalesOrder(transactionUuid: string): Promise<TransactionInfoResponse>;
|
|
147
147
|
deleteTransactionByUuId(uuid: string): Promise<TransactionInfoResponse>;
|
|
148
148
|
lockTransactionById(transId: number, version: number): Promise<TransactionLockResult>;
|
|
149
149
|
commit(): Promise<boolean>;
|
|
@@ -160,7 +160,7 @@ export declare class TransactionConnectorService {
|
|
|
160
160
|
getDeliveryOptions(): Promise<DeliveryOption[]>;
|
|
161
161
|
addRelationToTransaction(uuid: string, relationId: number): Promise<TransactionInfoResponse>;
|
|
162
162
|
getPostalCodeRetrieval(postcalCode: string, houseNo: string): Promise<GetPostalCodeRetrievalOutputParams>;
|
|
163
|
-
addWebSessionTransactionLine(articleNumber: string, quantity: number): Promise<TransactionInfoResponse>;
|
|
163
|
+
addWebSessionTransactionLine(transactionUuid: string, articleNumber: string, quantity: number): Promise<TransactionInfoResponse>;
|
|
164
164
|
addTransactionLine(uuid: string, articleNo: string, quantity: number, aboveLineNr: number, belowLineNr: number): Promise<TransactionInfoResponse>;
|
|
165
165
|
addTextLineToTransaction(uuid: string, showOnDocuments: number, text: string, amount: number, articleBound: boolean, refArticleLineNr: number, aboveLineNr?: number, belowLineNr?: number): Promise<TransactionInfoResponse>;
|
|
166
166
|
updateTextLine(uuid: string, lineUuid: string, showOnDocuments: number, text: string): Promise<TransactionInfoResponse>;
|
|
@@ -183,7 +183,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
183
183
|
getDeliveryOptions(): Promise<DeliveryOption[]>;
|
|
184
184
|
getSalesPersons(date?: Date): Promise<SalesPerson[]>;
|
|
185
185
|
getRetailStadiums(): Promise<RetailStadium[]>;
|
|
186
|
-
addWebSessionTransactionLine(articleNumber: string, quantity: number): Promise<void>;
|
|
186
|
+
addWebSessionTransactionLine(transactionUuid: string, articleNumber: string, quantity: number): Promise<void>;
|
|
187
187
|
addArticle(articleNo: string, quantity?: number, aboveLineNr?: number, belowLineNr?: number, saveTransaction?: boolean): Promise<boolean>;
|
|
188
188
|
addTransactionLine(articleNo: string, quantity?: number, aboveLineNr?: number, belowLineNr?: number): Promise<TransactionInfoResponse>;
|
|
189
189
|
addCatFarmArticle(catalogId: number, jsonArticleString: string): Promise<void>;
|
|
@@ -57,7 +57,7 @@ $tp-item-size-very-small: 20px !default;
|
|
|
57
57
|
$tp-item-size-medium: 60px !default;
|
|
58
58
|
$tp-item-size-large: 70px !default;
|
|
59
59
|
$tp-item-size-massive: 100px !default;
|
|
60
|
-
$tp-radio-button-width:
|
|
60
|
+
$tp-radio-button-width: auto !default;
|
|
61
61
|
$tp-header-button-min-width: 130px !default;
|
|
62
62
|
$tp-checkout-default-padding: 5px !default;
|
|
63
63
|
$tp-checkout-step-color: $tp-color-action !default;
|
|
@@ -165,6 +165,7 @@ $cc-co-calendar-day-number-font-weight: normal !default;
|
|
|
165
165
|
$cc-co-calendar-weekday-font-size: 13px !default;
|
|
166
166
|
$cc-co-calendar-weekday-color: #0000008a !default;
|
|
167
167
|
$cc-co-calendar-day-margin: 0 !default;
|
|
168
|
+
$cc-radio-button-border-width: 0 !default;
|
|
168
169
|
|
|
169
170
|
$tp-checkout-co-carousel-tile-width: 160px !default;
|
|
170
171
|
$tp-checkout-co-carousel-tile-height: 100% !default;
|
|
@@ -175,4 +176,10 @@ $tp-checkout-co-payment-padding: 30px !default;
|
|
|
175
176
|
$tp-checkout-co-payment-background: #f8f8fa !default;
|
|
176
177
|
$tp-checkout-checkout-data-column-background: #f8f8fa !default;
|
|
177
178
|
$tp-checkout-co-shopping-cart-preview-background: #f8f8fa !default;
|
|
179
|
+
$tp-checkout-transaction-delivery-method-carousel-max-width: 620px !default;
|
|
180
|
+
$tp-checkout-transaction-delivery-method-carousel-button-right: -80px !default;
|
|
181
|
+
$tp-checkout-transaction-delivery-method-carousel-button-size: 40px !default;
|
|
182
|
+
$tp-checkout-transaction-delivery-method-carousel-button-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.2) !default;
|
|
183
|
+
$tp-checkout-transaction-delivery-method-carousel-button-svg-size: 30px !default;
|
|
184
|
+
$tp-checkout-transaction-header-definitive-margin: 10px 0 !default;
|
|
178
185
|
/****************************/
|