@cloudbase/weda-ui 3.5.1 → 3.5.2
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/README.md +3 -0
- package/dist/configs/components/button.d.ts +12 -12
- package/dist/configs/components/calendar.d.ts +26 -0
- package/dist/configs/components/calendar.js +80 -0
- package/dist/configs/components/carousel.json +1 -4
- package/dist/configs/components/chart/line.d.ts +28 -28
- package/dist/configs/components/common/form-input-required.d.ts +1 -1
- package/dist/configs/components/container.d.ts +1 -1
- package/dist/configs/components/customer-service.d.ts +10 -34
- package/dist/configs/components/customer-service.js +91 -92
- package/dist/configs/components/dataView.d.ts +21 -3
- package/dist/configs/components/dataView.js +165 -16
- package/dist/configs/components/echart.d.ts +4 -4
- package/dist/configs/components/form-checkbox.d.ts +18 -18
- package/dist/configs/components/form-checkbox.js +0 -4
- package/dist/configs/components/form-date.d.ts +14 -14
- package/dist/configs/components/form-date.js +0 -4
- package/dist/configs/components/form-depart-tree-select.d.ts +17 -14
- package/dist/configs/components/form-depart-tree-select.js +1 -4
- package/dist/configs/components/form-email.d.ts +10 -10
- package/dist/configs/components/form-email.js +0 -4
- package/dist/configs/components/form-image-uploader.d.ts +11 -8
- package/dist/configs/components/form-image-uploader.js +1 -4
- package/dist/configs/components/form-input.d.ts +16 -16
- package/dist/configs/components/form-input.js +0 -10
- package/dist/configs/components/form-location.d.ts +21 -12
- package/dist/configs/components/form-location.js +1 -4
- package/dist/configs/components/form-multi-region.d.ts +13 -10
- package/dist/configs/components/form-multi-region.js +1 -4
- package/dist/configs/components/form-phone.d.ts +10 -10
- package/dist/configs/components/form-phone.js +0 -4
- package/dist/configs/components/form-radio.d.ts +18 -18
- package/dist/configs/components/form-radio.js +0 -4
- package/dist/configs/components/form-region.d.ts +12 -12
- package/dist/configs/components/form-region.js +0 -4
- package/dist/configs/components/form-rich-text.d.ts +11 -8
- package/dist/configs/components/form-rich-text.js +1 -4
- package/dist/configs/components/form-select-multiple.d.ts +27 -24
- package/dist/configs/components/form-select-multiple.js +1 -4
- package/dist/configs/components/form-select.d.ts +27 -24
- package/dist/configs/components/form-select.js +1 -4
- package/dist/configs/components/form-switch.d.ts +6 -6
- package/dist/configs/components/form-switch.js +0 -4
- package/dist/configs/components/form-text-area.d.ts +10 -10
- package/dist/configs/components/form-text-area.js +0 -4
- package/dist/configs/components/form-time.d.ts +17 -14
- package/dist/configs/components/form-time.js +1 -4
- package/dist/configs/components/form-upload-file.d.ts +13 -10
- package/dist/configs/components/form-upload-file.js +1 -4
- package/dist/configs/components/form-url.d.ts +10 -10
- package/dist/configs/components/form-url.js +0 -4
- package/dist/configs/components/form-user-tree-select.d.ts +19 -16
- package/dist/configs/components/form-user-tree-select.js +1 -4
- package/dist/configs/components/formdetail.json +0 -4
- package/dist/configs/components/grid/col.d.ts +2 -4
- package/dist/configs/components/grid/grid.d.ts +2 -4
- package/dist/configs/components/grid/row.d.ts +2 -3
- package/dist/configs/components/image.d.ts +4 -4
- package/dist/configs/components/link.d.ts +8 -8
- package/dist/configs/components/listView.d.ts +78 -33
- package/dist/configs/components/listView.js +258 -51
- package/dist/configs/components/lottery.d.ts +67 -0
- package/dist/configs/components/lottery.js +178 -0
- package/dist/configs/components/modal.d.ts +2 -2
- package/dist/configs/components/qr_code.d.ts +11 -11
- package/dist/configs/components/repeater.d.ts +10 -91
- package/dist/configs/components/repeater.js +75 -87
- package/dist/configs/components/tabs.d.ts +4 -4
- package/dist/configs/components/text.d.ts +2 -2
- package/dist/configs/components/wd-bubble.d.ts +3 -8
- package/dist/configs/components/wd-button.d.ts +22 -34
- package/dist/configs/components/wd-card.d.ts +10 -10
- package/dist/configs/components/wd-card.js +10 -5
- package/dist/configs/components/wd-checkbox.d.ts +36 -81
- package/dist/configs/components/wd-date-range.d.ts +87 -131
- package/dist/configs/components/wd-date.d.ts +88 -132
- package/dist/configs/components/wd-date.js +1 -1
- package/dist/configs/components/wd-divider.d.ts +2 -2
- package/dist/configs/components/wd-form-detail.d.ts +9 -9
- package/dist/configs/components/wd-form.d.ts +54 -82
- package/dist/configs/components/wd-form.js +1 -1
- package/dist/configs/components/wd-icon.d.ts +8 -9
- package/dist/configs/components/wd-image-upload.d.ts +5 -5
- package/dist/configs/components/wd-image.d.ts +8 -12
- package/dist/configs/components/wd-input-email.d.ts +88 -156
- package/dist/configs/components/wd-input-number.d.ts +38 -179
- package/dist/configs/components/wd-input-number.js +1 -1
- package/dist/configs/components/wd-input-phone.d.ts +86 -156
- package/dist/configs/components/wd-input-url.d.ts +88 -156
- package/dist/configs/components/wd-input.d.ts +120 -164
- package/dist/configs/components/wd-layout.d.ts +1 -5
- package/dist/configs/components/wd-link.d.ts +14 -26
- package/dist/configs/components/wd-modal.d.ts +12 -8
- package/dist/configs/components/wd-modal.js +14 -14
- package/dist/configs/components/wd-official-account.d.ts +3 -5
- package/dist/configs/components/wd-official-account.js +3 -5
- package/dist/configs/components/wd-radio.d.ts +35 -80
- package/dist/configs/components/wd-switch.d.ts +21 -67
- package/dist/configs/components/wd-table.d.ts +95 -132
- package/dist/configs/components/wd-table.js +61 -17
- package/dist/configs/components/wd-text.d.ts +8 -8
- package/dist/configs/components/wd-textarea.d.ts +64 -110
- package/dist/configs/components/wd-time.d.ts +89 -133
- package/dist/configs/components/wd-tree.d.ts +243 -281
- package/dist/configs/components/wd-tree.js +1 -1
- package/dist/configs/components/web-view.d.ts +30 -10
- package/dist/configs/components/web-view.js +34 -33
- package/dist/configs/components/wedaVideo.d.ts +30 -0
- package/dist/configs/components/wedaVideo.js +98 -0
- package/dist/configs/components/wxOpenApi/phone.d.ts +6 -6
- package/dist/configs/components/wxOpenApi/phoneCode.d.ts +6 -62
- package/dist/configs/components/wxOpenApi/phoneCode.js +62 -70
- package/dist/configs/components/wxOpenApi/share.d.ts +12 -12
- package/dist/configs/components/wxOpenApi/userInfo.d.ts +7 -7
- package/dist/configs/index.d.ts +2515 -4367
- package/dist/configs/index.js +3 -3
- package/dist/configs/type-utils/error.d.ts +3 -3
- package/dist/configs/type-utils/index.d.ts +6 -6
- package/dist/configs/type-utils/index.js +2 -5
- package/dist/configs/type-utils/type-form.d.ts +95 -101
- package/dist/index.js +1 -1
- package/dist/style/index.scss +1 -1
- package/dist/web/components/chart/common/echarts.js +0 -1
- package/dist/web/components/customer-service/customer-service.js +1 -1
- package/dist/web/components/dataView/index.js +1 -1
- package/dist/web/components/echart/echart.js +22 -6
- package/dist/web/components/flow/common/components/index.js +1 -0
- package/dist/web/components/flow/common/hooks/index.js +1 -0
- package/dist/web/components/flow/common/index.js +1 -0
- package/dist/web/components/flow/modules/operations/components/index.js +1 -0
- package/dist/web/components/flow/modules/operations/components/user-select/index.js +1 -0
- package/dist/web/components/flow/modules/operations/config/index.js +1 -0
- package/dist/web/components/flow/modules/operations/controls-items/approval-drawer/drawer-form/index.js +1 -0
- package/dist/web/components/flow/process/constants.js +1 -3
- package/dist/web/components/flow-graph/graph.js +0 -1
- package/dist/web/components/form/checkbox/index.js +2 -2
- package/dist/web/components/form/enumSelect/MultipleSelect.js +1 -1
- package/dist/web/components/form/enumSelect/NormalSelect.js +1 -1
- package/dist/web/components/form/input/index.js +1 -1
- package/dist/web/components/form/location/components/LocationPC/location.PC.js +2 -2
- package/dist/web/components/form/radio/index.js +1 -1
- package/dist/web/components/form/select/dropdown-select/h5.js +5 -5
- package/dist/web/components/form/select/dropdown-select/pc.js +25 -28
- package/dist/web/components/form/select/dropdown-select/ui.d.ts +1 -1
- package/dist/web/components/form/select/dropdown-select/ui.js +5 -5
- package/dist/web/components/form/select/h5.js +10 -6
- package/dist/web/components/form/select/index.js +4 -2
- package/dist/web/components/form/selectMultiple/h5.js +1 -1
- package/dist/web/components/form/selectMultiple/index.js +1 -1
- package/dist/web/components/form/uploader/index.js +0 -1
- package/dist/web/components/form/uploader/uploader.pc.js +0 -1
- package/dist/web/components/form/uploaderFile/index.js +0 -1
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +6 -4
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +6 -4
- package/dist/web/components/form/userOrgSelect/common/fetch-data-service.d.ts +1 -1
- package/dist/web/components/form/userOrgSelect/common/fetch-data-service.js +19 -3
- package/dist/web/components/form/userOrgSelect/common/types.d.ts +2 -1
- package/dist/web/components/form/userOrgSelect/component/depart-select/index.js +1 -3
- package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-select-pc.d.ts +1 -1
- package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-select-pc.js +2 -2
- package/dist/web/components/form/userOrgSelect/hooks/use-depart-data.js +0 -1
- package/dist/web/components/form-date/index.d.ts +1 -1
- package/dist/web/components/form-depart-tree-select/index.d.ts +1 -1
- package/dist/web/components/form-email/index.d.ts +2 -2
- package/dist/web/components/form-input/index.d.ts +2 -2
- package/dist/web/components/form-input-hooks/index.js +12 -13
- package/dist/web/components/form-multi-region/index.d.ts +1 -1
- package/dist/web/components/form-phone/index.d.ts +1 -1
- package/dist/web/components/form-region/index.d.ts +1 -1
- package/dist/web/components/form-select/index.d.ts +1 -1
- package/dist/web/components/form-select-multiple/index.d.ts +1 -1
- package/dist/web/components/form-text-area/index.d.ts +2 -2
- package/dist/web/components/form-time/index.d.ts +1 -1
- package/dist/web/components/form-url/index.d.ts +2 -2
- package/dist/web/components/form-user-tree-select/index.d.ts +1 -1
- package/dist/web/components/form-user-tree-select/index.js +3 -2
- package/dist/web/components/listView/index.js +81 -14
- package/dist/web/components/listView/interface.d.ts +7 -1
- package/dist/web/components/lottery/index.d.ts +22 -14
- package/dist/web/components/lottery/index.js +1 -2
- package/dist/web/components/navigationBar/horizontalMenu.js +0 -1
- package/dist/web/components/phone/index.js +1 -1
- package/dist/web/components/richText/index.js +3 -2
- package/dist/web/components/share/index.js +1 -1
- package/dist/web/components/table/UserDepartment/utils.js +0 -2
- package/dist/web/components/wd-card/wd-card.js +1 -1
- package/dist/web/components/wd-checkbox-list/checkboxList.js +1 -1
- package/dist/web/components/wd-date/elements/Calendar.h5.js +1 -2
- package/dist/web/components/wd-department-select/h5.js +0 -1
- package/dist/web/components/wd-form/hooks/use-remote-value.js +20 -8
- package/dist/web/components/wd-form/index.d.ts +7 -7
- package/dist/web/components/wd-form/index.js +12 -10
- package/dist/web/components/wd-input/wd-input.d.ts +43 -43
- package/dist/web/components/wd-input-email/wd-input-email.d.ts +39 -39
- package/dist/web/components/wd-input-number/number.js +0 -1
- package/dist/web/components/wd-input-number/wd-input-number.js +10 -6
- package/dist/web/components/wd-input-phone/wd-input-phone.d.ts +43 -43
- package/dist/web/components/wd-input-url/wd-input-url.d.ts +39 -39
- package/dist/web/components/wd-member-select/h5.js +0 -1
- package/dist/web/components/wd-modal/wd-modal.js +8 -3
- package/dist/web/components/wd-official-account/index.js +1 -1
- package/dist/web/components/wd-radio-list/wd-radio-list.js +2 -2
- package/dist/web/components/wd-table/components/FieldRender/UserDepartment/utils.js +0 -2
- package/dist/web/components/wd-table/components/FieldRender/index.d.ts +1 -1
- package/dist/web/components/wd-table/components/FieldRender/index.js +9 -6
- package/dist/web/components/wd-table/components/ModalTable/index.js +0 -3
- package/dist/web/components/wd-table/components/Table/index.js +4 -0
- package/dist/web/components/wd-table/hooks/useAuthFields.d.ts +1 -1
- package/dist/web/components/wd-table/hooks/useAuthFields.js +18 -4
- package/dist/web/components/wd-table/utils/index.js +5 -4
- package/dist/web/components/wd-table/wd-table.js +41 -19
- package/dist/web/components/wd-tree/utils.js +0 -2
- package/dist/web/components/wd-tree/wd-tree.js +0 -1
- package/dist/web/components/wd-upload-image/wd-upload-image.js +0 -1
- package/dist/web/components/web-view/web-view.d.ts +23 -6
- package/dist/web/index.js +1 -0
- package/dist/web/utils/constant.js +0 -1
- package/dist/web/utils/hooks/useFormLegacy.d.ts +1 -1
- package/dist/web/utils/hooks/useFormLegacy.js +9 -3
- package/dist/web/utils/moment.js +1 -3
- package/dist/web/utils/platform.js +0 -3
- package/dist/web/utils/widget-api/index.d.ts +1 -1
- package/dist/web/utils/widget-api/index.js +19 -22
- package/dist/web/weda-ui.css +6 -0
- package/package.json +13 -6
- package/dist/configs/components/calendar.json +0 -83
- package/dist/configs/components/lottery.json +0 -166
- package/dist/configs/components/wedaVideo.json +0 -101
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Static } from '../type-utils';
|
|
2
2
|
import type { Simplify } from 'type-fest';
|
|
3
3
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
|
-
name: import("@sinclair/typebox").TString
|
|
5
|
-
label: import("@sinclair/typebox").TString
|
|
4
|
+
name: import("@sinclair/typebox").TString;
|
|
5
|
+
label: import("@sinclair/typebox").TString;
|
|
6
6
|
viewType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
7
7
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
8
|
-
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString
|
|
8
|
+
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
9
9
|
isPureArray: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
readOnly: import("@sinclair/typebox").TBoolean;
|
|
11
|
-
fieldAuth: import("@sinclair/typebox").TString
|
|
11
|
+
fieldAuth: import("@sinclair/typebox").TString;
|
|
12
12
|
hasInitValue: import("@sinclair/typebox").TBoolean;
|
|
13
13
|
isWdFormDetail: import("@sinclair/typebox").TBoolean;
|
|
14
14
|
}>;
|
|
@@ -16,19 +16,19 @@ export type DataType = Simplify<Static<typeof data>>;
|
|
|
16
16
|
declare const config: {
|
|
17
17
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
18
18
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
19
|
-
name: import("@sinclair/typebox").TString
|
|
20
|
-
label: import("@sinclair/typebox").TString
|
|
19
|
+
name: import("@sinclair/typebox").TString;
|
|
20
|
+
label: import("@sinclair/typebox").TString;
|
|
21
21
|
viewType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
22
22
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
23
|
-
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString
|
|
23
|
+
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
24
24
|
isPureArray: import("@sinclair/typebox").TBoolean;
|
|
25
25
|
readOnly: import("@sinclair/typebox").TBoolean;
|
|
26
|
-
fieldAuth: import("@sinclair/typebox").TString
|
|
26
|
+
fieldAuth: import("@sinclair/typebox").TString;
|
|
27
27
|
hasInitValue: import("@sinclair/typebox").TBoolean;
|
|
28
28
|
isWdFormDetail: import("@sinclair/typebox").TBoolean;
|
|
29
29
|
}>;
|
|
30
30
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
31
|
-
name: import("@sinclair/typebox").TString
|
|
31
|
+
name: import("@sinclair/typebox").TString;
|
|
32
32
|
isTableView: import("@sinclair/typebox").TBoolean;
|
|
33
33
|
}>;
|
|
34
34
|
readonly classes: readonly [{
|
|
@@ -7,34 +7,34 @@ declare const events: [{
|
|
|
7
7
|
readonly title: "校验成功";
|
|
8
8
|
readonly name: "validateSuccess";
|
|
9
9
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
10
|
-
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
10
|
+
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
11
11
|
}>;
|
|
12
12
|
}, {
|
|
13
13
|
readonly title: "校验失败";
|
|
14
14
|
readonly name: "validateFail";
|
|
15
15
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
16
|
-
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
16
|
+
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
17
17
|
}>;
|
|
18
18
|
}, {
|
|
19
19
|
readonly title: "查询为空";
|
|
20
20
|
readonly name: "queryEmpty";
|
|
21
21
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
22
|
-
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
22
|
+
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
23
23
|
}>;
|
|
24
24
|
}, {
|
|
25
25
|
readonly title: "查询成功";
|
|
26
26
|
readonly name: "querySuccess";
|
|
27
27
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
28
|
-
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
28
|
+
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
29
29
|
}>;
|
|
30
30
|
}, {
|
|
31
31
|
readonly title: "查询失败";
|
|
32
32
|
readonly name: "queryFail";
|
|
33
33
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
34
34
|
error: import("@sinclair/typebox").TObject<{
|
|
35
|
-
requestid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
36
|
-
message: import("@sinclair/typebox").TString
|
|
37
|
-
code: import("@sinclair/typebox").TString
|
|
35
|
+
requestid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
|
+
message: import("@sinclair/typebox").TString;
|
|
37
|
+
code: import("@sinclair/typebox").TString;
|
|
38
38
|
}>;
|
|
39
39
|
}>;
|
|
40
40
|
}];
|
|
@@ -75,50 +75,36 @@ level = "title-6"
|
|
|
75
75
|
*/
|
|
76
76
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
77
77
|
contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
78
|
-
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
78
|
+
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
79
79
|
formType_bind: import("@sinclair/typebox").TBoolean;
|
|
80
80
|
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "custom-connector" | "model">;
|
|
81
81
|
formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
|
|
82
|
-
dataSourceName: import("@sinclair/typebox").TString
|
|
82
|
+
dataSourceName: import("@sinclair/typebox").TString;
|
|
83
83
|
fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
84
|
-
name: import("@sinclair/typebox").TString
|
|
85
|
-
componentType: import("@sinclair/typebox").TString
|
|
84
|
+
name: import("@sinclair/typebox").TString;
|
|
85
|
+
componentType: import("@sinclair/typebox").TString;
|
|
86
86
|
}>>;
|
|
87
87
|
layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
|
|
88
|
-
methodCreate: import("@sinclair/typebox").TString
|
|
89
|
-
methodUpdate: import("@sinclair/typebox").TString
|
|
90
|
-
paramGetItem: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
91
|
-
methodGetItem: import("@sinclair/typebox").TString
|
|
92
|
-
initialValues: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
88
|
+
methodCreate: import("@sinclair/typebox").TString;
|
|
89
|
+
methodUpdate: import("@sinclair/typebox").TString;
|
|
90
|
+
paramGetItem: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
91
|
+
methodGetItem: import("@sinclair/typebox").TString;
|
|
92
|
+
initialValues: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
93
93
|
}>;
|
|
94
|
-
declare const properties: import("@sinclair/typebox").
|
|
95
|
-
|
|
96
|
-
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
|
|
97
|
-
formType_bind: import("@sinclair/typebox").TBoolean;
|
|
98
|
-
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "custom-connector" | "model">;
|
|
94
|
+
declare const properties: import("@sinclair/typebox").TObject<{
|
|
95
|
+
value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
99
96
|
formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
|
|
100
|
-
dataSourceName: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
101
|
-
fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
102
|
-
name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
103
|
-
componentType: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
104
|
-
}>>;
|
|
105
97
|
layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
|
|
106
|
-
|
|
107
|
-
methodUpdate: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
108
|
-
paramGetItem: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TUnknown>;
|
|
109
|
-
methodGetItem: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
110
|
-
initialValues: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TUnknown>;
|
|
111
|
-
}>, ["formType", "dataSourceName", "layout"]>, import("@sinclair/typebox").TObject<{
|
|
112
|
-
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
113
|
-
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
|
|
114
|
-
message: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
115
|
-
}>>>;
|
|
116
|
-
remoteValue: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TAny>;
|
|
117
|
-
value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TAny>;
|
|
118
|
-
dataSourceProfile: import("@sinclair/typebox").TAny;
|
|
119
|
-
submitParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TAny>;
|
|
98
|
+
dataSourceName: import("@sinclair/typebox").TString;
|
|
120
99
|
clearValidate: import("@sinclair/typebox").TFunction<[], import("@sinclair/typebox").TVoid>;
|
|
121
|
-
|
|
100
|
+
dataSourceProfile: import("@sinclair/typebox").TAny;
|
|
101
|
+
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
102
|
+
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
103
|
+
message: import("@sinclair/typebox").TString;
|
|
104
|
+
}>>>;
|
|
105
|
+
remoteValue: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
106
|
+
submitParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
107
|
+
}>;
|
|
122
108
|
export type PropertiesType = Simplify<Static<typeof properties>> & {
|
|
123
109
|
[privateApi: string]: unknown;
|
|
124
110
|
};
|
|
@@ -127,21 +113,21 @@ declare const _default: {
|
|
|
127
113
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
128
114
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
129
115
|
contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
130
|
-
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
116
|
+
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
131
117
|
formType_bind: import("@sinclair/typebox").TBoolean;
|
|
132
118
|
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "custom-connector" | "model">;
|
|
133
119
|
formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
|
|
134
|
-
dataSourceName: import("@sinclair/typebox").TString
|
|
120
|
+
dataSourceName: import("@sinclair/typebox").TString;
|
|
135
121
|
fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
136
|
-
name: import("@sinclair/typebox").TString
|
|
137
|
-
componentType: import("@sinclair/typebox").TString
|
|
122
|
+
name: import("@sinclair/typebox").TString;
|
|
123
|
+
componentType: import("@sinclair/typebox").TString;
|
|
138
124
|
}>>;
|
|
139
125
|
layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
|
|
140
|
-
methodCreate: import("@sinclair/typebox").TString
|
|
141
|
-
methodUpdate: import("@sinclair/typebox").TString
|
|
142
|
-
paramGetItem: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
143
|
-
methodGetItem: import("@sinclair/typebox").TString
|
|
144
|
-
initialValues: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
126
|
+
methodCreate: import("@sinclair/typebox").TString;
|
|
127
|
+
methodUpdate: import("@sinclair/typebox").TString;
|
|
128
|
+
paramGetItem: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
129
|
+
methodGetItem: import("@sinclair/typebox").TString;
|
|
130
|
+
initialValues: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
145
131
|
}>;
|
|
146
132
|
readonly compConfig: {
|
|
147
133
|
readonly isDataContainer: true;
|
|
@@ -150,34 +136,20 @@ declare const _default: {
|
|
|
150
136
|
readonly defaultStyles: {
|
|
151
137
|
readonly display: "block";
|
|
152
138
|
};
|
|
153
|
-
readonly properties: import("@sinclair/typebox").
|
|
154
|
-
|
|
155
|
-
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
|
|
156
|
-
formType_bind: import("@sinclair/typebox").TBoolean;
|
|
157
|
-
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "custom-connector" | "model">;
|
|
139
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
140
|
+
value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
158
141
|
formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
|
|
159
|
-
dataSourceName: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
160
|
-
fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
161
|
-
name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
162
|
-
componentType: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
163
|
-
}>>;
|
|
164
142
|
layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
|
|
165
|
-
|
|
166
|
-
methodUpdate: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
167
|
-
paramGetItem: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TUnknown>;
|
|
168
|
-
methodGetItem: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
169
|
-
initialValues: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TUnknown>;
|
|
170
|
-
}>, ["formType", "dataSourceName", "layout"]>, import("@sinclair/typebox").TObject<{
|
|
171
|
-
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
172
|
-
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
|
|
173
|
-
message: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
174
|
-
}>>>;
|
|
175
|
-
remoteValue: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TAny>;
|
|
176
|
-
value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TAny>;
|
|
177
|
-
dataSourceProfile: import("@sinclair/typebox").TAny;
|
|
178
|
-
submitParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">, import("@sinclair/typebox").TAny>;
|
|
143
|
+
dataSourceName: import("@sinclair/typebox").TString;
|
|
179
144
|
clearValidate: import("@sinclair/typebox").TFunction<[], import("@sinclair/typebox").TVoid>;
|
|
180
|
-
|
|
145
|
+
dataSourceProfile: import("@sinclair/typebox").TAny;
|
|
146
|
+
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
147
|
+
format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
148
|
+
message: import("@sinclair/typebox").TString;
|
|
149
|
+
}>>>;
|
|
150
|
+
remoteValue: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
151
|
+
submitParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
152
|
+
}>;
|
|
181
153
|
readonly classes: readonly [{
|
|
182
154
|
readonly name: "根元素";
|
|
183
155
|
readonly selector: ".wd-form";
|
|
@@ -219,34 +191,34 @@ declare const _default: {
|
|
|
219
191
|
readonly title: "校验成功";
|
|
220
192
|
readonly name: "validateSuccess";
|
|
221
193
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
222
|
-
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
194
|
+
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
223
195
|
}>;
|
|
224
196
|
}, {
|
|
225
197
|
readonly title: "校验失败";
|
|
226
198
|
readonly name: "validateFail";
|
|
227
199
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
228
|
-
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
200
|
+
errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
229
201
|
}>;
|
|
230
202
|
}, {
|
|
231
203
|
readonly title: "查询为空";
|
|
232
204
|
readonly name: "queryEmpty";
|
|
233
205
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
234
|
-
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
206
|
+
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
235
207
|
}>;
|
|
236
208
|
}, {
|
|
237
209
|
readonly title: "查询成功";
|
|
238
210
|
readonly name: "querySuccess";
|
|
239
211
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
240
|
-
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
212
|
+
data: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
241
213
|
}>;
|
|
242
214
|
}, {
|
|
243
215
|
readonly title: "查询失败";
|
|
244
216
|
readonly name: "queryFail";
|
|
245
217
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
246
218
|
error: import("@sinclair/typebox").TObject<{
|
|
247
|
-
requestid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
248
|
-
message: import("@sinclair/typebox").TString
|
|
249
|
-
code: import("@sinclair/typebox").TString
|
|
219
|
+
requestid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
220
|
+
message: import("@sinclair/typebox").TString;
|
|
221
|
+
code: import("@sinclair/typebox").TString;
|
|
250
222
|
}>;
|
|
251
223
|
}>;
|
|
252
224
|
}];
|
|
@@ -478,7 +478,7 @@ const data = Type.Object({
|
|
|
478
478
|
'x-component': 'jsontext',
|
|
479
479
|
}),
|
|
480
480
|
});
|
|
481
|
-
const properties = Type.
|
|
481
|
+
const properties = Type.Composite([
|
|
482
482
|
Type.Pick(data, ['formType', 'dataSourceName', 'layout']),
|
|
483
483
|
Type.Object({
|
|
484
484
|
errors: Type.Record(Type.String(), Type.Array(Type.Object({
|
|
@@ -3,9 +3,9 @@ import type { Simplify } from 'type-fest';
|
|
|
3
3
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
5
5
|
name: import("@sinclair/typebox").TUnsafe<string>;
|
|
6
|
-
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
6
|
+
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
7
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
8
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
8
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
9
9
|
}>;
|
|
10
10
|
export type DataType = Simplify<Static<typeof data>>;
|
|
11
11
|
declare const config: {
|
|
@@ -13,17 +13,16 @@ declare const config: {
|
|
|
13
13
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
14
14
|
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
15
15
|
name: import("@sinclair/typebox").TUnsafe<string>;
|
|
16
|
-
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
16
|
+
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
17
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
18
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
18
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19
19
|
}>;
|
|
20
|
-
readonly properties: import("@sinclair/typebox").
|
|
21
|
-
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
22
21
|
name: import("@sinclair/typebox").TUnsafe<string>;
|
|
23
|
-
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
22
|
+
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
23
|
+
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
24
24
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
25
|
-
|
|
26
|
-
}>, ["type", "name", "src", "size"]>;
|
|
25
|
+
}>;
|
|
27
26
|
readonly classes: readonly [{
|
|
28
27
|
readonly name: "根元素";
|
|
29
28
|
readonly selector: ".wd-icon";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Static } from '../type-utils';
|
|
2
2
|
import type { Simplify } from 'type-fest';
|
|
3
3
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
|
-
after: import("@sinclair/typebox").TString
|
|
4
|
+
after: import("@sinclair/typebox").TString;
|
|
5
5
|
}>;
|
|
6
6
|
export type DataType = Simplify<Static<typeof data>>;
|
|
7
7
|
declare const config: {
|
|
8
8
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
9
9
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
10
|
-
after: import("@sinclair/typebox").TString
|
|
10
|
+
after: import("@sinclair/typebox").TString;
|
|
11
|
+
}>;
|
|
12
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
13
|
+
after: import("@sinclair/typebox").TString;
|
|
11
14
|
}>;
|
|
12
|
-
readonly properties: import("@sinclair/typebox").TPick<import("@sinclair/typebox").TObject<{
|
|
13
|
-
after: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
14
|
-
}>, ["after"]>;
|
|
15
15
|
readonly classes: readonly [];
|
|
16
16
|
readonly methods: readonly [];
|
|
17
17
|
readonly events: readonly [{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Simplify } from 'type-fest';
|
|
2
2
|
import { Static } from '../type-utils';
|
|
3
3
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
|
-
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
4
|
+
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
5
|
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"fill" | "contain" | "cover" | "widthFix" | "heightFix">>;
|
|
6
6
|
imgPreview: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
7
|
maskClosable: import("@sinclair/typebox").TBoolean;
|
|
8
|
-
alt: import("@sinclair/typebox").TString
|
|
8
|
+
alt: import("@sinclair/typebox").TString;
|
|
9
9
|
showMenuByLongpress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
10
10
|
lazyLoad: import("@sinclair/typebox").TBoolean;
|
|
11
11
|
}>;
|
|
@@ -13,23 +13,19 @@ export type DataType = Simplify<Static<typeof data>>;
|
|
|
13
13
|
declare const config: {
|
|
14
14
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
15
15
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
16
|
-
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
16
|
+
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
17
|
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"fill" | "contain" | "cover" | "widthFix" | "heightFix">>;
|
|
18
18
|
imgPreview: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
19
19
|
maskClosable: import("@sinclair/typebox").TBoolean;
|
|
20
|
-
alt: import("@sinclair/typebox").TString
|
|
20
|
+
alt: import("@sinclair/typebox").TString;
|
|
21
21
|
showMenuByLongpress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
22
22
|
lazyLoad: import("@sinclair/typebox").TBoolean;
|
|
23
23
|
}>;
|
|
24
|
-
readonly properties: import("@sinclair/typebox").
|
|
25
|
-
|
|
24
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
25
|
+
alt: import("@sinclair/typebox").TString;
|
|
26
|
+
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
26
27
|
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"fill" | "contain" | "cover" | "widthFix" | "heightFix">>;
|
|
27
|
-
|
|
28
|
-
maskClosable: import("@sinclair/typebox").TBoolean;
|
|
29
|
-
alt: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
|
|
30
|
-
showMenuByLongpress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
31
|
-
lazyLoad: import("@sinclair/typebox").TBoolean;
|
|
32
|
-
}>, ["fit", "src", "alt"]>;
|
|
28
|
+
}>;
|
|
33
29
|
readonly events: readonly [{
|
|
34
30
|
readonly name: "load";
|
|
35
31
|
readonly title: "加载成功";
|