@redneckz/wildless-cms-uni-blocks 0.14.707 → 0.14.708

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 (31) hide show
  1. package/bundle/bundle.umd.js +3 -3
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
  4. package/dist/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
  5. package/dist/ui-kit/DraftDialog/DraftActionButton.js +1 -1
  6. package/dist/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
  7. package/dist/ui-kit/DraftDialog/DraftDialog.js +1 -1
  8. package/dist/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
  9. package/lib/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
  10. package/lib/ui-kit/DraftDialog/DraftActionButton.js +1 -1
  11. package/lib/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
  12. package/lib/ui-kit/DraftDialog/DraftDialog.js +1 -1
  13. package/lib/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
  14. package/mobile/bundle/bundle.umd.js +3 -3
  15. package/mobile/bundle/bundle.umd.min.js +1 -1
  16. package/mobile/bundle/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
  17. package/mobile/dist/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
  18. package/mobile/dist/ui-kit/DraftDialog/DraftActionButton.js +1 -1
  19. package/mobile/dist/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
  20. package/mobile/dist/ui-kit/DraftDialog/DraftDialog.js +1 -1
  21. package/mobile/dist/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
  22. package/mobile/lib/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
  23. package/mobile/lib/ui-kit/DraftDialog/DraftActionButton.js +1 -1
  24. package/mobile/lib/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
  25. package/mobile/lib/ui-kit/DraftDialog/DraftDialog.js +1 -1
  26. package/mobile/lib/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
  27. package/mobile/src/ui-kit/DraftDialog/DraftActionButton.tsx +3 -2
  28. package/mobile/src/ui-kit/DraftDialog/DraftDialog.tsx +2 -2
  29. package/package.json +1 -1
  30. package/src/ui-kit/DraftDialog/DraftActionButton.tsx +3 -2
  31. package/src/ui-kit/DraftDialog/DraftDialog.tsx +2 -2
@@ -4784,7 +4784,7 @@
4784
4784
  }
4785
4785
  }, [target, key]);
4786
4786
 
4787
- const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray rounded-md cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { src: icon }, width: "78", height: "78" }), jsxs("div", { children: [jsx(Heading, { className: "text-left", title: title, headingType: "h5" }), description ? (jsx(Paragraph, { color: "text-secondary-text", size: "text-m", children: description })) : null] })] })));
4787
+ const DraftActionButton = JSX(({ title, icon, description, onClick = noop }) => (jsxs("button", { className: "flex gap-lg items-center border border-gray rounded-md cursor-pointer p-4 hover:border-green", type: "button", onClick: onClick, children: [jsx(Img, { image: { icon: icon, iconVersion: 'black' }, width: "78", height: "78" }), jsxs("div", { children: [jsx(Heading, { className: "text-left", title: title, headingType: "h5" }), description ? (jsx(Paragraph, { color: "text-secondary-text", size: "text-m", children: description })) : null] })] })));
4788
4788
 
4789
4789
  const creditCodesToProgrammIdMap = {
4790
4790
  credit_cash: '10',
@@ -4950,7 +4950,7 @@
4950
4950
  navigator.assign('/');
4951
4951
  }, []);
4952
4952
  const appeal = name && midname ? `${name} ${midname}, ` : '';
4953
- return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg py-0 px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg", children: [jsx(Heading, { className: "whitespace-pre-wrap", title: `${appeal}мы нашли черновик вашей заявки.\nПродолжите заполнение?`, headingType: "h5" }), jsx(DraftActionButton, { title: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0443", icon: "api/v1/wcms-file-storage/72d06937-5d8b-4996-9503-52389b93919e/file.svg", description: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0439\u0442\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u044F\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443 \u0438\u0437 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0430", onClick: handleGoToDraft }), jsx(DraftActionButton, { title: isFromLead ? 'Продолжить заполнение текущей заявки' : 'Заполнить новую заявку', icon: "api/v1/wcms-file-storage/796c3e8d-341a-480b-b52f-3aa5784ed623/file.svg", onClick: isFromLead ? onClose : handleGoToNewTask }), jsx(Button, { type: "button", version: "secondary", className: "w-full text-h5", onClick: handleGoToMainPage, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" })] }) }));
4953
+ return (jsx(Dialog, { className: "my-6xl max-w-3xl w-full min-h-fit mx-auto rounded-lg py-0 px-5xl", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-lg", children: [jsx(Heading, { className: "whitespace-pre-wrap", title: `${appeal}мы нашли черновик вашей заявки.\nПродолжите заполнение?`, headingType: "h5" }), jsx(DraftActionButton, { title: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0443", icon: "BankIcon", description: "\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0439\u0442\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u044F\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443 \u0438\u0437 \u0447\u0435\u0440\u043D\u043E\u0432\u0438\u043A\u0430", onClick: handleGoToDraft }), jsx(DraftActionButton, { title: isFromLead ? 'Продолжить заполнение текущей заявки' : 'Заполнить новую заявку', icon: "DocIcon", onClick: isFromLead ? onClose : handleGoToNewTask }), jsx(Button, { type: "button", version: "secondary", className: "w-full text-h5", onClick: handleGoToMainPage, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" })] }) }));
4954
4954
  });
4955
4955
 
4956
4956
  const EmptyDraftDialog = JSX(function ({ onClose = noop }) {
@@ -10805,7 +10805,7 @@
10805
10805
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10806
10806
  });
10807
10807
 
10808
- const packageVersion = "0.14.706";
10808
+ const packageVersion = "0.14.707";
10809
10809
 
10810
10810
  exports.Blocks = Blocks;
10811
10811
  exports.ContentPage = ContentPage;