ss-component-new 1.1.736 → 1.1.738
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/array-B43Itsl4.cjs +11 -0
- package/dist/{array-D6kId-he.js → array-BF0dS7tS.js} +56 -56
- package/dist/{index-DVxE_kLG.js → index-B0Lq4k8r.js} +6 -6
- package/dist/{index-C5OQnEmC.cjs → index-BCnYb4bQ.cjs} +1 -1
- package/dist/{index-Cg6FQWlC.js → index-BIcIXQOL.js} +1214 -1202
- package/dist/{index-D0-Pgt4u.cjs → index-BLOByaIp.cjs} +1 -1
- package/dist/{index-oWY_tQXM.js → index-BQ2ZNTnO.js} +4 -4
- package/dist/{index-xRzAubsX.js → index-BSyBB5-q.js} +1 -1
- package/dist/{index-Clp1c8_6.cjs → index-BZn8qg15.cjs} +1 -1
- package/dist/{index-BSxxZchx.js → index-BeT3E7zn.js} +2 -2
- package/dist/index-BgZfE3DM.cjs +6 -0
- package/dist/{index-qvI5ZTYb.cjs → index-Bi8qPffZ.cjs} +1 -1
- package/dist/{index-C8A5ITKZ.cjs → index-BpCxVNMP.cjs} +1 -1
- package/dist/{index-CagbzA_u.js → index-BuQr_u_7.js} +1910 -1911
- package/dist/{index-BvA4hL-w.cjs → index-BwJEcVYd.cjs} +1 -1
- package/dist/{index-wFTbYxsW.cjs → index-C8RnM170.cjs} +1 -1
- package/dist/{index-DRlLBTUN.cjs → index-CB2VrfM6.cjs} +1 -1
- package/dist/{index-D2UMjWv5.js → index-CQEN5hMG.js} +1 -1
- package/dist/{index-CmhKiP5S.js → index-CTleV-te.js} +2 -2
- package/dist/{index-CvesY00D.js → index-CbkPGyet.js} +3 -3
- package/dist/{index-D3YxxadH.cjs → index-CpQ5HyQn.cjs} +1 -1
- package/dist/{index-CTt5-60h.js → index-Cyba9NHB.js} +3 -3
- package/dist/{index-DR-W3Mnj.js → index-D4dhCNET.js} +1 -1
- package/dist/{index--wotSXK5.cjs → index-D5r-9e8N.cjs} +1 -1
- package/dist/{index-B0yRCDl9.cjs → index-DF-A4TOU.cjs} +1 -1
- package/dist/{index-DTqSPCSJ.cjs → index-DF_DJb27.cjs} +1 -1
- package/dist/{index-CrDMARZa.cjs → index-DHOqgbYN.cjs} +1 -1
- package/dist/index-DHl8FgvN.cjs +1 -0
- package/dist/index-DQc4Vs7P.cjs +4 -0
- package/dist/{index-BmBCPfR9.cjs → index-DRqN4yDU.cjs} +1 -1
- package/dist/{index-Dza7OAIE.js → index-DRzKTjFG.js} +1 -1
- package/dist/{index-DRaJlUzA.cjs → index-DSUAIjmi.cjs} +1 -1
- package/dist/{index-BT5Q42mK.js → index-DTGPhiCV.js} +1 -1
- package/dist/{index-Dxi2OUj7.js → index-DYV08kEt.js} +14 -17
- package/dist/{index-DVqXCUuo.js → index-DZo4uFPs.js} +1 -1
- package/dist/{index-BciXX_qN.js → index-Ditw3Hxf.js} +1 -1
- package/dist/{index-CIaogPox.cjs → index-Dk1UVMyj.cjs} +1 -1
- package/dist/{index-DbiF5KyF.cjs → index-DklmmCf7.cjs} +1 -1
- package/dist/index-Dp2hVs-k.cjs +1 -0
- package/dist/{index-CZsXzYFb.js → index-Mr8oAU2v.js} +4 -4
- package/dist/{index-DNJp_-eY.js → index-OEzMLuFq.js} +2 -2
- package/dist/index-VeZ91-fs.js +5145 -0
- package/dist/{index-Zl3J2es0.cjs → index-f8ol-9SD.cjs} +1 -1
- package/dist/{index-Cp7S8oTH.js → index-ha9e45hW.js} +1 -1
- package/dist/{index-T1xqblcO.js → index-nqM4u0S-.js} +2 -2
- package/dist/{index-DlwjWr90.js → index-u4r71RPa.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-CmL-FoQT.js → index.vue_vue_type_script_setup_true_lang-CIMG9RKy.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BvbUENbJ.cjs → index.vue_vue_type_script_setup_true_lang-JkfkJZII.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-9peJyl.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BFxsYhWZ.cjs} +71 -71
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cz8ATUJq.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vE9aPHrC.js} +3574 -3568
- package/dist/{index.vue_vue_type_style_index_0_scoped_09a48292_lang-RnMN3EZX.cjs → index.vue_vue_type_style_index_0_scoped_c80f0a23_lang-BkvRxwWE.cjs} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_09a48292_lang-5v4sXVSL.js → index.vue_vue_type_style_index_0_scoped_c80f0a23_lang-DsJmM491.js} +2856 -2838
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-x-PJEaHt.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-8mAOCV-Z.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CW4hvQJ-.cjs → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-DOMLeX9y.cjs} +1 -1
- package/dist/{main-BfnRMlht.js → main-CpHJphSc.js} +3 -3
- package/dist/{main-CVYFMliv.cjs → main-Cvgpn8aX.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +8 -8
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-BE8UpCoC.js → threeModel-B1ia4K3b.js} +1 -1
- package/dist/{threeModel-BBPV2XNT.cjs → threeModel-IV_V2vWF.cjs} +1 -1
- package/dist/{threeSceneView-CRLJTKst.cjs → threeSceneView-B7B19fvW.cjs} +1 -1
- package/dist/{threeSceneView-DYJx0EyR.js → threeSceneView-Y9yIg7LL.js} +1 -1
- package/package.json +1 -1
- package/dist/array-Be66SaRG.cjs +0 -11
- package/dist/index-B6Lavhm1.cjs +0 -4
- package/dist/index-BKGBI2-5.cjs +0 -1
- package/dist/index-Bi6OSO3F.cjs +0 -6
- package/dist/index-DURPyIKf.cjs +0 -1
- package/dist/index-uuo5EhJg.js +0 -5128
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ref as C, resolveComponent as
|
|
1
|
+
import { ref as C, resolveComponent as E, createBlock as P, openBlock as v, createCommentVNode as U, defineComponent as u2, onMounted as y2, withCtx as S, createVNode as j, createElementVNode as A, createElementBlock as y, Fragment as X, renderList as e2, createTextVNode as _2, toDisplayString as s2, watch as d2, normalizeStyle as n2, renderSlot as R, unref as S2, createSlots as b2, resolveDynamicComponent as T2, normalizeClass as o0, nextTick as z2, normalizeProps as T0, guardReactiveProps as M0, mergeProps as P2, withModifiers as s0, reactive as A2, inject as P0, onBeforeUnmount as c0, computed as I, withDirectives as W2, vShow as R2, watchEffect as C2, onUnmounted as G2, defineAsyncComponent as Y2, h as F2, toRefs as k0 } from "vue";
|
|
2
2
|
import { S as q2 } from "./index-BHtNKL1L.js";
|
|
3
|
-
import { j as Z2, B as K2, N as O0, O as E0, P as B0, Q as G0, R as Q2, T as J2 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { j as Z2, B as K2, N as O0, O as E0, P as B0, Q as G0, R as Q2, T as J2 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vE9aPHrC.js";
|
|
4
4
|
import { _ as t2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as g2, p as H0, u as L0, s as j0 } from "./index.vue_vue_type_style_index_1_lang-D63h0xfu.js";
|
|
6
6
|
import { bp as U0, bq as A0, s as H2, E as i0, aC as $0, ae as I0, bI as N0 } from "./index-DFIWQwMZ.js";
|
|
7
7
|
import { u as W0 } from "./modelComp-1qQxzS_u.js";
|
|
8
|
-
import { _ as R0 } from "./index.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as R0 } from "./index.vue_vue_type_script_setup_true_lang-CIMG9RKy.js";
|
|
9
9
|
var Y0 = "[object Number]";
|
|
10
10
|
function X2(t) {
|
|
11
11
|
return typeof t == "number" || U0(t) && A0(t) == Y0;
|
|
@@ -32,16 +32,16 @@ const F0 = {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(t) {
|
|
35
|
-
const
|
|
36
|
-
return (
|
|
37
|
-
const
|
|
38
|
-
return v(),
|
|
35
|
+
const n = t, e = C(n.value);
|
|
36
|
+
return (a, s) => {
|
|
37
|
+
const r = E("el-switch");
|
|
38
|
+
return v(), P(r, {
|
|
39
39
|
modelValue: e.value,
|
|
40
40
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
41
41
|
"active-color": "#13ce66",
|
|
42
42
|
"inactive-color": "#ff4949",
|
|
43
|
-
"active-text":
|
|
44
|
-
"inactive-text":
|
|
43
|
+
"active-text": n == null ? void 0 : n.activeText,
|
|
44
|
+
"inactive-text": n == null ? void 0 : n.inactiveText
|
|
45
45
|
}, null, 8, ["modelValue", "active-text", "inactive-text"]);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
@@ -59,14 +59,14 @@ const F0 = {
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
setup(t) {
|
|
62
|
-
const
|
|
63
|
-
return (
|
|
64
|
-
const
|
|
65
|
-
return Array.isArray(e.value) ? U("", !0) : (v(),
|
|
62
|
+
const n = t, e = C(n.value);
|
|
63
|
+
return (a, s) => {
|
|
64
|
+
const r = E("el-input");
|
|
65
|
+
return Array.isArray(e.value) ? U("", !0) : (v(), P(r, {
|
|
66
66
|
key: 0,
|
|
67
67
|
modelValue: e.value,
|
|
68
68
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
69
|
-
disabled: !(
|
|
69
|
+
disabled: !(n != null && n.isEdit),
|
|
70
70
|
clearable: ""
|
|
71
71
|
}, null, 8, ["modelValue", "disabled"]));
|
|
72
72
|
};
|
|
@@ -83,12 +83,12 @@ const F0 = {
|
|
|
83
83
|
}, Symbol.toStringTag, { value: "Module" })), e3 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750816526374'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9498'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M926.3%20337.9c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.9-35.2-174.3-35.2S394.6%2076.2%20339.3%2099.6c-53.3%2022.6-101.2%2054.8-142.3%2096-41.1%2041.1-73.4%2089-96%20142.3-23.4%2055.2-35.2%20113.9-35.2%20174.3%200%2060.4%2011.8%20119.1%2035.2%20174.3%2022.6%2053.3%2054.8%20101.2%2096%20142.3%2041.1%2041.1%2089%2073.4%20142.3%2096%2055.2%2023.4%20113.9%2035.2%20174.3%2035.2s119.1-11.8%20174.3-35.2c53.3-22.6%20101.2-54.8%20142.3-96%2041.1-41.1%2073.4-89%2096-142.3%2023.4-55.2%2035.2-113.9%2035.2-174.3%200.1-60.4-11.8-119.1-35.1-174.3zM513.7%20879.1c-202.3%200-366.9-164.6-366.9-366.9s164.6-366.9%20366.9-366.9c202.3%200%20366.9%20164.6%20366.9%20366.9S716%20879.1%20513.7%20879.1z'%20p-id='9499'%3e%3c/path%3e%3cpath%20d='M695.7%20469.2h-139v-139c0-23.6-19.3-43-43-43-23.6%200-43%2019.3-43%2043v139h-139c-23.6%200-43%2019.3-43%2043s19.3%2043%2043%2043h139v139c0%2023.7%2019.3%2043%2043%2043%2023.6%200%2043-19.3%2043-43v-139h139c23.6%200%2043-19.3%2043-43s-19.4-43-43-43z'%20p-id='9500'%3e%3c/path%3e%3c/svg%3e", t3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
84
84
|
__proto__: null,
|
|
85
85
|
default: e3
|
|
86
|
-
}, Symbol.toStringTag, { value: "Module" })), l3 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750816329545'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9351'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M926.3%20337.9c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.9-35.2-174.3-35.2S394.6%2076.2%20339.3%2099.6c-53.3%2022.6-101.2%2054.8-142.3%2096-41.1%2041.1-73.4%2089-96%20142.3-23.4%2055.2-35.2%20113.9-35.2%20174.3%200%2060.4%2011.8%20119.1%2035.2%20174.3%2022.6%2053.3%2054.8%20101.2%2096%20142.3%2041.1%2041.1%2089%2073.4%20142.3%2096%2055.2%2023.4%20113.9%2035.2%20174.3%2035.2s119.1-11.8%20174.3-35.2c53.3-22.6%20101.2-54.8%20142.3-96%2041.1-41.1%2073.4-89%2096-142.3%2023.4-55.2%2035.2-113.9%2035.2-174.3%200.1-60.4-11.8-119.1-35.1-174.3zM513.7%20879.1c-202.3%200-366.9-164.6-366.9-366.9s164.6-366.9%20366.9-366.9c202.3%200%20366.9%20164.6%20366.9%20366.9S716%20879.1%20513.7%20879.1z'%20p-id='9352'%3e%3c/path%3e%3cpath%20d='M697.9%20329.1c-15.6-15.6-41-15.6-56.6%200L513%20457.4%20384.7%20329.1c-15.6-15.6-41-15.6-56.6%200-15.6%2015.6-15.6%2041%200%2056.6L456.4%20514%20328.1%20642.3c-15.6%2015.6-15.6%2041%200%2056.6%2015.6%2015.6%2041%2015.6%2056.6%200L513%20570.6l128.3%20128.3c15.6%2015.6%2041%2015.6%2056.6%200%2015.6-15.6%2015.6-41%200-56.6L569.6%20514l128.3-128.3c15.6-15.6%2015.6-41.1%200-56.6z'%20p-id='9353'%3e%3c/path%3e%3c/svg%3e",
|
|
86
|
+
}, Symbol.toStringTag, { value: "Module" })), l3 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750816329545'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9351'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M926.3%20337.9c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.9-35.2-174.3-35.2S394.6%2076.2%20339.3%2099.6c-53.3%2022.6-101.2%2054.8-142.3%2096-41.1%2041.1-73.4%2089-96%20142.3-23.4%2055.2-35.2%20113.9-35.2%20174.3%200%2060.4%2011.8%20119.1%2035.2%20174.3%2022.6%2053.3%2054.8%20101.2%2096%20142.3%2041.1%2041.1%2089%2073.4%20142.3%2096%2055.2%2023.4%20113.9%2035.2%20174.3%2035.2s119.1-11.8%20174.3-35.2c53.3-22.6%20101.2-54.8%20142.3-96%2041.1-41.1%2073.4-89%2096-142.3%2023.4-55.2%2035.2-113.9%2035.2-174.3%200.1-60.4-11.8-119.1-35.1-174.3zM513.7%20879.1c-202.3%200-366.9-164.6-366.9-366.9s164.6-366.9%20366.9-366.9c202.3%200%20366.9%20164.6%20366.9%20366.9S716%20879.1%20513.7%20879.1z'%20p-id='9352'%3e%3c/path%3e%3cpath%20d='M697.9%20329.1c-15.6-15.6-41-15.6-56.6%200L513%20457.4%20384.7%20329.1c-15.6-15.6-41-15.6-56.6%200-15.6%2015.6-15.6%2041%200%2056.6L456.4%20514%20328.1%20642.3c-15.6%2015.6-15.6%2041%200%2056.6%2015.6%2015.6%2041%2015.6%2056.6%200L513%20570.6l128.3%20128.3c15.6%2015.6%2041%2015.6%2056.6%200%2015.6-15.6%2015.6-41%200-56.6L569.6%20514l128.3-128.3c15.6-15.6%2015.6-41.1%200-56.6z'%20p-id='9353'%3e%3c/path%3e%3c/svg%3e", a3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
87
87
|
__proto__: null,
|
|
88
88
|
default: l3
|
|
89
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
89
|
+
}, Symbol.toStringTag, { value: "Module" })), n3 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750815766948'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9204'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M923.9%20335.8c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.8-35.2-174.3-35.2S392.2%2074.1%20337%2097.5c-53.3%2022.6-101.2%2054.8-142.3%2096-41.1%2041.1-73.4%2089-96%20142.3C75.3%20391%2063.5%20449.7%2063.5%20510.1c0%2060.4%2011.8%20119.1%2035.2%20174.3%2022.6%2053.3%2054.8%20101.2%2096%20142.3%2041.1%2041.1%2089%2073.4%20142.3%2096%2055.2%2023.4%20113.9%2035.2%20174.3%2035.2s119.1-11.8%20174.3-35.2c35.9-15.2%2069.3-34.8%2099.8-58.5l-0.1-0.1c9.1-7.4%2014.8-18.6%2014.8-31.2%200-22.3-18-40.3-40.3-40.3-9.2%200-17.7%203.1-24.5%208.3l-0.2-0.3c-62%2047.9-139.7%2076.4-223.9%2076.4-202.3%200-366.9-164.6-366.9-366.9s164.7-366.9%20367-366.9%20366.9%20164.6%20366.9%20366.9c0%2066.2-17.6%20128.3-48.4%20182l0.4%200.2c-4.4%206.5-7%2014.2-7%2022.6%200%2022.3%2018%2040.3%2040.3%2040.3%2016%200%2029.8-9.3%2036.3-22.8l0.2%200.1c8.9-15.5%2016.8-31.5%2023.8-48.1%2023.4-55.2%2035.2-113.9%2035.2-174.3%200.1-60.4-11.7-119.1-35.1-174.3z'%20p-id='9205'%3e%3c/path%3e%3cpath%20d='M693.7%20626.5H507.6l-57.1%2066.1h243.2zM663.2%20411.4c7.5-7.6%207.5-23.5%200-31.3l-45.4-46.8c-7.7-7.6-22.9-7.6-30.4%200l-45.7%2046.8%2076.1%2078.1%2045.4-46.8zM328.8%20614.5v78.1h76.1l197.5-218.7-76-77.9z'%20p-id='9206'%3e%3c/path%3e%3c/svg%3e", o3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90
90
|
__proto__: null,
|
|
91
|
-
default:
|
|
91
|
+
default: n3
|
|
92
92
|
}, Symbol.toStringTag, { value: "Module" })), s3 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750815629946'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9058'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M78.768011%20168.230165c0-30.999918%2024.230644-56.076722%2054.15419-56.076722L403.692131%20112.153443%20403.692131%2056.076722c0-30.999918%2024.230644-56.076722%2054.15419-56.076722l108.306335%200c29.923546%200%2054.155214%2025.076803%2054.155214%2056.076722l0%2056.077745%20270.768906%200c29.923546%200%2054.15419%2025.076803%2054.15419%2056.076722l0%2056.076722L78.768011%20224.307909%2078.768011%20168.230165zM891.076776%20336.461352l0%20112.153443%200%20519.30746c0%2030.923181-24.231667%2056.077745-54.153167%2056.077745L187.076392%201024c-29.923546%200-54.15419-25.154564-54.15419-56.077745L132.922201%20448.614796%20132.922201%20336.461352l0-56.077745%20758.154574%200L891.076776%20336.461352zM349.53794%20448.614796c0-30.923181-24.230644-56.076722-54.15419-56.076722-29.922523%200-54.153167%2025.153541-54.153167%2056.076722l0%20407.154017c0%2030.923181%2024.230644%2056.077745%2054.153167%2056.077745%2029.923546%200%2054.15419-25.154564%2054.15419-56.077745L349.53794%20448.614796zM566.153679%20448.614796c0-30.923181-24.230644-56.076722-54.15419-56.076722-29.922523%200-54.153167%2025.153541-54.153167%2056.076722l0%20407.154017c0%2030.923181%2024.230644%2056.077745%2054.153167%2056.077745%2029.923546%200%2054.15419-25.154564%2054.15419-56.077745L566.153679%20448.614796zM782.770441%20448.614796c0-30.923181-24.231667-56.076722-54.155214-56.076722s-54.15419%2025.153541-54.15419%2056.076722l0%20407.154017c0%2030.923181%2024.230644%2056.077745%2054.15419%2056.077745s54.155214-25.154564%2054.155214-56.077745L782.770441%20448.614796z'%20p-id='9059'%3e%3c/path%3e%3c/svg%3e", c3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93
93
|
__proto__: null,
|
|
94
94
|
default: s3
|
|
@@ -164,12 +164,12 @@ const F0 = {
|
|
|
164
164
|
}, Symbol.toStringTag, { value: "Module" })), e1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750819285235'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5686'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cpath%20d='M804.571429%20511.890286A219.428571%20219.428571%200%200%201%201024%20731.428571a219.428571%20219.428571%200%201%201-219.428571-219.501714z%20m131.291428%20139.885714l-210.176%20210.212571a155.026286%20155.026286%200%200%200%2078.884572%2021.394286c85.101714%200%20154.112-68.022857%20154.112-151.990857%200-29.184-8.338286-56.466286-22.784-79.616zM804.571429%20579.364571c-85.101714%200-154.112%2068.059429-154.112%20152.027429%200%2029.184%208.338286%2056.429714%2022.784%2079.579429l210.176-210.212572A155.026286%20155.026286%200%200%200%20804.571429%20579.364571zM804.498286%2073.142857c36.754286%200%2072.813714%2036.315429%2072.813714%2073.069714v315.757715a254.171429%20254.171429%200%200%200-72.667429-21.796572V146.212571H72.704l-0.036571%20487.716572%20248.978285-249.417143%20193.353143%20195.510857%2033.536-37.449143v19.2a254.646857%20254.646857%200%200%200-36.205714%20119.369143l-190.902857-193.097143-243.529143%20243.931429h437.028571c3.84%2025.782857%2011.556571%2050.285714%2022.491429%2072.96H72.96C36.534857%20804.937143%200%20768.475429%200%20731.940571V146.212571C0%20110.006857%2036.352%2073.142857%2072.96%2073.142857h731.538286zM581.851429%20256c40.155429%200%2072.704%2032.804571%2072.704%2073.216%200%2040.448-32.548571%2073.252571-72.704%2073.252571a72.96%2072.96%200%200%201-72.777143-73.252571c0-40.411429%2032.585143-73.216%2072.777143-73.216z'%20p-id='5687'%3e%3c/path%3e%3c/svg%3e", t1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
165
165
|
__proto__: null,
|
|
166
166
|
default: e1
|
|
167
|
-
}, Symbol.toStringTag, { value: "Module" })), l1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1755501486119'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7947'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M0%20192v640c0%2070.7%2057.3%20128%20128%20128h352c17.7%200%2032-14.3%2032-32s-14.3-32-32-32H128c-35.3%200-64-28.7-64-64V192c0-35.3%2028.7-64%2064-64h352c17.7%200%2032-14.3%2032-32s-14.3-32-32-32H128C57.3%2064%200%20121.3%200%20192z'%20p-id='7948'%3e%3c/path%3e%3cpath%20d='M1013.3%20535.7L650.9%20863.3c-41.1%2037.2-106.9%208-106.9-47.5V685c0-4.4-3.6-8-8-8H224c-17.7%200-32-14.3-32-32V379c0-17.7%2014.3-32%2032-32h312c4.4%200%208-3.6%208-8V208.1c0-55.5%2065.8-84.7%20106.9-47.5l362.4%20327.6c14.1%2012.8%2014.1%2034.8%200%2047.5z'%20p-id='7949'%3e%3c/path%3e%3c/svg%3e",
|
|
167
|
+
}, Symbol.toStringTag, { value: "Module" })), l1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1755501486119'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7947'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M0%20192v640c0%2070.7%2057.3%20128%20128%20128h352c17.7%200%2032-14.3%2032-32s-14.3-32-32-32H128c-35.3%200-64-28.7-64-64V192c0-35.3%2028.7-64%2064-64h352c17.7%200%2032-14.3%2032-32s-14.3-32-32-32H128C57.3%2064%200%20121.3%200%20192z'%20p-id='7948'%3e%3c/path%3e%3cpath%20d='M1013.3%20535.7L650.9%20863.3c-41.1%2037.2-106.9%208-106.9-47.5V685c0-4.4-3.6-8-8-8H224c-17.7%200-32-14.3-32-32V379c0-17.7%2014.3-32%2032-32h312c4.4%200%208-3.6%208-8V208.1c0-55.5%2065.8-84.7%20106.9-47.5l362.4%20327.6c14.1%2012.8%2014.1%2034.8%200%2047.5z'%20p-id='7949'%3e%3c/path%3e%3c/svg%3e", a1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
168
168
|
__proto__: null,
|
|
169
169
|
default: l1
|
|
170
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
170
|
+
}, Symbol.toStringTag, { value: "Module" })), n1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750387251918'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9358'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M764.9%2064H225.4l1.4%20224.2%2064-0.4-1-159.8h383.6v224H896v544H289.8l1-159.8-64-0.4-1.4%20224.2H960V277.7L764.9%2064z%20m-27.6%2064.7L882.8%20288H737.3V128.7z'%20p-id='9359'%3e%3c/path%3e%3cpath%20d='M356.5%20224h255.9v64H356.5z'%20p-id='9360'%3e%3c/path%3e%3cpath%20d='M576.4%20416h255.9v64H576.4zM512.5%20576h319.8v64H512.5zM384.5%20736h447.8v64H384.5z'%20p-id='9361'%3e%3c/path%3e%3cpath%20d='M336.9%20349H198.6l98.9%2098.9H64v128.2h233.5L198.6%20675h138.3l162.9-163z'%20p-id='9362'%3e%3c/path%3e%3c/svg%3e", o1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
171
171
|
__proto__: null,
|
|
172
|
-
default:
|
|
172
|
+
default: n1
|
|
173
173
|
}, Symbol.toStringTag, { value: "Module" })), s1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753759000039'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2839'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M952.167422%201011.201424a43.463154%2043.463154%200%200%201-61.58846%200l-43.029534-43.072896a195.533604%20195.533604%200%201%201%2062.238889-60.851307l42.379105%2042.350197a43.52097%2043.52097%200%200%201%200%2061.574006zM746.472662%20682.951266a119.028624%20119.028624%200%201%200%20119.028624%20118.956354%20119.043078%20119.043078%200%200%200-119.028624-118.956354z%20m-430.092986-17.344791h126.515792a43.477608%2043.477608%200%200%201%2043.361976%2043.361976%2042.292381%2042.292381%200%200%201-43.361976%2042.061117h-126.515792a42.306835%2042.306835%200%200%201-43.361976-42.061117%2043.492062%2043.492062%200%200%201%2043.361976-43.361976z%20m0-260.460935a43.434246%2043.434246%200%201%201%200-86.868492h320.372733a43.434246%2043.434246%200%200%201%200%2086.868492H316.379676z%20m320.083653%20173.447904H316.090597a43.434246%2043.434246%200%200%201%200-86.868492h320.40164a43.434246%2043.434246%200%201%201%200%2086.868492z%20m173.274456-376.960111c0-43.651056%201.705571-42.061117-42.046663-42.061117h-88.588517v12.285893c0%2030.064303-10.03107%2031.076083-40.109828%2031.076083H315.613615c-30.078757%200-42.523644-1.011779-42.523645-31.076083v-12.285893h-85.278552c-43.73778%200-42.899448-3.035338-42.899448%2040.760257v655.488537c0%2043.651056-5.665965%2040.760257%2038.086268%2040.760257h302.276335c4.798725%2028.329824%2019.773061%2053.19069%2045.862516%2086.001253H158.845618c-66.936437%200-100.180618-37.435839-100.180619-104.357823V181.831364c0-66.921983%2034.212599-109.272179%20101.177944-109.27218h113.203665V54.636234a52.988335%2052.988335%200%200%201%203.94594-19.079269l1.633301-3.468958a65.968019%2065.968019%200%200%201%208.556764-13.153133l2.71735-3.035338a56.370569%2056.370569%200%200%201%2016.463097-11.563194A54.000114%2054.000114%200%200%201%20327.624882%200.000145h296.942811a53.638764%2053.638764%200%200%201%2021.218461%204.336197%2054.534912%2054.534912%200%200%201%2015.566949%2010.551414l3.786946%204.191658a55.055255%2055.055255%200%200%201%207.588346%2011.418654l1.907927%203.758038a54.679452%2054.679452%200%200%201%204.495191%2020.380128v17.92295h113.247027c66.936437%200%20104.068742%2039.025778%20104.068743%20105.947762v390.402323l-86.723952-38.158539V201.633333z'%20fill='%238a8a8a'%20p-id='2840'%3e%3c/path%3e%3c/svg%3e", c1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
174
174
|
__proto__: null,
|
|
175
175
|
default: s1
|
|
@@ -245,12 +245,12 @@ const F0 = {
|
|
|
245
245
|
}, Symbol.toStringTag, { value: "Module" })), e6 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753759021503'%20class='icon'%20viewBox='0%200%201170%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3318'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='36.5625'%20height='32'%3e%3cpath%20d='M1165.165714%20493.714286L890.88%2018.285714a36.571429%2036.571429%200%200%200-31.451429-18.285714h-548.571428a36.571429%2036.571429%200%200%200-31.451429%2018.285714L5.12%20493.714286a36.571429%2036.571429%200%200%200%200%2036.571428l274.285714%20475.428572a36.571429%2036.571429%200%200%200%2031.451429%2018.285714h548.571428a36.571429%2036.571429%200%200%200%2031.451429-18.285714l274.285714-475.428572a36.571429%2036.571429%200%200%200%200-36.571428zM78.994286%20512l227.474285-393.508571%2073.142858%20128a950.857143%20950.857143%200%200%201-82.651429%20210.651428q14.628571%2057.782857%2021.942857%20103.862857%2019.748571-30.72%2037.302857-64.365714v268.434286h73.142857V338.651429l3.657143-11.702858%2065.828572%20111.908572v21.211428H512l13.897143%2023.405715H444.708571v89.965714h73.142858V541.257143h40.228571L585.142857%20585.142857H484.937143v58.514286h135.314286l17.554285%2029.257143a23.405714%2023.405714%200%200%201-27.062857%2024.137143h-73.142857q9.508571%2044.617143%2013.897143%2073.142857a915.748571%20915.748571%200%200%200%2099.474286%200%2065.828571%2065.828571%200%200%200%2032.182857-10.24L804.571429%20950.857143H332.068571z%20m785.554285%20393.508571L714.605714%20658.285714v-14.628571h122.148572V585.142857H670.72l-25.6-43.885714h151.405714v32.914286h73.142857V483.474286H610.742857l-13.897143-23.405715h225.28v-131.657142H517.851429l-13.897143-23.405715h365.714285v-57.782857H707.291429l-18.285715-49.737143-84.845714%2014.628572%2015.36%2035.108571H468.845714l-7.314285-12.434286c0-7.314286%204.388571-13.165714%206.582857-20.48l-21.942857-4.388571L365.714286%2073.142857h473.234285l253.074286%20438.857143z%20m-292.571428-496.64v-29.257142h173.348571v29.988571z'%20p-id='3319'%3e%3c/path%3e%3c/svg%3e", t6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
246
246
|
__proto__: null,
|
|
247
247
|
default: e6
|
|
248
|
-
}, Symbol.toStringTag, { value: "Module" })), l6 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1756358960781'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8862'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M583.68%20517.12h-138.24c-15.36%200-30.72%2015.36-30.72%2035.84%200%2020.48%2015.36%2035.84%2030.72%2035.84h138.24c15.36%200%2030.72-15.36%2030.72-35.84%200-20.48-15.36-35.84-30.72-35.84z%20m-10.24%2092.16h-128c-15.36%200-30.72%2015.36-30.72%2035.84v76.8c0%205.12%200%2010.24%205.12%2015.36l66.56%20117.76c5.12%2010.24%2015.36%2015.36%2025.6%2015.36s20.48-5.12%2025.6-15.36l61.44-117.76c5.12-5.12%205.12-10.24%205.12-15.36V645.12c5.12-20.48-10.24-35.84-30.72-35.84z%20m286.72-327.68h-163.84v-92.16c0-20.48-15.36-35.84-30.72-35.84h-312.32c-15.36%200-30.72%2015.36-30.72%2035.84v92.16h-163.84c-15.36%200-30.72%2015.36-30.72%2035.84%200%2020.48%2015.36%2035.84%2030.72%2035.84h163.84v112.64c0%2020.48%2015.36%2035.84%2030.72%2035.84h312.32c15.36%200%2030.72-15.36%2030.72-35.84v-112.64h163.84c15.36%200%2030.72-15.36%2030.72-35.84%205.12-20.48-10.24-35.84-30.72-35.84z%20m-271.36%20117.76h-153.6v-133.12h153.6v133.12z'%20p-id='8863'%3e%3c/path%3e%3c/svg%3e",
|
|
248
|
+
}, Symbol.toStringTag, { value: "Module" })), l6 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1756358960781'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8862'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M583.68%20517.12h-138.24c-15.36%200-30.72%2015.36-30.72%2035.84%200%2020.48%2015.36%2035.84%2030.72%2035.84h138.24c15.36%200%2030.72-15.36%2030.72-35.84%200-20.48-15.36-35.84-30.72-35.84z%20m-10.24%2092.16h-128c-15.36%200-30.72%2015.36-30.72%2035.84v76.8c0%205.12%200%2010.24%205.12%2015.36l66.56%20117.76c5.12%2010.24%2015.36%2015.36%2025.6%2015.36s20.48-5.12%2025.6-15.36l61.44-117.76c5.12-5.12%205.12-10.24%205.12-15.36V645.12c5.12-20.48-10.24-35.84-30.72-35.84z%20m286.72-327.68h-163.84v-92.16c0-20.48-15.36-35.84-30.72-35.84h-312.32c-15.36%200-30.72%2015.36-30.72%2035.84v92.16h-163.84c-15.36%200-30.72%2015.36-30.72%2035.84%200%2020.48%2015.36%2035.84%2030.72%2035.84h163.84v112.64c0%2020.48%2015.36%2035.84%2030.72%2035.84h312.32c15.36%200%2030.72-15.36%2030.72-35.84v-112.64h163.84c15.36%200%2030.72-15.36%2030.72-35.84%205.12-20.48-10.24-35.84-30.72-35.84z%20m-271.36%20117.76h-153.6v-133.12h153.6v133.12z'%20p-id='8863'%3e%3c/path%3e%3c/svg%3e", a6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
249
249
|
__proto__: null,
|
|
250
250
|
default: l6
|
|
251
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
251
|
+
}, Symbol.toStringTag, { value: "Module" })), n6 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1754293888292'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4362'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M833.222%20509.666h-60.211a287.665%20287.665%200%200%201%201.178%2025.85c0%2038.101-7.449%2075.029-22.139%20109.762-14.201%2033.577-34.545%2063.745-60.467%2089.667-25.92%2025.921-56.088%2046.265-89.666%2060.467-34.73%2014.69-71.66%2022.14-109.761%2022.14s-75.029-7.449-109.762-22.14c-33.577-14.202-63.745-34.546-89.667-60.468a286.907%20286.907%200%200%201-11.693-12.437c-16.19-18.238-29.845-38.318-40.781-60a283.069%20283.069%200%200%201-7.992-17.23%20278.877%20278.877%200%200%201-20.106-75.698%20286.286%20286.286%200%200%201%200-68.126V206.449h102.021V509.095c-0.66%206.376-1.004%2012.848-1.004%2019.399s0.344%2013.023%201.004%2019.399c4.848%2046.773%2027.022%2088.4%2060%20118.348%2033.027%2029.993%2076.887%2048.271%20125.014%2048.271%20102.735%200%20186.019-83.284%20186.019-186.019%200-6.356-0.322-12.637-0.943-18.829h-60.447a127.813%20127.813%200%200%201%201.391%2018.829c0%2033.66-13.109%2065.307-36.91%2089.108-23.803%2023.802-55.447%2036.91-89.108%2036.91-33.66%200-65.306-13.108-89.107-36.91-19.988-19.988-32.431-45.509-35.906-73.107v-32.002c0.119-0.947%200.275-1.886%200.416-2.828h-0.416V146.449H152.154V572.82c5.948%2054.827%2024.852%20105.76%2053.589%20149.687%2061.073%2093.353%20166.531%20155.044%20286.413%20155.044%20188.899%200%20342.032-153.137%20342.032-342.035%200-8.697-0.33-17.317-0.966-25.85z'%20fill='%23686969'%20p-id='4363'%3e%3c/path%3e%3cpath%20d='M871.846%20198.294l-42.426-42.426-109.706%20109.706-109.705-109.705-42.426%2042.426L677.287%20308%20567.581%20417.706l42.427%2042.426%20109.706-109.706%20109.705%20109.706%2042.427-42.427L762.14%20308z'%20fill='%23B11E23'%20p-id='4364'%3e%3c/path%3e%3c/svg%3e", o6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
252
252
|
__proto__: null,
|
|
253
|
-
default:
|
|
253
|
+
default: n6
|
|
254
254
|
}, Symbol.toStringTag, { value: "Module" })), s6 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753759312255'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2472'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M381.525333%20351.765333v160c0%2023.402667%203.136%2053.888%209.408%2091.456L426.666667%20731.690667V652.8l76.181333-0.021333V601.6h50.794667v-0.021333l-25.386667%200.021333v-51.2l25.386667-0.021333V499.2h25.386666v51.178667h25.408V448h25.386667v102.378667l25.408%200.021333v51.2l-76.202667-0.021333v0.021333h253.994667l-0.021333%2051.178667L960%20652.8v232.277333h64v42.666667H0v-42.666667h21.333333c72.746667-160%20109.141333-284.437333%20109.141334-373.333333v-160h251.050666zM921.898667%20789.333333H515.562667v25.6h406.336V789.333333z%20m0-51.2H515.562667v25.6h406.336v-25.6zM353.877333%20234.666667c0%2041.216-63.210667%2072.106667-109.482666%2059.626666-34.709333-9.386667-70.016%2013.162667-84.053334%2022.186667l-3.029333%201.92c-2.581333%201.621333-3.712%202.154667-3.072%200.896%2038.890667-75.52%2090.154667-60.309333%2090.154667-60.309333%2069.354667%2024.32%20109.482667-24.32%20109.482666-24.32z%20m64-85.333334c0%2051.52-79.018667%2090.154667-136.853333%2074.517334-57.856-15.637333-117.013333%2039.68-112.682667%2031.274666%2048.597333-94.4%20112.682667-75.392%20112.682667-75.392C367.722667%20210.133333%20417.877333%20149.333333%20417.877333%20149.333333z'%20fill='%23000000'%20p-id='2473'%3e%3c/path%3e%3c/svg%3e", c6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
255
255
|
__proto__: null,
|
|
256
256
|
default: s6
|
|
@@ -326,12 +326,12 @@ const F0 = {
|
|
|
326
326
|
}, Symbol.toStringTag, { value: "Module" })), e4 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1754293930457'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1640'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M797%20276.5c-32.265%200-62.126%2010.276-86.5%2027.729-31.017%2022.208-52.139%2056.041-59%2095.133-1.476%208.408-1.25-2.943-1.25%205.889%200%208.83%200.25%2016.5%200.25%2025.889v138.23c-0.842-0.752%201.333-1.529%200.5-2.295v10.676h-0.5%200.5l-3%2060h0.545c-2.505%2014.074-6.341%2027.797-11.487%2041-10.912%2027.994-27.61%2053.68-49.494%2075.563-41.553%2041.553-96.8%2064.438-155.563%2064.438-37.943%200-74.413-9.555-106.684-27.5-17.708-9.848-38.157-17.215-52.88-31.938a223.04%20223.04%200%200%201-20.091-23.063C229.54%20706.146%20210.033%20665.955%20205%20628.514V206.25h79v377.494a150.577%20150.577%200%200%200%200%2030.012c4.31%2043.021%2026.954%2080.633%2060%20104.922%2024.645%2018.113%2055.069%2028.822%2088%2028.822%2052.703%200%2099.002-27.41%20125.425-68.75a147.94%20147.94%200%200%200%2018.128-41H576l0.17-2.359c0.139-0.547%200.281-1.092%200.414-1.641h-0.296L580%20582.166V547.75h0.5V385.903c7.862-43.787%2028.816-84.095%2060.937-116.216a225.76%20225.76%200%200%201%209.063-8.558c18.013-16.119%2038.254-28.974%2060-38.272%2026.981-11.536%2056.272-17.606%2086.5-17.606%2029.295%200%2057.714%205.689%2084%2016.542V158.08c-26.518-8.33-54.732-12.829-84-12.829-30.19%200-59.257%204.798-86.5%2013.639a278.613%20278.613%200%200%200-60%2027.716%20281.405%20281.405%200%200%200-70%2061.084c-30.804%2037.515-52.038%2083.179-60%20133.268V633.75h-1l-0.094%201.408C507.814%20670.674%20471.373%20687.5%20432%20687.5c-45.026%200-82.325-33.705-88-77.209V146.25H145v419.021a282.625%20282.625%200%200%200-2%2033.479c0%2011.33%200.691%2022.498%202%2033.479%207.302%2061.27%2039.378%20121.467%2079.681%20164.021%2051.033%2053.883%20127.247%2082.5%20207.319%2082.5%20126.837%200%20233.957-84.346%20268.383-200a278.113%20278.113%200%200%200%206.117-24.557%20279.782%20279.782%200%200%200%202.776-16.443h1.224v-9.99c0.984-9.537%200.5-19.213%200.5-29.01%200-9.799%200.484-19.475-0.5-29.012V405.353a86.902%2086.902%200%200%201%201.789-6.553l0.015-0.051%200.002-0.007c0.323-1.03%200.67-2.052%201.029-3.065%200.042-0.119%200.081-0.238%200.123-0.355%200.343-0.953%200.705-1.895%201.079-2.832%200.069-0.175%200.136-0.352%200.207-0.526%200.364-0.896%200.746-1.782%201.139-2.664%200.093-0.208%200.184-0.419%200.277-0.627%200.388-0.853%200.791-1.696%201.204-2.536%200.112-0.227%200.224-0.455%200.338-0.682%200.413-0.818%200.839-1.63%201.276-2.435%200.128-0.235%200.257-0.472%200.387-0.706a89.653%2089.653%200%200%201%203.212-5.336c0.154-0.237%200.311-0.472%200.467-0.708%200.494-0.742%200.995-1.479%201.511-2.205%200.162-0.229%200.328-0.455%200.492-0.683a88.76%2088.76%200%200%201%201.599-2.152c0.166-0.215%200.336-0.426%200.503-0.639a89.308%2089.308%200%200%201%201.702-2.114c0.158-0.189%200.321-0.375%200.481-0.563a88.984%2088.984%200%200%201%201.829-2.101c0.136-0.15%200.276-0.296%200.412-0.444a87.737%2087.737%200%200%201%202.005-2.13l0.191-0.19a89.631%2089.631%200%200%201%209.971-8.738c0.094-0.07%200.185-0.145%200.278-0.215%200.665-0.497%201.346-0.975%202.025-1.453%200.297-0.209%200.589-0.426%200.89-0.632%200.61-0.418%201.232-0.819%201.854-1.224%200.382-0.248%200.76-0.501%201.146-0.743%200.586-0.368%201.182-0.722%201.776-1.076%200.436-0.26%200.868-0.522%201.308-0.774a85.915%2085.915%200%200%201%201.735-0.959c0.475-0.259%200.949-0.519%201.429-0.769a88.33%2088.33%200%200%201%201.713-0.86%2086.08%2086.08%200%200%201%201.529-0.741c0.563-0.265%201.131-0.52%201.701-0.772a82.552%2082.552%200%200%201%203.308-1.389%2086.49%2086.49%200%200%201%205.143-1.853%2092.174%2092.174%200%200%201%201.692-0.536%2093.457%2093.457%200%200%201%201.828-0.529c0.561-0.156%201.121-0.313%201.687-0.459%200.631-0.164%201.268-0.314%201.904-0.464%200.556-0.131%201.109-0.264%201.669-0.384%200.658-0.141%201.321-0.267%201.984-0.394%200.549-0.104%201.096-0.214%201.648-0.308%200.689-0.118%201.386-0.219%202.081-0.32%200.533-0.078%201.064-0.163%201.602-0.232%200.738-0.095%201.482-0.168%202.227-0.244%200.502-0.051%201.001-0.112%201.505-0.155%200.832-0.07%201.671-0.117%202.509-0.164%200.424-0.024%200.844-0.061%201.27-0.079a89.623%2089.623%200%200%201%203.818-0.083c1.111%200%202.215%200.027%203.316%200.068l0.675%200.025c1.066%200.048%202.129%200.112%203.186%200.197%200.189%200.016%200.378%200.034%200.566%200.051%200.995%200.086%201.985%200.188%202.97%200.307%200.13%200.016%200.261%200.028%200.39%200.045%201.054%200.132%202.1%200.286%203.142%200.455%200.225%200.037%200.449%200.073%200.673%200.112a88.05%2088.05%200%200%201%203.105%200.58c0.113%200.023%200.226%200.05%200.338%200.073%200.966%200.205%201.926%200.426%202.88%200.661%200.183%200.045%200.366%200.088%200.549%200.134a87.465%2087.465%200%200%201%203.589%200.994c1.002%200.299%201.998%200.61%202.985%200.944l0.046%200.015c1%200.339%201.989%200.7%202.973%201.073%200.195%200.074%200.392%200.148%200.587%200.224%200.956%200.371%201.905%200.756%202.846%201.158%200.152%200.065%200.305%200.134%200.457%200.2%200.887%200.386%201.767%200.785%202.639%201.198%200.113%200.054%200.228%200.105%200.341%200.159a88.402%2088.402%200%200%201%203.308%201.678c0.912%200.484%201.816%200.981%202.708%201.497l0.219%200.129a89.869%2089.869%200%200%201%202.529%201.531c0.146%200.092%200.294%200.182%200.439%200.274%200.86%200.547%201.711%201.108%202.551%201.684%200.154%200.105%200.307%200.213%200.46%200.319a86.556%2086.556%200%200%201%202.525%201.812l0.024%200.018a88.831%2088.831%200%200%201%202.479%201.928l0.443%200.356a92.432%2092.432%200%200%201%202.351%201.979l0.31%200.275a88.582%2088.582%200%200%201%202.176%201.979c0.081%200.076%200.164%200.151%200.245%200.228a92.03%2092.03%200%200%201%202.205%202.169l0.393%200.402a88.82%2088.82%200%200%201%202.146%202.28l0.084%200.095c0.685%200.758%201.354%201.53%202.014%202.312l0.308%200.363a89.834%2089.834%200%200%201%201.938%202.408c0.101%200.128%200.198%200.258%200.298%200.387a91.57%2091.57%200%200%201%201.886%202.538l0.005%200.006a91.21%2091.21%200%200%201%201.795%202.623l0.291%200.441a90.493%2090.493%200%200%201%201.665%202.648c0.058%200.096%200.113%200.193%200.171%200.289a89.435%2089.435%200%200%201%201.512%202.627c0.05%200.092%200.103%200.182%200.152%200.273%200.505%200.92%200.99%201.85%201.463%202.789l0.232%200.469c0.474%200.955%200.936%201.92%201.375%202.895l0.021%200.045c0.435%200.965%200.848%201.941%201.249%202.924l0.178%200.436c0.392%200.975%200.767%201.959%201.124%202.951%200.053%200.146%200.104%200.295%200.156%200.442%200.112%200.319%200.213%200.644%200.323%200.963v-94.158C857.097%20286.093%20828.17%20276.5%20797%20276.5z'%20fill='%231a365d'%20p-id='1641'%3e%3c/path%3e%3c/svg%3e", t4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
327
327
|
__proto__: null,
|
|
328
328
|
default: e4
|
|
329
|
-
}, Symbol.toStringTag, { value: "Module" })), l4 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753766077288'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2709'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M728%20103.583H145.25c-46.35%201.35-83.25%2039.15-83.25%2085.5v675.45c0%2046.35%2036.9%2084.15%2083.25%2085.95H467.9c-47.7-60.3-73.35-135-73.35-211.95-1.8-185.4%20147.15-337.05%20332.55-338.85h0.45c27.9%200%2056.25%204.05%2083.25%2011.25v-222.75c-0.45-45.9-36.9-83.25-82.8-84.6z%20m-395.55%20391.95h-166.5v-77.85H332.9v77.85z%20m374.85-198.45H165.95v-75.6h540.9l0.45%2075.6z'%20p-id='2710'%3e%3c/path%3e%3cpath%20d='M727.55%20486.533c-131.85-2.25-240.3%20103.05-242.1%20234.45s103.05%20240.3%20234.45%20242.1%20240.3-103.05%20242.1-234.45v-4.05c1.35-130.05-103.5-237.15-234.45-238.05z%20m-42.75%20380.25a17.111%2017.111%200%200%201-24.3%200l-99.9-98.1c-5.85-5.85-5.85-14.85%200-20.7l21.15-20.7c5.85-5.85%2015.3-5.85%2021.15%200l68.4%2067.5%20195.3-198c5.85-5.85%2014.85-5.85%2020.7%200l20.7%2021.15c5.85%205.85%205.85%2015.3%200%2021.15l-223.2%20227.7z'%20p-id='2711'%3e%3c/path%3e%3c/svg%3e",
|
|
329
|
+
}, Symbol.toStringTag, { value: "Module" })), l4 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753766077288'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2709'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M728%20103.583H145.25c-46.35%201.35-83.25%2039.15-83.25%2085.5v675.45c0%2046.35%2036.9%2084.15%2083.25%2085.95H467.9c-47.7-60.3-73.35-135-73.35-211.95-1.8-185.4%20147.15-337.05%20332.55-338.85h0.45c27.9%200%2056.25%204.05%2083.25%2011.25v-222.75c-0.45-45.9-36.9-83.25-82.8-84.6z%20m-395.55%20391.95h-166.5v-77.85H332.9v77.85z%20m374.85-198.45H165.95v-75.6h540.9l0.45%2075.6z'%20p-id='2710'%3e%3c/path%3e%3cpath%20d='M727.55%20486.533c-131.85-2.25-240.3%20103.05-242.1%20234.45s103.05%20240.3%20234.45%20242.1%20240.3-103.05%20242.1-234.45v-4.05c1.35-130.05-103.5-237.15-234.45-238.05z%20m-42.75%20380.25a17.111%2017.111%200%200%201-24.3%200l-99.9-98.1c-5.85-5.85-5.85-14.85%200-20.7l21.15-20.7c5.85-5.85%2015.3-5.85%2021.15%200l68.4%2067.5%20195.3-198c5.85-5.85%2014.85-5.85%2020.7%200l20.7%2021.15c5.85%205.85%205.85%2015.3%200%2021.15l-223.2%20227.7z'%20p-id='2711'%3e%3c/path%3e%3c/svg%3e", a4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
330
330
|
__proto__: null,
|
|
331
331
|
default: l4
|
|
332
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
332
|
+
}, Symbol.toStringTag, { value: "Module" })), n4 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753759318614'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2633'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M990.263463%20965.191663c-4.679457-35.882495-21.525502-63.876334-54.148857-80.555577-19.705657-10.060083-40.144446-18.767768-60.584233-27.27569-39.090694-16.311678-78.048546-32.891038-119.212784-43.72021-21.693303-5.71523-42.533616-14.289074-61.302383-26.990028-25.737512-17.41537-42.082151-40.796673-43.285725-72.616981-1.253515-33.023881%206.283557-62.021531%2037.704336-80.254932%2014.623677-8.489943%2024.767661-21.827144%2030.935355-37.671376%205.615348-14.405935%2010.277825-29.196415%2015.69341-43.70323%201.102694-2.892574%203.108318-6.468338%205.648309-7.604991%2012.233509-5.498487%2021.4426-14.138252%2027.693196-25.687572%2010.714308-19.837501%2014.95928-41.18821%2011.983804-63.55871-1.471257-11.054905-4.914179-21.951996-13.570924-29.639889-4.11113-3.668654-4.880219-7.328319-4.780338-12.200548%200.200762-10.696329%200.066921-21.409639%200.066921-31.913196h-481.277892c0%2011.974815%200.166802%2023.289412-0.116862%2034.596018-0.07591%202.991456-0.876961%206.417398-2.532001%208.832537-8.114388%2011.849963-13.454063%2024.79363-14.723558%2039.016782-2.707792%2030.359038%205.364645%2057.591778%2030.667672%2075.675357%2010.135993%207.236428%2015.952104%2014.573736%2018.634925%2025.804433%200.794059%203.34304%202.030595%206.585199%203.167248%209.84334%208.198289%2023.548106%2018.333283%2045.726833%2039.985635%2060.517313%205.849071%203.994269%2010.68734%209.459794%2015.994053%2014.273093%207.720854%206.969744%2013.587904%2015.525609%2015.016213%2025.703552%202.005624%2014.306053%202.790694%2028.846829%203.33405%2043.336665%200.644237%2017.264549-5.381625%2032.439573-16.929945%2045.224428-19.746609%2021.861104-44.121735%2037.503574-71.472336%2047.280993-41.957299%2014.958281-84.758597%2027.625276-126.966599%2041.948309-26.089096%208.857508-52.228132%2017.882817-77.472229%2028.813868-35.589841%2015.408747-57.457937%2042.166051-61.444215%2081.992873-0.02497%200.267683-0.066921%200.534367-0.10088%200.80205-1.186594%2011.197735-3.618713%2022.26163-5.481507%2033.392445%200%208.373081%200%2016.747162%200.01698%2025.136224h435.041662c5.139911-39.677%2015.65146-78.098487%2027.459473-116.187368%201.762912-5.716229%201.194585-9.057271-3.30109-13.2533-6.233616-5.83309-11.54832-12.717935-16.746163-19.537856-5.071992-6.685081-5.047021-14.222153-1.63806-21.693303%206.55923-14.406934%2017.773946-24.634818%2030.425959-33.459365%201.62108-1.119674%204.203021-1.152635%206.342487-1.202576%201.378367-0.01698%202.766723%200.032961%204.162069%200.065922%200.442476-0.01698%200.885951-0.032961%201.303456-0.032961%203.776526-0.066921%207.588011%200.149823%2011.397499%200.267683%202.273307-0.065922%204.513653-0.183782%206.753001-0.551347%203.441923-0.552346%206.651121-0.585307%209.726478-0.384544%2015.241945-0.969851%2026.572523%206.350477%2037.369733%2016.895985%2021.358699%2020.874273%2022.394472%2038.890931%200.567328%2059.296759-7.42021%206.969744-7.603993%2012.585092-5.564409%2021.542482%208.20528%2035.933434%2015.408747%2072.132554%2022.962799%20108.248771h395.557435v-41.430922c-0.985832-5.81611-2.189406-11.5653-2.958496-17.38141z%20m-163.216658-613.325473c1.72196%200%203.475883-0.175792%205.164882%200.032961%204.96412%200.635248%206.834904-1.63806%206.233616-6.342487-1.6041-12.434271-2.390169-25.044333-5.01506-37.252872-4.612536-21.45059-17.681056-35.297188-39.708962-39.850793-1.437297-0.300644-2.841634-0.727139-4.295911-1.061743-7.470151-1.688-10.562488-5.915992-11.247676-13.988429-1.353397-16.144875-2.340228-32.707256-6.784963-48.140974-1.454277-5.005071-3.042396-9.785408-4.646496-14.464865a0.576317%200.576317%200%200%201-0.065922-0.166803c-34.762821-99.666938-109.201643-125.671134-149.780574-139.234067-5.196844-1.746931-7.620972%200.777079-9.225072%204.554604-3.408962%207.913626-7.253408%2015.794291-9.259032%2024.099453-10.227884%2042.625507-19.921402%2085.385854-29.815682%20128.095262-0.384544%201.62108-0.969851%203.184228-1.471257%204.771348-1.152635-1.796871-1.152635-3.276119-1.152634-4.746377%200.049941-56.222401%200.082902-112.451793%200.082901-168.682185%200-4.922169%200.133841-9.89428-0.434485-14.765509-1.538178-13.354181-11.949845-23.021729-25.336987-23.323372-13.068519-0.283664-26.147027-0.216743-39.207555%200.049941-10.637399%200.208753-18.542036%205.615348-22.478373%2015.266915-2.156446%205.297724-2.874595%2011.498379-2.891575%2017.29751-0.200762%2056.473104-0.108871%20112.945208-0.108871%20169.417314v7.270387c-2.172427-2.657852-2.732763-5.256773-3.32606-7.855694-8.348111-36.500762-16.336648-73.084426-25.244097-109.452346-3.083348-12.593083-8.31515-24.684759-12.901717-36.876317-1.538178-4.061189-4.028228-6.793952-9.668547-5.079983-90.240104%2027.492433-158.837845%20105.407138-161.153102%20199.951144-0.291655%2011.598261-1.762912%2013.17739-12.876747%2016.445519-2.841634%200.835011-5.674278%201.64605-8.514913%202.48206-14.189192%204.161071-23.92466%2013.295251-29.765741%2026.723344-7.446179%2017.113728-8.464973%2035.247247-8.941408%2054.826055%204.95513%200%208.849517%200%2012.734915%200.00799%20203.704697-0.006992%20407.408396-0.006992%20611.103105-0.006991z'%20p-id='2634'%3e%3c/path%3e%3c/svg%3e", o4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
333
333
|
__proto__: null,
|
|
334
|
-
default:
|
|
334
|
+
default: n4
|
|
335
335
|
}, Symbol.toStringTag, { value: "Module" })), s4 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753777770979'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3024'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M905.8%20974.5H116.1c-28.2%200-51.1-22.9-51.1-51.1V100.7c0-28.2%2022.9-51.1%2051.1-51.1h789.7c28.2%200%2051.1%2022.9%2051.1%2051.1v822.7c0%2028.1-22.9%2051.1-51.1%2051.1z%20m-760.8-80h731.9v-765H145v765z'%20p-id='3025'%3e%3c/path%3e%3cpath%20d='M673.6%20269.5H230.8c-22.1%200-40-17.9-40-40s17.9-40%2040-40h442.7c22.1%200%2040%2017.9%2040%2040s-17.8%2040-39.9%2040zM673.6%20434.4H230.8c-22.1%200-40-17.9-40-40s17.9-40%2040-40h442.7c22.1%200%2040%2017.9%2040%2040s-17.8%2040-39.9%2040zM433.5%20599.3H230.8c-22.1%200-40-17.9-40-40s17.9-40%2040-40h202.7c22.1%200%2040%2017.9%2040%2040s-17.9%2040-40%2040z'%20p-id='3026'%3e%3c/path%3e%3cpath%20d='M681.1%20833.5h-66.5v-44.8c-13.2-3.3-25.9-8.6-37.6-15.6l-31.7%2031.7-47-47%2031.7-31.7c-7-11.7-12.3-24.4-15.6-37.6h-44.8V622h44.8c3.3-13.2%208.6-25.9%2015.6-37.6l-31.7-31.7%2047-47%2031.7%2031.7c11.7-7%2024.4-12.3%2037.6-15.6V477h66.5v44.8c13.2%203.3%2025.9%208.6%2037.6%2015.6l31.7-31.7%2047%2047-31.7%2031.7c7%2011.7%2012.3%2024.4%2015.6%2037.6h44.8v66.5h-44.8c-3.3%2013.2-8.6%2025.9-15.6%2037.6l31.7%2031.7-47%2047-31.7-31.7c-11.7%207-24.4%2012.3-37.6%2015.6v44.8z%20m-36.5-30h6.5v-40l12.8-1.9c17.2-2.6%2033.8-9.4%2047.8-19.8l10.4-7.7%2028.3%2028.3%204.6-4.6-28.3-28.3%207.7-10.4c10.4-14.1%2017.3-30.6%2019.8-47.8l1.9-12.8h40V652h-40l-1.9-12.8c-2.6-17.2-9.4-33.8-19.8-47.8l-7.7-10.4%2028.3-28.3-4.6-4.6-28.3%2028.3-10.4-7.7c-14.1-10.4-30.6-17.3-47.8-19.8l-12.8-1.9v-40h-6.5v40l-12.8%201.9c-17.2%202.6-33.8%209.4-47.8%2019.8l-10.4%207.7-28.3-28.3-4.6%204.6L569%20581l-7.7%2010.4c-10.4%2014.1-17.3%2030.6-19.8%2047.8l-1.9%2012.8h-40v6.5h40l1.9%2012.8c2.6%2017.2%209.4%2033.8%2019.8%2047.8l7.7%2010.4-28.3%2028.3%204.6%204.6%2028.3-28.3%2010.4%207.7c14.1%2010.4%2030.6%2017.3%2047.8%2019.8l12.8%201.9v40z'%20p-id='3027'%3e%3c/path%3e%3cpath%20d='M647.9%20728.8c-40.5%200-73.5-33-73.5-73.5s33-73.5%2073.5-73.5%2073.5%2033%2073.5%2073.5-33%2073.5-73.5%2073.5z%20m0-117.1c-24%200-43.5%2019.5-43.5%2043.5s19.5%2043.5%2043.5%2043.5%2043.5-19.5%2043.5-43.5-19.5-43.5-43.5-43.5z'%20p-id='3028'%3e%3c/path%3e%3c/svg%3e", c4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
336
336
|
__proto__: null,
|
|
337
337
|
default: s4
|
|
@@ -407,12 +407,12 @@ const F0 = {
|
|
|
407
407
|
}, Symbol.toStringTag, { value: "Module" })), e8 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1754293629326'%20class='icon'%20viewBox='0%200%201092%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1512'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='34.125'%20height='32'%3e%3cpath%20d='M1052.296%2039.985A136.562%20136.562%200%200%200%20955.719%200H136.344A136.562%20136.562%200%200%200%200%20136.562v750.876A136.562%20136.562%200%200%200%20136.562%201024h819.375A136.562%20136.562%200%200%200%201092.5%20887.438V136.562a136.562%20136.562%200%200%200-39.986-96.577zM546.25%20170.648a34.195%2034.195%200%200%201-34.086%2034.196H307.21a34.195%2034.195%200%200%201%200-68.282h204.844a33.54%2033.54%200%200%201%2024.144%209.942%2034.086%2034.086%200%200%201%2010.05%2024.144z%20m-341.297%200a33.977%2033.977%200%201%201-9.942-24.144%2034.195%2034.195%200%200%201%209.942%2024.144z%20m54.625%20466.498l67.626%2067.626a20.32%2020.32%200%200%201%200%2028.842l-19.338%2019.337a20.43%2020.43%200%200%201-28.95%200L162.781%20637.037a20.32%2020.32%200%200%201-6.008-14.312%2020.539%2020.539%200%200%201%206.008-14.53L278.587%20492.39a20.539%2020.539%200%200%201%2028.952%200l19.337%2019.337a20.539%2020.539%200%200%201%200%2028.951l-67.626%2067.517a20.757%2020.757%200%200%200%200%2029.06z%20m163.875%20150.656l150.765-346.87a34.086%2034.086%200%200%201%2062.6%2027.204L485.725%20815.114a34.086%2034.086%200%200%201-44.901%2017.699%2034.195%2034.195%200%200%201-17.59-45.011zM833.03%20608.304l-67.626-67.626a20.539%2020.539%200%200%201%200-28.951l19.338-19.337a20.539%2020.539%200%200%201%2028.95%200L929.5%20608.304a20.32%2020.32%200%200%201%200%2028.842L813.694%20753.06a20.539%2020.539%200%200%201-28.951%200l-19.338-19.337a20.539%2020.539%200%200%201%200-28.951l67.626-67.626a20.32%2020.32%200%200%200%200-28.842zM1024%20341.297H68.5v-68.172h955.718z'%20p-id='1513'%3e%3c/path%3e%3c/svg%3e", t8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
408
408
|
__proto__: null,
|
|
409
409
|
default: e8
|
|
410
|
-
}, Symbol.toStringTag, { value: "Module" })), l8 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753777777175'%20class='icon'%20viewBox='0%200%201170%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3184'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='36.5625'%20height='32'%3e%3cpath%20d='M743.893333%200H45.013333A45.226667%2045.226667%200%200%200%200%2045.013333v805.973334A45.226667%2045.226667%200%200%200%2045.013333%20896h698.88a45.226667%2045.226667%200%200%200%2045.013334-45.013333V45.013333A45.226667%2045.226667%200%200%200%20743.893333%200z%20m-682.666666%2061.653333h666.026666v772.693334H61.866667z'%20p-id='3185'%3e%3c/path%3e%3cpath%20d='M464.64%20279.466667h132.266667a27.946667%2027.946667%200%200%200%2027.946666-27.733334%20160.426667%20160.426667%200%200%200-160.213333-160%2027.306667%2027.306667%200%200%200-19.626667%208.106667%2028.16%2028.16%200%200%200-8.106666%2019.626667v132.266666a27.733333%2027.733333%200%200%200%208.106666%2019.626667%2027.52%2027.52%200%200%200%2019.626667%208.106667z%20m100.906667-55.68h-73.173334V150.826667a105.386667%20105.386667%200%200%201%2073.173334%2072.96zM598.186667%20580.266667H185.173333a30.933333%2030.933333%200%200%200-26.666666%2046.293333%2031.36%2031.36%200%200%200%2026.666666%2015.36h413.013334a30.933333%2030.933333%200%201%200%200-61.653333zM598.186667%20711.893333H185.173333a30.933333%2030.933333%200%200%200-26.666666%2046.293334%2031.36%2031.36%200%200%200%2026.666666%2015.36h413.013334a30.933333%2030.933333%200%201%200%200-61.653334z'%20p-id='3186'%3e%3c/path%3e%3cpath%20d='M375.893333%20533.76a192%20192%200%200%200%20193.28-193.28%2027.733333%2027.733333%200%200%200-27.733333-27.733333h-137.813333V174.933333a27.733333%2027.733333%200%200%200-27.733334-27.733333%20193.28%20193.28%200%201%200%200%20386.56zM347.946667%20205.44v135.04a27.946667%2027.946667%200%200%200%2027.946666%2027.733333h135.04a137.813333%20137.813333%200%201%201-162.986666-162.773333z'%20p-id='3187'%3e%3c/path%3e%3c/svg%3e",
|
|
410
|
+
}, Symbol.toStringTag, { value: "Module" })), l8 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753777777175'%20class='icon'%20viewBox='0%200%201170%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3184'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='36.5625'%20height='32'%3e%3cpath%20d='M743.893333%200H45.013333A45.226667%2045.226667%200%200%200%200%2045.013333v805.973334A45.226667%2045.226667%200%200%200%2045.013333%20896h698.88a45.226667%2045.226667%200%200%200%2045.013334-45.013333V45.013333A45.226667%2045.226667%200%200%200%20743.893333%200z%20m-682.666666%2061.653333h666.026666v772.693334H61.866667z'%20p-id='3185'%3e%3c/path%3e%3cpath%20d='M464.64%20279.466667h132.266667a27.946667%2027.946667%200%200%200%2027.946666-27.733334%20160.426667%20160.426667%200%200%200-160.213333-160%2027.306667%2027.306667%200%200%200-19.626667%208.106667%2028.16%2028.16%200%200%200-8.106666%2019.626667v132.266666a27.733333%2027.733333%200%200%200%208.106666%2019.626667%2027.52%2027.52%200%200%200%2019.626667%208.106667z%20m100.906667-55.68h-73.173334V150.826667a105.386667%20105.386667%200%200%201%2073.173334%2072.96zM598.186667%20580.266667H185.173333a30.933333%2030.933333%200%200%200-26.666666%2046.293333%2031.36%2031.36%200%200%200%2026.666666%2015.36h413.013334a30.933333%2030.933333%200%201%200%200-61.653333zM598.186667%20711.893333H185.173333a30.933333%2030.933333%200%200%200-26.666666%2046.293334%2031.36%2031.36%200%200%200%2026.666666%2015.36h413.013334a30.933333%2030.933333%200%201%200%200-61.653334z'%20p-id='3186'%3e%3c/path%3e%3cpath%20d='M375.893333%20533.76a192%20192%200%200%200%20193.28-193.28%2027.733333%2027.733333%200%200%200-27.733333-27.733333h-137.813333V174.933333a27.733333%2027.733333%200%200%200-27.733334-27.733333%20193.28%20193.28%200%201%200%200%20386.56zM347.946667%20205.44v135.04a27.946667%2027.946667%200%200%200%2027.946666%2027.733333h135.04a137.813333%20137.813333%200%201%201-162.986666-162.773333z'%20p-id='3187'%3e%3c/path%3e%3c/svg%3e", a8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
411
411
|
__proto__: null,
|
|
412
412
|
default: l8
|
|
413
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
413
|
+
}, Symbol.toStringTag, { value: "Module" })), n8 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1754294439929'%20class='icon'%20viewBox='0%200%201025%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1512'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32.03125'%20height='32'%3e%3cpath%20d='M707.101%2084a57.559%2057.559%200%200%201%2035%2011.862c25.211%2019.31%2029.98%2055.384%2010.65%2080.57l-240.649%20313.56v367.325a43.64%2043.64%200%200%201-4.632%2019.566l-0.52%201.006c-11.374%2021.277-37.858%2029.316-59.157%2017.954L340.92%20838.83c-26.222-13.989-42.598-41.272-42.598-70.97V491.217L55.933%20176.51a57.432%2057.432%200%200%201-11.922-33.893L44%20141.467C44%20109.729%2069.754%2084%20101.522%2084z%20m192.987%20694.197c16.52%200%2029.912%2013.38%2029.912%2029.883%200%2016.268-13.012%2029.5-29.206%2029.874l-0.706%200.008H614.771c-16.52%200-29.911-13.378-29.911-29.882%200-16.268%2013.012-29.5%2029.205-29.875l0.706-0.008h285.317z%20m0-160.906c16.52%200%2029.912%2013.378%2029.912%2029.882%200%2016.268-13.012%2029.5-29.206%2029.875l-0.706%200.008H614.771c-16.52%200-29.911-13.38-29.911-29.883%200-16.268%2013.012-29.5%2029.205-29.874l0.706-0.008h285.317z%20m0-160.907c16.52%200%2029.912%2013.379%2029.912%2029.883%200%2016.268-13.012%2029.5-29.206%2029.874l-0.706%200.008H614.771c-16.52%200-29.911-13.379-29.911-29.882%200-16.268%2013.012-29.5%2029.205-29.875l0.706-0.008h285.317z'%20fill='%23333333'%20p-id='1513'%3e%3c/path%3e%3c/svg%3e", o8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
414
414
|
__proto__: null,
|
|
415
|
-
default:
|
|
415
|
+
default: n8
|
|
416
416
|
}, Symbol.toStringTag, { value: "Module" })), s8 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753766068495'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2552'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M816%20161H208c-44.183%200-80%2035.817-80%2080v542c0%2044.183%2035.817%2080%2080%2080h608c44.183%200%2080-35.817%2080-80V241c0-44.183-35.817-80-80-80zM325.379%20516.243l55.154%2055.154c12.497%2012.497%2012.497%2032.758%200%2045.255s-32.758%2012.497-45.255%200l-59.397-59.396-22.627-22.628c-12.497-12.497-12.497-32.758%200-45.255l22.627-22.627%2059.397-59.397c12.497-12.496%2032.758-12.496%2045.255%200%2012.497%2012.497%2012.497%2032.759%200%2045.255l-55.154%2055.154a6%206%200%200%200%200%208.485z%20m263.065-84.345L492.65%20621.021c-7.986%2015.767-27.24%2022.073-43.006%2014.088s-22.073-27.24-14.087-43.007l95.793-189.123c7.985-15.766%2027.24-22.073%2043.006-14.087%2015.766%207.985%2022.073%2027.24%2014.088%2043.006z%20m182.302%20102.729l-22.627%2022.628-59.397%2059.396c-12.497%2012.497-32.758%2012.497-45.255%200s-12.497-32.758%200-45.255l55.154-55.154a6%206%200%200%200%200-8.485l-55.154-55.154c-12.497-12.496-12.497-32.758%200-45.255%2012.497-12.496%2032.758-12.496%2045.255%200l59.397%2059.397%2022.627%2022.627c12.497%2012.498%2012.497%2032.758%200%2045.255z'%20p-id='2553'%3e%3c/path%3e%3c/svg%3e", c8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
417
417
|
__proto__: null,
|
|
418
418
|
default: s8
|
|
@@ -488,24 +488,24 @@ const F0 = {
|
|
|
488
488
|
}, Symbol.toStringTag, { value: "Module" })), e5 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1752025023308'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1955'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16'%20height='16'%3e%3cpath%20d='M481.322667%20891.349333l-328.533334-157.866666a72.064%2072.064%200%200%201-38.4-85.333334l366.933334%20179.2%2034.133333%2017.066667%20328.533333-157.866667%2068.266667-38.4a77.354667%2077.354667%200%200%201-38.4%2085.333334l-328.533333%20157.866666a58.069333%2058.069333%200%200%201-64%200z%20m0-153.6l-328.533334-157.866666a71.978667%2071.978667%200%200%201-38.4-85.333334l366.933334%20179.2%2034.133333%2017.066667%20328.533333-157.866667%2068.266667-38.4a77.269333%2077.269333%200%200%201-38.4%2085.333334l-328.533333%20157.866666a58.069333%2058.069333%200%200%201-64%200z%20m0-153.6l-328.533334-158.08a71.509333%2071.509333%200%200%201-34.133333-97.92%2067.626667%2067.626667%200%200%201%2034.133333-34.133333l328.533334-157.866667a57.770667%2057.770667%200%200%201%2064%200l328.533333%20157.866667a71.808%2071.808%200%200%201%2034.133333%2098.133333%2065.792%2065.792%200%200%201-34.133333%2034.133334l-328.533333%20158.08a58.496%2058.496%200%200%201-64%200z'%20p-id='1956'%3e%3c/path%3e%3c/svg%3e", t5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
489
489
|
__proto__: null,
|
|
490
490
|
default: e5
|
|
491
|
-
}, Symbol.toStringTag, { value: "Module" })), l5 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1756198880283'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5877'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M409.6%20716.8h563.2a51.2%2051.2%200%200%201%2046.336%2029.44A127.744%20127.744%200%200%200%20972.8%20844.8c0%2039.68%2018.0224%2075.1104%2046.336%2098.56A51.2%2051.2%200%200%201%20972.8%20972.8H76.8A76.8%2076.8%200%200%201%200%20896v-102.4A76.8%2076.8%200%200%201%2076.8%20716.8H153.6v204.8l128-128L409.6%20921.6v-204.8z%20m0-332.8h563.2a51.2%2051.2%200%200%201%2046.336%2029.44A127.744%20127.744%200%200%200%20972.8%20512c0%2039.68%2018.0224%2075.1104%2046.336%2098.56A51.2%2051.2%200%200%201%20972.8%20640H409.6v-256z%20m-256%200v256H76.8A76.8%2076.8%200%200%201%200%20563.2V460.8a76.8%2076.8%200%200%201%2076.8-76.8H153.6zM153.6%20307.2H76.8A76.8%2076.8%200%200%201%200%20230.4v-102.4A76.8%2076.8%200%200%201%2076.8%2051.2H972.8a51.2%2051.2%200%200%201%2046.336%2029.44A127.744%20127.744%200%200%200%20972.8%20179.2c0%2039.68%2018.0224%2075.1104%2046.336%2098.56A51.2%2051.2%200%200%201%20972.8%20307.2H409.6V179.2A76.8%2076.8%200%200%200%20332.8%20102.4h-102.4A76.8%2076.8%200%200%200%20153.6%20179.2V307.2z%20m204.8-128v618.8032l-76.8-76.8-76.8%2076.8V179.2a25.6%2025.6%200%200%201%2025.6-25.6h102.4a25.6%2025.6%200%200%201%2025.6%2025.6z'%20p-id='5878'%3e%3c/path%3e%3c/svg%3e",
|
|
491
|
+
}, Symbol.toStringTag, { value: "Module" })), l5 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1756198880283'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5877'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M409.6%20716.8h563.2a51.2%2051.2%200%200%201%2046.336%2029.44A127.744%20127.744%200%200%200%20972.8%20844.8c0%2039.68%2018.0224%2075.1104%2046.336%2098.56A51.2%2051.2%200%200%201%20972.8%20972.8H76.8A76.8%2076.8%200%200%201%200%20896v-102.4A76.8%2076.8%200%200%201%2076.8%20716.8H153.6v204.8l128-128L409.6%20921.6v-204.8z%20m0-332.8h563.2a51.2%2051.2%200%200%201%2046.336%2029.44A127.744%20127.744%200%200%200%20972.8%20512c0%2039.68%2018.0224%2075.1104%2046.336%2098.56A51.2%2051.2%200%200%201%20972.8%20640H409.6v-256z%20m-256%200v256H76.8A76.8%2076.8%200%200%201%200%20563.2V460.8a76.8%2076.8%200%200%201%2076.8-76.8H153.6zM153.6%20307.2H76.8A76.8%2076.8%200%200%201%200%20230.4v-102.4A76.8%2076.8%200%200%201%2076.8%2051.2H972.8a51.2%2051.2%200%200%201%2046.336%2029.44A127.744%20127.744%200%200%200%20972.8%20179.2c0%2039.68%2018.0224%2075.1104%2046.336%2098.56A51.2%2051.2%200%200%201%20972.8%20307.2H409.6V179.2A76.8%2076.8%200%200%200%20332.8%20102.4h-102.4A76.8%2076.8%200%200%200%20153.6%20179.2V307.2z%20m204.8-128v618.8032l-76.8-76.8-76.8%2076.8V179.2a25.6%2025.6%200%200%201%2025.6-25.6h102.4a25.6%2025.6%200%200%201%2025.6%2025.6z'%20p-id='5878'%3e%3c/path%3e%3c/svg%3e", a5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
492
492
|
__proto__: null,
|
|
493
493
|
default: l5
|
|
494
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
494
|
+
}, Symbol.toStringTag, { value: "Module" })), n5 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1756358977679'%20class='icon'%20viewBox='0%200%201192%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9176'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='37.25'%20height='32'%3e%3cpath%20d='M805.132929%20856.850101c-4.551111%204.551111-4.964848%208.274747%200%2012.825859h6.206061a1389.330101%201389.330101%200%200%200%20364.916364%20153.496565%2026.065455%2026.065455%200%200%200%2016.135757-4.551111v-4.137374A293.339798%20293.339798%200%200%200%201099.300202%20910.222222l-36.408889-31.857778c-72.40404-50.47596-107.571717-71.576566-197.352727-124.121212s-2.068687%200-3.309899%200a5.378586%205.378586%200%200%200-2.482424%204.964849v7.447273a145.221818%20145.221818%200%200%201-54.613334%2090.194747zM596.609293%20520.895354a162.598788%20162.598788%200%200%200-160.530101%20160.530101%20158.461414%20158.461414%200%200%200%20160.530101%20160.530101%20160.530101%20160.530101%200%201%200%200-321.060202zM326.438788%20755.484444c-89.367273%2052.130909-132.809697%2082.747475-203.972525%20131.154748S7.033535%20972.282828%200%201000.830707v2.896162l11.584646%206.619798a28.961616%2028.961616%200%200%200%2012.825859%206.20606C78.610101%201016.552727%20206.868687%20964.835556%20388.085657%20868.848485l11.998383-11.998384a16.549495%2016.549495%200%200%200-5.378585-9.102222%20141.911919%20141.911919%200%200%201-52.544647-91.022222v-2.896162h-15.72202zM649.981414%20141.911919a422.839596%20422.839596%200%200%200-11.170909-86.471111L635.914343%2041.373737a165.494949%20165.494949%200%200%201-17.790707-21.514343%2041.373737%2041.373737%200%200%200-21.92808-19.859394c-21.514343%205.792323-23.996768%2015.308283-28.961617%2038.063838l-2.482424%209.102223a2081.926465%202081.926465%200%200%200-36.408889%20330.989899c0%204.137374%200%204.964848%202.482425%207.447272a12.412121%2012.412121%200%200%201%207.033535%200l3.723636-2.068687a129.086061%20129.086061%200%200%201%20105.916768%200H661.979798a20.273131%2020.273131%200%200%200%204.551111-9.515959%201406.707071%201406.707071%200%200%200-9.929697-175.838384c-3.309899-21.100606-4.964848-37.650101-6.619798-56.268283z'%20p-id='9177'%3e%3c/path%3e%3c/svg%3e", o5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
495
495
|
__proto__: null,
|
|
496
|
-
default:
|
|
496
|
+
default: n5
|
|
497
497
|
}, Symbol.toStringTag, { value: "Module" })), s5 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1753766109243'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3509'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='32'%20height='32'%3e%3cpath%20d='M287.976534%20569.570276l76.718651%200%200%2063.953068-76.718651%200%200-63.953068Z'%20p-id='3510'%3e%3c/path%3e%3cpath%20d='M390.351503%20441.538988l-95.992178%200%200%2063.953068%2070.461012%200C364.820337%20479.96089%20377.58592%20460.812515%20390.351503%20441.538988z'%20p-id='3511'%3e%3c/path%3e%3cpath%20d='M287.976534%20313.632853l447.92178%200%200%2063.953068-447.92178%200%200-63.953068Z'%20p-id='3512'%3e%3c/path%3e%3cpath%20d='M287.976534%20697.601564l76.718651%200%200%2063.953068-76.718651%200%200-63.953068Z'%20p-id='3513'%3e%3c/path%3e%3cpath%20d='M921.625031%20441.538988%20492.726473%20441.538988c-38.421902%200-70.461012%2032.03911-70.461012%2070.461012L422.265461%20940.773405c0%2038.421902%2032.03911%2070.461012%2070.461012%2070.461012l428.773405%200c38.421902%200%2070.461012-32.03911%2070.461012-70.461012L991.96089%20512C991.96089%20473.578098%20959.92178%20441.538988%20921.625031%20441.538988zM911.863114%20917.494989c0%200-40.549499-157.692496-211.13273-180.219995l0%2061.700318c0%2012.139819-13.141041%2019.774138-23.653874%2013.641652l-184.850648-106.755317c-10.512833-6.132486-10.512833-21.275972%200-27.283305l184.850648-106.755317c10.512833-6.132486%2023.653874%201.501833%2023.653874%2013.641652l0%2050.06111C700.730384%20635.400636%20915.617697%20609.619164%20911.863114%20917.494989z'%20p-id='3514'%3e%3c/path%3e%3cpath%20d='M895.968712%200%20128.031288%200C76.843803%200.125153%2032.03911%2044.804693%2032.03911%2096.117331l0%20831.890491c0%2051.187485%2044.804693%2095.992178%2095.992178%2095.992178l255.937424%200c-12.765583-19.273527-25.531166-44.804693-25.531166-70.461012L358.437546%20889.460768%20160.070398%20889.460768%20160.070398%20121.648497l703.859203%200%200%20268.703007%2057.570276%200c25.531166%200%2051.187485%206.382791%2070.461012%2025.531166L991.96089%2095.992178C991.96089%2044.804693%20947.156197%200%20895.968712%200z'%20p-id='3515'%3e%3c/path%3e%3c/svg%3e", c5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
498
498
|
__proto__: null,
|
|
499
499
|
default: s5
|
|
500
500
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
501
501
|
function i5() {
|
|
502
|
-
const t = /* @__PURE__ */ Object.assign({ "/public/icons/svg/App.svg": Z0, "/public/icons/svg/Avatar.svg": Q0, "/public/icons/svg/Cancel.svg": X0, "/public/icons/svg/ChildAdd.svg": t3, "/public/icons/svg/ChildDelete.svg":
|
|
503
|
-
return Object.keys(t).map((
|
|
504
|
-
value:
|
|
505
|
-
path: t[
|
|
502
|
+
const t = /* @__PURE__ */ Object.assign({ "/public/icons/svg/App.svg": Z0, "/public/icons/svg/Avatar.svg": Q0, "/public/icons/svg/Cancel.svg": X0, "/public/icons/svg/ChildAdd.svg": t3, "/public/icons/svg/ChildDelete.svg": a3, "/public/icons/svg/ChildFix.svg": o3, "/public/icons/svg/Delete.svg": c3, "/public/icons/svg/DongHuaFangZhen.svg": r3, "/public/icons/svg/Edit.svg": v3, "/public/icons/svg/EyeFill.svg": g3, "/public/icons/svg/Fold.svg": p3, "/public/icons/svg/Form.svg": _3, "/public/icons/svg/Left.svg": f3, "/public/icons/svg/Plus.svg": b3, "/public/icons/svg/Right.svg": D3, "/public/icons/svg/Save.svg": S3, "/public/icons/svg/Signature.svg": V3, "/public/icons/svg/Step.svg": M3, "/public/icons/svg/Store.svg": k3, "/public/icons/svg/Table.svg": E3, "/public/icons/svg/Tabs.svg": G3, "/public/icons/svg/TimeLine.svg": L3, "/public/icons/svg/account.svg": U3, "/public/icons/svg/clear.svg": $3, "/public/icons/svg/colFilter.svg": N3, "/public/icons/svg/colOperate.svg": R3, "/public/icons/svg/config.svg": F3, "/public/icons/svg/default.svg": Z3, "/public/icons/svg/drag.svg": Q3, "/public/icons/svg/editTable.svg": X3, "/public/icons/svg/emptyImg.svg": t1, "/public/icons/svg/exit.svg": a1, "/public/icons/svg/import.svg": o1, "/public/icons/svg/jd单.svg": c1, "/public/icons/svg/logo.svg": r1, "/public/icons/svg/message.svg": v1, "/public/icons/svg/more.svg": g1, "/public/icons/svg/operate.svg": p1, "/public/icons/svg/overviewTable.svg": _1, "/public/icons/svg/password.svg": f1, "/public/icons/svg/personal.svg": b1, "/public/icons/svg/query.svg": D1, "/public/icons/svg/readTable.svg": S1, "/public/icons/svg/rowCreate.svg": V1, "/public/icons/svg/wenjian.svg": M1, "/public/icons/svg/wenjianjia.svg": k1, "/public/icons/svg/write.svg": E1, "/public/icons/svg/专项监督报告.svg": G1, "/public/icons/svg/个人中心.svg": L1, "/public/icons/svg/主菜单管理.svg": U1, "/public/icons/svg/产品检测.svg": $1, "/public/icons/svg/人员资质.svg": N1, "/public/icons/svg/任务管理.svg": R1, "/public/icons/svg/任务选择.svg": F1, "/public/icons/svg/仿真动画.svg": Z1, "/public/icons/svg/会议纪要.svg": Q1, "/public/icons/svg/位姿生成.svg": X1, "/public/icons/svg/停工令.svg": t6, "/public/icons/svg/刀具.svg": a6, "/public/icons/svg/删除弯管.svg": o6, "/public/icons/svg/制造厂.svg": c6, "/public/icons/svg/加工.svg": r6, "/public/icons/svg/协作单位.svg": v6, "/public/icons/svg/压气机叶片.svg": g6, "/public/icons/svg/取消.svg": p6, "/public/icons/svg/同意.svg": _6, "/public/icons/svg/周报.svg": f6, "/public/icons/svg/场景.svg": b6, "/public/icons/svg/备忘录.svg": D6, "/public/icons/svg/大屏.svg": S6, "/public/icons/svg/夹具资源.svg": V6, "/public/icons/svg/审批中心0.svg": M6, "/public/icons/svg/审批中心1.svg": k6, "/public/icons/svg/审核.svg": E6, "/public/icons/svg/导入弯管.svg": G6, "/public/icons/svg/导出弯管.svg": L6, "/public/icons/svg/工件库.svg": U6, "/public/icons/svg/工作台.svg": $6, "/public/icons/svg/工艺生成.svg": N6, "/public/icons/svg/平台管理.svg": R6, "/public/icons/svg/年度监造.svg": F6, "/public/icons/svg/年度计划.svg": Z6, "/public/icons/svg/弯管1.svg": Q6, "/public/icons/svg/弯管2.svg": X6, "/public/icons/svg/弯管处理.svg": t4, "/public/icons/svg/批准.svg": a4, "/public/icons/svg/承包商.svg": o4, "/public/icons/svg/技术监督单.svg": c4, "/public/icons/svg/报告中心.svg": r4, "/public/icons/svg/提交.svg": v4, "/public/icons/svg/文件管理.svg": g4, "/public/icons/svg/文档管理.svg": p4, "/public/icons/svg/新建弯管.svg": _4, "/public/icons/svg/方法库.svg": f4, "/public/icons/svg/日报.svg": b4, "/public/icons/svg/曲面.svg": D4, "/public/icons/svg/月报.svg": S4, "/public/icons/svg/机器人弯管机.svg": V4, "/public/icons/svg/机床.svg": M4, "/public/icons/svg/档案管理.svg": k4, "/public/icons/svg/模具1.svg": E4, "/public/icons/svg/模具库.svg": G4, "/public/icons/svg/消息中心.svg": L4, "/public/icons/svg/涡轮叶片.svg": U4, "/public/icons/svg/涡轮旋转.svg": $4, "/public/icons/svg/灯泡维修.svg": N4, "/public/icons/svg/物项管理.svg": R4, "/public/icons/svg/生成报告.svg": F4, "/public/icons/svg/用户管理.svg": Z4, "/public/icons/svg/监造项目.svg": Q4, "/public/icons/svg/知识库.svg": X4, "/public/icons/svg/程序输出.svg": t8, "/public/icons/svg/策划报告.svg": a8, "/public/icons/svg/筛选.svg": o8, "/public/icons/svg/算法.svg": c8, "/public/icons/svg/管件解析.svg": r8, "/public/icons/svg/系统管理.svg": v8, "/public/icons/svg/线.svg": g8, "/public/icons/svg/经验反馈1.svg": p8, "/public/icons/svg/经验反馈报告2.svg": _8, "/public/icons/svg/考核.svg": f8, "/public/icons/svg/职位管理.svg": b8, "/public/icons/svg/菜单管理.svg": D8, "/public/icons/svg/营运单位.svg": S8, "/public/icons/svg/观察意见单.svg": V8, "/public/icons/svg/角色管理.svg": M8, "/public/icons/svg/记录单.svg": k8, "/public/icons/svg/设备库.svg": E8, "/public/icons/svg/试卷.svg": G8, "/public/icons/svg/质量计划.svg": L8, "/public/icons/svg/质量计划审查意见单.svg": U8, "/public/icons/svg/质量计划见证点.svg": $8, "/public/icons/svg/轨迹规划.svg": N8, "/public/icons/svg/部门文件.svg": R8, "/public/icons/svg/部门管理.svg": F8, "/public/icons/svg/附件文件.svg": Z8, "/public/icons/svg/项目信息.svg": Q8, "/public/icons/svg/项目档案.svg": X8, "/public/icons/svg/项目管理0.svg": t5, "/public/icons/svg/题库.svg": a5, "/public/icons/svg/风机叶片.svg": o5, "/public/icons/svg/驳回.svg": c5 });
|
|
503
|
+
return Object.keys(t).map((n) => ({
|
|
504
|
+
value: n.split("/").pop().replace(".svg", ""),
|
|
505
|
+
path: t[n].default
|
|
506
506
|
}));
|
|
507
507
|
}
|
|
508
|
-
const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */
|
|
508
|
+
const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ u2({
|
|
509
509
|
__name: "index",
|
|
510
510
|
props: {
|
|
511
511
|
modelValue: String,
|
|
@@ -519,33 +519,33 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
519
519
|
}
|
|
520
520
|
},
|
|
521
521
|
emits: ["update:modelValue"],
|
|
522
|
-
setup(t, { emit:
|
|
523
|
-
const e = t,
|
|
524
|
-
|
|
525
|
-
},
|
|
526
|
-
|
|
527
|
-
}, h = (
|
|
528
|
-
s.value =
|
|
522
|
+
setup(t, { emit: n }) {
|
|
523
|
+
const e = t, a = n, s = C(e.modelValue), r = C(!1), c = C([]), o = () => {
|
|
524
|
+
r.value = !0;
|
|
525
|
+
}, _ = () => {
|
|
526
|
+
r.value = !1;
|
|
527
|
+
}, h = (i) => {
|
|
528
|
+
s.value = i.value, a("update:modelValue", i.value);
|
|
529
529
|
};
|
|
530
|
-
return
|
|
530
|
+
return y2(() => {
|
|
531
531
|
c.value = i5();
|
|
532
|
-
}), (
|
|
533
|
-
const b =
|
|
534
|
-
return v(),
|
|
532
|
+
}), (i, w) => {
|
|
533
|
+
const b = E("el-input"), g = E("el-popover");
|
|
534
|
+
return v(), P(g, {
|
|
535
535
|
width: "400",
|
|
536
|
-
visible:
|
|
536
|
+
visible: r.value,
|
|
537
537
|
title: "图标",
|
|
538
538
|
placement: "bottom"
|
|
539
539
|
}, {
|
|
540
540
|
default: S(() => [
|
|
541
|
-
|
|
542
|
-
(v(!0), y(X, null, e2(c.value, (
|
|
541
|
+
A("div", r5, [
|
|
542
|
+
(v(!0), y(X, null, e2(c.value, (d, u) => (v(), y("div", {
|
|
543
543
|
key: u,
|
|
544
544
|
class: "icon-wrap",
|
|
545
|
-
onClick: (
|
|
545
|
+
onClick: (m) => h(d)
|
|
546
546
|
}, [
|
|
547
547
|
j(q2, {
|
|
548
|
-
name:
|
|
548
|
+
name: d == null ? void 0 : d.value,
|
|
549
549
|
style: { width: "20px", height: "20px" }
|
|
550
550
|
}, null, 8, ["name"])
|
|
551
551
|
], 8, d5))), 128))
|
|
@@ -554,12 +554,12 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
554
554
|
reference: S(() => [
|
|
555
555
|
j(b, {
|
|
556
556
|
modelValue: s.value,
|
|
557
|
-
"onUpdate:modelValue":
|
|
557
|
+
"onUpdate:modelValue": w[0] || (w[0] = (d) => s.value = d),
|
|
558
558
|
placeholder: "请输入",
|
|
559
559
|
disabled: !(e != null && e.isEdit),
|
|
560
560
|
clearable: "",
|
|
561
561
|
onFocus: o,
|
|
562
|
-
onBlur:
|
|
562
|
+
onBlur: _
|
|
563
563
|
}, {
|
|
564
564
|
prepend: S(() => [
|
|
565
565
|
j(q2, {
|
|
@@ -588,13 +588,13 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
588
588
|
}
|
|
589
589
|
},
|
|
590
590
|
setup(t) {
|
|
591
|
-
const
|
|
592
|
-
return (
|
|
593
|
-
const
|
|
594
|
-
return v(),
|
|
591
|
+
const n = t, e = C(n.value);
|
|
592
|
+
return (a, s) => {
|
|
593
|
+
const r = E("el-input");
|
|
594
|
+
return v(), P(r, {
|
|
595
595
|
modelValue: e.value,
|
|
596
596
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
597
|
-
disabled: !(
|
|
597
|
+
disabled: !(n != null && n.isEdit),
|
|
598
598
|
type: "password",
|
|
599
599
|
"show-password": "",
|
|
600
600
|
clearable: ""
|
|
@@ -616,9 +616,9 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
616
616
|
},
|
|
617
617
|
setup(t) {
|
|
618
618
|
const e = C(t.value);
|
|
619
|
-
return (
|
|
620
|
-
const
|
|
621
|
-
return v(),
|
|
619
|
+
return (a, s) => {
|
|
620
|
+
const r = E("el-color-picker");
|
|
621
|
+
return v(), P(r, {
|
|
622
622
|
modelValue: e.value,
|
|
623
623
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
624
624
|
"show-alpha": ""
|
|
@@ -640,9 +640,9 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
640
640
|
},
|
|
641
641
|
setup(t) {
|
|
642
642
|
const e = C(t.value);
|
|
643
|
-
return (
|
|
644
|
-
const
|
|
645
|
-
return v(),
|
|
643
|
+
return (a, s) => {
|
|
644
|
+
const r = E("el-input");
|
|
645
|
+
return v(), P(r, {
|
|
646
646
|
modelValue: e.value,
|
|
647
647
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
648
648
|
style: { height: "100%" },
|
|
@@ -650,7 +650,7 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
650
650
|
}, null, 8, ["modelValue"]);
|
|
651
651
|
};
|
|
652
652
|
}
|
|
653
|
-
}, M2 = /* @__PURE__ */
|
|
653
|
+
}, M2 = /* @__PURE__ */ u2({
|
|
654
654
|
__name: "index",
|
|
655
655
|
props: {
|
|
656
656
|
modelValue: String,
|
|
@@ -676,20 +676,20 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
676
676
|
}
|
|
677
677
|
},
|
|
678
678
|
emits: ["clickTrigger"],
|
|
679
|
-
setup(t, { emit:
|
|
680
|
-
const e = t,
|
|
679
|
+
setup(t, { emit: n }) {
|
|
680
|
+
const e = t, a = C(e.modelValue), s = n, r = (c) => {
|
|
681
681
|
s("clickTrigger", c);
|
|
682
682
|
};
|
|
683
683
|
return (c, o) => {
|
|
684
|
-
const
|
|
685
|
-
return v(),
|
|
684
|
+
const _ = E("el-button");
|
|
685
|
+
return v(), P(_, {
|
|
686
686
|
type: e == null ? void 0 : e.buttonType,
|
|
687
687
|
id: e != null && e.emptyColor ? "" : "themeButton",
|
|
688
|
-
onClick: o[0] || (o[0] = (h) =>
|
|
688
|
+
onClick: o[0] || (o[0] = (h) => r(a.value)),
|
|
689
689
|
loading: e == null ? void 0 : e.loading
|
|
690
690
|
}, {
|
|
691
691
|
default: S(() => [
|
|
692
|
-
|
|
692
|
+
_2(s2(a.value), 1)
|
|
693
693
|
]),
|
|
694
694
|
_: 1
|
|
695
695
|
}, 8, ["type", "id", "loading"]);
|
|
@@ -734,23 +734,23 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
734
734
|
}
|
|
735
735
|
},
|
|
736
736
|
emits: ["handleColEditChange", "change", "onButtonClick", "clickTrigger", "blur", "changeVisible", "blurChange", "preview"],
|
|
737
|
-
setup(t, { emit:
|
|
737
|
+
setup(t, { emit: n }) {
|
|
738
738
|
const e = t;
|
|
739
|
-
|
|
739
|
+
y2(() => {
|
|
740
740
|
});
|
|
741
|
-
const
|
|
742
|
-
|
|
743
|
-
},
|
|
744
|
-
|
|
741
|
+
const a = n, s = C(null), r = C(null), c = C(), o = C(), _ = C(0), h = (T) => N2(T), i = (T) => {
|
|
742
|
+
a("clickTrigger", T);
|
|
743
|
+
}, w = (T) => {
|
|
744
|
+
a("preview", T);
|
|
745
745
|
}, b = () => {
|
|
746
|
-
|
|
746
|
+
a("blur", o.value);
|
|
747
747
|
}, g = (T) => {
|
|
748
|
-
|
|
748
|
+
a("blurChange", o.value, {
|
|
749
749
|
changeProp: T
|
|
750
750
|
});
|
|
751
|
-
},
|
|
752
|
-
|
|
753
|
-
|
|
751
|
+
}, d = () => {
|
|
752
|
+
z2(() => {
|
|
753
|
+
_.value++;
|
|
754
754
|
});
|
|
755
755
|
}, u = (T, N) => {
|
|
756
756
|
switch (T) {
|
|
@@ -761,10 +761,10 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
761
761
|
default:
|
|
762
762
|
return N;
|
|
763
763
|
}
|
|
764
|
-
},
|
|
765
|
-
|
|
764
|
+
}, m = (T) => {
|
|
765
|
+
a("changeVisible", T);
|
|
766
766
|
}, V = (T, N) => {
|
|
767
|
-
|
|
767
|
+
a("handleColEditChange", T, N);
|
|
768
768
|
};
|
|
769
769
|
d2(
|
|
770
770
|
() => e == null ? void 0 : e.rowContents,
|
|
@@ -772,212 +772,212 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
772
772
|
var N, D;
|
|
773
773
|
if (((N = e == null ? void 0 : e.rowContents) == null ? void 0 : N.length) === 0) return;
|
|
774
774
|
const T = {};
|
|
775
|
-
(D =
|
|
776
|
-
T[(
|
|
777
|
-
}), c.value = T, o.value = T,
|
|
775
|
+
(D = g2(e == null ? void 0 : e.rowContents)) == null || D.forEach((x) => {
|
|
776
|
+
T[(x == null ? void 0 : x.prop) ?? (x == null ? void 0 : x.name)] = u(x == null ? void 0 : x.type, x == null ? void 0 : x.value);
|
|
777
|
+
}), c.value = T, o.value = T, d();
|
|
778
778
|
},
|
|
779
779
|
{ deep: !0, immediate: !0 }
|
|
780
780
|
);
|
|
781
|
-
const
|
|
782
|
-
await
|
|
783
|
-
D ?
|
|
781
|
+
const B = async (T, N) => {
|
|
782
|
+
await z2(), N && await (N == null ? void 0 : N.validate((D, x) => {
|
|
783
|
+
D ? a(
|
|
784
784
|
"onButtonClick",
|
|
785
785
|
{
|
|
786
786
|
content: o.value,
|
|
787
787
|
buttonName: T
|
|
788
788
|
}
|
|
789
|
-
) : console.log("表单校验失败",
|
|
789
|
+
) : console.log("表单校验失败", x);
|
|
790
790
|
}));
|
|
791
791
|
};
|
|
792
792
|
return d2(
|
|
793
793
|
() => o.value,
|
|
794
794
|
() => {
|
|
795
|
-
|
|
795
|
+
a("change", o.value);
|
|
796
796
|
},
|
|
797
797
|
{ deep: !0 }
|
|
798
798
|
), (T, N) => {
|
|
799
|
-
var
|
|
800
|
-
const D =
|
|
799
|
+
var $;
|
|
800
|
+
const D = E("el-form-item"), x = E("el-form"), G = E("el-button");
|
|
801
801
|
return v(), y("div", {
|
|
802
802
|
class: "form-content",
|
|
803
|
-
style:
|
|
803
|
+
style: n2({ flexDirection: t.isButtonRow ? "row" : "column" })
|
|
804
804
|
}, [
|
|
805
|
-
|
|
806
|
-
|
|
805
|
+
A("div", w5, [
|
|
806
|
+
R(T.$slots, "operateCol", {
|
|
807
807
|
renderColumns: t.rowContents,
|
|
808
808
|
formRules: t.formRules
|
|
809
809
|
}, void 0, !0)
|
|
810
810
|
]),
|
|
811
|
-
|
|
812
|
-
e.isEnableWrap ? (v(),
|
|
811
|
+
A("div", _5, [
|
|
812
|
+
e.isEnableWrap ? (v(), P(x, {
|
|
813
813
|
ref_key: "formWrapRef",
|
|
814
814
|
ref: s,
|
|
815
815
|
model: c.value,
|
|
816
816
|
rules: t.formRules,
|
|
817
817
|
disabled: t.formDisabled,
|
|
818
818
|
class: "form-data",
|
|
819
|
-
key: e.isRowFlex +
|
|
819
|
+
key: e.isRowFlex + _.value
|
|
820
820
|
}, {
|
|
821
821
|
default: S(() => {
|
|
822
|
-
var
|
|
822
|
+
var k, W;
|
|
823
823
|
return [
|
|
824
|
-
(
|
|
825
|
-
key:
|
|
824
|
+
(k = T.item) != null && k.isFormColHidden ? U("", !0) : (v(!0), y(X, { key: 0 }, e2(S2(g2)(e == null ? void 0 : e.rowContents), (l, a2) => (v(), P(D, {
|
|
825
|
+
key: a2,
|
|
826
826
|
class: "form-item",
|
|
827
|
-
prop: (
|
|
828
|
-
style:
|
|
829
|
-
},
|
|
827
|
+
prop: (l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name),
|
|
828
|
+
style: n2({ flexDirection: t.isRowFlex ? "row" : "column", alignItems: t.isRowFlex ? "center" : "start", height: t.isRowFlex ? "100%" : "auto" })
|
|
829
|
+
}, b2({
|
|
830
830
|
default: S(() => {
|
|
831
|
-
var l2, v2,
|
|
831
|
+
var l2, v2, h2, p2, m2;
|
|
832
832
|
return [
|
|
833
|
-
|
|
834
|
-
modelValue: o.value[(
|
|
835
|
-
"onUpdate:modelValue": (
|
|
836
|
-
key:
|
|
837
|
-
content: (
|
|
833
|
+
l != null && l.isFormColHidden ? U("", !0) : (v(), P(T2(h((l == null ? void 0 : l.type) ?? "Input")), {
|
|
834
|
+
modelValue: o.value[(l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name)],
|
|
835
|
+
"onUpdate:modelValue": (f2) => o.value[(l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name)] = f2,
|
|
836
|
+
key: l == null ? void 0 : l.type,
|
|
837
|
+
content: (l == null ? void 0 : l.contents) ?? [],
|
|
838
838
|
isEdit: e == null ? void 0 : e.isEdit,
|
|
839
|
-
disabled:
|
|
840
|
-
onClickTrigger:
|
|
839
|
+
disabled: l == null ? void 0 : l.disabled,
|
|
840
|
+
onClickTrigger: i,
|
|
841
841
|
onBlur: b,
|
|
842
|
-
optionUrl:
|
|
843
|
-
onChangeVisible:
|
|
844
|
-
onBlurChange: (
|
|
845
|
-
config:
|
|
842
|
+
optionUrl: l == null ? void 0 : l.optionUrl,
|
|
843
|
+
onChangeVisible: m,
|
|
844
|
+
onBlurChange: (f2) => g((l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name)),
|
|
845
|
+
config: l == null ? void 0 : l.config
|
|
846
846
|
}, null, 40, ["modelValue", "onUpdate:modelValue", "content", "isEdit", "disabled", "optionUrl", "onBlurChange", "config"])),
|
|
847
|
-
typeof o.value[(
|
|
847
|
+
typeof o.value[(l == null ? void 0 : l.prop) ?? l.name] == "string" && ((l2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && l2.includes(".stl") || (v2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && v2.includes(".obj") || (h2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && h2.includes(".urdf") || (p2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && p2.includes(".STL") || (m2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && m2.includes(".ls")) ? (v(), P(M2, {
|
|
848
848
|
key: 1,
|
|
849
849
|
class: "calculator-content form-preview",
|
|
850
|
-
onClickTrigger: (
|
|
850
|
+
onClickTrigger: (f2) => w(o.value[(l == null ? void 0 : l.prop) ?? l.name]),
|
|
851
851
|
modelValue: "预览"
|
|
852
852
|
}, null, 8, ["onClickTrigger"])) : U("", !0)
|
|
853
853
|
];
|
|
854
854
|
}),
|
|
855
855
|
_: 2
|
|
856
856
|
}, [
|
|
857
|
-
|
|
857
|
+
l != null && l.isFormColHidden ? void 0 : {
|
|
858
858
|
name: "label",
|
|
859
859
|
fn: S(() => [
|
|
860
|
-
|
|
860
|
+
l != null && l.label ? (v(), y("div", {
|
|
861
861
|
key: 0,
|
|
862
862
|
class: "from-item-label",
|
|
863
|
-
style:
|
|
863
|
+
style: n2({ width: t.isRowFlex ? "72px" : "260px", minWidth: t.isRowFlex ? "72px" : "260px" })
|
|
864
864
|
}, [
|
|
865
|
-
|
|
865
|
+
l != null && l.operable ? (v(), P(U2, {
|
|
866
866
|
key: 0,
|
|
867
|
-
value:
|
|
867
|
+
value: l == null ? void 0 : l.label,
|
|
868
868
|
style: { width: "100%" },
|
|
869
|
-
onChange: (l2) => V(l2,
|
|
870
|
-
}, null, 8, ["value", "onChange"])) : (v(), y("div", m5, s2(
|
|
869
|
+
onChange: (l2) => V(l2, l)
|
|
870
|
+
}, null, 8, ["value", "onChange"])) : (v(), y("div", m5, s2(l == null ? void 0 : l.label), 1))
|
|
871
871
|
], 4)) : U("", !0)
|
|
872
872
|
]),
|
|
873
873
|
key: "0"
|
|
874
874
|
}
|
|
875
875
|
]), 1032, ["prop", "style"]))), 128)),
|
|
876
|
-
((
|
|
876
|
+
((W = e.buttonValue) == null ? void 0 : W.length) > 0 && t.isButtonRow ? (v(), y("div", {
|
|
877
877
|
key: 1,
|
|
878
878
|
class: "form-button",
|
|
879
|
-
style:
|
|
879
|
+
style: n2({ paddingTop: t.isRowFlex ? "0" : "26px", justifyContent: t.isStartJustify ? "start" : "end" })
|
|
880
880
|
}, [
|
|
881
|
-
(v(!0), y(X, null, e2(e == null ? void 0 : e.buttonValue, (
|
|
882
|
-
key:
|
|
881
|
+
(v(!0), y(X, null, e2(e == null ? void 0 : e.buttonValue, (l, a2) => (v(), y("div", {
|
|
882
|
+
key: a2,
|
|
883
883
|
class: "form-button-content"
|
|
884
884
|
}, [
|
|
885
|
-
|
|
885
|
+
l ? (v(), y("div", {
|
|
886
886
|
key: 0,
|
|
887
887
|
class: "form-button-item",
|
|
888
|
-
style:
|
|
889
|
-
onClick: (l2) =>
|
|
890
|
-
}, s2(
|
|
888
|
+
style: n2({ background: (l == null ? void 0 : l.background) ?? "var(--ssComponent-primary-color)" }),
|
|
889
|
+
onClick: (l2) => B(l == null ? void 0 : l.label, s.value)
|
|
890
|
+
}, s2(l == null ? void 0 : l.label), 13, f5)) : U("", !0)
|
|
891
891
|
]))), 128))
|
|
892
892
|
], 4)) : U("", !0)
|
|
893
893
|
];
|
|
894
894
|
}),
|
|
895
895
|
_: 1
|
|
896
|
-
}, 8, ["model", "rules", "disabled"])) : (v(),
|
|
896
|
+
}, 8, ["model", "rules", "disabled"])) : (v(), P(x, {
|
|
897
897
|
ref_key: "formRef",
|
|
898
|
-
ref:
|
|
898
|
+
ref: r,
|
|
899
899
|
model: o.value,
|
|
900
900
|
rules: t.formRules,
|
|
901
901
|
disabled: t.formDisabled,
|
|
902
902
|
class: "form-noRegular-data",
|
|
903
|
-
key:
|
|
903
|
+
key: _.value
|
|
904
904
|
}, {
|
|
905
905
|
default: S(() => {
|
|
906
|
-
var
|
|
906
|
+
var k, W;
|
|
907
907
|
return [
|
|
908
|
-
(
|
|
909
|
-
key:
|
|
908
|
+
(k = T.item) != null && k.isFormColHidden ? U("", !0) : (v(!0), y(X, { key: 0 }, e2(S2(g2)(e == null ? void 0 : e.rowContents), (l, a2) => (v(), P(D, {
|
|
909
|
+
key: a2,
|
|
910
910
|
class: o0(["form-item", { "form-row-content": !t.isRowFlex }]),
|
|
911
|
-
prop: (
|
|
912
|
-
style:
|
|
911
|
+
prop: (l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name),
|
|
912
|
+
style: n2({
|
|
913
913
|
flexDirection: t.isRowFlex ? "row" : "column",
|
|
914
914
|
alignItems: t.isRowFlex ? "center" : "start",
|
|
915
915
|
height: t.isRowFlex ? "100%" : "auto",
|
|
916
|
-
width: `calc((100% / ${(
|
|
917
|
-
minWidth: `calc((100% / ${(
|
|
916
|
+
width: `calc((100% / ${(l == null ? void 0 : l.width) ?? 1}) - 12px)`,
|
|
917
|
+
minWidth: `calc((100% / ${(l == null ? void 0 : l.width) ?? 1}) - 12px)`
|
|
918
918
|
})
|
|
919
|
-
},
|
|
919
|
+
}, b2({
|
|
920
920
|
default: S(() => {
|
|
921
|
-
var l2, v2,
|
|
921
|
+
var l2, v2, h2, p2, m2;
|
|
922
922
|
return [
|
|
923
|
-
|
|
924
|
-
modelValue: o.value[(
|
|
925
|
-
"onUpdate:modelValue": (
|
|
923
|
+
l != null && l.isFormColHidden ? U("", !0) : (v(), P(T2(h((l == null ? void 0 : l.type) ?? "Input")), {
|
|
924
|
+
modelValue: o.value[(l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name)],
|
|
925
|
+
"onUpdate:modelValue": (f2) => o.value[(l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name)] = f2,
|
|
926
926
|
isEdit: e == null ? void 0 : e.isEdit,
|
|
927
|
-
disabled:
|
|
928
|
-
content: (
|
|
929
|
-
onClickTrigger:
|
|
927
|
+
disabled: l == null ? void 0 : l.disabled,
|
|
928
|
+
content: (l == null ? void 0 : l.contents) ?? [],
|
|
929
|
+
onClickTrigger: i,
|
|
930
930
|
onBlur: b,
|
|
931
|
-
key:
|
|
932
|
-
optionUrl:
|
|
933
|
-
onChangeVisible:
|
|
934
|
-
onBlurChange: (
|
|
935
|
-
config:
|
|
931
|
+
key: l == null ? void 0 : l.type,
|
|
932
|
+
optionUrl: l == null ? void 0 : l.optionUrl,
|
|
933
|
+
onChangeVisible: m,
|
|
934
|
+
onBlurChange: (f2) => g((l == null ? void 0 : l.prop) ?? (l == null ? void 0 : l.name)),
|
|
935
|
+
config: l == null ? void 0 : l.config
|
|
936
936
|
}, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "optionUrl", "onBlurChange", "config"])),
|
|
937
|
-
typeof o.value[(
|
|
937
|
+
typeof o.value[(l == null ? void 0 : l.prop) ?? l.name] == "string" && ((l2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && l2.includes(".stl") || (v2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && v2.includes(".obj") || (h2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && h2.includes(".urdf") || (p2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && p2.includes(".STL") || (m2 = o.value[(l == null ? void 0 : l.prop) ?? l.name]) != null && m2.includes(".ls")) ? (v(), P(M2, {
|
|
938
938
|
key: 1,
|
|
939
939
|
class: "calculator-content form-preview",
|
|
940
|
-
onClickTrigger: (
|
|
940
|
+
onClickTrigger: (f2) => w(o.value[(l == null ? void 0 : l.prop) ?? l.name]),
|
|
941
941
|
modelValue: "预览"
|
|
942
942
|
}, null, 8, ["onClickTrigger"])) : U("", !0)
|
|
943
943
|
];
|
|
944
944
|
}),
|
|
945
945
|
_: 2
|
|
946
946
|
}, [
|
|
947
|
-
|
|
947
|
+
l != null && l.isFormColHidden ? void 0 : {
|
|
948
948
|
name: "label",
|
|
949
949
|
fn: S(() => [
|
|
950
|
-
|
|
950
|
+
l != null && l.label ? (v(), y("div", {
|
|
951
951
|
key: 0,
|
|
952
952
|
class: "from-item-label",
|
|
953
|
-
style:
|
|
953
|
+
style: n2({ width: t.isRowFlex ? "72px" : "auto", minWidth: t.isRowFlex ? "72px" : `calc((100% / ${(l == null ? void 0 : l.width) ?? 1}) - 8px)` })
|
|
954
954
|
}, [
|
|
955
|
-
|
|
955
|
+
l != null && l.operable ? (v(), P(U2, {
|
|
956
956
|
key: 0,
|
|
957
|
-
value:
|
|
957
|
+
value: l == null ? void 0 : l.label,
|
|
958
958
|
style: { width: "100%" },
|
|
959
|
-
onChange: (l2) => V(l2,
|
|
960
|
-
}, null, 8, ["value", "onChange"])) : (v(), y("div", x5, s2(
|
|
959
|
+
onChange: (l2) => V(l2, l)
|
|
960
|
+
}, null, 8, ["value", "onChange"])) : (v(), y("div", x5, s2(l == null ? void 0 : l.label), 1))
|
|
961
961
|
], 4)) : U("", !0)
|
|
962
962
|
]),
|
|
963
963
|
key: "0"
|
|
964
964
|
}
|
|
965
965
|
]), 1032, ["prop", "class", "style"]))), 128)),
|
|
966
|
-
((
|
|
966
|
+
((W = e.buttonValue) == null ? void 0 : W.length) > 0 && t.isButtonRow ? (v(), y("div", {
|
|
967
967
|
key: 1,
|
|
968
968
|
class: "form-button",
|
|
969
|
-
style:
|
|
969
|
+
style: n2({ paddingTop: t.isRowFlex ? "0" : "26px", justifyContent: t.isStartJustify ? "start" : "end" })
|
|
970
970
|
}, [
|
|
971
|
-
(v(!0), y(X, null, e2(e == null ? void 0 : e.buttonValue, (
|
|
972
|
-
key:
|
|
971
|
+
(v(!0), y(X, null, e2(e == null ? void 0 : e.buttonValue, (l, a2) => (v(), y("div", {
|
|
972
|
+
key: a2,
|
|
973
973
|
class: "form-button-content"
|
|
974
974
|
}, [
|
|
975
|
-
|
|
975
|
+
l ? (v(), y("div", {
|
|
976
976
|
key: 0,
|
|
977
977
|
class: "form-button-item",
|
|
978
|
-
style:
|
|
979
|
-
onClick: (l2) =>
|
|
980
|
-
}, s2(
|
|
978
|
+
style: n2({ background: (l == null ? void 0 : l.background) ?? "var(--ssComponent-primary-color)" }),
|
|
979
|
+
onClick: (l2) => B(l == null ? void 0 : l.label, r.value)
|
|
980
|
+
}, s2(l == null ? void 0 : l.label), 13, b5)) : U("", !0)
|
|
981
981
|
]))), 128))
|
|
982
982
|
], 4)) : U("", !0)
|
|
983
983
|
];
|
|
@@ -985,22 +985,22 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
985
985
|
_: 1
|
|
986
986
|
}, 8, ["model", "rules", "disabled"]))
|
|
987
987
|
]),
|
|
988
|
-
((
|
|
988
|
+
(($ = e.buttonValue) == null ? void 0 : $.length) > 0 && !t.isButtonRow ? (v(), y("div", {
|
|
989
989
|
key: 0,
|
|
990
990
|
class: "form-button",
|
|
991
|
-
style:
|
|
991
|
+
style: n2({ justifyContent: t.isStartJustify ? "start" : "end" })
|
|
992
992
|
}, [
|
|
993
|
-
(v(!0), y(X, null, e2(e == null ? void 0 : e.buttonValue, (
|
|
994
|
-
key:
|
|
993
|
+
(v(!0), y(X, null, e2(e == null ? void 0 : e.buttonValue, (k, W) => (v(), y("div", {
|
|
994
|
+
key: W,
|
|
995
995
|
class: "form-button-content",
|
|
996
|
-
onClick: (
|
|
996
|
+
onClick: (l) => B(k == null ? void 0 : k.label, e.isEnableWrap ? s.value : r.value)
|
|
997
997
|
}, [
|
|
998
|
-
j(
|
|
998
|
+
j(G, {
|
|
999
999
|
id: "themeButton",
|
|
1000
|
-
style:
|
|
1000
|
+
style: n2({ background: (k == null ? void 0 : k.background) ?? "var(--ssbutton-theme-bg)", color: "var(--ssbutton-theme-color)" })
|
|
1001
1001
|
}, {
|
|
1002
1002
|
default: S(() => [
|
|
1003
|
-
|
|
1003
|
+
_2(s2(k == null ? void 0 : k.label), 1)
|
|
1004
1004
|
]),
|
|
1005
1005
|
_: 2
|
|
1006
1006
|
}, 1032, ["style"])
|
|
@@ -1028,24 +1028,24 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
1028
1028
|
}
|
|
1029
1029
|
},
|
|
1030
1030
|
emits: ["clickTrigger", "changeTrigger"],
|
|
1031
|
-
setup(t, { emit:
|
|
1032
|
-
const e = t,
|
|
1033
|
-
|
|
1034
|
-
},
|
|
1035
|
-
|
|
1031
|
+
setup(t, { emit: n }) {
|
|
1032
|
+
const e = t, a = n, s = (c) => {
|
|
1033
|
+
a("clickTrigger", c);
|
|
1034
|
+
}, r = (c) => {
|
|
1035
|
+
a("changeTrigger", c);
|
|
1036
1036
|
};
|
|
1037
1037
|
return (c, o) => {
|
|
1038
|
-
var
|
|
1039
|
-
return v(),
|
|
1040
|
-
rowContents: ((
|
|
1038
|
+
var _, h, i, w, b, g, d;
|
|
1039
|
+
return v(), P(z5, {
|
|
1040
|
+
rowContents: ((_ = e == null ? void 0 : e.content) == null ? void 0 : _.rowContents) ?? [],
|
|
1041
1041
|
formRules: (h = e == null ? void 0 : e.content) == null ? void 0 : h.formRules,
|
|
1042
|
-
buttonValue: ((
|
|
1043
|
-
isEnableWrap: (
|
|
1042
|
+
buttonValue: ((i = e == null ? void 0 : e.content) == null ? void 0 : i.buttonValue) ?? [],
|
|
1043
|
+
isEnableWrap: (w = e == null ? void 0 : e.content) == null ? void 0 : w.isEnableWrap,
|
|
1044
1044
|
isRowFlex: (b = e == null ? void 0 : e.content) == null ? void 0 : b.isRowFlex,
|
|
1045
1045
|
isButtonRow: (g = e == null ? void 0 : e.content) == null ? void 0 : g.isButtonRow,
|
|
1046
|
-
rowValues: ((
|
|
1046
|
+
rowValues: ((d = e == null ? void 0 : e.content) == null ? void 0 : d.rowValues) ?? [],
|
|
1047
1047
|
onOnButtonClick: s,
|
|
1048
|
-
onChange:
|
|
1048
|
+
onChange: r
|
|
1049
1049
|
}, null, 8, ["rowContents", "formRules", "buttonValue", "isEnableWrap", "isRowFlex", "isButtonRow", "rowValues"]);
|
|
1050
1050
|
};
|
|
1051
1051
|
}
|
|
@@ -1063,25 +1063,25 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
1063
1063
|
}
|
|
1064
1064
|
},
|
|
1065
1065
|
emits: ["change"],
|
|
1066
|
-
setup(t, { emit:
|
|
1067
|
-
const e = t,
|
|
1066
|
+
setup(t, { emit: n }) {
|
|
1067
|
+
const e = t, a = C(e.value), s = n, r = (c) => {
|
|
1068
1068
|
s("change", c);
|
|
1069
1069
|
};
|
|
1070
1070
|
return (c, o) => {
|
|
1071
|
-
const
|
|
1072
|
-
return v(),
|
|
1073
|
-
modelValue:
|
|
1074
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
1071
|
+
const _ = E("el-radio"), h = E("el-radio-group");
|
|
1072
|
+
return v(), P(h, {
|
|
1073
|
+
modelValue: a.value,
|
|
1074
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => a.value = i),
|
|
1075
1075
|
style: { height: "100%" },
|
|
1076
|
-
onChange: o[1] || (o[1] = (
|
|
1076
|
+
onChange: o[1] || (o[1] = (i) => r(i))
|
|
1077
1077
|
}, {
|
|
1078
1078
|
default: S(() => [
|
|
1079
|
-
(v(!0), y(X, null, e2(e.content, (
|
|
1080
|
-
key:
|
|
1081
|
-
label:
|
|
1079
|
+
(v(!0), y(X, null, e2(e.content, (i, w) => (v(), P(_, {
|
|
1080
|
+
key: w,
|
|
1081
|
+
label: i.value
|
|
1082
1082
|
}, {
|
|
1083
1083
|
default: S(() => [
|
|
1084
|
-
|
|
1084
|
+
_2(s2(i == null ? void 0 : i.label), 1)
|
|
1085
1085
|
]),
|
|
1086
1086
|
_: 2
|
|
1087
1087
|
}, 1032, ["label"]))), 128))
|
|
@@ -1112,29 +1112,29 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
1112
1112
|
}
|
|
1113
1113
|
},
|
|
1114
1114
|
emits: ["change"],
|
|
1115
|
-
setup(t, { emit:
|
|
1116
|
-
const
|
|
1115
|
+
setup(t, { emit: n }) {
|
|
1116
|
+
const a = C(t.value), s = n, r = (c) => {
|
|
1117
1117
|
s("change", c);
|
|
1118
1118
|
};
|
|
1119
1119
|
return (c, o) => {
|
|
1120
|
-
const
|
|
1121
|
-
return v(),
|
|
1122
|
-
modelValue:
|
|
1123
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
1120
|
+
const _ = E("el-checkbox"), h = E("el-checkbox-group");
|
|
1121
|
+
return v(), P(h, {
|
|
1122
|
+
modelValue: a.value,
|
|
1123
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => a.value = i),
|
|
1124
1124
|
style: { height: "100%" },
|
|
1125
1125
|
min: t.min,
|
|
1126
|
-
onChange: o[1] || (o[1] = (
|
|
1126
|
+
onChange: o[1] || (o[1] = (i) => r(i))
|
|
1127
1127
|
}, {
|
|
1128
1128
|
default: S(() => [
|
|
1129
|
-
(v(!0), y(X, null, e2(t.content, (
|
|
1130
|
-
key:
|
|
1131
|
-
label:
|
|
1132
|
-
value:
|
|
1133
|
-
style:
|
|
1129
|
+
(v(!0), y(X, null, e2(t.content, (i) => (v(), P(_, {
|
|
1130
|
+
key: i.label,
|
|
1131
|
+
label: i.label,
|
|
1132
|
+
value: i.label,
|
|
1133
|
+
style: n2({ width: t.isWrap ? "100%" : "auto", marginRight: t.isWrap ? 0 : "auto" })
|
|
1134
1134
|
}, {
|
|
1135
1135
|
default: S(() => [
|
|
1136
|
-
|
|
1137
|
-
|
|
1136
|
+
A("span", null, s2(i.label), 1),
|
|
1137
|
+
R(c.$slots, "append")
|
|
1138
1138
|
]),
|
|
1139
1139
|
_: 2
|
|
1140
1140
|
}, 1032, ["label", "value", "style"]))), 128))
|
|
@@ -1157,31 +1157,31 @@ const r5 = { class: "icon-popover" }, d5 = ["onClick"], v5 = /* @__PURE__ */ g2(
|
|
|
1157
1157
|
}
|
|
1158
1158
|
},
|
|
1159
1159
|
setup(t) {
|
|
1160
|
-
const
|
|
1161
|
-
return
|
|
1162
|
-
document.querySelectorAll(".el-tab-pane").forEach((
|
|
1163
|
-
|
|
1160
|
+
const n = t;
|
|
1161
|
+
return y2(() => {
|
|
1162
|
+
document.querySelectorAll(".el-tab-pane").forEach((a) => {
|
|
1163
|
+
a.style.display = "block";
|
|
1164
1164
|
});
|
|
1165
|
-
}), (e,
|
|
1165
|
+
}), (e, a) => {
|
|
1166
1166
|
var s;
|
|
1167
|
-
return v(),
|
|
1168
|
-
tabsContents: ((s =
|
|
1169
|
-
},
|
|
1170
|
-
e2(e.$slots, (
|
|
1167
|
+
return v(), P(p0, {
|
|
1168
|
+
tabsContents: ((s = n == null ? void 0 : n.content) == null ? void 0 : s.tabsContents) ?? []
|
|
1169
|
+
}, b2({ _: 2 }, [
|
|
1170
|
+
e2(e.$slots, (r, c) => ({
|
|
1171
1171
|
name: c,
|
|
1172
1172
|
fn: S((o) => [
|
|
1173
|
-
|
|
1173
|
+
R(e.$slots, c, T0(M0(o || {})))
|
|
1174
1174
|
])
|
|
1175
1175
|
}))
|
|
1176
1176
|
]), 1032, ["tabsContents"]);
|
|
1177
1177
|
};
|
|
1178
1178
|
}
|
|
1179
1179
|
}, P5 = {};
|
|
1180
|
-
function k5(t,
|
|
1181
|
-
const e =
|
|
1182
|
-
return v(),
|
|
1180
|
+
function k5(t, n) {
|
|
1181
|
+
const e = E("el-card");
|
|
1182
|
+
return v(), P(e, null, {
|
|
1183
1183
|
default: S(() => [
|
|
1184
|
-
|
|
1184
|
+
R(t.$slots, "content")
|
|
1185
1185
|
]),
|
|
1186
1186
|
_: 3
|
|
1187
1187
|
});
|
|
@@ -1199,20 +1199,20 @@ const O5 = /* @__PURE__ */ t2(P5, [["render", k5]]), E5 = { class: "extra-button
|
|
|
1199
1199
|
}
|
|
1200
1200
|
},
|
|
1201
1201
|
emits: ["buttonClick"],
|
|
1202
|
-
setup(t, { emit:
|
|
1202
|
+
setup(t, { emit: n }) {
|
|
1203
1203
|
const e = t;
|
|
1204
1204
|
C(!1);
|
|
1205
|
-
const
|
|
1205
|
+
const a = C([]);
|
|
1206
1206
|
C([{ label: "取消" }, { label: "确认" }]);
|
|
1207
|
-
const s = (
|
|
1207
|
+
const s = (r) => {
|
|
1208
1208
|
var c;
|
|
1209
|
-
|
|
1209
|
+
a.value = (c = r == null ? void 0 : r.filter((o) => (o == null ? void 0 : o.label) !== "" && (o == null ? void 0 : o.label) !== "操作")) == null ? void 0 : c.map((o) => ({
|
|
1210
1210
|
label: (o == null ? void 0 : o.label) ?? "",
|
|
1211
1211
|
value: "",
|
|
1212
1212
|
name: (o == null ? void 0 : o.prop) ?? ""
|
|
1213
1213
|
}));
|
|
1214
1214
|
};
|
|
1215
|
-
return
|
|
1215
|
+
return y2(() => {
|
|
1216
1216
|
s(e.columns);
|
|
1217
1217
|
}), d2(
|
|
1218
1218
|
() => e.columns,
|
|
@@ -1220,11 +1220,11 @@ const O5 = /* @__PURE__ */ t2(P5, [["render", k5]]), E5 = { class: "extra-button
|
|
|
1220
1220
|
s(e.columns);
|
|
1221
1221
|
},
|
|
1222
1222
|
{ deep: !0, immediate: !0 }
|
|
1223
|
-
), (
|
|
1224
|
-
|
|
1223
|
+
), (r, c) => (v(), y("div", E5, [
|
|
1224
|
+
R(r.$slots, "headerButton", {}, void 0, !0)
|
|
1225
1225
|
]));
|
|
1226
1226
|
}
|
|
1227
|
-
}, G5 = /* @__PURE__ */ t2(B5, [["__scopeId", "data-v-9727dc88"]]), H5 = { key: 0 }, L5 = /* @__PURE__ */
|
|
1227
|
+
}, G5 = /* @__PURE__ */ t2(B5, [["__scopeId", "data-v-9727dc88"]]), H5 = { key: 0 }, L5 = /* @__PURE__ */ u2({
|
|
1228
1228
|
__name: "recurseCol",
|
|
1229
1229
|
props: {
|
|
1230
1230
|
column: {
|
|
@@ -1233,30 +1233,30 @@ const O5 = /* @__PURE__ */ t2(P5, [["render", k5]]), E5 = { class: "extra-button
|
|
|
1233
1233
|
}
|
|
1234
1234
|
},
|
|
1235
1235
|
setup(t) {
|
|
1236
|
-
return (
|
|
1237
|
-
var o,
|
|
1238
|
-
const
|
|
1239
|
-
return t.column.isHidden ? U("", !0) : (v(),
|
|
1236
|
+
return (n, e) => {
|
|
1237
|
+
var o, _, h, i, w, b, g, d, u, m;
|
|
1238
|
+
const a = E("svg-icon"), s = E("el-tooltip"), r = E("RecurseCol", !0), c = E("el-table-column");
|
|
1239
|
+
return t.column.isHidden ? U("", !0) : (v(), P(c, {
|
|
1240
1240
|
key: 0,
|
|
1241
1241
|
label: t.column.label,
|
|
1242
1242
|
prop: t.column.prop,
|
|
1243
|
-
fixed: ((o = t.column) == null ? void 0 : o.label) === "操作" ? "right" : (
|
|
1243
|
+
fixed: ((o = t.column) == null ? void 0 : o.label) === "操作" ? "right" : (_ = t.column) == null ? void 0 : _.fixed,
|
|
1244
1244
|
align: ((h = t.column) == null ? void 0 : h.align) ?? "left",
|
|
1245
|
-
sortable: ((
|
|
1245
|
+
sortable: ((i = t.column) == null ? void 0 : i.label) === "操作" ? !1 : ((w = t.column) == null ? void 0 : w.sortable) ?? !0,
|
|
1246
1246
|
"show-overflow-tooltip": ((b = t.column) == null ? void 0 : b.showOverflowTooltip) ?? !0,
|
|
1247
1247
|
width: (g = t.column) == null ? void 0 : g.width,
|
|
1248
|
-
"min-width": ((
|
|
1249
|
-
"class-name": (((
|
|
1248
|
+
"min-width": ((d = t.column) == null ? void 0 : d.label) === "操作" ? 40 : (u = t.column) == null ? void 0 : u.width,
|
|
1249
|
+
"class-name": (((m = t.column) == null ? void 0 : m.isNotDrag) ?? !1) === !0 ? "is-not-drag" : "is-drag"
|
|
1250
1250
|
}, {
|
|
1251
1251
|
header: S(() => [
|
|
1252
|
-
t.column.label !== "操作" ? (v(), y("span", H5, s2(t.column.label), 1)) : (v(),
|
|
1252
|
+
t.column.label !== "操作" ? (v(), y("span", H5, s2(t.column.label), 1)) : (v(), P(s, {
|
|
1253
1253
|
key: 1,
|
|
1254
1254
|
content: "操作",
|
|
1255
1255
|
placement: "left-start",
|
|
1256
1256
|
effect: "light"
|
|
1257
1257
|
}, {
|
|
1258
1258
|
default: S(() => [
|
|
1259
|
-
j(
|
|
1259
|
+
j(a, {
|
|
1260
1260
|
name: "operate",
|
|
1261
1261
|
style: { width: "15px", height: "15px" }
|
|
1262
1262
|
})
|
|
@@ -1265,22 +1265,22 @@ const O5 = /* @__PURE__ */ t2(P5, [["render", k5]]), E5 = { class: "extra-button
|
|
|
1265
1265
|
}))
|
|
1266
1266
|
]),
|
|
1267
1267
|
default: S((V) => [
|
|
1268
|
-
|
|
1268
|
+
R(n.$slots, "content", {
|
|
1269
1269
|
row: V.row,
|
|
1270
1270
|
column: V.column,
|
|
1271
1271
|
$index: V.$index
|
|
1272
1272
|
}),
|
|
1273
|
-
(v(!0), y(X, null, e2(t.column.children, (
|
|
1273
|
+
(v(!0), y(X, null, e2(t.column.children, (B, T) => (v(), P(r, {
|
|
1274
1274
|
key: T,
|
|
1275
|
-
column:
|
|
1276
|
-
},
|
|
1277
|
-
e2(
|
|
1275
|
+
column: B
|
|
1276
|
+
}, b2({ _: 2 }, [
|
|
1277
|
+
e2(n.$slots, (N, D) => ({
|
|
1278
1278
|
name: D,
|
|
1279
|
-
fn: S((
|
|
1280
|
-
|
|
1281
|
-
slotData:
|
|
1279
|
+
fn: S((x) => [
|
|
1280
|
+
R(n.$slots, D, P2({ ref_for: !0 }, x, {
|
|
1281
|
+
slotData: x,
|
|
1282
1282
|
row: V.row,
|
|
1283
|
-
item: { child:
|
|
1283
|
+
item: { child: B }
|
|
1284
1284
|
}))
|
|
1285
1285
|
])
|
|
1286
1286
|
}))
|
|
@@ -1290,66 +1290,77 @@ const O5 = /* @__PURE__ */ t2(P5, [["render", k5]]), E5 = { class: "extra-button
|
|
|
1290
1290
|
}, 8, ["label", "prop", "fixed", "align", "sortable", "show-overflow-tooltip", "width", "min-width", "class-name"]));
|
|
1291
1291
|
};
|
|
1292
1292
|
}
|
|
1293
|
-
}), j5 = { key: 0 }, U5 = { key: 1 }, A5 = /* @__PURE__ */
|
|
1293
|
+
}), j5 = { key: 0 }, U5 = { key: 1 }, A5 = /* @__PURE__ */ u2({
|
|
1294
1294
|
__name: "index",
|
|
1295
1295
|
props: {
|
|
1296
1296
|
column: {
|
|
1297
1297
|
type: Object,
|
|
1298
1298
|
default: {}
|
|
1299
1299
|
},
|
|
1300
|
+
tableData: Array,
|
|
1300
1301
|
isEditViewport: Boolean
|
|
1301
1302
|
},
|
|
1302
1303
|
emits: ["clickEditCol", "handleColEditChange"],
|
|
1303
|
-
setup(t, { emit:
|
|
1304
|
-
const e = t,
|
|
1305
|
-
d2(() => e.column, (
|
|
1306
|
-
s.value =
|
|
1304
|
+
setup(t, { emit: n }) {
|
|
1305
|
+
const e = t, a = n, s = C(null);
|
|
1306
|
+
d2(() => e.column, (i) => {
|
|
1307
|
+
s.value = g2(i);
|
|
1307
1308
|
}, { immediate: !0, deep: !0 });
|
|
1308
|
-
const
|
|
1309
|
-
const
|
|
1310
|
-
return w[
|
|
1309
|
+
const r = (i, w, b) => {
|
|
1310
|
+
const g = b.property;
|
|
1311
|
+
return w[g] === i;
|
|
1311
1312
|
};
|
|
1312
1313
|
C(null);
|
|
1313
|
-
const c = (
|
|
1314
|
-
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1314
|
+
const c = (i, w) => {
|
|
1315
|
+
a("handleColEditChange", i, w);
|
|
1316
|
+
}, o = (i, w) => i.reduce((b, g) => {
|
|
1317
|
+
const d = g == null ? void 0 : g[w];
|
|
1318
|
+
return b[d] || (b[d] = []), b[d].push(g), b;
|
|
1319
|
+
}, {}), _ = (i) => {
|
|
1320
|
+
var b;
|
|
1321
|
+
const w = o(e == null ? void 0 : e.tableData, i == null ? void 0 : i.prop);
|
|
1322
|
+
return i != null && i.filterable ? (b = Object.keys(w)) == null ? void 0 : b.map((g) => ({
|
|
1323
|
+
text: g,
|
|
1324
|
+
value: g
|
|
1325
|
+
})) : !1;
|
|
1326
|
+
}, h = (i) => i != null && i.sortable && (i != null && i.filterable) ? "75%" : i != null && i.sortable || i != null && i.filterable ? "95%" : "100%";
|
|
1327
|
+
return (i, w) => {
|
|
1328
|
+
var u, m, V, B, T, N, D, x, G, $, k;
|
|
1329
|
+
const b = E("el-input"), g = E("svg-icon"), d = E("el-table-column");
|
|
1330
|
+
return t.column.isTableColHidden ? U("", !0) : (v(), P(d, {
|
|
1320
1331
|
key: 0,
|
|
1321
1332
|
label: t.column.label,
|
|
1322
1333
|
prop: t.column.prop,
|
|
1323
|
-
fixed: ((
|
|
1324
|
-
align: ((
|
|
1325
|
-
sortable: ((
|
|
1326
|
-
filters: (
|
|
1327
|
-
"filter-method":
|
|
1328
|
-
"show-overflow-tooltip": ((
|
|
1329
|
-
width: (
|
|
1330
|
-
"min-width": ((
|
|
1331
|
-
"class-name": ((
|
|
1334
|
+
fixed: ((u = t.column) == null ? void 0 : u.label) === "操作" ? "right" : (m = t.column) == null ? void 0 : m.fixed,
|
|
1335
|
+
align: ((V = t.column) == null ? void 0 : V.align) ?? "left",
|
|
1336
|
+
sortable: ((B = t.column) == null ? void 0 : B.label) === "操作" ? !1 : ((T = t.column) == null ? void 0 : T.sortable) ?? !1,
|
|
1337
|
+
filters: (N = t.column) != null && N.filterable ? _(t.column) : null,
|
|
1338
|
+
"filter-method": r,
|
|
1339
|
+
"show-overflow-tooltip": ((D = t.column) == null ? void 0 : D.showOverflowTooltip) ?? !0,
|
|
1340
|
+
width: (x = t.column) == null ? void 0 : x.width,
|
|
1341
|
+
"min-width": ((G = t.column) == null ? void 0 : G.label) === "操作" ? 40 : 80,
|
|
1342
|
+
"class-name": (($ = t.column) == null ? void 0 : $.prop) === "operate" ? "action" : (((k = t.column) == null ? void 0 : k.isNotDrag) ?? !1) === !0 ? "is-not-drag" : "is-drag"
|
|
1332
1343
|
}, {
|
|
1333
1344
|
header: S(() => [
|
|
1334
1345
|
t.column.label !== "操作" ? (v(), y(X, { key: 0 }, [
|
|
1335
1346
|
t.column.operable && t.isEditViewport ? (v(), y("span", j5, [
|
|
1336
|
-
j(
|
|
1347
|
+
j(b, {
|
|
1337
1348
|
modelValue: s.value.label,
|
|
1338
|
-
"onUpdate:modelValue": w[0] || (w[0] = (
|
|
1339
|
-
style: { width:
|
|
1340
|
-
onChange: w[1] || (w[1] = (
|
|
1341
|
-
}, null, 8, ["modelValue"])
|
|
1349
|
+
"onUpdate:modelValue": w[0] || (w[0] = (W) => s.value.label = W),
|
|
1350
|
+
style: n2({ width: h(t.column) }),
|
|
1351
|
+
onChange: w[1] || (w[1] = (W) => c(W, t.column))
|
|
1352
|
+
}, null, 8, ["modelValue", "style"])
|
|
1342
1353
|
])) : (v(), y("span", U5, s2(t.column.label), 1))
|
|
1343
|
-
], 64)) :
|
|
1354
|
+
], 64)) : R(i.$slots, "operateHeader", { key: 1 })
|
|
1344
1355
|
]),
|
|
1345
1356
|
"filter-icon": S(() => {
|
|
1346
|
-
var
|
|
1357
|
+
var W, l, a2, l2;
|
|
1347
1358
|
return [
|
|
1348
|
-
(
|
|
1359
|
+
(W = t.column) != null && W.filterable && ((l = t.column) == null ? void 0 : l.label) !== "操作" ? (v(), P(g, {
|
|
1349
1360
|
key: 0,
|
|
1350
|
-
name: (
|
|
1361
|
+
name: (a2 = t.column) != null && a2.filterable && ((l2 = t.column) == null ? void 0 : l2.label) !== "操作" ? "colFilter" : "",
|
|
1351
1362
|
class: "custom-filter-icon"
|
|
1352
|
-
}, null, 8, ["name"])) : (v(),
|
|
1363
|
+
}, null, 8, ["name"])) : (v(), P(g, {
|
|
1353
1364
|
key: 1,
|
|
1354
1365
|
onClick: w[2] || (w[2] = s0(() => {
|
|
1355
1366
|
}, ["stop"])),
|
|
@@ -1357,23 +1368,23 @@ const O5 = /* @__PURE__ */ t2(P5, [["render", k5]]), E5 = { class: "extra-button
|
|
|
1357
1368
|
}))
|
|
1358
1369
|
];
|
|
1359
1370
|
}),
|
|
1360
|
-
default: S((
|
|
1361
|
-
|
|
1362
|
-
row:
|
|
1363
|
-
column:
|
|
1364
|
-
$index:
|
|
1365
|
-
scope:
|
|
1371
|
+
default: S((W) => [
|
|
1372
|
+
R(i.$slots, "content", {
|
|
1373
|
+
row: W.row,
|
|
1374
|
+
column: W.column,
|
|
1375
|
+
$index: W.$index,
|
|
1376
|
+
scope: W
|
|
1366
1377
|
}),
|
|
1367
|
-
(v(!0), y(X, null, e2(t.column.children, (
|
|
1368
|
-
key:
|
|
1369
|
-
column:
|
|
1370
|
-
},
|
|
1371
|
-
e2(
|
|
1372
|
-
name:
|
|
1373
|
-
fn: S(({ row:
|
|
1374
|
-
|
|
1375
|
-
item:
|
|
1376
|
-
slotData:
|
|
1378
|
+
(v(!0), y(X, null, e2(t.column.children, (l, a2) => (v(), P(L5, {
|
|
1379
|
+
key: a2,
|
|
1380
|
+
column: l
|
|
1381
|
+
}, b2({ _: 2 }, [
|
|
1382
|
+
e2(i.$slots, (l2, v2) => ({
|
|
1383
|
+
name: v2,
|
|
1384
|
+
fn: S(({ row: h2, slotData: p2, item: m2 }) => [
|
|
1385
|
+
R(i.$slots, v2, P2({ ref_for: !0 }, p2 ?? h2, {
|
|
1386
|
+
item: m2 ?? l,
|
|
1387
|
+
slotData: p2 ?? h2
|
|
1377
1388
|
}))
|
|
1378
1389
|
])
|
|
1379
1390
|
}))
|
|
@@ -1385,37 +1396,37 @@ const O5 = /* @__PURE__ */ t2(P5, [["render", k5]]), E5 = { class: "extra-button
|
|
|
1385
1396
|
}
|
|
1386
1397
|
});
|
|
1387
1398
|
function B9(t) {
|
|
1388
|
-
const
|
|
1399
|
+
const n = sessionStorage.getItem("loginToken") ?? "123456";
|
|
1389
1400
|
return H2({
|
|
1390
1401
|
url: "/api/sysFile/uploadAvatar",
|
|
1391
1402
|
method: "post",
|
|
1392
1403
|
data: t,
|
|
1393
1404
|
headers: {
|
|
1394
|
-
Authorization:
|
|
1405
|
+
Authorization: n,
|
|
1395
1406
|
"Content-Type": "multipart/form-data"
|
|
1396
1407
|
}
|
|
1397
1408
|
});
|
|
1398
1409
|
}
|
|
1399
1410
|
function r0(t) {
|
|
1400
|
-
const
|
|
1411
|
+
const n = sessionStorage.getItem("loginToken") ?? "123456";
|
|
1401
1412
|
return H2({
|
|
1402
1413
|
url: "/api/sysFile/uploadFile",
|
|
1403
1414
|
method: "post",
|
|
1404
1415
|
data: t,
|
|
1405
1416
|
headers: {
|
|
1406
|
-
Authorization:
|
|
1417
|
+
Authorization: n,
|
|
1407
1418
|
"Content-Type": "multipart/form-data"
|
|
1408
1419
|
}
|
|
1409
1420
|
});
|
|
1410
1421
|
}
|
|
1411
1422
|
function d0(t) {
|
|
1412
|
-
const
|
|
1423
|
+
const n = sessionStorage.getItem("loginToken") ?? "123456";
|
|
1413
1424
|
return H2({
|
|
1414
1425
|
url: "/api/sysFile/downloadFile",
|
|
1415
1426
|
method: "post",
|
|
1416
1427
|
data: t,
|
|
1417
1428
|
headers: {
|
|
1418
|
-
Authorization:
|
|
1429
|
+
Authorization: n,
|
|
1419
1430
|
Accept: "application/octet-stream"
|
|
1420
1431
|
// 明确要求返回二进制流
|
|
1421
1432
|
},
|
|
@@ -1465,11 +1476,11 @@ const $5 = {
|
|
|
1465
1476
|
}
|
|
1466
1477
|
},
|
|
1467
1478
|
emits: ["handleColEditChange", "clickEditCol", "submitEditingTable", "change", "cellChange", "selectChange", "dbClickRow", "fixRow", "deleteRow", "doSizeChange", "doCurrentChange", "buttonClick", "contentClick", "rowClick", "preview"],
|
|
1468
|
-
setup(t, { emit:
|
|
1479
|
+
setup(t, { emit: n }) {
|
|
1469
1480
|
const e = t;
|
|
1470
1481
|
W0(H0);
|
|
1471
|
-
const
|
|
1472
|
-
|
|
1482
|
+
const a = C(!1), s = C(), r = A2({ x: 0, y: 0 }), c = C([]), o = C([]), _ = C(0), h = C(null), i = C(null), w = C(null), b = n, g = P0("contentRef");
|
|
1483
|
+
y2(() => {
|
|
1473
1484
|
var p;
|
|
1474
1485
|
c.value = e == null ? void 0 : e.columns, o.value = (p = e == null ? void 0 : e.tableData) == null ? void 0 : p.map((M) => {
|
|
1475
1486
|
var L;
|
|
@@ -1478,16 +1489,16 @@ const $5 = {
|
|
|
1478
1489
|
z[H] = X2(M[H]) && M[H] === 0 ? (L = M[H]) == null ? void 0 : L.toString() : M[H];
|
|
1479
1490
|
return z;
|
|
1480
1491
|
}), L2(), k2(), document.addEventListener("click", () => {
|
|
1481
|
-
|
|
1482
|
-
}), document.addEventListener("click",
|
|
1492
|
+
a.value = !1;
|
|
1493
|
+
}), document.addEventListener("click", m);
|
|
1483
1494
|
}), c0(() => {
|
|
1484
|
-
document.removeEventListener("click",
|
|
1495
|
+
document.removeEventListener("click", m);
|
|
1485
1496
|
});
|
|
1486
|
-
const
|
|
1497
|
+
const d = (p) => {
|
|
1487
1498
|
b("clickEditCol", p);
|
|
1488
1499
|
}, u = (p, M) => {
|
|
1489
1500
|
b("handleColEditChange", p, M);
|
|
1490
|
-
},
|
|
1501
|
+
}, m = (p) => {
|
|
1491
1502
|
e.isEditViewport && g.value && !h.value.$el.contains(p.target) && g.value.contains(p.target) && b("submitEditingTable");
|
|
1492
1503
|
}, V = I(() => {
|
|
1493
1504
|
var p;
|
|
@@ -1495,7 +1506,7 @@ const $5 = {
|
|
|
1495
1506
|
var z;
|
|
1496
1507
|
return !((z = M == null ? void 0 : M.label) != null && z.includes("批量"));
|
|
1497
1508
|
});
|
|
1498
|
-
}),
|
|
1509
|
+
}), B = I(() => {
|
|
1499
1510
|
var p;
|
|
1500
1511
|
return (p = e == null ? void 0 : e.extraButton) == null ? void 0 : p.filter((M) => {
|
|
1501
1512
|
var z;
|
|
@@ -1505,26 +1516,26 @@ const $5 = {
|
|
|
1505
1516
|
T.value = p == null ? void 0 : p.id;
|
|
1506
1517
|
}, D = (p, M, z) => {
|
|
1507
1518
|
T.value = 0;
|
|
1508
|
-
},
|
|
1519
|
+
}, x = (p) => {
|
|
1509
1520
|
b("selectChange", p);
|
|
1510
|
-
},
|
|
1511
|
-
var
|
|
1512
|
-
let H = p != null && p[M == null ? void 0 : M.prop] ? ((J = (
|
|
1521
|
+
}, G = (p, M, z, L) => I(() => {
|
|
1522
|
+
var K, J, Q, Y, f, F, q, O, Z, c2;
|
|
1523
|
+
let H = p != null && p[M == null ? void 0 : M.prop] ? ((J = (K = p == null ? void 0 : p[M == null ? void 0 : M.prop]) == null ? void 0 : K[0]) == null ? void 0 : J.contents) ?? (p == null ? void 0 : p[M == null ? void 0 : M.prop]) : ((Y = (Q = p == null ? void 0 : p[z == null ? void 0 : z.prop]) == null ? void 0 : Q[0]) == null ? void 0 : Y.contents) ?? (p == null ? void 0 : p[z == null ? void 0 : z.prop]) ?? ((F = (f = L == null ? void 0 : L[z == null ? void 0 : z.prop]) == null ? void 0 : f[0]) == null ? void 0 : F.contents) ?? (L == null ? void 0 : L[z == null ? void 0 : z.prop]) ?? ((Z = (O = p == null ? void 0 : p[(q = z == null ? void 0 : z.child) == null ? void 0 : q.prop]) == null ? void 0 : O[0]) == null ? void 0 : Z.contents) ?? (p == null ? void 0 : p[(c2 = z == null ? void 0 : z.child) == null ? void 0 : c2.prop]);
|
|
1513
1524
|
return Array.isArray(H) && !(H != null && H.every((i2) => typeof i2 == "string" || typeof i2 == "number")) ? "查看" : H;
|
|
1514
|
-
}),
|
|
1515
|
-
var H,
|
|
1516
|
-
s.value = void 0, ((H = z.innerText) != null && H.includes(".urdf") || (
|
|
1517
|
-
},
|
|
1525
|
+
}), $ = (p, M, z, L) => {
|
|
1526
|
+
var H, K, J, Q;
|
|
1527
|
+
s.value = void 0, ((H = z.innerText) != null && H.includes(".urdf") || (K = z.innerText) != null && K.includes(".stl") || (J = z.innerText) != null && J.includes(".obj") || (Q = z.innerText) != null && Q.includes(".STL")) && (r.x = L.clientX, r.y = L.clientY, a.value = !0, s.value = z.innerText);
|
|
1528
|
+
}, k = () => {
|
|
1518
1529
|
s.value && b("preview", {
|
|
1519
1530
|
row: s.value,
|
|
1520
1531
|
type: "table"
|
|
1521
1532
|
});
|
|
1522
|
-
},
|
|
1533
|
+
}, W = () => {
|
|
1523
1534
|
s.value && b("rowClick", {
|
|
1524
1535
|
row: s.value,
|
|
1525
1536
|
type: "table"
|
|
1526
1537
|
});
|
|
1527
|
-
},
|
|
1538
|
+
}, l = (p) => {
|
|
1528
1539
|
b("buttonClick", p);
|
|
1529
1540
|
};
|
|
1530
1541
|
d2(
|
|
@@ -1541,17 +1552,17 @@ const $5 = {
|
|
|
1541
1552
|
},
|
|
1542
1553
|
{ deep: !0 }
|
|
1543
1554
|
);
|
|
1544
|
-
const
|
|
1555
|
+
const a2 = (p) => N2(p), l2 = (p) => {
|
|
1545
1556
|
b("doCurrentChange", p);
|
|
1546
1557
|
}, v2 = (p, M) => {
|
|
1547
1558
|
b("dbClickRow", p);
|
|
1548
|
-
},
|
|
1559
|
+
}, h2 = (p) => {
|
|
1549
1560
|
b("doSizeChange", p);
|
|
1550
|
-
},
|
|
1561
|
+
}, p2 = (p) => {
|
|
1551
1562
|
b("fixRow", p);
|
|
1552
|
-
},
|
|
1563
|
+
}, m2 = (p) => {
|
|
1553
1564
|
b("deleteRow", p);
|
|
1554
|
-
},
|
|
1565
|
+
}, f2 = (p, M, z, L) => {
|
|
1555
1566
|
b("contentClick", p, M, z, L);
|
|
1556
1567
|
}, L2 = () => {
|
|
1557
1568
|
var M;
|
|
@@ -1563,9 +1574,9 @@ const $5 = {
|
|
|
1563
1574
|
// 可拖拽区域为单元格
|
|
1564
1575
|
onMove: (z) => !z.related.classList.contains("is-not-drag"),
|
|
1565
1576
|
onEnd: (z) => {
|
|
1566
|
-
|
|
1567
|
-
const L = z.oldIndex - 3, H = z.newIndex - 3,
|
|
1568
|
-
c.value.splice(H, 0,
|
|
1577
|
+
_.value++;
|
|
1578
|
+
const L = z.oldIndex - 3, H = z.newIndex - 3, K = c.value.splice(L, 1)[0];
|
|
1579
|
+
c.value.splice(H, 0, K), e.isMoveColumn && z2(() => {
|
|
1569
1580
|
L2(), k2();
|
|
1570
1581
|
});
|
|
1571
1582
|
}
|
|
@@ -1574,7 +1585,7 @@ const $5 = {
|
|
|
1574
1585
|
d2(
|
|
1575
1586
|
() => e.isMoveColumn,
|
|
1576
1587
|
() => {
|
|
1577
|
-
e.isMoveColumn &&
|
|
1588
|
+
e.isMoveColumn && z2(() => {
|
|
1578
1589
|
L2(), k2();
|
|
1579
1590
|
});
|
|
1580
1591
|
}
|
|
@@ -1587,8 +1598,8 @@ const $5 = {
|
|
|
1587
1598
|
handle: ".custom-drag-icon",
|
|
1588
1599
|
ghostClass: "sortable-ghost",
|
|
1589
1600
|
onEnd: ({ newIndex: z, oldIndex: L }) => {
|
|
1590
|
-
const H = [...o.value], [
|
|
1591
|
-
H.splice(L, 0,
|
|
1601
|
+
const H = [...o.value], [K] = H.splice(L, 1);
|
|
1602
|
+
H.splice(L, 0, K), o.value = H, z2(() => {
|
|
1592
1603
|
k2();
|
|
1593
1604
|
});
|
|
1594
1605
|
}
|
|
@@ -1597,10 +1608,10 @@ const $5 = {
|
|
|
1597
1608
|
const z = new FileReader();
|
|
1598
1609
|
z.onloadend = () => M(z.result), z.readAsDataURL(p);
|
|
1599
1610
|
}), m0 = (p, M = "file") => {
|
|
1600
|
-
let z = p.split(","), L = z[0].match(/:(.*?);/)[1], H = L.split("/")[1],
|
|
1611
|
+
let z = p.split(","), L = z[0].match(/:(.*?);/)[1], H = L.split("/")[1], K = atob(z[1]), J = K.length, Q = new Uint8Array(J);
|
|
1601
1612
|
for (; J--; )
|
|
1602
|
-
|
|
1603
|
-
return new File([
|
|
1613
|
+
Q[J] = K.charCodeAt(J);
|
|
1614
|
+
return new File([Q], `${M}.${H}`, {
|
|
1604
1615
|
type: L
|
|
1605
1616
|
});
|
|
1606
1617
|
}, f0 = async (p) => {
|
|
@@ -1608,11 +1619,11 @@ const $5 = {
|
|
|
1608
1619
|
let z = m0(M), L = new FormData();
|
|
1609
1620
|
L.append("file", z);
|
|
1610
1621
|
let H;
|
|
1611
|
-
return await r0(L).then((
|
|
1612
|
-
var J,
|
|
1622
|
+
return await r0(L).then((K) => {
|
|
1623
|
+
var J, Q, Y, f, F, q, O;
|
|
1613
1624
|
H = {
|
|
1614
|
-
url: (J =
|
|
1615
|
-
name: (O = (
|
|
1625
|
+
url: (J = K.data.result) == null ? void 0 : J.url,
|
|
1626
|
+
name: (O = (Y = (Q = K.data.result) == null ? void 0 : Q.url) == null ? void 0 : Y.split("/")) == null ? void 0 : O[((q = (F = (f = K.data.result) == null ? void 0 : f.url) == null ? void 0 : F.split("/")) == null ? void 0 : q.length) - 1]
|
|
1616
1627
|
};
|
|
1617
1628
|
}), H;
|
|
1618
1629
|
}, x0 = async (p) => {
|
|
@@ -1624,12 +1635,12 @@ const $5 = {
|
|
|
1624
1635
|
p.preventDefault();
|
|
1625
1636
|
const H = b0(L);
|
|
1626
1637
|
if (!H.length) return;
|
|
1627
|
-
const { rowIndex:
|
|
1628
|
-
if (H == null || H.forEach((
|
|
1629
|
-
|
|
1630
|
-
}), (
|
|
1631
|
-
var
|
|
1632
|
-
return
|
|
1638
|
+
const { rowIndex: K, columnIndex: J } = w.value || { rowIndex: 0, columnIndex: 0 }, Q = [];
|
|
1639
|
+
if (H == null || H.forEach((Y) => {
|
|
1640
|
+
Q.push(Y.length + J);
|
|
1641
|
+
}), (Q == null ? void 0 : Q.filter((Y) => {
|
|
1642
|
+
var f;
|
|
1643
|
+
return Y > Object.keys((f = o.value) == null ? void 0 : f[0]).length;
|
|
1633
1644
|
}).length) > 0) {
|
|
1634
1645
|
i0({
|
|
1635
1646
|
type: "warning",
|
|
@@ -1637,81 +1648,81 @@ const $5 = {
|
|
|
1637
1648
|
});
|
|
1638
1649
|
return;
|
|
1639
1650
|
}
|
|
1640
|
-
for (let
|
|
1641
|
-
const
|
|
1642
|
-
for (let O = 0; O <
|
|
1643
|
-
const
|
|
1644
|
-
(
|
|
1651
|
+
for (let Y = 0; Y < H.length; Y++) {
|
|
1652
|
+
const f = H[Y], F = o.value[K + Y], q = g2(c.value).map((O) => O.prop);
|
|
1653
|
+
for (let O = 0; O < f.length && J + O < q.length; O++) {
|
|
1654
|
+
const Z = q[J + O];
|
|
1655
|
+
(F == null ? void 0 : F[Z]) !== void 0 && (F[Z] = f[O] || "");
|
|
1645
1656
|
}
|
|
1646
1657
|
}
|
|
1647
1658
|
} else {
|
|
1648
1659
|
const H = z.getData("text/html");
|
|
1649
1660
|
if (H === void 0) return;
|
|
1650
|
-
const J = new DOMParser().parseFromString(H, "text/html"),
|
|
1651
|
-
if ((
|
|
1661
|
+
const J = new DOMParser().parseFromString(H, "text/html"), Q = J.querySelectorAll("table");
|
|
1662
|
+
if ((Q == null ? void 0 : Q.length) > 0) {
|
|
1652
1663
|
p.preventDefault();
|
|
1653
|
-
const
|
|
1654
|
-
for (const
|
|
1655
|
-
const c2 =
|
|
1656
|
-
for (const
|
|
1657
|
-
const o2 =
|
|
1664
|
+
const f = Q[0].querySelectorAll("tr"), F = [];
|
|
1665
|
+
for (const Z of f) {
|
|
1666
|
+
const c2 = Z.querySelectorAll("td, th"), i2 = [];
|
|
1667
|
+
for (const D2 of c2) {
|
|
1668
|
+
const o2 = D2.querySelectorAll("img");
|
|
1658
1669
|
if (o2.length > 0)
|
|
1659
|
-
for (const
|
|
1660
|
-
const
|
|
1661
|
-
if (
|
|
1662
|
-
const O2 =
|
|
1670
|
+
for (const x2 of o2) {
|
|
1671
|
+
const w2 = x2.getAttribute("src");
|
|
1672
|
+
if (w2 && w2.startsWith("file:///")) {
|
|
1673
|
+
const O2 = w2.match(/base64,(.*)/);
|
|
1663
1674
|
O2 && i2.push({
|
|
1664
1675
|
type: "image",
|
|
1665
1676
|
content: `data:image/png;base64,${O2[1]}`
|
|
1666
1677
|
});
|
|
1667
|
-
} else
|
|
1678
|
+
} else w2 && w2.startsWith("data:") && i2.push({
|
|
1668
1679
|
type: "image",
|
|
1669
|
-
content:
|
|
1680
|
+
content: w2
|
|
1670
1681
|
});
|
|
1671
1682
|
}
|
|
1672
1683
|
else
|
|
1673
1684
|
i2.push({
|
|
1674
1685
|
type: "text",
|
|
1675
|
-
content:
|
|
1686
|
+
content: D2.textContent.trim()
|
|
1676
1687
|
});
|
|
1677
1688
|
}
|
|
1678
|
-
|
|
1689
|
+
F.push(i2);
|
|
1679
1690
|
}
|
|
1680
|
-
const { rowIndex:
|
|
1681
|
-
if (Array.isArray(
|
|
1682
|
-
const
|
|
1683
|
-
|
|
1691
|
+
const { rowIndex: q, columnProp: O } = w.value || { rowIndex: 0, columnIndex: 0 };
|
|
1692
|
+
if (Array.isArray(F) && F.length) {
|
|
1693
|
+
const Z = [];
|
|
1694
|
+
F.forEach((i2) => {
|
|
1684
1695
|
if (i2 != null && i2.length) {
|
|
1685
|
-
const
|
|
1686
|
-
for (let
|
|
1687
|
-
const
|
|
1688
|
-
|
|
1696
|
+
const D2 = {}, o2 = e.columns;
|
|
1697
|
+
for (let x2 = 0; x2 < (o2 == null ? void 0 : o2.length); x2++) {
|
|
1698
|
+
const w2 = o2[x2], O2 = w2 == null ? void 0 : w2.prop, j2 = i2 == null ? void 0 : i2[x2], V0 = j2 == null ? void 0 : j2.content;
|
|
1699
|
+
D2[O2] = V0;
|
|
1689
1700
|
}
|
|
1690
|
-
|
|
1701
|
+
Z.push(D2);
|
|
1691
1702
|
}
|
|
1692
1703
|
});
|
|
1693
|
-
let c2 =
|
|
1694
|
-
o.value.splice(
|
|
1704
|
+
let c2 = g2(o.value);
|
|
1705
|
+
o.value.splice(q + 1, 0, ...Z);
|
|
1695
1706
|
}
|
|
1696
1707
|
} else {
|
|
1697
|
-
const
|
|
1698
|
-
let
|
|
1699
|
-
if (
|
|
1700
|
-
const
|
|
1701
|
-
|
|
1702
|
-
for (const
|
|
1703
|
-
if ((
|
|
1704
|
-
const O = await f0(
|
|
1705
|
-
|
|
1708
|
+
const Y = J.querySelectorAll("span");
|
|
1709
|
+
let f = "";
|
|
1710
|
+
if (Y.length === 0) {
|
|
1711
|
+
const F = (M = p.clipboardData) == null ? void 0 : M.items;
|
|
1712
|
+
f = [];
|
|
1713
|
+
for (const q of F)
|
|
1714
|
+
if ((q == null ? void 0 : q.type) === "image/png") {
|
|
1715
|
+
const O = await f0(q == null ? void 0 : q.getAsFile());
|
|
1716
|
+
f.push(O);
|
|
1706
1717
|
} else
|
|
1707
|
-
|
|
1718
|
+
f = p.clipboardData.getData("text/plain");
|
|
1708
1719
|
} else
|
|
1709
|
-
for (const
|
|
1710
|
-
|
|
1711
|
-
if (Array.isArray(
|
|
1720
|
+
for (const F of Y)
|
|
1721
|
+
f = f + F.textContent.trim();
|
|
1722
|
+
if (Array.isArray(f)) {
|
|
1712
1723
|
p.preventDefault();
|
|
1713
|
-
const { rowIndex:
|
|
1714
|
-
|
|
1724
|
+
const { rowIndex: F, columnProp: q } = w.value || { rowIndex: 0, columnIndex: 0 }, O = {}, Z = o.value;
|
|
1725
|
+
Z[F][q] = f;
|
|
1715
1726
|
}
|
|
1716
1727
|
}
|
|
1717
1728
|
}
|
|
@@ -1720,7 +1731,7 @@ const $5 = {
|
|
|
1720
1731
|
}
|
|
1721
1732
|
}, b0 = (p) => p.trim().split(/\r\n|\n|\r/).map((L) => L.trim() ? L.split(" ").map((H) => H.replace(/^"(.*)"$/, "$1")) : [""]), y0 = (p) => {
|
|
1722
1733
|
var M;
|
|
1723
|
-
p && (
|
|
1734
|
+
p && (w.value = {
|
|
1724
1735
|
rowIndex: p == null ? void 0 : p.$index,
|
|
1725
1736
|
columnIndex: p == null ? void 0 : p.cellIndex,
|
|
1726
1737
|
columnProp: (M = p.column) == null ? void 0 : M.property
|
|
@@ -1732,58 +1743,58 @@ const $5 = {
|
|
|
1732
1743
|
maximumFractionDigits: 2
|
|
1733
1744
|
}), C0 = (p) => {
|
|
1734
1745
|
const { columns: M, data: z } = p, L = [];
|
|
1735
|
-
return M.forEach((H,
|
|
1736
|
-
var
|
|
1737
|
-
if (
|
|
1738
|
-
L[
|
|
1746
|
+
return M.forEach((H, K) => {
|
|
1747
|
+
var Y, f;
|
|
1748
|
+
if (K === 0) {
|
|
1749
|
+
L[K] = "合计";
|
|
1739
1750
|
return;
|
|
1740
1751
|
}
|
|
1741
|
-
const J = H.property,
|
|
1742
|
-
if (
|
|
1743
|
-
const
|
|
1744
|
-
if (
|
|
1745
|
-
L[
|
|
1752
|
+
const J = H.property, Q = (f = (Y = e.columns) == null ? void 0 : Y.filter((F) => F == null ? void 0 : F.showSummary)) == null ? void 0 : f.map((F) => F.prop);
|
|
1753
|
+
if (Q != null && Q.includes(J)) {
|
|
1754
|
+
const F = z == null ? void 0 : z.map((q) => Number(q[J]));
|
|
1755
|
+
if (F.every((q) => isNaN(q)))
|
|
1756
|
+
L[K] = "N/A";
|
|
1746
1757
|
else {
|
|
1747
|
-
const
|
|
1748
|
-
const c2 = Number(
|
|
1758
|
+
const q = F.reduce((O, Z) => {
|
|
1759
|
+
const c2 = Number(Z);
|
|
1749
1760
|
return isNaN(c2) ? O : O + c2;
|
|
1750
1761
|
}, 0);
|
|
1751
|
-
L[
|
|
1762
|
+
L[K] = S0(q), ["price", "sales", "cost", "profit"].includes(J) && (L[K] = "¥" + L[K]);
|
|
1752
1763
|
}
|
|
1753
1764
|
} else
|
|
1754
|
-
L[
|
|
1765
|
+
L[K] = "";
|
|
1755
1766
|
}), L;
|
|
1756
1767
|
};
|
|
1757
1768
|
return (p, M) => {
|
|
1758
|
-
var J,
|
|
1759
|
-
const z =
|
|
1769
|
+
var J, Q;
|
|
1770
|
+
const z = E("el-table-column"), L = E("svg-icon"), H = E("el-table"), K = E("el-pagination");
|
|
1760
1771
|
return v(), y("div", {
|
|
1761
1772
|
class: "table-content-show",
|
|
1762
1773
|
ref_key: "tableOuterRef",
|
|
1763
|
-
ref:
|
|
1774
|
+
ref: i
|
|
1764
1775
|
}, [
|
|
1765
1776
|
j(G5, {
|
|
1766
1777
|
buttons: V.value,
|
|
1767
|
-
onButtonClick:
|
|
1778
|
+
onButtonClick: l,
|
|
1768
1779
|
columns: c.value
|
|
1769
1780
|
}, {
|
|
1770
1781
|
headerButton: S(() => [
|
|
1771
|
-
|
|
1782
|
+
R(p.$slots, "headerButton", {
|
|
1772
1783
|
buttons: V.value,
|
|
1773
1784
|
columns: c.value
|
|
1774
1785
|
}, void 0, !0)
|
|
1775
1786
|
]),
|
|
1776
1787
|
_: 3
|
|
1777
1788
|
}, 8, ["buttons", "columns"]),
|
|
1778
|
-
(J = V.value) != null && J.find((
|
|
1789
|
+
(J = V.value) != null && J.find((Y) => (Y == null ? void 0 : Y.label) === "新建") ? U("", !0) : R(p.$slots, "viewport", {
|
|
1779
1790
|
key: 0,
|
|
1780
1791
|
id: "excludeElementId"
|
|
1781
1792
|
}, void 0, !0),
|
|
1782
|
-
(v(),
|
|
1793
|
+
(v(), P(H, {
|
|
1783
1794
|
border: !1,
|
|
1784
1795
|
class: "table-wrap",
|
|
1785
1796
|
data: o.value,
|
|
1786
|
-
"show-summary": (
|
|
1797
|
+
"show-summary": (Q = t.columns) == null ? void 0 : Q.some((Y) => Y == null ? void 0 : Y.showSummary),
|
|
1787
1798
|
"sum-text": t.summaryInfo.text,
|
|
1788
1799
|
"summary-method": C0,
|
|
1789
1800
|
stripe: "",
|
|
@@ -1792,11 +1803,11 @@ const $5 = {
|
|
|
1792
1803
|
ref_key: "tableRef",
|
|
1793
1804
|
ref: h,
|
|
1794
1805
|
"empty-text": "暂无数据",
|
|
1795
|
-
onCellContextmenu:
|
|
1806
|
+
onCellContextmenu: $,
|
|
1796
1807
|
onPaste: x0,
|
|
1797
|
-
onSelectionChange:
|
|
1808
|
+
onSelectionChange: x,
|
|
1798
1809
|
onRowDblclick: v2,
|
|
1799
|
-
key:
|
|
1810
|
+
key: _.value,
|
|
1800
1811
|
"row-class-name": D0,
|
|
1801
1812
|
"header-cell-class-name": w0,
|
|
1802
1813
|
onCellMouseEnter: N,
|
|
@@ -1805,25 +1816,25 @@ const $5 = {
|
|
|
1805
1816
|
}, ["prevent"]))
|
|
1806
1817
|
}, {
|
|
1807
1818
|
default: S(() => {
|
|
1808
|
-
var
|
|
1819
|
+
var Y;
|
|
1809
1820
|
return [
|
|
1810
1821
|
j(z, {
|
|
1811
1822
|
type: "selection",
|
|
1812
|
-
width: (
|
|
1823
|
+
width: (Y = t.columns) != null && Y.some((f) => f == null ? void 0 : f.showSummary) ? 55 : 40,
|
|
1813
1824
|
fixed: "left"
|
|
1814
1825
|
}, null, 8, ["width"]),
|
|
1815
1826
|
j(z, {
|
|
1816
1827
|
"min-width": "20",
|
|
1817
1828
|
"show-overflow-tooltip": !1
|
|
1818
1829
|
}, {
|
|
1819
|
-
default: S(({ row:
|
|
1820
|
-
W2(
|
|
1830
|
+
default: S(({ row: f, column: F, $index: q }) => [
|
|
1831
|
+
W2(A("span", $5, [
|
|
1821
1832
|
j(L, {
|
|
1822
1833
|
name: "drag",
|
|
1823
1834
|
style: { width: "15px", height: "15px", cursor: "move" }
|
|
1824
1835
|
})
|
|
1825
1836
|
], 512), [
|
|
1826
|
-
[R2, (
|
|
1837
|
+
[R2, (f == null ? void 0 : f.id) === T.value]
|
|
1827
1838
|
])
|
|
1828
1839
|
]),
|
|
1829
1840
|
_: 1
|
|
@@ -1832,107 +1843,108 @@ const $5 = {
|
|
|
1832
1843
|
type: "index",
|
|
1833
1844
|
"min-width": "40",
|
|
1834
1845
|
label: "序号"
|
|
1835
|
-
},
|
|
1846
|
+
}, b2({ _: 2 }, [
|
|
1836
1847
|
t.isEditViewport ? {
|
|
1837
1848
|
name: "default",
|
|
1838
|
-
fn: S(({ row:
|
|
1849
|
+
fn: S(({ row: f, column: F, $index: q }) => {
|
|
1839
1850
|
var O;
|
|
1840
1851
|
return [
|
|
1841
|
-
|
|
1852
|
+
q === ((O = o.value) == null ? void 0 : O.length) - 1 ? R(p.$slots, "rowCreate", {
|
|
1842
1853
|
key: 0,
|
|
1843
|
-
row:
|
|
1854
|
+
row: f
|
|
1844
1855
|
}, void 0, !0) : U("", !0)
|
|
1845
1856
|
];
|
|
1846
1857
|
}),
|
|
1847
1858
|
key: "0"
|
|
1848
1859
|
} : void 0
|
|
1849
1860
|
]), 1024),
|
|
1850
|
-
(v(!0), y(X, null, e2(c.value, (
|
|
1851
|
-
var
|
|
1861
|
+
(v(!0), y(X, null, e2(c.value, (f, F) => {
|
|
1862
|
+
var q;
|
|
1852
1863
|
return v(), y(X, null, [
|
|
1853
|
-
(
|
|
1864
|
+
(q = t.checkedColumns) != null && q.includes(f == null ? void 0 : f.label) ? (v(), P(A5, {
|
|
1854
1865
|
key: 0,
|
|
1855
|
-
|
|
1866
|
+
tableData: o.value,
|
|
1867
|
+
column: f,
|
|
1856
1868
|
isEditViewport: t.isEditViewport,
|
|
1857
|
-
onClickEditCol:
|
|
1869
|
+
onClickEditCol: d,
|
|
1858
1870
|
onHandleColEditChange: u
|
|
1859
1871
|
}, {
|
|
1860
1872
|
operateHeader: S(() => [
|
|
1861
|
-
|
|
1873
|
+
R(p.$slots, "operateCol", {}, void 0, !0)
|
|
1862
1874
|
]),
|
|
1863
|
-
content: S(({ row: O, item:
|
|
1864
|
-
var
|
|
1875
|
+
content: S(({ row: O, item: Z, slotData: c2, scope: i2 }) => {
|
|
1876
|
+
var D2;
|
|
1865
1877
|
return [
|
|
1866
|
-
((
|
|
1878
|
+
((f == null ? void 0 : f.type) ?? "text") === "text" && ((O == null ? void 0 : O.tableEditType) ?? "text") === "text" ? (v(), y("span", {
|
|
1867
1879
|
key: 0,
|
|
1868
1880
|
class: "table-content",
|
|
1869
|
-
style:
|
|
1881
|
+
style: n2({ cursor: f != null && f.isMainKey ? "pointer" : "default", color: f != null && f.isMainKey ? "var(--vertical-menuitem-active-bg)" : "", textDecoration: f != null && f.isMainKey ? "underline" : "" }),
|
|
1870
1882
|
onClick: (o2) => {
|
|
1871
|
-
var
|
|
1872
|
-
return
|
|
1873
|
-
data:
|
|
1874
|
-
isMainKey:
|
|
1883
|
+
var x2;
|
|
1884
|
+
return f2(O != null && O[f == null ? void 0 : f.prop] ? O == null ? void 0 : O[f == null ? void 0 : f.prop] : (O == null ? void 0 : O[Z == null ? void 0 : Z.prop]) ?? (c2 == null ? void 0 : c2[Z == null ? void 0 : Z.prop]) ?? (O == null ? void 0 : O[(x2 = Z == null ? void 0 : Z.child) == null ? void 0 : x2.prop]), Z == null ? void 0 : Z.prop, O ?? c2, {
|
|
1885
|
+
data: G(O, f, Z, c2).value,
|
|
1886
|
+
isMainKey: f == null ? void 0 : f.isMainKey
|
|
1875
1887
|
});
|
|
1876
1888
|
}
|
|
1877
1889
|
}, [
|
|
1878
|
-
p.$slots.content ?
|
|
1890
|
+
p.$slots.content ? R(p.$slots, "content", {
|
|
1879
1891
|
key: 0,
|
|
1880
1892
|
row: O,
|
|
1881
|
-
column:
|
|
1882
|
-
item:
|
|
1893
|
+
column: f,
|
|
1894
|
+
item: Z,
|
|
1883
1895
|
slotData: c2
|
|
1884
1896
|
}, void 0, !0) : (v(), y(X, { key: 1 }, [
|
|
1885
|
-
|
|
1897
|
+
_2(s2(G(O, f, Z, c2)), 1)
|
|
1886
1898
|
], 64))
|
|
1887
1899
|
], 12, I5)) : U("", !0),
|
|
1888
|
-
((
|
|
1900
|
+
((f == null ? void 0 : f.type) ?? "text") === "operate" ? (v(), y("span", {
|
|
1889
1901
|
key: 1,
|
|
1890
1902
|
class: "table-operate",
|
|
1891
|
-
style:
|
|
1892
|
-
justifyContent: t.isShowEdit && t.isShowDelete ? "space-between" :
|
|
1903
|
+
style: n2({
|
|
1904
|
+
justifyContent: t.isShowEdit && t.isShowDelete ? "space-between" : f == null ? void 0 : f.align
|
|
1893
1905
|
})
|
|
1894
1906
|
}, [
|
|
1895
|
-
|
|
1907
|
+
R(p.$slots, "actions", { item: O }, void 0, !0),
|
|
1896
1908
|
t.isShowEdit ? (v(), y("span", {
|
|
1897
1909
|
key: 0,
|
|
1898
|
-
onClick: (o2) =>
|
|
1910
|
+
onClick: (o2) => p2(O),
|
|
1899
1911
|
class: "blue-table-operate table-operate-content"
|
|
1900
1912
|
}, "编辑", 8, N5)) : U("", !0),
|
|
1901
1913
|
t.isShowDelete ? (v(), y("span", {
|
|
1902
1914
|
key: 1,
|
|
1903
|
-
onClick: (o2) =>
|
|
1915
|
+
onClick: (o2) => m2(O),
|
|
1904
1916
|
class: "red-table-operate table-operate-content"
|
|
1905
1917
|
}, "删除", 8, W5)) : U("", !0)
|
|
1906
1918
|
], 4)) : U("", !0),
|
|
1907
|
-
((
|
|
1908
|
-
(v(),
|
|
1909
|
-
modelValue: O[
|
|
1910
|
-
"onUpdate:modelValue": (o2) => O[
|
|
1919
|
+
((f == null ? void 0 : f.type) ?? "text") === "edit" && ((O == null ? void 0 : O.tableEditType) ?? "text") !== "edit" || ((f == null ? void 0 : f.type) ?? "text") === "text" && ((O == null ? void 0 : O.tableEditType) ?? "text") === "edit" ? (v(), y("span", R5, [
|
|
1920
|
+
(v(), P(T2(a2(O != null && O[f == null ? void 0 : f.prop] && Array.isArray(O[f.prop]) && ((D2 = O[f.prop]) != null && D2.every((o2) => typeof o2 == "Object")) ? "Upload" : (f == null ? void 0 : f.columnType) === "" || !(f != null && f.columnType) ? "Input" : f == null ? void 0 : f.columnType)), {
|
|
1921
|
+
modelValue: O[f.prop],
|
|
1922
|
+
"onUpdate:modelValue": (o2) => O[f.prop] = o2,
|
|
1911
1923
|
style: { height: "100%" },
|
|
1912
|
-
content: (
|
|
1913
|
-
optionUrl:
|
|
1924
|
+
content: (f == null ? void 0 : f.contents) ?? [],
|
|
1925
|
+
optionUrl: f == null ? void 0 : f.optionUrl,
|
|
1914
1926
|
onFocus: (o2) => y0(i2),
|
|
1915
|
-
onChange: (o2) => z0(o2, O,
|
|
1927
|
+
onChange: (o2) => z0(o2, O, f)
|
|
1916
1928
|
}, null, 40, ["modelValue", "onUpdate:modelValue", "content", "optionUrl", "onFocus", "onChange"]))
|
|
1917
1929
|
])) : U("", !0)
|
|
1918
1930
|
];
|
|
1919
1931
|
}),
|
|
1920
1932
|
_: 2
|
|
1921
|
-
}, 1032, ["column", "isEditViewport"])) : U("", !0)
|
|
1933
|
+
}, 1032, ["tableData", "column", "isEditViewport"])) : U("", !0)
|
|
1922
1934
|
], 64);
|
|
1923
1935
|
}), 256))
|
|
1924
1936
|
];
|
|
1925
1937
|
}),
|
|
1926
1938
|
_: 3
|
|
1927
1939
|
}, 8, ["data", "show-summary", "sum-text"])),
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
buttons:
|
|
1940
|
+
A("div", Y5, [
|
|
1941
|
+
R(p.$slots, "batchButton", {
|
|
1942
|
+
buttons: B.value,
|
|
1931
1943
|
columns: c.value
|
|
1932
1944
|
}, void 0, !0),
|
|
1933
|
-
(e == null ? void 0 : e.isShowPagination) ?? !1 ? (v(),
|
|
1945
|
+
(e == null ? void 0 : e.isShowPagination) ?? !1 ? (v(), P(K, {
|
|
1934
1946
|
key: 0,
|
|
1935
|
-
onSizeChange:
|
|
1947
|
+
onSizeChange: h2,
|
|
1936
1948
|
onCurrentChange: l2,
|
|
1937
1949
|
"current-page": (e == null ? void 0 : e.currentPage) ?? 1,
|
|
1938
1950
|
"page-sizes": [5, 10, 20, 50, 100],
|
|
@@ -1942,19 +1954,19 @@ const $5 = {
|
|
|
1942
1954
|
}, null, 8, ["current-page", "page-size", "total"])) : U("", !0)
|
|
1943
1955
|
]),
|
|
1944
1956
|
W2(j(O5, {
|
|
1945
|
-
style:
|
|
1957
|
+
style: n2({ top: r.y + "px", left: r.x + "px", position: "fixed", zIndex: 999 })
|
|
1946
1958
|
}, {
|
|
1947
1959
|
content: S(() => [
|
|
1948
|
-
|
|
1960
|
+
A("div", F5, [
|
|
1949
1961
|
j(M2, {
|
|
1950
1962
|
emptyColor: !0,
|
|
1951
|
-
onClickTrigger:
|
|
1963
|
+
onClickTrigger: W,
|
|
1952
1964
|
modelValue: "弹出模型",
|
|
1953
1965
|
buttonType: ""
|
|
1954
1966
|
}),
|
|
1955
1967
|
j(M2, {
|
|
1956
1968
|
emptyColor: !0,
|
|
1957
|
-
onClickTrigger:
|
|
1969
|
+
onClickTrigger: k,
|
|
1958
1970
|
modelValue: "预览",
|
|
1959
1971
|
buttonType: ""
|
|
1960
1972
|
})
|
|
@@ -1962,12 +1974,12 @@ const $5 = {
|
|
|
1962
1974
|
]),
|
|
1963
1975
|
_: 1
|
|
1964
1976
|
}, 8, ["style"]), [
|
|
1965
|
-
[R2,
|
|
1977
|
+
[R2, a.value]
|
|
1966
1978
|
])
|
|
1967
1979
|
], 512);
|
|
1968
1980
|
};
|
|
1969
1981
|
}
|
|
1970
|
-
}, Z5 = /* @__PURE__ */ t2(q5, [["__scopeId", "data-v-
|
|
1982
|
+
}, Z5 = /* @__PURE__ */ t2(q5, [["__scopeId", "data-v-52437579"]]), K5 = {
|
|
1971
1983
|
__name: "index",
|
|
1972
1984
|
props: {
|
|
1973
1985
|
value: String,
|
|
@@ -1981,49 +1993,49 @@ const $5 = {
|
|
|
1981
1993
|
}
|
|
1982
1994
|
},
|
|
1983
1995
|
emits: ["dbChange"],
|
|
1984
|
-
setup(t, { emit:
|
|
1985
|
-
const e = t,
|
|
1996
|
+
setup(t, { emit: n }) {
|
|
1997
|
+
const e = t, a = C([]);
|
|
1986
1998
|
d2(
|
|
1987
1999
|
() => {
|
|
1988
2000
|
var c;
|
|
1989
2001
|
return (c = e == null ? void 0 : e.content) == null ? void 0 : c.tableData;
|
|
1990
2002
|
},
|
|
1991
2003
|
() => {
|
|
1992
|
-
var c, o,
|
|
1993
|
-
((o = (c = e == null ? void 0 : e.content) == null ? void 0 : c.tableData) == null ? void 0 : o.length) === 0 || !((
|
|
2004
|
+
var c, o, _, h;
|
|
2005
|
+
((o = (c = e == null ? void 0 : e.content) == null ? void 0 : c.tableData) == null ? void 0 : o.length) === 0 || !((_ = e == null ? void 0 : e.content) != null && _.tableData) || (a.value = g2((h = e == null ? void 0 : e.content) == null ? void 0 : h.tableData));
|
|
1994
2006
|
},
|
|
1995
2007
|
{ deep: !0, immediate: !0 }
|
|
1996
2008
|
);
|
|
1997
|
-
const s =
|
|
1998
|
-
var
|
|
1999
|
-
if (((
|
|
2000
|
-
let o =
|
|
2001
|
-
((b = o == null ? void 0 : o.filter((
|
|
2009
|
+
const s = n, r = (c) => {
|
|
2010
|
+
var i, w, b, g;
|
|
2011
|
+
if (((i = e == null ? void 0 : e.content) == null ? void 0 : i.dbType) !== "edit" || !a.value || ((w = a.value) == null ? void 0 : w.length) === 0) return;
|
|
2012
|
+
let o = a.value, _ = [];
|
|
2013
|
+
((b = o == null ? void 0 : o.filter((d) => (d == null ? void 0 : d.tableEditType) === "edit")) == null ? void 0 : b.length) !== (((g = e == null ? void 0 : e.content) == null ? void 0 : g.editNumber) ?? 1) && (o = o == null ? void 0 : o.map((d) => ((d == null ? void 0 : d.id) === (c == null ? void 0 : c.id) && (d.tableEditType = "edit", _.push(d)), d)), s("dbChange", {
|
|
2002
2014
|
content: o,
|
|
2003
|
-
item:
|
|
2015
|
+
item: _
|
|
2004
2016
|
}));
|
|
2005
2017
|
};
|
|
2006
2018
|
return (c, o) => {
|
|
2007
|
-
var
|
|
2019
|
+
var _, h, i, w, b, g, d;
|
|
2008
2020
|
return v(), y(X, null, [
|
|
2009
|
-
|
|
2010
|
-
(v(),
|
|
2021
|
+
R(c.$slots, `${(_ = e == null ? void 0 : e.content) == null ? void 0 : _.value}_tableHeader`),
|
|
2022
|
+
(v(), P(Z5, {
|
|
2011
2023
|
columns: ((h = e == null ? void 0 : e.content) == null ? void 0 : h.columns) ?? [],
|
|
2012
|
-
tableData:
|
|
2013
|
-
currentPage: (
|
|
2014
|
-
total: (
|
|
2024
|
+
tableData: a.value ?? [],
|
|
2025
|
+
currentPage: (i = e == null ? void 0 : e.content) == null ? void 0 : i.currentPage,
|
|
2026
|
+
total: (w = e == null ? void 0 : e.content) == null ? void 0 : w.total,
|
|
2015
2027
|
pageSize: (b = e == null ? void 0 : e.content) == null ? void 0 : b.pageSize,
|
|
2016
2028
|
isShowPagination: (g = e == null ? void 0 : e.content) == null ? void 0 : g.isShowPagination,
|
|
2017
2029
|
isShowEdit: !1,
|
|
2018
|
-
isMoveColumn: (
|
|
2030
|
+
isMoveColumn: (d = e == null ? void 0 : e.content) == null ? void 0 : d.isMoveColumn,
|
|
2019
2031
|
isShowDelete: !1,
|
|
2020
|
-
onDoClickRow:
|
|
2021
|
-
key:
|
|
2032
|
+
onDoClickRow: r,
|
|
2033
|
+
key: a.value ?? []
|
|
2022
2034
|
}, {
|
|
2023
2035
|
actions: S(({ item: u }) => {
|
|
2024
|
-
var
|
|
2036
|
+
var m;
|
|
2025
2037
|
return [
|
|
2026
|
-
|
|
2038
|
+
R(c.$slots, `${(m = e == null ? void 0 : e.content) == null ? void 0 : m.value}_action`, { item: u })
|
|
2027
2039
|
];
|
|
2028
2040
|
}),
|
|
2029
2041
|
_: 3
|
|
@@ -2032,29 +2044,29 @@ const $5 = {
|
|
|
2032
2044
|
};
|
|
2033
2045
|
}
|
|
2034
2046
|
}, e0 = async (t) => {
|
|
2035
|
-
var s,
|
|
2036
|
-
let
|
|
2047
|
+
var s, r, c, o, _, h, i, w;
|
|
2048
|
+
let n = [];
|
|
2037
2049
|
(s = t == null ? void 0 : t.menuSelect) == null || s.forEach((b) => {
|
|
2038
2050
|
});
|
|
2039
2051
|
let e = "";
|
|
2040
|
-
const
|
|
2041
|
-
if (
|
|
2042
|
-
var g,
|
|
2043
|
-
(b == null ? void 0 : b.name) === (((
|
|
2052
|
+
const a = await O0(t == null ? void 0 : t.menuSelect);
|
|
2053
|
+
if (a == null || a.forEach((b) => {
|
|
2054
|
+
var g, d;
|
|
2055
|
+
(b == null ? void 0 : b.name) === (((d = (g = t == null ? void 0 : t.groupSelect) == null ? void 0 : g[0]) == null ? void 0 : d.replaceAll("'", "")) ?? "") && (e = b == null ? void 0 : b.id);
|
|
2044
2056
|
}), e !== "") {
|
|
2045
|
-
const b = (o = (c = (
|
|
2057
|
+
const b = (o = (c = (r = a == null ? void 0 : a.find((u) => (u == null ? void 0 : u.id) === e)) == null ? void 0 : r.compData) == null ? void 0 : c.find((u) => (u == null ? void 0 : u.key) === "header")) == null ? void 0 : o.contents;
|
|
2046
2058
|
let g = b == null ? void 0 : b.findIndex((u) => {
|
|
2047
|
-
var
|
|
2048
|
-
return (u == null ? void 0 : u.label) === ((
|
|
2049
|
-
}),
|
|
2050
|
-
|
|
2051
|
-
|
|
2059
|
+
var m, V, B;
|
|
2060
|
+
return (u == null ? void 0 : u.label) === ((B = (V = (m = t == null ? void 0 : t.groupSelect) == null ? void 0 : m[1]) == null ? void 0 : V.replaceAll("[", "")) == null ? void 0 : B.replaceAll("]", ""));
|
|
2061
|
+
}), d = (w = (i = (h = (_ = a == null ? void 0 : a.find((u) => (u == null ? void 0 : u.id) === e)) == null ? void 0 : _.compData) == null ? void 0 : h.find((u) => (u == null ? void 0 : u.key) === "tableContents")) == null ? void 0 : i.contents) == null ? void 0 : w.map((u) => (u = u == null ? void 0 : u.filter((m) => !(m != null && m.id)), u));
|
|
2062
|
+
d == null || d.forEach((u) => {
|
|
2063
|
+
n.push({
|
|
2052
2064
|
label: u == null ? void 0 : u[g],
|
|
2053
2065
|
value: u == null ? void 0 : u[g]
|
|
2054
2066
|
});
|
|
2055
2067
|
});
|
|
2056
2068
|
}
|
|
2057
|
-
return
|
|
2069
|
+
return n;
|
|
2058
2070
|
}, Q5 = {
|
|
2059
2071
|
__name: "index",
|
|
2060
2072
|
props: {
|
|
@@ -2074,13 +2086,13 @@ const $5 = {
|
|
|
2074
2086
|
}
|
|
2075
2087
|
},
|
|
2076
2088
|
emits: ["blurChange", "click"],
|
|
2077
|
-
setup(t, { emit:
|
|
2078
|
-
const e = t,
|
|
2079
|
-
|
|
2080
|
-
|
|
2089
|
+
setup(t, { emit: n }) {
|
|
2090
|
+
const e = t, a = n, s = C(e.value), r = C();
|
|
2091
|
+
y2(() => {
|
|
2092
|
+
r.value = e == null ? void 0 : e.content;
|
|
2081
2093
|
});
|
|
2082
2094
|
const c = () => {
|
|
2083
|
-
|
|
2095
|
+
a("blurChange");
|
|
2084
2096
|
}, o = I(() => {
|
|
2085
2097
|
const h = e.optionUrl;
|
|
2086
2098
|
return !!(h != null && h.multiple);
|
|
@@ -2088,30 +2100,30 @@ const $5 = {
|
|
|
2088
2100
|
d2(
|
|
2089
2101
|
() => e.optionUrl,
|
|
2090
2102
|
async () => {
|
|
2091
|
-
var h,
|
|
2092
|
-
((
|
|
2103
|
+
var h, i, w, b;
|
|
2104
|
+
((i = (h = e.optionUrl) == null ? void 0 : h.menuSelect) == null ? void 0 : i.length) > 0 && (r.value = await e0(e.optionUrl), s.value = (b = (w = r.value) == null ? void 0 : w[0]) == null ? void 0 : b.value);
|
|
2093
2105
|
},
|
|
2094
2106
|
{ immediate: !0, deep: !0 }
|
|
2095
2107
|
);
|
|
2096
|
-
const
|
|
2097
|
-
var h,
|
|
2098
|
-
((
|
|
2108
|
+
const _ = async () => {
|
|
2109
|
+
var h, i, w, b;
|
|
2110
|
+
((i = (h = e.optionUrl) == null ? void 0 : h.menuSelect) == null ? void 0 : i.length) > 0 && (r.value = await e0(e.optionUrl), s.value = (b = (w = r.value) == null ? void 0 : w[0]) == null ? void 0 : b.value), a("click");
|
|
2099
2111
|
};
|
|
2100
|
-
return (h,
|
|
2101
|
-
const
|
|
2102
|
-
return v(),
|
|
2112
|
+
return (h, i) => {
|
|
2113
|
+
const w = E("el-option"), b = E("el-select");
|
|
2114
|
+
return v(), P(b, {
|
|
2103
2115
|
modelValue: s.value,
|
|
2104
|
-
"onUpdate:modelValue":
|
|
2116
|
+
"onUpdate:modelValue": i[0] || (i[0] = (g) => s.value = g),
|
|
2105
2117
|
filterable: "",
|
|
2106
2118
|
multiple: o.value,
|
|
2107
2119
|
clearable: "",
|
|
2108
2120
|
placeholder: "请选择下拉内容...",
|
|
2109
2121
|
style: { width: "100%" },
|
|
2110
2122
|
onChange: c,
|
|
2111
|
-
onClick:
|
|
2123
|
+
onClick: _
|
|
2112
2124
|
}, {
|
|
2113
2125
|
default: S(() => [
|
|
2114
|
-
(v(!0), y(X, null, e2(
|
|
2126
|
+
(v(!0), y(X, null, e2(r.value, (g) => (v(), P(w, {
|
|
2115
2127
|
key: g.value,
|
|
2116
2128
|
label: g.label,
|
|
2117
2129
|
value: g.value
|
|
@@ -2121,7 +2133,7 @@ const $5 = {
|
|
|
2121
2133
|
}, 8, ["modelValue", "multiple"]);
|
|
2122
2134
|
};
|
|
2123
2135
|
}
|
|
2124
|
-
}, J5 = /* @__PURE__ */
|
|
2136
|
+
}, J5 = /* @__PURE__ */ u2({
|
|
2125
2137
|
__name: "index",
|
|
2126
2138
|
props: {
|
|
2127
2139
|
value: String,
|
|
@@ -2136,19 +2148,19 @@ const $5 = {
|
|
|
2136
2148
|
}
|
|
2137
2149
|
},
|
|
2138
2150
|
emits: ["changeVisible"],
|
|
2139
|
-
setup(t, { emit:
|
|
2140
|
-
const e = t,
|
|
2151
|
+
setup(t, { emit: n }) {
|
|
2152
|
+
const e = t, a = C(e.value), s = n, r = C({
|
|
2141
2153
|
checkStrictly: !0
|
|
2142
2154
|
}), c = (o) => {
|
|
2143
2155
|
s("changeVisible", o);
|
|
2144
2156
|
};
|
|
2145
|
-
return (o,
|
|
2146
|
-
const h =
|
|
2147
|
-
return v(),
|
|
2148
|
-
modelValue:
|
|
2149
|
-
"onUpdate:modelValue":
|
|
2157
|
+
return (o, _) => {
|
|
2158
|
+
const h = E("el-cascader");
|
|
2159
|
+
return v(), P(h, {
|
|
2160
|
+
modelValue: a.value,
|
|
2161
|
+
"onUpdate:modelValue": _[0] || (_[0] = (i) => a.value = i),
|
|
2150
2162
|
clearable: "",
|
|
2151
|
-
props:
|
|
2163
|
+
props: r.value,
|
|
2152
2164
|
options: e == null ? void 0 : e.content,
|
|
2153
2165
|
style: { width: "100%" },
|
|
2154
2166
|
onVisibleChange: c
|
|
@@ -2169,10 +2181,10 @@ const $5 = {
|
|
|
2169
2181
|
}
|
|
2170
2182
|
},
|
|
2171
2183
|
setup(t) {
|
|
2172
|
-
const
|
|
2173
|
-
return (
|
|
2174
|
-
const
|
|
2175
|
-
return v(),
|
|
2184
|
+
const n = t, e = C(n.value);
|
|
2185
|
+
return (a, s) => {
|
|
2186
|
+
const r = E("el-option"), c = E("el-select");
|
|
2187
|
+
return v(), P(c, {
|
|
2176
2188
|
modelValue: e.value,
|
|
2177
2189
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => e.value = o),
|
|
2178
2190
|
filterable: "",
|
|
@@ -2182,7 +2194,7 @@ const $5 = {
|
|
|
2182
2194
|
style: { width: "100%" }
|
|
2183
2195
|
}, {
|
|
2184
2196
|
default: S(() => [
|
|
2185
|
-
(v(!0), y(X, null, e2(
|
|
2197
|
+
(v(!0), y(X, null, e2(n == null ? void 0 : n.content, (o) => (v(), P(r, {
|
|
2186
2198
|
key: o.value,
|
|
2187
2199
|
label: o.label,
|
|
2188
2200
|
value: o.value
|
|
@@ -2192,7 +2204,7 @@ const $5 = {
|
|
|
2192
2204
|
}, 8, ["modelValue"]);
|
|
2193
2205
|
};
|
|
2194
2206
|
}
|
|
2195
|
-
}, e7 = /* @__PURE__ */
|
|
2207
|
+
}, e7 = /* @__PURE__ */ u2({
|
|
2196
2208
|
__name: "menuItem",
|
|
2197
2209
|
props: {
|
|
2198
2210
|
menuList: {
|
|
@@ -2202,55 +2214,55 @@ const $5 = {
|
|
|
2202
2214
|
}
|
|
2203
2215
|
},
|
|
2204
2216
|
emits: ["clickMenu", "openMenu", "closeMenu"],
|
|
2205
|
-
setup(t, { emit:
|
|
2206
|
-
const e =
|
|
2217
|
+
setup(t, { emit: n }) {
|
|
2218
|
+
const e = n, a = (c) => {
|
|
2207
2219
|
e("clickMenu", c);
|
|
2208
2220
|
}, s = (c) => {
|
|
2209
2221
|
e("openMenu", c);
|
|
2210
|
-
},
|
|
2222
|
+
}, r = (c) => {
|
|
2211
2223
|
e("closeMenu", c);
|
|
2212
2224
|
};
|
|
2213
|
-
return
|
|
2225
|
+
return y2(() => {
|
|
2214
2226
|
}), (c, o) => {
|
|
2215
|
-
const
|
|
2216
|
-
return v(!0), y(X, null, e2(t.menuList, (
|
|
2217
|
-
|
|
2218
|
-
index:
|
|
2219
|
-
key:
|
|
2227
|
+
const _ = E("MenuItem", !0), h = E("el-sub-menu"), i = E("el-menu-item");
|
|
2228
|
+
return v(!0), y(X, null, e2(t.menuList, (w) => (v(), y(X, null, [
|
|
2229
|
+
w.show && w.children && w.children.length > 0 ? (v(), P(h, {
|
|
2230
|
+
index: w.path,
|
|
2231
|
+
key: w.path
|
|
2220
2232
|
}, {
|
|
2221
2233
|
title: S(() => [
|
|
2222
|
-
|
|
2234
|
+
R(c.$slots, "title", { menu: w })
|
|
2223
2235
|
]),
|
|
2224
2236
|
default: S(() => [
|
|
2225
|
-
j(
|
|
2226
|
-
menuList:
|
|
2227
|
-
onClickMenu:
|
|
2237
|
+
j(_, {
|
|
2238
|
+
menuList: w.children,
|
|
2239
|
+
onClickMenu: a,
|
|
2228
2240
|
onOpenMenu: s,
|
|
2229
|
-
onCloseMenu:
|
|
2230
|
-
},
|
|
2241
|
+
onCloseMenu: r
|
|
2242
|
+
}, b2({ _: 2 }, [
|
|
2231
2243
|
e2(c.$slots, (b, g) => ({
|
|
2232
2244
|
name: g,
|
|
2233
|
-
fn: S((
|
|
2234
|
-
|
|
2245
|
+
fn: S((d) => [
|
|
2246
|
+
R(c.$slots, g, P2({ ref_for: !0 }, d))
|
|
2235
2247
|
])
|
|
2236
2248
|
}))
|
|
2237
2249
|
]), 1032, ["menuList"])
|
|
2238
2250
|
]),
|
|
2239
2251
|
_: 2
|
|
2240
|
-
}, 1032, ["index"])) :
|
|
2241
|
-
index:
|
|
2242
|
-
key:
|
|
2243
|
-
onClick: (b) =>
|
|
2252
|
+
}, 1032, ["index"])) : w.show ? (v(), P(i, {
|
|
2253
|
+
index: w.path,
|
|
2254
|
+
key: w.path,
|
|
2255
|
+
onClick: (b) => a(w)
|
|
2244
2256
|
}, {
|
|
2245
2257
|
title: S(() => [
|
|
2246
|
-
|
|
2258
|
+
R(c.$slots, "title", { menu: w })
|
|
2247
2259
|
]),
|
|
2248
2260
|
_: 2
|
|
2249
2261
|
}, 1032, ["index", "onClick"])) : U("", !0)
|
|
2250
2262
|
], 64))), 256);
|
|
2251
2263
|
};
|
|
2252
2264
|
}
|
|
2253
|
-
}), t7 = /* @__PURE__ */
|
|
2265
|
+
}), t7 = /* @__PURE__ */ u2({
|
|
2254
2266
|
__name: "index",
|
|
2255
2267
|
props: {
|
|
2256
2268
|
menuList: {
|
|
@@ -2264,60 +2276,60 @@ const $5 = {
|
|
|
2264
2276
|
}
|
|
2265
2277
|
},
|
|
2266
2278
|
emits: ["clickMenu", "openMenu", "closeMenu"],
|
|
2267
|
-
setup(t, { emit:
|
|
2268
|
-
const e = L0(), { activeMenuPath:
|
|
2279
|
+
setup(t, { emit: n }) {
|
|
2280
|
+
const e = L0(), { activeMenuPath: a, activeMenuOpenPaths: s, activeTopMenuPath: r } = j0(e), c = t, o = n, _ = (g) => {
|
|
2269
2281
|
o("clickMenu", g);
|
|
2270
2282
|
}, h = (g) => {
|
|
2271
2283
|
o("openMenu", g);
|
|
2272
|
-
},
|
|
2284
|
+
}, i = (g) => {
|
|
2273
2285
|
o("closeMenu", g);
|
|
2274
|
-
},
|
|
2275
|
-
return (g,
|
|
2276
|
-
const u =
|
|
2277
|
-
return v(),
|
|
2286
|
+
}, w = I(() => (c == null ? void 0 : c.mode) === "vertical" ? a.value : r.value), b = I(() => s.value);
|
|
2287
|
+
return (g, d) => {
|
|
2288
|
+
const u = E("el-sub-menu"), m = E("el-menu-item"), V = E("el-menu");
|
|
2289
|
+
return v(), P(V, {
|
|
2278
2290
|
class: "menu-wrap",
|
|
2279
2291
|
mode: t.mode,
|
|
2280
|
-
"default-active":
|
|
2292
|
+
"default-active": w.value,
|
|
2281
2293
|
"default-openeds": b.value,
|
|
2282
2294
|
"unique-opened": !0,
|
|
2283
2295
|
"collapse-transition": !1,
|
|
2284
2296
|
"popper-offset": 12,
|
|
2285
2297
|
ellipsis: !0,
|
|
2286
2298
|
onOpen: h,
|
|
2287
|
-
onClose:
|
|
2299
|
+
onClose: i
|
|
2288
2300
|
}, {
|
|
2289
2301
|
default: S(() => [
|
|
2290
|
-
(v(!0), y(X, null, e2(t.menuList, (
|
|
2291
|
-
|
|
2292
|
-
index:
|
|
2293
|
-
key:
|
|
2294
|
-
style:
|
|
2302
|
+
(v(!0), y(X, null, e2(t.menuList, (B) => (v(), y(X, null, [
|
|
2303
|
+
B.show && B.children && B.children.length > 0 ? (v(), P(u, {
|
|
2304
|
+
index: B.path,
|
|
2305
|
+
key: B.path,
|
|
2306
|
+
style: n2(B.style)
|
|
2295
2307
|
}, {
|
|
2296
2308
|
title: S(() => [
|
|
2297
|
-
|
|
2309
|
+
R(g.$slots, "title", { menu: B }, void 0, !0)
|
|
2298
2310
|
]),
|
|
2299
2311
|
default: S(() => [
|
|
2300
2312
|
j(e7, {
|
|
2301
|
-
menuList:
|
|
2302
|
-
onClickMenu:
|
|
2303
|
-
},
|
|
2313
|
+
menuList: B.children,
|
|
2314
|
+
onClickMenu: _
|
|
2315
|
+
}, b2({ _: 2 }, [
|
|
2304
2316
|
e2(g.$slots, (T, N) => ({
|
|
2305
2317
|
name: N,
|
|
2306
2318
|
fn: S((D) => [
|
|
2307
|
-
|
|
2319
|
+
R(g.$slots, N, P2({ ref_for: !0 }, D), void 0, !0)
|
|
2308
2320
|
])
|
|
2309
2321
|
}))
|
|
2310
2322
|
]), 1032, ["menuList"])
|
|
2311
2323
|
]),
|
|
2312
2324
|
_: 2
|
|
2313
|
-
}, 1032, ["index", "style"])) :
|
|
2314
|
-
index:
|
|
2315
|
-
key:
|
|
2316
|
-
style:
|
|
2317
|
-
onClick: (T) =>
|
|
2325
|
+
}, 1032, ["index", "style"])) : B.show ? (v(), P(m, {
|
|
2326
|
+
index: B.path,
|
|
2327
|
+
key: B.path,
|
|
2328
|
+
style: n2(B.style),
|
|
2329
|
+
onClick: (T) => _(B)
|
|
2318
2330
|
}, {
|
|
2319
2331
|
title: S(() => [
|
|
2320
|
-
|
|
2332
|
+
R(g.$slots, "title", { menu: B }, void 0, !0)
|
|
2321
2333
|
]),
|
|
2322
2334
|
_: 2
|
|
2323
2335
|
}, 1032, ["index", "style", "onClick"])) : U("", !0)
|
|
@@ -2345,9 +2357,9 @@ const $5 = {
|
|
|
2345
2357
|
},
|
|
2346
2358
|
setup(t) {
|
|
2347
2359
|
const e = C(t.value);
|
|
2348
|
-
return (
|
|
2349
|
-
const
|
|
2350
|
-
return v(),
|
|
2360
|
+
return (a, s) => {
|
|
2361
|
+
const r = E("el-date-picker");
|
|
2362
|
+
return v(), P(r, {
|
|
2351
2363
|
modelValue: e.value,
|
|
2352
2364
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
2353
2365
|
type: "date",
|
|
@@ -2357,7 +2369,7 @@ const $5 = {
|
|
|
2357
2369
|
}, null, 8, ["modelValue"]);
|
|
2358
2370
|
};
|
|
2359
2371
|
}
|
|
2360
|
-
},
|
|
2372
|
+
}, a7 = {
|
|
2361
2373
|
__name: "index",
|
|
2362
2374
|
props: {
|
|
2363
2375
|
value: String,
|
|
@@ -2372,9 +2384,9 @@ const $5 = {
|
|
|
2372
2384
|
},
|
|
2373
2385
|
setup(t) {
|
|
2374
2386
|
const e = C(t.value);
|
|
2375
|
-
return (
|
|
2376
|
-
const
|
|
2377
|
-
return v(),
|
|
2387
|
+
return (a, s) => {
|
|
2388
|
+
const r = E("el-date-picker");
|
|
2389
|
+
return v(), P(r, {
|
|
2378
2390
|
modelValue: e.value,
|
|
2379
2391
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
2380
2392
|
type: "datetime",
|
|
@@ -2384,7 +2396,7 @@ const $5 = {
|
|
|
2384
2396
|
}, null, 8, ["modelValue"]);
|
|
2385
2397
|
};
|
|
2386
2398
|
}
|
|
2387
|
-
},
|
|
2399
|
+
}, n7 = {
|
|
2388
2400
|
__name: "index",
|
|
2389
2401
|
props: {
|
|
2390
2402
|
value: String,
|
|
@@ -2398,20 +2410,20 @@ const $5 = {
|
|
|
2398
2410
|
}
|
|
2399
2411
|
},
|
|
2400
2412
|
setup(t) {
|
|
2401
|
-
const
|
|
2402
|
-
return (
|
|
2403
|
-
const
|
|
2404
|
-
return v(),
|
|
2413
|
+
const n = t, e = C(n.value);
|
|
2414
|
+
return (a, s) => {
|
|
2415
|
+
const r = E("el-input");
|
|
2416
|
+
return v(), P(r, {
|
|
2405
2417
|
modelValue: e.value,
|
|
2406
2418
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
|
|
2407
2419
|
type: "textarea",
|
|
2408
2420
|
placeholder: "请输入内容...",
|
|
2409
|
-
disabled: !(
|
|
2421
|
+
disabled: !(n != null && n.isEdit),
|
|
2410
2422
|
autosize: ""
|
|
2411
2423
|
}, null, 8, ["modelValue", "disabled"]);
|
|
2412
2424
|
};
|
|
2413
2425
|
}
|
|
2414
|
-
}, o7 = /* @__PURE__ */ t2(
|
|
2426
|
+
}, o7 = /* @__PURE__ */ t2(n7, [["__scopeId", "data-v-0e84be38"]]), s7 = { class: "dialog-title" }, c7 = {
|
|
2415
2427
|
__name: "index",
|
|
2416
2428
|
props: {
|
|
2417
2429
|
title: {
|
|
@@ -2456,9 +2468,9 @@ const $5 = {
|
|
|
2456
2468
|
}
|
|
2457
2469
|
},
|
|
2458
2470
|
emits: ["beforeDestroy"],
|
|
2459
|
-
setup(t, { emit:
|
|
2460
|
-
const e = t,
|
|
2461
|
-
|
|
2471
|
+
setup(t, { emit: n }) {
|
|
2472
|
+
const e = t, a = n, s = C(!1), r = () => {
|
|
2473
|
+
a("beforeDestroy");
|
|
2462
2474
|
};
|
|
2463
2475
|
return d2(
|
|
2464
2476
|
() => e == null ? void 0 : e.visible,
|
|
@@ -2467,14 +2479,14 @@ const $5 = {
|
|
|
2467
2479
|
},
|
|
2468
2480
|
{ deep: !0, immediate: !0 }
|
|
2469
2481
|
), (c, o) => {
|
|
2470
|
-
const
|
|
2471
|
-
return v(),
|
|
2482
|
+
const _ = E("el-dialog");
|
|
2483
|
+
return v(), P(_, {
|
|
2472
2484
|
modelValue: s.value,
|
|
2473
2485
|
"onUpdate:modelValue": o[0] || (o[0] = (h) => s.value = h),
|
|
2474
2486
|
width: e == null ? void 0 : e.dialogWidth,
|
|
2475
|
-
"before-close":
|
|
2487
|
+
"before-close": r,
|
|
2476
2488
|
draggable: "",
|
|
2477
|
-
style:
|
|
2489
|
+
style: n2({ height: e == null ? void 0 : e.dialogHeight }),
|
|
2478
2490
|
fullscreen: e == null ? void 0 : e.fullScreen,
|
|
2479
2491
|
"destroy-on-close": !0,
|
|
2480
2492
|
"show-close": e == null ? void 0 : e.showClose,
|
|
@@ -2484,14 +2496,14 @@ const $5 = {
|
|
|
2484
2496
|
"align-center": e == null ? void 0 : e.alignCenter
|
|
2485
2497
|
}, {
|
|
2486
2498
|
default: S(() => [
|
|
2487
|
-
|
|
2499
|
+
R(c.$slots, "default", {}, void 0, !0)
|
|
2488
2500
|
]),
|
|
2489
2501
|
header: S(() => [
|
|
2490
|
-
|
|
2491
|
-
|
|
2502
|
+
A("div", s7, s2(e == null ? void 0 : e.title), 1),
|
|
2503
|
+
R(c.$slots, "header", {}, void 0, !0)
|
|
2492
2504
|
]),
|
|
2493
2505
|
footer: S(() => [
|
|
2494
|
-
|
|
2506
|
+
R(c.$slots, "footer", {}, void 0, !0)
|
|
2495
2507
|
]),
|
|
2496
2508
|
_: 3
|
|
2497
2509
|
}, 8, ["modelValue", "width", "style", "fullscreen", "show-close", "close-on-click-modal", "modal-class", "close-on-press-escape", "align-center"]);
|
|
@@ -2499,13 +2511,13 @@ const $5 = {
|
|
|
2499
2511
|
}
|
|
2500
2512
|
}, $2 = /* @__PURE__ */ t2(c7, [["__scopeId", "data-v-97b1d936"]]);
|
|
2501
2513
|
function i7(t) {
|
|
2502
|
-
const
|
|
2514
|
+
const n = sessionStorage.getItem("loginToken") ?? "123456";
|
|
2503
2515
|
return H2({
|
|
2504
2516
|
url: "/api/sysFile/uploadFile",
|
|
2505
2517
|
method: "post",
|
|
2506
2518
|
data: t,
|
|
2507
2519
|
headers: {
|
|
2508
|
-
Authorization:
|
|
2520
|
+
Authorization: n,
|
|
2509
2521
|
"Content-Type": "multipart/form-data"
|
|
2510
2522
|
}
|
|
2511
2523
|
});
|
|
@@ -2517,15 +2529,15 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2517
2529
|
blobUrl: String
|
|
2518
2530
|
},
|
|
2519
2531
|
setup(t) {
|
|
2520
|
-
const
|
|
2532
|
+
const n = t, e = I(() => n.blobUrl), a = C("");
|
|
2521
2533
|
return C2(async () => {
|
|
2522
2534
|
e.value;
|
|
2523
|
-
const
|
|
2535
|
+
const r = await (await fetch(e.value)).blob(), c = new FileReader();
|
|
2524
2536
|
c.onload = function(o) {
|
|
2525
|
-
|
|
2526
|
-
}, c.readAsText(
|
|
2527
|
-
}), (s,
|
|
2528
|
-
|
|
2537
|
+
a.value = o.target.result;
|
|
2538
|
+
}, c.readAsText(r);
|
|
2539
|
+
}), (s, r) => (v(), y("div", r7, [
|
|
2540
|
+
A("pre", d7, s2(a.value), 1)
|
|
2529
2541
|
]));
|
|
2530
2542
|
}
|
|
2531
2543
|
}, h7 = /* @__PURE__ */ t2(v7, [["__scopeId", "data-v-b5b2bdf8"]]), g7 = { class: "docx-renderer" }, u7 = {
|
|
@@ -2535,11 +2547,11 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2535
2547
|
blobUrl: String
|
|
2536
2548
|
},
|
|
2537
2549
|
setup(t) {
|
|
2538
|
-
const
|
|
2550
|
+
const n = t, e = I(() => n.blobUrl), a = C(null);
|
|
2539
2551
|
return C2(async () => {
|
|
2540
2552
|
e.value;
|
|
2541
|
-
const
|
|
2542
|
-
await E0(
|
|
2553
|
+
const r = await (await fetch(e.value)).blob();
|
|
2554
|
+
await E0(r, a.value, null, {
|
|
2543
2555
|
ignoreHeight: !1,
|
|
2544
2556
|
ignoreWidth: !1,
|
|
2545
2557
|
ignoreFonts: !1,
|
|
@@ -2560,10 +2572,10 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2560
2572
|
renderComments: !1,
|
|
2561
2573
|
renderAltChunks: !0
|
|
2562
2574
|
});
|
|
2563
|
-
}), (s,
|
|
2564
|
-
|
|
2575
|
+
}), (s, r) => (v(), y("div", g7, [
|
|
2576
|
+
A("div", {
|
|
2565
2577
|
ref_key: "docxPreview",
|
|
2566
|
-
ref:
|
|
2578
|
+
ref: a,
|
|
2567
2579
|
class: "render-docx-wrappper"
|
|
2568
2580
|
}, null, 512)
|
|
2569
2581
|
]));
|
|
@@ -2575,17 +2587,17 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2575
2587
|
blobUrl: String
|
|
2576
2588
|
},
|
|
2577
2589
|
setup(t) {
|
|
2578
|
-
const
|
|
2590
|
+
const n = t, e = I(() => n.blobUrl), a = C(null);
|
|
2579
2591
|
return C2(async () => {
|
|
2580
2592
|
e.value;
|
|
2581
|
-
const
|
|
2582
|
-
|
|
2593
|
+
const r = await (await fetch(e.value)).blob();
|
|
2594
|
+
a.value = B0.init(document.getElementById("excel")), a.value.preview(r).then(() => {
|
|
2583
2595
|
console.log("预览完成");
|
|
2584
2596
|
}).catch((c) => {
|
|
2585
2597
|
console.log("预览失败", c);
|
|
2586
2598
|
});
|
|
2587
|
-
}), (s,
|
|
2588
|
-
|
|
2599
|
+
}), (s, r) => (v(), y("div", w7, r[0] || (r[0] = [
|
|
2600
|
+
A("div", { id: "excel" }, null, -1)
|
|
2589
2601
|
])));
|
|
2590
2602
|
}
|
|
2591
2603
|
}, m7 = /* @__PURE__ */ t2(_7, [["__scopeId", "data-v-08dbfb73"]]), f7 = { class: "pdf-renderer" }, x7 = ["src"], b7 = {
|
|
@@ -2595,16 +2607,16 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2595
2607
|
blobUrl: String
|
|
2596
2608
|
},
|
|
2597
2609
|
setup(t) {
|
|
2598
|
-
const
|
|
2610
|
+
const n = t, e = I(() => n.blobUrl), a = C("");
|
|
2599
2611
|
return C2(async () => {
|
|
2600
2612
|
e.value;
|
|
2601
|
-
const
|
|
2602
|
-
|
|
2613
|
+
const r = await (await fetch(e.value)).blob(), c = new Blob([r], { type: "application/pdf" }), o = URL.createObjectURL(c);
|
|
2614
|
+
a.value = o;
|
|
2603
2615
|
}), G2(() => {
|
|
2604
|
-
|
|
2605
|
-
}), (s,
|
|
2606
|
-
|
|
2607
|
-
src:
|
|
2616
|
+
a.value && URL.revokeObjectURL(a.value);
|
|
2617
|
+
}), (s, r) => (v(), y("div", f7, [
|
|
2618
|
+
A("iframe", {
|
|
2619
|
+
src: a.value,
|
|
2608
2620
|
class: "pdf-iframe"
|
|
2609
2621
|
}, null, 8, x7)
|
|
2610
2622
|
]));
|
|
@@ -2616,9 +2628,9 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2616
2628
|
blobUrl: String
|
|
2617
2629
|
},
|
|
2618
2630
|
setup(t) {
|
|
2619
|
-
const
|
|
2620
|
-
return (s,
|
|
2621
|
-
const c =
|
|
2631
|
+
const n = t, e = I(() => n.blobUrl), a = I(() => [n.blobUrl]);
|
|
2632
|
+
return (s, r) => {
|
|
2633
|
+
const c = E("el-image");
|
|
2622
2634
|
return v(), y("div", D7, [
|
|
2623
2635
|
j(c, {
|
|
2624
2636
|
class: "render-img",
|
|
@@ -2626,7 +2638,7 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2626
2638
|
"zoom-rate": 1.2,
|
|
2627
2639
|
"max-scale": 7,
|
|
2628
2640
|
"min-scale": 0.2,
|
|
2629
|
-
"preview-src-list":
|
|
2641
|
+
"preview-src-list": a.value,
|
|
2630
2642
|
fit: "contain"
|
|
2631
2643
|
}, null, 8, ["src", "preview-src-list"])
|
|
2632
2644
|
]);
|
|
@@ -2639,20 +2651,20 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2639
2651
|
blobUrl: String
|
|
2640
2652
|
},
|
|
2641
2653
|
setup(t) {
|
|
2642
|
-
const
|
|
2654
|
+
const n = t, e = I(() => n.blobUrl), a = C(null);
|
|
2643
2655
|
return C2(async () => {
|
|
2644
2656
|
const s = e.value, c = await (await fetch(s)).arrayBuffer();
|
|
2645
|
-
|
|
2646
|
-
const o =
|
|
2647
|
-
G0(
|
|
2648
|
-
width:
|
|
2657
|
+
z2(() => {
|
|
2658
|
+
const o = a.value, _ = o.clientWidth, h = o.clientHeight;
|
|
2659
|
+
G0(a.value, {
|
|
2660
|
+
width: _,
|
|
2649
2661
|
height: h
|
|
2650
2662
|
}).preview(c);
|
|
2651
2663
|
});
|
|
2652
|
-
}), (s,
|
|
2653
|
-
|
|
2664
|
+
}), (s, r) => (v(), y("div", C7, [
|
|
2665
|
+
A("div", {
|
|
2654
2666
|
ref_key: "pptxPreview",
|
|
2655
|
-
ref:
|
|
2667
|
+
ref: a,
|
|
2656
2668
|
class: "render-pptx-wrappper"
|
|
2657
2669
|
}, null, 512)
|
|
2658
2670
|
]));
|
|
@@ -2660,7 +2672,7 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2660
2672
|
}, T7 = /* @__PURE__ */ t2(V7, [["__scopeId", "data-v-89978017"]]), M7 = {
|
|
2661
2673
|
key: 2,
|
|
2662
2674
|
class: "loading"
|
|
2663
|
-
}, P7 = /* @__PURE__ */
|
|
2675
|
+
}, P7 = /* @__PURE__ */ u2({
|
|
2664
2676
|
__name: "threeViewerHost",
|
|
2665
2677
|
props: {
|
|
2666
2678
|
fileUrls: { default: () => [] },
|
|
@@ -2672,99 +2684,99 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2672
2684
|
autoSize: { type: Boolean, default: void 0 }
|
|
2673
2685
|
},
|
|
2674
2686
|
emits: ["getAnimationData"],
|
|
2675
|
-
setup(t, { emit:
|
|
2676
|
-
const e = Y2(() => import("./threeSceneView-
|
|
2677
|
-
function
|
|
2687
|
+
setup(t, { emit: n }) {
|
|
2688
|
+
const e = Y2(() => import("./threeSceneView-Y9yIg7LL.js")), a = Y2(() => import("./threePreview-D8ZzO-I8.js")), s = t, r = C([]), c = C(null), o = C(!1);
|
|
2689
|
+
function _(g) {
|
|
2678
2690
|
try {
|
|
2679
|
-
const
|
|
2691
|
+
const d = new URL(g).pathname, u = d.substring(d.lastIndexOf("/") + 1);
|
|
2680
2692
|
return decodeURIComponent(u);
|
|
2681
|
-
} catch (
|
|
2682
|
-
return console.error("无法解析URL以提取文件名:", g,
|
|
2693
|
+
} catch (d) {
|
|
2694
|
+
return console.error("无法解析URL以提取文件名:", g, d), "未知文件名";
|
|
2683
2695
|
}
|
|
2684
2696
|
}
|
|
2685
2697
|
async function h(g) {
|
|
2686
|
-
let
|
|
2698
|
+
let d, u;
|
|
2687
2699
|
if (/^https?:\/\//.test(g))
|
|
2688
2700
|
try {
|
|
2689
|
-
const
|
|
2690
|
-
if (!
|
|
2691
|
-
throw new Error(`下载文件失败: ${
|
|
2692
|
-
|
|
2693
|
-
} catch (
|
|
2694
|
-
throw console.error("使用 fetch 下载文件时出错:",
|
|
2701
|
+
const m = await fetch(g);
|
|
2702
|
+
if (!m.ok)
|
|
2703
|
+
throw new Error(`下载文件失败: ${m.statusText} (URL: ${g})`);
|
|
2704
|
+
d = await m.blob(), u = _(g);
|
|
2705
|
+
} catch (m) {
|
|
2706
|
+
throw console.error("使用 fetch 下载文件时出错:", m), m;
|
|
2695
2707
|
}
|
|
2696
2708
|
else
|
|
2697
2709
|
try {
|
|
2698
|
-
const
|
|
2699
|
-
if (
|
|
2700
|
-
throw new Error(`下载失败: ${
|
|
2701
|
-
const V =
|
|
2702
|
-
u =
|
|
2703
|
-
} catch (
|
|
2704
|
-
throw console.error("通过 API 下载文件时出错:",
|
|
2710
|
+
const m = await d0({ url: g });
|
|
2711
|
+
if (m.status !== 200)
|
|
2712
|
+
throw new Error(`下载失败: ${m.status}`);
|
|
2713
|
+
const V = m.headers["content-disposition"];
|
|
2714
|
+
u = i(V) || "无文件名", d = m.data;
|
|
2715
|
+
} catch (m) {
|
|
2716
|
+
throw console.error("通过 API 下载文件时出错:", m), m;
|
|
2705
2717
|
}
|
|
2706
|
-
return new File([
|
|
2718
|
+
return new File([d], u, { type: d.type });
|
|
2707
2719
|
}
|
|
2708
|
-
function
|
|
2720
|
+
function i(g) {
|
|
2709
2721
|
if (!g) return;
|
|
2710
|
-
const
|
|
2711
|
-
if (
|
|
2712
|
-
let
|
|
2713
|
-
|
|
2714
|
-
const V =
|
|
2722
|
+
const d = g.match(/filename\*\s*=\s*([^;]+)/i);
|
|
2723
|
+
if (d) {
|
|
2724
|
+
let m = d[1].trim();
|
|
2725
|
+
m = m.replace(/^"(.*)"$/, "$1");
|
|
2726
|
+
const V = m.split("''");
|
|
2715
2727
|
if (V.length === 2) {
|
|
2716
|
-
const
|
|
2728
|
+
const B = V[0].toUpperCase(), T = V[1];
|
|
2717
2729
|
try {
|
|
2718
|
-
if (
|
|
2730
|
+
if (B === "UTF-8")
|
|
2719
2731
|
return decodeURIComponent(T);
|
|
2720
2732
|
} catch {
|
|
2721
2733
|
}
|
|
2722
2734
|
return T;
|
|
2723
2735
|
}
|
|
2724
2736
|
try {
|
|
2725
|
-
return decodeURIComponent(
|
|
2737
|
+
return decodeURIComponent(m);
|
|
2726
2738
|
} catch {
|
|
2727
|
-
return
|
|
2739
|
+
return m;
|
|
2728
2740
|
}
|
|
2729
2741
|
}
|
|
2730
2742
|
const u = g.match(/filename\s*=\s*("?)([^";]+)\1/i);
|
|
2731
2743
|
if (u)
|
|
2732
2744
|
return u[2].trim();
|
|
2733
2745
|
}
|
|
2734
|
-
async function
|
|
2746
|
+
async function w(g) {
|
|
2735
2747
|
if (!g || !g.length) {
|
|
2736
|
-
|
|
2748
|
+
r.value = [];
|
|
2737
2749
|
return;
|
|
2738
2750
|
}
|
|
2739
2751
|
o.value = !0;
|
|
2740
2752
|
try {
|
|
2741
|
-
const
|
|
2742
|
-
|
|
2743
|
-
} catch (
|
|
2744
|
-
console.error("文件下载时发生错误:",
|
|
2753
|
+
const d = await Promise.all(g.map((u) => h(u)));
|
|
2754
|
+
r.value = d;
|
|
2755
|
+
} catch (d) {
|
|
2756
|
+
console.error("文件下载时发生错误:", d), r.value = [];
|
|
2745
2757
|
} finally {
|
|
2746
2758
|
o.value = !1;
|
|
2747
2759
|
}
|
|
2748
2760
|
}
|
|
2749
2761
|
async function b(g) {
|
|
2750
|
-
const
|
|
2751
|
-
if (!
|
|
2752
|
-
throw new Error(`下载失败: ${
|
|
2753
|
-
const u = await
|
|
2762
|
+
const d = await fetch(g);
|
|
2763
|
+
if (!d.ok)
|
|
2764
|
+
throw new Error(`下载失败: ${d.statusText}`);
|
|
2765
|
+
const u = await d.blob();
|
|
2754
2766
|
return URL.createObjectURL(u);
|
|
2755
2767
|
}
|
|
2756
2768
|
return C2(async () => {
|
|
2757
|
-
s.isThreeScene ? (o.value = !0, c.value = await b(s.fileUrls[0]), o.value = !1) :
|
|
2758
|
-
}), (g,
|
|
2769
|
+
s.isThreeScene ? (o.value = !0, c.value = await b(s.fileUrls[0]), o.value = !1) : w(s.fileUrls);
|
|
2770
|
+
}), (g, d) => (v(), y("div", {
|
|
2759
2771
|
class: o0(s.host === "electron" ? "mv-electron" : "mv-inline")
|
|
2760
2772
|
}, [
|
|
2761
|
-
!o.value && s.isThreeScene ? (v(),
|
|
2773
|
+
!o.value && s.isThreeScene ? (v(), P(S2(e), {
|
|
2762
2774
|
key: 0,
|
|
2763
2775
|
"urdf-url": c.value,
|
|
2764
2776
|
"animation-data": g.animationData
|
|
2765
|
-
}, null, 8, ["urdf-url", "animation-data"])) : !o.value &&
|
|
2777
|
+
}, null, 8, ["urdf-url", "animation-data"])) : !o.value && r.value.length > 0 ? (v(), P(S2(a), {
|
|
2766
2778
|
key: 1,
|
|
2767
|
-
"file-blobs":
|
|
2779
|
+
"file-blobs": r.value,
|
|
2768
2780
|
"animation-data": g.animationData
|
|
2769
2781
|
}, null, 8, ["file-blobs", "animation-data"])) : o.value ? (v(), y("div", M7, " 文件下载中,请稍候... ")) : U("", !0)
|
|
2770
2782
|
], 2));
|
|
@@ -2804,75 +2816,75 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2804
2816
|
fullScreen: Boolean
|
|
2805
2817
|
},
|
|
2806
2818
|
emits: ["destroy"],
|
|
2807
|
-
setup(t, { emit:
|
|
2808
|
-
const e =
|
|
2809
|
-
const T =
|
|
2819
|
+
setup(t, { emit: n }) {
|
|
2820
|
+
const e = n, a = t, s = I(() => a.blobUrl), r = I(() => a.fileName), c = I(() => [a == null ? void 0 : a.blobUrl]), o = I(() => {
|
|
2821
|
+
const T = r.value;
|
|
2810
2822
|
if (!T) return;
|
|
2811
2823
|
const N = T.lastIndexOf(".");
|
|
2812
2824
|
let D = T == null ? void 0 : T.slice(N + 1);
|
|
2813
2825
|
return D = D == null ? void 0 : D.toLowerCase(), D;
|
|
2814
|
-
}),
|
|
2826
|
+
}), _ = I(() => (o == null ? void 0 : o.value) === "txt"), h = I(() => a.blobUrl.toUpperCase().includes(".OBJ") || a.blobUrl.toUpperCase().includes(".STL") || a.blobUrl.toUpperCase().includes(".MTL")), i = I(() => (o == null ? void 0 : o.value) === "ls"), w = I(() => a.blobUrl.toUpperCase().includes(".URDF")), b = I(() => w.value), g = I(() => (o == null ? void 0 : o.value) === "docx"), d = I(() => (o == null ? void 0 : o.value) === "xlsx"), u = I(() => (o == null ? void 0 : o.value) === "pdf"), m = I(() => {
|
|
2815
2827
|
const T = o == null ? void 0 : o.value;
|
|
2816
2828
|
return T === "jpg" || T === "png";
|
|
2817
|
-
}), V = I(() => (o == null ? void 0 : o.value) === "pptx"),
|
|
2829
|
+
}), V = I(() => (o == null ? void 0 : o.value) === "pptx"), B = I(() => !_ && !i && !b && !g && !d && !u && !m && !V);
|
|
2818
2830
|
return G2(() => {
|
|
2819
2831
|
e("destroy");
|
|
2820
2832
|
}), (T, N) => (v(), y("div", k7, [
|
|
2821
2833
|
g.value ? (v(), y("div", O7, [
|
|
2822
2834
|
j(p7, {
|
|
2823
|
-
fileName:
|
|
2835
|
+
fileName: r.value,
|
|
2824
2836
|
blobUrl: s.value
|
|
2825
2837
|
}, null, 8, ["fileName", "blobUrl"])
|
|
2826
2838
|
])) : U("", !0),
|
|
2827
2839
|
h.value ? (v(), y("div", E7, [
|
|
2828
|
-
(v(),
|
|
2840
|
+
(v(), P(t0, {
|
|
2829
2841
|
"file-urls": c.value,
|
|
2830
2842
|
isThreeScene: !1,
|
|
2831
|
-
key:
|
|
2843
|
+
key: a == null ? void 0 : a.fullScreen
|
|
2832
2844
|
}, null, 8, ["file-urls"]))
|
|
2833
2845
|
])) : U("", !0),
|
|
2834
|
-
|
|
2835
|
-
(v(),
|
|
2846
|
+
w.value ? (v(), y("div", B7, [
|
|
2847
|
+
(v(), P(t0, {
|
|
2836
2848
|
"file-urls": c.value,
|
|
2837
2849
|
isThreeScene: !0,
|
|
2838
|
-
key:
|
|
2850
|
+
key: a == null ? void 0 : a.fullScreen
|
|
2839
2851
|
}, null, 8, ["file-urls"]))
|
|
2840
2852
|
])) : U("", !0),
|
|
2841
|
-
|
|
2853
|
+
d.value ? (v(), y("div", G7, [
|
|
2842
2854
|
j(m7, {
|
|
2843
|
-
fileName:
|
|
2855
|
+
fileName: r.value,
|
|
2844
2856
|
blobUrl: s.value
|
|
2845
2857
|
}, null, 8, ["fileName", "blobUrl"])
|
|
2846
2858
|
])) : U("", !0),
|
|
2847
2859
|
u.value ? (v(), y("div", H7, [
|
|
2848
2860
|
j(y7, {
|
|
2849
|
-
fileName:
|
|
2861
|
+
fileName: r.value,
|
|
2850
2862
|
blobUrl: s.value
|
|
2851
2863
|
}, null, 8, ["fileName", "blobUrl"])
|
|
2852
2864
|
])) : U("", !0),
|
|
2853
|
-
|
|
2865
|
+
m.value ? (v(), y("div", L7, [
|
|
2854
2866
|
j(S7, {
|
|
2855
|
-
fileName:
|
|
2867
|
+
fileName: r.value,
|
|
2856
2868
|
blobUrl: s.value
|
|
2857
2869
|
}, null, 8, ["fileName", "blobUrl"])
|
|
2858
2870
|
])) : U("", !0),
|
|
2859
2871
|
V.value ? (v(), y("div", j7, [
|
|
2860
2872
|
j(T7, {
|
|
2861
|
-
fileName:
|
|
2873
|
+
fileName: r.value,
|
|
2862
2874
|
blobUrl: s.value
|
|
2863
2875
|
}, null, 8, ["fileName", "blobUrl"])
|
|
2864
|
-
])) : !g.value && !
|
|
2876
|
+
])) : !g.value && !d.value && !u.value && !w.value && !m.value && !V.value && !h.value ? (v(), y("div", U7, [
|
|
2865
2877
|
j(h7, {
|
|
2866
|
-
fileName:
|
|
2878
|
+
fileName: r.value,
|
|
2867
2879
|
blobUrl: s.value
|
|
2868
2880
|
}, null, 8, ["fileName", "blobUrl"])
|
|
2869
2881
|
])) : U("", !0),
|
|
2870
|
-
|
|
2871
|
-
|
|
2882
|
+
B.value ? (v(), y("div", A7, N[0] || (N[0] = [
|
|
2883
|
+
A("div", null, "当前文件格式暂不支持预览", -1)
|
|
2872
2884
|
]))) : U("", !0)
|
|
2873
2885
|
]));
|
|
2874
2886
|
}
|
|
2875
|
-
}, h0 = /* @__PURE__ */ t2($7, [["__scopeId", "data-v-76128cc7"]]), I7 = { class: "file-preview-container" }, N7 = { class: "container-right" }, W7 = /* @__PURE__ */
|
|
2887
|
+
}, h0 = /* @__PURE__ */ t2($7, [["__scopeId", "data-v-76128cc7"]]), I7 = { class: "file-preview-container" }, N7 = { class: "container-right" }, W7 = /* @__PURE__ */ u2({
|
|
2876
2888
|
__name: "index",
|
|
2877
2889
|
props: {
|
|
2878
2890
|
fileDataList: {},
|
|
@@ -2880,39 +2892,39 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2880
2892
|
fullScreen: { type: Boolean }
|
|
2881
2893
|
},
|
|
2882
2894
|
emits: ["destroy"],
|
|
2883
|
-
setup(t, { emit:
|
|
2884
|
-
const e =
|
|
2895
|
+
setup(t, { emit: n }) {
|
|
2896
|
+
const e = n, a = t, s = C();
|
|
2885
2897
|
d2(
|
|
2886
|
-
() =>
|
|
2898
|
+
() => a.fileDataList,
|
|
2887
2899
|
() => {
|
|
2888
|
-
s.value =
|
|
2900
|
+
s.value = a.fileDataList;
|
|
2889
2901
|
},
|
|
2890
2902
|
{ deep: !0, immediate: !0 }
|
|
2891
2903
|
);
|
|
2892
|
-
const
|
|
2893
|
-
const h = s == null ? void 0 : s.value,
|
|
2894
|
-
return h == null ? void 0 : h[
|
|
2904
|
+
const r = C(a.index || 0), c = I(() => {
|
|
2905
|
+
const h = s == null ? void 0 : s.value, i = r.value;
|
|
2906
|
+
return h == null ? void 0 : h[i];
|
|
2895
2907
|
}), o = I(() => {
|
|
2896
2908
|
const h = c == null ? void 0 : c.value;
|
|
2897
2909
|
return h == null ? void 0 : h.name;
|
|
2898
|
-
}),
|
|
2910
|
+
}), _ = I(() => {
|
|
2899
2911
|
const h = c == null ? void 0 : c.value;
|
|
2900
2912
|
return h == null ? void 0 : h.blobUrl;
|
|
2901
2913
|
});
|
|
2902
2914
|
return G2(() => {
|
|
2903
2915
|
e("destroy");
|
|
2904
|
-
}), (h,
|
|
2905
|
-
|
|
2916
|
+
}), (h, i) => (v(), y("div", I7, [
|
|
2917
|
+
A("div", N7, [
|
|
2906
2918
|
j(h0, {
|
|
2907
2919
|
class: "right-item",
|
|
2908
2920
|
fileName: o.value,
|
|
2909
|
-
blobUrl:
|
|
2910
|
-
fullScreen:
|
|
2921
|
+
blobUrl: _.value,
|
|
2922
|
+
fullScreen: a == null ? void 0 : a.fullScreen
|
|
2911
2923
|
}, null, 8, ["fileName", "blobUrl", "fullScreen"])
|
|
2912
2924
|
])
|
|
2913
2925
|
]));
|
|
2914
2926
|
}
|
|
2915
|
-
}), g0 = /* @__PURE__ */ t2(W7, [["__scopeId", "data-v-ef2837bd"]]), R7 = { class: "file-preview-dialog-header" }, Y7 = ["title"], F7 = { class: "header-right" }, q7 = { class: "file-preview-dialog-body" }, Z7 = /* @__PURE__ */
|
|
2927
|
+
}), g0 = /* @__PURE__ */ t2(W7, [["__scopeId", "data-v-ef2837bd"]]), R7 = { class: "file-preview-dialog-header" }, Y7 = ["title"], F7 = { class: "header-right" }, q7 = { class: "file-preview-dialog-body" }, Z7 = /* @__PURE__ */ u2({
|
|
2916
2928
|
__name: "index",
|
|
2917
2929
|
props: {
|
|
2918
2930
|
fileDataList: {},
|
|
@@ -2921,29 +2933,29 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2921
2933
|
isRevokeBlob: { type: Boolean, default: !0 }
|
|
2922
2934
|
},
|
|
2923
2935
|
emits: ["destroy"],
|
|
2924
|
-
setup(t, { emit:
|
|
2925
|
-
const e =
|
|
2936
|
+
setup(t, { emit: n }) {
|
|
2937
|
+
const e = n, a = t, s = C(!0), r = I(() => a.fileDataList), c = I(() => a.index), o = I(() => a.isRevokeBlob), _ = I(() => {
|
|
2926
2938
|
var u;
|
|
2927
|
-
const g =
|
|
2939
|
+
const g = r.value;
|
|
2928
2940
|
return (u = g == null ? void 0 : g[0]) == null ? void 0 : u.name;
|
|
2929
|
-
}), h = C(!1),
|
|
2941
|
+
}), h = C(!1), i = () => {
|
|
2930
2942
|
const g = h.value;
|
|
2931
2943
|
h.value = !g;
|
|
2932
|
-
},
|
|
2944
|
+
}, w = () => {
|
|
2933
2945
|
b(), s.value = !1;
|
|
2934
2946
|
}, b = () => {
|
|
2935
2947
|
e("destroy");
|
|
2936
2948
|
};
|
|
2937
2949
|
return G2(() => {
|
|
2938
2950
|
e("destroy");
|
|
2939
|
-
const g =
|
|
2951
|
+
const g = r.value;
|
|
2940
2952
|
o.value && (g == null || g.forEach((u) => {
|
|
2941
|
-
const { blobUrl:
|
|
2942
|
-
URL.revokeObjectURL(
|
|
2953
|
+
const { blobUrl: m } = u;
|
|
2954
|
+
URL.revokeObjectURL(m);
|
|
2943
2955
|
}));
|
|
2944
|
-
}), (g,
|
|
2945
|
-
const u =
|
|
2946
|
-
return v(),
|
|
2956
|
+
}), (g, d) => {
|
|
2957
|
+
const u = E("el-icon");
|
|
2958
|
+
return v(), P($2, {
|
|
2947
2959
|
class: "file-preview-dialog",
|
|
2948
2960
|
visible: s.value,
|
|
2949
2961
|
onBeforeDestroy: b,
|
|
@@ -2951,21 +2963,21 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2951
2963
|
fullScreen: h.value
|
|
2952
2964
|
}, {
|
|
2953
2965
|
header: S(() => [
|
|
2954
|
-
|
|
2955
|
-
|
|
2966
|
+
A("div", R7, [
|
|
2967
|
+
A("div", {
|
|
2956
2968
|
class: "header-left",
|
|
2957
|
-
title:
|
|
2958
|
-
}, s2(
|
|
2959
|
-
|
|
2969
|
+
title: _.value
|
|
2970
|
+
}, s2(_.value), 9, Y7),
|
|
2971
|
+
A("div", F7, [
|
|
2960
2972
|
j(u, null, {
|
|
2961
2973
|
default: S(() => [
|
|
2962
|
-
j(
|
|
2974
|
+
j(S2($0), { onClick: i })
|
|
2963
2975
|
]),
|
|
2964
2976
|
_: 1
|
|
2965
2977
|
}),
|
|
2966
2978
|
j(u, null, {
|
|
2967
2979
|
default: S(() => [
|
|
2968
|
-
j(
|
|
2980
|
+
j(S2(I0), { onClick: w })
|
|
2969
2981
|
]),
|
|
2970
2982
|
_: 1
|
|
2971
2983
|
})
|
|
@@ -2973,14 +2985,14 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2973
2985
|
])
|
|
2974
2986
|
]),
|
|
2975
2987
|
default: S(() => {
|
|
2976
|
-
var
|
|
2988
|
+
var m;
|
|
2977
2989
|
return [
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
(v(),
|
|
2990
|
+
A("div", q7, [
|
|
2991
|
+
d[0] || (d[0] = A("div", { class: "file-preview-header" }, null, -1)),
|
|
2992
|
+
(v(), P(g0, {
|
|
2981
2993
|
class: "file-preview-content",
|
|
2982
|
-
fileDataList:
|
|
2983
|
-
key: (
|
|
2994
|
+
fileDataList: r.value,
|
|
2995
|
+
key: (m = r.value) == null ? void 0 : m.length,
|
|
2984
2996
|
index: c.value,
|
|
2985
2997
|
fullScreen: h.value
|
|
2986
2998
|
}, null, 8, ["fileDataList", "index", "fullScreen"]))
|
|
@@ -2994,7 +3006,7 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
2994
3006
|
}), u0 = /* @__PURE__ */ t2(Z7, [["__scopeId", "data-v-634396fe"]]), K7 = {
|
|
2995
3007
|
key: 0,
|
|
2996
3008
|
class: "upload-value"
|
|
2997
|
-
}, Q7 = { class: "upload-content-title-wrap" }, J7 = { class: "icon" }, X7 = { style: { display: "flex", "justify-content": "space-between", width: "100%" } }, e9 = { class: "upload-content-title" }, t9 = { class: "icon" }, l9 = { class: "dialog-footer" },
|
|
3009
|
+
}, Q7 = { class: "upload-content-title-wrap" }, J7 = { class: "icon" }, X7 = { style: { display: "flex", "justify-content": "space-between", width: "100%" } }, e9 = { class: "upload-content-title" }, t9 = { class: "icon" }, l9 = { class: "dialog-footer" }, a9 = {
|
|
2998
3010
|
__name: "index",
|
|
2999
3011
|
props: {
|
|
3000
3012
|
modelValue: String,
|
|
@@ -3008,125 +3020,125 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
3008
3020
|
}
|
|
3009
3021
|
},
|
|
3010
3022
|
emits: ["update:modelValue"],
|
|
3011
|
-
setup(t, { emit:
|
|
3012
|
-
const e = t,
|
|
3013
|
-
|
|
3023
|
+
setup(t, { emit: n }) {
|
|
3024
|
+
const e = t, a = n, s = C(Array.isArray(e.modelValue) ? e.modelValue : []), r = C(!1), c = C([]), o = C(Array.isArray(e.modelValue) ? e.modelValue : []), _ = C(!1), h = C(""), i = C(""), w = C(Array.isArray(e.modelValue) ? e.modelValue : []), b = () => {
|
|
3025
|
+
_.value = !0, w.value = s.value, o.value = s.value;
|
|
3014
3026
|
}, g = async (D) => {
|
|
3015
|
-
var
|
|
3016
|
-
const
|
|
3017
|
-
url: (
|
|
3027
|
+
var G;
|
|
3028
|
+
const x = await d0({
|
|
3029
|
+
url: (G = g2(D)) == null ? void 0 : G.url
|
|
3018
3030
|
});
|
|
3019
3031
|
if (!D.url.toUpperCase().includes(".OBJ") && !D.url.toUpperCase().includes(".STL") && !D.url.toUpperCase().includes(".MTL") && !D.url.toUpperCase().includes(".URDF")) {
|
|
3020
|
-
let
|
|
3021
|
-
|
|
3032
|
+
let $ = URL.createObjectURL(x.data);
|
|
3033
|
+
i.value = $;
|
|
3022
3034
|
} else
|
|
3023
|
-
|
|
3024
|
-
},
|
|
3025
|
-
var
|
|
3035
|
+
i.value = D == null ? void 0 : D.url;
|
|
3036
|
+
}, d = async (D) => {
|
|
3037
|
+
var G, $, k, W;
|
|
3026
3038
|
if (D == null ? void 0 : D.url)
|
|
3027
|
-
h.value = (D == null ? void 0 : D.name) + "." + ((
|
|
3039
|
+
h.value = (D == null ? void 0 : D.name) + "." + ((W = (G = g2(D)) == null ? void 0 : G.url.split(".")) == null ? void 0 : W[((k = ($ = g2(D)) == null ? void 0 : $.url.split(".")) == null ? void 0 : k.length) - 1]), await g(D);
|
|
3028
3040
|
else {
|
|
3029
3041
|
h.value = D == null ? void 0 : D.name;
|
|
3030
|
-
const
|
|
3031
|
-
|
|
3042
|
+
const l = D.raw;
|
|
3043
|
+
i.value = URL.createObjectURL(l);
|
|
3032
3044
|
}
|
|
3033
3045
|
c.value = [{
|
|
3034
3046
|
name: h.value,
|
|
3035
|
-
blobUrl:
|
|
3036
|
-
}],
|
|
3047
|
+
blobUrl: i.value
|
|
3048
|
+
}], r.value = !0;
|
|
3037
3049
|
}, u = () => {
|
|
3038
|
-
|
|
3039
|
-
},
|
|
3040
|
-
var
|
|
3041
|
-
|
|
3050
|
+
r.value = !1;
|
|
3051
|
+
}, m = (D) => {
|
|
3052
|
+
var x;
|
|
3053
|
+
w.value = (x = g2(w.value)) == null ? void 0 : x.filter((G, $) => $ !== D), o.value = w.value;
|
|
3042
3054
|
}, V = (D) => {
|
|
3043
|
-
var
|
|
3044
|
-
const
|
|
3045
|
-
let
|
|
3046
|
-
const
|
|
3047
|
-
for (;
|
|
3048
|
-
|
|
3049
|
-
return new Blob([
|
|
3050
|
-
},
|
|
3051
|
-
var
|
|
3052
|
-
|
|
3053
|
-
const D = (
|
|
3054
|
-
if (
|
|
3055
|
-
const
|
|
3056
|
-
return
|
|
3055
|
+
var l;
|
|
3056
|
+
const x = D.split(","), G = (l = x == null ? void 0 : x[0]) == null ? void 0 : l.match(/:(.*?);/)[1], $ = atob(x[1]);
|
|
3057
|
+
let k = $.length;
|
|
3058
|
+
const W = new Uint8Array(k);
|
|
3059
|
+
for (; k--; )
|
|
3060
|
+
W[k] = $.charCodeAt(k);
|
|
3061
|
+
return new Blob([W], { type: G });
|
|
3062
|
+
}, B = async () => {
|
|
3063
|
+
var $;
|
|
3064
|
+
_.value = !1;
|
|
3065
|
+
const D = ($ = o.value) == null ? void 0 : $.map(async (k) => {
|
|
3066
|
+
if (k != null && k.base64) {
|
|
3067
|
+
const W = new FormData(), l = V(k == null ? void 0 : k.base64);
|
|
3068
|
+
return W.append("file", l, k == null ? void 0 : k.name), await i7(W);
|
|
3057
3069
|
} else
|
|
3058
|
-
return
|
|
3059
|
-
}),
|
|
3060
|
-
let
|
|
3061
|
-
|
|
3062
|
-
var
|
|
3063
|
-
return
|
|
3064
|
-
name: ((
|
|
3065
|
-
url: ((l2 = (
|
|
3066
|
-
}), (
|
|
3067
|
-
}), i0.success("上传成功"), s.value =
|
|
3070
|
+
return k;
|
|
3071
|
+
}), x = await Promise.all(D);
|
|
3072
|
+
let G = [];
|
|
3073
|
+
x == null || x.map((k) => {
|
|
3074
|
+
var W, l, a2, l2, v2, h2;
|
|
3075
|
+
return G.push({
|
|
3076
|
+
name: ((l = (W = k == null ? void 0 : k.data) == null ? void 0 : W.result) == null ? void 0 : l.fileName) ?? (k == null ? void 0 : k.name),
|
|
3077
|
+
url: ((l2 = (a2 = k == null ? void 0 : k.data) == null ? void 0 : a2.result) == null ? void 0 : l2.url) ?? (k == null ? void 0 : k.url)
|
|
3078
|
+
}), (h2 = (v2 = k == null ? void 0 : k.data) == null ? void 0 : v2.result) == null ? void 0 : h2.url;
|
|
3079
|
+
}), i0.success("上传成功"), s.value = G, a("update:modelValue", G), o.value = [];
|
|
3068
3080
|
}, T = () => {
|
|
3069
|
-
|
|
3081
|
+
_.value = !1, o.value = s.value, w.value = s.value;
|
|
3070
3082
|
}, N = (D) => {
|
|
3071
3083
|
if (!D) return;
|
|
3072
|
-
const
|
|
3073
|
-
|
|
3074
|
-
const
|
|
3075
|
-
|
|
3084
|
+
const x = new FileReader();
|
|
3085
|
+
x.onload = (G) => {
|
|
3086
|
+
const $ = o.value === "" ? [] : o.value;
|
|
3087
|
+
$.push({
|
|
3076
3088
|
name: D.name,
|
|
3077
3089
|
size: D.size,
|
|
3078
3090
|
type: D.type,
|
|
3079
|
-
base64:
|
|
3080
|
-
}), o.value =
|
|
3081
|
-
},
|
|
3082
|
-
console.error("文件读取错误:",
|
|
3091
|
+
base64: G.target.result
|
|
3092
|
+
}), o.value = $;
|
|
3093
|
+
}, x.onerror = (G) => {
|
|
3094
|
+
console.error("文件读取错误:", G), fileData.value = {
|
|
3083
3095
|
name: "",
|
|
3084
3096
|
size: 0,
|
|
3085
3097
|
type: "",
|
|
3086
3098
|
base64: ""
|
|
3087
3099
|
};
|
|
3088
|
-
},
|
|
3100
|
+
}, x.readAsDataURL(D.raw);
|
|
3089
3101
|
};
|
|
3090
|
-
return (D,
|
|
3091
|
-
const
|
|
3102
|
+
return (D, x) => {
|
|
3103
|
+
const G = E("el-button"), $ = E("svg-icon"), k = E("el-icon"), W = E("el-upload");
|
|
3092
3104
|
return e != null && e.isEdit ? (v(), y("div", K7, [
|
|
3093
|
-
j(
|
|
3105
|
+
j(G, {
|
|
3094
3106
|
type: "primary",
|
|
3095
3107
|
onClick: b,
|
|
3096
3108
|
class: "upload-button"
|
|
3097
3109
|
}, {
|
|
3098
|
-
default: S(() =>
|
|
3099
|
-
|
|
3110
|
+
default: S(() => x[1] || (x[1] = [
|
|
3111
|
+
_2(" 上传 ")
|
|
3100
3112
|
])),
|
|
3101
3113
|
_: 1,
|
|
3102
3114
|
__: [1]
|
|
3103
3115
|
}),
|
|
3104
|
-
|
|
3105
|
-
(v(!0), y(X, null, e2(s.value, (
|
|
3116
|
+
A("div", Q7, [
|
|
3117
|
+
(v(!0), y(X, null, e2(s.value, (l) => (v(), y("div", {
|
|
3106
3118
|
class: "upload-content-title",
|
|
3107
|
-
key:
|
|
3119
|
+
key: l,
|
|
3108
3120
|
style: { display: "flex", "justify-content": "space-between", width: "100%" }
|
|
3109
3121
|
}, [
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
j(
|
|
3122
|
+
A("div", null, s2(l == null ? void 0 : l.name), 1),
|
|
3123
|
+
A("div", J7, [
|
|
3124
|
+
j($, {
|
|
3113
3125
|
class: "icon-blue",
|
|
3114
3126
|
name: "EyeFill",
|
|
3115
3127
|
style: { width: "20px", height: "20px", cursor: "pointer" },
|
|
3116
|
-
onClick: (
|
|
3128
|
+
onClick: (a2) => d(l)
|
|
3117
3129
|
}, null, 8, ["onClick"])
|
|
3118
3130
|
])
|
|
3119
3131
|
]))), 128))
|
|
3120
3132
|
]),
|
|
3121
3133
|
j($2, {
|
|
3122
|
-
visible:
|
|
3134
|
+
visible: _.value,
|
|
3123
3135
|
onBeforeDestroy: T,
|
|
3124
3136
|
title: "上传文件"
|
|
3125
3137
|
}, {
|
|
3126
3138
|
default: S(() => [
|
|
3127
|
-
j(
|
|
3128
|
-
"file-list":
|
|
3129
|
-
"onUpdate:fileList":
|
|
3139
|
+
j(W, {
|
|
3140
|
+
"file-list": w.value,
|
|
3141
|
+
"onUpdate:fileList": x[0] || (x[0] = (l) => w.value = l),
|
|
3130
3142
|
multiple: "",
|
|
3131
3143
|
drag: "",
|
|
3132
3144
|
action: "",
|
|
@@ -3135,36 +3147,36 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
3135
3147
|
"on-change": N,
|
|
3136
3148
|
class: "upload-content"
|
|
3137
3149
|
}, {
|
|
3138
|
-
tip: S(() =>
|
|
3139
|
-
|
|
3150
|
+
tip: S(() => x[2] || (x[2] = [
|
|
3151
|
+
A("div", { class: "el-upload__tip tip-content" }, " 请上传大小不超过10MB的文件 ", -1)
|
|
3140
3152
|
])),
|
|
3141
3153
|
default: S(() => [
|
|
3142
|
-
j(
|
|
3154
|
+
j(k, { class: "el-icon--upload" }, {
|
|
3143
3155
|
default: S(() => [
|
|
3144
|
-
j(
|
|
3156
|
+
j(S2(N0))
|
|
3145
3157
|
]),
|
|
3146
3158
|
_: 1
|
|
3147
3159
|
}),
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3160
|
+
x[3] || (x[3] = A("div", { class: "el-upload__text" }, [
|
|
3161
|
+
_2(" 将文件拖到此处或"),
|
|
3162
|
+
A("em", null, "点击上传")
|
|
3151
3163
|
], -1))
|
|
3152
3164
|
]),
|
|
3153
|
-
file: S(({ file:
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
j(
|
|
3165
|
+
file: S(({ file: l, index: a2 }) => [
|
|
3166
|
+
A("div", X7, [
|
|
3167
|
+
A("div", e9, s2(l == null ? void 0 : l.name), 1),
|
|
3168
|
+
A("div", t9, [
|
|
3169
|
+
j($, {
|
|
3158
3170
|
class: "icon-blue",
|
|
3159
3171
|
name: "EyeFill",
|
|
3160
3172
|
style: { width: "20px", height: "20px", cursor: "pointer" },
|
|
3161
|
-
onClick: (l2) =>
|
|
3173
|
+
onClick: (l2) => d(l)
|
|
3162
3174
|
}, null, 8, ["onClick"]),
|
|
3163
|
-
j(
|
|
3175
|
+
j($, {
|
|
3164
3176
|
class: "icon-blue",
|
|
3165
3177
|
name: "Cancel",
|
|
3166
3178
|
style: { width: "20px", height: "20px", cursor: "pointer" },
|
|
3167
|
-
onClick: (l2) =>
|
|
3179
|
+
onClick: (l2) => m(a2)
|
|
3168
3180
|
}, null, 8, ["onClick"])
|
|
3169
3181
|
])
|
|
3170
3182
|
])
|
|
@@ -3173,24 +3185,24 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
3173
3185
|
}, 8, ["file-list"])
|
|
3174
3186
|
]),
|
|
3175
3187
|
footer: S(() => [
|
|
3176
|
-
|
|
3177
|
-
j(
|
|
3188
|
+
A("div", l9, [
|
|
3189
|
+
j(G, {
|
|
3178
3190
|
onClick: T,
|
|
3179
3191
|
id: "themeBorderButton"
|
|
3180
3192
|
}, {
|
|
3181
|
-
default: S(() =>
|
|
3182
|
-
|
|
3193
|
+
default: S(() => x[4] || (x[4] = [
|
|
3194
|
+
_2("取消")
|
|
3183
3195
|
])),
|
|
3184
3196
|
_: 1,
|
|
3185
3197
|
__: [4]
|
|
3186
3198
|
}),
|
|
3187
|
-
j(
|
|
3199
|
+
j(G, {
|
|
3188
3200
|
type: "primary",
|
|
3189
|
-
onClick:
|
|
3201
|
+
onClick: B,
|
|
3190
3202
|
id: "themeButton"
|
|
3191
3203
|
}, {
|
|
3192
|
-
default: S(() =>
|
|
3193
|
-
|
|
3204
|
+
default: S(() => x[5] || (x[5] = [
|
|
3205
|
+
_2("确认")
|
|
3194
3206
|
])),
|
|
3195
3207
|
_: 1,
|
|
3196
3208
|
__: [5]
|
|
@@ -3199,7 +3211,7 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
3199
3211
|
]),
|
|
3200
3212
|
_: 1
|
|
3201
3213
|
}, 8, ["visible"]),
|
|
3202
|
-
|
|
3214
|
+
r.value ? (v(), P(u0, {
|
|
3203
3215
|
key: 0,
|
|
3204
3216
|
fileDataList: c.value,
|
|
3205
3217
|
onDestroy: u
|
|
@@ -3207,111 +3219,111 @@ const r7 = { class: "txt-renderer" }, d7 = { class: "txt-wrapper" }, v7 = {
|
|
|
3207
3219
|
])) : U("", !0);
|
|
3208
3220
|
};
|
|
3209
3221
|
}
|
|
3210
|
-
},
|
|
3222
|
+
}, n9 = /* @__PURE__ */ t2(a9, [["__scopeId", "data-v-395907c9"]]);
|
|
3211
3223
|
/*!
|
|
3212
3224
|
* Signature Pad v3.0.0-beta.4 | https://github.com/szimek/signature_pad
|
|
3213
3225
|
* (c) 2020 Szymon Nowak | Released under the MIT license
|
|
3214
3226
|
*/
|
|
3215
3227
|
class E2 {
|
|
3216
|
-
constructor(
|
|
3217
|
-
this.x =
|
|
3228
|
+
constructor(n, e, a) {
|
|
3229
|
+
this.x = n, this.y = e, this.time = a || Date.now();
|
|
3218
3230
|
}
|
|
3219
|
-
distanceTo(
|
|
3220
|
-
return Math.sqrt(Math.pow(this.x -
|
|
3231
|
+
distanceTo(n) {
|
|
3232
|
+
return Math.sqrt(Math.pow(this.x - n.x, 2) + Math.pow(this.y - n.y, 2));
|
|
3221
3233
|
}
|
|
3222
|
-
equals(
|
|
3223
|
-
return this.x ===
|
|
3234
|
+
equals(n) {
|
|
3235
|
+
return this.x === n.x && this.y === n.y && this.time === n.time;
|
|
3224
3236
|
}
|
|
3225
|
-
velocityFrom(
|
|
3226
|
-
return this.time !==
|
|
3237
|
+
velocityFrom(n) {
|
|
3238
|
+
return this.time !== n.time ? this.distanceTo(n) / (this.time - n.time) : 0;
|
|
3227
3239
|
}
|
|
3228
3240
|
}
|
|
3229
3241
|
class I2 {
|
|
3230
|
-
constructor(
|
|
3231
|
-
this.startPoint =
|
|
3242
|
+
constructor(n, e, a, s, r, c) {
|
|
3243
|
+
this.startPoint = n, this.control2 = e, this.control1 = a, this.endPoint = s, this.startWidth = r, this.endWidth = c;
|
|
3232
3244
|
}
|
|
3233
|
-
static fromPoints(
|
|
3234
|
-
const
|
|
3235
|
-
return new I2(
|
|
3245
|
+
static fromPoints(n, e) {
|
|
3246
|
+
const a = this.calculateControlPoints(n[0], n[1], n[2]).c2, s = this.calculateControlPoints(n[1], n[2], n[3]).c1;
|
|
3247
|
+
return new I2(n[1], a, s, n[2], e.start, e.end);
|
|
3236
3248
|
}
|
|
3237
|
-
static calculateControlPoints(
|
|
3238
|
-
const s =
|
|
3249
|
+
static calculateControlPoints(n, e, a) {
|
|
3250
|
+
const s = n.x - e.x, r = n.y - e.y, c = e.x - a.x, o = e.y - a.y, _ = { x: (n.x + e.x) / 2, y: (n.y + e.y) / 2 }, h = { x: (e.x + a.x) / 2, y: (e.y + a.y) / 2 }, i = Math.sqrt(s * s + r * r), w = Math.sqrt(c * c + o * o), b = _.x - h.x, g = _.y - h.y, d = w / (i + w), u = { x: h.x + b * d, y: h.y + g * d }, m = e.x - u.x, V = e.y - u.y;
|
|
3239
3251
|
return {
|
|
3240
|
-
c1: new E2(
|
|
3241
|
-
c2: new E2(h.x +
|
|
3252
|
+
c1: new E2(_.x + m, _.y + V),
|
|
3253
|
+
c2: new E2(h.x + m, h.y + V)
|
|
3242
3254
|
};
|
|
3243
3255
|
}
|
|
3244
3256
|
length() {
|
|
3245
|
-
let e = 0,
|
|
3246
|
-
for (let
|
|
3247
|
-
const c =
|
|
3248
|
-
if (
|
|
3249
|
-
const h = o -
|
|
3250
|
-
e += Math.sqrt(h * h +
|
|
3257
|
+
let e = 0, a, s;
|
|
3258
|
+
for (let r = 0; r <= 10; r += 1) {
|
|
3259
|
+
const c = r / 10, o = this.point(c, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x), _ = this.point(c, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);
|
|
3260
|
+
if (r > 0) {
|
|
3261
|
+
const h = o - a, i = _ - s;
|
|
3262
|
+
e += Math.sqrt(h * h + i * i);
|
|
3251
3263
|
}
|
|
3252
|
-
|
|
3264
|
+
a = o, s = _;
|
|
3253
3265
|
}
|
|
3254
3266
|
return e;
|
|
3255
3267
|
}
|
|
3256
|
-
point(
|
|
3257
|
-
return e * (1 -
|
|
3268
|
+
point(n, e, a, s, r) {
|
|
3269
|
+
return e * (1 - n) * (1 - n) * (1 - n) + 3 * a * (1 - n) * (1 - n) * n + 3 * s * (1 - n) * n * n + r * n * n * n;
|
|
3258
3270
|
}
|
|
3259
3271
|
}
|
|
3260
|
-
function o9(t,
|
|
3261
|
-
let e = 0,
|
|
3272
|
+
function o9(t, n = 250) {
|
|
3273
|
+
let e = 0, a = null, s, r, c;
|
|
3262
3274
|
const o = () => {
|
|
3263
|
-
e = Date.now(),
|
|
3275
|
+
e = Date.now(), a = null, s = t.apply(r, c), a || (r = null, c = []);
|
|
3264
3276
|
};
|
|
3265
3277
|
return function(...h) {
|
|
3266
|
-
const
|
|
3267
|
-
return
|
|
3278
|
+
const i = Date.now(), w = n - (i - e);
|
|
3279
|
+
return r = this, c = h, w <= 0 || w > n ? (a && (clearTimeout(a), a = null), e = i, s = t.apply(r, c), a || (r = null, c = [])) : a || (a = window.setTimeout(o, w)), s;
|
|
3268
3280
|
};
|
|
3269
3281
|
}
|
|
3270
3282
|
class B2 {
|
|
3271
|
-
constructor(
|
|
3272
|
-
this.canvas =
|
|
3273
|
-
|
|
3274
|
-
}, this._handleMouseMove = (
|
|
3275
|
-
this._mouseButtonDown && this._strokeMoveUpdate(
|
|
3276
|
-
}, this._handleMouseUp = (
|
|
3277
|
-
|
|
3278
|
-
}, this._handleTouchStart = (
|
|
3279
|
-
if (
|
|
3280
|
-
const s =
|
|
3283
|
+
constructor(n, e = {}) {
|
|
3284
|
+
this.canvas = n, this.options = e, this._handleMouseDown = (a) => {
|
|
3285
|
+
a.which === 1 && (this._mouseButtonDown = !0, this._strokeBegin(a));
|
|
3286
|
+
}, this._handleMouseMove = (a) => {
|
|
3287
|
+
this._mouseButtonDown && this._strokeMoveUpdate(a);
|
|
3288
|
+
}, this._handleMouseUp = (a) => {
|
|
3289
|
+
a.which === 1 && this._mouseButtonDown && (this._mouseButtonDown = !1, this._strokeEnd(a));
|
|
3290
|
+
}, this._handleTouchStart = (a) => {
|
|
3291
|
+
if (a.preventDefault(), a.targetTouches.length === 1) {
|
|
3292
|
+
const s = a.changedTouches[0];
|
|
3281
3293
|
this._strokeBegin(s);
|
|
3282
3294
|
}
|
|
3283
|
-
}, this._handleTouchMove = (
|
|
3284
|
-
|
|
3285
|
-
const s =
|
|
3295
|
+
}, this._handleTouchMove = (a) => {
|
|
3296
|
+
a.preventDefault();
|
|
3297
|
+
const s = a.targetTouches[0];
|
|
3286
3298
|
this._strokeMoveUpdate(s);
|
|
3287
|
-
}, this._handleTouchEnd = (
|
|
3288
|
-
if (
|
|
3289
|
-
|
|
3290
|
-
const
|
|
3291
|
-
this._strokeEnd(
|
|
3299
|
+
}, this._handleTouchEnd = (a) => {
|
|
3300
|
+
if (a.target === this.canvas) {
|
|
3301
|
+
a.preventDefault();
|
|
3302
|
+
const r = a.changedTouches[0];
|
|
3303
|
+
this._strokeEnd(r);
|
|
3292
3304
|
}
|
|
3293
3305
|
}, this.velocityFilterWeight = e.velocityFilterWeight || 0.7, this.minWidth = e.minWidth || 0.5, this.maxWidth = e.maxWidth || 2.5, this.throttle = "throttle" in e ? e.throttle : 16, this.minDistance = "minDistance" in e ? e.minDistance : 5, this.dotSize = e.dotSize || function() {
|
|
3294
3306
|
return (this.minWidth + this.maxWidth) / 2;
|
|
3295
|
-
}, this.penColor = e.penColor || "black", this.backgroundColor = e.backgroundColor || "rgba(0,0,0,0)", this.onBegin = e.onBegin, this.onEnd = e.onEnd, this._strokeMoveUpdate = this.throttle ? o9(B2.prototype._strokeUpdate, this.throttle) : B2.prototype._strokeUpdate, this._ctx =
|
|
3307
|
+
}, this.penColor = e.penColor || "black", this.backgroundColor = e.backgroundColor || "rgba(0,0,0,0)", this.onBegin = e.onBegin, this.onEnd = e.onEnd, this._strokeMoveUpdate = this.throttle ? o9(B2.prototype._strokeUpdate, this.throttle) : B2.prototype._strokeUpdate, this._ctx = n.getContext("2d"), this.clear(), this.on();
|
|
3296
3308
|
}
|
|
3297
3309
|
clear() {
|
|
3298
|
-
const { _ctx:
|
|
3299
|
-
|
|
3310
|
+
const { _ctx: n, canvas: e } = this;
|
|
3311
|
+
n.fillStyle = this.backgroundColor, n.clearRect(0, 0, e.width, e.height), n.fillRect(0, 0, e.width, e.height), this._data = [], this._reset(), this._isEmpty = !0;
|
|
3300
3312
|
}
|
|
3301
|
-
fromDataURL(
|
|
3302
|
-
const s = new Image(),
|
|
3313
|
+
fromDataURL(n, e = {}, a) {
|
|
3314
|
+
const s = new Image(), r = e.ratio || window.devicePixelRatio || 1, c = e.width || this.canvas.width / r, o = e.height || this.canvas.height / r;
|
|
3303
3315
|
this._reset(), s.onload = () => {
|
|
3304
|
-
this._ctx.drawImage(s, 0, 0, c, o),
|
|
3305
|
-
}, s.onerror = (
|
|
3306
|
-
|
|
3307
|
-
}, s.src =
|
|
3316
|
+
this._ctx.drawImage(s, 0, 0, c, o), a && a();
|
|
3317
|
+
}, s.onerror = (_) => {
|
|
3318
|
+
a && a(_);
|
|
3319
|
+
}, s.src = n, this._isEmpty = !1;
|
|
3308
3320
|
}
|
|
3309
|
-
toDataURL(
|
|
3310
|
-
switch (
|
|
3321
|
+
toDataURL(n = "image/png", e) {
|
|
3322
|
+
switch (n) {
|
|
3311
3323
|
case "image/svg+xml":
|
|
3312
3324
|
return this._toSVG();
|
|
3313
3325
|
default:
|
|
3314
|
-
return this.canvas.toDataURL(
|
|
3326
|
+
return this.canvas.toDataURL(n, e);
|
|
3315
3327
|
}
|
|
3316
3328
|
}
|
|
3317
3329
|
on() {
|
|
@@ -3323,36 +3335,36 @@ class B2 {
|
|
|
3323
3335
|
isEmpty() {
|
|
3324
3336
|
return this._isEmpty;
|
|
3325
3337
|
}
|
|
3326
|
-
fromData(
|
|
3327
|
-
this.clear(), this._fromData(
|
|
3338
|
+
fromData(n) {
|
|
3339
|
+
this.clear(), this._fromData(n, ({ color: e, curve: a }) => this._drawCurve({ color: e, curve: a }), ({ color: e, point: a }) => this._drawDot({ color: e, point: a })), this._data = n;
|
|
3328
3340
|
}
|
|
3329
3341
|
toData() {
|
|
3330
3342
|
return this._data;
|
|
3331
3343
|
}
|
|
3332
|
-
_strokeBegin(
|
|
3344
|
+
_strokeBegin(n) {
|
|
3333
3345
|
const e = {
|
|
3334
3346
|
color: this.penColor,
|
|
3335
3347
|
points: []
|
|
3336
3348
|
};
|
|
3337
|
-
typeof this.onBegin == "function" && this.onBegin(
|
|
3349
|
+
typeof this.onBegin == "function" && this.onBegin(n), this._data.push(e), this._reset(), this._strokeUpdate(n);
|
|
3338
3350
|
}
|
|
3339
|
-
_strokeUpdate(
|
|
3351
|
+
_strokeUpdate(n) {
|
|
3340
3352
|
if (this._data.length === 0) {
|
|
3341
|
-
this._strokeBegin(
|
|
3353
|
+
this._strokeBegin(n);
|
|
3342
3354
|
return;
|
|
3343
3355
|
}
|
|
3344
|
-
const e =
|
|
3345
|
-
if (!o || !(o &&
|
|
3346
|
-
const
|
|
3347
|
-
o ?
|
|
3356
|
+
const e = n.clientX, a = n.clientY, s = this._createPoint(e, a), r = this._data[this._data.length - 1], c = r.points, o = c.length > 0 && c[c.length - 1], _ = o ? s.distanceTo(o) <= this.minDistance : !1, h = r.color;
|
|
3357
|
+
if (!o || !(o && _)) {
|
|
3358
|
+
const i = this._addPoint(s);
|
|
3359
|
+
o ? i && this._drawCurve({ color: h, curve: i }) : this._drawDot({ color: h, point: s }), c.push({
|
|
3348
3360
|
time: s.time,
|
|
3349
3361
|
x: s.x,
|
|
3350
3362
|
y: s.y
|
|
3351
3363
|
});
|
|
3352
3364
|
}
|
|
3353
3365
|
}
|
|
3354
|
-
_strokeEnd(
|
|
3355
|
-
this._strokeUpdate(
|
|
3366
|
+
_strokeEnd(n) {
|
|
3367
|
+
this._strokeUpdate(n), typeof this.onEnd == "function" && this.onEnd(n);
|
|
3356
3368
|
}
|
|
3357
3369
|
_handlePointerEvents() {
|
|
3358
3370
|
this._mouseButtonDown = !1, this.canvas.addEventListener("pointerdown", this._handleMouseDown), this.canvas.addEventListener("pointermove", this._handleMouseMove), document.addEventListener("pointerup", this._handleMouseUp);
|
|
@@ -3366,91 +3378,91 @@ class B2 {
|
|
|
3366
3378
|
_reset() {
|
|
3367
3379
|
this._lastPoints = [], this._lastVelocity = 0, this._lastWidth = (this.minWidth + this.maxWidth) / 2, this._ctx.fillStyle = this.penColor;
|
|
3368
3380
|
}
|
|
3369
|
-
_createPoint(
|
|
3370
|
-
const
|
|
3371
|
-
return new E2(
|
|
3381
|
+
_createPoint(n, e) {
|
|
3382
|
+
const a = this.canvas.getBoundingClientRect();
|
|
3383
|
+
return new E2(n - a.left, e - a.top, (/* @__PURE__ */ new Date()).getTime());
|
|
3372
3384
|
}
|
|
3373
|
-
_addPoint(
|
|
3385
|
+
_addPoint(n) {
|
|
3374
3386
|
const { _lastPoints: e } = this;
|
|
3375
|
-
if (e.push(
|
|
3387
|
+
if (e.push(n), e.length > 2) {
|
|
3376
3388
|
e.length === 3 && e.unshift(e[0]);
|
|
3377
|
-
const
|
|
3389
|
+
const a = this._calculateCurveWidths(e[1], e[2]), s = I2.fromPoints(e, a);
|
|
3378
3390
|
return e.shift(), s;
|
|
3379
3391
|
}
|
|
3380
3392
|
return null;
|
|
3381
3393
|
}
|
|
3382
|
-
_calculateCurveWidths(
|
|
3383
|
-
const
|
|
3394
|
+
_calculateCurveWidths(n, e) {
|
|
3395
|
+
const a = this.velocityFilterWeight * e.velocityFrom(n) + (1 - this.velocityFilterWeight) * this._lastVelocity, s = this._strokeWidth(a), r = {
|
|
3384
3396
|
end: s,
|
|
3385
3397
|
start: this._lastWidth
|
|
3386
3398
|
};
|
|
3387
|
-
return this._lastVelocity =
|
|
3399
|
+
return this._lastVelocity = a, this._lastWidth = s, r;
|
|
3388
3400
|
}
|
|
3389
|
-
_strokeWidth(
|
|
3390
|
-
return Math.max(this.maxWidth / (
|
|
3401
|
+
_strokeWidth(n) {
|
|
3402
|
+
return Math.max(this.maxWidth / (n + 1), this.minWidth);
|
|
3391
3403
|
}
|
|
3392
|
-
_drawCurveSegment(
|
|
3404
|
+
_drawCurveSegment(n, e, a) {
|
|
3393
3405
|
const s = this._ctx;
|
|
3394
|
-
s.moveTo(
|
|
3406
|
+
s.moveTo(n, e), s.arc(n, e, a, 0, 2 * Math.PI, !1), this._isEmpty = !1;
|
|
3395
3407
|
}
|
|
3396
|
-
_drawCurve({ color:
|
|
3397
|
-
const
|
|
3398
|
-
|
|
3399
|
-
for (let c = 0; c <
|
|
3400
|
-
const o = c /
|
|
3408
|
+
_drawCurve({ color: n, curve: e }) {
|
|
3409
|
+
const a = this._ctx, s = e.endWidth - e.startWidth, r = Math.floor(e.length()) * 2;
|
|
3410
|
+
a.beginPath(), a.fillStyle = n;
|
|
3411
|
+
for (let c = 0; c < r; c += 1) {
|
|
3412
|
+
const o = c / r, _ = o * o, h = _ * o, i = 1 - o, w = i * i, b = w * i;
|
|
3401
3413
|
let g = b * e.startPoint.x;
|
|
3402
|
-
g += 3 *
|
|
3403
|
-
let
|
|
3404
|
-
|
|
3414
|
+
g += 3 * w * o * e.control1.x, g += 3 * i * _ * e.control2.x, g += h * e.endPoint.x;
|
|
3415
|
+
let d = b * e.startPoint.y;
|
|
3416
|
+
d += 3 * w * o * e.control1.y, d += 3 * i * _ * e.control2.y, d += h * e.endPoint.y;
|
|
3405
3417
|
const u = Math.min(e.startWidth + h * s, this.maxWidth);
|
|
3406
|
-
this._drawCurveSegment(g,
|
|
3418
|
+
this._drawCurveSegment(g, d, u);
|
|
3407
3419
|
}
|
|
3408
|
-
|
|
3420
|
+
a.closePath(), a.fill();
|
|
3409
3421
|
}
|
|
3410
|
-
_drawDot({ color:
|
|
3411
|
-
const
|
|
3412
|
-
|
|
3422
|
+
_drawDot({ color: n, point: e }) {
|
|
3423
|
+
const a = this._ctx, s = typeof this.dotSize == "function" ? this.dotSize() : this.dotSize;
|
|
3424
|
+
a.beginPath(), this._drawCurveSegment(e.x, e.y, s), a.closePath(), a.fillStyle = n, a.fill();
|
|
3413
3425
|
}
|
|
3414
|
-
_fromData(
|
|
3415
|
-
for (const s of
|
|
3416
|
-
const { color:
|
|
3426
|
+
_fromData(n, e, a) {
|
|
3427
|
+
for (const s of n) {
|
|
3428
|
+
const { color: r, points: c } = s;
|
|
3417
3429
|
if (c.length > 1)
|
|
3418
3430
|
for (let o = 0; o < c.length; o += 1) {
|
|
3419
|
-
const
|
|
3420
|
-
this.penColor =
|
|
3421
|
-
const
|
|
3422
|
-
|
|
3431
|
+
const _ = c[o], h = new E2(_.x, _.y, _.time);
|
|
3432
|
+
this.penColor = r, o === 0 && this._reset();
|
|
3433
|
+
const i = this._addPoint(h);
|
|
3434
|
+
i && e({ color: r, curve: i });
|
|
3423
3435
|
}
|
|
3424
3436
|
else
|
|
3425
|
-
this._reset(),
|
|
3426
|
-
color:
|
|
3437
|
+
this._reset(), a({
|
|
3438
|
+
color: r,
|
|
3427
3439
|
point: c[0]
|
|
3428
3440
|
});
|
|
3429
3441
|
}
|
|
3430
3442
|
}
|
|
3431
3443
|
_toSVG() {
|
|
3432
|
-
const
|
|
3433
|
-
o.setAttribute("width", this.canvas.width.toString()), o.setAttribute("height", this.canvas.height.toString()), this._fromData(
|
|
3444
|
+
const n = this._data, e = Math.max(window.devicePixelRatio || 1, 1), a = 0, s = 0, r = this.canvas.width / e, c = this.canvas.height / e, o = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
3445
|
+
o.setAttribute("width", this.canvas.width.toString()), o.setAttribute("height", this.canvas.height.toString()), this._fromData(n, ({ color: g, curve: d }) => {
|
|
3434
3446
|
const u = document.createElement("path");
|
|
3435
|
-
if (!isNaN(
|
|
3436
|
-
const
|
|
3437
|
-
u.setAttribute("d",
|
|
3447
|
+
if (!isNaN(d.control1.x) && !isNaN(d.control1.y) && !isNaN(d.control2.x) && !isNaN(d.control2.y)) {
|
|
3448
|
+
const m = `M ${d.startPoint.x.toFixed(3)},${d.startPoint.y.toFixed(3)} C ${d.control1.x.toFixed(3)},${d.control1.y.toFixed(3)} ${d.control2.x.toFixed(3)},${d.control2.y.toFixed(3)} ${d.endPoint.x.toFixed(3)},${d.endPoint.y.toFixed(3)}`;
|
|
3449
|
+
u.setAttribute("d", m), u.setAttribute("stroke-width", (d.endWidth * 2.25).toFixed(3)), u.setAttribute("stroke", g), u.setAttribute("fill", "none"), u.setAttribute("stroke-linecap", "round"), o.appendChild(u);
|
|
3438
3450
|
}
|
|
3439
|
-
}, ({ color: g, point:
|
|
3440
|
-
const u = document.createElement("circle"),
|
|
3441
|
-
u.setAttribute("r",
|
|
3451
|
+
}, ({ color: g, point: d }) => {
|
|
3452
|
+
const u = document.createElement("circle"), m = typeof this.dotSize == "function" ? this.dotSize() : this.dotSize;
|
|
3453
|
+
u.setAttribute("r", m.toString()), u.setAttribute("cx", d.x.toString()), u.setAttribute("cy", d.y.toString()), u.setAttribute("fill", g), o.appendChild(u);
|
|
3442
3454
|
});
|
|
3443
|
-
const
|
|
3444
|
-
let
|
|
3445
|
-
if (
|
|
3446
|
-
const g = document.createElement("dummy"),
|
|
3455
|
+
const _ = "data:image/svg+xml;base64,", h = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="${a} ${s} ${r} ${c}" width="${r}" height="${c}">`;
|
|
3456
|
+
let i = o.innerHTML;
|
|
3457
|
+
if (i === void 0) {
|
|
3458
|
+
const g = document.createElement("dummy"), d = o.childNodes;
|
|
3447
3459
|
g.innerHTML = "";
|
|
3448
|
-
for (let u = 0; u <
|
|
3449
|
-
g.appendChild(
|
|
3450
|
-
|
|
3460
|
+
for (let u = 0; u < d.length; u += 1)
|
|
3461
|
+
g.appendChild(d[u].cloneNode(!0));
|
|
3462
|
+
i = g.innerHTML;
|
|
3451
3463
|
}
|
|
3452
|
-
const b = h +
|
|
3453
|
-
return
|
|
3464
|
+
const b = h + i + "</svg>";
|
|
3465
|
+
return _ + btoa(b);
|
|
3454
3466
|
}
|
|
3455
3467
|
}
|
|
3456
3468
|
var s9 = {
|
|
@@ -3460,40 +3472,40 @@ var s9 = {
|
|
|
3460
3472
|
height: void 0,
|
|
3461
3473
|
Canvas: void 0,
|
|
3462
3474
|
crossOrigin: void 0
|
|
3463
|
-
}, l0 = function(t,
|
|
3464
|
-
return t === void 0 && (t = []),
|
|
3465
|
-
|
|
3466
|
-
var
|
|
3467
|
-
return new Promise(function(
|
|
3475
|
+
}, l0 = function(t, n) {
|
|
3476
|
+
return t === void 0 && (t = []), n === void 0 && (n = {}), new Promise(function(e) {
|
|
3477
|
+
n = Object.assign({}, s9, n);
|
|
3478
|
+
var a = n.Canvas ? new n.Canvas() : window.document.createElement("canvas"), s = n.Image || window.Image, r = t.map(function(o) {
|
|
3479
|
+
return new Promise(function(_, h) {
|
|
3468
3480
|
o.constructor.name !== "Object" && (o = { src: o });
|
|
3469
|
-
var
|
|
3470
|
-
|
|
3481
|
+
var i = new s();
|
|
3482
|
+
i.crossOrigin = n.crossOrigin, i.onerror = function() {
|
|
3471
3483
|
return h(new Error("Couldn't load image"));
|
|
3472
|
-
},
|
|
3473
|
-
return
|
|
3474
|
-
},
|
|
3484
|
+
}, i.onload = function() {
|
|
3485
|
+
return _(Object.assign({}, o, { img: i }));
|
|
3486
|
+
}, i.src = o.src;
|
|
3475
3487
|
});
|
|
3476
|
-
}), c =
|
|
3477
|
-
e(Promise.all(
|
|
3478
|
-
var
|
|
3479
|
-
return
|
|
3480
|
-
return
|
|
3488
|
+
}), c = a.getContext("2d");
|
|
3489
|
+
e(Promise.all(r).then(function(o) {
|
|
3490
|
+
var _ = function(h) {
|
|
3491
|
+
return n[h] || Math.max.apply(Math, o.map(function(i) {
|
|
3492
|
+
return i.img[h];
|
|
3481
3493
|
}));
|
|
3482
3494
|
};
|
|
3483
|
-
return
|
|
3495
|
+
return a.width = _("width"), a.height = _("height"), o.forEach(function(h) {
|
|
3484
3496
|
return c.globalAlpha = h.opacity ? h.opacity : 1, c.drawImage(h.img, h.x || 0, h.y || 0);
|
|
3485
|
-
}),
|
|
3486
|
-
|
|
3487
|
-
quality:
|
|
3497
|
+
}), n.Canvas && n.format === "image/jpeg" ? new Promise(function(h, i) {
|
|
3498
|
+
a.toDataURL(n.format, {
|
|
3499
|
+
quality: n.quality,
|
|
3488
3500
|
progressive: !1
|
|
3489
|
-
}, function(
|
|
3490
|
-
if (
|
|
3491
|
-
|
|
3501
|
+
}, function(w, b) {
|
|
3502
|
+
if (w) {
|
|
3503
|
+
i(w);
|
|
3492
3504
|
return;
|
|
3493
3505
|
}
|
|
3494
3506
|
h(b);
|
|
3495
3507
|
});
|
|
3496
|
-
}) :
|
|
3508
|
+
}) : a.toDataURL(n.format, n.quality);
|
|
3497
3509
|
}));
|
|
3498
3510
|
});
|
|
3499
3511
|
};
|
|
@@ -3505,23 +3517,23 @@ let r2;
|
|
|
3505
3517
|
(function(t) {
|
|
3506
3518
|
t.FILE = "file", t.DATA_URL = "data_url";
|
|
3507
3519
|
})(r2 || (r2 = {}));
|
|
3508
|
-
function c9(t,
|
|
3509
|
-
let s = t.length,
|
|
3520
|
+
function c9(t, n, e, a = Date.now()) {
|
|
3521
|
+
let s = t.length, r = new Uint8Array(s);
|
|
3510
3522
|
for (; s--; )
|
|
3511
|
-
|
|
3512
|
-
return new File([
|
|
3523
|
+
r[s] = t.charCodeAt(s);
|
|
3524
|
+
return new File([r], n, {
|
|
3513
3525
|
type: e,
|
|
3514
|
-
lastModified:
|
|
3526
|
+
lastModified: a
|
|
3515
3527
|
});
|
|
3516
3528
|
}
|
|
3517
|
-
function i9(t,
|
|
3518
|
-
const
|
|
3519
|
-
if (!
|
|
3529
|
+
function i9(t, n, e = Date.now()) {
|
|
3530
|
+
const a = t.split(","), r = a[0].match(/:(.*?);/);
|
|
3531
|
+
if (!r)
|
|
3520
3532
|
throw new Error("Invalid data url");
|
|
3521
|
-
const c =
|
|
3522
|
-
return c9(o,
|
|
3533
|
+
const c = r[1], o = atob(a[1]);
|
|
3534
|
+
return c9(o, n, c, e);
|
|
3523
3535
|
}
|
|
3524
|
-
const
|
|
3536
|
+
const a0 = (t) => JSON.parse(JSON.stringify(t)), n0 = {
|
|
3525
3537
|
x: 0,
|
|
3526
3538
|
y: 0,
|
|
3527
3539
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
|
|
@@ -3537,7 +3549,7 @@ const n0 = (t) => JSON.parse(JSON.stringify(t)), a0 = {
|
|
|
3537
3549
|
// onBegin: (event) => {},
|
|
3538
3550
|
// onEnd: (event) => {},
|
|
3539
3551
|
};
|
|
3540
|
-
var d9 = /* @__PURE__ */
|
|
3552
|
+
var d9 = /* @__PURE__ */ u2({
|
|
3541
3553
|
name: "VueSignaturePad",
|
|
3542
3554
|
props: {
|
|
3543
3555
|
modelValue: {
|
|
@@ -3562,16 +3574,16 @@ var d9 = /* @__PURE__ */ g2({
|
|
|
3562
3574
|
type: String,
|
|
3563
3575
|
default: V2.PNG,
|
|
3564
3576
|
validator: function(t) {
|
|
3565
|
-
const
|
|
3566
|
-
return
|
|
3577
|
+
const n = Object.values(V2);
|
|
3578
|
+
return n.includes(t) ? !0 : (console.warn(`The Image type is incorrect! Supported ones are ${n.join(", ")}.`), !1);
|
|
3567
3579
|
}
|
|
3568
3580
|
},
|
|
3569
3581
|
saveOutput: {
|
|
3570
3582
|
type: String,
|
|
3571
3583
|
default: r2.DATA_URL,
|
|
3572
3584
|
validator: function(t) {
|
|
3573
|
-
const
|
|
3574
|
-
return
|
|
3585
|
+
const n = Object.values(r2);
|
|
3586
|
+
return n.includes(t) ? !0 : (console.warn(`The save output is incorrect! Supported ones are ${n.join(", ")}.`), !1);
|
|
3575
3587
|
}
|
|
3576
3588
|
},
|
|
3577
3589
|
customStyle: {
|
|
@@ -3587,32 +3599,32 @@ var d9 = /* @__PURE__ */ g2({
|
|
|
3587
3599
|
default: () => []
|
|
3588
3600
|
}
|
|
3589
3601
|
},
|
|
3590
|
-
setup(t,
|
|
3602
|
+
setup(t, n) {
|
|
3591
3603
|
const e = A2({
|
|
3592
3604
|
cacheImages: [],
|
|
3593
3605
|
onResizeHandler: null,
|
|
3594
3606
|
signaturePad: {},
|
|
3595
|
-
signatureData:
|
|
3596
|
-
}),
|
|
3597
|
-
if (!
|
|
3607
|
+
signatureData: n0
|
|
3608
|
+
}), a = C(null), s = I(() => {
|
|
3609
|
+
if (!a.value)
|
|
3598
3610
|
throw new Error('No canvas could be found with this "ref" in the template');
|
|
3599
|
-
return
|
|
3600
|
-
}),
|
|
3601
|
-
const
|
|
3602
|
-
return [...
|
|
3611
|
+
return a.value;
|
|
3612
|
+
}), r = I(() => {
|
|
3613
|
+
const x = Array.from(a0(t.images)), G = Array.from(a0(e.cacheImages));
|
|
3614
|
+
return [...x, ...G];
|
|
3603
3615
|
});
|
|
3604
|
-
d2(() => t.options, (
|
|
3605
|
-
Object.keys(
|
|
3606
|
-
Object.prototype.hasOwnProperty.call(e.signaturePad,
|
|
3616
|
+
d2(() => t.options, (x) => {
|
|
3617
|
+
Object.keys(x).forEach((G) => {
|
|
3618
|
+
Object.prototype.hasOwnProperty.call(e.signaturePad, G) && (e.signaturePad[G] = x[G]);
|
|
3607
3619
|
});
|
|
3608
3620
|
});
|
|
3609
3621
|
function c() {
|
|
3610
|
-
const
|
|
3611
|
-
|
|
3612
|
-
const
|
|
3613
|
-
|
|
3622
|
+
const x = s.value, G = e.signaturePad.toData(), $ = Math.max(window.devicePixelRatio || 1, 1);
|
|
3623
|
+
x.width = x.offsetWidth * $, x.height = x.offsetHeight * $;
|
|
3624
|
+
const k = x.getContext("2d");
|
|
3625
|
+
k && k.scale($, $), e.signaturePad.clear(), e.signatureData = n0, e.signaturePad.fromData(G);
|
|
3614
3626
|
}
|
|
3615
|
-
function o(
|
|
3627
|
+
function o(x = t.saveType, G) {
|
|
3616
3628
|
if (e.signaturePad.isEmpty()) {
|
|
3617
3629
|
if (t.saveOutput === r2.FILE)
|
|
3618
3630
|
return {
|
|
@@ -3628,93 +3640,93 @@ var d9 = /* @__PURE__ */ g2({
|
|
|
3628
3640
|
};
|
|
3629
3641
|
throw new Error(`This saveOutput ${t.saveOutput} is not supported`);
|
|
3630
3642
|
}
|
|
3631
|
-
const
|
|
3632
|
-
if (e.signatureData.src =
|
|
3643
|
+
const $ = e.signaturePad.toDataURL(x, G);
|
|
3644
|
+
if (e.signatureData.src = $, t.saveOutput === r2.FILE)
|
|
3633
3645
|
return {
|
|
3634
3646
|
isEmpty: !1,
|
|
3635
|
-
file: i9(
|
|
3647
|
+
file: i9($, "signature"),
|
|
3636
3648
|
output: r2.FILE
|
|
3637
3649
|
};
|
|
3638
3650
|
if (t.saveOutput === r2.DATA_URL)
|
|
3639
3651
|
return {
|
|
3640
3652
|
isEmpty: !1,
|
|
3641
|
-
data:
|
|
3653
|
+
data: $,
|
|
3642
3654
|
output: r2.DATA_URL
|
|
3643
3655
|
};
|
|
3644
3656
|
throw new Error(`This saveOutput ${t.saveOutput} is not supported`);
|
|
3645
3657
|
}
|
|
3646
|
-
function
|
|
3647
|
-
const
|
|
3648
|
-
|
|
3658
|
+
function _() {
|
|
3659
|
+
const x = e.signaturePad.toData();
|
|
3660
|
+
x && e.signaturePad.fromData(x.slice(0, -1));
|
|
3649
3661
|
}
|
|
3650
3662
|
function h() {
|
|
3651
|
-
const
|
|
3652
|
-
let
|
|
3653
|
-
|
|
3663
|
+
const x = o();
|
|
3664
|
+
let G = null;
|
|
3665
|
+
x.output === r2.FILE ? G = x.file : x.output === r2.DATA_URL && (G = x.data), n.emit("input", G);
|
|
3654
3666
|
}
|
|
3655
|
-
function
|
|
3656
|
-
return e.signatureData =
|
|
3667
|
+
function i(x) {
|
|
3668
|
+
return e.signatureData = x, l0([...t.images, ...e.cacheImages, e.signatureData]);
|
|
3657
3669
|
}
|
|
3658
|
-
function x
|
|
3659
|
-
return e.cacheImages = [...e.cacheImages, ...
|
|
3670
|
+
function w(x = []) {
|
|
3671
|
+
return e.cacheImages = [...e.cacheImages, ...x], l0([...t.images, ...e.cacheImages, e.signatureData]);
|
|
3660
3672
|
}
|
|
3661
|
-
function b(
|
|
3662
|
-
e.signaturePad.fromDataURL(
|
|
3673
|
+
function b(x, G = {}, $) {
|
|
3674
|
+
e.signaturePad.fromDataURL(x, G, $);
|
|
3663
3675
|
}
|
|
3664
|
-
function g(
|
|
3665
|
-
e.signaturePad.fromData(
|
|
3676
|
+
function g(x) {
|
|
3677
|
+
e.signaturePad.fromData(x);
|
|
3666
3678
|
}
|
|
3667
|
-
function
|
|
3668
|
-
return e.signaturePad.toDataURL(
|
|
3679
|
+
function d(x = V2.PNG, G) {
|
|
3680
|
+
return e.signaturePad.toDataURL(x, G);
|
|
3669
3681
|
}
|
|
3670
3682
|
function u() {
|
|
3671
3683
|
return e.signaturePad.toData();
|
|
3672
3684
|
}
|
|
3673
|
-
function
|
|
3685
|
+
function m() {
|
|
3674
3686
|
e.signaturePad.off();
|
|
3675
3687
|
}
|
|
3676
3688
|
function V() {
|
|
3677
3689
|
e.signaturePad.on();
|
|
3678
3690
|
}
|
|
3679
|
-
function
|
|
3691
|
+
function B() {
|
|
3680
3692
|
return e.signaturePad.isEmpty();
|
|
3681
3693
|
}
|
|
3682
3694
|
function T() {
|
|
3683
|
-
return
|
|
3695
|
+
return r.value;
|
|
3684
3696
|
}
|
|
3685
3697
|
function N() {
|
|
3686
3698
|
return e.cacheImages = [], e.cacheImages;
|
|
3687
3699
|
}
|
|
3688
3700
|
function D() {
|
|
3689
|
-
e.signaturePad.clear(),
|
|
3701
|
+
e.signaturePad.clear(), n.emit("input", null);
|
|
3690
3702
|
}
|
|
3691
|
-
return
|
|
3692
|
-
const
|
|
3703
|
+
return y2(() => {
|
|
3704
|
+
const x = s.value, G = new B2(x, {
|
|
3693
3705
|
onEnd: h,
|
|
3694
3706
|
...t.options
|
|
3695
3707
|
});
|
|
3696
|
-
e.signaturePad =
|
|
3708
|
+
e.signaturePad = G, e.onResizeHandler = c, window.addEventListener("resize", e.onResizeHandler, !1), c();
|
|
3697
3709
|
}), c0(() => {
|
|
3698
3710
|
e.onResizeHandler && window.removeEventListener("resize", e.onResizeHandler, !1);
|
|
3699
3711
|
}), {
|
|
3700
3712
|
// data
|
|
3701
3713
|
...k0(e),
|
|
3702
|
-
signaturePadCanvas:
|
|
3714
|
+
signaturePadCanvas: a,
|
|
3703
3715
|
// computed properties
|
|
3704
|
-
propsImagesAndCustomImages:
|
|
3716
|
+
propsImagesAndCustomImages: r,
|
|
3705
3717
|
// methods
|
|
3706
3718
|
resizeCanvas: c,
|
|
3707
3719
|
saveSignature: o,
|
|
3708
|
-
undoSignature:
|
|
3709
|
-
mergeImageAndSignature:
|
|
3710
|
-
addImages:
|
|
3720
|
+
undoSignature: _,
|
|
3721
|
+
mergeImageAndSignature: i,
|
|
3722
|
+
addImages: w,
|
|
3711
3723
|
fromDataURL: b,
|
|
3712
|
-
toDataURL:
|
|
3724
|
+
toDataURL: d,
|
|
3713
3725
|
fromData: g,
|
|
3714
3726
|
toData: u,
|
|
3715
|
-
lockSignaturePad:
|
|
3727
|
+
lockSignaturePad: m,
|
|
3716
3728
|
openSignaturePad: V,
|
|
3717
|
-
isEmpty:
|
|
3729
|
+
isEmpty: B,
|
|
3718
3730
|
getPropImagesAndCacheImages: T,
|
|
3719
3731
|
clearCacheImages: N,
|
|
3720
3732
|
clearSignature: D
|
|
@@ -3723,15 +3735,15 @@ var d9 = /* @__PURE__ */ g2({
|
|
|
3723
3735
|
render() {
|
|
3724
3736
|
const {
|
|
3725
3737
|
width: t,
|
|
3726
|
-
height:
|
|
3738
|
+
height: n,
|
|
3727
3739
|
customStyle: e
|
|
3728
|
-
} = this,
|
|
3740
|
+
} = this, a = {
|
|
3729
3741
|
width: `${t}px`,
|
|
3730
|
-
height: `${
|
|
3742
|
+
height: `${n}px`
|
|
3731
3743
|
};
|
|
3732
3744
|
return F2("div", {
|
|
3733
3745
|
style: {
|
|
3734
|
-
...
|
|
3746
|
+
...a,
|
|
3735
3747
|
...e
|
|
3736
3748
|
}
|
|
3737
3749
|
}, [F2("canvas", {
|
|
@@ -3744,8 +3756,8 @@ var d9 = /* @__PURE__ */ g2({
|
|
|
3744
3756
|
}
|
|
3745
3757
|
}), v9 = /* @__PURE__ */ (() => {
|
|
3746
3758
|
const t = d9;
|
|
3747
|
-
return t.install = (
|
|
3748
|
-
|
|
3759
|
+
return t.install = (n) => {
|
|
3760
|
+
n.component("SignaturePad", t);
|
|
3749
3761
|
}, t;
|
|
3750
3762
|
})();
|
|
3751
3763
|
const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 = { class: "signature-pad" }, p9 = { class: "signature-operates" }, w9 = {
|
|
@@ -3758,11 +3770,11 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3758
3770
|
}
|
|
3759
3771
|
},
|
|
3760
3772
|
emits: ["beforeDestroy", "clickSubmitSign"],
|
|
3761
|
-
setup(t, { emit:
|
|
3762
|
-
var
|
|
3773
|
+
setup(t, { emit: n }) {
|
|
3774
|
+
var _;
|
|
3763
3775
|
const e = t;
|
|
3764
3776
|
C(e.value);
|
|
3765
|
-
const
|
|
3777
|
+
const a = C(), s = A2({
|
|
3766
3778
|
loading: !1,
|
|
3767
3779
|
avatarLoading: !1,
|
|
3768
3780
|
signDialogVisible: !1,
|
|
@@ -3772,71 +3784,71 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3772
3784
|
penColor: "#000000",
|
|
3773
3785
|
minWidth: 1,
|
|
3774
3786
|
onBegin: () => {
|
|
3775
|
-
|
|
3787
|
+
a.value.resizeCanvas();
|
|
3776
3788
|
}
|
|
3777
3789
|
},
|
|
3778
3790
|
signFileList: [],
|
|
3779
3791
|
passwordNew2: "",
|
|
3780
3792
|
cropperTitle: ""
|
|
3781
|
-
}),
|
|
3782
|
-
d2((
|
|
3793
|
+
}), r = n;
|
|
3794
|
+
d2((_ = e.signPadInfo) == null ? void 0 : _.dialogShow, (h) => {
|
|
3783
3795
|
console.log("dialogShow", h);
|
|
3784
3796
|
}), d2(s.signOptions, () => {
|
|
3785
|
-
console.log("signOptions:", s.signOptions),
|
|
3786
|
-
var
|
|
3787
|
-
const h = (
|
|
3788
|
-
console.log("signaturePadRef:",
|
|
3797
|
+
console.log("signOptions:", s.signOptions), z2(() => {
|
|
3798
|
+
var i;
|
|
3799
|
+
const h = (i = a.value) == null ? void 0 : i.signaturePad;
|
|
3800
|
+
console.log("signaturePadRef:", a.value), h ? (h.penColor = s.signOptions.penColor, h.minWidth = s.signOptions.minWidth) : console.error("signaturePadRef没有被初始化");
|
|
3789
3801
|
});
|
|
3790
3802
|
});
|
|
3791
3803
|
const c = () => {
|
|
3792
|
-
|
|
3804
|
+
r("beforeDestroy");
|
|
3793
3805
|
}, o = () => {
|
|
3794
|
-
var
|
|
3795
|
-
const { isEmpty: h, data:
|
|
3796
|
-
h ||
|
|
3806
|
+
var w;
|
|
3807
|
+
const { isEmpty: h, data: i } = (w = a.value) == null ? void 0 : w.saveSignature();
|
|
3808
|
+
h || r("clickSubmitSign", i);
|
|
3797
3809
|
};
|
|
3798
|
-
return (h,
|
|
3799
|
-
var
|
|
3800
|
-
const
|
|
3810
|
+
return (h, i) => {
|
|
3811
|
+
var d, u, m;
|
|
3812
|
+
const w = E("el-input-number"), b = E("el-color-picker"), g = E("el-button");
|
|
3801
3813
|
return v(), y(X, null, [
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3814
|
+
A("div", h9, [
|
|
3815
|
+
R(h.$slots, "signatureRender", {}, void 0, !0),
|
|
3816
|
+
A("div", g9, [
|
|
3817
|
+
R(h.$slots, "signatureTypes", {}, void 0, !0)
|
|
3806
3818
|
])
|
|
3807
3819
|
]),
|
|
3808
3820
|
j($2, {
|
|
3809
3821
|
class: "signature-dialog",
|
|
3810
|
-
title: (
|
|
3822
|
+
title: (d = t.signPadInfo) == null ? void 0 : d.dialogTitle,
|
|
3811
3823
|
dialogWidth: `${((u = t.signPadInfo) == null ? void 0 : u.dialogWidth) ?? 30}%`,
|
|
3812
|
-
visible: (
|
|
3824
|
+
visible: (m = t.signPadInfo) == null ? void 0 : m.dialogShow,
|
|
3813
3825
|
onBeforeDestroy: c
|
|
3814
3826
|
}, {
|
|
3815
3827
|
default: S(() => [
|
|
3816
|
-
|
|
3817
|
-
j(
|
|
3828
|
+
A("div", u9, [
|
|
3829
|
+
j(S2(v9), {
|
|
3818
3830
|
ref_key: "signaturePadRef",
|
|
3819
|
-
ref:
|
|
3831
|
+
ref: a,
|
|
3820
3832
|
options: s.signOptions
|
|
3821
3833
|
}, null, 8, ["options"])
|
|
3822
3834
|
]),
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
j(
|
|
3835
|
+
A("div", p9, [
|
|
3836
|
+
A("div", null, [
|
|
3837
|
+
i[2] || (i[2] = A("span", null, "画笔粗细:", -1)),
|
|
3838
|
+
j(w, {
|
|
3827
3839
|
modelValue: s.signOptions.minWidth,
|
|
3828
|
-
"onUpdate:modelValue":
|
|
3840
|
+
"onUpdate:modelValue": i[0] || (i[0] = (V) => s.signOptions.minWidth = V),
|
|
3829
3841
|
min: 0.5,
|
|
3830
3842
|
max: 2.5,
|
|
3831
3843
|
step: 0.1,
|
|
3832
3844
|
size: "small"
|
|
3833
3845
|
}, null, 8, ["modelValue"])
|
|
3834
3846
|
]),
|
|
3835
|
-
|
|
3836
|
-
|
|
3847
|
+
A("div", null, [
|
|
3848
|
+
i[3] || (i[3] = A("span", null, "画笔颜色:", -1)),
|
|
3837
3849
|
j(b, {
|
|
3838
3850
|
modelValue: s.signOptions.penColor,
|
|
3839
|
-
"onUpdate:modelValue":
|
|
3851
|
+
"onUpdate:modelValue": i[1] || (i[1] = (V) => s.signOptions.penColor = V),
|
|
3840
3852
|
"color-format": "hex",
|
|
3841
3853
|
size: "default"
|
|
3842
3854
|
}, null, 8, ["modelValue"])
|
|
@@ -3845,8 +3857,8 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3845
3857
|
]),
|
|
3846
3858
|
footer: S(() => [
|
|
3847
3859
|
j(g, { onClick: c }, {
|
|
3848
|
-
default: S(() =>
|
|
3849
|
-
|
|
3860
|
+
default: S(() => i[4] || (i[4] = [
|
|
3861
|
+
_2("取消")
|
|
3850
3862
|
])),
|
|
3851
3863
|
_: 1,
|
|
3852
3864
|
__: [4]
|
|
@@ -3855,8 +3867,8 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3855
3867
|
type: "primary",
|
|
3856
3868
|
onClick: o
|
|
3857
3869
|
}, {
|
|
3858
|
-
default: S(() =>
|
|
3859
|
-
|
|
3870
|
+
default: S(() => i[5] || (i[5] = [
|
|
3871
|
+
_2("确认")
|
|
3860
3872
|
])),
|
|
3861
3873
|
_: 1,
|
|
3862
3874
|
__: [5]
|
|
@@ -3867,27 +3879,27 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3867
3879
|
], 64);
|
|
3868
3880
|
};
|
|
3869
3881
|
}
|
|
3870
|
-
}, _9 = /* @__PURE__ */ t2(w9, [["__scopeId", "data-v-e409734b"]]), m9 = /* @__PURE__ */
|
|
3882
|
+
}, _9 = /* @__PURE__ */ t2(w9, [["__scopeId", "data-v-e409734b"]]), m9 = /* @__PURE__ */ u2({
|
|
3871
3883
|
__name: "index",
|
|
3872
3884
|
setup(t) {
|
|
3873
|
-
const
|
|
3885
|
+
const n = C(null), e = async (a) => {
|
|
3874
3886
|
var s;
|
|
3875
|
-
|
|
3887
|
+
a && (await z2(), (s = n.value) == null || s.update());
|
|
3876
3888
|
};
|
|
3877
|
-
return (
|
|
3878
|
-
const
|
|
3879
|
-
return v(),
|
|
3889
|
+
return (a, s) => {
|
|
3890
|
+
const r = E("el-dropdown-menu"), c = E("el-dropdown");
|
|
3891
|
+
return v(), P(c, { onVisibleChange: e }, {
|
|
3880
3892
|
dropdown: S(() => [
|
|
3881
|
-
j(
|
|
3893
|
+
j(r, null, {
|
|
3882
3894
|
default: S(() => [
|
|
3883
|
-
|
|
3895
|
+
R(a.$slots, "dropMenu")
|
|
3884
3896
|
]),
|
|
3885
3897
|
_: 3
|
|
3886
3898
|
})
|
|
3887
3899
|
]),
|
|
3888
3900
|
default: S(() => [
|
|
3889
|
-
|
|
3890
|
-
|
|
3901
|
+
A("div", null, [
|
|
3902
|
+
R(a.$slots, "dropTitle")
|
|
3891
3903
|
])
|
|
3892
3904
|
]),
|
|
3893
3905
|
_: 3
|
|
@@ -3913,7 +3925,7 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3913
3925
|
}
|
|
3914
3926
|
},
|
|
3915
3927
|
emits: ["update:modelValue"],
|
|
3916
|
-
setup(t, { emit:
|
|
3928
|
+
setup(t, { emit: n }) {
|
|
3917
3929
|
const e = t;
|
|
3918
3930
|
Q2.register(
|
|
3919
3931
|
{
|
|
@@ -3921,9 +3933,9 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3921
3933
|
},
|
|
3922
3934
|
!0
|
|
3923
3935
|
);
|
|
3924
|
-
const
|
|
3936
|
+
const a = C(null);
|
|
3925
3937
|
let s;
|
|
3926
|
-
const
|
|
3938
|
+
const r = C([]), c = n, o = C(e.modelValue), _ = C({
|
|
3927
3939
|
theme: "snow",
|
|
3928
3940
|
modules: {
|
|
3929
3941
|
toolbar: [
|
|
@@ -3975,56 +3987,56 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
3975
3987
|
}), h = (g) => {
|
|
3976
3988
|
if (!g)
|
|
3977
3989
|
return [];
|
|
3978
|
-
const
|
|
3979
|
-
if (
|
|
3980
|
-
for (const
|
|
3990
|
+
const d = /{\\pict[\s\S]+?({\\\*\\blipuid\s?[\da-fA-F]+)[\s}]*/, u = new RegExp("(?:(" + d.source + "))([\\da-fA-F\\s]+)\\}", "g"), m = g.match(u), V = [];
|
|
3991
|
+
if (m)
|
|
3992
|
+
for (const B of m) {
|
|
3981
3993
|
let T = !1;
|
|
3982
|
-
|
|
3983
|
-
hex:
|
|
3994
|
+
B.includes("\\pngblip") ? T = "image/png" : B.includes("\\jpegblip") && (T = "image/jpeg"), T && V.push({
|
|
3995
|
+
hex: B.replace(d, "").replace(/[^\da-fA-F]/g, ""),
|
|
3984
3996
|
type: T
|
|
3985
3997
|
});
|
|
3986
3998
|
}
|
|
3987
3999
|
return V;
|
|
3988
|
-
},
|
|
3989
|
-
let u = g.split(","),
|
|
4000
|
+
}, i = (g) => btoa(g.match(/\w{2}/g).map((d) => String.fromCharCode(parseInt(d, 16))).join("")), w = (g, d = "file") => {
|
|
4001
|
+
let u = g.split(","), m = u[0].match(/:(.*?);/)[1], V = m.split("/")[1], B = atob(u[1]), T = B.length, N = new Uint8Array(T);
|
|
3990
4002
|
for (; T--; )
|
|
3991
|
-
N[T] =
|
|
3992
|
-
return new File([N], `${
|
|
3993
|
-
type:
|
|
4003
|
+
N[T] = B.charCodeAt(T);
|
|
4004
|
+
return new File([N], `${d}.${V}`, {
|
|
4005
|
+
type: m
|
|
3994
4006
|
});
|
|
3995
|
-
}, b = async (g,
|
|
3996
|
-
let u =
|
|
3997
|
-
|
|
4007
|
+
}, b = async (g, d) => {
|
|
4008
|
+
let u = w(g), m = new FormData();
|
|
4009
|
+
m.append("file", u), await r0(m).then((V) => {
|
|
3998
4010
|
});
|
|
3999
4011
|
};
|
|
4000
|
-
return
|
|
4001
|
-
s = new Q2(
|
|
4012
|
+
return y2(() => {
|
|
4013
|
+
s = new Q2(a.value, _.value);
|
|
4002
4014
|
const g = s;
|
|
4003
4015
|
if (e.modelValue) {
|
|
4004
|
-
const
|
|
4005
|
-
s.setContents(
|
|
4016
|
+
const d = s.clipboard.convert({ html: e.modelValue });
|
|
4017
|
+
s.setContents(d);
|
|
4006
4018
|
}
|
|
4007
|
-
g.root.addEventListener("paste", async (
|
|
4008
|
-
|
|
4009
|
-
const u =
|
|
4019
|
+
g.root.addEventListener("paste", async (d) => {
|
|
4020
|
+
r.value = [];
|
|
4021
|
+
const u = d.clipboardData.getData("text/rtf");
|
|
4010
4022
|
if (u && u !== "") {
|
|
4011
|
-
const V = h(u).map((D) =>
|
|
4023
|
+
const V = h(u).map((D) => i(D.hex));
|
|
4012
4024
|
for (let D = 0; D < V.length; D++) {
|
|
4013
|
-
let
|
|
4014
|
-
|
|
4025
|
+
let x = r.value;
|
|
4026
|
+
x.push(`data:image/png;base64,${V[D]}`), r.value = x, await b(`data:image/png;base64,${V[D]}`, V.length);
|
|
4015
4027
|
}
|
|
4016
|
-
s.selection.root.querySelectorAll('img[src*="//:0"]').forEach((D,
|
|
4017
|
-
|
|
4028
|
+
s.selection.root.querySelectorAll('img[src*="//:0"]').forEach((D, x) => {
|
|
4029
|
+
r.value[x] ? D.src = r.value[x] : D.style.display = "none";
|
|
4018
4030
|
});
|
|
4019
4031
|
}
|
|
4020
4032
|
c("update:modelValue", o.value);
|
|
4021
4033
|
}), g.on("text-change", function() {
|
|
4022
4034
|
o.value = g.root.innerHTML, c("update:modelValue", o.value);
|
|
4023
4035
|
});
|
|
4024
|
-
}), (g,
|
|
4025
|
-
|
|
4036
|
+
}), (g, d) => (v(), y("div", f9, [
|
|
4037
|
+
A("div", {
|
|
4026
4038
|
ref_key: "quillEditorRef",
|
|
4027
|
-
ref:
|
|
4039
|
+
ref: a,
|
|
4028
4040
|
class: "rich-editor"
|
|
4029
4041
|
}, null, 512)
|
|
4030
4042
|
]));
|
|
@@ -4046,9 +4058,9 @@ const h9 = { class: "signature-wrap" }, g9 = { class: "signature-types" }, u9 =
|
|
|
4046
4058
|
MULTISELECT: X5,
|
|
4047
4059
|
SSMenu: v0,
|
|
4048
4060
|
DATE: l7,
|
|
4049
|
-
DATETIME:
|
|
4061
|
+
DATETIME: a7,
|
|
4050
4062
|
TEXTAREA: o7,
|
|
4051
|
-
UPLOAD:
|
|
4063
|
+
UPLOAD: n9,
|
|
4052
4064
|
INPUTPOPOVER: h5,
|
|
4053
4065
|
CASCADER: J5,
|
|
4054
4066
|
BUTTON: M2,
|
|
@@ -4078,47 +4090,47 @@ const D9 = ["onDblclick"], z9 = {
|
|
|
4078
4090
|
}
|
|
4079
4091
|
},
|
|
4080
4092
|
emits: ["dblClick", "clickTrigger", "changeTrigger"],
|
|
4081
|
-
setup(t, { emit:
|
|
4082
|
-
const e = t,
|
|
4083
|
-
|
|
4084
|
-
},
|
|
4085
|
-
|
|
4086
|
-
}, h = (
|
|
4087
|
-
|
|
4093
|
+
setup(t, { emit: n }) {
|
|
4094
|
+
const e = t, a = n, s = C([]), r = C(""), c = (i) => N2(i), o = (i) => {
|
|
4095
|
+
a("dblClick", i);
|
|
4096
|
+
}, _ = (i) => {
|
|
4097
|
+
a("clickTrigger", i);
|
|
4098
|
+
}, h = (i) => {
|
|
4099
|
+
a("changeTrigger", i);
|
|
4088
4100
|
};
|
|
4089
4101
|
return d2(
|
|
4090
4102
|
() => e.tabsContents,
|
|
4091
4103
|
() => {
|
|
4092
|
-
var
|
|
4093
|
-
s.value =
|
|
4104
|
+
var i;
|
|
4105
|
+
s.value = g2(e.tabsContents), r.value = (i = s.value[0]) == null ? void 0 : i.value;
|
|
4094
4106
|
},
|
|
4095
4107
|
{ deep: !0, immediate: !0 }
|
|
4096
|
-
), (
|
|
4097
|
-
const b =
|
|
4098
|
-
return v(),
|
|
4108
|
+
), (i, w) => {
|
|
4109
|
+
const b = E("el-tab-pane"), g = E("el-tabs");
|
|
4110
|
+
return v(), P(g, {
|
|
4099
4111
|
type: "card",
|
|
4100
|
-
modelValue:
|
|
4101
|
-
"onUpdate:modelValue":
|
|
4112
|
+
modelValue: r.value,
|
|
4113
|
+
"onUpdate:modelValue": w[0] || (w[0] = (d) => r.value = d),
|
|
4102
4114
|
"tab-position": e == null ? void 0 : e.tabPosition
|
|
4103
4115
|
}, {
|
|
4104
4116
|
default: S(() => [
|
|
4105
|
-
(v(!0), y(X, null, e2(s.value, (
|
|
4117
|
+
(v(!0), y(X, null, e2(s.value, (d, u) => (v(), P(b, {
|
|
4106
4118
|
key: u,
|
|
4107
|
-
name:
|
|
4119
|
+
name: d == null ? void 0 : d.value
|
|
4108
4120
|
}, {
|
|
4109
4121
|
label: S(() => {
|
|
4110
|
-
var
|
|
4122
|
+
var m;
|
|
4111
4123
|
return [
|
|
4112
|
-
|
|
4124
|
+
d != null && d.label ? (v(), y("div", {
|
|
4113
4125
|
key: 0,
|
|
4114
|
-
onDblclick: (V) => o(
|
|
4115
|
-
}, s2(
|
|
4116
|
-
|
|
4117
|
-
(v(!0), y(X, null, e2(
|
|
4118
|
-
key:
|
|
4126
|
+
onDblclick: (V) => o(d)
|
|
4127
|
+
}, s2(d == null ? void 0 : d.label), 41, D9)) : U("", !0),
|
|
4128
|
+
d != null && d.contents && ((m = d == null ? void 0 : d.contents) == null ? void 0 : m.length) > 0 ? (v(), y("div", z9, [
|
|
4129
|
+
(v(!0), y(X, null, e2(d == null ? void 0 : d.contents, (V, B) => (v(), y("div", {
|
|
4130
|
+
key: B,
|
|
4119
4131
|
class: "tabs-children"
|
|
4120
4132
|
}, [
|
|
4121
|
-
V != null && V.value || (V == null ? void 0 : V.value) === "" ? (v(),
|
|
4133
|
+
V != null && V.value || (V == null ? void 0 : V.value) === "" ? (v(), P(T2(c(V == null ? void 0 : V.type)), {
|
|
4122
4134
|
key: 0,
|
|
4123
4135
|
modelValue: V.value,
|
|
4124
4136
|
"onUpdate:modelValue": (T) => V.value = T,
|
|
@@ -4126,27 +4138,27 @@ const D9 = ["onDblclick"], z9 = {
|
|
|
4126
4138
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) : U("", !0)
|
|
4127
4139
|
]))), 128))
|
|
4128
4140
|
])) : U("", !0),
|
|
4129
|
-
|
|
4141
|
+
R(i.$slots, `${(d == null ? void 0 : d.value) ?? ""}_header`, {}, void 0, !0)
|
|
4130
4142
|
];
|
|
4131
4143
|
}),
|
|
4132
4144
|
default: S(() => [
|
|
4133
|
-
(v(!0), y(X, null, e2(
|
|
4145
|
+
(v(!0), y(X, null, e2(d == null ? void 0 : d.children, (m, V) => (v(), y("div", {
|
|
4134
4146
|
key: V,
|
|
4135
4147
|
class: "tabs-contents"
|
|
4136
4148
|
}, [
|
|
4137
|
-
|
|
4138
|
-
|
|
4149
|
+
R(i.$slots, `${(m == null ? void 0 : m.value) ?? ""}_operateButtons`, {}, void 0, !0),
|
|
4150
|
+
m != null && m.value || (m == null ? void 0 : m.value) === "" ? (v(), P(T2(c(m == null ? void 0 : m.type)), {
|
|
4139
4151
|
key: 0,
|
|
4140
|
-
modelValue:
|
|
4141
|
-
"onUpdate:modelValue": (
|
|
4142
|
-
onClickTrigger:
|
|
4152
|
+
modelValue: m.value,
|
|
4153
|
+
"onUpdate:modelValue": (B) => m.value = B,
|
|
4154
|
+
onClickTrigger: _,
|
|
4143
4155
|
onChangeTrigger: h,
|
|
4144
|
-
content:
|
|
4145
|
-
},
|
|
4156
|
+
content: m == null ? void 0 : m.content
|
|
4157
|
+
}, b2({ _: 2 }, [
|
|
4146
4158
|
name ? {
|
|
4147
4159
|
name,
|
|
4148
|
-
fn: S((
|
|
4149
|
-
|
|
4160
|
+
fn: S((B) => [
|
|
4161
|
+
R(i.$slots, name, P2({ ref_for: !0 }, B || {}), void 0, !0)
|
|
4150
4162
|
]),
|
|
4151
4163
|
key: "0"
|
|
4152
4164
|
} : void 0
|