jmash-core 0.0.131 → 0.0.133
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/{401-Cmb1fIlK.mjs → 401-etT_5LbD.mjs} +3 -3
- package/dist/{404-B_oEinN1.mjs → 404-CE7X5xyU.mjs} +3 -3
- package/dist/{BarChart-D8CnYCsv.mjs → BarChart-BPVaNoh_.mjs} +5 -5
- package/dist/{FunnelChart-BzoTNn36.mjs → FunnelChart-D6-3qMKT.mjs} +5 -5
- package/dist/{PieChart-vvePUqxP.mjs → PieChart-pHMdR-Hx.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-B4J5buH_.mjs → PieChart.vue_vue_type_script_setup_true_lang-zNUDoKtb.mjs} +6 -6
- package/dist/{RadarChart-RsjrWpKm.mjs → RadarChart-CclJ-0mQ.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CPbv9lgv.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CkA5ajJ-.mjs} +6 -6
- package/dist/{index-DA53-ye2.mjs → index--_Po9Tig.mjs} +8536 -8435
- package/dist/{index-BGTPivMP.mjs → index-CBnU0B-o.mjs} +8 -8
- package/dist/{index-CLwl2hgZ.mjs → index-D6zVHnF6.mjs} +11316 -11315
- package/dist/{index-uykKwY2Z.mjs → index-JBmY6Vt0.mjs} +2 -2
- package/dist/{index-Be-lvbEx.mjs → index-QzSyMqdw.mjs} +8 -8
- package/dist/{index-rXnBjgo9.mjs → index-_VikBg61.mjs} +8 -8
- package/dist/{index-CguohIRH.mjs → index-c3E997cw.mjs} +4 -4
- package/dist/index.mjs +48 -43
- package/dist/{profile-OASmpSYA.mjs → profile-lx8s8LVI.mjs} +7 -7
- package/dist/{runAs-BhIBIIBq.mjs → runAs-iW7pU6Ly.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-CFSvfZp2.mjs → runAs.vue_vue_type_script_setup_true_lang-BJNNelsz.mjs} +13 -13
- package/dist/style.css +1 -1
- package/dist/{types-BlZGkZS3.mjs → types-BTxq5840.mjs} +4 -4
- package/dist/{updatePwd-Rurjdkmc.mjs → updatePwd-B2FzfYnj.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-2lfXBota.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Bfa15Z7c.mjs} +3 -3
- package/dts/src/components/JmashTable/index.vue.d.ts +1 -0
- package/dts/src/index.d.ts +1 -0
- package/dts/src/utils/validation_utils.d.ts +30 -0
- package/package.json +87 -87
- package/dts/src/components/DictRadio/index.vue.d.ts +0 -32
- package/dts/src/components/DictSelect/index.vue.d.ts +0 -50
- package/dts/src/components/Pagination/index.vue.d.ts +0 -88
- package/dts/src/components/Table/index.vue.d.ts +0 -64
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +0 -65
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +0 -18
- package/dts/src/components/Upload/importUpload.vue.d.ts +0 -31
- package/dts/src/components/Upload/index.vue.d.ts +0 -18
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as E, b as w, w as N, x as q, y as R } from "./index-
|
|
1
|
+
import { createElementBlock as I, openBlock as y, createElementVNode as u, defineComponent as B, ref as V, reactive as f, resolveComponent as i, Fragment as D, createVNode as t, withCtx as l, createTextVNode as _, toDisplayString as v } from "vue";
|
|
2
|
+
import { v as E, b as w, w as N, x as q, y as R } from "./index-D6zVHnF6.mjs";
|
|
3
3
|
const S = {
|
|
4
4
|
viewBox: "0 0 1024 1024",
|
|
5
5
|
width: "1.2em",
|
|
6
6
|
height: "1.2em"
|
|
7
7
|
};
|
|
8
8
|
function A(k, c) {
|
|
9
|
-
return
|
|
9
|
+
return y(), I("svg", S, c[0] || (c[0] = [
|
|
10
10
|
u("path", {
|
|
11
11
|
fill: "currentColor",
|
|
12
12
|
d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
|
|
@@ -82,7 +82,7 @@ const L = { name: "ep-picture", render: A }, P = { class: "h-[40px]" }, T = { cl
|
|
|
82
82
|
}
|
|
83
83
|
return (a, e) => {
|
|
84
84
|
const p = i("el-input"), r = i("el-form-item"), s = i("el-button"), b = i("el-form"), U = L, $ = i("el-image"), z = i("el-dialog");
|
|
85
|
-
return
|
|
85
|
+
return y(), I(D, null, [
|
|
86
86
|
t(b, {
|
|
87
87
|
ref_key: "ruleFormRef",
|
|
88
88
|
ref: g,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i,
|
|
1
|
+
import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, createBlock as O, openBlock as A, unref as t, isRef as U, withCtx as n, createVNode as r, createElementVNode as z, createTextVNode as g, toDisplayString as _ } from "vue";
|
|
2
2
|
import { ElMessage as B } from "element-plus";
|
|
3
|
-
import { z as b, M as D } from "./index-
|
|
3
|
+
import { z as b, M as D } from "./index-D6zVHnF6.mjs";
|
|
4
4
|
import { useI18n as I } from "vue-i18n";
|
|
5
5
|
const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
6
6
|
__name: "updatePwd",
|
|
@@ -49,7 +49,7 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
|
|
|
49
49
|
}
|
|
50
50
|
return (o, e) => {
|
|
51
51
|
const d = i("el-input"), w = i("el-form-item"), m = i("el-form"), P = i("el-button"), C = i("el-dialog");
|
|
52
|
-
return
|
|
52
|
+
return A(), O(C, {
|
|
53
53
|
title: "修改密码",
|
|
54
54
|
modelValue: t(u),
|
|
55
55
|
"onUpdate:modelValue": e[3] || (e[3] = (s) => U(u) ? u.value = s : null),
|
|
@@ -27,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<gl
|
|
|
27
27
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => any;
|
|
28
28
|
setScrollTop: (top?: number | undefined) => any;
|
|
29
29
|
setScrollLeft: (left?: number | undefined) => any;
|
|
30
|
+
refs: () => any;
|
|
30
31
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
31
32
|
tableLabel: {
|
|
32
33
|
type: PropType<TableColumn[]>;
|
package/dts/src/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ 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";
|
|
10
11
|
export { BizDict, BizLayDict, CustomBizDict, EnumDict, enumMapCache, EnableBizDict } from "./api/index";
|
|
11
12
|
export { getCaptchaApi, createLoginQrcode, selectDsdRoles, runAsUser, myorganList, loginOrganApi } from "./api/auth";
|
|
12
13
|
export { netEncrypt } from "./utils/netsecret";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 校验统一社会信用代码
|
|
3
|
+
* @param code 待校验的统一社会信用代码
|
|
4
|
+
* @returns 校验结果,true 表示校验通过,false 表示校验失败
|
|
5
|
+
*/
|
|
6
|
+
export declare function validateCreditCode(code: string): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 校验手机号
|
|
9
|
+
* @param phone 待校验的手机号
|
|
10
|
+
* @returns 校验结果,true 表示校验通过,false 表示校验失败
|
|
11
|
+
*/
|
|
12
|
+
export declare function validatePhoneNumber(phone: string): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* 校验手机号或固话
|
|
15
|
+
* @param phone 待校验的号码
|
|
16
|
+
* @returns 校验结果,若校验通过返回 true,否则返回错误信息
|
|
17
|
+
*/
|
|
18
|
+
export declare function validatePhoneOrLandline(phone: string): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 校验身份证号
|
|
21
|
+
* @param idCard 待校验的身份证号
|
|
22
|
+
* @returns 校验结果,若校验通过返回 true,否则返回错误信息
|
|
23
|
+
*/
|
|
24
|
+
export declare function validateIDCard(idCard: string): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 校验邮箱
|
|
27
|
+
* @param email 待校验的邮箱地址
|
|
28
|
+
* @returns 校验结果,若校验通过返回 true,否则返回错误信息
|
|
29
|
+
*/
|
|
30
|
+
export declare function validateEmail(email: string): boolean;
|
package/package.json
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "jmash-core",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"module": "dist/index.mjs",
|
|
6
|
-
"types": "dts/src/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"dts/src"
|
|
10
|
-
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"eslint-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"element-plus": "^
|
|
53
|
-
"
|
|
54
|
-
"vue": "^
|
|
55
|
-
"
|
|
56
|
-
"vue
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "jmash-core",
|
|
3
|
+
"version": "0.0.133",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
|
+
"types": "dts/src/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"dts/src"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "pnpm build:generate && vite serve --mode development",
|
|
13
|
+
"build": "pnpm build:generate && vite build && pnpm build:dts",
|
|
14
|
+
"build:generate": "tsx build/generate.ts",
|
|
15
|
+
"preview": "vite preview",
|
|
16
|
+
"build-only": "vite build",
|
|
17
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
18
|
+
"type-check": "vue-tsc --build --force",
|
|
19
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
20
|
+
"format": "prettier --write src/"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@eslint/js": "^9.11.0",
|
|
24
|
+
"@iconify-json/ep": "^1.1.15",
|
|
25
|
+
"@intlify/core-base": "^9.10.2",
|
|
26
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
27
|
+
"@tsconfig/node20": "^20.1.2",
|
|
28
|
+
"@types/node": "^20.11.10",
|
|
29
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
30
|
+
"@vue/tsconfig": "^0.5.1",
|
|
31
|
+
"@vueuse/core": "^10.9.0",
|
|
32
|
+
"axios": "^1.6.7",
|
|
33
|
+
"camelcase": "^8.0.0",
|
|
34
|
+
"chalk": "^5.3.0",
|
|
35
|
+
"consola": "^3.2.3",
|
|
36
|
+
"eslint": "^9.11.0",
|
|
37
|
+
"eslint-plugin-vue": "^9.28.0",
|
|
38
|
+
"fast-glob": "^3.3.2",
|
|
39
|
+
"fs-extra": "^11.2.0",
|
|
40
|
+
"globals": "^15.9.0",
|
|
41
|
+
"npm-run-all2": "^6.1.1",
|
|
42
|
+
"pinia": "^2.1.7",
|
|
43
|
+
"prettier": "^3.0.3",
|
|
44
|
+
"qs": "^6.12.0",
|
|
45
|
+
"sass": "^1.71.1",
|
|
46
|
+
"sass-loader": "^14.1.1",
|
|
47
|
+
"tsx": "^4.7.1",
|
|
48
|
+
"typescript": "~5.3.0",
|
|
49
|
+
"typescript-eslint": "^8.6.0",
|
|
50
|
+
"unocss": "^0.58.5",
|
|
51
|
+
"unplugin-auto-import": "^0.17.5",
|
|
52
|
+
"unplugin-element-plus": "^0.8.0",
|
|
53
|
+
"unplugin-icons": "^0.18.5",
|
|
54
|
+
"unplugin-vue-components": "^0.26.0",
|
|
55
|
+
"vite": "^5.0.11",
|
|
56
|
+
"vue": "^3.4.21",
|
|
57
|
+
"vue-i18n": "^9.10.1",
|
|
58
|
+
"vue-router": "^4.3.0",
|
|
59
|
+
"vue-tsc": "^1.8.27"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"axios": "^1.7.7",
|
|
63
|
+
"element-plus": "^2.8.7",
|
|
64
|
+
"pinia": "^2.2.4",
|
|
65
|
+
"vue": "^3.5.11",
|
|
66
|
+
"vue-i18n": "^9.14.1",
|
|
67
|
+
"vue-router": "^4.4.5"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
71
|
+
"@vueuse/core": "^10.9.0",
|
|
72
|
+
"@wangeditor/editor": "^5.1.23",
|
|
73
|
+
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
74
|
+
"crypto-js": "^4.2.0",
|
|
75
|
+
"echarts": "^5.5.0",
|
|
76
|
+
"file-saver": "^2.0.5",
|
|
77
|
+
"lodash-es": "^4.17.21",
|
|
78
|
+
"lrz": "^4.9.41",
|
|
79
|
+
"moment": "^2.30.1",
|
|
80
|
+
"nprogress": "^0.2.0",
|
|
81
|
+
"path-browserify": "^1.0.1",
|
|
82
|
+
"path-to-regexp": "^6.2.1",
|
|
83
|
+
"qs": "^6.12.0",
|
|
84
|
+
"sm-crypto": "^0.3.13",
|
|
85
|
+
"sortablejs": "^1.15.2"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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;
|
|
@@ -1,50 +0,0 @@
|
|
|
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
|
-
placeholder: string;
|
|
45
|
-
clearable: boolean;
|
|
46
|
-
currentInterface: string;
|
|
47
|
-
dictValue: string;
|
|
48
|
-
dictType: string;
|
|
49
|
-
}, {}>;
|
|
50
|
-
export default _default;
|
|
@@ -1,88 +0,0 @@
|
|
|
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
|
-
page: number;
|
|
84
|
-
limit: number;
|
|
85
|
-
background: boolean;
|
|
86
|
-
autoScroll: boolean;
|
|
87
|
-
}, {}>;
|
|
88
|
-
export default _default;
|
|
@@ -1,64 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
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;
|
|
@@ -1,18 +0,0 @@
|
|
|
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;
|
|
@@ -1,31 +0,0 @@
|
|
|
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;
|
|
@@ -1,18 +0,0 @@
|
|
|
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;
|