@pmcretail/mapper-library 0.0.1
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/README.md +24 -0
- package/esm2020/lib/RJ-mapper.class.mjs +597 -0
- package/esm2020/lib/TransactionDocumentBuilder.mjs +1240 -0
- package/esm2020/lib/basket.service.mjs +527 -0
- package/esm2020/lib/mapper-library.component.mjs +26 -0
- package/esm2020/lib/mapper-library.model.mjs +20 -0
- package/esm2020/lib/mapper-library.module.mjs +21 -0
- package/esm2020/lib/mapper-library.service.mjs +56 -0
- package/esm2020/lib/number-util.service.mjs +41 -0
- package/esm2020/pmcretail-mapper-library.mjs +5 -0
- package/esm2020/public-api.mjs +8 -0
- package/fesm2015/pmcretail-mapper-library.mjs +2526 -0
- package/fesm2015/pmcretail-mapper-library.mjs.map +1 -0
- package/fesm2020/pmcretail-mapper-library.mjs +2521 -0
- package/fesm2020/pmcretail-mapper-library.mjs.map +1 -0
- package/lib/RJ-mapper.class.d.ts +68 -0
- package/lib/TransactionDocumentBuilder.d.ts +270 -0
- package/lib/basket.service.d.ts +107 -0
- package/lib/mapper-library.component.d.ts +8 -0
- package/lib/mapper-library.model.d.ts +473 -0
- package/lib/mapper-library.module.d.ts +7 -0
- package/lib/mapper-library.service.d.ts +9 -0
- package/lib/number-util.service.d.ts +11 -0
- package/package.json +31 -0
- package/pmcretail-mapper-library.d.ts +5 -0
- package/public-api.d.ts +4 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { LineDiscount, TProduct, TransactionDocument } from "./mapper-library.model";
|
|
2
|
+
export declare class RJMapperBuilderClass {
|
|
3
|
+
private transactionDocument;
|
|
4
|
+
private productQuantity;
|
|
5
|
+
private userId;
|
|
6
|
+
private deviceId;
|
|
7
|
+
private transactionNumber;
|
|
8
|
+
private manifestVersion;
|
|
9
|
+
private databaseSchemaVersion;
|
|
10
|
+
private basketType;
|
|
11
|
+
private xmlSchemaVersion;
|
|
12
|
+
private majorVersion;
|
|
13
|
+
private minorVersion;
|
|
14
|
+
private externalState;
|
|
15
|
+
private cashierId;
|
|
16
|
+
private companyId;
|
|
17
|
+
private terminalNumber;
|
|
18
|
+
private taxMethodId;
|
|
19
|
+
private tradingRegionId;
|
|
20
|
+
private basketCurrencyId;
|
|
21
|
+
private basketCountryId;
|
|
22
|
+
private basketLanguageId;
|
|
23
|
+
private itemCount;
|
|
24
|
+
private largestNumber;
|
|
25
|
+
private rjObject;
|
|
26
|
+
private paymentTypes;
|
|
27
|
+
constructor(transactionDoc?: TransactionDocument);
|
|
28
|
+
getPosbasketInfo(): this;
|
|
29
|
+
getheaderInfo(): this;
|
|
30
|
+
rjMapper(): this;
|
|
31
|
+
getBasketDiscount(): this;
|
|
32
|
+
getModifierItem(data: any, lineNo: any): void;
|
|
33
|
+
getTrailerInfo(): this;
|
|
34
|
+
getTenderInfo(): this;
|
|
35
|
+
setLineNumberForProducts(): void;
|
|
36
|
+
generateLineNumber(): number;
|
|
37
|
+
initilizeItemCount(): void;
|
|
38
|
+
build(): any;
|
|
39
|
+
getDescription(paymentType: string, element: any): any;
|
|
40
|
+
setDeviceInfo(id: any): this;
|
|
41
|
+
setUserInfo(id: any): this;
|
|
42
|
+
removeDecimal(value: number): number;
|
|
43
|
+
setTransactionNumber(value: any): this;
|
|
44
|
+
setManifestVersion(value: any): this;
|
|
45
|
+
setDatabaseSchemaVersion(value: any): this;
|
|
46
|
+
setBasketType(value: any): this;
|
|
47
|
+
setTradingRegionID(value: any): this;
|
|
48
|
+
setCompanyID(value: any): this;
|
|
49
|
+
setTaxMethodID(value: any): this;
|
|
50
|
+
setMajorVersion(value: any): this;
|
|
51
|
+
setMinorVersion(value: any): this;
|
|
52
|
+
setXMLSchemaVersion(value: any): this;
|
|
53
|
+
setExternalState(value: any): this;
|
|
54
|
+
setCashierID(value: any): this;
|
|
55
|
+
setTerminalNumber(value: any): this;
|
|
56
|
+
setBasketLanguageID(value: any): this;
|
|
57
|
+
setBasketCountryID(value: any): this;
|
|
58
|
+
setBasketCurrencyID(value: any): this;
|
|
59
|
+
generateId(date: any): string;
|
|
60
|
+
generateTimezoneoffset(date: any): number;
|
|
61
|
+
generateKeyword(): string;
|
|
62
|
+
getState(): "Completed" | "Cancelled";
|
|
63
|
+
returnProduct(element: any, lineDiscount: LineDiscount): any;
|
|
64
|
+
addProduct(element: TProduct, lineDiscount: LineDiscount): any;
|
|
65
|
+
convertToString(value: any): any;
|
|
66
|
+
generateDynamicStockLookUp(): string;
|
|
67
|
+
getAttributes(): any;
|
|
68
|
+
}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { CurrencyPipe } from "@angular/common";
|
|
2
|
+
import { Customer, TransactionDocument } from "./mapper-library.model";
|
|
3
|
+
import { Basket, UserOverride } from "./mapper-library.model";
|
|
4
|
+
import { BasketService } from "./basket.service";
|
|
5
|
+
/**
|
|
6
|
+
* Transaction document builder
|
|
7
|
+
*/
|
|
8
|
+
export declare class TransactionDocumentBuilder {
|
|
9
|
+
private currencyPipe?;
|
|
10
|
+
private basketService?;
|
|
11
|
+
private transactionDocument;
|
|
12
|
+
private numberUtilService;
|
|
13
|
+
private storeInfo;
|
|
14
|
+
constructor(transactionDoc?: TransactionDocument, currencyPipe?: CurrencyPipe | undefined, basketService?: BasketService | undefined);
|
|
15
|
+
/**
|
|
16
|
+
* Transactions ref
|
|
17
|
+
* @returns ref
|
|
18
|
+
*/
|
|
19
|
+
transactionRef(): TransactionDocumentBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* Transactions id
|
|
22
|
+
* @param transactionID
|
|
23
|
+
* @returns id
|
|
24
|
+
*/
|
|
25
|
+
transactionId(transactionID: string, isOnline?: boolean): TransactionDocumentBuilder;
|
|
26
|
+
/**
|
|
27
|
+
* Transactions id
|
|
28
|
+
* @param transactionID
|
|
29
|
+
* @returns id
|
|
30
|
+
*/
|
|
31
|
+
offlineTransactionId(transactionID: string, isOnline: any): TransactionDocumentBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* storeNode Id
|
|
34
|
+
* @param storeNodeId
|
|
35
|
+
* @returns id
|
|
36
|
+
*/
|
|
37
|
+
storeNodeId(storeNodeId: string): TransactionDocumentBuilder;
|
|
38
|
+
/**
|
|
39
|
+
* storeNode structure
|
|
40
|
+
* @param storeNodeStructure
|
|
41
|
+
* @returns id
|
|
42
|
+
*/
|
|
43
|
+
storeNodeStructure(storeNodeStructure: string): TransactionDocumentBuilder;
|
|
44
|
+
/**
|
|
45
|
+
* Orgs code
|
|
46
|
+
* @param orgCode
|
|
47
|
+
* @returns code
|
|
48
|
+
*/
|
|
49
|
+
orgCode(orgCode: any): TransactionDocumentBuilder;
|
|
50
|
+
/**
|
|
51
|
+
* Stores id
|
|
52
|
+
* @param storeId
|
|
53
|
+
* @returns id
|
|
54
|
+
*/
|
|
55
|
+
storeId(storeId: any): TransactionDocumentBuilder;
|
|
56
|
+
/**
|
|
57
|
+
* Dates time
|
|
58
|
+
* @returns time
|
|
59
|
+
*/
|
|
60
|
+
dateTime(): TransactionDocumentBuilder;
|
|
61
|
+
/**
|
|
62
|
+
* Devices id
|
|
63
|
+
* @param deviceId
|
|
64
|
+
* @returns id
|
|
65
|
+
*/
|
|
66
|
+
deviceId(deviceId: any): TransactionDocumentBuilder;
|
|
67
|
+
/**
|
|
68
|
+
* terminal id
|
|
69
|
+
* @param terminalId
|
|
70
|
+
* @returns id
|
|
71
|
+
*/
|
|
72
|
+
terminalId(terminalId: any): TransactionDocumentBuilder;
|
|
73
|
+
/**
|
|
74
|
+
* saleExport
|
|
75
|
+
* @param saleExport
|
|
76
|
+
* @returns id
|
|
77
|
+
*/
|
|
78
|
+
export(saleExport: any): TransactionDocumentBuilder;
|
|
79
|
+
/**
|
|
80
|
+
* Baskets transaction document builder
|
|
81
|
+
* @param basketDetails
|
|
82
|
+
* @returns basket
|
|
83
|
+
*/
|
|
84
|
+
basket(basketDetails: Basket): TransactionDocumentBuilder;
|
|
85
|
+
/**
|
|
86
|
+
* current transaction Details Total(New Products)
|
|
87
|
+
* @returns currentTransactionDetails
|
|
88
|
+
*/
|
|
89
|
+
currentTransactionDetails(basket: Basket): TransactionDocumentBuilder;
|
|
90
|
+
/**
|
|
91
|
+
* current transaction Tax Total
|
|
92
|
+
* @returns Tax Total
|
|
93
|
+
*/
|
|
94
|
+
updateCurrentTransactionDetailsTaxBreakdown(basketDetails: Basket): TransactionDocumentBuilder;
|
|
95
|
+
updateCurrentTransactionDetailsTotalTaxSummary(): TransactionDocumentBuilder;
|
|
96
|
+
/**
|
|
97
|
+
* current transaction Disocunt Total
|
|
98
|
+
* @returns Discount Total
|
|
99
|
+
*/
|
|
100
|
+
updateCurrentTransactionDetailsDiscountTotal(): number;
|
|
101
|
+
/**
|
|
102
|
+
* current transaction Refund Total
|
|
103
|
+
* @returns Refund Total
|
|
104
|
+
*/
|
|
105
|
+
updateCurrentTransactionDetailsRefundTotal(): number;
|
|
106
|
+
/**
|
|
107
|
+
* Baskets summary
|
|
108
|
+
* @param basketDetails
|
|
109
|
+
* @returns summary
|
|
110
|
+
*/
|
|
111
|
+
basketSummary(basketDetails: Basket): TransactionDocumentBuilder;
|
|
112
|
+
/**
|
|
113
|
+
* Line Discount
|
|
114
|
+
* @param basketDetails
|
|
115
|
+
* @returns line Discount
|
|
116
|
+
*/
|
|
117
|
+
lineDiscount(basketDetails: Basket): TransactionDocumentBuilder;
|
|
118
|
+
/**
|
|
119
|
+
* exchange
|
|
120
|
+
* @param basketDetails
|
|
121
|
+
* @returns exchange
|
|
122
|
+
*/
|
|
123
|
+
exchange(basketDetails: Basket): TransactionDocumentBuilder;
|
|
124
|
+
/**
|
|
125
|
+
* add previous exchange data
|
|
126
|
+
* @param originalTransactionDocument
|
|
127
|
+
* @returns line Promotions
|
|
128
|
+
*/
|
|
129
|
+
addExchangeData(originalTransactionDocument: TransactionDocument): TransactionDocumentBuilder;
|
|
130
|
+
/**
|
|
131
|
+
* line Promotions
|
|
132
|
+
* @param basketDetails
|
|
133
|
+
* @returns line Promotions
|
|
134
|
+
*/
|
|
135
|
+
linePromotion(basketDetails: Basket): TransactionDocumentBuilder;
|
|
136
|
+
/**
|
|
137
|
+
* transaction Promotion
|
|
138
|
+
* @param basketDetails
|
|
139
|
+
* @returns transaction Promotion
|
|
140
|
+
*/
|
|
141
|
+
transactionPromotion(basketDetails: Basket): TransactionDocumentBuilder;
|
|
142
|
+
transactionDiscount(basketDetails: Basket): TransactionDocumentBuilder;
|
|
143
|
+
/**
|
|
144
|
+
* Payments details
|
|
145
|
+
* @param paymentDetails
|
|
146
|
+
* @returns
|
|
147
|
+
*/
|
|
148
|
+
paymentDetails(paymentDetails: any): this;
|
|
149
|
+
/**
|
|
150
|
+
* Payments details
|
|
151
|
+
* @param paymentDetails
|
|
152
|
+
* @returns
|
|
153
|
+
*/
|
|
154
|
+
splitPayment(splitPayment: boolean): this;
|
|
155
|
+
/**
|
|
156
|
+
* Payments details
|
|
157
|
+
* @param paymentDetails
|
|
158
|
+
* @returns
|
|
159
|
+
*/
|
|
160
|
+
isPaymentCompleted(isPaymentCompleted: boolean): this;
|
|
161
|
+
/**
|
|
162
|
+
* Bases currency
|
|
163
|
+
* @param currency
|
|
164
|
+
* @returns currency
|
|
165
|
+
*/
|
|
166
|
+
baseCurrency(currency: any): TransactionDocumentBuilder;
|
|
167
|
+
/**
|
|
168
|
+
* gift option at
|
|
169
|
+
* @returns at
|
|
170
|
+
*/
|
|
171
|
+
giftOption(gift: any): TransactionDocumentBuilder;
|
|
172
|
+
/**
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* manual Discount
|
|
176
|
+
* @param discountData
|
|
177
|
+
* @returns
|
|
178
|
+
*/
|
|
179
|
+
/**
|
|
180
|
+
* Types transaction document builder
|
|
181
|
+
* @param t
|
|
182
|
+
* @returns type
|
|
183
|
+
*/
|
|
184
|
+
type(t: any): TransactionDocumentBuilder;
|
|
185
|
+
/**
|
|
186
|
+
* Operations status
|
|
187
|
+
* @param o
|
|
188
|
+
* @returns status
|
|
189
|
+
*/
|
|
190
|
+
operationStatus(o: any): TransactionDocumentBuilder;
|
|
191
|
+
/**
|
|
192
|
+
* Created at
|
|
193
|
+
* @returns at
|
|
194
|
+
*/
|
|
195
|
+
createdAt(): TransactionDocumentBuilder;
|
|
196
|
+
/**
|
|
197
|
+
* Updated at
|
|
198
|
+
* @returns at
|
|
199
|
+
*/
|
|
200
|
+
updatedAt(): TransactionDocumentBuilder;
|
|
201
|
+
/**
|
|
202
|
+
* transsaction completion at
|
|
203
|
+
* @returns transaction completion date
|
|
204
|
+
*/
|
|
205
|
+
transactionCompletedAt(): TransactionDocumentBuilder;
|
|
206
|
+
/**
|
|
207
|
+
* Builds transaction document builder
|
|
208
|
+
* @returns build
|
|
209
|
+
*/
|
|
210
|
+
build(): TransactionDocument;
|
|
211
|
+
/**
|
|
212
|
+
* Sales total in refund
|
|
213
|
+
* @param saleTotal
|
|
214
|
+
* @returns total in refund
|
|
215
|
+
*/
|
|
216
|
+
saleTotalInRefund(saleTotal: number): TransactionDocumentBuilder;
|
|
217
|
+
/**
|
|
218
|
+
* Gets basket details
|
|
219
|
+
* @returns basket details
|
|
220
|
+
*/
|
|
221
|
+
getBasketDetails(): Basket;
|
|
222
|
+
/**
|
|
223
|
+
* Gets basket details
|
|
224
|
+
* @returns refund basket details
|
|
225
|
+
*/
|
|
226
|
+
getTransactionDiscountAndTransactionPromotionPortion(basket: any): any;
|
|
227
|
+
getTotalDiscountWithTransactionDiscountsAndPromotions(basketDetails: any): number;
|
|
228
|
+
appendCurrencySymbol(currency: number, value: number): string | number;
|
|
229
|
+
/**
|
|
230
|
+
* Sale Total
|
|
231
|
+
* @param basketDetails
|
|
232
|
+
* @returns Sale Total
|
|
233
|
+
*/
|
|
234
|
+
updateSaleTotal(basketDetails: {
|
|
235
|
+
products: any[];
|
|
236
|
+
}): any;
|
|
237
|
+
getTotalWithLineDiscountAndLinePromotionApplied(basketDetails: {
|
|
238
|
+
products: any;
|
|
239
|
+
}): number;
|
|
240
|
+
getRefundedTotalWithQuantity(basketDetails: {
|
|
241
|
+
products: string | any[];
|
|
242
|
+
}): number;
|
|
243
|
+
/**
|
|
244
|
+
* Discount Total
|
|
245
|
+
* @returns Discount Total
|
|
246
|
+
*/
|
|
247
|
+
updateDiscountTotal(): number;
|
|
248
|
+
updateReasonCode(reasonCode: {
|
|
249
|
+
code: string;
|
|
250
|
+
name: string;
|
|
251
|
+
}): TransactionDocumentBuilder;
|
|
252
|
+
updateManagerOverride(useroverride: UserOverride): TransactionDocumentBuilder;
|
|
253
|
+
updateUserID(userID: string): TransactionDocumentBuilder;
|
|
254
|
+
updateUserName(name: any): TransactionDocumentBuilder;
|
|
255
|
+
addCustomerDetails(customerDetail: Customer): TransactionDocumentBuilder;
|
|
256
|
+
updateTaxBreakdown(basketDetails: Basket): TransactionDocumentBuilder;
|
|
257
|
+
updateTotalTaxSummary(): TransactionDocumentBuilder;
|
|
258
|
+
/**
|
|
259
|
+
* TransactionId
|
|
260
|
+
* @returns OriginalTransactionId
|
|
261
|
+
*/
|
|
262
|
+
addOriginalTransId(tranDoc: TransactionDocument): TransactionDocumentBuilder;
|
|
263
|
+
/**
|
|
264
|
+
* unreferenced Refund
|
|
265
|
+
* @returns boolean value
|
|
266
|
+
*/
|
|
267
|
+
addUnreferencedRefund(): TransactionDocumentBuilder;
|
|
268
|
+
getRefundTotal(): number;
|
|
269
|
+
docId(docId: any): TransactionDocumentBuilder;
|
|
270
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Basket, Product, TransactionPromotion } from './mapper-library.model';
|
|
2
|
+
import { TransactionDiscount } from './mapper-library.model';
|
|
3
|
+
import { NumberUtilService } from './number-util.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BasketService {
|
|
6
|
+
private numberUtilService;
|
|
7
|
+
currentBasket: Basket;
|
|
8
|
+
private basketSource;
|
|
9
|
+
basket: import("rxjs").Observable<any>;
|
|
10
|
+
private productSource;
|
|
11
|
+
product: import("rxjs").Observable<any>;
|
|
12
|
+
private peerSource;
|
|
13
|
+
peerSync: import("rxjs").Observable<boolean>;
|
|
14
|
+
private scanSource;
|
|
15
|
+
scanner: import("rxjs").Observable<boolean>;
|
|
16
|
+
private _isMixedBasketSales;
|
|
17
|
+
get isMixedBasketSales(): any;
|
|
18
|
+
set isMixedBasketSales(v: boolean);
|
|
19
|
+
constructor(numberUtilService: NumberUtilService);
|
|
20
|
+
updateBasket(basket: Basket): void;
|
|
21
|
+
/**
|
|
22
|
+
* calculates the total basket value and quantity
|
|
23
|
+
* @param null
|
|
24
|
+
* @returns void
|
|
25
|
+
*/
|
|
26
|
+
updateBasketTotal(basketDetails: {
|
|
27
|
+
quantity: number;
|
|
28
|
+
total: number;
|
|
29
|
+
products: any;
|
|
30
|
+
transactionId: any;
|
|
31
|
+
basketTotal: any;
|
|
32
|
+
}, basketState: {
|
|
33
|
+
updateBasket: (arg0: any) => void;
|
|
34
|
+
}): void;
|
|
35
|
+
/**
|
|
36
|
+
* add Line promotion
|
|
37
|
+
* @param null
|
|
38
|
+
* @returns basketDetails
|
|
39
|
+
*/
|
|
40
|
+
addlinePromotion(promotionList: {
|
|
41
|
+
result: {
|
|
42
|
+
linePromotions: string | any[];
|
|
43
|
+
};
|
|
44
|
+
}, basketDetails: {
|
|
45
|
+
products: any;
|
|
46
|
+
}): {
|
|
47
|
+
products: any;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* add Transaction promotion
|
|
51
|
+
* @param null
|
|
52
|
+
* @returns basketDetails
|
|
53
|
+
*/
|
|
54
|
+
addTransactionPromotion(promotionList: {
|
|
55
|
+
result: {
|
|
56
|
+
transactionPromotion: any;
|
|
57
|
+
};
|
|
58
|
+
}, basketdetails: Basket): Basket;
|
|
59
|
+
updateProductTotalForSummary(basketDetails: {
|
|
60
|
+
total: string | number;
|
|
61
|
+
quantity: string | number;
|
|
62
|
+
products: any;
|
|
63
|
+
}): any;
|
|
64
|
+
updateBasketTotalForSummary(basketDetails: any): any;
|
|
65
|
+
updateTransactionDiscount(basketDetails: {
|
|
66
|
+
transactionDiscount: any[];
|
|
67
|
+
basketTotal: number;
|
|
68
|
+
}): {
|
|
69
|
+
transactionDiscount: any[];
|
|
70
|
+
basketTotal: number;
|
|
71
|
+
};
|
|
72
|
+
updateTransactionPromotion(basketDetails: {
|
|
73
|
+
transactionPromotion: any[];
|
|
74
|
+
basketTotal: number;
|
|
75
|
+
}): {
|
|
76
|
+
transactionPromotion: any[];
|
|
77
|
+
basketTotal: number;
|
|
78
|
+
};
|
|
79
|
+
updateBasketTotalWithoutDiscount(basket: Basket): Basket;
|
|
80
|
+
updateBasketTotalWithDiscounts(basket: any): Basket;
|
|
81
|
+
transactionDiscountAndPromotionProductortionCalculation(basket: Basket): Basket;
|
|
82
|
+
transactionPromotionProductPortionCalc(basket: any, promotion: any): any;
|
|
83
|
+
transactionDiscountProductPortionCalc(basket: any, discount: any): any;
|
|
84
|
+
validateProductItemDiscount(product: Product): Product;
|
|
85
|
+
markProduct(product: Product): void;
|
|
86
|
+
stopPeerSyncProcess(peerSync: boolean): void;
|
|
87
|
+
scanStart(isScanning: boolean): void;
|
|
88
|
+
promotionRemainingCalculation(promotion: TransactionPromotion[]): number;
|
|
89
|
+
discountRemainingCalculation(discount: TransactionDiscount[]): number;
|
|
90
|
+
discountRefundedCalculation(discount: TransactionDiscount[]): number;
|
|
91
|
+
generateNewItemLineId(products: Product[]): any;
|
|
92
|
+
updateBasketProductDataAsPerQuantity(product: any, quantity: number): Product;
|
|
93
|
+
filterProductListWithWebOrder(isWebOrder: boolean): Product[];
|
|
94
|
+
filterProductListWithDelivery(): Product[];
|
|
95
|
+
filterProductListWithDeliveryGroup(group: string, products: Product[]): Product[];
|
|
96
|
+
generateNewDeliveryGroupNumber(products: Product[]): string;
|
|
97
|
+
getDeliveryGroupNumbers(products: Product[]): number[];
|
|
98
|
+
updateProductsWithNewDeliveryGroupNumber(products: Product[]): void;
|
|
99
|
+
calculateEstimatedTime(products: any[]): 0 | {
|
|
100
|
+
value: string;
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
updateProductsWithDeliveryGroupNumber(oldGroup: string, newGroup: string): void;
|
|
104
|
+
getDeliveryInfo(): any;
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasketService, never>;
|
|
106
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BasketService>;
|
|
107
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MapperLibraryComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapperLibraryComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapperLibraryComponent, "lib-mapper-library", never, {}, {}, never, never>;
|
|
8
|
+
}
|