@redneckz/wildless-cms-uni-blocks 0.14.706 → 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.
- package/bundle/bundle.umd.js +5 -5
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
- package/dist/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
- package/dist/ui-kit/DraftDialog/DraftActionButton.js +1 -1
- package/dist/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
- package/dist/ui-kit/DraftDialog/DraftDialog.js +1 -1
- package/dist/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/AddressField.js +2 -2
- package/dist/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/lib/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
- package/lib/ui-kit/DraftDialog/DraftActionButton.js +1 -1
- package/lib/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
- package/lib/ui-kit/DraftDialog/DraftDialog.js +1 -1
- package/lib/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/AddressField.js +2 -2
- package/lib/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +5 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
- package/mobile/dist/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
- package/mobile/dist/ui-kit/DraftDialog/DraftActionButton.js +1 -1
- package/mobile/dist/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/dist/ui-kit/DraftDialog/DraftDialog.js +1 -1
- package/mobile/dist/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.js +2 -2
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/mobile/lib/ui-kit/DraftDialog/DraftActionButton.d.ts +2 -1
- package/mobile/lib/ui-kit/DraftDialog/DraftActionButton.js +1 -1
- package/mobile/lib/ui-kit/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/lib/ui-kit/DraftDialog/DraftDialog.js +1 -1
- package/mobile/lib/ui-kit/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.js +2 -2
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/mobile/src/ui-kit/DraftDialog/DraftActionButton.tsx +3 -2
- package/mobile/src/ui-kit/DraftDialog/DraftDialog.tsx +2 -2
- package/mobile/src/ui-kit/FormField/Fields/AddressField.tsx +2 -2
- package/package.json +1 -1
- package/src/ui-kit/DraftDialog/DraftActionButton.tsx +3 -2
- package/src/ui-kit/DraftDialog/DraftDialog.tsx +2 -2
- package/src/ui-kit/FormField/Fields/AddressField.tsx +2 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -1927,7 +1927,7 @@
|
|
|
1927
1927
|
apartment: item?.data?.flat,
|
|
1928
1928
|
city: item?.data?.city,
|
|
1929
1929
|
district: item?.data?.area_with_type,
|
|
1930
|
-
fullAddress: item?.
|
|
1930
|
+
fullAddress: item?.unrestricted_value,
|
|
1931
1931
|
fiasCode: item?.data?.fias_id,
|
|
1932
1932
|
house: item?.data?.house,
|
|
1933
1933
|
locality: item?.data?.settlement_with_type,
|
|
@@ -1935,7 +1935,7 @@
|
|
|
1935
1935
|
postcode: item?.data?.postal_code,
|
|
1936
1936
|
region: item?.data?.region,
|
|
1937
1937
|
regionCode: item?.data?.region_kladr_id ? item?.data?.region_kladr_id.substring(0, 2) : '',
|
|
1938
|
-
street: item?.data?.
|
|
1938
|
+
street: item?.data?.street,
|
|
1939
1939
|
qc: item?.data?.qc,
|
|
1940
1940
|
qcComplete: item?.data?.qc_complete,
|
|
1941
1941
|
qcHouse: item?.data?.qc_house,
|
|
@@ -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: {
|
|
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: "
|
|
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.
|
|
10808
|
+
const packageVersion = "0.14.707";
|
|
10809
10809
|
|
|
10810
10810
|
exports.Blocks = Blocks;
|
|
10811
10811
|
exports.ContentPage = ContentPage;
|