@cloudbase/weda-ui 3.27.3 → 3.29.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/dist/configs/actions/showMessage.json +1 -1
- package/dist/configs/actions/showModal.json +1 -1
- package/dist/configs/actions/showToast.json +1 -1
- package/dist/configs/components/auth.json +1 -1
- package/dist/configs/components/button.d.ts +1 -1
- package/dist/configs/components/button.js +2 -1
- package/dist/configs/components/calendar.d.ts +1 -1
- package/dist/configs/components/calendar.js +2 -1
- package/dist/configs/components/carousel.json +4 -11
- package/dist/configs/components/chart/bar.d.ts +1 -1
- package/dist/configs/components/chart/bar.js +2 -1
- package/dist/configs/components/chart/line.d.ts +1 -1
- package/dist/configs/components/chart/line.js +2 -1
- package/dist/configs/components/chart/pie.d.ts +1 -1
- package/dist/configs/components/chart/pie.js +2 -1
- package/dist/configs/components/chart/statisticsCard.d.ts +1 -1
- package/dist/configs/components/chart/statisticsCard.js +2 -1
- package/dist/configs/components/container.d.ts +1 -1
- package/dist/configs/components/container.js +2 -1
- package/dist/configs/components/customer-service.d.ts +1 -1
- package/dist/configs/components/customer-service.js +2 -1
- package/dist/configs/components/dataView.js +2 -2
- package/dist/configs/components/echart.d.ts +1 -1
- package/dist/configs/components/echart.js +2 -1
- package/dist/configs/components/flow/flow.json +2 -4
- package/dist/configs/components/flow/flowbasic.json +2 -4
- package/dist/configs/components/flow/flowchart.json +2 -4
- package/dist/configs/components/flow/flowcontrol.json +2 -4
- package/dist/configs/components/flow/flowlayout.json +2 -4
- package/dist/configs/components/flow/flowprocess.json +2 -4
- package/dist/configs/components/flowgraph.json +2 -4
- package/dist/configs/components/form/checkbox.json +1 -1
- package/dist/configs/components/form/departTreeSelect.json +1 -1
- package/dist/configs/components/form/form.json +1 -1
- package/dist/configs/components/form/input.json +4 -11
- package/dist/configs/components/form/location.json +1 -1
- package/dist/configs/components/form/radio.json +2 -4
- package/dist/configs/components/form/richText.json +3 -7
- package/dist/configs/components/form/select.json +6 -26
- package/dist/configs/components/form/switch.json +1 -1
- package/dist/configs/components/form/textarea.json +2 -4
- package/dist/configs/components/form/tips.json +1 -1
- package/dist/configs/components/form/uploader.json +4 -10
- package/dist/configs/components/form/uploaderFile.json +3 -7
- package/dist/configs/components/form/userTreeSelect.json +3 -9
- package/dist/configs/components/form-checkbox.d.ts +3 -3
- package/dist/configs/components/form-checkbox.js +2 -1
- package/dist/configs/components/form-date.d.ts +3 -3
- package/dist/configs/components/form-date.js +2 -1
- package/dist/configs/components/form-depart-tree-select.d.ts +3 -3
- package/dist/configs/components/form-depart-tree-select.js +2 -1
- package/dist/configs/components/form-email.d.ts +3 -3
- package/dist/configs/components/form-email.js +2 -1
- package/dist/configs/components/form-image-uploader.d.ts +3 -3
- package/dist/configs/components/form-image-uploader.js +2 -1
- package/dist/configs/components/form-input.d.ts +3 -3
- package/dist/configs/components/form-input.js +2 -1
- package/dist/configs/components/form-location.d.ts +3 -3
- package/dist/configs/components/form-location.js +2 -1
- package/dist/configs/components/form-multi-region.d.ts +3 -3
- package/dist/configs/components/form-multi-region.js +2 -1
- package/dist/configs/components/form-phone.d.ts +3 -3
- package/dist/configs/components/form-phone.js +2 -1
- package/dist/configs/components/form-radio.d.ts +3 -3
- package/dist/configs/components/form-radio.js +2 -1
- package/dist/configs/components/form-region.d.ts +3 -3
- package/dist/configs/components/form-region.js +2 -1
- package/dist/configs/components/form-rich-text.d.ts +3 -3
- package/dist/configs/components/form-rich-text.js +2 -1
- package/dist/configs/components/form-select-multiple.d.ts +3 -3
- package/dist/configs/components/form-select-multiple.js +2 -1
- package/dist/configs/components/form-select.d.ts +3 -3
- package/dist/configs/components/form-select.js +2 -1
- package/dist/configs/components/form-switch.d.ts +3 -3
- package/dist/configs/components/form-switch.js +2 -1
- package/dist/configs/components/form-text-area.d.ts +3 -3
- package/dist/configs/components/form-text-area.js +2 -1
- package/dist/configs/components/form-time.d.ts +3 -3
- package/dist/configs/components/form-time.js +2 -1
- package/dist/configs/components/form-upload-file.d.ts +3 -3
- package/dist/configs/components/form-upload-file.js +2 -1
- package/dist/configs/components/form-url.d.ts +3 -3
- package/dist/configs/components/form-url.js +2 -1
- package/dist/configs/components/form-user-tree-select.d.ts +3 -3
- package/dist/configs/components/form-user-tree-select.js +2 -1
- package/dist/configs/components/formdetail.json +8 -22
- package/dist/configs/components/graphicCard.json +4 -11
- package/dist/configs/components/grid/col.d.ts +1 -1
- package/dist/configs/components/grid/col.js +2 -1
- package/dist/configs/components/grid/grid.d.ts +1 -1
- package/dist/configs/components/grid/grid.js +2 -1
- package/dist/configs/components/grid/row.d.ts +1 -1
- package/dist/configs/components/grid/row.js +2 -1
- package/dist/configs/components/image.d.ts +3 -3
- package/dist/configs/components/image.js +2 -1
- package/dist/configs/components/jsx.js +2 -1
- package/dist/configs/components/link.d.ts +1 -1
- package/dist/configs/components/link.js +2 -1
- package/dist/configs/components/listView.js +2 -1
- package/dist/configs/components/lottery.d.ts +1 -1
- package/dist/configs/components/lottery.js +2 -1
- package/dist/configs/components/modal.d.ts +1 -1
- package/dist/configs/components/modal.js +2 -1
- package/dist/configs/components/navLayout.json +4 -11
- package/dist/configs/components/navigationBar.json +1 -1
- package/dist/configs/components/pagelayout.json +3 -8
- package/dist/configs/components/picker/datePicker.json +1 -1
- package/dist/configs/components/qr_code.d.ts +1 -1
- package/dist/configs/components/qr_code.js +2 -1
- package/dist/configs/components/repeater-item.json +1 -1
- package/dist/configs/components/repeater.d.ts +1 -1
- package/dist/configs/components/repeater.js +2 -1
- package/dist/configs/components/richtextview.json +2 -4
- package/dist/configs/components/scrollView.d.ts +145 -0
- package/dist/configs/components/scrollView.js +357 -0
- package/dist/configs/components/slot.json +1 -1
- package/dist/configs/components/swiper.d.ts +1 -1
- package/dist/configs/components/swiper.js +2 -1
- package/dist/configs/components/table.json +17 -65
- package/dist/configs/components/tabs.d.ts +1 -1
- package/dist/configs/components/tabs.js +2 -1
- package/dist/configs/components/text.d.ts +1 -1
- package/dist/configs/components/text.js +2 -1
- package/dist/configs/components/wd-ad.d.ts +1 -1
- package/dist/configs/components/wd-ad.js +2 -1
- package/dist/configs/components/wd-audio.d.ts +1 -1
- package/dist/configs/components/wd-audio.js +2 -1
- package/dist/configs/components/wd-bubble.d.ts +4 -4
- package/dist/configs/components/wd-bubble.js +2 -1
- package/dist/configs/components/wd-button.d.ts +1 -1
- package/dist/configs/components/wd-button.js +3 -2
- package/dist/configs/components/wd-calendar.d.ts +1 -1
- package/dist/configs/components/wd-calendar.js +2 -1
- package/dist/configs/components/wd-canvas.d.ts +1 -1
- package/dist/configs/components/wd-canvas.js +2 -1
- package/dist/configs/components/wd-card.d.ts +3 -3
- package/dist/configs/components/wd-card.js +4 -3
- package/dist/configs/components/wd-cascader.d.ts +1 -1
- package/dist/configs/components/wd-cascader.js +2 -1
- package/dist/configs/components/wd-checkbox.d.ts +1 -1
- package/dist/configs/components/wd-checkbox.js +2 -1
- package/dist/configs/components/wd-code-editor.d.ts +1 -1
- package/dist/configs/components/wd-code-editor.js +2 -1
- package/dist/configs/components/wd-date-range.d.ts +1 -1
- package/dist/configs/components/wd-date-range.js +2 -1
- package/dist/configs/components/wd-date.d.ts +1 -1
- package/dist/configs/components/wd-date.js +2 -1
- package/dist/configs/components/wd-department.d.ts +1 -1
- package/dist/configs/components/wd-department.js +2 -1
- package/dist/configs/components/wd-divider.d.ts +1 -1
- package/dist/configs/components/wd-divider.js +2 -1
- package/dist/configs/components/wd-drawer.d.ts +1 -1
- package/dist/configs/components/wd-drawer.js +2 -1
- package/dist/configs/components/wd-form-arr.d.ts +1 -1
- package/dist/configs/components/wd-form-arr.js +2 -1
- package/dist/configs/components/wd-form-detail.d.ts +1 -1
- package/dist/configs/components/wd-form-detail.js +2 -1
- package/dist/configs/components/wd-form-obj.d.ts +1 -1
- package/dist/configs/components/wd-form-obj.js +2 -1
- package/dist/configs/components/wd-form.d.ts +6 -6
- package/dist/configs/components/wd-form.js +3 -3
- package/dist/configs/components/wd-icon.d.ts +1 -1
- package/dist/configs/components/wd-icon.js +2 -1
- package/dist/configs/components/wd-image.d.ts +1 -1
- package/dist/configs/components/wd-image.js +2 -1
- package/dist/configs/components/wd-input-email.d.ts +1 -1
- package/dist/configs/components/wd-input-email.js +2 -1
- package/dist/configs/components/wd-input-number.d.ts +1 -1
- package/dist/configs/components/wd-input-number.js +2 -1
- package/dist/configs/components/wd-input-phone.d.ts +1 -1
- package/dist/configs/components/wd-input-phone.js +2 -1
- package/dist/configs/components/wd-input-url.d.ts +1 -1
- package/dist/configs/components/wd-input-url.js +2 -1
- package/dist/configs/components/wd-input.d.ts +1 -1
- package/dist/configs/components/wd-input.js +2 -1
- package/dist/configs/components/wd-layout.d.ts +1 -1
- package/dist/configs/components/wd-layout.js +2 -1
- package/dist/configs/components/wd-link.d.ts +1 -1
- package/dist/configs/components/wd-link.js +2 -1
- package/dist/configs/components/wd-location.d.ts +17 -1
- package/dist/configs/components/wd-location.js +19 -2
- package/dist/configs/components/wd-markdown.d.ts +1 -1
- package/dist/configs/components/wd-markdown.js +2 -1
- package/dist/configs/components/wd-member.d.ts +1 -1
- package/dist/configs/components/wd-member.js +2 -1
- package/dist/configs/components/wd-menu-base-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-base-layout.js +2 -1
- package/dist/configs/components/wd-menu-horizontal-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-horizontal-layout.js +2 -1
- package/dist/configs/components/wd-menu-layout.d.ts +8 -8
- package/dist/configs/components/wd-menu-layout.js +2 -1
- package/dist/configs/components/wd-menu-list.d.ts +3 -3
- package/dist/configs/components/wd-menu-list.js +2 -1
- package/dist/configs/components/wd-menu-nav-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-nav-layout.js +2 -1
- package/dist/configs/components/wd-menu-nav-tab-layou.d.ts +1 -1
- package/dist/configs/components/wd-menu-nav-tab-layou.js +2 -1
- package/dist/configs/components/wd-menu-plant-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-plant-layout.js +2 -1
- package/dist/configs/components/wd-menu-tab-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-tab-layout.js +2 -1
- package/dist/configs/components/wd-menu-vertical-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-vertical-layout.js +2 -1
- package/dist/configs/components/wd-modal.d.ts +1 -1
- package/dist/configs/components/wd-modal.js +2 -2
- package/dist/configs/components/wd-official-account.d.ts +1 -1
- package/dist/configs/components/wd-official-account.js +2 -1
- package/dist/configs/components/wd-progress.d.ts +1 -1
- package/dist/configs/components/wd-progress.js +2 -1
- package/dist/configs/components/wd-radio.d.ts +1 -1
- package/dist/configs/components/wd-radio.js +2 -1
- package/dist/configs/components/wd-rating.d.ts +1 -1
- package/dist/configs/components/wd-rating.js +2 -1
- package/dist/configs/components/wd-region.d.ts +1 -1
- package/dist/configs/components/wd-region.js +2 -1
- package/dist/configs/components/wd-rich-text.d.ts +1 -1
- package/dist/configs/components/wd-rich-text.js +2 -1
- package/dist/configs/components/wd-select-multiple.d.ts +1 -1
- package/dist/configs/components/wd-select-multiple.js +2 -1
- package/dist/configs/components/wd-select.d.ts +1 -1
- package/dist/configs/components/wd-select.js +2 -1
- package/dist/configs/components/wd-side-tab.d.ts +1 -1
- package/dist/configs/components/wd-side-tab.js +2 -1
- package/dist/configs/components/wd-store-home.d.ts +1 -1
- package/dist/configs/components/wd-store-home.js +2 -1
- package/dist/configs/components/wd-store-product.d.ts +1 -1
- package/dist/configs/components/wd-store-product.js +2 -1
- package/dist/configs/components/wd-switch.d.ts +1 -1
- package/dist/configs/components/wd-switch.js +2 -1
- package/dist/configs/components/wd-tabbar.d.ts +1 -1
- package/dist/configs/components/wd-tabbar.js +2 -1
- package/dist/configs/components/wd-table.d.ts +1 -1
- package/dist/configs/components/wd-table.js +2 -1
- package/dist/configs/components/wd-tag-select.d.ts +1 -1
- package/dist/configs/components/wd-tag-select.js +2 -1
- package/dist/configs/components/wd-tag.d.ts +1 -1
- package/dist/configs/components/wd-tag.js +2 -1
- package/dist/configs/components/wd-text.d.ts +1 -1
- package/dist/configs/components/wd-text.js +2 -1
- package/dist/configs/components/wd-textarea.d.ts +1 -1
- package/dist/configs/components/wd-textarea.js +2 -1
- package/dist/configs/components/wd-time.d.ts +1 -1
- package/dist/configs/components/wd-time.js +2 -1
- package/dist/configs/components/wd-top-tab.d.ts +1 -1
- package/dist/configs/components/wd-top-tab.js +2 -1
- package/dist/configs/components/wd-tree.d.ts +1 -1
- package/dist/configs/components/wd-tree.js +2 -1
- package/dist/configs/components/wd-unified-link.d.ts +1 -1
- package/dist/configs/components/wd-unified-link.js +2 -1
- package/dist/configs/components/wd-upload-file.d.ts +5 -1
- package/dist/configs/components/wd-upload-file.js +12 -1
- package/dist/configs/components/wd-upload-image.d.ts +1 -1
- package/dist/configs/components/wd-upload-image.js +2 -1
- package/dist/configs/components/web-view.d.ts +1 -1
- package/dist/configs/components/web-view.js +2 -1
- package/dist/configs/components/wedaVideo.d.ts +1 -1
- package/dist/configs/components/wedaVideo.js +2 -1
- package/dist/configs/components/wxOpenApi/phone.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/phone.js +2 -1
- package/dist/configs/components/wxOpenApi/phoneCode.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/phoneCode.js +2 -1
- package/dist/configs/components/wxOpenApi/share.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/share.js +2 -1
- package/dist/configs/components/wxOpenApi/userInfo.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/userInfo.js +2 -1
- package/dist/configs/index.d.ts +528 -766
- package/dist/configs/index.js +1 -1
- package/dist/configs/type-utils/index.d.ts +2 -1
- package/dist/configs/type-utils/type-form.d.ts +2 -0
- package/dist/configs/type-utils/type-form.js +15 -0
- package/dist/configs/type-utils/x-runtime-default.d.ts +1 -0
- package/dist/configs/type-utils/x-runtime-default.js +1 -0
- package/dist/configs/utils/constants.d.ts +2 -0
- package/dist/configs/utils/constants.js +2 -0
- package/dist/onlineConfig.json +4 -4
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/form/location/components/LocationH5/location.h5.js +13 -1
- package/dist/web/components/form/location/components/LocationPC/location.PC.js +12 -0
- package/dist/web/components/form/uploaderFile/index.css +11 -1
- package/dist/web/components/form/uploaderFile/uploadFile.pc.d.ts +2 -1
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +8 -4
- 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 +1 -1
- package/dist/web/components/form-image-uploader/index.d.ts +1 -1
- package/dist/web/components/form-input/index.d.ts +1 -1
- package/dist/web/components/form-input-hooks/index.d.ts +1 -1
- package/dist/web/components/form-location/index.d.ts +1 -1
- 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-radio/index.d.ts +1 -1
- package/dist/web/components/form-region/index.d.ts +1 -1
- package/dist/web/components/form-rich-text/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-switch/index.d.ts +1 -1
- package/dist/web/components/form-text-area/index.d.ts +1 -1
- package/dist/web/components/form-time/index.d.ts +1 -1
- package/dist/web/components/form-upload-file/index.d.ts +1 -1
- package/dist/web/components/form-url/index.d.ts +1 -1
- package/dist/web/components/form-user-tree-select/index.d.ts +1 -1
- package/dist/web/components/grid/col.d.ts +2 -2
- package/dist/web/components/scrollView/index.d.ts +5 -23
- package/dist/web/components/scrollView/index.js +141 -50
- package/dist/web/components/uploaderFileView/index.js +0 -2
- package/dist/web/components/wd-member/wd-member.css +3 -7
- package/dist/web/components/wd-upload-file/wd-upload-file.js +2 -2
- package/dist/web/utils/i18n/locale/en_US.d.ts +1 -0
- package/dist/web/utils/i18n/locale/en_US.js +1 -0
- package/dist/web/utils/i18n/locale/zh_CN.d.ts +1 -0
- package/dist/web/utils/i18n/locale/zh_CN.js +1 -0
- package/package.json +6 -8
- package/dist/configs/components/scrollVeiw.json +0 -312
|
@@ -19,7 +19,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
19
19
|
}>;
|
|
20
20
|
export type DataType = Simplify<Static<typeof data>>;
|
|
21
21
|
declare const config: {
|
|
22
|
-
readonly $schema:
|
|
22
|
+
readonly $schema: string;
|
|
23
23
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
24
24
|
text: import("@sinclair/typebox").TString;
|
|
25
25
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"default" | "mini" | "large">>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
text: Type.String({
|
|
4
5
|
title: '文字',
|
|
@@ -193,7 +194,7 @@ const data = Type.Object({
|
|
|
193
194
|
});
|
|
194
195
|
// export default
|
|
195
196
|
const config = defineConfig({
|
|
196
|
-
$schema:
|
|
197
|
+
$schema: $SCHEMA,
|
|
197
198
|
data,
|
|
198
199
|
events: [
|
|
199
200
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const config: {
|
|
2
|
-
readonly $schema:
|
|
2
|
+
readonly $schema: string;
|
|
3
3
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
initValue: import("@sinclair/typebox").TString;
|
|
5
5
|
configData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
initValue: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -61,7 +62,7 @@ const data = Type.Object({
|
|
|
61
62
|
}),
|
|
62
63
|
});
|
|
63
64
|
const config = defineConfig({
|
|
64
|
-
$schema:
|
|
65
|
+
$schema: $SCHEMA,
|
|
65
66
|
data,
|
|
66
67
|
events: [],
|
|
67
68
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"images": {
|
|
@@ -95,18 +95,13 @@
|
|
|
95
95
|
"icon": "weda-editor-icon-link",
|
|
96
96
|
"tooltip": [
|
|
97
97
|
{
|
|
98
|
-
"platform": [
|
|
99
|
-
"ALL",
|
|
100
|
-
"MP"
|
|
101
|
-
],
|
|
98
|
+
"platform": ["ALL", "MP"],
|
|
102
99
|
"text": "小程序平台不支持跳转外部链接"
|
|
103
100
|
}
|
|
104
101
|
],
|
|
105
102
|
"disabled": [
|
|
106
103
|
{
|
|
107
|
-
"platform": [
|
|
108
|
-
"MP"
|
|
109
|
-
]
|
|
104
|
+
"platform": ["MP"]
|
|
110
105
|
}
|
|
111
106
|
]
|
|
112
107
|
}
|
|
@@ -164,9 +159,7 @@
|
|
|
164
159
|
"x-category": "基础属性",
|
|
165
160
|
"x-index": 120,
|
|
166
161
|
"x-component-props": {
|
|
167
|
-
"hideAddPlatform": [
|
|
168
|
-
"MP"
|
|
169
|
-
],
|
|
162
|
+
"hideAddPlatform": ["MP"],
|
|
170
163
|
"addHidden": true
|
|
171
164
|
},
|
|
172
165
|
"x-linkages": [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const config: {
|
|
2
|
-
readonly $schema:
|
|
2
|
+
readonly $schema: string;
|
|
3
3
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
directionType: import("@sinclair/typebox").TUnsafe<string>;
|
|
5
5
|
isPile: import("@sinclair/typebox").TBoolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Type } from '../../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../../utils/constants';
|
|
2
3
|
const $attached_template = `
|
|
3
4
|
{{#with $self as |$self|}}
|
|
4
5
|
{{#if (helper_utils '===' $self.attributes.dataSourceType 'variable')}}
|
|
@@ -1086,7 +1087,7 @@ const data = Type.Object({
|
|
|
1086
1087
|
}),
|
|
1087
1088
|
});
|
|
1088
1089
|
const config = defineConfig({
|
|
1089
|
-
$schema:
|
|
1090
|
+
$schema: $SCHEMA,
|
|
1090
1091
|
data,
|
|
1091
1092
|
events: [],
|
|
1092
1093
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const config: {
|
|
2
|
-
readonly $schema:
|
|
2
|
+
readonly $schema: string;
|
|
3
3
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
chartType: import("@sinclair/typebox").TUnsafe<string>;
|
|
5
5
|
isTitle: import("@sinclair/typebox").TBoolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Type } from '../../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../../utils/constants';
|
|
2
3
|
const $attached_template = `
|
|
3
4
|
{{#with $self as |$self|}}
|
|
4
5
|
{{#if (helper_utils '===' $self.attributes.dataSourceType 'variable')}}
|
|
@@ -979,7 +980,7 @@ const data = Type.Object({
|
|
|
979
980
|
}),
|
|
980
981
|
});
|
|
981
982
|
const config = defineConfig({
|
|
982
|
-
$schema:
|
|
983
|
+
$schema: $SCHEMA,
|
|
983
984
|
data,
|
|
984
985
|
events: [],
|
|
985
986
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const config: {
|
|
2
|
-
readonly $schema:
|
|
2
|
+
readonly $schema: string;
|
|
3
3
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
chartType: import("@sinclair/typebox").TUnsafe<string>;
|
|
5
5
|
isTitle: import("@sinclair/typebox").TBoolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Type } from '../../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../../utils/constants';
|
|
2
3
|
const $attached_template = `
|
|
3
4
|
{{#with $self as |$self|}}
|
|
4
5
|
{{#if (helper_utils '===' $self.attributes.dataSourceType 'variable')}}
|
|
@@ -856,7 +857,7 @@ const data = Type.Object({
|
|
|
856
857
|
}),
|
|
857
858
|
});
|
|
858
859
|
const config = defineConfig({
|
|
859
|
-
$schema:
|
|
860
|
+
$schema: $SCHEMA,
|
|
860
861
|
data,
|
|
861
862
|
events: [],
|
|
862
863
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const config: {
|
|
2
|
-
readonly $schema:
|
|
2
|
+
readonly $schema: string;
|
|
3
3
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
dataSource: import("@sinclair/typebox").TObject<{
|
|
5
5
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Type } from '../../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
dataSource: Type.Object({
|
|
4
5
|
name: Type.Optional(Type.String()),
|
|
@@ -326,7 +327,7 @@ const properties = Type.Composite([
|
|
|
326
327
|
Type.Object({ calculatedValue: Type.String({ title: '单位换算统计值' }) }),
|
|
327
328
|
]);
|
|
328
329
|
const config = defineConfig({
|
|
329
|
-
$schema:
|
|
330
|
+
$schema: $SCHEMA,
|
|
330
331
|
data,
|
|
331
332
|
// 只读属性定义
|
|
332
333
|
properties,
|
|
@@ -5,7 +5,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
5
5
|
}>;
|
|
6
6
|
export type DataType = Simplify<Static<typeof data>>;
|
|
7
7
|
declare const config: {
|
|
8
|
-
readonly $schema:
|
|
8
|
+
readonly $schema: string;
|
|
9
9
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
10
10
|
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11
11
|
data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
title: Type.Optional(Type.String({
|
|
4
5
|
title: '容器备注',
|
|
@@ -12,7 +13,7 @@ const data = Type.Object({
|
|
|
12
13
|
})),
|
|
13
14
|
});
|
|
14
15
|
const config = defineConfig({
|
|
15
|
-
$schema:
|
|
16
|
+
$schema: $SCHEMA,
|
|
16
17
|
data,
|
|
17
18
|
properties: Type.Pick(data, ['data']),
|
|
18
19
|
events: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const config: {
|
|
2
|
-
readonly $schema:
|
|
2
|
+
readonly $schema: string;
|
|
3
3
|
readonly isContainer: true;
|
|
4
4
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
5
5
|
showMessageCard: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const iconBoxShadow = `boxShadow = "0px 8px 8px 1.25px rgba(0, 0, 0, 0.06), 0px 6.25px 6.25px -3.75px rgba(0, 0, 0, 0.1)"`;
|
|
3
4
|
const getDefaultIconTpl = ({ withShadow }) => {
|
|
4
5
|
return `
|
|
@@ -194,7 +195,7 @@ const data = Type.Object({
|
|
|
194
195
|
});
|
|
195
196
|
// export default
|
|
196
197
|
const config = defineConfig({
|
|
197
|
-
$schema:
|
|
198
|
+
$schema: $SCHEMA,
|
|
198
199
|
isContainer: true,
|
|
199
200
|
// 属性定义
|
|
200
201
|
data,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { svgDataUri as svg } from '../svg-tag';
|
|
2
2
|
import { Type } from '../type-utils';
|
|
3
3
|
import { genericErrorType } from '../type-utils/error';
|
|
4
|
-
import { OFFICIAL_LIB_KEY, previewOperationHeaderIcon } from '../utils/constants';
|
|
4
|
+
import { OFFICIAL_LIB_KEY, previewOperationHeaderIcon, $SCHEMA } from '../utils/constants';
|
|
5
5
|
const rawTemplate = `
|
|
6
6
|
{{#with (helper_utils 'concat' 'string' 'number' 'boolean') as |_rangeTypes|}}
|
|
7
7
|
|
|
@@ -243,7 +243,7 @@ const properties = Type.Object({
|
|
|
243
243
|
}),
|
|
244
244
|
});
|
|
245
245
|
const config = {
|
|
246
|
-
$schema:
|
|
246
|
+
$schema: $SCHEMA,
|
|
247
247
|
data: {
|
|
248
248
|
properties: {
|
|
249
249
|
dataSourceType: {
|
|
@@ -13,7 +13,7 @@ declare const properties: import("@sinclair/typebox").TObject<{
|
|
|
13
13
|
export type DataType = Simplify<Static<typeof data>>;
|
|
14
14
|
export type PropsType = Simplify<Static<typeof properties>>;
|
|
15
15
|
declare const config: {
|
|
16
|
-
readonly $schema:
|
|
16
|
+
readonly $schema: string;
|
|
17
17
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
18
18
|
template: import("@sinclair/typebox").TString;
|
|
19
19
|
option: import("@sinclair/typebox").TUnknown;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Type, Tuple } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const containerBodyTemplate = `
|
|
3
4
|
{{#with $self as |$self|}}
|
|
4
5
|
|
|
@@ -420,7 +421,7 @@ const properties = Type.Object({
|
|
|
420
421
|
});
|
|
421
422
|
// export default
|
|
422
423
|
const config = defineConfig({
|
|
423
|
-
$schema:
|
|
424
|
+
$schema: $SCHEMA,
|
|
424
425
|
// 属性定义
|
|
425
426
|
data,
|
|
426
427
|
// 只读属性定义
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {}
|
|
5
5
|
},
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
"name": "flowLoad"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"platforms": [
|
|
17
|
-
"web"
|
|
18
|
-
],
|
|
16
|
+
"platforms": ["web"],
|
|
19
17
|
"meta": {
|
|
20
18
|
"title": "审批组件",
|
|
21
19
|
"description": "审批组件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"moduleTitle": {
|
|
@@ -109,9 +109,7 @@
|
|
|
109
109
|
"name": "flowLoad"
|
|
110
110
|
}
|
|
111
111
|
],
|
|
112
|
-
"platforms": [
|
|
113
|
-
"web"
|
|
114
|
-
],
|
|
112
|
+
"platforms": ["web"],
|
|
115
113
|
"meta": {
|
|
116
114
|
"title": "基本信息",
|
|
117
115
|
"description": "流程基本信息组件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {}
|
|
5
5
|
},
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
"name": "flowLoad"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
|
-
"platforms": [
|
|
13
|
-
"web"
|
|
14
|
-
],
|
|
12
|
+
"platforms": ["web"],
|
|
15
13
|
"meta": {
|
|
16
14
|
"title": "流程图示",
|
|
17
15
|
"description": "流程图示组件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {}
|
|
5
5
|
},
|
|
@@ -53,9 +53,7 @@
|
|
|
53
53
|
"name": "afterSelectNextApprover"
|
|
54
54
|
}
|
|
55
55
|
],
|
|
56
|
-
"platforms": [
|
|
57
|
-
"web"
|
|
58
|
-
],
|
|
56
|
+
"platforms": ["web"],
|
|
59
57
|
"meta": {
|
|
60
58
|
"title": "流程操作",
|
|
61
59
|
"description": "流程操作按钮组件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"flowContentSlot": {
|
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
"name": "flowLoad"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
|
-
"platforms": [
|
|
22
|
-
"web"
|
|
23
|
-
],
|
|
21
|
+
"platforms": ["web"],
|
|
24
22
|
"meta": {
|
|
25
23
|
"title": "流程布局",
|
|
26
24
|
"description": "流程布局组件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"moduleTitle": {
|
|
@@ -109,9 +109,7 @@
|
|
|
109
109
|
"name": "flowLoad"
|
|
110
110
|
}
|
|
111
111
|
],
|
|
112
|
-
"platforms": [
|
|
113
|
-
"web"
|
|
114
|
-
],
|
|
112
|
+
"platforms": ["web"],
|
|
115
113
|
"meta": {
|
|
116
114
|
"title": "流程记录",
|
|
117
115
|
"description": "流程记录组件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"processCanvasInfo": {
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"platforms": [
|
|
13
|
-
"web"
|
|
14
|
-
],
|
|
12
|
+
"platforms": ["web"],
|
|
15
13
|
"meta": {
|
|
16
14
|
"title": "流程图",
|
|
17
15
|
"description": "流程图组件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"isNickNameType": {
|
|
@@ -92,9 +92,7 @@
|
|
|
92
92
|
{
|
|
93
93
|
"label": "身份证输入",
|
|
94
94
|
"value": "idcard",
|
|
95
|
-
"x-platforms": [
|
|
96
|
-
"MP"
|
|
97
|
-
]
|
|
95
|
+
"x-platforms": ["MP"]
|
|
98
96
|
},
|
|
99
97
|
{
|
|
100
98
|
"label": "带小数点的数字",
|
|
@@ -162,18 +160,13 @@
|
|
|
162
160
|
"value": "full"
|
|
163
161
|
}
|
|
164
162
|
],
|
|
165
|
-
"x-platforms": [
|
|
166
|
-
"PCWEB"
|
|
167
|
-
]
|
|
163
|
+
"x-platforms": ["PCWEB"]
|
|
168
164
|
},
|
|
169
165
|
"clearable": {
|
|
170
166
|
"type": "boolean",
|
|
171
167
|
"default": true,
|
|
172
168
|
"title": "是否显示清空按钮",
|
|
173
|
-
"x-platforms": [
|
|
174
|
-
"MOBILEWEB",
|
|
175
|
-
"MP"
|
|
176
|
-
]
|
|
169
|
+
"x-platforms": ["MOBILEWEB", "MP"]
|
|
177
170
|
}
|
|
178
171
|
}
|
|
179
172
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"label": {
|
|
@@ -151,9 +151,7 @@
|
|
|
151
151
|
"title": "大小",
|
|
152
152
|
"default": "l",
|
|
153
153
|
"x-category": "高级属性",
|
|
154
|
-
"x-platforms": [
|
|
155
|
-
"PCWEB"
|
|
156
|
-
]
|
|
154
|
+
"x-platforms": ["PCWEB"]
|
|
157
155
|
},
|
|
158
156
|
"enumName": {
|
|
159
157
|
"type": "string",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"label": {
|
|
@@ -78,9 +78,7 @@
|
|
|
78
78
|
"acceptTypes": {
|
|
79
79
|
"type": "array",
|
|
80
80
|
"title": "允许上传图片类型",
|
|
81
|
-
"default": [
|
|
82
|
-
"image/*"
|
|
83
|
-
],
|
|
81
|
+
"default": ["image/*"],
|
|
84
82
|
"items": {
|
|
85
83
|
"type": "string",
|
|
86
84
|
"enum": [
|
|
@@ -126,9 +124,7 @@
|
|
|
126
124
|
"category": "表单",
|
|
127
125
|
"icon": "../../icons/RichText.svg",
|
|
128
126
|
"visible": [],
|
|
129
|
-
"platform": [
|
|
130
|
-
"WEB"
|
|
131
|
-
]
|
|
127
|
+
"platform": ["WEB"]
|
|
132
128
|
},
|
|
133
129
|
"events": [
|
|
134
130
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"where": {
|
|
@@ -22,16 +22,8 @@
|
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
24
|
"blackListConfig": {
|
|
25
|
-
"format": [
|
|
26
|
-
|
|
27
|
-
"father-son",
|
|
28
|
-
"x-file",
|
|
29
|
-
"x-image"
|
|
30
|
-
],
|
|
31
|
-
"type": [
|
|
32
|
-
"object",
|
|
33
|
-
"array"
|
|
34
|
-
]
|
|
25
|
+
"format": ["related", "father-son", "x-file", "x-image"],
|
|
26
|
+
"type": ["object", "array"]
|
|
35
27
|
},
|
|
36
28
|
"customRelOptions": {
|
|
37
29
|
"number": [
|
|
@@ -97,13 +89,7 @@
|
|
|
97
89
|
"type": "string",
|
|
98
90
|
"default": "selector",
|
|
99
91
|
"title": "类型",
|
|
100
|
-
"enum": [
|
|
101
|
-
"selector",
|
|
102
|
-
"date",
|
|
103
|
-
"time",
|
|
104
|
-
"region",
|
|
105
|
-
"mutiRegion"
|
|
106
|
-
],
|
|
92
|
+
"enum": ["selector", "date", "time", "region", "mutiRegion"],
|
|
107
93
|
"x-linkages": [
|
|
108
94
|
{
|
|
109
95
|
"type": "value:visible",
|
|
@@ -191,9 +177,7 @@
|
|
|
191
177
|
"value": "full"
|
|
192
178
|
}
|
|
193
179
|
],
|
|
194
|
-
"x-platforms": [
|
|
195
|
-
"PCWEB"
|
|
196
|
-
]
|
|
180
|
+
"x-platforms": ["PCWEB"]
|
|
197
181
|
},
|
|
198
182
|
"startTime": {
|
|
199
183
|
"type": "string",
|
|
@@ -248,11 +232,7 @@
|
|
|
248
232
|
"items": {
|
|
249
233
|
"type": "string"
|
|
250
234
|
},
|
|
251
|
-
"default": [
|
|
252
|
-
"北京市",
|
|
253
|
-
"北京市",
|
|
254
|
-
"东城区"
|
|
255
|
-
]
|
|
235
|
+
"default": ["北京市", "北京市", "东城区"]
|
|
256
236
|
},
|
|
257
237
|
"regionType": {
|
|
258
238
|
"type": "string",
|