@seliseblocks/genesis-os 4.5.2 → 4.5.3
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/dist/{chunk-DO4LFM52.cjs → chunk-ECRBLTMO.cjs} +12 -3
- package/dist/chunk-ECRBLTMO.cjs.map +1 -0
- package/dist/{chunk-MO3GS6D2.js → chunk-ROXHXEN6.js} +12 -3
- package/dist/chunk-ROXHXEN6.js.map +1 -0
- package/dist/components/index.cjs +340 -340
- package/dist/components/index.js +1 -1
- package/dist/guards/index.cjs +7 -7
- package/dist/guards/index.js +1 -1
- package/dist/index.cjs +358 -358
- package/dist/index.js +1 -1
- package/dist/layouts/index.cjs +8 -8
- package/dist/layouts/index.js +1 -1
- package/dist/pages/index.cjs +6 -6
- package/dist/pages/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-DO4LFM52.cjs.map +0 -1
- package/dist/chunk-MO3GS6D2.js.map +0 -1
|
@@ -7649,10 +7649,19 @@ function getNotificationLink(denormalizedPayload) {
|
|
|
7649
7649
|
var MERGED_INTO_OS = {
|
|
7650
7650
|
"blocks-logic": "BLOCKS_LOGIC_BASE_URL"
|
|
7651
7651
|
};
|
|
7652
|
+
var isServedHere = (url) => {
|
|
7653
|
+
if (!url) return true;
|
|
7654
|
+
if (typeof window === "undefined") return false;
|
|
7655
|
+
try {
|
|
7656
|
+
return new URL(url, window.location.origin).origin === window.location.origin;
|
|
7657
|
+
} catch {
|
|
7658
|
+
return false;
|
|
7659
|
+
}
|
|
7660
|
+
};
|
|
7652
7661
|
var opensIn = (linkApp, currentApp) => {
|
|
7653
7662
|
if (linkApp === currentApp) return true;
|
|
7654
7663
|
const areaKey = MERGED_INTO_OS[linkApp];
|
|
7655
|
-
return currentApp === "blocks-os" && !!areaKey &&
|
|
7664
|
+
return currentApp === "blocks-os" && !!areaKey && isServedHere(chunkDVSDWHSQ_cjs.getRuntimeEnv(areaKey));
|
|
7656
7665
|
};
|
|
7657
7666
|
function getNotificationHref(denormalizedPayload, currentApp, projectItemId) {
|
|
7658
7667
|
const link = getNotificationLink(denormalizedPayload);
|
|
@@ -14409,5 +14418,5 @@ exports.usePaginationQueryParams = usePaginationQueryParams;
|
|
|
14409
14418
|
exports.useRightSidePanel = useRightSidePanel;
|
|
14410
14419
|
exports.useSortQueryParams = useSortQueryParams;
|
|
14411
14420
|
exports.useWizardStepper = useWizardStepper;
|
|
14412
|
-
//# sourceMappingURL=chunk-
|
|
14413
|
-
//# sourceMappingURL=chunk-
|
|
14421
|
+
//# sourceMappingURL=chunk-ECRBLTMO.cjs.map
|
|
14422
|
+
//# sourceMappingURL=chunk-ECRBLTMO.cjs.map
|