@ikas/loyalty-widget-renderer 1.0.0-alpha.74 → 1.0.0-alpha.75
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/build/renderer/screens/main-screen/applied-discount/index.js +1 -1
- package/build/renderer/utils/i18n.d.ts +5 -605
- package/build/renderer/utils/i18n.js +1 -1
- package/build/storefront-widget-script-injector.iife.js +1 -1
- package/build/storefront-widget-script-injector.iife.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as e,__generator as t}from'./../../../../ext/tslib/tslib.es6.mjs.js';import{observer as
|
|
1
|
+
import{__awaiter as e,__generator as t}from'./../../../../ext/tslib/tslib.es6.mjs.js';import{observer as r}from"mobx-react";import n from"react";import'./../../../../ext/react-i18next/dist/es/context.js';import{useTranslation as o}from'./../../../../ext/react-i18next/dist/es/useTranslation.js';import{ArrowRight as i}from"../../../../assets/icons/arrow-right.js";import{CheckCircle as c}from"../../../../assets/icons/check-circle.js";import{CheckFillIllustration as s}from"../../../../assets/widget-icons/illustraions/check-fill.js";import{CampaignTypeEnum as a}from"../../../../models/loyalty-customer-info/index.js";import{WidgetIconTypeEnum as l}from"../../../../models/loyalty-widget/types/index.js";import{Container as u,IconWrapper as m,ContentWrapper as d,TextRow as p,ButtonsRow as f,ActionButton as E,Loader as y,ArrowIcon as _}from"./style.js";var g=r(function(r){var g=r.viewModel,h=r.line,v=o().t,T=g.loyaltyWidget.settings.widgetIconType,j=n.useState(!1),w=j[0],b=j[1];return n.createElement(u,null,n.createElement(m,{$iconType:T},function(){switch(T){case l.ILLUSTRATION:return n.createElement(s,null);case l.NORMAL:case l.NONE:default:return n.createElement(c,null)}}()),n.createElement(d,null,n.createElement(p,null,function(){var e=g.formatCurrency(h.discountAmount);switch(h.campaignType){case a.FIXED_AMOUNT:return v("main_screen.appliedDiscount.fixedAmount",{amount:e});case a.FREE_SHIPPING:return v("main_screen.appliedDiscount.freeShipping");case a.RATIO:return v("main_screen.appliedDiscount.ratio",{amount:"%".concat(h.discountAmount)});case a.BUY_X_THEN_GET_Y:return v("main_screen.appliedDiscount.freeProduct");default:return v("main_screen.appliedDiscount.generic",{amount:e})}}()),n.createElement(f,null,n.createElement(E,{$color:"#697586",$disabled:w,onClick:function(){return e(void 0,void 0,void 0,function(){var e;return t(this,function(t){switch(t.label){case 0:if(!(null===(e=g.callbacks)||void 0===e?void 0:e.removeLoyaltyPointsFromCart))return[3,4];b(!0),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,g.callbacks.removeLoyaltyPointsFromCart()];case 2:return t.sent(),g.cartRefreshTrigger++,g.userRefreshTrigger++,[3,4];case 3:return b(!1),[7];case 4:return[2]}})})}},w&&n.createElement(y,null),v("main_screen.appliedDiscount.remove")),n.createElement(E,{$color:"#121926",$disabled:w,onClick:function(){g.storeUrl&&g.cartId&&(window.location.href="".concat(g.storeUrl,"/checkout?id=").concat(g.cartId,"&step=info"))}},v("main_screen.appliedDiscount.goToCheckout"),n.createElement(_,null,n.createElement(i,null))))))});export{g as default};
|
|
@@ -1,618 +1,18 @@
|
|
|
1
1
|
export declare const resources: {
|
|
2
2
|
tr: {
|
|
3
|
-
translation:
|
|
4
|
-
common: {
|
|
5
|
-
points: string;
|
|
6
|
-
view: string;
|
|
7
|
-
create: string;
|
|
8
|
-
allow: string;
|
|
9
|
-
use: string;
|
|
10
|
-
review: string;
|
|
11
|
-
login: string;
|
|
12
|
-
register: string;
|
|
13
|
-
convert: string;
|
|
14
|
-
};
|
|
15
|
-
main_screen: {
|
|
16
|
-
earningMethodsTitle: string;
|
|
17
|
-
spendingMethodsTitle: string;
|
|
18
|
-
programInfoTitle: string;
|
|
19
|
-
earnPoints: string;
|
|
20
|
-
allRewards: string;
|
|
21
|
-
tiers: string;
|
|
22
|
-
pointHistory: string;
|
|
23
|
-
cartWarning: string;
|
|
24
|
-
appliedDiscount: {
|
|
25
|
-
fixedAmount: string;
|
|
26
|
-
freeShipping: string;
|
|
27
|
-
ratio: string;
|
|
28
|
-
freeProduct: string;
|
|
29
|
-
generic: string;
|
|
30
|
-
remove: string;
|
|
31
|
-
goToCheckout: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
spendingMethods: {
|
|
35
|
-
minPointLimit: string;
|
|
36
|
-
FIXED_AMOUNT: {
|
|
37
|
-
title: string;
|
|
38
|
-
dynamicTitle: string;
|
|
39
|
-
};
|
|
40
|
-
RATIO: {
|
|
41
|
-
title: string;
|
|
42
|
-
};
|
|
43
|
-
FREE_SHIPPING: {
|
|
44
|
-
title: string;
|
|
45
|
-
};
|
|
46
|
-
FREE_PRODUCT: {
|
|
47
|
-
title: string;
|
|
48
|
-
description: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
header: {
|
|
52
|
-
title: string;
|
|
53
|
-
subtitle: string;
|
|
54
|
-
register_title: string;
|
|
55
|
-
registerDescription: string;
|
|
56
|
-
registerButton: string;
|
|
57
|
-
haveAccount: string;
|
|
58
|
-
earnedPoints: string;
|
|
59
|
-
};
|
|
60
|
-
earningMethods: {
|
|
61
|
-
xPoints: string;
|
|
62
|
-
xPointsForEachProduct: string;
|
|
63
|
-
CUSTOMER_REGISTER: {
|
|
64
|
-
title: string;
|
|
65
|
-
};
|
|
66
|
-
CUSTOMER_REVIEW: {
|
|
67
|
-
title: string;
|
|
68
|
-
};
|
|
69
|
-
ENABLE_SUBSCRIPTION: {
|
|
70
|
-
title: string;
|
|
71
|
-
};
|
|
72
|
-
ORDER_CREATE: {
|
|
73
|
-
RECEIVE_POINTS_ON_SPEND: {
|
|
74
|
-
title: string;
|
|
75
|
-
description: string;
|
|
76
|
-
};
|
|
77
|
-
BASE: {
|
|
78
|
-
title: string;
|
|
79
|
-
descriptionStaticMinimum: string;
|
|
80
|
-
descriptionStaticMaximum: string;
|
|
81
|
-
descriptionDynamicMinimum: string;
|
|
82
|
-
descriptionDynamicMaximum: string;
|
|
83
|
-
descriptionOnlyCategory: string;
|
|
84
|
-
descriptionOnlyProduct: string;
|
|
85
|
-
descriptionOnlyBrand: string;
|
|
86
|
-
descriptionOnlyTag: string;
|
|
87
|
-
genericCategory: string;
|
|
88
|
-
genericProduct: string;
|
|
89
|
-
genericBrand: string;
|
|
90
|
-
genericTag: string;
|
|
91
|
-
descriptionSuffix: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
BUY_PRODUCT: {
|
|
95
|
-
title: string;
|
|
96
|
-
description: string;
|
|
97
|
-
};
|
|
98
|
-
CUSTOMER_SEGMENT: {
|
|
99
|
-
title: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
history: {
|
|
103
|
-
earnedTitle: string;
|
|
104
|
-
spentTitle: string;
|
|
105
|
-
};
|
|
106
|
-
screens: {
|
|
107
|
-
creditEarningMethods: string;
|
|
108
|
-
creditSpendingMethods: string;
|
|
109
|
-
creditHistory: string;
|
|
110
|
-
loyaltyLevel: string;
|
|
111
|
-
loyaltyLevelScreen: {
|
|
112
|
-
afterEarning: string;
|
|
113
|
-
multiplierPrefix: string;
|
|
114
|
-
multiplierSuffix: string;
|
|
115
|
-
reachNextTier: string;
|
|
116
|
-
allTiersCompleted: string;
|
|
117
|
-
currentTierDescription: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
miniMode: {
|
|
121
|
-
description: string;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
3
|
+
translation: any;
|
|
124
4
|
};
|
|
125
5
|
en: {
|
|
126
|
-
translation:
|
|
127
|
-
common: {
|
|
128
|
-
points: string;
|
|
129
|
-
view: string;
|
|
130
|
-
create: string;
|
|
131
|
-
allow: string;
|
|
132
|
-
use: string;
|
|
133
|
-
review: string;
|
|
134
|
-
login: string;
|
|
135
|
-
register: string;
|
|
136
|
-
convert: string;
|
|
137
|
-
};
|
|
138
|
-
main_screen: {
|
|
139
|
-
earningMethodsTitle: string;
|
|
140
|
-
spendingMethodsTitle: string;
|
|
141
|
-
programInfoTitle: string;
|
|
142
|
-
earnPoints: string;
|
|
143
|
-
allRewards: string;
|
|
144
|
-
tiers: string;
|
|
145
|
-
pointHistory: string;
|
|
146
|
-
cartWarning: string;
|
|
147
|
-
appliedDiscount: {
|
|
148
|
-
fixedAmount: string;
|
|
149
|
-
freeShipping: string;
|
|
150
|
-
ratio: string;
|
|
151
|
-
freeProduct: string;
|
|
152
|
-
generic: string;
|
|
153
|
-
remove: string;
|
|
154
|
-
goToCheckout: string;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
spendingMethods: {
|
|
158
|
-
minPointLimit: string;
|
|
159
|
-
FIXED_AMOUNT: {
|
|
160
|
-
title: string;
|
|
161
|
-
dynamicTitle: string;
|
|
162
|
-
};
|
|
163
|
-
RATIO: {
|
|
164
|
-
title: string;
|
|
165
|
-
};
|
|
166
|
-
FREE_SHIPPING: {
|
|
167
|
-
title: string;
|
|
168
|
-
};
|
|
169
|
-
FREE_PRODUCT: {
|
|
170
|
-
title: string;
|
|
171
|
-
description: string;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
header: {
|
|
175
|
-
title: string;
|
|
176
|
-
subtitle: string;
|
|
177
|
-
register_title: string;
|
|
178
|
-
registerDescription: string;
|
|
179
|
-
registerButton: string;
|
|
180
|
-
haveAccount: string;
|
|
181
|
-
earnedPoints: string;
|
|
182
|
-
};
|
|
183
|
-
earningMethods: {
|
|
184
|
-
xPoints: string;
|
|
185
|
-
xPointsForEachProduct: string;
|
|
186
|
-
CUSTOMER_REGISTER: {
|
|
187
|
-
title: string;
|
|
188
|
-
};
|
|
189
|
-
CUSTOMER_REVIEW: {
|
|
190
|
-
title: string;
|
|
191
|
-
};
|
|
192
|
-
ENABLE_SUBSCRIPTION: {
|
|
193
|
-
title: string;
|
|
194
|
-
};
|
|
195
|
-
ORDER_CREATE: {
|
|
196
|
-
RECEIVE_POINTS_ON_SPEND: {
|
|
197
|
-
title: string;
|
|
198
|
-
description: string;
|
|
199
|
-
};
|
|
200
|
-
BASE: {
|
|
201
|
-
title: string;
|
|
202
|
-
descriptionStaticMinimum: string;
|
|
203
|
-
descriptionStaticMaximum: string;
|
|
204
|
-
descriptionDynamicMinimum: string;
|
|
205
|
-
descriptionDynamicMaximum: string;
|
|
206
|
-
descriptionOnlyCategory: string;
|
|
207
|
-
descriptionOnlyProduct: string;
|
|
208
|
-
descriptionOnlyBrand: string;
|
|
209
|
-
descriptionOnlyTag: string;
|
|
210
|
-
genericCategory: string;
|
|
211
|
-
genericProduct: string;
|
|
212
|
-
genericBrand: string;
|
|
213
|
-
genericTag: string;
|
|
214
|
-
descriptionSuffix: string;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
BUY_PRODUCT: {
|
|
218
|
-
title: string;
|
|
219
|
-
description: string;
|
|
220
|
-
};
|
|
221
|
-
CUSTOMER_SEGMENT: {
|
|
222
|
-
title: string;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
history: {
|
|
226
|
-
earnedTitle: string;
|
|
227
|
-
spentTitle: string;
|
|
228
|
-
};
|
|
229
|
-
screens: {
|
|
230
|
-
creditEarningMethods: string;
|
|
231
|
-
creditSpendingMethods: string;
|
|
232
|
-
creditHistory: string;
|
|
233
|
-
loyaltyLevel: string;
|
|
234
|
-
loyaltyLevelScreen: {
|
|
235
|
-
afterEarning: string;
|
|
236
|
-
multiplierPrefix: string;
|
|
237
|
-
multiplierSuffix: string;
|
|
238
|
-
reachNextTier: string;
|
|
239
|
-
allTiersCompleted: string;
|
|
240
|
-
currentTierDescription: string;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
miniMode: {
|
|
244
|
-
description: string;
|
|
245
|
-
};
|
|
246
|
-
};
|
|
6
|
+
translation: any;
|
|
247
7
|
};
|
|
248
8
|
de: {
|
|
249
|
-
translation:
|
|
250
|
-
common: {
|
|
251
|
-
points: string;
|
|
252
|
-
view: string;
|
|
253
|
-
create: string;
|
|
254
|
-
allow: string;
|
|
255
|
-
use: string;
|
|
256
|
-
review: string;
|
|
257
|
-
login: string;
|
|
258
|
-
register: string;
|
|
259
|
-
convert: string;
|
|
260
|
-
};
|
|
261
|
-
main_screen: {
|
|
262
|
-
earningMethodsTitle: string;
|
|
263
|
-
spendingMethodsTitle: string;
|
|
264
|
-
programInfoTitle: string;
|
|
265
|
-
earnPoints: string;
|
|
266
|
-
allRewards: string;
|
|
267
|
-
tiers: string;
|
|
268
|
-
pointHistory: string;
|
|
269
|
-
cartWarning: string;
|
|
270
|
-
appliedDiscount: {
|
|
271
|
-
fixedAmount: string;
|
|
272
|
-
freeShipping: string;
|
|
273
|
-
ratio: string;
|
|
274
|
-
freeProduct: string;
|
|
275
|
-
generic: string;
|
|
276
|
-
remove: string;
|
|
277
|
-
goToCheckout: string;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
spendingMethods: {
|
|
281
|
-
minPointLimit: string;
|
|
282
|
-
FIXED_AMOUNT: {
|
|
283
|
-
title: string;
|
|
284
|
-
dynamicTitle: string;
|
|
285
|
-
};
|
|
286
|
-
RATIO: {
|
|
287
|
-
title: string;
|
|
288
|
-
};
|
|
289
|
-
FREE_SHIPPING: {
|
|
290
|
-
title: string;
|
|
291
|
-
};
|
|
292
|
-
FREE_PRODUCT: {
|
|
293
|
-
title: string;
|
|
294
|
-
description: string;
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
header: {
|
|
298
|
-
title: string;
|
|
299
|
-
subtitle: string;
|
|
300
|
-
register_title: string;
|
|
301
|
-
registerDescription: string;
|
|
302
|
-
registerButton: string;
|
|
303
|
-
haveAccount: string;
|
|
304
|
-
earnedPoints: string;
|
|
305
|
-
};
|
|
306
|
-
earningMethods: {
|
|
307
|
-
xPoints: string;
|
|
308
|
-
xPointsForEachProduct: string;
|
|
309
|
-
CUSTOMER_REGISTER: {
|
|
310
|
-
title: string;
|
|
311
|
-
};
|
|
312
|
-
CUSTOMER_REVIEW: {
|
|
313
|
-
title: string;
|
|
314
|
-
};
|
|
315
|
-
ENABLE_SUBSCRIPTION: {
|
|
316
|
-
title: string;
|
|
317
|
-
};
|
|
318
|
-
ORDER_CREATE: {
|
|
319
|
-
RECEIVE_POINTS_ON_SPEND: {
|
|
320
|
-
title: string;
|
|
321
|
-
description: string;
|
|
322
|
-
};
|
|
323
|
-
BASE: {
|
|
324
|
-
title: string;
|
|
325
|
-
descriptionStaticMinimum: string;
|
|
326
|
-
descriptionStaticMaximum: string;
|
|
327
|
-
descriptionDynamicMinimum: string;
|
|
328
|
-
descriptionDynamicMaximum: string;
|
|
329
|
-
descriptionOnlyCategory: string;
|
|
330
|
-
descriptionOnlyProduct: string;
|
|
331
|
-
descriptionOnlyBrand: string;
|
|
332
|
-
descriptionOnlyTag: string;
|
|
333
|
-
genericCategory: string;
|
|
334
|
-
genericProduct: string;
|
|
335
|
-
genericBrand: string;
|
|
336
|
-
genericTag: string;
|
|
337
|
-
descriptionSuffix: string;
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
BUY_PRODUCT: {
|
|
341
|
-
title: string;
|
|
342
|
-
description: string;
|
|
343
|
-
};
|
|
344
|
-
CUSTOMER_SEGMENT: {
|
|
345
|
-
title: string;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
history: {
|
|
349
|
-
earnedTitle: string;
|
|
350
|
-
spentTitle: string;
|
|
351
|
-
};
|
|
352
|
-
screens: {
|
|
353
|
-
creditEarningMethods: string;
|
|
354
|
-
creditSpendingMethods: string;
|
|
355
|
-
creditHistory: string;
|
|
356
|
-
loyaltyLevel: string;
|
|
357
|
-
loyaltyLevelScreen: {
|
|
358
|
-
afterEarning: string;
|
|
359
|
-
multiplierPrefix: string;
|
|
360
|
-
multiplierSuffix: string;
|
|
361
|
-
reachNextTier: string;
|
|
362
|
-
allTiersCompleted: string;
|
|
363
|
-
currentTierDescription: string;
|
|
364
|
-
};
|
|
365
|
-
};
|
|
366
|
-
miniMode: {
|
|
367
|
-
description: string;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
9
|
+
translation: any;
|
|
370
10
|
};
|
|
371
11
|
nl: {
|
|
372
|
-
translation:
|
|
373
|
-
common: {
|
|
374
|
-
points: string;
|
|
375
|
-
view: string;
|
|
376
|
-
create: string;
|
|
377
|
-
allow: string;
|
|
378
|
-
use: string;
|
|
379
|
-
review: string;
|
|
380
|
-
login: string;
|
|
381
|
-
register: string;
|
|
382
|
-
convert: string;
|
|
383
|
-
};
|
|
384
|
-
main_screen: {
|
|
385
|
-
earningMethodsTitle: string;
|
|
386
|
-
spendingMethodsTitle: string;
|
|
387
|
-
programInfoTitle: string;
|
|
388
|
-
earnPoints: string;
|
|
389
|
-
allRewards: string;
|
|
390
|
-
tiers: string;
|
|
391
|
-
pointHistory: string;
|
|
392
|
-
cartWarning: string;
|
|
393
|
-
appliedDiscount: {
|
|
394
|
-
fixedAmount: string;
|
|
395
|
-
freeShipping: string;
|
|
396
|
-
ratio: string;
|
|
397
|
-
freeProduct: string;
|
|
398
|
-
generic: string;
|
|
399
|
-
remove: string;
|
|
400
|
-
goToCheckout: string;
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
spendingMethods: {
|
|
404
|
-
minPointLimit: string;
|
|
405
|
-
FIXED_AMOUNT: {
|
|
406
|
-
title: string;
|
|
407
|
-
dynamicTitle: string;
|
|
408
|
-
};
|
|
409
|
-
RATIO: {
|
|
410
|
-
title: string;
|
|
411
|
-
};
|
|
412
|
-
FREE_SHIPPING: {
|
|
413
|
-
title: string;
|
|
414
|
-
};
|
|
415
|
-
FREE_PRODUCT: {
|
|
416
|
-
title: string;
|
|
417
|
-
description: string;
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
header: {
|
|
421
|
-
title: string;
|
|
422
|
-
subtitle: string;
|
|
423
|
-
register_title: string;
|
|
424
|
-
registerDescription: string;
|
|
425
|
-
registerButton: string;
|
|
426
|
-
haveAccount: string;
|
|
427
|
-
earnedPoints: string;
|
|
428
|
-
};
|
|
429
|
-
earningMethods: {
|
|
430
|
-
xPoints: string;
|
|
431
|
-
xPointsForEachProduct: string;
|
|
432
|
-
CUSTOMER_REGISTER: {
|
|
433
|
-
title: string;
|
|
434
|
-
};
|
|
435
|
-
CUSTOMER_REVIEW: {
|
|
436
|
-
title: string;
|
|
437
|
-
};
|
|
438
|
-
ENABLE_SUBSCRIPTION: {
|
|
439
|
-
title: string;
|
|
440
|
-
};
|
|
441
|
-
ORDER_CREATE: {
|
|
442
|
-
RECEIVE_POINTS_ON_SPEND: {
|
|
443
|
-
title: string;
|
|
444
|
-
description: string;
|
|
445
|
-
};
|
|
446
|
-
BASE: {
|
|
447
|
-
title: string;
|
|
448
|
-
descriptionStaticMinimum: string;
|
|
449
|
-
descriptionStaticMaximum: string;
|
|
450
|
-
descriptionDynamicMinimum: string;
|
|
451
|
-
descriptionDynamicMaximum: string;
|
|
452
|
-
descriptionOnlyCategory: string;
|
|
453
|
-
descriptionOnlyProduct: string;
|
|
454
|
-
descriptionOnlyBrand: string;
|
|
455
|
-
descriptionOnlyTag: string;
|
|
456
|
-
genericCategory: string;
|
|
457
|
-
genericProduct: string;
|
|
458
|
-
genericBrand: string;
|
|
459
|
-
genericTag: string;
|
|
460
|
-
descriptionSuffix: string;
|
|
461
|
-
};
|
|
462
|
-
};
|
|
463
|
-
BUY_PRODUCT: {
|
|
464
|
-
title: string;
|
|
465
|
-
description: string;
|
|
466
|
-
};
|
|
467
|
-
CUSTOMER_SEGMENT: {
|
|
468
|
-
title: string;
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
|
-
history: {
|
|
472
|
-
earnedTitle: string;
|
|
473
|
-
spentTitle: string;
|
|
474
|
-
};
|
|
475
|
-
screens: {
|
|
476
|
-
creditEarningMethods: string;
|
|
477
|
-
creditSpendingMethods: string;
|
|
478
|
-
creditHistory: string;
|
|
479
|
-
loyaltyLevel: string;
|
|
480
|
-
loyaltyLevelScreen: {
|
|
481
|
-
afterEarning: string;
|
|
482
|
-
multiplierPrefix: string;
|
|
483
|
-
multiplierSuffix: string;
|
|
484
|
-
reachNextTier: string;
|
|
485
|
-
allTiersCompleted: string;
|
|
486
|
-
currentTierDescription: string;
|
|
487
|
-
};
|
|
488
|
-
};
|
|
489
|
-
miniMode: {
|
|
490
|
-
description: string;
|
|
491
|
-
};
|
|
492
|
-
};
|
|
12
|
+
translation: any;
|
|
493
13
|
};
|
|
494
14
|
fr: {
|
|
495
|
-
translation:
|
|
496
|
-
common: {
|
|
497
|
-
points: string;
|
|
498
|
-
view: string;
|
|
499
|
-
create: string;
|
|
500
|
-
allow: string;
|
|
501
|
-
use: string;
|
|
502
|
-
review: string;
|
|
503
|
-
login: string;
|
|
504
|
-
register: string;
|
|
505
|
-
convert: string;
|
|
506
|
-
};
|
|
507
|
-
main_screen: {
|
|
508
|
-
earningMethodsTitle: string;
|
|
509
|
-
spendingMethodsTitle: string;
|
|
510
|
-
programInfoTitle: string;
|
|
511
|
-
earnPoints: string;
|
|
512
|
-
allRewards: string;
|
|
513
|
-
tiers: string;
|
|
514
|
-
pointHistory: string;
|
|
515
|
-
cartWarning: string;
|
|
516
|
-
appliedDiscount: {
|
|
517
|
-
fixedAmount: string;
|
|
518
|
-
freeShipping: string;
|
|
519
|
-
ratio: string;
|
|
520
|
-
freeProduct: string;
|
|
521
|
-
generic: string;
|
|
522
|
-
remove: string;
|
|
523
|
-
goToCheckout: string;
|
|
524
|
-
};
|
|
525
|
-
};
|
|
526
|
-
spendingMethods: {
|
|
527
|
-
minPointLimit: string;
|
|
528
|
-
FIXED_AMOUNT: {
|
|
529
|
-
title: string;
|
|
530
|
-
dynamicTitle: string;
|
|
531
|
-
};
|
|
532
|
-
RATIO: {
|
|
533
|
-
title: string;
|
|
534
|
-
};
|
|
535
|
-
FREE_SHIPPING: {
|
|
536
|
-
title: string;
|
|
537
|
-
};
|
|
538
|
-
FREE_PRODUCT: {
|
|
539
|
-
title: string;
|
|
540
|
-
description: string;
|
|
541
|
-
};
|
|
542
|
-
};
|
|
543
|
-
header: {
|
|
544
|
-
title: string;
|
|
545
|
-
subtitle: string;
|
|
546
|
-
register_title: string;
|
|
547
|
-
registerDescription: string;
|
|
548
|
-
registerButton: string;
|
|
549
|
-
haveAccount: string;
|
|
550
|
-
earnedPoints: string;
|
|
551
|
-
};
|
|
552
|
-
earningMethods: {
|
|
553
|
-
xPoints: string;
|
|
554
|
-
xPointsForEachProduct: string;
|
|
555
|
-
CUSTOMER_REGISTER: {
|
|
556
|
-
title: string;
|
|
557
|
-
};
|
|
558
|
-
CUSTOMER_REVIEW: {
|
|
559
|
-
title: string;
|
|
560
|
-
};
|
|
561
|
-
ENABLE_SUBSCRIPTION: {
|
|
562
|
-
title: string;
|
|
563
|
-
};
|
|
564
|
-
ORDER_CREATE: {
|
|
565
|
-
RECEIVE_POINTS_ON_SPEND: {
|
|
566
|
-
title: string;
|
|
567
|
-
description: string;
|
|
568
|
-
};
|
|
569
|
-
BASE: {
|
|
570
|
-
title: string;
|
|
571
|
-
descriptionStaticMinimum: string;
|
|
572
|
-
descriptionStaticMaximum: string;
|
|
573
|
-
descriptionDynamicMinimum: string;
|
|
574
|
-
descriptionDynamicMaximum: string;
|
|
575
|
-
descriptionOnlyCategory: string;
|
|
576
|
-
descriptionOnlyProduct: string;
|
|
577
|
-
descriptionOnlyBrand: string;
|
|
578
|
-
descriptionOnlyTag: string;
|
|
579
|
-
genericCategory: string;
|
|
580
|
-
genericProduct: string;
|
|
581
|
-
genericBrand: string;
|
|
582
|
-
genericTag: string;
|
|
583
|
-
descriptionSuffix: string;
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
BUY_PRODUCT: {
|
|
587
|
-
title: string;
|
|
588
|
-
description: string;
|
|
589
|
-
};
|
|
590
|
-
CUSTOMER_SEGMENT: {
|
|
591
|
-
title: string;
|
|
592
|
-
};
|
|
593
|
-
};
|
|
594
|
-
history: {
|
|
595
|
-
earnedTitle: string;
|
|
596
|
-
spentTitle: string;
|
|
597
|
-
};
|
|
598
|
-
screens: {
|
|
599
|
-
creditEarningMethods: string;
|
|
600
|
-
creditSpendingMethods: string;
|
|
601
|
-
creditHistory: string;
|
|
602
|
-
loyaltyLevel: string;
|
|
603
|
-
loyaltyLevelScreen: {
|
|
604
|
-
afterEarning: string;
|
|
605
|
-
multiplierPrefix: string;
|
|
606
|
-
multiplierSuffix: string;
|
|
607
|
-
reachNextTier: string;
|
|
608
|
-
allTiersCompleted: string;
|
|
609
|
-
currentTierDescription: string;
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
miniMode: {
|
|
613
|
-
description: string;
|
|
614
|
-
};
|
|
615
|
-
};
|
|
15
|
+
translation: any;
|
|
616
16
|
};
|
|
617
17
|
};
|
|
618
18
|
declare const i18nInstance: import("i18next").i18n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react";import{initReactI18next as
|
|
1
|
+
import"react";import{initReactI18next as s}from'./../../ext/react-i18next/dist/es/context.js';import r from'./../../ext/i18next/dist/esm/i18next.js';import t from"./locales/de.json.js";import e from"./locales/en.json.js";import o from"./locales/fr.json.js";import n from"./locales/nl.json.js";import a from"./locales/tr.json.js";var i={tr:{translation:JSON.parse(JSON.stringify(a))},en:{translation:JSON.parse(JSON.stringify(e))},de:{translation:JSON.parse(JSON.stringify(t))},nl:{translation:JSON.parse(JSON.stringify(n))},fr:{translation:JSON.parse(JSON.stringify(o))}},l=r.createInstance();l.use(s).init({resources:i,lng:"tr",fallbackLng:"en",interpolation:{escapeValue:!1}});export{l as default,i as resources};
|