fast-crud-ui3 1.5.16 → 1.5.18-beta
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/fonts/iconfont.d.ts +0 -0
- package/lib/components/checkbox-group/index.d.ts +2 -0
- package/lib/components/checkbox-group/src/fast-checkbox-group.d.ts +72 -0
- package/lib/components/content-dialog/index.d.ts +2 -0
- package/lib/components/content-dialog/src/fast-cell-content.d.ts +83 -0
- package/lib/components/json-viewer/index.d.ts +2 -0
- package/lib/components/json-viewer/src/fast-json-viewer.d.ts +48 -0
- package/lib/components/mapping.d.ts +5 -0
- package/lib/components/object-picker/index.d.ts +2 -0
- package/lib/components/object-picker/src/fast-object-picker.d.ts +132 -0
- package/lib/components/select/index.d.ts +2 -0
- package/lib/components/select/src/fast-select.d.ts +83 -0
- package/lib/components/table/index.d.ts +2 -0
- package/lib/components/table/src/RowConfirm.d.ts +39 -0
- package/lib/components/table/src/dynamic-filter-form.d.ts +118 -0
- package/lib/components/table/src/dynamic-filter-list.d.ts +57 -0
- package/lib/components/table/src/easy-filter.d.ts +118 -0
- package/lib/components/table/src/export-confirm.d.ts +12 -0
- package/lib/components/table/src/quick-filter-form.d.ts +42 -0
- package/lib/components/table/src/row-form.d.ts +33 -0
- package/lib/components/table/src/stored-filter-manager.d.ts +55 -0
- package/lib/components/table/src/stored-filter.d.ts +37 -0
- package/lib/components/table/src/table-head-cell.d.ts +9 -0
- package/lib/components/table/src/table.d.ts +507 -0
- package/lib/components/table/src/util.d.ts +77 -0
- package/lib/components/table-column/config.d.ts +5 -0
- package/lib/components/table-column/index.d.ts +2 -0
- package/lib/components/table-column/src/table-column.d.ts +256 -0
- package/lib/components/table-column-date-picker/config.d.ts +5 -0
- package/lib/components/table-column-date-picker/index.d.ts +2 -0
- package/lib/components/table-column-date-picker/src/table-column-date-picker.d.ts +173 -0
- package/lib/components/table-column-file/config.d.ts +5 -0
- package/lib/components/table-column-file/index.d.ts +2 -0
- package/lib/components/table-column-file/src/table-column-file.d.ts +285 -0
- package/lib/components/table-column-img/config.d.ts +5 -0
- package/lib/components/table-column-img/index.d.ts +2 -0
- package/lib/components/table-column-img/src/table-column-img.d.ts +285 -0
- package/lib/components/table-column-input/config.d.ts +5 -0
- package/lib/components/table-column-input/index.d.ts +2 -0
- package/lib/components/table-column-input/src/table-column-input.d.ts +173 -0
- package/lib/components/table-column-number/config.d.ts +5 -0
- package/lib/components/table-column-number/index.d.ts +2 -0
- package/lib/components/table-column-number/src/table-column-number.d.ts +173 -0
- package/lib/components/table-column-object/config.d.ts +5 -0
- package/lib/components/table-column-object/index.d.ts +2 -0
- package/lib/components/table-column-object/src/table-column-object.d.ts +315 -0
- package/lib/components/table-column-select/config.d.ts +5 -0
- package/lib/components/table-column-select/index.d.ts +2 -0
- package/lib/components/table-column-select/src/table-column-select.d.ts +276 -0
- package/lib/components/table-column-switch/config.d.ts +5 -0
- package/lib/components/table-column-switch/index.d.ts +2 -0
- package/lib/components/table-column-switch/src/table-column-switch.d.ts +175 -0
- package/lib/components/table-column-textarea/config.d.ts +5 -0
- package/lib/components/table-column-textarea/index.d.ts +2 -0
- package/lib/components/table-column-textarea/src/table-column-textarea.d.ts +173 -0
- package/lib/components/table-column-time-picker/config.d.ts +5 -0
- package/lib/components/table-column-time-picker/index.d.ts +2 -0
- package/lib/components/table-column-time-picker/src/table-column-time-picker.d.ts +173 -0
- package/lib/components/upload/index.d.ts +2 -0
- package/lib/components/upload/src/fast-upload.d.ts +120 -0
- package/lib/fast-crud-ui3.cjs.js +44 -17
- package/lib/fast-crud-ui3.es.js +9991 -5946
- package/lib/fast-crud-ui3.umd.js +44 -17
- package/lib/global.d.ts +42 -0
- package/lib/index.d.ts +56 -0
- package/lib/mixins/table-column.d.ts +104 -0
- package/lib/mixins/upload.d.ts +15 -0
- package/lib/model/cond.d.ts +48 -0
- package/lib/model/editComponentConfig.d.ts +25 -0
- package/lib/model/fastTableOption.d.ts +513 -0
- package/lib/model/filterComponentConfig.d.ts +55 -0
- package/lib/model/opt.d.ts +20 -0
- package/lib/model/order.d.ts +28 -0
- package/lib/model/pageQuery.d.ts +43 -0
- package/lib/model/query.d.ts +101 -0
- package/lib/model/rel.d.ts +5 -0
- package/lib/style.css +1 -1
- package/lib/util/cache.d.ts +17 -0
- package/lib/util/dialog.d.ts +49 -0
- package/lib/util/escape.d.ts +7 -0
- package/lib/util/http.d.ts +8 -0
- package/lib/util/pick.d.ts +9 -0
- package/lib/util/util.d.ts +311 -0
- package/package.json +19 -5
- package/packages/assets/fonts/iconfont.css +163 -0
- package/packages/assets/fonts/iconfont.js +1 -0
- package/packages/assets/fonts/iconfont.ttf +0 -0
- package/packages/assets/fonts/iconfont.woff +0 -0
- package/packages/assets/fonts/iconfont.woff2 +0 -0
- package/packages/components/checkbox-group/index.js +7 -0
- package/packages/components/checkbox-group/src/fast-checkbox-group.vue +83 -0
- package/packages/components/content-dialog/index.js +7 -0
- package/packages/components/content-dialog/src/fast-cell-content.vue +115 -0
- package/packages/components/json-viewer/index.js +7 -0
- package/packages/components/json-viewer/src/fast-json-viewer.vue +54 -0
- package/packages/components/mapping.js +95 -0
- package/packages/components/object-picker/index.js +7 -0
- package/packages/components/object-picker/src/fast-object-picker.vue +170 -0
- package/packages/components/select/index.js +7 -0
- package/packages/components/select/src/fast-select.vue +90 -0
- package/packages/components/table/index.js +7 -0
- package/packages/components/table/src/RowConfirm.vue +87 -0
- package/packages/components/table/src/dynamic-filter-form.vue +253 -0
- package/packages/components/table/src/dynamic-filter-list.vue +172 -0
- package/packages/components/table/src/easy-filter.vue +129 -0
- package/packages/components/table/src/export-confirm.vue +55 -0
- package/packages/components/table/src/quick-filter-form.vue +140 -0
- package/packages/components/table/src/row-form.vue +137 -0
- package/packages/components/table/src/stored-filter-manager.vue +240 -0
- package/packages/components/table/src/stored-filter.vue +180 -0
- package/packages/components/table/src/table-head-cell.vue +41 -0
- package/packages/components/table/src/table.vue +1309 -0
- package/packages/components/table/src/util.js +496 -0
- package/packages/components/table-column/config.js +64 -0
- package/packages/components/table-column/index.js +7 -0
- package/packages/components/table-column/src/table-column.vue +44 -0
- package/packages/components/table-column-date-picker/config.js +139 -0
- package/packages/components/table-column-date-picker/index.js +7 -0
- package/packages/components/table-column-date-picker/src/table-column-date-picker.vue +54 -0
- package/packages/components/table-column-file/config.js +83 -0
- package/packages/components/table-column-file/index.js +7 -0
- package/packages/components/table-column-file/src/table-column-file.vue +79 -0
- package/packages/components/table-column-img/config.js +83 -0
- package/packages/components/table-column-img/index.js +7 -0
- package/packages/components/table-column-img/src/table-column-img.vue +82 -0
- package/packages/components/table-column-input/config.js +77 -0
- package/packages/components/table-column-input/index.js +7 -0
- package/packages/components/table-column-input/src/table-column-input.vue +60 -0
- package/packages/components/table-column-number/config.js +89 -0
- package/packages/components/table-column-number/index.js +7 -0
- package/packages/components/table-column-number/src/table-column-number.vue +54 -0
- package/packages/components/table-column-object/config.js +66 -0
- package/packages/components/table-column-object/index.js +7 -0
- package/packages/components/table-column-object/src/table-column-object.vue +75 -0
- package/packages/components/table-column-select/config.js +67 -0
- package/packages/components/table-column-select/index.js +7 -0
- package/packages/components/table-column-select/src/table-column-select.vue +101 -0
- package/packages/components/table-column-switch/config.js +55 -0
- package/packages/components/table-column-switch/index.js +7 -0
- package/packages/components/table-column-switch/src/table-column-switch.vue +82 -0
- package/packages/components/table-column-textarea/config.js +77 -0
- package/packages/components/table-column-textarea/index.js +7 -0
- package/packages/components/table-column-textarea/src/table-column-textarea.vue +56 -0
- package/packages/components/table-column-time-picker/config.js +62 -0
- package/packages/components/table-column-time-picker/index.js +7 -0
- package/packages/components/table-column-time-picker/src/table-column-time-picker.vue +53 -0
- package/packages/components/upload/index.js +7 -0
- package/packages/components/upload/src/fast-upload.vue +272 -0
- package/packages/global.d.ts +42 -0
- package/packages/index.js +145 -0
- package/packages/mixins/table-column.js +133 -0
- package/packages/mixins/upload.js +14 -0
- package/packages/model/cond.js +74 -0
- package/packages/model/editComponentConfig.js +72 -0
- package/packages/model/fastTableOption.js +769 -0
- package/packages/model/filterComponentConfig.js +191 -0
- package/packages/model/opt.js +21 -0
- package/packages/model/order.js +37 -0
- package/packages/model/pageQuery.js +52 -0
- package/packages/model/query.js +161 -0
- package/packages/model/rel.js +5 -0
- package/packages/style.scss +5 -0
- package/packages/util/cache.js +92 -0
- package/packages/util/dialog.js +133 -0
- package/packages/util/escape.js +34 -0
- package/packages/util/http.js +18 -0
- package/packages/util/pick.js +92 -0
- package/packages/util/util.js +892 -0
package/lib/global.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// 引入你的组件实现(dts插件会为它们生成类型)
|
|
2
|
+
// 注意:这里要根据实际生成后的类型路径来写,或者直接引用源码
|
|
3
|
+
import FastTable from './components/table'
|
|
4
|
+
import FastSelect from './components/select'
|
|
5
|
+
import FastCheckboxGroup from './components/checkbox-group'
|
|
6
|
+
import FastObjectPicker from './components/object-picker'
|
|
7
|
+
import FastTableColumn from './components/table-column'
|
|
8
|
+
import FastTableColumnDatePicker from './components/table-column-date-picker'
|
|
9
|
+
import FastTableColumnFile from './components/table-column-file'
|
|
10
|
+
import FastTableColumnImg from './components/table-column-img'
|
|
11
|
+
import FastTableColumnInput from './components/table-column-input'
|
|
12
|
+
import FastTableColumnNumber from './components/table-column-number'
|
|
13
|
+
import FastTableColumnObject from './components/table-column-object'
|
|
14
|
+
import FastTableColumnSelect from './components/table-column-select'
|
|
15
|
+
import FastTableColumnSwitch from './components/table-column-switch'
|
|
16
|
+
import FastTableColumnTextarea from './components/table-column-textarea'
|
|
17
|
+
import FastTableColumnTimePicker from './components/table-column-time-picker'
|
|
18
|
+
import FastUpload from './components/upload'
|
|
19
|
+
// ... 引入其他所有组件
|
|
20
|
+
|
|
21
|
+
declare module '@vue/runtime-core' {
|
|
22
|
+
export interface GlobalComponents {
|
|
23
|
+
FastTable: typeof FastTable
|
|
24
|
+
FastSelect: typeof FastSelect
|
|
25
|
+
FastCheckboxGroup: typeof FastCheckboxGroup
|
|
26
|
+
FastObjectPicker: typeof FastObjectPicker
|
|
27
|
+
FastTableColumn: typeof FastTableColumn
|
|
28
|
+
FastTableColumnDatePicker: typeof FastTableColumnDatePicker
|
|
29
|
+
FastTableColumnFile: typeof FastTableColumnFile
|
|
30
|
+
FastTableColumnImg: typeof FastTableColumnImg
|
|
31
|
+
FastTableColumnInput: typeof FastTableColumnInput
|
|
32
|
+
FastTableColumnNumber: typeof FastTableColumnNumber
|
|
33
|
+
FastTableColumnObject: typeof FastTableColumnObject
|
|
34
|
+
FastTableColumnSelect: typeof FastTableColumnSelect
|
|
35
|
+
FastTableColumnSwitch: typeof FastTableColumnSwitch
|
|
36
|
+
FastTableColumnTextarea: typeof FastTableColumnTextarea
|
|
37
|
+
FastTableColumnTimePicker: typeof FastTableColumnTimePicker
|
|
38
|
+
FastUpload: typeof FastUpload
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export {}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { default as FastCheckboxGroup } from './components/checkbox-group';
|
|
2
|
+
import { default as FastCellContent } from './components/content-dialog/src/fast-cell-content';
|
|
3
|
+
import { default as FastJsonViewer } from './components/json-viewer/src/fast-json-viewer';
|
|
4
|
+
import { default as FastSelect } from './components/select';
|
|
5
|
+
import { default as FastUpload } from './components/upload';
|
|
6
|
+
import { default as FastObjectPicker } from './components/object-picker';
|
|
7
|
+
import { default as FastTable } from './components/table';
|
|
8
|
+
import { default as FastTableColumn } from './components/table-column';
|
|
9
|
+
import { default as FastTableColumnDatePicker } from './components/table-column-date-picker';
|
|
10
|
+
import { default as FastTableColumnFile } from './components/table-column-file';
|
|
11
|
+
import { default as FastTableColumnImg } from './components/table-column-img';
|
|
12
|
+
import { default as FastTableColumnInput } from './components/table-column-input';
|
|
13
|
+
import { default as FastTableColumnNumber } from './components/table-column-number';
|
|
14
|
+
import { default as FastTableColumnObject } from './components/table-column-object';
|
|
15
|
+
import { default as FastTableColumnSelect } from './components/table-column-select';
|
|
16
|
+
import { default as FastTableColumnSwitch } from './components/table-column-switch';
|
|
17
|
+
import { default as FastTableColumnTextarea } from './components/table-column-textarea';
|
|
18
|
+
import { default as FastTableColumnTimePicker } from './components/table-column-time-picker';
|
|
19
|
+
import { default as FastTableOption } from './model/fastTableOption.js';
|
|
20
|
+
import { default as Opt } from './model/opt.js';
|
|
21
|
+
import { default as PageQuery } from './model/pageQuery.js';
|
|
22
|
+
import { default as Query } from './model/query.js';
|
|
23
|
+
import { default as Order } from './model/order.js';
|
|
24
|
+
import { default as Cond } from './model/cond.js';
|
|
25
|
+
import { isEmpty, isString, isNumber, isArray, ifBlank, isFunction, isObject, isBoolean, isNull, isUndefined, defaultIfEmpty, defaultIfBlank, camelCaseTo, caseToCamel, clear, deepClone, merge, coverMerge } from './util/util';
|
|
26
|
+
import { openDialog } from './util/dialog';
|
|
27
|
+
import { pick } from './util/pick';
|
|
28
|
+
export function getAppContext(): any;
|
|
29
|
+
declare namespace _default {
|
|
30
|
+
export { install };
|
|
31
|
+
}
|
|
32
|
+
export default _default;
|
|
33
|
+
export namespace util {
|
|
34
|
+
export { isEmpty };
|
|
35
|
+
export { isString };
|
|
36
|
+
export { isNumber };
|
|
37
|
+
export { isArray };
|
|
38
|
+
export { ifBlank };
|
|
39
|
+
export { isFunction };
|
|
40
|
+
export { isObject };
|
|
41
|
+
export { isBoolean };
|
|
42
|
+
export { isNull };
|
|
43
|
+
export { isUndefined };
|
|
44
|
+
export { defaultIfEmpty };
|
|
45
|
+
export { defaultIfBlank };
|
|
46
|
+
export { camelCaseTo };
|
|
47
|
+
export { caseToCamel };
|
|
48
|
+
export { clear };
|
|
49
|
+
export { deepClone };
|
|
50
|
+
export { merge };
|
|
51
|
+
export { coverMerge };
|
|
52
|
+
export { openDialog };
|
|
53
|
+
export { pick };
|
|
54
|
+
}
|
|
55
|
+
declare function install(app: any, opts?: {}): void;
|
|
56
|
+
export { FastCheckboxGroup, FastCellContent, FastJsonViewer, FastSelect, FastUpload, FastObjectPicker, FastTable, FastTableColumn, FastTableColumnDatePicker, FastTableColumnFile, FastTableColumnImg, FastTableColumnInput, FastTableColumnNumber, FastTableColumnObject, FastTableColumnSelect, FastTableColumnSwitch, FastTableColumnTextarea, FastTableColumnTimePicker, FastTableOption, Opt, PageQuery, Query, Order, Cond };
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { default as FastTableHeadCell } from '../components/table/src/table-head-cell';
|
|
2
|
+
import { default as FastCellContent } from '../components/content-dialog/src/fast-cell-content';
|
|
3
|
+
declare namespace _default {
|
|
4
|
+
let inject: string[];
|
|
5
|
+
let emits: string[];
|
|
6
|
+
namespace components {
|
|
7
|
+
export { FastTableHeadCell };
|
|
8
|
+
export { FastCellContent };
|
|
9
|
+
}
|
|
10
|
+
namespace props {
|
|
11
|
+
namespace prop {
|
|
12
|
+
let type: StringConstructor;
|
|
13
|
+
let required: boolean;
|
|
14
|
+
}
|
|
15
|
+
namespace label {
|
|
16
|
+
let type_1: StringConstructor;
|
|
17
|
+
export { type_1 as type };
|
|
18
|
+
let required_1: boolean;
|
|
19
|
+
export { required_1 as required };
|
|
20
|
+
}
|
|
21
|
+
namespace link {
|
|
22
|
+
let type_2: (StringConstructor | BooleanConstructor)[];
|
|
23
|
+
export { type_2 as type };
|
|
24
|
+
function _default(): boolean;
|
|
25
|
+
export { _default as default };
|
|
26
|
+
}
|
|
27
|
+
namespace hidden {
|
|
28
|
+
let type_3: BooleanConstructor;
|
|
29
|
+
export { type_3 as type };
|
|
30
|
+
function _default_1(): boolean;
|
|
31
|
+
export { _default_1 as default };
|
|
32
|
+
}
|
|
33
|
+
namespace filter {
|
|
34
|
+
let type_4: (BooleanConstructor | NumberConstructor)[];
|
|
35
|
+
export { type_4 as type };
|
|
36
|
+
function _default_2(): boolean;
|
|
37
|
+
export { _default_2 as default };
|
|
38
|
+
}
|
|
39
|
+
namespace quickFilter {
|
|
40
|
+
let type_5: (BooleanConstructor | NumberConstructor)[];
|
|
41
|
+
export { type_5 as type };
|
|
42
|
+
function _default_3(): boolean;
|
|
43
|
+
export { _default_3 as default };
|
|
44
|
+
}
|
|
45
|
+
namespace quickFilterBlock {
|
|
46
|
+
let type_6: BooleanConstructor;
|
|
47
|
+
export { type_6 as type };
|
|
48
|
+
function _default_4(): boolean;
|
|
49
|
+
export { _default_4 as default };
|
|
50
|
+
}
|
|
51
|
+
let quickFilterConfig: ObjectConstructor;
|
|
52
|
+
namespace dynamicFilter {
|
|
53
|
+
let type_7: BooleanConstructor;
|
|
54
|
+
export { type_7 as type };
|
|
55
|
+
function _default_5(): boolean;
|
|
56
|
+
export { _default_5 as default };
|
|
57
|
+
}
|
|
58
|
+
namespace unique {
|
|
59
|
+
let type_8: BooleanConstructor;
|
|
60
|
+
export { type_8 as type };
|
|
61
|
+
function _default_6(): boolean;
|
|
62
|
+
export { _default_6 as default };
|
|
63
|
+
}
|
|
64
|
+
namespace firstFilter {
|
|
65
|
+
let type_9: BooleanConstructor;
|
|
66
|
+
export { type_9 as type };
|
|
67
|
+
function _default_7(): boolean;
|
|
68
|
+
export { _default_7 as default };
|
|
69
|
+
}
|
|
70
|
+
namespace showOverflowTooltip {
|
|
71
|
+
let type_10: BooleanConstructor;
|
|
72
|
+
export { type_10 as type };
|
|
73
|
+
function _default_8(): boolean;
|
|
74
|
+
export { _default_8 as default };
|
|
75
|
+
}
|
|
76
|
+
namespace showLength {
|
|
77
|
+
let type_11: NumberConstructor;
|
|
78
|
+
export { type_11 as type };
|
|
79
|
+
function _default_9(): number;
|
|
80
|
+
export { _default_9 as default };
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function data(): {
|
|
84
|
+
columnProp: any;
|
|
85
|
+
};
|
|
86
|
+
namespace methods {
|
|
87
|
+
/**
|
|
88
|
+
* 是否展示编辑模式
|
|
89
|
+
* @param fatRow
|
|
90
|
+
* @param column element原生列配置
|
|
91
|
+
* @param $index 当前行索引
|
|
92
|
+
* @returns {boolean}
|
|
93
|
+
*/
|
|
94
|
+
function canEdit(fatRow: any, column: any, $index: any): boolean;
|
|
95
|
+
function showLabel(fatRow: any): any;
|
|
96
|
+
function headCellClick(column: any): void;
|
|
97
|
+
function handleChange(val: any, scope: any): void;
|
|
98
|
+
function handleFocus(event: any, scope: any): void;
|
|
99
|
+
function handleBlur(event: any, scope: any): void;
|
|
100
|
+
function handleInput(val: any, scope: any): void;
|
|
101
|
+
function handleClear(scope: any): void;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace props {
|
|
3
|
+
let onPreview: FunctionConstructor;
|
|
4
|
+
let beforeRemove: FunctionConstructor;
|
|
5
|
+
let onRemove: FunctionConstructor;
|
|
6
|
+
let onSuccess: FunctionConstructor;
|
|
7
|
+
let onError: FunctionConstructor;
|
|
8
|
+
let onProgress: FunctionConstructor;
|
|
9
|
+
let onChange: FunctionConstructor;
|
|
10
|
+
let onExceed: FunctionConstructor;
|
|
11
|
+
let beforeUpload: FunctionConstructor;
|
|
12
|
+
let responseHandler: FunctionConstructor;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { default as Opt } from './opt.js';
|
|
2
|
+
export default Cond;
|
|
3
|
+
export type OptValue = (typeof Opt)[keyof typeof Opt];
|
|
4
|
+
/**
|
|
5
|
+
* @typedef {typeof Opt[keyof typeof Opt]} OptValue
|
|
6
|
+
*/
|
|
7
|
+
declare class Cond {
|
|
8
|
+
/**
|
|
9
|
+
* 通过json构建一个Cond条件对象
|
|
10
|
+
* @param condJson {object} 条件的json
|
|
11
|
+
* @return {Cond}
|
|
12
|
+
*/
|
|
13
|
+
static build(condJson: object): Cond;
|
|
14
|
+
/**
|
|
15
|
+
* 构造函数
|
|
16
|
+
* @param col 字段
|
|
17
|
+
* @param opt {OptValue} 操作符,可以使用常量
|
|
18
|
+
* @param val 值
|
|
19
|
+
*/
|
|
20
|
+
constructor(col: any, opt: OptValue, val: any);
|
|
21
|
+
/**
|
|
22
|
+
* 字段名
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
col: string;
|
|
26
|
+
/**
|
|
27
|
+
* 操作符
|
|
28
|
+
* @type {OptValue}
|
|
29
|
+
*/
|
|
30
|
+
opt: OptValue;
|
|
31
|
+
/**
|
|
32
|
+
* 值
|
|
33
|
+
* @type {object}
|
|
34
|
+
*/
|
|
35
|
+
val: object;
|
|
36
|
+
/**
|
|
37
|
+
* 设置操作符
|
|
38
|
+
* @param opt {string}
|
|
39
|
+
* @return {Cond}
|
|
40
|
+
*/
|
|
41
|
+
setOpt(opt: string): Cond;
|
|
42
|
+
/**
|
|
43
|
+
* 设置值
|
|
44
|
+
* @param val {object}
|
|
45
|
+
* @return {Cond}
|
|
46
|
+
*/
|
|
47
|
+
setVal(val: object): Cond;
|
|
48
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default EditComponentConfig;
|
|
2
|
+
/**
|
|
3
|
+
* 编辑组件配置
|
|
4
|
+
*/
|
|
5
|
+
declare class EditComponentConfig {
|
|
6
|
+
constructor({ component, col, label, props, val, eventMethods, type, unique, tableOption }: {
|
|
7
|
+
component: any;
|
|
8
|
+
col: any;
|
|
9
|
+
label: any;
|
|
10
|
+
props: any;
|
|
11
|
+
val: any;
|
|
12
|
+
eventMethods: any;
|
|
13
|
+
type: any;
|
|
14
|
+
unique: any;
|
|
15
|
+
tableOption: any;
|
|
16
|
+
});
|
|
17
|
+
component: any;
|
|
18
|
+
col: any;
|
|
19
|
+
label: any;
|
|
20
|
+
props: any;
|
|
21
|
+
val: any;
|
|
22
|
+
editable: any;
|
|
23
|
+
type: any;
|
|
24
|
+
eventMethods: any;
|
|
25
|
+
}
|