@next-core/brick-kit 2.208.3 → 2.208.5
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/index.bundle.js
CHANGED
|
@@ -12503,7 +12503,7 @@
|
|
|
12503
12503
|
} else {
|
|
12504
12504
|
path = path.replace(/^\/next\//, "/");
|
|
12505
12505
|
}
|
|
12506
|
-
path && addPathToBlackList(path);
|
|
12506
|
+
path && path.startsWith("/") && addPathToBlackList(path);
|
|
12507
12507
|
});
|
|
12508
12508
|
if (isBlockedPath(location.pathname)) {
|
|
12509
12509
|
blocked = true;
|
|
@@ -13510,9 +13510,12 @@
|
|
|
13510
13510
|
updateBrick(brick, element);
|
|
13511
13511
|
var onMount = (_useBrick$lifeCycle = useBrick.lifeCycle) === null || _useBrick$lifeCycle === void 0 ? void 0 : _useBrick$lifeCycle.onMount;
|
|
13512
13512
|
if (onMount) {
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
13513
|
+
// wait for element of template brick to be assigned
|
|
13514
|
+
queueMicrotask(() => {
|
|
13515
|
+
dispatchLifeCycleEvent(new CustomEvent("mount"), transformEvents(data, {
|
|
13516
|
+
onMount
|
|
13517
|
+
}).onMount, brick);
|
|
13518
|
+
});
|
|
13516
13519
|
}
|
|
13517
13520
|
var onScrollIntoView = (_useBrick$lifeCycle2 = useBrick.lifeCycle) === null || _useBrick$lifeCycle2 === void 0 ? void 0 : _useBrick$lifeCycle2.onScrollIntoView;
|
|
13518
13521
|
if (onScrollIntoView) {
|