vue3-components-plus 3.0.19 → 3.0.21
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/LICENSE +21 -21
- package/README.md +22 -176
- package/dist/ComponentDemo/DialogDemo.vue +2 -2
- package/dist/ComponentDemo/FormDemo.vue +133 -6
- package/dist/ComponentDemo/NsTableDemo/index.vue +29 -31
- package/dist/api/types.d.ts +116 -116
- package/dist/vue3-components-plus.css +1 -1
- package/dist/vue3-components-plus.d.ts +0 -2
- package/dist/vue3-components-plus.js +457 -2231
- package/dist/vue3-components-plus.umd.cjs +1 -1
- package/package.json +1 -1
- package/vue3-components-plus.d.ts +0 -2
- package/dist/ComponentDemo/DynamicFormCascadeAsyncDemo.vue +0 -337
- package/dist/ComponentDemo/DynamicFormCascadeDemo.vue +0 -263
- package/dist/ComponentDemo/DynamicFormPlusDemo.vue +0 -176
- package/dist/ComponentDemo/FormDemo copy.vue +0 -714
- package/dist/ComponentDemo/TestFormConfig.js +0 -129
- package/dist/ComponentDemo/VideoDemo.vue +0 -303
- package/dist/cdn/ezuikit/ezuikit.js +0 -27
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl1/HasSIMD/Decoder.js +0 -168
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl1/NoSIMD/Decoder.js +0 -168
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/HasSIMD/Decoder.js +0 -21
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/HasSIMD/Decoder.wasm +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/HasSIMD/Decoder.worker.js +0 -1
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/NoSIMD/Decoder.js +0 -21
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/NoSIMD/Decoder.wasm +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/NoSIMD/Decoder.worker.js +0 -1
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/noWorker/Decoder.js +0 -21
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/noWorker/Decoder.wasm +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/css/component.css +0 -1257
- package/dist/cdn/ezuikit/ezuikit_static/css/inspectTheme.css +0 -354
- package/dist/cdn/ezuikit/ezuikit_static/css/theme copy.css +0 -126
- package/dist/cdn/ezuikit/ezuikit_static/css/theme.css +0 -140
- package/dist/cdn/ezuikit/ezuikit_static/imgs/bg.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/bg.svg +0 -33
- package/dist/cdn/ezuikit/ezuikit_static/imgs/empty.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/end.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/fallback.svg +0 -52
- package/dist/cdn/ezuikit/ezuikit_static/imgs/start.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/rec/datepicker.js +0 -1522
- package/dist/cdn/ezuikit/ezuikit_static/rec/datepicker.min.css +0 -36
- package/dist/cdn/ezuikit/ezuikit_static/rec/datepicker.zh-CN.js +0 -19
- package/dist/cdn/ezuikit/ezuikit_static/rec/jquery.min.js +0 -2
- package/dist/cdn/ezuikit/ezuikit_static/speed/speed.css +0 -145
- package/dist/cdn/ezuikit/ezuikit_static/talk/adapeter.js +0 -5497
- package/dist/cdn/ezuikit/ezuikit_static/talk/janus.js +0 -3507
- package/dist/cdn/ezuikit/ezuikit_static/talk/tts-v4.js +0 -343
- package/dist/cdn/ezuikit.js +0 -27
- package/dist/cdn/h5player/h5player.min.js +0 -313
- package/dist/cdn/h5player/playctrl1/DecodeWorker.js +0 -642
- package/dist/cdn/h5player/playctrl1/Decoder.js +0 -1
- package/dist/cdn/h5player/playctrl1simd/DecodeWorker.js +0 -642
- package/dist/cdn/h5player/playctrl1simd/Decoder.js +0 -1
- package/dist/cdn/h5player/playctrl2/Decoder.js +0 -21
- package/dist/cdn/h5player/playctrl2/Decoder.wasm +0 -0
- package/dist/cdn/h5player/playctrl2/Decoder.worker.js +0 -1
- package/dist/cdn/h5player/playctrl3/Decoder.js +0 -21
- package/dist/cdn/h5player/playctrl3/Decoder.wasm +0 -0
- package/dist/cdn/h5player/playctrl3/Decoder.worker.js +0 -1
- package/dist/cdn/h5player/talk/AudioInterCom.js +0 -21
- package/dist/cdn/h5player/talk/AudioInterCom.wasm +0 -0
- package/dist/cdn/h5player/talkW/AudioInterCom.js +0 -21
- package/dist/cdn/h5player/talkW/AudioInterCom.wasm +0 -0
- package/dist/cdn/h5player/talkW/AudioInterCom.worker.js +0 -1
- package/dist/cdn/h5player/transform/libSystemTransform.js +0 -6525
- package/dist/cdn/h5player/transform/libSystemTransform.wasm +0 -0
- package/dist/cdn/h5player/transform/systemTransform-worker.js +0 -120
- package/dist/cdn/md5.js +0 -254
- package/dist/js/EasyPlayer-decode.js +0 -1
- package/dist/js/EasyPlayer-lib.js +0 -1
- package/dist/js/EasyPlayer-pro.js +0 -1
- package/dist/js/EasyPlayer-pro.wasm +0 -0
- package/dist/js/EasyPlayer-snap.wasm +0 -0
package/dist/api/types.d.ts
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HTTP请求相关类型定义
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/** 自定义请求配置接口 */
|
|
6
|
-
export interface HttpCustomConfig {
|
|
7
|
-
/** 请求超时时间(毫秒) */
|
|
8
|
-
timeout?: number
|
|
9
|
-
/** Content-Type 类型 */
|
|
10
|
-
contentType?: string
|
|
11
|
-
/** 自定义请求头 */
|
|
12
|
-
headers?: Record<string, string>
|
|
13
|
-
/** 其他axios配置 */
|
|
14
|
-
[key: string]: any
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/** HTTP响应数据接口 */
|
|
18
|
-
export interface HttpResponse<T = any> {
|
|
19
|
-
code: number
|
|
20
|
-
data: T
|
|
21
|
-
msg: string
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** 错误响应接口 */
|
|
25
|
-
export interface ErrorResponse {
|
|
26
|
-
code?: number
|
|
27
|
-
response?: any
|
|
28
|
-
message?: string
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/** 错误回调函数类型 */
|
|
32
|
-
export type ErrorCallback = (error: ErrorResponse, message: string) => void
|
|
33
|
-
|
|
34
|
-
/** 请求方法枚举 */
|
|
35
|
-
export enum RequestMethod {
|
|
36
|
-
GET = 'GET',
|
|
37
|
-
POST = 'POST',
|
|
38
|
-
PUT = 'PUT',
|
|
39
|
-
DELETE = 'DELETE',
|
|
40
|
-
PATCH = 'PATCH'
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** Content-Type枚举 */
|
|
44
|
-
export enum ContentType {
|
|
45
|
-
JSON = 'application/json',
|
|
46
|
-
FORM_URLENCODED = 'application/x-www-form-urlencoded',
|
|
47
|
-
FORM_DATA = 'multipart/form-data',
|
|
48
|
-
TEXT = 'text/plain',
|
|
49
|
-
HTML = 'text/html'
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/** GET请求函数类型 */
|
|
53
|
-
export interface GetFunction {
|
|
54
|
-
<T = any>(
|
|
55
|
-
url: string,
|
|
56
|
-
params?: Record<string, any>,
|
|
57
|
-
base?: string,
|
|
58
|
-
customConfig?: HttpCustomConfig,
|
|
59
|
-
errorCallback?: ErrorCallback
|
|
60
|
-
): Promise<T>
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/** POST请求函数类型 */
|
|
64
|
-
export interface PostFunction {
|
|
65
|
-
<T = any>(
|
|
66
|
-
url: string,
|
|
67
|
-
data?: any,
|
|
68
|
-
base?: string,
|
|
69
|
-
customConfig?: HttpCustomConfig,
|
|
70
|
-
errorCallback?: ErrorCallback
|
|
71
|
-
): Promise<T>
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/** PUT请求函数类型 */
|
|
75
|
-
export interface PutFunction {
|
|
76
|
-
<T = any>(
|
|
77
|
-
url: string,
|
|
78
|
-
data?: any,
|
|
79
|
-
base?: string,
|
|
80
|
-
customConfig?: HttpCustomConfig,
|
|
81
|
-
errorCallback?: ErrorCallback
|
|
82
|
-
): Promise<T>
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/** DELETE请求函数类型 */
|
|
86
|
-
export interface DeleteFunction {
|
|
87
|
-
<T = any>(
|
|
88
|
-
url: string,
|
|
89
|
-
data?: any,
|
|
90
|
-
base?: string,
|
|
91
|
-
customConfig?: HttpCustomConfig,
|
|
92
|
-
errorCallback?: ErrorCallback
|
|
93
|
-
): Promise<T>
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/** 下载文件函数类型 */
|
|
97
|
-
export interface DownloadFunction {
|
|
98
|
-
(
|
|
99
|
-
url: string,
|
|
100
|
-
filename?: string,
|
|
101
|
-
method?: string,
|
|
102
|
-
data?: any,
|
|
103
|
-
base?: string,
|
|
104
|
-
customConfig?: HttpCustomConfig,
|
|
105
|
-
errorCallback?: ErrorCallback
|
|
106
|
-
): Promise<any>
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/** 下载本地文件函数类型 */
|
|
110
|
-
export interface DownloadLocalFileFunction {
|
|
111
|
-
(path: string, name: string, errorCallback?: ErrorCallback): void
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/** 获取Token信息函数类型 */
|
|
115
|
-
export interface GetTokenInfoFunction {
|
|
116
|
-
(): Record<string, string>
|
|
1
|
+
/**
|
|
2
|
+
* HTTP请求相关类型定义
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/** 自定义请求配置接口 */
|
|
6
|
+
export interface HttpCustomConfig {
|
|
7
|
+
/** 请求超时时间(毫秒) */
|
|
8
|
+
timeout?: number
|
|
9
|
+
/** Content-Type 类型 */
|
|
10
|
+
contentType?: string
|
|
11
|
+
/** 自定义请求头 */
|
|
12
|
+
headers?: Record<string, string>
|
|
13
|
+
/** 其他axios配置 */
|
|
14
|
+
[key: string]: any
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** HTTP响应数据接口 */
|
|
18
|
+
export interface HttpResponse<T = any> {
|
|
19
|
+
code: number
|
|
20
|
+
data: T
|
|
21
|
+
msg: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** 错误响应接口 */
|
|
25
|
+
export interface ErrorResponse {
|
|
26
|
+
code?: number
|
|
27
|
+
response?: any
|
|
28
|
+
message?: string
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** 错误回调函数类型 */
|
|
32
|
+
export type ErrorCallback = (error: ErrorResponse, message: string) => void
|
|
33
|
+
|
|
34
|
+
/** 请求方法枚举 */
|
|
35
|
+
export enum RequestMethod {
|
|
36
|
+
GET = 'GET',
|
|
37
|
+
POST = 'POST',
|
|
38
|
+
PUT = 'PUT',
|
|
39
|
+
DELETE = 'DELETE',
|
|
40
|
+
PATCH = 'PATCH'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** Content-Type枚举 */
|
|
44
|
+
export enum ContentType {
|
|
45
|
+
JSON = 'application/json',
|
|
46
|
+
FORM_URLENCODED = 'application/x-www-form-urlencoded',
|
|
47
|
+
FORM_DATA = 'multipart/form-data',
|
|
48
|
+
TEXT = 'text/plain',
|
|
49
|
+
HTML = 'text/html'
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/** GET请求函数类型 */
|
|
53
|
+
export interface GetFunction {
|
|
54
|
+
<T = any>(
|
|
55
|
+
url: string,
|
|
56
|
+
params?: Record<string, any>,
|
|
57
|
+
base?: string,
|
|
58
|
+
customConfig?: HttpCustomConfig,
|
|
59
|
+
errorCallback?: ErrorCallback
|
|
60
|
+
): Promise<T>
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** POST请求函数类型 */
|
|
64
|
+
export interface PostFunction {
|
|
65
|
+
<T = any>(
|
|
66
|
+
url: string,
|
|
67
|
+
data?: any,
|
|
68
|
+
base?: string,
|
|
69
|
+
customConfig?: HttpCustomConfig,
|
|
70
|
+
errorCallback?: ErrorCallback
|
|
71
|
+
): Promise<T>
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** PUT请求函数类型 */
|
|
75
|
+
export interface PutFunction {
|
|
76
|
+
<T = any>(
|
|
77
|
+
url: string,
|
|
78
|
+
data?: any,
|
|
79
|
+
base?: string,
|
|
80
|
+
customConfig?: HttpCustomConfig,
|
|
81
|
+
errorCallback?: ErrorCallback
|
|
82
|
+
): Promise<T>
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** DELETE请求函数类型 */
|
|
86
|
+
export interface DeleteFunction {
|
|
87
|
+
<T = any>(
|
|
88
|
+
url: string,
|
|
89
|
+
data?: any,
|
|
90
|
+
base?: string,
|
|
91
|
+
customConfig?: HttpCustomConfig,
|
|
92
|
+
errorCallback?: ErrorCallback
|
|
93
|
+
): Promise<T>
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** 下载文件函数类型 */
|
|
97
|
+
export interface DownloadFunction {
|
|
98
|
+
(
|
|
99
|
+
url: string,
|
|
100
|
+
filename?: string,
|
|
101
|
+
method?: string,
|
|
102
|
+
data?: any,
|
|
103
|
+
base?: string,
|
|
104
|
+
customConfig?: HttpCustomConfig,
|
|
105
|
+
errorCallback?: ErrorCallback
|
|
106
|
+
): Promise<any>
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** 下载本地文件函数类型 */
|
|
110
|
+
export interface DownloadLocalFileFunction {
|
|
111
|
+
(path: string, name: string, errorCallback?: ErrorCallback): void
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** 获取Token信息函数类型 */
|
|
115
|
+
export interface GetTokenInfoFunction {
|
|
116
|
+
(): Record<string, string>
|
|
117
117
|
}
|