@redneckz/wildless-cms-uni-blocks 0.14.834 → 0.14.836
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 +28 -25
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/GalleryLayout/utils.d.ts +29 -0
- package/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/dist/components/CreditForm/SuccessStatusContent.js +1 -1
- package/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/dist/components/GalleryLayout/GalleryLayout.js +3 -24
- package/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/dist/components/GalleryLayout/utils.d.ts +29 -0
- package/dist/components/GalleryLayout/utils.js +29 -0
- package/dist/components/GalleryLayout/utils.js.map +1 -0
- package/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/lib/components/CreditForm/SuccessStatusContent.js +1 -1
- package/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/lib/components/GalleryLayout/GalleryLayout.js +1 -22
- package/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/lib/components/GalleryLayout/utils.d.ts +29 -0
- package/lib/components/GalleryLayout/utils.js +25 -0
- package/lib/components/GalleryLayout/utils.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +28 -25
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/GalleryLayout/utils.d.ts +29 -0
- package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/mobile/dist/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/mobile/dist/components/CreditForm/SuccessStatusContent.js +1 -1
- package/mobile/dist/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/mobile/dist/components/GalleryLayout/GalleryLayout.js +3 -24
- package/mobile/dist/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/mobile/dist/components/GalleryLayout/utils.d.ts +29 -0
- package/mobile/dist/components/GalleryLayout/utils.js +29 -0
- package/mobile/dist/components/GalleryLayout/utils.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js +1 -1
- package/mobile/lib/components/CreditCardForm/SuccessStatusCardContent.js.map +1 -1
- package/mobile/lib/components/CreditForm/SuccessStatusContent.js +1 -1
- package/mobile/lib/components/CreditForm/SuccessStatusContent.js.map +1 -1
- package/mobile/lib/components/GalleryLayout/GalleryLayout.js +1 -22
- package/mobile/lib/components/GalleryLayout/GalleryLayout.js.map +1 -1
- package/mobile/lib/components/GalleryLayout/utils.d.ts +29 -0
- package/mobile/lib/components/GalleryLayout/utils.js +25 -0
- package/mobile/lib/components/GalleryLayout/utils.js.map +1 -0
- package/mobile/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
- package/mobile/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
- package/mobile/src/components/GalleryLayout/GalleryLayout.tsx +1 -32
- package/mobile/src/components/GalleryLayout/utils.ts +35 -0
- package/package.json +1 -1
- package/src/components/CreditCardForm/SuccessStatusCardContent.tsx +1 -1
- package/src/components/CreditForm/SuccessStatusContent.tsx +1 -1
- package/src/components/GalleryLayout/GalleryLayout.tsx +1 -32
- package/src/components/GalleryLayout/utils.ts +35 -0
- package/src/icons/IconName.ts +4 -4
package/bundle/bundle.umd.js
CHANGED
|
@@ -7738,7 +7738,7 @@
|
|
|
7738
7738
|
|
|
7739
7739
|
const SuccessStatusCardContent = JSX(() => {
|
|
7740
7740
|
const { statusInfo } = useRetailFormStore();
|
|
7741
|
-
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
|
|
7741
|
+
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: getSectionInfo(statusInfo), buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" }));
|
|
7742
7742
|
});
|
|
7743
7743
|
const getSectionInfo = (statusInfo) => {
|
|
7744
7744
|
const sectionInfo = [
|
|
@@ -8793,7 +8793,7 @@
|
|
|
8793
8793
|
|
|
8794
8794
|
const SuccessStatusContent$1 = JSX(() => {
|
|
8795
8795
|
const { statusInfo } = useRetailFormStore();
|
|
8796
|
-
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
|
|
8796
|
+
return (jsx(FormStatus, { title: "\u0411\u0430\u043D\u043A \u043E\u0434\u043E\u0431\u0440\u0438\u043B \u0432\u0430\u043C \u043A\u0440\u0435\u0434\u0438\u0442", description: "\u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0430\u0448 \u043A\u0440\u0435\u0434\u0438\u0442", sectionInfo: [
|
|
8797
8797
|
{
|
|
8798
8798
|
label: 'Название продукта',
|
|
8799
8799
|
description: 'Кредит на любые цели',
|
|
@@ -10043,8 +10043,32 @@
|
|
|
10043
10043
|
return blocks;
|
|
10044
10044
|
};
|
|
10045
10045
|
|
|
10046
|
-
const MIN_LENGTH_CHILD = 5;
|
|
10047
10046
|
const SHORT_TILE_INDEXES = [1, 2, 3, 4];
|
|
10047
|
+
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
10048
|
+
? 'lg:col-span-1 lg:row-span-1'
|
|
10049
|
+
: 'lg:col-span-2 lg:row-span-2';
|
|
10050
|
+
const modifyBlock = (block, i) => {
|
|
10051
|
+
const content = { ...block.content };
|
|
10052
|
+
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
10053
|
+
if (isSmallTile) {
|
|
10054
|
+
delete content.description;
|
|
10055
|
+
delete content.benefits;
|
|
10056
|
+
if (content.link?.href) {
|
|
10057
|
+
delete content.buttons;
|
|
10058
|
+
}
|
|
10059
|
+
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
10060
|
+
content.headlineVersion = 'S';
|
|
10061
|
+
}
|
|
10062
|
+
else {
|
|
10063
|
+
if ((content.buttons ?? []).length) {
|
|
10064
|
+
delete content.link;
|
|
10065
|
+
}
|
|
10066
|
+
content.headlineVersion = 'L';
|
|
10067
|
+
}
|
|
10068
|
+
return { ...block, content };
|
|
10069
|
+
};
|
|
10070
|
+
|
|
10071
|
+
const MIN_LENGTH_CHILD = 5;
|
|
10048
10072
|
const LINK_SCHEMA = {
|
|
10049
10073
|
link: {
|
|
10050
10074
|
allOf: [
|
|
@@ -10095,27 +10119,6 @@
|
|
|
10095
10119
|
block: modifiedBlock,
|
|
10096
10120
|
}) }, String(i)));
|
|
10097
10121
|
};
|
|
10098
|
-
const getChildStyle = (index) => SHORT_TILE_INDEXES.includes(index)
|
|
10099
|
-
? 'lg:col-span-1 lg:row-span-1'
|
|
10100
|
-
: 'lg:col-span-2 lg:row-span-2';
|
|
10101
|
-
const modifyBlock = (block, i) => {
|
|
10102
|
-
const content = { ...block.content };
|
|
10103
|
-
const isSmallTile = SHORT_TILE_INDEXES.includes(i);
|
|
10104
|
-
if (isSmallTile) {
|
|
10105
|
-
delete content.description;
|
|
10106
|
-
delete content.benefits;
|
|
10107
|
-
if (content.link?.href) {
|
|
10108
|
-
delete content.buttons;
|
|
10109
|
-
}
|
|
10110
|
-
content.imageOptions = { ...content.imageOptions, className: 'max-w-max !h-auto' };
|
|
10111
|
-
}
|
|
10112
|
-
else {
|
|
10113
|
-
if ((content.buttons ?? []).length) {
|
|
10114
|
-
delete content.link;
|
|
10115
|
-
}
|
|
10116
|
-
}
|
|
10117
|
-
return { ...block, content };
|
|
10118
|
-
};
|
|
10119
10122
|
|
|
10120
10123
|
const GrantSupport = UniBlock(({ className, title, button, regionSource, data, ...rest }) => {
|
|
10121
10124
|
const [region, setRegion] = useState({ key: '' });
|
|
@@ -11436,7 +11439,7 @@
|
|
|
11436
11439
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11437
11440
|
});
|
|
11438
11441
|
|
|
11439
|
-
const packageVersion = "0.14.
|
|
11442
|
+
const packageVersion = "0.14.835";
|
|
11440
11443
|
|
|
11441
11444
|
exports.Blocks = Blocks;
|
|
11442
11445
|
exports.ContentPage = ContentPage;
|