lyflowchart 1.0.38 → 1.0.40
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.js +31 -30
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34772,7 +34772,7 @@ const JB = /* @__PURE__ */ li(XB, [["render", ZB]]), QB = ni({
|
|
|
34772
34772
|
pageSize: 5,
|
|
34773
34773
|
userName: void 0,
|
|
34774
34774
|
deptId: void 0
|
|
34775
|
-
}, B.value = [],
|
|
34775
|
+
}, B.value = [], H();
|
|
34776
34776
|
}, Q = (G, ce) => {
|
|
34777
34777
|
w.value.pageNum = G, w.value.pageSize = ce, fe();
|
|
34778
34778
|
}, le = (G) => {
|
|
@@ -34967,7 +34967,7 @@ function i3(e, t, n, r, o, s) {
|
|
|
34967
34967
|
])
|
|
34968
34968
|
]);
|
|
34969
34969
|
}
|
|
34970
|
-
const o3 = /* @__PURE__ */ li(QB, [["render", i3], ["__scopeId", "data-v-
|
|
34970
|
+
const o3 = /* @__PURE__ */ li(QB, [["render", i3], ["__scopeId", "data-v-aa07dab6"]]), a3 = ni({
|
|
34971
34971
|
name: "FlowRole",
|
|
34972
34972
|
props: {
|
|
34973
34973
|
selectValues: {
|
|
@@ -35041,6 +35041,7 @@ const o3 = /* @__PURE__ */ li(QB, [["render", i3], ["__scopeId", "data-v-a9d5877
|
|
|
35041
35041
|
selectedRowKeys: v,
|
|
35042
35042
|
radioSelected: m,
|
|
35043
35043
|
pagination: y,
|
|
35044
|
+
roleRowLabel: c,
|
|
35044
35045
|
handleQuery: B,
|
|
35045
35046
|
resetQuery: D,
|
|
35046
35047
|
handleMultipleRoleSelect: w,
|
|
@@ -35130,10 +35131,10 @@ function l3(e, t, n, r, o, s) {
|
|
|
35130
35131
|
default: se(() => [
|
|
35131
35132
|
ae(y, {
|
|
35132
35133
|
title: "角色名称",
|
|
35133
|
-
"data-index":
|
|
35134
|
+
"data-index": e.roleRowLabel,
|
|
35134
35135
|
ellipsis: !0,
|
|
35135
35136
|
width: "150"
|
|
35136
|
-
}),
|
|
35137
|
+
}, null, 8, ["data-index"]),
|
|
35137
35138
|
ae(y, {
|
|
35138
35139
|
title: "描述",
|
|
35139
35140
|
"data-index": "desc",
|
|
@@ -35174,7 +35175,7 @@ function l3(e, t, n, r, o, s) {
|
|
|
35174
35175
|
}, 8, ["loading", "data-source", "row-key", "row-selection", "pagination", "onChange"])) : gn("", !0)
|
|
35175
35176
|
]);
|
|
35176
35177
|
}
|
|
35177
|
-
const u3 = /* @__PURE__ */ li(a3, [["render", l3], ["__scopeId", "data-v-
|
|
35178
|
+
const u3 = /* @__PURE__ */ li(a3, [["render", l3], ["__scopeId", "data-v-e8e9710e"]]), c3 = {
|
|
35178
35179
|
string: "字符串",
|
|
35179
35180
|
fixed: "系统指定",
|
|
35180
35181
|
dynamic: "动态选择"
|
|
@@ -38937,13 +38938,13 @@ $i.prototype.css = function(e, t) {
|
|
|
38937
38938
|
function Q3(e, t) {
|
|
38938
38939
|
return t - (e.replace(/\(/g, "").length - e.replace(/\)/g, "").length);
|
|
38939
38940
|
}
|
|
38940
|
-
function
|
|
38941
|
+
function eF(e, t) {
|
|
38941
38942
|
return e.replace(/\s{1,}/g, " ").replace(/ AND /ig, "~::~" + t + t + "AND ").replace(/ BETWEEN /ig, "~::~" + t + "BETWEEN ").replace(/ CASE /ig, "~::~" + t + "CASE ").replace(/ ELSE /ig, "~::~" + t + "ELSE ").replace(/ END /ig, "~::~" + t + "END ").replace(/ FROM /ig, "~::~FROM ").replace(/ GROUP\s{1,}BY/ig, "~::~GROUP BY ").replace(/ HAVING /ig, "~::~HAVING ").replace(/ IN /ig, " IN ").replace(/ JOIN /ig, "~::~JOIN ").replace(/ CROSS~::~{1,}JOIN /ig, "~::~CROSS JOIN ").replace(/ INNER~::~{1,}JOIN /ig, "~::~INNER JOIN ").replace(/ LEFT~::~{1,}JOIN /ig, "~::~LEFT JOIN ").replace(/ RIGHT~::~{1,}JOIN /ig, "~::~RIGHT JOIN ").replace(/ ON /ig, "~::~" + t + "ON ").replace(/ OR /ig, "~::~" + t + t + "OR ").replace(/ ORDER\s{1,}BY/ig, "~::~ORDER BY ").replace(/ OVER /ig, "~::~" + t + "OVER ").replace(/\(\s{0,}SELECT /ig, "~::~(SELECT ").replace(/\)\s{0,}SELECT /ig, ")~::~SELECT ").replace(/ THEN /ig, " THEN~::~" + t).replace(/ UNION /ig, "~::~UNION~::~").replace(/ USING /ig, "~::~USING ").replace(/ WHEN /ig, "~::~" + t + "WHEN ").replace(/ WHERE /ig, "~::~WHERE ").replace(/ WITH /ig, "~::~WITH ").replace(/ ALL /ig, " ALL ").replace(/ AS /ig, " AS ").replace(/ ASC /ig, " ASC ").replace(/ DESC /ig, " DESC ").replace(/ DISTINCT /ig, " DISTINCT ").replace(/ EXISTS /ig, " EXISTS ").replace(/ NOT /ig, " NOT ").replace(/ NULL /ig, " NULL ").replace(/ LIKE /ig, " LIKE ").replace(/\s{0,}SELECT /ig, "SELECT ").replace(/\s{0,}UPDATE /ig, "UPDATE ").replace(/ SET /ig, " SET ").replace(/~::~{1,}/g, "~::~").split("~::~");
|
|
38942
38943
|
}
|
|
38943
38944
|
$i.prototype.sql = function(e, t) {
|
|
38944
38945
|
var n = e.replace(/\s{1,}/g, " ").replace(/\'/ig, "~::~'").split("~::~"), r = n.length, o = [], s = 0, l = this.step, u = 0, c = "", d = 0, v = t ? _f(t) : this.shift;
|
|
38945
38946
|
for (d = 0; d < r; d++)
|
|
38946
|
-
d % 2 ? o = o.concat(n[d]) : o = o.concat(
|
|
38947
|
+
d % 2 ? o = o.concat(n[d]) : o = o.concat(eF(n[d], l));
|
|
38947
38948
|
for (r = o.length, d = 0; d < r; d++)
|
|
38948
38949
|
u = Q3(o[d], u), /\s{0,}\s{0,}SELECT\s{0,}/.exec(o[d]) && (o[d] = o[d].replace(/\,/g, `,
|
|
38949
38950
|
` + l + l)), /\s{0,}\s{0,}SET\s{0,}/.exec(o[d]) && (o[d] = o[d].replace(/\,/g, `,
|
|
@@ -38965,10 +38966,10 @@ $i.prototype.cssmin = function(e, t) {
|
|
|
38965
38966
|
$i.prototype.sqlmin = function(e) {
|
|
38966
38967
|
return e.replace(/\s{1,}/g, " ").replace(/\s{1,}\(/, "(").replace(/\s{1,}\)/, ")");
|
|
38967
38968
|
};
|
|
38968
|
-
var
|
|
38969
|
-
const
|
|
38970
|
-
var
|
|
38971
|
-
const
|
|
38969
|
+
var tF = new $i();
|
|
38970
|
+
const nF = /* @__PURE__ */ fs(tF);
|
|
38971
|
+
var rF = DE();
|
|
38972
|
+
const iF = /* @__PURE__ */ fs(rF), oF = ni({
|
|
38972
38973
|
name: "MyProcess",
|
|
38973
38974
|
props: {
|
|
38974
38975
|
value: {
|
|
@@ -39062,7 +39063,7 @@ const i5 = /* @__PURE__ */ fs(r5), o5 = ni({
|
|
|
39062
39063
|
});
|
|
39063
39064
|
}, _ = (k) => {
|
|
39064
39065
|
try {
|
|
39065
|
-
l.value =
|
|
39066
|
+
l.value = nF.xml(k);
|
|
39066
39067
|
} catch (P) {
|
|
39067
39068
|
l.value = k, console.error("XML 格式化失败:", P);
|
|
39068
39069
|
}
|
|
@@ -39072,7 +39073,7 @@ const i5 = /* @__PURE__ */ fs(r5), o5 = ni({
|
|
|
39072
39073
|
console.warn("Textarea not found for CodeMirror");
|
|
39073
39074
|
return;
|
|
39074
39075
|
}
|
|
39075
|
-
m.value.value = l.value, y =
|
|
39076
|
+
m.value.value = l.value, y = iF.fromTextArea(m.value, {
|
|
39076
39077
|
mode: "xml",
|
|
39077
39078
|
lineNumbers: !0,
|
|
39078
39079
|
readOnly: !0,
|
|
@@ -39111,10 +39112,10 @@ const i5 = /* @__PURE__ */ fs(r5), o5 = ni({
|
|
|
39111
39112
|
};
|
|
39112
39113
|
}
|
|
39113
39114
|
});
|
|
39114
|
-
const
|
|
39115
|
-
function
|
|
39115
|
+
const aF = { class: "my-process-main" }, sF = { class: "xml-editor" }, lF = { ref: "el" };
|
|
39116
|
+
function uF(e, t, n, r, o, s) {
|
|
39116
39117
|
const l = we("bpmn-modeler"), u = we("a-drawer");
|
|
39117
|
-
return Ke(), cn("div",
|
|
39118
|
+
return Ke(), cn("div", aF, [
|
|
39118
39119
|
ae(l, {
|
|
39119
39120
|
ref: "refNode",
|
|
39120
39121
|
xml: e.xml,
|
|
@@ -39148,15 +39149,15 @@ function u5(e, t, n, r, o, s) {
|
|
|
39148
39149
|
width: "700"
|
|
39149
39150
|
}, {
|
|
39150
39151
|
default: se(() => [
|
|
39151
|
-
xt("div",
|
|
39152
|
-
xt("textarea",
|
|
39152
|
+
xt("div", sF, [
|
|
39153
|
+
xt("textarea", lF, null, 512)
|
|
39153
39154
|
])
|
|
39154
39155
|
]),
|
|
39155
39156
|
_: 1
|
|
39156
39157
|
}, 8, ["open", "title", "onAfterOpenChange"])
|
|
39157
39158
|
]);
|
|
39158
39159
|
}
|
|
39159
|
-
const
|
|
39160
|
+
const bF = /* @__PURE__ */ li(oF, [["render", uF], ["__scopeId", "data-v-d6dc37c6"]]);
|
|
39160
39161
|
var Mh = { exports: {} };
|
|
39161
39162
|
typeof Object.create == "function" ? Mh.exports = function(t, n) {
|
|
39162
39163
|
n && (t.super_ = n, t.prototype = Object.create(n.prototype, {
|
|
@@ -39175,14 +39176,14 @@ typeof Object.create == "function" ? Mh.exports = function(t, n) {
|
|
|
39175
39176
|
r.prototype = n.prototype, t.prototype = new r(), t.prototype.constructor = t;
|
|
39176
39177
|
}
|
|
39177
39178
|
};
|
|
39178
|
-
var
|
|
39179
|
-
const
|
|
39179
|
+
var cF = Mh.exports;
|
|
39180
|
+
const pF = /* @__PURE__ */ fs(cF);
|
|
39180
39181
|
function Nm(e) {
|
|
39181
39182
|
$r.call(this, e);
|
|
39182
39183
|
}
|
|
39183
|
-
|
|
39184
|
+
pF(Nm, $r);
|
|
39184
39185
|
Nm.prototype._modules = [].concat($r.prototype._modules, [cv, lv]);
|
|
39185
|
-
const
|
|
39186
|
+
const fF = ni({
|
|
39186
39187
|
name: "BpmnViewer",
|
|
39187
39188
|
props: {
|
|
39188
39189
|
flowData: {
|
|
@@ -39258,13 +39259,13 @@ const f5 = ni({
|
|
|
39258
39259
|
};
|
|
39259
39260
|
}
|
|
39260
39261
|
});
|
|
39261
|
-
const
|
|
39262
|
+
const dF = { class: "containers" }, hF = {
|
|
39262
39263
|
ref: "flowCanvasRef",
|
|
39263
39264
|
class: "canvas"
|
|
39264
39265
|
};
|
|
39265
|
-
function
|
|
39266
|
+
function vF(e, t, n, r, o, s) {
|
|
39266
39267
|
const l = we("a-spin"), u = we("DragOutlined"), c = we("a-button"), d = we("a-tooltip"), v = we("ZoomInOutlined"), m = we("ZoomOutOutlined"), y = we("a-space"), b = we("a-layout-content"), _ = we("a-layout");
|
|
39267
|
-
return Ke(), cn("div",
|
|
39268
|
+
return Ke(), cn("div", dF, [
|
|
39268
39269
|
ae(_, { style: { "align-items": "stretch", height: "100%" } }, {
|
|
39269
39270
|
default: se(() => [
|
|
39270
39271
|
ae(b, { class: "flow-viewer" }, {
|
|
@@ -39280,7 +39281,7 @@ function v5(e, t, n, r, o, s) {
|
|
|
39280
39281
|
wrapperClassName: "canvas-wrapper"
|
|
39281
39282
|
}, {
|
|
39282
39283
|
default: se(() => [
|
|
39283
|
-
xt("div",
|
|
39284
|
+
xt("div", hF, null, 512)
|
|
39284
39285
|
]),
|
|
39285
39286
|
_: 1
|
|
39286
39287
|
}, 8, ["spinning"]),
|
|
@@ -39342,8 +39343,8 @@ function v5(e, t, n, r, o, s) {
|
|
|
39342
39343
|
})
|
|
39343
39344
|
]);
|
|
39344
39345
|
}
|
|
39345
|
-
const
|
|
39346
|
+
const EF = /* @__PURE__ */ li(fF, [["render", vF]]);
|
|
39346
39347
|
export {
|
|
39347
|
-
|
|
39348
|
-
|
|
39348
|
+
bF as MyProcess,
|
|
39349
|
+
EF as MyProcessViewer
|
|
39349
39350
|
};
|