@redneckz/wildless-cms-uni-blocks 0.6.38 → 0.6.39
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/ProjectSettings.d.ts +0 -2
- package/bundle/bundle.umd.js +2 -6
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ProjectSettings.d.ts +0 -2
- package/dist/ProjectSettings.js +0 -3
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/utils/adjustHref.js +1 -3
- package/dist/utils/adjustHref.js.map +1 -1
- package/lib/ProjectSettings.d.ts +0 -2
- package/lib/ProjectSettings.js +0 -3
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/utils/adjustHref.js +1 -3
- package/lib/utils/adjustHref.js.map +1 -1
- package/mobile/bundle/ProjectSettings.d.ts +0 -2
- package/mobile/bundle/bundle.umd.js +2 -6
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ProjectSettings.d.ts +0 -2
- package/mobile/dist/ProjectSettings.js +0 -3
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/utils/adjustHref.js +1 -3
- package/mobile/dist/utils/adjustHref.js.map +1 -1
- package/mobile/lib/ProjectSettings.d.ts +0 -2
- package/mobile/lib/ProjectSettings.js +0 -3
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/utils/adjustHref.js +1 -3
- package/mobile/lib/utils/adjustHref.js.map +1 -1
- package/mobile/src/ProjectSettings.ts +0 -4
- package/mobile/src/utils/adjustHref.ts +1 -3
- package/package.json +1 -1
- package/src/ProjectSettings.ts +0 -4
- package/src/utils/adjustHref.ts +1 -3
|
@@ -7,7 +7,6 @@ export interface ProjectSettings {
|
|
|
7
7
|
SITEMAP?: string;
|
|
8
8
|
FOOTER?: string;
|
|
9
9
|
CDN?: string;
|
|
10
|
-
BASE_PATH?: string;
|
|
11
10
|
YANDEX_MAP_API_KEY?: string;
|
|
12
11
|
YANDEX_METRIKA_ID?: string;
|
|
13
12
|
}
|
|
@@ -22,7 +21,6 @@ export declare const projectSettings: {
|
|
|
22
21
|
readonly SITEMAP: string | undefined;
|
|
23
22
|
readonly FOOTER: string | undefined;
|
|
24
23
|
readonly CDN: string | undefined;
|
|
25
|
-
readonly BASE_PATH: string | undefined;
|
|
26
24
|
readonly YANDEX_MAP_API_KEY: string | undefined;
|
|
27
25
|
readonly YANDEX_METRIKA_ID: string | undefined;
|
|
28
26
|
};
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -85,9 +85,6 @@
|
|
|
85
85
|
get CDN() {
|
|
86
86
|
return this._.CDN;
|
|
87
87
|
}
|
|
88
|
-
get BASE_PATH() {
|
|
89
|
-
return this._.BASE_PATH;
|
|
90
|
-
}
|
|
91
88
|
get YANDEX_MAP_API_KEY() {
|
|
92
89
|
return this._.YANDEX_MAP_API_KEY;
|
|
93
90
|
}
|
|
@@ -610,10 +607,9 @@
|
|
|
610
607
|
if (!href) {
|
|
611
608
|
return href;
|
|
612
609
|
}
|
|
613
|
-
const hrefWithBasePath = `${projectSettings.BASE_PATH || ''}${href}`;
|
|
614
610
|
const origin = getOrigin(router?.href);
|
|
615
611
|
// Relative URL
|
|
616
|
-
return origin ?
|
|
612
|
+
return origin ? href.replace(origin, '') || '/' : href;
|
|
617
613
|
};
|
|
618
614
|
|
|
619
615
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
@@ -3955,7 +3951,7 @@
|
|
|
3955
3951
|
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" }) }));
|
|
3956
3952
|
}
|
|
3957
3953
|
|
|
3958
|
-
const packageVersion = "0.6.
|
|
3954
|
+
const packageVersion = "0.6.39";
|
|
3959
3955
|
|
|
3960
3956
|
exports.Blocks = Blocks;
|
|
3961
3957
|
exports.ContentPage = ContentPage;
|