@cloudbase/weda-ui 3.6.2 → 3.7.1
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/components/form-location.d.ts +2 -2
- package/dist/configs/components/wd-card.d.ts +14 -14
- package/dist/configs/components/wd-card.js +38 -32
- package/dist/configs/components/wd-cascader.d.ts +276 -0
- package/dist/configs/components/wd-cascader.js +183 -0
- package/dist/configs/components/wd-code-editor.d.ts +245 -0
- package/dist/configs/components/wd-code-editor.js +92 -0
- package/dist/configs/components/wd-form-arr.d.ts +193 -0
- package/dist/configs/components/wd-form-arr.js +206 -0
- package/dist/configs/components/wd-form-obj.d.ts +181 -0
- package/dist/configs/components/wd-form-obj.js +107 -0
- package/dist/configs/components/wd-form.d.ts +2 -2
- package/dist/configs/components/wd-image.js +1 -1
- package/dist/configs/components/wd-table.d.ts +3 -3
- package/dist/configs/components/wd-upload-file.d.ts +1 -0
- package/dist/configs/components/wd-upload-file.js +4 -1
- package/dist/configs/components/wd-upload-image.d.ts +2 -0
- package/dist/configs/components/wd-upload-image.js +4 -1
- package/dist/configs/components/web-view.d.ts +20 -1
- package/dist/configs/components/web-view.js +22 -1
- package/dist/configs/index.d.ts +1604 -28
- package/dist/configs/index.js +8 -0
- package/dist/configs/type-utils/type-form.d.ts +22 -0
- package/dist/configs/type-utils/type-form.js +58 -1
- package/dist/configs/type-utils/x-runtime-default.d.ts +3 -0
- package/dist/configs/type-utils/x-runtime-default.js +3 -0
- package/dist/enum/index.d.ts +8 -0
- package/dist/enum/index.js +11 -0
- package/dist/style/index.scss +1 -1
- package/dist/web/components/container/index.js +49 -1
- package/dist/web/components/form/uploader/uploader.h5.js +3 -3
- package/dist/web/components/form/uploader/uploader.pc.js +3 -3
- package/dist/web/components/form-input-hooks/index.js +14 -7
- package/dist/web/components/form-input-hooks/validator.js +2 -2
- package/dist/web/components/form-location/index.d.ts +1 -1
- package/dist/web/components/index.d.ts +4 -0
- package/dist/web/components/index.js +6 -0
- package/dist/web/components/richTextView/index.css +2 -1
- package/dist/web/components/wd-cascader/cascader.d.ts +6 -0
- package/dist/web/components/wd-cascader/cascader.h5.d.ts +2 -0
- package/dist/web/components/wd-cascader/cascader.h5.js +132 -0
- package/dist/web/components/wd-cascader/cascader.js +97 -0
- package/dist/web/components/wd-cascader/index.d.ts +4 -0
- package/dist/web/components/wd-cascader/index.js +3 -0
- package/dist/web/components/wd-cascader/interface.d.ts +26 -0
- package/dist/web/components/wd-cascader/interface.js +1 -0
- package/dist/web/components/wd-cascader/utils.d.ts +6 -0
- package/dist/web/components/wd-cascader/utils.js +63 -0
- package/dist/web/components/wd-code-editor/index.d.ts +3 -0
- package/dist/web/components/wd-code-editor/index.js +3 -0
- package/dist/web/components/wd-code-editor/lang/index.d.ts +17 -0
- package/dist/web/components/wd-code-editor/lang/index.js +21 -0
- package/dist/web/components/wd-code-editor/lang/mongodb/complete.d.ts +8 -0
- package/dist/web/components/wd-code-editor/lang/mongodb/complete.js +222 -0
- package/dist/web/components/wd-code-editor/lang/mongodb/index.d.ts +2 -0
- package/dist/web/components/wd-code-editor/lang/mongodb/index.js +60 -0
- package/dist/web/components/wd-code-editor/lang/mongodb/snippets.d.ts +6 -0
- package/dist/web/components/wd-code-editor/lang/mongodb/snippets.js +189 -0
- package/dist/web/components/wd-code-editor/theme.d.ts +4 -0
- package/dist/web/components/wd-code-editor/theme.js +5 -0
- package/dist/web/components/wd-code-editor/wd-code-editor.d.ts +9 -0
- package/dist/web/components/wd-code-editor/wd-code-editor.js +66 -0
- package/dist/web/components/wd-date/elements/Modal.h5.d.ts +2 -0
- package/dist/web/components/wd-date/elements/Modal.h5.js +4 -2
- package/dist/web/components/wd-form/form-utils.js +1 -1
- package/dist/web/components/wd-form/index.d.ts +4 -4
- package/dist/web/components/wd-form-arr/index.d.ts +4 -0
- package/dist/web/components/wd-form-arr/index.js +3 -0
- package/dist/web/components/wd-form-arr/wd-form-arr.d.ts +8 -0
- package/dist/web/components/wd-form-arr/wd-form-arr.js +6 -0
- package/dist/web/components/wd-form-item/wd-form-item.js +3 -3
- package/dist/web/components/wd-form-obj/base-form-obj.d.ts +13 -0
- package/dist/web/components/wd-form-obj/base-form-obj.js +351 -0
- package/dist/web/components/wd-form-obj/index.d.ts +4 -0
- package/dist/web/components/wd-form-obj/index.js +3 -0
- package/dist/web/components/wd-form-obj/wd-form-obj.d.ts +9 -0
- package/dist/web/components/wd-form-obj/wd-form-obj.js +7 -0
- package/dist/web/components/wd-input/wd-input.d.ts +2 -2
- package/dist/web/components/wd-input-phone/wd-input-phone.js +2 -2
- package/dist/web/components/wd-table/utils/index.js +20 -8
- package/dist/web/components/wd-table/wd-table.js +4 -2
- package/dist/web/components/wd-tabs/tabs.d.ts +1 -1
- package/dist/web/components/wd-textarea/calcTextareaHeight.d.ts +1 -0
- package/dist/web/components/wd-textarea/calcTextareaHeight.js +45 -0
- package/dist/web/components/wd-textarea/wd-textarea.js +4 -6
- package/dist/web/components/wd-unified-link/index.js +2 -2
- package/dist/web/components/web-view/web-view.js +15 -4
- package/dist/web/utils/tool.d.ts +1 -0
- package/dist/web/utils/tool.js +4 -1
- package/dist/web/utils/widget-api/index.d.ts +20 -0
- package/dist/web/utils/widget-api/index.js +14 -0
- package/package.json +8 -1
package/dist/configs/index.d.ts
CHANGED
|
@@ -1,4 +1,216 @@
|
|
|
1
1
|
export declare const components: {
|
|
2
|
+
WdCodeEditor: {
|
|
3
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
4
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
5
|
+
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
6
|
+
focus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
|
+
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
8
|
+
rules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
9
|
+
format: import("@sinclair/typebox").TString;
|
|
10
|
+
message: import("@sinclair/typebox").TString;
|
|
11
|
+
pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
|
+
}>>>;
|
|
13
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
14
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15
|
+
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
|
+
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
17
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
19
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
22
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
23
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
25
|
+
default: string;
|
|
26
|
+
}>;
|
|
27
|
+
language: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
28
|
+
theme: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
29
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30
|
+
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
32
|
+
}>;
|
|
33
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
34
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
37
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
38
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
39
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
40
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
41
|
+
}>;
|
|
42
|
+
readonly classes: readonly {
|
|
43
|
+
name: string;
|
|
44
|
+
selector: string;
|
|
45
|
+
description: string;
|
|
46
|
+
}[];
|
|
47
|
+
readonly methods: readonly [{
|
|
48
|
+
name: string;
|
|
49
|
+
label: string;
|
|
50
|
+
params: {
|
|
51
|
+
properties: {
|
|
52
|
+
value: {
|
|
53
|
+
title: string;
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
description: string;
|
|
59
|
+
}, {
|
|
60
|
+
name: string;
|
|
61
|
+
label: string;
|
|
62
|
+
params: {
|
|
63
|
+
properties: {
|
|
64
|
+
value: {
|
|
65
|
+
title: string;
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
description: string;
|
|
71
|
+
}, {
|
|
72
|
+
name: string;
|
|
73
|
+
label: string;
|
|
74
|
+
params: {
|
|
75
|
+
properties: {
|
|
76
|
+
value: {
|
|
77
|
+
title: string;
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
description: string;
|
|
83
|
+
}, {
|
|
84
|
+
name: string;
|
|
85
|
+
label: string;
|
|
86
|
+
description: string;
|
|
87
|
+
}, {
|
|
88
|
+
name: string;
|
|
89
|
+
label: string;
|
|
90
|
+
params: {
|
|
91
|
+
properties: {
|
|
92
|
+
value: {
|
|
93
|
+
title: string;
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
description: string;
|
|
99
|
+
}, {
|
|
100
|
+
name: string;
|
|
101
|
+
label: string;
|
|
102
|
+
description: string;
|
|
103
|
+
}, {
|
|
104
|
+
name: string;
|
|
105
|
+
label: string;
|
|
106
|
+
description: string;
|
|
107
|
+
}, {
|
|
108
|
+
readonly name: "format";
|
|
109
|
+
readonly label: "js格式化";
|
|
110
|
+
readonly description: "目前仅支持js格式化组件值";
|
|
111
|
+
}];
|
|
112
|
+
readonly events: readonly [{
|
|
113
|
+
name: string;
|
|
114
|
+
title: string;
|
|
115
|
+
detail: import("@sinclair/typebox").TObject<{
|
|
116
|
+
value: import("@sinclair/typebox").TString;
|
|
117
|
+
}>;
|
|
118
|
+
description: string;
|
|
119
|
+
}];
|
|
120
|
+
readonly meta: {
|
|
121
|
+
readonly description: "用于代码编辑。";
|
|
122
|
+
readonly figureIcon: "../figureIcons/WdTextarea.svg";
|
|
123
|
+
readonly icon: "../icons/TextArea.svg";
|
|
124
|
+
readonly title: "代码编辑器";
|
|
125
|
+
readonly name: "WdCodeEditor";
|
|
126
|
+
readonly componentName: "CodeEditor";
|
|
127
|
+
readonly categoryOrder: 500;
|
|
128
|
+
readonly componentOrder: 360;
|
|
129
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdCodeEditor";
|
|
130
|
+
readonly category: string;
|
|
131
|
+
readonly shortcut: {
|
|
132
|
+
props: string[];
|
|
133
|
+
};
|
|
134
|
+
readonly group: {
|
|
135
|
+
标签项: {
|
|
136
|
+
'x-index': number;
|
|
137
|
+
expand: boolean;
|
|
138
|
+
};
|
|
139
|
+
通用: {
|
|
140
|
+
'x-index': number;
|
|
141
|
+
expand: boolean;
|
|
142
|
+
};
|
|
143
|
+
标题风格: {
|
|
144
|
+
'x-index': number;
|
|
145
|
+
expand: boolean;
|
|
146
|
+
};
|
|
147
|
+
输入框: {
|
|
148
|
+
'x-index': number;
|
|
149
|
+
expand: boolean;
|
|
150
|
+
};
|
|
151
|
+
标签风格: {
|
|
152
|
+
'x-index': number;
|
|
153
|
+
expand: boolean;
|
|
154
|
+
};
|
|
155
|
+
选择框: {
|
|
156
|
+
'x-index': number;
|
|
157
|
+
expand: boolean;
|
|
158
|
+
};
|
|
159
|
+
内容: {
|
|
160
|
+
'x-index': number;
|
|
161
|
+
expand: boolean;
|
|
162
|
+
};
|
|
163
|
+
图片内容: {
|
|
164
|
+
'x-index': number;
|
|
165
|
+
expand: boolean;
|
|
166
|
+
};
|
|
167
|
+
文件内容: {
|
|
168
|
+
'x-index': number;
|
|
169
|
+
expand: boolean;
|
|
170
|
+
};
|
|
171
|
+
地图内容: {
|
|
172
|
+
'x-index': number;
|
|
173
|
+
expand: boolean;
|
|
174
|
+
};
|
|
175
|
+
开关按钮: {
|
|
176
|
+
'x-index': number;
|
|
177
|
+
expand: boolean;
|
|
178
|
+
};
|
|
179
|
+
小程序能力: {
|
|
180
|
+
'x-index': number;
|
|
181
|
+
expand: boolean;
|
|
182
|
+
};
|
|
183
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
184
|
+
'x-index': number;
|
|
185
|
+
expand: boolean;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
readonly visible: any;
|
|
189
|
+
readonly inlineStyleForm: {
|
|
190
|
+
$text: {
|
|
191
|
+
visible: boolean;
|
|
192
|
+
};
|
|
193
|
+
justifyContent: {
|
|
194
|
+
visible: boolean;
|
|
195
|
+
};
|
|
196
|
+
flexDirection: {
|
|
197
|
+
visible: boolean;
|
|
198
|
+
};
|
|
199
|
+
alignItems: {
|
|
200
|
+
visible: boolean;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
readonly templates: readonly [{
|
|
204
|
+
readonly when: "$attached";
|
|
205
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
206
|
+
readonly __k: "init-name-with-id";
|
|
207
|
+
}];
|
|
208
|
+
readonly platform: readonly ["MOBILEWEB", "PCWEB"];
|
|
209
|
+
};
|
|
210
|
+
readonly compConfig: {
|
|
211
|
+
readonly componentType: "formField";
|
|
212
|
+
};
|
|
213
|
+
};
|
|
2
214
|
WdUnifiedLink: {
|
|
3
215
|
$schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
4
216
|
data: import("@sinclair/typebox").TObject<{
|
|
@@ -421,6 +633,235 @@ export declare const components: {
|
|
|
421
633
|
readonly componentType: "formField";
|
|
422
634
|
};
|
|
423
635
|
};
|
|
636
|
+
WdCascader: {
|
|
637
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
638
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
639
|
+
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
640
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
641
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
642
|
+
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
643
|
+
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
644
|
+
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
645
|
+
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
646
|
+
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
647
|
+
prefixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
648
|
+
prefixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
649
|
+
prefixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
650
|
+
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
651
|
+
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
652
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
653
|
+
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
654
|
+
borderedPc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
655
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
656
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
657
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
658
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
659
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
660
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
661
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
662
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
663
|
+
'x-index': number;
|
|
664
|
+
}>;
|
|
665
|
+
data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
|
|
666
|
+
label: import("@sinclair/typebox").TString;
|
|
667
|
+
value: import("@sinclair/typebox").TString;
|
|
668
|
+
isLeaf: import("@sinclair/typebox").TBoolean;
|
|
669
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>;
|
|
670
|
+
disabled: import("@sinclair/typebox").TBoolean;
|
|
671
|
+
}>>>>;
|
|
672
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny> & {
|
|
673
|
+
title: string;
|
|
674
|
+
}>;
|
|
675
|
+
multiple: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
676
|
+
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
677
|
+
default: string;
|
|
678
|
+
}>;
|
|
679
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
680
|
+
}>;
|
|
681
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
682
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
683
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
684
|
+
'x-index': number;
|
|
685
|
+
}>;
|
|
686
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny> & {
|
|
687
|
+
title: string;
|
|
688
|
+
}>;
|
|
689
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
690
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
691
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
692
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
693
|
+
selectedOptions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
694
|
+
label: import("@sinclair/typebox").TString;
|
|
695
|
+
value: import("@sinclair/typebox").TString;
|
|
696
|
+
}>>>;
|
|
697
|
+
}>;
|
|
698
|
+
readonly classes: {
|
|
699
|
+
name: string;
|
|
700
|
+
selector: string;
|
|
701
|
+
description: string;
|
|
702
|
+
}[];
|
|
703
|
+
readonly methods: readonly [{
|
|
704
|
+
name: string;
|
|
705
|
+
label: string;
|
|
706
|
+
params: {
|
|
707
|
+
properties: {
|
|
708
|
+
value: {
|
|
709
|
+
title: string;
|
|
710
|
+
type: string;
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
description: string;
|
|
715
|
+
}, {
|
|
716
|
+
name: string;
|
|
717
|
+
label: string;
|
|
718
|
+
params: {
|
|
719
|
+
properties: {
|
|
720
|
+
value: {
|
|
721
|
+
title: string;
|
|
722
|
+
type: string;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
description: string;
|
|
727
|
+
}, {
|
|
728
|
+
name: string;
|
|
729
|
+
label: string;
|
|
730
|
+
params: {
|
|
731
|
+
properties: {
|
|
732
|
+
value: {
|
|
733
|
+
title: string;
|
|
734
|
+
type: string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
description: string;
|
|
739
|
+
}, {
|
|
740
|
+
name: string;
|
|
741
|
+
label: string;
|
|
742
|
+
description: string;
|
|
743
|
+
}, {
|
|
744
|
+
name: string;
|
|
745
|
+
label: string;
|
|
746
|
+
params: {
|
|
747
|
+
properties: {
|
|
748
|
+
value: {
|
|
749
|
+
title: string;
|
|
750
|
+
type: string;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
description: string;
|
|
755
|
+
}, {
|
|
756
|
+
name: string;
|
|
757
|
+
label: string;
|
|
758
|
+
description: string;
|
|
759
|
+
}, {
|
|
760
|
+
name: string;
|
|
761
|
+
label: string;
|
|
762
|
+
description: string;
|
|
763
|
+
}];
|
|
764
|
+
readonly events: readonly [{
|
|
765
|
+
name: string;
|
|
766
|
+
title: string;
|
|
767
|
+
detail: import("@sinclair/typebox").TObject<{
|
|
768
|
+
value: import("@sinclair/typebox").TString;
|
|
769
|
+
}>;
|
|
770
|
+
description: string;
|
|
771
|
+
}];
|
|
772
|
+
readonly meta: {
|
|
773
|
+
readonly description: "多级选择器,常使用在地域选择,机型配置选择等。";
|
|
774
|
+
readonly figureIcon: "../figureIcons/WdSelect.svg";
|
|
775
|
+
readonly icon: "../icons/FormSelect.svg";
|
|
776
|
+
readonly title: "级联选择";
|
|
777
|
+
readonly componentName: "Cascader";
|
|
778
|
+
readonly name: "WdCascader";
|
|
779
|
+
readonly categoryOrder: 500;
|
|
780
|
+
readonly componentOrder: 371;
|
|
781
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdCascade";
|
|
782
|
+
readonly category: string;
|
|
783
|
+
readonly shortcut: {
|
|
784
|
+
props: string[];
|
|
785
|
+
};
|
|
786
|
+
readonly group: {
|
|
787
|
+
标签项: {
|
|
788
|
+
'x-index': number;
|
|
789
|
+
expand: boolean;
|
|
790
|
+
};
|
|
791
|
+
通用: {
|
|
792
|
+
'x-index': number;
|
|
793
|
+
expand: boolean;
|
|
794
|
+
};
|
|
795
|
+
标题风格: {
|
|
796
|
+
'x-index': number;
|
|
797
|
+
expand: boolean;
|
|
798
|
+
};
|
|
799
|
+
输入框: {
|
|
800
|
+
'x-index': number;
|
|
801
|
+
expand: boolean;
|
|
802
|
+
};
|
|
803
|
+
标签风格: {
|
|
804
|
+
'x-index': number;
|
|
805
|
+
expand: boolean;
|
|
806
|
+
};
|
|
807
|
+
选择框: {
|
|
808
|
+
'x-index': number;
|
|
809
|
+
expand: boolean;
|
|
810
|
+
};
|
|
811
|
+
内容: {
|
|
812
|
+
'x-index': number;
|
|
813
|
+
expand: boolean;
|
|
814
|
+
};
|
|
815
|
+
图片内容: {
|
|
816
|
+
'x-index': number;
|
|
817
|
+
expand: boolean;
|
|
818
|
+
};
|
|
819
|
+
文件内容: {
|
|
820
|
+
'x-index': number;
|
|
821
|
+
expand: boolean;
|
|
822
|
+
};
|
|
823
|
+
地图内容: {
|
|
824
|
+
'x-index': number;
|
|
825
|
+
expand: boolean;
|
|
826
|
+
};
|
|
827
|
+
开关按钮: {
|
|
828
|
+
'x-index': number;
|
|
829
|
+
expand: boolean;
|
|
830
|
+
};
|
|
831
|
+
小程序能力: {
|
|
832
|
+
'x-index': number;
|
|
833
|
+
expand: boolean;
|
|
834
|
+
};
|
|
835
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
836
|
+
'x-index': number;
|
|
837
|
+
expand: boolean;
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
readonly visible: any;
|
|
841
|
+
readonly inlineStyleForm: {
|
|
842
|
+
$text: {
|
|
843
|
+
visible: boolean;
|
|
844
|
+
};
|
|
845
|
+
justifyContent: {
|
|
846
|
+
visible: boolean;
|
|
847
|
+
};
|
|
848
|
+
flexDirection: {
|
|
849
|
+
visible: boolean;
|
|
850
|
+
};
|
|
851
|
+
alignItems: {
|
|
852
|
+
visible: boolean;
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
readonly templates: readonly [{
|
|
856
|
+
readonly when: "$attached";
|
|
857
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
858
|
+
readonly __k: "init-name-with-id";
|
|
859
|
+
}];
|
|
860
|
+
};
|
|
861
|
+
readonly compConfig: {
|
|
862
|
+
readonly componentType: "formField";
|
|
863
|
+
};
|
|
864
|
+
};
|
|
424
865
|
WdAudio: {
|
|
425
866
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
426
867
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -595,6 +1036,332 @@ export declare const components: {
|
|
|
595
1036
|
}];
|
|
596
1037
|
};
|
|
597
1038
|
};
|
|
1039
|
+
WdFormObj: {
|
|
1040
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
1041
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
1042
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
1043
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string> & {
|
|
1044
|
+
title: string;
|
|
1045
|
+
}>;
|
|
1046
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1047
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1048
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
1049
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1050
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1051
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1052
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
1053
|
+
'x-rules': {
|
|
1054
|
+
message: string;
|
|
1055
|
+
pattern: string;
|
|
1056
|
+
}[];
|
|
1057
|
+
}>;
|
|
1058
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{}>, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>]>>;
|
|
1059
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
1060
|
+
}>;
|
|
1061
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
1062
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1063
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
1064
|
+
'x-rules': {
|
|
1065
|
+
message: string;
|
|
1066
|
+
pattern: string;
|
|
1067
|
+
}[];
|
|
1068
|
+
}>;
|
|
1069
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{}>, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>]>>;
|
|
1070
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1071
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1072
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1073
|
+
}>;
|
|
1074
|
+
readonly classes: readonly [{
|
|
1075
|
+
readonly name: "根元素";
|
|
1076
|
+
readonly selector: ".form-obj-wrap";
|
|
1077
|
+
readonly description: "嵌套表单根元素";
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly name: "PC 端嵌套表单根元素";
|
|
1080
|
+
readonly selector: ".pc-form-obj-wrap";
|
|
1081
|
+
readonly description: "可以为 PC 端的嵌套表单编写样式";
|
|
1082
|
+
}, {
|
|
1083
|
+
readonly name: "H5 端嵌套表单根元素";
|
|
1084
|
+
readonly selector: ".h5-form-obj-wrap";
|
|
1085
|
+
readonly description: "可以为 H5 端的嵌套表单编写样式";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly name: "小程序端嵌套表单根元素";
|
|
1088
|
+
readonly selector: ".mp-form-obj-wrap";
|
|
1089
|
+
readonly description: "可以为小程序端的嵌套表单编写样式";
|
|
1090
|
+
}];
|
|
1091
|
+
readonly methods: readonly [{
|
|
1092
|
+
readonly name: "change";
|
|
1093
|
+
readonly label: "值改变";
|
|
1094
|
+
readonly params: import("@sinclair/typebox").TObject<{
|
|
1095
|
+
name: import("@sinclair/typebox").TString;
|
|
1096
|
+
value: import("@sinclair/typebox").TAny;
|
|
1097
|
+
}>;
|
|
1098
|
+
}];
|
|
1099
|
+
readonly events: readonly [{
|
|
1100
|
+
readonly name: "onDataChange";
|
|
1101
|
+
readonly title: "值改变";
|
|
1102
|
+
readonly description: "组件中的数据内容发生改变时触发";
|
|
1103
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
1104
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>;
|
|
1105
|
+
}>;
|
|
1106
|
+
}];
|
|
1107
|
+
readonly compConfig: {
|
|
1108
|
+
readonly isDataContainer: true;
|
|
1109
|
+
readonly componentType: "formField";
|
|
1110
|
+
};
|
|
1111
|
+
readonly isContainer: true;
|
|
1112
|
+
readonly meta: {
|
|
1113
|
+
readonly name: "WdFormObj";
|
|
1114
|
+
readonly componentName: "formObj";
|
|
1115
|
+
readonly title: "对象嵌套表单";
|
|
1116
|
+
readonly description: "对象嵌套表单";
|
|
1117
|
+
readonly icon: "../icons/Text.svg";
|
|
1118
|
+
readonly category: "表单";
|
|
1119
|
+
readonly group: {
|
|
1120
|
+
标签项: {
|
|
1121
|
+
'x-index': number;
|
|
1122
|
+
expand: boolean;
|
|
1123
|
+
};
|
|
1124
|
+
通用: {
|
|
1125
|
+
'x-index': number;
|
|
1126
|
+
expand: boolean;
|
|
1127
|
+
};
|
|
1128
|
+
标题风格: {
|
|
1129
|
+
'x-index': number;
|
|
1130
|
+
expand: boolean;
|
|
1131
|
+
};
|
|
1132
|
+
输入框: {
|
|
1133
|
+
'x-index': number;
|
|
1134
|
+
expand: boolean;
|
|
1135
|
+
};
|
|
1136
|
+
标签风格: {
|
|
1137
|
+
'x-index': number;
|
|
1138
|
+
expand: boolean;
|
|
1139
|
+
};
|
|
1140
|
+
选择框: {
|
|
1141
|
+
'x-index': number;
|
|
1142
|
+
expand: boolean;
|
|
1143
|
+
};
|
|
1144
|
+
内容: {
|
|
1145
|
+
'x-index': number;
|
|
1146
|
+
expand: boolean;
|
|
1147
|
+
};
|
|
1148
|
+
图片内容: {
|
|
1149
|
+
'x-index': number;
|
|
1150
|
+
expand: boolean;
|
|
1151
|
+
};
|
|
1152
|
+
文件内容: {
|
|
1153
|
+
'x-index': number;
|
|
1154
|
+
expand: boolean;
|
|
1155
|
+
};
|
|
1156
|
+
地图内容: {
|
|
1157
|
+
'x-index': number;
|
|
1158
|
+
expand: boolean;
|
|
1159
|
+
};
|
|
1160
|
+
开关按钮: {
|
|
1161
|
+
'x-index': number;
|
|
1162
|
+
expand: boolean;
|
|
1163
|
+
};
|
|
1164
|
+
小程序能力: {
|
|
1165
|
+
'x-index': number;
|
|
1166
|
+
expand: boolean;
|
|
1167
|
+
};
|
|
1168
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
1169
|
+
'x-index': number;
|
|
1170
|
+
expand: boolean;
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
readonly visible: readonly ["APP"];
|
|
1174
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdFormObj";
|
|
1175
|
+
readonly inlineStyleForm: {
|
|
1176
|
+
$text: {
|
|
1177
|
+
visible: boolean;
|
|
1178
|
+
};
|
|
1179
|
+
justifyContent: {
|
|
1180
|
+
visible: boolean;
|
|
1181
|
+
};
|
|
1182
|
+
flexDirection: {
|
|
1183
|
+
visible: boolean;
|
|
1184
|
+
};
|
|
1185
|
+
alignItems: {
|
|
1186
|
+
visible: boolean;
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
readonly templates: readonly [{
|
|
1190
|
+
readonly when: "$attached";
|
|
1191
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
1192
|
+
readonly __k: "init-name-with-id";
|
|
1193
|
+
}];
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
WdFormArr: {
|
|
1197
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
1198
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
1199
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
1200
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string> & {
|
|
1201
|
+
title: string;
|
|
1202
|
+
}>;
|
|
1203
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1204
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1205
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
1206
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1207
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1208
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1209
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
1210
|
+
'x-rules': {
|
|
1211
|
+
message: string;
|
|
1212
|
+
pattern: string;
|
|
1213
|
+
}[];
|
|
1214
|
+
}>;
|
|
1215
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
1216
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
1217
|
+
}>;
|
|
1218
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
1219
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1220
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
1221
|
+
'x-rules': {
|
|
1222
|
+
message: string;
|
|
1223
|
+
pattern: string;
|
|
1224
|
+
}[];
|
|
1225
|
+
}>;
|
|
1226
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
1227
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1228
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1229
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1230
|
+
}>;
|
|
1231
|
+
readonly classes: readonly [{
|
|
1232
|
+
readonly name: "根元素";
|
|
1233
|
+
readonly selector: ".form-obj-wrap";
|
|
1234
|
+
readonly description: "嵌套表单根元素";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly name: "PC 端嵌套表单根元素";
|
|
1237
|
+
readonly selector: ".pc-form-obj-wrap";
|
|
1238
|
+
readonly description: "可以为 PC 端的嵌套表单编写样式";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly name: "H5 端嵌套表单根元素";
|
|
1241
|
+
readonly selector: ".h5-form-obj-wrap";
|
|
1242
|
+
readonly description: "可以为 H5 端的嵌套表单编写样式";
|
|
1243
|
+
}, {
|
|
1244
|
+
readonly name: "小程序端嵌套表单根元素";
|
|
1245
|
+
readonly selector: ".mp-form-obj-wrap";
|
|
1246
|
+
readonly description: "可以为小程序端的嵌套表单编写样式";
|
|
1247
|
+
}];
|
|
1248
|
+
readonly methods: readonly [{
|
|
1249
|
+
readonly name: "add";
|
|
1250
|
+
readonly label: "新增一行";
|
|
1251
|
+
}, {
|
|
1252
|
+
readonly name: "remove";
|
|
1253
|
+
readonly label: "删除该行";
|
|
1254
|
+
readonly params: import("@sinclair/typebox").TObject<{
|
|
1255
|
+
index: import("@sinclair/typebox").TNumber;
|
|
1256
|
+
}>;
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly name: "change";
|
|
1259
|
+
readonly label: "值改变";
|
|
1260
|
+
readonly params: import("@sinclair/typebox").TObject<{
|
|
1261
|
+
name: import("@sinclair/typebox").TString;
|
|
1262
|
+
value: import("@sinclair/typebox").TAny;
|
|
1263
|
+
}>;
|
|
1264
|
+
}];
|
|
1265
|
+
readonly events: readonly [{
|
|
1266
|
+
readonly name: "onDataChange";
|
|
1267
|
+
readonly title: "值改变";
|
|
1268
|
+
readonly description: "组件中的数据内容发生改变时触发";
|
|
1269
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
1270
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>;
|
|
1271
|
+
}>;
|
|
1272
|
+
}];
|
|
1273
|
+
readonly compConfig: {
|
|
1274
|
+
readonly isDataContainer: true;
|
|
1275
|
+
readonly componentType: "formField";
|
|
1276
|
+
};
|
|
1277
|
+
readonly isContainer: true;
|
|
1278
|
+
readonly meta: {
|
|
1279
|
+
readonly name: "WdFormArr";
|
|
1280
|
+
readonly componentName: "formArr";
|
|
1281
|
+
readonly title: "数组嵌套表单";
|
|
1282
|
+
readonly description: "数组嵌套表单";
|
|
1283
|
+
readonly icon: "../icons/Text.svg";
|
|
1284
|
+
readonly category: "表单";
|
|
1285
|
+
readonly group: {
|
|
1286
|
+
标签项: {
|
|
1287
|
+
'x-index': number;
|
|
1288
|
+
expand: boolean;
|
|
1289
|
+
};
|
|
1290
|
+
通用: {
|
|
1291
|
+
'x-index': number;
|
|
1292
|
+
expand: boolean;
|
|
1293
|
+
};
|
|
1294
|
+
标题风格: {
|
|
1295
|
+
'x-index': number;
|
|
1296
|
+
expand: boolean;
|
|
1297
|
+
};
|
|
1298
|
+
输入框: {
|
|
1299
|
+
'x-index': number;
|
|
1300
|
+
expand: boolean;
|
|
1301
|
+
};
|
|
1302
|
+
标签风格: {
|
|
1303
|
+
'x-index': number;
|
|
1304
|
+
expand: boolean;
|
|
1305
|
+
};
|
|
1306
|
+
选择框: {
|
|
1307
|
+
'x-index': number;
|
|
1308
|
+
expand: boolean;
|
|
1309
|
+
};
|
|
1310
|
+
内容: {
|
|
1311
|
+
'x-index': number;
|
|
1312
|
+
expand: boolean;
|
|
1313
|
+
};
|
|
1314
|
+
图片内容: {
|
|
1315
|
+
'x-index': number;
|
|
1316
|
+
expand: boolean;
|
|
1317
|
+
};
|
|
1318
|
+
文件内容: {
|
|
1319
|
+
'x-index': number;
|
|
1320
|
+
expand: boolean;
|
|
1321
|
+
};
|
|
1322
|
+
地图内容: {
|
|
1323
|
+
'x-index': number;
|
|
1324
|
+
expand: boolean;
|
|
1325
|
+
};
|
|
1326
|
+
开关按钮: {
|
|
1327
|
+
'x-index': number;
|
|
1328
|
+
expand: boolean;
|
|
1329
|
+
};
|
|
1330
|
+
小程序能力: {
|
|
1331
|
+
'x-index': number;
|
|
1332
|
+
expand: boolean;
|
|
1333
|
+
};
|
|
1334
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
1335
|
+
'x-index': number;
|
|
1336
|
+
expand: boolean;
|
|
1337
|
+
};
|
|
1338
|
+
};
|
|
1339
|
+
readonly visible: readonly ["APP"];
|
|
1340
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdFormArr";
|
|
1341
|
+
readonly inlineStyleForm: {
|
|
1342
|
+
$text: {
|
|
1343
|
+
visible: boolean;
|
|
1344
|
+
};
|
|
1345
|
+
justifyContent: {
|
|
1346
|
+
visible: boolean;
|
|
1347
|
+
};
|
|
1348
|
+
flexDirection: {
|
|
1349
|
+
visible: boolean;
|
|
1350
|
+
};
|
|
1351
|
+
alignItems: {
|
|
1352
|
+
visible: boolean;
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
readonly templates: readonly [{
|
|
1356
|
+
readonly when: "$attached";
|
|
1357
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
1358
|
+
readonly __k: "init-name-with-id";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly when: "$attached";
|
|
1361
|
+
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top: var(--wd-card-heder-pd-bordered);\n color: var(--wd-color-brand);\n}\n\n:scope.wd-mp-icon {\n top: calc(10px + var(--wd-card-heder-pd-bordered));\n}\"\n[template.items.items.attributes]\nname = \"td:delete\"\n[[template.items.items.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.items.items.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.items.items.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"remove\"\n[template.items.items.listeners.handler.params.params]\n\":index\" = \"$w.index_{{$self.id}}\"\n\n[[template]]\ncomponent = 'Grid'\nscopedStyle = \":scope {\n margin-top: 10px;\n width: 100%;\n}\"\n[[template.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"add\"\n[[template.items]]\ncomponent = 'Row'\n[template.items.attributes]\nalignItems = \"center\"\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n}\"\n[template.items.items.items.attributes]\nname = \"td:add-circle\"\n\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdText'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n white-space: nowrap;\n}\"\n[template.items.items.items.attributes]\ntext = \"新增\"\n{{/with}}\n";
|
|
1362
|
+
}];
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
598
1365
|
WdAd: {
|
|
599
1366
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
600
1367
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -2359,7 +3126,7 @@ export declare const components: {
|
|
|
2359
3126
|
label: import("@sinclair/typebox").TString;
|
|
2360
3127
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
2361
3128
|
dataSource: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
2362
|
-
locationRange: import("@sinclair/typebox").TUnsafe<0 | -1 | 100 |
|
|
3129
|
+
locationRange: import("@sinclair/typebox").TUnsafe<0 | -1 | 100 | 1000 | 500 | 300 | 2000>;
|
|
2363
3130
|
customRange: import("@sinclair/typebox").TNumber;
|
|
2364
3131
|
locationType: import("@sinclair/typebox").TUnsafe<2 | 1>;
|
|
2365
3132
|
defauleShowLocation: import("@sinclair/typebox").TBoolean;
|
|
@@ -3048,7 +3815,7 @@ export declare const components: {
|
|
|
3048
3815
|
isDisabledSubmit: import("@sinclair/typebox").TBoolean;
|
|
3049
3816
|
formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
|
|
3050
3817
|
formType_bind: import("@sinclair/typebox").TBoolean;
|
|
3051
|
-
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "
|
|
3818
|
+
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "model" | "expression" | "custom-connector">;
|
|
3052
3819
|
dataSourceName: import("@sinclair/typebox").TString;
|
|
3053
3820
|
value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
3054
3821
|
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -11279,20 +12046,20 @@ export declare const components: {
|
|
|
11279
12046
|
WdCard: {
|
|
11280
12047
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
11281
12048
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
11282
|
-
template: import("@sinclair/typebox").TUnsafe<"card" | "collapse1" | "collapse2"
|
|
11283
|
-
showHeader: import("@sinclair/typebox").TBoolean
|
|
11284
|
-
showContent: import("@sinclair/typebox").TBoolean
|
|
11285
|
-
showFooter: import("@sinclair/typebox").TBoolean
|
|
11286
|
-
showDivider: import("@sinclair/typebox").TBoolean
|
|
12049
|
+
template: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"card" | "collapse1" | "collapse2">>;
|
|
12050
|
+
showHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12051
|
+
showContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12052
|
+
showFooter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12053
|
+
showDivider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11287
12054
|
headerSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
11288
12055
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
11289
12056
|
footerSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
11290
12057
|
}>;
|
|
11291
12058
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
11292
|
-
showHeader: import("@sinclair/typebox").TBoolean
|
|
11293
|
-
showContent: import("@sinclair/typebox").TBoolean
|
|
11294
|
-
showFooter: import("@sinclair/typebox").TBoolean
|
|
11295
|
-
showDivider: import("@sinclair/typebox").TBoolean
|
|
12059
|
+
showHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12060
|
+
showContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12061
|
+
showFooter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12062
|
+
showDivider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11296
12063
|
contentState: import("@sinclair/typebox").TUnsafe<"显示" | "隐藏">;
|
|
11297
12064
|
}>;
|
|
11298
12065
|
readonly classes: readonly [{
|
|
@@ -11843,7 +12610,7 @@ export declare const components: {
|
|
|
11843
12610
|
WdTable: {
|
|
11844
12611
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
11845
12612
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
11846
|
-
dataSourceType: import("@sinclair/typebox").TUnsafe<"custom-connector" | "data-model"
|
|
12613
|
+
dataSourceType: import("@sinclair/typebox").TUnsafe<"expression" | "custom-connector" | "data-model">;
|
|
11847
12614
|
bindMetadata: import("@sinclair/typebox").TObject<{
|
|
11848
12615
|
datasource: import("@sinclair/typebox").TObject<{
|
|
11849
12616
|
title: import("@sinclair/typebox").TString;
|
|
@@ -11945,7 +12712,7 @@ export declare const components: {
|
|
|
11945
12712
|
}>;
|
|
11946
12713
|
sort: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
11947
12714
|
pageNo: import("@sinclair/typebox").TNumber;
|
|
11948
|
-
dataSourceType: import("@sinclair/typebox").TUnsafe<"custom-connector" | "data-model"
|
|
12715
|
+
dataSourceType: import("@sinclair/typebox").TUnsafe<"expression" | "custom-connector" | "data-model">;
|
|
11949
12716
|
pageSize: import("@sinclair/typebox").TNumber;
|
|
11950
12717
|
dataSourceData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
11951
12718
|
total: import("@sinclair/typebox").TNumber;
|
|
@@ -15382,6 +16149,7 @@ export declare const components: {
|
|
|
15382
16149
|
} | {
|
|
15383
16150
|
detail: import("@sinclair/typebox").TObject<{
|
|
15384
16151
|
value: import("@sinclair/typebox").TUnknown;
|
|
16152
|
+
isDelete: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15385
16153
|
}>;
|
|
15386
16154
|
name: string;
|
|
15387
16155
|
title: string;
|
|
@@ -15550,6 +16318,7 @@ export declare const components: {
|
|
|
15550
16318
|
} | {
|
|
15551
16319
|
detail: import("@sinclair/typebox").TObject<{
|
|
15552
16320
|
value: import("@sinclair/typebox").TUnknown;
|
|
16321
|
+
isDelete: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15553
16322
|
}>;
|
|
15554
16323
|
name: string;
|
|
15555
16324
|
title: string;
|
|
@@ -18880,7 +19649,26 @@ export declare const components: {
|
|
|
18880
19649
|
readonly selector: ".wd-mp-web-view";
|
|
18881
19650
|
readonly description: "可以为小程序端的网页嵌套编写样式";
|
|
18882
19651
|
}];
|
|
18883
|
-
readonly methods: readonly [
|
|
19652
|
+
readonly methods: readonly [{
|
|
19653
|
+
readonly name: "postMessage";
|
|
19654
|
+
readonly label: "发送消息";
|
|
19655
|
+
readonly description: "向页面发送消息";
|
|
19656
|
+
readonly params: {
|
|
19657
|
+
readonly properties: {
|
|
19658
|
+
readonly message: {
|
|
19659
|
+
readonly title: "消息内容";
|
|
19660
|
+
};
|
|
19661
|
+
readonly targetorigin: {
|
|
19662
|
+
readonly title: "targetorigin";
|
|
19663
|
+
readonly description: "web端通过窗口的 origin 属性来指定哪些窗口能接收到消息事件";
|
|
19664
|
+
};
|
|
19665
|
+
readonly transfer: {
|
|
19666
|
+
readonly title: "transfer";
|
|
19667
|
+
readonly description: "是一串和 message 同时传递的 Transferable 对象。web端参数。";
|
|
19668
|
+
};
|
|
19669
|
+
};
|
|
19670
|
+
};
|
|
19671
|
+
}];
|
|
18884
19672
|
readonly events: [{
|
|
18885
19673
|
readonly name: "load";
|
|
18886
19674
|
readonly title: "网页加载成功";
|
|
@@ -19275,6 +20063,218 @@ export declare const actions: {
|
|
|
19275
20063
|
};
|
|
19276
20064
|
declare const _default: {
|
|
19277
20065
|
components: {
|
|
20066
|
+
WdCodeEditor: {
|
|
20067
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
20068
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
20069
|
+
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20070
|
+
focus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20071
|
+
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20072
|
+
rules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
20073
|
+
format: import("@sinclair/typebox").TString;
|
|
20074
|
+
message: import("@sinclair/typebox").TString;
|
|
20075
|
+
pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20076
|
+
}>>>;
|
|
20077
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20078
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20079
|
+
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20080
|
+
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20081
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20082
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20083
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20084
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20085
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20086
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20087
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20088
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
20089
|
+
default: string;
|
|
20090
|
+
}>;
|
|
20091
|
+
language: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20092
|
+
theme: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20093
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20094
|
+
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20095
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20096
|
+
}>;
|
|
20097
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
20098
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20099
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20100
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20101
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20102
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20103
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20104
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20105
|
+
}>;
|
|
20106
|
+
readonly classes: readonly {
|
|
20107
|
+
name: string;
|
|
20108
|
+
selector: string;
|
|
20109
|
+
description: string;
|
|
20110
|
+
}[];
|
|
20111
|
+
readonly methods: readonly [{
|
|
20112
|
+
name: string;
|
|
20113
|
+
label: string;
|
|
20114
|
+
params: {
|
|
20115
|
+
properties: {
|
|
20116
|
+
value: {
|
|
20117
|
+
title: string;
|
|
20118
|
+
type: string;
|
|
20119
|
+
};
|
|
20120
|
+
};
|
|
20121
|
+
};
|
|
20122
|
+
description: string;
|
|
20123
|
+
}, {
|
|
20124
|
+
name: string;
|
|
20125
|
+
label: string;
|
|
20126
|
+
params: {
|
|
20127
|
+
properties: {
|
|
20128
|
+
value: {
|
|
20129
|
+
title: string;
|
|
20130
|
+
type: string;
|
|
20131
|
+
};
|
|
20132
|
+
};
|
|
20133
|
+
};
|
|
20134
|
+
description: string;
|
|
20135
|
+
}, {
|
|
20136
|
+
name: string;
|
|
20137
|
+
label: string;
|
|
20138
|
+
params: {
|
|
20139
|
+
properties: {
|
|
20140
|
+
value: {
|
|
20141
|
+
title: string;
|
|
20142
|
+
type: string;
|
|
20143
|
+
};
|
|
20144
|
+
};
|
|
20145
|
+
};
|
|
20146
|
+
description: string;
|
|
20147
|
+
}, {
|
|
20148
|
+
name: string;
|
|
20149
|
+
label: string;
|
|
20150
|
+
description: string;
|
|
20151
|
+
}, {
|
|
20152
|
+
name: string;
|
|
20153
|
+
label: string;
|
|
20154
|
+
params: {
|
|
20155
|
+
properties: {
|
|
20156
|
+
value: {
|
|
20157
|
+
title: string;
|
|
20158
|
+
type: string;
|
|
20159
|
+
};
|
|
20160
|
+
};
|
|
20161
|
+
};
|
|
20162
|
+
description: string;
|
|
20163
|
+
}, {
|
|
20164
|
+
name: string;
|
|
20165
|
+
label: string;
|
|
20166
|
+
description: string;
|
|
20167
|
+
}, {
|
|
20168
|
+
name: string;
|
|
20169
|
+
label: string;
|
|
20170
|
+
description: string;
|
|
20171
|
+
}, {
|
|
20172
|
+
readonly name: "format";
|
|
20173
|
+
readonly label: "js格式化";
|
|
20174
|
+
readonly description: "目前仅支持js格式化组件值";
|
|
20175
|
+
}];
|
|
20176
|
+
readonly events: readonly [{
|
|
20177
|
+
name: string;
|
|
20178
|
+
title: string;
|
|
20179
|
+
detail: import("@sinclair/typebox").TObject<{
|
|
20180
|
+
value: import("@sinclair/typebox").TString;
|
|
20181
|
+
}>;
|
|
20182
|
+
description: string;
|
|
20183
|
+
}];
|
|
20184
|
+
readonly meta: {
|
|
20185
|
+
readonly description: "用于代码编辑。";
|
|
20186
|
+
readonly figureIcon: "../figureIcons/WdTextarea.svg";
|
|
20187
|
+
readonly icon: "../icons/TextArea.svg";
|
|
20188
|
+
readonly title: "代码编辑器";
|
|
20189
|
+
readonly name: "WdCodeEditor";
|
|
20190
|
+
readonly componentName: "CodeEditor";
|
|
20191
|
+
readonly categoryOrder: 500;
|
|
20192
|
+
readonly componentOrder: 360;
|
|
20193
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdCodeEditor";
|
|
20194
|
+
readonly category: string;
|
|
20195
|
+
readonly shortcut: {
|
|
20196
|
+
props: string[];
|
|
20197
|
+
};
|
|
20198
|
+
readonly group: {
|
|
20199
|
+
标签项: {
|
|
20200
|
+
'x-index': number;
|
|
20201
|
+
expand: boolean;
|
|
20202
|
+
};
|
|
20203
|
+
通用: {
|
|
20204
|
+
'x-index': number;
|
|
20205
|
+
expand: boolean;
|
|
20206
|
+
};
|
|
20207
|
+
标题风格: {
|
|
20208
|
+
'x-index': number;
|
|
20209
|
+
expand: boolean;
|
|
20210
|
+
};
|
|
20211
|
+
输入框: {
|
|
20212
|
+
'x-index': number;
|
|
20213
|
+
expand: boolean;
|
|
20214
|
+
};
|
|
20215
|
+
标签风格: {
|
|
20216
|
+
'x-index': number;
|
|
20217
|
+
expand: boolean;
|
|
20218
|
+
};
|
|
20219
|
+
选择框: {
|
|
20220
|
+
'x-index': number;
|
|
20221
|
+
expand: boolean;
|
|
20222
|
+
};
|
|
20223
|
+
内容: {
|
|
20224
|
+
'x-index': number;
|
|
20225
|
+
expand: boolean;
|
|
20226
|
+
};
|
|
20227
|
+
图片内容: {
|
|
20228
|
+
'x-index': number;
|
|
20229
|
+
expand: boolean;
|
|
20230
|
+
};
|
|
20231
|
+
文件内容: {
|
|
20232
|
+
'x-index': number;
|
|
20233
|
+
expand: boolean;
|
|
20234
|
+
};
|
|
20235
|
+
地图内容: {
|
|
20236
|
+
'x-index': number;
|
|
20237
|
+
expand: boolean;
|
|
20238
|
+
};
|
|
20239
|
+
开关按钮: {
|
|
20240
|
+
'x-index': number;
|
|
20241
|
+
expand: boolean;
|
|
20242
|
+
};
|
|
20243
|
+
小程序能力: {
|
|
20244
|
+
'x-index': number;
|
|
20245
|
+
expand: boolean;
|
|
20246
|
+
};
|
|
20247
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
20248
|
+
'x-index': number;
|
|
20249
|
+
expand: boolean;
|
|
20250
|
+
};
|
|
20251
|
+
};
|
|
20252
|
+
readonly visible: any;
|
|
20253
|
+
readonly inlineStyleForm: {
|
|
20254
|
+
$text: {
|
|
20255
|
+
visible: boolean;
|
|
20256
|
+
};
|
|
20257
|
+
justifyContent: {
|
|
20258
|
+
visible: boolean;
|
|
20259
|
+
};
|
|
20260
|
+
flexDirection: {
|
|
20261
|
+
visible: boolean;
|
|
20262
|
+
};
|
|
20263
|
+
alignItems: {
|
|
20264
|
+
visible: boolean;
|
|
20265
|
+
};
|
|
20266
|
+
};
|
|
20267
|
+
readonly templates: readonly [{
|
|
20268
|
+
readonly when: "$attached";
|
|
20269
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
20270
|
+
readonly __k: "init-name-with-id";
|
|
20271
|
+
}];
|
|
20272
|
+
readonly platform: readonly ["MOBILEWEB", "PCWEB"];
|
|
20273
|
+
};
|
|
20274
|
+
readonly compConfig: {
|
|
20275
|
+
readonly componentType: "formField";
|
|
20276
|
+
};
|
|
20277
|
+
};
|
|
19278
20278
|
WdUnifiedLink: {
|
|
19279
20279
|
$schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19280
20280
|
data: import("@sinclair/typebox").TObject<{
|
|
@@ -19697,6 +20697,235 @@ declare const _default: {
|
|
|
19697
20697
|
readonly componentType: "formField";
|
|
19698
20698
|
};
|
|
19699
20699
|
};
|
|
20700
|
+
WdCascader: {
|
|
20701
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
20702
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
20703
|
+
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20704
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20705
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20706
|
+
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20707
|
+
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20708
|
+
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20709
|
+
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20710
|
+
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20711
|
+
prefixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20712
|
+
prefixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20713
|
+
prefixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20714
|
+
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20715
|
+
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20716
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20717
|
+
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20718
|
+
borderedPc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20719
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20720
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20721
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20722
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20723
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20724
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20725
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20726
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
20727
|
+
'x-index': number;
|
|
20728
|
+
}>;
|
|
20729
|
+
data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
|
|
20730
|
+
label: import("@sinclair/typebox").TString;
|
|
20731
|
+
value: import("@sinclair/typebox").TString;
|
|
20732
|
+
isLeaf: import("@sinclair/typebox").TBoolean;
|
|
20733
|
+
children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>;
|
|
20734
|
+
disabled: import("@sinclair/typebox").TBoolean;
|
|
20735
|
+
}>>>>;
|
|
20736
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny> & {
|
|
20737
|
+
title: string;
|
|
20738
|
+
}>;
|
|
20739
|
+
multiple: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20740
|
+
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
20741
|
+
default: string;
|
|
20742
|
+
}>;
|
|
20743
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
20744
|
+
}>;
|
|
20745
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
20746
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20747
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
20748
|
+
'x-index': number;
|
|
20749
|
+
}>;
|
|
20750
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny> & {
|
|
20751
|
+
title: string;
|
|
20752
|
+
}>;
|
|
20753
|
+
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20754
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20755
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20756
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
20757
|
+
selectedOptions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
20758
|
+
label: import("@sinclair/typebox").TString;
|
|
20759
|
+
value: import("@sinclair/typebox").TString;
|
|
20760
|
+
}>>>;
|
|
20761
|
+
}>;
|
|
20762
|
+
readonly classes: {
|
|
20763
|
+
name: string;
|
|
20764
|
+
selector: string;
|
|
20765
|
+
description: string;
|
|
20766
|
+
}[];
|
|
20767
|
+
readonly methods: readonly [{
|
|
20768
|
+
name: string;
|
|
20769
|
+
label: string;
|
|
20770
|
+
params: {
|
|
20771
|
+
properties: {
|
|
20772
|
+
value: {
|
|
20773
|
+
title: string;
|
|
20774
|
+
type: string;
|
|
20775
|
+
};
|
|
20776
|
+
};
|
|
20777
|
+
};
|
|
20778
|
+
description: string;
|
|
20779
|
+
}, {
|
|
20780
|
+
name: string;
|
|
20781
|
+
label: string;
|
|
20782
|
+
params: {
|
|
20783
|
+
properties: {
|
|
20784
|
+
value: {
|
|
20785
|
+
title: string;
|
|
20786
|
+
type: string;
|
|
20787
|
+
};
|
|
20788
|
+
};
|
|
20789
|
+
};
|
|
20790
|
+
description: string;
|
|
20791
|
+
}, {
|
|
20792
|
+
name: string;
|
|
20793
|
+
label: string;
|
|
20794
|
+
params: {
|
|
20795
|
+
properties: {
|
|
20796
|
+
value: {
|
|
20797
|
+
title: string;
|
|
20798
|
+
type: string;
|
|
20799
|
+
};
|
|
20800
|
+
};
|
|
20801
|
+
};
|
|
20802
|
+
description: string;
|
|
20803
|
+
}, {
|
|
20804
|
+
name: string;
|
|
20805
|
+
label: string;
|
|
20806
|
+
description: string;
|
|
20807
|
+
}, {
|
|
20808
|
+
name: string;
|
|
20809
|
+
label: string;
|
|
20810
|
+
params: {
|
|
20811
|
+
properties: {
|
|
20812
|
+
value: {
|
|
20813
|
+
title: string;
|
|
20814
|
+
type: string;
|
|
20815
|
+
};
|
|
20816
|
+
};
|
|
20817
|
+
};
|
|
20818
|
+
description: string;
|
|
20819
|
+
}, {
|
|
20820
|
+
name: string;
|
|
20821
|
+
label: string;
|
|
20822
|
+
description: string;
|
|
20823
|
+
}, {
|
|
20824
|
+
name: string;
|
|
20825
|
+
label: string;
|
|
20826
|
+
description: string;
|
|
20827
|
+
}];
|
|
20828
|
+
readonly events: readonly [{
|
|
20829
|
+
name: string;
|
|
20830
|
+
title: string;
|
|
20831
|
+
detail: import("@sinclair/typebox").TObject<{
|
|
20832
|
+
value: import("@sinclair/typebox").TString;
|
|
20833
|
+
}>;
|
|
20834
|
+
description: string;
|
|
20835
|
+
}];
|
|
20836
|
+
readonly meta: {
|
|
20837
|
+
readonly description: "多级选择器,常使用在地域选择,机型配置选择等。";
|
|
20838
|
+
readonly figureIcon: "../figureIcons/WdSelect.svg";
|
|
20839
|
+
readonly icon: "../icons/FormSelect.svg";
|
|
20840
|
+
readonly title: "级联选择";
|
|
20841
|
+
readonly componentName: "Cascader";
|
|
20842
|
+
readonly name: "WdCascader";
|
|
20843
|
+
readonly categoryOrder: 500;
|
|
20844
|
+
readonly componentOrder: 371;
|
|
20845
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdCascade";
|
|
20846
|
+
readonly category: string;
|
|
20847
|
+
readonly shortcut: {
|
|
20848
|
+
props: string[];
|
|
20849
|
+
};
|
|
20850
|
+
readonly group: {
|
|
20851
|
+
标签项: {
|
|
20852
|
+
'x-index': number;
|
|
20853
|
+
expand: boolean;
|
|
20854
|
+
};
|
|
20855
|
+
通用: {
|
|
20856
|
+
'x-index': number;
|
|
20857
|
+
expand: boolean;
|
|
20858
|
+
};
|
|
20859
|
+
标题风格: {
|
|
20860
|
+
'x-index': number;
|
|
20861
|
+
expand: boolean;
|
|
20862
|
+
};
|
|
20863
|
+
输入框: {
|
|
20864
|
+
'x-index': number;
|
|
20865
|
+
expand: boolean;
|
|
20866
|
+
};
|
|
20867
|
+
标签风格: {
|
|
20868
|
+
'x-index': number;
|
|
20869
|
+
expand: boolean;
|
|
20870
|
+
};
|
|
20871
|
+
选择框: {
|
|
20872
|
+
'x-index': number;
|
|
20873
|
+
expand: boolean;
|
|
20874
|
+
};
|
|
20875
|
+
内容: {
|
|
20876
|
+
'x-index': number;
|
|
20877
|
+
expand: boolean;
|
|
20878
|
+
};
|
|
20879
|
+
图片内容: {
|
|
20880
|
+
'x-index': number;
|
|
20881
|
+
expand: boolean;
|
|
20882
|
+
};
|
|
20883
|
+
文件内容: {
|
|
20884
|
+
'x-index': number;
|
|
20885
|
+
expand: boolean;
|
|
20886
|
+
};
|
|
20887
|
+
地图内容: {
|
|
20888
|
+
'x-index': number;
|
|
20889
|
+
expand: boolean;
|
|
20890
|
+
};
|
|
20891
|
+
开关按钮: {
|
|
20892
|
+
'x-index': number;
|
|
20893
|
+
expand: boolean;
|
|
20894
|
+
};
|
|
20895
|
+
小程序能力: {
|
|
20896
|
+
'x-index': number;
|
|
20897
|
+
expand: boolean;
|
|
20898
|
+
};
|
|
20899
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
20900
|
+
'x-index': number;
|
|
20901
|
+
expand: boolean;
|
|
20902
|
+
};
|
|
20903
|
+
};
|
|
20904
|
+
readonly visible: any;
|
|
20905
|
+
readonly inlineStyleForm: {
|
|
20906
|
+
$text: {
|
|
20907
|
+
visible: boolean;
|
|
20908
|
+
};
|
|
20909
|
+
justifyContent: {
|
|
20910
|
+
visible: boolean;
|
|
20911
|
+
};
|
|
20912
|
+
flexDirection: {
|
|
20913
|
+
visible: boolean;
|
|
20914
|
+
};
|
|
20915
|
+
alignItems: {
|
|
20916
|
+
visible: boolean;
|
|
20917
|
+
};
|
|
20918
|
+
};
|
|
20919
|
+
readonly templates: readonly [{
|
|
20920
|
+
readonly when: "$attached";
|
|
20921
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
20922
|
+
readonly __k: "init-name-with-id";
|
|
20923
|
+
}];
|
|
20924
|
+
};
|
|
20925
|
+
readonly compConfig: {
|
|
20926
|
+
readonly componentType: "formField";
|
|
20927
|
+
};
|
|
20928
|
+
};
|
|
19700
20929
|
WdAudio: {
|
|
19701
20930
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19702
20931
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -19871,6 +21100,332 @@ declare const _default: {
|
|
|
19871
21100
|
}];
|
|
19872
21101
|
};
|
|
19873
21102
|
};
|
|
21103
|
+
WdFormObj: {
|
|
21104
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
21105
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
21106
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
21107
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string> & {
|
|
21108
|
+
title: string;
|
|
21109
|
+
}>;
|
|
21110
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21111
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21112
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
21113
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21114
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21115
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21116
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
21117
|
+
'x-rules': {
|
|
21118
|
+
message: string;
|
|
21119
|
+
pattern: string;
|
|
21120
|
+
}[];
|
|
21121
|
+
}>;
|
|
21122
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{}>, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>]>>;
|
|
21123
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
21124
|
+
}>;
|
|
21125
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
21126
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21127
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
21128
|
+
'x-rules': {
|
|
21129
|
+
message: string;
|
|
21130
|
+
pattern: string;
|
|
21131
|
+
}[];
|
|
21132
|
+
}>;
|
|
21133
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{}>, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>]>>;
|
|
21134
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21135
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21136
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21137
|
+
}>;
|
|
21138
|
+
readonly classes: readonly [{
|
|
21139
|
+
readonly name: "根元素";
|
|
21140
|
+
readonly selector: ".form-obj-wrap";
|
|
21141
|
+
readonly description: "嵌套表单根元素";
|
|
21142
|
+
}, {
|
|
21143
|
+
readonly name: "PC 端嵌套表单根元素";
|
|
21144
|
+
readonly selector: ".pc-form-obj-wrap";
|
|
21145
|
+
readonly description: "可以为 PC 端的嵌套表单编写样式";
|
|
21146
|
+
}, {
|
|
21147
|
+
readonly name: "H5 端嵌套表单根元素";
|
|
21148
|
+
readonly selector: ".h5-form-obj-wrap";
|
|
21149
|
+
readonly description: "可以为 H5 端的嵌套表单编写样式";
|
|
21150
|
+
}, {
|
|
21151
|
+
readonly name: "小程序端嵌套表单根元素";
|
|
21152
|
+
readonly selector: ".mp-form-obj-wrap";
|
|
21153
|
+
readonly description: "可以为小程序端的嵌套表单编写样式";
|
|
21154
|
+
}];
|
|
21155
|
+
readonly methods: readonly [{
|
|
21156
|
+
readonly name: "change";
|
|
21157
|
+
readonly label: "值改变";
|
|
21158
|
+
readonly params: import("@sinclair/typebox").TObject<{
|
|
21159
|
+
name: import("@sinclair/typebox").TString;
|
|
21160
|
+
value: import("@sinclair/typebox").TAny;
|
|
21161
|
+
}>;
|
|
21162
|
+
}];
|
|
21163
|
+
readonly events: readonly [{
|
|
21164
|
+
readonly name: "onDataChange";
|
|
21165
|
+
readonly title: "值改变";
|
|
21166
|
+
readonly description: "组件中的数据内容发生改变时触发";
|
|
21167
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
21168
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>;
|
|
21169
|
+
}>;
|
|
21170
|
+
}];
|
|
21171
|
+
readonly compConfig: {
|
|
21172
|
+
readonly isDataContainer: true;
|
|
21173
|
+
readonly componentType: "formField";
|
|
21174
|
+
};
|
|
21175
|
+
readonly isContainer: true;
|
|
21176
|
+
readonly meta: {
|
|
21177
|
+
readonly name: "WdFormObj";
|
|
21178
|
+
readonly componentName: "formObj";
|
|
21179
|
+
readonly title: "对象嵌套表单";
|
|
21180
|
+
readonly description: "对象嵌套表单";
|
|
21181
|
+
readonly icon: "../icons/Text.svg";
|
|
21182
|
+
readonly category: "表单";
|
|
21183
|
+
readonly group: {
|
|
21184
|
+
标签项: {
|
|
21185
|
+
'x-index': number;
|
|
21186
|
+
expand: boolean;
|
|
21187
|
+
};
|
|
21188
|
+
通用: {
|
|
21189
|
+
'x-index': number;
|
|
21190
|
+
expand: boolean;
|
|
21191
|
+
};
|
|
21192
|
+
标题风格: {
|
|
21193
|
+
'x-index': number;
|
|
21194
|
+
expand: boolean;
|
|
21195
|
+
};
|
|
21196
|
+
输入框: {
|
|
21197
|
+
'x-index': number;
|
|
21198
|
+
expand: boolean;
|
|
21199
|
+
};
|
|
21200
|
+
标签风格: {
|
|
21201
|
+
'x-index': number;
|
|
21202
|
+
expand: boolean;
|
|
21203
|
+
};
|
|
21204
|
+
选择框: {
|
|
21205
|
+
'x-index': number;
|
|
21206
|
+
expand: boolean;
|
|
21207
|
+
};
|
|
21208
|
+
内容: {
|
|
21209
|
+
'x-index': number;
|
|
21210
|
+
expand: boolean;
|
|
21211
|
+
};
|
|
21212
|
+
图片内容: {
|
|
21213
|
+
'x-index': number;
|
|
21214
|
+
expand: boolean;
|
|
21215
|
+
};
|
|
21216
|
+
文件内容: {
|
|
21217
|
+
'x-index': number;
|
|
21218
|
+
expand: boolean;
|
|
21219
|
+
};
|
|
21220
|
+
地图内容: {
|
|
21221
|
+
'x-index': number;
|
|
21222
|
+
expand: boolean;
|
|
21223
|
+
};
|
|
21224
|
+
开关按钮: {
|
|
21225
|
+
'x-index': number;
|
|
21226
|
+
expand: boolean;
|
|
21227
|
+
};
|
|
21228
|
+
小程序能力: {
|
|
21229
|
+
'x-index': number;
|
|
21230
|
+
expand: boolean;
|
|
21231
|
+
};
|
|
21232
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
21233
|
+
'x-index': number;
|
|
21234
|
+
expand: boolean;
|
|
21235
|
+
};
|
|
21236
|
+
};
|
|
21237
|
+
readonly visible: readonly ["APP"];
|
|
21238
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdFormObj";
|
|
21239
|
+
readonly inlineStyleForm: {
|
|
21240
|
+
$text: {
|
|
21241
|
+
visible: boolean;
|
|
21242
|
+
};
|
|
21243
|
+
justifyContent: {
|
|
21244
|
+
visible: boolean;
|
|
21245
|
+
};
|
|
21246
|
+
flexDirection: {
|
|
21247
|
+
visible: boolean;
|
|
21248
|
+
};
|
|
21249
|
+
alignItems: {
|
|
21250
|
+
visible: boolean;
|
|
21251
|
+
};
|
|
21252
|
+
};
|
|
21253
|
+
readonly templates: readonly [{
|
|
21254
|
+
readonly when: "$attached";
|
|
21255
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
21256
|
+
readonly __k: "init-name-with-id";
|
|
21257
|
+
}];
|
|
21258
|
+
};
|
|
21259
|
+
};
|
|
21260
|
+
WdFormArr: {
|
|
21261
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
21262
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
21263
|
+
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
21264
|
+
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string> & {
|
|
21265
|
+
title: string;
|
|
21266
|
+
}>;
|
|
21267
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21268
|
+
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21269
|
+
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
21270
|
+
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21271
|
+
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21272
|
+
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21273
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
21274
|
+
'x-rules': {
|
|
21275
|
+
message: string;
|
|
21276
|
+
pattern: string;
|
|
21277
|
+
}[];
|
|
21278
|
+
}>;
|
|
21279
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
21280
|
+
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
21281
|
+
}>;
|
|
21282
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
21283
|
+
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21284
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
21285
|
+
'x-rules': {
|
|
21286
|
+
message: string;
|
|
21287
|
+
pattern: string;
|
|
21288
|
+
}[];
|
|
21289
|
+
}>;
|
|
21290
|
+
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
21291
|
+
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21292
|
+
visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21293
|
+
readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21294
|
+
}>;
|
|
21295
|
+
readonly classes: readonly [{
|
|
21296
|
+
readonly name: "根元素";
|
|
21297
|
+
readonly selector: ".form-obj-wrap";
|
|
21298
|
+
readonly description: "嵌套表单根元素";
|
|
21299
|
+
}, {
|
|
21300
|
+
readonly name: "PC 端嵌套表单根元素";
|
|
21301
|
+
readonly selector: ".pc-form-obj-wrap";
|
|
21302
|
+
readonly description: "可以为 PC 端的嵌套表单编写样式";
|
|
21303
|
+
}, {
|
|
21304
|
+
readonly name: "H5 端嵌套表单根元素";
|
|
21305
|
+
readonly selector: ".h5-form-obj-wrap";
|
|
21306
|
+
readonly description: "可以为 H5 端的嵌套表单编写样式";
|
|
21307
|
+
}, {
|
|
21308
|
+
readonly name: "小程序端嵌套表单根元素";
|
|
21309
|
+
readonly selector: ".mp-form-obj-wrap";
|
|
21310
|
+
readonly description: "可以为小程序端的嵌套表单编写样式";
|
|
21311
|
+
}];
|
|
21312
|
+
readonly methods: readonly [{
|
|
21313
|
+
readonly name: "add";
|
|
21314
|
+
readonly label: "新增一行";
|
|
21315
|
+
}, {
|
|
21316
|
+
readonly name: "remove";
|
|
21317
|
+
readonly label: "删除该行";
|
|
21318
|
+
readonly params: import("@sinclair/typebox").TObject<{
|
|
21319
|
+
index: import("@sinclair/typebox").TNumber;
|
|
21320
|
+
}>;
|
|
21321
|
+
}, {
|
|
21322
|
+
readonly name: "change";
|
|
21323
|
+
readonly label: "值改变";
|
|
21324
|
+
readonly params: import("@sinclair/typebox").TObject<{
|
|
21325
|
+
name: import("@sinclair/typebox").TString;
|
|
21326
|
+
value: import("@sinclair/typebox").TAny;
|
|
21327
|
+
}>;
|
|
21328
|
+
}];
|
|
21329
|
+
readonly events: readonly [{
|
|
21330
|
+
readonly name: "onDataChange";
|
|
21331
|
+
readonly title: "值改变";
|
|
21332
|
+
readonly description: "组件中的数据内容发生改变时触发";
|
|
21333
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
21334
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>;
|
|
21335
|
+
}>;
|
|
21336
|
+
}];
|
|
21337
|
+
readonly compConfig: {
|
|
21338
|
+
readonly isDataContainer: true;
|
|
21339
|
+
readonly componentType: "formField";
|
|
21340
|
+
};
|
|
21341
|
+
readonly isContainer: true;
|
|
21342
|
+
readonly meta: {
|
|
21343
|
+
readonly name: "WdFormArr";
|
|
21344
|
+
readonly componentName: "formArr";
|
|
21345
|
+
readonly title: "数组嵌套表单";
|
|
21346
|
+
readonly description: "数组嵌套表单";
|
|
21347
|
+
readonly icon: "../icons/Text.svg";
|
|
21348
|
+
readonly category: "表单";
|
|
21349
|
+
readonly group: {
|
|
21350
|
+
标签项: {
|
|
21351
|
+
'x-index': number;
|
|
21352
|
+
expand: boolean;
|
|
21353
|
+
};
|
|
21354
|
+
通用: {
|
|
21355
|
+
'x-index': number;
|
|
21356
|
+
expand: boolean;
|
|
21357
|
+
};
|
|
21358
|
+
标题风格: {
|
|
21359
|
+
'x-index': number;
|
|
21360
|
+
expand: boolean;
|
|
21361
|
+
};
|
|
21362
|
+
输入框: {
|
|
21363
|
+
'x-index': number;
|
|
21364
|
+
expand: boolean;
|
|
21365
|
+
};
|
|
21366
|
+
标签风格: {
|
|
21367
|
+
'x-index': number;
|
|
21368
|
+
expand: boolean;
|
|
21369
|
+
};
|
|
21370
|
+
选择框: {
|
|
21371
|
+
'x-index': number;
|
|
21372
|
+
expand: boolean;
|
|
21373
|
+
};
|
|
21374
|
+
内容: {
|
|
21375
|
+
'x-index': number;
|
|
21376
|
+
expand: boolean;
|
|
21377
|
+
};
|
|
21378
|
+
图片内容: {
|
|
21379
|
+
'x-index': number;
|
|
21380
|
+
expand: boolean;
|
|
21381
|
+
};
|
|
21382
|
+
文件内容: {
|
|
21383
|
+
'x-index': number;
|
|
21384
|
+
expand: boolean;
|
|
21385
|
+
};
|
|
21386
|
+
地图内容: {
|
|
21387
|
+
'x-index': number;
|
|
21388
|
+
expand: boolean;
|
|
21389
|
+
};
|
|
21390
|
+
开关按钮: {
|
|
21391
|
+
'x-index': number;
|
|
21392
|
+
expand: boolean;
|
|
21393
|
+
};
|
|
21394
|
+
小程序能力: {
|
|
21395
|
+
'x-index': number;
|
|
21396
|
+
expand: boolean;
|
|
21397
|
+
};
|
|
21398
|
+
'\u72B6\u6001/\u6821\u9A8C': {
|
|
21399
|
+
'x-index': number;
|
|
21400
|
+
expand: boolean;
|
|
21401
|
+
};
|
|
21402
|
+
};
|
|
21403
|
+
readonly visible: readonly ["APP"];
|
|
21404
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/WdFormArr";
|
|
21405
|
+
readonly inlineStyleForm: {
|
|
21406
|
+
$text: {
|
|
21407
|
+
visible: boolean;
|
|
21408
|
+
};
|
|
21409
|
+
justifyContent: {
|
|
21410
|
+
visible: boolean;
|
|
21411
|
+
};
|
|
21412
|
+
flexDirection: {
|
|
21413
|
+
visible: boolean;
|
|
21414
|
+
};
|
|
21415
|
+
alignItems: {
|
|
21416
|
+
visible: boolean;
|
|
21417
|
+
};
|
|
21418
|
+
};
|
|
21419
|
+
readonly templates: readonly [{
|
|
21420
|
+
readonly when: "$attached";
|
|
21421
|
+
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
21422
|
+
readonly __k: "init-name-with-id";
|
|
21423
|
+
}, {
|
|
21424
|
+
readonly when: "$attached";
|
|
21425
|
+
readonly body: "\n{{#with $self as |$self|}}\n[attributes]\nvalue = [{}]\n\n[[template]]\ncomponent = \"Repeater\"\n[template.attributes]\n\":data\" = \"($w.{{$self.id}}.value || [])\"\nsuffix = '{{$self.id}}'\nforItem = 'item_{{$self.id}}'\nforIndex = 'index_{{$self.id}}'\n[[template.items]]\ncomponent = \"Container\"\nscopedStyle = \":scope {\n position: relative;\n}\"\n[[template.items.items]]\ncomponent = 'WdFormObj'\n[template.items.items.attributes]\n\":label\" = \"`${$w.{{$self.id}}.label}[${$w.index_{{$self.id}} + 1}]`\"\n\":name\" = \"$w.index_{{$self.id}}\"\nvalue = {}\n[[template.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n position: absolute;\n right: var(--wd-card-heder-pd-bordered);\n top: var(--wd-card-heder-pd-bordered);\n color: var(--wd-color-brand);\n}\n\n:scope.wd-mp-icon {\n top: calc(10px + var(--wd-card-heder-pd-bordered));\n}\"\n[template.items.items.attributes]\nname = \"td:delete\"\n[[template.items.items.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.items.items.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.items.items.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"remove\"\n[template.items.items.listeners.handler.params.params]\n\":index\" = \"$w.index_{{$self.id}}\"\n\n[[template]]\ncomponent = 'Grid'\nscopedStyle = \":scope {\n margin-top: 10px;\n width: 100%;\n}\"\n[[template.listeners]]\neventName = \"tap\"\ntype = \"platform\"\n[template.listeners.handler]\nmodule = \"platform\"\nname = \"invoke\"\n[template.listeners.handler.params]\ncomponent = \"{{$self.id}}\"\nmethod = \"add\"\n[[template.items]]\ncomponent = 'Row'\n[template.items.attributes]\nalignItems = \"center\"\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdIcon'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n}\"\n[template.items.items.items.attributes]\nname = \"td:add-circle\"\n\n[[template.items.items]]\ncomponent = 'Col'\nscopedStyle = \":scope {\n flex: 0;\n}\"\n[template.items.items.attributes]\nlgWidthType = \"fit-content\"\nwidthType = \"fit-content\"\n[[template.items.items.items]]\ncomponent = 'WdText'\nscopedStyle = \":scope {\n color: var(--wd-color-brand);\n white-space: nowrap;\n}\"\n[template.items.items.items.attributes]\ntext = \"新增\"\n{{/with}}\n";
|
|
21426
|
+
}];
|
|
21427
|
+
};
|
|
21428
|
+
};
|
|
19874
21429
|
WdAd: {
|
|
19875
21430
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19876
21431
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -21635,7 +23190,7 @@ declare const _default: {
|
|
|
21635
23190
|
label: import("@sinclair/typebox").TString;
|
|
21636
23191
|
labelVisible: import("@sinclair/typebox").TBoolean;
|
|
21637
23192
|
dataSource: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
|
|
21638
|
-
locationRange: import("@sinclair/typebox").TUnsafe<0 | -1 | 100 |
|
|
23193
|
+
locationRange: import("@sinclair/typebox").TUnsafe<0 | -1 | 100 | 1000 | 500 | 300 | 2000>;
|
|
21639
23194
|
customRange: import("@sinclair/typebox").TNumber;
|
|
21640
23195
|
locationType: import("@sinclair/typebox").TUnsafe<2 | 1>;
|
|
21641
23196
|
defauleShowLocation: import("@sinclair/typebox").TBoolean;
|
|
@@ -22324,7 +23879,7 @@ declare const _default: {
|
|
|
22324
23879
|
isDisabledSubmit: import("@sinclair/typebox").TBoolean;
|
|
22325
23880
|
formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
|
|
22326
23881
|
formType_bind: import("@sinclair/typebox").TBoolean;
|
|
22327
|
-
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "
|
|
23882
|
+
datasourceType: import("@sinclair/typebox").TUnsafe<"connector" | "model" | "expression" | "custom-connector">;
|
|
22328
23883
|
dataSourceName: import("@sinclair/typebox").TString;
|
|
22329
23884
|
value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
|
|
22330
23885
|
_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -30555,20 +32110,20 @@ declare const _default: {
|
|
|
30555
32110
|
WdCard: {
|
|
30556
32111
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
30557
32112
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
30558
|
-
template: import("@sinclair/typebox").TUnsafe<"card" | "collapse1" | "collapse2"
|
|
30559
|
-
showHeader: import("@sinclair/typebox").TBoolean
|
|
30560
|
-
showContent: import("@sinclair/typebox").TBoolean
|
|
30561
|
-
showFooter: import("@sinclair/typebox").TBoolean
|
|
30562
|
-
showDivider: import("@sinclair/typebox").TBoolean
|
|
32113
|
+
template: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"card" | "collapse1" | "collapse2">>;
|
|
32114
|
+
showHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32115
|
+
showContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32116
|
+
showFooter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32117
|
+
showDivider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
30563
32118
|
headerSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
30564
32119
|
contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
30565
32120
|
footerSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
30566
32121
|
}>;
|
|
30567
32122
|
readonly properties: import("@sinclair/typebox").TObject<{
|
|
30568
|
-
showHeader: import("@sinclair/typebox").TBoolean
|
|
30569
|
-
showContent: import("@sinclair/typebox").TBoolean
|
|
30570
|
-
showFooter: import("@sinclair/typebox").TBoolean
|
|
30571
|
-
showDivider: import("@sinclair/typebox").TBoolean
|
|
32123
|
+
showHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32124
|
+
showContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32125
|
+
showFooter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32126
|
+
showDivider: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
30572
32127
|
contentState: import("@sinclair/typebox").TUnsafe<"显示" | "隐藏">;
|
|
30573
32128
|
}>;
|
|
30574
32129
|
readonly classes: readonly [{
|
|
@@ -31119,7 +32674,7 @@ declare const _default: {
|
|
|
31119
32674
|
WdTable: {
|
|
31120
32675
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
31121
32676
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
31122
|
-
dataSourceType: import("@sinclair/typebox").TUnsafe<"custom-connector" | "data-model"
|
|
32677
|
+
dataSourceType: import("@sinclair/typebox").TUnsafe<"expression" | "custom-connector" | "data-model">;
|
|
31123
32678
|
bindMetadata: import("@sinclair/typebox").TObject<{
|
|
31124
32679
|
datasource: import("@sinclair/typebox").TObject<{
|
|
31125
32680
|
title: import("@sinclair/typebox").TString;
|
|
@@ -31221,7 +32776,7 @@ declare const _default: {
|
|
|
31221
32776
|
}>;
|
|
31222
32777
|
sort: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
|
|
31223
32778
|
pageNo: import("@sinclair/typebox").TNumber;
|
|
31224
|
-
dataSourceType: import("@sinclair/typebox").TUnsafe<"custom-connector" | "data-model"
|
|
32779
|
+
dataSourceType: import("@sinclair/typebox").TUnsafe<"expression" | "custom-connector" | "data-model">;
|
|
31225
32780
|
pageSize: import("@sinclair/typebox").TNumber;
|
|
31226
32781
|
dataSourceData: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>>;
|
|
31227
32782
|
total: import("@sinclair/typebox").TNumber;
|
|
@@ -34658,6 +36213,7 @@ declare const _default: {
|
|
|
34658
36213
|
} | {
|
|
34659
36214
|
detail: import("@sinclair/typebox").TObject<{
|
|
34660
36215
|
value: import("@sinclair/typebox").TUnknown;
|
|
36216
|
+
isDelete: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
34661
36217
|
}>;
|
|
34662
36218
|
name: string;
|
|
34663
36219
|
title: string;
|
|
@@ -34826,6 +36382,7 @@ declare const _default: {
|
|
|
34826
36382
|
} | {
|
|
34827
36383
|
detail: import("@sinclair/typebox").TObject<{
|
|
34828
36384
|
value: import("@sinclair/typebox").TUnknown;
|
|
36385
|
+
isDelete: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
34829
36386
|
}>;
|
|
34830
36387
|
name: string;
|
|
34831
36388
|
title: string;
|
|
@@ -38156,7 +39713,26 @@ declare const _default: {
|
|
|
38156
39713
|
readonly selector: ".wd-mp-web-view";
|
|
38157
39714
|
readonly description: "可以为小程序端的网页嵌套编写样式";
|
|
38158
39715
|
}];
|
|
38159
|
-
readonly methods: readonly [
|
|
39716
|
+
readonly methods: readonly [{
|
|
39717
|
+
readonly name: "postMessage";
|
|
39718
|
+
readonly label: "发送消息";
|
|
39719
|
+
readonly description: "向页面发送消息";
|
|
39720
|
+
readonly params: {
|
|
39721
|
+
readonly properties: {
|
|
39722
|
+
readonly message: {
|
|
39723
|
+
readonly title: "消息内容";
|
|
39724
|
+
};
|
|
39725
|
+
readonly targetorigin: {
|
|
39726
|
+
readonly title: "targetorigin";
|
|
39727
|
+
readonly description: "web端通过窗口的 origin 属性来指定哪些窗口能接收到消息事件";
|
|
39728
|
+
};
|
|
39729
|
+
readonly transfer: {
|
|
39730
|
+
readonly title: "transfer";
|
|
39731
|
+
readonly description: "是一串和 message 同时传递的 Transferable 对象。web端参数。";
|
|
39732
|
+
};
|
|
39733
|
+
};
|
|
39734
|
+
};
|
|
39735
|
+
}];
|
|
38160
39736
|
readonly events: [{
|
|
38161
39737
|
readonly name: "load";
|
|
38162
39738
|
readonly title: "网页加载成功";
|