@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
package/README.md
CHANGED
|
@@ -165,6 +165,9 @@ E2E 测试采用 Cypress 来进行,相比 Jest 模拟 dom,更适合对实际
|
|
|
165
165
|
|
|
166
166
|
请参考 [组件库 E2E 测试](https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002369725) 和 [测试用例创建指北](https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002370781)
|
|
167
167
|
|
|
168
|
+
- 执行 `npm run test:e2e-component` 可以执行组件级别的 E2E 测试
|
|
169
|
+
- 执行 `npm run test:manual-e2e-cals` 可以手动可视化运行应用级别的 E2E 测试
|
|
170
|
+
|
|
168
171
|
### 编写组件文档
|
|
169
172
|
|
|
170
173
|
组件库对外的文档统一发布技术文档站:https://docs.cloudbase.net/lowcode/components/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Static } from '../type-utils';
|
|
3
3
|
import type { Simplify } from 'type-fest';
|
|
4
4
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
5
|
-
text: import("@sinclair/typebox").TString
|
|
5
|
+
text: import("@sinclair/typebox").TString;
|
|
6
6
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"default" | "mini" | "large">>;
|
|
7
7
|
type: import("@sinclair/typebox").TUnsafe<"primary" | "default" | "warn">;
|
|
8
8
|
loading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -11,18 +11,18 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
11
11
|
openType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"" | "contact" | "share" | "launchApp" | "openSetting" | "feedback">>;
|
|
12
12
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
13
13
|
categoryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TNumber>>;
|
|
14
|
-
sessionFrom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
15
|
-
sendMessageTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
16
|
-
sendMessagePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
17
|
-
sendMessageImg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
14
|
+
sessionFrom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
|
+
sendMessageTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
|
+
sendMessagePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
|
+
sendMessageImg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
18
|
showMessageCard: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
19
|
-
appParameter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
19
|
+
appParameter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20
20
|
}>;
|
|
21
21
|
export type DataType = Simplify<Static<typeof data>>;
|
|
22
22
|
declare const config: {
|
|
23
23
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
24
24
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
25
|
-
text: import("@sinclair/typebox").TString
|
|
25
|
+
text: import("@sinclair/typebox").TString;
|
|
26
26
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"default" | "mini" | "large">>;
|
|
27
27
|
type: import("@sinclair/typebox").TUnsafe<"primary" | "default" | "warn">;
|
|
28
28
|
loading: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -31,12 +31,12 @@ declare const config: {
|
|
|
31
31
|
openType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"" | "contact" | "share" | "launchApp" | "openSetting" | "feedback">>;
|
|
32
32
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
33
33
|
categoryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TNumber>>;
|
|
34
|
-
sessionFrom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
35
|
-
sendMessageTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
36
|
-
sendMessagePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
37
|
-
sendMessageImg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
34
|
+
sessionFrom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
|
+
sendMessageTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
|
+
sendMessagePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
37
|
+
sendMessageImg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
38
38
|
showMessageCard: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
39
|
-
appParameter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
39
|
+
appParameter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
40
40
|
}>;
|
|
41
41
|
readonly events: readonly [{
|
|
42
42
|
readonly title: "点击";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const config: {
|
|
2
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
3
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
|
+
initValue: import("@sinclair/typebox").TString;
|
|
5
|
+
configData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
6
|
+
matchDate: import("@sinclair/typebox").TString;
|
|
7
|
+
disabled: import("@sinclair/typebox").TUnsafe<"false" | "true">;
|
|
8
|
+
marked: import("@sinclair/typebox").TString;
|
|
9
|
+
}>>;
|
|
10
|
+
initVisible: import("@sinclair/typebox").TBoolean;
|
|
11
|
+
}>;
|
|
12
|
+
readonly events: readonly [];
|
|
13
|
+
readonly meta: {
|
|
14
|
+
readonly name: "Calendar";
|
|
15
|
+
readonly title: "日历";
|
|
16
|
+
readonly description: "用于日历展示,例如考勤数据展示、日程展示。";
|
|
17
|
+
readonly category: "展示";
|
|
18
|
+
readonly icon: "../icons/Calendar.svg";
|
|
19
|
+
readonly categoryOrder: 400;
|
|
20
|
+
readonly componentOrder: 340;
|
|
21
|
+
};
|
|
22
|
+
readonly configMeta: {
|
|
23
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/Calendar";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default config;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
const data = Type.Object({
|
|
3
|
+
initValue: Type.String({
|
|
4
|
+
type: 'string',
|
|
5
|
+
title: '日历展示时间',
|
|
6
|
+
'x-category': '基础属性',
|
|
7
|
+
'x-index': 1,
|
|
8
|
+
description: '已选中效果展示的日期',
|
|
9
|
+
}),
|
|
10
|
+
configData: Type.Array(Type.Object({
|
|
11
|
+
matchDate: Type.String({
|
|
12
|
+
title: '对应日期',
|
|
13
|
+
format: 'date',
|
|
14
|
+
'x-component': 'date',
|
|
15
|
+
}),
|
|
16
|
+
disabled: Type.StringEnum({
|
|
17
|
+
title: '是否置灰',
|
|
18
|
+
enum: Tuple([
|
|
19
|
+
{
|
|
20
|
+
label: '是',
|
|
21
|
+
value: 'true',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: '否',
|
|
25
|
+
value: 'false',
|
|
26
|
+
},
|
|
27
|
+
]),
|
|
28
|
+
}),
|
|
29
|
+
marked: Type.String({
|
|
30
|
+
title: '打点标记',
|
|
31
|
+
type: 'string',
|
|
32
|
+
enum: [
|
|
33
|
+
{
|
|
34
|
+
label: '红色',
|
|
35
|
+
value: '#E34D59',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: '绿色',
|
|
39
|
+
value: '#00A870',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: '橙色',
|
|
43
|
+
value: '#ED7B2F',
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
}),
|
|
47
|
+
}), {
|
|
48
|
+
type: 'array',
|
|
49
|
+
title: '展示配置',
|
|
50
|
+
'x-category': '基础属性',
|
|
51
|
+
description: '可设置多个不同日期的特殊显示效果',
|
|
52
|
+
'x-index': 2,
|
|
53
|
+
default: [],
|
|
54
|
+
}),
|
|
55
|
+
initVisible: Type.Boolean({
|
|
56
|
+
default: true,
|
|
57
|
+
title: '时间控制器',
|
|
58
|
+
'x-category': '基础属性',
|
|
59
|
+
'x-index': 3,
|
|
60
|
+
description: '显示切换年月的操作按钮',
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
const config = defineConfig({
|
|
64
|
+
$schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
|
|
65
|
+
data,
|
|
66
|
+
events: [],
|
|
67
|
+
meta: {
|
|
68
|
+
name: 'Calendar',
|
|
69
|
+
title: '日历',
|
|
70
|
+
description: '用于日历展示,例如考勤数据展示、日程展示。',
|
|
71
|
+
category: '展示',
|
|
72
|
+
icon: '../icons/Calendar.svg',
|
|
73
|
+
categoryOrder: 400,
|
|
74
|
+
componentOrder: 340,
|
|
75
|
+
},
|
|
76
|
+
configMeta: {
|
|
77
|
+
docsUrl: 'https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/Calendar',
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
export default config;
|
|
@@ -304,10 +304,7 @@
|
|
|
304
304
|
"categoryOrder": 400,
|
|
305
305
|
"componentOrder": 260,
|
|
306
306
|
"icon": "../icons/Carousel.svg",
|
|
307
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/
|
|
308
|
-
},
|
|
309
|
-
"configMeta": {
|
|
310
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/Swiper"
|
|
307
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/Swiper"
|
|
311
308
|
},
|
|
312
309
|
"mpOrigin": "swiper"
|
|
313
310
|
}
|
|
@@ -3,66 +3,66 @@ declare const config: {
|
|
|
3
3
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
chartType: import("@sinclair/typebox").TUnsafe<string>;
|
|
5
5
|
isTitle: import("@sinclair/typebox").TBoolean;
|
|
6
|
-
title: import("@sinclair/typebox").TString
|
|
6
|
+
title: import("@sinclair/typebox").TString;
|
|
7
7
|
dataSource: import("@sinclair/typebox").TObject<{
|
|
8
|
-
name: import("@sinclair/typebox").TString
|
|
9
|
-
type: import("@sinclair/typebox").TString
|
|
10
|
-
subType: import("@sinclair/typebox").TString
|
|
11
|
-
methodName: import("@sinclair/typebox").TString
|
|
8
|
+
name: import("@sinclair/typebox").TString;
|
|
9
|
+
type: import("@sinclair/typebox").TString;
|
|
10
|
+
subType: import("@sinclair/typebox").TString;
|
|
11
|
+
methodName: import("@sinclair/typebox").TString;
|
|
12
12
|
}>;
|
|
13
13
|
dataSourceType: import("@sinclair/typebox").TUnsafe<string>;
|
|
14
14
|
dataModel: import("@sinclair/typebox").TObject<{
|
|
15
|
-
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
15
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
16
|
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
17
|
-
viewId: import("@sinclair/typebox").TString
|
|
18
|
-
methodName: import("@sinclair/typebox").TString
|
|
17
|
+
viewId: import("@sinclair/typebox").TString;
|
|
18
|
+
methodName: import("@sinclair/typebox").TString;
|
|
19
19
|
}>>;
|
|
20
20
|
}>;
|
|
21
21
|
datasourceVariable: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
22
22
|
XLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
23
|
-
Name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
24
|
-
Value: import("@sinclair/typebox").TString
|
|
23
|
+
Name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
Value: import("@sinclair/typebox").TString;
|
|
25
25
|
}>>;
|
|
26
26
|
}>>;
|
|
27
27
|
connector: import("@sinclair/typebox").TObject<{
|
|
28
28
|
datasource: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
29
|
-
title: import("@sinclair/typebox").TString
|
|
30
|
-
id: import("@sinclair/typebox").TString
|
|
31
|
-
name: import("@sinclair/typebox").TString
|
|
29
|
+
title: import("@sinclair/typebox").TString;
|
|
30
|
+
id: import("@sinclair/typebox").TString;
|
|
31
|
+
name: import("@sinclair/typebox").TString;
|
|
32
32
|
}>>;
|
|
33
33
|
}>;
|
|
34
34
|
connectorMethod: import("@sinclair/typebox").TObject<{
|
|
35
|
-
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
36
|
-
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
35
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
37
37
|
}>;
|
|
38
|
-
connectorParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
39
|
-
filterData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString
|
|
40
|
-
setColor: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString
|
|
38
|
+
connectorParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
39
|
+
filterData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
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
43
|
format: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "time" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "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
|
-
title: import("@sinclair/typebox").TString
|
|
46
|
-
name: import("@sinclair/typebox").TString
|
|
45
|
+
title: import("@sinclair/typebox").TString;
|
|
46
|
+
name: import("@sinclair/typebox").TString;
|
|
47
47
|
}>;
|
|
48
|
-
xStatistics: import("@sinclair/typebox").TString
|
|
48
|
+
xStatistics: import("@sinclair/typebox").TString;
|
|
49
49
|
xIsCountEmpty: import("@sinclair/typebox").TBoolean;
|
|
50
50
|
yFieldSubTitle: import("@sinclair/typebox").TNever;
|
|
51
51
|
yField: import("@sinclair/typebox").TObject<{
|
|
52
52
|
numValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
53
|
-
key: import("@sinclair/typebox").TString
|
|
53
|
+
key: import("@sinclair/typebox").TString;
|
|
54
54
|
operationType: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>;
|
|
55
55
|
}>>>;
|
|
56
|
-
groupKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
56
|
+
groupKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
57
57
|
}>;
|
|
58
|
-
groupKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString
|
|
59
|
-
groupKeyTimeSpan: import("@sinclair/typebox").TString
|
|
58
|
+
groupKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
59
|
+
groupKeyTimeSpan: import("@sinclair/typebox").TString;
|
|
60
60
|
legendShow: import("@sinclair/typebox").TNever;
|
|
61
61
|
isLegend: import("@sinclair/typebox").TBoolean;
|
|
62
62
|
legend: import("@sinclair/typebox").TUnsafe<string>;
|
|
63
63
|
xFieldShowHight: import("@sinclair/typebox").TNever;
|
|
64
64
|
isXaxisName: import("@sinclair/typebox").TBoolean;
|
|
65
|
-
xAxisName: import("@sinclair/typebox").TString
|
|
65
|
+
xAxisName: import("@sinclair/typebox").TString;
|
|
66
66
|
isXaxisAxisLabelShow: import("@sinclair/typebox").TBoolean;
|
|
67
67
|
isXaxisAxisTickShow: import("@sinclair/typebox").TBoolean;
|
|
68
68
|
isXaxisAxisLabelRotate: import("@sinclair/typebox").TBoolean;
|
|
@@ -72,7 +72,7 @@ declare const config: {
|
|
|
72
72
|
yAxisMax: import("@sinclair/typebox").TNumber;
|
|
73
73
|
yAxisMin: import("@sinclair/typebox").TNumber;
|
|
74
74
|
isYAxisName: import("@sinclair/typebox").TBoolean;
|
|
75
|
-
yAxisName: import("@sinclair/typebox").TString
|
|
75
|
+
yAxisName: import("@sinclair/typebox").TString;
|
|
76
76
|
isYAxisShow: import("@sinclair/typebox").TBoolean;
|
|
77
77
|
dataTagShow: import("@sinclair/typebox").TNever;
|
|
78
78
|
isSeriesShowSymbol: import("@sinclair/typebox").TBoolean;
|
|
@@ -80,7 +80,7 @@ declare const config: {
|
|
|
80
80
|
isUnit: import("@sinclair/typebox").TBoolean;
|
|
81
81
|
unit: import("@sinclair/typebox").TNumber;
|
|
82
82
|
decimalDigits: import("@sinclair/typebox").TNumber;
|
|
83
|
-
suffix: import("@sinclair/typebox").TString
|
|
83
|
+
suffix: import("@sinclair/typebox").TString;
|
|
84
84
|
}>;
|
|
85
85
|
readonly events: readonly [];
|
|
86
86
|
readonly meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const commonRequiredDataForm: {
|
|
2
2
|
required: import("@sinclair/typebox").TBoolean;
|
|
3
3
|
requiredFlag: import("@sinclair/typebox").TBoolean;
|
|
4
|
-
requiredMsg: import("@sinclair/typebox").TString
|
|
4
|
+
requiredMsg: import("@sinclair/typebox").TString;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const config: {
|
|
2
2
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
3
3
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
|
-
title: import("@sinclair/typebox").TString
|
|
4
|
+
title: import("@sinclair/typebox").TString;
|
|
5
5
|
}>;
|
|
6
6
|
readonly events: readonly [{
|
|
7
7
|
readonly name: "tap";
|
|
@@ -1,38 +1,14 @@
|
|
|
1
1
|
declare const config: {
|
|
2
2
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
3
3
|
readonly isContainer: true;
|
|
4
|
-
readonly data: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
readonly title: "模板";
|
|
13
|
-
readonly type: "string";
|
|
14
|
-
readonly default: "suspend";
|
|
15
|
-
readonly enum: readonly [{
|
|
16
|
-
readonly label: "固定悬浮";
|
|
17
|
-
readonly value: "suspend";
|
|
18
|
-
readonly tooltip: "悬浮在屏幕右下角";
|
|
19
|
-
readonly src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACIC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h1fC9EAYMVx/+13NXLtjOhtYGBko1uQ3eQGdpdT41AfVTVQdlyl7HKzhbspPW9be3ts8P/I3HEa425hJQAAAABJRU5ErkJggg==";
|
|
20
|
-
}, {
|
|
21
|
-
readonly label: "相对定位";
|
|
22
|
-
readonly value: "normal";
|
|
23
|
-
readonly tooltip: "普通布局";
|
|
24
|
-
readonly src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACICAYAAACr6wSIAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfBSURBVHgB7d1PbBtlGsfxZ8Zu6vyhjYXSrVYr1dm9bZFa9tDjkuweAVEucCThBBJSKoE4kvQIQiIRlTi2PcIFkODc9MqlQYIrSYWEQgA5DUnqNrGHeSYxCmni8eN5x5mxvx/JpLhu08P88v6Z53nHk33VanW0WCzNBEEwEUgwIUC/C+SeV/AXzowM3m6+5el/wrBU/MLAnfCXFQFw2HKj/vh/5XJ5JQrMg42tZSEsQCsamv8UqhubU554UwKglXLgFR75viczAiBWwfP+64XTsUAAtCPwBUDbCAxgQGAAAwIDGBAYwIDAAAZF6YDevCmVBqTg++J5ngB5srO7K7XajgSB/Y6KeYTRsAwPlaRYKBAW5NKpYlFGhksdXb/mwJRODxAU5J5ew4ODA2JlDkyxWBCgF+iSwopFP/pWV6ZkQD8jMIABgQEMCAxgQGAAAwIDGBAYwIDAAAYEBjDoqFq5n9VqNUF+lEolcYnAGK2urgryo1KpiEuZDMz6VkO++GZTllYeyf21x9FXfU9fTZVzRamMnZJL4yV5tnJanrs4GL53SoA0mc8lO/PUkKRBw7DwVVUWv98OXw+lE5fHT8u158uphocpWb7ETck2ft8Wg+DEA9MMyvzX1b+MIElNTZ6R2VeeZtRBS7kKzPVPf3MelMPmwtDMvvq0AEfJRWBW1nbk5Q9+kqXlR9INOsrcuf4PRhs8wRqYrt+HuX1nQ559537XwqI0oPo9dSMBSKKrgbn+2W8ydWM11SnYcfR7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ocZvX0/cxsAOgLe+/CCeXShpz9fXD8UNvXiKb0gP3p9TKZv/CxZcnP/iCYrevrzJfM9/UfRzsksHZKnU0XX7c3oD10rz53b34k66dPyNSxJ1i309Pe3rj9FWZ9GNv3xatfXNLpm0fPLpmLOHUN/yc1jx/VBS916dozWiX3+7t/ZPsYTMv/YcaUXrh6jlPa6RkcV/R6d7IYBRzmREeYgl6fwN2lQtPRfCyo5Kxmt5GJKdpS9o5W2o5P/Oz3MXMv/n3tmiKCgbbkNzEHN8Oz19Nei0zQPrnc0DPrSKoIL5wbCrwNR4xohgVVPBAbollws+oG8IjCAAYEBDAgMYEBgAAMCAxgQGMCAwAAGBAYwcN5ARs87ssT1M0mdB4aed2RJLnv6gV7hfISh5x29zHlgeI49ehlTMsCAwAAGBAYwIDCAAYEBDAgMYEBgAAMCAxgQGMCAwAAGBAYwIDCAAYEBDAgMYEBgAAN6+tHT6OkHDOjpB04QPf2AAT39gAFTMsCAwAAGBAYwIDCAAYEBDAgMYEBgAAMCAxgQGMDAHJggCAToV+bA1BsNAXrB7u6uWJkDU6s9ZpRB7uk1/LC2I1bmwDQagWxt18J01gXIGw1Kvd6Qza1aRz/4O6pW1tBsP3wkQL9hlwwwIDCAAYEBDAgMYEBgAAMCAxj4nniLAiBeIEt+PajfFQBxAs/z571qtTrq+wP3xJOKADhaID+cPTv8L79cLq83Gv5k+MaKADgs0LCEGfm//o938Heq1c0pz5cZz/MuS3+hmhRPCJOyGATBXWmMLJTL3rq+9wdX0wZfvSRdiwAAAABJRU5ErkJggg==";
|
|
25
|
-
}];
|
|
26
|
-
readonly 'x-component': "data-sources-template-selector";
|
|
27
|
-
readonly 'x-props': {
|
|
28
|
-
readonly 'data-hidebind': true;
|
|
29
|
-
};
|
|
30
|
-
readonly 'x-category': "风格";
|
|
31
|
-
readonly 'x-index': 80;
|
|
32
|
-
readonly description: "客服会话样式的预设模板";
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
4
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
5
|
+
showMessageCard: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
6
|
+
sendMessageTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
|
+
sendMessagePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8
|
+
sendMessageImg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
9
|
+
sessionFrom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
|
+
template: import("@sinclair/typebox").TUnsafe<"normal" | "suspend">;
|
|
11
|
+
}>;
|
|
36
12
|
readonly methods: readonly [];
|
|
37
13
|
readonly classes: readonly [{
|
|
38
14
|
readonly name: "根元素";
|
|
@@ -48,8 +24,8 @@ declare const config: {
|
|
|
48
24
|
readonly name: "contact";
|
|
49
25
|
readonly 'x-platforms': readonly ["MP"];
|
|
50
26
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
51
|
-
errMsg: import("@sinclair/typebox").TString
|
|
52
|
-
path: import("@sinclair/typebox").TString
|
|
27
|
+
errMsg: import("@sinclair/typebox").TString;
|
|
28
|
+
path: import("@sinclair/typebox").TString;
|
|
53
29
|
query: import("@sinclair/typebox").TObject<{}>;
|
|
54
30
|
}>;
|
|
55
31
|
}];
|