@cloudbase/weda-ui 3.9.7 → 3.10.0
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/dist/configs/components/dataView.d.ts +31 -0
- package/dist/configs/components/dataView.js +53 -16
- package/dist/configs/components/grid/col.d.ts +1 -1
- package/dist/configs/components/grid/col.js +1 -1
- package/dist/configs/components/grid/grid.d.ts +1 -1
- package/dist/configs/components/grid/grid.js +1 -1
- package/dist/configs/components/grid/row.d.ts +1 -1
- package/dist/configs/components/grid/row.js +1 -1
- package/dist/configs/components/listView.d.ts +148 -444
- package/dist/configs/components/listView.js +991 -703
- package/dist/configs/components/wd-bubble.d.ts +6 -6
- package/dist/configs/components/wd-cascader.d.ts +1 -1
- package/dist/configs/components/wd-checkbox.d.ts +1 -1
- package/dist/configs/components/wd-code-editor.d.ts +1 -1
- package/dist/configs/components/wd-date-range.d.ts +1 -1
- package/dist/configs/components/wd-date.d.ts +1 -1
- package/dist/configs/components/wd-department.d.ts +1 -1
- package/dist/configs/components/wd-form-arr.d.ts +1 -1
- package/dist/configs/components/wd-form-detail.d.ts +1 -1
- package/dist/configs/components/wd-form-obj.d.ts +1 -1
- package/dist/configs/components/wd-form.js +2 -1
- package/dist/configs/components/wd-input-email.d.ts +4 -3
- package/dist/configs/components/wd-input-number.d.ts +2 -2
- package/dist/configs/components/wd-input-phone.d.ts +4 -3
- package/dist/configs/components/wd-input-url.d.ts +4 -3
- package/dist/configs/components/wd-input.d.ts +3 -1
- package/dist/configs/components/wd-location.d.ts +1 -1
- package/dist/configs/components/wd-member.d.ts +1 -1
- package/dist/configs/components/wd-modal.js +2 -0
- package/dist/configs/components/wd-progress.d.ts +2 -2
- package/dist/configs/components/wd-radio.d.ts +1 -1
- package/dist/configs/components/wd-rating.d.ts +2 -2
- package/dist/configs/components/wd-region.d.ts +1 -1
- package/dist/configs/components/wd-rich-text.d.ts +1 -1
- package/dist/configs/components/wd-select-multiple.d.ts +18 -1
- package/dist/configs/components/wd-select-multiple.js +17 -1
- package/dist/configs/components/wd-select.d.ts +18 -1
- package/dist/configs/components/wd-select.js +16 -0
- package/dist/configs/components/wd-side-tab.d.ts +12 -0
- package/dist/configs/components/wd-side-tab.js +47 -3
- package/dist/configs/components/wd-switch.d.ts +2 -2
- package/dist/configs/components/wd-table.d.ts +4 -4
- package/dist/configs/components/wd-table.js +2 -1
- package/dist/configs/components/wd-tag-select.d.ts +3 -3
- package/dist/configs/components/wd-tag.d.ts +21 -21
- package/dist/configs/components/wd-textarea.d.ts +8 -1
- package/dist/configs/components/wd-textarea.js +1 -0
- package/dist/configs/components/wd-time.d.ts +1 -1
- package/dist/configs/components/wd-top-tab.d.ts +12 -0
- package/dist/configs/components/wd-top-tab.js +47 -3
- package/dist/configs/components/wd-upload-file.d.ts +5 -1
- package/dist/configs/components/wd-upload-file.js +15 -0
- package/dist/configs/components/wd-upload-image.d.ts +1 -1
- package/dist/configs/index.d.ts +883 -1407
- package/dist/configs/type-utils/index.d.ts +1 -1
- package/dist/configs/type-utils/type-form.d.ts +29 -14
- package/dist/configs/type-utils/type-form.js +43 -10
- package/dist/configs/type-utils/x-runtime-default.d.ts +6 -0
- package/dist/configs/type-utils/x-runtime-default.js +6 -0
- package/dist/configs/utils/constants.d.ts +2 -0
- package/dist/configs/utils/constants.js +3 -0
- package/dist/configs/utils/get-combinations.d.ts +1 -0
- package/dist/configs/utils/get-combinations.js +13 -0
- package/dist/style/components/grid/grid.css +1288 -0
- package/dist/style/index.css +10478 -0
- package/dist/style/index.scss +1 -1
- package/dist/style/weda-ui.min.css +4 -0
- package/dist/web/actions/showMessage/index.js +5 -0
- package/dist/web/components/carousel/index.js +5 -0
- package/dist/web/components/chart/common/core/eChartBase.js +5 -0
- package/dist/web/components/chart/statisticsCard/index.js +6 -1
- package/dist/web/components/form/form/index.js +9 -1
- package/dist/web/components/form/location/common/mapChoose.js +17 -3
- package/dist/web/components/form/location/common/mapView.js +18 -5
- package/dist/web/components/form/select/dropdown-select/h5.d.ts +3 -1
- package/dist/web/components/form/select/dropdown-select/h5.js +20 -20
- package/dist/web/components/form/select/dropdown-select/index.css +8 -0
- package/dist/web/components/form/select/dropdown-select/index.d.ts +6 -1
- package/dist/web/components/form/select/dropdown-select/index.js +64 -30
- package/dist/web/components/form/select/dropdown-select/pc.d.ts +2 -1
- package/dist/web/components/form/select/dropdown-select/pc.js +3 -3
- package/dist/web/components/form/select/dropdown-select/ui.d.ts +5 -0
- package/dist/web/components/form/select/dropdown-select/ui.js +8 -4
- package/dist/web/components/form/select/formats-util.d.ts +1 -0
- package/dist/web/components/form/select/formats-util.js +8 -0
- package/dist/web/components/form/select/h5.d.ts +1 -1
- package/dist/web/components/form/select/h5.js +6 -3
- package/dist/web/components/form/select/index.css +34 -3
- package/dist/web/components/form/select/index.d.ts +3 -0
- package/dist/web/components/form/select/index.js +6 -3
- package/dist/web/components/form/select/region/index.js +5 -1
- package/dist/web/components/form/select/request.js +2 -1
- package/dist/web/components/form/select/status/index.d.ts +2 -0
- package/dist/web/components/form/select/status/index.js +2 -0
- package/dist/web/components/form/selectMultiple/dropdown-select/h5.d.ts +3 -1
- package/dist/web/components/form/selectMultiple/dropdown-select/h5.js +31 -31
- package/dist/web/components/form/selectMultiple/dropdown-select/index.css +23 -0
- package/dist/web/components/form/selectMultiple/dropdown-select/index.d.ts +6 -1
- package/dist/web/components/form/selectMultiple/dropdown-select/index.js +58 -24
- package/dist/web/components/form/selectMultiple/dropdown-select/pc.d.ts +2 -1
- package/dist/web/components/form/selectMultiple/dropdown-select/pc.js +2 -2
- package/dist/web/components/form/selectMultiple/dropdown-select/ui.d.ts +5 -0
- package/dist/web/components/form/selectMultiple/dropdown-select/ui.js +7 -5
- package/dist/web/components/form/selectMultiple/h5.d.ts +1 -1
- package/dist/web/components/form/selectMultiple/h5.js +6 -3
- package/dist/web/components/form/selectMultiple/index.d.ts +5 -0
- package/dist/web/components/form/selectMultiple/index.js +7 -4
- package/dist/web/components/form/selectMultiple/request.js +2 -1
- package/dist/web/components/form/selectMultiple/status/index.d.ts +2 -0
- package/dist/web/components/form/selectMultiple/status/index.js +2 -0
- package/dist/web/components/form/uploader/index.css +26 -0
- package/dist/web/components/form/uploader/uploader.h5.d.ts +11 -3
- package/dist/web/components/form/uploader/uploader.h5.js +32 -96
- package/dist/web/components/form/uploader/uploader.pc.d.ts +9 -1
- package/dist/web/components/form/uploader/uploader.pc.js +36 -100
- package/dist/web/components/form/uploader/useUploadFile.d.ts +16 -0
- package/dist/web/components/form/uploader/useUploadFile.js +99 -0
- package/dist/web/components/form/uploader/util.d.ts +2 -0
- package/dist/web/components/form/uploader/util.js +87 -0
- package/dist/web/components/form/uploaderFile/uploadFile.h5.d.ts +2 -1
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +14 -4
- package/dist/web/components/form/uploaderFile/uploadFile.pc.d.ts +2 -1
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +21 -5
- package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-model.js +5 -0
- package/dist/web/components/form/userOrgSelect/component/userOrgSelect.css +8 -0
- package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +6 -0
- package/dist/web/components/form-date/index.d.ts +9 -10
- package/dist/web/components/form-depart-tree-select/index.d.ts +8 -8
- package/dist/web/components/form-email/index.d.ts +12 -19
- package/dist/web/components/form-image-uploader/index.d.ts +10 -13
- package/dist/web/components/form-input/index.d.ts +4 -4
- package/dist/web/components/form-input-hooks/index.js +7 -1
- package/dist/web/components/form-location/index.d.ts +8 -7
- package/dist/web/components/form-multi-region/index.d.ts +9 -10
- package/dist/web/components/form-phone/index.d.ts +12 -19
- package/dist/web/components/form-radio/index.d.ts +7 -6
- package/dist/web/components/form-region/index.d.ts +9 -10
- package/dist/web/components/form-rich-text/index.d.ts +8 -9
- package/dist/web/components/form-select/index.d.ts +12 -16
- package/dist/web/components/form-select-multiple/index.d.ts +9 -10
- package/dist/web/components/form-switch/index.d.ts +8 -7
- package/dist/web/components/form-text-area/index.d.ts +12 -19
- package/dist/web/components/form-time/index.d.ts +9 -10
- package/dist/web/components/form-upload-file/index.d.ts +10 -13
- package/dist/web/components/form-url/index.d.ts +12 -19
- package/dist/web/components/form-user-tree-select/index.d.ts +8 -8
- package/dist/web/components/grid/col.d.ts +6 -9
- package/dist/web/components/grid/grid.d.ts +6 -14
- package/dist/web/components/grid/row.d.ts +6 -12
- package/dist/web/components/listView/index.d.ts +21 -2
- package/dist/web/components/listView/index.js +0 -3
- package/dist/web/components/listView/interface.d.ts +4 -4
- package/dist/web/components/lottery/index.d.ts +13 -15
- package/dist/web/components/navigationBar/index.css +2 -1
- package/dist/web/components/richText/index.js +6 -0
- package/dist/web/components/richTextView/useImgTransform.js +6 -1
- package/dist/web/components/table/ImportFileModalByApi/index.js +6 -1
- package/dist/web/components/table/ImportFileModalByApi/uploadCSVFile.js +6 -1
- package/dist/web/components/wd-audio/wd-audio.js +5 -0
- package/dist/web/components/wd-canvas/wd-canvas.js +6 -1
- package/dist/web/components/wd-code-editor/wd-code-editor.js +7 -2
- package/dist/web/components/wd-date/elements/WheelPicker.js +7 -1
- package/dist/web/components/wd-form/index.d.ts +26 -40
- package/dist/web/components/wd-form/index.js +9 -2
- package/dist/web/components/wd-form-item/wd-form-item-read-only.d.ts +2 -0
- package/dist/web/components/wd-form-item/wd-form-item-read-only.js +15 -2
- package/dist/web/components/wd-form-item/wd-form-item.js +4 -3
- package/dist/web/components/wd-input/wd-input.d.ts +20 -42
- package/dist/web/components/wd-input-email/wd-input-email.d.ts +19 -41
- package/dist/web/components/wd-input-phone/wd-input-phone.d.ts +20 -42
- package/dist/web/components/wd-input-url/wd-input-url.d.ts +19 -41
- package/dist/web/components/wd-markdown/wd-markdown.js +5 -2
- package/dist/web/components/wd-select/relationalSetting.d.ts +7 -0
- package/dist/web/components/wd-select/relationalSetting.js +15 -0
- package/dist/web/components/wd-select/wd-select.css +43 -0
- package/dist/web/components/wd-select/wd-select.d.ts +2 -0
- package/dist/web/components/wd-select/wd-select.js +25 -6
- package/dist/web/components/wd-select-multiple/wd-select-multiple.css +4 -0
- package/dist/web/components/wd-select-multiple/wd-select-multiple.d.ts +6 -0
- package/dist/web/components/wd-select-multiple/wd-select-multiple.js +25 -6
- package/dist/web/components/wd-table/components/FieldRender/Form/Enum.js +18 -4
- package/dist/web/components/wd-table/components/FieldRender/index.js +34 -5
- package/dist/web/components/wd-table/utils/index.js +18 -4
- package/dist/web/components/wd-tabs/tabs-h5.js +2 -3
- package/dist/web/components/wd-tabs/tabs-pc.js +2 -3
- package/dist/web/components/wd-tabs/util.d.ts +1 -0
- package/dist/web/components/wd-tabs/util.js +21 -0
- package/dist/web/components/wd-textarea/wd-textarea.js +11 -1
- package/dist/web/components/wd-unified-link/utils.js +1 -1
- package/dist/web/components/wd-upload-file/wd-upload-file.js +2 -2
- package/dist/web/components/web-view/web-view.d.ts +14 -20
- package/dist/web/utils/color.js +5 -0
- package/dist/web/utils/datasource.js +30 -20
- package/dist/web/utils/error.d.ts +3 -1
- package/dist/web/utils/error.js +9 -4
- package/dist/web/utils/file.js +4 -1
- package/dist/web/utils/getModelParams.js +27 -2
- package/dist/web/utils/hooks/EnumHoc.js +3 -1
- package/dist/web/utils/hooks/useRecycle.d.ts +4 -0
- package/dist/web/utils/loadIconCss.js +2 -1
- package/dist/web/utils/moment.js +2 -1
- package/dist/web/utils/platform.js +5 -2
- package/dist/web/utils/tcb.js +5 -3
- package/dist/web/weda-ui.css +8 -4
- package/package.json +8 -3
|
@@ -1,449 +1,110 @@
|
|
|
1
|
+
import { Static } from '../type-utils';
|
|
2
|
+
import type { Simplify } from 'type-fest';
|
|
3
|
+
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
|
+
template: import("@sinclair/typebox").TUnsafe<string>;
|
|
5
|
+
dataSourceType: import("@sinclair/typebox").TUnsafe<string>;
|
|
6
|
+
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
7
|
+
name: import("@sinclair/typebox").TString;
|
|
8
|
+
extra: import("@sinclair/typebox").TObject<{
|
|
9
|
+
viewId: import("@sinclair/typebox").TString;
|
|
10
|
+
methodName: import("@sinclair/typebox").TString;
|
|
11
|
+
}>;
|
|
12
|
+
}>>;
|
|
13
|
+
bindConnectMetadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
14
|
+
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
15
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
|
+
id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
|
+
}>>;
|
|
19
|
+
}>>;
|
|
20
|
+
dataSourceData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
21
|
+
exprToFieldsSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
22
|
+
connectorMethod: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
23
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
|
+
outParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
26
|
+
inParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
27
|
+
}>>;
|
|
28
|
+
connectorParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
|
|
29
|
+
queryCondition: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
30
|
+
orderBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
|
+
orderType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
32
|
+
isSupportMultipleSort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33
|
+
sorter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
34
|
+
orderBy: import("@sinclair/typebox").TString;
|
|
35
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
|
+
orderType: import("@sinclair/typebox").TUnsafe<string>;
|
|
37
|
+
}>>>;
|
|
38
|
+
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
39
|
+
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
40
|
+
pagination: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
41
|
+
loadButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
42
|
+
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
43
|
+
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
44
|
+
enableTotal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
45
|
+
total: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
46
|
+
emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
47
|
+
loadCompletedText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
48
|
+
isSetLoading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
49
|
+
isSetStatus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
50
|
+
loading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
51
|
+
isSupportApis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
52
|
+
supportManyRelated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
53
|
+
}>;
|
|
54
|
+
export type DataType = Simplify<Static<typeof data>>;
|
|
1
55
|
declare const _default: {
|
|
2
56
|
$schema: string;
|
|
3
|
-
data: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
'x-component-props': string;
|
|
55
|
-
};
|
|
56
|
-
condition?: undefined;
|
|
57
|
-
state?: undefined;
|
|
58
|
-
otherwise?: undefined;
|
|
59
|
-
} | {
|
|
60
|
-
type: string;
|
|
61
|
-
target: string;
|
|
62
|
-
schema: {
|
|
63
|
-
'x-component-props': {
|
|
64
|
-
connector: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
condition?: undefined;
|
|
68
|
-
state?: undefined;
|
|
69
|
-
otherwise?: undefined;
|
|
70
|
-
})[];
|
|
71
|
-
'x-component': string;
|
|
72
|
-
'x-component-props': {
|
|
73
|
-
defaultValue: string;
|
|
74
|
-
options: {
|
|
75
|
-
value: string;
|
|
76
|
-
text: string;
|
|
77
|
-
label: string;
|
|
78
|
-
icon: string;
|
|
79
|
-
isShow: boolean;
|
|
80
|
-
}[];
|
|
81
|
-
};
|
|
82
|
-
'x-props': {
|
|
83
|
-
'data-hidebind': boolean;
|
|
84
|
-
};
|
|
85
|
-
description: string;
|
|
86
|
-
};
|
|
87
|
-
datasource: {
|
|
88
|
-
'x-index': number;
|
|
89
|
-
title: string;
|
|
90
|
-
type: string;
|
|
91
|
-
'x-group': string;
|
|
92
|
-
required: boolean;
|
|
93
|
-
properties: {
|
|
94
|
-
name: {
|
|
95
|
-
title: string;
|
|
96
|
-
type: string;
|
|
97
|
-
};
|
|
98
|
-
extra: {
|
|
99
|
-
title: string;
|
|
100
|
-
type: string;
|
|
101
|
-
properties: {
|
|
102
|
-
viewId: {
|
|
103
|
-
title: string;
|
|
104
|
-
type: string;
|
|
105
|
-
};
|
|
106
|
-
methodName: {
|
|
107
|
-
title: string;
|
|
108
|
-
type: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
'x-component': string;
|
|
114
|
-
'x-component-props': {
|
|
115
|
-
dataContainerType: string;
|
|
116
|
-
methodName: string;
|
|
117
|
-
};
|
|
118
|
-
'x-props': {
|
|
119
|
-
'data-hidebind': boolean;
|
|
120
|
-
};
|
|
121
|
-
'x-linkages': ({
|
|
122
|
-
type: string;
|
|
123
|
-
target: string;
|
|
124
|
-
schema: {
|
|
125
|
-
'x-component-props': string;
|
|
126
|
-
enum?: undefined;
|
|
127
|
-
'x-props'?: undefined;
|
|
128
|
-
};
|
|
129
|
-
condition?: undefined;
|
|
130
|
-
state?: undefined;
|
|
131
|
-
} | {
|
|
132
|
-
type: string;
|
|
133
|
-
condition: string;
|
|
134
|
-
target: string;
|
|
135
|
-
schema: {
|
|
136
|
-
enum: string;
|
|
137
|
-
'x-component-props'?: undefined;
|
|
138
|
-
'x-props'?: undefined;
|
|
139
|
-
};
|
|
140
|
-
state?: undefined;
|
|
141
|
-
} | {
|
|
142
|
-
type: string;
|
|
143
|
-
condition: string;
|
|
144
|
-
target: string;
|
|
145
|
-
state: {
|
|
146
|
-
value: string;
|
|
147
|
-
};
|
|
148
|
-
schema?: undefined;
|
|
149
|
-
} | {
|
|
150
|
-
type: string;
|
|
151
|
-
condition: string;
|
|
152
|
-
target: string;
|
|
153
|
-
schema: {
|
|
154
|
-
'x-component-props': string;
|
|
155
|
-
enum?: undefined;
|
|
156
|
-
'x-props'?: undefined;
|
|
157
|
-
};
|
|
158
|
-
state?: undefined;
|
|
159
|
-
} | {
|
|
160
|
-
type: string;
|
|
161
|
-
condition: string;
|
|
162
|
-
target: string;
|
|
163
|
-
schema: {
|
|
164
|
-
'x-props': string;
|
|
165
|
-
'x-component-props'?: undefined;
|
|
166
|
-
enum?: undefined;
|
|
167
|
-
};
|
|
168
|
-
state?: undefined;
|
|
169
|
-
} | {
|
|
170
|
-
type: string;
|
|
171
|
-
target: string;
|
|
172
|
-
schema: {
|
|
173
|
-
'x-component-props': {
|
|
174
|
-
dataSourceName: string;
|
|
175
|
-
};
|
|
176
|
-
enum?: undefined;
|
|
177
|
-
'x-props'?: undefined;
|
|
178
|
-
};
|
|
179
|
-
condition?: undefined;
|
|
180
|
-
state?: undefined;
|
|
181
|
-
})[];
|
|
182
|
-
description: string;
|
|
183
|
-
};
|
|
184
|
-
bindConnectMetadata: {
|
|
185
|
-
title: string;
|
|
186
|
-
type: string;
|
|
187
|
-
'x-component': string;
|
|
188
|
-
'x-index': number;
|
|
189
|
-
'x-group': string;
|
|
190
|
-
required: boolean;
|
|
191
|
-
'x-linkages': {
|
|
192
|
-
type: string;
|
|
193
|
-
target: string;
|
|
194
|
-
schema: {
|
|
195
|
-
'x-component-props': {
|
|
196
|
-
value: string;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
}[];
|
|
200
|
-
'x-props': {
|
|
201
|
-
'data-hidebind': boolean;
|
|
202
|
-
};
|
|
203
|
-
description: string;
|
|
204
|
-
};
|
|
205
|
-
dataSourceData: {
|
|
206
|
-
title: string;
|
|
207
|
-
type: string;
|
|
208
|
-
required: boolean;
|
|
209
|
-
description: string;
|
|
210
|
-
'x-component': string;
|
|
211
|
-
'x-helper-text': string;
|
|
212
|
-
'x-group': string;
|
|
213
|
-
'x-index': number;
|
|
214
|
-
};
|
|
215
|
-
exprToFieldsSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
216
|
-
connectorMethod: {
|
|
217
|
-
title: string;
|
|
218
|
-
type: string;
|
|
219
|
-
'x-component': string;
|
|
220
|
-
'x-index': number;
|
|
221
|
-
'x-group': string;
|
|
222
|
-
required: boolean;
|
|
223
|
-
'x-component-props': {
|
|
224
|
-
paramsSchema: {
|
|
225
|
-
type: string;
|
|
226
|
-
properties: {
|
|
227
|
-
outParams: {
|
|
228
|
-
type: string;
|
|
229
|
-
properties: {
|
|
230
|
-
properties: {
|
|
231
|
-
type: string;
|
|
232
|
-
properties: {
|
|
233
|
-
records: {
|
|
234
|
-
type: string;
|
|
235
|
-
properties: {
|
|
236
|
-
type: {
|
|
237
|
-
const: string;
|
|
238
|
-
};
|
|
239
|
-
items: {
|
|
240
|
-
type: string;
|
|
241
|
-
properties: {
|
|
242
|
-
type: {
|
|
243
|
-
const: string;
|
|
244
|
-
};
|
|
245
|
-
properties: {
|
|
246
|
-
type: string;
|
|
247
|
-
properties: {
|
|
248
|
-
_id: {
|
|
249
|
-
type: string;
|
|
250
|
-
properties: {
|
|
251
|
-
type: {
|
|
252
|
-
const: string;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
required: string[];
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
|
-
docUrl: string;
|
|
270
|
-
};
|
|
271
|
-
'x-props': {
|
|
272
|
-
'data-hidebind': boolean;
|
|
273
|
-
};
|
|
274
|
-
'x-helper-text': string;
|
|
275
|
-
'x-helper-text-color': string;
|
|
276
|
-
description: string;
|
|
277
|
-
};
|
|
278
|
-
connectorParams: {
|
|
279
|
-
title: string;
|
|
280
|
-
type: string;
|
|
281
|
-
'x-index': number;
|
|
282
|
-
'x-group': string;
|
|
283
|
-
description: string;
|
|
284
|
-
'x-component': string;
|
|
285
|
-
'x-component-props': {
|
|
286
|
-
dataSourceKeyName: string;
|
|
287
|
-
dataSourceValuePath: string;
|
|
288
|
-
methodNameKeyName: string;
|
|
289
|
-
methodValuePath: string;
|
|
290
|
-
paramsKeyName: string;
|
|
291
|
-
};
|
|
292
|
-
'x-helper-text': string;
|
|
293
|
-
};
|
|
294
|
-
queryCondition: {
|
|
295
|
-
'x-index': number;
|
|
296
|
-
title: string;
|
|
297
|
-
'x-group': string;
|
|
298
|
-
type: string;
|
|
299
|
-
items: {};
|
|
300
|
-
'x-component': string;
|
|
301
|
-
'x-component-props': {
|
|
302
|
-
propertyPath: string;
|
|
303
|
-
dataSourcePath: string;
|
|
304
|
-
preWherePath: string;
|
|
305
|
-
};
|
|
306
|
-
'x-props': {
|
|
307
|
-
'data-hidebind': boolean;
|
|
308
|
-
'data-hideBindValue': boolean;
|
|
309
|
-
'data-withBindMeta': boolean;
|
|
310
|
-
};
|
|
311
|
-
description: string;
|
|
312
|
-
};
|
|
313
|
-
orderBy: {
|
|
314
|
-
'x-index': number;
|
|
315
|
-
title: string;
|
|
316
|
-
'x-group': string;
|
|
317
|
-
type: string;
|
|
318
|
-
'x-linkages': {
|
|
319
|
-
type: string;
|
|
320
|
-
condition: string;
|
|
321
|
-
target: string;
|
|
322
|
-
schema: {
|
|
323
|
-
'x-props': string;
|
|
324
|
-
};
|
|
325
|
-
}[];
|
|
326
|
-
description: string;
|
|
327
|
-
};
|
|
328
|
-
orderType: {
|
|
329
|
-
'x-index': number;
|
|
330
|
-
title: string;
|
|
331
|
-
'x-group': string;
|
|
332
|
-
default: string;
|
|
333
|
-
type: string;
|
|
334
|
-
enum: {
|
|
335
|
-
label: string;
|
|
336
|
-
value: string;
|
|
337
|
-
}[];
|
|
338
|
-
'x-linkages': {
|
|
339
|
-
type: string;
|
|
340
|
-
condition: string;
|
|
341
|
-
target: string;
|
|
342
|
-
schema: {
|
|
343
|
-
'x-props': string;
|
|
344
|
-
};
|
|
345
|
-
}[];
|
|
346
|
-
description: string;
|
|
347
|
-
};
|
|
348
|
-
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
349
|
-
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
350
|
-
pagination: {
|
|
351
|
-
'x-index': number;
|
|
352
|
-
title: string;
|
|
353
|
-
type: string;
|
|
354
|
-
'x-group': string;
|
|
355
|
-
default: string;
|
|
356
|
-
enum: {
|
|
357
|
-
label: string;
|
|
358
|
-
value: string;
|
|
359
|
-
}[];
|
|
360
|
-
'x-props': {
|
|
361
|
-
'data-hidebind': boolean;
|
|
362
|
-
};
|
|
363
|
-
'x-linkages': {
|
|
364
|
-
type: string;
|
|
365
|
-
target: string;
|
|
366
|
-
condition: string;
|
|
367
|
-
}[];
|
|
368
|
-
description: string;
|
|
369
|
-
};
|
|
370
|
-
loadButtonText: {
|
|
371
|
-
'x-index': number;
|
|
372
|
-
title: string;
|
|
373
|
-
type: string;
|
|
374
|
-
default: string;
|
|
375
|
-
'x-group': string;
|
|
376
|
-
};
|
|
377
|
-
pageSize: {
|
|
378
|
-
'x-index': number;
|
|
379
|
-
title: string;
|
|
380
|
-
type: string;
|
|
381
|
-
default: number;
|
|
382
|
-
'x-group': string;
|
|
383
|
-
'x-props': {
|
|
384
|
-
min: number;
|
|
385
|
-
};
|
|
386
|
-
description: string;
|
|
387
|
-
display: boolean;
|
|
388
|
-
};
|
|
389
|
-
pageIndex: {
|
|
390
|
-
'x-index': number;
|
|
391
|
-
title: string;
|
|
392
|
-
type: string;
|
|
393
|
-
default: number;
|
|
394
|
-
'x-group': string;
|
|
395
|
-
'x-props': {
|
|
396
|
-
min: number;
|
|
397
|
-
};
|
|
398
|
-
description: string;
|
|
399
|
-
display: boolean;
|
|
400
|
-
};
|
|
401
|
-
enableTotal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
402
|
-
total: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
403
|
-
emptyText: {
|
|
404
|
-
'x-index': number;
|
|
405
|
-
type: string;
|
|
406
|
-
title: string;
|
|
407
|
-
'x-group': string;
|
|
408
|
-
default: string;
|
|
409
|
-
description: string;
|
|
410
|
-
};
|
|
411
|
-
loadCompletedText: {
|
|
412
|
-
'x-index': number;
|
|
413
|
-
title: string;
|
|
414
|
-
'x-group': string;
|
|
415
|
-
type: string;
|
|
416
|
-
default: string;
|
|
417
|
-
description: string;
|
|
418
|
-
};
|
|
419
|
-
isSetLoading: {
|
|
420
|
-
'x-index': number;
|
|
421
|
-
title: string;
|
|
422
|
-
'x-group': string;
|
|
423
|
-
type: string;
|
|
424
|
-
'x-runtime-default': boolean;
|
|
425
|
-
description: string;
|
|
426
|
-
};
|
|
427
|
-
isSetStatus: {
|
|
428
|
-
'x-index': number;
|
|
429
|
-
title: string;
|
|
430
|
-
'x-group': string;
|
|
431
|
-
type: string;
|
|
432
|
-
'x-runtime-default': boolean;
|
|
433
|
-
description: string;
|
|
434
|
-
};
|
|
435
|
-
loading: {
|
|
436
|
-
'x-index': number;
|
|
437
|
-
title: string;
|
|
438
|
-
'x-group': string;
|
|
439
|
-
type: string;
|
|
440
|
-
'x-runtime-default': boolean;
|
|
441
|
-
description: string;
|
|
442
|
-
};
|
|
443
|
-
isSupportApis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
444
|
-
supportManyRelated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
445
|
-
};
|
|
446
|
-
};
|
|
57
|
+
data: import("@sinclair/typebox").TObject<{
|
|
58
|
+
template: import("@sinclair/typebox").TUnsafe<string>;
|
|
59
|
+
dataSourceType: import("@sinclair/typebox").TUnsafe<string>;
|
|
60
|
+
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
61
|
+
name: import("@sinclair/typebox").TString;
|
|
62
|
+
extra: import("@sinclair/typebox").TObject<{
|
|
63
|
+
viewId: import("@sinclair/typebox").TString;
|
|
64
|
+
methodName: import("@sinclair/typebox").TString;
|
|
65
|
+
}>;
|
|
66
|
+
}>>;
|
|
67
|
+
bindConnectMetadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
68
|
+
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
69
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
70
|
+
id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
71
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
|
+
}>>;
|
|
73
|
+
}>>;
|
|
74
|
+
dataSourceData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
75
|
+
exprToFieldsSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
76
|
+
connectorMethod: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
77
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
78
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
79
|
+
outParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
80
|
+
inParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
81
|
+
}>>;
|
|
82
|
+
connectorParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
|
|
83
|
+
queryCondition: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
84
|
+
orderBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
85
|
+
orderType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
86
|
+
isSupportMultipleSort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
87
|
+
sorter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
88
|
+
orderBy: import("@sinclair/typebox").TString;
|
|
89
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
90
|
+
orderType: import("@sinclair/typebox").TUnsafe<string>;
|
|
91
|
+
}>>>;
|
|
92
|
+
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
93
|
+
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
94
|
+
pagination: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
95
|
+
loadButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
96
|
+
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
97
|
+
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
98
|
+
enableTotal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
99
|
+
total: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
100
|
+
emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
101
|
+
loadCompletedText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
102
|
+
isSetLoading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
103
|
+
isSetStatus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
104
|
+
loading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
105
|
+
isSupportApis: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
106
|
+
supportManyRelated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
107
|
+
}>;
|
|
447
108
|
events: ({
|
|
448
109
|
name: string;
|
|
449
110
|
title: string;
|
|
@@ -583,6 +244,49 @@ declare const _default: {
|
|
|
583
244
|
expand: boolean;
|
|
584
245
|
};
|
|
585
246
|
};
|
|
247
|
+
queryGeneratorConfig: {
|
|
248
|
+
sceneConfig: {
|
|
249
|
+
scenes: string[];
|
|
250
|
+
availableScenes: string[];
|
|
251
|
+
validCombinations: string[][];
|
|
252
|
+
enableSelectMultiple: boolean;
|
|
253
|
+
};
|
|
254
|
+
fieldsConfig: {
|
|
255
|
+
enableConfigFormat: boolean;
|
|
256
|
+
showFieldTypeColumn: boolean;
|
|
257
|
+
};
|
|
258
|
+
apisConfig: {
|
|
259
|
+
enableConfigRecordAndTotalKey: boolean;
|
|
260
|
+
};
|
|
261
|
+
mysqlConfig: {
|
|
262
|
+
autoGenerateCountQuery: boolean;
|
|
263
|
+
countName: string;
|
|
264
|
+
};
|
|
265
|
+
bindParamsPath: {
|
|
266
|
+
select: {
|
|
267
|
+
condition: string;
|
|
268
|
+
};
|
|
269
|
+
batchSelect: {
|
|
270
|
+
limit: string;
|
|
271
|
+
offset: string;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
quickOperateButton: {
|
|
275
|
+
icon: string;
|
|
276
|
+
targetField: string;
|
|
277
|
+
content: string;
|
|
278
|
+
}[];
|
|
279
|
+
};
|
|
280
|
+
previewOperation: {
|
|
281
|
+
headerIcon: string;
|
|
282
|
+
insertSlotName: string;
|
|
283
|
+
previewSlotName: string;
|
|
284
|
+
operation: {
|
|
285
|
+
icon: string;
|
|
286
|
+
title: string;
|
|
287
|
+
action: string;
|
|
288
|
+
}[];
|
|
289
|
+
};
|
|
586
290
|
};
|
|
587
291
|
};
|
|
588
292
|
export default _default;
|