vue-2024-ui 0.3.5 → 0.3.7
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.es.js +114 -115
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ref as ae, useModel as ut, computed as
|
|
3
|
-
import { Plus as vl, Search as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import Rl, { dayjs as jl, ElForm as It, ElButtonGroup as Vt, ElButton as Ae, ElPopover as Ft, ElIcon as Bt, ElMessage as Je, ElMessageBox as cl } from "element-plus";
|
|
2
|
+
import { ref as ae, useModel as ut, computed as He, nextTick as at, onMounted as kt, resolveComponent as z, openBlock as y, createElementBlock as F, Fragment as de, createElementVNode as re, createBlock as P, createCommentVNode as Ie, normalizeStyle as Ge, unref as D, mergeProps as H, withCtx as h, renderSlot as C, renderList as ee, createTextVNode as _e, toDisplayString as Oe, createSlots as Ee, createVNode as O, normalizeProps as Et, resolveDynamicComponent as lt, guardReactiveProps as fl, mergeModels as dt, useSlots as pl, inject as zt, withModifiers as $t, Transition as Ul, withDirectives as ql, vShow as zl, h as be, useAttrs as Lt, onUnmounted as Ll, onBeforeUnmount as Nl, normalizeClass as ml, watchEffect as Yl, onBeforeMount as Hl, watch as jt, reactive as Fl, createApp as Bl } from "vue";
|
|
3
|
+
import { Plus as vl, Search as Wl, Refresh as Nt, More as Gl, CircleClose as Zl, CircleCheckFilled as Jl, CircleCheck as Ut, Minus as Ql, Close as Xl, Switch as yl, FullScreen as Kl, InfoFilled as hl, Download as Kt, DocumentCopy as en, Setting as tn, CirclePlus as ln, Delete as el, Edit as gl, View as bl, ArrowUp as nn, ArrowDown as on, CopyDocument as an, ZoomOut as rn, ZoomIn as sn, FolderChecked as un, Printer as wl, Sunny as dn, Moon as cn, Reading as fn } from "@element-plus/icons-vue";
|
|
4
|
+
import { hiPrintPlugin as $l, hiprint as rt } from "vue-plugin-hiprint";
|
|
5
|
+
import kl from "sortablejs";
|
|
6
6
|
import { Dexie as pn } from "dexie";
|
|
7
7
|
var mn = {
|
|
8
8
|
name: "zh-cn",
|
|
@@ -180,10 +180,10 @@ var mn = {
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}, vn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
183
|
-
function
|
|
183
|
+
function xl(a) {
|
|
184
184
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
185
185
|
}
|
|
186
|
-
var
|
|
186
|
+
var _l = { exports: {} };
|
|
187
187
|
(function(a, u) {
|
|
188
188
|
(function(e, t) {
|
|
189
189
|
a.exports = t();
|
|
@@ -458,9 +458,9 @@ var xl = { exports: {} };
|
|
|
458
458
|
return ye(1e3 * S);
|
|
459
459
|
}, ye.en = le[X], ye.Ls = le, ye.p = {}, ye;
|
|
460
460
|
});
|
|
461
|
-
})(
|
|
462
|
-
var yn =
|
|
463
|
-
const Pt = /* @__PURE__ */
|
|
461
|
+
})(_l);
|
|
462
|
+
var yn = _l.exports;
|
|
463
|
+
const Pt = /* @__PURE__ */ xl(yn), nt = (a, u) => {
|
|
464
464
|
const e = a.__vccOpts || a;
|
|
465
465
|
for (const [t, s] of u)
|
|
466
466
|
e[t] = s;
|
|
@@ -474,12 +474,10 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
474
474
|
emits: ["update:modelValue"],
|
|
475
475
|
setup(a) {
|
|
476
476
|
var _, R, E, B, N, v, x, j, b, G, K, J, ue, ne, he, Ne, Re, Ke;
|
|
477
|
-
const u = a, e = ae(u.item || {}), t = ut(a, "modelValue"), s =
|
|
477
|
+
const u = a, e = ae(u.item || {}), t = ut(a, "modelValue"), s = ae(u.ctrlKey), n = ae(u.ctrlType), l = ae(u.model), p = He(() => {
|
|
478
478
|
var V, I, Q;
|
|
479
479
|
return ((I = (V = l.value) == null ? void 0 : V[s.value]) == null ? void 0 : I.disabled) ?? ((Q = e.value) == null ? void 0 : Q.disabled);
|
|
480
|
-
}), T = ae([]), d = ae([]), m = ae(!1);
|
|
481
|
-
ae(!1);
|
|
482
|
-
const r = ae(0), i = ae([]), f = ae((R = (_ = l == null ? void 0 : l.value) == null ? void 0 : _.form) != null && R["default-placeholder"] ? (B = (E = l == null ? void 0 : l.value) == null ? void 0 : E[s == null ? void 0 : s.value]) == null ? void 0 : B.label : "");
|
|
480
|
+
}), T = ae([]), d = ae([]), m = ae(!1), r = ae(0), i = ae([]), f = ae((R = (_ = l == null ? void 0 : l.value) == null ? void 0 : _.form) != null && R["default-placeholder"] ? (B = (E = l == null ? void 0 : l.value) == null ? void 0 : E[s == null ? void 0 : s.value]) == null ? void 0 : B.label : "");
|
|
483
481
|
!((N = n.value) != null && N.startsWith("text")) && !((v = n.value) != null && v.startsWith("link")) && !((x = n.value) != null && x.startsWith("tag")) && !((j = n.value) != null && j.startsWith("div")) && !((b = n.value) != null && b.startsWith("span")) && !((G = n.value) != null && G.startsWith("avatar")) && ((K = e.value) != null && K.style || (e.value.style = { width: ((ue = (J = e.value) == null ? void 0 : J.style) == null ? void 0 : ue.width) || "100%" }));
|
|
484
482
|
const A = ae({ display: "flex", flex: 1, whiteSpace: "pre-wrap" });
|
|
485
483
|
let Y = u.t === "t" ? "center" : "flex-start";
|
|
@@ -496,7 +494,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
496
494
|
"show-file-list": !0,
|
|
497
495
|
"file-list": []
|
|
498
496
|
}), Z = ae(e.value.value);
|
|
499
|
-
(Ke = e == null ? void 0 : e.value) != null && Ke.format && (Z.value =
|
|
497
|
+
(Ke = e == null ? void 0 : e.value) != null && Ke.format && (Z.value = jl(t.value).format(e.value.format || "YYYY-MM-DD"));
|
|
500
498
|
const se = (V) => [
|
|
501
499
|
"year",
|
|
502
500
|
"years",
|
|
@@ -643,13 +641,13 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
643
641
|
}
|
|
644
642
|
n.value == "image" && Le(), i.value = S(), e.value["file-list"] = i.value;
|
|
645
643
|
});
|
|
646
|
-
const S = () => e.value["file-list"] ? e.value["file-list"] : n.value == ze.IMAGE ? Array.isArray(t.value) ? t.value.map((V) => typeof V == "string" ? { name: V, url: V } : V) : t.value && typeof t.value == "string" ? [{ name: t.value, url: t.value }] : [] : [], g =
|
|
644
|
+
const S = () => e.value["file-list"] ? e.value["file-list"] : n.value == ze.IMAGE ? Array.isArray(t.value) ? t.value.map((V) => typeof V == "string" ? { name: V, url: V } : V) : t.value && typeof t.value == "string" ? [{ name: t.value, url: t.value }] : [] : [], g = He(() => {
|
|
647
645
|
var V;
|
|
648
646
|
return (V = i.value) == null ? void 0 : V.map((I) => I == null ? void 0 : I.url);
|
|
649
647
|
});
|
|
650
648
|
return (V, I) => {
|
|
651
649
|
var it, ft, fe, ge, $e, ht, gt, pt, mt, Mt, ie, vt, Ct, Tt, At, nl, ol, al, rl, il;
|
|
652
|
-
const Q = z("el-image-viewer"), ke = z("el-radio"), L = z("el-radio-group"), ve = z("el-radio-button"), je = z("el-checkbox"), Ue = z("el-checkbox-group"), Xe = z("el-checkbox-button"), Ze = z("g-select-option"), et = z("el-option"), ct = z("el-select"), o = z("el-tree-select"), c = z("el-time-picker"), w = z("el-time-select"), M = z("el-date-picker"), U = z("el-color-picker"), te = z("el-rate"), oe = z("el-slider"), Te = z("el-switch"), Ve = z("el-transfer"),
|
|
650
|
+
const Q = z("el-image-viewer"), ke = z("el-radio"), L = z("el-radio-group"), ve = z("el-radio-button"), je = z("el-checkbox"), Ue = z("el-checkbox-group"), Xe = z("el-checkbox-button"), Ze = z("g-select-option"), et = z("el-option"), ct = z("el-select"), o = z("el-tree-select"), c = z("el-time-picker"), w = z("el-time-select"), M = z("el-date-picker"), U = z("el-color-picker"), te = z("el-rate"), oe = z("el-slider"), Te = z("el-switch"), Ve = z("el-transfer"), Ye = z("el-cascader"), Fe = z("el-icon"), tt = z("el-upload"), ot = z("el-autocomplete"), wt = z("el-input-number"), St = z("el-input-tag"), _t = z("el-input"), ce = z("el-link"), xe = z("el-text"), me = z("el-avatar"), Be = z("el-tag");
|
|
653
651
|
return y(), F(de, null, [
|
|
654
652
|
re("div", null, [
|
|
655
653
|
m.value ? (y(), P(Q, {
|
|
@@ -827,10 +825,10 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
827
825
|
}, Ee({ _: 2 }, [
|
|
828
826
|
ee(V.$slots, (Ht, Dt) => ({
|
|
829
827
|
name: Dt,
|
|
830
|
-
fn: h((
|
|
828
|
+
fn: h((Pl) => [
|
|
831
829
|
C(V.$slots, Dt, {
|
|
832
830
|
option: qe,
|
|
833
|
-
data:
|
|
831
|
+
data: Pl,
|
|
834
832
|
form: a.formInfo
|
|
835
833
|
}, void 0, !0)
|
|
836
834
|
])
|
|
@@ -959,7 +957,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
959
957
|
C(V.$slots, `${u.t}-${s.value}-${$}`, { data: Ce }, void 0, !0)
|
|
960
958
|
])
|
|
961
959
|
}))
|
|
962
|
-
]), 1040, ["modelValue"])) : n.value == D(ze).CASCADER ? (y(), P(
|
|
960
|
+
]), 1040, ["modelValue"])) : n.value == D(ze).CASCADER ? (y(), P(Ye, H({
|
|
963
961
|
key: 15,
|
|
964
962
|
modelValue: t.value,
|
|
965
963
|
"onUpdate:modelValue": I[17] || (I[17] = ($) => t.value = $)
|
|
@@ -1232,7 +1230,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1232
1230
|
], 64);
|
|
1233
1231
|
};
|
|
1234
1232
|
}
|
|
1235
|
-
}), xt = /* @__PURE__ */ nt(Tn, [["__scopeId", "data-v-
|
|
1233
|
+
}), xt = /* @__PURE__ */ nt(Tn, [["__scopeId", "data-v-31984716"]]), sl = {
|
|
1236
1234
|
__name: "g-query-item",
|
|
1237
1235
|
props: /* @__PURE__ */ dt(["more"], {
|
|
1238
1236
|
modelValue: { required: !0 },
|
|
@@ -1329,7 +1327,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1329
1327
|
},
|
|
1330
1328
|
emits: /* @__PURE__ */ dt(["query", "reset"], ["update:modelValue", "update:info"]),
|
|
1331
1329
|
setup(a, { emit: u }) {
|
|
1332
|
-
const e = ut(a, "modelValue"), t = u, s = zt("options"), n = ae(!1), l = ut(a, "info"), p =
|
|
1330
|
+
const e = ut(a, "modelValue"), t = u, s = zt("options"), n = ae(!1), l = ut(a, "info"), p = He(() => {
|
|
1333
1331
|
var pe, Z, se;
|
|
1334
1332
|
const q = We((pe = s == null ? void 0 : s.query) == null ? void 0 : pe.btns, (se = (Z = e.value) == null ? void 0 : Z.query) == null ? void 0 : se.btns) || { align: "left" };
|
|
1335
1333
|
return {
|
|
@@ -1352,7 +1350,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1352
1350
|
hidden: !0,
|
|
1353
1351
|
type: "primary",
|
|
1354
1352
|
label: "更多",
|
|
1355
|
-
icon: () => be(
|
|
1353
|
+
icon: () => be(Gl),
|
|
1356
1354
|
click: () => {
|
|
1357
1355
|
n.value = !n.value;
|
|
1358
1356
|
}
|
|
@@ -1371,7 +1369,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1371
1369
|
hidden: !1,
|
|
1372
1370
|
type: "primary",
|
|
1373
1371
|
label: "查询",
|
|
1374
|
-
icon: () => be(
|
|
1372
|
+
icon: () => be(Wl),
|
|
1375
1373
|
click: () => {
|
|
1376
1374
|
t("query", l.value), n.value = !1;
|
|
1377
1375
|
}
|
|
@@ -1478,7 +1476,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1478
1476
|
reference: () => be(Ae, e.value.query.more, () => W.label),
|
|
1479
1477
|
default: W.content
|
|
1480
1478
|
}) : (W.props.slot = "query-" + W.key, W.label ? be(W.component, W.props, () => W.label) : be(W.component, W.props)));
|
|
1481
|
-
}, A =
|
|
1479
|
+
}, A = He(() => ({
|
|
1482
1480
|
display: "flex",
|
|
1483
1481
|
flexDirection: e.value.query.container.mode === "row" ? "row" : "column"
|
|
1484
1482
|
})), Y = () => {
|
|
@@ -1622,7 +1620,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1622
1620
|
key: "0"
|
|
1623
1621
|
}
|
|
1624
1622
|
]), 1040, ["modelValue"])) : Ie("", !0),
|
|
1625
|
-
O(
|
|
1623
|
+
O(Ul, {
|
|
1626
1624
|
duration: 300,
|
|
1627
1625
|
name: "nested",
|
|
1628
1626
|
style: { padding: "10px" }
|
|
@@ -1632,7 +1630,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1632
1630
|
return [
|
|
1633
1631
|
n.value && !((j = (x = (v = e.value) == null ? void 0 : v.query) == null ? void 0 : x.more) != null && j.hidden) && e.value.query.more.mode == 1 ? (y(), F("div", En, [
|
|
1634
1632
|
re("div", Sn, [
|
|
1635
|
-
e.value.query.more.mode == 1 ?
|
|
1633
|
+
e.value.query.more.mode == 1 ? ql((y(), P(D(It), H({
|
|
1636
1634
|
key: 0,
|
|
1637
1635
|
onSubmit: k[7] || (k[7] = $t(() => {
|
|
1638
1636
|
}, ["prevent"]))
|
|
@@ -1642,7 +1640,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1642
1640
|
]),
|
|
1643
1641
|
_: 1
|
|
1644
1642
|
}, 16)), [
|
|
1645
|
-
[
|
|
1643
|
+
[zl, n.value]
|
|
1646
1644
|
]) : Ie("", !0)
|
|
1647
1645
|
])
|
|
1648
1646
|
])) : Ie("", !0)
|
|
@@ -1653,7 +1651,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1653
1651
|
], 64);
|
|
1654
1652
|
};
|
|
1655
1653
|
}
|
|
1656
|
-
}, Dn = /* @__PURE__ */ nt(An, [["__scopeId", "data-v-eaca2240"]]),
|
|
1654
|
+
}, Dn = /* @__PURE__ */ nt(An, [["__scopeId", "data-v-eaca2240"]]), Ml = {
|
|
1657
1655
|
inline: !0,
|
|
1658
1656
|
type: "hidden",
|
|
1659
1657
|
"scroll-to-error": !0,
|
|
@@ -1694,7 +1692,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1694
1692
|
label: "保存提交",
|
|
1695
1693
|
plain: !0,
|
|
1696
1694
|
hidden: !0,
|
|
1697
|
-
icon: () => be(
|
|
1695
|
+
icon: () => be(Jl)
|
|
1698
1696
|
},
|
|
1699
1697
|
//表单重置按钮属性
|
|
1700
1698
|
reset: {
|
|
@@ -1709,7 +1707,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1709
1707
|
label: "取消",
|
|
1710
1708
|
hidden: !0,
|
|
1711
1709
|
plain: !0,
|
|
1712
|
-
icon: () => be(
|
|
1710
|
+
icon: () => be(Zl)
|
|
1713
1711
|
},
|
|
1714
1712
|
slots: {},
|
|
1715
1713
|
tabs: {
|
|
@@ -1768,7 +1766,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1768
1766
|
v.shiftKey && (v.ctrlKey || v.metaKey) && v.key.toLowerCase() === "s" && (v.preventDefault(), A(r.value, t.value, 2));
|
|
1769
1767
|
}, m = zt("options"), r = ae({}), i = ae(""), f = a;
|
|
1770
1768
|
t.value.form = We(
|
|
1771
|
-
|
|
1769
|
+
Ml,
|
|
1772
1770
|
m == null ? void 0 : m.form,
|
|
1773
1771
|
(S = t.value) == null ? void 0 : S.form
|
|
1774
1772
|
), t.value.form.style = We(
|
|
@@ -1909,7 +1907,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1909
1907
|
}, le = (v) => v === "left" ? "flex-start" : v === "right" ? "flex-end" : v === "center" ? "center" : "flex-end";
|
|
1910
1908
|
kt(() => {
|
|
1911
1909
|
we(), f != null && f.editForm ? r.value = f.editForm : r.value = Pe.value, document.addEventListener("keydown", T), document.addEventListener("keydown", d);
|
|
1912
|
-
}),
|
|
1910
|
+
}), Ll(() => {
|
|
1913
1911
|
document.removeEventListener("keydown", T), document.removeEventListener("keydown", d), n.value = null;
|
|
1914
1912
|
});
|
|
1915
1913
|
const we = () => {
|
|
@@ -1922,7 +1920,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1922
1920
|
...t.value[v].formItem.style,
|
|
1923
1921
|
...x.formItem.style
|
|
1924
1922
|
};
|
|
1925
|
-
}, Me =
|
|
1923
|
+
}, Me = He(() => {
|
|
1926
1924
|
const v = t.value.form.modalState;
|
|
1927
1925
|
let x = Object.entries(t.value).filter(([j, b]) => {
|
|
1928
1926
|
var K, J;
|
|
@@ -1939,7 +1937,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1939
1937
|
};
|
|
1940
1938
|
return G(j) - G(b);
|
|
1941
1939
|
}), Object.fromEntries(x);
|
|
1942
|
-
}), Pe =
|
|
1940
|
+
}), Pe = He(() => {
|
|
1943
1941
|
var j;
|
|
1944
1942
|
const v = (j = t.value.form) == null ? void 0 : j.modalState, x = (b) => {
|
|
1945
1943
|
var J;
|
|
@@ -1949,7 +1947,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
1949
1947
|
return Object.fromEntries(
|
|
1950
1948
|
Object.entries(t.value).filter(([, b]) => b.type !== "hidden" && b.type !== "control").map(([b, G]) => [b, x(G)])
|
|
1951
1949
|
);
|
|
1952
|
-
}), ye =
|
|
1950
|
+
}), ye = He(() => {
|
|
1953
1951
|
const v = /* @__PURE__ */ new Map();
|
|
1954
1952
|
return Object.entries(Me.value).forEach(([x, j]) => {
|
|
1955
1953
|
if (j.groupName) {
|
|
@@ -2006,7 +2004,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
2006
2004
|
sort: t.value.form.cancel.sort ?? 2,
|
|
2007
2005
|
originalOrder: 1
|
|
2008
2006
|
}
|
|
2009
|
-
]), Se =
|
|
2007
|
+
]), Se = He(() => Le.value.filter((v) => !v.hidden).sort((v, x) => v.sort - x.sort || v.originalOrder - x.originalOrder));
|
|
2010
2008
|
return u({
|
|
2011
2009
|
submit: A,
|
|
2012
2010
|
saveSubmit: A,
|
|
@@ -2304,10 +2302,10 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
2304
2302
|
maximize: { type: Boolean, default: !1 },
|
|
2305
2303
|
minimize: { type: Boolean, default: !1 },
|
|
2306
2304
|
// 图标配置
|
|
2307
|
-
maxIcon: { type: Object, default: () =>
|
|
2305
|
+
maxIcon: { type: Object, default: () => Kl },
|
|
2308
2306
|
resizeIcon: { type: Object, default: () => yl },
|
|
2309
|
-
closeIcon: { type: Object, default: () =>
|
|
2310
|
-
minIcon: { type: Object, default: () =>
|
|
2307
|
+
closeIcon: { type: Object, default: () => Xl },
|
|
2308
|
+
minIcon: { type: Object, default: () => Ql },
|
|
2311
2309
|
draggable: { type: Boolean, default: !0 },
|
|
2312
2310
|
showClose: { type: Boolean, default: !0 },
|
|
2313
2311
|
fullscreen: { type: Boolean, default: !1 },
|
|
@@ -2325,7 +2323,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
2325
2323
|
"restore"
|
|
2326
2324
|
],
|
|
2327
2325
|
setup(a, { expose: u, emit: e }) {
|
|
2328
|
-
const t = a, s = Lt(), n = e, l = ae(t.fullscreen), p =
|
|
2326
|
+
const t = a, s = Lt(), n = e, l = ae(t.fullscreen), p = He(() => t.type === "drawer" ? "el-drawer" : "el-dialog"), T = He(() => {
|
|
2329
2327
|
const se = {
|
|
2330
2328
|
modal: t.modal,
|
|
2331
2329
|
closeOnClickModal: t.type !== "dialog",
|
|
@@ -2341,7 +2339,7 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
2341
2339
|
direction: t.direction,
|
|
2342
2340
|
size: r.value ? "100%" : t.size
|
|
2343
2341
|
};
|
|
2344
|
-
}), d =
|
|
2342
|
+
}), d = He({
|
|
2345
2343
|
get() {
|
|
2346
2344
|
return t.modelValue;
|
|
2347
2345
|
},
|
|
@@ -2497,13 +2495,13 @@ const Pt = /* @__PURE__ */ kl(yn), nt = (a, u) => {
|
|
|
2497
2495
|
});
|
|
2498
2496
|
};
|
|
2499
2497
|
return kt(() => {
|
|
2500
|
-
const T = new
|
|
2498
|
+
const T = new kl(document.getElementById("excelSortEl"), {
|
|
2501
2499
|
animation: 150,
|
|
2502
2500
|
onEnd: () => {
|
|
2503
2501
|
T.toArray();
|
|
2504
2502
|
}
|
|
2505
2503
|
}), d = T;
|
|
2506
|
-
|
|
2504
|
+
Nl(() => {
|
|
2507
2505
|
d && d.destroy();
|
|
2508
2506
|
});
|
|
2509
2507
|
}), (T, d) => {
|
|
@@ -2703,7 +2701,7 @@ const lo = { style: { padding: "15px", "box-sizing": "border-box" } }, no = { st
|
|
|
2703
2701
|
}, p = () => {
|
|
2704
2702
|
const r = document.getElementById("cols");
|
|
2705
2703
|
if (r) {
|
|
2706
|
-
let i =
|
|
2704
|
+
let i = kl.create(r, {
|
|
2707
2705
|
animation: 150,
|
|
2708
2706
|
filter: ".filtered",
|
|
2709
2707
|
sort: !0,
|
|
@@ -2852,7 +2850,7 @@ const lo = { style: { padding: "15px", "box-sizing": "border-box" } }, no = { st
|
|
|
2852
2850
|
onClick: e,
|
|
2853
2851
|
title: "复制内容"
|
|
2854
2852
|
}, [
|
|
2855
|
-
O(D(
|
|
2853
|
+
O(D(en))
|
|
2856
2854
|
])
|
|
2857
2855
|
]),
|
|
2858
2856
|
re("div", co, Oe(u.content), 1)
|
|
@@ -2883,7 +2881,7 @@ const lo = { style: { padding: "15px", "box-sizing": "border-box" } }, no = { st
|
|
|
2883
2881
|
border: !0,
|
|
2884
2882
|
labelWidth: "100px",
|
|
2885
2883
|
column: 2
|
|
2886
|
-
}, s =
|
|
2884
|
+
}, s = He(() => {
|
|
2887
2885
|
var i, f;
|
|
2888
2886
|
return {
|
|
2889
2887
|
...t,
|
|
@@ -2893,7 +2891,7 @@ const lo = { style: { padding: "15px", "box-sizing": "border-box" } }, no = { st
|
|
|
2893
2891
|
}), n = {
|
|
2894
2892
|
"label-align": "right",
|
|
2895
2893
|
"label-width": "80px"
|
|
2896
|
-
}, l =
|
|
2894
|
+
}, l = He(() => {
|
|
2897
2895
|
var i;
|
|
2898
2896
|
return {
|
|
2899
2897
|
...n,
|
|
@@ -2905,7 +2903,7 @@ const lo = { style: { padding: "15px", "box-sizing": "border-box" } }, no = { st
|
|
|
2905
2903
|
}, T = (i) => {
|
|
2906
2904
|
const f = p(i);
|
|
2907
2905
|
return (f == null ? void 0 : f.type) || "text-info";
|
|
2908
|
-
}, d =
|
|
2906
|
+
}, d = He(() => Object.entries(u.m).filter(([i, f]) => {
|
|
2909
2907
|
if (tl.includes(i) || (f == null ? void 0 : f.type) === "hidden") return !1;
|
|
2910
2908
|
let A = (f == null ? void 0 : f.visible) !== !1;
|
|
2911
2909
|
const Y = p(i);
|
|
@@ -2918,7 +2916,7 @@ const lo = { style: { padding: "15px", "box-sizing": "border-box" } }, no = { st
|
|
|
2918
2916
|
date: "YYYY-MM-DD",
|
|
2919
2917
|
datetime: "YYYY-MM-DD HH:mm:ss",
|
|
2920
2918
|
time: "HH:mm:ss"
|
|
2921
|
-
}, r =
|
|
2919
|
+
}, r = He(() => ({ ...Object.fromEntries(d.value.map(([f, A]) => {
|
|
2922
2920
|
const Y = p(f);
|
|
2923
2921
|
let q = Object.hasOwn(Y, "value") ? Y.value : A == null ? void 0 : A.value;
|
|
2924
2922
|
const k = Y.format || m[A == null ? void 0 : A.type];
|
|
@@ -2980,8 +2978,8 @@ const lo = { style: { padding: "15px", "box-sizing": "border-box" } }, no = { st
|
|
|
2980
2978
|
], 4);
|
|
2981
2979
|
};
|
|
2982
2980
|
}
|
|
2983
|
-
}),
|
|
2984
|
-
var
|
|
2981
|
+
}), Cl = /* @__PURE__ */ nt(mo, [["__scopeId", "data-v-4902ce5a"]]);
|
|
2982
|
+
var Tl = { exports: {} }, El = { exports: {} };
|
|
2985
2983
|
(function() {
|
|
2986
2984
|
var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = {
|
|
2987
2985
|
// Bit-wise rotation left
|
|
@@ -3045,9 +3043,9 @@ var Cl = { exports: {} }, Tl = { exports: {} };
|
|
|
3045
3043
|
return t;
|
|
3046
3044
|
}
|
|
3047
3045
|
};
|
|
3048
|
-
|
|
3046
|
+
El.exports = u;
|
|
3049
3047
|
})();
|
|
3050
|
-
var vo =
|
|
3048
|
+
var vo = El.exports, Jt = {
|
|
3051
3049
|
// UTF-8 encoding
|
|
3052
3050
|
utf8: {
|
|
3053
3051
|
// Convert a string to a byte array
|
|
@@ -3082,13 +3080,13 @@ var vo = Tl.exports, Jt = {
|
|
|
3082
3080
|
* @license MIT
|
|
3083
3081
|
*/
|
|
3084
3082
|
var yo = function(a) {
|
|
3085
|
-
return a != null && (
|
|
3083
|
+
return a != null && (Sl(a) || ho(a) || !!a._isBuffer);
|
|
3086
3084
|
};
|
|
3087
|
-
function
|
|
3085
|
+
function Sl(a) {
|
|
3088
3086
|
return !!a.constructor && typeof a.constructor.isBuffer == "function" && a.constructor.isBuffer(a);
|
|
3089
3087
|
}
|
|
3090
3088
|
function ho(a) {
|
|
3091
|
-
return typeof a.readFloatLE == "function" && typeof a.slice == "function" &&
|
|
3089
|
+
return typeof a.readFloatLE == "function" && typeof a.slice == "function" && Sl(a.slice(0, 0));
|
|
3092
3090
|
}
|
|
3093
3091
|
(function() {
|
|
3094
3092
|
var a = vo, u = ul.utf8, e = yo, t = ul.bin, s = function(n, l) {
|
|
@@ -3114,15 +3112,15 @@ function ho(a) {
|
|
|
3114
3112
|
}, s._ii = function(n, l, p, T, d, m, r) {
|
|
3115
3113
|
var i = n + (p ^ (l | ~T)) + (d >>> 0) + r;
|
|
3116
3114
|
return (i << m | i >>> 32 - m) + l;
|
|
3117
|
-
}, s._blocksize = 16, s._digestsize = 16,
|
|
3115
|
+
}, s._blocksize = 16, s._digestsize = 16, Tl.exports = function(n, l) {
|
|
3118
3116
|
if (n == null)
|
|
3119
3117
|
throw new Error("Illegal argument " + n);
|
|
3120
3118
|
var p = a.wordsToBytes(s(n, l));
|
|
3121
3119
|
return l && l.asBytes ? p : l && l.asString ? t.bytesToString(p) : a.bytesToHex(p);
|
|
3122
3120
|
};
|
|
3123
3121
|
})();
|
|
3124
|
-
var go =
|
|
3125
|
-
const bo = /* @__PURE__ */
|
|
3122
|
+
var go = Tl.exports;
|
|
3123
|
+
const bo = /* @__PURE__ */ xl(go), wo = { class: "g-table-container" }, $o = {
|
|
3126
3124
|
key: 0,
|
|
3127
3125
|
class: "table-query-container"
|
|
3128
3126
|
}, ko = { class: "table-container" }, xo = ["innerHTML"], _o = /* @__PURE__ */ Object.assign({
|
|
@@ -3347,7 +3345,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3347
3345
|
type: "primary",
|
|
3348
3346
|
mode: "dialog",
|
|
3349
3347
|
inline: !1,
|
|
3350
|
-
icon: () => be(
|
|
3348
|
+
icon: () => be(ln),
|
|
3351
3349
|
auth: () => !0
|
|
3352
3350
|
}),
|
|
3353
3351
|
toggleExpand: (o, c) => ({
|
|
@@ -3380,7 +3378,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3380
3378
|
text: !1,
|
|
3381
3379
|
type: "primary",
|
|
3382
3380
|
mode: "dialog",
|
|
3383
|
-
icon: () => be(
|
|
3381
|
+
icon: () => be(tn),
|
|
3384
3382
|
auth: () => !0
|
|
3385
3383
|
}),
|
|
3386
3384
|
dropdown: (o, c, w, M) => ({
|
|
@@ -3407,21 +3405,21 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3407
3405
|
var tt, ot, wt;
|
|
3408
3406
|
if (!U || !te || oe == null)
|
|
3409
3407
|
return console.warn(`merge${o.charAt(0).toUpperCase() + o.slice(1)}: 缺少必要的参数(row, column或index)`), {};
|
|
3410
|
-
const Ve = ((tt = le[o]) == null ? void 0 : tt.call(le, U, te, oe, Te)) || {},
|
|
3411
|
-
return We(Ve,
|
|
3408
|
+
const Ve = ((tt = le[o]) == null ? void 0 : tt.call(le, U, te, oe, Te)) || {}, Ye = ((wt = (ot = p == null ? void 0 : p.control) == null ? void 0 : ot[o]) == null ? void 0 : wt.call(ot, U, te, oe, Te)) || {}, Fe = (w == null ? void 0 : w(U, te, oe, Te)) || {};
|
|
3409
|
+
return We(Ve, Ye, Fe) || {};
|
|
3412
3410
|
} : (U, te) => {
|
|
3413
|
-
var
|
|
3414
|
-
const oe = ((
|
|
3411
|
+
var Ye, Fe, tt;
|
|
3412
|
+
const oe = ((Ye = le[o]) == null ? void 0 : Ye.call(le, U, te)) || {}, Te = ((tt = (Fe = p == null ? void 0 : p.control) == null ? void 0 : Fe[o]) == null ? void 0 : tt.call(Fe, U, te)) || {}, Ve = (w == null ? void 0 : w(U, te)) || {};
|
|
3415
3413
|
return We(oe, Te, Ve) || {};
|
|
3416
3414
|
};
|
|
3417
3415
|
l.value.control[o] = M;
|
|
3418
3416
|
};
|
|
3419
3417
|
we("edit"), we("delete"), we("view"), we("save"), we("add", !1), we("download", !1), we("setting", !1), we("batch", !1), we("toggleExpand", !1);
|
|
3420
3418
|
const Me = (o, c, w, M) => {
|
|
3421
|
-
var Te, Ve,
|
|
3419
|
+
var Te, Ve, Ye, Fe, tt, ot;
|
|
3422
3420
|
if (!o || !c || w == null)
|
|
3423
3421
|
return console.warn("mergeDropdown: 缺少必要的参数(row, column或index)"), {};
|
|
3424
|
-
const U = ((Te = le.dropdown) == null ? void 0 : Te.call(le, o, c, w, M)) || {}, te = ((
|
|
3422
|
+
const U = ((Te = le.dropdown) == null ? void 0 : Te.call(le, o, c, w, M)) || {}, te = ((Ye = (Ve = p == null ? void 0 : p.control) == null ? void 0 : Ve.dropdown) == null ? void 0 : Ye.call(Ve, o, c, w, M)) || {}, oe = ((ot = (tt = (Fe = l.value) == null ? void 0 : Fe.control) == null ? void 0 : tt.dropdown) == null ? void 0 : ot.call(tt, o, c, w, M)) || {};
|
|
3425
3423
|
return We(U, te, oe) || {};
|
|
3426
3424
|
}, Pe = {
|
|
3427
3425
|
type: "hidden",
|
|
@@ -3435,7 +3433,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3435
3433
|
p == null ? void 0 : p.tableColumns,
|
|
3436
3434
|
(Xe = l.value) == null ? void 0 : Xe.tableColumns
|
|
3437
3435
|
), l.value.form = We(
|
|
3438
|
-
|
|
3436
|
+
Ml,
|
|
3439
3437
|
{
|
|
3440
3438
|
cancel: {
|
|
3441
3439
|
hidden: !1,
|
|
@@ -3539,8 +3537,8 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3539
3537
|
n(
|
|
3540
3538
|
"delete",
|
|
3541
3539
|
{ row: o, column: c, index: w, m: M },
|
|
3542
|
-
(
|
|
3543
|
-
|
|
3540
|
+
(Ye = !0, Fe = !1) => {
|
|
3541
|
+
Ye && (l.value.table.data.splice(w, 1), l.value.table.page.total--), Fe && l.value.table.load();
|
|
3544
3542
|
}
|
|
3545
3543
|
);
|
|
3546
3544
|
}).catch(() => {
|
|
@@ -3562,12 +3560,12 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3562
3560
|
type: l.value.dialog.mode,
|
|
3563
3561
|
slots: {
|
|
3564
3562
|
default: () => {
|
|
3565
|
-
var Ve,
|
|
3566
|
-
return be(
|
|
3563
|
+
var Ve, Ye, Fe;
|
|
3564
|
+
return be(Cl, {
|
|
3567
3565
|
row: o,
|
|
3568
3566
|
m: M,
|
|
3569
3567
|
container: ((Ve = l.value.control.view(o, c, w, M)) == null ? void 0 : Ve.container) || {}
|
|
3570
|
-
}, ((Fe = (
|
|
3568
|
+
}, ((Fe = (Ye = l.value.control.view(o, c, w, M)) == null ? void 0 : Ye.container) == null ? void 0 : Fe.slots) || {});
|
|
3571
3569
|
}
|
|
3572
3570
|
}
|
|
3573
3571
|
}) : ((Te = l.value.control.view(o, c, w, M)) == null ? void 0 : Te["view-mode"]) === "readonly" && (r.value = !0, Rt()), await at(), n("open", "view", { m: M, row: o, column: c, index: w }));
|
|
@@ -3581,11 +3579,11 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3581
3579
|
async (te = !0, oe = !0) => {
|
|
3582
3580
|
if (te && l.value.table.load(), oe && w === 0) {
|
|
3583
3581
|
const Te = Object.entries(l.value).filter(
|
|
3584
|
-
([Ve,
|
|
3582
|
+
([Ve, Ye]) => Ye.type !== "control" && Ye.type !== "hidden"
|
|
3585
3583
|
// && val.editor !== false
|
|
3586
3584
|
);
|
|
3587
3585
|
k.value = Object.fromEntries(
|
|
3588
|
-
Te.map(([Ve,
|
|
3586
|
+
Te.map(([Ve, Ye]) => [Ve, Ye.value])
|
|
3589
3587
|
), l.value.table.data[w] = { ...k.value };
|
|
3590
3588
|
}
|
|
3591
3589
|
}
|
|
@@ -3666,7 +3664,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3666
3664
|
}).sort((te, oe) => te.sort - oe.sort), he = (o, c, w, M, U) => ne(o, c, w, M, U).reduce((te, oe) => {
|
|
3667
3665
|
const Te = oe.groupName || "default";
|
|
3668
3666
|
return te[Te] || (te[Te] = []), te[Te].push(oe), te;
|
|
3669
|
-
}, {}), Ne =
|
|
3667
|
+
}, {}), Ne = He(() => Object.fromEntries(
|
|
3670
3668
|
Object.entries(l.value).filter(
|
|
3671
3669
|
([o, c]) => c.type !== "hidden" && c.hidden !== !0 && c.visible !== !1 && c.showCol !== !1
|
|
3672
3670
|
).map(([o, c]) => (c.sort = typeof c.sort == "number" ? c.sort : 0, [o, c])).sort((o, c) => o[1].sort - c[1].sort)
|
|
@@ -3703,7 +3701,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3703
3701
|
}, Q = () => {
|
|
3704
3702
|
r.value = !1;
|
|
3705
3703
|
};
|
|
3706
|
-
|
|
3704
|
+
Yl(() => {
|
|
3707
3705
|
l.value.table.autoWatch && l.value.table.load();
|
|
3708
3706
|
});
|
|
3709
3707
|
const ke = async () => {
|
|
@@ -3731,7 +3729,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3731
3729
|
});
|
|
3732
3730
|
}
|
|
3733
3731
|
}, L = () => bo(Object.keys(l.value).toString()).toUpperCase().substring(8, 24);
|
|
3734
|
-
return
|
|
3732
|
+
return Hl(() => {
|
|
3735
3733
|
Z.value = L();
|
|
3736
3734
|
}), kt(async () => {
|
|
3737
3735
|
try {
|
|
@@ -3752,7 +3750,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3752
3750
|
console.error("Error during component initialization:", o), l.value.table.autoWatch || l.value.table.load();
|
|
3753
3751
|
}
|
|
3754
3752
|
}), u({ addRow: g, editRow: E, deleteRow: B, readForm: N, saveRowData: x, closeDialog: Q, formData: k }), (o, c) => {
|
|
3755
|
-
var
|
|
3753
|
+
var Ye, Fe, tt, ot, wt, St, _t;
|
|
3756
3754
|
const w = z("el-button-group"), M = z("el-dropdown-item"), U = z("el-dropdown-menu"), te = z("el-dropdown"), oe = z("el-table-column"), Te = z("el-table"), Ve = z("el-pagination");
|
|
3757
3755
|
return y(), F(de, null, [
|
|
3758
3756
|
r.value ? (y(), P(ll, H({
|
|
@@ -3808,7 +3806,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
3808
3806
|
]),
|
|
3809
3807
|
key: "2"
|
|
3810
3808
|
} : void 0,
|
|
3811
|
-
((Fe = (
|
|
3809
|
+
((Fe = (Ye = l.value) == null ? void 0 : Ye.dialog) == null ? void 0 : Fe.type) === "drawer" && o.$slots.trigger ? {
|
|
3812
3810
|
name: "trigger",
|
|
3813
3811
|
fn: h(() => [
|
|
3814
3812
|
C(o.$slots, "trigger", {}, void 0, !0)
|
|
@@ -4246,16 +4244,16 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
4246
4244
|
add: { icon: vl, label: "新增", type: "primary" },
|
|
4247
4245
|
edit: { icon: gl, label: "编辑", type: "success" },
|
|
4248
4246
|
delete: { icon: el, label: "删除", type: "danger" },
|
|
4249
|
-
expand: { icon:
|
|
4250
|
-
collapse: { icon:
|
|
4247
|
+
expand: { icon: on, label: "展开", divided: !0, type: "info", hidden: !0 },
|
|
4248
|
+
collapse: { icon: nn, label: "折叠", type: "info", hidden: !0 },
|
|
4251
4249
|
refresh: { icon: Nt, label: "刷新", divided: !0, type: "primary" }
|
|
4252
|
-
}, e.menu(e.nodeInfo)), l =
|
|
4250
|
+
}, e.menu(e.nodeInfo)), l = He(() => {
|
|
4253
4251
|
const r = Object.entries(n).filter(([i, f]) => (f == null ? void 0 : f.hidden) !== !0).filter(([i, f]) => (f == null ? void 0 : f.visible) !== !1).sort((i, f) => {
|
|
4254
4252
|
var A, Y;
|
|
4255
4253
|
return ((A = i[1]) == null ? void 0 : A.sort) || 0 - ((Y = f[1]) == null ? void 0 : Y.sort) || 0;
|
|
4256
4254
|
});
|
|
4257
4255
|
return Object.fromEntries(r);
|
|
4258
|
-
}), p =
|
|
4256
|
+
}), p = He(() => {
|
|
4259
4257
|
const r = Object.entries(e.columns).filter(([i, f]) => !tl.includes(i)).map(([i, f]) => [
|
|
4260
4258
|
i,
|
|
4261
4259
|
(f == null ? void 0 : f.value) || ""
|
|
@@ -4563,7 +4561,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
4563
4561
|
template: { type: Object, default: null }
|
|
4564
4562
|
},
|
|
4565
4563
|
setup(a) {
|
|
4566
|
-
const u = a, e = ae(!1), t = ae(!0), s =
|
|
4564
|
+
const u = a, e = ae(!1), t = ae(!0), s = He(() => {
|
|
4567
4565
|
var p, T;
|
|
4568
4566
|
try {
|
|
4569
4567
|
const d = e.value ? (p = u.template) == null ? void 0 : p.getJsonTid() : (T = u.template) == null ? void 0 : T.getJson();
|
|
@@ -4609,7 +4607,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
4609
4607
|
default: h(() => [
|
|
4610
4608
|
O(m, null, {
|
|
4611
4609
|
default: h(() => [
|
|
4612
|
-
O(D(
|
|
4610
|
+
O(D(an))
|
|
4613
4611
|
]),
|
|
4614
4612
|
_: 1
|
|
4615
4613
|
}),
|
|
@@ -4646,7 +4644,9 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
4646
4644
|
]);
|
|
4647
4645
|
};
|
|
4648
4646
|
}
|
|
4649
|
-
}), No = /* @__PURE__ */ nt(Lo, [["__scopeId", "data-v-975f3d61"]]),
|
|
4647
|
+
}), No = /* @__PURE__ */ nt(Lo, [["__scopeId", "data-v-975f3d61"]]), Al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAAA3CAYAAAB0IqZxAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkNERkM5RUYyOUMxMjExRjA5RUMyOUE0RjRDN0M0ODMyIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkNERkM5RUYzOUMxMjExRjA5RUMyOUE0RjRDN0M0ODMyIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6Q0RGQzlFRjA5QzEyMTFGMDlFQzI5QTRGNEM3QzQ4MzIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6Q0RGQzlFRjE5QzEyMTFGMDlFQzI5QTRGNEM3QzQ4MzIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7y4cyBAAAJIUlEQVR42uxbaXAU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";
|
|
4648
|
+
$l.disAutoConnect();
|
|
4649
|
+
const Yo = function(a) {
|
|
4650
4650
|
var u = function(e) {
|
|
4651
4651
|
var t;
|
|
4652
4652
|
e.removePrintElementTypes("aProviderModule"), e.addPrintElementTypes(
|
|
@@ -4758,7 +4758,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
4758
4758
|
{
|
|
4759
4759
|
tid: "aProviderModule.logo",
|
|
4760
4760
|
title: "Logo",
|
|
4761
|
-
data:
|
|
4761
|
+
data: Al,
|
|
4762
4762
|
type: "image",
|
|
4763
4763
|
options: {
|
|
4764
4764
|
field: "logoTest",
|
|
@@ -5018,7 +5018,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5018
5018
|
{
|
|
5019
5019
|
tid: "bProviderModule.image",
|
|
5020
5020
|
title: "Logo",
|
|
5021
|
-
data:
|
|
5021
|
+
data: Al,
|
|
5022
5022
|
type: "image",
|
|
5023
5023
|
options: {
|
|
5024
5024
|
field: "logoTest",
|
|
@@ -5164,7 +5164,6 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5164
5164
|
},
|
|
5165
5165
|
emits: ["save"],
|
|
5166
5166
|
setup(a, { emit: u }) {
|
|
5167
|
-
fn();
|
|
5168
5167
|
const e = a, t = u, s = {
|
|
5169
5168
|
A3: { width: 420, height: 296.6 },
|
|
5170
5169
|
A4: { width: 210, height: 296.6 },
|
|
@@ -5174,7 +5173,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5174
5173
|
B5: { width: 250, height: 175.6 }
|
|
5175
5174
|
};
|
|
5176
5175
|
let n = null;
|
|
5177
|
-
const l = ae(null), p = ae(0), T = ae([]), d =
|
|
5176
|
+
const l = ae(null), p = ae(0), T = ae([]), d = Fl({ type: "A4", width: 210, height: 296.6 }), m = ae(1), r = ae(!1), i = ae("220"), f = ae("80"), A = ae(document.documentElement.classList.contains("dark"));
|
|
5178
5177
|
jt(A, (S) => {
|
|
5179
5178
|
document.documentElement.classList.toggle("dark", S);
|
|
5180
5179
|
});
|
|
@@ -5224,7 +5223,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5224
5223
|
},
|
|
5225
5224
|
{ deep: !0 }
|
|
5226
5225
|
);
|
|
5227
|
-
const q =
|
|
5226
|
+
const q = He(() => {
|
|
5228
5227
|
for (const [S, g] of Object.entries(s))
|
|
5229
5228
|
if (g.width === d.width && g.height === d.height) return S;
|
|
5230
5229
|
return "other";
|
|
@@ -5243,7 +5242,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5243
5242
|
}
|
|
5244
5243
|
function Z() {
|
|
5245
5244
|
const S = Wt({ table: e.table })[p.value];
|
|
5246
|
-
rt.init({ providers: [S.f] }), document.querySelectorAll(".hiprintEpContainer").forEach((E) => E.innerHTML = ""), rt.PrintElementTypeManager.build(".hiprintEpContainer", S.value), document.querySelectorAll("#hiprint-printTemplate").forEach((E) => E.innerHTML = ""), k();
|
|
5245
|
+
rt.init({ providers: [S.f] }), $l.disAutoConnect(), document.querySelectorAll(".hiprintEpContainer").forEach((E) => E.innerHTML = ""), rt.PrintElementTypeManager.build(".hiprintEpContainer", S.value), document.querySelectorAll("#hiprint-printTemplate").forEach((E) => E.innerHTML = ""), k();
|
|
5247
5246
|
const g = JSON.parse(e.printTemplate || "{}");
|
|
5248
5247
|
let _ = g[S.value] || {};
|
|
5249
5248
|
Y(_);
|
|
@@ -5306,7 +5305,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5306
5305
|
r.value = !1, X("other", S);
|
|
5307
5306
|
}
|
|
5308
5307
|
function Me() {
|
|
5309
|
-
|
|
5308
|
+
Ol(n, e.printData, d);
|
|
5310
5309
|
}
|
|
5311
5310
|
function Pe() {
|
|
5312
5311
|
yt({
|
|
@@ -5338,7 +5337,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5338
5337
|
n && n.rotatePaper();
|
|
5339
5338
|
}
|
|
5340
5339
|
function Le() {
|
|
5341
|
-
|
|
5340
|
+
Vl(n, e.printData);
|
|
5342
5341
|
}
|
|
5343
5342
|
function Se() {
|
|
5344
5343
|
try {
|
|
@@ -5462,7 +5461,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5462
5461
|
default: h(() => [
|
|
5463
5462
|
O(x, { size: "25" }, {
|
|
5464
5463
|
default: h(() => [
|
|
5465
|
-
O(D(
|
|
5464
|
+
O(D(rn))
|
|
5466
5465
|
]),
|
|
5467
5466
|
_: 1
|
|
5468
5467
|
})
|
|
@@ -5487,7 +5486,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5487
5486
|
default: h(() => [
|
|
5488
5487
|
O(x, { size: "25" }, {
|
|
5489
5488
|
default: h(() => [
|
|
5490
|
-
O(D(
|
|
5489
|
+
O(D(sn))
|
|
5491
5490
|
]),
|
|
5492
5491
|
_: 1
|
|
5493
5492
|
})
|
|
@@ -5516,7 +5515,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5516
5515
|
}, 8, ["icon"]),
|
|
5517
5516
|
O(D(Ae), {
|
|
5518
5517
|
onClick: se,
|
|
5519
|
-
icon: D(
|
|
5518
|
+
icon: D(un)
|
|
5520
5519
|
}, {
|
|
5521
5520
|
default: h(() => [...g[12] || (g[12] = [
|
|
5522
5521
|
_e("全选元素", -1)
|
|
@@ -5575,8 +5574,8 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5575
5574
|
modelValue: A.value,
|
|
5576
5575
|
"onUpdate:modelValue": g[7] || (g[7] = (ne) => A.value = ne),
|
|
5577
5576
|
"inline-prompt": "",
|
|
5578
|
-
"active-icon": D(
|
|
5579
|
-
"inactive-icon": D(
|
|
5577
|
+
"active-icon": D(cn),
|
|
5578
|
+
"inactive-icon": D(dn),
|
|
5580
5579
|
"active-text": "",
|
|
5581
5580
|
"inactive-text": "",
|
|
5582
5581
|
style: { "--el-switch-on-color": "#2d2d2d" }
|
|
@@ -5652,7 +5651,7 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5652
5651
|
});
|
|
5653
5652
|
};
|
|
5654
5653
|
}
|
|
5655
|
-
}),
|
|
5654
|
+
}), Dl = /* @__PURE__ */ nt(Bo, [["__scopeId", "data-v-3da27269"]]), Wo = { id: "preview_content_custom" }, Go = /* @__PURE__ */ Object.assign({ name: "printPreview" }, {
|
|
5656
5655
|
__name: "preview",
|
|
5657
5656
|
props: {
|
|
5658
5657
|
paperWidth: {
|
|
@@ -5708,11 +5707,11 @@ const bo = /* @__PURE__ */ kl(go), wo = { class: "g-table-container" }, $o = {
|
|
|
5708
5707
|
s(e.hiprintTemplate, e.printData);
|
|
5709
5708
|
}), u({ show: s }), (n, l) => (y(), F("div", Wo));
|
|
5710
5709
|
}
|
|
5711
|
-
}), Zo = Object.freeze({}),
|
|
5710
|
+
}), Zo = Object.freeze({}), Il = [Mo, qt, Io, jo, ll, Cl, Dl];
|
|
5712
5711
|
let Qt = {};
|
|
5713
5712
|
const da = {
|
|
5714
5713
|
install: (a, u = {}) => {
|
|
5715
|
-
Qt = Object.freeze({ ...Zo, ...u }),
|
|
5714
|
+
Qt = Object.freeze({ ...Zo, ...u }), Il.forEach((e) => {
|
|
5716
5715
|
a.component(e.name, e);
|
|
5717
5716
|
}), a.provide("options", Qt), a.config.globalProperties.$open = yt;
|
|
5718
5717
|
}
|
|
@@ -5722,7 +5721,7 @@ const da = {
|
|
|
5722
5721
|
const u = document.createElement("div");
|
|
5723
5722
|
let e = () => {
|
|
5724
5723
|
};
|
|
5725
|
-
const t = ae(!0), s =
|
|
5724
|
+
const t = ae(!0), s = Bl({
|
|
5726
5725
|
setup() {
|
|
5727
5726
|
e = () => {
|
|
5728
5727
|
t.value = !1, setTimeout(() => {
|
|
@@ -5744,9 +5743,9 @@ const da = {
|
|
|
5744
5743
|
Rt();
|
|
5745
5744
|
}
|
|
5746
5745
|
});
|
|
5747
|
-
return
|
|
5746
|
+
return Il.forEach((n) => {
|
|
5748
5747
|
s.component(n.name, n);
|
|
5749
|
-
}), s.provide("options", Qt), s.use(
|
|
5748
|
+
}), s.provide("options", Qt), s.use(Rl, { locale: mn }), document.body.appendChild(u), s.mount(u), e;
|
|
5750
5749
|
}, Jo = (a, u = {}) => {
|
|
5751
5750
|
yt({
|
|
5752
5751
|
title: "打印设置",
|
|
@@ -5754,16 +5753,16 @@ const da = {
|
|
|
5754
5753
|
fullscreen: !0,
|
|
5755
5754
|
...u,
|
|
5756
5755
|
slots: {
|
|
5757
|
-
default: () => be(
|
|
5756
|
+
default: () => be(Dl, a)
|
|
5758
5757
|
}
|
|
5759
5758
|
});
|
|
5760
5759
|
};
|
|
5761
|
-
function
|
|
5760
|
+
function Vl(a, u) {
|
|
5762
5761
|
console.log(u), a.print(u, {
|
|
5763
5762
|
styleHandler: () => '<link href="http://hiprint.io/Content/hiprint/css/print-lock.css" media="print" rel="stylesheet">'
|
|
5764
5763
|
});
|
|
5765
5764
|
}
|
|
5766
|
-
function
|
|
5765
|
+
function Ol(a, u, e) {
|
|
5767
5766
|
yt({
|
|
5768
5767
|
title: "打印预览",
|
|
5769
5768
|
width: e.width + "mm",
|
|
@@ -5789,7 +5788,7 @@ function Vl(a, u, e) {
|
|
|
5789
5788
|
a ? a.toPdf(u, "打印预览.pdf") : ElMessage.warning("模板未就绪");
|
|
5790
5789
|
}
|
|
5791
5790
|
}, {
|
|
5792
|
-
icon: () => be(
|
|
5791
|
+
icon: () => be(fn),
|
|
5793
5792
|
default: () => "导出PDF"
|
|
5794
5793
|
})
|
|
5795
5794
|
])
|
|
@@ -5894,8 +5893,8 @@ function ca(a, u) {
|
|
|
5894
5893
|
};
|
|
5895
5894
|
}
|
|
5896
5895
|
const fa = {
|
|
5897
|
-
print:
|
|
5898
|
-
printView:
|
|
5896
|
+
print: Vl,
|
|
5897
|
+
printView: Ol,
|
|
5899
5898
|
openPrint: Jo
|
|
5900
5899
|
}, ze = {
|
|
5901
5900
|
RADIO: "radio",
|
|
@@ -5981,7 +5980,7 @@ export {
|
|
|
5981
5980
|
yt as open,
|
|
5982
5981
|
Jo as openPrint,
|
|
5983
5982
|
fa as p,
|
|
5984
|
-
|
|
5985
|
-
|
|
5983
|
+
Vl as print,
|
|
5984
|
+
Ol as printView,
|
|
5986
5985
|
ca as throttle
|
|
5987
5986
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.custom-upload[data-v-7f7bace4]{--up-width: 100px;--up-height: 100px;--up-font-size: 18px;--up-fit: cover;--up-plus-display: flex}[data-v-7f7bace4] .custom-upload img{width:100%;height:100%;object-fit:var(--up-fit)}[data-v-7f7bace4] .custom-upload .el-upload--picture-card,[data-v-7f7bace4] .custom-upload .el-upload-dragger,[data-v-7f7bace4] .custom-upload .el-upload-list__item{width:var(--up-width);height:var(--up-height);line-height:var(--up-height);box-sizing:border-box}[data-v-7f7bace4] .custom-upload .el-upload-dragger{display:flex;align-items:center;justify-content:center;transition:border-color .3s}[data-v-7f7bace4] .custom-upload .el-icon{font-size:var(--up-font-size)}[data-v-7f7bace4] .el-upload--picture-card{display:var(--up-plus-display)}[data-v-7f7bace4] .el-upload-list__item.is-success.focusing .el-icon--close-tip{display:none!important}.g-query-container[data-v-eaca2240]{position:relative;display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-eaca2240]{min-height:100px;border-radius:4px;background-color:var(--el-bg-color);top:60px;padding-top:10px;width:100%;box-sizing:border-box}.inner[data-v-eaca2240]{border-radius:4px;min-height:100px;border:1px solid var(--el-border-color);padding:18px 18px 0;box-sizing:border-box;width:100%;background-color:var(--el-bg-color)}.nested-enter-active[data-v-eaca2240],.nested-leave-active[data-v-eaca2240]{transition:all .3s ease-in-out}.nested-leave-active[data-v-eaca2240]{transition-delay:.25s}.nested-enter-from[data-v-eaca2240],.nested-leave-to[data-v-eaca2240]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-eaca2240],.nested-leave-active .inner[data-v-eaca2240]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-eaca2240]{transition-delay:.25s}.nested-enter-from .inner[data-v-eaca2240],.nested-leave-to .inner[data-v-eaca2240]{transform:translateY(-100px);opacity:.001}.query-form[data-v-eaca2240]{padding:20px;background-color:var(--el-bg-color);border:1px solid var(--el-border-color);margin:5px;border-radius:4px}.g-form-container[data-v-4deea02c]{width:100%;display:flex;flex-direction:column;overflow:hidden}[data-v-4deea02c] .el-descriptions__cell{padding:0!important;border:none!important}[data-v-4deea02c] .el-descriptions__label{width:0!important}.custom-header[data-v-b4ba4c70]{display:flex;align-items:center;width:100%;height:100%;margin:0;box-sizing:border-box;color:var(--el-text-color-regular);border-bottom:1px solid var(--el-border-color)}.btn-icon[data-v-b4ba4c70]{cursor:pointer;margin:15px 10px;color:var(--el-text-color-regular);font-size:18px;padding:3px}.btn-icon[data-v-b4ba4c70]:hover{color:var(--el-color-primary);transition:all .2s;font-weight:700;background-color:var(--el-color-primary-light-7);border-radius:4px}.minimize-ball[data-v-b4ba4c70]{position:fixed;right:30px;bottom:30px;min-width:120px;height:42px;line-height:42px;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:6px;box-shadow:var(--el-box-shadow-light);text-align:center;cursor:pointer;z-index:9999;color:var(--el-text-color-regular);font-size:14px;transition:all .2s}.minimize-ball[data-v-b4ba4c70]:hover{border-color:var(--el-color-primary-light-7);background:var(--el-fill-color-light);color:var(--el-color-primary)}[data-v-b4ba4c70] .el-dialog{padding:0;box-sizing:border-box}[data-v-b4ba4c70] .el-dialog__header,[data-v-b4ba4c70] .el-drawer__header{padding:0!important;margin:0!important}.check-box-hover[data-v-8d7383f9]:hover,.check-box-hover[data-v-750b37bc]:hover{background:var(--el-border-color)}.allcheck a[data-v-750b37bc]{cursor:pointer}.filtered[data-v-750b37bc]{pointer-events:none}.g-cell-toopTip[data-v-f28912da]{max-height:400px;border-radius:var(--el-border-radius-base);padding:12px;transition:all .3s ease}.g-cell-toopTip .title[data-v-f28912da]{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;height:24px;border-bottom:1px solid var(--el-border-color)}.g-cell-toopTip .title .title-text[data-v-f28912da]{font-weight:700;line-height:24px}.g-cell-toopTip .content[data-v-f28912da]{max-height:300px;overflow-y:auto;line-height:1.5;padding:4px 0}.copy-btn[data-v-f28912da]{width:16px;height:16px;cursor:pointer}.copy-btn[data-v-f28912da]:hover{color:var(--el-color-success)}.g-detail-container[data-v-4902ce5a]{padding-top:5px}.control .el-button[data-v-2a88f8fa]{padding:0 3px;margin:0 3px}.g-table-container[data-v-2a88f8fa]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-2a88f8fa]{background-color:var(--el-bg-color);margin-bottom:10px;border:1px solid var(--el-border-color-lighter)}.table-container[data-v-2a88f8fa]{box-sizing:border-box;background-color:var(--el-bg-color)}.max[data-v-2a88f8fa]{cursor:pointer;color:var(--el-text-color)}.max[data-v-2a88f8fa]:hover{color:var(--el-color-primary)}.btns[data-v-2a88f8fa]{display:flex}[data-v-2a88f8fa] .drag-dialog{resize:both;overflow:auto}[data-v-2a88f8fa] .el-dialog__header,[data-v-2a88f8fa] .el-dialog__body{pointer-events:auto!important}.g-tree-table[data-v-2af391c5]{width:100%;display:flex;box-sizing:border-box}.g-tree-container[data-v-2af391c5]{display:flex;width:100%;box-sizing:border-box;border-radius:4px;overflow:auto;height:100%;border:1px solid var(--el-border-color-lighter);position:relative}.g-tree-table-container[data-v-2af391c5]{display:flex;flex:1;overflow:auto}.g-tree-left[data-v-2af391c5]{display:flex;flex-direction:column;box-sizing:border-box;margin-right:10px;overflow:auto}.g-tree-context-menu[data-v-2af391c5]{position:fixed;z-index:3000;min-width:100px;background:var(--el-bg-color);border:1px solid var(--el-border-color-lighter);border-radius:4px;box-shadow:0 2px 12px #0000001a;overflow:hidden}.g-tree-context-menu-item[data-v-2af391c5]{padding:8px 12px;cursor:pointer;font-size:12px;color:#303133}.g-tree-context-menu-item[data-v-2af391c5]:hover{background:var(--el-fill-color-light)}.op-items[data-v-c4b072bf]{display:flex;align-items:center;color:var(--el-text-color);margin-left:12px}.op-items span[data-v-c4b072bf]{background-color:var(--el-color-primary-light-7);border-radius:3px;margin:3px 2px 0 0;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-weight:400;padding:0 5px;box-sizing:border-box}.op-group[data-v-c4b072bf]{margin:0 22px}.op-group span[data-v-c4b072bf]{padding:5px;box-sizing:border-box;font-weight:700;background-color:var(--el-color-primary-light-3)}.json-view-content[data-v-975f3d61]{padding:16px}.json-view-toolbar[data-v-975f3d61]{display:flex;align-items:center;gap:16px;margin-bottom:12px}.json-view-toolbar-actions[data-v-975f3d61]{margin-left:auto;display:flex;gap:8px}.json-view-textarea[data-v-975f3d61] .el-textarea__inner{font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.6;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;padding:14px 16px;color:var(--el-text-color-primary)}.json-view-textarea[data-v-975f3d61] .el-textarea__inner:focus{border-color:var(--el-color-primary);box-shadow:0 0 0 2px #409eff33;background-color:var(--el-bg-color)}.card-design[data-v-0499065c]{overflow:hidden;overflow-x:auto;overflow-y:auto}[data-v-0499065c] .hiprint-printElement-table-handle{width:12pt!important;height:12pt!important;top:-6pt!important;left:-6pt!important;transform:rotate(45deg)}.rect-printElement-types::-webkit-scrollbar{width:6px}.rect-printElement-types::-webkit-scrollbar-thumb{background:var(--el-border-color);border-radius:3px}.hiprint-printElement-type{list-style:none;padding:0;margin:0}.hiprint-printElement-type>li{margin-bottom:12px}.hiprint-printElement-type>li>div:first-child,.hiprint-printElement-type>li>label,.hiprint-printElement-type>li>span.group-title,.hiprint-printElement-type>li>span:first-child{font-size:13px;font-weight:600;color:var(--el-text-color-primary);padding:8px 10px 6px;border-left:3px solid var(--el-color-primary);margin-bottom:4px;background:linear-gradient(to right,var(--el-color-primary-light-9),transparent);border-radius:0 4px 4px 0}html.dark .hiprint-printElement-type>li>div:first-child,html.dark .hiprint-printElement-type>li>label,html.dark .hiprint-printElement-type>li>span:first-child{background:linear-gradient(to right,var(--el-fill-color-light),transparent)}.hiprint-printElement-type>li>ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}.hiprint-printElement-type>li>ul>li{margin:0!important;padding:0!important}.hiprint-printElement-type>li>ul>li>a{display:flex!important;align-items:center;gap:6px;padding:8px 10px!important;color:var(--el-text-color-primary)!important;font-size:12px;line-height:1.4!important;height:auto!important;text-decoration:none!important;background:var(--el-bg-color)!important;border:1px solid var(--el-border-color)!important;border-radius:6px;transition:all .2s ease;cursor:grab;white-space:nowrap;-webkit-user-select:none;user-select:none;min-width:80px;box-shadow:var(--el-box-shadow-light)}.hiprint-printElement-type>li>ul>li>a:hover{color:var(--el-color-primary)!important;border-color:var(--el-color-primary-light-5);background:var(--el-color-primary-light-9);box-shadow:var(--el-box-shadow);transform:translateY(-1px)}.hiprint-printElement-type>li>ul>li>a:active{cursor:grabbing;transform:translateY(0)}.hiprint-printElement-type>li>ul>li>a.ui-draggable-dragging{opacity:.7;box-shadow:var(--el-box-shadow-dark)}.hiprint-printElement-type a:before{display:inline-block!important;font-size:14px;color:inherit!important;line-height:1;flex-shrink:0}.hiprint-printElement-type a:before{content:"📄"}.hiprint-printElement-type a[data-type=text]:before{content:"📝"}.hiprint-printElement-type a[data-type=image]:before{content:"🖼️"}.hiprint-printElement-type a[data-type=table]:before{content:"📊"}.hiprint-printElement-type a[data-type=barcode]:before{content:"📦"}.hiprint-printElement-type a[data-type=qrcode]:before{content:"🔲"}.hiprint-printElement-type a[data-type=line]:before{content:"➖"}.hiprint-printElement-type a[data-type=vline]:before{content:"│"}.hiprint-printElement-type a[data-type=rect]:before{content:"▭"}.hiprint-printElement-type a[data-type=oval]:before{content:"⭕"}.hiprint-printTemplate,.hiprint-printPanel,.hiprint-printPanelBody,.hiprint-printPaper{background:var(--el-bg-color)!important;margin:0!important;padding:0!important}.hiprint-printTemplate .hiprint-printElement,.hiprint-printTemplate .hiprint-printElement-text,.hiprint-printTemplate .hiprint-printElement-text-content,.hiprint-printTemplate .hiprint-printElement-longText,.hiprint-printTemplate .hiprint-printElement-longText-content,.hiprint-printTemplate .hiprint-printElement-content{color:#303133!important}.hiprint-printTemplate table,.hiprint-printTemplate td,.hiprint-printTemplate th{color:#303133!important;border-color:#dcdfe6!important}html.dark .hiprint-printTemplate,html.dark .hiprint-printPanel,html.dark .hiprint-printPanelBody,html.dark .hiprint-printPaper{background:#1d1e1f!important}html.dark .hiprint-printTemplate .hiprint-printElement,html.dark .hiprint-printTemplate .hiprint-printElement-text,html.dark .hiprint-printTemplate .hiprint-printElement-text-content,html.dark .hiprint-printTemplate .hiprint-printElement-longText,html.dark .hiprint-printTemplate .hiprint-printElement-longText-content,html.dark .hiprint-printTemplate .hiprint-printElement-content{color:#e5eaf3!important}html.dark .hiprint-printTemplate table,html.dark .hiprint-printTemplate td,html.dark .hiprint-printTemplate th{color:#e5eaf3!important;border-color:#414243!important}html.dark .hiprint-printPaper.design,html.dark .design .hiprint-printElement-text-content{border:1px dashed rgba(200,200,200,.5)!important}#PrintElementOptionSetting{min-height:300px}html.dark #PrintElementOptionSetting{background-color:var(--el-bg-color)!important;color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting,html.dark #PrintElementOptionSetting *,html.dark #PrintElementOptionSetting *:before,html.dark #PrintElementOptionSetting *:after{color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting [style*=color]{color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting [style*=background]{background-color:transparent!important}html.dark #PrintElementOptionSetting .hiprint-option-item-label,html.dark #PrintElementOptionSetting .hiprint-option-item-value,html.dark #PrintElementOptionSetting .hiprint-option-item-row,html.dark #PrintElementOptionSetting .hiprint-option-item,html.dark #PrintElementOptionSetting .hiprint-option-row,html.dark #PrintElementOptionSetting .hiprint-option-label,html.dark #PrintElementOptionSetting .hiprint-option-value,html.dark #PrintElementOptionSetting label,html.dark #PrintElementOptionSetting span,html.dark #PrintElementOptionSetting div,html.dark #PrintElementOptionSetting td,html.dark #PrintElementOptionSetting p{color:var(--el-text-color-primary)!important;background-color:var(--el-bg-color)!important}html.dark #PrintElementOptionSetting input[type=text],html.dark #PrintElementOptionSetting input[type=number],html.dark #PrintElementOptionSetting input:not([type]),html.dark #PrintElementOptionSetting textarea,html.dark #PrintElementOptionSetting select{background-color:var(--el-fill-color-blank)!important;color:var(--el-text-color-primary)!important;border:1px solid var(--el-border-color)!important}html.dark #PrintElementOptionSetting input[type=text]:focus,html.dark #PrintElementOptionSetting input[type=number]:focus,html.dark #PrintElementOptionSetting textarea:focus,html.dark #PrintElementOptionSetting select:focus{border-color:var(--el-color-primary)!important;outline:none!important}html.dark #PrintElementOptionSetting select option{background-color:var(--el-bg-color-overlay)!important;color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting [class*=tab],html.dark #PrintElementOptionSetting [class*=Tab],html.dark #PrintElementOptionSetting [class*=header]{background-color:transparent!important;color:var(--el-text-color-regular)!important;border-color:var(--el-border-color)!important}html.dark #PrintElementOptionSetting [class*=tab].active,html.dark #PrintElementOptionSetting [class*=tab][class*=active]{color:var(--el-color-primary)!important;background-color:var(--el-fill-color-light)!important;border-bottom-color:var(--el-color-primary)!important}html.dark #PrintElementOptionSetting button,html.dark #PrintElementOptionSetting input[type=button],html.dark #PrintElementOptionSetting input[type=submit]{background-color:var(--el-fill-color)!important;color:var(--el-text-color-primary)!important;border:1px solid var(--el-border-color)!important}html.dark #PrintElementOptionSetting button:hover{background-color:var(--el-color-primary-light-9)!important;color:var(--el-color-primary)!important;border-color:var(--el-color-primary-light-5)!important}html.dark #PrintElementOptionSetting input[type=checkbox]{accent-color:var(--el-color-primary)}html.dark #PrintElementOptionSetting input[type=color]{border:1px solid var(--el-border-color)!important;background:var(--el-bg-color)!important}html.dark #PrintElementOptionSetting img{filter:brightness(0) invert(1)}html.dark #PrintElementOptionSetting ::selection{background:var(--el-color-primary)!important;color:var(--el-text-color-primary)!important}
|
|
1
|
+
.custom-upload[data-v-31984716]{--up-width: 100px;--up-height: 100px;--up-font-size: 18px;--up-fit: cover;--up-plus-display: flex}[data-v-31984716] .custom-upload img{width:100%;height:100%;object-fit:var(--up-fit)}[data-v-31984716] .custom-upload .el-upload--picture-card,[data-v-31984716] .custom-upload .el-upload-dragger,[data-v-31984716] .custom-upload .el-upload-list__item{width:var(--up-width);height:var(--up-height);line-height:var(--up-height);box-sizing:border-box}[data-v-31984716] .custom-upload .el-upload-dragger{display:flex;align-items:center;justify-content:center;transition:border-color .3s}[data-v-31984716] .custom-upload .el-icon{font-size:var(--up-font-size)}[data-v-31984716] .el-upload--picture-card{display:var(--up-plus-display)}[data-v-31984716] .el-upload-list__item.is-success.focusing .el-icon--close-tip{display:none!important}.g-query-container[data-v-eaca2240]{position:relative;display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-eaca2240]{min-height:100px;border-radius:4px;background-color:var(--el-bg-color);top:60px;padding-top:10px;width:100%;box-sizing:border-box}.inner[data-v-eaca2240]{border-radius:4px;min-height:100px;border:1px solid var(--el-border-color);padding:18px 18px 0;box-sizing:border-box;width:100%;background-color:var(--el-bg-color)}.nested-enter-active[data-v-eaca2240],.nested-leave-active[data-v-eaca2240]{transition:all .3s ease-in-out}.nested-leave-active[data-v-eaca2240]{transition-delay:.25s}.nested-enter-from[data-v-eaca2240],.nested-leave-to[data-v-eaca2240]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-eaca2240],.nested-leave-active .inner[data-v-eaca2240]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-eaca2240]{transition-delay:.25s}.nested-enter-from .inner[data-v-eaca2240],.nested-leave-to .inner[data-v-eaca2240]{transform:translateY(-100px);opacity:.001}.query-form[data-v-eaca2240]{padding:20px;background-color:var(--el-bg-color);border:1px solid var(--el-border-color);margin:5px;border-radius:4px}.g-form-container[data-v-4deea02c]{width:100%;display:flex;flex-direction:column;overflow:hidden}[data-v-4deea02c] .el-descriptions__cell{padding:0!important;border:none!important}[data-v-4deea02c] .el-descriptions__label{width:0!important}.custom-header[data-v-b4ba4c70]{display:flex;align-items:center;width:100%;height:100%;margin:0;box-sizing:border-box;color:var(--el-text-color-regular);border-bottom:1px solid var(--el-border-color)}.btn-icon[data-v-b4ba4c70]{cursor:pointer;margin:15px 10px;color:var(--el-text-color-regular);font-size:18px;padding:3px}.btn-icon[data-v-b4ba4c70]:hover{color:var(--el-color-primary);transition:all .2s;font-weight:700;background-color:var(--el-color-primary-light-7);border-radius:4px}.minimize-ball[data-v-b4ba4c70]{position:fixed;right:30px;bottom:30px;min-width:120px;height:42px;line-height:42px;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:6px;box-shadow:var(--el-box-shadow-light);text-align:center;cursor:pointer;z-index:9999;color:var(--el-text-color-regular);font-size:14px;transition:all .2s}.minimize-ball[data-v-b4ba4c70]:hover{border-color:var(--el-color-primary-light-7);background:var(--el-fill-color-light);color:var(--el-color-primary)}[data-v-b4ba4c70] .el-dialog{padding:0;box-sizing:border-box}[data-v-b4ba4c70] .el-dialog__header,[data-v-b4ba4c70] .el-drawer__header{padding:0!important;margin:0!important}.check-box-hover[data-v-8d7383f9]:hover,.check-box-hover[data-v-750b37bc]:hover{background:var(--el-border-color)}.allcheck a[data-v-750b37bc]{cursor:pointer}.filtered[data-v-750b37bc]{pointer-events:none}.g-cell-toopTip[data-v-f28912da]{max-height:400px;border-radius:var(--el-border-radius-base);padding:12px;transition:all .3s ease}.g-cell-toopTip .title[data-v-f28912da]{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;height:24px;border-bottom:1px solid var(--el-border-color)}.g-cell-toopTip .title .title-text[data-v-f28912da]{font-weight:700;line-height:24px}.g-cell-toopTip .content[data-v-f28912da]{max-height:300px;overflow-y:auto;line-height:1.5;padding:4px 0}.copy-btn[data-v-f28912da]{width:16px;height:16px;cursor:pointer}.copy-btn[data-v-f28912da]:hover{color:var(--el-color-success)}.g-detail-container[data-v-4902ce5a]{padding-top:5px}.control .el-button[data-v-2a88f8fa]{padding:0 3px;margin:0 3px}.g-table-container[data-v-2a88f8fa]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-2a88f8fa]{background-color:var(--el-bg-color);margin-bottom:10px;border:1px solid var(--el-border-color-lighter)}.table-container[data-v-2a88f8fa]{box-sizing:border-box;background-color:var(--el-bg-color)}.max[data-v-2a88f8fa]{cursor:pointer;color:var(--el-text-color)}.max[data-v-2a88f8fa]:hover{color:var(--el-color-primary)}.btns[data-v-2a88f8fa]{display:flex}[data-v-2a88f8fa] .drag-dialog{resize:both;overflow:auto}[data-v-2a88f8fa] .el-dialog__header,[data-v-2a88f8fa] .el-dialog__body{pointer-events:auto!important}.g-tree-table[data-v-2af391c5]{width:100%;display:flex;box-sizing:border-box}.g-tree-container[data-v-2af391c5]{display:flex;width:100%;box-sizing:border-box;border-radius:4px;overflow:auto;height:100%;border:1px solid var(--el-border-color-lighter);position:relative}.g-tree-table-container[data-v-2af391c5]{display:flex;flex:1;overflow:auto}.g-tree-left[data-v-2af391c5]{display:flex;flex-direction:column;box-sizing:border-box;margin-right:10px;overflow:auto}.g-tree-context-menu[data-v-2af391c5]{position:fixed;z-index:3000;min-width:100px;background:var(--el-bg-color);border:1px solid var(--el-border-color-lighter);border-radius:4px;box-shadow:0 2px 12px #0000001a;overflow:hidden}.g-tree-context-menu-item[data-v-2af391c5]{padding:8px 12px;cursor:pointer;font-size:12px;color:#303133}.g-tree-context-menu-item[data-v-2af391c5]:hover{background:var(--el-fill-color-light)}.op-items[data-v-c4b072bf]{display:flex;align-items:center;color:var(--el-text-color);margin-left:12px}.op-items span[data-v-c4b072bf]{background-color:var(--el-color-primary-light-7);border-radius:3px;margin:3px 2px 0 0;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-weight:400;padding:0 5px;box-sizing:border-box}.op-group[data-v-c4b072bf]{margin:0 22px}.op-group span[data-v-c4b072bf]{padding:5px;box-sizing:border-box;font-weight:700;background-color:var(--el-color-primary-light-3)}.json-view-content[data-v-975f3d61]{padding:16px}.json-view-toolbar[data-v-975f3d61]{display:flex;align-items:center;gap:16px;margin-bottom:12px}.json-view-toolbar-actions[data-v-975f3d61]{margin-left:auto;display:flex;gap:8px}.json-view-textarea[data-v-975f3d61] .el-textarea__inner{font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.6;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;padding:14px 16px;color:var(--el-text-color-primary)}.json-view-textarea[data-v-975f3d61] .el-textarea__inner:focus{border-color:var(--el-color-primary);box-shadow:0 0 0 2px #409eff33;background-color:var(--el-bg-color)}.card-design[data-v-3da27269]{overflow:hidden;overflow-x:auto;overflow-y:auto}[data-v-3da27269] .hiprint-printElement-table-handle{width:12pt!important;height:12pt!important;top:-6pt!important;left:-6pt!important;transform:rotate(45deg)}.rect-printElement-types::-webkit-scrollbar{width:6px}.rect-printElement-types::-webkit-scrollbar-thumb{background:var(--el-border-color);border-radius:3px}.hiprint-printElement-type{list-style:none;padding:0;margin:0}.hiprint-printElement-type>li{margin-bottom:12px}.hiprint-printElement-type>li>div:first-child,.hiprint-printElement-type>li>label,.hiprint-printElement-type>li>span.group-title,.hiprint-printElement-type>li>span:first-child{font-size:13px;font-weight:600;color:var(--el-text-color-primary);padding:8px 10px 6px;border-left:3px solid var(--el-color-primary);margin-bottom:4px;background:linear-gradient(to right,var(--el-color-primary-light-9),transparent);border-radius:0 4px 4px 0}html.dark .hiprint-printElement-type>li>div:first-child,html.dark .hiprint-printElement-type>li>label,html.dark .hiprint-printElement-type>li>span:first-child{background:linear-gradient(to right,var(--el-fill-color-light),transparent)}.hiprint-printElement-type>li>ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}.hiprint-printElement-type>li>ul>li{margin:0!important;padding:0!important}.hiprint-printElement-type>li>ul>li>a{display:flex!important;align-items:center;gap:6px;padding:8px 10px!important;color:var(--el-text-color-primary)!important;font-size:12px;line-height:1.4!important;height:auto!important;text-decoration:none!important;background:var(--el-bg-color)!important;border:1px solid var(--el-border-color)!important;border-radius:6px;transition:all .2s ease;cursor:grab;white-space:nowrap;-webkit-user-select:none;user-select:none;min-width:80px;box-shadow:var(--el-box-shadow-light)}.hiprint-printElement-type>li>ul>li>a:hover{color:var(--el-color-primary)!important;border-color:var(--el-color-primary-light-5);background:var(--el-color-primary-light-9);box-shadow:var(--el-box-shadow);transform:translateY(-1px)}.hiprint-printElement-type>li>ul>li>a:active{cursor:grabbing;transform:translateY(0)}.hiprint-printElement-type>li>ul>li>a.ui-draggable-dragging{opacity:.7;box-shadow:var(--el-box-shadow-dark)}.hiprint-printElement-type a:before{display:inline-block!important;font-size:14px;color:inherit!important;line-height:1;flex-shrink:0}.hiprint-printElement-type a:before{content:"📄"}.hiprint-printElement-type a[data-type=text]:before{content:"📝"}.hiprint-printElement-type a[data-type=image]:before{content:"🖼️"}.hiprint-printElement-type a[data-type=table]:before{content:"📊"}.hiprint-printElement-type a[data-type=barcode]:before{content:"📦"}.hiprint-printElement-type a[data-type=qrcode]:before{content:"🔲"}.hiprint-printElement-type a[data-type=line]:before{content:"➖"}.hiprint-printElement-type a[data-type=vline]:before{content:"│"}.hiprint-printElement-type a[data-type=rect]:before{content:"▭"}.hiprint-printElement-type a[data-type=oval]:before{content:"⭕"}.hiprint-printTemplate,.hiprint-printPanel,.hiprint-printPanelBody,.hiprint-printPaper{background:var(--el-bg-color)!important;margin:0!important;padding:0!important}.hiprint-printTemplate .hiprint-printElement,.hiprint-printTemplate .hiprint-printElement-text,.hiprint-printTemplate .hiprint-printElement-text-content,.hiprint-printTemplate .hiprint-printElement-longText,.hiprint-printTemplate .hiprint-printElement-longText-content,.hiprint-printTemplate .hiprint-printElement-content{color:#303133!important}.hiprint-printTemplate table,.hiprint-printTemplate td,.hiprint-printTemplate th{color:#303133!important;border-color:#dcdfe6!important}html.dark .hiprint-printTemplate,html.dark .hiprint-printPanel,html.dark .hiprint-printPanelBody,html.dark .hiprint-printPaper{background:#1d1e1f!important}html.dark .hiprint-printTemplate .hiprint-printElement,html.dark .hiprint-printTemplate .hiprint-printElement-text,html.dark .hiprint-printTemplate .hiprint-printElement-text-content,html.dark .hiprint-printTemplate .hiprint-printElement-longText,html.dark .hiprint-printTemplate .hiprint-printElement-longText-content,html.dark .hiprint-printTemplate .hiprint-printElement-content{color:#e5eaf3!important}html.dark .hiprint-printTemplate table,html.dark .hiprint-printTemplate td,html.dark .hiprint-printTemplate th{color:#e5eaf3!important;border-color:#414243!important}html.dark .hiprint-printPaper.design,html.dark .design .hiprint-printElement-text-content{border:1px dashed rgba(200,200,200,.5)!important}#PrintElementOptionSetting{min-height:300px}html.dark #PrintElementOptionSetting{background-color:var(--el-bg-color)!important;color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting,html.dark #PrintElementOptionSetting *,html.dark #PrintElementOptionSetting *:before,html.dark #PrintElementOptionSetting *:after{color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting [style*=color]{color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting [style*=background]{background-color:transparent!important}html.dark #PrintElementOptionSetting .hiprint-option-item-label,html.dark #PrintElementOptionSetting .hiprint-option-item-value,html.dark #PrintElementOptionSetting .hiprint-option-item-row,html.dark #PrintElementOptionSetting .hiprint-option-item,html.dark #PrintElementOptionSetting .hiprint-option-row,html.dark #PrintElementOptionSetting .hiprint-option-label,html.dark #PrintElementOptionSetting .hiprint-option-value,html.dark #PrintElementOptionSetting label,html.dark #PrintElementOptionSetting span,html.dark #PrintElementOptionSetting div,html.dark #PrintElementOptionSetting td,html.dark #PrintElementOptionSetting p{color:var(--el-text-color-primary)!important;background-color:var(--el-bg-color)!important}html.dark #PrintElementOptionSetting input[type=text],html.dark #PrintElementOptionSetting input[type=number],html.dark #PrintElementOptionSetting input:not([type]),html.dark #PrintElementOptionSetting textarea,html.dark #PrintElementOptionSetting select{background-color:var(--el-fill-color-blank)!important;color:var(--el-text-color-primary)!important;border:1px solid var(--el-border-color)!important}html.dark #PrintElementOptionSetting input[type=text]:focus,html.dark #PrintElementOptionSetting input[type=number]:focus,html.dark #PrintElementOptionSetting textarea:focus,html.dark #PrintElementOptionSetting select:focus{border-color:var(--el-color-primary)!important;outline:none!important}html.dark #PrintElementOptionSetting select option{background-color:var(--el-bg-color-overlay)!important;color:var(--el-text-color-primary)!important}html.dark #PrintElementOptionSetting [class*=tab],html.dark #PrintElementOptionSetting [class*=Tab],html.dark #PrintElementOptionSetting [class*=header]{background-color:transparent!important;color:var(--el-text-color-regular)!important;border-color:var(--el-border-color)!important}html.dark #PrintElementOptionSetting [class*=tab].active,html.dark #PrintElementOptionSetting [class*=tab][class*=active]{color:var(--el-color-primary)!important;background-color:var(--el-fill-color-light)!important;border-bottom-color:var(--el-color-primary)!important}html.dark #PrintElementOptionSetting button,html.dark #PrintElementOptionSetting input[type=button],html.dark #PrintElementOptionSetting input[type=submit]{background-color:var(--el-fill-color)!important;color:var(--el-text-color-primary)!important;border:1px solid var(--el-border-color)!important}html.dark #PrintElementOptionSetting button:hover{background-color:var(--el-color-primary-light-9)!important;color:var(--el-color-primary)!important;border-color:var(--el-color-primary-light-5)!important}html.dark #PrintElementOptionSetting input[type=checkbox]{accent-color:var(--el-color-primary)}html.dark #PrintElementOptionSetting input[type=color]{border:1px solid var(--el-border-color)!important;background:var(--el-bg-color)!important}html.dark #PrintElementOptionSetting img{filter:brightness(0) invert(1)}html.dark #PrintElementOptionSetting ::selection{background:var(--el-color-primary)!important;color:var(--el-text-color-primary)!important}
|