@utogether/udp-core 1.0.1-beta.33 → 1.0.1-beta.36
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/{403-kwxf8yCK.js → 403-DyXUGKoE.js} +5 -5
- package/dist/{404-HtCKNMVs.js → 404-BMsHU2ES.js} +4 -4
- package/dist/{500-ClrRGqKR.js → 500-CbNyGD7D.js} +1 -1
- package/dist/{AuthorityInfo-CtRBjzja.js → AuthorityInfo-KsKY-NZ6.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DMwwnDTE.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CZN4ifJY.js} +1 -1
- package/dist/{Company-DTjplho_.js → Company-BLz2bsPR.js} +3 -3
- package/dist/{CompanyPanel-Cjy6fVPj.js → CompanyPanel-CR3Mw_9O.js} +12 -12
- package/dist/{Department-CH6Yt7f4.js → Department-CXTPaA3G.js} +3 -3
- package/dist/{DepartmentPanel-rqSEit_s.js → DepartmentPanel-sdMIyWli.js} +7 -7
- package/dist/{DesignPanel-DJ1RlhRO.js → DesignPanel-CDj1NhGj.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Wb6xMGH-.js → DesignPanel.vue_vue_type_style_index_0_lang-CHP7KFmA.js} +2 -2
- package/dist/{DictView-BveOTSOM.js → DictView-CesILqIR.js} +1 -1
- package/dist/{InvOrganization-DWOGgrPo.js → InvOrganization-BiiaUIkE.js} +1 -1
- package/dist/{Org-BN2xMKd6.js → Org-Btuon-rf.js} +3 -3
- package/dist/{Preview-DHjo8tzC.js → Preview-yU3fj1g5.js} +1 -1
- package/dist/{ReportDefine-_dQiM9xA.js → ReportDefine-B0BKZ8qQ.js} +1 -1
- package/dist/{ReportDesign-CdEO2lRV.js → ReportDesign-0KCUda0R.js} +8 -8
- package/dist/{ReportQuery-BpkUbbK6.js → ReportQuery-BLKvmD12.js} +1 -1
- package/dist/{ReportQueryFrom-CbP80_sr.js → ReportQueryFrom-CgqwICUU.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BVL6ZoEt.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CYTj6VPj.js} +1 -1
- package/dist/{ReportTemplate-DSusiJ71.js → ReportTemplate-C4sqLywu.js} +1 -1
- package/dist/{Role-C6hy0KuJ.js → Role-yZITpgPO.js} +3 -3
- package/dist/{RoleAssign-xKFsJ7Kx.js → RoleAssign-L97nmCrU.js} +3 -3
- package/dist/{RolePanel-DfD9rJzO.js → RolePanel-BJXG0B6A.js} +1 -1
- package/dist/{RolePanel-B7Q58kiG.js → RolePanel-qj_GbWD7.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bv-uI4Dl.js → RolePanel.vue_vue_type_script_setup_true_lang-BfZoUyAJ.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CehA2NNV.js → RolePanel.vue_vue_type_script_setup_true_lang-DPiskBzz.js} +7 -7
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-Wk3ehyH5.js → ScrollPanel.vue_vue_type_style_index_0_lang-B6Q3ctvz.js} +5 -5
- package/dist/{Staff-BVUFcmsm.js → Staff-BPITcOkP.js} +3 -3
- package/dist/{StaffInfo-Do7TRY0M.js → StaffInfo-BogMLe9z.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-baun5eMA.js → StaffInfo.vue_vue_type_script_setup_true_lang-sH4qyCfh.js} +4 -4
- package/dist/{StaffPanel-5N37v8nE.js → StaffPanel-CgFVMYwO.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-Du_AgvPd.js → StaffPanel.vue_vue_type_script_setup_true_lang-DyhCyFnF.js} +5 -5
- package/dist/{SysUser-DwbDMnb-.js → SysUser-DzdliLaI.js} +2 -2
- package/dist/{SysUserPanel-CZOyQYb6.js → SysUserPanel-IUraCbnt.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-w2cJYId_.js → SysUserPanel.vue_vue_type_script_setup_true_lang-DF2GWJTk.js} +1 -1
- package/dist/{SystemMenu-Dt6G8ZoP.js → SystemMenu-DlIb28uw.js} +6 -6
- package/dist/{UserInfo-DkqXLpcs.js → UserInfo-DgeRuJCk.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CaynWglM.js → UserInfo.vue_vue_type_style_index_0_lang-BmKfJyXE.js} +1 -1
- package/dist/{childView-BFFWXXUx.js → childView-C4phKrcY.js} +1 -1
- package/dist/{childView-BfeXnKqn.js → childView-DQ-3g54z.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-D3UswIrw.js → childView.vue_vue_type_style_index_0_lang-Cl71-OUq.js} +7 -7
- package/dist/{childView.vue_vue_type_style_index_0_lang-BJsDq027.js → childView.vue_vue_type_style_index_0_lang-maAkY1Sp.js} +8 -8
- package/dist/{code-rule-DG6acadZ.js → code-rule-CxzU64Hb.js} +1 -1
- package/dist/core.es.js +8 -8
- package/dist/{cron-task-BcSJarq3.js → cron-task-CKLeTK7O.js} +5 -5
- package/dist/{frameView-D64-T4BV.js → frameView-CgNT6_Bq.js} +1 -1
- package/dist/{index-1BOi1amY.js → index-Da0zJqlp.js} +383 -370
- package/dist/{layoutView-CQJ9c3ZV.js → layoutView-CHhWcHC7.js} +244 -244
- package/dist/{log-in-EOn9ci11.js → log-in-pet8Awpr.js} +4 -4
- package/dist/{log-out-Dw-n4tmS.js → log-out-CPwT8--B.js} +3 -3
- package/dist/{login-DHC4RPod.js → login-BGU4ViTq.js} +50 -48
- package/dist/{lov-view-BG0lV86e.js → lov-view-HgPnQV9D.js} +9 -9
- package/dist/{menuInfo-CC5u9H-w.js → menuInfo-BOg6T9ah.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-vnxmY_ro.js → menuInfo.vue_vue_type_style_index_0_lang-DRfGRBJU.js} +1 -1
- package/dist/{pda-app-DU1gkWj4.js → pda-app-DiKwdZX9.js} +18 -18
- package/dist/{resource-B9x_rSE_.js → resource-ig8i-9QR.js} +7 -7
- package/dist/{su-welcome-DGOeEb4b.js → su-welcome-1ZnlQyQu.js} +1 -1
- package/dist/{sys-config-C1bZxKpe.js → sys-config-DFrgaSmn.js} +1 -1
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/layout/hooks/useNav.ts +176 -173
- package/src/utils/lifecycle.ts +39 -20
- package/src/views/ulogin/login.vue +325 -323
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as k, ref as o, createVNode as u, resolveComponent as a, nextTick as
|
|
1
|
+
import { defineComponent as k, ref as o, createVNode as u, resolveComponent as a, nextTick as g, createElementBlock as w, openBlock as s, createBlock as C, createCommentVNode as R } from "vue";
|
|
2
2
|
import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import { useRender as
|
|
3
|
+
import { y as b } from "./index-Da0zJqlp.js";
|
|
4
|
+
import { _ as y } from "./childView.vue_vue_type_style_index_0_lang-Cl71-OUq.js";
|
|
5
|
+
import { useRender as D } from "@utogether/utils";
|
|
6
6
|
const c = "/upfm/v1/lovViewHeader", B = /* @__PURE__ */ k({
|
|
7
7
|
name: "LovView",
|
|
8
8
|
__name: "lov-view",
|
|
9
|
-
setup(
|
|
9
|
+
setup(I) {
|
|
10
10
|
const t = o(null), f = [{
|
|
11
11
|
field: "lovCode"
|
|
12
12
|
}, {
|
|
13
13
|
field: "lovName"
|
|
14
|
-
}], r =
|
|
14
|
+
}], r = D(), l = [{
|
|
15
15
|
type: "checkbox",
|
|
16
16
|
width: 50,
|
|
17
17
|
align: "center"
|
|
@@ -57,7 +57,7 @@ const c = "/upfm/v1/lovViewHeader", B = /* @__PURE__ */ k({
|
|
|
57
57
|
}, null)] : null
|
|
58
58
|
}
|
|
59
59
|
}], n = o(!1), d = o(null), m = (e) => {
|
|
60
|
-
|
|
60
|
+
g(() => {
|
|
61
61
|
n.value = !0, d.value = e;
|
|
62
62
|
});
|
|
63
63
|
}, p = () => {
|
|
@@ -76,14 +76,14 @@ const c = "/upfm/v1/lovViewHeader", B = /* @__PURE__ */ k({
|
|
|
76
76
|
};
|
|
77
77
|
return (e, i) => {
|
|
78
78
|
const _ = a("ut-grid");
|
|
79
|
-
return s(),
|
|
79
|
+
return s(), w("div", null, [u(_, {
|
|
80
80
|
ref_key: "xgrid",
|
|
81
81
|
ref: t,
|
|
82
82
|
items: f,
|
|
83
83
|
columns: l,
|
|
84
84
|
url: c,
|
|
85
85
|
events: h
|
|
86
|
-
}, null, 512), n.value ? (s(), C(
|
|
86
|
+
}, null, 512), n.value ? (s(), C(y, {
|
|
87
87
|
key: 0,
|
|
88
88
|
show: n.value,
|
|
89
89
|
record: d.value,
|
|
@@ -2,7 +2,7 @@ import { defineComponent as H, watch as M, ref as _, resolveComponent as i, crea
|
|
|
2
2
|
import { useI18n as X } from "vue-i18n";
|
|
3
3
|
import { t as N } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
import { templateRef as Z } from "@vueuse/core";
|
|
5
|
-
import { i as x,
|
|
5
|
+
import { i as x, y as ee } from "./index-Da0zJqlp.js";
|
|
6
6
|
const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */ H({
|
|
7
7
|
__name: "menuInfo",
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as re, ref as N, computed as G, watch as me, createVNode as p, Fragment as Y, withDirectives as he, unref as C, resolveDirective as be, nextTick as ve, resolveComponent as x, createElementBlock as Oe, openBlock as J, createBlock as
|
|
1
|
+
import { defineComponent as re, ref as N, computed as G, watch as me, createVNode as p, Fragment as Y, withDirectives as he, unref as C, resolveDirective as be, nextTick as ve, resolveComponent as x, createElementBlock as Oe, openBlock as J, createBlock as _e, createCommentVNode as we, isVNode as Te } from "vue";
|
|
2
2
|
import { useI18n as je } from "vue-i18n";
|
|
3
3
|
import { t as Ce } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
-
import { I as Se,
|
|
4
|
+
import { I as Se, D as xe, y as $e, _ as Pe } from "./index-Da0zJqlp.js";
|
|
5
5
|
import { withInstall as Ve, useRender as Ae } from "@utogether/utils";
|
|
6
6
|
import { clone as oe, isString as Z } from "xe-utils";
|
|
7
7
|
import Ne from "qrcode";
|
|
@@ -113,7 +113,7 @@ function b(e, t) {
|
|
|
113
113
|
}), { validator: n } = r;
|
|
114
114
|
return R(n) && (r.validator = ce(n, r)), r;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function _(e, t) {
|
|
117
117
|
const r = b(e, t);
|
|
118
118
|
return Object.defineProperty(r, "validate", {
|
|
119
119
|
value(n) {
|
|
@@ -129,17 +129,17 @@ ${JSON.stringify(
|
|
|
129
129
|
function B(e) {
|
|
130
130
|
return e.replace(/^(?!\s*$)/gm, " ");
|
|
131
131
|
}
|
|
132
|
-
const Ue = () =>
|
|
132
|
+
const Ue = () => _("any", {}), qe = () => _("function", {
|
|
133
133
|
type: Function
|
|
134
|
-
}), ne = () =>
|
|
134
|
+
}), ne = () => _("boolean", {
|
|
135
135
|
type: Boolean
|
|
136
|
-
}), De = () =>
|
|
136
|
+
}), De = () => _("string", {
|
|
137
137
|
type: String
|
|
138
|
-
}), Be = () =>
|
|
138
|
+
}), Be = () => _("number", {
|
|
139
139
|
type: Number
|
|
140
|
-
}), Ee = () =>
|
|
140
|
+
}), Ee = () => _("array", {
|
|
141
141
|
type: Array
|
|
142
|
-
}), Fe = () =>
|
|
142
|
+
}), Fe = () => _("object", {
|
|
143
143
|
type: Object
|
|
144
144
|
}), We = () => b("integer", {
|
|
145
145
|
type: Number,
|
|
@@ -364,7 +364,7 @@ const tt = /* @__PURE__ */ (() => {
|
|
|
364
364
|
return S(r, t, !0) === !0;
|
|
365
365
|
},
|
|
366
366
|
toType(t, r, n = !1) {
|
|
367
|
-
return n ?
|
|
367
|
+
return n ? _(t, r) : b(t, r);
|
|
368
368
|
}
|
|
369
369
|
}), e
|
|
370
370
|
);
|
|
@@ -401,12 +401,12 @@ const nt = de({
|
|
|
401
401
|
class D extends nt {
|
|
402
402
|
// a native-like validator that supports the `.validable` method
|
|
403
403
|
static get style() {
|
|
404
|
-
return
|
|
404
|
+
return _("style", {
|
|
405
405
|
type: [String, Object]
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
static get VNodeChild() {
|
|
409
|
-
return
|
|
409
|
+
return _("VNodeChild", {
|
|
410
410
|
type: void 0
|
|
411
411
|
});
|
|
412
412
|
}
|
|
@@ -491,18 +491,18 @@ const rt = {
|
|
|
491
491
|
crossOrigin: P = "anonymous",
|
|
492
492
|
borderRadius: fe = 8,
|
|
493
493
|
logoRadius: W = 0
|
|
494
|
-
} = u, pe = Z(e.logo) ? e.logo : e.logo.src,
|
|
494
|
+
} = u, pe = Z(e.logo) ? e.logo : e.logo.src, w = l * f, T = l * (1 - f) / 2, Q = l * (f + O), H = l * (1 - f - O) / 2, v = i.getContext("2d");
|
|
495
495
|
if (!v) return;
|
|
496
496
|
I(v)(H, H, Q, Q, fe), v.fillStyle = m, v.fill();
|
|
497
497
|
const V = new Image();
|
|
498
498
|
(P || W) && V.setAttribute("crossOrigin", P), V.src = pe;
|
|
499
499
|
const ye = (A) => {
|
|
500
|
-
v.drawImage(A, T, T,
|
|
500
|
+
v.drawImage(A, T, T, w, w);
|
|
501
501
|
}, ge = (A) => {
|
|
502
502
|
const q = document.createElement("canvas");
|
|
503
|
-
q.width = T +
|
|
503
|
+
q.width = T + w, q.height = T + w;
|
|
504
504
|
const X = q.getContext("2d");
|
|
505
|
-
if (!X || !v || (X.drawImage(A, T, T,
|
|
505
|
+
if (!X || !v || (X.drawImage(A, T, T, w, w), I(v)(T, T, w, w, W), !v)) return;
|
|
506
506
|
const K = v.createPattern(q, "no-repeat");
|
|
507
507
|
K && (v.fillStyle = K, v.fill());
|
|
508
508
|
};
|
|
@@ -689,7 +689,7 @@ const at = {
|
|
|
689
689
|
url: o,
|
|
690
690
|
mode: "form",
|
|
691
691
|
onButtonClick: g
|
|
692
|
-
}, null, 512), $.value ? (J(),
|
|
692
|
+
}, null, 512), $.value ? (J(), _e(f, {
|
|
693
693
|
key: 0,
|
|
694
694
|
record: s.value,
|
|
695
695
|
items: E,
|
|
@@ -701,7 +701,7 @@ const at = {
|
|
|
701
701
|
"data-status": "add",
|
|
702
702
|
onClose: l[0] || (l[0] = (m) => $.value = !1),
|
|
703
703
|
onConfirm: F
|
|
704
|
-
}, null, 8, ["record", "title"])) :
|
|
704
|
+
}, null, 8, ["record", "title"])) : we("", !0)]);
|
|
705
705
|
};
|
|
706
706
|
}
|
|
707
707
|
}), ht = /* @__PURE__ */ Pe(lt, [["__scopeId", "data-v-4c7392db"]]);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as w, ref as o, resolveComponent as r, createElementBlock as k, openBlock as i, createVNode as l, createBlock as b, createCommentVNode as x, Fragment as
|
|
2
|
-
import { successMessage as
|
|
1
|
+
import { defineComponent as w, ref as o, resolveComponent as r, createElementBlock as k, openBlock as i, createVNode as l, createBlock as b, createCommentVNode as x, Fragment as U } from "vue";
|
|
2
|
+
import { successMessage as B } from "@utogether/utils";
|
|
3
3
|
import { useClipboard as N } from "@vueuse/core";
|
|
4
|
-
import {
|
|
4
|
+
import { D as y } from "./index-Da0zJqlp.js";
|
|
5
5
|
const q = {
|
|
6
6
|
name: "StaticResource"
|
|
7
7
|
}, V = /* @__PURE__ */ w({
|
|
8
8
|
...q,
|
|
9
|
-
setup(
|
|
9
|
+
setup(D) {
|
|
10
10
|
const {
|
|
11
11
|
copy: m
|
|
12
12
|
} = N(), n = "/upms/v1/pdfTemplate", s = o(null), a = o({}), d = y(), c = [{
|
|
@@ -32,7 +32,7 @@ const q = {
|
|
|
32
32
|
slots: {
|
|
33
33
|
default: ({
|
|
34
34
|
row: e
|
|
35
|
-
}) => [l(
|
|
35
|
+
}) => [l(U, null, [l(r("ut-button"), {
|
|
36
36
|
content: "download",
|
|
37
37
|
icon: "ri-download-line",
|
|
38
38
|
status: "success",
|
|
@@ -63,7 +63,7 @@ const q = {
|
|
|
63
63
|
}], t = o(!1), _ = (e) => {
|
|
64
64
|
a.value = {}, t.value = !0;
|
|
65
65
|
}, g = (e) => {
|
|
66
|
-
m(d + "/ufil/" + e.templateUrl),
|
|
66
|
+
m(d + "/ufil/" + e.templateUrl), B("复制成功,快试试右键粘贴吧");
|
|
67
67
|
}, h = () => {
|
|
68
68
|
s.value.refreshData();
|
|
69
69
|
};
|
|
@@ -86,7 +86,7 @@ const q = {
|
|
|
86
86
|
"data-status": "add",
|
|
87
87
|
title: "静态资源新增",
|
|
88
88
|
url: n,
|
|
89
|
-
onClose: u[0] || (u[0] = (
|
|
89
|
+
onClose: u[0] || (u[0] = (F) => t.value = !1),
|
|
90
90
|
onConfirm: h
|
|
91
91
|
}, null, 8, ["record"])) : x("", !0)]);
|
|
92
92
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as J, ref as y, onMounted as K, resolveComponent as p,
|
|
|
2
2
|
import { useRouter as oe } from "vue-router";
|
|
3
3
|
import ne from "dayjs";
|
|
4
4
|
import { dbstorage as le, delay as ae, warnMessage as ie, successMessage as ce, lunarCalendar as re, cookies as ue } from "@utogether/utils";
|
|
5
|
-
import {
|
|
5
|
+
import { y as G, i as de, p as me, _ as fe } from "./index-Da0zJqlp.js";
|
|
6
6
|
import { clone as pe, max as _e } from "xe-utils";
|
|
7
7
|
import ve from "vuedraggable";
|
|
8
8
|
const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = {
|
|
@@ -3,7 +3,7 @@ import { useI18n as Q } from "vue-i18n";
|
|
|
3
3
|
import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
import { cookies as E, successMessage as W, warnMessage as X } from "@utogether/utils";
|
|
5
5
|
import { isArray as Z } from "xe-utils";
|
|
6
|
-
import {
|
|
6
|
+
import { D as ee, o as te, p as z, y as le } from "./index-Da0zJqlp.js";
|
|
7
7
|
const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, oe = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, se = { class: "flex items-center" }, ne = { class: "pl-2 text-xs" }, ie = { class: "pl-2" }, ue = { class: "pl-2" }, re = { class: "flex items-center" }, pe = { class: "pl-2 text-xs" }, de = { class: "pl-2" }, me = { class: "flex items-center" }, ce = { class: "pl-2 text-xs" }, ge = { class: "flex justify-end w-1/2 p-2" }, j = "/upfm/v1/sysConfig", Ce = /* @__PURE__ */ q({
|
|
8
8
|
__name: "sys-config",
|
|
9
9
|
setup(fe) {
|