@gonsin/gview 2.1.6 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +362 -357
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,17 +3,17 @@ var aa = (t, e, u) => e in t ? na(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var cu = (t, e, u) => (aa(t, typeof e != "symbol" ? e + "" : e, u), u);
|
|
4
4
|
import { useI18n as ge } from "gonsin-i18n";
|
|
5
5
|
import { useI18n as kr } from "gonsin-i18n";
|
|
6
|
-
import { defineComponent as ue, ref as F, computed as O, resolveComponent as W, openBlock as d, createBlock as
|
|
6
|
+
import { defineComponent as ue, ref as F, computed as O, resolveComponent as W, openBlock as d, createBlock as w, normalizeClass as G, withCtx as L, createVNode as Q, createElementVNode as J, toDisplayString as ee, unref as j, createElementBlock as $, Fragment as se, renderList as ye, createCommentVNode as K, createTextVNode as le, withModifiers as jt, nextTick as un, inject as we, normalizeStyle as Mu, normalizeProps as hu, mergeProps as Ie, guardReactiveProps as Ju, renderSlot as Fe, onMounted as Ye, onBeforeUnmount as uu, watch as Te, isRef as ia, Transition as la, createSlots as Pu, useSlots as tn, resolveDynamicComponent as on, TransitionGroup as Ma, toRefs as ra, provide as tu, reactive as kt, onBeforeMount as tt, toRaw as pt, shallowRef as sa, watchEffect as nn, defineAsyncComponent as an, createStaticVNode as ro } from "vue";
|
|
7
7
|
import { useRouter as nu, useRoute as Iu, onBeforeRouteLeave as ln, onBeforeRouteUpdate as Mn } from "vue-router";
|
|
8
8
|
import { defineStore as vu, storeToRefs as ca } from "pinia";
|
|
9
9
|
import Tu from "dayjs";
|
|
10
10
|
import so from "axios";
|
|
11
11
|
import { customAlphabet as Na } from "nanoid";
|
|
12
12
|
import Da from "nprogress";
|
|
13
|
-
import { default as
|
|
13
|
+
import { default as wr } from "nprogress";
|
|
14
14
|
import { get as ie, set as Ze, cloneDeep as be, isPlainObject as Eo, isArray as fo, isEqual as po } from "lodash-es";
|
|
15
|
-
import { MessagePlugin as ga, Button as Ta, Progress as rn, Tooltip as Ou, Link as da, Tree as ja, Card as Ia, DialogPlugin as
|
|
16
|
-
import { CloseIcon as Eu, RefreshIcon as Tt, ArrowLeftIcon as zo, ArrowRightIcon as xo, CloseCircleIcon as Co, MoreIcon as ya, DeleteIcon as ma, ViewListIcon as Ea, PoweroffIcon as fa, ChevronDownIcon as pa, Icon as Lo, AppIcon as za, UploadIcon as ho, CheckCircleFilledIcon as xa, PlayCircleFilledIcon as Ca, PauseCircleFilledIcon as La, LinkIcon as ha, ErrorCircleFilledIcon as Oa, FileImageIcon as Xu, FilePdfIcon as sn, VideoIcon as qt, FileIconIcon as Jt, FolderOpenIcon as ka, FolderIcon as
|
|
15
|
+
import { MessagePlugin as ga, Button as Ta, Progress as rn, Tooltip as Ou, Link as da, Tree as ja, Card as Ia, DialogPlugin as St, ConfigProvider as Aa } from "tdesign-vue-next";
|
|
16
|
+
import { CloseIcon as Eu, RefreshIcon as Tt, ArrowLeftIcon as zo, ArrowRightIcon as xo, CloseCircleIcon as Co, MoreIcon as ya, DeleteIcon as ma, ViewListIcon as Ea, PoweroffIcon as fa, ChevronDownIcon as pa, Icon as Lo, AppIcon as za, UploadIcon as ho, CheckCircleFilledIcon as xa, PlayCircleFilledIcon as Ca, PauseCircleFilledIcon as La, LinkIcon as ha, ErrorCircleFilledIcon as Oa, FileImageIcon as Xu, FilePdfIcon as sn, VideoIcon as qt, FileIconIcon as Jt, FolderOpenIcon as ka, FolderIcon as Sa, FilterIcon as wa, SearchIcon as va, EllipsisIcon as Ua, UserIcon as wt, BrowseIcon as Qa } from "tdesign-icons-vue-next";
|
|
17
17
|
import { useElementSize as cn, useDebounceFn as ba } from "@vueuse/core";
|
|
18
18
|
import dt from "number-precision";
|
|
19
19
|
import Nn from "qs";
|
|
@@ -26,7 +26,7 @@ function Re(t, e, u) {
|
|
|
26
26
|
n.component(e || a || o.name, t), u && n.directive(u.name, u.comp);
|
|
27
27
|
}, o;
|
|
28
28
|
}
|
|
29
|
-
const Dn = "VENUS_WEB", he = (t) => `${Dn}_${t}`, ko = he("WEBSITE_SETTING"),
|
|
29
|
+
const Dn = "VENUS_WEB", he = (t) => `${Dn}_${t}`, ko = he("WEBSITE_SETTING"), So = he("LOGIN_STATUS"), ur = he("USER"), tr = he("LOCAL_EDIFICE_INFO"), vt = he("CONFIG"), Ut = he("BASE_PERMISSIONS"), wo = he("USER_PERMISSIONS"), Qt = he("THEME_CONFIG"), Xt = he("LANG"), or = he("MENU"), Wu = he("SIDE_MENU_CONFIG"), bt = he("SIDE_MENU_WIDTH"), Yt = he("IS_SIDE_SELF_DRAGGING"), Bt = he("INIT_TAB_MENU_LIST"), Ft = he("TAB_MENU"), vo = he("TOKEN"), Uo = he("TOKEN_EXPIRED_TIME"), Qo = he("SESSION_ID"), nr = he("DATA_ID"), Gu = he("COLUMN_DATA"), eo = he("COLUMN_WIDTH_DATA"), it = he("FORM_DATA_CACHE"), Fa = {
|
|
30
30
|
brandTheme: "default",
|
|
31
31
|
// 主题色
|
|
32
32
|
displayMode: "light"
|
|
@@ -792,7 +792,7 @@ const No = vu("column", {
|
|
|
792
792
|
sideMenuMaxWidth: 300,
|
|
793
793
|
isSideSelfDragging: ce.getItem(Yt) ?? !1,
|
|
794
794
|
// 登录标志
|
|
795
|
-
isUserLogin: ce.getItem(
|
|
795
|
+
isUserLogin: ce.getItem(So) ?? !1,
|
|
796
796
|
// 用户传入GView的信息与配置
|
|
797
797
|
userConfig: ce.getItem(vt) ?? {
|
|
798
798
|
userInfo: {
|
|
@@ -813,7 +813,7 @@ const No = vu("column", {
|
|
|
813
813
|
// 基础权限数据
|
|
814
814
|
basePermission: ce.getItem(Ut) ?? [],
|
|
815
815
|
// 用户权限数据
|
|
816
|
-
userPermission: ce.getItem(
|
|
816
|
+
userPermission: ce.getItem(wo) ?? []
|
|
817
817
|
}),
|
|
818
818
|
getters: {
|
|
819
819
|
userType: (t) => t.userConfig.userInfo.userType ?? "",
|
|
@@ -881,7 +881,7 @@ const No = vu("column", {
|
|
|
881
881
|
* @description 设置用户登录状态
|
|
882
882
|
*/
|
|
883
883
|
setUserLoginStatus(t) {
|
|
884
|
-
ce.setItem(
|
|
884
|
+
ce.setItem(So, t), this.isUserLogin = t;
|
|
885
885
|
},
|
|
886
886
|
setIsSideSelfDragging(t) {
|
|
887
887
|
this.isSideSelfDragging = t, ce.setItem(Yt, t);
|
|
@@ -947,7 +947,7 @@ const No = vu("column", {
|
|
|
947
947
|
}
|
|
948
948
|
t.length && (u = u.filter(
|
|
949
949
|
(o) => t.includes(o)
|
|
950
|
-
)), this.userPermission = u, ce.setItem(
|
|
950
|
+
)), this.userPermission = u, ce.setItem(wo, u);
|
|
951
951
|
},
|
|
952
952
|
setSideMenuTree(t) {
|
|
953
953
|
var o;
|
|
@@ -1283,7 +1283,7 @@ const No = vu("column", {
|
|
|
1283
1283
|
}), Vt = "g-dialog-plugin", gi = "g-common-dialog", lt = "g-common-form", Mt = "g-common-header", Ti = "g-common-table", di = "g-board", Tr = "g-dialog", ji = "g-form", Bo = "g-form-item", dr = "g-header", Ii = "g-tab", _u = "g-table", ou = "g-layout", rt = "g-uploader", Cu = "g-login", Ai = ["title"], yi = {
|
|
1284
1284
|
key: 0,
|
|
1285
1285
|
class: "menu-item--close-button"
|
|
1286
|
-
}, mi = ["title"], Ei = ["title"], fi = ["title"], pi = ["onClick"], zi = ["title"], xi = ["title"], Ci = ["onClick"], Li = ["title"], hi = ["title"], Oi = ["title"], ki = ["title"],
|
|
1286
|
+
}, mi = ["title"], Ei = ["title"], fi = ["title"], pi = ["onClick"], zi = ["title"], xi = ["title"], Ci = ["onClick"], Li = ["title"], hi = ["title"], Oi = ["title"], ki = ["title"], Si = ["title"], wi = ["title"], vi = /* @__PURE__ */ ue({
|
|
1287
1287
|
__name: "GLayoutHeaderTab",
|
|
1288
1288
|
setup(t) {
|
|
1289
1289
|
const { T: e } = ge(), u = `${ou}__layoutHeaderTab`, o = nu(), n = Iu(), a = F(""), i = Uu(), r = ke(), M = O(() => i.tabMenuList), N = O(() => r.homeUrl), l = O(() => r.displayMode);
|
|
@@ -1358,7 +1358,7 @@ const No = vu("column", {
|
|
|
1358
1358
|
return M.value.length;
|
|
1359
1359
|
}), f = O(() => c.value > 0 ? M.value.slice(0, c.value) : []), V = O(
|
|
1360
1360
|
() => c.value > 0 ? M.value.slice(c.value) : M.value
|
|
1361
|
-
), g = O(() => V.value.map((H) => H.path)),
|
|
1361
|
+
), g = O(() => V.value.map((H) => H.path)), S = F(null), y = F(150);
|
|
1362
1362
|
F(0);
|
|
1363
1363
|
const _ = F(!1);
|
|
1364
1364
|
function B(H) {
|
|
@@ -1368,7 +1368,7 @@ const No = vu("column", {
|
|
|
1368
1368
|
}
|
|
1369
1369
|
return (H, z) => {
|
|
1370
1370
|
const v = W("t-menu-item"), h = W("t-head-menu"), U = W("t-dropdown-item"), R = W("t-dropdown-menu"), q = W("t-dropdown"), ae = W("t-divider"), ze = W("t-button"), ve = W("t-submenu");
|
|
1371
|
-
return d(),
|
|
1371
|
+
return d(), w(h, {
|
|
1372
1372
|
ref_key: "GLayoutHeaderRef",
|
|
1373
1373
|
ref: b,
|
|
1374
1374
|
class: G(`${u}`),
|
|
@@ -1392,7 +1392,7 @@ const No = vu("column", {
|
|
|
1392
1392
|
]),
|
|
1393
1393
|
_: 1
|
|
1394
1394
|
}),
|
|
1395
|
-
(d(!0), $(se, null, ye(M.value, (ne, de) => (d(),
|
|
1395
|
+
(d(!0), $(se, null, ye(M.value, (ne, de) => (d(), w(v, {
|
|
1396
1396
|
key: de,
|
|
1397
1397
|
value: ne.path
|
|
1398
1398
|
}, {
|
|
@@ -1455,7 +1455,7 @@ const No = vu("column", {
|
|
|
1455
1455
|
]),
|
|
1456
1456
|
_: 1
|
|
1457
1457
|
}, 8, ["popup-props"]),
|
|
1458
|
-
(d(!0), $(se, null, ye(f.value, (ne, de) => (d(),
|
|
1458
|
+
(d(!0), $(se, null, ye(f.value, (ne, de) => (d(), w(q, {
|
|
1459
1459
|
key: de,
|
|
1460
1460
|
trigger: "context-menu",
|
|
1461
1461
|
"min-column-width": 128,
|
|
@@ -1479,7 +1479,7 @@ const No = vu("column", {
|
|
|
1479
1479
|
]),
|
|
1480
1480
|
_: 2
|
|
1481
1481
|
}, 1032, ["onClick"]),
|
|
1482
|
-
ne.isHome ? K("", !0) : (d(),
|
|
1482
|
+
ne.isHome ? K("", !0) : (d(), w(U, {
|
|
1483
1483
|
key: 0,
|
|
1484
1484
|
onClick: () => A({ value: ne.path, index: de })
|
|
1485
1485
|
}, {
|
|
@@ -1491,7 +1491,7 @@ const No = vu("column", {
|
|
|
1491
1491
|
]),
|
|
1492
1492
|
_: 2
|
|
1493
1493
|
}, 1032, ["onClick"])),
|
|
1494
|
-
de > 0 ? (d(),
|
|
1494
|
+
de > 0 ? (d(), w(U, {
|
|
1495
1495
|
key: 1,
|
|
1496
1496
|
onClick: () => x(ne.path, de)
|
|
1497
1497
|
}, {
|
|
@@ -1503,7 +1503,7 @@ const No = vu("column", {
|
|
|
1503
1503
|
]),
|
|
1504
1504
|
_: 2
|
|
1505
1505
|
}, 1032, ["onClick"])) : K("", !0),
|
|
1506
|
-
de < M.value.length - 1 ? (d(),
|
|
1506
|
+
de < M.value.length - 1 ? (d(), w(U, {
|
|
1507
1507
|
key: 2,
|
|
1508
1508
|
onClick: () => P(ne.path, de)
|
|
1509
1509
|
}, {
|
|
@@ -1515,7 +1515,7 @@ const No = vu("column", {
|
|
|
1515
1515
|
]),
|
|
1516
1516
|
_: 2
|
|
1517
1517
|
}, 1032, ["onClick"])) : K("", !0),
|
|
1518
|
-
M.value.length > 1 ? (d(),
|
|
1518
|
+
M.value.length > 1 ? (d(), w(U, {
|
|
1519
1519
|
key: 3,
|
|
1520
1520
|
onClick: () => k(ne.path, de)
|
|
1521
1521
|
}, {
|
|
@@ -1562,7 +1562,7 @@ const No = vu("column", {
|
|
|
1562
1562
|
]),
|
|
1563
1563
|
_: 2
|
|
1564
1564
|
}, 1032, ["popup-props"]))), 128)),
|
|
1565
|
-
V.value && V.value.length ? (d(),
|
|
1565
|
+
V.value && V.value.length ? (d(), w(ve, {
|
|
1566
1566
|
key: 0,
|
|
1567
1567
|
popupProps: {
|
|
1568
1568
|
trigger: "click",
|
|
@@ -1581,7 +1581,7 @@ const No = vu("column", {
|
|
|
1581
1581
|
(d(!0), $(se, null, ye(V.value, (ne, de) => (d(), $("div", {
|
|
1582
1582
|
ref_for: !0,
|
|
1583
1583
|
ref_key: "omittedMenuRef",
|
|
1584
|
-
ref:
|
|
1584
|
+
ref: S,
|
|
1585
1585
|
key: de
|
|
1586
1586
|
}, [
|
|
1587
1587
|
Q(q, {
|
|
@@ -1609,7 +1609,7 @@ const No = vu("column", {
|
|
|
1609
1609
|
]),
|
|
1610
1610
|
_: 2
|
|
1611
1611
|
}, 1032, ["onClick"]),
|
|
1612
|
-
ne.isHome ? K("", !0) : (d(),
|
|
1612
|
+
ne.isHome ? K("", !0) : (d(), w(U, {
|
|
1613
1613
|
key: 0,
|
|
1614
1614
|
onClick: () => A({
|
|
1615
1615
|
value: ne.path,
|
|
@@ -1626,7 +1626,7 @@ const No = vu("column", {
|
|
|
1626
1626
|
]),
|
|
1627
1627
|
_: 2
|
|
1628
1628
|
}, 1032, ["onClick"])),
|
|
1629
|
-
f.value.length + de > 0 ? (d(),
|
|
1629
|
+
f.value.length + de > 0 ? (d(), w(U, {
|
|
1630
1630
|
key: 1,
|
|
1631
1631
|
onClick: () => x(
|
|
1632
1632
|
ne.path,
|
|
@@ -1643,7 +1643,7 @@ const No = vu("column", {
|
|
|
1643
1643
|
]),
|
|
1644
1644
|
_: 2
|
|
1645
1645
|
}, 1032, ["onClick"])) : K("", !0),
|
|
1646
|
-
f.value.length + de >= 0 && de < M.value.length ? (d(),
|
|
1646
|
+
f.value.length + de >= 0 && de < M.value.length ? (d(), w(U, {
|
|
1647
1647
|
key: 2,
|
|
1648
1648
|
onClick: () => P(
|
|
1649
1649
|
ne.path,
|
|
@@ -1660,7 +1660,7 @@ const No = vu("column", {
|
|
|
1660
1660
|
]),
|
|
1661
1661
|
_: 2
|
|
1662
1662
|
}, 1032, ["onClick"])) : K("", !0),
|
|
1663
|
-
f.value.length + de > 0 && M.value.length > 2 ? (d(),
|
|
1663
|
+
f.value.length + de > 0 && M.value.length > 2 ? (d(), w(U, {
|
|
1664
1664
|
key: 3,
|
|
1665
1665
|
onClick: () => k(
|
|
1666
1666
|
ne.path,
|
|
@@ -1673,7 +1673,7 @@ const No = vu("column", {
|
|
|
1673
1673
|
}, [
|
|
1674
1674
|
Q(j(Co)),
|
|
1675
1675
|
le(" " + ee(j(e).t("关闭其他")), 1)
|
|
1676
|
-
], 8,
|
|
1676
|
+
], 8, Si)
|
|
1677
1677
|
]),
|
|
1678
1678
|
_: 2
|
|
1679
1679
|
}, 1032, ["onClick"])) : K("", !0)
|
|
@@ -1725,7 +1725,7 @@ const No = vu("column", {
|
|
|
1725
1725
|
}, [
|
|
1726
1726
|
Q(j(ma)),
|
|
1727
1727
|
le(" " + ee(j(e).t("全部清空")), 1)
|
|
1728
|
-
], 8,
|
|
1728
|
+
], 8, wi)
|
|
1729
1729
|
]),
|
|
1730
1730
|
_: 1
|
|
1731
1731
|
})
|
|
@@ -1785,7 +1785,7 @@ function Ri(t, e) {
|
|
|
1785
1785
|
const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
1786
1786
|
__name: "GLayoutHeader",
|
|
1787
1787
|
setup(t) {
|
|
1788
|
-
const { T: e } = ge(), u = `${ou}__header`, o = nu(), n = ke(), a =
|
|
1788
|
+
const { T: e } = ge(), u = `${ou}__header`, o = nu(), n = ke(), a = we(no, null), i = a == null ? void 0 : a.GLayoutHeaderOperationsRef, r = a == null ? void 0 : a.GLayoutHeaderConfigRef, M = a == null ? void 0 : a.SideMenuConfigRef, N = O(() => n.userType), l = O(() => {
|
|
1789
1789
|
if ((N.value ?? "") != "")
|
|
1790
1790
|
switch (N.value) {
|
|
1791
1791
|
case "normal":
|
|
@@ -1816,8 +1816,8 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
1816
1816
|
}, 500);
|
|
1817
1817
|
}
|
|
1818
1818
|
return (p, c) => {
|
|
1819
|
-
const f = W("t-button"), V = W("t-icon"), g = W("t-badge"),
|
|
1820
|
-
return d(),
|
|
1819
|
+
const f = W("t-button"), V = W("t-icon"), g = W("t-badge"), S = W("t-popup"), y = W("t-dropdown-item"), _ = W("t-dropdown-menu"), B = W("t-dropdown"), H = W("t-head-menu"), z = W("t-header");
|
|
1820
|
+
return d(), w(z, {
|
|
1821
1821
|
class: G(u),
|
|
1822
1822
|
onMouseleave: T
|
|
1823
1823
|
}, {
|
|
@@ -1838,7 +1838,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
1838
1838
|
J("div", {
|
|
1839
1839
|
class: G(`${u}--collapse-button`)
|
|
1840
1840
|
}, [
|
|
1841
|
-
(v = j(M)) != null && v.enableSideMenu ? (d(),
|
|
1841
|
+
(v = j(M)) != null && v.enableSideMenu ? (d(), w(f, {
|
|
1842
1842
|
key: 0,
|
|
1843
1843
|
theme: "default",
|
|
1844
1844
|
shape: "square",
|
|
@@ -1846,10 +1846,10 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
1846
1846
|
onClick: P
|
|
1847
1847
|
}, {
|
|
1848
1848
|
default: L(() => [
|
|
1849
|
-
x.value ? (d(),
|
|
1849
|
+
x.value ? (d(), w(j(Eu), {
|
|
1850
1850
|
key: 1,
|
|
1851
1851
|
size: "large"
|
|
1852
|
-
})) : (d(),
|
|
1852
|
+
})) : (d(), w(j(Ea), {
|
|
1853
1853
|
key: 0,
|
|
1854
1854
|
size: "large"
|
|
1855
1855
|
}))
|
|
@@ -1866,7 +1866,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
1866
1866
|
class: G(`${u}--operations`)
|
|
1867
1867
|
}, [
|
|
1868
1868
|
(d(!0), $(se, null, ye(j(i), (h, U) => (d(), $(se, { key: U }, [
|
|
1869
|
-
h != null && h.isPopup ? (d(), S
|
|
1869
|
+
h != null && h.isPopup ? (d(), w(S, hu(Ie({ key: 0 }, h == null ? void 0 : h.popupProps)), {
|
|
1870
1870
|
default: L(() => [
|
|
1871
1871
|
Q(g, hu(Ju(h == null ? void 0 : h.badgeProps)), {
|
|
1872
1872
|
default: L(() => [
|
|
@@ -1899,7 +1899,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
1899
1899
|
];
|
|
1900
1900
|
}),
|
|
1901
1901
|
default: L(() => [
|
|
1902
|
-
h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(),
|
|
1902
|
+
h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(), w(V, {
|
|
1903
1903
|
key: 0,
|
|
1904
1904
|
name: h.iconName
|
|
1905
1905
|
}, null, 8, ["name"])) : K("", !0),
|
|
@@ -1912,7 +1912,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
1912
1912
|
}, 1040)
|
|
1913
1913
|
]),
|
|
1914
1914
|
_: 2
|
|
1915
|
-
}, 1040)) : (d(),
|
|
1915
|
+
}, 1040)) : (d(), w(g, hu(Ie({ key: 1 }, h == null ? void 0 : h.badgeProps)), {
|
|
1916
1916
|
default: L(() => [
|
|
1917
1917
|
Q(f, Ie({
|
|
1918
1918
|
theme: "default",
|
|
@@ -1943,7 +1943,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
1943
1943
|
];
|
|
1944
1944
|
}),
|
|
1945
1945
|
default: L(() => [
|
|
1946
|
-
h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(),
|
|
1946
|
+
h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(), w(V, {
|
|
1947
1947
|
key: 0,
|
|
1948
1948
|
name: h.iconName
|
|
1949
1949
|
}, null, 8, ["name"])) : K("", !0),
|
|
@@ -2039,7 +2039,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
2039
2039
|
const e = ke(), u = O(() => e.isSideMenuCollapse), o = O(() => e.sideMenuWidth);
|
|
2040
2040
|
return (n, a) => {
|
|
2041
2041
|
const i = W("t-content"), r = W("t-layout");
|
|
2042
|
-
return d(),
|
|
2042
|
+
return d(), w(r, {
|
|
2043
2043
|
class: G(`${j(ou)}`)
|
|
2044
2044
|
}, {
|
|
2045
2045
|
default: L(() => [
|
|
@@ -2082,18 +2082,18 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
|
|
|
2082
2082
|
return a.startsWith("g-");
|
|
2083
2083
|
}
|
|
2084
2084
|
return (a, i) => o.value !== "" ? (d(), $(se, { key: 0 }, [
|
|
2085
|
-
n(o.value) ? (d(),
|
|
2085
|
+
n(o.value) ? (d(), w(j(Lo), {
|
|
2086
2086
|
key: 0,
|
|
2087
2087
|
url: j(e),
|
|
2088
2088
|
name: o.value,
|
|
2089
2089
|
size: "large",
|
|
2090
2090
|
class: "g-icon"
|
|
2091
|
-
}, null, 8, ["url", "name"])) : (d(),
|
|
2091
|
+
}, null, 8, ["url", "name"])) : (d(), w(j(Lo), {
|
|
2092
2092
|
key: 1,
|
|
2093
2093
|
name: o.value,
|
|
2094
2094
|
size: "large"
|
|
2095
2095
|
}, null, 8, ["name"]))
|
|
2096
|
-
], 64)) : (d(),
|
|
2096
|
+
], 64)) : (d(), w(j(za), {
|
|
2097
2097
|
key: 1,
|
|
2098
2098
|
size: "large"
|
|
2099
2099
|
}));
|
|
@@ -2139,7 +2139,7 @@ const au = (t, e) => {
|
|
|
2139
2139
|
class: G(`${e}`),
|
|
2140
2140
|
key: l.name
|
|
2141
2141
|
}, [
|
|
2142
|
-
!l.children || !l.children.length ? (d(),
|
|
2142
|
+
!l.children || !l.children.length ? (d(), w(r, {
|
|
2143
2143
|
class: G(`${e}--level${l.level}`),
|
|
2144
2144
|
name: l.path,
|
|
2145
2145
|
value: l.path,
|
|
@@ -2147,7 +2147,7 @@ const au = (t, e) => {
|
|
|
2147
2147
|
onClick: (s) => n(l.path)
|
|
2148
2148
|
}, {
|
|
2149
2149
|
icon: L(() => [
|
|
2150
|
-
l.level == 1 ? (d(),
|
|
2150
|
+
l.level == 1 ? (d(), w(yt, {
|
|
2151
2151
|
key: 0,
|
|
2152
2152
|
title: l.title,
|
|
2153
2153
|
icon: l.icon
|
|
@@ -2157,7 +2157,7 @@ const au = (t, e) => {
|
|
|
2157
2157
|
Q(At, { item: l }, null, 8, ["item"])
|
|
2158
2158
|
]),
|
|
2159
2159
|
_: 2
|
|
2160
|
-
}, 1032, ["class", "name", "value", "onClick"])) : (d(),
|
|
2160
|
+
}, 1032, ["class", "name", "value", "onClick"])) : (d(), w(N, {
|
|
2161
2161
|
class: G(`${e}--level${l.level}`),
|
|
2162
2162
|
name: l.name,
|
|
2163
2163
|
value: l.name,
|
|
@@ -2167,7 +2167,7 @@ const au = (t, e) => {
|
|
|
2167
2167
|
}
|
|
2168
2168
|
}, {
|
|
2169
2169
|
icon: L(() => [
|
|
2170
|
-
l.level == 1 ? (d(),
|
|
2170
|
+
l.level == 1 ? (d(), w(yt, {
|
|
2171
2171
|
key: 0,
|
|
2172
2172
|
title: l.title,
|
|
2173
2173
|
icon: l.icon
|
|
@@ -2177,7 +2177,7 @@ const au = (t, e) => {
|
|
|
2177
2177
|
Q(At, { item: l }, null, 8, ["item"])
|
|
2178
2178
|
]),
|
|
2179
2179
|
default: L(() => [
|
|
2180
|
-
l.children ? (d(),
|
|
2180
|
+
l.children ? (d(), w(M, {
|
|
2181
2181
|
sideMenuTree: l.children,
|
|
2182
2182
|
key: l.name
|
|
2183
2183
|
}, null, 8, ["sideMenuTree"])) : K("", !0)
|
|
@@ -2241,7 +2241,7 @@ const au = (t, e) => {
|
|
|
2241
2241
|
const k = O(() => r.value <= 80);
|
|
2242
2242
|
return (m, C) => {
|
|
2243
2243
|
const E = W("t-menu"), b = W("t-drawer");
|
|
2244
|
-
return d(),
|
|
2244
|
+
return d(), w(b, {
|
|
2245
2245
|
class: G(`${e}`),
|
|
2246
2246
|
size: `${r.value}px`,
|
|
2247
2247
|
placement: "left",
|
|
@@ -2434,7 +2434,7 @@ const au = (t, e) => {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
return (l, s) => {
|
|
2436
2436
|
const D = W("t-radio-button"), A = W("t-radio-group"), I = W("t-drawer");
|
|
2437
|
-
return d(),
|
|
2437
|
+
return d(), w(I, {
|
|
2438
2438
|
class: G(`${u}`),
|
|
2439
2439
|
visible: r.value,
|
|
2440
2440
|
"onUpdate:visible": s[2] || (s[2] = (x) => r.value = x),
|
|
@@ -2463,7 +2463,7 @@ const au = (t, e) => {
|
|
|
2463
2463
|
}, {
|
|
2464
2464
|
default: L(() => [
|
|
2465
2465
|
(d(!0), $(se, null, ye(n.slice(0, n.length - 1), (x, P) => (d(), $("div", { key: P }, [
|
|
2466
|
-
(d(),
|
|
2466
|
+
(d(), w(D, {
|
|
2467
2467
|
key: P,
|
|
2468
2468
|
value: x,
|
|
2469
2469
|
class: G(`${u}--container-color-group`)
|
|
@@ -2491,7 +2491,7 @@ const au = (t, e) => {
|
|
|
2491
2491
|
}, {
|
|
2492
2492
|
default: L(() => [
|
|
2493
2493
|
(d(), $(se, null, ye(a, (x, P) => J("div", { key: P }, [
|
|
2494
|
-
(d(),
|
|
2494
|
+
(d(), w(D, {
|
|
2495
2495
|
key: P,
|
|
2496
2496
|
value: x.type
|
|
2497
2497
|
}, {
|
|
@@ -2512,7 +2512,7 @@ const au = (t, e) => {
|
|
|
2512
2512
|
}
|
|
2513
2513
|
}), e4 = {};
|
|
2514
2514
|
function u4(t, e) {
|
|
2515
|
-
return d(),
|
|
2515
|
+
return d(), w(la, {
|
|
2516
2516
|
name: "scale",
|
|
2517
2517
|
mode: "out-in",
|
|
2518
2518
|
appear: ""
|
|
@@ -2552,8 +2552,8 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
|
|
|
2552
2552
|
return;
|
|
2553
2553
|
const T = o.value.$el.querySelectorAll(".t-menu__content"), p = Array.from(T).map((f) => {
|
|
2554
2554
|
var y, _;
|
|
2555
|
-
const V = parseInt(getComputedStyle(f.parentElement).paddingLeft), g = ((y = f.parentElement.querySelector(".t-icon")) == null ? void 0 : y.clientWidth) || 0,
|
|
2556
|
-
return f.clientWidth + V + g +
|
|
2555
|
+
const V = parseInt(getComputedStyle(f.parentElement).paddingLeft), g = ((y = f.parentElement.querySelector(".t-icon")) == null ? void 0 : y.clientWidth) || 0, S = ((_ = f.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : _.clientWidth) || 0;
|
|
2556
|
+
return f.clientWidth + V + g + S + 30;
|
|
2557
2557
|
}).filter(Boolean);
|
|
2558
2558
|
r.value = Math.max(u.level === 1 ? 232 : 150, ...p);
|
|
2559
2559
|
}, 150), k = (T) => {
|
|
@@ -2582,7 +2582,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
|
|
|
2582
2582
|
}
|
|
2583
2583
|
});
|
|
2584
2584
|
return (T, p) => {
|
|
2585
|
-
const c = W("t-menu-item"), f = W("t-submenu"), V = W("t-menu"), g = W("t-drawer"),
|
|
2585
|
+
const c = W("t-menu-item"), f = W("t-submenu"), V = W("t-menu"), g = W("t-drawer"), S = W("GLayoutSideHoverMenuItem", !0);
|
|
2586
2586
|
return d(), $(se, null, [
|
|
2587
2587
|
Q(g, {
|
|
2588
2588
|
class: G([s, E.value ? "" : "no-transition"]),
|
|
@@ -2612,7 +2612,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
|
|
|
2612
2612
|
return d(), $(se, {
|
|
2613
2613
|
key: y.name
|
|
2614
2614
|
}, [
|
|
2615
|
-
(_ = y.children) != null && _.length ? (d(),
|
|
2615
|
+
(_ = y.children) != null && _.length ? (d(), w(f, {
|
|
2616
2616
|
key: 1,
|
|
2617
2617
|
class: G(I(y)),
|
|
2618
2618
|
name: y.name,
|
|
@@ -2637,7 +2637,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
|
|
|
2637
2637
|
]),
|
|
2638
2638
|
key: "0"
|
|
2639
2639
|
} : void 0
|
|
2640
|
-
]), 1032, ["class", "name", "value", "popup-props", "onMouseenter"])) : (d(),
|
|
2640
|
+
]), 1032, ["class", "name", "value", "popup-props", "onMouseenter"])) : (d(), w(c, {
|
|
2641
2641
|
key: 0,
|
|
2642
2642
|
class: G(A(y)),
|
|
2643
2643
|
name: y.path,
|
|
@@ -2668,7 +2668,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
|
|
|
2668
2668
|
]),
|
|
2669
2669
|
_: 1
|
|
2670
2670
|
}, 8, ["class", "size", "visible", "zIndex", "style"]),
|
|
2671
|
-
i.value.length ? (d(), S
|
|
2671
|
+
i.value.length ? (d(), w(S, {
|
|
2672
2672
|
key: N.value,
|
|
2673
2673
|
"menu-items": i.value,
|
|
2674
2674
|
level: T.level + 1,
|
|
@@ -2762,7 +2762,7 @@ const a4 = /* @__PURE__ */ ue({
|
|
|
2762
2762
|
default: L(() => [
|
|
2763
2763
|
Q(t4, null, {
|
|
2764
2764
|
default: L(() => [
|
|
2765
|
-
(d(),
|
|
2765
|
+
(d(), w(a, {
|
|
2766
2766
|
key: `${o.title}}`,
|
|
2767
2767
|
class: G(`${u}`),
|
|
2768
2768
|
bordered: !1,
|
|
@@ -2798,7 +2798,7 @@ const a4 = /* @__PURE__ */ ue({
|
|
|
2798
2798
|
title: {}
|
|
2799
2799
|
},
|
|
2800
2800
|
setup(t) {
|
|
2801
|
-
return (e, u) => (d(),
|
|
2801
|
+
return (e, u) => (d(), w(a4, { title: e.title }, {
|
|
2802
2802
|
default: L(() => [
|
|
2803
2803
|
Fe(e.$slots, "default")
|
|
2804
2804
|
]),
|
|
@@ -2814,7 +2814,7 @@ const To = Re(i4), zn = /* @__PURE__ */ ue({
|
|
|
2814
2814
|
setup(t) {
|
|
2815
2815
|
return (e, u) => {
|
|
2816
2816
|
const o = W("t-dialog");
|
|
2817
|
-
return d(),
|
|
2817
|
+
return d(), w(o, Ie({
|
|
2818
2818
|
class: j(gi),
|
|
2819
2819
|
placement: "center"
|
|
2820
2820
|
}, e.commonDialogProps), Pu({ _: 2 }, [
|
|
@@ -2925,7 +2925,7 @@ const Ar = Re(r4), s4 = /* @__PURE__ */ ue({
|
|
|
2925
2925
|
return d(), $("div", {
|
|
2926
2926
|
class: G(`${j(Ti)}`)
|
|
2927
2927
|
}, [
|
|
2928
|
-
n.tableType === "base" ? (d(),
|
|
2928
|
+
n.tableType === "base" ? (d(), w(i, Ie({
|
|
2929
2929
|
key: 0,
|
|
2930
2930
|
ref_key: "tTableRef",
|
|
2931
2931
|
ref: u
|
|
@@ -2936,7 +2936,7 @@ const Ar = Re(r4), s4 = /* @__PURE__ */ ue({
|
|
|
2936
2936
|
Fe(n.$slots, l, hu(Ju({ ...s })))
|
|
2937
2937
|
])
|
|
2938
2938
|
}))
|
|
2939
|
-
]), 1040)) : n.tableType == "primary" ? (d(),
|
|
2939
|
+
]), 1040)) : n.tableType == "primary" ? (d(), w(r, Ie({
|
|
2940
2940
|
key: 1,
|
|
2941
2941
|
ref_key: "tTableRef",
|
|
2942
2942
|
ref: u
|
|
@@ -2947,7 +2947,7 @@ const Ar = Re(r4), s4 = /* @__PURE__ */ ue({
|
|
|
2947
2947
|
Fe(n.$slots, l, hu(Ju({ ...s })))
|
|
2948
2948
|
])
|
|
2949
2949
|
}))
|
|
2950
|
-
]), 1040)) : n.tableType === "enhanced" ? (d(),
|
|
2950
|
+
]), 1040)) : n.tableType === "enhanced" ? (d(), w(M, Ie({
|
|
2951
2951
|
key: 2,
|
|
2952
2952
|
ref_key: "tTableRef",
|
|
2953
2953
|
ref: u
|
|
@@ -3023,7 +3023,7 @@ const Zu = (t) => {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
function E(T, p) {
|
|
3025
3025
|
let c = 0, f = 0, V = !1, g = [];
|
|
3026
|
-
const
|
|
3026
|
+
const S = T.length, y = async () => {
|
|
3027
3027
|
if (V)
|
|
3028
3028
|
return;
|
|
3029
3029
|
const B = T.shift();
|
|
@@ -3039,7 +3039,7 @@ const Zu = (t) => {
|
|
|
3039
3039
|
D(Zu(z));
|
|
3040
3040
|
return;
|
|
3041
3041
|
}
|
|
3042
|
-
if (c ==
|
|
3042
|
+
if (c == S - 1) {
|
|
3043
3043
|
const v = g.map((h) => Zu(h));
|
|
3044
3044
|
s(v);
|
|
3045
3045
|
} else
|
|
@@ -3048,7 +3048,7 @@ const Zu = (t) => {
|
|
|
3048
3048
|
for (const v of Object.keys(o))
|
|
3049
3049
|
z.setRequestHeader(v, o[v]);
|
|
3050
3050
|
z.setRequestHeader("lang", k), z.send(B), g.push(z);
|
|
3051
|
-
} else if (c ===
|
|
3051
|
+
} else if (c === S) {
|
|
3052
3052
|
const H = g.map((z) => Zu(z));
|
|
3053
3053
|
s(H);
|
|
3054
3054
|
}
|
|
@@ -3064,7 +3064,7 @@ const Zu = (t) => {
|
|
|
3064
3064
|
T.push(V);
|
|
3065
3065
|
}
|
|
3066
3066
|
const p = T == null ? void 0 : T.map((f, V) => {
|
|
3067
|
-
const g = new FormData(),
|
|
3067
|
+
const g = new FormData(), S = {
|
|
3068
3068
|
key: r,
|
|
3069
3069
|
end: V == T.length - 1,
|
|
3070
3070
|
index: V,
|
|
@@ -3073,8 +3073,8 @@ const Zu = (t) => {
|
|
|
3073
3073
|
if (I)
|
|
3074
3074
|
for (const y of Object.keys(I))
|
|
3075
3075
|
g.append(y, I[y]);
|
|
3076
|
-
for (const y of Object.keys(
|
|
3077
|
-
g.append(y,
|
|
3076
|
+
for (const y of Object.keys(S))
|
|
3077
|
+
g.append(y, S[y]);
|
|
3078
3078
|
return g;
|
|
3079
3079
|
});
|
|
3080
3080
|
let c = [];
|
|
@@ -3202,7 +3202,7 @@ const Zu = (t) => {
|
|
|
3202
3202
|
}
|
|
3203
3203
|
},
|
|
3204
3204
|
setup(t) {
|
|
3205
|
-
const e =
|
|
3205
|
+
const e = we(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}__button`), o = O(() => [
|
|
3206
3206
|
u.value,
|
|
3207
3207
|
{
|
|
3208
3208
|
[`${u.value}-disabled`]: n.disabled,
|
|
@@ -3258,10 +3258,10 @@ const Zu = (t) => {
|
|
|
3258
3258
|
var A;
|
|
3259
3259
|
return [
|
|
3260
3260
|
(A = j(e)) != null && A.showButtonProgress ? (d(), $(se, { key: 0 }, [
|
|
3261
|
-
N.value == "normal" ? (d(),
|
|
3261
|
+
N.value == "normal" ? (d(), w(j(ho), {
|
|
3262
3262
|
key: 0,
|
|
3263
3263
|
size: "14"
|
|
3264
|
-
})) : (d(),
|
|
3264
|
+
})) : (d(), w(j(rn), {
|
|
3265
3265
|
key: 1,
|
|
3266
3266
|
percentage: l.value,
|
|
3267
3267
|
label: !1,
|
|
@@ -3270,7 +3270,7 @@ const Zu = (t) => {
|
|
|
3270
3270
|
theme: "circle",
|
|
3271
3271
|
style: { marginRight: "5px" }
|
|
3272
3272
|
}, null, 8, ["percentage"]))
|
|
3273
|
-
], 64)) : (d(),
|
|
3273
|
+
], 64)) : (d(), w(j(ho), {
|
|
3274
3274
|
key: 1,
|
|
3275
3275
|
size: "14"
|
|
3276
3276
|
}))
|
|
@@ -3297,7 +3297,7 @@ const Zu = (t) => {
|
|
|
3297
3297
|
}
|
|
3298
3298
|
},
|
|
3299
3299
|
setup(t) {
|
|
3300
|
-
const { T: e } = ge(), u =
|
|
3300
|
+
const { T: e } = ge(), u = we(bu, void 0), n = `${O(() => `${u == null ? void 0 : u.uploaderClass}`).value}__progress`, a = (r) => `${Math.round(r * 1e4) / 100}%`, i = (r) => Math.round(r * 1e4) / 100;
|
|
3301
3301
|
return (r, M) => {
|
|
3302
3302
|
var N, l, s, D, A, I;
|
|
3303
3303
|
return d(), $("span", {
|
|
@@ -3333,7 +3333,7 @@ const Zu = (t) => {
|
|
|
3333
3333
|
default: L(() => {
|
|
3334
3334
|
var x;
|
|
3335
3335
|
return [
|
|
3336
|
-
(x = j(u)) != null && x.showRetryButton ? (d(),
|
|
3336
|
+
(x = j(u)) != null && x.showRetryButton ? (d(), w(j(Tt), { key: 0 })) : K("", !0)
|
|
3337
3337
|
];
|
|
3338
3338
|
}),
|
|
3339
3339
|
_: 1
|
|
@@ -3343,7 +3343,7 @@ const Zu = (t) => {
|
|
|
3343
3343
|
class: G([(A = j(u)) == null ? void 0 : A.iconClass, `${(I = j(u)) == null ? void 0 : I.iconClass}-success`])
|
|
3344
3344
|
}, [
|
|
3345
3345
|
Q(j(xa))
|
|
3346
|
-
], 2)) : t.file.status == "init" ? (d(),
|
|
3346
|
+
], 2)) : t.file.status == "init" ? (d(), w(j(Ou), {
|
|
3347
3347
|
key: 3,
|
|
3348
3348
|
content: j(e).t("开始上传"),
|
|
3349
3349
|
placement: "mouse",
|
|
@@ -3365,7 +3365,7 @@ const Zu = (t) => {
|
|
|
3365
3365
|
];
|
|
3366
3366
|
}),
|
|
3367
3367
|
_: 1
|
|
3368
|
-
}, 8, ["content"])) : (d(),
|
|
3368
|
+
}, 8, ["content"])) : (d(), w(j(Ou), {
|
|
3369
3369
|
key: 4,
|
|
3370
3370
|
content: j(e).t("暂停上传"),
|
|
3371
3371
|
placement: "mouse",
|
|
@@ -3400,7 +3400,7 @@ const Zu = (t) => {
|
|
|
3400
3400
|
}
|
|
3401
3401
|
},
|
|
3402
3402
|
setup(t) {
|
|
3403
|
-
const { T: e } = ge(), u =
|
|
3403
|
+
const { T: e } = ge(), u = we(bu, void 0), n = `${O(() => `${u == null ? void 0 : u.uploaderClass}`).value}__operations`;
|
|
3404
3404
|
function a(i) {
|
|
3405
3405
|
i.url && window.open(i.url, "_blank");
|
|
3406
3406
|
}
|
|
@@ -3409,7 +3409,7 @@ const Zu = (t) => {
|
|
|
3409
3409
|
return d(), $("div", {
|
|
3410
3410
|
class: G(n)
|
|
3411
3411
|
}, [
|
|
3412
|
-
t.file.url ? (d(),
|
|
3412
|
+
t.file.url ? (d(), w(j(Ou), {
|
|
3413
3413
|
key: 0,
|
|
3414
3414
|
content: j(e).t("打开文件"),
|
|
3415
3415
|
placement: "mouse",
|
|
@@ -3429,7 +3429,7 @@ const Zu = (t) => {
|
|
|
3429
3429
|
}),
|
|
3430
3430
|
_: 1
|
|
3431
3431
|
}, 8, ["content"])) : K("", !0),
|
|
3432
|
-
t.file.status == "error" ? (d(),
|
|
3432
|
+
t.file.status == "error" ? (d(), w(j(Ou), {
|
|
3433
3433
|
key: 1,
|
|
3434
3434
|
content: j(e).t("上传出错"),
|
|
3435
3435
|
placement: "mouse",
|
|
@@ -3489,7 +3489,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3489
3489
|
}
|
|
3490
3490
|
},
|
|
3491
3491
|
setup(t) {
|
|
3492
|
-
const e =
|
|
3492
|
+
const e = we(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}`), n = `${`${u.value}__list`}-item`, a = t, i = O(() => {
|
|
3493
3493
|
var N;
|
|
3494
3494
|
let M = "";
|
|
3495
3495
|
if (a.file.file && a.file.file.type)
|
|
@@ -3515,7 +3515,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3515
3515
|
key: 0,
|
|
3516
3516
|
class: G(`${u.value}--icon ${n}-file-icon`)
|
|
3517
3517
|
}, [
|
|
3518
|
-
(d(),
|
|
3518
|
+
(d(), w(on(i.value)))
|
|
3519
3519
|
], 2)) : K("", !0),
|
|
3520
3520
|
Q(j(Ou), {
|
|
3521
3521
|
content: t.file.filename,
|
|
@@ -3526,7 +3526,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3526
3526
|
default: L(() => {
|
|
3527
3527
|
var s;
|
|
3528
3528
|
return [
|
|
3529
|
-
(s = j(e)) != null && s.showLink && a.file.url ? (d(),
|
|
3529
|
+
(s = j(e)) != null && s.showLink && a.file.url ? (d(), w(j(da), {
|
|
3530
3530
|
key: 0,
|
|
3531
3531
|
class: G(`${n}-name-text`),
|
|
3532
3532
|
theme: "primary",
|
|
@@ -3566,16 +3566,16 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3566
3566
|
}
|
|
3567
3567
|
},
|
|
3568
3568
|
setup(t) {
|
|
3569
|
-
const e =
|
|
3569
|
+
const e = we(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}`), o = O(() => [
|
|
3570
3570
|
`${u.value}__list`,
|
|
3571
3571
|
`${u.value}__list--type-${n.listType}`
|
|
3572
3572
|
]), n = t;
|
|
3573
|
-
return (a, i) => (d(),
|
|
3573
|
+
return (a, i) => (d(), w(Ma, {
|
|
3574
3574
|
tag: "div",
|
|
3575
3575
|
class: G(o.value)
|
|
3576
3576
|
}, {
|
|
3577
3577
|
default: L(() => [
|
|
3578
|
-
(d(!0), $(se, null, ye(t.fileList, (r, M) => (d(),
|
|
3578
|
+
(d(!0), $(se, null, ye(t.fileList, (r, M) => (d(), w(m4, {
|
|
3579
3579
|
key: `fileItem-${M}`,
|
|
3580
3580
|
file: r,
|
|
3581
3581
|
listType: t.listType
|
|
@@ -3593,11 +3593,11 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3593
3593
|
}
|
|
3594
3594
|
},
|
|
3595
3595
|
setup(t) {
|
|
3596
|
-
const e =
|
|
3596
|
+
const e = we(bu, void 0), o = `${O(() => `${e == null ? void 0 : e.uploaderClass}`).value}`, n = O(() => [`${o}__tree`]), a = t, i = (M, N) => {
|
|
3597
3597
|
var s;
|
|
3598
3598
|
let l = null;
|
|
3599
3599
|
if (N.getChildren())
|
|
3600
|
-
N.expanded ? l = ka : l =
|
|
3600
|
+
N.expanded ? l = ka : l = Sa;
|
|
3601
3601
|
else if (N.data.filename) {
|
|
3602
3602
|
let D = "";
|
|
3603
3603
|
if (N.data.type)
|
|
@@ -3613,7 +3613,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3613
3613
|
}, r = O(() => a.fileTree.childFiles);
|
|
3614
3614
|
return (M, N) => {
|
|
3615
3615
|
var l, s;
|
|
3616
|
-
return t.fileTree && ((s = (l = t.fileTree) == null ? void 0 : l.childFiles) != null && s.length) ? (d(),
|
|
3616
|
+
return t.fileTree && ((s = (l = t.fileTree) == null ? void 0 : l.childFiles) != null && s.length) ? (d(), w(j(ja), {
|
|
3617
3617
|
key: 0,
|
|
3618
3618
|
hover: "",
|
|
3619
3619
|
icon: i,
|
|
@@ -3625,7 +3625,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3625
3625
|
keys: { value: "fileId", label: "filename", children: "childFiles" }
|
|
3626
3626
|
}, {
|
|
3627
3627
|
operations: L(({ node: D }) => [
|
|
3628
|
-
D.data.fileUploadType == "file" ? (d(),
|
|
3628
|
+
D.data.fileUploadType == "file" ? (d(), w(hn, {
|
|
3629
3629
|
key: 0,
|
|
3630
3630
|
file: D.data
|
|
3631
3631
|
}, null, 8, ["file"])) : K("", !0)
|
|
@@ -3964,26 +3964,26 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3964
3964
|
const R = ((Ke = U.file) == null ? void 0 : Ke.size) ?? 1, q = R > n.largeLimit;
|
|
3965
3965
|
let ae = "";
|
|
3966
3966
|
q && (ae = await V(U.file));
|
|
3967
|
-
const ze = (
|
|
3967
|
+
const ze = (Se, Z) => {
|
|
3968
3968
|
const te = m.get(U.fileId);
|
|
3969
|
-
te && (te.status = "uploading", te.percent =
|
|
3970
|
-
}, ve = q ? (
|
|
3969
|
+
te && (te.status = "uploading", te.percent = Se, a("progress", te, Z));
|
|
3970
|
+
}, ve = q ? (Se) => {
|
|
3971
3971
|
const Z = m.get(U.fileId);
|
|
3972
|
-
Z && ae != "" &&
|
|
3972
|
+
Z && ae != "" && Se.every((te) => te.state == 200) ? Promise.resolve(
|
|
3973
3973
|
D4({
|
|
3974
3974
|
key: ae
|
|
3975
3975
|
}).then((te) => {
|
|
3976
|
-
te.state == 200 ? (C.delete(Z.fileId), Z.status = "done", Z.percent = 1, Z.response = te, Z.url = te.data.url, a("success", Z), f(Z)) : ne(
|
|
3976
|
+
te.state == 200 ? (C.delete(Z.fileId), Z.status = "done", Z.percent = 1, Z.response = te, Z.url = te.data.url, a("success", Z), f(Z)) : ne(Se);
|
|
3977
3977
|
}).catch(() => {
|
|
3978
|
-
ne(
|
|
3978
|
+
ne(Se);
|
|
3979
3979
|
})
|
|
3980
|
-
) : ne(
|
|
3981
|
-
} : (
|
|
3980
|
+
) : ne(Se);
|
|
3981
|
+
} : (Se) => {
|
|
3982
3982
|
const Z = m.get(U.fileId);
|
|
3983
|
-
Z && (
|
|
3984
|
-
}, ne = (
|
|
3983
|
+
Z && (Se.state == 200 ? (Z.status = "done", Z.percent = 1, Z.response = Se, C.delete(Z.fileId), Z.url = Se.data.url, f(Z), a("success", Z)) : ne(Se));
|
|
3984
|
+
}, ne = (Se) => {
|
|
3985
3985
|
const Z = m.get(U.fileId);
|
|
3986
|
-
console.warn("上传报错",
|
|
3986
|
+
console.warn("上传报错", Se, Z), Z && (Z.status = "error", Z.percent = 0, Z.response = Se, C.delete(Z.fileId), a("error", Z), f(Z));
|
|
3987
3987
|
}, de = {
|
|
3988
3988
|
fileItem: U,
|
|
3989
3989
|
action: n.action,
|
|
@@ -4003,7 +4003,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4003
4003
|
U.status = "uploading", U.percent = 0;
|
|
4004
4004
|
const Pe = ku(n.customRequest) ? n.customRequest(de) : g4(de);
|
|
4005
4005
|
C.set(U.fileId, Pe);
|
|
4006
|
-
},
|
|
4006
|
+
}, S = (U) => {
|
|
4007
4007
|
var q;
|
|
4008
4008
|
const R = C.get(U.fileId);
|
|
4009
4009
|
if (R)
|
|
@@ -4022,7 +4022,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4022
4022
|
}, y = () => {
|
|
4023
4023
|
if (E.value.length > 0)
|
|
4024
4024
|
for (const U of E.value)
|
|
4025
|
-
|
|
4025
|
+
S(U);
|
|
4026
4026
|
}, _ = () => {
|
|
4027
4027
|
if (E.value.length > 0)
|
|
4028
4028
|
for (const U of E.value)
|
|
@@ -4085,7 +4085,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4085
4085
|
download: x,
|
|
4086
4086
|
slots: i,
|
|
4087
4087
|
onUpload: g,
|
|
4088
|
-
onAbort:
|
|
4088
|
+
onAbort: S,
|
|
4089
4089
|
onRemove: v
|
|
4090
4090
|
})
|
|
4091
4091
|
), e({
|
|
@@ -4096,7 +4096,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4096
4096
|
return d(), $("div", {
|
|
4097
4097
|
class: G([`${j(rt)}`])
|
|
4098
4098
|
}, [
|
|
4099
|
-
t.showUploadButton ? (d(),
|
|
4099
|
+
t.showUploadButton ? (d(), w(I4, Ie({
|
|
4100
4100
|
key: 0,
|
|
4101
4101
|
disabled: j(M),
|
|
4102
4102
|
listType: j(N),
|
|
@@ -4110,16 +4110,16 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4110
4110
|
buttonProps: t.buttonProps,
|
|
4111
4111
|
fileList: E.value
|
|
4112
4112
|
}, { ...(q = E.value) != null && q.length ? {} : { tip: t.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps", "fileList"])) : K("", !0),
|
|
4113
|
-
t.showFileList && E.value.length ? (d(),
|
|
4113
|
+
t.showFileList && E.value.length ? (d(), w(j(Ia), {
|
|
4114
4114
|
key: 1,
|
|
4115
4115
|
class: G(`${j(rt)}__card`),
|
|
4116
4116
|
size: "small"
|
|
4117
4117
|
}, {
|
|
4118
4118
|
default: L(() => [
|
|
4119
|
-
t.directory ? t.directory && b.value ? (d(),
|
|
4119
|
+
t.directory ? t.directory && b.value ? (d(), w(f4, {
|
|
4120
4120
|
key: 1,
|
|
4121
4121
|
fileTree: b.value
|
|
4122
|
-
}, null, 8, ["fileTree"])) : K("", !0) : (d(),
|
|
4122
|
+
}, null, 8, ["fileTree"])) : K("", !0) : (d(), w(E4, {
|
|
4123
4123
|
key: 0,
|
|
4124
4124
|
fileList: E.value,
|
|
4125
4125
|
listType: j(N)
|
|
@@ -4165,7 +4165,7 @@ const ao = Re(p4), z4 = { class: "display-column-checkbox" }, x4 = { class: "foo
|
|
|
4165
4165
|
}
|
|
4166
4166
|
return (A, I) => {
|
|
4167
4167
|
const x = W("t-button"), P = W("t-checkbox"), k = W("t-checkbox-group"), m = W("t-space"), C = W("t-popup");
|
|
4168
|
-
return d(),
|
|
4168
|
+
return d(), w(C, {
|
|
4169
4169
|
trigger: "click",
|
|
4170
4170
|
placement: "bottom-right",
|
|
4171
4171
|
visible: n.value,
|
|
@@ -4226,7 +4226,7 @@ const ao = Re(p4), z4 = { class: "display-column-checkbox" }, x4 = { class: "foo
|
|
|
4226
4226
|
default: L(() => [
|
|
4227
4227
|
Q(x, { theme: "default" }, {
|
|
4228
4228
|
icon: L(() => [
|
|
4229
|
-
Q(j(
|
|
4229
|
+
Q(j(wa))
|
|
4230
4230
|
]),
|
|
4231
4231
|
default: L(() => [
|
|
4232
4232
|
le(ee(j(o).t("表头")), 1)
|
|
@@ -4268,7 +4268,7 @@ const L4 = /* @__PURE__ */ au(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Re(L
|
|
|
4268
4268
|
});
|
|
4269
4269
|
return (M, N) => {
|
|
4270
4270
|
const l = W("t-radio-button"), s = W("t-radio-group"), D = W("t-form-item"), A = W("t-form");
|
|
4271
|
-
return d(),
|
|
4271
|
+
return d(), w(zn, {
|
|
4272
4272
|
commonDialogProps: {
|
|
4273
4273
|
visible: M.visible,
|
|
4274
4274
|
onClose: M.onClose,
|
|
@@ -4297,7 +4297,7 @@ const L4 = /* @__PURE__ */ au(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Re(L
|
|
|
4297
4297
|
}, {
|
|
4298
4298
|
default: L(() => [
|
|
4299
4299
|
(d(!0), $(se, null, ye(u.slice(0, u.length - 1), (I, x) => (d(), $("div", { key: x }, [
|
|
4300
|
-
(d(),
|
|
4300
|
+
(d(), w(l, {
|
|
4301
4301
|
key: x,
|
|
4302
4302
|
value: I,
|
|
4303
4303
|
class: "color-button"
|
|
@@ -4329,7 +4329,7 @@ const L4 = /* @__PURE__ */ au(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Re(L
|
|
|
4329
4329
|
}, {
|
|
4330
4330
|
default: L(() => [
|
|
4331
4331
|
(d(!0), $(se, null, ye(o.value, (I, x) => (d(), $("div", { key: x }, [
|
|
4332
|
-
(d(),
|
|
4332
|
+
(d(), w(l, {
|
|
4333
4333
|
key: x,
|
|
4334
4334
|
value: I.type
|
|
4335
4335
|
}, {
|
|
@@ -4371,7 +4371,7 @@ const mr = Re(O4), Ru = {
|
|
|
4371
4371
|
confirm: "/restapi/s09/gview/active/confirm",
|
|
4372
4372
|
// 触发 - 触发批量操作事件 POST
|
|
4373
4373
|
batch: "/restapi/s09/gview/active/batch"
|
|
4374
|
-
}, On = (t) => Xe.get(Ru.getOneView, t), at = (t) => Xe.post(Ru.getBoardData, t), kn = (t) => Xe.post(Ru.confirm, t), k4 = (t) => Xe.post(Ru.batch, t),
|
|
4374
|
+
}, On = (t) => Xe.get(Ru.getOneView, t), at = (t) => Xe.post(Ru.getBoardData, t), kn = (t) => Xe.post(Ru.confirm, t), k4 = (t) => Xe.post(Ru.batch, t), S4 = (t) => Xe.post(Ru.activeFile, t), w4 = (t) => Xe.post(Ru.downloadFile, t), v4 = /* @__PURE__ */ ue({
|
|
4375
4375
|
__name: "GFormLabel",
|
|
4376
4376
|
props: {
|
|
4377
4377
|
modelValue: { default: "" },
|
|
@@ -4392,7 +4392,7 @@ const mr = Re(O4), Ru = {
|
|
|
4392
4392
|
});
|
|
4393
4393
|
return (n, a) => {
|
|
4394
4394
|
const i = W("t-tag");
|
|
4395
|
-
return d(),
|
|
4395
|
+
return d(), w(i, { class: "g-label" }, {
|
|
4396
4396
|
default: L(() => [
|
|
4397
4397
|
le(ee(o.value), 1)
|
|
4398
4398
|
]),
|
|
@@ -4401,7 +4401,7 @@ const mr = Re(O4), Ru = {
|
|
|
4401
4401
|
};
|
|
4402
4402
|
}
|
|
4403
4403
|
});
|
|
4404
|
-
const
|
|
4404
|
+
const Sn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["title"], io = /* @__PURE__ */ ue({
|
|
4405
4405
|
__name: "GFormInput",
|
|
4406
4406
|
props: {
|
|
4407
4407
|
inputType: {},
|
|
@@ -4441,7 +4441,7 @@ const wn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4441
4441
|
Ye(() => {
|
|
4442
4442
|
l.value = $u(N.value);
|
|
4443
4443
|
});
|
|
4444
|
-
const s =
|
|
4444
|
+
const s = we(zt);
|
|
4445
4445
|
return (D, A) => {
|
|
4446
4446
|
const I = W("t-input");
|
|
4447
4447
|
return d(), $("div", {
|
|
@@ -4464,7 +4464,7 @@ const wn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4464
4464
|
], 8, U4);
|
|
4465
4465
|
};
|
|
4466
4466
|
}
|
|
4467
|
-
}),
|
|
4467
|
+
}), wn = /* @__PURE__ */ ue({
|
|
4468
4468
|
__name: "GFormCheckBox",
|
|
4469
4469
|
props: {
|
|
4470
4470
|
modelValue: {},
|
|
@@ -4490,7 +4490,7 @@ const wn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4490
4490
|
}
|
|
4491
4491
|
return (i, r) => {
|
|
4492
4492
|
const M = W("t-checkbox");
|
|
4493
|
-
return d(),
|
|
4493
|
+
return d(), w(M, {
|
|
4494
4494
|
modelValue: o.value,
|
|
4495
4495
|
"onUpdate:modelValue": r[0] || (r[0] = (N) => o.value = N),
|
|
4496
4496
|
onChange: a,
|
|
@@ -4532,7 +4532,7 @@ const wn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4532
4532
|
a("update:modelValue", _e(o.value));
|
|
4533
4533
|
}), (r, M) => {
|
|
4534
4534
|
const N = W("t-switch");
|
|
4535
|
-
return d(),
|
|
4535
|
+
return d(), w(N, {
|
|
4536
4536
|
modelValue: n.value,
|
|
4537
4537
|
"onUpdate:modelValue": M[0] || (M[0] = (l) => n.value = l),
|
|
4538
4538
|
onChange: i,
|
|
@@ -4661,7 +4661,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4661
4661
|
}), a = O(() => {
|
|
4662
4662
|
var s, D;
|
|
4663
4663
|
return ((D = (s = u.formItem) == null ? void 0 : s.listData) == null ? void 0 : D.dataId) ?? "";
|
|
4664
|
-
}), i =
|
|
4664
|
+
}), i = we(Qu, void 0), { options: r } = xt({
|
|
4665
4665
|
itemType: o.value,
|
|
4666
4666
|
viewName: u.viewName,
|
|
4667
4667
|
listData: n.value,
|
|
@@ -4691,14 +4691,14 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4691
4691
|
N("update:modelValue", _e(o.value));
|
|
4692
4692
|
}), (s, D) => {
|
|
4693
4693
|
const A = W("t-radio"), I = W("t-radio-group");
|
|
4694
|
-
return d(),
|
|
4694
|
+
return d(), w(I, {
|
|
4695
4695
|
modelValue: M.value,
|
|
4696
4696
|
"onUpdate:modelValue": D[0] || (D[0] = (x) => M.value = x),
|
|
4697
4697
|
onChange: l,
|
|
4698
4698
|
disabled: s.disabled
|
|
4699
4699
|
}, {
|
|
4700
4700
|
default: L(() => [
|
|
4701
|
-
(d(!0), $(se, null, ye(j(r), (x) => (d(),
|
|
4701
|
+
(d(!0), $(se, null, ye(j(r), (x) => (d(), w(A, {
|
|
4702
4702
|
key: x.key,
|
|
4703
4703
|
value: x.value
|
|
4704
4704
|
}, {
|
|
@@ -4734,13 +4734,13 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4734
4734
|
}), i = O(() => {
|
|
4735
4735
|
var m, C;
|
|
4736
4736
|
return ((C = (m = o.formItem) == null ? void 0 : m.listData) == null ? void 0 : C.dataId) ?? "";
|
|
4737
|
-
}), r =
|
|
4737
|
+
}), r = we(Qu, void 0), { options: M } = xt({
|
|
4738
4738
|
itemType: n.value,
|
|
4739
4739
|
viewName: o.viewName,
|
|
4740
4740
|
listData: a.value,
|
|
4741
4741
|
dataId: i.value,
|
|
4742
4742
|
propsModel: r
|
|
4743
|
-
}), N =
|
|
4743
|
+
}), N = we("isHeaderFormItem", !1), l = O(() => M.value ? N ? [{ label: u.t("全部"), value: "all" }, ...M.value] : M.value : N ? [{ label: u.t("全部"), value: "all" }] : []), s = F(o.modelValue);
|
|
4744
4744
|
Te(
|
|
4745
4745
|
() => o.modelValue,
|
|
4746
4746
|
() => {
|
|
@@ -4770,7 +4770,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4770
4770
|
Ye(() => {
|
|
4771
4771
|
x.value && (P.value = $u(x.value));
|
|
4772
4772
|
});
|
|
4773
|
-
const k =
|
|
4773
|
+
const k = we(zt);
|
|
4774
4774
|
return (m, C) => {
|
|
4775
4775
|
const E = W("t-select");
|
|
4776
4776
|
return d(), $("div", {
|
|
@@ -4851,7 +4851,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4851
4851
|
style: { width: "100%" },
|
|
4852
4852
|
title: N.value ? l.placeholder : ""
|
|
4853
4853
|
}, [
|
|
4854
|
-
((I = l.formItem) == null ? void 0 : I.itemType) === "date_selector" || ((x = l.formItem) == null ? void 0 : x.itemType) === "date_time_selector" ? (d(),
|
|
4854
|
+
((I = l.formItem) == null ? void 0 : I.itemType) === "date_selector" || ((x = l.formItem) == null ? void 0 : x.itemType) === "date_time_selector" ? (d(), w(D, {
|
|
4855
4855
|
key: 0,
|
|
4856
4856
|
"enable-time-picker": ((P = l.formItem) == null ? void 0 : P.itemType) === "date_time_selector",
|
|
4857
4857
|
placeholder: l.placeholder,
|
|
@@ -4864,7 +4864,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4864
4864
|
onBlur: r,
|
|
4865
4865
|
clearable: ""
|
|
4866
4866
|
}, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : K("", !0),
|
|
4867
|
-
((k = l.formItem) == null ? void 0 : k.itemType) === "time_selector" ? (d(),
|
|
4867
|
+
((k = l.formItem) == null ? void 0 : k.itemType) === "time_selector" ? (d(), w(A, {
|
|
4868
4868
|
key: 1,
|
|
4869
4869
|
placeholder: l.placeholder,
|
|
4870
4870
|
disabled: l.disabled,
|
|
@@ -4908,7 +4908,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4908
4908
|
}), a = O(() => {
|
|
4909
4909
|
var x, P;
|
|
4910
4910
|
return ((P = (x = u.formItem) == null ? void 0 : x.treeData) == null ? void 0 : P.dataId) ?? "";
|
|
4911
|
-
}), i =
|
|
4911
|
+
}), i = we(Qu, void 0), {
|
|
4912
4912
|
options: r
|
|
4913
4913
|
} = xt({
|
|
4914
4914
|
itemType: o.value,
|
|
@@ -4991,7 +4991,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
4991
4991
|
}), a = O(() => {
|
|
4992
4992
|
var I, x;
|
|
4993
4993
|
return ((x = (I = u.formItem) == null ? void 0 : I.treeData) == null ? void 0 : x.dataId) ?? "";
|
|
4994
|
-
}), i =
|
|
4994
|
+
}), i = we(Qu, void 0), { options: r } = xt({
|
|
4995
4995
|
itemType: o.value,
|
|
4996
4996
|
viewName: u.viewName,
|
|
4997
4997
|
treeData: n.value,
|
|
@@ -5112,7 +5112,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
5112
5112
|
}
|
|
5113
5113
|
return (N, l) => {
|
|
5114
5114
|
var s, D;
|
|
5115
|
-
return N.formItem.fileUploadType != "path" ? (d(),
|
|
5115
|
+
return N.formItem.fileUploadType != "path" ? (d(), w(j(ao), {
|
|
5116
5116
|
key: 0,
|
|
5117
5117
|
fileList: a.value,
|
|
5118
5118
|
tip: N.placeholder,
|
|
@@ -5123,7 +5123,7 @@ const Un = /* @__PURE__ */ ue({
|
|
|
5123
5123
|
onRemove: r,
|
|
5124
5124
|
onChange: i,
|
|
5125
5125
|
onError: M
|
|
5126
|
-
}, null, 8, ["fileList", "tip", "disabled", "accept"])) : (d(),
|
|
5126
|
+
}, null, 8, ["fileList", "tip", "disabled", "accept"])) : (d(), w(j(ao), {
|
|
5127
5127
|
key: 1,
|
|
5128
5128
|
directory: !0,
|
|
5129
5129
|
fileList: a.value,
|
|
@@ -5172,9 +5172,9 @@ var _n = { exports: {} };
|
|
|
5172
5172
|
g.$d[x(_)] = c[_];
|
|
5173
5173
|
}), this.calMilliseconds(), this;
|
|
5174
5174
|
if (typeof c == "string") {
|
|
5175
|
-
var
|
|
5176
|
-
if (
|
|
5177
|
-
var y =
|
|
5175
|
+
var S = c.match(s);
|
|
5176
|
+
if (S) {
|
|
5177
|
+
var y = S.slice(2).map(function(_) {
|
|
5178
5178
|
return _ != null ? Number(_) : 0;
|
|
5179
5179
|
});
|
|
5180
5180
|
return this.$d.years = y[0], this.$d.months = y[1], this.$d.weeks = y[2], this.$d.days = y[3], this.$d.hours = y[4], this.$d.minutes = y[5], this.$d.seconds = y[6], this.calMilliseconds(), this;
|
|
@@ -5194,16 +5194,16 @@ var _n = { exports: {} };
|
|
|
5194
5194
|
}, p.toISOString = function() {
|
|
5195
5195
|
var c = C(this.$d.years, "Y"), f = C(this.$d.months, "M"), V = +this.$d.days || 0;
|
|
5196
5196
|
this.$d.weeks && (V += 7 * this.$d.weeks);
|
|
5197
|
-
var g = C(V, "D"),
|
|
5197
|
+
var g = C(V, "D"), S = C(this.$d.hours, "H"), y = C(this.$d.minutes, "M"), _ = this.$d.seconds || 0;
|
|
5198
5198
|
this.$d.milliseconds && (_ += this.$d.milliseconds / 1e3, _ = Math.round(1e3 * _) / 1e3);
|
|
5199
|
-
var B = C(_, "S"), H = c.negative || f.negative || g.negative ||
|
|
5199
|
+
var B = C(_, "S"), H = c.negative || f.negative || g.negative || S.negative || y.negative || B.negative, z = S.format || y.format || B.format ? "T" : "", v = (H ? "-" : "") + "P" + c.format + f.format + g.format + z + S.format + y.format + B.format;
|
|
5200
5200
|
return v === "P" || v === "-P" ? "P0D" : v;
|
|
5201
5201
|
}, p.toJSON = function() {
|
|
5202
5202
|
return this.toISOString();
|
|
5203
5203
|
}, p.format = function(c) {
|
|
5204
5204
|
var f = c || "YYYY-MM-DDTHH:mm:ss", V = { Y: this.$d.years, YY: o.s(this.$d.years, 2, "0"), YYYY: o.s(this.$d.years, 4, "0"), M: this.$d.months, MM: o.s(this.$d.months, 2, "0"), D: this.$d.days, DD: o.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: o.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: o.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: o.s(this.$d.seconds, 2, "0"), SSS: o.s(this.$d.milliseconds, 3, "0") };
|
|
5205
|
-
return f.replace(M, function(g,
|
|
5206
|
-
return
|
|
5205
|
+
return f.replace(M, function(g, S) {
|
|
5206
|
+
return S || String(V[g]);
|
|
5207
5207
|
});
|
|
5208
5208
|
}, p.as = function(c) {
|
|
5209
5209
|
return this.$ms / D[x(c)];
|
|
@@ -5261,15 +5261,15 @@ var _n = { exports: {} };
|
|
|
5261
5261
|
return T.add(p.years() * c, "y").add(p.months() * c, "M").add(p.days() * c, "d").add(p.hours() * c, "h").add(p.minutes() * c, "m").add(p.seconds() * c, "s").add(p.milliseconds() * c, "ms");
|
|
5262
5262
|
};
|
|
5263
5263
|
return function(T, p, c) {
|
|
5264
|
-
u = c, o = c().$utils(), c.duration = function(g,
|
|
5264
|
+
u = c, o = c().$utils(), c.duration = function(g, S) {
|
|
5265
5265
|
var y = c.locale();
|
|
5266
|
-
return I(g, { $l: y },
|
|
5266
|
+
return I(g, { $l: y }, S);
|
|
5267
5267
|
}, c.isDuration = A;
|
|
5268
5268
|
var f = p.prototype.add, V = p.prototype.subtract;
|
|
5269
|
-
p.prototype.add = function(g,
|
|
5270
|
-
return A(g) ? b(this, g, 1) : f.bind(this)(g,
|
|
5271
|
-
}, p.prototype.subtract = function(g,
|
|
5272
|
-
return A(g) ? b(this, g, -1) : V.bind(this)(g,
|
|
5269
|
+
p.prototype.add = function(g, S) {
|
|
5270
|
+
return A(g) ? b(this, g, 1) : f.bind(this)(g, S);
|
|
5271
|
+
}, p.prototype.subtract = function(g, S) {
|
|
5272
|
+
return A(g) ? b(this, g, -1) : V.bind(this)(g, S);
|
|
5273
5273
|
};
|
|
5274
5274
|
};
|
|
5275
5275
|
});
|
|
@@ -5491,9 +5491,9 @@ const Z4 = /* @__PURE__ */ ue({
|
|
|
5491
5491
|
r(_e(n.value));
|
|
5492
5492
|
}), (D, A) => {
|
|
5493
5493
|
const I = W("t-button"), x = W("t-input"), P = W("t-input-group"), k = W("t-space");
|
|
5494
|
-
return d(),
|
|
5494
|
+
return d(), w(k, null, {
|
|
5495
5495
|
default: L(() => [
|
|
5496
|
-
a.value.length == 0 ? (d(),
|
|
5496
|
+
a.value.length == 0 ? (d(), w(I, {
|
|
5497
5497
|
key: 0,
|
|
5498
5498
|
onClick: M,
|
|
5499
5499
|
variant: "outline"
|
|
@@ -5502,12 +5502,12 @@ const Z4 = /* @__PURE__ */ ue({
|
|
|
5502
5502
|
le(ee(`${j(u).t("添加")}${D.formItem.name}`), 1)
|
|
5503
5503
|
]),
|
|
5504
5504
|
_: 1
|
|
5505
|
-
})) : (d(),
|
|
5505
|
+
})) : (d(), w(k, {
|
|
5506
5506
|
key: 1,
|
|
5507
5507
|
direction: "vertical"
|
|
5508
5508
|
}, {
|
|
5509
5509
|
default: L(() => [
|
|
5510
|
-
(d(!0), $(se, null, ye(a.value, (m, C) => (d(),
|
|
5510
|
+
(d(!0), $(se, null, ye(a.value, (m, C) => (d(), w(P, { key: C }, {
|
|
5511
5511
|
default: L(() => [
|
|
5512
5512
|
Q(x, {
|
|
5513
5513
|
style: { width: "200px" },
|
|
@@ -5527,7 +5527,7 @@ const Z4 = /* @__PURE__ */ ue({
|
|
|
5527
5527
|
]),
|
|
5528
5528
|
_: 2
|
|
5529
5529
|
}, 1032, ["onClick"]),
|
|
5530
|
-
C == a.value.length - 1 ? (d(),
|
|
5530
|
+
C == a.value.length - 1 ? (d(), w(I, {
|
|
5531
5531
|
key: 0,
|
|
5532
5532
|
variant: "outline",
|
|
5533
5533
|
theme: "default",
|
|
@@ -5643,7 +5643,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5643
5643
|
getDisableFlag: A,
|
|
5644
5644
|
setBlockShowFlag: I
|
|
5645
5645
|
}), (c, f) => {
|
|
5646
|
-
const V = W("t-divider"), g = W("t-tooltip"),
|
|
5646
|
+
const V = W("t-divider"), g = W("t-tooltip"), S = W("t-form-item");
|
|
5647
5647
|
return d(), $("div", {
|
|
5648
5648
|
ref_key: "formItemRef",
|
|
5649
5649
|
ref: T,
|
|
@@ -5651,7 +5651,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5651
5651
|
id: x.value
|
|
5652
5652
|
}, [
|
|
5653
5653
|
D.value ? (d(), $(se, { key: 0 }, [
|
|
5654
|
-
c.formItem.itemType === "line" && c.formItem.name && j(r)(c.formItem.showIf, c.formItem) ? (d(),
|
|
5654
|
+
c.formItem.itemType === "line" && c.formItem.name && j(r)(c.formItem.showIf, c.formItem) ? (d(), w(V, {
|
|
5655
5655
|
key: 0,
|
|
5656
5656
|
align: "left"
|
|
5657
5657
|
}, {
|
|
@@ -5659,7 +5659,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5659
5659
|
le(ee(c.formItem.name), 1)
|
|
5660
5660
|
]),
|
|
5661
5661
|
_: 1
|
|
5662
|
-
})) : c.formItem.itemType !== "hidden" && j(r)(c.formItem.showIf, c.formItem) ? (d(), S
|
|
5662
|
+
})) : c.formItem.itemType !== "hidden" && j(r)(c.formItem.showIf, c.formItem) ? (d(), w(S, Ie({
|
|
5663
5663
|
key: 1,
|
|
5664
5664
|
ref: `item_${c.formItem.keyName}`,
|
|
5665
5665
|
id: c.formItem.keyName,
|
|
@@ -5693,13 +5693,13 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5693
5693
|
default: L(() => {
|
|
5694
5694
|
var y, _, B, H;
|
|
5695
5695
|
return [
|
|
5696
|
-
c.formItem.itemType === "label" ? (d(),
|
|
5696
|
+
c.formItem.itemType === "label" ? (d(), w(Sn, {
|
|
5697
5697
|
key: 0,
|
|
5698
5698
|
formItem: c.formItem,
|
|
5699
5699
|
formModel: i.value,
|
|
5700
5700
|
modelValue: j(ie)(i.value, c.formItem.keyName)
|
|
5701
5701
|
}, null, 8, ["formItem", "formModel", "modelValue"])) : K("", !0),
|
|
5702
|
-
c.formItem.itemType === "text_input" && c.formItem.inputType != "RE_PASSWORD" ? (d(),
|
|
5702
|
+
c.formItem.itemType === "text_input" && c.formItem.inputType != "RE_PASSWORD" ? (d(), w(io, Ie({ key: 1 }, c.componentProps, {
|
|
5703
5703
|
formItem: c.formItem,
|
|
5704
5704
|
inputType: (_ = (y = c.formItem) == null ? void 0 : y.inputType) == null ? void 0 : _.toLowerCase(),
|
|
5705
5705
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
@@ -5707,7 +5707,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5707
5707
|
disabled: s.value,
|
|
5708
5708
|
"onUpdate:modelValue": f[0] || (f[0] = (z) => l(c.formItem.keyName, z))
|
|
5709
5709
|
}), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : K("", !0),
|
|
5710
|
-
c.formItem.itemType === "text_input" && c.formItem.inputType == "RE_PASSWORD" ? (d(),
|
|
5710
|
+
c.formItem.itemType === "text_input" && c.formItem.inputType == "RE_PASSWORD" ? (d(), w(io, Ie({ key: 2 }, c.componentProps, {
|
|
5711
5711
|
formItem: c.formItem,
|
|
5712
5712
|
inputType: c.formItem.inputType.toLowerCase(),
|
|
5713
5713
|
modelValue: j(ie)(i.value, "rePassword"),
|
|
@@ -5715,26 +5715,26 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5715
5715
|
disabled: s.value,
|
|
5716
5716
|
"onUpdate:modelValue": f[1] || (f[1] = (z) => l("rePassword", z))
|
|
5717
5717
|
}), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : K("", !0),
|
|
5718
|
-
c.formItem.itemType === "check_box" ? (d(),
|
|
5718
|
+
c.formItem.itemType === "check_box" ? (d(), w(wn, Ie({ key: 3 }, c.componentProps, {
|
|
5719
5719
|
modelValue: j(ie)(i.value, c.formItem.keyName, !1),
|
|
5720
5720
|
disabled: s.value,
|
|
5721
5721
|
"onUpdate:modelValue": f[2] || (f[2] = (z) => l(c.formItem.keyName, z))
|
|
5722
5722
|
}), null, 16, ["modelValue", "disabled"])) : K("", !0),
|
|
5723
|
-
c.formItem.itemType === "switch" ? (d(),
|
|
5723
|
+
c.formItem.itemType === "switch" ? (d(), w(vn, Ie({ key: 4 }, c.componentProps, {
|
|
5724
5724
|
formItem: c.formItem,
|
|
5725
5725
|
viewName: c.viewName,
|
|
5726
5726
|
modelValue: j(ie)(i.value, c.formItem.keyName, !1),
|
|
5727
5727
|
disabled: s.value,
|
|
5728
5728
|
"onUpdate:modelValue": f[3] || (f[3] = (z) => l(c.formItem.keyName, z))
|
|
5729
5729
|
}), null, 16, ["formItem", "viewName", "modelValue", "disabled"])) : K("", !0),
|
|
5730
|
-
c.formItem.itemType === "radio" ? (d(),
|
|
5730
|
+
c.formItem.itemType === "radio" ? (d(), w(Un, Ie({ key: 5 }, c.componentProps, {
|
|
5731
5731
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5732
5732
|
formItem: c.formItem,
|
|
5733
5733
|
viewName: c.viewName,
|
|
5734
5734
|
disabled: s.value,
|
|
5735
5735
|
"onUpdate:modelValue": f[4] || (f[4] = (z) => l(c.formItem.keyName, z))
|
|
5736
5736
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : K("", !0),
|
|
5737
|
-
c.formItem.itemType === "selector" || c.formItem.itemType === "multi_selector" ? (d(),
|
|
5737
|
+
c.formItem.itemType === "selector" || c.formItem.itemType === "multi_selector" ? (d(), w(Qn, Ie({ key: 6 }, c.componentProps, {
|
|
5738
5738
|
key: (B = c.formItem.listData) == null ? void 0 : B.dataId,
|
|
5739
5739
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5740
5740
|
formItem: c.formItem,
|
|
@@ -5744,7 +5744,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5744
5744
|
placeholder: k.value,
|
|
5745
5745
|
"onUpdate:modelValue": f[5] || (f[5] = (z) => l(c.formItem.keyName, z))
|
|
5746
5746
|
}), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : K("", !0),
|
|
5747
|
-
c.formItem.itemType === "date_selector" || c.formItem.itemType === "time_selector" || c.formItem.itemType === "date_time_selector" ? (d(),
|
|
5747
|
+
c.formItem.itemType === "date_selector" || c.formItem.itemType === "time_selector" || c.formItem.itemType === "date_time_selector" ? (d(), w(bn, Ie({ key: 7 }, c.componentProps, {
|
|
5748
5748
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5749
5749
|
formItem: c.formItem,
|
|
5750
5750
|
viewName: c.viewName,
|
|
@@ -5752,7 +5752,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5752
5752
|
placeholder: k.value,
|
|
5753
5753
|
"onUpdate:modelValue": f[6] || (f[6] = (z) => l(c.formItem.keyName, z))
|
|
5754
5754
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
|
|
5755
|
-
c.formItem.itemType == "delay_selector" ? (d(),
|
|
5755
|
+
c.formItem.itemType == "delay_selector" ? (d(), w(H4, Ie({ key: 8 }, c.componentProps, {
|
|
5756
5756
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5757
5757
|
formItem: c.formItem,
|
|
5758
5758
|
viewName: c.viewName,
|
|
@@ -5760,7 +5760,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5760
5760
|
placeholder: k.value,
|
|
5761
5761
|
"onUpdate:modelValue": f[7] || (f[7] = (z) => l(c.formItem.keyName, z))
|
|
5762
5762
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
|
|
5763
|
-
c.formItem.itemType === "tree_check_box" ? (d(),
|
|
5763
|
+
c.formItem.itemType === "tree_check_box" ? (d(), w(Yn, Ie({ key: 9 }, c.componentProps, {
|
|
5764
5764
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5765
5765
|
formItem: c.formItem,
|
|
5766
5766
|
viewName: c.viewName,
|
|
@@ -5768,7 +5768,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5768
5768
|
placeholder: k.value,
|
|
5769
5769
|
"onUpdate:modelValue": f[8] || (f[8] = (z) => l(c.formItem.keyName, z))
|
|
5770
5770
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
|
|
5771
|
-
c.formItem.itemType === "multi_tree_selector" || c.formItem.itemType === "tree_selector" ? (d(),
|
|
5771
|
+
c.formItem.itemType === "multi_tree_selector" || c.formItem.itemType === "tree_selector" ? (d(), w(Bn, Ie({ key: 10 }, c.componentProps, {
|
|
5772
5772
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5773
5773
|
formItem: c.formItem,
|
|
5774
5774
|
viewName: c.viewName,
|
|
@@ -5777,7 +5777,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5777
5777
|
placeholder: k.value,
|
|
5778
5778
|
"onUpdate:modelValue": f[9] || (f[9] = (z) => l(c.formItem.keyName, z))
|
|
5779
5779
|
}), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : K("", !0),
|
|
5780
|
-
c.formItem.itemType === "file" ? (d(),
|
|
5780
|
+
c.formItem.itemType === "file" ? (d(), w(Fn, Ie({ key: 11 }, c.componentProps, {
|
|
5781
5781
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5782
5782
|
formItem: c.formItem,
|
|
5783
5783
|
viewName: c.viewName,
|
|
@@ -5787,7 +5787,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5787
5787
|
"onUpdate:fileName": f[10] || (f[10] = (z) => c.formItem.filenameKeyName && l(c.formItem.filenameKeyName, z)),
|
|
5788
5788
|
"onUpdate:modelValue": f[11] || (f[11] = (z) => l(c.formItem.keyName, z))
|
|
5789
5789
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder", "fileName"])) : K("", !0),
|
|
5790
|
-
c.formItem.itemType === "tag" ? (d(),
|
|
5790
|
+
c.formItem.itemType === "tag" ? (d(), w(K4, Ie({ key: 12 }, c.componentProps, {
|
|
5791
5791
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5792
5792
|
formItem: c.formItem,
|
|
5793
5793
|
viewName: c.viewName,
|
|
@@ -5795,7 +5795,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
|
|
|
5795
5795
|
placeholder: k.value,
|
|
5796
5796
|
"onUpdate:modelValue": f[12] || (f[12] = (z) => l(c.formItem.keyName, z))
|
|
5797
5797
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
|
|
5798
|
-
c.formItem.itemType === "rich_text" ? (d(),
|
|
5798
|
+
c.formItem.itemType === "rich_text" ? (d(), w(Z4, Ie({ key: 13 }, c.componentProps, {
|
|
5799
5799
|
modelValue: j(ie)(i.value, c.formItem.keyName),
|
|
5800
5800
|
formItem: c.formItem,
|
|
5801
5801
|
viewName: c.viewName,
|
|
@@ -5879,8 +5879,8 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
5879
5879
|
}), s = F({});
|
|
5880
5880
|
async function D() {
|
|
5881
5881
|
let g = [];
|
|
5882
|
-
return I.value && (g = I == null ? void 0 : I.value.map((
|
|
5883
|
-
const { formItem: y } =
|
|
5882
|
+
return I.value && (g = I == null ? void 0 : I.value.map((S) => {
|
|
5883
|
+
const { formItem: y } = S, _ = [];
|
|
5884
5884
|
return y.required && y.keyName && _.push({
|
|
5885
5885
|
validator: () => {
|
|
5886
5886
|
const B = ie(r.value, y.keyName);
|
|
@@ -5905,44 +5905,44 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
5905
5905
|
keyName: y.inputType !== "RE_PASSWORD" ? y.keyName : "rePassword",
|
|
5906
5906
|
rules: _
|
|
5907
5907
|
};
|
|
5908
|
-
})), g == null ? void 0 : g.reduce((
|
|
5908
|
+
})), g == null ? void 0 : g.reduce((S, y) => (y.rules.length && (S[y.keyName] = y.rules), S), {});
|
|
5909
5909
|
}
|
|
5910
5910
|
function A() {
|
|
5911
5911
|
if (N.value) {
|
|
5912
5912
|
const g = N.value.$el;
|
|
5913
5913
|
if (g) {
|
|
5914
|
-
const
|
|
5915
|
-
if (
|
|
5916
|
-
const y = Array.from(
|
|
5914
|
+
const S = g.querySelectorAll(".t-form__label label");
|
|
5915
|
+
if (S) {
|
|
5916
|
+
const y = Array.from(S).map((B) => B.offsetWidth), _ = Math.max(...y);
|
|
5917
5917
|
a.value = _ + 30;
|
|
5918
5918
|
}
|
|
5919
5919
|
}
|
|
5920
5920
|
}
|
|
5921
5921
|
}
|
|
5922
5922
|
const I = F(), x = F();
|
|
5923
|
-
function P(g,
|
|
5923
|
+
function P(g, S, y) {
|
|
5924
5924
|
I.value && I.value.forEach((_) => {
|
|
5925
|
-
_.formItemId &&
|
|
5925
|
+
_.formItemId && S.includes(_.formItemId) && _.$el.classList.contains(g) && _.setBlockShowFlag(y);
|
|
5926
5926
|
});
|
|
5927
5927
|
}
|
|
5928
5928
|
Ye(async () => {
|
|
5929
5929
|
s.value = await D();
|
|
5930
5930
|
});
|
|
5931
|
-
function k(g,
|
|
5932
|
-
Ze(r.value, g,
|
|
5931
|
+
function k(g, S) {
|
|
5932
|
+
Ze(r.value, g, S), l.value && m([g]), A();
|
|
5933
5933
|
}
|
|
5934
5934
|
async function m(g = []) {
|
|
5935
5935
|
var _;
|
|
5936
|
-
const
|
|
5937
|
-
return (g.length ? g.some((B) =>
|
|
5938
|
-
fields: g.length ? g :
|
|
5936
|
+
const S = C();
|
|
5937
|
+
return (g.length ? g.some((B) => S.includes(B)) : !0) ? (_ = l.value) == null ? void 0 : _.validate({
|
|
5938
|
+
fields: g.length ? g : S
|
|
5939
5939
|
}) : Promise.resolve({});
|
|
5940
5940
|
}
|
|
5941
5941
|
const C = () => {
|
|
5942
5942
|
var g;
|
|
5943
|
-
return (g = I == null ? void 0 : I.value) == null ? void 0 : g.flatMap((
|
|
5944
|
-
const { formItem: y } =
|
|
5945
|
-
return (y.keyName ?? "") != "" && !
|
|
5943
|
+
return (g = I == null ? void 0 : I.value) == null ? void 0 : g.flatMap((S) => {
|
|
5944
|
+
const { formItem: y } = S;
|
|
5945
|
+
return (y.keyName ?? "") != "" && !S.getDisableFlag() ? y.inputType !== "RE_PASSWORD" ? y.keyName : "rePassword" : [];
|
|
5946
5946
|
});
|
|
5947
5947
|
}, E = O(() => {
|
|
5948
5948
|
var g;
|
|
@@ -5952,36 +5952,36 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
5952
5952
|
return (g = n.board) == null ? void 0 : g.cancelButton;
|
|
5953
5953
|
}), T = u;
|
|
5954
5954
|
function p(g) {
|
|
5955
|
-
for (const
|
|
5956
|
-
const y = g[
|
|
5955
|
+
for (const S in g) {
|
|
5956
|
+
const y = g[S].find((_) => _.result === !1);
|
|
5957
5957
|
if (y)
|
|
5958
5958
|
return { ...y };
|
|
5959
5959
|
}
|
|
5960
5960
|
return null;
|
|
5961
5961
|
}
|
|
5962
5962
|
function c(g) {
|
|
5963
|
-
let
|
|
5964
|
-
const y = Object.keys(
|
|
5963
|
+
let S = pt(g);
|
|
5964
|
+
const y = Object.keys(S);
|
|
5965
5965
|
if (i.value && y.length) {
|
|
5966
5966
|
const _ = i.value.filter((H) => H.itemType == "file" && H.fileUploadType == "path").map((H) => H.keyName);
|
|
5967
5967
|
y.length && y.forEach((H) => {
|
|
5968
|
-
_.includes(H) &&
|
|
5968
|
+
_.includes(H) && S[H] && zu(S[H]) && (S[H] = S[H].filter(
|
|
5969
5969
|
(z) => z && z.url
|
|
5970
5970
|
));
|
|
5971
5971
|
});
|
|
5972
5972
|
const B = i.value.filter((H) => H.itemType == "hidden");
|
|
5973
5973
|
B.length && B.forEach((H) => {
|
|
5974
|
-
H.keyName && H.valueName && (
|
|
5974
|
+
H.keyName && H.valueName && (S[H.keyName] = n.formData[H.valueName]);
|
|
5975
5975
|
});
|
|
5976
5976
|
}
|
|
5977
|
-
return
|
|
5977
|
+
return S;
|
|
5978
5978
|
}
|
|
5979
5979
|
function f(g) {
|
|
5980
5980
|
switch (g.action) {
|
|
5981
5981
|
case "CONFIRM": {
|
|
5982
|
-
m().then((
|
|
5983
|
-
if (Object.keys(
|
|
5984
|
-
const y = p(
|
|
5982
|
+
m().then((S) => {
|
|
5983
|
+
if (Object.keys(S).length) {
|
|
5984
|
+
const y = p(S);
|
|
5985
5985
|
me.warning(y == null ? void 0 : y.message);
|
|
5986
5986
|
} else {
|
|
5987
5987
|
const y = c(r.value);
|
|
@@ -5991,9 +5991,9 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
5991
5991
|
break;
|
|
5992
5992
|
}
|
|
5993
5993
|
case "CONFIRM_AND_CLOSE": {
|
|
5994
|
-
m().then((
|
|
5995
|
-
if (Object.keys(
|
|
5996
|
-
const y = p(
|
|
5994
|
+
m().then((S) => {
|
|
5995
|
+
if (Object.keys(S).length) {
|
|
5996
|
+
const y = p(S);
|
|
5997
5997
|
me.warning(y == null ? void 0 : y.message);
|
|
5998
5998
|
} else {
|
|
5999
5999
|
const y = c(r.value);
|
|
@@ -6017,9 +6017,9 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6017
6017
|
formOkButtonLoading: V
|
|
6018
6018
|
}), nn(() => {
|
|
6019
6019
|
A();
|
|
6020
|
-
}), (g,
|
|
6020
|
+
}), (g, S) => {
|
|
6021
6021
|
const y = W("t-button");
|
|
6022
|
-
return d(),
|
|
6022
|
+
return d(), w(j(xn), {
|
|
6023
6023
|
ref_key: "commonFormRef",
|
|
6024
6024
|
ref: N,
|
|
6025
6025
|
commonFormProps: {
|
|
@@ -6033,7 +6033,7 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6033
6033
|
(d(!0), $(se, null, ye(i.value, (_) => (d(), $(se, {
|
|
6034
6034
|
key: `${_.name}_${_.keyName}`
|
|
6035
6035
|
}, [
|
|
6036
|
-
_.itemType === "block_start" || _.itemType === "block_end" ? (d(),
|
|
6036
|
+
_.itemType === "block_start" || _.itemType === "block_end" ? (d(), w(Pn, {
|
|
6037
6037
|
key: 0,
|
|
6038
6038
|
ref_for: !0,
|
|
6039
6039
|
ref_key: "formBlockRef",
|
|
@@ -6042,7 +6042,7 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6042
6042
|
blockType: _.itemType,
|
|
6043
6043
|
showIf: j(M)(_.showIf),
|
|
6044
6044
|
onBlockShowIfChange: P
|
|
6045
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (d(),
|
|
6045
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (d(), w(Et, {
|
|
6046
6046
|
key: 1,
|
|
6047
6047
|
ref_for: !0,
|
|
6048
6048
|
ref_key: "formItemRef",
|
|
@@ -6057,10 +6057,10 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6057
6057
|
footer: L(() => {
|
|
6058
6058
|
var _;
|
|
6059
6059
|
return [
|
|
6060
|
-
b.value && b.value.name != "" && b.value.action !== "NONE" ? (d(),
|
|
6060
|
+
b.value && b.value.name != "" && b.value.action !== "NONE" ? (d(), w(y, {
|
|
6061
6061
|
key: 0,
|
|
6062
6062
|
theme: "default",
|
|
6063
|
-
onClick:
|
|
6063
|
+
onClick: S[0] || (S[0] = (B) => b.value && f(b.value))
|
|
6064
6064
|
}, {
|
|
6065
6065
|
default: L(() => {
|
|
6066
6066
|
var B;
|
|
@@ -6070,10 +6070,10 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6070
6070
|
}),
|
|
6071
6071
|
_: 1
|
|
6072
6072
|
})) : K("", !0),
|
|
6073
|
-
E.value && E.value.name != "" && ((_ = E.value) == null ? void 0 : _.action) !== "NONE" ? (d(),
|
|
6073
|
+
E.value && E.value.name != "" && ((_ = E.value) == null ? void 0 : _.action) !== "NONE" ? (d(), w(y, {
|
|
6074
6074
|
key: 1,
|
|
6075
6075
|
theme: "primary",
|
|
6076
|
-
onClick:
|
|
6076
|
+
onClick: S[1] || (S[1] = (B) => E.value && f(E.value)),
|
|
6077
6077
|
loading: V.value
|
|
6078
6078
|
}, {
|
|
6079
6079
|
default: L(() => {
|
|
@@ -6164,14 +6164,14 @@ const ul = /* @__PURE__ */ ue({
|
|
|
6164
6164
|
N.value == "form" && m();
|
|
6165
6165
|
}), tu(Qu, M.value), (C, E) => {
|
|
6166
6166
|
const b = W("t-loading");
|
|
6167
|
-
return N.value !== "form" ? (d(),
|
|
6167
|
+
return N.value !== "form" ? (d(), w(j(u), {
|
|
6168
6168
|
from: "dialog",
|
|
6169
6169
|
key: C.viewName,
|
|
6170
6170
|
viewName: C.viewName,
|
|
6171
6171
|
board: C.board,
|
|
6172
6172
|
dialogProps: C.dialogProps,
|
|
6173
6173
|
onCloseDialog: s
|
|
6174
|
-
}, null, 8, ["viewName", "board", "dialogProps"])) : (d(),
|
|
6174
|
+
}, null, 8, ["viewName", "board", "dialogProps"])) : (d(), w(b, {
|
|
6175
6175
|
key: 1,
|
|
6176
6176
|
class: "g-dialog-form",
|
|
6177
6177
|
loading: k.value,
|
|
@@ -6217,7 +6217,7 @@ const ul = /* @__PURE__ */ ue({
|
|
|
6217
6217
|
case "tab":
|
|
6218
6218
|
return "85vw";
|
|
6219
6219
|
case "form":
|
|
6220
|
-
return "
|
|
6220
|
+
return "fit-content";
|
|
6221
6221
|
default:
|
|
6222
6222
|
return "80vw";
|
|
6223
6223
|
}
|
|
@@ -6246,14 +6246,19 @@ const ul = /* @__PURE__ */ ue({
|
|
|
6246
6246
|
}
|
|
6247
6247
|
return (m, C) => {
|
|
6248
6248
|
const E = W("t-loading");
|
|
6249
|
-
return d(),
|
|
6249
|
+
return d(), w(j(l4), {
|
|
6250
6250
|
commonDialogProps: {
|
|
6251
6251
|
visible: m.isDialogVisible,
|
|
6252
6252
|
width: N.value,
|
|
6253
6253
|
header: r.value,
|
|
6254
6254
|
footer: !1,
|
|
6255
6255
|
onClose: () => s(!1),
|
|
6256
|
-
destroyOnClose: !0
|
|
6256
|
+
destroyOnClose: !0,
|
|
6257
|
+
...M.value === "form" ? {
|
|
6258
|
+
dialogStyle: {
|
|
6259
|
+
minWidth: "600px"
|
|
6260
|
+
}
|
|
6261
|
+
} : {}
|
|
6257
6262
|
}
|
|
6258
6263
|
}, {
|
|
6259
6264
|
body: L(() => [
|
|
@@ -6263,7 +6268,7 @@ const ul = /* @__PURE__ */ ue({
|
|
|
6263
6268
|
text: `${j(u).t("加载中")}`
|
|
6264
6269
|
}, {
|
|
6265
6270
|
default: L(() => [
|
|
6266
|
-
m.dialogType === "view" ? (d(),
|
|
6271
|
+
m.dialogType === "view" ? (d(), w(ul, {
|
|
6267
6272
|
key: 0,
|
|
6268
6273
|
viewName: i.value,
|
|
6269
6274
|
board: m.dialogViewBoard,
|
|
@@ -6298,7 +6303,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6298
6303
|
},
|
|
6299
6304
|
emits: ["confirm-form", "confirm-and-close", "close-dialog"],
|
|
6300
6305
|
setup(t, { expose: e, emit: u }) {
|
|
6301
|
-
const { T: o } = ge(), n = nt(), a = Uu(), i =
|
|
6306
|
+
const { T: o } = ge(), n = nt(), a = Uu(), i = we(En, ""), r = t, M = F(200), N = O(() => {
|
|
6302
6307
|
var z;
|
|
6303
6308
|
return (z = r.board) == null ? void 0 : z.formItems;
|
|
6304
6309
|
}), l = F({}), { handleItemShowIf: s } = jo({ formModel: l }), D = Iu();
|
|
@@ -6401,7 +6406,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6401
6406
|
}), g = O(() => {
|
|
6402
6407
|
var z;
|
|
6403
6408
|
return (z = r.board) == null ? void 0 : z.cancelButton;
|
|
6404
|
-
}),
|
|
6409
|
+
}), S = u;
|
|
6405
6410
|
function y(z) {
|
|
6406
6411
|
for (const v in z) {
|
|
6407
6412
|
const h = z[v].find((U) => U.result === !1);
|
|
@@ -6436,7 +6441,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6436
6441
|
me.warning(h == null ? void 0 : h.message);
|
|
6437
6442
|
} else {
|
|
6438
6443
|
const h = _(l.value);
|
|
6439
|
-
|
|
6444
|
+
S("confirm-form", h, z.buttonId);
|
|
6440
6445
|
}
|
|
6441
6446
|
});
|
|
6442
6447
|
break;
|
|
@@ -6448,13 +6453,13 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6448
6453
|
me.warning(h == null ? void 0 : h.message);
|
|
6449
6454
|
} else {
|
|
6450
6455
|
const h = _(l.value);
|
|
6451
|
-
|
|
6456
|
+
S("confirm-and-close", h, z.buttonId);
|
|
6452
6457
|
}
|
|
6453
6458
|
});
|
|
6454
6459
|
break;
|
|
6455
6460
|
}
|
|
6456
6461
|
case "CLOSE_DIALOG": {
|
|
6457
|
-
|
|
6462
|
+
S("close-dialog");
|
|
6458
6463
|
break;
|
|
6459
6464
|
}
|
|
6460
6465
|
default: {
|
|
@@ -6482,7 +6487,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6482
6487
|
default: L(() => {
|
|
6483
6488
|
var R;
|
|
6484
6489
|
return [
|
|
6485
|
-
g.value && g.value.name != "" && g.value.action !== "NONE" ? (d(),
|
|
6490
|
+
g.value && g.value.name != "" && g.value.action !== "NONE" ? (d(), w(h, {
|
|
6486
6491
|
key: 0,
|
|
6487
6492
|
theme: "default",
|
|
6488
6493
|
onClick: v[0] || (v[0] = (q) => g.value && B(g.value))
|
|
@@ -6495,7 +6500,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6495
6500
|
}),
|
|
6496
6501
|
_: 1
|
|
6497
6502
|
})) : K("", !0),
|
|
6498
|
-
V.value && V.value.name != "" && ((R = V.value) == null ? void 0 : R.action) !== "NONE" ? (d(),
|
|
6503
|
+
V.value && V.value.name != "" && ((R = V.value) == null ? void 0 : R.action) !== "NONE" ? (d(), w(h, {
|
|
6499
6504
|
key: 1,
|
|
6500
6505
|
theme: "primary",
|
|
6501
6506
|
onClick: v[1] || (v[1] = (q) => V.value && B(V.value)),
|
|
@@ -6532,7 +6537,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6532
6537
|
(d(!0), $(se, null, ye(N.value, (R) => (d(), $(se, {
|
|
6533
6538
|
key: `${R.name}_${R.keyName}`
|
|
6534
6539
|
}, [
|
|
6535
|
-
R.itemType === "block_start" || R.itemType === "block_end" ? (d(),
|
|
6540
|
+
R.itemType === "block_start" || R.itemType === "block_end" ? (d(), w(Pn, {
|
|
6536
6541
|
key: 0,
|
|
6537
6542
|
ref_for: !0,
|
|
6538
6543
|
ref_key: "formBlockRef",
|
|
@@ -6541,7 +6546,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6541
6546
|
blockType: R.itemType,
|
|
6542
6547
|
showIf: j(s)(R.showIf),
|
|
6543
6548
|
onBlockShowIfChange: T
|
|
6544
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (d(),
|
|
6549
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (d(), w(Et, {
|
|
6545
6550
|
key: 1,
|
|
6546
6551
|
ref_for: !0,
|
|
6547
6552
|
ref_key: "formItemRef",
|
|
@@ -6580,7 +6585,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
|
|
|
6580
6585
|
i({ folderTree: D });
|
|
6581
6586
|
}
|
|
6582
6587
|
}
|
|
6583
|
-
const n =
|
|
6588
|
+
const n = we(Qu, void 0), a = O(() => {
|
|
6584
6589
|
const { count: M, page: N, totalCount: l, pageCount: s, ...D } = n;
|
|
6585
6590
|
return D;
|
|
6586
6591
|
});
|
|
@@ -6596,7 +6601,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
|
|
|
6596
6601
|
...a.value
|
|
6597
6602
|
}
|
|
6598
6603
|
};
|
|
6599
|
-
console.log(N),
|
|
6604
|
+
console.log(N), S4(N).then((I) => {
|
|
6600
6605
|
I.state == 200 ? me.success(`${e.t("导入成功")}`) : console.log("导入失败", I.message);
|
|
6601
6606
|
});
|
|
6602
6607
|
}
|
|
@@ -6606,7 +6611,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
|
|
|
6606
6611
|
}
|
|
6607
6612
|
return (M, N) => {
|
|
6608
6613
|
var l, s, D;
|
|
6609
|
-
return d(),
|
|
6614
|
+
return d(), w(j(ao), Ie({
|
|
6610
6615
|
limit: 1,
|
|
6611
6616
|
multiple: !1,
|
|
6612
6617
|
showFileList: !1,
|
|
@@ -6698,32 +6703,32 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
|
|
|
6698
6703
|
...T.formData
|
|
6699
6704
|
}, Object.keys(D.value).length && n("header-filter-change", D.value));
|
|
6700
6705
|
}), tu("isHeaderFormItem", !0);
|
|
6701
|
-
const b =
|
|
6706
|
+
const b = we("tableSelectedRow", F([]));
|
|
6702
6707
|
return (T, p) => {
|
|
6703
6708
|
const c = W("t-button"), f = W("t-space"), V = W("t-form");
|
|
6704
|
-
return d(), $("div", Nl, [a.value && a.value.length ? (d(),
|
|
6709
|
+
return d(), $("div", Nl, [a.value && a.value.length ? (d(), w(f, {
|
|
6705
6710
|
key: 0,
|
|
6706
6711
|
class: "g-header-button",
|
|
6707
6712
|
size: "8px"
|
|
6708
6713
|
}, {
|
|
6709
6714
|
default: L(() => [(d(!0), $(se, null, ye(a.value, (g) => (d(), $(se, {
|
|
6710
6715
|
key: g.buttonId
|
|
6711
|
-
}, [g.action == "UPLOAD_FILE" ? (d(),
|
|
6716
|
+
}, [g.action == "UPLOAD_FILE" ? (d(), w(cl, {
|
|
6712
6717
|
key: 0,
|
|
6713
6718
|
button: g,
|
|
6714
6719
|
viewName: T.viewName
|
|
6715
|
-
}, null, 8, ["button", "viewName"])) : g.action === "BATCH" ? (d(),
|
|
6720
|
+
}, null, 8, ["button", "viewName"])) : g.action === "BATCH" ? (d(), w(c, {
|
|
6716
6721
|
key: 1,
|
|
6717
6722
|
theme: j(b).length > 0 ? "danger" : "default",
|
|
6718
6723
|
disabled: j(b).length == 0,
|
|
6719
|
-
onClick: (
|
|
6724
|
+
onClick: (S) => i(g)
|
|
6720
6725
|
}, {
|
|
6721
6726
|
default: L(() => [le(ee(g.name), 1)]),
|
|
6722
6727
|
_: 2
|
|
6723
|
-
}, 1032, ["theme", "disabled", "onClick"])) : (d(),
|
|
6728
|
+
}, 1032, ["theme", "disabled", "onClick"])) : (d(), w(c, {
|
|
6724
6729
|
key: 2,
|
|
6725
6730
|
theme: "primary",
|
|
6726
|
-
onClick: (
|
|
6731
|
+
onClick: (S) => i(g)
|
|
6727
6732
|
}, {
|
|
6728
6733
|
default: L(() => [le(ee(g.name), 1)]),
|
|
6729
6734
|
_: 2
|
|
@@ -6737,10 +6742,10 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
|
|
|
6737
6742
|
layout: "inline",
|
|
6738
6743
|
colon: ""
|
|
6739
6744
|
}, {
|
|
6740
|
-
default: L(() => [(d(!0), $(se, null, ye(M.value, (g,
|
|
6745
|
+
default: L(() => [(d(!0), $(se, null, ye(M.value, (g, S) => (d(), w(Et, {
|
|
6741
6746
|
ref_for: !0,
|
|
6742
6747
|
ref: "gFormItemRefs",
|
|
6743
|
-
key:
|
|
6748
|
+
key: S,
|
|
6744
6749
|
formItem: {
|
|
6745
6750
|
...g,
|
|
6746
6751
|
required: !1
|
|
@@ -6758,8 +6763,8 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
|
|
|
6758
6763
|
}), Q(f, {
|
|
6759
6764
|
size: "8px"
|
|
6760
6765
|
}, {
|
|
6761
|
-
default: L(() => [(d(!0), $(se, null, ye(N.value, (g,
|
|
6762
|
-
key:
|
|
6766
|
+
default: L(() => [(d(!0), $(se, null, ye(N.value, (g, S) => (d(), $("div", {
|
|
6767
|
+
key: S
|
|
6763
6768
|
}, [Q(Et, {
|
|
6764
6769
|
formItem: g,
|
|
6765
6770
|
formModel: D.value,
|
|
@@ -6767,7 +6772,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
|
|
|
6767
6772
|
onAfterUpdateValue: I,
|
|
6768
6773
|
isLabelNameShow: !1,
|
|
6769
6774
|
componentProps: x(g)
|
|
6770
|
-
}, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128)), M.value.length || N.value.length ? (d(),
|
|
6775
|
+
}, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128)), M.value.length || N.value.length ? (d(), w(c, {
|
|
6771
6776
|
key: 0,
|
|
6772
6777
|
theme: "default",
|
|
6773
6778
|
onClick: P
|
|
@@ -6812,13 +6817,13 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6812
6817
|
return d(), $("div", {
|
|
6813
6818
|
key: D.keyName
|
|
6814
6819
|
}, [
|
|
6815
|
-
D.itemType === "label" ? (d(),
|
|
6820
|
+
D.itemType === "label" ? (d(), w(Sn, {
|
|
6816
6821
|
key: 0,
|
|
6817
6822
|
modelValue: j(ie)(r.value, l.col.colKey),
|
|
6818
6823
|
formItem: D,
|
|
6819
6824
|
formModel: r.value
|
|
6820
6825
|
}, null, 8, ["modelValue", "formItem", "formModel"])) : K("", !0),
|
|
6821
|
-
D.itemType == "text_input" ? (d(),
|
|
6826
|
+
D.itemType == "text_input" ? (d(), w(io, {
|
|
6822
6827
|
key: 1,
|
|
6823
6828
|
formItem: D,
|
|
6824
6829
|
viewName: l.viewName,
|
|
@@ -6828,7 +6833,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6828
6833
|
"onUpdate:modelValue": s[0] || (s[0] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6829
6834
|
"onBlur:modelValue": (I) => N(D)
|
|
6830
6835
|
}, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
|
|
6831
|
-
D.itemType === "check_box" ? (d(),
|
|
6836
|
+
D.itemType === "check_box" ? (d(), w(wn, {
|
|
6832
6837
|
key: 2,
|
|
6833
6838
|
formItem: D,
|
|
6834
6839
|
viewName: l.viewName,
|
|
@@ -6837,7 +6842,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6837
6842
|
"onUpdate:modelValue": s[1] || (s[1] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6838
6843
|
"onBlur:modelValue": (I) => N(D)
|
|
6839
6844
|
}, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
|
|
6840
|
-
D.itemType === "switch" ? (d(),
|
|
6845
|
+
D.itemType === "switch" ? (d(), w(vn, {
|
|
6841
6846
|
key: 3,
|
|
6842
6847
|
formItem: D,
|
|
6843
6848
|
viewName: l.viewName,
|
|
@@ -6846,7 +6851,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6846
6851
|
"onUpdate:modelValue": s[2] || (s[2] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6847
6852
|
"onBlur:modelValue": (I) => N(D)
|
|
6848
6853
|
}, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
|
|
6849
|
-
D.itemType === "radio" ? (d(),
|
|
6854
|
+
D.itemType === "radio" ? (d(), w(Un, {
|
|
6850
6855
|
key: 4,
|
|
6851
6856
|
originValue: j(ie)(l.row, l.col.colKey),
|
|
6852
6857
|
modelValue: j(ie)(r.value, l.col.colKey),
|
|
@@ -6855,7 +6860,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6855
6860
|
"onUpdate:modelValue": s[3] || (s[3] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6856
6861
|
"onBlur:modelValue": (I) => N(D)
|
|
6857
6862
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
|
|
6858
|
-
D.itemType === "selector" || D.itemType === "multi_selector" ? (d(),
|
|
6863
|
+
D.itemType === "selector" || D.itemType === "multi_selector" ? (d(), w(Qn, {
|
|
6859
6864
|
key: 5,
|
|
6860
6865
|
originValue: j(ie)(l.row, l.col.colKey),
|
|
6861
6866
|
modelValue: j(ie)(r.value, l.col.colKey),
|
|
@@ -6865,7 +6870,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6865
6870
|
"onUpdate:modelValue": s[4] || (s[4] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6866
6871
|
"onBlur:modelValue": (I) => N(D)
|
|
6867
6872
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : K("", !0),
|
|
6868
|
-
D.itemType === "date_selector" || D.itemType === "time_selector" || D.itemType === "date_time_selector" ? (d(),
|
|
6873
|
+
D.itemType === "date_selector" || D.itemType === "time_selector" || D.itemType === "date_time_selector" ? (d(), w(bn, {
|
|
6869
6874
|
key: 6,
|
|
6870
6875
|
originValue: j(ie)(l.row, l.col.colKey),
|
|
6871
6876
|
modelValue: j(ie)(r.value, l.col.colKey),
|
|
@@ -6874,7 +6879,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6874
6879
|
"onUpdate:modelValue": s[5] || (s[5] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6875
6880
|
"onBlur:modelValue": (I) => N(D)
|
|
6876
6881
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
|
|
6877
|
-
D.itemType === "tree_check_box" ? (d(),
|
|
6882
|
+
D.itemType === "tree_check_box" ? (d(), w(Yn, {
|
|
6878
6883
|
key: 7,
|
|
6879
6884
|
originValue: j(ie)(l.row, l.col.colKey),
|
|
6880
6885
|
modelValue: j(ie)(r.value, l.col.colKey),
|
|
@@ -6883,7 +6888,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6883
6888
|
"onUpdate:modelValue": s[6] || (s[6] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6884
6889
|
"onBlur:modelValue": (I) => N(D)
|
|
6885
6890
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
|
|
6886
|
-
D.itemType === "multi_tree_selector" || D.itemType === "tree_selector" ? (d(),
|
|
6891
|
+
D.itemType === "multi_tree_selector" || D.itemType === "tree_selector" ? (d(), w(Bn, {
|
|
6887
6892
|
key: 8,
|
|
6888
6893
|
originValue: j(ie)(l.row, l.col.colKey),
|
|
6889
6894
|
modelValue: j(ie)(r.value, l.col.colKey),
|
|
@@ -6893,7 +6898,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6893
6898
|
"onUpdate:modelValue": s[7] || (s[7] = (I) => l.col.colKey && M(l.col.colKey, I)),
|
|
6894
6899
|
"onBlur:modelValue": (I) => N(D)
|
|
6895
6900
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : K("", !0),
|
|
6896
|
-
D.itemType === "file" ? (d(),
|
|
6901
|
+
D.itemType === "file" ? (d(), w(Fn, {
|
|
6897
6902
|
key: 9,
|
|
6898
6903
|
modelValue: j(ie)(r.value, l.col.colKey),
|
|
6899
6904
|
formItem: D,
|
|
@@ -6931,9 +6936,9 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6931
6936
|
let c = M.value, f = 0, V = st;
|
|
6932
6937
|
A.value.length > s.value && (c -= Rt);
|
|
6933
6938
|
for (const g of A.value) {
|
|
6934
|
-
const
|
|
6935
|
-
if (V +
|
|
6936
|
-
V +=
|
|
6939
|
+
const S = I(g);
|
|
6940
|
+
if (V + S < c)
|
|
6941
|
+
V += S, f++;
|
|
6937
6942
|
else
|
|
6938
6943
|
break;
|
|
6939
6944
|
}
|
|
@@ -6975,8 +6980,8 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6975
6980
|
},
|
|
6976
6981
|
{ deep: !0 }
|
|
6977
6982
|
), (c, f) => {
|
|
6978
|
-
const V = W("t-button"), g = W("t-space"),
|
|
6979
|
-
return N.value ? (d(),
|
|
6983
|
+
const V = W("t-button"), g = W("t-space"), S = W("t-popup");
|
|
6984
|
+
return N.value ? (d(), w(g, {
|
|
6980
6985
|
key: 0,
|
|
6981
6986
|
ref_key: "GTableOperationsRef",
|
|
6982
6987
|
ref: a,
|
|
@@ -6987,7 +6992,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
6987
6992
|
}
|
|
6988
6993
|
}, {
|
|
6989
6994
|
default: L(() => [
|
|
6990
|
-
(d(!0), $(se, null, ye(k.value, (y) => (d(),
|
|
6995
|
+
(d(!0), $(se, null, ye(k.value, (y) => (d(), w(V, {
|
|
6991
6996
|
key: y.name,
|
|
6992
6997
|
ref_for: !0,
|
|
6993
6998
|
ref_key: "buttonRefs",
|
|
@@ -7001,7 +7006,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
7001
7006
|
]),
|
|
7002
7007
|
_: 2
|
|
7003
7008
|
}, 1032, ["onClick"]))), 128)),
|
|
7004
|
-
C.value ? (d(), S
|
|
7009
|
+
C.value ? (d(), w(S, {
|
|
7005
7010
|
key: 0,
|
|
7006
7011
|
visible: o.value,
|
|
7007
7012
|
"onUpdate:visible": f[0] || (f[0] = (y) => o.value = y),
|
|
@@ -7014,7 +7019,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
7014
7019
|
size: "0"
|
|
7015
7020
|
}, {
|
|
7016
7021
|
default: L(() => [
|
|
7017
|
-
(d(!0), $(se, null, ye(m.value, (y) => (d(),
|
|
7022
|
+
(d(!0), $(se, null, ye(m.value, (y) => (d(), w(V, {
|
|
7018
7023
|
key: y.name,
|
|
7019
7024
|
theme: "primary",
|
|
7020
7025
|
variant: "text",
|
|
@@ -7044,7 +7049,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
7044
7049
|
}, 8, ["visible"])) : K("", !0)
|
|
7045
7050
|
]),
|
|
7046
7051
|
_: 1
|
|
7047
|
-
}, 512)) : (d(),
|
|
7052
|
+
}, 512)) : (d(), w(g, {
|
|
7048
7053
|
key: 1,
|
|
7049
7054
|
ref_key: "GTableOperationsRef",
|
|
7050
7055
|
ref: a,
|
|
@@ -7055,7 +7060,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
|
|
|
7055
7060
|
}
|
|
7056
7061
|
}, {
|
|
7057
7062
|
default: L(() => [
|
|
7058
|
-
(d(!0), $(se, null, ye(A.value, (y) => (d(),
|
|
7063
|
+
(d(!0), $(se, null, ye(A.value, (y) => (d(), w(V, {
|
|
7059
7064
|
key: y.name,
|
|
7060
7065
|
ref_for: !0,
|
|
7061
7066
|
ref_key: "initButtonRefs",
|
|
@@ -7129,7 +7134,7 @@ function yl(t, e) {
|
|
|
7129
7134
|
var u = e.dir || e.root, o = e.base || (e.name || "") + (e.ext || "");
|
|
7130
7135
|
return u ? u === e.root ? u + o : u + t + o : o;
|
|
7131
7136
|
}
|
|
7132
|
-
var
|
|
7137
|
+
var Su = {
|
|
7133
7138
|
// path.resolve([from ...], to)
|
|
7134
7139
|
resolve: function() {
|
|
7135
7140
|
for (var e = "", u = !1, o, n = arguments.length - 1; n >= -1 && !u; n--) {
|
|
@@ -7154,10 +7159,10 @@ var wu = {
|
|
|
7154
7159
|
var o = arguments[u];
|
|
7155
7160
|
iu(o), o.length > 0 && (e === void 0 ? e = o : e += "/" + o);
|
|
7156
7161
|
}
|
|
7157
|
-
return e === void 0 ? "." :
|
|
7162
|
+
return e === void 0 ? "." : Su.normalize(e);
|
|
7158
7163
|
},
|
|
7159
7164
|
relative: function(e, u) {
|
|
7160
|
-
if (iu(e), iu(u), e === u || (e =
|
|
7165
|
+
if (iu(e), iu(u), e === u || (e = Su.resolve(e), u = Su.resolve(u), e === u))
|
|
7161
7166
|
return "";
|
|
7162
7167
|
for (var o = 1; o < e.length && e.charCodeAt(o) === 47; ++o)
|
|
7163
7168
|
;
|
|
@@ -7280,8 +7285,8 @@ var wu = {
|
|
|
7280
7285
|
win32: null,
|
|
7281
7286
|
posix: null
|
|
7282
7287
|
};
|
|
7283
|
-
|
|
7284
|
-
const ml =
|
|
7288
|
+
Su.posix = Su;
|
|
7289
|
+
const ml = Su.extname, Vn = Su.basename;
|
|
7285
7290
|
class El {
|
|
7286
7291
|
constructor() {
|
|
7287
7292
|
let e = (() => typeof global > "u")(), u = "image/png", o = "image/jpeg", n = "image/jpeg", a = "image/webp", i = "application/pdf", r = "image/svg+xml";
|
|
@@ -7464,7 +7469,7 @@ const Io = (t, e, u, o) => {
|
|
|
7464
7469
|
src: t
|
|
7465
7470
|
})
|
|
7466
7471
|
);
|
|
7467
|
-
let
|
|
7472
|
+
let Sl = class {
|
|
7468
7473
|
constructor(e, u) {
|
|
7469
7474
|
let o = document.createElement("canvas"), n = [];
|
|
7470
7475
|
Object.defineProperty(o, "async", {
|
|
@@ -7518,7 +7523,7 @@ let wl = class {
|
|
|
7518
7523
|
}
|
|
7519
7524
|
};
|
|
7520
7525
|
const {
|
|
7521
|
-
CanvasRenderingContext2D:
|
|
7526
|
+
CanvasRenderingContext2D: wl,
|
|
7522
7527
|
CanvasGradient: vl,
|
|
7523
7528
|
CanvasPattern: Ul,
|
|
7524
7529
|
Image: Rn,
|
|
@@ -7528,9 +7533,9 @@ const {
|
|
|
7528
7533
|
DOMRect: Bl,
|
|
7529
7534
|
DOMPoint: Fl
|
|
7530
7535
|
} = window, _l = {
|
|
7531
|
-
Canvas:
|
|
7536
|
+
Canvas: Sl,
|
|
7532
7537
|
loadImage: kl,
|
|
7533
|
-
CanvasRenderingContext2D:
|
|
7538
|
+
CanvasRenderingContext2D: wl,
|
|
7534
7539
|
CanvasGradient: vl,
|
|
7535
7540
|
CanvasPattern: Ul,
|
|
7536
7541
|
Image: Rn,
|
|
@@ -7549,7 +7554,7 @@ const {
|
|
|
7549
7554
|
Array.isArray(e[n]) ? (o[n] = {}, qu(t, e[n], u, o[n])) : o[n] = e[n](t, u, o, qu);
|
|
7550
7555
|
}
|
|
7551
7556
|
return u;
|
|
7552
|
-
},
|
|
7557
|
+
}, wu = (t, e) => (u, o, n, a) => {
|
|
7553
7558
|
e(u, o, n) && a(u, t, o, n);
|
|
7554
7559
|
}, Pl = (t, e) => (u, o, n, a) => {
|
|
7555
7560
|
const i = [];
|
|
@@ -7602,7 +7607,7 @@ var Ot = {
|
|
|
7602
7607
|
return i;
|
|
7603
7608
|
}
|
|
7604
7609
|
};
|
|
7605
|
-
const Rl =
|
|
7610
|
+
const Rl = wu(
|
|
7606
7611
|
{
|
|
7607
7612
|
gce: [
|
|
7608
7613
|
{ codes: su(2) },
|
|
@@ -7624,7 +7629,7 @@ const Rl = Su(
|
|
|
7624
7629
|
var e = ht(2)(t);
|
|
7625
7630
|
return e[0] === 33 && e[1] === 249;
|
|
7626
7631
|
}
|
|
7627
|
-
), Wl =
|
|
7632
|
+
), Wl = wu(
|
|
7628
7633
|
{
|
|
7629
7634
|
image: [
|
|
7630
7635
|
{ code: Je() },
|
|
@@ -7645,7 +7650,7 @@ const Rl = Su(
|
|
|
7645
7650
|
}
|
|
7646
7651
|
]
|
|
7647
7652
|
},
|
|
7648
|
-
|
|
7653
|
+
wu(
|
|
7649
7654
|
{
|
|
7650
7655
|
lct: Gn(3, (t, e, u) => Math.pow(2, u.descriptor.lct.size + 1))
|
|
7651
7656
|
},
|
|
@@ -7655,7 +7660,7 @@ const Rl = Su(
|
|
|
7655
7660
|
]
|
|
7656
7661
|
},
|
|
7657
7662
|
(t) => Wn()(t) === 44
|
|
7658
|
-
), Gl =
|
|
7663
|
+
), Gl = wu(
|
|
7659
7664
|
{
|
|
7660
7665
|
text: [
|
|
7661
7666
|
{ codes: su(2) },
|
|
@@ -7670,7 +7675,7 @@ const Rl = Su(
|
|
|
7670
7675
|
var e = ht(2)(t);
|
|
7671
7676
|
return e[0] === 33 && e[1] === 1;
|
|
7672
7677
|
}
|
|
7673
|
-
), Hl =
|
|
7678
|
+
), Hl = wu(
|
|
7674
7679
|
{
|
|
7675
7680
|
application: [
|
|
7676
7681
|
{ codes: su(2) },
|
|
@@ -7683,7 +7688,7 @@ const Rl = Su(
|
|
|
7683
7688
|
var e = ht(2)(t);
|
|
7684
7689
|
return e[0] === 33 && e[1] === 255;
|
|
7685
7690
|
}
|
|
7686
|
-
), Zl =
|
|
7691
|
+
), Zl = wu(
|
|
7687
7692
|
{
|
|
7688
7693
|
comment: [{ codes: su(2) }, Ot]
|
|
7689
7694
|
},
|
|
@@ -7709,7 +7714,7 @@ const Rl = Su(
|
|
|
7709
7714
|
{ pixelAspectRatio: Je() }
|
|
7710
7715
|
]
|
|
7711
7716
|
},
|
|
7712
|
-
|
|
7717
|
+
wu(
|
|
7713
7718
|
{
|
|
7714
7719
|
gct: Gn(
|
|
7715
7720
|
3,
|
|
@@ -8532,13 +8537,13 @@ function d0(t, e) {
|
|
|
8532
8537
|
u[m][0] -= k * (u[m][0] - C) / ct, u[m][1] -= k * (u[m][1] - E) / ct, u[m][2] -= k * (u[m][2] - b) / ct;
|
|
8533
8538
|
}
|
|
8534
8539
|
function l(k, m, C, E, b) {
|
|
8535
|
-
for (var T = Math.abs(m - k), p = Math.min(m + k, Qe), c = m + 1, f = m - 1, V = 1, g,
|
|
8536
|
-
|
|
8540
|
+
for (var T = Math.abs(m - k), p = Math.min(m + k, Qe), c = m + 1, f = m - 1, V = 1, g, S; c < p || f > T; )
|
|
8541
|
+
S = i[V++], c < p && (g = u[c++], g[0] -= S * (g[0] - C) / Fu, g[1] -= S * (g[1] - E) / Fu, g[2] -= S * (g[2] - b) / Fu), f > T && (g = u[f--], g[0] -= S * (g[0] - C) / Fu, g[1] -= S * (g[1] - E) / Fu, g[2] -= S * (g[2] - b) / Fu);
|
|
8537
8542
|
}
|
|
8538
8543
|
function s(k, m, C) {
|
|
8539
|
-
var E = 2147483647, b = E, T = -1, p = T, c, f, V, g,
|
|
8544
|
+
var E = 2147483647, b = E, T = -1, p = T, c, f, V, g, S;
|
|
8540
8545
|
for (c = 0; c < Qe; c++)
|
|
8541
|
-
f = u[c], V = Math.abs(f[0] - k) + Math.abs(f[1] - m) + Math.abs(f[2] - C), V < E && (E = V, T = c), g = V - (n[c] >> Zn - mu), g < b && (b = g, p = c),
|
|
8546
|
+
f = u[c], V = Math.abs(f[0] - k) + Math.abs(f[1] - m) + Math.abs(f[2] - C), V < E && (E = V, T = c), g = V - (n[c] >> Zn - mu), g < b && (b = g, p = c), S = a[c] >> mo, a[c] -= S, n[c] += S << Kn;
|
|
8542
8547
|
return a[T] += M0, n[T] -= r0, p;
|
|
8543
8548
|
}
|
|
8544
8549
|
function D() {
|
|
@@ -8566,9 +8571,9 @@ function d0(t, e) {
|
|
|
8566
8571
|
i[k] = T * ((c * c - k * k) * Ro / (c * c));
|
|
8567
8572
|
var f;
|
|
8568
8573
|
m < T0 ? (e = 1, f = 3) : m % Wo !== 0 ? f = 3 * Wo : m % Go !== 0 ? f = 3 * Go : m % Ho !== 0 ? f = 3 * Ho : f = 3 * Xn;
|
|
8569
|
-
var V, g,
|
|
8574
|
+
var V, g, S, y, _ = 0;
|
|
8570
8575
|
for (k = 0; k < E; )
|
|
8571
|
-
if (V = (t[_] & 255) << mu, g = (t[_ + 1] & 255) << mu,
|
|
8576
|
+
if (V = (t[_] & 255) << mu, g = (t[_ + 1] & 255) << mu, S = (t[_ + 2] & 255) << mu, y = s(V, g, S), N(T, y, V, g, S), c !== 0 && l(c, y, V, g, S), _ += f, _ >= m && (_ -= m), k++, b === 0 && (b = 1), k % b === 0)
|
|
8572
8577
|
for (T -= T / C, p -= p / D0, c = p >> Mo, c <= 1 && (c = 0), y = 0; y < c; y++)
|
|
8573
8578
|
i[y] = T * ((c * c - y * y) * Ro / (c * c));
|
|
8574
8579
|
}
|
|
@@ -8612,7 +8617,7 @@ function I0(t, e, u, o) {
|
|
|
8612
8617
|
a[l++] = y, l >= 254 && f(_);
|
|
8613
8618
|
}
|
|
8614
8619
|
function b(y) {
|
|
8615
|
-
T(Ku), s = x + 2, A = !0,
|
|
8620
|
+
T(Ku), s = x + 2, A = !0, S(x, y);
|
|
8616
8621
|
}
|
|
8617
8622
|
function T(y) {
|
|
8618
8623
|
for (var _ = 0; _ < y; ++_)
|
|
@@ -8622,7 +8627,7 @@ function I0(t, e, u, o) {
|
|
|
8622
8627
|
var B, H, z, v, h, U, R;
|
|
8623
8628
|
for (I = y, A = !1, C = I, D = V(C), x = 1 << y - 1, P = x + 1, s = x + 2, l = 0, v = g(), R = 0, B = Ku; B < 65536; B *= 2)
|
|
8624
8629
|
++R;
|
|
8625
|
-
R = 8 - R, U = Ku, T(U),
|
|
8630
|
+
R = 8 - R, U = Ku, T(U), S(x, _);
|
|
8626
8631
|
e:
|
|
8627
8632
|
for (; (H = g()) != Zo; ) {
|
|
8628
8633
|
if (B = (H << Nt) + v, z = H << R ^ v, i[z] === B) {
|
|
@@ -8637,9 +8642,9 @@ function I0(t, e, u, o) {
|
|
|
8637
8642
|
}
|
|
8638
8643
|
while (i[z] >= 0);
|
|
8639
8644
|
}
|
|
8640
|
-
|
|
8645
|
+
S(v, _), v = H, s < 1 << Nt ? (r[z] = s++, i[z] = B) : b(_);
|
|
8641
8646
|
}
|
|
8642
|
-
|
|
8647
|
+
S(v, _), S(P, _);
|
|
8643
8648
|
}
|
|
8644
8649
|
function c(y) {
|
|
8645
8650
|
y.writeByte(n), k = t * e, m = 0, p(n + 1, y), y.writeByte(0);
|
|
@@ -8657,7 +8662,7 @@ function I0(t, e, u, o) {
|
|
|
8657
8662
|
var y = u[m++];
|
|
8658
8663
|
return y & 255;
|
|
8659
8664
|
}
|
|
8660
|
-
function
|
|
8665
|
+
function S(y, _) {
|
|
8661
8666
|
for (M &= j0[N], N > 0 ? M |= y << N : M = y, N += C; N >= 8; )
|
|
8662
8667
|
E(M & 255, _), M >>= 8, N -= 8;
|
|
8663
8668
|
if ((s > D || A) && (A ? (D = V(C = I), A = !1) : (++C, C == Nt ? D = 1 << Nt : D = V(C))), y == P) {
|
|
@@ -9007,7 +9012,7 @@ class je {
|
|
|
9007
9012
|
const E = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, b = this.options.size;
|
|
9008
9013
|
let T = this.options.margin;
|
|
9009
9014
|
(T < 0 || T * 2 >= b) && (T = 0);
|
|
9010
|
-
const p = Math.ceil(T), c = b - 2 * T, f = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(c / E),
|
|
9015
|
+
const p = Math.ceil(T), c = b - 2 * T, f = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(c / E), S = g * E, y = S + 2 * p, _ = new Nu(y, y), B = _.getContext("2d");
|
|
9011
9016
|
this._clear(), B.save(), B.translate(p, p);
|
|
9012
9017
|
const H = new Nu(y, y), z = H.getContext("2d");
|
|
9013
9018
|
let v = null, h = [];
|
|
@@ -9064,7 +9069,7 @@ class je {
|
|
|
9064
9069
|
je._drawDot(B, 8 + Z, 6, g, ne, ve), je._drawDot(B, 6, 8 + Z, g, ne, ve);
|
|
9065
9070
|
const de = ((A = (D = this.options.components) === null || D === void 0 ? void 0 : D.cornerAlignment) === null || A === void 0 ? void 0 : A.scale) || gt, Pe = (1 - de) * 0.5;
|
|
9066
9071
|
je._drawAlign(B, ae, ae, g, Pe, de, this.options.colorDark, ((x = (I = this.options.components) === null || I === void 0 ? void 0 : I.cornerAlignment) === null || x === void 0 ? void 0 : x.protectors) || !1);
|
|
9067
|
-
const Ke = ((k = (P = this.options.components) === null || P === void 0 ? void 0 : P.alignment) === null || k === void 0 ? void 0 : k.scale) || gt,
|
|
9072
|
+
const Ke = ((k = (P = this.options.components) === null || P === void 0 ? void 0 : P.alignment) === null || k === void 0 ? void 0 : k.scale) || gt, Se = (1 - Ke) * 0.5;
|
|
9068
9073
|
for (let Z = 0; Z < U.length; Z++)
|
|
9069
9074
|
for (let te = 0; te < U.length; te++) {
|
|
9070
9075
|
const Ne = U[te], De = U[Z];
|
|
@@ -9073,14 +9078,14 @@ class je {
|
|
|
9073
9078
|
continue;
|
|
9074
9079
|
if (Ne === ae && De === ae)
|
|
9075
9080
|
continue;
|
|
9076
|
-
je._drawAlign(B, Ne, De, g,
|
|
9081
|
+
je._drawAlign(B, Ne, De, g, Se, Ke, this.options.colorDark, ((C = (m = this.options.components) === null || m === void 0 ? void 0 : m.alignment) === null || C === void 0 ? void 0 : C.protectors) || !1);
|
|
9077
9082
|
}
|
|
9078
9083
|
}
|
|
9079
|
-
if (f && (B.fillStyle = this.options.backgroundColor, B.fillRect(-p, -p, y, p), B.fillRect(-p,
|
|
9084
|
+
if (f && (B.fillStyle = this.options.backgroundColor, B.fillRect(-p, -p, y, p), B.fillRect(-p, S, y, p), B.fillRect(S, -p, p, y), B.fillRect(-p, -p, p, y)), this.options.logoImage) {
|
|
9080
9085
|
const Z = yield Ko(this.options.logoImage);
|
|
9081
9086
|
let te = this.options.logoScale, Ne = this.options.logoMargin, De = this.options.logoCornerRadius;
|
|
9082
9087
|
(te <= 0 || te >= 1) && (te = 0.2), Ne < 0 && (Ne = 0), De < 0 && (De = 0);
|
|
9083
|
-
const xe =
|
|
9088
|
+
const xe = S * te, fe = 0.5 * (y - xe), pe = fe;
|
|
9084
9089
|
B.restore(), B.fillStyle = this.options.logoBackgroundColor, B.save(), je._prepareRoundedCornerClip(B, fe - Ne, pe - Ne, xe + 2 * Ne, xe + 2 * Ne, De + Ne), B.clip();
|
|
9085
9090
|
const We = B.globalCompositeOperation;
|
|
9086
9091
|
B.globalCompositeOperation = "destination-out", B.fill(), B.globalCompositeOperation = We, B.restore(), B.save(), je._prepareRoundedCornerClip(B, fe, pe, xe, xe, De), B.clip(), B.drawImage(Z, fe, pe, xe, xe), B.restore(), B.save(), B.translate(p, p);
|
|
@@ -9352,7 +9357,7 @@ function ea(t = {}) {
|
|
|
9352
9357
|
}
|
|
9353
9358
|
};
|
|
9354
9359
|
}
|
|
9355
|
-
const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"], L0 = ["innerHTML"], h0 = { style: { "text-align": "center" } }, O0 = ["innerHTML"], k0 = ["onClick"],
|
|
9360
|
+
const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"], L0 = ["innerHTML"], h0 = { style: { "text-align": "center" } }, O0 = ["innerHTML"], k0 = ["onClick"], S0 = ["innerHTML"], w0 = /* @__PURE__ */ ue({
|
|
9356
9361
|
__name: "index",
|
|
9357
9362
|
props: {
|
|
9358
9363
|
viewName: {},
|
|
@@ -9373,11 +9378,11 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9373
9378
|
],
|
|
9374
9379
|
setup(t, { emit: e }) {
|
|
9375
9380
|
const { T: u } = ge(), { reload: o, reloadFlag: n } = ea(), a = t, i = e, r = O(() => {
|
|
9376
|
-
var g,
|
|
9377
|
-
return (
|
|
9381
|
+
var g, S, y, _;
|
|
9382
|
+
return (S = (g = a.board) == null ? void 0 : g.tableData) != null && S.keyName ? (_ = (y = a.board) == null ? void 0 : y.tableData) == null ? void 0 : _.keyName : "";
|
|
9378
9383
|
}), M = F([]);
|
|
9379
|
-
function N(g,
|
|
9380
|
-
M.value = g, i("return-selected-key", M.value), i("return-selected-row",
|
|
9384
|
+
function N(g, S) {
|
|
9385
|
+
M.value = g, i("return-selected-key", M.value), i("return-selected-row", S.selectedRowData);
|
|
9381
9386
|
}
|
|
9382
9387
|
const l = [
|
|
9383
9388
|
{ label: `${u.t("10/页")}`, value: 10 },
|
|
@@ -9394,41 +9399,41 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9394
9399
|
showJumper: !0,
|
|
9395
9400
|
pageSizeOptions: l
|
|
9396
9401
|
})), D = O(() => a.headerFilterProps);
|
|
9397
|
-
function A(g,
|
|
9402
|
+
function A(g, S) {
|
|
9398
9403
|
if (g.value != "")
|
|
9399
9404
|
try {
|
|
9400
|
-
return ju.render(g.value, { item:
|
|
9405
|
+
return ju.render(g.value, { item: S });
|
|
9401
9406
|
} catch (y) {
|
|
9402
9407
|
console.error("GTable returnValue Error", y);
|
|
9403
9408
|
}
|
|
9404
9409
|
else
|
|
9405
|
-
return Object.keys(D.value) ? ni(
|
|
9410
|
+
return Object.keys(D.value) ? ni(S[g.keyName], D.value) : S[g.keyName];
|
|
9406
9411
|
}
|
|
9407
9412
|
function I(g) {
|
|
9408
9413
|
return !eu(g) && g !== "";
|
|
9409
9414
|
}
|
|
9410
9415
|
const x = () => "<span class='empty'>----</span>";
|
|
9411
|
-
function P(g,
|
|
9416
|
+
function P(g, S) {
|
|
9412
9417
|
var y;
|
|
9413
9418
|
if (!Be(g.enums)) {
|
|
9414
9419
|
let _ = g.enums.filter((B) => {
|
|
9415
|
-
if (
|
|
9420
|
+
if (S[g.keyName] == null && (S[g.keyName] = ""), B.value == String(S[g.keyName]))
|
|
9416
9421
|
return B.text;
|
|
9417
9422
|
});
|
|
9418
|
-
return _.length ? (y = _.shift()) == null ? void 0 : y.text : I(
|
|
9423
|
+
return _.length ? (y = _.shift()) == null ? void 0 : y.text : I(S[g.keyName]) ? S[g.keyName] : x();
|
|
9419
9424
|
}
|
|
9420
9425
|
}
|
|
9421
|
-
function k(g,
|
|
9426
|
+
function k(g, S) {
|
|
9422
9427
|
if (g.value != "")
|
|
9423
|
-
return ju.render(g.value, { item:
|
|
9428
|
+
return ju.render(g.value, { item: S });
|
|
9424
9429
|
if (g.value == "")
|
|
9425
|
-
return I(
|
|
9430
|
+
return I(S[g.keyName]) ? Tu(S[g.keyName]).format("YYYY-MM-DD HH:mm:ss") : x();
|
|
9426
9431
|
}
|
|
9427
|
-
function m(g,
|
|
9428
|
-
i("table-button-action", g,
|
|
9432
|
+
function m(g, S) {
|
|
9433
|
+
i("table-button-action", g, S);
|
|
9429
9434
|
}
|
|
9430
|
-
function C(g,
|
|
9431
|
-
i("table-form-confirm", g,
|
|
9435
|
+
function C(g, S) {
|
|
9436
|
+
i("table-form-confirm", g, S);
|
|
9432
9437
|
}
|
|
9433
9438
|
Te(
|
|
9434
9439
|
() => a.tableData,
|
|
@@ -9437,9 +9442,9 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9437
9442
|
);
|
|
9438
9443
|
const E = F(null), { width: b } = cn(E), T = No(), p = F(/* @__PURE__ */ new Map());
|
|
9439
9444
|
function c(g) {
|
|
9440
|
-
const { columnsWidth:
|
|
9445
|
+
const { columnsWidth: S } = g, y = {};
|
|
9441
9446
|
f.value.forEach((z, v) => {
|
|
9442
|
-
const h = z.colKey, U =
|
|
9447
|
+
const h = z.colKey, U = S[h];
|
|
9443
9448
|
if (h && U)
|
|
9444
9449
|
if (h === "row-select")
|
|
9445
9450
|
y[h] = 50;
|
|
@@ -9459,7 +9464,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9459
9464
|
const q = R / z, ae = Math.floor(v * q);
|
|
9460
9465
|
y[U] = R + ae;
|
|
9461
9466
|
});
|
|
9462
|
-
let h = v - _.reduce((U, [R]) => U + (y[R] -
|
|
9467
|
+
let h = v - _.reduce((U, [R]) => U + (y[R] - S[R]), 0);
|
|
9463
9468
|
if (h > 0) {
|
|
9464
9469
|
const U = _.sort(([q, ae], [ze, ve]) => ve - ae).map(([q]) => q);
|
|
9465
9470
|
let R = 0;
|
|
@@ -9480,9 +9485,9 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9480
9485
|
(g) => {
|
|
9481
9486
|
if (g) {
|
|
9482
9487
|
f.value = g;
|
|
9483
|
-
const
|
|
9484
|
-
|
|
9485
|
-
const _ =
|
|
9488
|
+
const S = T.getColumnWidthData(a.viewName);
|
|
9489
|
+
S && (f.value = f.value.map((y) => {
|
|
9490
|
+
const _ = S[y.colKey];
|
|
9486
9491
|
return _ && (y.width = _, p.value.set(y.colKey, _)), y;
|
|
9487
9492
|
}));
|
|
9488
9493
|
}
|
|
@@ -9492,11 +9497,11 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9492
9497
|
return Te(
|
|
9493
9498
|
() => V.value,
|
|
9494
9499
|
(g) => {
|
|
9495
|
-
g && g.length && g.forEach((
|
|
9496
|
-
const y = f.value.findIndex((_) => _.colKey ===
|
|
9500
|
+
g && g.length && g.forEach((S) => {
|
|
9501
|
+
const y = f.value.findIndex((_) => _.colKey === S);
|
|
9497
9502
|
if (y > -1) {
|
|
9498
9503
|
const _ = f.value[y].width;
|
|
9499
|
-
p.value.set(
|
|
9504
|
+
p.value.set(S, _);
|
|
9500
9505
|
}
|
|
9501
9506
|
});
|
|
9502
9507
|
},
|
|
@@ -9504,9 +9509,9 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9504
9509
|
immediate: !0,
|
|
9505
9510
|
deep: !0
|
|
9506
9511
|
}
|
|
9507
|
-
), (g,
|
|
9512
|
+
), (g, S) => {
|
|
9508
9513
|
const y = W("t-button"), _ = W("t-popup"), B = W("t-image"), H = W("t-image-viewer");
|
|
9509
|
-
return j(n) ? K("", !0) : (d(),
|
|
9514
|
+
return j(n) ? K("", !0) : (d(), w(j(c4), {
|
|
9510
9515
|
key: 0,
|
|
9511
9516
|
class: "g-table",
|
|
9512
9517
|
tableType: "primary",
|
|
@@ -9570,7 +9575,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9570
9575
|
}, 1024)
|
|
9571
9576
|
]),
|
|
9572
9577
|
FORM_ITEM: L(({ col: z, row: v }) => [
|
|
9573
|
-
z.formItems && z.formItems.length ? (d(),
|
|
9578
|
+
z.formItems && z.formItems.length ? (d(), w(jl, {
|
|
9574
9579
|
key: 0,
|
|
9575
9580
|
viewName: g.viewName,
|
|
9576
9581
|
col: z,
|
|
@@ -9585,7 +9590,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9585
9590
|
J("div", {
|
|
9586
9591
|
class: G(`${j(_u)}__imageViewer`)
|
|
9587
9592
|
}, [
|
|
9588
|
-
A(z, v) ? (d(),
|
|
9593
|
+
A(z, v) ? (d(), w(H, {
|
|
9589
9594
|
key: 0,
|
|
9590
9595
|
images: [A(z, v)]
|
|
9591
9596
|
}, {
|
|
@@ -9600,10 +9605,10 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9600
9605
|
fit: "scale-down"
|
|
9601
9606
|
}, {
|
|
9602
9607
|
error: L(() => [
|
|
9603
|
-
z.name == `${j(u).t("头像")}` ? (d(),
|
|
9608
|
+
z.name == `${j(u).t("头像")}` ? (d(), w(j(wt), { key: 0 })) : (d(), w(j(Xu), { key: 1 }))
|
|
9604
9609
|
]),
|
|
9605
9610
|
loading: L(() => [
|
|
9606
|
-
z.name == `${j(u).t("头像")}` ? (d(),
|
|
9611
|
+
z.name == `${j(u).t("头像")}` ? (d(), w(j(wt), { key: 0 })) : (d(), w(j(Xu), {
|
|
9607
9612
|
key: 1,
|
|
9608
9613
|
size: "large"
|
|
9609
9614
|
}))
|
|
@@ -9626,10 +9631,10 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9626
9631
|
key: 1,
|
|
9627
9632
|
class: G(`${j(_u)}__imageViewer--placeholder`)
|
|
9628
9633
|
}, [
|
|
9629
|
-
z.name == `${j(u).t("头像")}` ? (d(),
|
|
9634
|
+
z.name == `${j(u).t("头像")}` ? (d(), w(j(wt), {
|
|
9630
9635
|
key: 0,
|
|
9631
9636
|
size: "large"
|
|
9632
|
-
})) : (d(),
|
|
9637
|
+
})) : (d(), w(j(Xu), {
|
|
9633
9638
|
key: 1,
|
|
9634
9639
|
size: "large"
|
|
9635
9640
|
}))
|
|
@@ -9637,7 +9642,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9637
9642
|
], 2)
|
|
9638
9643
|
]),
|
|
9639
9644
|
BUTTONS: L(({ col: z, row: v }) => [
|
|
9640
|
-
z.buttons && z.buttons.length > 0 ? (d(),
|
|
9645
|
+
z.buttons && z.buttons.length > 0 ? (d(), w(Il, {
|
|
9641
9646
|
key: 0,
|
|
9642
9647
|
buttons: z.buttons,
|
|
9643
9648
|
row: v,
|
|
@@ -9646,14 +9651,14 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9646
9651
|
}, null, 8, ["buttons", "row", "operations-width"])) : (d(), $("span", {
|
|
9647
9652
|
key: 1,
|
|
9648
9653
|
innerHTML: x()
|
|
9649
|
-
}, null, 8,
|
|
9654
|
+
}, null, 8, S0))
|
|
9650
9655
|
]),
|
|
9651
9656
|
_: 1
|
|
9652
9657
|
}, 8, ["commonTableProps"]));
|
|
9653
9658
|
};
|
|
9654
9659
|
}
|
|
9655
9660
|
});
|
|
9656
|
-
const v0 = /* @__PURE__ */ au(
|
|
9661
|
+
const v0 = /* @__PURE__ */ au(w0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @__PURE__ */ ue({
|
|
9657
9662
|
__name: "index",
|
|
9658
9663
|
props: {
|
|
9659
9664
|
viewName: {},
|
|
@@ -9689,14 +9694,14 @@ const v0 = /* @__PURE__ */ au(S0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @
|
|
|
9689
9694
|
}
|
|
9690
9695
|
return (A, I) => {
|
|
9691
9696
|
const x = W("t-card"), P = W("t-tab-panel"), k = W("t-tabs");
|
|
9692
|
-
return d(),
|
|
9697
|
+
return d(), w(k, {
|
|
9693
9698
|
class: G(`${j(Ii)}`),
|
|
9694
9699
|
placement: "left",
|
|
9695
9700
|
value: r.value,
|
|
9696
9701
|
onChange: N
|
|
9697
9702
|
}, {
|
|
9698
9703
|
default: L(() => [
|
|
9699
|
-
(d(!0), $(se, null, ye(i.value, (m, C) => (d(),
|
|
9704
|
+
(d(!0), $(se, null, ye(i.value, (m, C) => (d(), w(P, {
|
|
9700
9705
|
key: `${C}${m.title}`,
|
|
9701
9706
|
value: C,
|
|
9702
9707
|
label: m.title,
|
|
@@ -9705,7 +9710,7 @@ const v0 = /* @__PURE__ */ au(S0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @
|
|
|
9705
9710
|
default: L(() => [
|
|
9706
9711
|
Q(x, { bordered: !1 }, {
|
|
9707
9712
|
content: L(() => [
|
|
9708
|
-
m.board ? (d(),
|
|
9713
|
+
m.board ? (d(), w(j(ft), {
|
|
9709
9714
|
key: m.title,
|
|
9710
9715
|
viewName: A.viewName,
|
|
9711
9716
|
board: m.board,
|
|
@@ -9830,7 +9835,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
9830
9835
|
deep: !0
|
|
9831
9836
|
}
|
|
9832
9837
|
);
|
|
9833
|
-
const g = F(!1),
|
|
9838
|
+
const g = F(!1), S = F(!1), y = F(""), _ = F({}), B = F(), H = F();
|
|
9834
9839
|
async function z(Y, X = {}) {
|
|
9835
9840
|
if ((Y ?? "") != "") {
|
|
9836
9841
|
X.viewName = Y;
|
|
@@ -9847,7 +9852,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
9847
9852
|
try {
|
|
9848
9853
|
switch (Y.action) {
|
|
9849
9854
|
case "VIEW_BY_DIALOG": {
|
|
9850
|
-
(Y.view ?? "") != "" ? (y.value = "view", await z(Y.view), _.value = Y, r.initPropsSource({ ...X, ...M.serverProps }), await v(!0),
|
|
9855
|
+
(Y.view ?? "") != "" ? (y.value = "view", await z(Y.view), _.value = Y, r.initPropsSource({ ...X, ...M.serverProps }), await v(!0), S.value = !0) : (Y.link ?? "") != "" && (y.value = "iframe", _.value = Y, r.initPropsSource(X), B.value = {}, H.value = (Me = Y.props) == null ? void 0 : Me.map((oe) => oe.keyName), await v(!0), S.value = !0);
|
|
9851
9856
|
break;
|
|
9852
9857
|
}
|
|
9853
9858
|
case "VIEW": {
|
|
@@ -9870,7 +9875,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
9870
9875
|
Y.props ? Y.props.forEach((qe) => {
|
|
9871
9876
|
qe.keyName && (X[qe.keyName] ?? "") != "" && (re[qe.keyName] = X[qe.keyName]);
|
|
9872
9877
|
}) : re = { ...X };
|
|
9873
|
-
const Ce =
|
|
9878
|
+
const Ce = St.confirm({
|
|
9874
9879
|
theme: "info",
|
|
9875
9880
|
header: Y.name,
|
|
9876
9881
|
body: oe,
|
|
@@ -9908,7 +9913,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
9908
9913
|
break;
|
|
9909
9914
|
}
|
|
9910
9915
|
case "BATCH": {
|
|
9911
|
-
const oe =
|
|
9916
|
+
const oe = St.confirm({
|
|
9912
9917
|
theme: "info",
|
|
9913
9918
|
header: Y.name,
|
|
9914
9919
|
body: `${u.t("是否继续批量操作?")} `,
|
|
@@ -10055,7 +10060,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10055
10060
|
}
|
|
10056
10061
|
tu("tableSelectedRow", ze);
|
|
10057
10062
|
const ne = F([]), de = F([]), Pe = F([]), Ke = No();
|
|
10058
|
-
async function
|
|
10063
|
+
async function Se(Y) {
|
|
10059
10064
|
const X = `${M.viewName}_${s.value}`;
|
|
10060
10065
|
await Ke.setColumnData(X, Y) && (Pe.value = Y, me.success(u.t("设置成功")), N());
|
|
10061
10066
|
}
|
|
@@ -10086,7 +10091,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10086
10091
|
count: Y.pageSize
|
|
10087
10092
|
}), p();
|
|
10088
10093
|
}
|
|
10089
|
-
const De =
|
|
10094
|
+
const De = we("handleUpdateView");
|
|
10090
10095
|
async function xe(Y, X) {
|
|
10091
10096
|
h.value && (h.value.formOkButtonLoading || (h.value.formOkButtonLoading = !0));
|
|
10092
10097
|
let Me = {};
|
|
@@ -10100,7 +10105,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10100
10105
|
}
|
|
10101
10106
|
function fe(Y, X) {
|
|
10102
10107
|
if (Y.itemType == "selector" || Y.itemType == "time_selector" || Y.itemType == "date_time_selector" || Y.itemType == "tree_check_box" || Y.itemType === "multi_tree_selector" || Y.itemType === "tree_selector") {
|
|
10103
|
-
const Me =
|
|
10108
|
+
const Me = St.confirm({
|
|
10104
10109
|
theme: "info",
|
|
10105
10110
|
body: `${u.t("此操作将提交该修改,是否继续?")}`,
|
|
10106
10111
|
className: Vt,
|
|
@@ -10136,7 +10141,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10136
10141
|
async function We(Y, X) {
|
|
10137
10142
|
let Me = {};
|
|
10138
10143
|
Object.keys(E.value).length && Object.assign(Me, E.value), Object.assign(Me, Y);
|
|
10139
|
-
const Oe = await
|
|
10144
|
+
const Oe = await w4({
|
|
10140
10145
|
buttonId: X,
|
|
10141
10146
|
props: Me,
|
|
10142
10147
|
viewName: Y.viewName
|
|
@@ -10147,7 +10152,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10147
10152
|
}
|
|
10148
10153
|
}
|
|
10149
10154
|
function Ue() {
|
|
10150
|
-
|
|
10155
|
+
S.value = !1, setTimeout(() => {
|
|
10151
10156
|
v(!1);
|
|
10152
10157
|
});
|
|
10153
10158
|
}
|
|
@@ -10166,7 +10171,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10166
10171
|
size: "medium"
|
|
10167
10172
|
}, {
|
|
10168
10173
|
default: L(() => [
|
|
10169
|
-
s.value === "table" ? (d(),
|
|
10174
|
+
s.value === "table" ? (d(), w(j(dl), {
|
|
10170
10175
|
key: 0,
|
|
10171
10176
|
viewName: Y.viewName,
|
|
10172
10177
|
board: Y.board,
|
|
@@ -10175,9 +10180,9 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10175
10180
|
displayColumns: Pe.value,
|
|
10176
10181
|
onHeaderButtonAction: U,
|
|
10177
10182
|
onHeaderFilterChange: R,
|
|
10178
|
-
onDisplayColumnsChange:
|
|
10183
|
+
onDisplayColumnsChange: Se
|
|
10179
10184
|
}, null, 8, ["viewName", "board", "headerInfo", "tableColumns", "displayColumns"])) : K("", !0),
|
|
10180
|
-
s.value === "form" ? (d(),
|
|
10185
|
+
s.value === "form" ? (d(), w(j(sl), {
|
|
10181
10186
|
key: 1,
|
|
10182
10187
|
ref_key: "gFormRef",
|
|
10183
10188
|
ref: h,
|
|
@@ -10188,7 +10193,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10188
10193
|
onConfirmAndClose: Yu,
|
|
10189
10194
|
onCloseDialog: yu
|
|
10190
10195
|
}, null, 8, ["viewName", "board", "formData"])) : K("", !0),
|
|
10191
|
-
s.value === "table" ? (d(),
|
|
10196
|
+
s.value === "table" ? (d(), w(v0, {
|
|
10192
10197
|
key: 2,
|
|
10193
10198
|
viewName: Y.viewName,
|
|
10194
10199
|
board: Y.board,
|
|
@@ -10203,7 +10208,7 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10203
10208
|
onReturnSelectedRow: ve,
|
|
10204
10209
|
onReturnPaginationProps: Ne
|
|
10205
10210
|
}, null, 8, ["viewName", "board", "tableColumns", "displayColumns", "tableData", "paginationProps", "headerFilterProps"])) : K("", !0),
|
|
10206
|
-
s.value === "tab" ? (d(),
|
|
10211
|
+
s.value === "tab" ? (d(), w(U0, {
|
|
10207
10212
|
key: 3,
|
|
10208
10213
|
viewName: Y.viewName,
|
|
10209
10214
|
board: Y.board
|
|
@@ -10211,13 +10216,13 @@ const Q0 = /* @__PURE__ */ ue({
|
|
|
10211
10216
|
]),
|
|
10212
10217
|
_: 1
|
|
10213
10218
|
}, 8, ["class", "loading"]),
|
|
10214
|
-
g.value ? (d(),
|
|
10219
|
+
g.value ? (d(), w(j(nl), {
|
|
10215
10220
|
key: 0,
|
|
10216
10221
|
ref: "dialogRef",
|
|
10217
10222
|
dialogType: y.value,
|
|
10218
|
-
isDialogVisible:
|
|
10223
|
+
isDialogVisible: S.value,
|
|
10219
10224
|
"onUpdate:isDialogVisible": [
|
|
10220
|
-
X[0] || (X[0] = (Oe) =>
|
|
10225
|
+
X[0] || (X[0] = (Oe) => S.value = Oe),
|
|
10221
10226
|
Ue
|
|
10222
10227
|
],
|
|
10223
10228
|
dialogViewInfo: _.value,
|
|
@@ -10319,13 +10324,13 @@ const ft = Re(Q0), ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
10319
10324
|
} : {}
|
|
10320
10325
|
};
|
|
10321
10326
|
});
|
|
10322
|
-
return tu(En, r), (C, E) => (d(),
|
|
10327
|
+
return tu(En, r), (C, E) => (d(), w(j(To), Ie({ key: r.value }, m.value), {
|
|
10323
10328
|
default: L(() => {
|
|
10324
10329
|
var b;
|
|
10325
10330
|
return [
|
|
10326
10331
|
P.value ? (d(!0), $(se, { key: 0 }, ye((b = D.value) == null ? void 0 : b.boards, (T) => {
|
|
10327
10332
|
var p, c;
|
|
10328
|
-
return d(),
|
|
10333
|
+
return d(), w(j(ft), {
|
|
10329
10334
|
key: `${(p = D.value) == null ? void 0 : p.viewName}_${T.boardType}`,
|
|
10330
10335
|
board: T,
|
|
10331
10336
|
viewName: A.value,
|
|
@@ -12232,7 +12237,7 @@ const R0 = { class: "gConfigProvider" }, W0 = /* @__PURE__ */ ue({
|
|
|
12232
12237
|
},
|
|
12233
12238
|
setup(t) {
|
|
12234
12239
|
const { T: e, i18n: u } = ge();
|
|
12235
|
-
|
|
12240
|
+
we(no, null);
|
|
12236
12241
|
const o = t, n = O(() => ({ ...o.localeConfig })), a = O(() => ({ ...o.dateLocaleConfig })), i = O(() => [...o.layoutHeaderOperations.slice(0, 5)]), r = O(() => ({
|
|
12237
12242
|
enableDefaultOperations: !0,
|
|
12238
12243
|
...o.layoutHeaderConfig
|
|
@@ -12389,7 +12394,7 @@ const lM = { render: iM }, MM = {
|
|
|
12389
12394
|
});
|
|
12390
12395
|
return (o, n) => (d(), $("div", MM, [
|
|
12391
12396
|
J("div", rM, [
|
|
12392
|
-
(d(),
|
|
12397
|
+
(d(), w(on(u.value)))
|
|
12393
12398
|
]),
|
|
12394
12399
|
J("div", sM, ee(o.title), 1),
|
|
12395
12400
|
J("div", cM, ee(o.tip), 1),
|
|
@@ -12408,7 +12413,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
|
|
|
12408
12413
|
}
|
|
12409
12414
|
return (n, a) => {
|
|
12410
12415
|
const i = W("t-button");
|
|
12411
|
-
return d(),
|
|
12416
|
+
return d(), w(j(To), null, {
|
|
12412
12417
|
default: L(() => [
|
|
12413
12418
|
Q(ta, {
|
|
12414
12419
|
type: "404",
|
|
@@ -12441,7 +12446,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
|
|
|
12441
12446
|
}
|
|
12442
12447
|
return (n, a) => {
|
|
12443
12448
|
const i = W("t-button");
|
|
12444
|
-
return d(),
|
|
12449
|
+
return d(), w(j(To), null, {
|
|
12445
12450
|
default: L(() => [
|
|
12446
12451
|
Q(ta, {
|
|
12447
12452
|
type: "403",
|
|
@@ -12484,7 +12489,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
|
|
|
12484
12489
|
t.directive(e, en[e]);
|
|
12485
12490
|
});
|
|
12486
12491
|
}
|
|
12487
|
-
}, TM = "@gonsin/gview", dM = "2.1.
|
|
12492
|
+
}, TM = "@gonsin/gview", dM = "2.1.7", jM = "dist/index.mjs", IM = "dist/types/index.d.ts", AM = [
|
|
12488
12493
|
"dist",
|
|
12489
12494
|
"README.md",
|
|
12490
12495
|
"CHANGELOG.md"
|
|
@@ -12628,7 +12633,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
|
|
|
12628
12633
|
], 2)
|
|
12629
12634
|
], 2));
|
|
12630
12635
|
}
|
|
12631
|
-
}), OM = ["poster"], kM = ["src"],
|
|
12636
|
+
}), OM = ["poster"], kM = ["src"], SM = ["src"], wM = /* @__PURE__ */ ue({
|
|
12632
12637
|
__name: "GLogin",
|
|
12633
12638
|
props: {
|
|
12634
12639
|
bgVideoMp4Src: {},
|
|
@@ -12681,12 +12686,12 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
|
|
|
12681
12686
|
J("source", {
|
|
12682
12687
|
src: e.bgVideoWebmSrc,
|
|
12683
12688
|
type: "video/webm"
|
|
12684
|
-
}, null, 8,
|
|
12689
|
+
}, null, 8, SM)
|
|
12685
12690
|
], 14, OM)
|
|
12686
12691
|
], 2));
|
|
12687
12692
|
}
|
|
12688
12693
|
});
|
|
12689
|
-
const zr = Re(
|
|
12694
|
+
const zr = Re(wM), vM = oa.name, UM = oa.version;
|
|
12690
12695
|
function QM(t, e) {
|
|
12691
12696
|
console.info(
|
|
12692
12697
|
`%c ${vM} %c ${UM} `,
|
|
@@ -12732,7 +12737,7 @@ export {
|
|
|
12732
12737
|
tr as LOCAL_EDIFICE_INFO,
|
|
12733
12738
|
Bt as LOCAL_INIT_TAB_MENU_LIST,
|
|
12734
12739
|
Yt as LOCAL_IS_SIDE_SELF_DRAGGING,
|
|
12735
|
-
|
|
12740
|
+
So as LOCAL_LOGIN_STATUS,
|
|
12736
12741
|
or as LOCAL_MENU,
|
|
12737
12742
|
Qo as LOCAL_SESSION_ID,
|
|
12738
12743
|
Wu as LOCAL_SIDE_MENU_CONFIG,
|
|
@@ -12740,10 +12745,10 @@ export {
|
|
|
12740
12745
|
Ft as LOCAL_TAB_MENU,
|
|
12741
12746
|
Qt as LOCAL_THEME_CONFIG,
|
|
12742
12747
|
ur as LOCAL_USER,
|
|
12743
|
-
|
|
12748
|
+
wo as LOCAL_USER_PERMISSIONS,
|
|
12744
12749
|
ko as LOCAL_WEBSITE_SETTING_KEY,
|
|
12745
12750
|
me as MessageManager,
|
|
12746
|
-
|
|
12751
|
+
wr as NProgress,
|
|
12747
12752
|
pr as NoPermission,
|
|
12748
12753
|
fr as NotFound,
|
|
12749
12754
|
Dn as PREFIX,
|