@fonixtree/magic-design 1.0.43 → 1.0.45

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.
@@ -217,10 +217,10 @@ function CouponTable(props) {
217
217
  setPaginationParams = _c[1];
218
218
 
219
219
  var columns = [{
220
- title: 'Coupon Name',
220
+ title: 'Voucher Name',
221
221
  dataIndex: 'name'
222
222
  }, {
223
- title: 'Coupon Value',
223
+ title: 'Voucher Value',
224
224
  dataIndex: 'value'
225
225
  }, {
226
226
  title: 'Period of Vaildity',
@@ -238,7 +238,7 @@ function CouponTable(props) {
238
238
 
239
239
  var handleValue = function handleValue(obj) {
240
240
  if (obj.thAmount) {
241
- return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off " + (0, _currencyUtil.currencyToFont)(obj.thAmount);
241
+ return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
242
242
  }
243
243
 
244
244
  return obj.discountMethod === 'AMT' ? "Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
@@ -62,7 +62,7 @@
62
62
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
63
63
  "ADD_AREA": "Add Area",
64
64
  "CLICKABLE_AREA": "Clickable Area",
65
- "VOUCHER_SUCCESS": "Coupon received successfully!",
65
+ "VOUCHER_SUCCESS": "Voucher received successfully!",
66
66
  "NAVIGATION_NAME": "Navigation Name",
67
67
  "ADD_NAVIGATION": "Add Navigation",
68
68
  "SAVE": "Save",
@@ -62,7 +62,7 @@
62
62
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
63
63
  "ADD_AREA": "Add Area",
64
64
  "CLICKABLE_AREA": "Clickable Area",
65
- "VOUCHER_SUCCESS": "Coupon received successfully!",
65
+ "VOUCHER_SUCCESS": "Voucher received successfully!",
66
66
  "NAVIGATION_NAME": "Navigation Name",
67
67
  "ADD_NAVIGATION": "Add Navigation",
68
68
  "SAVE": "Guardar",
@@ -62,7 +62,7 @@
62
62
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
63
63
  "ADD_AREA": "Add Area",
64
64
  "CLICKABLE_AREA": "Clickable Area",
65
- "VOUCHER_SUCCESS": "Coupon received successfully!",
65
+ "VOUCHER_SUCCESS": "Voucher received successfully!",
66
66
  "NAVIGATION_NAME": "Navigation Name",
67
67
  "ADD_NAVIGATION": "Add Navigation",
68
68
  "SAVE": "Save",
@@ -217,10 +217,10 @@ function CouponTable(props) {
217
217
  setPaginationParams = _c[1];
218
218
 
219
219
  var columns = [{
220
- title: 'Coupon Name',
220
+ title: 'Voucher Name',
221
221
  dataIndex: 'name'
222
222
  }, {
223
- title: 'Coupon Value',
223
+ title: 'Voucher Value',
224
224
  dataIndex: 'value'
225
225
  }, {
226
226
  title: 'Period of Vaildity',
@@ -238,7 +238,7 @@ function CouponTable(props) {
238
238
 
239
239
  var handleValue = function handleValue(obj) {
240
240
  if (obj.thAmount) {
241
- return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off " + (0, _currencyUtil.currencyToFont)(obj.thAmount);
241
+ return obj.discountMethod === 'AMT' ? "Over " + (0, _currencyUtil.currencyToFont)(obj.thAmount) + " Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
242
242
  }
243
243
 
244
244
  return obj.discountMethod === 'AMT' ? "Minus " + (0, _currencyUtil.currencyToFont)(obj.discountAmount) : Number(obj.discountAmount) / 100 + "% off";
@@ -62,7 +62,7 @@
62
62
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
63
63
  "ADD_AREA": "Add Area",
64
64
  "CLICKABLE_AREA": "Clickable Area",
65
- "VOUCHER_SUCCESS": "Coupon received successfully!",
65
+ "VOUCHER_SUCCESS": "Voucher received successfully!",
66
66
  "NAVIGATION_NAME": "Navigation Name",
67
67
  "ADD_NAVIGATION": "Add Navigation",
68
68
  "SAVE": "Save",
@@ -62,7 +62,7 @@
62
62
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
63
63
  "ADD_AREA": "Add Area",
64
64
  "CLICKABLE_AREA": "Clickable Area",
65
- "VOUCHER_SUCCESS": "Coupon received successfully!",
65
+ "VOUCHER_SUCCESS": "Voucher received successfully!",
66
66
  "NAVIGATION_NAME": "Navigation Name",
67
67
  "ADD_NAVIGATION": "Add Navigation",
68
68
  "SAVE": "Guardar",
@@ -62,7 +62,7 @@
62
62
  "ADD_CLICKABLE_AREA": "Add Clickable Area",
63
63
  "ADD_AREA": "Add Area",
64
64
  "CLICKABLE_AREA": "Clickable Area",
65
- "VOUCHER_SUCCESS": "Coupon received successfully!",
65
+ "VOUCHER_SUCCESS": "Voucher received successfully!",
66
66
  "NAVIGATION_NAME": "Navigation Name",
67
67
  "ADD_NAVIGATION": "Add Navigation",
68
68
  "SAVE": "Save",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.43",
4
+ "version": "1.0.45",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",