@ikas/loyalty-widget-renderer 1.0.0-alpha.9 → 1.0.0-alpha.90

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.
Files changed (210) hide show
  1. package/build/assets/icons/arrow-right.d.ts +2 -0
  2. package/build/assets/icons/arrow-right.js +1 -0
  3. package/build/assets/icons/check-circle.d.ts +2 -0
  4. package/build/assets/icons/check-circle.js +1 -0
  5. package/build/assets/index.d.ts +9 -0
  6. package/build/assets/widget-icons/illustraions/check-fill.d.ts +2 -0
  7. package/build/assets/widget-icons/illustraions/check-fill.js +1 -0
  8. package/build/assets/widget-icons/illustraions/informationCircleIllustration.d.ts +2 -0
  9. package/build/assets/widget-icons/illustraions/informationCircleIllustration.js +1 -0
  10. package/build/assets/widget-icons/illustraions/medal.js +1 -1
  11. package/build/assets/widget-icons/illustraions/refundIllustration.d.ts +2 -0
  12. package/build/assets/widget-icons/illustraions/refundIllustration.js +1 -0
  13. package/build/assets/widget-icons/illustraions/scenery.d.ts +2 -0
  14. package/build/assets/widget-icons/illustraions/scenery.js +1 -0
  15. package/build/assets/widget-icons/normal/album02.d.ts +2 -0
  16. package/build/assets/widget-icons/normal/album02.js +1 -0
  17. package/build/assets/widget-icons/normal/informationCircle.d.ts +2 -0
  18. package/build/assets/widget-icons/normal/informationCircle.js +1 -0
  19. package/build/assets/widget-icons/normal/refund.d.ts +2 -0
  20. package/build/assets/widget-icons/normal/refund.js +1 -0
  21. package/build/ext/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -0
  22. package/build/ext/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -0
  23. package/build/ext/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -0
  24. package/build/ext/@babel/runtime/helpers/esm/classCallCheck.js +1 -0
  25. package/build/ext/@babel/runtime/helpers/esm/createClass.js +1 -0
  26. package/build/ext/@babel/runtime/helpers/esm/defineProperty.js +1 -0
  27. package/build/ext/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -0
  28. package/build/ext/@babel/runtime/helpers/esm/inherits.js +1 -0
  29. package/build/ext/@babel/runtime/helpers/esm/iterableToArray.js +1 -0
  30. package/build/ext/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -0
  31. package/build/ext/@babel/runtime/helpers/esm/nonIterableRest.js +1 -0
  32. package/build/ext/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -0
  33. package/build/ext/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -0
  34. package/build/ext/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -0
  35. package/build/ext/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -0
  36. package/build/ext/@babel/runtime/helpers/esm/slicedToArray.js +1 -0
  37. package/build/ext/@babel/runtime/helpers/esm/toArray.js +1 -0
  38. package/build/ext/@babel/runtime/helpers/esm/toPrimitive.js +1 -0
  39. package/build/ext/@babel/runtime/helpers/esm/toPropertyKey.js +1 -0
  40. package/build/ext/@babel/runtime/helpers/esm/typeof.js +1 -0
  41. package/build/ext/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -0
  42. package/build/ext/html-parse-stringify/dist/html-parse-stringify.module.js +1 -0
  43. package/build/ext/i18next/dist/esm/i18next.js +1 -1
  44. package/build/ext/react-i18next/dist/es/I18nextProvider.js +1 -1
  45. package/build/ext/react-i18next/dist/es/Trans.js +1 -0
  46. package/build/ext/react-i18next/dist/es/context.js +1 -1
  47. package/build/ext/react-i18next/dist/es/unescape.js +1 -1
  48. package/build/ext/react-i18next/dist/es/useTranslation.js +1 -1
  49. package/build/ext/react-i18next/dist/es/utils.js +1 -1
  50. package/build/ext/tslib/tslib.es6.mjs.js +1 -1
  51. package/build/ext/void-elements/index.js +1 -0
  52. package/build/index.d.ts +9 -0
  53. package/build/index.js +1 -1
  54. package/build/injector.d.ts +5 -0
  55. package/build/locales.d.ts +703 -0
  56. package/build/locales.js +1 -0
  57. package/build/models/button/index.js +1 -1
  58. package/build/models/common/index.d.ts +21 -0
  59. package/build/models/common/index.js +1 -0
  60. package/build/models/image/index.d.ts +2 -2
  61. package/build/models/image/index.js +1 -1
  62. package/build/models/index.d.ts +34 -7
  63. package/build/models/index.js +1 -1
  64. package/build/models/loyalty-customer-info/index.d.ts +29 -8
  65. package/build/models/loyalty-customer-info/index.js +1 -1
  66. package/build/models/loyalty-program-earning-method/index.d.ts +16 -30
  67. package/build/models/loyalty-program-earning-method/index.js +1 -1
  68. package/build/models/loyalty-program-point-history/index.d.ts +18 -3
  69. package/build/models/loyalty-program-point-history/index.js +1 -1
  70. package/build/models/loyalty-program-spending-method/index.d.ts +8 -20
  71. package/build/models/loyalty-program-spending-method/index.js +1 -1
  72. package/build/models/loyalty-widget/header/header-background/index.d.ts +2 -2
  73. package/build/models/loyalty-widget/header/header-background/index.js +1 -1
  74. package/build/models/loyalty-widget/header/index.d.ts +1 -1
  75. package/build/models/loyalty-widget/header/index.js +1 -1
  76. package/build/models/loyalty-widget/index.d.ts +4 -2
  77. package/build/models/loyalty-widget/index.js +1 -1
  78. package/build/models/loyalty-widget/settings/index.js +1 -1
  79. package/build/models/loyalty-widget/translations.d.ts +5 -0
  80. package/build/models/loyalty-widget/translations.js +1 -0
  81. package/build/models/mini-mode/index.d.ts +10 -0
  82. package/build/models/mini-mode/index.js +1 -0
  83. package/build/models/types/index.d.ts +61 -42
  84. package/build/models/types/index.js +1 -1
  85. package/build/renderer/components/animate-height/index.d.ts +9 -0
  86. package/build/renderer/components/animate-height/index.js +1 -0
  87. package/build/renderer/components/button/index.js +1 -1
  88. package/build/renderer/components/button/style.d.ts +1 -0
  89. package/build/renderer/components/button/style.js +1 -1
  90. package/build/renderer/components/count-up/index.d.ts +7 -0
  91. package/build/renderer/components/count-up/index.js +1 -0
  92. package/build/renderer/components/flexible-value-container/index.d.ts +16 -0
  93. package/build/renderer/components/flexible-value-container/index.js +1 -0
  94. package/build/renderer/components/loyalty-method-card/index.d.ts +2 -1
  95. package/build/renderer/components/loyalty-method-card/index.js +1 -1
  96. package/build/renderer/components/loyalty-method-card/style.d.ts +3 -3
  97. package/build/renderer/components/loyalty-method-card/style.js +1 -1
  98. package/build/renderer/components/mini-mode-button/index.d.ts +7 -0
  99. package/build/renderer/components/mini-mode-button/index.js +1 -0
  100. package/build/renderer/components/mini-mode-button/style.d.ts +6 -0
  101. package/build/renderer/components/mini-mode-button/style.js +1 -0
  102. package/build/renderer/components/mini-mode-description/index.d.ts +8 -0
  103. package/build/renderer/components/mini-mode-description/index.js +1 -0
  104. package/build/renderer/components/mini-mode-description/style.d.ts +3 -0
  105. package/build/renderer/components/mini-mode-description/style.js +1 -0
  106. package/build/renderer/components/product-filter-card/index.d.ts +13 -0
  107. package/build/renderer/components/product-filter-card/index.js +1 -0
  108. package/build/renderer/components/product-filter-card/style.d.ts +10 -0
  109. package/build/renderer/components/product-filter-card/style.js +1 -0
  110. package/build/renderer/components/style/icon-wrapper.d.ts +4 -0
  111. package/build/renderer/components/style/icon-wrapper.js +1 -0
  112. package/build/renderer/components/style/typography.d.ts +3 -1
  113. package/build/renderer/components/style/typography.js +1 -1
  114. package/build/renderer/components/tooltip/index.d.ts +7 -0
  115. package/build/renderer/components/tooltip/index.js +1 -0
  116. package/build/renderer/components/tooltip/style.d.ts +4 -0
  117. package/build/renderer/components/tooltip/style.js +1 -0
  118. package/build/renderer/components/translation-settings/style.d.ts +9 -0
  119. package/build/renderer/index.js +1 -1
  120. package/build/renderer/screens/credit-earning-methods-screen/index.js +1 -1
  121. package/build/renderer/screens/credit-earning-methods-screen/style.js +1 -1
  122. package/build/renderer/screens/credit-history-screen/index.js +1 -1
  123. package/build/renderer/screens/credit-history-screen/style.d.ts +8 -2
  124. package/build/renderer/screens/credit-history-screen/style.js +1 -1
  125. package/build/renderer/screens/credit-spending-methods-screen/index.js +1 -1
  126. package/build/renderer/screens/credit-spending-methods-screen/style.d.ts +3 -1
  127. package/build/renderer/screens/credit-spending-methods-screen/style.js +1 -1
  128. package/build/renderer/screens/gift-product-selection-screen/index.d.ts +9 -0
  129. package/build/renderer/screens/gift-product-selection-screen/index.js +1 -0
  130. package/build/renderer/screens/gift-product-selection-screen/style.d.ts +22 -0
  131. package/build/renderer/screens/gift-product-selection-screen/style.js +1 -0
  132. package/build/renderer/screens/loyalty-level-screen/index.js +1 -1
  133. package/build/renderer/screens/loyalty-level-screen/style.d.ts +17 -4
  134. package/build/renderer/screens/loyalty-level-screen/style.js +1 -1
  135. package/build/renderer/screens/main-screen/applied-discount/index.d.ts +9 -0
  136. package/build/renderer/screens/main-screen/applied-discount/index.js +1 -0
  137. package/build/renderer/screens/main-screen/applied-discount/style.d.ts +14 -0
  138. package/build/renderer/screens/main-screen/applied-discount/style.js +1 -0
  139. package/build/renderer/screens/main-screen/cart-warning/index.d.ts +7 -0
  140. package/build/renderer/screens/main-screen/cart-warning/index.js +1 -0
  141. package/build/renderer/screens/main-screen/cart-warning/style.d.ts +5 -0
  142. package/build/renderer/screens/main-screen/cart-warning/style.js +1 -0
  143. package/build/renderer/screens/main-screen/earning-methods-section/index.d.ts +1 -0
  144. package/build/renderer/screens/main-screen/earning-methods-section/index.js +1 -1
  145. package/build/renderer/screens/main-screen/header/auth-user-section/index.js +1 -1
  146. package/build/renderer/screens/main-screen/header/index.js +1 -1
  147. package/build/renderer/screens/main-screen/header/logo-section/index.js +1 -1
  148. package/build/renderer/screens/main-screen/header/logo-section/style.d.ts +3 -1
  149. package/build/renderer/screens/main-screen/header/logo-section/style.js +1 -1
  150. package/build/renderer/screens/main-screen/header/style.d.ts +11 -5
  151. package/build/renderer/screens/main-screen/header/style.js +1 -1
  152. package/build/renderer/screens/main-screen/header/title-section/index.js +1 -1
  153. package/build/renderer/screens/main-screen/header/title-section/style.js +1 -1
  154. package/build/renderer/screens/main-screen/header/user-logged-section/index.js +1 -1
  155. package/build/renderer/screens/main-screen/header/user-logged-section/style.d.ts +4 -1
  156. package/build/renderer/screens/main-screen/header/user-logged-section/style.js +1 -1
  157. package/build/renderer/screens/main-screen/index.js +1 -1
  158. package/build/renderer/screens/main-screen/program-info-section/index.js +1 -1
  159. package/build/renderer/screens/main-screen/program-info-section/style.d.ts +12 -4
  160. package/build/renderer/screens/main-screen/program-info-section/style.js +1 -1
  161. package/build/renderer/screens/main-screen/spending-methods-section/dynamic-slider.js +1 -1
  162. package/build/renderer/screens/main-screen/spending-methods-section/index.d.ts +1 -0
  163. package/build/renderer/screens/main-screen/spending-methods-section/index.js +1 -1
  164. package/build/renderer/screens/main-screen/style.js +1 -1
  165. package/build/renderer/style.d.ts +19 -3
  166. package/build/renderer/style.js +1 -1
  167. package/build/renderer/utils/i18n.d.ts +17 -0
  168. package/build/renderer/utils/i18n.js +1 -1
  169. package/build/renderer/utils/locales/de.json.js +1 -0
  170. package/build/renderer/utils/locales/en.json.js +1 -1
  171. package/build/renderer/utils/locales/fr.json.js +1 -0
  172. package/build/renderer/utils/locales/nl.json.js +1 -0
  173. package/build/renderer/utils/locales/tr.json.js +1 -1
  174. package/build/renderer/utils/loyalty-details.d.ts +8 -0
  175. package/build/renderer/utils/loyalty-details.js +1 -1
  176. package/build/renderer/utils/object-utils.d.ts +2 -0
  177. package/build/renderer/utils/object-utils.js +1 -0
  178. package/build/renderer/utils/spending-method-utils.d.ts +20 -0
  179. package/build/renderer/utils/spending-method-utils.js +1 -0
  180. package/build/storefront-widget-script-injector.iife.js +68 -0
  181. package/build/storefront-widget-script-injector.iife.js.map +1 -0
  182. package/build/utils.d.ts +41 -4
  183. package/build/utils.js +1 -1
  184. package/package.json +23 -11
  185. package/build/_virtual/index.js +0 -1
  186. package/build/_virtual/use-sync-external-store-shim.development.js +0 -1
  187. package/build/_virtual/use-sync-external-store-shim.production.js +0 -1
  188. package/build/ext/mobx/dist/mobx.esm.js +0 -1
  189. package/build/ext/mobx-react/dist/mobxreact.esm.js +0 -1
  190. package/build/ext/mobx-react-lite/es/ObserverComponent.js +0 -1
  191. package/build/ext/mobx-react-lite/es/index.js +0 -1
  192. package/build/ext/mobx-react-lite/es/observer.js +0 -1
  193. package/build/ext/mobx-react-lite/es/useAsObservableSource.js +0 -1
  194. package/build/ext/mobx-react-lite/es/useObserver.js +0 -1
  195. package/build/ext/mobx-react-lite/es/utils/UniversalFinalizationRegistry.js +0 -1
  196. package/build/ext/mobx-react-lite/es/utils/assertEnvironment.js +0 -1
  197. package/build/ext/mobx-react-lite/es/utils/observerBatching.js +0 -1
  198. package/build/ext/mobx-react-lite/es/utils/observerFinalizationRegistry.js +0 -1
  199. package/build/ext/mobx-react-lite/es/utils/printDebugValue.js +0 -1
  200. package/build/ext/react-i18next/dist/es/IcuTransUtils/htmlEntityDecoder.js +0 -1
  201. package/build/ext/react-i18next/dist/es/defaults.js +0 -1
  202. package/build/ext/react-i18next/dist/es/i18nInstance.js +0 -1
  203. package/build/ext/react-i18next/dist/es/initReactI18next.js +0 -1
  204. package/build/ext/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -10
  205. package/build/ext/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -10
  206. package/build/ext/use-sync-external-store/shim/index.js +0 -1
  207. package/build/models/base.d.ts +0 -4
  208. package/build/models/base.js +0 -1
  209. package/build/models/category/index.d.ts +0 -5
  210. package/build/models/loyalty-widget/header-background/index.d.ts +0 -9
@@ -0,0 +1,703 @@
1
+ declare const locales: {
2
+ tr: {
3
+ common: {
4
+ points: string;
5
+ create: string;
6
+ allow: string;
7
+ use: string;
8
+ login: string;
9
+ convert: string;
10
+ goToProduct: string;
11
+ };
12
+ main_screen: {
13
+ earningMethodsTitle: string;
14
+ spendingMethodsTitle: string;
15
+ programInfoTitle: string;
16
+ earnPoints: string;
17
+ allRewards: string;
18
+ tiers: string;
19
+ pointHistory: string;
20
+ cartWarning: string;
21
+ appliedDiscount: {
22
+ fixedAmount: string;
23
+ freeShipping: string;
24
+ ratio: string;
25
+ freeProduct: string;
26
+ generic: string;
27
+ remove: string;
28
+ goToCheckout: string;
29
+ };
30
+ };
31
+ spendingMethods: {
32
+ minPointLimit: string;
33
+ FIXED_AMOUNT: {
34
+ title: string;
35
+ dynamicTitle: string;
36
+ };
37
+ RATIO: {
38
+ title: string;
39
+ };
40
+ FREE_SHIPPING: {
41
+ title: string;
42
+ };
43
+ FREE_PRODUCT: {
44
+ title: string;
45
+ description: string;
46
+ groupedDescription: string;
47
+ singleDescription: string;
48
+ selectGift: string;
49
+ addFree: string;
50
+ };
51
+ };
52
+ header: {
53
+ title: string;
54
+ subtitle: string;
55
+ register_title: string;
56
+ registerDescription: string;
57
+ registerButton: string;
58
+ haveAccount: string;
59
+ earnedPoints: string;
60
+ logoAlt: string;
61
+ };
62
+ earningMethods: {
63
+ xPoints: string;
64
+ CUSTOMER_REGISTER: {
65
+ title: string;
66
+ };
67
+ CUSTOMER_REVIEW: {
68
+ title: string;
69
+ };
70
+ ENABLE_SUBSCRIPTION: {
71
+ title: string;
72
+ };
73
+ ORDER_CREATE: {
74
+ RECEIVE_POINTS_ON_SPEND: {
75
+ title: string;
76
+ description: string;
77
+ };
78
+ BASE: {
79
+ title: string;
80
+ descriptionStaticMinimum: string;
81
+ descriptionStaticMaximum: string;
82
+ descriptionOnlyCategory: string;
83
+ descriptionOnlyProduct: string;
84
+ descriptionOnlyBrand: string;
85
+ descriptionOnlyTag: string;
86
+ genericCategory: string;
87
+ genericProduct: string;
88
+ genericBrand: string;
89
+ genericTag: string;
90
+ descriptionWithFilter: string;
91
+ productFilterHeader: string;
92
+ productAndConditionHeader: string;
93
+ };
94
+ };
95
+ BUY_PRODUCT: {
96
+ title: string;
97
+ productFilterHeader: string;
98
+ };
99
+ CUSTOMER_SEGMENT: {
100
+ title: string;
101
+ };
102
+ };
103
+ history: {
104
+ earnedTitle: string;
105
+ spentTitle: string;
106
+ refundTitle: string;
107
+ refillTitle: string;
108
+ manualEarnTitle: string;
109
+ manualDeductTitle: string;
110
+ unknownTitle: string;
111
+ earningMethodLabels: {
112
+ CUSTOMER_REGISTER: string;
113
+ ENABLE_SUBSCRIPTION: string;
114
+ CUSTOMER_REVIEW: string;
115
+ ORDER_CREATE: string;
116
+ BUY_PRODUCT: string;
117
+ CUSTOMER_SEGMENT: string;
118
+ };
119
+ orderRefund: string;
120
+ };
121
+ screens: {
122
+ creditEarningMethods: string;
123
+ creditSpendingMethods: string;
124
+ giftProductSelection: string;
125
+ creditHistory: string;
126
+ loyaltyLevel: string;
127
+ loyaltyLevelScreen: {
128
+ afterEarning: string;
129
+ reachNextTier: string;
130
+ allTiersCompleted: string;
131
+ currentTierDescription: string;
132
+ otherTiers: string;
133
+ multiplierDescription: string;
134
+ };
135
+ };
136
+ miniMode: {
137
+ description: string;
138
+ descriptionLoggedIn: string;
139
+ altText: string;
140
+ };
141
+ };
142
+ en: {
143
+ common: {
144
+ points: string;
145
+ create: string;
146
+ allow: string;
147
+ use: string;
148
+ login: string;
149
+ convert: string;
150
+ goToProduct: string;
151
+ };
152
+ main_screen: {
153
+ earningMethodsTitle: string;
154
+ spendingMethodsTitle: string;
155
+ programInfoTitle: string;
156
+ earnPoints: string;
157
+ allRewards: string;
158
+ tiers: string;
159
+ pointHistory: string;
160
+ cartWarning: string;
161
+ appliedDiscount: {
162
+ fixedAmount: string;
163
+ freeShipping: string;
164
+ ratio: string;
165
+ freeProduct: string;
166
+ generic: string;
167
+ remove: string;
168
+ goToCheckout: string;
169
+ };
170
+ };
171
+ spendingMethods: {
172
+ minPointLimit: string;
173
+ FIXED_AMOUNT: {
174
+ title: string;
175
+ dynamicTitle: string;
176
+ };
177
+ RATIO: {
178
+ title: string;
179
+ };
180
+ FREE_SHIPPING: {
181
+ title: string;
182
+ };
183
+ FREE_PRODUCT: {
184
+ title: string;
185
+ description: string;
186
+ groupedDescription: string;
187
+ singleDescription: string;
188
+ selectGift: string;
189
+ addFree: string;
190
+ };
191
+ };
192
+ header: {
193
+ title: string;
194
+ subtitle: string;
195
+ register_title: string;
196
+ registerDescription: string;
197
+ registerButton: string;
198
+ haveAccount: string;
199
+ earnedPoints: string;
200
+ logoAlt: string;
201
+ };
202
+ earningMethods: {
203
+ xPoints: string;
204
+ CUSTOMER_REGISTER: {
205
+ title: string;
206
+ };
207
+ CUSTOMER_REVIEW: {
208
+ title: string;
209
+ };
210
+ ENABLE_SUBSCRIPTION: {
211
+ title: string;
212
+ };
213
+ ORDER_CREATE: {
214
+ RECEIVE_POINTS_ON_SPEND: {
215
+ title: string;
216
+ description: string;
217
+ };
218
+ BASE: {
219
+ title: string;
220
+ descriptionStaticMinimum: string;
221
+ descriptionStaticMaximum: string;
222
+ descriptionOnlyCategory: string;
223
+ descriptionOnlyProduct: string;
224
+ descriptionOnlyBrand: string;
225
+ descriptionOnlyTag: string;
226
+ genericCategory: string;
227
+ genericProduct: string;
228
+ genericBrand: string;
229
+ genericTag: string;
230
+ descriptionWithFilter: string;
231
+ productFilterHeader: string;
232
+ productAndConditionHeader: string;
233
+ };
234
+ };
235
+ BUY_PRODUCT: {
236
+ title: string;
237
+ productFilterHeader: string;
238
+ };
239
+ CUSTOMER_SEGMENT: {
240
+ title: string;
241
+ };
242
+ };
243
+ history: {
244
+ earnedTitle: string;
245
+ spentTitle: string;
246
+ refundTitle: string;
247
+ refillTitle: string;
248
+ manualEarnTitle: string;
249
+ manualDeductTitle: string;
250
+ unknownTitle: string;
251
+ earningMethodLabels: {
252
+ CUSTOMER_REGISTER: string;
253
+ ENABLE_SUBSCRIPTION: string;
254
+ CUSTOMER_REVIEW: string;
255
+ ORDER_CREATE: string;
256
+ BUY_PRODUCT: string;
257
+ CUSTOMER_SEGMENT: string;
258
+ };
259
+ orderRefund: string;
260
+ };
261
+ screens: {
262
+ creditEarningMethods: string;
263
+ creditSpendingMethods: string;
264
+ giftProductSelection: string;
265
+ creditHistory: string;
266
+ loyaltyLevel: string;
267
+ loyaltyLevelScreen: {
268
+ afterEarning: string;
269
+ reachNextTier: string;
270
+ allTiersCompleted: string;
271
+ currentTierDescription: string;
272
+ otherTiers: string;
273
+ multiplierDescription: string;
274
+ };
275
+ };
276
+ miniMode: {
277
+ description: string;
278
+ descriptionLoggedIn: string;
279
+ altText: string;
280
+ };
281
+ };
282
+ de: {
283
+ common: {
284
+ points: string;
285
+ create: string;
286
+ allow: string;
287
+ use: string;
288
+ login: string;
289
+ convert: string;
290
+ goToProduct: string;
291
+ };
292
+ main_screen: {
293
+ earningMethodsTitle: string;
294
+ spendingMethodsTitle: string;
295
+ programInfoTitle: string;
296
+ earnPoints: string;
297
+ allRewards: string;
298
+ tiers: string;
299
+ pointHistory: string;
300
+ cartWarning: string;
301
+ appliedDiscount: {
302
+ fixedAmount: string;
303
+ freeShipping: string;
304
+ ratio: string;
305
+ freeProduct: string;
306
+ generic: string;
307
+ remove: string;
308
+ goToCheckout: string;
309
+ };
310
+ };
311
+ spendingMethods: {
312
+ minPointLimit: string;
313
+ FIXED_AMOUNT: {
314
+ title: string;
315
+ dynamicTitle: string;
316
+ };
317
+ RATIO: {
318
+ title: string;
319
+ };
320
+ FREE_SHIPPING: {
321
+ title: string;
322
+ };
323
+ FREE_PRODUCT: {
324
+ title: string;
325
+ description: string;
326
+ groupedDescription: string;
327
+ singleDescription: string;
328
+ selectGift: string;
329
+ addFree: string;
330
+ };
331
+ };
332
+ header: {
333
+ title: string;
334
+ subtitle: string;
335
+ register_title: string;
336
+ registerDescription: string;
337
+ registerButton: string;
338
+ haveAccount: string;
339
+ earnedPoints: string;
340
+ logoAlt: string;
341
+ };
342
+ earningMethods: {
343
+ xPoints: string;
344
+ CUSTOMER_REGISTER: {
345
+ title: string;
346
+ };
347
+ CUSTOMER_REVIEW: {
348
+ title: string;
349
+ };
350
+ ENABLE_SUBSCRIPTION: {
351
+ title: string;
352
+ };
353
+ ORDER_CREATE: {
354
+ RECEIVE_POINTS_ON_SPEND: {
355
+ title: string;
356
+ description: string;
357
+ };
358
+ BASE: {
359
+ title: string;
360
+ descriptionStaticMinimum: string;
361
+ descriptionStaticMaximum: string;
362
+ descriptionOnlyCategory: string;
363
+ descriptionOnlyProduct: string;
364
+ descriptionOnlyBrand: string;
365
+ descriptionOnlyTag: string;
366
+ genericCategory: string;
367
+ genericProduct: string;
368
+ genericBrand: string;
369
+ genericTag: string;
370
+ descriptionWithFilter: string;
371
+ productFilterHeader: string;
372
+ productAndConditionHeader: string;
373
+ };
374
+ };
375
+ BUY_PRODUCT: {
376
+ title: string;
377
+ productFilterHeader: string;
378
+ };
379
+ CUSTOMER_SEGMENT: {
380
+ title: string;
381
+ };
382
+ };
383
+ history: {
384
+ earnedTitle: string;
385
+ spentTitle: string;
386
+ refundTitle: string;
387
+ refillTitle: string;
388
+ manualEarnTitle: string;
389
+ manualDeductTitle: string;
390
+ unknownTitle: string;
391
+ earningMethodLabels: {
392
+ CUSTOMER_REGISTER: string;
393
+ ENABLE_SUBSCRIPTION: string;
394
+ CUSTOMER_REVIEW: string;
395
+ ORDER_CREATE: string;
396
+ BUY_PRODUCT: string;
397
+ CUSTOMER_SEGMENT: string;
398
+ };
399
+ orderRefund: string;
400
+ };
401
+ screens: {
402
+ creditEarningMethods: string;
403
+ creditSpendingMethods: string;
404
+ giftProductSelection: string;
405
+ creditHistory: string;
406
+ loyaltyLevel: string;
407
+ loyaltyLevelScreen: {
408
+ afterEarning: string;
409
+ reachNextTier: string;
410
+ allTiersCompleted: string;
411
+ currentTierDescription: string;
412
+ otherTiers: string;
413
+ multiplierDescription: string;
414
+ };
415
+ };
416
+ miniMode: {
417
+ description: string;
418
+ descriptionLoggedIn: string;
419
+ altText: string;
420
+ };
421
+ };
422
+ nl: {
423
+ common: {
424
+ points: string;
425
+ create: string;
426
+ allow: string;
427
+ use: string;
428
+ login: string;
429
+ convert: string;
430
+ goToProduct: string;
431
+ };
432
+ main_screen: {
433
+ earningMethodsTitle: string;
434
+ spendingMethodsTitle: string;
435
+ programInfoTitle: string;
436
+ earnPoints: string;
437
+ allRewards: string;
438
+ tiers: string;
439
+ pointHistory: string;
440
+ cartWarning: string;
441
+ appliedDiscount: {
442
+ fixedAmount: string;
443
+ freeShipping: string;
444
+ ratio: string;
445
+ freeProduct: string;
446
+ generic: string;
447
+ remove: string;
448
+ goToCheckout: string;
449
+ };
450
+ };
451
+ spendingMethods: {
452
+ minPointLimit: string;
453
+ FIXED_AMOUNT: {
454
+ title: string;
455
+ dynamicTitle: string;
456
+ };
457
+ RATIO: {
458
+ title: string;
459
+ };
460
+ FREE_SHIPPING: {
461
+ title: string;
462
+ };
463
+ FREE_PRODUCT: {
464
+ title: string;
465
+ description: string;
466
+ groupedDescription: string;
467
+ singleDescription: string;
468
+ selectGift: string;
469
+ addFree: string;
470
+ };
471
+ };
472
+ header: {
473
+ title: string;
474
+ subtitle: string;
475
+ register_title: string;
476
+ registerDescription: string;
477
+ registerButton: string;
478
+ haveAccount: string;
479
+ earnedPoints: string;
480
+ logoAlt: string;
481
+ };
482
+ earningMethods: {
483
+ xPoints: string;
484
+ CUSTOMER_REGISTER: {
485
+ title: string;
486
+ };
487
+ CUSTOMER_REVIEW: {
488
+ title: string;
489
+ };
490
+ ENABLE_SUBSCRIPTION: {
491
+ title: string;
492
+ };
493
+ ORDER_CREATE: {
494
+ RECEIVE_POINTS_ON_SPEND: {
495
+ title: string;
496
+ description: string;
497
+ };
498
+ BASE: {
499
+ title: string;
500
+ descriptionStaticMinimum: string;
501
+ descriptionStaticMaximum: string;
502
+ descriptionOnlyCategory: string;
503
+ descriptionOnlyProduct: string;
504
+ descriptionOnlyBrand: string;
505
+ descriptionOnlyTag: string;
506
+ genericCategory: string;
507
+ genericProduct: string;
508
+ genericBrand: string;
509
+ genericTag: string;
510
+ descriptionWithFilter: string;
511
+ productFilterHeader: string;
512
+ productAndConditionHeader: string;
513
+ };
514
+ };
515
+ BUY_PRODUCT: {
516
+ title: string;
517
+ productFilterHeader: string;
518
+ };
519
+ CUSTOMER_SEGMENT: {
520
+ title: string;
521
+ };
522
+ };
523
+ history: {
524
+ earnedTitle: string;
525
+ spentTitle: string;
526
+ refundTitle: string;
527
+ refillTitle: string;
528
+ manualEarnTitle: string;
529
+ manualDeductTitle: string;
530
+ unknownTitle: string;
531
+ earningMethodLabels: {
532
+ CUSTOMER_REGISTER: string;
533
+ ENABLE_SUBSCRIPTION: string;
534
+ CUSTOMER_REVIEW: string;
535
+ ORDER_CREATE: string;
536
+ BUY_PRODUCT: string;
537
+ CUSTOMER_SEGMENT: string;
538
+ };
539
+ orderRefund: string;
540
+ };
541
+ screens: {
542
+ creditEarningMethods: string;
543
+ creditSpendingMethods: string;
544
+ giftProductSelection: string;
545
+ creditHistory: string;
546
+ loyaltyLevel: string;
547
+ loyaltyLevelScreen: {
548
+ afterEarning: string;
549
+ reachNextTier: string;
550
+ allTiersCompleted: string;
551
+ currentTierDescription: string;
552
+ otherTiers: string;
553
+ multiplierDescription: string;
554
+ };
555
+ };
556
+ miniMode: {
557
+ description: string;
558
+ descriptionLoggedIn: string;
559
+ altText: string;
560
+ };
561
+ };
562
+ fr: {
563
+ common: {
564
+ points: string;
565
+ create: string;
566
+ allow: string;
567
+ use: string;
568
+ login: string;
569
+ convert: string;
570
+ goToProduct: string;
571
+ };
572
+ main_screen: {
573
+ earningMethodsTitle: string;
574
+ spendingMethodsTitle: string;
575
+ programInfoTitle: string;
576
+ earnPoints: string;
577
+ allRewards: string;
578
+ tiers: string;
579
+ pointHistory: string;
580
+ cartWarning: string;
581
+ appliedDiscount: {
582
+ fixedAmount: string;
583
+ freeShipping: string;
584
+ ratio: string;
585
+ freeProduct: string;
586
+ generic: string;
587
+ remove: string;
588
+ goToCheckout: string;
589
+ };
590
+ };
591
+ spendingMethods: {
592
+ minPointLimit: string;
593
+ FIXED_AMOUNT: {
594
+ title: string;
595
+ dynamicTitle: string;
596
+ };
597
+ RATIO: {
598
+ title: string;
599
+ };
600
+ FREE_SHIPPING: {
601
+ title: string;
602
+ };
603
+ FREE_PRODUCT: {
604
+ title: string;
605
+ description: string;
606
+ groupedDescription: string;
607
+ singleDescription: string;
608
+ selectGift: string;
609
+ addFree: string;
610
+ };
611
+ };
612
+ header: {
613
+ title: string;
614
+ subtitle: string;
615
+ register_title: string;
616
+ registerDescription: string;
617
+ registerButton: string;
618
+ haveAccount: string;
619
+ earnedPoints: string;
620
+ logoAlt: string;
621
+ };
622
+ earningMethods: {
623
+ xPoints: string;
624
+ CUSTOMER_REGISTER: {
625
+ title: string;
626
+ };
627
+ CUSTOMER_REVIEW: {
628
+ title: string;
629
+ };
630
+ ENABLE_SUBSCRIPTION: {
631
+ title: string;
632
+ };
633
+ ORDER_CREATE: {
634
+ RECEIVE_POINTS_ON_SPEND: {
635
+ title: string;
636
+ description: string;
637
+ };
638
+ BASE: {
639
+ title: string;
640
+ descriptionStaticMinimum: string;
641
+ descriptionStaticMaximum: string;
642
+ descriptionOnlyCategory: string;
643
+ descriptionOnlyProduct: string;
644
+ descriptionOnlyBrand: string;
645
+ descriptionOnlyTag: string;
646
+ genericCategory: string;
647
+ genericProduct: string;
648
+ genericBrand: string;
649
+ genericTag: string;
650
+ descriptionWithFilter: string;
651
+ productFilterHeader: string;
652
+ productAndConditionHeader: string;
653
+ };
654
+ };
655
+ BUY_PRODUCT: {
656
+ title: string;
657
+ productFilterHeader: string;
658
+ };
659
+ CUSTOMER_SEGMENT: {
660
+ title: string;
661
+ };
662
+ };
663
+ history: {
664
+ earnedTitle: string;
665
+ spentTitle: string;
666
+ refundTitle: string;
667
+ refillTitle: string;
668
+ manualEarnTitle: string;
669
+ manualDeductTitle: string;
670
+ unknownTitle: string;
671
+ earningMethodLabels: {
672
+ CUSTOMER_REGISTER: string;
673
+ ENABLE_SUBSCRIPTION: string;
674
+ CUSTOMER_REVIEW: string;
675
+ ORDER_CREATE: string;
676
+ BUY_PRODUCT: string;
677
+ CUSTOMER_SEGMENT: string;
678
+ };
679
+ orderRefund: string;
680
+ };
681
+ screens: {
682
+ creditEarningMethods: string;
683
+ creditSpendingMethods: string;
684
+ giftProductSelection: string;
685
+ creditHistory: string;
686
+ loyaltyLevel: string;
687
+ loyaltyLevelScreen: {
688
+ afterEarning: string;
689
+ reachNextTier: string;
690
+ allTiersCompleted: string;
691
+ currentTierDescription: string;
692
+ otherTiers: string;
693
+ multiplierDescription: string;
694
+ };
695
+ };
696
+ miniMode: {
697
+ description: string;
698
+ descriptionLoggedIn: string;
699
+ altText: string;
700
+ };
701
+ };
702
+ };
703
+ export default locales;
@@ -0,0 +1 @@
1
+ import r from"./renderer/utils/locales/de.json.js";import e from"./renderer/utils/locales/en.json.js";import o from"./renderer/utils/locales/fr.json.js";import s from"./renderer/utils/locales/nl.json.js";import l from"./renderer/utils/locales/tr.json.js";var n={tr:l,en:e,de:r,nl:s,fr:o};export{n as default};
@@ -1 +1 @@
1
- import{makeObservable as o,observable as l}from'./../../ext/mobx/dist/mobx.esm.js';var t=function(t){var r,i,u,d;void 0===t&&(t={}),this.buttonRadius=null!==(r=t.buttonRadius)&&void 0!==r?r:0,this.bgColor=null!==(i=t.bgColor)&&void 0!==i?i:null,this.textColor=null!==(u=t.textColor)&&void 0!==u?u:null,this.borderColor=null!==(d=t.borderColor)&&void 0!==d?d:null,o(this,{buttonRadius:l,bgColor:l,textColor:l,borderColor:l})};export{t as LoyaltyWidgetButton};
1
+ import{makeObservable as o,observable as l}from"mobx";var r=function(r){var t,i,u,n;void 0===r&&(r={}),this.buttonRadius=null!==(t=r.buttonRadius)&&void 0!==t?t:0,this.bgColor=null!==(i=r.bgColor)&&void 0!==i?i:null,this.textColor=null!==(u=r.textColor)&&void 0!==u?u:null,this.borderColor=null!==(n=r.borderColor)&&void 0!==n?n:null,o(this,{buttonRadius:l,bgColor:l,textColor:l,borderColor:l})};export{r as LoyaltyWidgetButton};