fast-crud-ui3 1.5.16 → 1.5.17
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 +9978 -5939
- 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 +510 -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 +89 -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 +66 -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 +761 -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
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
options: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
labelKey: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: () => string;
|
|
13
|
+
};
|
|
14
|
+
valKey: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: () => string;
|
|
17
|
+
};
|
|
18
|
+
showChoseAll: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: () => boolean;
|
|
21
|
+
};
|
|
22
|
+
disableVal: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
default: () => any[];
|
|
25
|
+
};
|
|
26
|
+
size: StringConstructor;
|
|
27
|
+
}>, {}, {}, {
|
|
28
|
+
value: {
|
|
29
|
+
get(): unknown[];
|
|
30
|
+
set(val: any): void;
|
|
31
|
+
};
|
|
32
|
+
isIndeterminate(): boolean;
|
|
33
|
+
checkAll(): boolean;
|
|
34
|
+
}, {
|
|
35
|
+
handleCheckAllChange(val: any): void;
|
|
36
|
+
handleChange(val: any): void;
|
|
37
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: ArrayConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
options: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
labelKey: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: () => string;
|
|
49
|
+
};
|
|
50
|
+
valKey: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: () => string;
|
|
53
|
+
};
|
|
54
|
+
showChoseAll: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: () => boolean;
|
|
57
|
+
};
|
|
58
|
+
disableVal: {
|
|
59
|
+
type: ArrayConstructor;
|
|
60
|
+
default: () => any[];
|
|
61
|
+
};
|
|
62
|
+
size: StringConstructor;
|
|
63
|
+
}>> & Readonly<{
|
|
64
|
+
onChange?: (...args: any[]) => any;
|
|
65
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
66
|
+
}>, {
|
|
67
|
+
labelKey: string;
|
|
68
|
+
valKey: string;
|
|
69
|
+
showChoseAll: boolean;
|
|
70
|
+
disableVal: unknown[];
|
|
71
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
value: {
|
|
3
|
+
type: any;
|
|
4
|
+
};
|
|
5
|
+
fatRow: ObjectConstructor;
|
|
6
|
+
linkTo: (StringConstructor | BooleanConstructor)[];
|
|
7
|
+
showLength: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: () => number;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {
|
|
12
|
+
underline(): false | "never";
|
|
13
|
+
showAsLink(): boolean;
|
|
14
|
+
linkUrl(): any;
|
|
15
|
+
needEllipsis(): boolean;
|
|
16
|
+
row(): any;
|
|
17
|
+
}, {
|
|
18
|
+
handleClick(): void;
|
|
19
|
+
jumpToLink(): void;
|
|
20
|
+
openViewer(): void;
|
|
21
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
value: {
|
|
23
|
+
type: any;
|
|
24
|
+
};
|
|
25
|
+
fatRow: ObjectConstructor;
|
|
26
|
+
linkTo: (StringConstructor | BooleanConstructor)[];
|
|
27
|
+
showLength: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: () => number;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
value: any;
|
|
33
|
+
showLength: number;
|
|
34
|
+
}, {}, {
|
|
35
|
+
FastJsonViewer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
36
|
+
value: any;
|
|
37
|
+
copyable: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: () => boolean;
|
|
40
|
+
};
|
|
41
|
+
boxed: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: () => boolean;
|
|
44
|
+
};
|
|
45
|
+
expandDepth: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: () => number;
|
|
48
|
+
};
|
|
49
|
+
theme: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: () => string;
|
|
52
|
+
};
|
|
53
|
+
}>, {}, {}, {
|
|
54
|
+
isJson(): boolean;
|
|
55
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
+
value: any;
|
|
57
|
+
copyable: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: () => boolean;
|
|
60
|
+
};
|
|
61
|
+
boxed: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: () => boolean;
|
|
64
|
+
};
|
|
65
|
+
expandDepth: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: () => number;
|
|
68
|
+
};
|
|
69
|
+
theme: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: () => string;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
|
+
value: any;
|
|
75
|
+
expandDepth: number;
|
|
76
|
+
copyable: boolean;
|
|
77
|
+
boxed: boolean;
|
|
78
|
+
theme: string;
|
|
79
|
+
}, {}, {
|
|
80
|
+
JsonViewer: any;
|
|
81
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
82
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
83
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
value: any;
|
|
3
|
+
copyable: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: () => boolean;
|
|
6
|
+
};
|
|
7
|
+
boxed: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: () => boolean;
|
|
10
|
+
};
|
|
11
|
+
expandDepth: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: () => number;
|
|
14
|
+
};
|
|
15
|
+
theme: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: () => string;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {
|
|
20
|
+
isJson(): boolean;
|
|
21
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
value: any;
|
|
23
|
+
copyable: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: () => boolean;
|
|
26
|
+
};
|
|
27
|
+
boxed: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: () => boolean;
|
|
30
|
+
};
|
|
31
|
+
expandDepth: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: () => number;
|
|
34
|
+
};
|
|
35
|
+
theme: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: () => string;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
value: any;
|
|
41
|
+
expandDepth: number;
|
|
42
|
+
copyable: boolean;
|
|
43
|
+
boxed: boolean;
|
|
44
|
+
theme: string;
|
|
45
|
+
}, {}, {
|
|
46
|
+
JsonViewer: any;
|
|
47
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as FilterComponentConfig } from '../model/filterComponentConfig.js';
|
|
2
|
+
import { default as EditComponentConfig } from '../model/editComponentConfig.js';
|
|
3
|
+
export function getConfigFn(tableColumnComponentName: any, type: any): any | null;
|
|
4
|
+
export function buildFinalQueryComponentConfig(customConfig: any, tableColumnComponentName: any, type: any, tableOption: any): FilterComponentConfig;
|
|
5
|
+
export function buildFinalEditComponentConfig(customConfig: any, tableColumnComponentName: any, type: any, tableOption: any): EditComponentConfig;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { default as FastTableOption } from '../../../model/fastTableOption.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
tableOption: {
|
|
7
|
+
type: typeof FastTableOption;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
showField: StringConstructor;
|
|
11
|
+
valKey: StringConstructor;
|
|
12
|
+
labelKey: StringConstructor;
|
|
13
|
+
pickObject: ObjectConstructor;
|
|
14
|
+
pickMap: ObjectConstructor;
|
|
15
|
+
valueCovert: {
|
|
16
|
+
type: FunctionConstructor;
|
|
17
|
+
default: (pickData: any, field: any) => any;
|
|
18
|
+
};
|
|
19
|
+
beforeOpen: {
|
|
20
|
+
type: FunctionConstructor;
|
|
21
|
+
default: () => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
title: StringConstructor;
|
|
24
|
+
multiple: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: () => boolean;
|
|
27
|
+
};
|
|
28
|
+
placeholder: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: () => string;
|
|
31
|
+
};
|
|
32
|
+
appendToBody: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: () => boolean;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: () => boolean;
|
|
39
|
+
};
|
|
40
|
+
clearable: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: () => boolean;
|
|
43
|
+
};
|
|
44
|
+
size: StringConstructor;
|
|
45
|
+
dialogWidth: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: () => string;
|
|
48
|
+
};
|
|
49
|
+
options: {
|
|
50
|
+
type: ArrayConstructor;
|
|
51
|
+
default: () => any[];
|
|
52
|
+
};
|
|
53
|
+
}>, {}, {}, {
|
|
54
|
+
value: {
|
|
55
|
+
get(): unknown;
|
|
56
|
+
set(val: any): void;
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
handleClear(event: any): void;
|
|
60
|
+
handleClick(event: any): void;
|
|
61
|
+
handleFocus(event: any): void;
|
|
62
|
+
openPick(): void;
|
|
63
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "update:modelValue" | "clear")[], "blur" | "change" | "click" | "focus" | "update:modelValue" | "clear", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
+
modelValue: {
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
tableOption: {
|
|
68
|
+
type: typeof FastTableOption;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
showField: StringConstructor;
|
|
72
|
+
valKey: StringConstructor;
|
|
73
|
+
labelKey: StringConstructor;
|
|
74
|
+
pickObject: ObjectConstructor;
|
|
75
|
+
pickMap: ObjectConstructor;
|
|
76
|
+
valueCovert: {
|
|
77
|
+
type: FunctionConstructor;
|
|
78
|
+
default: (pickData: any, field: any) => any;
|
|
79
|
+
};
|
|
80
|
+
beforeOpen: {
|
|
81
|
+
type: FunctionConstructor;
|
|
82
|
+
default: () => Promise<void>;
|
|
83
|
+
};
|
|
84
|
+
title: StringConstructor;
|
|
85
|
+
multiple: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: () => boolean;
|
|
88
|
+
};
|
|
89
|
+
placeholder: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: () => string;
|
|
92
|
+
};
|
|
93
|
+
appendToBody: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: () => boolean;
|
|
96
|
+
};
|
|
97
|
+
disabled: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: () => boolean;
|
|
100
|
+
};
|
|
101
|
+
clearable: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: () => boolean;
|
|
104
|
+
};
|
|
105
|
+
size: StringConstructor;
|
|
106
|
+
dialogWidth: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: () => string;
|
|
109
|
+
};
|
|
110
|
+
options: {
|
|
111
|
+
type: ArrayConstructor;
|
|
112
|
+
default: () => any[];
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{
|
|
115
|
+
onChange?: (...args: any[]) => any;
|
|
116
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
117
|
+
onBlur?: (...args: any[]) => any;
|
|
118
|
+
onFocus?: (...args: any[]) => any;
|
|
119
|
+
onClear?: (...args: any[]) => any;
|
|
120
|
+
onClick?: (...args: any[]) => any;
|
|
121
|
+
}>, {
|
|
122
|
+
options: unknown[];
|
|
123
|
+
multiple: boolean;
|
|
124
|
+
disabled: boolean;
|
|
125
|
+
valueCovert: Function;
|
|
126
|
+
beforeOpen: Function;
|
|
127
|
+
placeholder: string;
|
|
128
|
+
appendToBody: boolean;
|
|
129
|
+
clearable: boolean;
|
|
130
|
+
dialogWidth: string;
|
|
131
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
132
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { default as FastTableOption } from '../../../model/fastTableOption.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
options: {
|
|
7
|
+
type: (ArrayConstructor | typeof FastTableOption)[];
|
|
8
|
+
default: () => any[];
|
|
9
|
+
};
|
|
10
|
+
labelKey: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: () => string;
|
|
13
|
+
};
|
|
14
|
+
valKey: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: () => string;
|
|
17
|
+
};
|
|
18
|
+
multiple: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: () => boolean;
|
|
21
|
+
};
|
|
22
|
+
disableVal: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
default: () => any[];
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {
|
|
31
|
+
nativeOptions: unknown[] | FastTableOption;
|
|
32
|
+
}, {
|
|
33
|
+
value: {
|
|
34
|
+
get(): unknown;
|
|
35
|
+
set(val: any): void;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
buildSelectOptions(): void;
|
|
39
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:modelValue" | "clear" | "visibleChange" | "removeTag")[], "blur" | "change" | "focus" | "update:modelValue" | "clear" | "visibleChange" | "removeTag", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
modelValue: {
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
options: {
|
|
44
|
+
type: (ArrayConstructor | typeof FastTableOption)[];
|
|
45
|
+
default: () => any[];
|
|
46
|
+
};
|
|
47
|
+
labelKey: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: () => string;
|
|
50
|
+
};
|
|
51
|
+
valKey: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: () => string;
|
|
54
|
+
};
|
|
55
|
+
multiple: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: () => boolean;
|
|
58
|
+
};
|
|
59
|
+
disableVal: {
|
|
60
|
+
type: ArrayConstructor;
|
|
61
|
+
default: () => any[];
|
|
62
|
+
};
|
|
63
|
+
size: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{
|
|
68
|
+
onChange?: (...args: any[]) => any;
|
|
69
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
70
|
+
onBlur?: (...args: any[]) => any;
|
|
71
|
+
onFocus?: (...args: any[]) => any;
|
|
72
|
+
onClear?: (...args: any[]) => any;
|
|
73
|
+
onVisibleChange?: (...args: any[]) => any;
|
|
74
|
+
onRemoveTag?: (...args: any[]) => any;
|
|
75
|
+
}>, {
|
|
76
|
+
size: string;
|
|
77
|
+
options: unknown[] | FastTableOption;
|
|
78
|
+
labelKey: string;
|
|
79
|
+
valKey: string;
|
|
80
|
+
disableVal: unknown[];
|
|
81
|
+
multiple: boolean;
|
|
82
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
83
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as FastTableOption } from '../../../model/fastTableOption.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
rows: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => any[];
|
|
6
|
+
};
|
|
7
|
+
columnConfigs: ObjectConstructor;
|
|
8
|
+
action: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: () => "view";
|
|
11
|
+
validator: (value: unknown) => boolean;
|
|
12
|
+
};
|
|
13
|
+
}>, {}, {
|
|
14
|
+
tableOption: FastTableOption;
|
|
15
|
+
checkedRows: any[];
|
|
16
|
+
}, {
|
|
17
|
+
columnProps(): any;
|
|
18
|
+
}, {
|
|
19
|
+
handleSelectionChange({ fatRows }: {
|
|
20
|
+
fatRows: any;
|
|
21
|
+
}): void;
|
|
22
|
+
handleRemove(): void;
|
|
23
|
+
getRows(): unknown[];
|
|
24
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
rows: {
|
|
26
|
+
type: ArrayConstructor;
|
|
27
|
+
default: () => any[];
|
|
28
|
+
};
|
|
29
|
+
columnConfigs: ObjectConstructor;
|
|
30
|
+
action: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: () => "view";
|
|
33
|
+
validator: (value: unknown) => boolean;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
rows: unknown[];
|
|
37
|
+
action: string;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { default as FastTableOption } from '../../../model/fastTableOption.js';
|
|
2
|
+
import { default as FilterComponentConfig } from '../../../model/filterComponentConfig.js';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
option: typeof FastTableOption;
|
|
5
|
+
filter: typeof FilterComponentConfig;
|
|
6
|
+
order: StringConstructor[];
|
|
7
|
+
conds: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => any[];
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {
|
|
12
|
+
localFilter: FilterComponentConfig;
|
|
13
|
+
asc: string | boolean;
|
|
14
|
+
reuseCond: boolean;
|
|
15
|
+
distinctLoaded: boolean;
|
|
16
|
+
distinctLoading: boolean;
|
|
17
|
+
distinctOptions: any[];
|
|
18
|
+
distinctOptionAsc: string;
|
|
19
|
+
distinctOptionFilterKeyword: any;
|
|
20
|
+
distinctCheckedValue: any[];
|
|
21
|
+
distinctAbortCtrl: any;
|
|
22
|
+
}, {
|
|
23
|
+
size(): string;
|
|
24
|
+
distinctOptionsAscIcon(): import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
distinctFilteredOptions(): any[];
|
|
26
|
+
}, {
|
|
27
|
+
distinctLoad(): void;
|
|
28
|
+
getEmpty(): void;
|
|
29
|
+
getNotEmpty(): void;
|
|
30
|
+
ok(): void;
|
|
31
|
+
close(): void;
|
|
32
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("cancel" | "ok")[], "cancel" | "ok", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
option: typeof FastTableOption;
|
|
34
|
+
filter: typeof FilterComponentConfig;
|
|
35
|
+
order: StringConstructor[];
|
|
36
|
+
conds: {
|
|
37
|
+
type: ArrayConstructor;
|
|
38
|
+
default: () => any[];
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{
|
|
41
|
+
onOk?: (...args: any[]) => any;
|
|
42
|
+
onCancel?: (...args: any[]) => any;
|
|
43
|
+
}>, {
|
|
44
|
+
conds: unknown[];
|
|
45
|
+
}, {}, {
|
|
46
|
+
FastCheckboxGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: ArrayConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
options: {
|
|
52
|
+
type: ArrayConstructor;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
labelKey: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: () => string;
|
|
58
|
+
};
|
|
59
|
+
valKey: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: () => string;
|
|
62
|
+
};
|
|
63
|
+
showChoseAll: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: () => boolean;
|
|
66
|
+
};
|
|
67
|
+
disableVal: {
|
|
68
|
+
type: ArrayConstructor;
|
|
69
|
+
default: () => any[];
|
|
70
|
+
};
|
|
71
|
+
size: StringConstructor;
|
|
72
|
+
}>, {}, {}, {
|
|
73
|
+
value: {
|
|
74
|
+
get(): unknown[];
|
|
75
|
+
set(val: any): void;
|
|
76
|
+
};
|
|
77
|
+
isIndeterminate(): boolean;
|
|
78
|
+
checkAll(): boolean;
|
|
79
|
+
}, {
|
|
80
|
+
handleCheckAllChange(val: any): void;
|
|
81
|
+
handleChange(val: any): void;
|
|
82
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
83
|
+
modelValue: {
|
|
84
|
+
type: ArrayConstructor;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
options: {
|
|
88
|
+
type: ArrayConstructor;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
labelKey: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: () => string;
|
|
94
|
+
};
|
|
95
|
+
valKey: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: () => string;
|
|
98
|
+
};
|
|
99
|
+
showChoseAll: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: () => boolean;
|
|
102
|
+
};
|
|
103
|
+
disableVal: {
|
|
104
|
+
type: ArrayConstructor;
|
|
105
|
+
default: () => any[];
|
|
106
|
+
};
|
|
107
|
+
size: StringConstructor;
|
|
108
|
+
}>> & Readonly<{
|
|
109
|
+
onChange?: (...args: any[]) => any;
|
|
110
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
111
|
+
}>, {
|
|
112
|
+
labelKey: string;
|
|
113
|
+
valKey: string;
|
|
114
|
+
showChoseAll: boolean;
|
|
115
|
+
disableVal: unknown[];
|
|
116
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
117
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
118
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
filters: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => any[];
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: () => string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {
|
|
11
|
+
Opt: Readonly<{
|
|
12
|
+
EQ: "=";
|
|
13
|
+
NE: "!=";
|
|
14
|
+
GT: ">";
|
|
15
|
+
GE: ">=";
|
|
16
|
+
LT: "<";
|
|
17
|
+
LE: "<=";
|
|
18
|
+
IN: "in";
|
|
19
|
+
NIN: "nin";
|
|
20
|
+
LIKE: "like";
|
|
21
|
+
LLIKE: "llike";
|
|
22
|
+
RLIKE: "rlike";
|
|
23
|
+
NLIKE: "nlike";
|
|
24
|
+
NULL: "null";
|
|
25
|
+
NNULL: "nnull";
|
|
26
|
+
EMPTY: "empty";
|
|
27
|
+
NEMPTY: "nempty";
|
|
28
|
+
BTW: "between";
|
|
29
|
+
}>;
|
|
30
|
+
}, {
|
|
31
|
+
Search(): import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
Close(): import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
allDisabled(): boolean;
|
|
34
|
+
}, {
|
|
35
|
+
ellipsis: (val: any, len: any) => string | any;
|
|
36
|
+
delConfig(index: any): void;
|
|
37
|
+
confirm(): void;
|
|
38
|
+
toggleFilter(filter: any): void;
|
|
39
|
+
clearFilters(): void;
|
|
40
|
+
toggleAllFilters(): void;
|
|
41
|
+
onChange(filter: any): void;
|
|
42
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "search"[], "search", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
43
|
+
filters: {
|
|
44
|
+
type: ArrayConstructor;
|
|
45
|
+
default: () => any[];
|
|
46
|
+
};
|
|
47
|
+
size: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: () => string;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
onSearch?: (...args: any[]) => any;
|
|
53
|
+
}>, {
|
|
54
|
+
size: string;
|
|
55
|
+
filters: unknown[];
|
|
56
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
export default _default;
|