@partex/one-core 2.1.19 → 2.1.22
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/components/actionButton/function.d.ts +3 -2
- package/lib/components/actionButton/index.vue.d.ts +7 -6
- package/lib/components/actionButton/interface.d.ts +2 -1
- package/lib/components/auth/index.vue.d.ts +2 -2
- package/lib/components/back/index.vue.d.ts +1489 -6
- package/lib/components/circle/index.vue.d.ts +337 -7
- package/lib/components/common.d.ts +2 -1
- package/lib/components/create.d.ts +2 -1
- package/lib/components/echarts/echarts.d.ts +10 -9
- package/lib/components/error/index.vue.d.ts +1425 -6
- package/lib/components/fetch.d.ts +4 -3
- package/lib/components/footer/index.vue.d.ts +6 -5
- package/lib/components/form/interface.d.ts +3 -2
- package/lib/components/header/interface.d.ts +1 -0
- package/lib/components/hooks/memoryCache.d.ts +0 -1
- package/lib/components/hooks/useDebounceFn.d.ts +3 -2
- package/lib/components/hooks/useLocalStorage.d.ts +2 -1
- package/lib/components/hooks/useQuery.d.ts +3 -2
- package/lib/components/hooks/useThrottleFn.d.ts +3 -2
- package/lib/components/icon/Add.vue.d.ts +2 -2
- package/lib/components/icon/Alert.vue.d.ts +2 -2
- package/lib/components/icon/ArrowClockwise.vue.d.ts +2 -2
- package/lib/components/icon/ArrowDown.vue.d.ts +2 -2
- package/lib/components/icon/ArrowSquareDown.vue.d.ts +2 -2
- package/lib/components/icon/ArrowUp.vue.d.ts +2 -2
- package/lib/components/icon/CalendarArrowDown.vue.d.ts +2 -2
- package/lib/components/icon/ChevronLeft.vue.d.ts +2 -2
- package/lib/components/icon/Clear.vue.d.ts +2 -2
- package/lib/components/icon/CloudArrowDown.vue.d.ts +2 -2
- package/lib/components/icon/Delete.vue.d.ts +2 -2
- package/lib/components/icon/Dismiss.vue.d.ts +2 -2
- package/lib/components/icon/Drafts.vue.d.ts +2 -2
- package/lib/components/icon/Eye.vue.d.ts +2 -2
- package/lib/components/icon/EyeOff.vue.d.ts +2 -2
- package/lib/components/icon/Filter.vue.d.ts +2 -2
- package/lib/components/icon/FullScreenMaximize.vue.d.ts +2 -2
- package/lib/components/icon/GridDots.vue.d.ts +2 -2
- package/lib/components/icon/MailInboxAdd.vue.d.ts +2 -2
- package/lib/components/icon/Navigation.vue.d.ts +2 -2
- package/lib/components/icon/Pin.vue.d.ts +2 -2
- package/lib/components/icon/PinOff.vue.d.ts +2 -2
- package/lib/components/icon/Reset.vue.d.ts +2 -2
- package/lib/components/icon/Search.vue.d.ts +2 -2
- package/lib/components/icon/User.vue.d.ts +2 -2
- package/lib/components/icon/WeatherMoon.vue.d.ts +2 -2
- package/lib/components/icon/WeatherSunny.vue.d.ts +2 -2
- package/lib/components/index.d.ts +1 -0
- package/lib/components/interface.d.ts +2 -1
- package/lib/components/my/api.d.ts +2 -1
- package/lib/components/numberRoll/index.vue.d.ts +10 -9
- package/lib/components/preset.d.ts +2 -2
- package/lib/components/searchBar/components/timePickRange.vue.d.ts +2406 -9
- package/lib/components/searchBar/interface.d.ts +3 -2
- package/lib/components/searchBar/pop.vue.d.ts +6 -6
- package/lib/components/store/api.d.ts +7 -6
- package/lib/components/store/common.d.ts +2 -1
- package/lib/components/store/user.d.ts +4 -3
- package/lib/components/table/interface.d.ts +4 -3
- package/lib/components/theme.d.ts +2 -1
- package/lib/components/utils/fetch.d.ts +2 -1
- package/lib/components/utils/localStorage.d.ts +2 -1
- package/lib/index.d.ts +2 -0
- package/lib/one-core.js +1580 -1579
- package/lib/style.css +1 -1
- package/package.json +22 -22
- package/lib/components/form/index.vue.d.ts +0 -394
- package/lib/components/form/item.vue.d.ts +0 -48
- package/lib/components/header/index.vue.d.ts +0 -135
- package/lib/components/header/message.vue.d.ts +0 -49
- package/lib/components/header/pop.vue.d.ts +0 -51
- package/lib/components/importer/index.vue.d.ts +0 -103
- package/lib/components/login/index.vue.d.ts +0 -108
- package/lib/components/logo/index.vue.d.ts +0 -18
- package/lib/components/main/index.vue.d.ts +0 -154
- package/lib/components/my/index.vue.d.ts +0 -30
- package/lib/components/report/index.vue.d.ts +0 -9
- package/lib/components/scan/index.vue.d.ts +0 -12
- package/lib/components/searchBar/index.vue.d.ts +0 -126
- package/lib/components/searchBar/item.vue.d.ts +0 -47
- package/lib/components/skeleton/index.vue.d.ts +0 -24
- package/lib/components/table/index.vue.d.ts +0 -283
|
@@ -1,394 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, Ref, VNodeChild, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import type { IFormItem, IFormItems } from './interface';
|
|
3
|
-
import { Fn, ObjectKey } from '../interface';
|
|
4
|
-
declare const _default: DefineComponent<{
|
|
5
|
-
items: {
|
|
6
|
-
required: true;
|
|
7
|
-
type: PropType<IFormItems>;
|
|
8
|
-
default: () => never[];
|
|
9
|
-
};
|
|
10
|
-
data: {
|
|
11
|
-
required: true;
|
|
12
|
-
type: PropType<ObjectKey>;
|
|
13
|
-
default: () => {};
|
|
14
|
-
};
|
|
15
|
-
edit: {
|
|
16
|
-
type: PropType<boolean>;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
disabled: {
|
|
20
|
-
type: PropType<boolean>;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
inline: {
|
|
24
|
-
type: PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
labelWidth: {
|
|
28
|
-
type: PropType<string | number>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
labelAlign: {
|
|
32
|
-
type: PropType<"left" | "right">;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
labelPlacement: {
|
|
36
|
-
type: PropType<"left" | "top">;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
}, {
|
|
40
|
-
formRef: Ref<any>;
|
|
41
|
-
formValue: Ref<ObjectKey>;
|
|
42
|
-
formItems: Ref<({
|
|
43
|
-
input: "input";
|
|
44
|
-
type: "text" | "textarea" | "password";
|
|
45
|
-
minlength?: number | null | undefined;
|
|
46
|
-
maxlength?: number | null | undefined;
|
|
47
|
-
rows?: number | null | undefined;
|
|
48
|
-
label: string | (() => string);
|
|
49
|
-
key: string;
|
|
50
|
-
show?: boolean | undefined;
|
|
51
|
-
placeholder?: string | (() => string) | undefined;
|
|
52
|
-
span?: number | undefined;
|
|
53
|
-
disabled?: boolean | undefined;
|
|
54
|
-
readonly?: boolean | undefined;
|
|
55
|
-
clearable?: boolean | undefined;
|
|
56
|
-
rule?: {
|
|
57
|
-
required: boolean;
|
|
58
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
59
|
-
message: string;
|
|
60
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
61
|
-
validator?: string | Fn<any, any> | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
edit?: {
|
|
64
|
-
show?: boolean | undefined;
|
|
65
|
-
disabled?: boolean | undefined;
|
|
66
|
-
readonly?: boolean | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
69
|
-
} | {
|
|
70
|
-
input: "number";
|
|
71
|
-
showButton?: boolean | undefined;
|
|
72
|
-
min?: number | null | undefined;
|
|
73
|
-
max?: number | null | undefined;
|
|
74
|
-
step?: number | null | undefined;
|
|
75
|
-
precision?: number | null | undefined;
|
|
76
|
-
label: string | (() => string);
|
|
77
|
-
key: string;
|
|
78
|
-
show?: boolean | undefined;
|
|
79
|
-
placeholder?: string | (() => string) | undefined;
|
|
80
|
-
span?: number | undefined;
|
|
81
|
-
disabled?: boolean | undefined;
|
|
82
|
-
readonly?: boolean | undefined;
|
|
83
|
-
clearable?: boolean | undefined;
|
|
84
|
-
rule?: {
|
|
85
|
-
required: boolean;
|
|
86
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
87
|
-
message: string;
|
|
88
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
89
|
-
validator?: string | Fn<any, any> | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
edit?: {
|
|
92
|
-
show?: boolean | undefined;
|
|
93
|
-
disabled?: boolean | undefined;
|
|
94
|
-
readonly?: boolean | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
97
|
-
} | {
|
|
98
|
-
input: "date";
|
|
99
|
-
type: "date" | "datetime" | "daterange" | "datetimerange" | "month" | "monthrange" | "year" | "yearrange" | "quarter" | "quarterrange" | "week";
|
|
100
|
-
format?: string | undefined;
|
|
101
|
-
isDateDisabled: string | ((ts: number, detail: ObjectKey) => boolean);
|
|
102
|
-
timePickerProps?: {
|
|
103
|
-
format?: string | undefined;
|
|
104
|
-
use12Hours?: boolean | undefined;
|
|
105
|
-
isHourDisabled?: ((hour: number) => boolean) | undefined;
|
|
106
|
-
isMinuteDisabled?: ((minute: number, hour: number | null) => boolean) | undefined;
|
|
107
|
-
isSecondDisabled?: ((second: number, minute: number | null, hour: number | null) => boolean) | undefined;
|
|
108
|
-
} | undefined;
|
|
109
|
-
label: string | (() => string);
|
|
110
|
-
key: string;
|
|
111
|
-
show?: boolean | undefined;
|
|
112
|
-
placeholder?: string | (() => string) | undefined;
|
|
113
|
-
span?: number | undefined;
|
|
114
|
-
disabled?: boolean | undefined;
|
|
115
|
-
readonly?: boolean | undefined;
|
|
116
|
-
clearable?: boolean | undefined;
|
|
117
|
-
rule?: {
|
|
118
|
-
required: boolean;
|
|
119
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
120
|
-
message: string;
|
|
121
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
122
|
-
validator?: string | Fn<any, any> | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
edit?: {
|
|
125
|
-
show?: boolean | undefined;
|
|
126
|
-
disabled?: boolean | undefined;
|
|
127
|
-
readonly?: boolean | undefined;
|
|
128
|
-
} | undefined;
|
|
129
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
130
|
-
} | {
|
|
131
|
-
input: "select";
|
|
132
|
-
options: ObjectKey[];
|
|
133
|
-
filterable?: boolean | undefined;
|
|
134
|
-
multiple?: boolean | undefined;
|
|
135
|
-
tag?: boolean | undefined;
|
|
136
|
-
fallbackOption?: any;
|
|
137
|
-
maxTagCount?: number | "responsive" | null | undefined;
|
|
138
|
-
renderLabel?: ((option: ObjectKey, selected: boolean) => VNodeChild) | undefined;
|
|
139
|
-
renderOption?: ((info: {
|
|
140
|
-
node: VNode<RendererNode, RendererElement, {
|
|
141
|
-
[key: string]: any;
|
|
142
|
-
}>;
|
|
143
|
-
option: ObjectKey;
|
|
144
|
-
selected: boolean;
|
|
145
|
-
}) => VNodeChild) | undefined;
|
|
146
|
-
renderTag?: ((props: {
|
|
147
|
-
option: ObjectKey;
|
|
148
|
-
handleClose: () => void;
|
|
149
|
-
}) => VNodeChild) | undefined;
|
|
150
|
-
label: string | (() => string);
|
|
151
|
-
key: string;
|
|
152
|
-
show?: boolean | undefined;
|
|
153
|
-
placeholder?: string | (() => string) | undefined;
|
|
154
|
-
span?: number | undefined;
|
|
155
|
-
disabled?: boolean | undefined;
|
|
156
|
-
readonly?: boolean | undefined;
|
|
157
|
-
clearable?: boolean | undefined;
|
|
158
|
-
rule?: {
|
|
159
|
-
required: boolean;
|
|
160
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
161
|
-
message: string;
|
|
162
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
163
|
-
validator?: string | Fn<any, any> | undefined;
|
|
164
|
-
} | undefined;
|
|
165
|
-
edit?: {
|
|
166
|
-
show?: boolean | undefined;
|
|
167
|
-
disabled?: boolean | undefined;
|
|
168
|
-
readonly?: boolean | undefined;
|
|
169
|
-
} | undefined;
|
|
170
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
171
|
-
} | {
|
|
172
|
-
input: "cascader";
|
|
173
|
-
options: ObjectKey[];
|
|
174
|
-
filterable?: boolean | undefined;
|
|
175
|
-
multiple?: boolean | undefined;
|
|
176
|
-
maxTagCount?: number | "responsive" | null | undefined;
|
|
177
|
-
checkStrategy?: "all" | "child" | "parent" | undefined;
|
|
178
|
-
label: string | (() => string);
|
|
179
|
-
key: string;
|
|
180
|
-
show?: boolean | undefined;
|
|
181
|
-
placeholder?: string | (() => string) | undefined;
|
|
182
|
-
span?: number | undefined;
|
|
183
|
-
disabled?: boolean | undefined;
|
|
184
|
-
readonly?: boolean | undefined;
|
|
185
|
-
clearable?: boolean | undefined;
|
|
186
|
-
rule?: {
|
|
187
|
-
required: boolean;
|
|
188
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
189
|
-
message: string;
|
|
190
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
191
|
-
validator?: string | Fn<any, any> | undefined;
|
|
192
|
-
} | undefined;
|
|
193
|
-
edit?: {
|
|
194
|
-
show?: boolean | undefined;
|
|
195
|
-
disabled?: boolean | undefined;
|
|
196
|
-
readonly?: boolean | undefined;
|
|
197
|
-
} | undefined;
|
|
198
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
199
|
-
} | {
|
|
200
|
-
input: "color";
|
|
201
|
-
label: string | (() => string);
|
|
202
|
-
key: string;
|
|
203
|
-
show?: boolean | undefined;
|
|
204
|
-
placeholder?: string | (() => string) | undefined;
|
|
205
|
-
span?: number | undefined;
|
|
206
|
-
disabled?: boolean | undefined;
|
|
207
|
-
readonly?: boolean | undefined;
|
|
208
|
-
clearable?: boolean | undefined;
|
|
209
|
-
rule?: {
|
|
210
|
-
required: boolean;
|
|
211
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
212
|
-
message: string;
|
|
213
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
214
|
-
validator?: string | Fn<any, any> | undefined;
|
|
215
|
-
} | undefined;
|
|
216
|
-
edit?: {
|
|
217
|
-
show?: boolean | undefined;
|
|
218
|
-
disabled?: boolean | undefined;
|
|
219
|
-
readonly?: boolean | undefined;
|
|
220
|
-
} | undefined;
|
|
221
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
222
|
-
} | {
|
|
223
|
-
input: "checkbox";
|
|
224
|
-
options: ObjectKey[];
|
|
225
|
-
label: string | (() => string);
|
|
226
|
-
key: string;
|
|
227
|
-
show?: boolean | undefined;
|
|
228
|
-
placeholder?: string | (() => string) | undefined;
|
|
229
|
-
span?: number | undefined;
|
|
230
|
-
disabled?: boolean | undefined;
|
|
231
|
-
readonly?: boolean | undefined;
|
|
232
|
-
clearable?: boolean | undefined;
|
|
233
|
-
rule?: {
|
|
234
|
-
required: boolean;
|
|
235
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
236
|
-
message: string;
|
|
237
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
238
|
-
validator?: string | Fn<any, any> | undefined;
|
|
239
|
-
} | undefined;
|
|
240
|
-
edit?: {
|
|
241
|
-
show?: boolean | undefined;
|
|
242
|
-
disabled?: boolean | undefined;
|
|
243
|
-
readonly?: boolean | undefined;
|
|
244
|
-
} | undefined;
|
|
245
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
246
|
-
} | {
|
|
247
|
-
input: "time";
|
|
248
|
-
format?: string | undefined;
|
|
249
|
-
label: string | (() => string);
|
|
250
|
-
key: string;
|
|
251
|
-
show?: boolean | undefined;
|
|
252
|
-
placeholder?: string | (() => string) | undefined;
|
|
253
|
-
span?: number | undefined;
|
|
254
|
-
disabled?: boolean | undefined;
|
|
255
|
-
readonly?: boolean | undefined;
|
|
256
|
-
clearable?: boolean | undefined;
|
|
257
|
-
rule?: {
|
|
258
|
-
required: boolean;
|
|
259
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
260
|
-
message: string;
|
|
261
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
262
|
-
validator?: string | Fn<any, any> | undefined;
|
|
263
|
-
} | undefined;
|
|
264
|
-
edit?: {
|
|
265
|
-
show?: boolean | undefined;
|
|
266
|
-
disabled?: boolean | undefined;
|
|
267
|
-
readonly?: boolean | undefined;
|
|
268
|
-
} | undefined;
|
|
269
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
270
|
-
} | {
|
|
271
|
-
input: "upload";
|
|
272
|
-
accept?: string | undefined;
|
|
273
|
-
max?: number | null | undefined;
|
|
274
|
-
label: string | (() => string);
|
|
275
|
-
key: string;
|
|
276
|
-
show?: boolean | undefined;
|
|
277
|
-
placeholder?: string | (() => string) | undefined;
|
|
278
|
-
span?: number | undefined;
|
|
279
|
-
disabled?: boolean | undefined;
|
|
280
|
-
readonly?: boolean | undefined;
|
|
281
|
-
clearable?: boolean | undefined;
|
|
282
|
-
rule?: {
|
|
283
|
-
required: boolean;
|
|
284
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
285
|
-
message: string;
|
|
286
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
287
|
-
validator?: string | Fn<any, any> | undefined;
|
|
288
|
-
} | undefined;
|
|
289
|
-
edit?: {
|
|
290
|
-
show?: boolean | undefined;
|
|
291
|
-
disabled?: boolean | undefined;
|
|
292
|
-
readonly?: boolean | undefined;
|
|
293
|
-
} | undefined;
|
|
294
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
295
|
-
} | {
|
|
296
|
-
input: "switch";
|
|
297
|
-
checked?: string | undefined;
|
|
298
|
-
unchecked?: string | undefined;
|
|
299
|
-
label: string | (() => string);
|
|
300
|
-
key: string;
|
|
301
|
-
show?: boolean | undefined;
|
|
302
|
-
placeholder?: string | (() => string) | undefined;
|
|
303
|
-
span?: number | undefined;
|
|
304
|
-
disabled?: boolean | undefined;
|
|
305
|
-
readonly?: boolean | undefined;
|
|
306
|
-
clearable?: boolean | undefined;
|
|
307
|
-
rule?: {
|
|
308
|
-
required: boolean;
|
|
309
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
310
|
-
message: string;
|
|
311
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
312
|
-
validator?: string | Fn<any, any> | undefined;
|
|
313
|
-
} | undefined;
|
|
314
|
-
edit?: {
|
|
315
|
-
show?: boolean | undefined;
|
|
316
|
-
disabled?: boolean | undefined;
|
|
317
|
-
readonly?: boolean | undefined;
|
|
318
|
-
} | undefined;
|
|
319
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
320
|
-
} | {
|
|
321
|
-
input: "divider";
|
|
322
|
-
placement: "left" | "right" | "center";
|
|
323
|
-
label: string | (() => string);
|
|
324
|
-
key: string;
|
|
325
|
-
show?: boolean | undefined;
|
|
326
|
-
placeholder?: string | (() => string) | undefined;
|
|
327
|
-
span?: number | undefined;
|
|
328
|
-
disabled?: boolean | undefined;
|
|
329
|
-
readonly?: boolean | undefined;
|
|
330
|
-
clearable?: boolean | undefined;
|
|
331
|
-
rule?: {
|
|
332
|
-
required: boolean;
|
|
333
|
-
type?: ("string" | "number" | "boolean" | "object" | "pattern" | "email" | "method" | "regexp" | "integer" | "float" | "array" | "enum" | "date" | "url" | "hex" | "any") | undefined;
|
|
334
|
-
message: string;
|
|
335
|
-
trigger: ("input" | "focus" | "blur" | "change") | ("input" | "focus" | "blur" | "change")[];
|
|
336
|
-
validator?: string | Fn<any, any> | undefined;
|
|
337
|
-
} | undefined;
|
|
338
|
-
edit?: {
|
|
339
|
-
show?: boolean | undefined;
|
|
340
|
-
disabled?: boolean | undefined;
|
|
341
|
-
readonly?: boolean | undefined;
|
|
342
|
-
} | undefined;
|
|
343
|
-
updateValue?: string | Fn<any, any> | undefined;
|
|
344
|
-
})[]>;
|
|
345
|
-
cloneDeep: <T>(value: T) => T;
|
|
346
|
-
elementShow: (item: IFormItem) => boolean;
|
|
347
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "on-update:add"[], "on-update:add", PublicProps, Readonly<ExtractPropTypes<{
|
|
348
|
-
items: {
|
|
349
|
-
required: true;
|
|
350
|
-
type: PropType<IFormItems>;
|
|
351
|
-
default: () => never[];
|
|
352
|
-
};
|
|
353
|
-
data: {
|
|
354
|
-
required: true;
|
|
355
|
-
type: PropType<ObjectKey>;
|
|
356
|
-
default: () => {};
|
|
357
|
-
};
|
|
358
|
-
edit: {
|
|
359
|
-
type: PropType<boolean>;
|
|
360
|
-
default: boolean;
|
|
361
|
-
};
|
|
362
|
-
disabled: {
|
|
363
|
-
type: PropType<boolean>;
|
|
364
|
-
default: boolean;
|
|
365
|
-
};
|
|
366
|
-
inline: {
|
|
367
|
-
type: PropType<boolean>;
|
|
368
|
-
default: boolean;
|
|
369
|
-
};
|
|
370
|
-
labelWidth: {
|
|
371
|
-
type: PropType<string | number>;
|
|
372
|
-
default: string;
|
|
373
|
-
};
|
|
374
|
-
labelAlign: {
|
|
375
|
-
type: PropType<"left" | "right">;
|
|
376
|
-
default: string;
|
|
377
|
-
};
|
|
378
|
-
labelPlacement: {
|
|
379
|
-
type: PropType<"left" | "top">;
|
|
380
|
-
default: string;
|
|
381
|
-
};
|
|
382
|
-
}>> & {
|
|
383
|
-
"onOn-update:add"?: ((...args: any[]) => any) | undefined;
|
|
384
|
-
}, {
|
|
385
|
-
edit: boolean;
|
|
386
|
-
data: ObjectKey;
|
|
387
|
-
disabled: boolean;
|
|
388
|
-
inline: boolean;
|
|
389
|
-
items: IFormItems;
|
|
390
|
-
labelWidth: string | number;
|
|
391
|
-
labelAlign: "left" | "right";
|
|
392
|
-
labelPlacement: "left" | "top";
|
|
393
|
-
}, {}>;
|
|
394
|
-
export default _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import type { UploadFileInfo } from 'naive-ui';
|
|
3
|
-
import type { IFormItem } from './interface';
|
|
4
|
-
import type { ObjectKey } from '../interface';
|
|
5
|
-
declare const _default: DefineComponent<{
|
|
6
|
-
item: {
|
|
7
|
-
required: true;
|
|
8
|
-
type: PropType<IFormItem>;
|
|
9
|
-
default: () => never[];
|
|
10
|
-
};
|
|
11
|
-
formValue: {
|
|
12
|
-
required: true;
|
|
13
|
-
type: PropType<ObjectKey>;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
|
-
edit: {
|
|
17
|
-
type: PropType<boolean>;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
updateValue: (item: IFormItem, value: any) => void;
|
|
22
|
-
beforeUpload: (options: {
|
|
23
|
-
file: UploadFileInfo;
|
|
24
|
-
fileList: UploadFileInfo[];
|
|
25
|
-
}, key: string) => Promise<void>;
|
|
26
|
-
uploadChange: (fileList: UploadFileInfo[], key: string) => void;
|
|
27
|
-
selectFallback: (item: any) => any | boolean;
|
|
28
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
29
|
-
item: {
|
|
30
|
-
required: true;
|
|
31
|
-
type: PropType<IFormItem>;
|
|
32
|
-
default: () => never[];
|
|
33
|
-
};
|
|
34
|
-
formValue: {
|
|
35
|
-
required: true;
|
|
36
|
-
type: PropType<ObjectKey>;
|
|
37
|
-
default: () => {};
|
|
38
|
-
};
|
|
39
|
-
edit: {
|
|
40
|
-
type: PropType<boolean>;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
}>>, {
|
|
44
|
-
edit: boolean;
|
|
45
|
-
item: IFormItem;
|
|
46
|
-
formValue: ObjectKey;
|
|
47
|
-
}, {}>;
|
|
48
|
-
export default _default;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
2
|
-
import type { IHeaderMenu } from './interface';
|
|
3
|
-
import type { ObjectKey } from '../interface';
|
|
4
|
-
import { fnSetLang } from '../store/common';
|
|
5
|
-
declare const _default: DefineComponent<{
|
|
6
|
-
menuOptions: {
|
|
7
|
-
required: true;
|
|
8
|
-
type: PropType<IHeaderMenu>;
|
|
9
|
-
default: () => never[];
|
|
10
|
-
};
|
|
11
|
-
platformShow: {
|
|
12
|
-
type: PropType<boolean>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
report: {
|
|
16
|
-
type: PropType<boolean>;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
download: {
|
|
20
|
-
type: PropType<boolean>;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
message: {
|
|
24
|
-
type: PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
|
-
userStore: {
|
|
29
|
-
[x: string]: any;
|
|
30
|
-
ncFlg: 0 | 1;
|
|
31
|
-
systemType: 0 | 1 | 2;
|
|
32
|
-
platform_tdm: boolean;
|
|
33
|
-
platform_qms: boolean;
|
|
34
|
-
platform_twin: boolean;
|
|
35
|
-
platform_maintain: boolean;
|
|
36
|
-
platform_order: boolean;
|
|
37
|
-
platform_simple_tdm: boolean;
|
|
38
|
-
commissioner: boolean;
|
|
39
|
-
factoryId: string;
|
|
40
|
-
tenantLoginCode: string;
|
|
41
|
-
userId: string;
|
|
42
|
-
thirdUserId: string;
|
|
43
|
-
email: string;
|
|
44
|
-
password: string;
|
|
45
|
-
name: string;
|
|
46
|
-
realName: string;
|
|
47
|
-
phone: string;
|
|
48
|
-
description: string;
|
|
49
|
-
enable: boolean;
|
|
50
|
-
oeeStatus: 0 | 1;
|
|
51
|
-
tenantName: string;
|
|
52
|
-
kind: number;
|
|
53
|
-
roleId: 1 | 2;
|
|
54
|
-
authorizationGroupArray: string[];
|
|
55
|
-
authorizationMachineArray: string[];
|
|
56
|
-
iot_menu_authorization: string[];
|
|
57
|
-
tdm_menu_authorization: string[];
|
|
58
|
-
qms_menu_authorization: string[];
|
|
59
|
-
maintain_menu_authorization: string[];
|
|
60
|
-
order_menu_authorization: string[];
|
|
61
|
-
info: {
|
|
62
|
-
type: 0 | 1 | 2 | 3 | 4;
|
|
63
|
-
id: string | string[];
|
|
64
|
-
interval: number;
|
|
65
|
-
viewType: 1 | 2;
|
|
66
|
-
theme: "dark" | "light";
|
|
67
|
-
};
|
|
68
|
-
endTime: number;
|
|
69
|
-
tenantStatus: 0 | 1 | 2;
|
|
70
|
-
renewalStatus: 0 | 1;
|
|
71
|
-
industryCategory: "1" | "0";
|
|
72
|
-
};
|
|
73
|
-
commonStore: {
|
|
74
|
-
needUpdate: boolean;
|
|
75
|
-
download: boolean;
|
|
76
|
-
theme: boolean;
|
|
77
|
-
isPad: boolean;
|
|
78
|
-
isMobile: boolean;
|
|
79
|
-
language: boolean;
|
|
80
|
-
lang: "zh-CN" | "en-US" | "fr-FR";
|
|
81
|
-
platformName: () => string;
|
|
82
|
-
platformType: string;
|
|
83
|
-
platformUrl: string;
|
|
84
|
-
platformList: ObjectKey;
|
|
85
|
-
platformMenu: ObjectKey[];
|
|
86
|
-
owned: ObjectKey;
|
|
87
|
-
options: {
|
|
88
|
-
importUrl: string;
|
|
89
|
-
pageUrl: string;
|
|
90
|
-
removeUrl: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
activeMenu: Ref<string>;
|
|
94
|
-
platformOption: Ref<ObjectKey[]>;
|
|
95
|
-
showMenu: Ref<boolean>;
|
|
96
|
-
fnSetLang: typeof fnSetLang;
|
|
97
|
-
setDropdownMenu: () => any[];
|
|
98
|
-
renderMenuLabel: (option: any) => VNodeChild;
|
|
99
|
-
renderMenuLabel2: (option: any) => VNodeChild;
|
|
100
|
-
renderMenuIcon: (option: any) => VNodeChild;
|
|
101
|
-
indexClick: () => void;
|
|
102
|
-
platformClick: (key: string) => void;
|
|
103
|
-
dropdownClick: (key: string) => Promise<void>;
|
|
104
|
-
changeTheme: (value: boolean) => void;
|
|
105
|
-
closeModel: () => void;
|
|
106
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
107
|
-
menuOptions: {
|
|
108
|
-
required: true;
|
|
109
|
-
type: PropType<IHeaderMenu>;
|
|
110
|
-
default: () => never[];
|
|
111
|
-
};
|
|
112
|
-
platformShow: {
|
|
113
|
-
type: PropType<boolean>;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
|
-
report: {
|
|
117
|
-
type: PropType<boolean>;
|
|
118
|
-
default: boolean;
|
|
119
|
-
};
|
|
120
|
-
download: {
|
|
121
|
-
type: PropType<boolean>;
|
|
122
|
-
default: boolean;
|
|
123
|
-
};
|
|
124
|
-
message: {
|
|
125
|
-
type: PropType<boolean>;
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
|
-
}>>, {
|
|
129
|
-
message: boolean;
|
|
130
|
-
report: boolean;
|
|
131
|
-
download: boolean;
|
|
132
|
-
menuOptions: IHeaderMenu;
|
|
133
|
-
platformShow: boolean;
|
|
134
|
-
}, {}>;
|
|
135
|
-
export default _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, Ref, VNodeChild, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {
|
|
3
|
-
badge: Ref<number>;
|
|
4
|
-
radios: Ref<number>;
|
|
5
|
-
jobName: Ref<string>;
|
|
6
|
-
loading: Ref<boolean>;
|
|
7
|
-
columns: Ref<any>;
|
|
8
|
-
coldata: Ref<{
|
|
9
|
-
messageId: string;
|
|
10
|
-
messageContent: string;
|
|
11
|
-
status: 0 | 1;
|
|
12
|
-
}[]>;
|
|
13
|
-
query: Ref<{
|
|
14
|
-
page: number;
|
|
15
|
-
pageSize?: number | undefined;
|
|
16
|
-
pageCount?: number | undefined;
|
|
17
|
-
itemCount?: number | undefined;
|
|
18
|
-
pageSizes?: number[] | undefined;
|
|
19
|
-
isGetAll?: 0 | 1 | undefined;
|
|
20
|
-
keyword?: string | undefined;
|
|
21
|
-
columnKey?: string | null | undefined;
|
|
22
|
-
order?: string | null | undefined;
|
|
23
|
-
showQuickJumper?: boolean | undefined;
|
|
24
|
-
showSizePicker?: boolean | undefined;
|
|
25
|
-
pageSlot?: number | undefined;
|
|
26
|
-
prefix?: ((info: {
|
|
27
|
-
startIndex: number;
|
|
28
|
-
endIndex: number;
|
|
29
|
-
page: number;
|
|
30
|
-
pageSize: number;
|
|
31
|
-
pageCount: number;
|
|
32
|
-
itemCount: number | undefined;
|
|
33
|
-
}) => VNodeChild) | undefined;
|
|
34
|
-
suffix?: ((info: {
|
|
35
|
-
startIndex: number;
|
|
36
|
-
endIndex: number;
|
|
37
|
-
page: number;
|
|
38
|
-
pageSize: number;
|
|
39
|
-
pageCount: number;
|
|
40
|
-
itemCount: number | undefined;
|
|
41
|
-
}) => VNodeChild) | undefined;
|
|
42
|
-
}>;
|
|
43
|
-
clearAll: () => void;
|
|
44
|
-
pageChange: (page: number) => void;
|
|
45
|
-
pageSizeChange: (pageSize: number) => void;
|
|
46
|
-
init: () => void;
|
|
47
|
-
radiosChecked: (value: number) => void;
|
|
48
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
49
|
-
export default _default;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, Ref, VNodeChild, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {
|
|
3
|
-
jobName: Ref<string>;
|
|
4
|
-
loading: Ref<boolean>;
|
|
5
|
-
columns: Ref<any>;
|
|
6
|
-
coldata: Ref<{
|
|
7
|
-
downloadUrl: string;
|
|
8
|
-
jobId: string;
|
|
9
|
-
jobTypeName: string;
|
|
10
|
-
commitTime: number;
|
|
11
|
-
jobName: string;
|
|
12
|
-
jobStatus: 0 | 1 | 2;
|
|
13
|
-
}[]>;
|
|
14
|
-
query: Ref<{
|
|
15
|
-
page: number;
|
|
16
|
-
pageSize?: number | undefined;
|
|
17
|
-
pageCount?: number | undefined;
|
|
18
|
-
itemCount?: number | undefined;
|
|
19
|
-
pageSizes?: number[] | undefined;
|
|
20
|
-
isGetAll?: 0 | 1 | undefined;
|
|
21
|
-
keyword?: string | undefined;
|
|
22
|
-
columnKey?: string | null | undefined;
|
|
23
|
-
order?: string | null | undefined;
|
|
24
|
-
showQuickJumper?: boolean | undefined;
|
|
25
|
-
showSizePicker?: boolean | undefined;
|
|
26
|
-
pageSlot?: number | undefined;
|
|
27
|
-
prefix?: ((info: {
|
|
28
|
-
startIndex: number;
|
|
29
|
-
endIndex: number;
|
|
30
|
-
page: number;
|
|
31
|
-
pageSize: number;
|
|
32
|
-
pageCount: number;
|
|
33
|
-
itemCount: number | undefined;
|
|
34
|
-
}) => VNodeChild) | undefined;
|
|
35
|
-
suffix?: ((info: {
|
|
36
|
-
startIndex: number;
|
|
37
|
-
endIndex: number;
|
|
38
|
-
page: number;
|
|
39
|
-
pageSize: number;
|
|
40
|
-
pageCount: number;
|
|
41
|
-
itemCount: number | undefined;
|
|
42
|
-
}) => VNodeChild) | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
popDownload: Ref<boolean>;
|
|
45
|
-
init: () => void;
|
|
46
|
-
pageChange: (page: number) => void;
|
|
47
|
-
pageSizeChange: (pageSize: number) => void;
|
|
48
|
-
doSearch: () => void;
|
|
49
|
-
popDownloadUpdate: (value: boolean) => void;
|
|
50
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
51
|
-
export default _default;
|