@ibiz-template/runtime 0.1.22 → 0.1.23
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 +46 -1
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/out/controller/common/editor/editor.controller.d.ts +8 -0
- package/out/controller/common/editor/editor.controller.d.ts.map +1 -1
- package/out/controller/common/editor/editor.controller.js +26 -0
- package/out/interface/controller/controller/control/i-panel.controller.d.ts +7 -0
- package/out/interface/controller/controller/control/i-panel.controller.d.ts.map +1 -1
- package/out/interface/controller/controller/control/panel-item/i-panel-data-container.controller.d.ts +7 -0
- package/out/interface/controller/controller/control/panel-item/i-panel-data-container.controller.d.ts.map +1 -1
- package/out/interface/controller/controller/editor/i-editor.controller.d.ts +8 -0
- package/out/interface/controller/controller/editor/i-editor.controller.d.ts.map +1 -1
- package/out/logic-scheduler/trigger/timer-trigger.d.ts +1 -2
- package/out/logic-scheduler/trigger/timer-trigger.d.ts.map +1 -1
- package/out/service/service/work-flow/work-flow.service.d.ts +11 -0
- package/out/service/service/work-flow/work-flow.service.d.ts.map +1 -1
- package/out/service/service/work-flow/work-flow.service.js +15 -0
- package/out/ui-action/provider/sys-ui-action-provider.js +1 -1
- package/package.json +8 -8
- package/src/controller/common/editor/editor.controller.ts +25 -0
- package/src/interface/controller/controller/control/i-panel.controller.ts +8 -0
- package/src/interface/controller/controller/control/panel-item/i-panel-data-container.controller.ts +8 -0
- package/src/interface/controller/controller/editor/i-editor.controller.ts +9 -0
- package/src/logic-scheduler/trigger/timer-trigger.ts +2 -2
- package/src/service/service/work-flow/work-flow.service.ts +28 -0
- package/src/ui-action/provider/sys-ui-action-provider.ts +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -11009,6 +11009,25 @@ var WorkFlowService = class {
|
|
|
11009
11009
|
}
|
|
11010
11010
|
);
|
|
11011
11011
|
}
|
|
11012
|
+
/**
|
|
11013
|
+
* 后加签
|
|
11014
|
+
*
|
|
11015
|
+
* @author lxm
|
|
11016
|
+
* @date 2022-09-30 17:09:51
|
|
11017
|
+
* @param {IParams} context 路径参数
|
|
11018
|
+
* @param {IParams} params 请求参数
|
|
11019
|
+
* @param {IData} data 数据
|
|
11020
|
+
* @returns {*} {Promise<IHttpResponse<IData>>}
|
|
11021
|
+
*/
|
|
11022
|
+
async wfAddStepAfter(context, params, data) {
|
|
11023
|
+
return ibiz.net.post(
|
|
11024
|
+
"".concat(this.getBaseUrl(), "/").concat(context[this.model.codeName.toLowerCase()], "/tasks/").concat(params.taskId, "/aftersign"),
|
|
11025
|
+
{
|
|
11026
|
+
...params,
|
|
11027
|
+
activedata: this.getActiveData(data, context)
|
|
11028
|
+
}
|
|
11029
|
+
);
|
|
11030
|
+
}
|
|
11012
11031
|
/**
|
|
11013
11032
|
* 回退
|
|
11014
11033
|
*
|
|
@@ -11068,6 +11087,8 @@ var WorkFlowService = class {
|
|
|
11068
11087
|
return this.wfReassign(context, params, data);
|
|
11069
11088
|
case "addstepbefore":
|
|
11070
11089
|
return this.wfAddStepBefore(context, params, data);
|
|
11090
|
+
case "addstepafter":
|
|
11091
|
+
return this.wfAddStepAfter(context, params, data);
|
|
11071
11092
|
case "sendback":
|
|
11072
11093
|
return this.wfSendBack(context, params, data);
|
|
11073
11094
|
case "sendcopy":
|
|
@@ -15694,6 +15715,14 @@ var EditorController = class {
|
|
|
15694
15715
|
* @param {T} model
|
|
15695
15716
|
*/
|
|
15696
15717
|
constructor(model, parent) {
|
|
15718
|
+
/**
|
|
15719
|
+
* 编辑器样式
|
|
15720
|
+
*
|
|
15721
|
+
* @author chitanda
|
|
15722
|
+
* @date 2023-09-12 16:09:40
|
|
15723
|
+
* @type {IData}
|
|
15724
|
+
*/
|
|
15725
|
+
this.style = {};
|
|
15697
15726
|
/**
|
|
15698
15727
|
* 占位
|
|
15699
15728
|
* @return {*}
|
|
@@ -15742,6 +15771,22 @@ var EditorController = class {
|
|
|
15742
15771
|
this.editorParams[key] = this.model.editorParams[key];
|
|
15743
15772
|
});
|
|
15744
15773
|
}
|
|
15774
|
+
if (this.model.editorWidth) {
|
|
15775
|
+
const width = this.model.editorWidth;
|
|
15776
|
+
if (width > 0 && width <= 1) {
|
|
15777
|
+
this.style.width = "".concat(width * 100, "%");
|
|
15778
|
+
} else {
|
|
15779
|
+
this.style.width = "".concat(width, "px");
|
|
15780
|
+
}
|
|
15781
|
+
}
|
|
15782
|
+
if (this.model.editorHeight) {
|
|
15783
|
+
const height = this.model.editorHeight;
|
|
15784
|
+
if (height > 0 && height <= 1) {
|
|
15785
|
+
this.style.height = "".concat(height * 100, "%");
|
|
15786
|
+
} else {
|
|
15787
|
+
this.style.height = "".concat(height, "px");
|
|
15788
|
+
}
|
|
15789
|
+
}
|
|
15745
15790
|
}
|
|
15746
15791
|
/**
|
|
15747
15792
|
* 公共参数处理,计算上下文和视图参数
|
|
@@ -19431,7 +19476,7 @@ var SysUIActionProvider = class extends UIActionProviderBase {
|
|
|
19431
19476
|
["GRIDVIEW_COPYACTION", "Copy"],
|
|
19432
19477
|
["GRIDVIEW_VIEWACTION", "View"],
|
|
19433
19478
|
["GRIDVIEW_SAVEROWACTION", "SaveRow"],
|
|
19434
|
-
["APP_LOGIN", "
|
|
19479
|
+
["APP_LOGIN", "Login"],
|
|
19435
19480
|
["APP_LOGOUT", "logout"]
|
|
19436
19481
|
]);
|
|
19437
19482
|
}
|