@colijnit/transaction 12.1.158 → 12.1.160
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 -71
- 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/component/core/base/transaction-base.component.js +3 -3
- package/esm2015/lib/service/transaction-base.service.js +8 -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 +79 -74
- 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/component/core/base/transaction-base.component.d.ts +4 -5
- 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 +2 -2
|
@@ -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;
|
|
@@ -15,15 +15,14 @@ import { TransactionEventService } from '../../../service/transaction-event.serv
|
|
|
15
15
|
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
16
16
|
import { TransactionImageService } from '../../../service/transaction-image.service';
|
|
17
17
|
import { RelationKind } from '@colijnit/relationapi/build/enum/relation-kind.enum';
|
|
18
|
-
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
|
|
19
18
|
import { TransactionDeliveryCostLineInfo } from '@colijnit/transactionapi/build/model/transaction-delivery-cost-line-info.bo';
|
|
20
|
-
import { OrderLineSetInfo } from
|
|
21
|
-
import { ScreenConfigAdapterComponent } from '@colijnit/corecomponents_v12';
|
|
19
|
+
import { OrderLineSetInfo } from '@colijnit/transactionapi/build/model/order-line-set-info.bo';
|
|
20
|
+
import { BaseModuleScreenConfigService, ScreenConfigAdapterComponent } from '@colijnit/corecomponents_v12';
|
|
22
21
|
import { TransactionCfgName } from '../../../enum/transaction-cfg-name.enum';
|
|
23
22
|
export declare abstract class TransactionBaseComponent implements OnInit, OnDestroy, ScreenConfigAdapterComponent {
|
|
24
23
|
transactionEventService: TransactionEventService;
|
|
25
24
|
iconCacheService: IconCacheService;
|
|
26
|
-
screenConfigService:
|
|
25
|
+
screenConfigService: BaseModuleScreenConfigService;
|
|
27
26
|
protected imageService: TransactionImageService;
|
|
28
27
|
protected dictionaryService: DictionaryService;
|
|
29
28
|
protected transactionService: TransactionService;
|
|
@@ -117,7 +116,7 @@ export declare abstract class TransactionBaseComponent implements OnInit, OnDest
|
|
|
117
116
|
private _selected;
|
|
118
117
|
private _baseSubs;
|
|
119
118
|
private _cfgName;
|
|
120
|
-
constructor(transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService:
|
|
119
|
+
constructor(transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: BaseModuleScreenConfigService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
|
|
121
120
|
ngOnInit(): void;
|
|
122
121
|
ngOnDestroy(): void;
|
|
123
122
|
handleCommit(value: any): Promise<boolean>;
|
|
@@ -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<
|
|
113
|
+
getWebSessionSalesOrder(transactionUuid: string): Promise<boolean>;
|
|
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
|
/****************************/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.160",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@colijnit/relationapi": ">=1.0.8",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.16",
|
|
21
21
|
"@colijnit/sharedcomponents": ">=1.0.46",
|
|
22
|
-
"@colijnit/transactionapi": ">=1.1.
|
|
22
|
+
"@colijnit/transactionapi": ">=1.1.113",
|
|
23
23
|
"@types/three": ">=0.125.0",
|
|
24
24
|
"@tweenjs/tween.js": ">=17.2.0",
|
|
25
25
|
"three": ">=0.125.0"
|