jmash-core 0.1.8 → 0.1.10
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/README.md +57 -57
- package/dist/{401-COX2jmcI.mjs → 401-b1pHYrF4.mjs} +5 -8
- package/dist/{404-v0TS58RK.mjs → 404-CbETEvND.mjs} +3 -3
- package/dist/{BarChart-Q2HOaIc_.mjs → BarChart-BoXI6FJ4.mjs} +3 -3
- package/dist/{FunnelChart-Bdwa_Dl7.mjs → FunnelChart-D6-3qMKT.mjs} +1 -1
- package/dist/{PieChart-mjcVGXoE.mjs → PieChart-pHMdR-Hx.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs → PieChart.vue_vue_type_script_setup_true_lang-zNUDoKtb.mjs} +1 -1
- package/dist/{RadarChart-Dkl7lCAh.mjs → RadarChart-CclJ-0mQ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CkA5ajJ-.mjs} +1 -1
- package/dist/{index-DVI4ph38.mjs → index--_Po9Tig.mjs} +4644 -4644
- package/dist/{index-CuuVJvGD.mjs → index-BJUvMUgm.mjs} +4764 -4763
- package/dist/{index-fXvMf0L6.mjs → index-B_d3qCM4.mjs} +19 -23
- package/dist/{index-CNT4DW3y.mjs → index-C_KYdN5a.mjs} +18 -18
- package/dist/{index-D5aNjwG_.mjs → index-CkS8v7OR.mjs} +3 -4
- package/dist/{index-Cu6-p51e.mjs → index-DPM7Tc9b.mjs} +17 -17
- package/dist/index.mjs +44 -42
- package/dist/{profile-tUzeLFVj.mjs → profile-B91W29_y.mjs} +2 -2
- package/dist/{runAs-DIl9UFkO.mjs → runAs-Luys0zXH.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-Brcn3nQq.mjs → runAs.vue_vue_type_script_setup_true_lang-BTJVYWlC.mjs} +674 -701
- package/dist/style.css +1 -1
- package/dist/{types-C5XY3xxv.mjs → types-BgXkJ8zt.mjs} +2 -3
- package/dist/{updatePwd-BInRlKAn.mjs → updatePwd-DHI2P6EV.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-CpREBlw3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CLLFz4wp.mjs} +1 -1
- package/dts/src/api/system/dept/index.d.ts +91 -0
- package/dts/src/api/system/dept/types.d.ts +63 -0
- package/dts/src/api/system/index.d.ts +7 -0
- package/dts/src/api/system/job/index.d.ts +42 -0
- package/dts/src/api/system/job/types.d.ts +60 -0
- package/dts/src/api/system/log/index.d.ts +29 -0
- package/dts/src/api/system/log/types.d.ts +42 -0
- package/dts/src/api/system/menu/index.d.ts +103 -0
- package/dts/src/api/system/menu/types.d.ts +96 -0
- package/dts/src/api/system/module/index.d.ts +57 -0
- package/dts/src/api/system/module/types.d.ts +13 -0
- package/dts/src/api/system/operation/index.d.ts +51 -0
- package/dts/src/api/system/operation/types.d.ts +12 -0
- package/dts/src/api/system/permission/index.d.ts +50 -0
- package/dts/src/api/system/permission/types.d.ts +12 -0
- package/dts/src/api/system/role/index.d.ts +77 -0
- package/dts/src/api/system/role/types.d.ts +26 -0
- package/dts/src/api/system/user/index.d.ts +133 -0
- package/dts/src/api/system/user/types.d.ts +53 -0
- package/dts/src/api/system/userLog/index.d.ts +29 -0
- package/dts/src/api/system/userLog/types.d.ts +22 -0
- package/dts/src/assets/components/a-fixed.vue.d.ts +2 -0
- package/dts/src/assets/components/a-list.vue.d.ts +2 -0
- package/dts/src/assets/components/anquanrizhi.vue.d.ts +2 -0
- package/dts/src/assets/components/api.vue.d.ts +2 -0
- package/dts/src/assets/components/bumenguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +2 -0
- package/dts/src/assets/components/captcha.vue.d.ts +2 -0
- package/dts/src/assets/components/cascader.vue.d.ts +2 -0
- package/dts/src/assets/components/client.vue.d.ts +2 -0
- package/dts/src/assets/components/close-all.vue.d.ts +2 -0
- package/dts/src/assets/components/close-left.vue.d.ts +2 -0
- package/dts/src/assets/components/close-other.vue.d.ts +2 -0
- package/dts/src/assets/components/close-right.vue.d.ts +2 -0
- package/dts/src/assets/components/close.vue.d.ts +2 -0
- package/dts/src/assets/components/dict.vue.d.ts +2 -0
- package/dts/src/assets/components/document.vue.d.ts +2 -0
- package/dts/src/assets/components/download.vue.d.ts +2 -0
- package/dts/src/assets/components/drag.vue.d.ts +2 -0
- package/dts/src/assets/components/edit.vue.d.ts +2 -0
- package/dts/src/assets/components/email.vue.d.ts +2 -0
- package/dts/src/assets/components/exit-fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/eye-open.vue.d.ts +2 -0
- package/dts/src/assets/components/eye.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen-exit.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/gangweiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/github.vue.d.ts +2 -0
- package/dts/src/assets/components/homepage.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-open-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon.vue.d.ts +2 -0
- package/dts/src/assets/components/indent-decrease.vue.d.ts +2 -0
- package/dts/src/assets/components/ip.vue.d.ts +2 -0
- package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +2 -0
- package/dts/src/assets/components/language.vue.d.ts +2 -0
- package/dts/src/assets/components/link.vue.d.ts +2 -0
- package/dts/src/assets/components/lock.vue.d.ts +2 -0
- package/dts/src/assets/components/log.vue.d.ts +2 -0
- package/dts/src/assets/components/menu.vue.d.ts +2 -0
- package/dts/src/assets/components/message.vue.d.ts +2 -0
- package/dts/src/assets/components/mokuaiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/money.vue.d.ts +2 -0
- package/dts/src/assets/components/monitor.vue.d.ts +2 -0
- package/dts/src/assets/components/moon.vue.d.ts +2 -0
- package/dts/src/assets/components/order.vue.d.ts +2 -0
- package/dts/src/assets/components/password.vue.d.ts +2 -0
- package/dts/src/assets/components/peoples.vue.d.ts +2 -0
- package/dts/src/assets/components/phone.vue.d.ts +2 -0
- package/dts/src/assets/components/project.vue.d.ts +2 -0
- package/dts/src/assets/components/publish.vue.d.ts +2 -0
- package/dts/src/assets/components/quanxianguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/redis.vue.d.ts +2 -0
- package/dts/src/assets/components/refresh.vue.d.ts +2 -0
- package/dts/src/assets/components/role.vue.d.ts +2 -0
- package/dts/src/assets/components/security.vue.d.ts +2 -0
- package/dts/src/assets/components/setting.vue.d.ts +2 -0
- package/dts/src/assets/components/shoujihao.vue.d.ts +2 -0
- package/dts/src/assets/components/shrink.vue.d.ts +2 -0
- package/dts/src/assets/components/size.vue.d.ts +2 -0
- package/dts/src/assets/components/sunny.vue.d.ts +2 -0
- package/dts/src/assets/components/system.vue.d.ts +2 -0
- package/dts/src/assets/components/table.vue.d.ts +2 -0
- package/dts/src/assets/components/team.vue.d.ts +2 -0
- package/dts/src/assets/components/todolist.vue.d.ts +2 -0
- package/dts/src/assets/components/tree.vue.d.ts +2 -0
- package/dts/src/assets/components/user.vue.d.ts +2 -0
- package/dts/src/assets/components/visit.vue.d.ts +2 -0
- package/dts/src/assets/components/xingming.vue.d.ts +2 -0
- package/dts/src/assets/components/yonghuguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/youxiang.vue.d.ts +2 -0
- package/dts/src/components/DictRadio/index.vue.d.ts +32 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +50 -0
- package/dts/src/components/Pagination/index.vue.d.ts +88 -0
- package/dts/src/components/Table/index.vue.d.ts +64 -0
- package/dts/src/components/TableSet/index.vue.d.ts +30 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
- package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
- package/dts/src/components/Upload/index.vue.d.ts +18 -0
- package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/hooks/useList.d.ts +1 -0
- package/dts/src/index.d.ts +9 -9
- package/dts/src/settings.d.ts +3 -1
- package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
- package/dts/src/views/system/dept/index.vue.d.ts +2 -0
- package/dts/src/views/system/job/edit.vue.d.ts +30 -0
- package/dts/src/views/system/job/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
- package/dts/src/views/system/menu/index.vue.d.ts +2 -0
- package/dts/src/views/system/module/edit.vue.d.ts +31 -0
- package/dts/src/views/system/module/index.vue.d.ts +2 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
- package/dts/src/views/system/operation/index.vue.d.ts +2 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
- package/dts/src/views/system/permission/index.vue.d.ts +2 -0
- package/dts/src/views/system/role/edit.vue.d.ts +31 -0
- package/dts/src/views/system/role/index.vue.d.ts +2 -0
- package/dts/src/views/system/user/edit.vue.d.ts +31 -0
- package/dts/src/views/system/user/index.vue.d.ts +2 -0
- package/package.json +81 -81
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
currentInterface: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
dictType: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
dictValue: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
+
currentInterface: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
dictType: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
dictValue: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
currentInterface: string;
|
|
29
|
+
dictValue: string;
|
|
30
|
+
dictType: string;
|
|
31
|
+
}, {}>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
currentInterface: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
dictValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
dictType: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
placeholder: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
clearable: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
23
|
+
currentInterface: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
dictValue: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
dictType: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
placeholder: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
clearable: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>>, {
|
|
44
|
+
clearable: boolean;
|
|
45
|
+
placeholder: string;
|
|
46
|
+
currentInterface: string;
|
|
47
|
+
dictValue: string;
|
|
48
|
+
dictType: string;
|
|
49
|
+
}, {}>;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
total: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: PropType<number>;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
page: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
limit: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
pageSizes: {
|
|
17
|
+
type: PropType<number[]>;
|
|
18
|
+
default(): number[];
|
|
19
|
+
};
|
|
20
|
+
layout: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
background: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
autoScroll: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
hidden: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
pagination: (...args: any[]) => void;
|
|
38
|
+
"update:page": (...args: any[]) => void;
|
|
39
|
+
"update:limit": (...args: any[]) => void;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
|
+
total: {
|
|
42
|
+
required: true;
|
|
43
|
+
type: PropType<number>;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
page: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
limit: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
pageSizes: {
|
|
55
|
+
type: PropType<number[]>;
|
|
56
|
+
default(): number[];
|
|
57
|
+
};
|
|
58
|
+
layout: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
background: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
autoScroll: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
hidden: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
}>> & {
|
|
75
|
+
onPagination?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
"onUpdate:limit"?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
hidden: boolean;
|
|
80
|
+
layout: string;
|
|
81
|
+
pageSizes: number[];
|
|
82
|
+
total: number;
|
|
83
|
+
background: boolean;
|
|
84
|
+
limit: number;
|
|
85
|
+
page: number;
|
|
86
|
+
autoScroll: boolean;
|
|
87
|
+
}, {}>;
|
|
88
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { TableColumn } from "@/types/index";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
tableData: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
tableLabel: {
|
|
8
|
+
type: globalThis.PropType<TableColumn[]>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
listLoading: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
rowKeys: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
isSelection: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
tableSelection: () => Promise<false | undefined>;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
tableSelected: (value: any) => void;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
28
|
+
tableData: {
|
|
29
|
+
type: ArrayConstructor;
|
|
30
|
+
default: () => never[];
|
|
31
|
+
};
|
|
32
|
+
tableLabel: {
|
|
33
|
+
type: globalThis.PropType<TableColumn[]>;
|
|
34
|
+
default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
listLoading: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
rowKeys: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
isSelection: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
}>> & {
|
|
49
|
+
onTableSelected?: ((value: any) => any) | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
tableLabel: TableColumn[];
|
|
52
|
+
isSelection: boolean;
|
|
53
|
+
tableData: unknown[];
|
|
54
|
+
listLoading: boolean;
|
|
55
|
+
rowKeys: string;
|
|
56
|
+
}, {}>, Partial<Record<string, (_: {
|
|
57
|
+
data: any;
|
|
58
|
+
}) => any>>>;
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TableColumn } from "@/types/index";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
tableLabel: {
|
|
4
|
+
type: globalThis.PropType<TableColumn[]>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
parIndex: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: () => number;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
isShowChange: (...args: any[]) => void;
|
|
13
|
+
fixedChange: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
+
tableLabel: {
|
|
16
|
+
type: globalThis.PropType<TableColumn[]>;
|
|
17
|
+
default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
parIndex: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: () => number;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onIsShowChange?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onFixedChange?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
tableLabel: TableColumn[];
|
|
28
|
+
parIndex: number;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* 文件路径集合
|
|
4
|
+
*/
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: {
|
|
7
|
+
(arrayLength: number): string[];
|
|
8
|
+
(...items: string[]): string[];
|
|
9
|
+
new (arrayLength: number): string[];
|
|
10
|
+
new (...items: string[]): string[];
|
|
11
|
+
isArray(arg: any): arg is any[];
|
|
12
|
+
readonly prototype: any[];
|
|
13
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
14
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
16
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
17
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
18
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
19
|
+
};
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 文件上传数量限制
|
|
24
|
+
*/
|
|
25
|
+
limit: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (...args: any[]) => void;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
32
|
+
/**
|
|
33
|
+
* 文件路径集合
|
|
34
|
+
*/
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: {
|
|
37
|
+
(arrayLength: number): string[];
|
|
38
|
+
(...items: string[]): string[];
|
|
39
|
+
new (arrayLength: number): string[];
|
|
40
|
+
new (...items: string[]): string[];
|
|
41
|
+
isArray(arg: any): arg is any[];
|
|
42
|
+
readonly prototype: any[];
|
|
43
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
44
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
45
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
46
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
47
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
48
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
49
|
+
};
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* 文件上传数量限制
|
|
54
|
+
*/
|
|
55
|
+
limit: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
}>> & {
|
|
60
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
modelValue: string[];
|
|
63
|
+
limit: number;
|
|
64
|
+
}, {}>;
|
|
65
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
modelValue: string;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
uploadVisible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: () => boolean;
|
|
5
|
+
};
|
|
6
|
+
templateTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
templateDown: (...args: any[]) => void;
|
|
12
|
+
importEvents: (...args: any[]) => void;
|
|
13
|
+
uploadClosed: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
+
uploadVisible: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: () => boolean;
|
|
18
|
+
};
|
|
19
|
+
templateTitle: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onTemplateDown?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onImportEvents?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onUploadClosed?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
uploadVisible: boolean;
|
|
29
|
+
templateTitle: string;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
pictureUrl: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
imageSrc: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
9
|
+
pictureUrl: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onImageSrc?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
pictureUrl: string;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useListData(t: any, api: any, queryParams: any): any;
|
package/dts/src/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export type { VueMetaEnv, TableColumn, TableSort, DialogRef, AppSettings, FileResponseReq, FilesReq } from "./types";
|
|
2
|
-
export type { EntityApi, EnumEntryReq, Entry, LayEntry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq } from "./api/types";
|
|
3
|
-
export type { LoginData, LoginQrcodeResp, MyOrganList, MyOrganModel, LoginResult } from "./api/auth/types";
|
|
1
|
+
export type { VueMetaEnv, TableColumn, TableSort, DialogRef, AppSettings, FileResponseReq, FilesReq, } from "./types";
|
|
2
|
+
export type { EntityApi, EnumEntryReq, Entry, LayEntry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq, } from "./api/types";
|
|
3
|
+
export type { LoginData, LoginQrcodeResp, MyOrganList, MyOrganModel, LoginResult, } from "./api/auth/types";
|
|
4
4
|
import type { App } from "vue";
|
|
5
|
-
export { menus, vueMetaEnv, defaultSettings, addViteMenus, addWebpackMenus, updateMetaEnv, updateViteMetaEnv, updateWebpackMetaEnv, addDynamicRoute, updateSettings } from "./settings";
|
|
5
|
+
export { menus, vueMetaEnv, imageUrl, defaultSettings, addViteMenus, addWebpackMenus, updateMetaEnv, updateViteMetaEnv, updateWebpackMetaEnv, addDynamicRoute, updateSettings, cssImageVar, } from "./settings";
|
|
6
6
|
export { getQueryParams, clearEmpty, deepMerge } from "./utils/grpc";
|
|
7
7
|
import request, { axiosConfig } from "./utils/request";
|
|
8
8
|
export { request, axiosConfig };
|
|
9
9
|
export { generateRandomKey, handlePreview } from "./utils/common";
|
|
10
|
-
export { validatePhoneNumber, validatePhoneOrLandline, validateCreditCode, validateIDCard, validateEmail } from "./utils/validation_utils";
|
|
11
|
-
export { BizDict, BizLayDict, CustomBizDict, EnumDict, enumMapCache, EnableBizDict } from "./api/index";
|
|
12
|
-
export { getCaptchaApi, createLoginQrcode, selectDsdRoles, runAsUser, myorganList, loginOrganApi } from "./api/auth";
|
|
10
|
+
export { validatePhoneNumber, validatePhoneOrLandline, validateCreditCode, validateIDCard, validateEmail, } from "./utils/validation_utils";
|
|
11
|
+
export { BizDict, BizLayDict, CustomBizDict, EnumDict, enumMapCache, EnableBizDict, } from "./api/index";
|
|
12
|
+
export { getCaptchaApi, createLoginQrcode, selectDsdRoles, runAsUser, myorganList, loginOrganApi, } from "./api/auth";
|
|
13
13
|
export { netEncrypt } from "./utils/netsecret";
|
|
14
14
|
export { fileApi } from "./api/file/index";
|
|
15
15
|
export { routerUtil } from "./utils/route";
|
|
@@ -17,7 +17,7 @@ export { SysApiImpl } from "./api/sys/index";
|
|
|
17
17
|
export { useTableHooks, TableHooks } from "./hooks/table";
|
|
18
18
|
export { store } from "./stores";
|
|
19
19
|
export { useAppStore, useAppStoreHook } from "./stores/modules/app";
|
|
20
|
-
export { usePermissionStore, usePermissionStoreHook } from "./stores/modules/permission";
|
|
20
|
+
export { usePermissionStore, usePermissionStoreHook, } from "./stores/modules/permission";
|
|
21
21
|
export { useSettingsStore } from "./stores/modules/settings";
|
|
22
22
|
export { useTagsViewStore } from "./stores/modules/tagsView";
|
|
23
23
|
export { useUserStore, useUserStoreHook } from "./stores/modules/user";
|
|
@@ -27,7 +27,7 @@ import routerRef from "./router";
|
|
|
27
27
|
export { routerRef };
|
|
28
28
|
import directive from "./directive";
|
|
29
29
|
export { directive };
|
|
30
|
-
export { Layout, LoginPage, MultiFactorLoginPage, ProfilePage, Error401Page, Error404Page, DashboardPage, RedirectPage, ChangeOrgan } from "./router";
|
|
30
|
+
export { Layout, LoginPage, MultiFactorLoginPage, ProfilePage, Error401Page, Error404Page, DashboardPage, RedirectPage, ChangeOrgan, } from "./router";
|
|
31
31
|
import i18n from "./lang/index";
|
|
32
32
|
export { i18n };
|
|
33
33
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
package/dts/src/settings.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare const defaultSettings: AppSettings;
|
|
|
6
6
|
declare const vueMetaEnv: VueMetaEnv;
|
|
7
7
|
declare const menus: Map<any, any>;
|
|
8
8
|
declare const dynamicRoutes: RouteRecordRaw[];
|
|
9
|
+
declare let imageUrl: string;
|
|
9
10
|
/** 添加Vite模块菜单. **/
|
|
10
11
|
export declare function addViteMenus(modules: Record<string, any>, startLen: number): void;
|
|
11
12
|
export declare function defineComponentWithName(component: any, name: string): import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -31,5 +32,6 @@ export declare function convertViteMetaEnv(viteMetaEnv: ImportMetaEnv): VueMetaE
|
|
|
31
32
|
export declare function convertWebpackMetaEnv(webpackMetaEnv: any): VueMetaEnv;
|
|
32
33
|
/** 更新系统配置信息. */
|
|
33
34
|
export declare function updateSettings(setting: AppSettings): AppSettings;
|
|
34
|
-
export
|
|
35
|
+
export declare function cssImageVar(css: string, image: string, url?: boolean): void;
|
|
36
|
+
export { vueMetaEnv, menus, defaultSettings, dynamicRoutes, imageUrl };
|
|
35
37
|
export default defaultSettings;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { deptForm } from "@/api/system/dept/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
formData: {
|
|
5
|
+
type: PropType<deptForm>;
|
|
6
|
+
default: () => void;
|
|
7
|
+
};
|
|
8
|
+
dialog: {
|
|
9
|
+
type: PropType<DialogRef>;
|
|
10
|
+
default: () => void;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
refresh: (...args: any[]) => void;
|
|
14
|
+
dialogEvent: (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
16
|
+
formData: {
|
|
17
|
+
type: PropType<deptForm>;
|
|
18
|
+
default: () => void;
|
|
19
|
+
};
|
|
20
|
+
dialog: {
|
|
21
|
+
type: PropType<DialogRef>;
|
|
22
|
+
default: () => void;
|
|
23
|
+
};
|
|
24
|
+
}>> & {
|
|
25
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onDialogEvent?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
dialog: DialogRef;
|
|
29
|
+
formData: deptForm;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { JobForm } from "@/api/system/job/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
formData: {
|
|
4
|
+
type: globalThis.PropType<JobForm>;
|
|
5
|
+
default: () => void;
|
|
6
|
+
};
|
|
7
|
+
dialog: {
|
|
8
|
+
type: globalThis.PropType<DialogRef>;
|
|
9
|
+
default: () => void;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
refresh: (...args: any[]) => void;
|
|
13
|
+
dialogEvent: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
+
formData: {
|
|
16
|
+
type: globalThis.PropType<JobForm>;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
dialog: {
|
|
20
|
+
type: globalThis.PropType<DialogRef>;
|
|
21
|
+
default: () => void;
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onDialogEvent?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
dialog: DialogRef;
|
|
28
|
+
formData: JobForm;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|