@cloudbase/weda-ui 3.30.0 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -0
- package/dist/configs/components/button.d.ts +5 -4
- package/dist/configs/components/calendar.d.ts +1 -1
- package/dist/configs/components/chart/bar.d.ts +1 -1
- package/dist/configs/components/chart/line.d.ts +1 -1
- package/dist/configs/components/chart/pie.d.ts +1 -1
- package/dist/configs/components/chart/statisticsCard.d.ts +2 -2
- package/dist/configs/components/form-date.d.ts +2 -2
- package/dist/configs/components/form-depart-tree-select.d.ts +2 -2
- package/dist/configs/components/form-email.d.ts +2 -2
- package/dist/configs/components/form-image-uploader.d.ts +2 -2
- package/dist/configs/components/form-input.d.ts +4 -4
- package/dist/configs/components/form-location.d.ts +6 -6
- package/dist/configs/components/form-multi-region.d.ts +2 -2
- package/dist/configs/components/form-phone.d.ts +2 -2
- package/dist/configs/components/form-region.d.ts +2 -2
- package/dist/configs/components/form-select-multiple.d.ts +2 -2
- package/dist/configs/components/form-select.d.ts +2 -2
- package/dist/configs/components/form-text-area.d.ts +2 -2
- package/dist/configs/components/form-time.d.ts +2 -2
- package/dist/configs/components/form-url.d.ts +2 -2
- package/dist/configs/components/form-user-tree-select.d.ts +2 -2
- package/dist/configs/components/grid/col.d.ts +6 -6
- package/dist/configs/components/grid/row.d.ts +4 -4
- package/dist/configs/components/image.d.ts +4 -4
- package/dist/configs/components/link.d.ts +1 -0
- package/dist/configs/components/modal.d.ts +1 -0
- package/dist/configs/components/qr_code.d.ts +1 -1
- package/dist/configs/components/swiper.d.ts +2 -0
- package/dist/configs/components/swiper.js +25 -6
- package/dist/configs/components/tabs.d.ts +1 -0
- package/dist/configs/components/wd-bubble.d.ts +7 -6
- package/dist/configs/components/wd-button.d.ts +1 -1
- package/dist/configs/components/wd-calendar.d.ts +1 -1
- package/dist/configs/components/wd-canvas.d.ts +1 -1
- package/dist/configs/components/wd-card.d.ts +1 -0
- package/dist/configs/components/wd-cascader.d.ts +9 -9
- package/dist/configs/components/wd-checkbox.d.ts +3 -3
- package/dist/configs/components/wd-code-editor.d.ts +3 -3
- package/dist/configs/components/wd-date-range.d.ts +8 -8
- package/dist/configs/components/wd-date.d.ts +8 -8
- package/dist/configs/components/wd-department.d.ts +11 -11
- package/dist/configs/components/wd-drawer.d.ts +1 -0
- package/dist/configs/components/wd-form-arr.d.ts +3 -3
- package/dist/configs/components/wd-form-detail.d.ts +2 -2
- package/dist/configs/components/wd-form-obj.d.ts +3 -3
- package/dist/configs/components/wd-form.d.ts +7 -6
- package/dist/configs/components/wd-icon.d.ts +2 -2
- package/dist/configs/components/wd-image.d.ts +4 -4
- package/dist/configs/components/wd-input-email.d.ts +35 -35
- package/dist/configs/components/wd-input-number.d.ts +10 -10
- package/dist/configs/components/wd-input-phone.d.ts +37 -35
- package/dist/configs/components/wd-input-phone.js +22 -3
- package/dist/configs/components/wd-input-url.d.ts +35 -35
- package/dist/configs/components/wd-input.d.ts +5 -5
- package/dist/configs/components/wd-layout.d.ts +1 -0
- package/dist/configs/components/wd-link.d.ts +1 -0
- package/dist/configs/components/wd-location.d.ts +5 -5
- package/dist/configs/components/wd-member.d.ts +13 -13
- package/dist/configs/components/wd-menu-layout.d.ts +7 -6
- package/dist/configs/components/wd-modal.d.ts +1 -0
- package/dist/configs/components/wd-progress.d.ts +7 -6
- package/dist/configs/components/wd-radio.d.ts +3 -3
- package/dist/configs/components/wd-rating.d.ts +6 -6
- package/dist/configs/components/wd-region.d.ts +9 -9
- package/dist/configs/components/wd-rich-text.d.ts +3 -3
- package/dist/configs/components/wd-select-multiple.d.ts +10 -10
- package/dist/configs/components/wd-select.d.ts +9 -9
- package/dist/configs/components/wd-side-tab.d.ts +2 -1
- package/dist/configs/components/wd-switch.d.ts +6 -6
- package/dist/configs/components/wd-table.d.ts +10 -9
- package/dist/configs/components/wd-tag-select.d.ts +7 -7
- package/dist/configs/components/wd-text.d.ts +3 -3
- package/dist/configs/components/wd-textarea.d.ts +3 -3
- package/dist/configs/components/wd-time.d.ts +8 -8
- package/dist/configs/components/wd-top-tab.d.ts +2 -1
- package/dist/configs/components/wd-tree.d.ts +1 -0
- package/dist/configs/components/wd-upload-file.d.ts +5 -5
- package/dist/configs/components/wd-upload-image.d.ts +13 -13
- package/dist/configs/components/wedaVideo.d.ts +2 -2
- package/dist/configs/components/wxOpenApi/phone.d.ts +2 -2
- package/dist/configs/components/wxOpenApi/phoneCode.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/share.d.ts +2 -2
- package/dist/configs/components/wxOpenApi/userInfo.d.ts +4 -4
- package/dist/configs/index.d.ts +533 -528
- package/dist/configs/type-utils/index.d.ts +1 -1
- package/dist/configs/type-utils/type-form.js +2 -2
- package/dist/style/index.css +4 -0
- package/dist/style/index.scss +1 -1
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/chart/common/chart-custom-connector.d.ts +1 -0
- package/dist/web/components/flow/common/hooks/useFlowConfig.d.ts +1 -0
- package/dist/web/components/flow/modules/basic/Basic.d.ts +1 -0
- package/dist/web/components/flow/modules/basic/BasicMobile.d.ts +1 -0
- package/dist/web/components/flow/modules/combination/index.d.ts +1 -0
- package/dist/web/components/flow/modules/operations/control.d.ts +1 -0
- package/dist/web/components/flow/modules/operations/controls-items/approval-drawer/drawer-form/index.d.ts +1 -0
- package/dist/web/components/flow/modules/operations/controls-items/flow-task-info-modal/view-model.d.ts +1 -0
- package/dist/web/components/flow/modules/operations/controls-items/flow-task-info-modal.d.ts +1 -0
- package/dist/web/components/flow/modules/operations/controls-items/index.d.ts +1 -0
- package/dist/web/components/flow/modules/operations/view-model.d.ts +1 -0
- package/dist/web/components/flow/process/constants.d.ts +3 -3
- package/dist/web/components/form/enumSelect/NormalSelect.d.ts +1 -0
- package/dist/web/components/form/location/common/useLocationInfo.d.ts +1 -0
- package/dist/web/components/form/select/h5.d.ts +1 -1
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +2 -2
- package/dist/web/components/form/userOrgSelect/component/depart-breadcrumb.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/depart-select/org-modal-pc.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/error-tips.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/input-tags.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/modal-search-h5.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/modal-search.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/modal-select-h5.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/org-tree-h5.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/org-tree.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/selected-list-h5.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/selected-list.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/user-org-list.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/user-select-h5/user-list-h5.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/user-select-pc/error-tips.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/user-select-pc/model-user-list.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/user-select-pc/org-tree.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-model.d.ts +1 -0
- package/dist/web/components/form-date/index.d.ts +9 -9
- package/dist/web/components/form-depart-tree-select/index.d.ts +9 -9
- package/dist/web/components/form-email/index.d.ts +7 -7
- package/dist/web/components/form-image-uploader/index.d.ts +9 -9
- package/dist/web/components/form-input/index.d.ts +14 -14
- package/dist/web/components/form-input-hooks/index.d.ts +1 -1
- package/dist/web/components/form-location/index.d.ts +13 -13
- package/dist/web/components/form-multi-region/index.d.ts +7 -7
- package/dist/web/components/form-phone/index.d.ts +7 -7
- package/dist/web/components/form-radio/index.d.ts +7 -7
- package/dist/web/components/form-region/index.d.ts +7 -7
- package/dist/web/components/form-rich-text/index.d.ts +5 -5
- package/dist/web/components/form-select/index.d.ts +12 -12
- package/dist/web/components/form-select-multiple/index.d.ts +11 -11
- package/dist/web/components/form-switch/index.d.ts +4 -4
- package/dist/web/components/form-text-area/index.d.ts +8 -8
- package/dist/web/components/form-time/index.d.ts +8 -8
- package/dist/web/components/form-upload-file/index.d.ts +10 -10
- package/dist/web/components/form-url/index.d.ts +7 -7
- package/dist/web/components/form-user-tree-select/index.d.ts +10 -10
- package/dist/web/components/grid/col.d.ts +2 -2
- package/dist/web/components/grid/row.d.ts +1 -1
- package/dist/web/components/lottery/index.d.ts +2 -2
- package/dist/web/components/pageLayout/PageContent/index.d.ts +1 -0
- package/dist/web/components/phone/index.d.ts +1 -0
- package/dist/web/components/phoneCode/index.d.ts +1 -0
- package/dist/web/components/share/index.d.ts +1 -0
- package/dist/web/components/swiper/index.d.ts +1 -1
- package/dist/web/components/swiper/index.js +35 -16
- package/dist/web/components/table/BaseTable.d.ts +1 -0
- package/dist/web/components/table/FieldRender.d.ts +2 -1
- package/dist/web/components/table/FilterFields.d.ts +1 -0
- package/dist/web/components/table/Form/Enum.d.ts +1 -0
- package/dist/web/components/table/Form/Location.d.ts +1 -0
- package/dist/web/components/table/QuoteModal.d.ts +1 -0
- package/dist/web/components/table/UserDepartment/ViewCell.d.ts +1 -0
- package/dist/web/components/table/UserDepartment/utils.d.ts +1 -0
- package/dist/web/components/userInfo/index.d.ts +1 -0
- package/dist/web/components/wd-calendar/MonthSelect.d.ts +1 -0
- package/dist/web/components/wd-code-editor/lang/index.d.ts +1 -1
- package/dist/web/components/wd-config-provider/wd-config-context.d.ts +1 -1
- package/dist/web/components/wd-date/elements/interface.d.ts +1 -1
- package/dist/web/components/wd-department/_design/wd-department-select.d.ts +1 -0
- package/dist/web/components/wd-form/hooks/use-auth-value.d.ts +1 -0
- package/dist/web/components/wd-form/hooks/use-auth-value.js +3 -1
- package/dist/web/components/wd-form/hooks/use-remote-value.js +39 -8
- package/dist/web/components/wd-form/index.js +35 -1
- package/dist/web/components/wd-form/wd-form.d.ts +1 -0
- package/dist/web/components/wd-form-cell/wd-form-cell.d.ts +1 -0
- package/dist/web/components/wd-form-item/wd-input-group.d.ts +1 -0
- package/dist/web/components/wd-form-item/wd-input-wrap.d.ts +1 -0
- package/dist/web/components/wd-image/ImagePreview.d.ts +1 -0
- package/dist/web/components/wd-input/wd-input.d.ts +23 -23
- package/dist/web/components/wd-input-email/wd-input-email.d.ts +15 -15
- package/dist/web/components/wd-input-group/wd-input-group.d.ts +1 -0
- package/dist/web/components/wd-input-phone/wd-input-phone.d.ts +23 -23
- package/dist/web/components/wd-input-url/wd-input-url.d.ts +15 -15
- package/dist/web/components/wd-layout/wd-layout.d.ts +1 -0
- package/dist/web/components/wd-location/_design/wd-location.d.ts +1 -0
- package/dist/web/components/wd-member/_design/wd-member-select.d.ts +1 -0
- package/dist/web/components/wd-radio/wd-radio.d.ts +1 -0
- package/dist/web/components/wd-region/_design/wd-region.d.ts +1 -0
- package/dist/web/components/wd-retry/wd-retry.d.ts +1 -0
- package/dist/web/components/wd-select/_design/wd-select.d.ts +1 -0
- package/dist/web/components/wd-select/hooks/useChooseList.d.ts +1 -1
- package/dist/web/components/wd-select/relationSelect/relationalSetting.d.ts +1 -0
- package/dist/web/components/wd-table/components/ExportFileModalByApi/index.d.ts +1 -0
- package/dist/web/components/wd-table/components/FieldRender/Form/Enum.d.ts +1 -0
- package/dist/web/components/wd-table/components/FieldRender/Form/Location.d.ts +1 -0
- package/dist/web/components/wd-table/components/FieldRender/ImagePreview.d.ts +1 -0
- package/dist/web/components/wd-table/components/FieldRender/QuoteModal.d.ts +1 -0
- package/dist/web/components/wd-table/components/FieldRender/UserDepartment/ViewCell.d.ts +1 -0
- package/dist/web/components/wd-table/components/FieldRender/UserDepartment/utils.d.ts +1 -0
- package/dist/web/components/wd-table/components/FieldRender/index.d.ts +3 -2
- package/dist/web/components/wd-table/components/FieldRender/index.js +6 -3
- package/dist/web/components/wd-table/components/FilterFieldsPanel/Fields.d.ts +1 -0
- package/dist/web/components/wd-table/components/FilterFieldsPanel/FilterFieldItem.d.ts +1 -0
- package/dist/web/components/wd-table/components/FilterFieldsPanel/InputAdornment.d.ts +1 -0
- package/dist/web/components/wd-table/components/FilterFieldsPanel/SelectSearch.d.ts +1 -0
- package/dist/web/components/wd-table/components/FilterFieldsPanel/filterFieldsGenerate.js +24 -1
- package/dist/web/components/wd-table/components/FilterFieldsPanel/index.js +187 -168
- package/dist/web/components/wd-table/components/ImportFileModalByApi/index.d.ts +1 -0
- package/dist/web/components/wd-table/components/InOrOutRecordModal.d.ts +1 -0
- package/dist/web/components/wd-table/components/Pagination/index.d.ts +1 -0
- package/dist/web/components/wd-table/components/SearchBox/index.d.ts +1 -0
- package/dist/web/components/wd-table/hooks/useAuthFields.d.ts +1 -0
- package/dist/web/components/wd-table/hooks/useAuthFields.js +12 -4
- package/dist/web/components/wd-table/hooks/useTableData.js +4 -4
- package/dist/web/components/wd-table/wd-table.js +3 -1
- package/dist/web/components/wd-tabs/tabs-h5.d.ts +1 -0
- package/dist/web/components/wd-tabs/tabs-pc.d.ts +1 -0
- package/dist/web/components/wd-tabs/tabs.d.ts +1 -0
- package/dist/web/components/wd-tag/_design.d.ts +1 -0
- package/dist/web/components/wd-tree/utils.d.ts +19 -19
- package/dist/web/components/wd-upload-file/_design/wd-upload-file.d.ts +1 -0
- package/dist/web/components/wd-upload-image/_design/wd-upload-image.d.ts +1 -0
- package/dist/web/utils/config-context/use-config.d.ts +1 -1
- package/dist/web/utils/datasource.d.ts +1 -0
- package/dist/web/utils/datasource.js +13 -25
- package/dist/web/utils/getPageQuery.d.ts +1 -0
- package/dist/web/utils/i18n/locale/en_US.d.ts +1 -0
- package/dist/web/utils/i18n/locale/zh_CN.d.ts +1 -0
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -9,3 +9,80 @@
|
|
|
9
9
|
为了保证良好的性能,当前微搭平台没有对小程序和 web 做跨端的自动适配。目前采用多平台原生实现。
|
|
10
10
|
|
|
11
11
|
开发文档:[CONTRIBUTING.md](./CONTRIBUTING.md)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 本地调试测试
|
|
16
|
+
|
|
17
|
+
本地调试测试用于在本地环境 debug weda 组件代码,并运行 e2e 测试。
|
|
18
|
+
|
|
19
|
+
### 启动步骤
|
|
20
|
+
|
|
21
|
+
按以下顺序执行:
|
|
22
|
+
|
|
23
|
+
#### 1. 启动本地开发服务(端口 8388)
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm run dev
|
|
27
|
+
# 或
|
|
28
|
+
tcb lowcode debug
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
这会启动组件本地开发服务,监听 8388 端口。
|
|
32
|
+
|
|
33
|
+
#### 2. 构建本地服务包
|
|
34
|
+
|
|
35
|
+
新开一个终端,执行:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm run prestart:e2e-server-local
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
此命令会:
|
|
42
|
+
- 运行 `npm run build:cli` 构建 weda 组件
|
|
43
|
+
- 构建 lowcode-comps 脚本
|
|
44
|
+
- 使用 `--local-debug` 参数打包,weda 组件指向本地 `/static/` 路径(8388 端口)
|
|
45
|
+
|
|
46
|
+
#### 3. 启动测试应用服务(端口 2333)
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm run start:e2e-server
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
这会启动 e2e 测试服务,监听 2333 端口。
|
|
53
|
+
|
|
54
|
+
#### 4. 运行 e2e 测试
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# 自动运行测试(headless)
|
|
58
|
+
npm run test:e2e-cals
|
|
59
|
+
|
|
60
|
+
# 或手动打开 Cypress 界面调试
|
|
61
|
+
npm run test:manual-e2e-cals
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### 快速参考
|
|
65
|
+
|
|
66
|
+
| 命令 | 说明 | 端口 |
|
|
67
|
+
|------|------|------|
|
|
68
|
+
| `npm run dev` | 启动组件本地开发服务 | 8388 |
|
|
69
|
+
| `npm run prestart:e2e-server-local` | 构建本地服务包(指向 8388) | - |
|
|
70
|
+
| `npm run start:e2e-server` | 启动测试应用服务 | 2333 |
|
|
71
|
+
| `npm run test:e2e-cals` | 运行 e2e 测试 | - |
|
|
72
|
+
| `npm run test:manual-e2e-cals` | 打开 Cypress 手动调试 | - |
|
|
73
|
+
|
|
74
|
+
### 完整流程示例
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
# 终端 1:启动本地开发服务
|
|
78
|
+
npm run dev
|
|
79
|
+
|
|
80
|
+
# 终端 2:构建并启动测试服务
|
|
81
|
+
npm run prestart:e2e-server-local
|
|
82
|
+
npm run start:e2e-server
|
|
83
|
+
|
|
84
|
+
# 终端 3:运行测试
|
|
85
|
+
npm run test:manual-e2e-cals
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
访问 `http://localhost:2333` 可以查看测试应用,组件代码修改后会从本地 8388 端口热更新。
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Static } from '../type-utils';
|
|
2
3
|
import type { Simplify } from 'type-fest';
|
|
3
4
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
5
|
text: import("@sinclair/typebox").TString;
|
|
5
6
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"default" | "mini" | "large">>;
|
|
6
|
-
type: import("@sinclair/typebox").TUnsafe<"
|
|
7
|
+
type: import("@sinclair/typebox").TUnsafe<"default" | "primary" | "warn">;
|
|
7
8
|
loading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
8
9
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
9
|
-
formType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"button" | "
|
|
10
|
+
formType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"button" | "submit" | "reset">>;
|
|
10
11
|
openType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"" | "contact" | "share" | "launchApp" | "openSetting" | "feedback">>;
|
|
11
12
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
12
13
|
categoryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TNumber>>;
|
|
@@ -23,10 +24,10 @@ declare const config: {
|
|
|
23
24
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
24
25
|
text: import("@sinclair/typebox").TString;
|
|
25
26
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"default" | "mini" | "large">>;
|
|
26
|
-
type: import("@sinclair/typebox").TUnsafe<"
|
|
27
|
+
type: import("@sinclair/typebox").TUnsafe<"default" | "primary" | "warn">;
|
|
27
28
|
loading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
28
29
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
29
|
-
formType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"button" | "
|
|
30
|
+
formType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"button" | "submit" | "reset">>;
|
|
30
31
|
openType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"" | "contact" | "share" | "launchApp" | "openSetting" | "feedback">>;
|
|
31
32
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
32
33
|
categoryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TNumber>>;
|
|
@@ -4,7 +4,7 @@ declare const config: {
|
|
|
4
4
|
initValue: import("@sinclair/typebox").TString;
|
|
5
5
|
configData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
6
6
|
matchDate: import("@sinclair/typebox").TString;
|
|
7
|
-
disabled: import("@sinclair/typebox").TUnsafe<"
|
|
7
|
+
disabled: import("@sinclair/typebox").TUnsafe<"true" | "false">;
|
|
8
8
|
marked: import("@sinclair/typebox").TString;
|
|
9
9
|
}>>;
|
|
10
10
|
initVisible: import("@sinclair/typebox").TBoolean;
|
|
@@ -45,7 +45,7 @@ declare const config: {
|
|
|
45
45
|
setColor: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
46
46
|
xFieldShow: import("@sinclair/typebox").TNever;
|
|
47
47
|
xField: import("@sinclair/typebox").TObject<{
|
|
48
|
-
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "
|
|
48
|
+
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "time" | "array" | "email" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">[]>;
|
|
49
49
|
type: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "number" | "boolean" | "object" | "array">[]>;
|
|
50
50
|
title: import("@sinclair/typebox").TString;
|
|
51
51
|
name: import("@sinclair/typebox").TString;
|
|
@@ -40,7 +40,7 @@ declare const config: {
|
|
|
40
40
|
setColor: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
41
41
|
xFieldShow: import("@sinclair/typebox").TNever;
|
|
42
42
|
xField: import("@sinclair/typebox").TObject<{
|
|
43
|
-
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "
|
|
43
|
+
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "time" | "array" | "email" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">[]>;
|
|
44
44
|
type: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "number" | "boolean" | "object" | "array">[]>;
|
|
45
45
|
title: import("@sinclair/typebox").TString;
|
|
46
46
|
name: import("@sinclair/typebox").TString;
|
|
@@ -44,7 +44,7 @@ declare const config: {
|
|
|
44
44
|
setColor: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
45
45
|
dimensionalityShow: import("@sinclair/typebox").TNever;
|
|
46
46
|
xField: import("@sinclair/typebox").TObject<{
|
|
47
|
-
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "
|
|
47
|
+
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "time" | "array" | "email" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">[]>;
|
|
48
48
|
type: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "number" | "boolean" | "object" | "array">[]>;
|
|
49
49
|
title: import("@sinclair/typebox").TString;
|
|
50
50
|
name: import("@sinclair/typebox").TString;
|
|
@@ -9,7 +9,7 @@ declare const config: {
|
|
|
9
9
|
}>;
|
|
10
10
|
filterData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
11
11
|
field: import("@sinclair/typebox").TObject<{
|
|
12
|
-
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "
|
|
12
|
+
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "time" | "array" | "email" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">[]>;
|
|
13
13
|
type: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "number" | "boolean" | "object" | "array">[]>;
|
|
14
14
|
title: import("@sinclair/typebox").TString;
|
|
15
15
|
name: import("@sinclair/typebox").TString;
|
|
@@ -23,8 +23,8 @@ declare const config: {
|
|
|
23
23
|
suffix: import("@sinclair/typebox").TString;
|
|
24
24
|
}>;
|
|
25
25
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
26
|
-
label: import("@sinclair/typebox").TString;
|
|
27
26
|
value: import("@sinclair/typebox").TString;
|
|
27
|
+
label: import("@sinclair/typebox").TString;
|
|
28
28
|
unit: import("@sinclair/typebox").TNumber;
|
|
29
29
|
calculatedValue: import("@sinclair/typebox").TString;
|
|
30
30
|
}>;
|
|
@@ -13,7 +13,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
13
13
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
14
14
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
15
15
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
16
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
16
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
17
17
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
18
18
|
}>;
|
|
19
19
|
declare const events: readonly [{
|
|
@@ -39,7 +39,7 @@ declare const config: {
|
|
|
39
39
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
40
40
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
41
41
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
42
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
42
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
43
43
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
44
44
|
}>;
|
|
45
45
|
readonly compConfig: {
|
|
@@ -11,7 +11,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
11
11
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
12
12
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
13
13
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
14
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
14
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
15
15
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
16
16
|
multiple: import("@sinclair/typebox").TBoolean;
|
|
17
17
|
departmentScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
@@ -35,7 +35,7 @@ declare const config: {
|
|
|
35
35
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
36
36
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
37
37
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
38
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
38
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
39
39
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
40
40
|
multiple: import("@sinclair/typebox").TBoolean;
|
|
41
41
|
departmentScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
@@ -9,7 +9,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
9
9
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
maxLength: import("@sinclair/typebox").TNumber;
|
|
11
11
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
12
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
12
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
13
13
|
required: import("@sinclair/typebox").TBoolean;
|
|
14
14
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
15
15
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
@@ -43,7 +43,7 @@ declare const config: {
|
|
|
43
43
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
44
44
|
maxLength: import("@sinclair/typebox").TNumber;
|
|
45
45
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
46
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
46
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
47
47
|
required: import("@sinclair/typebox").TBoolean;
|
|
48
48
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
49
49
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
@@ -11,7 +11,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
11
11
|
single: import("@sinclair/typebox").TBoolean;
|
|
12
12
|
maxUploadCount: import("@sinclair/typebox").TNumber;
|
|
13
13
|
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
14
|
-
showShape: import("@sinclair/typebox").TUnsafe<"
|
|
14
|
+
showShape: import("@sinclair/typebox").TUnsafe<"ectangle" | "roundedTectangle" | "circular">;
|
|
15
15
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
16
16
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
17
17
|
isChooseAvatar: import("@sinclair/typebox").TBoolean;
|
|
@@ -41,7 +41,7 @@ declare const config: {
|
|
|
41
41
|
single: import("@sinclair/typebox").TBoolean;
|
|
42
42
|
maxUploadCount: import("@sinclair/typebox").TNumber;
|
|
43
43
|
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
44
|
-
showShape: import("@sinclair/typebox").TUnsafe<"
|
|
44
|
+
showShape: import("@sinclair/typebox").TUnsafe<"ectangle" | "roundedTectangle" | "circular">;
|
|
45
45
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
46
46
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
47
47
|
isChooseAvatar: import("@sinclair/typebox").TBoolean;
|
|
@@ -8,7 +8,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
8
8
|
}>>;
|
|
9
9
|
value: import("@sinclair/typebox").TString;
|
|
10
10
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
11
|
-
validateStatus: import("@sinclair/typebox").TUnsafe<"
|
|
11
|
+
validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
|
|
12
12
|
isNickNameType: import("@sinclair/typebox").TBoolean;
|
|
13
13
|
required: import("@sinclair/typebox").TBoolean;
|
|
14
14
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
@@ -17,7 +17,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
17
17
|
label: import("@sinclair/typebox").TString;
|
|
18
18
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
19
19
|
placeholder: import("@sinclair/typebox").TString;
|
|
20
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
20
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
21
21
|
type: import("@sinclair/typebox").TUnsafe<"number" | "text" | "idcard" | "digit">;
|
|
22
22
|
maxLength: import("@sinclair/typebox").TNumber;
|
|
23
23
|
password: import("@sinclair/typebox").TBoolean;
|
|
@@ -35,7 +35,7 @@ declare const _default: {
|
|
|
35
35
|
}>>;
|
|
36
36
|
value: import("@sinclair/typebox").TString;
|
|
37
37
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
38
|
-
validateStatus: import("@sinclair/typebox").TUnsafe<"
|
|
38
|
+
validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
|
|
39
39
|
isNickNameType: import("@sinclair/typebox").TBoolean;
|
|
40
40
|
required: import("@sinclair/typebox").TBoolean;
|
|
41
41
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
|
44
44
|
label: import("@sinclair/typebox").TString;
|
|
45
45
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
46
46
|
placeholder: import("@sinclair/typebox").TString;
|
|
47
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
47
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
48
48
|
type: import("@sinclair/typebox").TUnsafe<"number" | "text" | "idcard" | "digit">;
|
|
49
49
|
maxLength: import("@sinclair/typebox").TNumber;
|
|
50
50
|
password: import("@sinclair/typebox").TBoolean;
|
|
@@ -8,9 +8,9 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
8
8
|
label: import("@sinclair/typebox").TString;
|
|
9
9
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
dataSource: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
11
|
-
locationRange: import("@sinclair/typebox").TUnsafe<0 |
|
|
11
|
+
locationRange: import("@sinclair/typebox").TUnsafe<0 | 100 | 500 | 300 | 1000 | 2000 | -1>;
|
|
12
12
|
customRange: import("@sinclair/typebox").TNumber;
|
|
13
|
-
locationType: import("@sinclair/typebox").TUnsafe<
|
|
13
|
+
locationType: import("@sinclair/typebox").TUnsafe<1 | 2>;
|
|
14
14
|
defaultShowLocation: import("@sinclair/typebox").TBoolean;
|
|
15
15
|
required: import("@sinclair/typebox").TBoolean;
|
|
16
16
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
@@ -21,7 +21,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
21
21
|
zoom: import("@sinclair/typebox").TBoolean;
|
|
22
22
|
drag: import("@sinclair/typebox").TBoolean;
|
|
23
23
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
24
|
-
validateStatus: import("@sinclair/typebox").TUnsafe<"
|
|
24
|
+
validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
|
|
25
25
|
value: import("@sinclair/typebox").TObject<{
|
|
26
26
|
address: import("@sinclair/typebox").TString;
|
|
27
27
|
geopoint: import("@sinclair/typebox").TObject<{
|
|
@@ -37,9 +37,9 @@ declare const config: {
|
|
|
37
37
|
label: import("@sinclair/typebox").TString;
|
|
38
38
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
39
39
|
dataSource: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
40
|
-
locationRange: import("@sinclair/typebox").TUnsafe<0 |
|
|
40
|
+
locationRange: import("@sinclair/typebox").TUnsafe<0 | 100 | 500 | 300 | 1000 | 2000 | -1>;
|
|
41
41
|
customRange: import("@sinclair/typebox").TNumber;
|
|
42
|
-
locationType: import("@sinclair/typebox").TUnsafe<
|
|
42
|
+
locationType: import("@sinclair/typebox").TUnsafe<1 | 2>;
|
|
43
43
|
defaultShowLocation: import("@sinclair/typebox").TBoolean;
|
|
44
44
|
required: import("@sinclair/typebox").TBoolean;
|
|
45
45
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
@@ -50,7 +50,7 @@ declare const config: {
|
|
|
50
50
|
zoom: import("@sinclair/typebox").TBoolean;
|
|
51
51
|
drag: import("@sinclair/typebox").TBoolean;
|
|
52
52
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
53
|
-
validateStatus: import("@sinclair/typebox").TUnsafe<"
|
|
53
|
+
validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
|
|
54
54
|
value: import("@sinclair/typebox").TObject<{
|
|
55
55
|
address: import("@sinclair/typebox").TString;
|
|
56
56
|
geopoint: import("@sinclair/typebox").TObject<{
|
|
@@ -7,7 +7,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
7
7
|
regionType: import("@sinclair/typebox").TUnsafe<"levelThree" | "levelTwo" | "levelOne">;
|
|
8
8
|
placeholder: import("@sinclair/typebox").TString;
|
|
9
9
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
10
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
10
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
11
11
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
12
12
|
required: import("@sinclair/typebox").TBoolean;
|
|
13
13
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
@@ -30,7 +30,7 @@ declare const config: {
|
|
|
30
30
|
regionType: import("@sinclair/typebox").TUnsafe<"levelThree" | "levelTwo" | "levelOne">;
|
|
31
31
|
placeholder: import("@sinclair/typebox").TString;
|
|
32
32
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
33
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
33
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
34
34
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
35
35
|
required: import("@sinclair/typebox").TBoolean;
|
|
36
36
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
@@ -8,7 +8,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
8
8
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
9
9
|
focus: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
11
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
11
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
12
12
|
required: import("@sinclair/typebox").TBoolean;
|
|
13
13
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
14
14
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
@@ -41,7 +41,7 @@ declare const config: {
|
|
|
41
41
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
42
42
|
focus: import("@sinclair/typebox").TBoolean;
|
|
43
43
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
44
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
44
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
45
45
|
required: import("@sinclair/typebox").TBoolean;
|
|
46
46
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
47
47
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
@@ -11,7 +11,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
11
11
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
12
12
|
separator: import("@sinclair/typebox").TString;
|
|
13
13
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
14
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
14
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
15
15
|
}>;
|
|
16
16
|
declare const events: readonly [{
|
|
17
17
|
readonly title: "值改变";
|
|
@@ -34,7 +34,7 @@ declare const config: {
|
|
|
34
34
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
35
35
|
separator: import("@sinclair/typebox").TString;
|
|
36
36
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
37
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
37
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
38
38
|
}>;
|
|
39
39
|
readonly compConfig: {
|
|
40
40
|
readonly componentType: "formField";
|
|
@@ -14,7 +14,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
14
14
|
label: import("@sinclair/typebox").TString;
|
|
15
15
|
value: import("@sinclair/typebox").TString;
|
|
16
16
|
}>>;
|
|
17
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
17
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
18
18
|
format: import("@sinclair/typebox").TUnsafe<"many-many" | "one-many">;
|
|
19
19
|
viewId: import("@sinclair/typebox").TString;
|
|
20
20
|
enumName: import("@sinclair/typebox").TString;
|
|
@@ -46,7 +46,7 @@ declare const config: {
|
|
|
46
46
|
label: import("@sinclair/typebox").TString;
|
|
47
47
|
value: import("@sinclair/typebox").TString;
|
|
48
48
|
}>>;
|
|
49
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
49
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
50
50
|
format: import("@sinclair/typebox").TUnsafe<"many-many" | "one-many">;
|
|
51
51
|
viewId: import("@sinclair/typebox").TString;
|
|
52
52
|
enumName: import("@sinclair/typebox").TString;
|
|
@@ -14,7 +14,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
14
14
|
label: import("@sinclair/typebox").TString;
|
|
15
15
|
value: import("@sinclair/typebox").TString;
|
|
16
16
|
}>>;
|
|
17
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
17
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
18
18
|
where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
|
|
19
19
|
format: import("@sinclair/typebox").TUnsafe<"x-enum" | "related" | "father-son" | "many-one">;
|
|
20
20
|
viewId: import("@sinclair/typebox").TString;
|
|
@@ -53,7 +53,7 @@ declare const config: {
|
|
|
53
53
|
label: import("@sinclair/typebox").TString;
|
|
54
54
|
value: import("@sinclair/typebox").TString;
|
|
55
55
|
}>>;
|
|
56
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
56
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
57
57
|
where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
|
|
58
58
|
format: import("@sinclair/typebox").TUnsafe<"x-enum" | "related" | "father-son" | "many-one">;
|
|
59
59
|
viewId: import("@sinclair/typebox").TString;
|
|
@@ -9,7 +9,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
9
9
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
11
11
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
12
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
12
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
13
13
|
counterVisible: import("@sinclair/typebox").TBoolean;
|
|
14
14
|
maxLength: import("@sinclair/typebox").TNumber;
|
|
15
15
|
focus: import("@sinclair/typebox").TBoolean;
|
|
@@ -43,7 +43,7 @@ declare const config: {
|
|
|
43
43
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
44
44
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
45
45
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
46
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
46
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
47
47
|
counterVisible: import("@sinclair/typebox").TBoolean;
|
|
48
48
|
maxLength: import("@sinclair/typebox").TNumber;
|
|
49
49
|
focus: import("@sinclair/typebox").TBoolean;
|
|
@@ -10,7 +10,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
10
10
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
11
11
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
12
12
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
13
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
13
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
14
14
|
start: import("@sinclair/typebox").TString;
|
|
15
15
|
end: import("@sinclair/typebox").TString;
|
|
16
16
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
@@ -35,7 +35,7 @@ declare const config: {
|
|
|
35
35
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
36
36
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
37
37
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
38
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
38
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
39
39
|
start: import("@sinclair/typebox").TString;
|
|
40
40
|
end: import("@sinclair/typebox").TString;
|
|
41
41
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
@@ -9,7 +9,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
9
9
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
focus: import("@sinclair/typebox").TBoolean;
|
|
11
11
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
12
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
12
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
13
13
|
required: import("@sinclair/typebox").TBoolean;
|
|
14
14
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
15
15
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
@@ -43,7 +43,7 @@ declare const config: {
|
|
|
43
43
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
44
44
|
focus: import("@sinclair/typebox").TBoolean;
|
|
45
45
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
46
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
46
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
47
47
|
required: import("@sinclair/typebox").TBoolean;
|
|
48
48
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
49
49
|
requiredMsg: import("@sinclair/typebox").TString;
|
|
@@ -14,7 +14,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
14
14
|
where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
|
|
15
15
|
corpScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
16
16
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
17
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
17
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
18
18
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
19
19
|
multiple: import("@sinclair/typebox").TBoolean;
|
|
20
20
|
}>;
|
|
@@ -40,7 +40,7 @@ declare const config: {
|
|
|
40
40
|
where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
|
|
41
41
|
corpScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
42
42
|
layout: import("@sinclair/typebox").TUnsafe<"" | "horizontal" | "vertical">;
|
|
43
|
-
size: import("@sinclair/typebox").TUnsafe<"
|
|
43
|
+
size: import("@sinclair/typebox").TUnsafe<"l" | "m" | "s" | "full">;
|
|
44
44
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
45
45
|
multiple: import("@sinclair/typebox").TBoolean;
|
|
46
46
|
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Simplify, Static, StaticEventsType } from '../../type-utils';
|
|
2
2
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
3
3
|
addRowCol: import("@sinclair/typebox").TNever;
|
|
4
|
-
widthType: import("@sinclair/typebox").TUnsafe<"
|
|
5
|
-
lgWidthType: import("@sinclair/typebox").TUnsafe<"
|
|
4
|
+
widthType: import("@sinclair/typebox").TUnsafe<"auto-fill" | "fit-content">;
|
|
5
|
+
lgWidthType: import("@sinclair/typebox").TUnsafe<"auto-fill" | "fit-content">;
|
|
6
6
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
7
7
|
}>;
|
|
8
8
|
import type { ConditionalExcept, Except } from 'type-fest';
|
|
@@ -28,13 +28,13 @@ declare const _default: {
|
|
|
28
28
|
readonly $schema: string;
|
|
29
29
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
30
30
|
addRowCol: import("@sinclair/typebox").TNever;
|
|
31
|
-
widthType: import("@sinclair/typebox").TUnsafe<"
|
|
32
|
-
lgWidthType: import("@sinclair/typebox").TUnsafe<"
|
|
31
|
+
widthType: import("@sinclair/typebox").TUnsafe<"auto-fill" | "fit-content">;
|
|
32
|
+
lgWidthType: import("@sinclair/typebox").TUnsafe<"auto-fill" | "fit-content">;
|
|
33
33
|
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
34
34
|
}>;
|
|
35
35
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
36
|
-
widthType: import("@sinclair/typebox").TUnsafe<"
|
|
37
|
-
lgWidthType: import("@sinclair/typebox").TUnsafe<"
|
|
36
|
+
widthType: import("@sinclair/typebox").TUnsafe<"auto-fill" | "fit-content">;
|
|
37
|
+
lgWidthType: import("@sinclair/typebox").TUnsafe<"auto-fill" | "fit-content">;
|
|
38
38
|
}>;
|
|
39
39
|
readonly events: readonly [{
|
|
40
40
|
readonly name: "tap";
|
|
@@ -4,7 +4,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
4
4
|
addRowCol: import("@sinclair/typebox").TNever;
|
|
5
5
|
colCount: import("@sinclair/typebox").TNever;
|
|
6
6
|
gutterX: import("@sinclair/typebox").TUnsafe<string>;
|
|
7
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"
|
|
7
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"start" | "end" | "center">>;
|
|
8
8
|
}>;
|
|
9
9
|
export type DataType = Simplify<ConditionalExcept<Static<typeof data>, never>>;
|
|
10
10
|
declare const events: readonly [{
|
|
@@ -18,16 +18,16 @@ declare const config: {
|
|
|
18
18
|
addRowCol: import("@sinclair/typebox").TNever;
|
|
19
19
|
colCount: import("@sinclair/typebox").TNever;
|
|
20
20
|
gutterX: import("@sinclair/typebox").TUnsafe<string>;
|
|
21
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"
|
|
21
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"start" | "end" | "center">>;
|
|
22
22
|
}>;
|
|
23
23
|
readonly events: readonly [{
|
|
24
24
|
readonly name: "tap";
|
|
25
25
|
readonly title: "点击";
|
|
26
26
|
}];
|
|
27
27
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
28
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"
|
|
29
|
-
colCount: import("@sinclair/typebox").TNever;
|
|
28
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"start" | "end" | "center">>;
|
|
30
29
|
gutterX: import("@sinclair/typebox").TUnsafe<string>;
|
|
30
|
+
colCount: import("@sinclair/typebox").TNever;
|
|
31
31
|
}>;
|
|
32
32
|
readonly isContainer: true;
|
|
33
33
|
readonly compConfig: {
|
|
@@ -2,26 +2,26 @@ import type { Simplify } from 'type-fest';
|
|
|
2
2
|
import { Static } from '../type-utils';
|
|
3
3
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
-
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"fill" | "
|
|
5
|
+
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"fill" | "cover" | "contain" | "widthFix" | "heightFix">>;
|
|
6
6
|
imgPreview: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
7
|
maskClosable: import("@sinclair/typebox").TBoolean;
|
|
8
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
|
-
mode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"
|
|
11
|
+
mode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bottom" | "top" | "left" | "center" | "widthFix" | "heightFix" | "scaleToFill" | "aspectFit" | "aspectFill" | "right" | "top left" | "top right" | "bottom left" | "bottom right">>;
|
|
12
12
|
}>;
|
|
13
13
|
export type DataType = Simplify<Static<typeof data>>;
|
|
14
14
|
declare const _default: {
|
|
15
15
|
readonly $schema: string;
|
|
16
16
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
17
17
|
src: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
|
-
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"fill" | "
|
|
18
|
+
fit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"fill" | "cover" | "contain" | "widthFix" | "heightFix">>;
|
|
19
19
|
imgPreview: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20
20
|
maskClosable: import("@sinclair/typebox").TBoolean;
|
|
21
21
|
alt: import("@sinclair/typebox").TString;
|
|
22
22
|
showMenuByLongpress: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
23
23
|
lazyLoad: import("@sinclair/typebox").TBoolean;
|
|
24
|
-
mode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"
|
|
24
|
+
mode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bottom" | "top" | "left" | "center" | "widthFix" | "heightFix" | "scaleToFill" | "aspectFit" | "aspectFill" | "right" | "top left" | "top right" | "bottom left" | "bottom right">>;
|
|
25
25
|
}>;
|
|
26
26
|
readonly events: readonly [{
|
|
27
27
|
readonly name: "load";
|