@chase-shao/vue-component-lib 1.2.39 → 1.2.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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +77 -77
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.err-msg[data-v-3ad59bc4]{font-size:.857142rem;color:#fb4b2f;margin-top:.285714rem}.required[data-v-3ad59bc4]{color:#fb4b2f;font-size:1.285714rem}.page-container[data-v-d8292149]{min-height:100vh;background-color:#f5f5f5;display:flex;flex-direction:column}.page-header[data-v-d8292149]{background:#fff;border-bottom:1px solid #e8e8e8;padding:24px 32px;box-shadow:0 2px 8px #0000000f}.page-header .page-title[data-v-d8292149]{font-size:24px;font-weight:600;color:#262626;margin:0 0 8px;line-height:1.3}.page-header .page-subtitle[data-v-d8292149]{font-size:14px;color:#8c8c8c;margin:0;line-height:1.5}.page-body[data-v-d8292149]{flex:1;padding:24px 32px;overflow-y:auto}.form-container[data-v-d8292149]{width:100%;margin:0 auto}.form-card[data-v-d8292149]{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000f;overflow:hidden}.form-fields[data-v-d8292149]{padding:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}@media (max-width: 768px){.form-fields[data-v-d8292149]{grid-template-columns:1fr;padding:24px 16px;gap:20px}}.form-field-wrapper .form-field[data-v-d8292149]{width:100%}.form-content[data-v-d8292149]{border-top:1px solid #f0f0f0;padding:24px 32px;background:#fafafa}.page-footer[data-v-d8292149]{background:#fff;border-top:1px solid #e8e8e8;padding:16px 32px;box-shadow:0 -2px 8px #0000000f}@media (max-width: 768px){.page-footer[data-v-d8292149]{padding:16px}}.action-container[data-v-d8292149]{max-width:1200px;margin:0 auto;display:flex;justify-content:flex-end;align-items:center;gap:12px}.action-buttons[data-v-d8292149]{display:flex;gap:12px;align-items:center}.action-button[data-v-d8292149]{min-width:88px;height:36px}.action-button[data-v-d8292149]:hover{transform:translateY(-1px);transition:transform .2s ease}@media (max-width: 1024px){.form-fields[data-v-d8292149]{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width: 640px){.page-header[data-v-d8292149]{padding:20px 16px}.page-header .page-title[data-v-d8292149]{font-size:20px}.page-body[data-v-d8292149]{padding:16px}.form-fields[data-v-d8292149]{padding:20px 16px}.action-container[data-v-d8292149]{flex-direction:column-reverse;align-items:stretch}.action-buttons[data-v-d8292149]{justify-content:center}}.page-container[data-v-118b8121]{min-height:100vh;background-color:#f5f5f5;display:flex;flex-direction:column}.page-header[data-v-118b8121]{background:#fff;border-bottom:1px solid #e8e8e8;padding:24px 32px;box-shadow:0 2px 8px #0000000f}.page-header .page-title[data-v-118b8121]{font-size:24px;font-weight:600;color:#262626;margin:0 0 8px;line-height:1.3}.page-header .page-subtitle[data-v-118b8121]{font-size:14px;color:#8c8c8c;margin:0;line-height:1.5}.page-body[data-v-118b8121]{flex:1;padding:24px 32px;overflow-y:auto}.form-container[data-v-118b8121]{width:100%;margin:0 auto}.form-card[data-v-118b8121]{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000f;overflow:hidden}.form-fields[data-v-118b8121]{padding:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}@media (max-width: 768px){.form-fields[data-v-118b8121]{grid-template-columns:1fr;padding:24px 16px;gap:20px}}.form-field-wrapper .form-field[data-v-118b8121]{width:100%}.form-content[data-v-118b8121]{border-top:1px solid #f0f0f0;padding:24px 32px;background:#fafafa}.page-footer[data-v-118b8121]{background:#fff;border-top:1px solid #e8e8e8;padding:16px 32px;box-shadow:0 -2px 8px #0000000f}@media (max-width: 768px){.page-footer[data-v-118b8121]{padding:16px}}.action-container[data-v-118b8121]{max-width:1200px;margin:0 auto;display:flex;justify-content:flex-end;align-items:center;gap:12px}.action-buttons[data-v-118b8121]{display:flex;gap:12px;align-items:center}.action-button[data-v-118b8121]{min-width:88px;height:36px}.action-button[data-v-118b8121]:hover{transform:translateY(-1px);transition:transform .2s ease}@media (max-width: 1024px){.form-fields[data-v-118b8121]{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width: 640px){.page-header[data-v-118b8121]{padding:20px 16px}.page-header .page-title[data-v-118b8121]{font-size:20px}.page-body[data-v-118b8121]{padding:16px}.form-fields[data-v-118b8121]{padding:20px 16px}.action-container[data-v-118b8121]{flex-direction:column-reverse;align-items:stretch}.action-buttons[data-v-118b8121]{justify-content:center}}.page-container[data-v-
|
|
1
|
+
.err-msg[data-v-3ad59bc4]{font-size:.857142rem;color:#fb4b2f;margin-top:.285714rem}.required[data-v-3ad59bc4]{color:#fb4b2f;font-size:1.285714rem}.page-container[data-v-d8292149]{min-height:100vh;background-color:#f5f5f5;display:flex;flex-direction:column}.page-header[data-v-d8292149]{background:#fff;border-bottom:1px solid #e8e8e8;padding:24px 32px;box-shadow:0 2px 8px #0000000f}.page-header .page-title[data-v-d8292149]{font-size:24px;font-weight:600;color:#262626;margin:0 0 8px;line-height:1.3}.page-header .page-subtitle[data-v-d8292149]{font-size:14px;color:#8c8c8c;margin:0;line-height:1.5}.page-body[data-v-d8292149]{flex:1;padding:24px 32px;overflow-y:auto}.form-container[data-v-d8292149]{width:100%;margin:0 auto}.form-card[data-v-d8292149]{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000f;overflow:hidden}.form-fields[data-v-d8292149]{padding:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}@media (max-width: 768px){.form-fields[data-v-d8292149]{grid-template-columns:1fr;padding:24px 16px;gap:20px}}.form-field-wrapper .form-field[data-v-d8292149]{width:100%}.form-content[data-v-d8292149]{border-top:1px solid #f0f0f0;padding:24px 32px;background:#fafafa}.page-footer[data-v-d8292149]{background:#fff;border-top:1px solid #e8e8e8;padding:16px 32px;box-shadow:0 -2px 8px #0000000f}@media (max-width: 768px){.page-footer[data-v-d8292149]{padding:16px}}.action-container[data-v-d8292149]{max-width:1200px;margin:0 auto;display:flex;justify-content:flex-end;align-items:center;gap:12px}.action-buttons[data-v-d8292149]{display:flex;gap:12px;align-items:center}.action-button[data-v-d8292149]{min-width:88px;height:36px}.action-button[data-v-d8292149]:hover{transform:translateY(-1px);transition:transform .2s ease}@media (max-width: 1024px){.form-fields[data-v-d8292149]{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width: 640px){.page-header[data-v-d8292149]{padding:20px 16px}.page-header .page-title[data-v-d8292149]{font-size:20px}.page-body[data-v-d8292149]{padding:16px}.form-fields[data-v-d8292149]{padding:20px 16px}.action-container[data-v-d8292149]{flex-direction:column-reverse;align-items:stretch}.action-buttons[data-v-d8292149]{justify-content:center}}.page-container[data-v-118b8121]{min-height:100vh;background-color:#f5f5f5;display:flex;flex-direction:column}.page-header[data-v-118b8121]{background:#fff;border-bottom:1px solid #e8e8e8;padding:24px 32px;box-shadow:0 2px 8px #0000000f}.page-header .page-title[data-v-118b8121]{font-size:24px;font-weight:600;color:#262626;margin:0 0 8px;line-height:1.3}.page-header .page-subtitle[data-v-118b8121]{font-size:14px;color:#8c8c8c;margin:0;line-height:1.5}.page-body[data-v-118b8121]{flex:1;padding:24px 32px;overflow-y:auto}.form-container[data-v-118b8121]{width:100%;margin:0 auto}.form-card[data-v-118b8121]{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000f;overflow:hidden}.form-fields[data-v-118b8121]{padding:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}@media (max-width: 768px){.form-fields[data-v-118b8121]{grid-template-columns:1fr;padding:24px 16px;gap:20px}}.form-field-wrapper .form-field[data-v-118b8121]{width:100%}.form-content[data-v-118b8121]{border-top:1px solid #f0f0f0;padding:24px 32px;background:#fafafa}.page-footer[data-v-118b8121]{background:#fff;border-top:1px solid #e8e8e8;padding:16px 32px;box-shadow:0 -2px 8px #0000000f}@media (max-width: 768px){.page-footer[data-v-118b8121]{padding:16px}}.action-container[data-v-118b8121]{max-width:1200px;margin:0 auto;display:flex;justify-content:flex-end;align-items:center;gap:12px}.action-buttons[data-v-118b8121]{display:flex;gap:12px;align-items:center}.action-button[data-v-118b8121]{min-width:88px;height:36px}.action-button[data-v-118b8121]:hover{transform:translateY(-1px);transition:transform .2s ease}@media (max-width: 1024px){.form-fields[data-v-118b8121]{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width: 640px){.page-header[data-v-118b8121]{padding:20px 16px}.page-header .page-title[data-v-118b8121]{font-size:20px}.page-body[data-v-118b8121]{padding:16px}.form-fields[data-v-118b8121]{padding:20px 16px}.action-container[data-v-118b8121]{flex-direction:column-reverse;align-items:stretch}.action-buttons[data-v-118b8121]{justify-content:center}}.page-container[data-v-621cefc1]{min-height:100vh;background-color:#f5f5f5;display:flex;flex-direction:column}.page-header[data-v-621cefc1]{background:#fff;border-bottom:1px solid #e8e8e8;padding:24px 32px;box-shadow:0 2px 8px #0000000f}.page-header .page-title[data-v-621cefc1]{font-size:24px;font-weight:600;color:#262626;margin:0 0 8px;line-height:1.3}.page-header .page-subtitle[data-v-621cefc1]{font-size:14px;color:#8c8c8c;margin:0;line-height:1.5}.page-body[data-v-621cefc1]{flex:1;padding:24px 32px;overflow-y:auto}.detail-container[data-v-621cefc1]{width:100%;margin:0 auto}.detail-card[data-v-621cefc1]{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000000f;overflow:hidden;padding-top:20px}.detail-fields[data-v-621cefc1]{padding:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}@media (max-width: 768px){.detail-fields[data-v-621cefc1]{grid-template-columns:1fr;padding:24px 16px;gap:20px}}.detail-field-wrapper .detail-field[data-v-621cefc1]{width:100%}.detail-field-wrapper .detail-field .field-label[data-v-621cefc1]{font-weight:500;color:#262626;margin-bottom:8px;font-size:14px;line-height:1.4}.detail-field-wrapper .detail-field .field-value[data-v-621cefc1]{color:#595959;padding:8px 12px;background-color:#fafafa;border-radius:4px;min-height:40px;display:flex;align-items:center;font-size:14px;line-height:1.5;border:1px solid #f0f0f0;word-break:break-word}.detail-content[data-v-621cefc1]{border-top:1px solid #f0f0f0;padding:24px 32px;background:#fafafa}.page-footer[data-v-621cefc1]{background:#fff;border-top:1px solid #e8e8e8;padding:16px 32px;box-shadow:0 -2px 8px #0000000f}@media (max-width: 768px){.page-footer[data-v-621cefc1]{padding:16px}}.action-container[data-v-621cefc1]{max-width:1200px;margin:0 auto;display:flex;justify-content:flex-end;align-items:center;gap:12px}.action-buttons[data-v-621cefc1]{display:flex;gap:12px;align-items:center}.action-button[data-v-621cefc1]{min-width:88px;height:36px}.action-button[data-v-621cefc1]:hover{transform:translateY(-1px);transition:transform .2s ease}@media (max-width: 1024px){.detail-fields[data-v-621cefc1]{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}@media (max-width: 640px){.page-header[data-v-621cefc1]{padding:20px 16px}.page-header .page-title[data-v-621cefc1]{font-size:20px}.page-body[data-v-621cefc1]{padding:16px}.detail-fields[data-v-621cefc1]{padding:20px 16px}.action-container[data-v-621cefc1]{flex-direction:column-reverse;align-items:stretch}.action-buttons[data-v-621cefc1]{justify-content:center}}.list-container[data-v-78e2b122]{padding:16px}.list-container[data-v-78e2b122] .arco-table .arco-table-body{overflow-x:auto}.page-title[data-v-78e2b122]{font-size:24px;font-weight:700;color:#1d2129;margin-bottom:16px;padding:12px 0}.query-title[data-v-78e2b122]{display:flex;align-items:center;justify-content:space-between}.search-row[data-v-78e2b122]{margin-top:16px}.field-wrapper[data-v-78e2b122]{display:flex;flex-direction:column}.field-label[data-v-78e2b122]{font-weight:500;margin-bottom:8px}.page-container .page-title{font-size:1.285714rem}.action-row .action+.action{margin-inline-start:.571428rem}.arco-spin{min-height:200px}
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as k, defineComponent as
|
|
1
|
+
import { ref as k, defineComponent as H, mergeModels as X, useModel as ie, resolveComponent as x, createBlock as M, openBlock as _, onMounted as Z, computed as z, withCtx as A, createElementBlock as $, Fragment as E, renderList as j, createVNode as T, watch as Ke, inject as ne, nextTick as Oe, createElementVNode as y, createTextVNode as ee, useTemplateRef as he, createCommentVNode as te, toDisplayString as B, resolveDynamicComponent as we, renderSlot as W, getCurrentInstance as ye, reactive as be, provide as je, unref as ze, onActivated as We } from "vue";
|
|
2
2
|
import Ge from "axios";
|
|
3
3
|
import { defineStore as qe } from "pinia";
|
|
4
4
|
import { useRouter as Ye } from "vue-router";
|
|
@@ -16,7 +16,7 @@ const Je = qe("main", () => ({
|
|
|
16
16
|
return e[a];
|
|
17
17
|
};
|
|
18
18
|
function Ie() {
|
|
19
|
-
const e =
|
|
19
|
+
const e = De();
|
|
20
20
|
return {
|
|
21
21
|
apiBase: e.apiBase || void 0 || "",
|
|
22
22
|
appSecret: e.appSecret || void 0 || ""
|
|
@@ -50,11 +50,11 @@ const xe = async () => {
|
|
|
50
50
|
ApproverEmail: (e) => e.svrStore()?.userInfo?.email_address ?? "test.email@dataGetter.ts",
|
|
51
51
|
ApproverPositionCode: (e) => e.bpmStore()?.positionCode ?? 999,
|
|
52
52
|
RejectReason: () => "Test Reject Reason"
|
|
53
|
-
},
|
|
53
|
+
}, D = [];
|
|
54
54
|
for (let e = 0; e < 256; ++e)
|
|
55
|
-
|
|
55
|
+
D.push((e + 256).toString(16).slice(1));
|
|
56
56
|
function Ze(e, a = 0) {
|
|
57
|
-
return (
|
|
57
|
+
return (D[e[a + 0]] + D[e[a + 1]] + D[e[a + 2]] + D[e[a + 3]] + "-" + D[e[a + 4]] + D[e[a + 5]] + "-" + D[e[a + 6]] + D[e[a + 7]] + "-" + D[e[a + 8]] + D[e[a + 9]] + "-" + D[e[a + 10]] + D[e[a + 11]] + D[e[a + 12]] + D[e[a + 13]] + D[e[a + 14]] + D[e[a + 15]]).toLowerCase();
|
|
58
58
|
}
|
|
59
59
|
let ve;
|
|
60
60
|
const et = new Uint8Array(16);
|
|
@@ -76,7 +76,7 @@ function nt(e, a, c) {
|
|
|
76
76
|
throw new Error("Random bytes length must be >= 16");
|
|
77
77
|
return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, Ze(t);
|
|
78
78
|
}
|
|
79
|
-
var
|
|
79
|
+
var K = /* @__PURE__ */ ((e) => (e[e.Submit = 0] = "Submit", e[e.Link = 1] = "Link", e))(K || {}), ae = /* @__PURE__ */ ((e) => (e[e.Create = 0] = "Create", e[e.Update = 1] = "Update", e[e.Details = 2] = "Details", e[e.List = 3] = "List", e))(ae || {});
|
|
80
80
|
function st(e, a, c) {
|
|
81
81
|
const t = {
|
|
82
82
|
pageType: "",
|
|
@@ -108,7 +108,7 @@ function st(e, a, c) {
|
|
|
108
108
|
redirectUrl: n.redirectUrl,
|
|
109
109
|
redirectType: n.redirectType,
|
|
110
110
|
title: n.title,
|
|
111
|
-
widget: n.widget === "Link" ?
|
|
111
|
+
widget: n.widget === "Link" ? K.Link : K.Submit,
|
|
112
112
|
location: n.location,
|
|
113
113
|
attributeType: n.attributeType,
|
|
114
114
|
readonly: n.readonly
|
|
@@ -195,10 +195,10 @@ function ct(e, a) {
|
|
|
195
195
|
return e.replace(/{WorkflowId}/g, a);
|
|
196
196
|
}
|
|
197
197
|
function ut(e, a) {
|
|
198
|
-
return e.replace(/{ApproverEmail}/g, a);
|
|
198
|
+
return e.replace(/{ApproverEmail}/g, encodeURIComponent(a));
|
|
199
199
|
}
|
|
200
200
|
function dt(e, a) {
|
|
201
|
-
return e.replace(/{WorkFlowReason}/g, a);
|
|
201
|
+
return e.replace(/{WorkFlowReason}/g, encodeURIComponent(a));
|
|
202
202
|
}
|
|
203
203
|
function pt(e, a) {
|
|
204
204
|
return e.replace(/{Status}/g, a);
|
|
@@ -207,7 +207,7 @@ function ft(e, a) {
|
|
|
207
207
|
return e.replace(/{IfTriggerGlobal_RandP_Approval}/g, a);
|
|
208
208
|
}
|
|
209
209
|
function mt(e, a) {
|
|
210
|
-
return e.replace(/{ClassName}/g, a);
|
|
210
|
+
return e.replace(/{ClassName}/g, encodeURIComponent(a));
|
|
211
211
|
}
|
|
212
212
|
async function gt(e, a, c, t, n, d, i, p) {
|
|
213
213
|
const o = await G();
|
|
@@ -242,7 +242,7 @@ const se = (e, a) => {
|
|
|
242
242
|
}, yt = {
|
|
243
243
|
Regex: (e, a) => new RegExp(e).test(a),
|
|
244
244
|
Required: (e, a) => !!a
|
|
245
|
-
}, Ce = /* @__PURE__ */
|
|
245
|
+
}, Ce = /* @__PURE__ */ H({
|
|
246
246
|
__name: "InputText",
|
|
247
247
|
props: /* @__PURE__ */ X({
|
|
248
248
|
fieldKey: {},
|
|
@@ -282,7 +282,7 @@ const se = (e, a) => {
|
|
|
282
282
|
}, null, 8, ["modelValue", "disabled"]);
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
|
-
}), bt = /* @__PURE__ */
|
|
285
|
+
}), bt = /* @__PURE__ */ H({
|
|
286
286
|
__name: "InputNumber",
|
|
287
287
|
props: /* @__PURE__ */ X({
|
|
288
288
|
fieldKey: {},
|
|
@@ -330,7 +330,7 @@ const se = (e, a) => {
|
|
|
330
330
|
}, null, 8, ["modelValue", "disabled", "min", "max"]);
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
|
-
}), $e = /* @__PURE__ */
|
|
333
|
+
}), $e = /* @__PURE__ */ H({
|
|
334
334
|
__name: "SelectList",
|
|
335
335
|
props: /* @__PURE__ */ X({
|
|
336
336
|
fieldKey: {},
|
|
@@ -392,7 +392,7 @@ const se = (e, a) => {
|
|
|
392
392
|
}, 8, ["modelValue", "loading"]);
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
|
-
}), kt = /* @__PURE__ */
|
|
395
|
+
}), kt = /* @__PURE__ */ H({
|
|
396
396
|
__name: "Cascader",
|
|
397
397
|
props: {
|
|
398
398
|
modelValue: {},
|
|
@@ -437,7 +437,7 @@ const se = (e, a) => {
|
|
|
437
437
|
});
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
|
-
}), Vt = { style: { "margin-top": "16px" } }, St = /* @__PURE__ */
|
|
440
|
+
}), Vt = { style: { "margin-top": "16px" } }, St = /* @__PURE__ */ H({
|
|
441
441
|
__name: "FileUpload",
|
|
442
442
|
props: {
|
|
443
443
|
className: {},
|
|
@@ -451,7 +451,7 @@ const se = (e, a) => {
|
|
|
451
451
|
emits: ["update:modelValue", "change", "error", "input"],
|
|
452
452
|
setup(e, { expose: a, emit: c }) {
|
|
453
453
|
const t = e, n = c, d = k({}), i = k([]), p = k([]);
|
|
454
|
-
|
|
454
|
+
Ke(
|
|
455
455
|
p,
|
|
456
456
|
(u) => {
|
|
457
457
|
i.value = u, console.log("🚀 ~ fileList.value:", i.value);
|
|
@@ -463,7 +463,7 @@ const se = (e, a) => {
|
|
|
463
463
|
Authorization: `Bearer ${u}`
|
|
464
464
|
}, p.value = ne(t.fieldKey, k([]));
|
|
465
465
|
});
|
|
466
|
-
const o = (u) => se(t.validations, u), h =
|
|
466
|
+
const o = (u) => se(t.validations, u), h = De().apiBase, f = k(null), b = k(0);
|
|
467
467
|
function V(u, r, s) {
|
|
468
468
|
return u.replace(/{WorkflowId}/g, r).replace(/{ClassName}/g, s);
|
|
469
469
|
}
|
|
@@ -480,7 +480,7 @@ const se = (e, a) => {
|
|
|
480
480
|
r.event === "change" && n(r.event, r.handlerName, u);
|
|
481
481
|
});
|
|
482
482
|
}, O = (u) => {
|
|
483
|
-
const { onProgress: r, onError: s, onSuccess: v, fileItem: g, name:
|
|
483
|
+
const { onProgress: r, onError: s, onSuccess: v, fileItem: g, name: R } = u, L = new XMLHttpRequest();
|
|
484
484
|
L.upload && (L.upload.onprogress = function(N) {
|
|
485
485
|
let w;
|
|
486
486
|
N.total > 0 && (w = N.loaded / N.total), r(w, N);
|
|
@@ -492,22 +492,22 @@ const se = (e, a) => {
|
|
|
492
492
|
v(L.response);
|
|
493
493
|
};
|
|
494
494
|
const Q = new FormData();
|
|
495
|
-
return Q.append(
|
|
495
|
+
return Q.append("files", g.file, g.name), L.open("post", S.value, !0), Object.entries(d.value).forEach(([N, w]) => {
|
|
496
496
|
console.log("🚀 ~ customRequest ~ key, value:", N, w), L.setRequestHeader(N, w);
|
|
497
497
|
}), L.send(Q), {
|
|
498
498
|
abort() {
|
|
499
499
|
L.abort();
|
|
500
500
|
}
|
|
501
501
|
};
|
|
502
|
-
},
|
|
502
|
+
}, P = k(null);
|
|
503
503
|
function q(u) {
|
|
504
504
|
const r = u.target;
|
|
505
|
-
r.files && r.files.length > 0 && (
|
|
505
|
+
r.files && r.files.length > 0 && (P.value = r.files[0]);
|
|
506
506
|
}
|
|
507
507
|
async function Y() {
|
|
508
|
-
if (console.log("🚀 ~ handleNativeUpload ~ nativeFile.value:",
|
|
508
|
+
if (console.log("🚀 ~ handleNativeUpload ~ nativeFile.value:", P.value), !P.value) return;
|
|
509
509
|
const u = new FormData();
|
|
510
|
-
u.append(
|
|
510
|
+
u.append("files", P.value, P.value.name), await (await G()).post(
|
|
511
511
|
S.value,
|
|
512
512
|
u,
|
|
513
513
|
{
|
|
@@ -561,7 +561,7 @@ const se = (e, a) => {
|
|
|
561
561
|
}, null, 32),
|
|
562
562
|
T(v, {
|
|
563
563
|
onClick: Y,
|
|
564
|
-
disabled: !
|
|
564
|
+
disabled: !P.value
|
|
565
565
|
}, {
|
|
566
566
|
default: A(() => r[2] || (r[2] = [
|
|
567
567
|
ee("原生上传", -1)
|
|
@@ -573,7 +573,7 @@ const se = (e, a) => {
|
|
|
573
573
|
], 64);
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
|
-
}), Ct = /* @__PURE__ */
|
|
576
|
+
}), Ct = /* @__PURE__ */ H({
|
|
577
577
|
__name: "TextArea",
|
|
578
578
|
props: {
|
|
579
579
|
fieldKey: {},
|
|
@@ -611,7 +611,7 @@ const se = (e, a) => {
|
|
|
611
611
|
}, null, 8, ["model-value", "disabled"]);
|
|
612
612
|
};
|
|
613
613
|
}
|
|
614
|
-
}), $t = /* @__PURE__ */
|
|
614
|
+
}), $t = /* @__PURE__ */ H({
|
|
615
615
|
__name: "CheckBox",
|
|
616
616
|
props: /* @__PURE__ */ X({
|
|
617
617
|
fieldKey: {},
|
|
@@ -660,7 +660,7 @@ const se = (e, a) => {
|
|
|
660
660
|
}, Ut = { class: "form-widget" }, At = { class: "widget" }, Lt = {
|
|
661
661
|
key: 0,
|
|
662
662
|
class: "err-msg"
|
|
663
|
-
}, Tt = /* @__PURE__ */
|
|
663
|
+
}, Tt = /* @__PURE__ */ H({
|
|
664
664
|
__name: "index",
|
|
665
665
|
props: /* @__PURE__ */ X({
|
|
666
666
|
config: {},
|
|
@@ -748,7 +748,7 @@ const se = (e, a) => {
|
|
|
748
748
|
for (const [t, n] of a)
|
|
749
749
|
c[t] = n;
|
|
750
750
|
return c;
|
|
751
|
-
}, ke = /* @__PURE__ */ ce(Tt, [["__scopeId", "data-v-3ad59bc4"]]), Mt = /* @__PURE__ */
|
|
751
|
+
}, ke = /* @__PURE__ */ ce(Tt, [["__scopeId", "data-v-3ad59bc4"]]), Mt = /* @__PURE__ */ H({
|
|
752
752
|
__name: "SubmitButton",
|
|
753
753
|
props: {
|
|
754
754
|
url: {},
|
|
@@ -773,7 +773,7 @@ const se = (e, a) => {
|
|
|
773
773
|
});
|
|
774
774
|
};
|
|
775
775
|
}
|
|
776
|
-
}),
|
|
776
|
+
}), Rt = /* @__PURE__ */ H({
|
|
777
777
|
__name: "DetailLink",
|
|
778
778
|
props: {
|
|
779
779
|
url: {},
|
|
@@ -795,7 +795,7 @@ const se = (e, a) => {
|
|
|
795
795
|
});
|
|
796
796
|
};
|
|
797
797
|
}
|
|
798
|
-
}), le = /* @__PURE__ */
|
|
798
|
+
}), le = /* @__PURE__ */ H({
|
|
799
799
|
__name: "index",
|
|
800
800
|
props: {
|
|
801
801
|
config: {}
|
|
@@ -812,9 +812,9 @@ const se = (e, a) => {
|
|
|
812
812
|
return Mt;
|
|
813
813
|
case "InTable":
|
|
814
814
|
default:
|
|
815
|
-
return
|
|
815
|
+
return Rt;
|
|
816
816
|
}
|
|
817
|
-
}), i = z(() => c.config.widget ===
|
|
817
|
+
}), i = z(() => c.config.widget === K.Submit ? c.config.requestUrl ?? "" : c.config.widget === K.Link ? c.config.redirectUrl ?? "" : ""), p = z(() => c.config.redirectType ?? "Details");
|
|
818
818
|
return (o, l) => (_(), M(we(d.value), {
|
|
819
819
|
url: i.value,
|
|
820
820
|
"redirect-type": p.value,
|
|
@@ -836,17 +836,17 @@ function Ve() {
|
|
|
836
836
|
const e = ne(Le, null);
|
|
837
837
|
return e || {};
|
|
838
838
|
}
|
|
839
|
-
const
|
|
839
|
+
const Dt = Symbol("library-pinia"), Te = Symbol("library-bpmStore"), Me = Symbol("library-svrStore");
|
|
840
840
|
function pe() {
|
|
841
841
|
return ne(Te, null);
|
|
842
842
|
}
|
|
843
843
|
function fe() {
|
|
844
844
|
return ne(Me, null);
|
|
845
845
|
}
|
|
846
|
-
const
|
|
846
|
+
const Ht = { class: "page-container" }, Ft = { class: "page-header" }, Et = { class: "page-title" }, Bt = { class: "page-subtitle" }, Pt = { class: "page-body" }, Kt = { class: "form-card" }, Ot = { class: "form-fields" }, jt = {
|
|
847
847
|
key: 0,
|
|
848
848
|
class: "form-content"
|
|
849
|
-
}, zt = { class: "page-footer" }, Wt = { class: "action-container" }, Gt = { class: "action-buttons" }, qt = /* @__PURE__ */
|
|
849
|
+
}, zt = { class: "page-footer" }, Wt = { class: "action-container" }, Gt = { class: "action-buttons" }, qt = /* @__PURE__ */ H({
|
|
850
850
|
__name: "CreateView",
|
|
851
851
|
props: {
|
|
852
852
|
className: {}
|
|
@@ -874,7 +874,7 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
874
874
|
});
|
|
875
875
|
async function O(m, u, r) {
|
|
876
876
|
switch (m) {
|
|
877
|
-
case
|
|
877
|
+
case K.Submit:
|
|
878
878
|
let s = !0;
|
|
879
879
|
if (d.value?.forEach((g) => {
|
|
880
880
|
g?.validate && (g.validate() || (s = !1));
|
|
@@ -887,7 +887,7 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
887
887
|
g?.submit && g.submit(v);
|
|
888
888
|
}), i?.appContext.config.globalProperties.$notification.success("创建成功!"), t.push({ name: "List", params: { className: p.className } });
|
|
889
889
|
break;
|
|
890
|
-
case
|
|
890
|
+
case K.Link:
|
|
891
891
|
r === "List" && t.push({ name: "List", params: { className: p.className } });
|
|
892
892
|
break;
|
|
893
893
|
default:
|
|
@@ -906,20 +906,20 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
906
906
|
}
|
|
907
907
|
return (m, u) => {
|
|
908
908
|
const r = x("a-spin");
|
|
909
|
-
return _(), $("div",
|
|
909
|
+
return _(), $("div", Ht, [
|
|
910
910
|
y("div", Ft, [
|
|
911
911
|
W(m.$slots, "title", {}, () => [
|
|
912
912
|
y("h1", Et, "创建 " + B(m.className), 1),
|
|
913
913
|
y("p", Bt, "请填写以下信息创建新的 " + B(m.className) + " 记录", 1)
|
|
914
914
|
], !0)
|
|
915
915
|
]),
|
|
916
|
-
y("div",
|
|
916
|
+
y("div", Pt, [
|
|
917
917
|
T(r, {
|
|
918
918
|
loading: I.value,
|
|
919
919
|
class: "form-container"
|
|
920
920
|
}, {
|
|
921
921
|
default: A(() => [
|
|
922
|
-
y("div",
|
|
922
|
+
y("div", Kt, [
|
|
923
923
|
y("div", Ot, [
|
|
924
924
|
(_(!0), $(E, null, j(l.value, (s, v) => (_(), $("div", {
|
|
925
925
|
key: s.fieldKey,
|
|
@@ -965,7 +965,7 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
965
965
|
}), Yt = /* @__PURE__ */ ce(qt, [["__scopeId", "data-v-d8292149"]]), Jt = { class: "page-container" }, Xt = { class: "page-header" }, Qt = { class: "page-title" }, Zt = { class: "page-subtitle" }, ea = { class: "page-body" }, ta = { class: "form-card" }, aa = { class: "form-fields" }, na = {
|
|
966
966
|
key: 0,
|
|
967
967
|
class: "form-content"
|
|
968
|
-
}, sa = { class: "page-footer" }, oa = { class: "action-container" }, ra = { class: "action-buttons" }, la = /* @__PURE__ */
|
|
968
|
+
}, sa = { class: "page-footer" }, oa = { class: "action-container" }, ra = { class: "action-buttons" }, la = /* @__PURE__ */ H({
|
|
969
969
|
__name: "UpdateView",
|
|
970
970
|
props: {
|
|
971
971
|
className: {},
|
|
@@ -1005,22 +1005,22 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
1005
1005
|
function O() {
|
|
1006
1006
|
return t()?.userInfo?.email_address ?? "";
|
|
1007
1007
|
}
|
|
1008
|
-
async function
|
|
1008
|
+
async function P(u, r, s) {
|
|
1009
1009
|
switch (u) {
|
|
1010
|
-
case
|
|
1010
|
+
case K.Submit:
|
|
1011
1011
|
let v = !0;
|
|
1012
|
-
if (d.value?.forEach((
|
|
1013
|
-
|
|
1012
|
+
if (d.value?.forEach((R) => {
|
|
1013
|
+
R?.validate && (R.validate() || (v = !1));
|
|
1014
1014
|
}), !v) {
|
|
1015
1015
|
i?.appContext.config.globalProperties.$message.error("表单验证未通过,请检查输入项");
|
|
1016
1016
|
return;
|
|
1017
1017
|
}
|
|
1018
1018
|
const g = await it(p.className, p.workflowId, { ...S, ...h.value }, r);
|
|
1019
|
-
d.value?.forEach((
|
|
1020
|
-
|
|
1019
|
+
d.value?.forEach((R) => {
|
|
1020
|
+
R?.submit && R.submit(g);
|
|
1021
1021
|
}), i?.appContext.config.globalProperties.$notification.success("修改成功!"), a.push({ name: "List", params: { className: p.className } });
|
|
1022
1022
|
break;
|
|
1023
|
-
case
|
|
1023
|
+
case K.Link:
|
|
1024
1024
|
a.push({ name: s, params: { className: p.className } });
|
|
1025
1025
|
break;
|
|
1026
1026
|
default:
|
|
@@ -1066,7 +1066,7 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
1066
1066
|
config: v,
|
|
1067
1067
|
"class-name": u.className,
|
|
1068
1068
|
modelValue: S[v.fieldKey],
|
|
1069
|
-
"onUpdate:modelValue": (
|
|
1069
|
+
"onUpdate:modelValue": (R) => S[v.fieldKey] = R,
|
|
1070
1070
|
class: "form-field",
|
|
1071
1071
|
onChange: m
|
|
1072
1072
|
}, null, 8, ["field-key", "name", "config", "class-name", "modelValue", "onUpdate:modelValue"])
|
|
@@ -1088,7 +1088,7 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
1088
1088
|
key: v.Title,
|
|
1089
1089
|
config: v,
|
|
1090
1090
|
class: "action-button",
|
|
1091
|
-
onClick:
|
|
1091
|
+
onClick: P
|
|
1092
1092
|
}, null, 8, ["config"]))), 128))
|
|
1093
1093
|
])
|
|
1094
1094
|
])
|
|
@@ -1096,14 +1096,14 @@ const Rt = { class: "page-container" }, Ft = { class: "page-header" }, Et = { cl
|
|
|
1096
1096
|
]);
|
|
1097
1097
|
};
|
|
1098
1098
|
}
|
|
1099
|
-
}), ia = /* @__PURE__ */ ce(la, [["__scopeId", "data-v-118b8121"]]),
|
|
1099
|
+
}), ia = /* @__PURE__ */ ce(la, [["__scopeId", "data-v-118b8121"]]), Re = Symbol("library-custom-comp");
|
|
1100
1100
|
function ca() {
|
|
1101
|
-
return ne(
|
|
1101
|
+
return ne(Re, null);
|
|
1102
1102
|
}
|
|
1103
1103
|
const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { class: "page-title" }, fa = { class: "page-subtitle" }, ma = { class: "page-body" }, ga = { class: "detail-card" }, va = { class: "detail-fields" }, _a = { class: "detail-field" }, ha = { class: "field-label" }, wa = { class: "field-value" }, ya = {
|
|
1104
1104
|
key: 0,
|
|
1105
1105
|
class: "detail-content"
|
|
1106
|
-
}, ba = { class: "page-footer" }, ka = { class: "action-container" }, Va = { class: "action-buttons" }, Sa = /* @__PURE__ */
|
|
1106
|
+
}, ba = { class: "page-footer" }, ka = { class: "action-container" }, Va = { class: "action-buttons" }, Sa = /* @__PURE__ */ H({
|
|
1107
1107
|
__name: "DetailView",
|
|
1108
1108
|
props: {
|
|
1109
1109
|
className: {},
|
|
@@ -1154,8 +1154,8 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1154
1154
|
time: ""
|
|
1155
1155
|
};
|
|
1156
1156
|
g.title = s.workflowProcessApprovers[0]?.name;
|
|
1157
|
-
const
|
|
1158
|
-
if (
|
|
1157
|
+
const R = s.workflowProcessApprovers[s.workflowProcessApprovers.length - 1], L = s.workflowHistorys[s.workflowHistorys.length - 1], Q = L?.workflowHistoryApprovers[L?.workflowHistoryApprovers?.length - 1];
|
|
1158
|
+
if (R && Q && R?.email?.toLowerCase() !== Q?.approverEmail?.toLowerCase() && (g.title = `${Q.name}`, g.proxy = `代理: ${R.name}`), s.sort > 1 ? g.sub = "审批角色:" + s.nodeName.replace("Submit", "").replace("Approve", "") : g.sub = "提交申请", s.isCurrent && u !== -1)
|
|
1159
1159
|
g.desc = "审批中", g.status = 1;
|
|
1160
1160
|
else {
|
|
1161
1161
|
const N = s.workflowHistorys[s.workflowHistorys.length - 1];
|
|
@@ -1191,7 +1191,7 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1191
1191
|
const u = await _t(p.className, p.workflowId);
|
|
1192
1192
|
I.value = S(u, 0), b.value = !1;
|
|
1193
1193
|
});
|
|
1194
|
-
async function
|
|
1194
|
+
async function P(m, u) {
|
|
1195
1195
|
return t[m]?.(u);
|
|
1196
1196
|
}
|
|
1197
1197
|
function q() {
|
|
@@ -1200,13 +1200,13 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1200
1200
|
async function Y(m, u, r, s) {
|
|
1201
1201
|
try {
|
|
1202
1202
|
switch (m) {
|
|
1203
|
-
case
|
|
1204
|
-
const { reason: v, ifGlobal: g } = await
|
|
1205
|
-
await gt(p.className, p.workflowId, q(), v, [p.workflowId], u,
|
|
1203
|
+
case K.Submit:
|
|
1204
|
+
const { reason: v, ifGlobal: g } = await P(s, { isGlobal: O.value }), R = s === "Approve" ? "100" : "-1";
|
|
1205
|
+
await gt(p.className, p.workflowId, q(), v, [Number(p.workflowId)], u, R, g);
|
|
1206
1206
|
const L = s === "Approve" ? "审批已通过!" : "审批已拒绝!";
|
|
1207
1207
|
i?.appContext.config.globalProperties.$notification.success(L), n.push({ name: "List", params: { className: p.className } });
|
|
1208
1208
|
break;
|
|
1209
|
-
case
|
|
1209
|
+
case K.Link:
|
|
1210
1210
|
r === "List" && n.push({ name: "List", params: { className: p.className } });
|
|
1211
1211
|
break;
|
|
1212
1212
|
default:
|
|
@@ -1267,7 +1267,7 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1267
1267
|
]);
|
|
1268
1268
|
};
|
|
1269
1269
|
}
|
|
1270
|
-
}), Ca = /* @__PURE__ */ ce(Sa, [["__scopeId", "data-v-
|
|
1270
|
+
}), Ca = /* @__PURE__ */ ce(Sa, [["__scopeId", "data-v-621cefc1"]]), $a = { class: "list-container" }, Ia = { class: "page-title" }, Na = { class: "query-title" }, xa = { class: "field-wrapper" }, Ua = /* @__PURE__ */ H({
|
|
1271
1271
|
name: "ListView",
|
|
1272
1272
|
__name: "ListView",
|
|
1273
1273
|
props: {
|
|
@@ -1334,18 +1334,18 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1334
1334
|
b.value = !0, d.value = await ue(3, n.className, {
|
|
1335
1335
|
svrStore: a,
|
|
1336
1336
|
bpmStore: c
|
|
1337
|
-
}), l(d.value.fields),
|
|
1337
|
+
}), l(d.value.fields), R(d.value.fields), s(d.value?.tabs?.[0]?.key || ""), S.value = d.value.actions, b.value = !1, O.value = !0;
|
|
1338
1338
|
}), We(() => {
|
|
1339
1339
|
O.value && I();
|
|
1340
1340
|
});
|
|
1341
|
-
const
|
|
1341
|
+
const P = (w) => {
|
|
1342
1342
|
i.current = w, I();
|
|
1343
1343
|
}, q = (w) => {
|
|
1344
1344
|
i.pageSize = w, I();
|
|
1345
1345
|
};
|
|
1346
1346
|
function Y(w, C, U, J, oe) {
|
|
1347
1347
|
switch (w) {
|
|
1348
|
-
case
|
|
1348
|
+
case K.Link:
|
|
1349
1349
|
t.push({ name: U, params: { workflowId: oe } });
|
|
1350
1350
|
break;
|
|
1351
1351
|
default:
|
|
@@ -1354,7 +1354,7 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1354
1354
|
}
|
|
1355
1355
|
function m(w, C, U) {
|
|
1356
1356
|
switch (w) {
|
|
1357
|
-
case
|
|
1357
|
+
case K.Link:
|
|
1358
1358
|
t.push({ name: U });
|
|
1359
1359
|
break;
|
|
1360
1360
|
default:
|
|
@@ -1374,7 +1374,7 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1374
1374
|
value: r(U.value, u())
|
|
1375
1375
|
})) || [], I();
|
|
1376
1376
|
}
|
|
1377
|
-
const v = k({}), g = z(() => d.value?.fields ? Object.entries(d.value.fields).filter(([, w]) => w.isFiltered) : []),
|
|
1377
|
+
const v = k({}), g = z(() => d.value?.fields ? Object.entries(d.value.fields).filter(([, w]) => w.isFiltered) : []), R = (w) => {
|
|
1378
1378
|
const C = {};
|
|
1379
1379
|
Object.entries(w).forEach(([U, J]) => {
|
|
1380
1380
|
C[U] = J.modelValue;
|
|
@@ -1382,13 +1382,13 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1382
1382
|
}, L = () => {
|
|
1383
1383
|
i.current = 1, I();
|
|
1384
1384
|
}, Q = () => {
|
|
1385
|
-
d.value &&
|
|
1385
|
+
d.value && R(d.value.fields), L();
|
|
1386
1386
|
};
|
|
1387
1387
|
function N(w, C) {
|
|
1388
1388
|
return !(w.location !== "InTable" || w.title === "Update" && (C.status === 100 || C.status === -1));
|
|
1389
1389
|
}
|
|
1390
1390
|
return (w, C) => {
|
|
1391
|
-
const U = x("a-col"), J = x("a-button"), oe = x("a-space"),
|
|
1391
|
+
const U = x("a-col"), J = x("a-button"), oe = x("a-space"), He = x("a-row"), Fe = x("a-card"), Ee = x("a-tab-pane"), Be = x("a-tabs"), Pe = x("a-table");
|
|
1392
1392
|
return _(), $("div", $a, [
|
|
1393
1393
|
y("div", Ia, B(w.className) + " : List", 1),
|
|
1394
1394
|
T(Fe, null, {
|
|
@@ -1407,7 +1407,7 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1407
1407
|
], 64))), 128))
|
|
1408
1408
|
])
|
|
1409
1409
|
]),
|
|
1410
|
-
T(
|
|
1410
|
+
T(He, {
|
|
1411
1411
|
gutter: [24, 20],
|
|
1412
1412
|
class: "search-row"
|
|
1413
1413
|
}, {
|
|
@@ -1482,7 +1482,7 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1482
1482
|
]),
|
|
1483
1483
|
_: 1
|
|
1484
1484
|
}),
|
|
1485
|
-
T(
|
|
1485
|
+
T(Pe, {
|
|
1486
1486
|
columns: f.value,
|
|
1487
1487
|
data: h.value,
|
|
1488
1488
|
stripe: "",
|
|
@@ -1499,7 +1499,7 @@ const ua = { class: "page-container" }, da = { class: "page-header" }, pa = { cl
|
|
|
1499
1499
|
loading: V.value,
|
|
1500
1500
|
size: "medium",
|
|
1501
1501
|
scroll: o.value,
|
|
1502
|
-
onPageChange:
|
|
1502
|
+
onPageChange: P,
|
|
1503
1503
|
onPageSizeChange: q
|
|
1504
1504
|
}, {
|
|
1505
1505
|
optional: A(({ record: F }) => [
|
|
@@ -1529,23 +1529,23 @@ let _e = {};
|
|
|
1529
1529
|
function La(e) {
|
|
1530
1530
|
_e = { ..._e, ...e };
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function De() {
|
|
1533
1533
|
return _e;
|
|
1534
1534
|
}
|
|
1535
|
-
const
|
|
1535
|
+
const Ha = {
|
|
1536
1536
|
install(e, a = {}) {
|
|
1537
|
-
a.config && La(a.config), a.router && e.provide(Ae, a.router), a.pinia && e.provide(
|
|
1537
|
+
a.config && La(a.config), a.router && e.provide(Ae, a.router), a.pinia && e.provide(Dt, a.pinia), a.useBpmStore && e.provide(Te, a.useBpmStore), a.useSvrStore && e.provide(Me, a.useSvrStore), a.triggers && e.provide(Le, a.triggers), a.customComps && e.provide(Re, a.customComps), e.component("CreateView", Yt), e.component("UpdateView", ia), e.component("DetailView", Ca), e.component("ListView", Aa);
|
|
1538
1538
|
}
|
|
1539
1539
|
};
|
|
1540
1540
|
export {
|
|
1541
1541
|
Yt as CreateView,
|
|
1542
1542
|
Ca as DetailView,
|
|
1543
1543
|
Aa as ListView,
|
|
1544
|
-
|
|
1544
|
+
Dt as PiniaKey,
|
|
1545
1545
|
Ae as RouterKey,
|
|
1546
1546
|
ia as UpdateView,
|
|
1547
|
-
|
|
1548
|
-
|
|
1547
|
+
Ha as default,
|
|
1548
|
+
De as getLibraryConfig,
|
|
1549
1549
|
La as setLibraryConfig
|
|
1550
1550
|
};
|
|
1551
1551
|
//# sourceMappingURL=index.es.js.map
|