dlzn-ui 2.0.30 → 2.0.32
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/assets/Index-CubAI_w9.css +1 -0
- package/assets/color-picker-DD6DUdBH.css +1 -0
- package/assets/css/tdesign-reset.css +1 -1
- package/assets/{provider-XeFy2v3X.css → provider-BVALV5nM.css} +1 -1
- package/chunks/{AssignUser-DZvNJ6_v.mjs → AssignUser-CwTne2Qc.mjs} +3 -3
- package/chunks/{Common-DZTByJ2b.mjs → Common-CkUSQvHq.mjs} +1 -1
- package/chunks/{Day-D47hdyiq.mjs → Day-BcnyU5sK.mjs} +1 -1
- package/chunks/{DictTypeDetail--OE6JJ5s.mjs → DictTypeDetail-CCAzju0B.mjs} +2 -2
- package/chunks/{Hour-CkkZZ5R6.mjs → Hour-Cwatbaf_.mjs} +1 -1
- package/chunks/{Index-0-JzYXfb.mjs → Index-B-O5KGpr.mjs} +1 -1
- package/chunks/Index-But4jrnW.mjs +61 -0
- package/chunks/{Index-DsO5SwJk.mjs → Index-CKN8MPux.mjs} +1 -1
- package/chunks/{Index-CSNXgzLe.mjs → Index-Cj8p6UO8.mjs} +1 -1
- package/chunks/{Index-C_JjguDb.mjs → Index-CtOfQO_c.mjs} +1 -1
- package/chunks/{Index-2AaTfz2L.mjs → Index-CtjRKRpF.mjs} +1 -1
- package/chunks/{IndexItem-CUgu9du0.mjs → IndexItem-PI7azFUZ.mjs} +1 -1
- package/chunks/{Log-DTQeRVz1.mjs → Log-BKG8INUi.mjs} +2 -2
- package/chunks/{Minute-Dl21u3sJ.mjs → Minute-xIvf6ywN.mjs} +1 -1
- package/chunks/{Month-DIgPlTW3.mjs → Month-BR0hxhS7.mjs} +1 -1
- package/chunks/{Second-C9JrfdJq.mjs → Second-CAfVDcZ6.mjs} +1 -1
- package/chunks/{SelectDept-BdP4Fevb.mjs → SelectDept-DpwFmg4t.mjs} +2 -2
- package/chunks/{SelectMenu-C8uTKPyO.mjs → SelectMenu-PhyLqwyu.mjs} +2 -2
- package/chunks/{SelectUser-Y-2MCvw3.mjs → SelectUser-BF4CSoDQ.mjs} +2 -2
- package/chunks/{UserInfo-BXDXYNSa.mjs → UserInfo-eE2h2il7.mjs} +1 -1
- package/chunks/{app-C4vupHU4.mjs → app-Bzy7d05r.mjs} +1 -1
- package/chunks/{checkbox-DsFECVao.mjs → checkbox-Drb_LAT6.mjs} +0 -9
- package/chunks/color-picker-BVropPi4.mjs +77 -0
- package/chunks/{custom-page-list-Dkjf1nLR.mjs → custom-page-list-V6c5UZq4.mjs} +4 -4
- package/chunks/{custom-page-table-y7emjJnS.mjs → custom-page-table-C0a_H9Oi.mjs} +2 -2
- package/chunks/{overview-YqvRmr0O.mjs → overview-DT92-YBw.mjs} +1 -1
- package/chunks/{page-list-DUYDkWcj.mjs → page-list-BhLsMD_7.mjs} +3 -3
- package/chunks/{page-query-oFiHpSCX.mjs → page-query-DiQBAtPy.mjs} +1 -1
- package/chunks/{page-table-C1hMMXID.mjs → page-table-VlLsrpZs.mjs} +3 -3
- package/chunks/{pagination-CQPdVoCT.mjs → pagination-gtzetvwl.mjs} +1 -1
- package/chunks/{provider-BhFm5rvy.mjs → provider-Ccvmo_nA.mjs} +273 -266
- package/chunks/{table-CqT9HbMR.mjs → table-C3GB8HZj.mjs} +1 -1
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox/index.mjs +1 -1
- package/components/checkbox/src/checkbox.d.ts +1 -1
- package/components/checkbox/src/checkbox.mjs +1 -1
- package/components/checkbox/src/checkbox.vue.d.ts +0 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/color-picker/index.d.ts +2 -0
- package/components/color-picker/index.mjs +2 -0
- package/components/color-picker/src/color-picker.d.ts +16 -0
- package/components/color-picker/src/color-picker.mjs +2 -0
- package/components/color-picker/src/color-picker.vue.d.ts +12 -0
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/cron/src/cron.vue.d.ts +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.d.ts +2 -0
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +10 -10
- package/components/input/src/input.vue.d.ts +1 -1
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +97 -45
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/constants/index.d.ts +1 -1
- package/constants/index.mjs +2 -2
- package/constants/{others.d.ts → regs.d.ts} +1 -0
- package/constants/{others.mjs → regs.mjs} +3 -3
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +26 -10
- package/layout/Login.mjs +1 -1
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +2 -2
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ColorPicker/Index.mjs +2 -0
- package/plugins/tableRenders/cell/ColorPicker/Index.vue.d.ts +21 -0
- package/plugins/tableRenders/cell/ColorPicker/index.d.ts +2 -0
- package/plugins/tableRenders/cell/ColorPicker/index2.mjs +0 -0
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Input/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Input/Index.vue.d.ts +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.d.ts +2 -0
- package/plugins/tableRenders/cell/index.mjs +45 -43
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/utils/boolean.mjs +1 -1
- package/views/index.mjs +2 -0
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +82 -0
- package/views/monitor/online/index.vue.d.ts +3 -0
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +216 -0
- package/views/monitor/server/index.vue.d.ts +3 -0
- package/views/system/config/index.mjs +2 -2
- package/views/system/dept/index.mjs +2 -2
- package/views/system/dept/utils.mjs +1 -1
- package/views/system/dict/index.mjs +3 -3
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +2 -2
- package/views/system/notice/index.mjs +2 -2
- package/views/system/post/index.mjs +2 -2
- package/views/system/role/index.mjs +5 -5
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +4 -4
- package/views/tool/job/index.mjs +3 -3
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/Index-D8NszkhN.css +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, w as n } from "../../../chunks/provider-
|
|
1
|
+
import { C as e, S as t, w as n } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { t as default, e as getFilterEmptyParamsObj, n as getParamsString };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { F as e } from "../../../chunks/provider-
|
|
1
|
+
import { F as e } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { I as e } from "../../../chunks/provider-
|
|
1
|
+
import { I as e } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { O as e } from "../../../chunks/provider-
|
|
1
|
+
import { O as e } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e, n as t } from "../../chunks/provider-
|
|
1
|
+
import { S as e, n as t } from "../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
import { t as n } from "../../chunks/icon-COjp1yrx.mjs";
|
|
3
3
|
import "../../components/icon/index.mjs";
|
|
4
4
|
import { aesEncrypt as r } from "../../utils/tool.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as e } from "../../chunks/provider-
|
|
1
|
+
import { I as e } from "../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
import { defineAsyncComponent as t, h as n } from "vue";
|
|
3
3
|
//#region ../../packages/dlzn-ui/plugins/captcha/index.ts
|
|
4
4
|
var r = () => new Promise((r) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-CtjRKRpF.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ColorPickerProps } from './index.ts';
|
|
2
|
+
type __VLS_Props = ColorPickerProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
'modelValue'?: string;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
readonly: boolean;
|
|
14
|
+
colorModes: Array<"monochrome" | "linear-gradient">;
|
|
15
|
+
format: "HEX" | "HEX8" | "RGB" | "RGBA" | "HSL" | "HSLA" | "HSV" | "HSVA" | "CMYK" | "CSS";
|
|
16
|
+
recentColors: Array<string> | boolean | null;
|
|
17
|
+
defaultRecentColors: Array<string> | boolean | null;
|
|
18
|
+
showPrimaryColorPreview: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
File without changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-Cj8p6UO8.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-B-O5KGpr.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -13,8 +13,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
readonly: boolean;
|
|
15
15
|
placeholder: string;
|
|
16
|
-
autocomplete: string;
|
|
17
16
|
clearable: boolean;
|
|
17
|
+
autocomplete: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-CtOfQO_c.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SlotReturnValue } from 'tdesign-vue-next';
|
|
2
2
|
import { AvatarProps } from './Avatar/index.ts';
|
|
3
3
|
import { ButtonsProps } from './Buttons/index.ts';
|
|
4
|
+
import { ColorPickerProps } from './ColorPicker/index.ts';
|
|
4
5
|
import { DefaultProps } from './Default/index.ts';
|
|
5
6
|
import { DicLabelProps } from './DicLabel/index.ts';
|
|
6
7
|
import { FormatDateProps } from './FormatDate/index.ts';
|
|
@@ -28,6 +29,7 @@ export type ComponentConfig<T extends keyof ComponentPropsMap> = ComponentPropsM
|
|
|
28
29
|
interface ComponentPropsMap {
|
|
29
30
|
Avatar: AvatarProps;
|
|
30
31
|
Buttons: ButtonsProps;
|
|
32
|
+
ColorPicker: ColorPickerProps;
|
|
31
33
|
Default: DefaultProps;
|
|
32
34
|
DicLabel: DicLabelProps;
|
|
33
35
|
FormatDate: FormatDateProps;
|
|
@@ -1,68 +1,70 @@
|
|
|
1
1
|
import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-BChP9CTL.mjs";
|
|
3
|
-
import { t as n } from "../../../chunks/Index-
|
|
4
|
-
import { t as r } from "../../../chunks/Index-
|
|
5
|
-
import { t as i } from "../../../chunks/Index-
|
|
6
|
-
import { t as a } from "../../../chunks/Index-
|
|
7
|
-
import { t as o } from "../../../chunks/Index-
|
|
8
|
-
import { t as s } from "../../../chunks/Index-
|
|
9
|
-
import { t as c } from "../../../chunks/Index-
|
|
10
|
-
import { t as l } from "../../../chunks/Index-
|
|
11
|
-
import { t as u } from "../../../chunks/Index-
|
|
12
|
-
import { t as d } from "../../../chunks/Index-
|
|
13
|
-
import { t as f } from "../../../chunks/Index-
|
|
14
|
-
import { t as p } from "../../../chunks/Index-
|
|
15
|
-
import { t as m } from "../../../chunks/Index-
|
|
16
|
-
import { t as h } from "../../../chunks/Index-
|
|
17
|
-
import { t as g } from "../../../chunks/Index-
|
|
18
|
-
import { t as _ } from "../../../chunks/Index-
|
|
19
|
-
import { t as v } from "../../../chunks/Index-
|
|
20
|
-
import { t as y } from "../../../chunks/
|
|
3
|
+
import { t as n } from "../../../chunks/Index-CtjRKRpF.mjs";
|
|
4
|
+
import { t as r } from "../../../chunks/Index-But4jrnW.mjs";
|
|
5
|
+
import { t as i } from "../../../chunks/Index-BuqrJDKe.mjs";
|
|
6
|
+
import { t as a } from "../../../chunks/Index-Cj8p6UO8.mjs";
|
|
7
|
+
import { t as o } from "../../../chunks/Index-Bye0GY_j.mjs";
|
|
8
|
+
import { t as s } from "../../../chunks/Index-BwWS0oPl.mjs";
|
|
9
|
+
import { t as c } from "../../../chunks/Index-bEWcnIHJ.mjs";
|
|
10
|
+
import { t as l } from "../../../chunks/Index-AH0WCRJO.mjs";
|
|
11
|
+
import { t as u } from "../../../chunks/Index-CgJ94bEi.mjs";
|
|
12
|
+
import { t as d } from "../../../chunks/Index-B-O5KGpr.mjs";
|
|
13
|
+
import { t as f } from "../../../chunks/Index-Cu2Ud84o.mjs";
|
|
14
|
+
import { t as p } from "../../../chunks/Index-DBQnzqsw.mjs";
|
|
15
|
+
import { t as m } from "../../../chunks/Index-D6pUjcEN.mjs";
|
|
16
|
+
import { t as h } from "../../../chunks/Index-CtOfQO_c.mjs";
|
|
17
|
+
import { t as g } from "../../../chunks/Index-BOv4n_q9.mjs";
|
|
18
|
+
import { t as _ } from "../../../chunks/Index-vcnN6L-y.mjs";
|
|
19
|
+
import { t as v } from "../../../chunks/Index-CZnP6jHo.mjs";
|
|
20
|
+
import { t as y } from "../../../chunks/Index-CT0eb17V.mjs";
|
|
21
|
+
import { t as b } from "../../../chunks/Wrapper-C6BtJDSa.mjs";
|
|
21
22
|
//#region ../../packages/dlzn-ui/plugins/tableRenders/cell/index.ts
|
|
22
|
-
var
|
|
23
|
+
var x = /* #__PURE__ */ Object.assign({
|
|
23
24
|
"./Avatar/Index.vue": t,
|
|
24
25
|
"./Buttons/Index.vue": n,
|
|
25
|
-
"./
|
|
26
|
-
"./
|
|
27
|
-
"./
|
|
28
|
-
"./
|
|
29
|
-
"./
|
|
30
|
-
"./
|
|
31
|
-
"./
|
|
32
|
-
"./
|
|
33
|
-
"./
|
|
34
|
-
"./
|
|
35
|
-
"./
|
|
36
|
-
"./
|
|
37
|
-
"./
|
|
38
|
-
"./
|
|
39
|
-
"./
|
|
40
|
-
"./
|
|
26
|
+
"./ColorPicker/Index.vue": r,
|
|
27
|
+
"./Default/Index.vue": i,
|
|
28
|
+
"./DicLabel/Index.vue": a,
|
|
29
|
+
"./FormatDate/Index.vue": o,
|
|
30
|
+
"./FormatNumber/Index.vue": s,
|
|
31
|
+
"./Icon/Index.vue": c,
|
|
32
|
+
"./Image/Index.vue": l,
|
|
33
|
+
"./ImageViewer/Index.vue": u,
|
|
34
|
+
"./Input/Index.vue": d,
|
|
35
|
+
"./InputNumber/Index.vue": f,
|
|
36
|
+
"./Link/Index.vue": p,
|
|
37
|
+
"./OptionLabel/Index.vue": m,
|
|
38
|
+
"./Select/Index.vue": h,
|
|
39
|
+
"./Switch/Index.vue": g,
|
|
40
|
+
"./Tags/Index.vue": _,
|
|
41
|
+
"./TypographyText/Index.vue": v,
|
|
42
|
+
"./TypographyTextLink/Index.vue": y
|
|
41
43
|
});
|
|
42
|
-
function
|
|
44
|
+
function S(t) {
|
|
43
45
|
if (typeof t == "string") return e.error("cell 值类型为 string 表示使用插槽渲染, 没有计算宽度, 所以暂不支持"), () => null;
|
|
44
46
|
let n = t === void 0 ? { component: "Default" } : t;
|
|
45
|
-
if (
|
|
47
|
+
if (C(n)) {
|
|
46
48
|
let { component: e, ...t } = n;
|
|
47
|
-
return (n, r) => n(
|
|
49
|
+
return (n, r) => n(b, r, () => n(x[`./${e}/Index.vue`], {
|
|
48
50
|
...t,
|
|
49
51
|
...r
|
|
50
52
|
}));
|
|
51
53
|
}
|
|
52
54
|
return (e, t) => {
|
|
53
55
|
let r = n(e, t);
|
|
54
|
-
if (
|
|
56
|
+
if (C(r)) {
|
|
55
57
|
let { component: n, ...i } = r;
|
|
56
|
-
return e(
|
|
58
|
+
return e(b, t, () => e(x[`./${n}/Index.vue`], {
|
|
57
59
|
...i,
|
|
58
60
|
...t
|
|
59
61
|
}));
|
|
60
62
|
}
|
|
61
|
-
return e(
|
|
63
|
+
return e(b, t, () => r);
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
|
-
function
|
|
66
|
+
function C(e) {
|
|
65
67
|
return typeof e == "object" && !!e && "component" in e && typeof e.component == "string";
|
|
66
68
|
}
|
|
67
69
|
//#endregion
|
|
68
|
-
export {
|
|
70
|
+
export { S as getCellRender };
|
package/router/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as e, E as t, T as n } from "../chunks/provider-
|
|
1
|
+
import { D as e, E as t, T as n } from "../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default, n as getRoute, t as getTopRoute };
|
package/store/modules/common.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H as e } from "../../chunks/provider-
|
|
1
|
+
import { H as e } from "../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/login.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { j as e } from "../../chunks/provider-
|
|
1
|
+
import { j as e } from "../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { V as e } from "../../chunks/provider-
|
|
1
|
+
import { V as e } from "../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as e, z as t } from "../../chunks/provider-
|
|
1
|
+
import { B as e, z as t } from "../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default, t as getRoutersMethod };
|
package/store/modules/user.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, r as t } from "../../chunks/provider-
|
|
1
|
+
import { i as e, r as t } from "../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
export { e as default, t as getUserInfoMethod };
|
package/utils/boolean.mjs
CHANGED
package/views/index.mjs
CHANGED
|
@@ -2,7 +2,9 @@ import e from "virtual:dlzn-ui/app-params";
|
|
|
2
2
|
var t = {
|
|
3
3
|
.../* @__PURE__ */ Object.assign({
|
|
4
4
|
"./monitor/logininfor/index.vue": () => import("./monitor/logininfor/index.mjs"),
|
|
5
|
+
"./monitor/online/index.vue": () => import("./monitor/online/index.mjs"),
|
|
5
6
|
"./monitor/operlog/index.vue": () => import("./monitor/operlog/index.mjs"),
|
|
7
|
+
"./monitor/server/index.vue": () => import("./monitor/server/index.mjs"),
|
|
6
8
|
"./system/config/index.vue": () => import("./system/config/index.mjs"),
|
|
7
9
|
"./system/dept/index.vue": () => import("./system/dept/index.mjs"),
|
|
8
10
|
"./system/dict/index.vue": () => import("./system/dict/index.mjs"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
2
|
-
import { t } from "../../../chunks/page-list-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-BhLsMD_7.mjs";
|
|
3
3
|
import "../../../components/page-list/index.mjs";
|
|
4
4
|
import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, reactive as o, ref as s, unref as c, useTemplateRef as l } from "vue";
|
|
5
5
|
//#endregion
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { S as e } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-BhLsMD_7.mjs";
|
|
3
|
+
import "../../../components/page-list/index.mjs";
|
|
4
|
+
import { createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, unref as o, useTemplateRef as s } from "vue";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ../../packages/dlzn-ui/views/monitor/online/index.vue
|
|
7
|
+
var c = /* @__PURE__ */ r({
|
|
8
|
+
__name: "index",
|
|
9
|
+
setup(r) {
|
|
10
|
+
let c = s("pageListRef"), l = {
|
|
11
|
+
ipaddr: {
|
|
12
|
+
_label: "登录地址",
|
|
13
|
+
component: "TInput",
|
|
14
|
+
model: "ipaddr"
|
|
15
|
+
},
|
|
16
|
+
userName: {
|
|
17
|
+
_label: "用户名称",
|
|
18
|
+
component: "TInput",
|
|
19
|
+
model: "userName"
|
|
20
|
+
}
|
|
21
|
+
}, u = {
|
|
22
|
+
apis: { list: { method: "monitor/online/list" } },
|
|
23
|
+
columns: [
|
|
24
|
+
{
|
|
25
|
+
colKey: "tokenId",
|
|
26
|
+
title: "会话编号"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
colKey: "userName",
|
|
30
|
+
title: "登录名称"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
colKey: "deptName",
|
|
34
|
+
title: "所属部门"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
colKey: "ipaddr",
|
|
38
|
+
title: "主机"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
colKey: "loginLocation",
|
|
42
|
+
title: "登录地点"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
colKey: "os",
|
|
46
|
+
title: "操作系统"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
colKey: "browser",
|
|
50
|
+
title: "浏览器"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
colKey: "loginTime",
|
|
54
|
+
title: "登录时间"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
cell: {
|
|
58
|
+
buttons: [({ row: t }) => ({
|
|
59
|
+
default: "强退",
|
|
60
|
+
popconfirm: {
|
|
61
|
+
content: `是否确认强退名称为${t.userName}的用户?`,
|
|
62
|
+
onConfirm: async () => {
|
|
63
|
+
await e.Delete(`monitor/online/${t.tokenId}`, void 0, { meta: { useSuccessMsg: !0 } }), c.value.query();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
})],
|
|
67
|
+
component: "Buttons"
|
|
68
|
+
},
|
|
69
|
+
colKey: "_operation",
|
|
70
|
+
title: "操作"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
formItems: [l.ipaddr, l.userName]
|
|
74
|
+
};
|
|
75
|
+
return (e, r) => (a(), n(o(t), i({
|
|
76
|
+
ref_key: "pageListRef",
|
|
77
|
+
ref: c
|
|
78
|
+
}, u), null, 16));
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
//#endregion
|
|
82
|
+
export { c as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as e, S as t, o as n } from "../../../chunks/provider-
|
|
2
|
-
import { t as r } from "../../../chunks/page-list-
|
|
1
|
+
import { I as e, S as t, o as n } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
|
+
import { t as r } from "../../../chunks/page-list-BhLsMD_7.mjs";
|
|
3
3
|
import "../../../components/page-list/index.mjs";
|
|
4
4
|
import { createBlock as i, defineComponent as a, h as o, mergeProps as s, openBlock as c, reactive as l, ref as u, unref as d, useTemplateRef as f, watch as p } from "vue";
|
|
5
5
|
//#endregion
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { S as e } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
|
+
import { t } from "../../../chunks/card-Domqu1Hz.mjs";
|
|
3
|
+
import "../../../components/card/index.mjs";
|
|
4
|
+
import { t as n } from "../../../chunks/table-C3GB8HZj.mjs";
|
|
5
|
+
import "../../../components/table/index.mjs";
|
|
6
|
+
import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, openBlock as s, unref as c, withCtx as l } from "vue";
|
|
7
|
+
import { useRequest as u } from "alova/client";
|
|
8
|
+
//#region ../../packages/dlzn-ui/views/monitor/server/index.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var d = { class: "grid grid-cols-3 gap-4" }, f = /* @__PURE__ */ o({
|
|
10
|
+
__name: "index",
|
|
11
|
+
setup(o) {
|
|
12
|
+
let f = [{
|
|
13
|
+
colKey: "label",
|
|
14
|
+
title: "属性"
|
|
15
|
+
}, {
|
|
16
|
+
colKey: "value",
|
|
17
|
+
title: "值"
|
|
18
|
+
}], p = [
|
|
19
|
+
{
|
|
20
|
+
colKey: "label",
|
|
21
|
+
title: "属性"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
colKey: "memory",
|
|
25
|
+
title: "内存"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
colKey: "JVM",
|
|
29
|
+
title: "JVM"
|
|
30
|
+
}
|
|
31
|
+
], m = [
|
|
32
|
+
{
|
|
33
|
+
colKey: "dirName",
|
|
34
|
+
title: "盘符路径"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
colKey: "sysTypeName",
|
|
38
|
+
title: "文件系统"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
colKey: "typeName",
|
|
42
|
+
title: "盘符类型"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
colKey: "total",
|
|
46
|
+
title: "总大小"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
colKey: "free",
|
|
50
|
+
title: "可用大小"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
colKey: "used",
|
|
54
|
+
title: "已用大小"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
align: "right",
|
|
58
|
+
cell: {
|
|
59
|
+
component: "FormatNumber",
|
|
60
|
+
config: {
|
|
61
|
+
style: "unit",
|
|
62
|
+
unit: "percent"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
colKey: "usage",
|
|
66
|
+
title: "已用百分比"
|
|
67
|
+
}
|
|
68
|
+
], { data: h, loading: g } = u(e.Get("monitor/server"), { initialData: void 0 }), _ = r(() => {
|
|
69
|
+
let e = h.value?.cpu;
|
|
70
|
+
return e ? [
|
|
71
|
+
{
|
|
72
|
+
label: "核心数",
|
|
73
|
+
value: e.cpuNum
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
label: "用户使用率",
|
|
77
|
+
value: `${e.used}%`
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: "系统使用率",
|
|
81
|
+
value: `${e.sys}%`
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: "当前空闲率",
|
|
85
|
+
value: `${e.free}%`
|
|
86
|
+
}
|
|
87
|
+
] : [];
|
|
88
|
+
}), v = r(() => {
|
|
89
|
+
let e = h.value?.jvm, t = h.value?.mem;
|
|
90
|
+
return !e || !t ? [] : [
|
|
91
|
+
{
|
|
92
|
+
JVM: `${e.total}M`,
|
|
93
|
+
label: "总内存",
|
|
94
|
+
memory: `${t.total}G`
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
JVM: `${e.used}M`,
|
|
98
|
+
label: "已用内存",
|
|
99
|
+
memory: `${t.used}G`
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
JVM: `${e.free}M`,
|
|
103
|
+
label: "剩余内存",
|
|
104
|
+
memory: `${t.free}G`
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
JVM: `${e.usage}%`,
|
|
108
|
+
label: "使用率",
|
|
109
|
+
memory: `${t.usage}%`
|
|
110
|
+
}
|
|
111
|
+
];
|
|
112
|
+
}), y = r(() => {
|
|
113
|
+
let e = h.value?.sys;
|
|
114
|
+
return e ? [
|
|
115
|
+
{
|
|
116
|
+
label: "服务器名称",
|
|
117
|
+
value: e.computerName
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: "操作系统",
|
|
121
|
+
value: e.osName
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
label: "服务器IP",
|
|
125
|
+
value: e.computerIp
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
label: "系统架构",
|
|
129
|
+
value: e.osArch
|
|
130
|
+
}
|
|
131
|
+
] : [];
|
|
132
|
+
}), b = r(() => {
|
|
133
|
+
let e = h.value?.jvm, t = h.value?.sys;
|
|
134
|
+
return !e || !t ? [] : [
|
|
135
|
+
{
|
|
136
|
+
label: "Java名称",
|
|
137
|
+
value: e.name
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
label: "Java版本",
|
|
141
|
+
value: e.version
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
label: "启动时间",
|
|
145
|
+
value: e.startTime
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
label: "运行时长",
|
|
149
|
+
value: e.runTime
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
label: "安装路径",
|
|
153
|
+
value: e.home
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
label: "项目路径",
|
|
157
|
+
value: t.userDir
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
label: "运行参数",
|
|
161
|
+
value: e.inputArgs
|
|
162
|
+
}
|
|
163
|
+
];
|
|
164
|
+
}), x = r(() => h.value?.sysFiles ?? []);
|
|
165
|
+
return (e, r) => (s(), i("div", d, [
|
|
166
|
+
a(c(t), { title: "CPU" }, {
|
|
167
|
+
default: l(() => [a(c(n), {
|
|
168
|
+
columns: f,
|
|
169
|
+
data: _.value,
|
|
170
|
+
loading: c(g)
|
|
171
|
+
}, null, 8, ["data", "loading"])]),
|
|
172
|
+
_: 1
|
|
173
|
+
}),
|
|
174
|
+
a(c(t), { title: "内存" }, {
|
|
175
|
+
default: l(() => [a(c(n), {
|
|
176
|
+
columns: p,
|
|
177
|
+
data: v.value,
|
|
178
|
+
loading: c(g)
|
|
179
|
+
}, null, 8, ["data", "loading"])]),
|
|
180
|
+
_: 1
|
|
181
|
+
}),
|
|
182
|
+
a(c(t), { title: "服务器信息" }, {
|
|
183
|
+
default: l(() => [a(c(n), {
|
|
184
|
+
columns: f,
|
|
185
|
+
data: y.value,
|
|
186
|
+
loading: c(g)
|
|
187
|
+
}, null, 8, ["data", "loading"])]),
|
|
188
|
+
_: 1
|
|
189
|
+
}),
|
|
190
|
+
a(c(t), {
|
|
191
|
+
class: "col-span-3",
|
|
192
|
+
title: "Java虚拟机信息"
|
|
193
|
+
}, {
|
|
194
|
+
default: l(() => [a(c(n), {
|
|
195
|
+
columns: f,
|
|
196
|
+
data: b.value,
|
|
197
|
+
loading: c(g)
|
|
198
|
+
}, null, 8, ["data", "loading"])]),
|
|
199
|
+
_: 1
|
|
200
|
+
}),
|
|
201
|
+
a(c(t), {
|
|
202
|
+
class: "col-span-3",
|
|
203
|
+
title: "磁盘状态"
|
|
204
|
+
}, {
|
|
205
|
+
default: l(() => [a(c(n), {
|
|
206
|
+
columns: m,
|
|
207
|
+
data: x.value,
|
|
208
|
+
loading: c(g)
|
|
209
|
+
}, null, 8, ["data", "loading"])]),
|
|
210
|
+
_: 1
|
|
211
|
+
})
|
|
212
|
+
]));
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
//#endregion
|
|
216
|
+
export { f as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as e, S as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
|
-
import { t as i } from "../../../chunks/page-list-
|
|
3
|
+
import { t as i } from "../../../chunks/page-list-BhLsMD_7.mjs";
|
|
4
4
|
import "../../../components/page-list/index.mjs";
|
|
5
5
|
import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
6
6
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { F as e, S as t, o as n } from "../../../chunks/provider-
|
|
1
|
+
import { F as e, S as t, o as n } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
import r from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
3
|
import { flatArrToTree as i } from "../../../utils/tree.mjs";
|
|
4
4
|
import "../../../utils/index.mjs";
|
|
5
|
-
import { t as a } from "../../../chunks/page-list-
|
|
5
|
+
import { t as a } from "../../../chunks/page-list-BhLsMD_7.mjs";
|
|
6
6
|
import "../../../components/page-list/index.mjs";
|
|
7
7
|
import { deptTreeList as o, deptTreeListSend as s } from "./utils.mjs";
|
|
8
8
|
import { createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g, watch as _ } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-Ccvmo_nA.mjs";
|
|
2
2
|
import { flatArrToTree as t } from "../../../utils/tree.mjs";
|
|
3
3
|
import "../../../utils/index.mjs";
|
|
4
4
|
import { useRequest as n } from "alova/client";
|