@redneckz/wildless-cms-uni-blocks 0.14.833 → 0.14.834

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.
@@ -7809,6 +7809,7 @@
7809
7809
  .map((_) => {
7810
7810
  if ([
7811
7811
  checkIsRetiree(step, getValue),
7812
+ checkIsUnemployedRetiree(_, getValue),
7812
7813
  checkBusinessOwner(_, getValue),
7813
7814
  checkConsentPfrFlg(_, getValue),
7814
7815
  checkAddressFillFromESIA(_, getValue),
@@ -7820,6 +7821,7 @@
7820
7821
  return _;
7821
7822
  });
7822
7823
  const checkIsRetiree = (step, getValue) => step === 2 && getValue('employment')?.key === 'RETIREE';
7824
+ const checkIsUnemployedRetiree = ({ name }, getValue) => name === 'wages' && getValue('employment')?.key === 'RETIREE' && !getValue('inn');
7823
7825
  const checkBusinessOwner = ({ name }, getValue) => name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
7824
7826
  const checkAddressFillFromESIA = ({ name, filledByEsia }, getValue) => name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
7825
7827
  const checkAddressFact = ({ name }, getValue) => name === 'addressFact' && getValue('addressMatch');
@@ -8388,6 +8390,16 @@
8388
8390
  columns: 1,
8389
8391
  inputs: [{ name: 'wages', required: true, filledByEsia: true }],
8390
8392
  },
8393
+ {
8394
+ columns: 1,
8395
+ inputs: [
8396
+ {
8397
+ name: 'retirementIncome',
8398
+ required: true,
8399
+ condition: { name: 'employment', values: ['RETIREE'] },
8400
+ },
8401
+ ],
8402
+ },
8391
8403
  {
8392
8404
  columns: 1,
8393
8405
  inputs: [{ name: 'mandatoryPayments', required: true }],
@@ -11424,7 +11436,7 @@
11424
11436
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11425
11437
  });
11426
11438
 
11427
- const packageVersion = "0.14.832";
11439
+ const packageVersion = "0.14.833";
11428
11440
 
11429
11441
  exports.Blocks = Blocks;
11430
11442
  exports.ContentPage = ContentPage;