@next-core/brick-kit 2.88.1 → 2.89.0
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/CHANGELOG.md +16 -0
- package/dist/index.bundle.js +9 -9
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +9 -9
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -1402,8 +1402,6 @@ function StoryboardFunctionRegistryFactory() {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
function getStoryboardFunction(name) {
|
|
1405
|
-
var _collector, _collector2, _collector3, _collector4;
|
|
1406
|
-
|
|
1407
1405
|
var fn = registeredFunctions.get(name);
|
|
1408
1406
|
|
|
1409
1407
|
if (!fn) {
|
|
@@ -1422,8 +1420,8 @@ function StoryboardFunctionRegistryFactory() {
|
|
|
1422
1420
|
|
|
1423
1421
|
var precooked = precookFunction(fn.source, {
|
|
1424
1422
|
typescript: fn.typescript,
|
|
1425
|
-
hooks: {
|
|
1426
|
-
beforeVisit:
|
|
1423
|
+
hooks: collector && {
|
|
1424
|
+
beforeVisit: collector.beforeVisit
|
|
1427
1425
|
}
|
|
1428
1426
|
});
|
|
1429
1427
|
fn.cooked = cook(precooked.function, fn.source, {
|
|
@@ -1434,10 +1432,10 @@ function StoryboardFunctionRegistryFactory() {
|
|
|
1434
1432
|
// Functions can call other functions.
|
|
1435
1433
|
FN: storyboardFunctions
|
|
1436
1434
|
}),
|
|
1437
|
-
hooks: {
|
|
1438
|
-
beforeEvaluate:
|
|
1439
|
-
beforeCall:
|
|
1440
|
-
beforeBranch:
|
|
1435
|
+
hooks: collector && {
|
|
1436
|
+
beforeEvaluate: collector.beforeEvaluate,
|
|
1437
|
+
beforeCall: collector.beforeCall,
|
|
1438
|
+
beforeBranch: collector.beforeBranch
|
|
1441
1439
|
}
|
|
1442
1440
|
});
|
|
1443
1441
|
fn.processed = true;
|
|
@@ -9275,6 +9273,8 @@ class Router {
|
|
|
9275
9273
|
};
|
|
9276
9274
|
|
|
9277
9275
|
if (storyboard) {
|
|
9276
|
+
var _currentApp$breadcrum, _currentApp$breadcrum2;
|
|
9277
|
+
|
|
9278
9278
|
if (appChanged && currentApp.id && isLoggedIn()) {
|
|
9279
9279
|
var usedCustomApis = mapCustomApisToNameAndNamespace(scanCustomApisInStoryboard(storyboard));
|
|
9280
9280
|
|
|
@@ -9291,7 +9291,7 @@ class Router {
|
|
|
9291
9291
|
appBar: {
|
|
9292
9292
|
breadcrumb: [],
|
|
9293
9293
|
documentId: null,
|
|
9294
|
-
noCurrentApp: false
|
|
9294
|
+
noCurrentApp: (_currentApp$breadcrum = (_currentApp$breadcrum2 = currentApp.breadcrumb) === null || _currentApp$breadcrum2 === void 0 ? void 0 : _currentApp$breadcrum2.noCurrentApp) !== null && _currentApp$breadcrum !== void 0 ? _currentApp$breadcrum : false
|
|
9295
9295
|
},
|
|
9296
9296
|
flags: {
|
|
9297
9297
|
redirect: undefined,
|