@redneckz/wildless-cms-uni-blocks 0.14.571 → 0.14.573

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 (49) hide show
  1. package/bundle/bundle.umd.js +4 -5
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +0 -1
  4. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  5. package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  6. package/dist/ui-kit/Checkbox/CheckboxGroup.js +1 -2
  7. package/dist/ui-kit/Checkbox/CheckboxGroup.js.map +1 -1
  8. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +0 -1
  9. package/dist/ui-kit/FormField/getField.js +1 -1
  10. package/dist/ui-kit/YandexMap/YandexMap.js +0 -1
  11. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  12. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  13. package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  14. package/lib/ui-kit/Checkbox/CheckboxGroup.js +1 -2
  15. package/lib/ui-kit/Checkbox/CheckboxGroup.js.map +1 -1
  16. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +0 -1
  17. package/lib/ui-kit/FormField/getField.js +1 -1
  18. package/lib/ui-kit/YandexMap/YandexMap.js +0 -1
  19. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  20. package/mobile/bundle/bundle.umd.js +4 -5
  21. package/mobile/bundle/bundle.umd.min.js +1 -1
  22. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +0 -1
  23. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  24. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  25. package/mobile/dist/ui-kit/Checkbox/CheckboxGroup.js +1 -2
  26. package/mobile/dist/ui-kit/Checkbox/CheckboxGroup.js.map +1 -1
  27. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +0 -1
  28. package/mobile/dist/ui-kit/FormField/getField.js +1 -1
  29. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +0 -1
  30. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  31. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
  32. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
  33. package/mobile/lib/ui-kit/Checkbox/CheckboxGroup.js +1 -2
  34. package/mobile/lib/ui-kit/Checkbox/CheckboxGroup.js.map +1 -1
  35. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +0 -1
  36. package/mobile/lib/ui-kit/FormField/getField.js +1 -1
  37. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +0 -1
  38. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  39. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
  40. package/mobile/src/ui-kit/Checkbox/CheckboxGroup.tsx +2 -8
  41. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +0 -1
  42. package/mobile/src/ui-kit/FormField/getField.tsx +1 -1
  43. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +0 -2
  44. package/package.json +1 -1
  45. package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
  46. package/src/ui-kit/Checkbox/CheckboxGroup.tsx +2 -8
  47. package/src/ui-kit/Checkbox/CheckboxProps.ts +0 -1
  48. package/src/ui-kit/FormField/getField.tsx +1 -1
  49. package/src/ui-kit/YandexMap/YandexMap.tsx +0 -2
@@ -1747,7 +1747,7 @@
1747
1747
  item?.onChange && item.onChange(value);
1748
1748
  }
1749
1749
  };
1750
- return (jsx("div", { className: style('w-full', className), children: jsx(Foldable, { isFoldButtonOnTop: true, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col gap-lg pl-2xl py-xs", children: items.map(Checkbox) })), renderFoldButton: renderGeneralCheckbox(jsx(CheckboxWithError, { required: true, value: isChecked, onChange: handleGeneralToggle, ...props })) }) }));
1750
+ return (jsx("div", { className: style('w-fit', className), children: jsx(Foldable, { isFoldButtonOnTop: true, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col gap-lg pl-2xl py-xs", children: items.map(Checkbox) })), renderFoldButton: renderGeneralCheckbox(jsx(Checkbox, { value: isChecked, onChange: handleGeneralToggle, ...props })) }) }));
1751
1751
  });
1752
1752
  const renderGeneralCheckbox = (generalCheckBox) => (foldableData) => (jsxs("div", { className: "flex items-center", children: [generalCheckBox, jsx("button", { onClick: foldableData.onToggle, className: "p-m", children: jsx(Icon, { className: "text-primary-text", name: foldableData.isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }) })] }));
1753
1753
 
@@ -1951,7 +1951,7 @@
1951
1951
  bankEmpolee: (jsx(InputControl, { label: "\u0424\u0418\u041E \u0438\u043B\u0438 \u0434\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0432\u0448\u0435\u0433\u043E \u0412\u0430\u0441 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u0430 \u0411\u0430\u043D\u043A\u0430", ...field('bankEmpolee') })),
1952
1952
  applicationDate: (jsx(InputControl, { label: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0432 \u0411\u0430\u043D\u043A", ...field('applicationDate') })),
1953
1953
  secondaryPhone: jsx(SecondaryPhoneField, { field: field }),
1954
- сonsentToAllDocs: jsx(ConsentToAllDocsField, { field: field }),
1954
+ consentToAllDocs: jsx(ConsentToAllDocsField, { field: field }),
1955
1955
  };
1956
1956
  return isRenderField({ input, field }) ? (jsx("div", { children: InputsMap[input?.name] }, String(i))) : null;
1957
1957
  };
@@ -2231,7 +2231,7 @@
2231
2231
  reset();
2232
2232
  }
2233
2233
  }, [responseType]);
2234
- return (jsx(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: jsxs("form", { onSubmit: onSubmit, children: [sections.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), (_?.inputs || [])?.map(getField(field, typeForm))] }, `section-${i}`))), renderSubmitButton(button)] }) }));
2234
+ return (jsx(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: jsxs("form", { onSubmit: onSubmit, className: "space-y-m", children: [sections.map((_, i) => (jsxs("div", { className: style(inputColumnStyles(_.columns), 'grid gap-x-m'), children: [renderTitle(_.title), (_?.inputs || [])?.map(getField(field, typeForm))] }, `section-${i}`))), renderSubmitButton(button)] }) }));
2235
2235
  });
2236
2236
 
2237
2237
  const NotFound = JSX(({ title, description }) => {
@@ -5440,7 +5440,6 @@
5440
5440
  useEffect(() => {
5441
5441
  if (map.current) {
5442
5442
  renderClusterer({ yandexMaps, map: map.current, points, isLoad });
5443
- map.current.setCenter(getCenterPoint(points));
5444
5443
  }
5445
5444
  else {
5446
5445
  yandexMaps?.ready(() => {
@@ -6683,7 +6682,7 @@
6683
6682
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6684
6683
  });
6685
6684
 
6686
- const packageVersion = "0.14.570";
6685
+ const packageVersion = "0.14.572";
6687
6686
 
6688
6687
  exports.Blocks = Blocks;
6689
6688
  exports.ContentPage = ContentPage;