paymob-pixel-alpha 1.1.8 → 1.1.9

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 (4) hide show
  1. package/README.md +30 -6
  2. package/main.js +1038 -280
  3. package/package.json +1 -1
  4. package/styles.css +679 -627
package/README.md CHANGED
@@ -167,9 +167,12 @@ The full list of functions is as follows:
167
167
  },
168
168
  customStyle: {
169
169
  HideCardIcons: true,
170
+ HideCardLabel: true,
170
171
  Direction: 'rtl',
171
172
  Label_Text: {
172
173
  cardLabel: "بيانات البطاقة"
174
+ savedCardsLabel: 'البطاقات المحفوطة',
175
+ saveCardConsentLabel: 'حفظ البطاقة',
173
176
  },
174
177
  Placeholder_Text: {
175
178
  holderName: 'الاسم علي البطاقة',
@@ -179,9 +182,18 @@ The full list of functions is as follows:
179
182
  },
180
183
  Error_Text: {
181
184
  holderName: 'مطلوب اسم حامل البطاقة',
182
- cardNumber: 'مطلوب رقم البطاقة',
183
- expiryDate: 'مطلوب تاريخ انتهاء الصلاحية',
184
- securityCode: 'مطلوب رمز CVV مكون من 3 أرقام'
185
+ cardNumber: {
186
+ required: 'مطلوب رقم البطاقة',
187
+ invalid: 'رقم البطاقة غير صحيح'
188
+ },
189
+ expiryDate: {
190
+ required: 'مطلوب تاريخ انتهاء الصلاحية',
191
+ invalid: 'تاريخ انتهاء الصلاحية غير صحيح'
192
+ },
193
+ },
194
+ Button_Text: {
195
+ viewSavedCardsBtn: 'عرض البطاقات المحفوظة',
196
+ addNewCardBtn: 'إضافة بطاقة جديدة'
185
197
  },
186
198
  Font_Family: 'monospace',
187
199
  Font_Size_Label: '18',
@@ -306,9 +318,12 @@ The full list of functions is as follows:
306
318
  },
307
319
  customStyle: {
308
320
  HideCardIcons: true,
321
+ HideCardLabel: true,
309
322
  Direction: 'rtl',
310
323
  Label_Text: {
311
324
  cardLabel: "بيانات البطاقة"
325
+ savedCardsLabel: 'البطاقات المحفوطة',
326
+ saveCardConsentLabel: 'حفظ البطاقة',
312
327
  },
313
328
  Placeholder_Text: {
314
329
  holderName: 'الاسم علي البطاقة',
@@ -318,9 +333,18 @@ The full list of functions is as follows:
318
333
  },
319
334
  Error_Text: {
320
335
  holderName: 'مطلوب اسم حامل البطاقة',
321
- cardNumber: 'مطلوب رقم البطاقة',
322
- expiryDate: 'مطلوب تاريخ انتهاء الصلاحية',
323
- securityCode: 'مطلوب رمز CVV مكون من 3 أرقام'
336
+ cardNumber: {
337
+ required: 'مطلوب رقم البطاقة',
338
+ invalid: 'رقم البطاقة غير صحيح'
339
+ },
340
+ expiryDate: {
341
+ required: 'مطلوب تاريخ انتهاء الصلاحية',
342
+ invalid: 'تاريخ انتهاء الصلاحية غير صحيح'
343
+ },
344
+ },
345
+ Button_Text: {
346
+ viewSavedCardsBtn: 'عرض البطاقات المحفوظة',
347
+ addNewCardBtn: 'إضافة بطاقة جديدة'
324
348
  },
325
349
  Font_Family: 'monospace',
326
350
  Font_Size_Label: '18',