@next-core/brick-kit 2.178.7 → 2.178.9
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.esm.js
CHANGED
|
@@ -6701,8 +6701,7 @@ function builtinMessageListenerFactory(method, args, ifContainer, context, runti
|
|
|
6701
6701
|
content: contentNode,
|
|
6702
6702
|
className: "ant-message-notice-".concat(method)
|
|
6703
6703
|
};
|
|
6704
|
-
|
|
6705
|
-
message[method](...processArg);
|
|
6704
|
+
message[method](argProp, ...processArg.slice(1));
|
|
6706
6705
|
};
|
|
6707
6706
|
}
|
|
6708
6707
|
function builtinWebStorageListenerFactory(storageType, method, args, ifContainer, context, runtimeBrick) {
|
|
@@ -9020,7 +9019,7 @@ class Kernel {
|
|
|
9020
9019
|
var previewPath = this._dev_only_getSnippetPreviewPath(snippetData.snippetId);
|
|
9021
9020
|
var previewRouteIndex = routes.findIndex(route => route.path === previewPath);
|
|
9022
9021
|
try {
|
|
9023
|
-
var _parsedSnippetData$br;
|
|
9022
|
+
var _parsedSnippetData$br, _parsedSnippetData$co;
|
|
9024
9023
|
var {
|
|
9025
9024
|
params: declareParams
|
|
9026
9025
|
} = snippetData,
|
|
@@ -9038,7 +9037,7 @@ class Kernel {
|
|
|
9038
9037
|
menu: false,
|
|
9039
9038
|
exact: true,
|
|
9040
9039
|
hybrid: app.legacy === "iframe",
|
|
9041
|
-
context: parsedSnippetData.data || []
|
|
9040
|
+
context: ((_parsedSnippetData$co = parsedSnippetData.context) !== null && _parsedSnippetData$co !== void 0 && _parsedSnippetData$co.length ? parsedSnippetData.context : parsedSnippetData.data) || []
|
|
9042
9041
|
};
|
|
9043
9042
|
if (previewRouteIndex === -1) {
|
|
9044
9043
|
routes.unshift(newPreviewRoute);
|
|
@@ -9217,7 +9216,7 @@ class Kernel {
|
|
|
9217
9216
|
}, (_storyboard$app = storyboard.app) === null || _storyboard$app === void 0 ? void 0 : _storyboard$app.id, true);
|
|
9218
9217
|
}
|
|
9219
9218
|
}
|
|
9220
|
-
// 每个 storyboard 仅注册一次custom-template
|
|
9219
|
+
// 每个 storyboard 仅注册一次 custom-template
|
|
9221
9220
|
storyboard.$$registerCustomTemplateProcessed = true;
|
|
9222
9221
|
}
|
|
9223
9222
|
}
|
|
@@ -9372,7 +9371,7 @@ class Kernel {
|
|
|
9372
9371
|
try {
|
|
9373
9372
|
var allMagicBrickConfig = (yield InstanceApi_postSearch("_BRICK_MAGIC", {
|
|
9374
9373
|
page: 1,
|
|
9375
|
-
// TODO(Lynette): 暂时设置3000,待后台提供全量接口
|
|
9374
|
+
// TODO(Lynette): 暂时设置 3000,待后台提供全量接口
|
|
9376
9375
|
page_size: 3000,
|
|
9377
9376
|
fields: {
|
|
9378
9377
|
"*": true
|