hs-admin-ui 16.9.1 → 16.9.3
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/{bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DBfY7ssx.js → bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js} +30186 -29229
- package/dist/{components-BY6OHEL_.js → components-DsVuYHOj.js} +695 -695
- package/dist/element-plus-ui.mjs +10 -10
- package/dist/h5.mjs +39 -39
- package/dist/index-CIXY2Jmv.js +31435 -0
- package/dist/index-Daf_CLzJ.js +2848 -0
- package/dist/{index-DWfYSzIb.js → index-Dz4wai8P.js} +13 -13
- package/dist/index.mjs +6634 -7088
- package/dist/style.css +1 -1
- package/dist/types/element-plus.d.ts +1204 -338
- package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +1 -184
- package/dist/types/src/components/business/bcForm/useGuide.d.ts +3 -551
- package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +2 -184
- package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +2 -186
- package/dist/types/src/components/business/bcTable/utils/parseTable.d.ts +3 -3
- package/dist/types/src/components/business/bcTable/utils/useBcTable.d.ts +76 -64
- package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +2 -2
- package/dist/types/src/utils/number.d.ts +1 -1
- package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +1 -1
- package/dist/vxe-table-ui.mjs +8 -8
- package/package.json +1 -1
- package/dist/index-B1ZjQMzA.js +0 -3095
- package/dist/index-BRx2_JIm.js +0 -31584
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as v, X as F,
|
|
1
|
+
import { R as v, X as F, _ as y, ax as P, J as L, eG as U, Q as S, eH as ne, eI as C, eJ as h, aa as R, T as le, bD as re, ap as oe, ae as D, aj as se, br as ie, bs as ue, eK as ce, W as de, bu as fe, bv as ge, bq as me, eL as pe, aT as ye, aS as be, eM as he, eN as ve, eO as _e, eP as xe, eQ as we, eR as De, eS as Ce, eT as Ee, eU as Se, am as Ae, Z as Te, L as Ne, eV as Be, eW as Fe, a4 as Pe, eX as Me, eY as je, eZ as Ie, e_ as Le, e$ as Re, K as Oe, f0 as Ye, f1 as $e, f2 as ke, f3 as Ke, f4 as Ue, f5 as He, f6 as qe, f7 as We, aw as Je, f8 as ze, f9 as Qe, ac as Ze, fa as Ge, fb as Xe, fc as Ve, fd as et, fe as tt, V as at, al as nt, S as lt, ff as rt, fg as ot, an as st, fh as it, fi as ut, at as ct, fj as dt, fk as ft, fl as gt, fm as mt, fn as pt, fo as yt, fp as bt, fq as ht, fr as vt, fs as _t, ft as xt, fu as wt, fv as Dt, fw as Ct, fx as Et, fy as St, fz as At, fA as Tt, fB as Nt, fC as Bt, fD as Ft, fE as Pt, fF as Mt, fG as jt, fH as It } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js";
|
|
2
2
|
import { ref as Lt, onBeforeUnmount as Rt, nextTick as Ot } from "vue";
|
|
3
3
|
function Yt(t, e) {
|
|
4
4
|
const n = M(t), a = M(e);
|
|
@@ -256,7 +256,7 @@ function qt(t) {
|
|
|
256
256
|
}
|
|
257
257
|
function A(t, e) {
|
|
258
258
|
if (!t) return "";
|
|
259
|
-
let n = t.getDay(), a =
|
|
259
|
+
let n = t.getDay(), a = G(t), l = Math.floor((t.getMonth() + 3) / 3).toString();
|
|
260
260
|
const o = {
|
|
261
261
|
"Y+": t.getFullYear().toString(),
|
|
262
262
|
// 年
|
|
@@ -293,7 +293,7 @@ function A(t, e) {
|
|
|
293
293
|
}
|
|
294
294
|
return e;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function G(t) {
|
|
297
297
|
let e = new Date(t.getTime()), n = e.getDay() || 7;
|
|
298
298
|
e.setDate(e.getDate() - n + 1 + 5);
|
|
299
299
|
let a = new Date(e.getFullYear(), 0, 1), l = a.getDay(), o = 1;
|
|
@@ -322,11 +322,11 @@ function Jt(t) {
|
|
|
322
322
|
let e = new Date(t).getHours();
|
|
323
323
|
return e < 6 ? "凌晨好" : e < 9 ? "早上好" : e < 12 ? "上午好" : e < 14 ? "中午好" : e < 17 ? "下午好" : e < 19 ? "傍晚好" : e < 22 ? "晚上好" : "夜里好";
|
|
324
324
|
}
|
|
325
|
-
const zt = (t, e, n) => n ? `${n}%` : "-", Qt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd") : "-", Zt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd HH:MM:SS") : "-",
|
|
325
|
+
const zt = (t, e, n) => n ? `${n}%` : "-", Qt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd") : "-", Zt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd HH:MM:SS") : "-", Gt = (t, e, n) => {
|
|
326
326
|
if (!n) return "-";
|
|
327
327
|
let a = 0;
|
|
328
328
|
return typeof t == "number" && (a = t), typeof n == "number" && (a = n), A(new Date(a * 1e3), "HH:MM:SS");
|
|
329
|
-
},
|
|
329
|
+
}, Xt = (t = "0", e = 4) => Number.parseFloat(t).toFixed(e), Vt = (t = "0") => Number.parseFloat(t).toFixed(2), ea = (t) => {
|
|
330
330
|
let e = t && t.toUpperCase();
|
|
331
331
|
const n = {
|
|
332
332
|
11: "北京",
|
|
@@ -817,7 +817,7 @@ const ma = (t, e, n) => {
|
|
|
817
817
|
const a = e.toLowerCase();
|
|
818
818
|
return t.filter((l) => n(l).some((r) => r && r.toLowerCase().includes(a)));
|
|
819
819
|
};
|
|
820
|
-
let
|
|
820
|
+
let X;
|
|
821
821
|
const pa = 60 * 1e3;
|
|
822
822
|
let $ = !1, j = !1, B;
|
|
823
823
|
const ya = /<script.*?src=["'](.*?)["'].*?><\/script>/g, k = /index-(.*?)\.js/g, V = async () => fetch("/index.html?timestep=" + Date.now()).then((t) => t.text()).then((t) => {
|
|
@@ -825,7 +825,7 @@ const ya = /<script.*?src=["'](.*?)["'].*?><\/script>/g, k = /index-(.*?)\.js/g,
|
|
|
825
825
|
const e = (n = t.match(ya)) == null ? void 0 : n.filter((l) => k.test(l));
|
|
826
826
|
return e && e.length > 0 ? y.get(((a = e[0]) == null ? void 0 : a.match(k)) || [], "0", "") : "";
|
|
827
827
|
}), ee = () => V().then((t) => {
|
|
828
|
-
t && t !=
|
|
828
|
+
t && t != X && !$ && ($ = !0, te(), se.confirm("系统版本更新了,是否立即刷新页面?", "提示", {
|
|
829
829
|
confirmButtonText: "立即刷新",
|
|
830
830
|
cancelButtonText: "稍后刷新",
|
|
831
831
|
type: "warning",
|
|
@@ -843,7 +843,7 @@ function te() {
|
|
|
843
843
|
}
|
|
844
844
|
async function ba() {
|
|
845
845
|
return V().then((t) => {
|
|
846
|
-
|
|
846
|
+
X = t, I(), document.addEventListener("visibilitychange", () => {
|
|
847
847
|
j = document.hidden, j ? te() : (ee(), I());
|
|
848
848
|
});
|
|
849
849
|
});
|
|
@@ -892,7 +892,7 @@ const K = (t) => {
|
|
|
892
892
|
convertCurrency: U,
|
|
893
893
|
copyText: Ht,
|
|
894
894
|
dataURLtoBlob: sa,
|
|
895
|
-
dateFormatHMS:
|
|
895
|
+
dateFormatHMS: Gt,
|
|
896
896
|
dateFormatYMD: Qt,
|
|
897
897
|
dateFormatYMDHMS: Zt,
|
|
898
898
|
decimalDigits: we,
|
|
@@ -926,7 +926,7 @@ const K = (t) => {
|
|
|
926
926
|
getTableDataType: Re,
|
|
927
927
|
getUrlBase64: kt,
|
|
928
928
|
getUrlParams: Oe,
|
|
929
|
-
getWeek:
|
|
929
|
+
getWeek: G,
|
|
930
930
|
globalComponentSize: Ye,
|
|
931
931
|
handleEmpty: $e,
|
|
932
932
|
handleOpenLink: ke,
|
|
@@ -943,8 +943,8 @@ const K = (t) => {
|
|
|
943
943
|
message: ze,
|
|
944
944
|
messageBox: Qe,
|
|
945
945
|
mittBus: Ze,
|
|
946
|
-
notification:
|
|
947
|
-
numberToChinese:
|
|
946
|
+
notification: Ge,
|
|
947
|
+
numberToChinese: Xe,
|
|
948
948
|
other: Ve,
|
|
949
949
|
percentFormat: zt,
|
|
950
950
|
popupPlugin: et,
|
|
@@ -955,7 +955,7 @@ const K = (t) => {
|
|
|
955
955
|
removeDuplicate: M,
|
|
956
956
|
request: S,
|
|
957
957
|
scale2Format: Vt,
|
|
958
|
-
scaleFormat:
|
|
958
|
+
scaleFormat: Xt,
|
|
959
959
|
sendMsg: z,
|
|
960
960
|
setColumnWidthConfig: nt,
|
|
961
961
|
setConfig: lt,
|