@redneckz/wildless-cms-uni-blocks 0.14.832 → 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.
Files changed (225) hide show
  1. package/bin/migration-scripts/{0.14.828.js → 0.14.832.js} +3 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +29 -80
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  6. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  7. package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  8. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  9. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
  10. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  11. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  12. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
  13. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  14. package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  15. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
  16. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  17. package/dist/components/Blocks.js +0 -6
  18. package/dist/components/Blocks.js.map +1 -1
  19. package/dist/components/Blocks.mobile.js +0 -4
  20. package/dist/components/Blocks.mobile.js.map +1 -1
  21. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  22. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  23. package/dist/retail/content.js +10 -0
  24. package/dist/retail/content.js.map +1 -1
  25. package/dist/retail/utils/calculateInputs.js +2 -0
  26. package/dist/retail/utils/calculateInputs.js.map +1 -1
  27. package/lib/common.css +1 -1
  28. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  29. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -6
  30. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  31. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  32. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
  33. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  34. package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  35. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
  36. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  37. package/lib/components/Blocks.js +0 -6
  38. package/lib/components/Blocks.js.map +1 -1
  39. package/lib/components/Blocks.mobile.js +0 -4
  40. package/lib/components/Blocks.mobile.js.map +1 -1
  41. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -2
  42. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  43. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  44. package/lib/retail/content.js +10 -0
  45. package/lib/retail/content.js.map +1 -1
  46. package/lib/retail/utils/calculateInputs.js +2 -0
  47. package/lib/retail/utils/calculateInputs.js.map +1 -1
  48. package/mobile/bundle/bundle.umd.js +29 -40
  49. package/mobile/bundle/bundle.umd.min.js +1 -1
  50. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  51. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  52. package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  53. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  54. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
  55. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  56. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  57. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
  58. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  59. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  60. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
  61. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  62. package/mobile/dist/components/Blocks.js +0 -4
  63. package/mobile/dist/components/Blocks.js.map +1 -1
  64. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  65. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  66. package/mobile/dist/retail/content.js +10 -0
  67. package/mobile/dist/retail/content.js.map +1 -1
  68. package/mobile/dist/retail/utils/calculateInputs.js +2 -0
  69. package/mobile/dist/retail/utils/calculateInputs.js.map +1 -1
  70. package/mobile/lib/common.css +1 -1
  71. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
  72. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -6
  73. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  74. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
  75. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
  76. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
  77. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
  78. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
  79. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  80. package/mobile/lib/components/Blocks.js +0 -4
  81. package/mobile/lib/components/Blocks.js.map +1 -1
  82. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  83. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  84. package/mobile/lib/retail/content.js +10 -0
  85. package/mobile/lib/retail/content.js.map +1 -1
  86. package/mobile/lib/retail/utils/calculateInputs.js +2 -0
  87. package/mobile/lib/retail/utils/calculateInputs.js.map +1 -1
  88. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +5 -7
  89. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
  90. package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
  91. package/mobile/src/components/Blocks.ts +0 -4
  92. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -11
  93. package/mobile/src/components/ProductBlock/ProductBlock.tsx +0 -1
  94. package/mobile/src/retail/content.tsx +10 -0
  95. package/mobile/src/retail/utils/calculateInputs.ts +4 -0
  96. package/package.json +1 -1
  97. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +5 -7
  98. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
  99. package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
  100. package/src/components/Blocks.mobile.ts +0 -4
  101. package/src/components/Blocks.ts +0 -6
  102. package/src/components/ProductBlock/ProductBlock.example.json +1 -11
  103. package/src/components/ProductBlock/ProductBlock.fixture.tsx +0 -28
  104. package/src/components/ProductBlock/ProductBlock.tsx +0 -1
  105. package/src/icons/IconName.ts +4 -4
  106. package/src/retail/content.tsx +10 -0
  107. package/src/retail/utils/calculateInputs.ts +4 -0
  108. package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  109. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  110. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  111. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  112. package/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
  113. package/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  114. package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  115. package/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
  116. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  117. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  118. package/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  119. package/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  120. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  121. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
  122. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  123. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  124. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  125. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  126. package/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
  127. package/dist/components/UnitBlock/UnitBlock.js +0 -11
  128. package/dist/components/UnitBlock/UnitBlock.js.map +0 -1
  129. package/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  130. package/dist/components/UnitBlock/UnitBlockContent.js +0 -2
  131. package/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
  132. package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  133. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +0 -7
  134. package/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
  135. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  136. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  137. package/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  138. package/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  139. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  140. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +0 -5
  141. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.d.ts +0 -5
  142. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
  143. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  144. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  145. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  146. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  147. package/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
  148. package/lib/components/UnitBlock/UnitBlock.fixture.d.ts +0 -6
  149. package/lib/components/UnitBlock/UnitBlock.fixture.mobile.d.ts +0 -6
  150. package/lib/components/UnitBlock/UnitBlock.js +0 -9
  151. package/lib/components/UnitBlock/UnitBlock.js.map +0 -1
  152. package/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  153. package/lib/components/UnitBlock/UnitBlockContent.js +0 -2
  154. package/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
  155. package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  156. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  157. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  158. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  159. package/mobile/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
  160. package/mobile/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  161. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  162. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
  163. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  164. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  165. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  166. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  167. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  168. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
  169. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  170. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  171. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  172. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  173. package/mobile/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
  174. package/mobile/dist/components/UnitBlock/UnitBlock.js +0 -11
  175. package/mobile/dist/components/UnitBlock/UnitBlock.js.map +0 -1
  176. package/mobile/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  177. package/mobile/dist/components/UnitBlock/UnitBlockContent.js +0 -2
  178. package/mobile/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
  179. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
  180. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
  181. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
  182. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
  183. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
  184. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
  185. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
  186. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
  187. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
  188. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
  189. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
  190. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
  191. package/mobile/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
  192. package/mobile/lib/components/UnitBlock/UnitBlock.js +0 -9
  193. package/mobile/lib/components/UnitBlock/UnitBlock.js.map +0 -1
  194. package/mobile/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
  195. package/mobile/lib/components/UnitBlock/UnitBlockContent.js +0 -2
  196. package/mobile/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
  197. package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
  198. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
  199. package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
  200. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
  201. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
  202. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
  203. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
  204. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
  205. package/mobile/src/components/UnitBlock/UnitBlock.example.json +0 -9
  206. package/mobile/src/components/UnitBlock/UnitBlock.tsx +0 -17
  207. package/mobile/src/components/UnitBlock/UnitBlock.ui.json +0 -1
  208. package/mobile/src/components/UnitBlock/UnitBlockContent.ts +0 -7
  209. package/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
  210. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +0 -109
  211. package/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
  212. package/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
  213. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
  214. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
  215. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +0 -47
  216. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +0 -47
  217. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
  218. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
  219. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
  220. package/src/components/UnitBlock/UnitBlock.example.json +0 -9
  221. package/src/components/UnitBlock/UnitBlock.fixture.mobile.tsx +0 -27
  222. package/src/components/UnitBlock/UnitBlock.fixture.tsx +0 -27
  223. package/src/components/UnitBlock/UnitBlock.tsx +0 -17
  224. package/src/components/UnitBlock/UnitBlock.ui.json +0 -1
  225. package/src/components/UnitBlock/UnitBlockContent.ts +0 -7
@@ -154,7 +154,7 @@
154
154
 
155
155
  const DEFAULT_ANCESTORS = [];
156
156
  const defaultStyle$2 = 'col-span-12';
157
- function renderBlock$1(block, options, { className, ...extraProps } = {}) {
157
+ function renderBlock(block, options, { className, ...extraProps } = {}) {
158
158
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
159
159
  const { type } = block;
160
160
  if (!(type && type in blocksRegistry)) {
@@ -174,9 +174,9 @@
174
174
  }
175
175
 
176
176
  const EMPTY_ANCESTORS = [];
177
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock$1, ...options }) => {
177
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock, ...options }) => {
178
178
  const renderChildBlock = extraProps
179
- ? (childBlock, childOptions) => renderBlock$1(childBlock, childOptions, extraProps)
179
+ ? (childBlock, childOptions) => renderBlock(childBlock, childOptions, extraProps)
180
180
  : renderProps;
181
181
  return (blocks || []).map((_, i) => renderChildBlock(_, {
182
182
  ...options,
@@ -981,7 +981,7 @@
981
981
  return OutputComponent;
982
982
  }
983
983
 
984
- const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })), { childrenTypes: ['UnitBlock'] });
984
+ const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })));
985
985
 
986
986
  const AdTile = JSX((props) => {
987
987
  const { items } = (props.options?.page?.adSourceBook ?? {});
@@ -2688,6 +2688,13 @@
2688
2688
  ];
2689
2689
  };
2690
2690
 
2691
+ var EsiaStatuses;
2692
+ (function (EsiaStatuses) {
2693
+ EsiaStatuses["Success"] = "SUCCESS";
2694
+ EsiaStatuses["Error"] = "ERROR";
2695
+ EsiaStatuses["Pending"] = "PENDING";
2696
+ })(EsiaStatuses || (EsiaStatuses = {}));
2697
+
2691
2698
  const getTraceId = () => {
2692
2699
  const result = new Uint8Array(8);
2693
2700
  globalThis.crypto.getRandomValues(result);
@@ -6167,12 +6174,6 @@
6167
6174
  return initialFormState;
6168
6175
  };
6169
6176
 
6170
- var EsiaStatuses;
6171
- (function (EsiaStatuses) {
6172
- EsiaStatuses["Success"] = "SUCCESS";
6173
- EsiaStatuses["Error"] = "ERROR";
6174
- EsiaStatuses["Pending"] = "PENDING";
6175
- })(EsiaStatuses || (EsiaStatuses = {}));
6176
6177
  const ApplicationLeadForm = JSX(({ className, title, programId = '', nextStepLink = '/credit-lead', button, productType = 'credit', data, ...rest }) => {
6177
6178
  const [esiaStatus, setEsiaStatus] = useState();
6178
6179
  const leadForm = useRef(null);
@@ -6492,7 +6493,7 @@
6492
6493
  const renderCarouselBlocks = ({ blocksToRender, ...rest }) => (jsx(SwipeListControl, { visibleItemCount: 0, gap: 0, arrowsPadded: true, children: renderBlocksList(blocksToRender, {
6493
6494
  ...rest.options,
6494
6495
  parent: rest.block,
6495
- renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock$1(block, options) }, String(i))),
6496
+ renderProps: (block, options, i) => (jsx("div", { className: style('relative min-w-80', getBorderStyle(true)), children: renderBlock(block, options) }, String(i))),
6496
6497
  }) }));
6497
6498
 
6498
6499
  const FilteredBlocks = JSX(({ blocksSection, blocksToRender = [], notFound, ...rest }) => {
@@ -7406,7 +7407,7 @@
7406
7407
  const defaultPadding = isNavButtons ? { defaultPadding: 'p-6xl pb-m' } : {};
7407
7408
  return renderChildren({
7408
7409
  ...rest,
7409
- renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock$1(block, options, {
7410
+ renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock(block, options, {
7410
7411
  className: cardStyle(block, {
7411
7412
  someCardsHighlighted,
7412
7413
  showBorder: !noCardBorder,
@@ -7800,6 +7801,7 @@
7800
7801
  .map((_) => {
7801
7802
  if ([
7802
7803
  checkIsRetiree(step, getValue),
7804
+ checkIsUnemployedRetiree(_, getValue),
7803
7805
  checkBusinessOwner(_, getValue),
7804
7806
  checkConsentPfrFlg(_, getValue),
7805
7807
  checkAddressFillFromESIA(_, getValue),
@@ -7811,6 +7813,7 @@
7811
7813
  return _;
7812
7814
  });
7813
7815
  const checkIsRetiree = (step, getValue) => step === 2 && getValue('employment')?.key === 'RETIREE';
7816
+ const checkIsUnemployedRetiree = ({ name }, getValue) => name === 'wages' && getValue('employment')?.key === 'RETIREE' && !getValue('inn');
7814
7817
  const checkBusinessOwner = ({ name }, getValue) => name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
7815
7818
  const checkAddressFillFromESIA = ({ name, filledByEsia }, getValue) => name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
7816
7819
  const checkAddressFact = ({ name }, getValue) => name === 'addressFact' && getValue('addressMatch');
@@ -8379,6 +8382,16 @@
8379
8382
  columns: 1,
8380
8383
  inputs: [{ name: 'wages', required: true, filledByEsia: true }],
8381
8384
  },
8385
+ {
8386
+ columns: 1,
8387
+ inputs: [
8388
+ {
8389
+ name: 'retirementIncome',
8390
+ required: true,
8391
+ condition: { name: 'employment', values: ['RETIREE'] },
8392
+ },
8393
+ ],
8394
+ },
8382
8395
  {
8383
8396
  columns: 1,
8384
8397
  inputs: [{ name: 'mandatoryPayments', required: true }],
@@ -9463,7 +9476,7 @@
9463
9476
  childSchema: () => LINK_SCHEMA,
9464
9477
  allowRemoveChild: (slot) => (slot?.blocks ?? []).length > MIN_LENGTH_CHILD,
9465
9478
  });
9466
- const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock$1(childBlock, {
9479
+ const getRenderProps = ({ isInnerPadding, isCardBorder, }) => (childBlock, childOptions, i) => renderBlock(childBlock, {
9467
9480
  ...childOptions,
9468
9481
  blockDecorator: blockDecoratorWrapper(childOptions.blockDecorator, i),
9469
9482
  }, {
@@ -9751,7 +9764,7 @@
9751
9764
  return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) => handleClick(e, 'all', data), version: allButtonVersion, children: "\u0414\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" }), jsx(Button, { "data-id": "business", onClick: (e) => handleClick(e, 'business', data), version: businessButtonVersion, children: "\u0414\u043B\u044F \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" })] }));
9752
9765
  };
9753
9766
 
9754
- const renderDescriptionBlock$1 = ({ __html, list, richVersion }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html, richVersion: richVersion }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
9767
+ const renderDescriptionBlock = ({ __html, list, richVersion }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html, richVersion: richVersion }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
9755
9768
 
9756
9769
  const renderHeading = (title, lengthItems) => (jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h3", children: [jsx("span", { suppressHydrationWarning: true, children: title }), lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: jsx("span", { suppressHydrationWarning: true, children: ` (${lengthItems})` }) })) : null] }) }));
9757
9770
 
@@ -9768,7 +9781,7 @@
9768
9781
  getBalloonRemoteWorkplaces,
9769
9782
  });
9770
9783
  const [activeButton, setActiveButton] = useState('all');
9771
- return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock$1(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-3xl', filtersVisibleStyles(activeButton)), children: jsx(FiltrationForm, { filters: getFiltersWithNonEmptyData([...data, ...remoteWorkplaces]), field: { field, reset }, onlyOffice: onlyOffice, labels: FILTRATION_LABELS }) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, isLoad: isLoad, className: "h-full" }) }) })] }), jsxs(ClientOnly, { children: [filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] })] }));
9784
+ return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-3xl pb-0", children: [renderHeading(title, lengthItems), descriptionData ? renderDescriptionBlock(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-3xl', filtersVisibleStyles(activeButton)), children: jsx(FiltrationForm, { filters: getFiltersWithNonEmptyData([...data, ...remoteWorkplaces]), field: { field, reset }, onlyOffice: onlyOffice, labels: FILTRATION_LABELS }) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, isLoad: isLoad, className: "h-full" }) }) })] }), jsxs(ClientOnly, { children: [filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] })] }));
9772
9785
  });
9773
9786
  const getFiltersWithNonEmptyData = (data) => Object.keys(INITIAL_FILTRATION_STATE$1).filter((_) => data.filter((item) => FILTRATION_PREDICATES$1[_](item)).length);
9774
9787
 
@@ -9885,19 +9898,6 @@
9885
9898
  return (jsx(BlockWrapper, { version: "transparent", className: style(className), defaultPadding: "p-0", ...rest, children: dataType === 'offices' ? jsx(OfficesMap, {}) : jsx(AtmsMap, { descriptionData: data }) }));
9886
9899
  });
9887
9900
 
9888
- const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, richVersion, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock({ __html, richVersion }) : null, renderBlock({
9889
- label: 'Адрес',
9890
- data: address,
9891
- iconName: 'GeolocationIcon',
9892
- }), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
9893
- label: 'E-mail',
9894
- data: email,
9895
- iconName: 'MailIcon',
9896
- dataColor: 'text-primary-main',
9897
- }), button?.text ? renderButtonsSection([button]) : null] })] })));
9898
- const renderDescriptionBlock = (props) => (jsx("div", { className: "border-b border-main-divider pb-lg", children: jsx(RichText, { ...props, itemSize: "list-s" }) }));
9899
- const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (jsxs("div", { className: "flex gap-s", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col gap-2xs", children: [jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
9900
-
9901
9901
  const RichTextBlock = JSX((props) => {
9902
9902
  const { __html, richVersion = '', ...rest } = props;
9903
9903
  return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
@@ -10617,15 +10617,6 @@
10617
10617
  const renderIcon = () => (jsx("div", { className: "rounded-full h-4 w-4 text-center text-xs font-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main", children: "i" }));
10618
10618
  const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text group-data-secondary:text-white", children: description }));
10619
10619
 
10620
- const Unit = JSX(({ prefix, unit, suffix }) => (jsxs("div", { className: "w-full flex items-end", children: [prefix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: prefix }) })) : null, unit ? (
10621
- // -mb-n добавлен для выравнивания unit относительно prefix и suffix, тк шрифт font-mohave неправильно высчитывает line-height
10622
- jsx("div", { className: "-mb-6 @xl:-mb-4", children: jsx("span", { className: "font-mohave text-title-large sm:text-title-extra gradient-color-text", children: unit }) })) : null, suffix ? (jsx("div", { className: "gradient-color-text", children: jsx(Text, { size: "text-h2", children: suffix }) })) : null] })));
10623
-
10624
- const UnitBlock = JSX((props) => {
10625
- const { prefix, unit, suffix, ...rest } = props;
10626
- return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Unit, { prefix: prefix, unit: unit, suffix: suffix }) }));
10627
- });
10628
-
10629
10620
  const Blocks = {
10630
10621
  AdTile,
10631
10622
  ApplicationForm,
@@ -10660,7 +10651,6 @@
10660
10651
  MobileAppTile,
10661
10652
  OfficesAtmsMap,
10662
10653
  ProductBlock,
10663
- RepresentativeOfficeInfo,
10664
10654
  RichTextBlock,
10665
10655
  RollupItem,
10666
10656
  StepsBlock,
@@ -10668,7 +10658,6 @@
10668
10658
  TabsLayout,
10669
10659
  TariffsTable,
10670
10660
  TextBlock,
10671
- UnitBlock,
10672
10661
  VerticalLayout,
10673
10662
  ApplicationLeadForm,
10674
10663
  CreditCardForm,
@@ -10794,7 +10783,7 @@
10794
10783
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10795
10784
  });
10796
10785
 
10797
- const packageVersion = "0.14.831";
10786
+ const packageVersion = "0.14.833";
10798
10787
 
10799
10788
  exports.Blocks = Blocks;
10800
10789
  exports.ContentPage = ContentPage;