workflow-editor 0.0.74-up → 0.0.76-up
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/lib/{401-c2cf87a8.js → 401-8a6fc317.js} +1 -1
- package/lib/{404-75b6f2d2.js → 404-227d4658.js} +1 -1
- package/lib/{iframe-page-de8e8d51.js → iframe-page-9716046c.js} +1 -1
- package/lib/{index-d5cd8d44.js → index-1324bd27.js} +143 -96
- package/lib/{tab-content-iframe-index-a3b6756f.js → tab-content-iframe-index-a13a5c5b.js} +1 -1
- package/lib/{tab-content-index-ee644b53.js → tab-content-index-a12aa4f9.js} +1 -1
- package/lib/{tache-subprocess-history-df7b7f1c.js → tache-subprocess-history-11ad03fb.js} +1 -1
- package/lib/workflow-editor.js +1 -1
- package/lib/workflow-editor.umd.cjs +9 -9
- package/package.json +2 -2
- package/packages/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.js +131 -63
- package/packages/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue +18 -10
- package/packages/workflow-editor/src/properties-editors/human-task/selection-conditions.vue +23 -91
|
@@ -4800,7 +4800,7 @@ const en$1 = {
|
|
|
4800
4800
|
NoContent: "No content"
|
|
4801
4801
|
},
|
|
4802
4802
|
chatEmbed: {
|
|
4803
|
-
name: "
|
|
4803
|
+
name: "Assistant",
|
|
4804
4804
|
history: "History",
|
|
4805
4805
|
minimize: "Minimize",
|
|
4806
4806
|
fullscreen: "Full Screen",
|
|
@@ -5122,7 +5122,7 @@ const en$1 = {
|
|
|
5122
5122
|
NoContent: "暂无内容"
|
|
5123
5123
|
},
|
|
5124
5124
|
chatEmbed: {
|
|
5125
|
-
name: "
|
|
5125
|
+
name: "小助手",
|
|
5126
5126
|
history: "历史记录",
|
|
5127
5127
|
minimize: "缩小",
|
|
5128
5128
|
fullscreen: "全屏",
|
|
@@ -5717,9 +5717,13 @@ function removeAllSystemPermissions() {
|
|
|
5717
5717
|
r = rtrim(r), localStorage.removeItem(r);
|
|
5718
5718
|
}), removePermissionSystemKey();
|
|
5719
5719
|
}
|
|
5720
|
-
const
|
|
5721
|
-
|
|
5722
|
-
|
|
5720
|
+
const GLOBAL_PROP = {
|
|
5721
|
+
loadState: "GLOBAL_PROP_LOAD_STATE",
|
|
5722
|
+
CAN_SHOW_ORG_TREE: "global-show-org-tree",
|
|
5723
|
+
PORTAL_CHART_LAYOUT_COL: "portal-chart-layout-col"
|
|
5724
|
+
};
|
|
5725
|
+
function removeAllGlobalPropCache() {
|
|
5726
|
+
localStorage.removeItem(GLOBAL_PROP.loadState), localStorage.removeItem(GLOBAL_PROP.CAN_SHOW_ORG_TREE), localStorage.removeItem(GLOBAL_PROP.PORTAL_CHART_LAYOUT_COL);
|
|
5723
5727
|
}
|
|
5724
5728
|
const watermarkSetting = "AMB_WATERMARK_SETTING";
|
|
5725
5729
|
function removeWatermark() {
|
|
@@ -5814,10 +5818,7 @@ function getRunCurrentRole() {
|
|
|
5814
5818
|
return authApi.getSessionCache(e);
|
|
5815
5819
|
}
|
|
5816
5820
|
function clearPermission() {
|
|
5817
|
-
removeToken(), removeLanguage(), removeAllLanguages(), removeUsername(), removeCurrentUser(), removeAllSystemPermissions(), removePublishControl(), removeSystemCacheUrl(),
|
|
5818
|
-
}
|
|
5819
|
-
function clearVoiceCache() {
|
|
5820
|
-
removeVoiceCache();
|
|
5821
|
+
removeToken(), removeLanguage(), removeAllLanguages(), removeUsername(), removeCurrentUser(), removeAllSystemPermissions(), removePublishControl(), removeSystemCacheUrl(), removeAllGlobalPropCache(), removeWatermark(), removeVoiceCache();
|
|
5821
5822
|
}
|
|
5822
5823
|
function bind(e, t) {
|
|
5823
5824
|
return function() {
|
|
@@ -14705,64 +14706,120 @@ const EditableFields = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _s
|
|
|
14705
14706
|
},
|
|
14706
14707
|
// 实时根据类型改变连接符
|
|
14707
14708
|
getOperators(e) {
|
|
14708
|
-
return e ? e.type === "INTEGER" || e.type === "LONG" || e.type === "DOUBLE" || e.type === "FLOAT" ? [
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14717
|
-
|
|
14718
|
-
|
|
14719
|
-
|
|
14720
|
-
|
|
14721
|
-
|
|
14722
|
-
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
|
|
14743
|
-
|
|
14744
|
-
|
|
14745
|
-
|
|
14746
|
-
|
|
14747
|
-
|
|
14748
|
-
|
|
14749
|
-
|
|
14750
|
-
|
|
14751
|
-
|
|
14752
|
-
|
|
14753
|
-
|
|
14754
|
-
|
|
14755
|
-
|
|
14756
|
-
|
|
14757
|
-
|
|
14758
|
-
|
|
14759
|
-
|
|
14760
|
-
|
|
14761
|
-
|
|
14762
|
-
|
|
14763
|
-
|
|
14764
|
-
|
|
14765
|
-
|
|
14709
|
+
return e ? e.type === "INTEGER" || e.type === "LONG" || e.type === "DOUBLE" || e.type === "FLOAT" ? [
|
|
14710
|
+
{
|
|
14711
|
+
name: "operator.number.gt",
|
|
14712
|
+
label: getI18n().t("workflowEditor.process.greaterThan")
|
|
14713
|
+
},
|
|
14714
|
+
{
|
|
14715
|
+
name: "operator.number.lt",
|
|
14716
|
+
label: getI18n().t("workflowEditor.process.lessThan")
|
|
14717
|
+
},
|
|
14718
|
+
{
|
|
14719
|
+
name: "operator.number.eq",
|
|
14720
|
+
label: getI18n().t("workflowEditor.process.beEqualTo")
|
|
14721
|
+
},
|
|
14722
|
+
{
|
|
14723
|
+
name: "operator.number.le",
|
|
14724
|
+
label: getI18n().t("workflowEditor.process.notGreaterThan")
|
|
14725
|
+
},
|
|
14726
|
+
{
|
|
14727
|
+
name: "operator.number.ge",
|
|
14728
|
+
label: getI18n().t("workflowEditor.process.notLessThan")
|
|
14729
|
+
},
|
|
14730
|
+
{
|
|
14731
|
+
name: "operator.number.ne",
|
|
14732
|
+
label: getI18n().t("workflowEditor.process.notEqualTo")
|
|
14733
|
+
},
|
|
14734
|
+
{
|
|
14735
|
+
name: "operator.text.is.null",
|
|
14736
|
+
label: getI18n().t("workflowEditor.process.isNull")
|
|
14737
|
+
},
|
|
14738
|
+
{
|
|
14739
|
+
name: "operator.text.not.null",
|
|
14740
|
+
label: getI18n().t("workflowEditor.process.isNotNull")
|
|
14741
|
+
}
|
|
14742
|
+
] : e.type === "DATE" || e.type === "TIME" ? [
|
|
14743
|
+
{
|
|
14744
|
+
name: "operator.date.gt",
|
|
14745
|
+
label: getI18n().t("workflowEditor.process.laterThan")
|
|
14746
|
+
},
|
|
14747
|
+
{
|
|
14748
|
+
name: "operator.date.lt",
|
|
14749
|
+
label: getI18n().t("workflowEditor.process.earlierThan")
|
|
14750
|
+
},
|
|
14751
|
+
{
|
|
14752
|
+
name: "operator.date.eq",
|
|
14753
|
+
label: getI18n().t("workflowEditor.process.beEqualTo")
|
|
14754
|
+
},
|
|
14755
|
+
{
|
|
14756
|
+
name: "operator.date.le",
|
|
14757
|
+
label: getI18n().t("workflowEditor.process.noLaterThan")
|
|
14758
|
+
},
|
|
14759
|
+
{
|
|
14760
|
+
name: "operator.date.ge",
|
|
14761
|
+
label: getI18n().t("workflowEditor.process.noEarlierThan")
|
|
14762
|
+
},
|
|
14763
|
+
{
|
|
14764
|
+
name: "operator.text.is.null",
|
|
14765
|
+
label: getI18n().t("workflowEditor.process.isNull")
|
|
14766
|
+
},
|
|
14767
|
+
{
|
|
14768
|
+
name: "operator.text.not.null",
|
|
14769
|
+
label: getI18n().t("workflowEditor.process.isNotNull")
|
|
14770
|
+
}
|
|
14771
|
+
] : e.type === "TEXT" ? [
|
|
14772
|
+
{
|
|
14773
|
+
name: "operator.text.eq",
|
|
14774
|
+
label: getI18n().t("workflowEditor.process.beEqualTo")
|
|
14775
|
+
},
|
|
14776
|
+
{
|
|
14777
|
+
name: "operator.text.neq",
|
|
14778
|
+
label: getI18n().t("workflowEditor.process.notEqualTo")
|
|
14779
|
+
},
|
|
14780
|
+
{
|
|
14781
|
+
name: "operator.text.contain",
|
|
14782
|
+
label: getI18n().t("workflowEditor.process.contain")
|
|
14783
|
+
},
|
|
14784
|
+
{
|
|
14785
|
+
name: "operator.text.contain.not",
|
|
14786
|
+
label: getI18n().t("workflowEditor.process.notIncluded")
|
|
14787
|
+
},
|
|
14788
|
+
{
|
|
14789
|
+
name: "operator.text.is.null",
|
|
14790
|
+
label: getI18n().t("workflowEditor.process.isNull")
|
|
14791
|
+
},
|
|
14792
|
+
{
|
|
14793
|
+
name: "operator.text.not.null",
|
|
14794
|
+
label: getI18n().t("workflowEditor.process.isNotNull")
|
|
14795
|
+
}
|
|
14796
|
+
] : [
|
|
14797
|
+
{
|
|
14798
|
+
name: "operator.text.eq",
|
|
14799
|
+
label: getI18n().t("workflowEditor.process.beEqualTo")
|
|
14800
|
+
},
|
|
14801
|
+
{
|
|
14802
|
+
name: "operator.text.neq",
|
|
14803
|
+
label: getI18n().t("workflowEditor.process.notEqualTo")
|
|
14804
|
+
},
|
|
14805
|
+
{
|
|
14806
|
+
name: "operator.text.is.null",
|
|
14807
|
+
label: getI18n().t("workflowEditor.process.isNull")
|
|
14808
|
+
},
|
|
14809
|
+
{
|
|
14810
|
+
name: "operator.text.not.null",
|
|
14811
|
+
label: getI18n().t("workflowEditor.process.isNotNull")
|
|
14812
|
+
}
|
|
14813
|
+
] : [
|
|
14814
|
+
{
|
|
14815
|
+
name: "operator.text.eq",
|
|
14816
|
+
label: getI18n().t("workflowEditor.process.beEqualTo")
|
|
14817
|
+
},
|
|
14818
|
+
{
|
|
14819
|
+
name: "operator.text.neq",
|
|
14820
|
+
label: getI18n().t("workflowEditor.process.notEqualTo")
|
|
14821
|
+
}
|
|
14822
|
+
];
|
|
14766
14823
|
}
|
|
14767
14824
|
}, userStandardFieldsForReminder = {
|
|
14768
14825
|
"${instanceCreatorName}": getI18n().t("workflowEditor.process.processInitiator"),
|
|
@@ -15251,9 +15308,9 @@ const CommonUserCondition = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render
|
|
|
15251
15308
|
type: Object,
|
|
15252
15309
|
default: null
|
|
15253
15310
|
},
|
|
15254
|
-
|
|
15255
|
-
type:
|
|
15256
|
-
default:
|
|
15311
|
+
buttonType: {
|
|
15312
|
+
type: Object,
|
|
15313
|
+
default: null
|
|
15257
15314
|
}
|
|
15258
15315
|
},
|
|
15259
15316
|
data() {
|
|
@@ -15420,7 +15477,7 @@ function _sfc_render$R(e, t, o, r, n, i) {
|
|
|
15420
15477
|
]),
|
|
15421
15478
|
_: 1
|
|
15422
15479
|
}),
|
|
15423
|
-
o.
|
|
15480
|
+
o.buttonType !== "notEmpty" && o.buttonType !== "add" ? (openBlock(), createBlock(a, {
|
|
15424
15481
|
key: 0,
|
|
15425
15482
|
class: "box-card",
|
|
15426
15483
|
shadow: "never"
|
|
@@ -16147,9 +16204,9 @@ function _sfc_render$Q(e, t, o, r, n, i) {
|
|
|
16147
16204
|
"condition-list": n.buttonVisibleCon.condition,
|
|
16148
16205
|
"parent-condition": n.buttonVisibleCon.parentCondition,
|
|
16149
16206
|
"user-condition": n.buttonVisibleCon.userCondition,
|
|
16150
|
-
"
|
|
16207
|
+
"button-type": n.buttonType,
|
|
16151
16208
|
onClose: i.saveButtonVisible
|
|
16152
|
-
}, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "
|
|
16209
|
+
}, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "button-type", "onClose"])) : createCommentVNode("", !0)
|
|
16153
16210
|
]),
|
|
16154
16211
|
createElementVNode("div", null, [
|
|
16155
16212
|
createVNode(c, null, {
|
|
@@ -27408,7 +27465,7 @@ const ssoService = {
|
|
|
27408
27465
|
},
|
|
27409
27466
|
// 登录
|
|
27410
27467
|
loginWithValidateCode({ commit: e }, t) {
|
|
27411
|
-
|
|
27468
|
+
console.log("loginWithValidateCode----userInfo=", t);
|
|
27412
27469
|
const o = t.username.trim();
|
|
27413
27470
|
return new Promise((r, n) => {
|
|
27414
27471
|
ssoService.loginWithValidateCode(
|
|
@@ -27432,7 +27489,7 @@ const ssoService = {
|
|
|
27432
27489
|
},
|
|
27433
27490
|
// 登录。根据token登录系统
|
|
27434
27491
|
loginWithCookieToken({ commit: e }, t) {
|
|
27435
|
-
return
|
|
27492
|
+
return new Promise((o, r) => {
|
|
27436
27493
|
t || ssoService.getCurrentUser().then((n) => {
|
|
27437
27494
|
n && (t = n.loginName, setUsername(n.loginName), setCurrentUser(n), e("setName", n.name)), o(n);
|
|
27438
27495
|
}).catch((n) => {
|
|
@@ -27479,12 +27536,7 @@ const ssoService = {
|
|
|
27479
27536
|
let s = getPermissions(i);
|
|
27480
27537
|
if (console.log("getCurrentUserPermissions-----systemCode=", i), typeof s > "u" || s === "" || s === null)
|
|
27481
27538
|
ssoService.getCurrentUserPermissionsBySystem(n, i).then((l) => {
|
|
27482
|
-
console.log(
|
|
27483
|
-
"getCurrentUserPermissions-----systemCode=",
|
|
27484
|
-
i,
|
|
27485
|
-
"permissions[0]=",
|
|
27486
|
-
l && l.length > 0 ? l[0] : null
|
|
27487
|
-
);
|
|
27539
|
+
console.log("getCurrentUserPermissions-----systemCode=", i, "permissions[0]=", l && l.length > 0 ? l[0] : null);
|
|
27488
27540
|
let a = ["index"];
|
|
27489
27541
|
a = a.concat(l), s = setPermissions(a, i), o(s);
|
|
27490
27542
|
}).catch((l) => {
|
|
@@ -27492,20 +27544,15 @@ const ssoService = {
|
|
|
27492
27544
|
});
|
|
27493
27545
|
else {
|
|
27494
27546
|
let l = Object.keys(s);
|
|
27495
|
-
console.log(
|
|
27496
|
-
"getCurrentUserPermissions-----systemCode=",
|
|
27497
|
-
i,
|
|
27498
|
-
"storePermissions[1]=",
|
|
27499
|
-
l && l.length > 1 ? l[1] : null
|
|
27500
|
-
), o(s);
|
|
27547
|
+
console.log("getCurrentUserPermissions-----systemCode=", i, "storePermissions[1]=", l && l.length > 1 ? l[1] : null), o(s);
|
|
27501
27548
|
}
|
|
27502
27549
|
});
|
|
27503
27550
|
},
|
|
27504
27551
|
/**
|
|
27505
27552
|
* 获得开发平台指定角色的权限集合
|
|
27506
|
-
* @param {*} param0
|
|
27553
|
+
* @param {*} param0
|
|
27507
27554
|
* @param {*} roleCodes 岗位编码
|
|
27508
|
-
* @returns
|
|
27555
|
+
* @returns
|
|
27509
27556
|
*/
|
|
27510
27557
|
getDevPlatformPermissions({ commit: e }, t) {
|
|
27511
27558
|
return new Promise((o, r) => {
|
|
@@ -30125,7 +30172,7 @@ const Layout = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_rende
|
|
|
30125
30172
|
children: [
|
|
30126
30173
|
{
|
|
30127
30174
|
path: "page",
|
|
30128
|
-
component: () => import("./iframe-page-
|
|
30175
|
+
component: () => import("./iframe-page-9716046c.js"),
|
|
30129
30176
|
hidden: !0
|
|
30130
30177
|
}
|
|
30131
30178
|
]
|
|
@@ -30142,27 +30189,27 @@ const Layout = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_rende
|
|
|
30142
30189
|
},
|
|
30143
30190
|
{
|
|
30144
30191
|
path: "/404",
|
|
30145
|
-
component: () => import("./404-
|
|
30192
|
+
component: () => import("./404-227d4658.js"),
|
|
30146
30193
|
hidden: !0
|
|
30147
30194
|
},
|
|
30148
30195
|
{
|
|
30149
30196
|
path: "/401",
|
|
30150
|
-
component: () => import("./401-
|
|
30197
|
+
component: () => import("./401-8a6fc317.js"),
|
|
30151
30198
|
hidden: !0
|
|
30152
30199
|
},
|
|
30153
30200
|
{
|
|
30154
30201
|
path: "/show-sub-wf-history",
|
|
30155
|
-
component: () => import("./tache-subprocess-history-
|
|
30202
|
+
component: () => import("./tache-subprocess-history-11ad03fb.js"),
|
|
30156
30203
|
hidden: !0
|
|
30157
30204
|
},
|
|
30158
30205
|
{
|
|
30159
30206
|
path: "/tab-content-index",
|
|
30160
|
-
component: () => import("./tab-content-index-
|
|
30207
|
+
component: () => import("./tab-content-index-a12aa4f9.js"),
|
|
30161
30208
|
hidden: !0
|
|
30162
30209
|
},
|
|
30163
30210
|
{
|
|
30164
30211
|
path: "/tab-content-iframe-index",
|
|
30165
|
-
component: () => import("./tab-content-iframe-index-
|
|
30212
|
+
component: () => import("./tab-content-iframe-index-a13a5c5b.js"),
|
|
30166
30213
|
hidden: !0
|
|
30167
30214
|
}
|
|
30168
30215
|
], protectedRouterMap = [];
|
|
@@ -30228,7 +30275,7 @@ function setActiveMenuToChatAiStore(e) {
|
|
|
30228
30275
|
try {
|
|
30229
30276
|
window.top.ChatAiStore && window.top.ChatAiStore.setActiveMenu(e);
|
|
30230
30277
|
} catch (t) {
|
|
30231
|
-
console.error("ChatAiStore not found", t
|
|
30278
|
+
console.error("ChatAiStore not found", t);
|
|
30232
30279
|
}
|
|
30233
30280
|
}
|
|
30234
30281
|
const tabContent = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as O, g as Q, b as V, s as x, m as z, M as W, i as q } from "./index-
|
|
1
|
+
import { _ as O, g as Q, b as V, s as x, m as z, M as W, i as q } from "./index-1324bd27.js";
|
|
2
2
|
import { resolveComponent as b, openBlock as m, createBlock as T, withCtx as E, createVNode as P, TransitionGroup as U, createElementBlock as C, Fragment as N, renderList as R, createElementVNode as v, toDisplayString as $, normalizeClass as G, createCommentVNode as L } from "vue";
|
|
3
3
|
function j(e) {
|
|
4
4
|
for (var t = [], n = 0; n < e.length; ) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as t, openBlock as l, createElementBlock as d, createElementVNode as m, createVNode as r, withCtx as s, createTextVNode as _, toDisplayString as p, createCommentVNode as c, createBlock as y } from "vue";
|
|
2
|
-
import { _ as k } from "./index-
|
|
2
|
+
import { _ as k } from "./index-1324bd27.js";
|
|
3
3
|
const h = {
|
|
4
4
|
name: "TacheSubprocessHistory",
|
|
5
5
|
data() {
|
package/lib/workflow-editor.js
CHANGED