@szjy/workflow 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -119681,7 +119681,7 @@ const bvt = /* @__PURE__ */ We({
119681
119681
  }, {
119682
119682
  title: "字段名",
119683
119683
  key: "fieldName",
119684
- render(u, d) {
119684
+ render(u) {
119685
119685
  return `${u.fieldName || ""}(${u.fieldId})`;
119686
119686
  },
119687
119687
  ellipsis: {
@@ -119691,13 +119691,16 @@ const bvt = /* @__PURE__ */ We({
119691
119691
  title: "权限配置",
119692
119692
  key: "permission",
119693
119693
  align: "center",
119694
- render: (u, d) => [he(uP, {
119695
- options: xvt,
119696
- value: u.permission,
119697
- "on-update:value": (f) => {
119698
- c(s, d, f);
119699
- }
119700
- }, null)]
119694
+ render: (u) => {
119695
+ const d = t.value[s].findIndex((f) => f.fieldId === u.fieldId);
119696
+ return [he(uP, {
119697
+ options: xvt,
119698
+ value: u.permission,
119699
+ "on-update:value": (f) => {
119700
+ c(s, d, f);
119701
+ }
119702
+ }, null)];
119703
+ }
119701
119704
  }];
119702
119705
  };
119703
119706
  return _a(o), (s, l) => {
@@ -119746,7 +119749,7 @@ const bvt = /* @__PURE__ */ We({
119746
119749
  });
119747
119750
  };
119748
119751
  }
119749
- }), Svt = /* @__PURE__ */ Ms(_vt, [["__scopeId", "data-v-0f6bc230"]]);
119752
+ }), Svt = /* @__PURE__ */ Ms(_vt, [["__scopeId", "data-v-ed744554"]]);
119750
119753
  var Evt = "Expected a function", zK = NaN, kvt = "[object Symbol]", $vt = /^\s+|\s+$/g, Tvt = /^[-+]0x[0-9a-f]+$/i, Pvt = /^0b[01]+$/i, Ovt = /^0o[0-7]+$/i, Rvt = parseInt, jvt = typeof gm == "object" && gm && gm.Object === Object && gm, Mvt = typeof self == "object" && self && self.Object === Object && self, Avt = jvt || Mvt || Function("return this")(), Ivt = Object.prototype, Dvt = Ivt.toString, Nvt = Math.max, Lvt = Math.min, OS = function() {
119751
119754
  return Avt.Date.now();
119752
119755
  };
@@ -128136,7 +128139,7 @@ const rY = {
128136
128139
  __proto__: null,
128137
128140
  SZHello: Epe,
128138
128141
  SZWorkflow: tyt
128139
- }, Symbol.toStringTag, { value: "Module" })), nyt = "0.1.11", $0e = "Sz", ryt = GN({
128142
+ }, Symbol.toStringTag, { value: "Module" })), nyt = "0.1.12", $0e = "Sz", ryt = GN({
128140
128143
  components: [
128141
128144
  GN,
128142
128145
  I8e,