act-plus 1.1.78 → 1.1.79
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 +1 -1
- package/act-plus.umd.cjs +55 -55
- package/lib/{dialogAddField-6b36374f.js → dialogAddField-5f14fddc.js} +33 -33
- package/lib/{dialogConfigBtn-bc3654e4.js → dialogConfigBtn-a5954155.js} +21 -21
- package/lib/{dialogSiteComponentsParams-50ddae0f.js → dialogSiteComponentsParams-2524289e.js} +7 -7
- package/lib/{index-c69e0f9a.js → index-07377f1f.js} +1174 -1142
- package/lib/{index-96a5d15c.js → index-16fe3b49.js} +1 -1
- package/lib/{index-7c99a393.js → index-1b2ea391.js} +178 -188
- package/lib/{index-7a82a0bc.js → index-35e3b49c.js} +112 -104
- package/lib/{index-07ea7c6f.js → index-3c586d22.js} +21 -21
- package/lib/{index-d37c9fc1.js → index-7fbc8aef.js} +2 -2
- package/lib/{index-ada2bff9.js → index-80a6ed89.js} +4788 -4535
- package/lib/{index-9b985e07.js → index-93eae228.js} +18 -25
- package/lib/{index-c5b44aa1.js → index-a65addb1.js} +4 -4
- package/lib/{index-4b01c50e.js → index-a8a38c71.js} +5 -5
- package/package.json +16 -16
- package/style.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { watch as
|
|
2
|
-
import
|
|
1
|
+
import { watch as h, defineComponent as L, toRefs as N, ref as I, onMounted as M, onBeforeUnmount as R, onActivated as q, onDeactivated as K, h as E, nextTick as w, reactive as F, computed as T, openBlock as G, createElementBlock as H, createVNode as W, unref as Y } from "vue";
|
|
2
|
+
import C from "tinymce/tinymce";
|
|
3
3
|
import "tinymce/icons/default/icons";
|
|
4
4
|
import "tinymce/models/dom";
|
|
5
5
|
import "tinymce/themes/silver";
|
|
@@ -28,7 +28,7 @@ import "tinymce/plugins/importcss";
|
|
|
28
28
|
import "tinymce/plugins/accordion";
|
|
29
29
|
import "tinymce/plugins/anchor";
|
|
30
30
|
import "tinymce/plugins/fullscreen";
|
|
31
|
-
var
|
|
31
|
+
var J = [
|
|
32
32
|
"onActivate",
|
|
33
33
|
"onAddUndo",
|
|
34
34
|
"onBeforeAddUndo",
|
|
@@ -96,70 +96,73 @@ var H = [
|
|
|
96
96
|
"onSubmit",
|
|
97
97
|
"onUndo",
|
|
98
98
|
"onVisualAid"
|
|
99
|
-
],
|
|
100
|
-
return
|
|
99
|
+
], Q = function(e) {
|
|
100
|
+
return J.map(function(n) {
|
|
101
101
|
return n.toLowerCase();
|
|
102
102
|
}).indexOf(e.toLowerCase()) !== -1;
|
|
103
|
-
},
|
|
104
|
-
Object.keys(n).filter(
|
|
103
|
+
}, X = function(e, n, t) {
|
|
104
|
+
Object.keys(n).filter(Q).forEach(function(i) {
|
|
105
105
|
var o = n[i];
|
|
106
|
-
typeof o == "function" && (i === "onInit" ? o(e, t) : t.on(i.substring(2), function(
|
|
107
|
-
return o(
|
|
106
|
+
typeof o == "function" && (i === "onInit" ? o(e, t) : t.on(i.substring(2), function(l) {
|
|
107
|
+
return o(l, t);
|
|
108
108
|
}));
|
|
109
109
|
});
|
|
110
|
-
},
|
|
111
|
-
var o = e.modelEvents ? e.modelEvents : null,
|
|
112
|
-
|
|
113
|
-
t && typeof
|
|
114
|
-
}), t.on(
|
|
110
|
+
}, Z = function(e, n, t, i) {
|
|
111
|
+
var o = e.modelEvents ? e.modelEvents : null, l = Array.isArray(o) ? o.join(" ") : o;
|
|
112
|
+
h(i, function(r, s) {
|
|
113
|
+
t && typeof r == "string" && r !== s && r !== t.getContent({ format: e.outputFormat }) && t.setContent(r);
|
|
114
|
+
}), t.on(l || "change input undo redo", function() {
|
|
115
115
|
n.emit("update:modelValue", t.getContent({ format: e.outputFormat }));
|
|
116
116
|
});
|
|
117
|
-
},
|
|
118
|
-
i.setContent(
|
|
119
|
-
},
|
|
117
|
+
}, $ = function(e, n, t, i, o, l) {
|
|
118
|
+
i.setContent(l()), t.attrs["onUpdate:modelValue"] && Z(n, t, i, o), X(e, t.attrs, i);
|
|
119
|
+
}, V = 0, O = function(e) {
|
|
120
120
|
var n = Date.now(), t = Math.floor(Math.random() * 1e9);
|
|
121
|
-
return
|
|
122
|
-
},
|
|
121
|
+
return V++, e + "_" + t + V + String(n);
|
|
122
|
+
}, ee = function(e) {
|
|
123
123
|
return e !== null && e.tagName.toLowerCase() === "textarea";
|
|
124
|
-
},
|
|
124
|
+
}, B = function(e) {
|
|
125
125
|
return typeof e > "u" || e === "" ? [] : Array.isArray(e) ? e : e.split(" ");
|
|
126
|
-
},
|
|
127
|
-
return
|
|
128
|
-
},
|
|
126
|
+
}, te = function(e, n) {
|
|
127
|
+
return B(e).concat(B(n));
|
|
128
|
+
}, ne = function(e) {
|
|
129
129
|
return e == null;
|
|
130
|
-
},
|
|
130
|
+
}, A = function(e) {
|
|
131
|
+
var n;
|
|
132
|
+
return typeof ((n = e.options) === null || n === void 0 ? void 0 : n.set) == "function" && e.options.isRegistered("disabled");
|
|
133
|
+
}, D = function() {
|
|
131
134
|
return {
|
|
132
135
|
listeners: [],
|
|
133
|
-
scriptId:
|
|
136
|
+
scriptId: O("tiny-script"),
|
|
134
137
|
scriptLoaded: !1
|
|
135
138
|
};
|
|
136
|
-
},
|
|
137
|
-
var e =
|
|
138
|
-
var
|
|
139
|
-
|
|
140
|
-
var
|
|
141
|
-
|
|
139
|
+
}, oe = function() {
|
|
140
|
+
var e = D(), n = function(o, l, r, s) {
|
|
141
|
+
var u = l.createElement("script");
|
|
142
|
+
u.referrerPolicy = "origin", u.type = "application/javascript", u.id = o, u.src = r;
|
|
143
|
+
var a = function() {
|
|
144
|
+
u.removeEventListener("load", a), s();
|
|
142
145
|
};
|
|
143
|
-
|
|
144
|
-
}, t = function(o,
|
|
145
|
-
e.scriptLoaded ?
|
|
146
|
-
e.listeners.forEach(function(
|
|
147
|
-
return
|
|
146
|
+
u.addEventListener("load", a), l.head && l.head.appendChild(u);
|
|
147
|
+
}, t = function(o, l, r) {
|
|
148
|
+
e.scriptLoaded ? r() : (e.listeners.push(r), o.getElementById(e.scriptId) || n(e.scriptId, o, l, function() {
|
|
149
|
+
e.listeners.forEach(function(s) {
|
|
150
|
+
return s();
|
|
148
151
|
}), e.scriptLoaded = !0;
|
|
149
152
|
}));
|
|
150
153
|
}, i = function() {
|
|
151
|
-
e =
|
|
154
|
+
e = D();
|
|
152
155
|
};
|
|
153
156
|
return {
|
|
154
157
|
load: t,
|
|
155
158
|
reinitialize: i
|
|
156
159
|
};
|
|
157
|
-
},
|
|
160
|
+
}, ie = oe(), ae = function() {
|
|
158
161
|
return typeof window < "u" ? window : global;
|
|
159
|
-
},
|
|
160
|
-
var e =
|
|
162
|
+
}, p = function() {
|
|
163
|
+
var e = ae();
|
|
161
164
|
return e && e.tinymce ? e.tinymce : null;
|
|
162
|
-
},
|
|
165
|
+
}, re = {
|
|
163
166
|
apiKey: String,
|
|
164
167
|
licenseKey: String,
|
|
165
168
|
cloudChannel: String,
|
|
@@ -173,6 +176,7 @@ var H = [
|
|
|
173
176
|
toolbar: [String, Array],
|
|
174
177
|
modelValue: String,
|
|
175
178
|
disabled: Boolean,
|
|
179
|
+
readonly: Boolean,
|
|
176
180
|
tinymceScriptSrc: String,
|
|
177
181
|
outputFormat: {
|
|
178
182
|
type: String,
|
|
@@ -180,83 +184,87 @@ var H = [
|
|
|
180
184
|
return e === "html" || e === "text";
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
|
-
},
|
|
184
|
-
return
|
|
187
|
+
}, f = globalThis && globalThis.__assign || function() {
|
|
188
|
+
return f = Object.assign || function(e) {
|
|
185
189
|
for (var n, t = 1, i = arguments.length; t < i; t++) {
|
|
186
190
|
n = arguments[t];
|
|
187
191
|
for (var o in n)
|
|
188
192
|
Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
189
193
|
}
|
|
190
194
|
return e;
|
|
191
|
-
},
|
|
192
|
-
},
|
|
195
|
+
}, f.apply(this, arguments);
|
|
196
|
+
}, le = function(e, n, t, i) {
|
|
193
197
|
return e(i || "div", {
|
|
194
198
|
id: n,
|
|
195
199
|
ref: t
|
|
196
200
|
});
|
|
197
|
-
},
|
|
201
|
+
}, ue = function(e, n, t) {
|
|
198
202
|
return e("textarea", {
|
|
199
203
|
id: n,
|
|
200
204
|
visibility: "hidden",
|
|
201
205
|
ref: t
|
|
202
206
|
});
|
|
203
|
-
},
|
|
204
|
-
|
|
207
|
+
}, k = { selector: void 0, target: void 0 }, x = function(e, n) {
|
|
208
|
+
var t;
|
|
209
|
+
typeof ((t = e.mode) === null || t === void 0 ? void 0 : t.set) == "function" ? e.mode.set(n) : e.setMode(n);
|
|
210
|
+
}, de = L({
|
|
211
|
+
props: re,
|
|
205
212
|
setup: function(e, n) {
|
|
206
|
-
var t = e.init ?
|
|
207
|
-
return
|
|
213
|
+
var t = e.init ? f(f({}, e.init), k) : f({}, k), i = N(e), o = i.disabled, l = i.readonly, r = i.modelValue, s = i.tagName, u = I(null), a = null, m = e.id || O("tiny-vue"), v = e.init && e.init.inline || e.inline, y = !!n.attrs["onUpdate:modelValue"], S = !0, P = e.initialValue ? e.initialValue : "", _ = "", U = function(d) {
|
|
214
|
+
return y ? function() {
|
|
208
215
|
return r != null && r.value ? r.value : "";
|
|
209
216
|
} : function() {
|
|
210
|
-
return
|
|
217
|
+
return d ? P : _;
|
|
211
218
|
};
|
|
212
|
-
},
|
|
213
|
-
var
|
|
214
|
-
a = g, g.on("init", function(
|
|
215
|
-
return
|
|
219
|
+
}, b = function() {
|
|
220
|
+
var d = U(S), c = f(f({}, t), { disabled: e.disabled, readonly: e.readonly, target: u.value, plugins: te(t.plugins, e.plugins), toolbar: e.toolbar || t.toolbar, inline: v, license_key: e.licenseKey, setup: function(g) {
|
|
221
|
+
a = g, !A(a) && e.disabled === !0 && x(a, "readonly"), g.on("init", function(z) {
|
|
222
|
+
return $(z, e, n, g, r, d);
|
|
216
223
|
}), typeof t.setup == "function" && t.setup(g);
|
|
217
224
|
} });
|
|
218
|
-
|
|
225
|
+
ee(u.value) && (u.value.style.visibility = ""), p().init(c), S = !1;
|
|
219
226
|
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
227
|
+
h(l, function(d) {
|
|
228
|
+
a !== null && x(a, d ? "readonly" : "design");
|
|
229
|
+
}), h(o, function(d) {
|
|
230
|
+
a !== null && (A(a) ? a.options.set("disabled", d) : x(a, d ? "readonly" : "design"));
|
|
231
|
+
}), h(s, function(d) {
|
|
232
|
+
var c;
|
|
233
|
+
a && (y || (_ = a.getContent()), (c = p()) === null || c === void 0 || c.remove(a), w(function() {
|
|
234
|
+
return b();
|
|
235
|
+
}));
|
|
236
|
+
}), M(function() {
|
|
237
|
+
if (p() !== null)
|
|
238
|
+
b();
|
|
239
|
+
else if (u.value && u.value.ownerDocument) {
|
|
240
|
+
var d = e.cloudChannel ? e.cloudChannel : "8", c = e.apiKey ? e.apiKey : "no-api-key", g = ne(e.tinymceScriptSrc) ? "https://cdn.tiny.cloud/1/".concat(c, "/tinymce/").concat(d, "/tinymce.min.js") : e.tinymceScriptSrc;
|
|
241
|
+
ie.load(u.value.ownerDocument, g, b);
|
|
234
242
|
}
|
|
235
|
-
}),
|
|
236
|
-
|
|
237
|
-
}),
|
|
238
|
-
|
|
239
|
-
}),
|
|
240
|
-
var u;
|
|
241
|
-
f || (b = a.getContent()), (u = v()) === null || u === void 0 || u.remove(a);
|
|
242
|
-
}));
|
|
243
|
-
var O = function(u) {
|
|
243
|
+
}), R(function() {
|
|
244
|
+
p() !== null && p().remove(a);
|
|
245
|
+
}), v || (q(function() {
|
|
246
|
+
S || b();
|
|
247
|
+
}), K(function() {
|
|
244
248
|
var d;
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
249
|
+
a && (y || (_ = a.getContent()), (d = p()) === null || d === void 0 || d.remove(a));
|
|
250
|
+
}));
|
|
251
|
+
var j = function(d) {
|
|
252
|
+
var c;
|
|
253
|
+
a && (_ = a.getContent(), (c = p()) === null || c === void 0 || c.remove(a), t = f(f(f({}, t), d), k), w(function() {
|
|
254
|
+
return b();
|
|
255
|
+
}));
|
|
248
256
|
};
|
|
249
257
|
return n.expose({
|
|
250
|
-
rerender:
|
|
258
|
+
rerender: j,
|
|
251
259
|
getEditor: function() {
|
|
252
260
|
return a;
|
|
253
261
|
}
|
|
254
262
|
}), function() {
|
|
255
|
-
return
|
|
263
|
+
return v ? le(E, m, u, e.tagName) : ue(E, m, u);
|
|
256
264
|
};
|
|
257
265
|
}
|
|
258
266
|
});
|
|
259
|
-
const
|
|
267
|
+
const se = { style: { height: "100%", overflow: "hidden" } }, qe = {
|
|
260
268
|
__name: "index",
|
|
261
269
|
props: {
|
|
262
270
|
modelValue: { type: String, default: "" },
|
|
@@ -278,8 +286,8 @@ const le = { style: { height: "100%", overflow: "hidden" } }, Le = {
|
|
|
278
286
|
},
|
|
279
287
|
emits: ["update:modelValue", "setHtml"],
|
|
280
288
|
setup(e, { expose: n, emit: t }) {
|
|
281
|
-
const i = t, o = e,
|
|
282
|
-
selector: "#" +
|
|
289
|
+
const i = t, o = e, l = I("vue-tinymce-" + +/* @__PURE__ */ new Date() + ((Math.random() * 1e3).toFixed(0) + "")), r = F({
|
|
290
|
+
selector: "#" + l.value,
|
|
283
291
|
//富文本编辑器的id,
|
|
284
292
|
language_url: "/tinymce/langs/zh_CN.js",
|
|
285
293
|
// 语言包的路径,具体路径看自己的项目
|
|
@@ -340,11 +348,11 @@ const le = { style: { height: "100%", overflow: "hidden" } }, Le = {
|
|
|
340
348
|
// autoresize_bottom_margin: 12,
|
|
341
349
|
// autoresize_overflow_padding: 16,
|
|
342
350
|
//图片上传 -实列 具体请根据官网补充-
|
|
343
|
-
images_upload_handler: function(m,
|
|
351
|
+
images_upload_handler: function(m, v) {
|
|
344
352
|
}
|
|
345
353
|
});
|
|
346
|
-
console.log(
|
|
347
|
-
const
|
|
354
|
+
console.log(r);
|
|
355
|
+
const s = T({
|
|
348
356
|
get() {
|
|
349
357
|
return o.modelValue;
|
|
350
358
|
},
|
|
@@ -352,30 +360,30 @@ const le = { style: { height: "100%", overflow: "hidden" } }, Le = {
|
|
|
352
360
|
i("update:modelValue", m);
|
|
353
361
|
}
|
|
354
362
|
});
|
|
355
|
-
return
|
|
356
|
-
() =>
|
|
363
|
+
return h(
|
|
364
|
+
() => s.value,
|
|
357
365
|
() => {
|
|
358
|
-
i("setHtml",
|
|
366
|
+
i("setHtml", C.activeEditor.getContent({ format: "text" }), s.value);
|
|
359
367
|
}
|
|
360
|
-
),
|
|
361
|
-
|
|
368
|
+
), M(() => {
|
|
369
|
+
C.init({});
|
|
362
370
|
}), n({
|
|
363
|
-
onGetContent: () =>
|
|
371
|
+
onGetContent: () => C.activeEditor.getContent(),
|
|
364
372
|
onSetContent: (m) => {
|
|
365
|
-
|
|
373
|
+
C.activeEditor.setContent(m);
|
|
366
374
|
}
|
|
367
|
-
}), (m,
|
|
368
|
-
|
|
369
|
-
modelValue:
|
|
370
|
-
"onUpdate:modelValue":
|
|
371
|
-
init:
|
|
375
|
+
}), (m, v) => (G(), H("div", se, [
|
|
376
|
+
W(Y(de), {
|
|
377
|
+
modelValue: s.value,
|
|
378
|
+
"onUpdate:modelValue": v[0] || (v[0] = (y) => s.value = y),
|
|
379
|
+
init: r,
|
|
372
380
|
disabled: e.disabled,
|
|
373
381
|
placeholder: e.placeholder,
|
|
374
|
-
id:
|
|
382
|
+
id: l.value
|
|
375
383
|
}, null, 8, ["modelValue", "init", "disabled", "placeholder", "id"])
|
|
376
384
|
]));
|
|
377
385
|
}
|
|
378
386
|
};
|
|
379
387
|
export {
|
|
380
|
-
|
|
388
|
+
qe as default
|
|
381
389
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as J, inject as _, computed as K, watch as Q, resolveComponent as g, resolveDirective as U, openBlock as t, createElementBlock as m, Fragment as C, renderList as I, createBlock as s, resolveDynamicComponent as F, unref as
|
|
2
|
-
import { _ as W, u as X, c as Y } from "./index-
|
|
1
|
+
import { ref as J, inject as _, computed as K, watch as Q, resolveComponent as g, resolveDirective as U, openBlock as t, createElementBlock as m, Fragment as C, renderList as I, createBlock as s, resolveDynamicComponent as F, unref as c, withCtx as r, withDirectives as k, createCommentVNode as p, createTextVNode as h, toDisplayString as B, createVNode as N } from "vue";
|
|
2
|
+
import { _ as W, u as X, c as Y } from "./index-07377f1f.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const Z = { class: "header-operate-container" }, ee = {
|
|
@@ -30,9 +30,9 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
30
30
|
}, L = (o) => {
|
|
31
31
|
if (!o.matchFields.length)
|
|
32
32
|
return !0;
|
|
33
|
-
const n = o.matchFields.filter((a) => a.matchType != "default"),
|
|
33
|
+
const n = o.matchFields.filter((a) => a.matchType != "default"), d = (a) => A.matchData[a.matchType][a.matchFieldName];
|
|
34
34
|
let $ = n.reduce((a, l, i) => {
|
|
35
|
-
const e =
|
|
35
|
+
const e = d(l);
|
|
36
36
|
return a += q(
|
|
37
37
|
l.matchCondition,
|
|
38
38
|
e,
|
|
@@ -41,7 +41,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
41
41
|
}, "").split("||"), T = $.reduce((a, l, i) => (a += `(${l})`, i < $.length - 1 && (a += "||"), a), "");
|
|
42
42
|
return new Function(`return ${T}`)();
|
|
43
43
|
}, V = (o) => O.value.some((n) => n.unique == o.permissionCode) && L(o), z = (o) => {
|
|
44
|
-
f.value = (o || []).filter((n) => n.permissionCode !== 1001 && n.btnPostion.includes("header")).sort((n,
|
|
44
|
+
f.value = (o || []).filter((n) => n.permissionCode !== 1001 && n.btnPostion.includes("header")).sort((n, d) => n.sort - d.sort).map((n) => (n.btnAlias && (n.btnName = n.btnAlias), Reflect.has(n, "isPromptVerificationSelectTable") || (n.isPromptVerificationSelectTable = "1"), n));
|
|
45
45
|
};
|
|
46
46
|
Q(
|
|
47
47
|
() => y.data,
|
|
@@ -54,7 +54,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
54
54
|
R("onOperate", o, {});
|
|
55
55
|
};
|
|
56
56
|
return (o, n) => {
|
|
57
|
-
const
|
|
57
|
+
const d = g("a-svg-icon"), b = g("el-button"), $ = g("el-icon"), T = g("el-dropdown-item"), a = g("el-dropdown-menu"), l = g("el-dropdown"), i = U("debounce");
|
|
58
58
|
return t(), m("div", Z, [
|
|
59
59
|
(t(!0), m(C, null, I(E(), (e, G) => (t(), m(C, {
|
|
60
60
|
key: e.permissionCode
|
|
@@ -64,9 +64,9 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
64
64
|
key: 0,
|
|
65
65
|
class: "custom-btn",
|
|
66
66
|
ref_for: !0,
|
|
67
|
-
ref: (u) =>
|
|
67
|
+
ref: (u) => c(D)[`${e.customComponentName}-${e.permissionCode}`] = u,
|
|
68
68
|
buttonData: e,
|
|
69
|
-
onRefresh: n[0] || (n[0] = (u) =>
|
|
69
|
+
onRefresh: n[0] || (n[0] = (u) => c(x)())
|
|
70
70
|
}, {
|
|
71
71
|
default: r(() => [
|
|
72
72
|
k((t(), s(b, {
|
|
@@ -76,7 +76,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
76
76
|
onClick: (u) => S(e)
|
|
77
77
|
}, {
|
|
78
78
|
default: r(() => [
|
|
79
|
-
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(
|
|
79
|
+
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(d, {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: "mr4",
|
|
82
82
|
name: e.btnIcon,
|
|
@@ -84,7 +84,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
84
84
|
height: "12",
|
|
85
85
|
color: "#fff"
|
|
86
86
|
}, null, 8, ["name"])) : p("", !0),
|
|
87
|
-
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName +
|
|
87
|
+
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName + c(w)("act.loading") + "..." : e.btnName), 1)
|
|
88
88
|
]),
|
|
89
89
|
_: 2
|
|
90
90
|
}, 1032, ["type", "loading", "onClick"])), [
|
|
@@ -100,7 +100,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
100
100
|
onClick: (u) => S(e)
|
|
101
101
|
}, {
|
|
102
102
|
default: r(() => [
|
|
103
|
-
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(
|
|
103
|
+
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(d, {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "mr4",
|
|
106
106
|
name: e.btnIcon,
|
|
@@ -108,7 +108,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
108
108
|
height: "12",
|
|
109
109
|
color: "#fff"
|
|
110
110
|
}, null, 8, ["name"])) : p("", !0),
|
|
111
|
-
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName +
|
|
111
|
+
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName + c(w)("act.loading") + "..." : e.btnName), 1)
|
|
112
112
|
]),
|
|
113
113
|
_: 2
|
|
114
114
|
}, 1032, ["type", "loading", "onClick"])), [
|
|
@@ -133,9 +133,9 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
133
133
|
key: 0,
|
|
134
134
|
class: "custom-btn",
|
|
135
135
|
ref_for: !0,
|
|
136
|
-
ref: (u) =>
|
|
136
|
+
ref: (u) => c(D)[`${e.customComponentName}-${e.permissionCode}`] = u,
|
|
137
137
|
buttonData: e,
|
|
138
|
-
onRefresh: n[1] || (n[1] = (u) =>
|
|
138
|
+
onRefresh: n[1] || (n[1] = (u) => c(x)())
|
|
139
139
|
}, {
|
|
140
140
|
default: r(() => [
|
|
141
141
|
k((t(), s(b, {
|
|
@@ -144,7 +144,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
144
144
|
loading: e[`loading${e.permissionCode}`]
|
|
145
145
|
}, {
|
|
146
146
|
default: r(() => [
|
|
147
|
-
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(
|
|
147
|
+
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(d, {
|
|
148
148
|
key: 0,
|
|
149
149
|
class: "mr4",
|
|
150
150
|
name: e.btnIcon,
|
|
@@ -152,7 +152,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
152
152
|
height: "12",
|
|
153
153
|
color: "#fff"
|
|
154
154
|
}, null, 8, ["name"])) : p("", !0),
|
|
155
|
-
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName +
|
|
155
|
+
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName + c(w)("act.loading") + "..." : e.btnName), 1)
|
|
156
156
|
]),
|
|
157
157
|
_: 2
|
|
158
158
|
}, 1032, ["type", "loading"])), [
|
|
@@ -167,7 +167,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
167
167
|
loading: e[`loading${e.permissionCode}`]
|
|
168
168
|
}, {
|
|
169
169
|
default: r(() => [
|
|
170
|
-
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(
|
|
170
|
+
e.btnIcon && !e[`loading${e.permissionCode}`] ? (t(), s(d, {
|
|
171
171
|
key: 0,
|
|
172
172
|
class: "mr4",
|
|
173
173
|
name: e.btnIcon,
|
|
@@ -175,7 +175,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
175
175
|
height: "12",
|
|
176
176
|
color: "#fff"
|
|
177
177
|
}, null, 8, ["name"])) : p("", !0),
|
|
178
|
-
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName +
|
|
178
|
+
h(" " + B(e[`loading${e.permissionCode}`] ? e.btnName + c(w)("act.loading") + "..." : e.btnName), 1)
|
|
179
179
|
]),
|
|
180
180
|
_: 2
|
|
181
181
|
}, 1032, ["type", "loading"])), [
|
|
@@ -192,10 +192,10 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
192
192
|
default: r(() => [
|
|
193
193
|
N(b, { type: "primary" }, {
|
|
194
194
|
default: r(() => [
|
|
195
|
-
n[2] || (n[2] = h(" 更多按钮")),
|
|
195
|
+
n[2] || (n[2] = h(" 更多按钮", -1)),
|
|
196
196
|
N($, { class: "el-icon--right" }, {
|
|
197
197
|
default: r(() => [
|
|
198
|
-
N(
|
|
198
|
+
N(c(Y))
|
|
199
199
|
]),
|
|
200
200
|
_: 1
|
|
201
201
|
})
|
|
@@ -208,7 +208,7 @@ const Z = { class: "header-operate-container" }, ee = {
|
|
|
208
208
|
]);
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
|
-
}, le = /* @__PURE__ */ W(ee, [["__scopeId", "data-v-
|
|
211
|
+
}, le = /* @__PURE__ */ W(ee, [["__scopeId", "data-v-204fc0b7"]]);
|
|
212
212
|
export {
|
|
213
213
|
le as default
|
|
214
214
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as U, computed as oe, resolveComponent as w, resolveDirective as ne, openBlock as h, createElementBlock as N, withDirectives as ae, createBlock as C, mergeProps as ie, unref as p, withCtx as D, renderSlot as L, createElementVNode as x, toDisplayString as I, createCommentVNode as z, createVNode as $, createTextVNode as se, Fragment as ce, renderList as re, normalizeClass as ue, nextTick as pe } from "vue";
|
|
2
2
|
import { ElNotification as M } from "element-plus";
|
|
3
|
-
import { _ as de, u as me, z as fe, o as ge, p as _e, q as ye } from "./index-
|
|
3
|
+
import { _ as de, u as me, z as fe, o as ge, p as _e, q as ye } from "./index-07377f1f.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
let S;
|
|
6
6
|
const he = new Uint8Array(16);
|
|
@@ -243,7 +243,7 @@ const Te = { class: "upload-container" }, ke = { class: "el-upload__text" }, $e
|
|
|
243
243
|
]);
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
|
-
}, Ne = /* @__PURE__ */ de(Ue, [["__scopeId", "data-v-
|
|
246
|
+
}, Ne = /* @__PURE__ */ de(Ue, [["__scopeId", "data-v-ba74316a"]]);
|
|
247
247
|
export {
|
|
248
248
|
Ne as default
|
|
249
249
|
};
|