fengmao-ui 1.3.1 → 1.3.3
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/adaptive-page/index.d.ts +2389 -0
- package/lib/adaptive-page/src/index.vue.d.ts +774 -0
- package/lib/button/index.d.ts +176 -0
- package/lib/button/src/index.vue.d.ts +48 -0
- package/lib/components.d.ts +35 -0
- package/lib/date-picker/index.d.ts +218 -0
- package/lib/date-picker/src/index.vue.d.ts +73 -0
- package/lib/detail/index.d.ts +184 -0
- package/lib/detail/src/index.vue.d.ts +51 -0
- package/lib/detail/src/renderTooltip.vue.d.ts +8 -0
- package/lib/fengmao-ui.js +8 -7
- package/lib/fengmao-ui.js.gz +0 -0
- package/lib/fengmao-ui.umd.cjs +2 -2
- package/lib/form/index.d.ts +253 -0
- package/lib/form/src/index.vue.d.ts +94 -0
- package/lib/form/src/renderComp.vue.d.ts +8 -0
- package/lib/iconfont/iconfont.css +255 -0
- package/lib/iconfont/iconfont.js +1 -0
- package/lib/iconfont/iconfont.js.gz +0 -0
- package/lib/iconfont/iconfont.json +429 -0
- package/lib/iconfont/iconfont.json.gz +0 -0
- package/lib/iconfont/iconfont.ttf +0 -0
- package/lib/iconfont/iconfont.woff +0 -0
- package/lib/iconfont/iconfont.woff2 +0 -0
- package/lib/index.d.ts +20 -0
- package/lib/layout-page/index.d.ts +136 -0
- package/lib/layout-page/src/index.vue.d.ts +27 -0
- package/lib/layout-page-item/index.d.ts +109 -0
- package/lib/layout-page-item/src/index.vue.d.ts +14 -0
- package/lib/module-form/index.d.ts +486 -0
- package/lib/module-form/src/index.vue.d.ts +168 -0
- package/lib/module-form/src/moduleDetail.vue.d.ts +30 -0
- package/lib/module-form/src/moduleForm.vue.d.ts +36 -0
- package/lib/query-condition/index.d.ts +458 -0
- package/lib/query-condition/src/index.vue.d.ts +169 -0
- package/lib/query-condition/src/renderComp.vue.d.ts +8 -0
- package/lib/radio/index.d.ts +217 -0
- package/lib/radio/src/index.vue.d.ts +70 -0
- package/lib/radio/src/radio.d.ts +12 -0
- package/lib/select/index.d.ts +281 -0
- package/lib/select/src/index.vue.d.ts +108 -0
- package/lib/select-table/index.d.ts +1069 -0
- package/lib/select-table/src/index.vue.d.ts +402 -0
- package/lib/select-table/src/renderCol.vue.d.ts +20 -0
- package/lib/step-wizard/index.d.ts +206 -0
- package/lib/step-wizard/src/fixBtn.vue.d.ts +4 -0
- package/lib/step-wizard/src/index.vue.d.ts +64 -0
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/lib/table/index.d.ts +1534 -0
- package/lib/table/src/ColumnSet.vue.d.ts +137 -0
- package/lib/table/src/TTableColumn.vue.d.ts +103 -0
- package/lib/table/src/index.vue.d.ts +560 -0
- package/lib/table/src/renderCol.vue.d.ts +20 -0
- package/lib/table/src/renderHeader.vue.d.ts +16 -0
- package/lib/table/src/singleEditCell.vue.d.ts +83 -0
- package/lib/timer-btn/index.d.ts +156 -0
- package/lib/timer-btn/src/index.vue.d.ts +32 -0
- package/lib/utils/directives/click-outside/index.d.ts +3 -0
- package/lib/withInstall.d.ts +4 -0
- package/package.json +6 -1
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
table: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => {};
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
columns: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
btnPermissions: {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
title: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
isTree: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
isRowSort: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
isCopy: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
rowClickRadio: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
defaultRadioCol: NumberConstructor;
|
|
35
|
+
isPaginationCumulative: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
isShowPagination: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
isShowFooterBtn: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
columnSetting: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
highlightCurrentRow: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
isTableColumnHidden: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
sortable: {
|
|
60
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
61
|
+
};
|
|
62
|
+
isKeyup: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
props: any;
|
|
68
|
+
state: {
|
|
69
|
+
tableData: any;
|
|
70
|
+
columnSet: never[];
|
|
71
|
+
copyTableData: never[];
|
|
72
|
+
};
|
|
73
|
+
radioVal: import("vue").Ref<null>;
|
|
74
|
+
forbidden: import("vue").Ref<boolean>;
|
|
75
|
+
TTable: any;
|
|
76
|
+
TTableBox: any;
|
|
77
|
+
formRef: any;
|
|
78
|
+
handleRef: (el: any, scope: any, item: any) => void;
|
|
79
|
+
emits: (event: "handleEvent" | "save" | "page-change" | "radioChange" | "validateError" | "rowSort", ...args: any[]) => void;
|
|
80
|
+
slots: Readonly<{
|
|
81
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
defaultRadioSelect: (index: any) => void;
|
|
84
|
+
initSort: () => void;
|
|
85
|
+
constantEscape: (value: any, list: any, key: any, label: any) => any;
|
|
86
|
+
isEditRules: import("vue").ComputedRef<any>;
|
|
87
|
+
renderColumns: import("vue").ComputedRef<any>;
|
|
88
|
+
isTableBorder: import("vue").ComputedRef<boolean>;
|
|
89
|
+
handleKeyup: (event: any, index: any, key: any) => void;
|
|
90
|
+
cellClassNameFuc: ({ row }: {
|
|
91
|
+
row: any;
|
|
92
|
+
}) => false | "table_column_hidden" | undefined;
|
|
93
|
+
isForbidden: () => void;
|
|
94
|
+
radioClick: (row: any, index: any) => void;
|
|
95
|
+
radioChange: (e: any, row: any, index: any) => void;
|
|
96
|
+
rowClick: (row: any) => void;
|
|
97
|
+
copyDomText: (val: any) => void;
|
|
98
|
+
cellDblclick: (row: any, column: any) => false | undefined;
|
|
99
|
+
isShow: (name: any) => boolean;
|
|
100
|
+
save: () => any;
|
|
101
|
+
checkIsShow: (scope: any, item: any) => any;
|
|
102
|
+
handleEvent: ({ type, val }: {
|
|
103
|
+
type: any;
|
|
104
|
+
val: any;
|
|
105
|
+
}, index: any) => void;
|
|
106
|
+
handlesCurrentChange: (val: any) => void;
|
|
107
|
+
clearSelection: () => any;
|
|
108
|
+
getSelectionRows: () => any;
|
|
109
|
+
toggleRowSelection: (row: any, selected?: boolean) => any;
|
|
110
|
+
toggleAllSelection: () => any;
|
|
111
|
+
toggleRowExpansion: (row: any, expanded: any) => any;
|
|
112
|
+
setCurrentRow: (row: any) => any;
|
|
113
|
+
clearSort: () => any;
|
|
114
|
+
clearFilter: (columnKey: any) => any;
|
|
115
|
+
doLayout: (columnKey: any) => any;
|
|
116
|
+
sort: (prop: string, order: string) => any;
|
|
117
|
+
scrollTo: (options: any, yCoord: any) => any;
|
|
118
|
+
setScrollTop: (top: any) => any;
|
|
119
|
+
setScrollLeft: (left: any) => any;
|
|
120
|
+
clearValidate: () => void;
|
|
121
|
+
resetFields: () => void;
|
|
122
|
+
SingleEditCell: import("vue").DefineComponent<{
|
|
123
|
+
configEdit: {
|
|
124
|
+
type: ObjectConstructor;
|
|
125
|
+
default: () => {};
|
|
126
|
+
};
|
|
127
|
+
listTypeInfo: {
|
|
128
|
+
type: ObjectConstructor;
|
|
129
|
+
default: () => {};
|
|
130
|
+
};
|
|
131
|
+
scope: {
|
|
132
|
+
type: ObjectConstructor;
|
|
133
|
+
default: {};
|
|
134
|
+
};
|
|
135
|
+
prop: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
isShowRules: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
props: any;
|
|
145
|
+
emits: (event: "handleEvent" | "update:modelValue" | "keyupHandle", ...args: any[]) => void;
|
|
146
|
+
keyUpHandle: ($event: any) => void;
|
|
147
|
+
cEvent: import("vue").ComputedRef<(configEdit: any) => {}>;
|
|
148
|
+
compChildName: import("vue").ComputedRef<(configEdit: any) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
|
|
149
|
+
compChildLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>;
|
|
150
|
+
compChildValue: import("vue").ComputedRef<(configEdit: any, value: any, key: any) => any>;
|
|
151
|
+
compChildShowLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>;
|
|
152
|
+
/**
|
|
153
|
+
* 下拉数据回显中文过滤器
|
|
154
|
+
* @param [String,Number] value 需要转中文的key值
|
|
155
|
+
* @param {String} list 数据源
|
|
156
|
+
* @param [String,Number] key 数据源的key字段(默认:value)
|
|
157
|
+
* @param {String} label 数据源的label字段(默认:label)
|
|
158
|
+
*/
|
|
159
|
+
getPlaceholder: (row: any) => any;
|
|
160
|
+
handleEvent: (type: any, val: any, editCom: any) => void;
|
|
161
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "update:modelValue" | "keyupHandle")[], "handleEvent" | "update:modelValue" | "keyupHandle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
162
|
+
configEdit: {
|
|
163
|
+
type: ObjectConstructor;
|
|
164
|
+
default: () => {};
|
|
165
|
+
};
|
|
166
|
+
listTypeInfo: {
|
|
167
|
+
type: ObjectConstructor;
|
|
168
|
+
default: () => {};
|
|
169
|
+
};
|
|
170
|
+
scope: {
|
|
171
|
+
type: ObjectConstructor;
|
|
172
|
+
default: {};
|
|
173
|
+
};
|
|
174
|
+
prop: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
isShowRules: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
182
|
+
}>> & {
|
|
183
|
+
onHandleEvent?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
onKeyupHandle?: ((...args: any[]) => any) | undefined;
|
|
186
|
+
}, {
|
|
187
|
+
configEdit: Record<string, any>;
|
|
188
|
+
listTypeInfo: Record<string, any>;
|
|
189
|
+
scope: Record<string, any>;
|
|
190
|
+
prop: string;
|
|
191
|
+
isShowRules: boolean;
|
|
192
|
+
}, {}>;
|
|
193
|
+
ColumnSet: import("vue").DefineComponent<{
|
|
194
|
+
columns: {
|
|
195
|
+
type: ArrayConstructor;
|
|
196
|
+
default: () => never[];
|
|
197
|
+
};
|
|
198
|
+
title: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
name: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
columnSetBind: {
|
|
207
|
+
type: ObjectConstructor;
|
|
208
|
+
default: () => void;
|
|
209
|
+
};
|
|
210
|
+
}, {
|
|
211
|
+
props: any;
|
|
212
|
+
$attrs: any;
|
|
213
|
+
columnBind: import("vue").ComputedRef<any>;
|
|
214
|
+
getColumnSetCache: () => any;
|
|
215
|
+
initColumnSet: () => ({
|
|
216
|
+
label: any;
|
|
217
|
+
prop: any;
|
|
218
|
+
hidden: boolean;
|
|
219
|
+
checkBoxDisabled: boolean;
|
|
220
|
+
isShowHidden: any;
|
|
221
|
+
} | {
|
|
222
|
+
label: any;
|
|
223
|
+
prop: any;
|
|
224
|
+
checkBoxDisabled: boolean;
|
|
225
|
+
hidden: boolean;
|
|
226
|
+
isShowHidden?: undefined;
|
|
227
|
+
})[];
|
|
228
|
+
emits: (event: "columnSetting", ...args: any[]) => void;
|
|
229
|
+
state: any;
|
|
230
|
+
checkChanged: (checked: any, index: any) => void;
|
|
231
|
+
readonly Draggable: import("vue").DefineComponent<{
|
|
232
|
+
list: {
|
|
233
|
+
type: ArrayConstructor;
|
|
234
|
+
required: boolean;
|
|
235
|
+
default: any;
|
|
236
|
+
};
|
|
237
|
+
modelValue: {
|
|
238
|
+
type: ArrayConstructor;
|
|
239
|
+
required: boolean;
|
|
240
|
+
default: any;
|
|
241
|
+
};
|
|
242
|
+
itemKey: {
|
|
243
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
244
|
+
required: boolean;
|
|
245
|
+
};
|
|
246
|
+
clone: {
|
|
247
|
+
type: FunctionConstructor;
|
|
248
|
+
default: (original: any) => any;
|
|
249
|
+
};
|
|
250
|
+
tag: {
|
|
251
|
+
type: StringConstructor;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
move: {
|
|
255
|
+
type: FunctionConstructor;
|
|
256
|
+
default: any;
|
|
257
|
+
};
|
|
258
|
+
componentData: {
|
|
259
|
+
type: ObjectConstructor;
|
|
260
|
+
required: boolean;
|
|
261
|
+
default: any;
|
|
262
|
+
};
|
|
263
|
+
}, unknown, {
|
|
264
|
+
error: boolean;
|
|
265
|
+
}, {
|
|
266
|
+
realList(): any;
|
|
267
|
+
getKey(): any;
|
|
268
|
+
}, {
|
|
269
|
+
getUnderlyingVm(domElement: any): any;
|
|
270
|
+
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
271
|
+
emitChanges(evt: any): void;
|
|
272
|
+
alterList(onList: any): void;
|
|
273
|
+
spliceList(): void;
|
|
274
|
+
updatePosition(oldIndex: any, newIndex: any): void;
|
|
275
|
+
getRelatedContextFromMoveEvent({ to, related }: {
|
|
276
|
+
to: any;
|
|
277
|
+
related: any;
|
|
278
|
+
}): any;
|
|
279
|
+
getVmIndexFromDomIndex(domIndex: any): any;
|
|
280
|
+
onDragStart(evt: any): void;
|
|
281
|
+
onDragAdd(evt: any): void;
|
|
282
|
+
onDragRemove(evt: any): void;
|
|
283
|
+
onDragUpdate(evt: any): void;
|
|
284
|
+
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
285
|
+
onDragMove(evt: any, originalEvent: any): any;
|
|
286
|
+
onDragEnd(): void;
|
|
287
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
288
|
+
move: Function;
|
|
289
|
+
tag: string;
|
|
290
|
+
clone: Function;
|
|
291
|
+
list: unknown[];
|
|
292
|
+
modelValue: unknown[];
|
|
293
|
+
componentData: Record<string, any>;
|
|
294
|
+
} & {
|
|
295
|
+
itemKey?: string | Function | undefined;
|
|
296
|
+
}>, {
|
|
297
|
+
move: Function;
|
|
298
|
+
tag: string;
|
|
299
|
+
clone: Function;
|
|
300
|
+
list: unknown[];
|
|
301
|
+
modelValue: unknown[];
|
|
302
|
+
componentData: Record<string, any>;
|
|
303
|
+
}, {}>;
|
|
304
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "columnSetting"[], "columnSetting", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
305
|
+
columns: {
|
|
306
|
+
type: ArrayConstructor;
|
|
307
|
+
default: () => never[];
|
|
308
|
+
};
|
|
309
|
+
title: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
default: string;
|
|
312
|
+
};
|
|
313
|
+
name: {
|
|
314
|
+
type: StringConstructor;
|
|
315
|
+
default: string;
|
|
316
|
+
};
|
|
317
|
+
columnSetBind: {
|
|
318
|
+
type: ObjectConstructor;
|
|
319
|
+
default: () => void;
|
|
320
|
+
};
|
|
321
|
+
}>> & {
|
|
322
|
+
onColumnSetting?: ((...args: any[]) => any) | undefined;
|
|
323
|
+
}, {
|
|
324
|
+
name: string;
|
|
325
|
+
columns: unknown[];
|
|
326
|
+
title: string;
|
|
327
|
+
columnSetBind: Record<string, any>;
|
|
328
|
+
}, {}>;
|
|
329
|
+
RenderCol: import("vue").DefineComponent<{
|
|
330
|
+
row: ObjectConstructor;
|
|
331
|
+
render: FunctionConstructor;
|
|
332
|
+
index: NumberConstructor;
|
|
333
|
+
column: {
|
|
334
|
+
type: ObjectConstructor;
|
|
335
|
+
default: null;
|
|
336
|
+
};
|
|
337
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
338
|
+
row: ObjectConstructor;
|
|
339
|
+
render: FunctionConstructor;
|
|
340
|
+
index: NumberConstructor;
|
|
341
|
+
column: {
|
|
342
|
+
type: ObjectConstructor;
|
|
343
|
+
default: null;
|
|
344
|
+
};
|
|
345
|
+
}>>, {
|
|
346
|
+
column: Record<string, any>;
|
|
347
|
+
}, {}>;
|
|
348
|
+
RenderHeader: import("vue").DefineComponent<{
|
|
349
|
+
render: FunctionConstructor;
|
|
350
|
+
column: {
|
|
351
|
+
type: ObjectConstructor;
|
|
352
|
+
default: null;
|
|
353
|
+
};
|
|
354
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
355
|
+
render: FunctionConstructor;
|
|
356
|
+
column: {
|
|
357
|
+
type: ObjectConstructor;
|
|
358
|
+
default: null;
|
|
359
|
+
};
|
|
360
|
+
}>>, {
|
|
361
|
+
column: Record<string, any>;
|
|
362
|
+
}, {}>;
|
|
363
|
+
TTableColumn: import("vue").DefineComponent<{
|
|
364
|
+
item: {
|
|
365
|
+
type: ObjectConstructor;
|
|
366
|
+
default: () => {};
|
|
367
|
+
required: true;
|
|
368
|
+
};
|
|
369
|
+
}, {
|
|
370
|
+
slots: Readonly<{
|
|
371
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
372
|
+
}>;
|
|
373
|
+
SingleEditCell: import("vue").DefineComponent<{
|
|
374
|
+
configEdit: {
|
|
375
|
+
type: ObjectConstructor;
|
|
376
|
+
default: () => {};
|
|
377
|
+
};
|
|
378
|
+
listTypeInfo: {
|
|
379
|
+
type: ObjectConstructor;
|
|
380
|
+
default: () => {};
|
|
381
|
+
};
|
|
382
|
+
scope: {
|
|
383
|
+
type: ObjectConstructor;
|
|
384
|
+
default: {};
|
|
385
|
+
};
|
|
386
|
+
prop: {
|
|
387
|
+
type: StringConstructor;
|
|
388
|
+
default: string;
|
|
389
|
+
};
|
|
390
|
+
isShowRules: {
|
|
391
|
+
type: BooleanConstructor;
|
|
392
|
+
default: boolean;
|
|
393
|
+
};
|
|
394
|
+
}, {
|
|
395
|
+
props: any;
|
|
396
|
+
emits: (event: "handleEvent" | "update:modelValue" | "keyupHandle", ...args: any[]) => void;
|
|
397
|
+
keyUpHandle: ($event: any) => void;
|
|
398
|
+
cEvent: import("vue").ComputedRef<(configEdit: any) => {}>;
|
|
399
|
+
compChildName: import("vue").ComputedRef<(configEdit: any) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
|
|
400
|
+
compChildLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>;
|
|
401
|
+
compChildValue: import("vue").ComputedRef<(configEdit: any, value: any, key: any) => any>;
|
|
402
|
+
compChildShowLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>;
|
|
403
|
+
/**
|
|
404
|
+
* 下拉数据回显中文过滤器
|
|
405
|
+
* @param [String,Number] value 需要转中文的key值
|
|
406
|
+
* @param {String} list 数据源
|
|
407
|
+
* @param [String,Number] key 数据源的key字段(默认:value)
|
|
408
|
+
* @param {String} label 数据源的label字段(默认:label)
|
|
409
|
+
*/
|
|
410
|
+
getPlaceholder: (row: any) => any;
|
|
411
|
+
handleEvent: (type: any, val: any, editCom: any) => void;
|
|
412
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "update:modelValue" | "keyupHandle")[], "handleEvent" | "update:modelValue" | "keyupHandle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
413
|
+
configEdit: {
|
|
414
|
+
type: ObjectConstructor;
|
|
415
|
+
default: () => {};
|
|
416
|
+
};
|
|
417
|
+
listTypeInfo: {
|
|
418
|
+
type: ObjectConstructor;
|
|
419
|
+
default: () => {};
|
|
420
|
+
};
|
|
421
|
+
scope: {
|
|
422
|
+
type: ObjectConstructor;
|
|
423
|
+
default: {};
|
|
424
|
+
};
|
|
425
|
+
prop: {
|
|
426
|
+
type: StringConstructor;
|
|
427
|
+
default: string;
|
|
428
|
+
};
|
|
429
|
+
isShowRules: {
|
|
430
|
+
type: BooleanConstructor;
|
|
431
|
+
default: boolean;
|
|
432
|
+
};
|
|
433
|
+
}>> & {
|
|
434
|
+
onHandleEvent?: ((...args: any[]) => any) | undefined;
|
|
435
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
436
|
+
onKeyupHandle?: ((...args: any[]) => any) | undefined;
|
|
437
|
+
}, {
|
|
438
|
+
configEdit: Record<string, any>;
|
|
439
|
+
listTypeInfo: Record<string, any>;
|
|
440
|
+
scope: Record<string, any>;
|
|
441
|
+
prop: string;
|
|
442
|
+
isShowRules: boolean;
|
|
443
|
+
}, {}>;
|
|
444
|
+
RenderCol: import("vue").DefineComponent<{
|
|
445
|
+
row: ObjectConstructor;
|
|
446
|
+
render: FunctionConstructor;
|
|
447
|
+
index: NumberConstructor;
|
|
448
|
+
column: {
|
|
449
|
+
type: ObjectConstructor;
|
|
450
|
+
default: null;
|
|
451
|
+
};
|
|
452
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
453
|
+
row: ObjectConstructor;
|
|
454
|
+
render: FunctionConstructor;
|
|
455
|
+
index: NumberConstructor;
|
|
456
|
+
column: {
|
|
457
|
+
type: ObjectConstructor;
|
|
458
|
+
default: null;
|
|
459
|
+
};
|
|
460
|
+
}>>, {
|
|
461
|
+
column: Record<string, any>;
|
|
462
|
+
}, {}>;
|
|
463
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
464
|
+
item: {
|
|
465
|
+
type: ObjectConstructor;
|
|
466
|
+
default: () => {};
|
|
467
|
+
required: true;
|
|
468
|
+
};
|
|
469
|
+
}>>, {
|
|
470
|
+
item: Record<string, any>;
|
|
471
|
+
}, {}>;
|
|
472
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "save" | "page-change" | "radioChange" | "validateError" | "rowSort")[], "handleEvent" | "save" | "page-change" | "radioChange" | "validateError" | "rowSort", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
473
|
+
table: {
|
|
474
|
+
type: ObjectConstructor;
|
|
475
|
+
default: () => {};
|
|
476
|
+
required: true;
|
|
477
|
+
};
|
|
478
|
+
columns: {
|
|
479
|
+
type: ArrayConstructor;
|
|
480
|
+
default: () => never[];
|
|
481
|
+
};
|
|
482
|
+
btnPermissions: {
|
|
483
|
+
type: ArrayConstructor;
|
|
484
|
+
default: () => never[];
|
|
485
|
+
};
|
|
486
|
+
title: {
|
|
487
|
+
type: StringConstructor;
|
|
488
|
+
};
|
|
489
|
+
isTree: {
|
|
490
|
+
type: BooleanConstructor;
|
|
491
|
+
default: boolean;
|
|
492
|
+
};
|
|
493
|
+
isRowSort: {
|
|
494
|
+
type: BooleanConstructor;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
497
|
+
isCopy: {
|
|
498
|
+
type: BooleanConstructor;
|
|
499
|
+
default: boolean;
|
|
500
|
+
};
|
|
501
|
+
rowClickRadio: {
|
|
502
|
+
type: BooleanConstructor;
|
|
503
|
+
default: boolean;
|
|
504
|
+
};
|
|
505
|
+
defaultRadioCol: NumberConstructor;
|
|
506
|
+
isPaginationCumulative: {
|
|
507
|
+
type: BooleanConstructor;
|
|
508
|
+
default: boolean;
|
|
509
|
+
};
|
|
510
|
+
isShowPagination: {
|
|
511
|
+
type: BooleanConstructor;
|
|
512
|
+
default: boolean;
|
|
513
|
+
};
|
|
514
|
+
isShowFooterBtn: {
|
|
515
|
+
type: BooleanConstructor;
|
|
516
|
+
default: boolean;
|
|
517
|
+
};
|
|
518
|
+
columnSetting: {
|
|
519
|
+
type: BooleanConstructor;
|
|
520
|
+
default: boolean;
|
|
521
|
+
};
|
|
522
|
+
highlightCurrentRow: {
|
|
523
|
+
type: BooleanConstructor;
|
|
524
|
+
default: boolean;
|
|
525
|
+
};
|
|
526
|
+
isTableColumnHidden: {
|
|
527
|
+
type: BooleanConstructor;
|
|
528
|
+
default: boolean;
|
|
529
|
+
};
|
|
530
|
+
sortable: {
|
|
531
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
532
|
+
};
|
|
533
|
+
isKeyup: {
|
|
534
|
+
type: BooleanConstructor;
|
|
535
|
+
default: boolean;
|
|
536
|
+
};
|
|
537
|
+
}>> & {
|
|
538
|
+
onHandleEvent?: ((...args: any[]) => any) | undefined;
|
|
539
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
540
|
+
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
541
|
+
onRadioChange?: ((...args: any[]) => any) | undefined;
|
|
542
|
+
onValidateError?: ((...args: any[]) => any) | undefined;
|
|
543
|
+
onRowSort?: ((...args: any[]) => any) | undefined;
|
|
544
|
+
}, {
|
|
545
|
+
table: Record<string, any>;
|
|
546
|
+
columns: unknown[];
|
|
547
|
+
btnPermissions: unknown[];
|
|
548
|
+
isTree: boolean;
|
|
549
|
+
isRowSort: boolean;
|
|
550
|
+
isCopy: boolean;
|
|
551
|
+
rowClickRadio: boolean;
|
|
552
|
+
isPaginationCumulative: boolean;
|
|
553
|
+
isShowPagination: boolean;
|
|
554
|
+
isShowFooterBtn: boolean;
|
|
555
|
+
columnSetting: boolean;
|
|
556
|
+
highlightCurrentRow: boolean;
|
|
557
|
+
isTableColumnHidden: boolean;
|
|
558
|
+
isKeyup: boolean;
|
|
559
|
+
}, {}>;
|
|
560
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
row: ObjectConstructor;
|
|
3
|
+
render: FunctionConstructor;
|
|
4
|
+
index: NumberConstructor;
|
|
5
|
+
column: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: null;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
row: ObjectConstructor;
|
|
11
|
+
render: FunctionConstructor;
|
|
12
|
+
index: NumberConstructor;
|
|
13
|
+
column: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
}>>, {
|
|
18
|
+
column: Record<string, any>;
|
|
19
|
+
}, {}>;
|
|
20
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
render: FunctionConstructor;
|
|
3
|
+
column: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
7
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
render: FunctionConstructor;
|
|
9
|
+
column: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
}>>, {
|
|
14
|
+
column: Record<string, any>;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
/** 编辑配置项说明
|
|
3
|
+
* label: '爱好', // placeholder显示
|
|
4
|
+
* editComponent: 'el-select', // 组件
|
|
5
|
+
* type: 'select-arr', // option显示
|
|
6
|
+
* list: 'hobbyList', // 下拉选择数据源
|
|
7
|
+
* arrLabel: 'label', // 下拉选择中文显示
|
|
8
|
+
* arrKey: 'value' // 下拉选择number显示(最终传后台)
|
|
9
|
+
* bind:{} // 组件衍生属性(即第三方组件属性)
|
|
10
|
+
*/
|
|
11
|
+
configEdit: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
listTypeInfo: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
scope: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: {};
|
|
22
|
+
};
|
|
23
|
+
prop: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
isShowRules: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
props: any;
|
|
33
|
+
emits: (event: "handleEvent" | "update:modelValue" | "keyupHandle", ...args: any[]) => void;
|
|
34
|
+
keyUpHandle: ($event: any) => void;
|
|
35
|
+
cEvent: import("vue").ComputedRef<(configEdit: any) => {}>;
|
|
36
|
+
compChildName: import("vue").ComputedRef<(configEdit: any) => "el-radio" | "el-checkbox" | "el-option" | undefined>;
|
|
37
|
+
compChildLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>;
|
|
38
|
+
compChildValue: import("vue").ComputedRef<(configEdit: any, value: any, key: any) => any>;
|
|
39
|
+
compChildShowLabel: import("vue").ComputedRef<(configEdit: any, value: any) => any>;
|
|
40
|
+
getPlaceholder: (row: any) => any;
|
|
41
|
+
handleEvent: (type: any, val: any, editCom: any) => void;
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleEvent" | "update:modelValue" | "keyupHandle")[], "handleEvent" | "update:modelValue" | "keyupHandle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
/** 编辑配置项说明
|
|
44
|
+
* label: '爱好', // placeholder显示
|
|
45
|
+
* editComponent: 'el-select', // 组件
|
|
46
|
+
* type: 'select-arr', // option显示
|
|
47
|
+
* list: 'hobbyList', // 下拉选择数据源
|
|
48
|
+
* arrLabel: 'label', // 下拉选择中文显示
|
|
49
|
+
* arrKey: 'value' // 下拉选择number显示(最终传后台)
|
|
50
|
+
* bind:{} // 组件衍生属性(即第三方组件属性)
|
|
51
|
+
*/
|
|
52
|
+
configEdit: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
56
|
+
listTypeInfo: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
default: () => {};
|
|
59
|
+
};
|
|
60
|
+
scope: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
default: {};
|
|
63
|
+
};
|
|
64
|
+
prop: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
isShowRules: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
}>> & {
|
|
73
|
+
onHandleEvent?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
onKeyupHandle?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
configEdit: Record<string, any>;
|
|
78
|
+
listTypeInfo: Record<string, any>;
|
|
79
|
+
scope: Record<string, any>;
|
|
80
|
+
prop: string;
|
|
81
|
+
isShowRules: boolean;
|
|
82
|
+
}, {}>;
|
|
83
|
+
export default _sfc_main;
|