@cloudbase/weda-ui 3.15.8 → 3.17.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/components/container.js +0 -3
- package/dist/configs/components/wd-ad.d.ts +4 -0
- package/dist/configs/components/wd-ad.js +23 -0
- package/dist/configs/components/wd-cascader.d.ts +4 -0
- package/dist/configs/components/wd-checkbox.d.ts +4 -0
- package/dist/configs/components/wd-code-editor.d.ts +4 -0
- package/dist/configs/components/wd-date-range.d.ts +4 -0
- package/dist/configs/components/wd-date.d.ts +4 -0
- package/dist/configs/components/wd-department.d.ts +6 -0
- package/dist/configs/components/wd-department.js +1 -1
- package/dist/configs/components/wd-form-arr.d.ts +4 -0
- package/dist/configs/components/wd-form-detail.d.ts +4 -0
- package/dist/configs/components/wd-form-obj.d.ts +4 -0
- package/dist/configs/components/wd-input-email.d.ts +4 -0
- package/dist/configs/components/wd-input-number.d.ts +4 -0
- package/dist/configs/components/wd-input-phone.d.ts +4 -0
- package/dist/configs/components/wd-input-url.d.ts +4 -0
- package/dist/configs/components/wd-input.d.ts +4 -0
- package/dist/configs/components/wd-location.d.ts +4 -0
- package/dist/configs/components/wd-member.d.ts +4 -0
- package/dist/configs/components/wd-radio.d.ts +4 -0
- package/dist/configs/components/wd-rating.d.ts +4 -0
- package/dist/configs/components/wd-region.d.ts +4 -0
- package/dist/configs/components/wd-rich-text.d.ts +4 -0
- package/dist/configs/components/wd-select-multiple.d.ts +17 -8
- package/dist/configs/components/wd-select-multiple.js +43 -10
- package/dist/configs/components/wd-select.d.ts +17 -8
- package/dist/configs/components/wd-select.js +85 -8
- package/dist/configs/components/wd-switch.d.ts +4 -0
- package/dist/configs/components/wd-tag-select.d.ts +4 -0
- package/dist/configs/components/wd-tag.d.ts +4 -0
- package/dist/configs/components/wd-textarea.d.ts +4 -0
- package/dist/configs/components/wd-time.d.ts +4 -0
- package/dist/configs/components/wd-upload-file.d.ts +4 -0
- package/dist/configs/components/wd-upload-image.d.ts +195 -15
- package/dist/configs/components/wd-upload-image.js +125 -6
- package/dist/configs/index.d.ts +536 -20
- package/dist/configs/type-utils/type-form.d.ts +4 -0
- package/dist/configs/type-utils/type-form.js +4 -0
- 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/configs/utils/field.d.ts +1 -0
- package/dist/configs/utils/field.js +95 -0
- package/dist/style/weda-ui.min.css +1 -1
- package/dist/web/components/form/uploader/index.d.ts +1 -0
- package/dist/web/components/form/uploader/index.js +7 -4
- package/dist/web/components/form/uploader/upload/index.d.ts +26 -0
- package/dist/web/components/form/uploader/upload/index.js +200 -0
- package/dist/web/components/form/uploader/uploader.h5.d.ts +6 -1
- package/dist/web/components/form/uploader/uploader.h5.js +26 -94
- package/dist/web/components/form/uploader/uploader.pc.d.ts +1 -1
- package/dist/web/components/form/uploader/uploader.pc.js +30 -100
- package/dist/web/components/form/uploader/util.d.ts +16 -0
- package/dist/web/components/form/uploader/util.js +106 -5
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +3 -5
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +3 -5
- package/dist/web/components/uploaderView/index.js +1 -1
- package/dist/web/components/wd-ad/wd-ad.js +2 -4
- package/dist/web/components/wd-select/relationSelect/relationSelect.js +2 -2
- package/dist/web/components/wd-select/select/index.js +3 -2
- package/dist/web/components/wd-select/select/selectUI.js +3 -3
- package/dist/web/components/wd-select/wd-select.d.ts +2 -0
- package/dist/web/components/wd-select/wd-select.js +9 -3
- package/dist/web/components/wd-select-multiple/wd-select-multiple.d.ts +2 -0
- package/dist/web/components/wd-select-multiple/wd-select-multiple.js +9 -3
- package/dist/web/components/wd-upload-image/wd-upload-image.js +14 -4
- package/package.json +5 -5
- package/dist/web/components/form/uploader/useUploadFile.d.ts +0 -16
- package/dist/web/components/form/uploader/useUploadFile.js +0 -99
|
@@ -6,6 +6,8 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
6
6
|
adTheme: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
7
7
|
adIntervals: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
8
8
|
gridCount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<number>>;
|
|
9
|
+
multiton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
10
|
+
disableFallbackSharePage: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
9
11
|
}>;
|
|
10
12
|
declare const config: {
|
|
11
13
|
readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
|
|
@@ -15,6 +17,8 @@ declare const config: {
|
|
|
15
17
|
adTheme: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
16
18
|
adIntervals: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
17
19
|
gridCount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<number>>;
|
|
20
|
+
multiton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21
|
+
disableFallbackSharePage: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
18
22
|
}>;
|
|
19
23
|
readonly classes: readonly [{
|
|
20
24
|
readonly name: "根元素";
|
|
@@ -4,6 +4,7 @@ const AD_TYPE = [
|
|
|
4
4
|
{ label: 'Banner 广告', value: 'banner' },
|
|
5
5
|
{ label: '视频广告', value: 'video' },
|
|
6
6
|
{ label: '格子广告', value: 'grid' },
|
|
7
|
+
{ label: '激励视频广告', value: 'rewardedVideoAd' },
|
|
7
8
|
];
|
|
8
9
|
const AD_THEME = [
|
|
9
10
|
{ label: '白色', value: 'white' },
|
|
@@ -27,6 +28,16 @@ const data = Type.Partial(Type.Object({
|
|
|
27
28
|
target: 'gridCount',
|
|
28
29
|
condition: '{{$self.value === "grid"}}',
|
|
29
30
|
},
|
|
31
|
+
{
|
|
32
|
+
type: 'value:visible',
|
|
33
|
+
target: '*(adTheme,adIntervals)',
|
|
34
|
+
condition: '{{$self.value !== "rewardedVideoAd"}}',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: 'value:visible',
|
|
38
|
+
target: '*(multiton,disableFallbackSharePage)',
|
|
39
|
+
condition: '{{$self.value === "rewardedVideoAd"}}',
|
|
40
|
+
},
|
|
30
41
|
],
|
|
31
42
|
}),
|
|
32
43
|
unitId: Type.String({
|
|
@@ -59,6 +70,18 @@ const data = Type.Partial(Type.Object({
|
|
|
59
70
|
'x-category': '通用',
|
|
60
71
|
'x-index': 50,
|
|
61
72
|
}),
|
|
73
|
+
multiton: Type.Boolean({
|
|
74
|
+
title: '多例模式',
|
|
75
|
+
'x-runtime-default': X_RUNTIME_DEFAULT.multiton,
|
|
76
|
+
'x-category': '通用',
|
|
77
|
+
'x-index': 60,
|
|
78
|
+
}),
|
|
79
|
+
disableFallbackSharePage: Type.Boolean({
|
|
80
|
+
title: '禁用分享页',
|
|
81
|
+
'x-runtime-default': X_RUNTIME_DEFAULT.disableFallbackSharePage,
|
|
82
|
+
'x-category': '通用',
|
|
83
|
+
'x-index': 70,
|
|
84
|
+
}),
|
|
62
85
|
}));
|
|
63
86
|
const config = defineConfig({
|
|
64
87
|
$schema: 'https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json',
|
|
@@ -33,6 +33,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
33
33
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
34
34
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
35
35
|
title: string;
|
|
36
|
+
default: any;
|
|
36
37
|
}>;
|
|
37
38
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
38
39
|
default: string;
|
|
@@ -74,6 +75,7 @@ declare const config: {
|
|
|
74
75
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
75
76
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
76
77
|
title: string;
|
|
78
|
+
default: any;
|
|
77
79
|
}>;
|
|
78
80
|
placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString & {
|
|
79
81
|
default: string;
|
|
@@ -180,6 +182,10 @@ declare const config: {
|
|
|
180
182
|
props: string[];
|
|
181
183
|
};
|
|
182
184
|
readonly group: {
|
|
185
|
+
模板: {
|
|
186
|
+
'x-index': number;
|
|
187
|
+
expand: boolean;
|
|
188
|
+
};
|
|
183
189
|
标签项: {
|
|
184
190
|
'x-index': number;
|
|
185
191
|
expand: boolean;
|
|
@@ -22,7 +22,7 @@ const TITLE = getFormItemDataTitle('部门');
|
|
|
22
22
|
const data = Type.Partial(Type.Object({
|
|
23
23
|
// 通用
|
|
24
24
|
name: FORM_ITEM_DATA.name,
|
|
25
|
-
value: Object.assign({}, FORM_ITEM_DATA.value, { title: '选中值' }),
|
|
25
|
+
value: Object.assign({}, FORM_ITEM_DATA.value, { title: '选中值', default: null }),
|
|
26
26
|
placeholder: Object.assign({}, FORM_ITEM_DATA.placeholder, {
|
|
27
27
|
default: '请选择部门',
|
|
28
28
|
}),
|
|
@@ -11,7 +11,6 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
11
11
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
12
12
|
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
13
|
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14
|
-
staticSearchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15
14
|
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
15
|
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
16
|
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -63,10 +62,9 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
63
62
|
default: string;
|
|
64
63
|
'x-index': number;
|
|
65
64
|
}>;
|
|
65
|
+
searchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
66
66
|
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
67
|
-
|
|
68
|
-
'x-index': number;
|
|
69
|
-
}>;
|
|
67
|
+
filterable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
70
68
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
71
69
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
72
70
|
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -87,7 +85,6 @@ declare const config: {
|
|
|
87
85
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
88
86
|
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
89
87
|
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
90
|
-
staticSearchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
91
88
|
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
92
89
|
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
93
90
|
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -139,10 +136,9 @@ declare const config: {
|
|
|
139
136
|
default: string;
|
|
140
137
|
'x-index': number;
|
|
141
138
|
}>;
|
|
139
|
+
searchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
142
140
|
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
143
|
-
|
|
144
|
-
'x-index': number;
|
|
145
|
-
}>;
|
|
141
|
+
filterable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
146
142
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
147
143
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
148
144
|
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -257,12 +253,21 @@ declare const config: {
|
|
|
257
253
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
258
254
|
value: import("@sinclair/typebox").TString;
|
|
259
255
|
}>;
|
|
256
|
+
}, {
|
|
257
|
+
readonly name: "focus";
|
|
258
|
+
readonly title: "聚焦";
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "blur";
|
|
261
|
+
readonly title: "失焦";
|
|
262
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
260
263
|
}, {
|
|
261
264
|
readonly name: "onSettingButtonClick";
|
|
262
265
|
readonly title: "点击设置按钮";
|
|
266
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
263
267
|
}, {
|
|
264
268
|
readonly name: "onAddRelationButtonClick";
|
|
265
269
|
readonly title: "点击新建按钮";
|
|
270
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
266
271
|
}, {
|
|
267
272
|
readonly name: "onRelationTagClick";
|
|
268
273
|
readonly title: "点击标签";
|
|
@@ -299,6 +304,10 @@ declare const config: {
|
|
|
299
304
|
props: string[];
|
|
300
305
|
};
|
|
301
306
|
readonly group: {
|
|
307
|
+
模板: {
|
|
308
|
+
'x-index': number;
|
|
309
|
+
expand: boolean;
|
|
310
|
+
};
|
|
302
311
|
标签项: {
|
|
303
312
|
'x-index': number;
|
|
304
313
|
expand: boolean;
|
|
@@ -2,7 +2,7 @@ import { defineConfig, Type, Tuple } from '../type-utils';
|
|
|
2
2
|
import { FORM_ITEM_DATA, FORM_ITEM_METHODS, FORM_ITEM_META, ItemData, pickWithXCategory, X_CATEGORY, getFormItemDataTitle, } from '../type-utils/type-form';
|
|
3
3
|
import { getClasses } from '../type-utils/classes';
|
|
4
4
|
import { templateInitNameWithId } from './common/init-name-with-id';
|
|
5
|
-
import { MULTIPLE_FOREIGN_FORMATS } from '../type-utils/x-runtime-default';
|
|
5
|
+
import { MULTIPLE_FOREIGN_FORMATS, X_RUNTIME_DEFAULT } from '../type-utils/x-runtime-default';
|
|
6
6
|
const SELECT = pickWithXCategory(FORM_ITEM_DATA, [
|
|
7
7
|
'clearable',
|
|
8
8
|
'before',
|
|
@@ -223,17 +223,41 @@ const data = Type.Partial(Type.Object({
|
|
|
223
223
|
default: '请选择',
|
|
224
224
|
'x-index': 41,
|
|
225
225
|
}),
|
|
226
|
+
searchable: Type.Boolean({
|
|
227
|
+
title: '支持搜索',
|
|
228
|
+
'x-runtime-default': X_RUNTIME_DEFAULT.searchable,
|
|
229
|
+
'x-index': 42,
|
|
230
|
+
'x-category': X_CATEGORY.COMMON,
|
|
231
|
+
'x-linkages': [
|
|
232
|
+
{
|
|
233
|
+
type: 'value:visible',
|
|
234
|
+
target: '*(searchPlaceholder)',
|
|
235
|
+
condition: '{{$self.value}}',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
type: 'value:visible',
|
|
239
|
+
target: '*(filterable)',
|
|
240
|
+
condition: `{{$self.value&&!$form.values.format}}`,
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
}),
|
|
226
244
|
searchPlaceholder: Type.String({
|
|
227
245
|
title: '搜索框占位文字',
|
|
228
246
|
type: 'string',
|
|
229
247
|
default: '搜索选项',
|
|
230
|
-
'x-index':
|
|
248
|
+
'x-index': 43,
|
|
231
249
|
'x-category': X_CATEGORY.COMMON,
|
|
232
|
-
'x-helper-text': 'PC/H5端生效',
|
|
233
250
|
}),
|
|
234
|
-
|
|
235
|
-
'
|
|
251
|
+
filterable: Type.Boolean({
|
|
252
|
+
title: '支持远程搜索',
|
|
253
|
+
'x-runtime-default': X_RUNTIME_DEFAULT.filterable,
|
|
254
|
+
'x-index': 44,
|
|
255
|
+
'x-category': X_CATEGORY.COMMON,
|
|
256
|
+
description: '默认根据搜索框输入值进行筛选,开启后屏蔽前端筛选',
|
|
236
257
|
}),
|
|
258
|
+
// ignoreCase: Object.assign({}, FORM_ITEM_DATA.ignoreCase, {
|
|
259
|
+
// 'x-index': 43,
|
|
260
|
+
// }),
|
|
237
261
|
enableRelationalSetting: FORM_ITEM_DATA.enableRelationalSetting,
|
|
238
262
|
enableRelationalRefresh: FORM_ITEM_DATA.enableRelationalRefresh,
|
|
239
263
|
enableRelationOptionJump: FORM_ITEM_DATA.enableRelationOptionJump,
|
|
@@ -256,7 +280,7 @@ const data = Type.Partial(Type.Object({
|
|
|
256
280
|
'x-linkages': [
|
|
257
281
|
{
|
|
258
282
|
type: 'value:visible',
|
|
259
|
-
target: '*(range)',
|
|
283
|
+
target: '*(range,filterable)',
|
|
260
284
|
condition: `{{!${MULTIPLE_FOREIGN_FORMATS('$self.value', true)}}}`,
|
|
261
285
|
},
|
|
262
286
|
{
|
|
@@ -279,16 +303,14 @@ const data = Type.Partial(Type.Object({
|
|
|
279
303
|
condition: `{{!$form.values.supportManyRelated&&${MULTIPLE_FOREIGN_FORMATS()}}}`,
|
|
280
304
|
state: {
|
|
281
305
|
display: true,
|
|
282
|
-
value: false,
|
|
283
306
|
},
|
|
284
307
|
otherwise: {
|
|
285
308
|
display: false,
|
|
286
|
-
value: true,
|
|
287
309
|
},
|
|
288
310
|
},
|
|
289
311
|
],
|
|
290
312
|
'x-category': X_CATEGORY.COMMON,
|
|
291
|
-
'x-index':
|
|
313
|
+
'x-index': 50,
|
|
292
314
|
display: false,
|
|
293
315
|
'x-platforms': [''],
|
|
294
316
|
}),
|
|
@@ -302,7 +324,7 @@ const data = Type.Partial(Type.Object({
|
|
|
302
324
|
requiredMsg: FORM_ITEM_DATA.requiredMsg,
|
|
303
325
|
requiredFlag: FORM_ITEM_DATA.requiredFlag,
|
|
304
326
|
// 已废弃属性
|
|
305
|
-
staticSearchable: FORM_ITEM_DATA.staticSearchable,
|
|
327
|
+
// staticSearchable: FORM_ITEM_DATA.staticSearchable,
|
|
306
328
|
}));
|
|
307
329
|
const properties = Type.Composite([
|
|
308
330
|
Type.Pick(data, ['name', 'label', 'value', 'required', 'before', 'after']),
|
|
@@ -375,13 +397,24 @@ const config = defineConfig({
|
|
|
375
397
|
}),
|
|
376
398
|
}),
|
|
377
399
|
},
|
|
400
|
+
{
|
|
401
|
+
name: 'focus',
|
|
402
|
+
title: '聚焦',
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
name: 'blur',
|
|
406
|
+
title: '失焦',
|
|
407
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
408
|
+
},
|
|
378
409
|
{
|
|
379
410
|
name: 'onSettingButtonClick',
|
|
380
411
|
title: '点击设置按钮',
|
|
412
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
381
413
|
},
|
|
382
414
|
{
|
|
383
415
|
name: 'onAddRelationButtonClick',
|
|
384
416
|
title: '点击新建按钮',
|
|
417
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
385
418
|
},
|
|
386
419
|
{
|
|
387
420
|
name: 'onRelationTagClick',
|
|
@@ -6,7 +6,6 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
6
6
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
7
|
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8
8
|
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
9
|
-
staticSearchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
10
9
|
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11
10
|
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
11
|
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -59,10 +58,9 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
59
58
|
default: string;
|
|
60
59
|
'x-index': number;
|
|
61
60
|
}>;
|
|
61
|
+
searchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
62
62
|
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
63
|
-
|
|
64
|
-
'x-index': number;
|
|
65
|
-
}>;
|
|
63
|
+
filterable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
66
64
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
67
65
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
68
66
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -83,7 +81,6 @@ declare const config: {
|
|
|
83
81
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
84
82
|
requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
85
83
|
requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
86
|
-
staticSearchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
87
84
|
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
88
85
|
after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
89
86
|
before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -136,10 +133,9 @@ declare const config: {
|
|
|
136
133
|
default: string;
|
|
137
134
|
'x-index': number;
|
|
138
135
|
}>;
|
|
136
|
+
searchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
139
137
|
searchPlaceholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
140
|
-
|
|
141
|
-
'x-index': number;
|
|
142
|
-
}>;
|
|
138
|
+
filterable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
143
139
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
144
140
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
145
141
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -250,12 +246,21 @@ declare const config: {
|
|
|
250
246
|
readonly detail: import("@sinclair/typebox").TObject<{
|
|
251
247
|
value: import("@sinclair/typebox").TString;
|
|
252
248
|
}>;
|
|
249
|
+
}, {
|
|
250
|
+
readonly name: "focus";
|
|
251
|
+
readonly title: "聚焦";
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "blur";
|
|
254
|
+
readonly title: "失焦";
|
|
255
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
253
256
|
}, {
|
|
254
257
|
readonly name: "onSettingButtonClick";
|
|
255
258
|
readonly title: "点击设置按钮";
|
|
259
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
256
260
|
}, {
|
|
257
261
|
readonly name: "onAddRelationButtonClick";
|
|
258
262
|
readonly title: "点击新建按钮";
|
|
263
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
259
264
|
}, {
|
|
260
265
|
readonly name: "onRelationTagClick";
|
|
261
266
|
readonly title: "点击标签";
|
|
@@ -292,6 +297,10 @@ declare const config: {
|
|
|
292
297
|
props: string[];
|
|
293
298
|
};
|
|
294
299
|
readonly group: {
|
|
300
|
+
模板: {
|
|
301
|
+
'x-index': number;
|
|
302
|
+
expand: boolean;
|
|
303
|
+
};
|
|
295
304
|
标签项: {
|
|
296
305
|
'x-index': number;
|
|
297
306
|
expand: boolean;
|