@redneckz/wildless-cms-uni-blocks 0.14.718 → 0.14.719

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.
@@ -123,7 +123,7 @@ export interface LeadFormState extends FormConsents, FormStateDeliveryType {
123
123
  bankruptcyFlg?: boolean;
124
124
  shareholderFlg?: boolean;
125
125
  legalEntityName?: string;
126
- partInBusiness?: number;
126
+ partInBusiness?: string;
127
127
  addressMatch?: boolean;
128
128
  confirmationIncome?: Option;
129
129
  currency?: string;
@@ -123,7 +123,7 @@ export interface LeadFormState extends FormConsents, FormStateDeliveryType {
123
123
  bankruptcyFlg?: boolean;
124
124
  shareholderFlg?: boolean;
125
125
  legalEntityName?: string;
126
- partInBusiness?: number;
126
+ partInBusiness?: string;
127
127
  addressMatch?: boolean;
128
128
  confirmationIncome?: Option;
129
129
  currency?: string;
@@ -4,7 +4,7 @@ const utils_1 = require("../../../components/CreditForm/utils");
4
4
  const formatDate_1 = require("../../../utils/formatDate");
5
5
  const formatPhone_1 = require("../../../utils/formatPhone");
6
6
  const getEmploymentData = (formData) => {
7
- const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
7
+ const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, partInBusiness, } = formData;
8
8
  return {
9
9
  employmentContractDate: (0, formatDate_1.formatDate)(beginDate || '', true),
10
10
  employmentTypeCd: employment,
@@ -24,6 +24,7 @@ const getEmploymentData = (formData) => {
24
24
  organizationPhone: organizationPhone && (0, formatPhone_1.formatPhone)(organizationPhone),
25
25
  }),
26
26
  participantAddresses: (0, utils_1.getParticipantAddresses)({ organizationAddress }),
27
+ ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : '',
27
28
  };
28
29
  };
29
30
  exports.getEmploymentData = getEmploymentData;
@@ -1 +1 @@
1
- {"version":3,"file":"getEmploymentData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getEmploymentData.tsx"],"names":[],"mappings":";;AAEA,gEAG8C;AAC9C,0DAAuD;AACvD,4DAAyD;AAElD,MAAM,iBAAiB,GAAG,CAAC,QAAuB,EAAwB,EAAE;IACjF,MAAM,EACJ,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,GAAG,EACH,SAAS,EACT,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACrB,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,sBAAsB,EAAE,IAAA,uBAAU,EAAC,SAAS,IAAI,EAAE,EAAE,IAAI,CAAC;QACzD,gBAAgB,EAAE,UAAU;QAC5B,gBAAgB;QAChB,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,kBAAkB;QAC9C,kBAAkB,EAAE,YAAY;QAChC,kBAAkB,EAAE,oBAAoB;QACxC,iBAAiB,EAAE,aAAa;QAChC,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,gBAAgB;QAC3B,gBAAgB,EAAE,gBAAgB;QAClC,UAAU;QACV,gBAAgB,EAAE,iBAAiB;QACnC,UAAU,EAAE,oBAAoB;QAChC,mBAAmB,EAAE,IAAA,8BAAsB,EAAC;YAC1C,iBAAiB,EAAE,iBAAiB,IAAI,IAAA,yBAAW,EAAC,iBAAiB,CAAC;SACvE,CAAC;QACF,oBAAoB,EAAE,IAAA,+BAAuB,EAAC,EAAE,mBAAmB,EAAE,CAAC;KACvE,CAAC;AACJ,CAAC,CAAC;AAxCW,QAAA,iBAAiB,qBAwC5B"}
1
+ {"version":3,"file":"getEmploymentData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getEmploymentData.tsx"],"names":[],"mappings":";;AAEA,gEAG8C;AAC9C,0DAAuD;AACvD,4DAAyD;AAElD,MAAM,iBAAiB,GAAG,CAAC,QAAuB,EAAwB,EAAE;IACjF,MAAM,EACJ,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,GAAG,EACH,SAAS,EACT,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,sBAAsB,EAAE,IAAA,uBAAU,EAAC,SAAS,IAAI,EAAE,EAAE,IAAI,CAAC;QACzD,gBAAgB,EAAE,UAAU;QAC5B,gBAAgB;QAChB,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,kBAAkB;QAC9C,kBAAkB,EAAE,YAAY;QAChC,kBAAkB,EAAE,oBAAoB;QACxC,iBAAiB,EAAE,aAAa;QAChC,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,gBAAgB;QAC3B,gBAAgB,EAAE,gBAAgB;QAClC,UAAU;QACV,gBAAgB,EAAE,iBAAiB;QACnC,UAAU,EAAE,oBAAoB;QAChC,mBAAmB,EAAE,IAAA,8BAAsB,EAAC;YAC1C,iBAAiB,EAAE,iBAAiB,IAAI,IAAA,yBAAW,EAAC,iBAAiB,CAAC;SACvE,CAAC;QACF,oBAAoB,EAAE,IAAA,+BAAuB,EAAC,EAAE,mBAAmB,EAAE,CAAC;QACtE,cAAc,EAAE,oBAAoB,EAAE,GAAG,KAAK,gBAAgB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KACrF,CAAC;AACJ,CAAC,CAAC;AA1CW,QAAA,iBAAiB,qBA0C5B"}
@@ -123,7 +123,7 @@ export interface LeadFormState extends FormConsents, FormStateDeliveryType {
123
123
  bankruptcyFlg?: boolean;
124
124
  shareholderFlg?: boolean;
125
125
  legalEntityName?: string;
126
- partInBusiness?: number;
126
+ partInBusiness?: string;
127
127
  addressMatch?: boolean;
128
128
  confirmationIncome?: Option;
129
129
  currency?: string;
@@ -2,7 +2,7 @@ import { getParticipantAddresses, getParticipantContacts, } from '../../../compo
2
2
  import { formatDate } from '../../../utils/formatDate.js';
3
3
  import { formatPhone } from '../../../utils/formatPhone.js';
4
4
  export const getEmploymentData = (formData) => {
5
- const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
5
+ const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, partInBusiness, } = formData;
6
6
  return {
7
7
  employmentContractDate: formatDate(beginDate || '', true),
8
8
  employmentTypeCd: employment,
@@ -22,6 +22,7 @@ export const getEmploymentData = (formData) => {
22
22
  organizationPhone: organizationPhone && formatPhone(organizationPhone),
23
23
  }),
24
24
  participantAddresses: getParticipantAddresses({ organizationAddress }),
25
+ ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : '',
25
26
  };
26
27
  };
27
28
  //# sourceMappingURL=getEmploymentData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEmploymentData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getEmploymentData.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAAuB,EAAwB,EAAE;IACjF,MAAM,EACJ,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,GAAG,EACH,SAAS,EACT,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACrB,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,sBAAsB,EAAE,UAAU,CAAC,SAAS,IAAI,EAAE,EAAE,IAAI,CAAC;QACzD,gBAAgB,EAAE,UAAU;QAC5B,gBAAgB;QAChB,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,kBAAkB;QAC9C,kBAAkB,EAAE,YAAY;QAChC,kBAAkB,EAAE,oBAAoB;QACxC,iBAAiB,EAAE,aAAa;QAChC,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,gBAAgB;QAC3B,gBAAgB,EAAE,gBAAgB;QAClC,UAAU;QACV,gBAAgB,EAAE,iBAAiB;QACnC,UAAU,EAAE,oBAAoB;QAChC,mBAAmB,EAAE,sBAAsB,CAAC;YAC1C,iBAAiB,EAAE,iBAAiB,IAAI,WAAW,CAAC,iBAAiB,CAAC;SACvE,CAAC;QACF,oBAAoB,EAAE,uBAAuB,CAAC,EAAE,mBAAmB,EAAE,CAAC;KACvE,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"getEmploymentData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getEmploymentData.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAAuB,EAAwB,EAAE;IACjF,MAAM,EACJ,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,GAAG,EACH,SAAS,EACT,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,sBAAsB,EAAE,UAAU,CAAC,SAAS,IAAI,EAAE,EAAE,IAAI,CAAC;QACzD,gBAAgB,EAAE,UAAU;QAC5B,gBAAgB;QAChB,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,kBAAkB;QAC9C,kBAAkB,EAAE,YAAY;QAChC,kBAAkB,EAAE,oBAAoB;QACxC,iBAAiB,EAAE,aAAa;QAChC,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,gBAAgB;QAC3B,gBAAgB,EAAE,gBAAgB;QAClC,UAAU;QACV,gBAAgB,EAAE,iBAAiB;QACnC,UAAU,EAAE,oBAAoB;QAChC,mBAAmB,EAAE,sBAAsB,CAAC;YAC1C,iBAAiB,EAAE,iBAAiB,IAAI,WAAW,CAAC,iBAAiB,CAAC;SACvE,CAAC;QACF,oBAAoB,EAAE,uBAAuB,CAAC,EAAE,mBAAmB,EAAE,CAAC;QACtE,cAAc,EAAE,oBAAoB,EAAE,GAAG,KAAK,gBAAgB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KACrF,CAAC;AACJ,CAAC,CAAC"}
@@ -6998,7 +6998,7 @@
6998
6998
  };
6999
6999
 
7000
7000
  const getEmploymentData = (formData) => {
7001
- const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
7001
+ const { beginDate, employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, partInBusiness, } = formData;
7002
7002
  return {
7003
7003
  employmentContractDate: formatDate(beginDate || '', true),
7004
7004
  employmentTypeCd: employment,
@@ -7018,6 +7018,7 @@
7018
7018
  organizationPhone: organizationPhone && formatPhone(organizationPhone),
7019
7019
  }),
7020
7020
  participantAddresses: getParticipantAddresses({ organizationAddress }),
7021
+ ownershipShare: positionOrganization?.key === 'BUSINESS_OWNER' ? partInBusiness : '',
7021
7022
  };
7022
7023
  };
7023
7024
 
@@ -10117,7 +10118,7 @@
10117
10118
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10118
10119
  });
10119
10120
 
10120
- const packageVersion = "0.14.717";
10121
+ const packageVersion = "0.14.718";
10121
10122
 
10122
10123
  exports.Blocks = Blocks;
10123
10124
  exports.ContentPage = ContentPage;