@redneckz/wildless-cms-uni-blocks 0.10.8 → 0.10.9
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 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/utils/appendSlash.d.ts +1 -0
- package/dist/ProjectSettings.js +3 -3
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/components/Calculator/useCreditCalculatorParams.js +1 -1
- package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +2 -1
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/dist/utils/appendSlash.d.ts +1 -0
- package/dist/utils/appendSlash.js +5 -0
- package/dist/utils/appendSlash.js.map +1 -0
- package/lib/ProjectSettings.js +1 -1
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/components/Calculator/useCreditCalculatorParams.js +1 -1
- package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +2 -1
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/utils/appendSlash.d.ts +1 -0
- package/lib/utils/appendSlash.js +2 -0
- package/lib/utils/appendSlash.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +4 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/utils/appendSlash.d.ts +1 -0
- package/mobile/dist/ProjectSettings.js +3 -3
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +1 -1
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +2 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/dist/utils/appendSlash.d.ts +1 -0
- package/mobile/dist/utils/appendSlash.js +5 -0
- package/mobile/dist/utils/appendSlash.js.map +1 -0
- package/mobile/lib/ProjectSettings.js +1 -1
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +1 -1
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +2 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/utils/appendSlash.d.ts +1 -0
- package/mobile/lib/utils/appendSlash.js +2 -0
- package/mobile/lib/utils/appendSlash.js.map +1 -0
- package/mobile/src/ProjectSettings.ts +2 -2
- package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -1
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +2 -1
- package/mobile/src/utils/appendSlash.ts +2 -0
- package/package.json +6 -1
- package/src/ProjectSettings.ts +2 -2
- package/src/components/Calculator/useCreditCalculatorParams.ts +1 -1
- package/src/ui-kit/Sitemap/Sitemap.tsx +2 -1
- package/src/utils/appendSlash.ts +2 -0
package/bundle/bundle.umd.js
CHANGED
|
@@ -53,6 +53,8 @@
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
const appendSlash = (url) => url && !url.endsWith('/') ? `${url}/` : url;
|
|
57
|
+
|
|
56
58
|
const DEFAULT_PROJECT_SETTINGS = { PROD_BRANCH: 'master' };
|
|
57
59
|
const projectSettings = new (class {
|
|
58
60
|
_ = DEFAULT_PROJECT_SETTINGS;
|
|
@@ -96,7 +98,6 @@
|
|
|
96
98
|
return this._.YANDEX_METRIKA_ID;
|
|
97
99
|
}
|
|
98
100
|
})();
|
|
99
|
-
const appendSlash = (url) => (url && !url.endsWith('/') ? `${url}/` : url);
|
|
100
101
|
|
|
101
102
|
const AUTH_PREFIX = 'guest';
|
|
102
103
|
const STORAGE_KEY = 'likesToken';
|
|
@@ -1628,7 +1629,7 @@
|
|
|
1628
1629
|
...getLimitRangeByKeys(['minMonths', 'maxMonths'], creditCalculatorSourceBookLimitParams, rateRows),
|
|
1629
1630
|
...userInputParams,
|
|
1630
1631
|
monthlyPayment,
|
|
1631
|
-
}), [userInputParams]);
|
|
1632
|
+
}), [userInputParams, data]);
|
|
1632
1633
|
};
|
|
1633
1634
|
const checkRowCommonParams = (props) => checkRowParam({
|
|
1634
1635
|
...props,
|
|
@@ -3040,7 +3041,7 @@
|
|
|
3040
3041
|
});
|
|
3041
3042
|
const renderColumn = (menuItem, index) => {
|
|
3042
3043
|
const { text, items, href, target, onClick } = menuItem;
|
|
3043
|
-
return (jsxs("div", { className: "flex flex-col gap-3.5 w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items?.map((_, i) => (jsx(ColumnItem, { ..._, basePath: href, index: i }, String(i))))] }, String(index)));
|
|
3044
|
+
return (jsxs("div", { className: "flex flex-col gap-3.5 w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items?.map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
|
|
3044
3045
|
};
|
|
3045
3046
|
const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
|
|
3046
3047
|
const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
|
|
@@ -5025,7 +5026,7 @@
|
|
|
5025
5026
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
5026
5027
|
}
|
|
5027
5028
|
|
|
5028
|
-
const packageVersion = "0.10.
|
|
5029
|
+
const packageVersion = "0.10.9";
|
|
5029
5030
|
|
|
5030
5031
|
exports.Blocks = Blocks;
|
|
5031
5032
|
exports.ContentPage = ContentPage;
|