@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
|
@@ -2,163 +2,93 @@ import { Static } from '../type-utils';
|
|
|
2
2
|
import type { Simplify } from 'type-fest';
|
|
3
3
|
import { EventsType as WdInputEventsType } from './wd-input';
|
|
4
4
|
export type EventsType = WdInputEventsType;
|
|
5
|
-
declare const data: import("@sinclair/typebox").
|
|
6
|
-
|
|
7
|
-
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">;
|
|
8
|
-
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">;
|
|
9
|
-
isUnionValue: import("@sinclair/typebox").TBoolean;
|
|
10
|
-
prefixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
11
|
-
prefixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
12
|
-
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">;
|
|
13
|
-
suffixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
14
|
-
suffixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
15
|
-
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">;
|
|
16
|
-
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">;
|
|
17
|
-
password: import("@sinclair/typebox").TBoolean;
|
|
18
|
-
type: import("@sinclair/typebox").TUnsafe<string>;
|
|
19
|
-
counterVisible: import("@sinclair/typebox").TBoolean;
|
|
20
|
-
focus: import("@sinclair/typebox").TBoolean;
|
|
21
|
-
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
22
|
-
borderedPc: import("@sinclair/typebox").TBoolean;
|
|
23
|
-
isNickNameType: import("@sinclair/typebox").TBoolean;
|
|
24
|
-
maxLength: import("@sinclair/typebox").TNumber;
|
|
25
|
-
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
26
|
-
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">;
|
|
27
|
-
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">;
|
|
28
|
-
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">>;
|
|
29
|
-
}>>;
|
|
30
|
-
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
31
|
-
required: import("@sinclair/typebox").TBoolean;
|
|
32
|
-
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
33
|
-
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">;
|
|
34
|
-
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">;
|
|
35
|
-
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
36
|
-
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
37
|
-
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">;
|
|
38
|
-
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
39
|
-
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
40
|
-
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">;
|
|
41
|
-
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">;
|
|
42
|
-
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">;
|
|
43
|
-
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">;
|
|
44
|
-
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
45
|
-
block: import("@sinclair/typebox").TBoolean;
|
|
46
|
-
}, "type" | "maxLength" | "password" | "isNickNameType" | "rules"> & {
|
|
47
|
-
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">;
|
|
48
|
-
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"> & {
|
|
5
|
+
declare const data: import("@sinclair/typebox").TObject<{
|
|
6
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
49
7
|
default: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
8
|
+
}>;
|
|
9
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11
|
+
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
13
|
+
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
52
14
|
default: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
15
|
+
}>;
|
|
16
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
17
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
18
|
+
block: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
19
|
+
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20
|
+
focus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21
|
+
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
22
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
23
|
+
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
25
|
+
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
26
|
+
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
28
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
29
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
30
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
|
+
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32
|
+
prefixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33
|
+
prefixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
34
|
+
prefixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
|
+
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
36
|
+
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
37
|
+
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
38
|
+
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
39
|
+
borderedPc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
40
|
+
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
41
|
+
}>;
|
|
55
42
|
declare const config: {
|
|
56
43
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
57
|
-
readonly data: import("@sinclair/typebox").
|
|
58
|
-
|
|
59
|
-
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">;
|
|
60
|
-
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">;
|
|
61
|
-
isUnionValue: import("@sinclair/typebox").TBoolean;
|
|
62
|
-
prefixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
63
|
-
prefixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
64
|
-
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">;
|
|
65
|
-
suffixType: import("@sinclair/typebox").TUnsafe<string>;
|
|
66
|
-
suffixIcon: import("@sinclair/typebox").TUnsafe<string>;
|
|
67
|
-
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">;
|
|
68
|
-
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">;
|
|
69
|
-
password: import("@sinclair/typebox").TBoolean;
|
|
70
|
-
type: import("@sinclair/typebox").TUnsafe<string>;
|
|
71
|
-
counterVisible: import("@sinclair/typebox").TBoolean;
|
|
72
|
-
focus: import("@sinclair/typebox").TBoolean;
|
|
73
|
-
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
74
|
-
borderedPc: import("@sinclair/typebox").TBoolean;
|
|
75
|
-
isNickNameType: import("@sinclair/typebox").TBoolean;
|
|
76
|
-
maxLength: import("@sinclair/typebox").TNumber;
|
|
77
|
-
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
78
|
-
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">;
|
|
79
|
-
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">;
|
|
80
|
-
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">>;
|
|
81
|
-
}>>;
|
|
82
|
-
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
83
|
-
required: import("@sinclair/typebox").TBoolean;
|
|
84
|
-
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
85
|
-
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">;
|
|
86
|
-
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">;
|
|
87
|
-
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
88
|
-
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
89
|
-
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">;
|
|
90
|
-
labelAlign: import("@sinclair/typebox").TUnsafe<string>;
|
|
91
|
-
labelWrap: import("@sinclair/typebox").TBoolean;
|
|
92
|
-
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">;
|
|
93
|
-
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">;
|
|
94
|
-
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">;
|
|
95
|
-
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">;
|
|
96
|
-
size: import("@sinclair/typebox").TUnsafe<string>;
|
|
97
|
-
block: import("@sinclair/typebox").TBoolean;
|
|
98
|
-
}, "type" | "maxLength" | "password" | "isNickNameType" | "rules"> & {
|
|
99
|
-
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">;
|
|
100
|
-
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"> & {
|
|
44
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
45
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
101
46
|
default: string;
|
|
102
|
-
}
|
|
103
|
-
|
|
47
|
+
}>;
|
|
48
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
49
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
50
|
+
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
51
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
52
|
+
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
104
53
|
default: string;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
borderedH5: import("@sinclair/typebox").TBoolean;
|
|
144
|
-
borderedPc: import("@sinclair/typebox").TBoolean;
|
|
145
|
-
isNickNameType: import("@sinclair/typebox").TBoolean;
|
|
146
|
-
maxLength: import("@sinclair/typebox").TNumber;
|
|
147
|
-
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
148
|
-
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">;
|
|
149
|
-
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">;
|
|
150
|
-
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">>;
|
|
151
|
-
}>>;
|
|
152
|
-
validateStatus: import("@sinclair/typebox").TUnsafe<string>;
|
|
153
|
-
status: import("@sinclair/typebox").TUnsafe<string>;
|
|
154
|
-
required: import("@sinclair/typebox").TBoolean;
|
|
155
|
-
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
156
|
-
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">;
|
|
157
|
-
visible: import("@sinclair/typebox").TBoolean;
|
|
158
|
-
disabled: import("@sinclair/typebox").TBoolean;
|
|
159
|
-
readOnly: import("@sinclair/typebox").TBoolean;
|
|
160
|
-
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">;
|
|
161
|
-
}>>, ["name", "label", "required", "before", "after", "visible", "disabled", "readOnly", "value"]>;
|
|
54
|
+
}>;
|
|
55
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
56
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
57
|
+
block: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
58
|
+
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
59
|
+
focus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
60
|
+
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
61
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
62
|
+
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
63
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
64
|
+
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
65
|
+
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
67
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
68
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
69
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
70
|
+
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
71
|
+
prefixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
72
|
+
prefixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
73
|
+
prefixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
74
|
+
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
75
|
+
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
76
|
+
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
77
|
+
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
78
|
+
borderedPc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
79
|
+
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
82
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
83
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
84
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
85
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
86
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
87
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
88
|
+
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
89
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
90
|
+
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
91
|
+
}>;
|
|
162
92
|
readonly classes: {
|
|
163
93
|
name: string;
|
|
164
94
|
selector: string;
|
|
@@ -229,31 +159,31 @@ declare const config: {
|
|
|
229
159
|
readonly name: "change";
|
|
230
160
|
readonly title: "值改变";
|
|
231
161
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
232
|
-
value: import("@sinclair/typebox").TString
|
|
162
|
+
value: import("@sinclair/typebox").TString;
|
|
233
163
|
}>;
|
|
234
164
|
}, {
|
|
235
165
|
readonly name: "focus";
|
|
236
166
|
readonly title: "聚焦";
|
|
237
167
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
238
|
-
value: import("@sinclair/typebox").TString
|
|
168
|
+
value: import("@sinclair/typebox").TString;
|
|
239
169
|
}>;
|
|
240
170
|
}, {
|
|
241
171
|
readonly name: "blur";
|
|
242
172
|
readonly title: "失焦";
|
|
243
173
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
244
|
-
value: import("@sinclair/typebox").TString
|
|
174
|
+
value: import("@sinclair/typebox").TString;
|
|
245
175
|
}>;
|
|
246
176
|
}, {
|
|
247
177
|
readonly name: "confirm";
|
|
248
178
|
readonly title: "确认";
|
|
249
179
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
250
|
-
value: import("@sinclair/typebox").TString
|
|
180
|
+
value: import("@sinclair/typebox").TString;
|
|
251
181
|
}>;
|
|
252
182
|
}, {
|
|
253
183
|
readonly name: "clear";
|
|
254
184
|
readonly title: "清除内容";
|
|
255
185
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
256
|
-
originValue: import("@sinclair/typebox").TString
|
|
186
|
+
originValue: import("@sinclair/typebox").TString;
|
|
257
187
|
}>;
|
|
258
188
|
}];
|
|
259
189
|
readonly meta: {
|