act-plus 1.1.18 → 1.1.19
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/act-plus.js +5 -3
- package/act-plus.umd.cjs +1729 -16
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/lib/abap-1354785f.js +1314 -0
- package/lib/apex-279d4f27.js +315 -0
- package/lib/azcli-ba812c55.js +74 -0
- package/lib/bat-4d77495d.js +95 -0
- package/lib/bicep-7b240724.js +108 -0
- package/lib/cameligo-5d2daeb8.js +168 -0
- package/lib/clojure-b7ea12a3.js +754 -0
- package/lib/coffee-1a8cfbf4.js +228 -0
- package/lib/{configBtns-58f43801.js → configBtns-3772e689.js} +2 -2
- package/lib/{configFileds-b537fd99.js → configFileds-d0911c87.js} +3 -3
- package/lib/{configForm-b9e9ca98.js → configForm-ae4b725e.js} +1 -1
- package/lib/{configTable-bdb56a9e.js → configTable-879063d4.js} +31 -24
- package/lib/cpp-642b10c4.js +387 -0
- package/lib/csharp-d987ddad.js +320 -0
- package/lib/csp-96407af0.js +57 -0
- package/lib/css-5dd354ac.js +186 -0
- package/lib/cssMode-6d02ab39.js +1448 -0
- package/lib/cypher-11e5a4b6.js +262 -0
- package/lib/dart-5d209f63.js +270 -0
- package/lib/{dialogAddField-b60d14ab.js → dialogAddField-d6b18048.js} +69 -69
- package/lib/{dialogConfigBtn-f5f8703d.js → dialogConfigBtn-75e37dc9.js} +74 -78
- package/lib/dockerfile-8739cff7.js +132 -0
- package/lib/ecl-a20c5155.js +454 -0
- package/lib/elixir-8b028584.js +467 -0
- package/lib/{enum-99519ce0.js → enum-cc58b8fe.js} +25 -22
- package/lib/flow9-0dea2e73.js +141 -0
- package/lib/freemarker2-205877bf.js +646 -0
- package/lib/fsharp-49a70fad.js +210 -0
- package/lib/go-46e3b371.js +208 -0
- package/lib/graphql-51a577e5.js +141 -0
- package/lib/handlebars-2d920faa.js +394 -0
- package/lib/hcl-56b85754.js +177 -0
- package/lib/html-6b99359b.js +284 -0
- package/lib/htmlMode-498c17d9.js +1458 -0
- package/lib/index-68063c4c.js +96 -0
- package/lib/index-7c264775.js +192 -0
- package/lib/index-a36b2284.js +304 -0
- package/lib/index-aff95ab9.js +63 -0
- package/lib/index-da0a0bfe.js +162173 -0
- package/lib/index-e2f2023d.js +35 -0
- package/lib/{index-9e3ed108.js → index-fb2754ee.js} +1 -1
- package/lib/ini-1d58d82f.js +68 -0
- package/lib/java-cd017f60.js +221 -0
- package/lib/javascript-5e40fe11.js +78 -0
- package/lib/jsonMode-2a821e9e.js +1869 -0
- package/lib/julia-a0caf483.js +496 -0
- package/lib/kotlin-c6e52a56.js +245 -0
- package/lib/less-718543b4.js +168 -0
- package/lib/lexon-5e6e7a44.js +151 -0
- package/lib/liquid-dc78aaf7.js +241 -0
- package/lib/lua-f159160b.js +157 -0
- package/lib/m3-aadaf771.js +210 -0
- package/lib/markdown-9b448c46.js +202 -0
- package/lib/mips-161e49ce.js +194 -0
- package/lib/msdax-f65cb1e6.js +377 -0
- package/lib/mysql-24549dd1.js +875 -0
- package/lib/objective-c-e129a5ca.js +188 -0
- package/lib/pascal-4ccdf5ce.js +245 -0
- package/lib/pascaligo-a9603dcd.js +158 -0
- package/lib/perl-ba1fb97a.js +599 -0
- package/lib/pgsql-89978310.js +843 -0
- package/lib/php-987b9d87.js +471 -0
- package/lib/pla-96c2695d.js +131 -0
- package/lib/postiats-7b52ebac.js +544 -0
- package/lib/powerquery-8954ec26.js +890 -0
- package/lib/powershell-f00d0274.js +233 -0
- package/lib/protobuf-3eb85f80.js +422 -0
- package/lib/pug-6fab415a.js +393 -0
- package/lib/python-e55144b2.js +262 -0
- package/lib/qsharp-4792f872.js +282 -0
- package/lib/r-630f5d6b.js +245 -0
- package/lib/razor-1fb88f53.js +515 -0
- package/lib/redis-276b8288.js +298 -0
- package/lib/redshift-520a7359.js +806 -0
- package/lib/restructuredtext-4676a3fc.js +162 -0
- package/lib/ruby-764137cd.js +444 -0
- package/lib/rust-97f8f6e1.js +337 -0
- package/lib/sb-8c22f14c.js +110 -0
- package/lib/scala-c68c650c.js +353 -0
- package/lib/scheme-e6a52cb0.js +114 -0
- package/lib/scss-45104c77.js +244 -0
- package/lib/shell-09452d42.js +224 -0
- package/lib/solidity-d4979008.js +1351 -0
- package/lib/sophia-21995caf.js +190 -0
- package/lib/sparql-5088743c.js +193 -0
- package/lib/sql-63ec8e76.js +818 -0
- package/lib/st-fa9ab362.js +414 -0
- package/lib/swift-abdf1835.js +315 -0
- package/lib/systemverilog-a4f858ed.js +556 -0
- package/lib/tcl-8adf937f.js +232 -0
- package/lib/tsMode-8d12d976.js +792 -0
- package/lib/twig-404eb73e.js +323 -0
- package/lib/typescript-97ed77ae.js +330 -0
- package/lib/vb-e21e8153.js +364 -0
- package/lib/xml-e843c667.js +98 -0
- package/lib/yaml-62bcf3fa.js +187 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-14f7a543.js +0 -165
- package/lib/index-1f8ed34b.js +0 -11178
- package/lib/index-56217e0e.js +0 -96
- package/lib/index-8cb975d8.js +0 -297
- package/lib/index-9a1abd6b.js +0 -139
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ref as j, inject as l, watch as q, resolveComponent as C, openBlock as r, createElementBlock as f, Fragment as y, renderList as A, unref as c, createBlock as i, resolveDynamicComponent as O, withCtx as _, createVNode as E, createCommentVNode as u, createTextVNode as B, toDisplayString as k } from "vue";
|
|
2
|
+
import { _ as H, u as M } from "./index-da0a0bfe.js";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
const z = { class: "header-operate-container" }, G = {
|
|
6
|
+
__name: "index",
|
|
7
|
+
props: {
|
|
8
|
+
data: { type: Object, default: () => ({}) }
|
|
9
|
+
},
|
|
10
|
+
emits: ["operate"],
|
|
11
|
+
setup(w, { emit: x }) {
|
|
12
|
+
const N = x, T = w, { t: V } = M();
|
|
13
|
+
let b = j([]);
|
|
14
|
+
const v = l("globalProps"), F = l("menuPermissionBtns"), $ = l("stringToBoolean"), D = l("matchCondition"), S = l("getTableData"), P = l("tableBtnRefs"), I = (o) => {
|
|
15
|
+
if (!o.matchFields.length)
|
|
16
|
+
return !0;
|
|
17
|
+
const n = o.matchFields.filter((t) => t.matchType != "default"), a = (t) => v.matchData[t.matchType][t.matchFieldName];
|
|
18
|
+
let e = n.reduce((t, s, m) => {
|
|
19
|
+
const R = a(s);
|
|
20
|
+
return t += D(s.matchCondition, R, s.fieldValue == "" ? null : s.fieldValue == "true" ? $(s.fieldValue) : s.fieldValue), m !== n.length - 1 && (t += s.spliceCondition || "&&"), t;
|
|
21
|
+
}, "").split("||"), p = e.reduce((t, s, m) => (t += `(${s})`, m < e.length - 1 && (t += "||"), t), "");
|
|
22
|
+
return new Function(`return ${p}`)();
|
|
23
|
+
}, h = (o) => F.value.some((n) => n.unique == o.permissionCode) && I(o), L = (o) => {
|
|
24
|
+
b.value = (o || []).filter((n) => n.permissionCode !== 1001 && n.btnPostion.includes("header")).sort((n, a) => n.sort - a.sort);
|
|
25
|
+
};
|
|
26
|
+
q(
|
|
27
|
+
() => T.data,
|
|
28
|
+
(o, n) => {
|
|
29
|
+
L(o.buttons);
|
|
30
|
+
},
|
|
31
|
+
{ immediate: !0 }
|
|
32
|
+
);
|
|
33
|
+
const g = (o) => {
|
|
34
|
+
N("operate", o, {});
|
|
35
|
+
};
|
|
36
|
+
return (o, n) => {
|
|
37
|
+
const a = C("a-svg-icon"), d = C("el-button");
|
|
38
|
+
return r(), f("div", z, [
|
|
39
|
+
(r(!0), f(y, null, A(c(b), (e, p) => (r(), f(y, { key: p }, [
|
|
40
|
+
e.isCustomBtn && e.customType == "component" && h(e) ? (r(), i(O(e[e.customComponentName]), {
|
|
41
|
+
key: 0,
|
|
42
|
+
ref_for: !0,
|
|
43
|
+
ref: (t) => c(P)[`${e.customComponentName}-${e.permissionCode}`] = t,
|
|
44
|
+
buttonData: e,
|
|
45
|
+
onRefresh: n[0] || (n[0] = (t) => c(S)())
|
|
46
|
+
}, {
|
|
47
|
+
default: _(() => [
|
|
48
|
+
E(d, {
|
|
49
|
+
class: "el-btn",
|
|
50
|
+
type: e.btnColor,
|
|
51
|
+
onClick: (t) => g(e)
|
|
52
|
+
}, {
|
|
53
|
+
default: _(() => [
|
|
54
|
+
e.btnIcon ? (r(), i(a, {
|
|
55
|
+
key: 0,
|
|
56
|
+
class: "mr4",
|
|
57
|
+
name: e.btnIcon,
|
|
58
|
+
width: "12",
|
|
59
|
+
height: "12",
|
|
60
|
+
color: "#fff"
|
|
61
|
+
}, null, 8, ["name"])) : u("", !0),
|
|
62
|
+
B(" " + k(e.btnName), 1)
|
|
63
|
+
]),
|
|
64
|
+
_: 2
|
|
65
|
+
}, 1032, ["type", "onClick"])
|
|
66
|
+
]),
|
|
67
|
+
_: 2
|
|
68
|
+
}, 1064, ["buttonData"])) : u("", !0),
|
|
69
|
+
!e.isCustomBtn && h(e) ? (r(), i(d, {
|
|
70
|
+
key: 1,
|
|
71
|
+
class: "el-btn",
|
|
72
|
+
type: e.btnColor,
|
|
73
|
+
loading: e.opeateLoading,
|
|
74
|
+
onClick: (t) => g(e)
|
|
75
|
+
}, {
|
|
76
|
+
default: _(() => [
|
|
77
|
+
e.btnIcon ? (r(), i(a, {
|
|
78
|
+
key: 0,
|
|
79
|
+
class: "mr4",
|
|
80
|
+
name: e.btnIcon,
|
|
81
|
+
width: "12",
|
|
82
|
+
height: "12",
|
|
83
|
+
color: "#fff"
|
|
84
|
+
}, null, 8, ["name"])) : u("", !0),
|
|
85
|
+
B(" " + k(e.opeateLoading ? e.btnName + c(V)("act.loading") + "..." : e.btnName), 1)
|
|
86
|
+
]),
|
|
87
|
+
_: 2
|
|
88
|
+
}, 1032, ["type", "loading", "onClick"])) : u("", !0)
|
|
89
|
+
], 64))), 128))
|
|
90
|
+
]);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}, W = /* @__PURE__ */ H(G, [["__scopeId", "data-v-287db3d0"]]);
|
|
94
|
+
export {
|
|
95
|
+
W as default
|
|
96
|
+
};
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { defineAsyncComponent as L, ref as V, watch as B, resolveComponent as u, unref as l, openBlock as t, createElementBlock as b, createVNode as H, normalizeStyle as W, withCtx as c, Fragment as h, renderList as v, withDirectives as j, createBlock as n, createCommentVNode as i, vShow as G, createTextVNode as S, toDisplayString as w } from "vue";
|
|
2
|
+
import { _ as J, u as K, P as X, a as Z, T as N } from "./index-da0a0bfe.js";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
const ee = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "search-module-container"
|
|
8
|
+
}, le = {
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: {
|
|
11
|
+
data: { type: Object, default: () => ({}) }
|
|
12
|
+
},
|
|
13
|
+
emits: ["reset", "search"],
|
|
14
|
+
setup($, { emit: x }) {
|
|
15
|
+
const P = L(() => import("./index-e2f2023d.js")), { t: d } = K(), C = x, y = $;
|
|
16
|
+
let p = V([]), g = V([]), f = V(!0);
|
|
17
|
+
const E = (r) => f.value ? y.data.tableConfig.tableQueryRowWidth > r + 1 : !0, I = (r) => {
|
|
18
|
+
p.value = (r || []).filter((o) => o.useScenes.includes("tableSearch"));
|
|
19
|
+
}, M = (r) => {
|
|
20
|
+
const o = (r || []).filter((s) => s.permissionCode === 1001);
|
|
21
|
+
g.value = [...o, { btnName: d("act.reset"), permissionCode: "9999", btnColor: "info", btnIcon: "btn-reset" }];
|
|
22
|
+
};
|
|
23
|
+
B(
|
|
24
|
+
() => y.data,
|
|
25
|
+
(r, o) => {
|
|
26
|
+
I(r.fields), M(r.buttons);
|
|
27
|
+
},
|
|
28
|
+
{ immediate: !0 }
|
|
29
|
+
);
|
|
30
|
+
const m = (r) => {
|
|
31
|
+
switch (r.permissionCode) {
|
|
32
|
+
case "9999":
|
|
33
|
+
p.value.forEach((s) => {
|
|
34
|
+
s.fieldType.includes("&") ? s.queryValue = [] : s.queryValue = void 0;
|
|
35
|
+
}), C("reset", []);
|
|
36
|
+
break;
|
|
37
|
+
default:
|
|
38
|
+
const o = p.value.filter((s) => !!s.queryValue);
|
|
39
|
+
C("search", o);
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}, D = () => {
|
|
43
|
+
f.value = !f.value;
|
|
44
|
+
};
|
|
45
|
+
return (r, o) => {
|
|
46
|
+
var U;
|
|
47
|
+
const s = u("el-input"), R = u("el-option"), Y = u("el-select"), z = u("el-select-v2"), A = u("el-cascader"), T = u("el-date-picker"), k = u("el-form-item"), O = u("a-svg-icon"), q = u("el-button"), Q = u("el-form");
|
|
48
|
+
return l(p) && l(p).length ? (t(), b("div", ee, [
|
|
49
|
+
H(Q, {
|
|
50
|
+
style: W({ "--table-query-row": y.data.tableConfig.tableQueryRowWidth }),
|
|
51
|
+
class: "form-content",
|
|
52
|
+
ref: "elForm",
|
|
53
|
+
"label-suffix": ":",
|
|
54
|
+
"label-position": "right"
|
|
55
|
+
}, {
|
|
56
|
+
default: c(() => [
|
|
57
|
+
(t(!0), b(h, null, v(l(p), (e, _) => j((t(), n(k, {
|
|
58
|
+
key: _,
|
|
59
|
+
class: "search-form-item",
|
|
60
|
+
"label-width": y.data.tableConfig.tableQueryLabelWidth,
|
|
61
|
+
label: e.fieldName
|
|
62
|
+
}, {
|
|
63
|
+
default: c(() => [
|
|
64
|
+
e.fieldType === "input" || e.fieldType === "editor" ? (t(), n(s, {
|
|
65
|
+
key: 0,
|
|
66
|
+
modelValue: e.queryValue,
|
|
67
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
68
|
+
placeholder: `${l(d)("act.inputPlaceholder")}${e.fieldName}`,
|
|
69
|
+
clearable: ""
|
|
70
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : i("", !0),
|
|
71
|
+
e.fieldType === "inputNumber" ? (t(), n(l(P), {
|
|
72
|
+
key: 1,
|
|
73
|
+
modelValue: e.queryValue,
|
|
74
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
75
|
+
placeholder: `${l(d)("act.inputPlaceholder")}${e.fieldName}`,
|
|
76
|
+
disabled: e.isFormDisabled,
|
|
77
|
+
clearable: ""
|
|
78
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : ["select", "switch", "multipleSelect"].includes(e.fieldType) ? (t(), n(Y, {
|
|
79
|
+
key: 2,
|
|
80
|
+
modelValue: e.queryValue,
|
|
81
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
82
|
+
placeholder: `${l(d)("act.selectPlaceholder")}${e.fieldName}`,
|
|
83
|
+
clearable: "",
|
|
84
|
+
filterable: "",
|
|
85
|
+
multiple: e.fieldType === "multipleSelect",
|
|
86
|
+
"collapse-tags": e.fieldType === "multipleSelect",
|
|
87
|
+
"collapse-tags-tooltip": e.fieldType === "multipleSelect",
|
|
88
|
+
onChange: o[0] || (o[0] = (a) => m({ permissionCode: 1001 }))
|
|
89
|
+
}, {
|
|
90
|
+
default: c(() => [
|
|
91
|
+
(t(!0), b(h, null, v(e.dataList, (a, F) => (t(), n(R, {
|
|
92
|
+
key: F,
|
|
93
|
+
label: a.key,
|
|
94
|
+
value: a.value
|
|
95
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
96
|
+
]),
|
|
97
|
+
_: 2
|
|
98
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "collapse-tags", "collapse-tags-tooltip"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (t(), n(z, {
|
|
99
|
+
key: 3,
|
|
100
|
+
modelValue: e.queryValue,
|
|
101
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
102
|
+
options: e.dataList,
|
|
103
|
+
props: { ...l(X) },
|
|
104
|
+
placeholder: `${l(d)("act.selectPlaceholder")}${e.fieldName}`,
|
|
105
|
+
clearable: "",
|
|
106
|
+
filterable: "",
|
|
107
|
+
"collapse-tags": e.fieldType === "virtualizedMultipleSelect",
|
|
108
|
+
"collapse-tags-tooltip": e.fieldType === "virtualizedMultipleSelect",
|
|
109
|
+
multiple: e.fieldType === "virtualizedMultipleSelect",
|
|
110
|
+
onChange: o[1] || (o[1] = (a) => m({ permissionCode: 1001 }))
|
|
111
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "collapse-tags", "collapse-tags-tooltip", "multiple"])) : e.fieldType === "provinceCascade" ? (t(), n(A, {
|
|
112
|
+
key: 4,
|
|
113
|
+
modelValue: e.queryValue,
|
|
114
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
115
|
+
options: e.dataList,
|
|
116
|
+
props: { ...l(Z), [e.fieldUiType]: !0 },
|
|
117
|
+
clearable: "",
|
|
118
|
+
filterable: "",
|
|
119
|
+
placeholder: l(d)("act.selectPlaceholder") + e.fieldName
|
|
120
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder"])) : e.fieldType === "date" ? (t(), n(T, {
|
|
121
|
+
key: 5,
|
|
122
|
+
modelValue: e.queryValue,
|
|
123
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
124
|
+
type: e.fieldUiType || "date",
|
|
125
|
+
placeholder: `${l(d)("act.selectPlaceholder")}${l(d)("act.time")}`,
|
|
126
|
+
"value-format": l(N)[e.fieldUiType] || "YYYY-MM-DD HH:mm:ss",
|
|
127
|
+
onChange: o[2] || (o[2] = (a) => m({ permissionCode: 1001 }))
|
|
128
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format"])) : e.fieldType === "dateRange" ? (t(), n(T, {
|
|
129
|
+
key: 6,
|
|
130
|
+
modelValue: e.queryValue,
|
|
131
|
+
"onUpdate:modelValue": (a) => e.queryValue = a,
|
|
132
|
+
type: e.fieldUiType || "date",
|
|
133
|
+
"start-placeholder": l(d)("act.startTime"),
|
|
134
|
+
"end-placeholder": l(d)("act.endTime"),
|
|
135
|
+
"value-format": l(N)[e.fieldUiType] || "YYYY-MM-DD HH:mm:ss",
|
|
136
|
+
onChange: o[3] || (o[3] = (a) => m({ permissionCode: 1001 }))
|
|
137
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format"])) : i("", !0)
|
|
138
|
+
]),
|
|
139
|
+
_: 2
|
|
140
|
+
}, 1032, ["label-width", "label"])), [
|
|
141
|
+
[G, E(_)]
|
|
142
|
+
])), 128)),
|
|
143
|
+
l(p).length ? (t(), n(k, {
|
|
144
|
+
key: 0,
|
|
145
|
+
class: "search-form-btn",
|
|
146
|
+
"label-width": "0"
|
|
147
|
+
}, {
|
|
148
|
+
default: c(() => [
|
|
149
|
+
(t(!0), b(h, null, v(l(g), (e, _) => (t(), n(q, {
|
|
150
|
+
key: _,
|
|
151
|
+
type: e.btnColor,
|
|
152
|
+
onClick: (a) => m(e)
|
|
153
|
+
}, {
|
|
154
|
+
default: c(() => [
|
|
155
|
+
e.btnIcon ? (t(), n(O, {
|
|
156
|
+
key: 0,
|
|
157
|
+
class: "mr6",
|
|
158
|
+
name: e.btnIcon,
|
|
159
|
+
width: "12",
|
|
160
|
+
height: "12",
|
|
161
|
+
color: "#fff"
|
|
162
|
+
}, null, 8, ["name"])) : i("", !0),
|
|
163
|
+
S(" " + w(e.btnName), 1)
|
|
164
|
+
]),
|
|
165
|
+
_: 2
|
|
166
|
+
}, 1032, ["type", "onClick"]))), 128))
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
})) : i("", !0)
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 8, ["style"]),
|
|
173
|
+
((U = l(p)) == null ? void 0 : U.length) > y.data.tableConfig.tableQueryRowWidth ? (t(), n(q, {
|
|
174
|
+
key: 0,
|
|
175
|
+
class: "expand",
|
|
176
|
+
text: "",
|
|
177
|
+
size: "small",
|
|
178
|
+
icon: l(f) ? "ArrowDown" : "ArrowUp",
|
|
179
|
+
onClick: D
|
|
180
|
+
}, {
|
|
181
|
+
default: c(() => [
|
|
182
|
+
S(w(l(f) ? "展开" : "收起"), 1)
|
|
183
|
+
]),
|
|
184
|
+
_: 1
|
|
185
|
+
}, 8, ["icon"])) : i("", !0)
|
|
186
|
+
])) : i("", !0);
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}, re = /* @__PURE__ */ J(le, [["__scopeId", "data-v-bc068482"]]);
|
|
190
|
+
export {
|
|
191
|
+
re as default
|
|
192
|
+
};
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { defineAsyncComponent as B, inject as P, reactive as ue, ref as v, watch as pe, resolveComponent as y, openBlock as r, createBlock as p, withCtx as h, createElementVNode as z, createVNode as C, unref as l, createTextVNode as R, toDisplayString as T, createElementBlock as D, Fragment as L, renderList as W, createCommentVNode as J, resolveDynamicComponent as fe, isRef as me, toRaw as ye } from "vue";
|
|
2
|
+
import { b as be, e as he, r as _e, c as ge, _ as Ve, u as Fe, P as Ce, T as G, a as Te } from "./index-da0a0bfe.js";
|
|
3
|
+
import { ElMessage as H, ElNotification as De } from "element-plus";
|
|
4
|
+
import "vue-router";
|
|
5
|
+
const $ = be.create({
|
|
6
|
+
baseURL: "",
|
|
7
|
+
// ""
|
|
8
|
+
timeout: 15e3
|
|
9
|
+
});
|
|
10
|
+
$.interceptors.request.use(
|
|
11
|
+
(s) => {
|
|
12
|
+
let b = sessionStorage.getItem("accessToken");
|
|
13
|
+
return b && (s.headers.Authorization = "Bearer " + b), s.headers["Content-Type"] != "application/x-www-form-urlencoded" && (s.data = { ...s.data }, Reflect.has(s.data, "dynamicFilters") && (s.data.dynamicFilters = he(JSON.stringify(s.data.dynamicFilters)))), s;
|
|
14
|
+
},
|
|
15
|
+
(s) => Promise.reject(s)
|
|
16
|
+
);
|
|
17
|
+
$.interceptors.response.use(
|
|
18
|
+
(s) => {
|
|
19
|
+
const b = s.data;
|
|
20
|
+
if (b.code == 200)
|
|
21
|
+
return b;
|
|
22
|
+
if (b.code == 401)
|
|
23
|
+
sessionStorage.clear(), _e.replace("/"), ge(), H.error({ title: "错误", message: "登陆超时,请重新登录" });
|
|
24
|
+
else
|
|
25
|
+
return H.error({ title: "错误", message: b.msg }), Promise.reject(b.msg);
|
|
26
|
+
},
|
|
27
|
+
(s) => {
|
|
28
|
+
if (s.response.status != -1)
|
|
29
|
+
return Promise.reject(s);
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
const we = { class: "no-config-field" }, Ke = { class: "dialog-footer" }, Ne = {
|
|
33
|
+
__name: "index",
|
|
34
|
+
props: {
|
|
35
|
+
visible: { type: Boolean, default: !1 },
|
|
36
|
+
title: { type: String, default: "" },
|
|
37
|
+
data: { type: Object, default: () => ({}) }
|
|
38
|
+
},
|
|
39
|
+
emits: ["update:visible", "refresh"],
|
|
40
|
+
setup(s, { emit: b }) {
|
|
41
|
+
const Q = B(() => import("./index-e2f2023d.js")), X = B(() => import("./index-da0a0bfe.js").then((a) => a.l)), { t: c } = Fe(), Y = P("loadComponents"), x = P("formatDataType"), A = P("globalProps"), E = b, u = s;
|
|
42
|
+
let g = ue((() => ({
|
|
43
|
+
btnLoading: !1
|
|
44
|
+
}))()), w = v([]), t = v({}), K = v(null), Z = {};
|
|
45
|
+
const I = (a) => a.formColumnCol == null || a.customFiledsComponentes[a.customFiledsComponentes.customComponentName] ? 24 : a.formColumnCol ? a.formColumnCol : 24 / a.formRow, ee = (a) => {
|
|
46
|
+
if (["input", "textarea"].includes(a.fieldType))
|
|
47
|
+
return "blur";
|
|
48
|
+
if (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(a.fieldType))
|
|
49
|
+
return "change";
|
|
50
|
+
}, le = (a) => {
|
|
51
|
+
if (!["input", "textarea"].includes(a) && ["multipleSelect", "dateRange"].includes(a))
|
|
52
|
+
return [];
|
|
53
|
+
}, ae = (a, m) => {
|
|
54
|
+
if (["string"].includes(m))
|
|
55
|
+
return a.join(";");
|
|
56
|
+
if (["number"].includes(m))
|
|
57
|
+
return Number(a);
|
|
58
|
+
if (["array"].includes(m))
|
|
59
|
+
return a;
|
|
60
|
+
}, te = (a) => {
|
|
61
|
+
if (["multipleSelect"].includes(a.fieldType))
|
|
62
|
+
return u.data.rowData[a.fieldKey] ? u.data.rowData[a.fieldKey].split(";") : [];
|
|
63
|
+
if (["dateRange"].includes(a.fieldType)) {
|
|
64
|
+
const m = a.fieldKey.split("&");
|
|
65
|
+
return u.data.rowData[a.fieldKey] = m.map((n) => u.data.rowData[n]), u.data.rowData[a.fieldKey];
|
|
66
|
+
}
|
|
67
|
+
return u.data.rowData[a.fieldKey];
|
|
68
|
+
}, oe = (a) => $({ url: u.data.dataItem.requestUrl, method: "post", data: a });
|
|
69
|
+
pe(
|
|
70
|
+
() => u.visible,
|
|
71
|
+
async (a, m) => {
|
|
72
|
+
a && (u.data.formList.forEach(async (n) => {
|
|
73
|
+
Z[n.fieldKey] = { submitFieldType: n.fieldSubmitType, isFormSetValue: n.isFormSetValue }, t.value[n.fieldKey] = Object.keys(u.data.rowData).length && n.isFormSetValue ? te(n) : le(n.fieldType);
|
|
74
|
+
const { isFiledCustom: V, customComponentName: f, customComponentUrl: F } = n.customFiledsComponentes;
|
|
75
|
+
if (V && !n.customFiledsComponentes[f]) {
|
|
76
|
+
const _ = await Y(F, f);
|
|
77
|
+
n.customFiledsComponentes[f] = _;
|
|
78
|
+
}
|
|
79
|
+
}), w.value = u.data.formList || []);
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
const de = (a) => {
|
|
83
|
+
N(), a();
|
|
84
|
+
}, N = () => {
|
|
85
|
+
w.value = [], K.value.resetFields(), E("update:visible", !1);
|
|
86
|
+
}, se = (a) => {
|
|
87
|
+
a && a.validate((m) => {
|
|
88
|
+
if (m) {
|
|
89
|
+
g.btnLoading = !0;
|
|
90
|
+
const { dataItem: n, rowData: V } = u.data;
|
|
91
|
+
let f = { ...ye(t.value) };
|
|
92
|
+
Object.keys(f).forEach((d) => {
|
|
93
|
+
d.includes("&") ? f[d].split("&").forEach((U, k) => {
|
|
94
|
+
f[U] = f[d][k];
|
|
95
|
+
}) : Array.isArray(f[d]) && (f[d] = ae(f[d], "string"));
|
|
96
|
+
});
|
|
97
|
+
const F = n.submitFields.filter((d) => d.matchType == "default").reduce((d, i) => (i.submitFieldType === "string" && (d[i.submitFieldName] = i.matchFieldName.toString()), d), {}), _ = n.submitFields.filter((d) => d.matchType == "match").reduce((d, i) => (Reflect.has(i, "submitFieldMatchOrigin") && i.submitFieldMatchOrigin != "rowData" ? Reflect.has(A.matchData, i.submitFieldMatchOrigin) && (d[i.submitFieldName] = x(i.submitFieldType, A.matchData[i.submitFieldMatchOrigin][i.matchFieldName])) : d[i.submitFieldName] = x(i.submitFieldType, V[i.matchFieldName]), d), {});
|
|
98
|
+
oe({
|
|
99
|
+
...f,
|
|
100
|
+
...F,
|
|
101
|
+
..._
|
|
102
|
+
}).then((d) => {
|
|
103
|
+
try {
|
|
104
|
+
De({ title: c("act.tip"), message: c("act.saveSuccessfully"), type: "success", duration: 2500 }), N(), E("refresh");
|
|
105
|
+
} catch (i) {
|
|
106
|
+
console.error(i);
|
|
107
|
+
}
|
|
108
|
+
g.btnLoading = !1;
|
|
109
|
+
}).catch((d) => {
|
|
110
|
+
console.error(d), g.btnLoading = !1;
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
};
|
|
115
|
+
return (a, m) => {
|
|
116
|
+
var M;
|
|
117
|
+
const n = y("el-input"), V = y("el-option"), f = y("el-select"), F = y("el-select-v2"), _ = y("el-date-picker"), d = y("el-cascader"), i = y("el-switch"), U = y("el-form-item"), k = y("el-col"), ie = y("el-row"), re = y("el-form"), O = y("el-button"), ne = y("el-dialog");
|
|
118
|
+
return r(), p(ne, {
|
|
119
|
+
"model-value": u.visible,
|
|
120
|
+
title: u.title,
|
|
121
|
+
top: "5vh",
|
|
122
|
+
width: (M = s.data.formConfig) == null ? void 0 : M.dialogWidth,
|
|
123
|
+
"append-to-body": "",
|
|
124
|
+
"destroy-on-close": "",
|
|
125
|
+
"close-on-click-modal": !1,
|
|
126
|
+
"before-close": de
|
|
127
|
+
}, {
|
|
128
|
+
footer: h(() => [
|
|
129
|
+
z("span", Ke, [
|
|
130
|
+
C(O, {
|
|
131
|
+
loading: l(g).btnLoading,
|
|
132
|
+
onClick: N
|
|
133
|
+
}, {
|
|
134
|
+
default: h(() => [
|
|
135
|
+
R(T(l(c)("act.cancel")), 1)
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["loading"]),
|
|
139
|
+
C(O, {
|
|
140
|
+
type: "primary",
|
|
141
|
+
loading: l(g).btnLoading,
|
|
142
|
+
onClick: m[1] || (m[1] = (S) => se(l(K)))
|
|
143
|
+
}, {
|
|
144
|
+
default: h(() => [
|
|
145
|
+
R(T(l(c)("act.save")), 1)
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
}, 8, ["loading"])
|
|
149
|
+
])
|
|
150
|
+
]),
|
|
151
|
+
default: h(() => {
|
|
152
|
+
var S, j;
|
|
153
|
+
return [
|
|
154
|
+
C(re, {
|
|
155
|
+
ref_key: "formRef",
|
|
156
|
+
ref: K,
|
|
157
|
+
model: l(t),
|
|
158
|
+
"label-suffix": ":",
|
|
159
|
+
"label-width": (S = s.data.formConfig) == null ? void 0 : S.formLabelWidth,
|
|
160
|
+
"label-position": (j = s.data.formConfig) == null ? void 0 : j.formLabelPosition
|
|
161
|
+
}, {
|
|
162
|
+
default: h(() => [
|
|
163
|
+
C(ie, { gutter: 40 }, {
|
|
164
|
+
default: h(() => [
|
|
165
|
+
(r(!0), D(L, null, W(l(w), (e, q) => (r(), p(k, {
|
|
166
|
+
span: I(e),
|
|
167
|
+
key: q
|
|
168
|
+
}, {
|
|
169
|
+
default: h(() => [
|
|
170
|
+
e.customFiledsComponentes.isFiledCustom ? (r(), D(L, { key: 1 }, [
|
|
171
|
+
e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (r(), p(fe(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
|
|
172
|
+
key: 0,
|
|
173
|
+
fieldCofnigItem: e,
|
|
174
|
+
rowData: u.data.rowData,
|
|
175
|
+
form: l(t),
|
|
176
|
+
"onUpdate:form": m[0] || (m[0] = (o) => me(t) ? t.value = o : t = o)
|
|
177
|
+
}, null, 40, ["fieldCofnigItem", "rowData", "form"])) : (r(), D("div", {
|
|
178
|
+
class: "no-config",
|
|
179
|
+
key: q
|
|
180
|
+
}, [
|
|
181
|
+
z("span", we, "【" + T(e.fieldName) + "】", 1),
|
|
182
|
+
R(T(l(c)("act.fieldCustom")), 1)
|
|
183
|
+
]))
|
|
184
|
+
], 64)) : (r(), p(U, {
|
|
185
|
+
key: 0,
|
|
186
|
+
label: e.fieldName,
|
|
187
|
+
prop: e.fieldKey,
|
|
188
|
+
rules: [{ required: e.isFormFieldRequired, message: l(c)("act.requiredMessage"), trigger: ee(e) }]
|
|
189
|
+
}, {
|
|
190
|
+
default: h(() => [
|
|
191
|
+
e.fieldType === "input" ? (r(), p(n, {
|
|
192
|
+
key: 0,
|
|
193
|
+
modelValue: l(t)[e.fieldKey],
|
|
194
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
195
|
+
placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
|
|
196
|
+
disabled: e.isFormDisabled,
|
|
197
|
+
clearable: ""
|
|
198
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : J("", !0),
|
|
199
|
+
e.fieldType === "inputNumber" ? (r(), p(l(Q), {
|
|
200
|
+
key: 1,
|
|
201
|
+
modelValue: l(t)[e.fieldKey],
|
|
202
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
203
|
+
placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
|
|
204
|
+
disabled: e.isFormDisabled,
|
|
205
|
+
clearable: ""
|
|
206
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (r(), p(n, {
|
|
207
|
+
key: 2,
|
|
208
|
+
modelValue: l(t)[e.fieldKey],
|
|
209
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
210
|
+
type: "textarea",
|
|
211
|
+
placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`,
|
|
212
|
+
disabled: e.isFormDisabled,
|
|
213
|
+
rows: 4
|
|
214
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : ["select", "multipleSelect"].includes(e.fieldType) ? (r(), p(f, {
|
|
215
|
+
key: 3,
|
|
216
|
+
modelValue: l(t)[e.fieldKey],
|
|
217
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
218
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
|
|
219
|
+
disabled: e.isFormDisabled,
|
|
220
|
+
clearable: "",
|
|
221
|
+
filterable: "",
|
|
222
|
+
multiple: e.fieldType === "multipleSelect"
|
|
223
|
+
}, {
|
|
224
|
+
default: h(() => [
|
|
225
|
+
(r(!0), D(L, null, W(e.dataList, (o, ce) => (r(), p(V, {
|
|
226
|
+
key: ce,
|
|
227
|
+
label: o.key,
|
|
228
|
+
value: o.value
|
|
229
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
230
|
+
]),
|
|
231
|
+
_: 2
|
|
232
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "multiple"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (r(), p(F, {
|
|
233
|
+
key: 4,
|
|
234
|
+
modelValue: l(t)[e.fieldKey],
|
|
235
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
236
|
+
options: e.dataList,
|
|
237
|
+
props: { ...l(Ce) },
|
|
238
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
|
|
239
|
+
disabled: e.isFormDisabled,
|
|
240
|
+
clearable: "",
|
|
241
|
+
filterable: "",
|
|
242
|
+
multiple: e.fieldType === "virtualizedMultipleSelect"
|
|
243
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled", "multiple"])) : e.fieldType === "date" ? (r(), p(_, {
|
|
244
|
+
key: 5,
|
|
245
|
+
modelValue: l(t)[e.fieldKey],
|
|
246
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
247
|
+
type: e.fieldUiType,
|
|
248
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${l(c)("act.time")}`,
|
|
249
|
+
"value-format": l(G)[e.fieldUiType],
|
|
250
|
+
disabled: e.isFormDisabled
|
|
251
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "placeholder", "value-format", "disabled"])) : e.fieldType === "dateRange" ? (r(), p(_, {
|
|
252
|
+
key: 6,
|
|
253
|
+
modelValue: l(t)[e.fieldKey],
|
|
254
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
255
|
+
type: e.fieldUiType,
|
|
256
|
+
"start-placeholder": l(c)("act.startTime"),
|
|
257
|
+
"end-placeholder": l(c)("act.endTime"),
|
|
258
|
+
"value-format": l(G)[e.fieldUiType],
|
|
259
|
+
disabled: e.isFormDisabled
|
|
260
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "start-placeholder", "end-placeholder", "value-format", "disabled"])) : e.fieldType === "provinceCascade" ? (r(), p(d, {
|
|
261
|
+
key: 7,
|
|
262
|
+
modelValue: l(t)[e.fieldKey],
|
|
263
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
264
|
+
options: e.dataList,
|
|
265
|
+
props: l(Te),
|
|
266
|
+
clearable: "",
|
|
267
|
+
filterable: "",
|
|
268
|
+
placeholder: `${l(c)("act.selectPlaceholder")}${e.fieldName}`,
|
|
269
|
+
disabled: e.isFormDisabled
|
|
270
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (r(), p(i, {
|
|
271
|
+
key: 8,
|
|
272
|
+
modelValue: l(t)[e.fieldKey],
|
|
273
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
274
|
+
"active-value": !0,
|
|
275
|
+
"inactive-value": !1
|
|
276
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "editor" ? (r(), p(l(X), {
|
|
277
|
+
key: 9,
|
|
278
|
+
modelValue: l(t)[e.fieldKey],
|
|
279
|
+
"onUpdate:modelValue": (o) => l(t)[e.fieldKey] = o,
|
|
280
|
+
disabled: e.isFormDisabled,
|
|
281
|
+
placeholder: `${l(c)("act.inputPlaceholder")}${e.fieldName}`
|
|
282
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder"])) : J("", !0)
|
|
283
|
+
]),
|
|
284
|
+
_: 2
|
|
285
|
+
}, 1032, ["label", "prop", "rules"]))
|
|
286
|
+
]),
|
|
287
|
+
_: 2
|
|
288
|
+
}, 1032, ["span"]))), 128))
|
|
289
|
+
]),
|
|
290
|
+
_: 1
|
|
291
|
+
})
|
|
292
|
+
]),
|
|
293
|
+
_: 1
|
|
294
|
+
}, 8, ["model", "label-width", "label-position"])
|
|
295
|
+
];
|
|
296
|
+
}),
|
|
297
|
+
_: 1
|
|
298
|
+
}, 8, ["model-value", "title", "width"]);
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
}, Re = /* @__PURE__ */ Ve(Ne, [["__scopeId", "data-v-fdec5545"]]);
|
|
302
|
+
export {
|
|
303
|
+
Re as default
|
|
304
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { reactive as m, watch as v, resolveComponent as s, openBlock as b, createBlock as g, withCtx as o, createElementVNode as i, createVNode as x, createTextVNode as y, toDisplayString as h, unref as C } from "vue";
|
|
2
|
+
import { _ as k, u as V } from "./index-da0a0bfe.js";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
const w = ["innerHTML"], B = { class: "dialog-footer" }, D = {
|
|
6
|
+
__name: "index",
|
|
7
|
+
props: {
|
|
8
|
+
visible: { type: Boolean, default: !1 },
|
|
9
|
+
title: { type: String, default: "" },
|
|
10
|
+
data: { type: Object, default: () => ({}) }
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:visible", "refresh"],
|
|
13
|
+
setup(a, { emit: c }) {
|
|
14
|
+
const { t: d } = V(), r = c, t = a;
|
|
15
|
+
let l = m((() => ({
|
|
16
|
+
loading: !1
|
|
17
|
+
}))());
|
|
18
|
+
v(
|
|
19
|
+
() => t.visible,
|
|
20
|
+
async (e, p) => {
|
|
21
|
+
e && (l.loading = !0, l.loading = !1);
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
const _ = (e) => {
|
|
25
|
+
n(), e();
|
|
26
|
+
}, n = () => {
|
|
27
|
+
r("update:visible", !1);
|
|
28
|
+
};
|
|
29
|
+
return (e, p) => {
|
|
30
|
+
const f = s("el-button"), u = s("el-dialog");
|
|
31
|
+
return b(), g(u, {
|
|
32
|
+
"model-value": t.visible,
|
|
33
|
+
title: t.title,
|
|
34
|
+
top: "5vh",
|
|
35
|
+
width: 800,
|
|
36
|
+
"append-to-body": "",
|
|
37
|
+
"destroy-on-close": "",
|
|
38
|
+
"close-on-click-modal": !1,
|
|
39
|
+
"before-close": _
|
|
40
|
+
}, {
|
|
41
|
+
footer: o(() => [
|
|
42
|
+
i("span", B, [
|
|
43
|
+
x(f, { onClick: n }, {
|
|
44
|
+
default: o(() => [
|
|
45
|
+
y(h(C(d)("act.cancel")), 1)
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
})
|
|
49
|
+
])
|
|
50
|
+
]),
|
|
51
|
+
default: o(() => [
|
|
52
|
+
i("div", {
|
|
53
|
+
innerHTML: a.data.editorContent
|
|
54
|
+
}, null, 8, w)
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["model-value", "title"]);
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}, M = /* @__PURE__ */ k(D, [["__scopeId", "data-v-a8dbe98a"]]);
|
|
61
|
+
export {
|
|
62
|
+
M as default
|
|
63
|
+
};
|