@next-core/brick-kit 2.162.0 → 2.163.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.
@@ -2931,6 +2931,9 @@
2931
2931
  var newContext = context;
2932
2932
  if (overrideAppId !== context.app.id && attemptToVisit(menu.itemsResolve, ["APP", "I18N"])) {
2933
2933
  if (window.STANDALONE_MICRO_APPS) {
2934
+ if (menu.overrideApp) {
2935
+ menu.overrideApp.config = brickUtils.deepFreeze(_.merge({}, menu.overrideApp.defaultConfig, menu.overrideApp.userConfig));
2936
+ }
2934
2937
  newContext = _objectSpread__default["default"](_objectSpread__default["default"]({}, context), {}, {
2935
2938
  overrideApp: menu.overrideApp,
2936
2939
  appendI18nNamespace: menuWithI18n.get(menu)
@@ -3123,6 +3126,9 @@
3123
3126
  var newContext = context;
3124
3127
  if (overrideAppId !== context.app.id && attemptToVisit(data, ["APP", "I18N"])) {
3125
3128
  if (window.STANDALONE_MICRO_APPS) {
3129
+ if (data[symbolOverrideApp]) {
3130
+ data[symbolOverrideApp].config = brickUtils.deepFreeze(_.merge({}, data[symbolOverrideApp].defaultConfig, data[symbolOverrideApp].userConfig));
3131
+ }
3126
3132
  newContext = _objectSpread__default["default"](_objectSpread__default["default"]({}, context), {}, {
3127
3133
  overrideApp: data[symbolOverrideApp],
3128
3134
  appendI18nNamespace: data[symbolMenuI18nNamespace]
@@ -8243,13 +8249,13 @@
8243
8249
  dll,
8244
8250
  deps,
8245
8251
  bricks,
8246
- byProcessors
8252
+ eager
8247
8253
  } = brickUtils.getDllAndDepsOfStoryboard(yield brickUtils.asyncProcessStoryboard(storyboard, brickTemplateRegistry, templatePackages), brickPackages, {
8248
8254
  ignoreBricksInUnusedCustomTemplates: true
8249
8255
  });
8250
- // 需要先阻塞加载 Custom Processors。
8251
- yield loadScriptOfDll(byProcessors.dll);
8252
- yield loadScriptOfBricksOrTemplates(byProcessors.deps);
8256
+ // 需要先阻塞加载 Custom Processors 和 widgets
8257
+ yield loadScriptOfDll(eager.dll);
8258
+ yield loadScriptOfBricksOrTemplates(eager.deps);
8253
8259
  // 加载构件资源时,不再阻塞后续业务数据的加载,在挂载构件时再等待该任务完成。
8254
8260
  // 挂载构件可能包括:Provider 构件实时挂载、路由准备完成后的统一挂载等。
8255
8261
  return {
@@ -9543,10 +9549,10 @@
9543
9549
  item.value = brickConf.properties[item.name];
9544
9550
  }
9545
9551
  });
9546
- if (brickConf.properties.condition) {
9552
+ if (brickConf.properties.params) {
9547
9553
  formData.context.push({
9548
- name: "condition",
9549
- value: brickConf.properties.condition
9554
+ name: "params",
9555
+ value: brickConf.properties.params
9550
9556
  });
9551
9557
  }
9552
9558
  }