@skyfox2000/webui 1.2.8 → 1.2.9
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/lib/assets/modules/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/lib/assets/modules/file-upload-BYIvmkmy.js +204 -0
- package/lib/assets/modules/form-excel-BUX2QW11.js +235 -0
- package/lib/assets/modules/{index-CTVMLeDF.js → index-DcRkhkn2.js} +1 -1
- package/lib/assets/modules/index-jl5Ie2tZ.js +112 -0
- package/lib/assets/modules/{menuTabs-BtOiocOC.js → menuTabs-DY1XBq16.js} +134 -139
- package/lib/assets/modules/{toolIcon-B9Mw9Ktm.js → toolIcon-BDIOj_3l.js} +1 -1
- package/lib/assets/modules/uploadList-BPG5whz7.js +369 -0
- package/lib/assets/modules/{index-D9kzQ23e.js → uploadList-D2Ux4h1N.js} +553 -513
- package/lib/components/common/index.d.ts +2 -0
- package/lib/components/common/loading/index.vue.d.ts +3 -0
- package/lib/components/content/dialog/index.vue.d.ts +1 -0
- package/lib/components/content/drawer/index.vue.d.ts +2 -0
- package/lib/components/content/form/formItem.vue.d.ts +2 -0
- package/lib/components/form/autoComplete/index.vue.d.ts +41 -4
- package/lib/components/form/cascader/index.vue.d.ts +13 -2
- package/lib/components/form/checkbox/index.vue.d.ts +13 -2
- package/lib/components/form/index.d.ts +1 -0
- package/lib/components/form/propEditor/index.vue.d.ts +10 -1
- package/lib/components/form/radio/index.vue.d.ts +13 -2
- package/lib/components/form/select/index.vue.d.ts +13 -2
- package/lib/components/form/upload/uploadList.vue.d.ts +14 -3
- package/lib/components/index.d.ts +2 -2
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +15 -15
- package/lib/es/Error403/index.js +1 -1
- package/lib/es/Error404/index.js +1 -1
- package/lib/es/ExcelForm/index.js +4 -4
- package/lib/es/UploadForm/index.js +60 -87
- package/lib/index.d.ts +2 -2
- package/lib/typings/form.d.ts +18 -2
- package/lib/typings/option.d.ts +16 -2
- package/lib/typings/page.d.ts +1 -0
- package/lib/utils/file-upload.d.ts +4 -2
- package/lib/utils/form-excel.d.ts +3 -0
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +1085 -1063
- package/package.json +1 -1
- package/scripts/userInput.py +2 -0
- package/src/components/common/index.ts +3 -0
- package/src/components/common/loading/index.vue +11 -0
- package/src/components/content/dialog/index.vue +15 -8
- package/src/components/content/dialog/uploadForm.vue +38 -79
- package/src/components/content/drawer/index.vue +26 -6
- package/src/components/content/form/formItem.vue +21 -5
- package/src/components/content/form/index.vue +4 -2
- package/src/components/content/search/searchItem.vue +1 -1
- package/src/components/form/autoComplete/index.vue +12 -4
- package/src/components/form/cascader/index.vue +1 -1
- package/src/components/form/datePicker/index.vue +1 -1
- package/src/components/form/index.ts +1 -0
- package/src/components/form/input/inputIcon.vue +1 -1
- package/src/components/form/propEditor/index.vue +113 -33
- package/src/components/form/select/index.vue +27 -17
- package/src/components/form/upload/uploadList.vue +174 -34
- package/src/components/index.ts +13 -1
- package/src/directives/permission.ts +2 -2
- package/src/index.ts +3 -1
- package/src/typings/form.d.ts +18 -2
- package/src/typings/option.d.ts +16 -2
- package/src/typings/page.d.ts +1 -0
- package/src/utils/download.ts +1 -1
- package/src/utils/eventbus.ts +1 -1
- package/src/utils/file-upload.ts +75 -14
- package/src/utils/form-excel.ts +50 -1
- package/src/utils/form-validate.ts +18 -1
- package/src/utils/form.ts +3 -1
- package/src/utils/options.ts +38 -12
- package/lib/assets/modules/file-upload-CZO-pMJd.js +0 -176
- package/lib/assets/modules/form-excel-N-2OYqKv.js +0 -211
- package/lib/assets/modules/index-BnHnS9ug.js +0 -111
- package/lib/assets/modules/uploadList-B4LxzsC6.js +0 -210
|
@@ -7,6 +7,7 @@ import { default as Icon } from './icon/index.vue';
|
|
|
7
7
|
import { default as LayoutIcon } from './icon/layoutIcon.vue';
|
|
8
8
|
import { default as ProjectIcon } from './icon/projectIcon.vue';
|
|
9
9
|
import { default as ToolIcon } from './icon/toolIcon.vue';
|
|
10
|
+
import { default as Loading } from './loading/index.vue';
|
|
10
11
|
export { Button };
|
|
11
12
|
export { Tooltip };
|
|
12
13
|
export { AppIcon };
|
|
@@ -16,3 +17,4 @@ export { Icon };
|
|
|
16
17
|
export { LayoutIcon };
|
|
17
18
|
export { ProjectIcon };
|
|
18
19
|
export { ToolIcon };
|
|
20
|
+
export { Loading };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
3
|
+
export default _default;
|
|
@@ -4,10 +4,12 @@ type __VLS_Props = {
|
|
|
4
4
|
rule?: string;
|
|
5
5
|
helper?: string;
|
|
6
6
|
width?: string;
|
|
7
|
+
nextLine?: boolean;
|
|
7
8
|
};
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
attrs: Partial<{}>;
|
|
10
11
|
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
11
13
|
default?(_: {}): any;
|
|
12
14
|
helper?(_: {}): any;
|
|
13
15
|
};
|
|
@@ -10,7 +10,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
10
10
|
default: undefined;
|
|
11
11
|
};
|
|
12
12
|
searchField: {
|
|
13
|
-
type: StringConstructor
|
|
13
|
+
type: (StringConstructor | {
|
|
14
|
+
(arrayLength: number): string[];
|
|
15
|
+
(...items: string[]): string[];
|
|
16
|
+
new (arrayLength: number): string[];
|
|
17
|
+
new (...items: string[]): string[];
|
|
18
|
+
isArray(arg: any): arg is any[];
|
|
19
|
+
readonly prototype: any[];
|
|
20
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
21
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
22
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
23
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
24
|
+
of<T>(...items: T[]): T[];
|
|
25
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
26
|
+
})[];
|
|
14
27
|
};
|
|
15
28
|
onsearch: {
|
|
16
29
|
type: FunctionConstructor;
|
|
@@ -36,6 +49,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
36
49
|
type: PropType<IUrlInfo>;
|
|
37
50
|
required: boolean;
|
|
38
51
|
};
|
|
52
|
+
reload: {
|
|
53
|
+
type: PropType<boolean>;
|
|
54
|
+
required: boolean;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
39
57
|
params: {
|
|
40
58
|
type: PropType<ReqParams>;
|
|
41
59
|
required: boolean;
|
|
@@ -57,7 +75,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
57
75
|
required: boolean;
|
|
58
76
|
};
|
|
59
77
|
changeEvent: {
|
|
60
|
-
type: PropType<string | string[]>;
|
|
78
|
+
type: PropType<[string | string[], string]>;
|
|
61
79
|
required: boolean;
|
|
62
80
|
};
|
|
63
81
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -75,7 +93,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
75
93
|
default: undefined;
|
|
76
94
|
};
|
|
77
95
|
searchField: {
|
|
78
|
-
type: StringConstructor
|
|
96
|
+
type: (StringConstructor | {
|
|
97
|
+
(arrayLength: number): string[];
|
|
98
|
+
(...items: string[]): string[];
|
|
99
|
+
new (arrayLength: number): string[];
|
|
100
|
+
new (...items: string[]): string[];
|
|
101
|
+
isArray(arg: any): arg is any[];
|
|
102
|
+
readonly prototype: any[];
|
|
103
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
104
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
105
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
106
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
107
|
+
of<T>(...items: T[]): T[];
|
|
108
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
109
|
+
})[];
|
|
79
110
|
};
|
|
80
111
|
onsearch: {
|
|
81
112
|
type: FunctionConstructor;
|
|
@@ -101,6 +132,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
101
132
|
type: PropType<IUrlInfo>;
|
|
102
133
|
required: boolean;
|
|
103
134
|
};
|
|
135
|
+
reload: {
|
|
136
|
+
type: PropType<boolean>;
|
|
137
|
+
required: boolean;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
104
140
|
params: {
|
|
105
141
|
type: PropType<ReqParams>;
|
|
106
142
|
required: boolean;
|
|
@@ -122,7 +158,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
122
158
|
required: boolean;
|
|
123
159
|
};
|
|
124
160
|
changeEvent: {
|
|
125
|
-
type: PropType<string | string[]>;
|
|
161
|
+
type: PropType<[string | string[], string]>;
|
|
126
162
|
required: boolean;
|
|
127
163
|
};
|
|
128
164
|
}>> & Readonly<{
|
|
@@ -132,6 +168,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
132
168
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
133
169
|
}>, {
|
|
134
170
|
value: string | number | unknown[] | null;
|
|
171
|
+
reload: boolean;
|
|
135
172
|
all: boolean;
|
|
136
173
|
autoload: boolean;
|
|
137
174
|
autoClean: boolean;
|
|
@@ -23,6 +23,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
23
23
|
type: PropType<IUrlInfo>;
|
|
24
24
|
required: boolean;
|
|
25
25
|
};
|
|
26
|
+
reload: {
|
|
27
|
+
type: PropType<boolean>;
|
|
28
|
+
required: boolean;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
26
31
|
params: {
|
|
27
32
|
type: PropType<ReqParams>;
|
|
28
33
|
required: boolean;
|
|
@@ -44,7 +49,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
44
49
|
required: boolean;
|
|
45
50
|
};
|
|
46
51
|
changeEvent: {
|
|
47
|
-
type: PropType<string | string[]>;
|
|
52
|
+
type: PropType<[string | string[], string]>;
|
|
48
53
|
required: boolean;
|
|
49
54
|
};
|
|
50
55
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -74,6 +79,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
74
79
|
type: PropType<IUrlInfo>;
|
|
75
80
|
required: boolean;
|
|
76
81
|
};
|
|
82
|
+
reload: {
|
|
83
|
+
type: PropType<boolean>;
|
|
84
|
+
required: boolean;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
77
87
|
params: {
|
|
78
88
|
type: PropType<ReqParams>;
|
|
79
89
|
required: boolean;
|
|
@@ -95,7 +105,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
95
105
|
required: boolean;
|
|
96
106
|
};
|
|
97
107
|
changeEvent: {
|
|
98
|
-
type: PropType<string | string[]>;
|
|
108
|
+
type: PropType<[string | string[], string]>;
|
|
99
109
|
required: boolean;
|
|
100
110
|
};
|
|
101
111
|
}>> & Readonly<{
|
|
@@ -103,6 +113,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
103
113
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
104
114
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
105
115
|
}>, {
|
|
116
|
+
reload: boolean;
|
|
106
117
|
all: boolean;
|
|
107
118
|
autoload: boolean;
|
|
108
119
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -33,6 +33,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
33
33
|
type: PropType<IUrlInfo>;
|
|
34
34
|
required: boolean;
|
|
35
35
|
};
|
|
36
|
+
reload: {
|
|
37
|
+
type: PropType<boolean>;
|
|
38
|
+
required: boolean;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
36
41
|
params: {
|
|
37
42
|
type: PropType<ReqParams>;
|
|
38
43
|
required: boolean;
|
|
@@ -54,7 +59,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
54
59
|
required: boolean;
|
|
55
60
|
};
|
|
56
61
|
changeEvent: {
|
|
57
|
-
type: PropType<string | string[]>;
|
|
62
|
+
type: PropType<[string | string[], string]>;
|
|
58
63
|
required: boolean;
|
|
59
64
|
};
|
|
60
65
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -93,6 +98,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
93
98
|
type: PropType<IUrlInfo>;
|
|
94
99
|
required: boolean;
|
|
95
100
|
};
|
|
101
|
+
reload: {
|
|
102
|
+
type: PropType<boolean>;
|
|
103
|
+
required: boolean;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
96
106
|
params: {
|
|
97
107
|
type: PropType<ReqParams>;
|
|
98
108
|
required: boolean;
|
|
@@ -114,13 +124,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
114
124
|
required: boolean;
|
|
115
125
|
};
|
|
116
126
|
changeEvent: {
|
|
117
|
-
type: PropType<string | string[]>;
|
|
127
|
+
type: PropType<[string | string[], string]>;
|
|
118
128
|
required: boolean;
|
|
119
129
|
};
|
|
120
130
|
}>> & Readonly<{
|
|
121
131
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
122
132
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
123
133
|
}>, {
|
|
134
|
+
reload: boolean;
|
|
124
135
|
all: boolean;
|
|
125
136
|
autoload: boolean;
|
|
126
137
|
nodata: string;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export interface PropConfigItem {
|
|
3
|
+
id: number;
|
|
4
|
+
text?: string;
|
|
5
|
+
field: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}
|
|
2
8
|
type __VLS_Props = {
|
|
3
9
|
value: Record<string, string>;
|
|
10
|
+
selectList?: PropConfigItem[];
|
|
11
|
+
fieldWidth?: number;
|
|
4
12
|
labelHolder?: string;
|
|
5
|
-
valueHolder
|
|
13
|
+
valueHolder?: string;
|
|
14
|
+
addMore?: boolean;
|
|
6
15
|
};
|
|
7
16
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
17
|
"update:value": (...args: any[]) => void;
|
|
@@ -34,6 +34,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
34
34
|
type: PropType<IUrlInfo>;
|
|
35
35
|
required: boolean;
|
|
36
36
|
};
|
|
37
|
+
reload: {
|
|
38
|
+
type: PropType<boolean>;
|
|
39
|
+
required: boolean;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
37
42
|
params: {
|
|
38
43
|
type: PropType<ReqParams>;
|
|
39
44
|
required: boolean;
|
|
@@ -55,7 +60,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
55
60
|
required: boolean;
|
|
56
61
|
};
|
|
57
62
|
changeEvent: {
|
|
58
|
-
type: PropType<string | string[]>;
|
|
63
|
+
type: PropType<[string | string[], string]>;
|
|
59
64
|
required: boolean;
|
|
60
65
|
};
|
|
61
66
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -96,6 +101,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
96
101
|
type: PropType<IUrlInfo>;
|
|
97
102
|
required: boolean;
|
|
98
103
|
};
|
|
104
|
+
reload: {
|
|
105
|
+
type: PropType<boolean>;
|
|
106
|
+
required: boolean;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
99
109
|
params: {
|
|
100
110
|
type: PropType<ReqParams>;
|
|
101
111
|
required: boolean;
|
|
@@ -117,7 +127,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
117
127
|
required: boolean;
|
|
118
128
|
};
|
|
119
129
|
changeEvent: {
|
|
120
|
-
type: PropType<string | string[]>;
|
|
130
|
+
type: PropType<[string | string[], string]>;
|
|
121
131
|
required: boolean;
|
|
122
132
|
};
|
|
123
133
|
}>> & Readonly<{
|
|
@@ -126,6 +136,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
126
136
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
127
137
|
}>, {
|
|
128
138
|
value: string | number | unknown[] | null;
|
|
139
|
+
reload: boolean;
|
|
129
140
|
all: boolean;
|
|
130
141
|
autoload: boolean;
|
|
131
142
|
nodata: string;
|
|
@@ -39,6 +39,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
39
39
|
type: PropType<IUrlInfo>;
|
|
40
40
|
required: boolean;
|
|
41
41
|
};
|
|
42
|
+
reload: {
|
|
43
|
+
type: PropType<boolean>;
|
|
44
|
+
required: boolean;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
42
47
|
params: {
|
|
43
48
|
type: PropType< ReqParams>;
|
|
44
49
|
required: boolean;
|
|
@@ -60,7 +65,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
60
65
|
required: boolean;
|
|
61
66
|
};
|
|
62
67
|
changeEvent: {
|
|
63
|
-
type: PropType<string | string[]>;
|
|
68
|
+
type: PropType<[string | string[], string]>;
|
|
64
69
|
required: boolean;
|
|
65
70
|
};
|
|
66
71
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -105,6 +110,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
105
110
|
type: PropType<IUrlInfo>;
|
|
106
111
|
required: boolean;
|
|
107
112
|
};
|
|
113
|
+
reload: {
|
|
114
|
+
type: PropType<boolean>;
|
|
115
|
+
required: boolean;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
108
118
|
params: {
|
|
109
119
|
type: PropType< ReqParams>;
|
|
110
120
|
required: boolean;
|
|
@@ -126,7 +136,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
126
136
|
required: boolean;
|
|
127
137
|
};
|
|
128
138
|
changeEvent: {
|
|
129
|
-
type: PropType<string | string[]>;
|
|
139
|
+
type: PropType<[string | string[], string]>;
|
|
130
140
|
required: boolean;
|
|
131
141
|
};
|
|
132
142
|
}>> & Readonly<{
|
|
@@ -135,6 +145,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
135
145
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
136
146
|
}>, {
|
|
137
147
|
value: SelectValueType;
|
|
148
|
+
reload: boolean;
|
|
138
149
|
all: boolean;
|
|
139
150
|
autoload: boolean;
|
|
140
151
|
selectFirst: boolean;
|
|
@@ -7,13 +7,19 @@ import { UploadRequestOption } from 'ant-design-vue/es/vc-upload/interface';
|
|
|
7
7
|
import { VueNode } from 'ant-design-vue/es/_util/type';
|
|
8
8
|
export interface UploadListProps {
|
|
9
9
|
autoUpload?: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
uploadUrl: IUrlInfo;
|
|
11
|
+
downloadUrl?: IUrlInfo;
|
|
12
|
+
fileList: UploadFile[];
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
fileExt?: string[];
|
|
14
15
|
maxFileSize?: number;
|
|
15
16
|
maxCount?: number;
|
|
17
|
+
maxCountTip?: boolean;
|
|
18
|
+
maxFileSizeTip?: boolean;
|
|
19
|
+
fileExtTip?: boolean;
|
|
16
20
|
parentPath?: string;
|
|
21
|
+
showActionText?: boolean;
|
|
22
|
+
showOnlineSwitch?: boolean;
|
|
17
23
|
}
|
|
18
24
|
declare const _default: DefineComponent<UploadListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
25
|
"update:file-list": (...args: any[]) => void;
|
|
@@ -22,9 +28,14 @@ declare const _default: DefineComponent<UploadListProps, {}, {}, {}, {}, Compone
|
|
|
22
28
|
}>, {
|
|
23
29
|
placeholder: string;
|
|
24
30
|
autoUpload: boolean;
|
|
25
|
-
fileList: UploadFile
|
|
31
|
+
fileList: UploadFile[];
|
|
26
32
|
maxFileSize: number;
|
|
27
33
|
maxCount: number;
|
|
34
|
+
maxCountTip: boolean;
|
|
35
|
+
maxFileSizeTip: boolean;
|
|
36
|
+
fileExtTip: boolean;
|
|
37
|
+
showActionText: boolean;
|
|
38
|
+
showOnlineSwitch: boolean;
|
|
28
39
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
29
40
|
fileUploader: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
30
41
|
capture: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon } from './common';
|
|
1
|
+
export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon, Loading, } from './common';
|
|
2
2
|
export { Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, } from './content';
|
|
3
|
-
export { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList, } from './form';
|
|
3
|
+
export { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, type PropConfigItem, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList, } from './form';
|
|
4
4
|
export { Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs } from './layout';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as F, defineAsyncComponent as M, ref as m, watch as V, onMounted as J, createElementBlock as x, openBlock as p, Fragment as K, createElementVNode as v, createVNode as _, toDisplayString as W, unref as i, createBlock as P, withKeys as f, normalizeClass as N, withModifiers as w, withCtx as z, createCommentVNode as L } from "vue";
|
|
2
2
|
import "ant-design-vue";
|
|
3
|
-
import { _ as q } from "../../assets/modules/toolIcon-
|
|
3
|
+
import { _ as q } from "../../assets/modules/toolIcon-BDIOj_3l.js";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import "../../assets/modules/
|
|
5
|
+
import "../../assets/modules/uploadList-D2Ux4h1N.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "vue-m-message";
|
|
8
8
|
import "async-validator";
|
|
9
9
|
import "dayjs";
|
|
10
|
-
import { _ as D } from "../../assets/modules/index-
|
|
10
|
+
import { _ as D } from "../../assets/modules/index-jl5Ie2tZ.js";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
12
|
const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
13
13
|
const o = document.createElement("script");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as y, ref as I, watch as C, onMounted as b, resolveComponent as g, createBlock as n, openBlock as o, unref as e, withCtx as l, createCommentVNode as c, createVNode as r, createElementVNode as u, createElementBlock as k, toDisplayString as w, normalizeClass as S, KeepAlive as N, resolveDynamicComponent as $ } from "vue";
|
|
2
2
|
import { Layout as f, LayoutSider as E } from "ant-design-vue";
|
|
3
|
-
import { a as z } from "../../assets/modules/toolIcon-
|
|
4
|
-
import { I as A,
|
|
5
|
-
import { ab as j, a as K, ad as M } from "../../assets/modules/
|
|
3
|
+
import { a as z } from "../../assets/modules/toolIcon-BDIOj_3l.js";
|
|
4
|
+
import { I as A, _ as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-DY1XBq16.js";
|
|
5
|
+
import { ab as j, a as K, ad as M } from "../../assets/modules/uploadList-D2Ux4h1N.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "@skyfox2000/fapi";
|
|
8
8
|
import P from "vue-m-message";
|
|
@@ -18,9 +18,9 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
|
|
|
18
18
|
routes: {}
|
|
19
19
|
},
|
|
20
20
|
setup(d) {
|
|
21
|
-
const _ = d, t = j(),
|
|
21
|
+
const _ = d, t = j(), s = K(), x = M(), p = I("h-[calc(100vh-80px)]");
|
|
22
22
|
return C(
|
|
23
|
-
() =>
|
|
23
|
+
() => s.fullscreen,
|
|
24
24
|
(i) => {
|
|
25
25
|
p.value = i ? "h-[calc(100vh-40px)]" : "h-[calc(100vh-80px)]";
|
|
26
26
|
}
|
|
@@ -30,23 +30,23 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
|
|
|
30
30
|
const h = g("router-view");
|
|
31
31
|
return o(), n(e(f), { class: "h-screen" }, {
|
|
32
32
|
default: l(() => [
|
|
33
|
-
e(
|
|
33
|
+
e(s).fullscreen ? c("", !0) : (o(), n(e(E), {
|
|
34
34
|
key: 0,
|
|
35
35
|
class: "overflow-auto h-screen left-0 top-0 bottom-0",
|
|
36
|
-
collapsed: e(
|
|
37
|
-
"onUpdate:collapsed": m[0] || (m[0] = (
|
|
36
|
+
collapsed: e(s).menuCollapse,
|
|
37
|
+
"onUpdate:collapsed": m[0] || (m[0] = (a) => e(s).menuCollapse = a),
|
|
38
38
|
collapsible: ""
|
|
39
39
|
}, {
|
|
40
40
|
default: l(() => [
|
|
41
41
|
u("div", T, [
|
|
42
42
|
r(z, {
|
|
43
|
-
title: e(
|
|
43
|
+
title: e(s).menuCollapse ? e(t).appInfo.Name : "",
|
|
44
44
|
placement: "right"
|
|
45
45
|
}, {
|
|
46
46
|
default: l(() => {
|
|
47
|
-
var
|
|
47
|
+
var a;
|
|
48
48
|
return [
|
|
49
|
-
(
|
|
49
|
+
(a = e(t).appInfo.Icon) != null && a.startsWith("sym-") ? (o(), n(A, {
|
|
50
50
|
key: 0,
|
|
51
51
|
icon: e(t).appInfo.Icon,
|
|
52
52
|
fontsize: "30px",
|
|
@@ -60,7 +60,7 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
|
|
|
60
60
|
}),
|
|
61
61
|
_: 1
|
|
62
62
|
}, 8, ["title"]),
|
|
63
|
-
e(
|
|
63
|
+
e(s).menuCollapse ? c("", !0) : (o(), k("span", U, w(e(t).appInfo.Name), 1))
|
|
64
64
|
]),
|
|
65
65
|
r(L, {
|
|
66
66
|
routes: _.routes
|
|
@@ -70,18 +70,18 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
|
|
|
70
70
|
}, 8, ["collapsed"])),
|
|
71
71
|
r(e(f), { class: "overflow-y-auto block" }, {
|
|
72
72
|
default: l(() => [
|
|
73
|
-
e(
|
|
73
|
+
e(s).fullscreen ? c("", !0) : (o(), n(V, { key: 0 })),
|
|
74
74
|
e(x).TabEnabled ? (o(), n(D, { key: 1 })) : c("", !0),
|
|
75
75
|
u("div", {
|
|
76
76
|
class: S(["relative overflow-y-auto", p.value])
|
|
77
77
|
}, [
|
|
78
78
|
r(h, null, {
|
|
79
|
-
default: l(({ Component:
|
|
79
|
+
default: l(({ Component: a, route: v }) => [
|
|
80
80
|
(o(), n(N, {
|
|
81
81
|
include: e(t).CachedComponents,
|
|
82
82
|
exclude: e(t).ExcludeComponents
|
|
83
83
|
}, [
|
|
84
|
-
(o(), n($(e(t).cacheComponent(
|
|
84
|
+
(o(), n($(e(t).cacheComponent(a, v))))
|
|
85
85
|
], 1032, ["include", "exclude"]))
|
|
86
86
|
]),
|
|
87
87
|
_: 1
|
package/lib/es/Error403/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
|
|
2
|
-
import { r as s } from "../../assets/modules/
|
|
2
|
+
import { r as s } from "../../assets/modules/uploadList-D2Ux4h1N.js";
|
|
3
3
|
import "@skyfox2000/microbase";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
5
|
import "vue-m-message";
|
package/lib/es/Error404/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
|
|
2
|
-
import { r as s } from "../../assets/modules/
|
|
2
|
+
import { r as s } from "../../assets/modules/uploadList-D2Ux4h1N.js";
|
|
3
3
|
import "@skyfox2000/microbase";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
5
|
import "vue-m-message";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as Y, ref as r, watch as V, onMounted as Z, createBlock as ee, openBlock as d, unref as i, withCtx as _, renderSlot as le, createElementVNode as c, createVNode as m, createElementBlock as f, createCommentVNode as M, createTextVNode as O, toDisplayString as F, normalizeClass as ae, Fragment as $, renderList as P } from "vue";
|
|
2
|
-
import { _ as A } from "../../assets/modules/index-
|
|
2
|
+
import { _ as A } from "../../assets/modules/index-DcRkhkn2.js";
|
|
3
3
|
import { Modal as te, Upload as I, Alert as G, Space as re } from "ant-design-vue";
|
|
4
4
|
import { ResStatus as oe } from "@skyfox2000/fapi";
|
|
5
|
-
import { $ as se, a5 as ie } from "../../assets/modules/
|
|
6
|
-
import { A as ue, p as ne, U as ce } from "../../assets/modules/file-upload-
|
|
5
|
+
import { $ as se, a5 as ie } from "../../assets/modules/uploadList-D2Ux4h1N.js";
|
|
6
|
+
import { A as ue, p as ne, U as ce } from "../../assets/modules/file-upload-BYIvmkmy.js";
|
|
7
7
|
import "@skyfox2000/microbase";
|
|
8
8
|
import n from "vue-m-message";
|
|
9
|
-
import { p as ve, v as de, c as fe } from "../../assets/modules/form-excel-
|
|
9
|
+
import { p as ve, v as de, c as fe } from "../../assets/modules/form-excel-BUX2QW11.js";
|
|
10
10
|
import "dayjs";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
12
|
import pe from "@vue-office/excel";
|