@ibiz-template/runtime 0.7.41-alpha.142 → 0.7.41-alpha.144
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 -8
- 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/out/ui-action/provider/ui-action-provider-base.d.ts.map +1 -1
- package/out/ui-action/provider/ui-action-provider-base.js +9 -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/src/ui-action/provider/ui-action-provider-base.ts +9 -1
package/dist/index.esm.js
CHANGED
|
@@ -34969,7 +34969,15 @@ var UIActionProviderBase = class {
|
|
|
34969
34969
|
Object.assign(result, _result);
|
|
34970
34970
|
if (action.afterCode) {
|
|
34971
34971
|
await ScriptFactory.asyncExecScriptFn(
|
|
34972
|
-
{
|
|
34972
|
+
{
|
|
34973
|
+
context,
|
|
34974
|
+
params,
|
|
34975
|
+
data: result,
|
|
34976
|
+
retdata: result.data || {},
|
|
34977
|
+
view,
|
|
34978
|
+
ctrl,
|
|
34979
|
+
args
|
|
34980
|
+
},
|
|
34973
34981
|
action.afterCode
|
|
34974
34982
|
);
|
|
34975
34983
|
}
|
|
@@ -76054,7 +76062,13 @@ var AIUtilService = class {
|
|
|
76054
76062
|
response,
|
|
76055
76063
|
"messagemodelMapping"
|
|
76056
76064
|
);
|
|
76057
|
-
|
|
76065
|
+
let total = response.headers["x-total"];
|
|
76066
|
+
if (total) {
|
|
76067
|
+
total = Number(total);
|
|
76068
|
+
} else {
|
|
76069
|
+
total = result.length;
|
|
76070
|
+
}
|
|
76071
|
+
return { total, data: result.reverse() };
|
|
76058
76072
|
}
|
|
76059
76073
|
/**
|
|
76060
76074
|
* 删除消息(多个以逗号分割)
|
|
@@ -88879,12 +88893,16 @@ var AppHub = class {
|
|
|
88879
88893
|
return;
|
|
88880
88894
|
}
|
|
88881
88895
|
let pluginListLength = 0;
|
|
88882
|
-
const
|
|
88883
|
-
|
|
88884
|
-
|
|
88885
|
-
|
|
88886
|
-
|
|
88887
|
-
|
|
88896
|
+
const mainApp = this.getAppSourceModel(ibiz.env.appId);
|
|
88897
|
+
if (mainApp && mainApp.getAllPSSubAppRefs) {
|
|
88898
|
+
const targetSubApp = mainApp.getAllPSSubAppRefs.find(
|
|
88899
|
+
(subAppRef) => {
|
|
88900
|
+
return subAppRef.id === appId2;
|
|
88901
|
+
}
|
|
88902
|
+
);
|
|
88903
|
+
if (targetSubApp && targetSubApp.ext_count) {
|
|
88904
|
+
pluginListLength = Number(targetSubApp.ext_count);
|
|
88905
|
+
}
|
|
88888
88906
|
}
|
|
88889
88907
|
if (pluginListLength === 0)
|
|
88890
88908
|
return;
|
|
@@ -88936,6 +88954,7 @@ var AppHub = class {
|
|
|
88936
88954
|
throw new RuntimeError78(ibiz.i18n.t("runtime.utils.firstregister"));
|
|
88937
88955
|
}
|
|
88938
88956
|
if (id !== ibiz.env.appId) {
|
|
88957
|
+
await this.loadSubExtensionPlugin(id);
|
|
88939
88958
|
}
|
|
88940
88959
|
const appModel = await this.modelLoaderProvider.getApp(id);
|
|
88941
88960
|
const subAppRef = await this.modelLoaderProvider.getSubAppRef(id);
|
|
@@ -93950,8 +93969,10 @@ export {
|
|
|
93950
93969
|
FormItemState,
|
|
93951
93970
|
FormMDCtrlController,
|
|
93952
93971
|
FormMDCtrlFormController,
|
|
93972
|
+
FormMDCtrlFormState,
|
|
93953
93973
|
FormMDCtrlMDController,
|
|
93954
93974
|
FormMDCtrlRepeaterController,
|
|
93975
|
+
FormMDCtrlState,
|
|
93955
93976
|
FormNotifyState,
|
|
93956
93977
|
FormPageController,
|
|
93957
93978
|
FormPageState,
|