@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
|
@@ -3,8 +3,8 @@ import { Static } from '../type-utils';
|
|
|
3
3
|
import type { Simplify } from 'type-fest';
|
|
4
4
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
5
5
|
defaultShow: import("@sinclair/typebox").TBoolean;
|
|
6
|
-
position: import("@sinclair/typebox").TString
|
|
7
|
-
closeType: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString
|
|
6
|
+
position: import("@sinclair/typebox").TString;
|
|
7
|
+
closeType: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
8
8
|
defaultMaskShow: import("@sinclair/typebox").TBoolean;
|
|
9
9
|
headerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
10
10
|
contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
@@ -12,6 +12,8 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
12
12
|
}>;
|
|
13
13
|
declare const properties: import("@sinclair/typebox").TObject<{
|
|
14
14
|
modalState: import("@sinclair/typebox").TUnsafe<string>;
|
|
15
|
+
openInfo: import("@sinclair/typebox").TUnknown;
|
|
16
|
+
closeInfo: import("@sinclair/typebox").TUnknown;
|
|
15
17
|
}>;
|
|
16
18
|
export type DataType = Simplify<Static<typeof data>>;
|
|
17
19
|
export type PropsType = Simplify<Static<typeof properties>>;
|
|
@@ -19,8 +21,8 @@ declare const config: {
|
|
|
19
21
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
20
22
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
21
23
|
defaultShow: import("@sinclair/typebox").TBoolean;
|
|
22
|
-
position: import("@sinclair/typebox").TString
|
|
23
|
-
closeType: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString
|
|
24
|
+
position: import("@sinclair/typebox").TString;
|
|
25
|
+
closeType: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
24
26
|
defaultMaskShow: import("@sinclair/typebox").TBoolean;
|
|
25
27
|
headerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
26
28
|
contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
@@ -28,6 +30,8 @@ declare const config: {
|
|
|
28
30
|
}>;
|
|
29
31
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
30
32
|
modalState: import("@sinclair/typebox").TUnsafe<string>;
|
|
33
|
+
openInfo: import("@sinclair/typebox").TUnknown;
|
|
34
|
+
closeInfo: import("@sinclair/typebox").TUnknown;
|
|
31
35
|
}>;
|
|
32
36
|
readonly classes: readonly [{
|
|
33
37
|
readonly name: "根元素";
|
|
@@ -70,26 +74,26 @@ declare const config: {
|
|
|
70
74
|
readonly name: "open";
|
|
71
75
|
readonly label: "打开弹窗";
|
|
72
76
|
readonly params: import("@sinclair/typebox").TObject<{
|
|
73
|
-
info: import("@sinclair/typebox").TUnknown
|
|
77
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
74
78
|
}>;
|
|
75
79
|
}, {
|
|
76
80
|
readonly name: "close";
|
|
77
81
|
readonly label: "关闭弹窗";
|
|
78
82
|
readonly params: import("@sinclair/typebox").TObject<{
|
|
79
|
-
info: import("@sinclair/typebox").TUnknown
|
|
83
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
80
84
|
}>;
|
|
81
85
|
}];
|
|
82
86
|
readonly events: readonly [{
|
|
83
87
|
readonly title: "弹窗打开时";
|
|
84
88
|
readonly name: "open";
|
|
85
89
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
86
|
-
info: import("@sinclair/typebox").TUnknown
|
|
90
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
87
91
|
}>;
|
|
88
92
|
}, {
|
|
89
93
|
readonly title: "弹窗关闭时";
|
|
90
94
|
readonly name: "close";
|
|
91
95
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
92
|
-
info: import("@sinclair/typebox").TUnknown
|
|
96
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
93
97
|
}>;
|
|
94
98
|
}];
|
|
95
99
|
readonly meta: {
|
|
@@ -158,12 +158,12 @@ const properties = Type.Object({
|
|
|
158
158
|
},
|
|
159
159
|
]),
|
|
160
160
|
title: '弹窗状态',
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
161
|
+
}),
|
|
162
|
+
openInfo: Type.Unknown({
|
|
163
|
+
description: '透传信息,在触发弹窗打开时接收的信息,信息来自于调用组件open方法的info',
|
|
164
|
+
}),
|
|
165
|
+
closeInfo: Type.Unknown({
|
|
166
|
+
description: '透传信息,在触发弹窗关闭时接收的信息,信息来自于调用组件close方法的info',
|
|
167
167
|
}),
|
|
168
168
|
});
|
|
169
169
|
// export default
|
|
@@ -227,18 +227,18 @@ const config = defineConfig({
|
|
|
227
227
|
name: 'open',
|
|
228
228
|
label: '打开弹窗',
|
|
229
229
|
params: Type.Object({
|
|
230
|
-
info: Type.Unknown({
|
|
230
|
+
info: Type.Optional(Type.Unknown({
|
|
231
231
|
description: '透传信息,在监听到弹窗打开时会传递该信息',
|
|
232
|
-
}),
|
|
232
|
+
})),
|
|
233
233
|
}),
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
name: 'close',
|
|
237
237
|
label: '关闭弹窗',
|
|
238
238
|
params: Type.Object({
|
|
239
|
-
info: Type.Unknown({
|
|
239
|
+
info: Type.Optional(Type.Unknown({
|
|
240
240
|
description: '透传信息,在监听到弹窗关闭时会传递该信息',
|
|
241
|
-
}),
|
|
241
|
+
})),
|
|
242
242
|
}),
|
|
243
243
|
},
|
|
244
244
|
],
|
|
@@ -248,18 +248,18 @@ const config = defineConfig({
|
|
|
248
248
|
title: '弹窗打开时',
|
|
249
249
|
name: 'open',
|
|
250
250
|
detail: Type.Object({
|
|
251
|
-
info: Type.Unknown({
|
|
251
|
+
info: Type.Optional(Type.Unknown({
|
|
252
252
|
description: '透传信息,在触发弹窗打开时接收该信息,信息来自于调用组件open方法的info',
|
|
253
|
-
}),
|
|
253
|
+
})),
|
|
254
254
|
}),
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
title: '弹窗关闭时',
|
|
258
258
|
name: 'close',
|
|
259
259
|
detail: Type.Object({
|
|
260
|
-
info: Type.Unknown({
|
|
260
|
+
info: Type.Optional(Type.Unknown({
|
|
261
261
|
description: '透传信息,在触发弹窗关闭时接收该信息,信息来自于调用组件close方法的info',
|
|
262
|
-
}),
|
|
262
|
+
})),
|
|
263
263
|
}),
|
|
264
264
|
},
|
|
265
265
|
],
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
$schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
3
|
-
data: {
|
|
4
|
-
properties: {};
|
|
5
|
-
};
|
|
3
|
+
data: import("@sinclair/typebox").TObject<{}>;
|
|
6
4
|
events: {
|
|
7
5
|
title: string;
|
|
8
6
|
name: string;
|
|
@@ -10,7 +8,7 @@ declare const _default: {
|
|
|
10
8
|
description: string;
|
|
11
9
|
detail: import("@sinclair/typebox").TObject<{
|
|
12
10
|
status: import("@sinclair/typebox").TNumber;
|
|
13
|
-
errMsg: import("@sinclair/typebox").TString
|
|
11
|
+
errMsg: import("@sinclair/typebox").TString;
|
|
14
12
|
}>;
|
|
15
13
|
}[];
|
|
16
14
|
classes: {
|
|
@@ -23,6 +21,7 @@ declare const _default: {
|
|
|
23
21
|
componentName: string;
|
|
24
22
|
title: string;
|
|
25
23
|
description: string;
|
|
24
|
+
propertyPanelTips: string;
|
|
26
25
|
category: string;
|
|
27
26
|
icon: string;
|
|
28
27
|
platform: "MP"[];
|
|
@@ -47,7 +46,6 @@ declare const _default: {
|
|
|
47
46
|
};
|
|
48
47
|
};
|
|
49
48
|
}[];
|
|
50
|
-
propertyPanelTips: string;
|
|
51
49
|
stylePanelTips: string;
|
|
52
50
|
};
|
|
53
51
|
};
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
import { defineConfig, Type } from '../type-utils';
|
|
7
7
|
export default defineConfig({
|
|
8
8
|
$schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
|
|
9
|
-
data: {
|
|
10
|
-
properties: {},
|
|
11
|
-
},
|
|
9
|
+
data: Type.Object({}),
|
|
12
10
|
events: [
|
|
13
11
|
{
|
|
14
12
|
title: '公众号加载成功',
|
|
@@ -54,8 +52,9 @@ export default defineConfig({
|
|
|
54
52
|
meta: {
|
|
55
53
|
name: 'WdOfficialAccount',
|
|
56
54
|
componentName: 'OfficialAccount',
|
|
57
|
-
title: '
|
|
55
|
+
title: '公众号关注',
|
|
58
56
|
description: '可在小程序内展示公众号关注入口,方便用户快捷关注或访问公众号。',
|
|
57
|
+
propertyPanelTips: '1.请在微信公众平台中设置要展示的公众号 [查看设置说明](https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdOfficialAccount#%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E)\n \n2.按照小程序官方要求,该组件仅在特定场景下展示 [查看限制详情](https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdOfficialAccount#%E7%BB%84%E4%BB%B6%E4%BD%BF%E7%94%A8%E9%99%90%E5%88%B6)\n \n3.仅支持在小程序端使用,PC/H5中将自动隐藏,请注意页面布局',
|
|
59
58
|
category: '小程序',
|
|
60
59
|
icon: '../icons/OfficialAccount.svg',
|
|
61
60
|
platform: ['MP'],
|
|
@@ -82,7 +81,6 @@ export default defineConfig({
|
|
|
82
81
|
},
|
|
83
82
|
},
|
|
84
83
|
],
|
|
85
|
-
propertyPanelTips: '当前组件不支持PC或H5构建,发布后将默认隐藏,请注意页面布局 \n请先前往[微信公众平台](https://developers.weixin.qq.com/miniprogram/dev/component/official-account.html),在设置-关注公众号模块绑定公众号',
|
|
86
84
|
stylePanelTips: '该组件高度固定为84px,宽度不小于300px,可通过调整外层普通容器的宽度调整组件宽度。',
|
|
87
85
|
},
|
|
88
86
|
});
|
|
@@ -5,115 +5,70 @@ export declare const WD_RADIO_STATUS: {
|
|
|
5
5
|
value: string;
|
|
6
6
|
}[];
|
|
7
7
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
8
|
-
extra: import("@sinclair/typebox").TString
|
|
8
|
+
extra: import("@sinclair/typebox").TString;
|
|
9
9
|
direction: import("@sinclair/typebox").TUnsafe<string>;
|
|
10
10
|
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
11
11
|
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
12
12
|
required: import("@sinclair/typebox").TBoolean;
|
|
13
13
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
14
|
-
requiredMsg: import("@sinclair/typebox").TString
|
|
15
|
-
format: import("@sinclair/typebox").TString
|
|
16
|
-
enumName: import("@sinclair/typebox").TString
|
|
17
|
-
tipBlock: import("@sinclair/typebox").TString
|
|
18
|
-
label: import("@sinclair/typebox").TString
|
|
14
|
+
requiredMsg: import("@sinclair/typebox").TString;
|
|
15
|
+
format: import("@sinclair/typebox").TString;
|
|
16
|
+
enumName: import("@sinclair/typebox").TString;
|
|
17
|
+
tipBlock: import("@sinclair/typebox").TString;
|
|
18
|
+
label: import("@sinclair/typebox").TString;
|
|
19
19
|
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
20
20
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
21
|
-
labelWidth: import("@sinclair/typebox").TString
|
|
21
|
+
labelWidth: import("@sinclair/typebox").TString;
|
|
22
22
|
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
23
23
|
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
24
|
-
labelTips: import("@sinclair/typebox").TString
|
|
25
|
-
name: import("@sinclair/typebox").TString
|
|
24
|
+
labelTips: import("@sinclair/typebox").TString;
|
|
25
|
+
name: import("@sinclair/typebox").TString;
|
|
26
26
|
range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
27
|
-
label: import("@sinclair/typebox").TString
|
|
28
|
-
value: import("@sinclair/typebox").TString
|
|
27
|
+
label: import("@sinclair/typebox").TString;
|
|
28
|
+
value: import("@sinclair/typebox").TString;
|
|
29
29
|
}>>;
|
|
30
|
-
value: import("@sinclair/typebox").TString
|
|
30
|
+
value: import("@sinclair/typebox").TString;
|
|
31
31
|
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
32
32
|
}>;
|
|
33
33
|
export type DataType = Simplify<Static<typeof data>>;
|
|
34
34
|
declare const config: {
|
|
35
35
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
36
36
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
37
|
-
extra: import("@sinclair/typebox").TString
|
|
37
|
+
extra: import("@sinclair/typebox").TString;
|
|
38
38
|
direction: import("@sinclair/typebox").TUnsafe<string>;
|
|
39
39
|
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
40
40
|
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
41
41
|
required: import("@sinclair/typebox").TBoolean;
|
|
42
42
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
43
|
-
requiredMsg: import("@sinclair/typebox").TString
|
|
44
|
-
format: import("@sinclair/typebox").TString
|
|
45
|
-
enumName: import("@sinclair/typebox").TString
|
|
46
|
-
tipBlock: import("@sinclair/typebox").TString
|
|
47
|
-
label: import("@sinclair/typebox").TString
|
|
43
|
+
requiredMsg: import("@sinclair/typebox").TString;
|
|
44
|
+
format: import("@sinclair/typebox").TString;
|
|
45
|
+
enumName: import("@sinclair/typebox").TString;
|
|
46
|
+
tipBlock: import("@sinclair/typebox").TString;
|
|
47
|
+
label: import("@sinclair/typebox").TString;
|
|
48
48
|
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
49
49
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
50
|
-
labelWidth: import("@sinclair/typebox").TString
|
|
50
|
+
labelWidth: import("@sinclair/typebox").TString;
|
|
51
51
|
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
52
52
|
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
53
|
-
labelTips: import("@sinclair/typebox").TString
|
|
54
|
-
name: import("@sinclair/typebox").TString
|
|
53
|
+
labelTips: import("@sinclair/typebox").TString;
|
|
54
|
+
name: import("@sinclair/typebox").TString;
|
|
55
55
|
range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
56
|
-
label: import("@sinclair/typebox").TString
|
|
57
|
-
value: import("@sinclair/typebox").TString
|
|
56
|
+
label: import("@sinclair/typebox").TString;
|
|
57
|
+
value: import("@sinclair/typebox").TString;
|
|
58
58
|
}>>;
|
|
59
|
-
value: import("@sinclair/typebox").TString
|
|
59
|
+
value: import("@sinclair/typebox").TString;
|
|
60
60
|
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
61
61
|
}>;
|
|
62
|
-
readonly properties: import("@sinclair/typebox").
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
inputValue: 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">;
|
|
73
|
-
placeholder: 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">;
|
|
74
|
-
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
75
|
-
block: import("@sinclair/typebox").TBoolean;
|
|
76
|
-
label: 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">;
|
|
77
|
-
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
78
|
-
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
79
|
-
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
80
|
-
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
81
|
-
labelWidth: 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">;
|
|
82
|
-
labelTips: 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">;
|
|
83
|
-
clearable: import("@sinclair/typebox").TBoolean;
|
|
84
|
-
before: 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">;
|
|
85
|
-
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">;
|
|
86
|
-
isUnionValue: import("@sinclair/typebox").TBoolean;
|
|
87
|
-
prefixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
88
|
-
prefixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
89
|
-
prefixSrc: 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">;
|
|
90
|
-
suffixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
91
|
-
suffixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
92
|
-
suffixSrc: 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">;
|
|
93
|
-
extra: 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">;
|
|
94
|
-
password: import("@sinclair/typebox").TBoolean;
|
|
95
|
-
type: import("@sinclair/typebox").TUnsafe<string>;
|
|
96
|
-
counterVisible: import("@sinclair/typebox").TBoolean;
|
|
97
|
-
focus: import("@sinclair/typebox").TBoolean;
|
|
98
|
-
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
99
|
-
borderedPc: import("@sinclair/typebox").TBoolean;
|
|
100
|
-
isNickNameType: import("@sinclair/typebox").TBoolean;
|
|
101
|
-
maxLength: import("@sinclair/typebox").TNumber;
|
|
102
|
-
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
103
|
-
format: 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
|
-
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">;
|
|
105
|
-
pattern: 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">>;
|
|
106
|
-
}>>;
|
|
107
|
-
validateStatus: import("@sinclair/typebox").TUnsafe<string>;
|
|
108
|
-
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
109
|
-
required: import("@sinclair/typebox").TBoolean;
|
|
110
|
-
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
111
|
-
requiredMsg: 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">;
|
|
112
|
-
visible: import("@sinclair/typebox").TBoolean;
|
|
113
|
-
disabled: import("@sinclair/typebox").TBoolean;
|
|
114
|
-
readOnly: import("@sinclair/typebox").TBoolean;
|
|
115
|
-
selectedLabel: 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">;
|
|
116
|
-
}>>, ["name", "value", "label", "required", "visible", "disabled", "readOnly", "selectedLabel"]>;
|
|
62
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
63
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
64
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
65
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
67
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
68
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
69
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
70
|
+
selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
71
|
+
}>;
|
|
117
72
|
readonly classes: readonly [{
|
|
118
73
|
readonly name: "根元素";
|
|
119
74
|
readonly selector: ".wd-radio-root";
|
|
@@ -272,7 +227,7 @@ declare const config: {
|
|
|
272
227
|
readonly title: "值改变";
|
|
273
228
|
readonly name: "change";
|
|
274
229
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
275
|
-
value: import("@sinclair/typebox").TString
|
|
230
|
+
value: import("@sinclair/typebox").TString;
|
|
276
231
|
}>;
|
|
277
232
|
}];
|
|
278
233
|
readonly meta: {
|
|
@@ -5,20 +5,20 @@ export declare const WD_SWITCH_STATUS: {
|
|
|
5
5
|
value: string;
|
|
6
6
|
}[];
|
|
7
7
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
8
|
-
extra: import("@sinclair/typebox").TString
|
|
8
|
+
extra: import("@sinclair/typebox").TString;
|
|
9
9
|
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
required: import("@sinclair/typebox").TBoolean;
|
|
11
11
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
12
|
-
requiredMsg: import("@sinclair/typebox").TString
|
|
12
|
+
requiredMsg: import("@sinclair/typebox").TString;
|
|
13
13
|
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
14
|
-
label: import("@sinclair/typebox").TString
|
|
14
|
+
label: import("@sinclair/typebox").TString;
|
|
15
15
|
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
16
16
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
17
|
-
labelWidth: import("@sinclair/typebox").TString
|
|
17
|
+
labelWidth: import("@sinclair/typebox").TString;
|
|
18
18
|
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
19
19
|
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
20
|
-
labelTips: import("@sinclair/typebox").TString
|
|
21
|
-
name: import("@sinclair/typebox").TString
|
|
20
|
+
labelTips: import("@sinclair/typebox").TString;
|
|
21
|
+
name: import("@sinclair/typebox").TString;
|
|
22
22
|
value: import("@sinclair/typebox").TBoolean;
|
|
23
23
|
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
24
24
|
}>;
|
|
@@ -26,78 +26,32 @@ export type DataType = Simplify<Static<typeof data>>;
|
|
|
26
26
|
declare const config: {
|
|
27
27
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
28
28
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
29
|
-
extra: import("@sinclair/typebox").TString
|
|
29
|
+
extra: import("@sinclair/typebox").TString;
|
|
30
30
|
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
31
31
|
required: import("@sinclair/typebox").TBoolean;
|
|
32
32
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
33
|
-
requiredMsg: import("@sinclair/typebox").TString
|
|
33
|
+
requiredMsg: import("@sinclair/typebox").TString;
|
|
34
34
|
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
35
|
-
label: import("@sinclair/typebox").TString
|
|
35
|
+
label: import("@sinclair/typebox").TString;
|
|
36
36
|
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
37
37
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
38
|
-
labelWidth: import("@sinclair/typebox").TString
|
|
38
|
+
labelWidth: import("@sinclair/typebox").TString;
|
|
39
39
|
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
40
40
|
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
41
|
-
labelTips: import("@sinclair/typebox").TString
|
|
42
|
-
name: import("@sinclair/typebox").TString
|
|
41
|
+
labelTips: import("@sinclair/typebox").TString;
|
|
42
|
+
name: import("@sinclair/typebox").TString;
|
|
43
43
|
value: import("@sinclair/typebox").TBoolean;
|
|
44
44
|
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
45
45
|
}>;
|
|
46
|
-
readonly properties: import("@sinclair/typebox").
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
end: import("@sinclair/typebox").TAny;
|
|
56
|
-
inputValue: 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">;
|
|
57
|
-
placeholder: 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">;
|
|
58
|
-
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
59
|
-
block: import("@sinclair/typebox").TBoolean;
|
|
60
|
-
label: 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">;
|
|
61
|
-
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
62
|
-
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
63
|
-
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
64
|
-
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
65
|
-
labelWidth: 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">;
|
|
66
|
-
labelTips: 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">;
|
|
67
|
-
clearable: import("@sinclair/typebox").TBoolean;
|
|
68
|
-
before: 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">;
|
|
69
|
-
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">;
|
|
70
|
-
isUnionValue: import("@sinclair/typebox").TBoolean;
|
|
71
|
-
prefixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
72
|
-
prefixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
73
|
-
prefixSrc: 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">;
|
|
74
|
-
suffixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
75
|
-
suffixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
76
|
-
suffixSrc: 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">;
|
|
77
|
-
extra: 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">;
|
|
78
|
-
password: import("@sinclair/typebox").TBoolean;
|
|
79
|
-
type: import("@sinclair/typebox").TUnsafe<string>;
|
|
80
|
-
counterVisible: import("@sinclair/typebox").TBoolean;
|
|
81
|
-
focus: import("@sinclair/typebox").TBoolean;
|
|
82
|
-
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
83
|
-
borderedPc: import("@sinclair/typebox").TBoolean;
|
|
84
|
-
isNickNameType: import("@sinclair/typebox").TBoolean;
|
|
85
|
-
maxLength: import("@sinclair/typebox").TNumber;
|
|
86
|
-
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
87
|
-
format: 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">;
|
|
88
|
-
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">;
|
|
89
|
-
pattern: 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">>;
|
|
90
|
-
}>>;
|
|
91
|
-
validateStatus: import("@sinclair/typebox").TUnsafe<string>;
|
|
92
|
-
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
93
|
-
required: import("@sinclair/typebox").TBoolean;
|
|
94
|
-
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
95
|
-
requiredMsg: 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">;
|
|
96
|
-
visible: import("@sinclair/typebox").TBoolean;
|
|
97
|
-
disabled: import("@sinclair/typebox").TBoolean;
|
|
98
|
-
readOnly: import("@sinclair/typebox").TBoolean;
|
|
99
|
-
selectedLabel: 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">;
|
|
100
|
-
}>>, ["name", "value", "label", "required", "visible", "disabled", "readOnly"]>;
|
|
46
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
47
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
48
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
49
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
50
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
51
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
52
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
53
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
54
|
+
}>;
|
|
101
55
|
readonly classes: readonly [{
|
|
102
56
|
readonly name: "根元素";
|
|
103
57
|
readonly selector: ".wd-switch-root";
|