@redneckz/wildless-cms-uni-blocks 0.14.692 → 0.14.693

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.
@@ -91,7 +91,9 @@ export declare type Participant = {
91
91
  key: string;
92
92
  value: string;
93
93
  };
94
- currencyCode?: string;
94
+ currencyCode?: {
95
+ key: string;
96
+ };
95
97
  paymentSystemTypeCd?: string;
96
98
  classCard?: Option;
97
99
  codeWord?: string;
@@ -3,7 +3,7 @@ exports.getCardData = void 0;
3
3
  const getCardData = (formData) => {
4
4
  const { currency, paymentSystem, cardCategory, codeWord } = formData;
5
5
  return {
6
- currencyCode: currency,
6
+ currencyCode: currency ? { key: currency } : undefined,
7
7
  paymentSystemTypeCd: paymentSystem,
8
8
  classCard: cardCategory,
9
9
  codeWord: codeWord,
@@ -1 +1 @@
1
- {"version":3,"file":"getCardData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getCardData.tsx"],"names":[],"mappings":";;AAGO,MAAM,WAAW,GAAG,CAAC,QAAmB,EAAwB,EAAE;IACvE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC;IAErE,OAAO;QACL,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,aAAa;QAClC,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,QAAQ;KACnB,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,WAAW,eAStB"}
1
+ {"version":3,"file":"getCardData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getCardData.tsx"],"names":[],"mappings":";;AAGO,MAAM,WAAW,GAAG,CAAC,QAAmB,EAAwB,EAAE;IACvE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC;IAErE,OAAO;QACL,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS;QACtD,mBAAmB,EAAE,aAAa;QAClC,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,QAAQ;KACnB,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,WAAW,eAStB"}
@@ -91,7 +91,9 @@ export declare type Participant = {
91
91
  key: string;
92
92
  value: string;
93
93
  };
94
- currencyCode?: string;
94
+ currencyCode?: {
95
+ key: string;
96
+ };
95
97
  paymentSystemTypeCd?: string;
96
98
  classCard?: Option;
97
99
  codeWord?: string;
@@ -1,7 +1,7 @@
1
1
  export const getCardData = (formData) => {
2
2
  const { currency, paymentSystem, cardCategory, codeWord } = formData;
3
3
  return {
4
- currencyCode: currency,
4
+ currencyCode: currency ? { key: currency } : undefined,
5
5
  paymentSystemTypeCd: paymentSystem,
6
6
  classCard: cardCategory,
7
7
  codeWord: codeWord,
@@ -1 +1 @@
1
- {"version":3,"file":"getCardData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getCardData.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,QAAmB,EAAwB,EAAE;IACvE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC;IAErE,OAAO;QACL,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,aAAa;QAClC,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,QAAQ;KACnB,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"getCardData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getCardData.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,QAAmB,EAAwB,EAAE;IACvE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC;IAErE,OAAO;QACL,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS;QACtD,mBAAmB,EAAE,aAAa;QAClC,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,QAAQ;KACnB,CAAC;AACJ,CAAC,CAAC"}
@@ -104,7 +104,7 @@ export type Participant = {
104
104
  key: string;
105
105
  value: string;
106
106
  };
107
- currencyCode?: string;
107
+ currencyCode?: { key: string };
108
108
  paymentSystemTypeCd?: string;
109
109
  classCard?: Option;
110
110
  codeWord?: string;
@@ -5,7 +5,7 @@ export const getCardData = (formData: FormState): Partial<Participant> => {
5
5
  const { currency, paymentSystem, cardCategory, codeWord } = formData;
6
6
 
7
7
  return {
8
- currencyCode: currency,
8
+ currencyCode: currency ? { key: currency } : undefined,
9
9
  paymentSystemTypeCd: paymentSystem,
10
10
  classCard: cardCategory,
11
11
  codeWord: codeWord,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.14.692",
3
+ "version": "0.14.693",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -104,7 +104,7 @@ export type Participant = {
104
104
  key: string;
105
105
  value: string;
106
106
  };
107
- currencyCode?: string;
107
+ currencyCode?: { key: string };
108
108
  paymentSystemTypeCd?: string;
109
109
  classCard?: Option;
110
110
  codeWord?: string;
@@ -5,7 +5,7 @@ export const getCardData = (formData: FormState): Partial<Participant> => {
5
5
  const { currency, paymentSystem, cardCategory, codeWord } = formData;
6
6
 
7
7
  return {
8
- currencyCode: currency,
8
+ currencyCode: currency ? { key: currency } : undefined,
9
9
  paymentSystemTypeCd: paymentSystem,
10
10
  classCard: cardCategory,
11
11
  codeWord: codeWord,