@ibiz-template/runtime 0.7.41-alpha.1 → 0.7.41-alpha.2
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 +29 -1
- package/dist/index.system.min.js +1 -1
- package/out/controller/control/form/form-detail/form-tab-panel/form-tab-panel.controller.d.ts +7 -0
- package/out/controller/control/form/form-detail/form-tab-panel/form-tab-panel.controller.d.ts.map +1 -1
- package/out/controller/control/form/form-detail/form-tab-panel/form-tab-panel.controller.js +9 -0
- package/out/interface/api/app/i-micro-app-config-center.d.ts +7 -0
- package/out/interface/api/app/i-micro-app-config-center.d.ts.map +1 -1
- package/out/interface/common/i-plugin-factory/i-plugin-factory.d.ts +10 -12
- package/out/interface/common/i-plugin-factory/i-plugin-factory.d.ts.map +1 -1
- package/out/micro-app/config-center.d.ts +7 -0
- package/out/micro-app/config-center.d.ts.map +1 -1
- package/out/micro-app/config-center.js +16 -0
- package/out/plugin/remote-plugin-item/remote-plugin-item.d.ts +6 -0
- package/out/plugin/remote-plugin-item/remote-plugin-item.d.ts.map +1 -1
- package/out/register/helper/common-register.js +1 -1
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -22849,7 +22849,7 @@ async function getPluginRegisterKey(pluginId, appId2) {
|
|
|
22849
22849
|
);
|
|
22850
22850
|
return;
|
|
22851
22851
|
}
|
|
22852
|
-
await ibiz.plugin.loadPlugin(plugin);
|
|
22852
|
+
await ibiz.plugin.loadPlugin(plugin, appId2);
|
|
22853
22853
|
return "".concat(plugin.pluginType, "_").concat(plugin.pluginCode);
|
|
22854
22854
|
}
|
|
22855
22855
|
|
|
@@ -53346,10 +53346,19 @@ var FormTabPanelController = class extends FormDetailController {
|
|
|
53346
53346
|
* @author lxm
|
|
53347
53347
|
* @date 2024-01-17 02:59:38
|
|
53348
53348
|
* @param {string} tabId
|
|
53349
|
+
* @deprecated
|
|
53349
53350
|
*/
|
|
53350
53351
|
onTabChange(tabId) {
|
|
53351
53352
|
this.state.activeTab = tabId;
|
|
53352
53353
|
}
|
|
53354
|
+
/**
|
|
53355
|
+
* @description 切换激活分页
|
|
53356
|
+
* @param {string} tabId 分页id
|
|
53357
|
+
* @memberof FormTabPanelController
|
|
53358
|
+
*/
|
|
53359
|
+
selectTab(tabId) {
|
|
53360
|
+
this.state.activeTab = tabId;
|
|
53361
|
+
}
|
|
53353
53362
|
/**
|
|
53354
53363
|
* 根据id去表单控制器里取得计数器对象
|
|
53355
53364
|
* @return {*}
|
|
@@ -74652,6 +74661,25 @@ var MicroAppConfigCenter = class {
|
|
|
74652
74661
|
getMicroApp(name2) {
|
|
74653
74662
|
return this.apps.get(name2);
|
|
74654
74663
|
}
|
|
74664
|
+
/**
|
|
74665
|
+
* @description 获取插件基础路径
|
|
74666
|
+
* @param {string} name
|
|
74667
|
+
* @returns {*} {string}
|
|
74668
|
+
* @memberof MicroAppConfigCenter
|
|
74669
|
+
*/
|
|
74670
|
+
getPluginBaseUrl(name2) {
|
|
74671
|
+
if (ibiz.env.runContainer === "FULLCODE" && name2 !== ibiz.env.appId) {
|
|
74672
|
+
const microAppConfig = this.getMicroApp(name2);
|
|
74673
|
+
if (microAppConfig && microAppConfig.pluginBaseUrl) {
|
|
74674
|
+
const microAppPluginBaseUrl = new URL(
|
|
74675
|
+
microAppConfig.pluginBaseUrl,
|
|
74676
|
+
microAppConfig.entry
|
|
74677
|
+
).href;
|
|
74678
|
+
return "".concat(microAppPluginBaseUrl);
|
|
74679
|
+
}
|
|
74680
|
+
}
|
|
74681
|
+
return ibiz.env.pluginBaseUrl;
|
|
74682
|
+
}
|
|
74655
74683
|
};
|
|
74656
74684
|
|
|
74657
74685
|
// src/app-hub.ts
|