@redneckz/wildless-cms-uni-blocks 0.14.1085 → 0.14.1087
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/bin/migration-scripts/0.14.1087.js +34 -0
- package/bundle/bundle.umd.js +11 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Header/HeaderQuickActionsMenu.js +12 -0
- package/dist/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/lib/components/Header/HeaderQuickActionsMenu.js +12 -0
- package/lib/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +11 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.js +12 -0
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.js +12 -0
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/src/components/Header/HeaderQuickActionsMenu.tsx +12 -0
- package/package.json +1 -1
- package/src/components/Header/HeaderQuickActionsMenu.tsx +12 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const description = 'v0.14.1087';
|
|
2
|
+
|
|
3
|
+
export default (uniPath, content) => {
|
|
4
|
+
modifyBlock(content, uniPath);
|
|
5
|
+
|
|
6
|
+
return content;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
function modifyBlock(data, uniPath) {
|
|
10
|
+
if (!uniPath.includes('.page.json')) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const title = data?.title;
|
|
15
|
+
let newTitle = title;
|
|
16
|
+
|
|
17
|
+
if (!title) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (title.includes('2024/2025')) {
|
|
22
|
+
newTitle = newTitle.replaceAll('2024/2025', '2026');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (title.includes('2024')) {
|
|
26
|
+
newTitle = newTitle.replaceAll('2024', '2026');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (title.includes('2025')) {
|
|
30
|
+
newTitle = newTitle.replaceAll('2025', '2026');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
data.title = newTitle;
|
|
34
|
+
}
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -13899,6 +13899,16 @@
|
|
|
13899
13899
|
}
|
|
13900
13900
|
}, []);
|
|
13901
13901
|
const handlePhoneClick = useCallback(() => {
|
|
13902
|
+
handleAspects({
|
|
13903
|
+
aspectsAttributes: [
|
|
13904
|
+
{
|
|
13905
|
+
aspectName: 'ymReachGoal',
|
|
13906
|
+
params: { yandexId: YANDEX_ID, targetName: 'business_call' },
|
|
13907
|
+
},
|
|
13908
|
+
],
|
|
13909
|
+
aspects,
|
|
13910
|
+
ev: {},
|
|
13911
|
+
});
|
|
13902
13912
|
globalThis.location.href = 'tel:88001007870';
|
|
13903
13913
|
}, []);
|
|
13904
13914
|
return {
|
|
@@ -15165,7 +15175,7 @@
|
|
|
15165
15175
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
15166
15176
|
});
|
|
15167
15177
|
|
|
15168
|
-
const packageVersion = "0.14.
|
|
15178
|
+
const packageVersion = "0.14.1086";
|
|
15169
15179
|
|
|
15170
15180
|
exports.Blocks = Blocks;
|
|
15171
15181
|
exports.ContentPage = ContentPage;
|