@next-core/brick-kit 2.208.2 → 2.208.4
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
|
@@ -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) {
|
|
@@ -13819,9 +13822,12 @@
|
|
|
13819
13822
|
updateBrick(brick, element);
|
|
13820
13823
|
var onMount = (_useBrick$lifeCycle4 = useBrick.lifeCycle) === null || _useBrick$lifeCycle4 === void 0 ? void 0 : _useBrick$lifeCycle4.onMount;
|
|
13821
13824
|
if (onMount) {
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
+
// wait for element of template brick to be assigned
|
|
13826
|
+
queueMicrotask(() => {
|
|
13827
|
+
dispatchLifeCycleEvent(new CustomEvent("mount"), transformEvents(data, {
|
|
13828
|
+
onMount
|
|
13829
|
+
}).onMount, brick);
|
|
13830
|
+
});
|
|
13825
13831
|
}
|
|
13826
13832
|
var onScrollIntoView = (_useBrick$lifeCycle5 = useBrick.lifeCycle) === null || _useBrick$lifeCycle5 === void 0 ? void 0 : _useBrick$lifeCycle5.onScrollIntoView;
|
|
13827
13833
|
if (onScrollIntoView) {
|