@szjy/workflow 0.1.7 → 0.1.8
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/README.md +7 -0
- package/dist/index.mjs +14 -14
- package/dist/index.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @szjy/workflow
|
|
2
2
|
|
|
3
|
+
[](https://github.com/szjy-work/workflow/actions/workflows/release.yml)
|
|
4
|
+
|
|
3
5
|
基于 vite + vue3 + typescript 的组件
|
|
4
6
|
|
|
5
7
|
|
|
@@ -10,6 +12,11 @@
|
|
|
10
12
|
npm i @szjy/workflow
|
|
11
13
|
```
|
|
12
14
|
|
|
15
|
+
本地开发:
|
|
16
|
+
```shell
|
|
17
|
+
npm run dev
|
|
18
|
+
```
|
|
19
|
+
|
|
13
20
|
然后在项目中引入:
|
|
14
21
|
|
|
15
22
|
```typescript
|
package/dist/index.mjs
CHANGED
|
@@ -73788,14 +73788,14 @@ function tze(e, t, n, r, i, o) {
|
|
|
73788
73788
|
rr("span", eze, wr(e.title), 1)
|
|
73789
73789
|
]);
|
|
73790
73790
|
}
|
|
73791
|
-
const sa = /* @__PURE__ */ ds(JBe, [["render", tze], ["__scopeId", "data-v-
|
|
73791
|
+
const sa = /* @__PURE__ */ ds(JBe, [["render", tze], ["__scopeId", "data-v-98e2b0c6"]]), nze = /* @__PURE__ */ qe({
|
|
73792
73792
|
__name: "HasEdit",
|
|
73793
73793
|
setup(e) {
|
|
73794
73794
|
return (t, n) => (Mt(), Ut(ot(WLe), {
|
|
73795
73795
|
class: "edit-icon"
|
|
73796
73796
|
}));
|
|
73797
73797
|
}
|
|
73798
|
-
}), hs = /* @__PURE__ */ ds(nze, [["__scopeId", "data-v-
|
|
73798
|
+
}), hs = /* @__PURE__ */ ds(nze, [["__scopeId", "data-v-3c62969a"]]), JR = {
|
|
73799
73799
|
TOOLBAR_PREFIX: "TOOLBAR_PREFIX",
|
|
73800
73800
|
USER_CHOOSER_SUFFIX: "USER_CHOOSER_SUFFIX"
|
|
73801
73801
|
}, rze = Object.values(JR), KE = {}, Hre = (e) => `SLOT_${e}`, ize = () => {
|
|
@@ -73951,7 +73951,7 @@ const sa = /* @__PURE__ */ ds(JBe, [["render", tze], ["__scopeId", "data-v-753d5
|
|
|
73951
73951
|
})], 64);
|
|
73952
73952
|
};
|
|
73953
73953
|
}
|
|
73954
|
-
}), cze = /* @__PURE__ */ ds(lze, [["__scopeId", "data-v-
|
|
73954
|
+
}), cze = /* @__PURE__ */ ds(lze, [["__scopeId", "data-v-82f0f919"]]);
|
|
73955
73955
|
function uze(e) {
|
|
73956
73956
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
73957
73957
|
var r = e.get(t);
|
|
@@ -74997,7 +74997,7 @@ const tj = (e) => ({ content: (e == null ? void 0 : e.type) === Eu ? Jre(b8(b8(e
|
|
|
74997
74997
|
})], 64);
|
|
74998
74998
|
};
|
|
74999
74999
|
}
|
|
75000
|
-
}), mFe = /* @__PURE__ */ ds(hFe, [["__scopeId", "data-v-
|
|
75000
|
+
}), mFe = /* @__PURE__ */ ds(hFe, [["__scopeId", "data-v-9f4d9f86"]]), eie = /* @__PURE__ */ qe({
|
|
75001
75001
|
__name: "CounterSignProperty",
|
|
75002
75002
|
props: {
|
|
75003
75003
|
label: {
|
|
@@ -117049,7 +117049,7 @@ const P1t = T1t(Sue), O1t = {
|
|
|
117049
117049
|
})], 64);
|
|
117050
117050
|
};
|
|
117051
117051
|
}
|
|
117052
|
-
}), vd = /* @__PURE__ */ ds(A1t, [["__scopeId", "data-v-
|
|
117052
|
+
}), vd = /* @__PURE__ */ ds(A1t, [["__scopeId", "data-v-58bc4efb"]]), D1t = { class: "element-conditional" }, I1t = /* @__PURE__ */ qe({
|
|
117053
117053
|
__name: "ElementConditional",
|
|
117054
117054
|
setup(e) {
|
|
117055
117055
|
const t = ae(!1), n = ae(!1), r = ae(void 0), i = ae(void 0), o = un(nn), a = () => {
|
|
@@ -117715,7 +117715,7 @@ const omt = /* @__PURE__ */ qe({
|
|
|
117715
117715
|
});
|
|
117716
117716
|
};
|
|
117717
117717
|
}
|
|
117718
|
-
}), lmt = /* @__PURE__ */ ds(smt, [["__scopeId", "data-v-
|
|
117718
|
+
}), lmt = /* @__PURE__ */ ds(smt, [["__scopeId", "data-v-450e7dc7"]]), cmt = {
|
|
117719
117719
|
class: "element-field-list"
|
|
117720
117720
|
};
|
|
117721
117721
|
function SK(e) {
|
|
@@ -117913,7 +117913,7 @@ const umt = /* @__PURE__ */ qe({
|
|
|
117913
117913
|
}, 8, ["show", "title"])], 64);
|
|
117914
117914
|
};
|
|
117915
117915
|
}
|
|
117916
|
-
}), dmt = /* @__PURE__ */ ds(umt, [["__scopeId", "data-v-
|
|
117916
|
+
}), dmt = /* @__PURE__ */ ds(umt, [["__scopeId", "data-v-9e2fdc07"]]), fmt = {
|
|
117917
117917
|
class: "element-listeners"
|
|
117918
117918
|
};
|
|
117919
117919
|
function EK(e) {
|
|
@@ -118260,7 +118260,7 @@ const pmt = /* @__PURE__ */ qe({
|
|
|
118260
118260
|
}, 8, ["name"]);
|
|
118261
118261
|
};
|
|
118262
118262
|
}
|
|
118263
|
-
}), Rue = /* @__PURE__ */ ds(pmt, [["__scopeId", "data-v-
|
|
118263
|
+
}), Rue = /* @__PURE__ */ ds(pmt, [["__scopeId", "data-v-9842233d"]]);
|
|
118264
118264
|
function jue(e, t) {
|
|
118265
118265
|
return qe({
|
|
118266
118266
|
setup(n, { attrs: r }) {
|
|
@@ -119077,7 +119077,7 @@ const Nmt = /* @__PURE__ */ qe({
|
|
|
119077
119077
|
});
|
|
119078
119078
|
};
|
|
119079
119079
|
}
|
|
119080
|
-
}), Lmt = /* @__PURE__ */ ds(Nmt, [["__scopeId", "data-v-
|
|
119080
|
+
}), Lmt = /* @__PURE__ */ ds(Nmt, [["__scopeId", "data-v-76c362db"]]), Bmt = /* @__PURE__ */ qe({
|
|
119081
119081
|
__name: "ElementMultiInstance",
|
|
119082
119082
|
setup(e) {
|
|
119083
119083
|
const t = UE.reduce((a, s) => (a[s] = "") || a, {}), n = ae(t), r = un(nn);
|
|
@@ -119345,7 +119345,7 @@ const Kmt = /* @__PURE__ */ qe({
|
|
|
119345
119345
|
]), 1024);
|
|
119346
119346
|
};
|
|
119347
119347
|
}
|
|
119348
|
-
}), Ymt = /* @__PURE__ */ ds(Kmt, [["__scopeId", "data-v-
|
|
119348
|
+
}), Ymt = /* @__PURE__ */ ds(Kmt, [["__scopeId", "data-v-8ee18bf5"]]), TK = {
|
|
119349
119349
|
EDITABLE: "EDITABLE",
|
|
119350
119350
|
READ_ONLY: "READ_ONLY",
|
|
119351
119351
|
HIDDEN: "HIDDEN"
|
|
@@ -119476,7 +119476,7 @@ const Kmt = /* @__PURE__ */ qe({
|
|
|
119476
119476
|
});
|
|
119477
119477
|
};
|
|
119478
119478
|
}
|
|
119479
|
-
}), evt = /* @__PURE__ */ ds(Qmt, [["__scopeId", "data-v-
|
|
119479
|
+
}), evt = /* @__PURE__ */ ds(Qmt, [["__scopeId", "data-v-00144d8f"]]);
|
|
119480
119480
|
var tvt = "Expected a function", RK = NaN, nvt = "[object Symbol]", rvt = /^\s+|\s+$/g, ivt = /^[-+]0x[0-9a-f]+$/i, ovt = /^0b[01]+$/i, avt = /^0o[0-7]+$/i, svt = parseInt, lvt = typeof mm == "object" && mm && mm.Object === Object && mm, cvt = typeof self == "object" && self && self.Object === Object && self, uvt = lvt || cvt || Function("return this")(), dvt = Object.prototype, fvt = dvt.toString, pvt = Math.max, hvt = Math.min, wS = function() {
|
|
119481
119481
|
return uvt.Date.now();
|
|
119482
119482
|
};
|
|
@@ -119717,7 +119717,7 @@ const Tvt = { class: "panel-container" }, Pvt = { class: "panel-header" }, Ovt =
|
|
|
119717
119717
|
})
|
|
119718
119718
|
]));
|
|
119719
119719
|
}
|
|
119720
|
-
}), Rvt = /* @__PURE__ */ ds(Ovt, [["__scopeId", "data-v-
|
|
119720
|
+
}), Rvt = /* @__PURE__ */ ds(Ovt, [["__scopeId", "data-v-2494b10c"]]);
|
|
119721
119721
|
function SA() {
|
|
119722
119722
|
}
|
|
119723
119723
|
SA.prototype.get = function(e) {
|
|
@@ -124974,7 +124974,7 @@ const e0e = `<?xml version="1.0" encoding="UTF-8"?>
|
|
|
124974
124974
|
}, null, 544)]);
|
|
124975
124975
|
};
|
|
124976
124976
|
}
|
|
124977
|
-
}), r2t = /* @__PURE__ */ ds(n2t, [["__scopeId", "data-v-
|
|
124977
|
+
}), r2t = /* @__PURE__ */ ds(n2t, [["__scopeId", "data-v-cb01c451"]]);
|
|
124978
124978
|
function t0e(e) {
|
|
124979
124979
|
return e instanceof Map ? e.clear = e.delete = e.set = function() {
|
|
124980
124980
|
throw new Error("map is read-only");
|
|
@@ -127831,7 +127831,7 @@ const GK = {
|
|
|
127831
127831
|
_: 1
|
|
127832
127832
|
}, 8, ["hljs"]));
|
|
127833
127833
|
}
|
|
127834
|
-
}), Tbt = /* @__PURE__ */ ds($bt, [["__scopeId", "data-v-
|
|
127834
|
+
}), Tbt = /* @__PURE__ */ ds($bt, [["__scopeId", "data-v-ddd59ae6"]]), Pbt = {
|
|
127835
127835
|
name: "Workflow"
|
|
127836
127836
|
//这个⾮常重要,就是未来你放到其他项⽬中,组件标签的名字,⽐如:<sz-workflow></sz-workflow>
|
|
127837
127837
|
}, Obt = /* @__PURE__ */ qe({
|