@ibiz-template/runtime 0.7.41-alpha.142 → 0.7.41-alpha.143
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 +20 -7
- package/dist/index.system.min.js +1 -1
- package/out/app-hub.d.ts.map +1 -1
- package/out/app-hub.js +10 -9
- package/out/controller/control/form/form-detail/form-mdctrl/index.d.ts +2 -0
- package/out/controller/control/form/form-detail/form-mdctrl/index.d.ts.map +1 -1
- package/out/controller/control/form/form-detail/form-mdctrl/index.js +2 -0
- package/out/interface/provider/i-app-menu-item.provider.d.ts +6 -0
- package/out/interface/provider/i-app-menu-item.provider.d.ts.map +1 -1
- package/out/service/service/util/ai-util.service.d.ts +4 -1
- package/out/service/service/util/ai-util.service.d.ts.map +1 -1
- package/out/service/service/util/ai-util.service.js +8 -1
- package/package.json +2 -2
- package/src/app-hub.ts +13 -9
- package/src/controller/control/form/form-detail/form-mdctrl/index.ts +2 -0
- package/src/interface/provider/i-app-menu-item.provider.ts +8 -0
- package/src/service/service/util/ai-util.service.ts +11 -2
package/dist/index.esm.js
CHANGED
|
@@ -76054,7 +76054,13 @@ var AIUtilService = class {
|
|
|
76054
76054
|
response,
|
|
76055
76055
|
"messagemodelMapping"
|
|
76056
76056
|
);
|
|
76057
|
-
|
|
76057
|
+
let total = response.headers["x-total"];
|
|
76058
|
+
if (total) {
|
|
76059
|
+
total = Number(total);
|
|
76060
|
+
} else {
|
|
76061
|
+
total = result.length;
|
|
76062
|
+
}
|
|
76063
|
+
return { total, data: result.reverse() };
|
|
76058
76064
|
}
|
|
76059
76065
|
/**
|
|
76060
76066
|
* 删除消息(多个以逗号分割)
|
|
@@ -88879,12 +88885,16 @@ var AppHub = class {
|
|
|
88879
88885
|
return;
|
|
88880
88886
|
}
|
|
88881
88887
|
let pluginListLength = 0;
|
|
88882
|
-
const
|
|
88883
|
-
|
|
88884
|
-
|
|
88885
|
-
|
|
88886
|
-
|
|
88887
|
-
|
|
88888
|
+
const mainApp = this.getAppSourceModel(ibiz.env.appId);
|
|
88889
|
+
if (mainApp && mainApp.getAllPSSubAppRefs) {
|
|
88890
|
+
const targetSubApp = mainApp.getAllPSSubAppRefs.find(
|
|
88891
|
+
(subAppRef) => {
|
|
88892
|
+
return subAppRef.id === appId2;
|
|
88893
|
+
}
|
|
88894
|
+
);
|
|
88895
|
+
if (targetSubApp && targetSubApp.ext_count) {
|
|
88896
|
+
pluginListLength = Number(targetSubApp.ext_count);
|
|
88897
|
+
}
|
|
88888
88898
|
}
|
|
88889
88899
|
if (pluginListLength === 0)
|
|
88890
88900
|
return;
|
|
@@ -88936,6 +88946,7 @@ var AppHub = class {
|
|
|
88936
88946
|
throw new RuntimeError78(ibiz.i18n.t("runtime.utils.firstregister"));
|
|
88937
88947
|
}
|
|
88938
88948
|
if (id !== ibiz.env.appId) {
|
|
88949
|
+
await this.loadSubExtensionPlugin(id);
|
|
88939
88950
|
}
|
|
88940
88951
|
const appModel = await this.modelLoaderProvider.getApp(id);
|
|
88941
88952
|
const subAppRef = await this.modelLoaderProvider.getSubAppRef(id);
|
|
@@ -93950,8 +93961,10 @@ export {
|
|
|
93950
93961
|
FormItemState,
|
|
93951
93962
|
FormMDCtrlController,
|
|
93952
93963
|
FormMDCtrlFormController,
|
|
93964
|
+
FormMDCtrlFormState,
|
|
93953
93965
|
FormMDCtrlMDController,
|
|
93954
93966
|
FormMDCtrlRepeaterController,
|
|
93967
|
+
FormMDCtrlState,
|
|
93955
93968
|
FormNotifyState,
|
|
93956
93969
|
FormPageController,
|
|
93957
93970
|
FormPageState,
|