@jnrs/vue-core 1.2.2 → 1.2.4
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/components/JnFileUpload.vue.d.ts +20 -8
- package/dist/components/JnImageView.vue.d.ts +4 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.js +1068 -832
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/index.js +127 -3
- package/dist/composables/useWebSocket.d.ts +117 -0
- package/dist/index-BVrPZ7_E.js +3386 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3275
- package/dist/locales/en/components.d.ts +15 -0
- package/dist/locales/en/index.d.ts +15 -0
- package/dist/locales/i18next.d.ts +2 -1
- package/dist/locales/index.js +34 -4
- package/dist/locales/zhCn/components.d.ts +15 -0
- package/dist/locales/zhCn/index.d.ts +15 -0
- package/dist/request/axios.d.ts +3 -3
- package/dist/request/index.d.ts +1 -0
- package/dist/request/index.js +4 -0
- package/dist/types/base.d.ts +4 -0
- package/dist/{useMouseSelection-v7Ud0vBn.js → useMouseSelection-DU3qQWIm.js} +2 -2
- package/package.json +6 -3
|
@@ -31,5 +31,20 @@ declare const _default: {
|
|
|
31
31
|
viewPDF: string;
|
|
32
32
|
downloadFile: string;
|
|
33
33
|
};
|
|
34
|
+
JnImportAndExport: {
|
|
35
|
+
dialogTitle: string;
|
|
36
|
+
dialogFormItem: string;
|
|
37
|
+
downloadImportTemplate: string;
|
|
38
|
+
submit: string;
|
|
39
|
+
loading: string;
|
|
40
|
+
noImportApi: string;
|
|
41
|
+
rulesImport: string;
|
|
42
|
+
exportDynamicTitle: string;
|
|
43
|
+
confirmButtonText: string;
|
|
44
|
+
cancelButtonText: string;
|
|
45
|
+
messageBoxConfirm: string;
|
|
46
|
+
messageBoxConfirmTitle: string;
|
|
47
|
+
importSuccess: string;
|
|
48
|
+
};
|
|
34
49
|
};
|
|
35
50
|
export default _default;
|
|
@@ -33,6 +33,21 @@ declare const _default: {
|
|
|
33
33
|
viewPDF: string;
|
|
34
34
|
downloadFile: string;
|
|
35
35
|
};
|
|
36
|
+
JnImportAndExport: {
|
|
37
|
+
dialogTitle: string;
|
|
38
|
+
dialogFormItem: string;
|
|
39
|
+
downloadImportTemplate: string;
|
|
40
|
+
submit: string;
|
|
41
|
+
loading: string;
|
|
42
|
+
noImportApi: string;
|
|
43
|
+
rulesImport: string;
|
|
44
|
+
exportDynamicTitle: string;
|
|
45
|
+
confirmButtonText: string;
|
|
46
|
+
cancelButtonText: string;
|
|
47
|
+
messageBoxConfirm: string;
|
|
48
|
+
messageBoxConfirmTitle: string;
|
|
49
|
+
importSuccess: string;
|
|
50
|
+
};
|
|
36
51
|
};
|
|
37
52
|
};
|
|
38
53
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const i18n: import('vue-i18n').I18n<{}, {}, {}, string, false>;
|
|
2
|
+
export default i18n;
|
package/dist/locales/index.js
CHANGED
|
@@ -30,8 +30,23 @@ const e = {
|
|
|
30
30
|
JnPdfView: {
|
|
31
31
|
viewPDF: "预览PDF",
|
|
32
32
|
downloadFile: "下载文件"
|
|
33
|
+
},
|
|
34
|
+
JnImportAndExport: {
|
|
35
|
+
dialogTitle: "数据导入",
|
|
36
|
+
dialogFormItem: "数据文件",
|
|
37
|
+
downloadImportTemplate: "下载数据模板",
|
|
38
|
+
submit: "提交",
|
|
39
|
+
loading: "处理中...",
|
|
40
|
+
noImportApi: "请配置导入接口函数",
|
|
41
|
+
rulesImport: "请上传",
|
|
42
|
+
exportDynamicTitle: "请填写参数后进行数据导出",
|
|
43
|
+
confirmButtonText: "确定",
|
|
44
|
+
cancelButtonText: "取消",
|
|
45
|
+
messageBoxConfirm: "确定要导出吗?",
|
|
46
|
+
messageBoxConfirmTitle: "操作确认",
|
|
47
|
+
importSuccess: "导入成功"
|
|
33
48
|
}
|
|
34
|
-
},
|
|
49
|
+
}, t = {
|
|
35
50
|
"@jnrs/vue-core": {
|
|
36
51
|
components: e
|
|
37
52
|
}
|
|
@@ -67,13 +82,28 @@ const e = {
|
|
|
67
82
|
JnPdfView: {
|
|
68
83
|
viewPDF: "Preview PDF",
|
|
69
84
|
downloadFile: "Download File"
|
|
85
|
+
},
|
|
86
|
+
JnImportAndExport: {
|
|
87
|
+
dialogTitle: "Data Import",
|
|
88
|
+
dialogFormItem: "Data File",
|
|
89
|
+
downloadImportTemplate: "Download Template",
|
|
90
|
+
submit: "Submit",
|
|
91
|
+
loading: "Processing...",
|
|
92
|
+
noImportApi: "Please configure the import API function",
|
|
93
|
+
rulesImport: "Please upload a file",
|
|
94
|
+
exportDynamicTitle: "Please fill in the parameters before exporting data",
|
|
95
|
+
confirmButtonText: "Confirm",
|
|
96
|
+
cancelButtonText: "Cancel",
|
|
97
|
+
messageBoxConfirm: "Are you sure you want to export?",
|
|
98
|
+
messageBoxConfirmTitle: "Confirmation",
|
|
99
|
+
importSuccess: "Import successful"
|
|
70
100
|
}
|
|
71
|
-
},
|
|
101
|
+
}, n = {
|
|
72
102
|
"@jnrs/vue-core": {
|
|
73
103
|
components: o
|
|
74
104
|
}
|
|
75
105
|
};
|
|
76
106
|
export {
|
|
77
|
-
|
|
78
|
-
|
|
107
|
+
n as en,
|
|
108
|
+
t as zhCn
|
|
79
109
|
};
|
|
@@ -31,5 +31,20 @@ declare const _default: {
|
|
|
31
31
|
viewPDF: string;
|
|
32
32
|
downloadFile: string;
|
|
33
33
|
};
|
|
34
|
+
JnImportAndExport: {
|
|
35
|
+
dialogTitle: string;
|
|
36
|
+
dialogFormItem: string;
|
|
37
|
+
downloadImportTemplate: string;
|
|
38
|
+
submit: string;
|
|
39
|
+
loading: string;
|
|
40
|
+
noImportApi: string;
|
|
41
|
+
rulesImport: string;
|
|
42
|
+
exportDynamicTitle: string;
|
|
43
|
+
confirmButtonText: string;
|
|
44
|
+
cancelButtonText: string;
|
|
45
|
+
messageBoxConfirm: string;
|
|
46
|
+
messageBoxConfirmTitle: string;
|
|
47
|
+
importSuccess: string;
|
|
48
|
+
};
|
|
34
49
|
};
|
|
35
50
|
export default _default;
|
|
@@ -33,6 +33,21 @@ declare const _default: {
|
|
|
33
33
|
viewPDF: string;
|
|
34
34
|
downloadFile: string;
|
|
35
35
|
};
|
|
36
|
+
JnImportAndExport: {
|
|
37
|
+
dialogTitle: string;
|
|
38
|
+
dialogFormItem: string;
|
|
39
|
+
downloadImportTemplate: string;
|
|
40
|
+
submit: string;
|
|
41
|
+
loading: string;
|
|
42
|
+
noImportApi: string;
|
|
43
|
+
rulesImport: string;
|
|
44
|
+
exportDynamicTitle: string;
|
|
45
|
+
confirmButtonText: string;
|
|
46
|
+
cancelButtonText: string;
|
|
47
|
+
messageBoxConfirm: string;
|
|
48
|
+
messageBoxConfirmTitle: string;
|
|
49
|
+
importSuccess: string;
|
|
50
|
+
};
|
|
36
51
|
};
|
|
37
52
|
};
|
|
38
53
|
};
|
package/dist/request/axios.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BusinessRequest, BusinessResponse } from '@jnrs/
|
|
1
|
+
import { BusinessRequest, BusinessResponse } from '@jnrs/shared/request';
|
|
2
2
|
/**
|
|
3
3
|
* axios 请求方法(泛型拓展)
|
|
4
4
|
*/
|
|
5
|
-
declare const
|
|
6
|
-
export {
|
|
5
|
+
declare const axiosRequest: <T = BusinessResponse>(options: BusinessRequest) => Promise<T>;
|
|
6
|
+
export { axiosRequest };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './axios';
|
package/dist/types/base.d.ts
CHANGED
|
@@ -14,6 +14,10 @@ export interface MenuItem {
|
|
|
14
14
|
* Element 尺寸
|
|
15
15
|
*/
|
|
16
16
|
export type ElSize = '' | 'large' | 'default' | 'small';
|
|
17
|
+
/**
|
|
18
|
+
* Element 按钮类型
|
|
19
|
+
*/
|
|
20
|
+
export type ElButtonType = 'default' | 'primary' | 'success' | 'info' | 'warning' | 'text' | 'danger';
|
|
17
21
|
/**
|
|
18
22
|
* 文件信息
|
|
19
23
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jnrs/vue-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "巨能前端工程化开发,Vue 专用核心功能包。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jnrs",
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
"import": "./dist/piniaStore/index.js",
|
|
41
41
|
"types": "./dist/piniaStore/index.d.ts"
|
|
42
42
|
},
|
|
43
|
+
"./request": {
|
|
44
|
+
"import": "./dist/request/index.js",
|
|
45
|
+
"types": "./dist/request/index.d.ts"
|
|
46
|
+
},
|
|
43
47
|
"./components": {
|
|
44
48
|
"import": "./dist/components/index.js",
|
|
45
49
|
"types": "./dist/components/index.d.ts"
|
|
@@ -58,8 +62,7 @@
|
|
|
58
62
|
"vue": "^3.5.22",
|
|
59
63
|
"vue-router": "^4.5.1",
|
|
60
64
|
"vue-i18n": "^9.14.5",
|
|
61
|
-
"@jnrs/shared": "1.1.
|
|
62
|
-
"@jnrs/core": "1.1.7"
|
|
65
|
+
"@jnrs/shared": "1.1.9"
|
|
63
66
|
},
|
|
64
67
|
"devDependencies": {
|
|
65
68
|
"@vitejs/plugin-vue": "^6.0.1",
|