@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.
Files changed (69) hide show
  1. package/dist/configs/components/container.js +0 -3
  2. package/dist/configs/components/wd-ad.d.ts +4 -0
  3. package/dist/configs/components/wd-ad.js +23 -0
  4. package/dist/configs/components/wd-cascader.d.ts +4 -0
  5. package/dist/configs/components/wd-checkbox.d.ts +4 -0
  6. package/dist/configs/components/wd-code-editor.d.ts +4 -0
  7. package/dist/configs/components/wd-date-range.d.ts +4 -0
  8. package/dist/configs/components/wd-date.d.ts +4 -0
  9. package/dist/configs/components/wd-department.d.ts +6 -0
  10. package/dist/configs/components/wd-department.js +1 -1
  11. package/dist/configs/components/wd-form-arr.d.ts +4 -0
  12. package/dist/configs/components/wd-form-detail.d.ts +4 -0
  13. package/dist/configs/components/wd-form-obj.d.ts +4 -0
  14. package/dist/configs/components/wd-input-email.d.ts +4 -0
  15. package/dist/configs/components/wd-input-number.d.ts +4 -0
  16. package/dist/configs/components/wd-input-phone.d.ts +4 -0
  17. package/dist/configs/components/wd-input-url.d.ts +4 -0
  18. package/dist/configs/components/wd-input.d.ts +4 -0
  19. package/dist/configs/components/wd-location.d.ts +4 -0
  20. package/dist/configs/components/wd-member.d.ts +4 -0
  21. package/dist/configs/components/wd-radio.d.ts +4 -0
  22. package/dist/configs/components/wd-rating.d.ts +4 -0
  23. package/dist/configs/components/wd-region.d.ts +4 -0
  24. package/dist/configs/components/wd-rich-text.d.ts +4 -0
  25. package/dist/configs/components/wd-select-multiple.d.ts +17 -8
  26. package/dist/configs/components/wd-select-multiple.js +43 -10
  27. package/dist/configs/components/wd-select.d.ts +17 -8
  28. package/dist/configs/components/wd-select.js +85 -8
  29. package/dist/configs/components/wd-switch.d.ts +4 -0
  30. package/dist/configs/components/wd-tag-select.d.ts +4 -0
  31. package/dist/configs/components/wd-tag.d.ts +4 -0
  32. package/dist/configs/components/wd-textarea.d.ts +4 -0
  33. package/dist/configs/components/wd-time.d.ts +4 -0
  34. package/dist/configs/components/wd-upload-file.d.ts +4 -0
  35. package/dist/configs/components/wd-upload-image.d.ts +195 -15
  36. package/dist/configs/components/wd-upload-image.js +125 -6
  37. package/dist/configs/index.d.ts +536 -20
  38. package/dist/configs/type-utils/type-form.d.ts +4 -0
  39. package/dist/configs/type-utils/type-form.js +4 -0
  40. package/dist/configs/type-utils/x-runtime-default.d.ts +3 -0
  41. package/dist/configs/type-utils/x-runtime-default.js +3 -0
  42. package/dist/configs/utils/field.d.ts +1 -0
  43. package/dist/configs/utils/field.js +95 -0
  44. package/dist/style/weda-ui.min.css +1 -1
  45. package/dist/web/components/form/uploader/index.d.ts +1 -0
  46. package/dist/web/components/form/uploader/index.js +7 -4
  47. package/dist/web/components/form/uploader/upload/index.d.ts +26 -0
  48. package/dist/web/components/form/uploader/upload/index.js +200 -0
  49. package/dist/web/components/form/uploader/uploader.h5.d.ts +6 -1
  50. package/dist/web/components/form/uploader/uploader.h5.js +26 -94
  51. package/dist/web/components/form/uploader/uploader.pc.d.ts +1 -1
  52. package/dist/web/components/form/uploader/uploader.pc.js +30 -100
  53. package/dist/web/components/form/uploader/util.d.ts +16 -0
  54. package/dist/web/components/form/uploader/util.js +106 -5
  55. package/dist/web/components/form/uploaderFile/uploadFile.h5.js +3 -5
  56. package/dist/web/components/form/uploaderFile/uploadFile.pc.js +3 -5
  57. package/dist/web/components/uploaderView/index.js +1 -1
  58. package/dist/web/components/wd-ad/wd-ad.js +2 -4
  59. package/dist/web/components/wd-select/relationSelect/relationSelect.js +2 -2
  60. package/dist/web/components/wd-select/select/index.js +3 -2
  61. package/dist/web/components/wd-select/select/selectUI.js +3 -3
  62. package/dist/web/components/wd-select/wd-select.d.ts +2 -0
  63. package/dist/web/components/wd-select/wd-select.js +9 -3
  64. package/dist/web/components/wd-select-multiple/wd-select-multiple.d.ts +2 -0
  65. package/dist/web/components/wd-select-multiple/wd-select-multiple.js +9 -3
  66. package/dist/web/components/wd-upload-image/wd-upload-image.js +14 -4
  67. package/package.json +5 -5
  68. package/dist/web/components/form/uploader/useUploadFile.d.ts +0 -16
  69. package/dist/web/components/form/uploader/useUploadFile.js +0 -99
@@ -9,9 +9,6 @@ const data = Type.Object({
9
9
  title: '数据',
10
10
  description: '可通过 $w.<id>.data 引用到',
11
11
  default: {},
12
- 'x-props': {
13
- 'data-hidebind': true,
14
- },
15
12
  })),
16
13
  });
17
14
  const config = defineConfig({
@@ -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',
@@ -194,6 +194,10 @@ declare const config: {
194
194
  props: string[];
195
195
  };
196
196
  readonly group: {
197
+ 模板: {
198
+ 'x-index': number;
199
+ expand: boolean;
200
+ };
197
201
  标签项: {
198
202
  'x-index': number;
199
203
  expand: boolean;
@@ -157,6 +157,10 @@ declare const config: {
157
157
  props: string[];
158
158
  };
159
159
  readonly group: {
160
+ 模板: {
161
+ 'x-index': number;
162
+ expand: boolean;
163
+ };
160
164
  标签项: {
161
165
  'x-index': number;
162
166
  expand: boolean;
@@ -170,6 +170,10 @@ declare const config: {
170
170
  props: string[];
171
171
  };
172
172
  readonly group: {
173
+ 模板: {
174
+ 'x-index': number;
175
+ expand: boolean;
176
+ };
173
177
  标签项: {
174
178
  'x-index': number;
175
179
  expand: boolean;
@@ -187,6 +187,10 @@ declare const config: {
187
187
  props: string[];
188
188
  };
189
189
  readonly group: {
190
+ 模板: {
191
+ 'x-index': number;
192
+ expand: boolean;
193
+ };
190
194
  标签项: {
191
195
  'x-index': number;
192
196
  expand: boolean;
@@ -180,6 +180,10 @@ declare const config: {
180
180
  props: string[];
181
181
  };
182
182
  readonly group: {
183
+ 模板: {
184
+ 'x-index': number;
185
+ expand: boolean;
186
+ };
183
187
  标签项: {
184
188
  'x-index': number;
185
189
  expand: boolean;
@@ -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
  }),
@@ -105,6 +105,10 @@ declare const config: {
105
105
  readonly icon: "../icons/Text.svg";
106
106
  readonly category: "表单";
107
107
  readonly group: {
108
+ 模板: {
109
+ 'x-index': number;
110
+ expand: boolean;
111
+ };
108
112
  标签项: {
109
113
  'x-index': number;
110
114
  expand: boolean;
@@ -117,6 +117,10 @@ declare const config: {
117
117
  readonly icon: "../icons/Text.svg";
118
118
  readonly category: "表单";
119
119
  readonly group: {
120
+ 模板: {
121
+ 'x-index': number;
122
+ expand: boolean;
123
+ };
120
124
  标签项: {
121
125
  'x-index': number;
122
126
  expand: boolean;
@@ -94,6 +94,10 @@ declare const config: {
94
94
  readonly icon: "../icons/Text.svg";
95
95
  readonly category: "表单";
96
96
  readonly group: {
97
+ 模板: {
98
+ 'x-index': number;
99
+ expand: boolean;
100
+ };
97
101
  标签项: {
98
102
  'x-index': number;
99
103
  expand: boolean;
@@ -216,6 +216,10 @@ declare const config: {
216
216
  props: string[];
217
217
  };
218
218
  readonly group: {
219
+ 模板: {
220
+ 'x-index': number;
221
+ expand: boolean;
222
+ };
219
223
  标签项: {
220
224
  'x-index': number;
221
225
  expand: boolean;
@@ -372,6 +372,10 @@ declare const config: {
372
372
  props: string[];
373
373
  };
374
374
  readonly group: {
375
+ 模板: {
376
+ 'x-index': number;
377
+ expand: boolean;
378
+ };
375
379
  标签项: {
376
380
  'x-index': number;
377
381
  expand: boolean;
@@ -214,6 +214,10 @@ declare const config: {
214
214
  props: string[];
215
215
  };
216
216
  readonly group: {
217
+ 模板: {
218
+ 'x-index': number;
219
+ expand: boolean;
220
+ };
217
221
  标签项: {
218
222
  'x-index': number;
219
223
  expand: boolean;
@@ -216,6 +216,10 @@ declare const config: {
216
216
  props: string[];
217
217
  };
218
218
  readonly group: {
219
+ 模板: {
220
+ 'x-index': number;
221
+ expand: boolean;
222
+ };
219
223
  标签项: {
220
224
  'x-index': number;
221
225
  expand: boolean;
@@ -306,6 +306,10 @@ declare const config: {
306
306
  props: string[];
307
307
  };
308
308
  readonly group: {
309
+ 模板: {
310
+ 'x-index': number;
311
+ expand: boolean;
312
+ };
309
313
  标签项: {
310
314
  'x-index': number;
311
315
  expand: boolean;
@@ -212,6 +212,10 @@ declare const config: {
212
212
  props: string[];
213
213
  };
214
214
  readonly group: {
215
+ 模板: {
216
+ 'x-index': number;
217
+ expand: boolean;
218
+ };
215
219
  标签项: {
216
220
  'x-index': number;
217
221
  expand: boolean;
@@ -186,6 +186,10 @@ declare const config: {
186
186
  props: string[];
187
187
  };
188
188
  readonly group: {
189
+ 模板: {
190
+ 'x-index': number;
191
+ expand: boolean;
192
+ };
189
193
  标签项: {
190
194
  'x-index': number;
191
195
  expand: boolean;
@@ -160,6 +160,10 @@ declare const config: {
160
160
  props: string[];
161
161
  };
162
162
  readonly group: {
163
+ 模板: {
164
+ 'x-index': number;
165
+ expand: boolean;
166
+ };
163
167
  标签项: {
164
168
  'x-index': number;
165
169
  expand: boolean;
@@ -185,6 +185,10 @@ declare const config: {
185
185
  readonly 'x-index': 2;
186
186
  readonly expand: false;
187
187
  };
188
+ readonly 模板: {
189
+ 'x-index': number;
190
+ expand: boolean;
191
+ };
188
192
  readonly 标签项: {
189
193
  'x-index': number;
190
194
  expand: boolean;
@@ -166,6 +166,10 @@ declare const config: {
166
166
  props: string[];
167
167
  };
168
168
  readonly group: {
169
+ 模板: {
170
+ 'x-index': number;
171
+ expand: boolean;
172
+ };
169
173
  标签项: {
170
174
  'x-index': number;
171
175
  expand: boolean;
@@ -138,6 +138,10 @@ declare const config: {
138
138
  props: string[];
139
139
  };
140
140
  readonly group: {
141
+ 模板: {
142
+ 'x-index': number;
143
+ expand: boolean;
144
+ };
141
145
  标签项: {
142
146
  'x-index': number;
143
147
  expand: boolean;
@@ -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
- ignoreCase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean & {
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
- ignoreCase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean & {
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': 42,
248
+ 'x-index': 43,
231
249
  'x-category': X_CATEGORY.COMMON,
232
- 'x-helper-text': 'PC/H5端生效',
233
250
  }),
234
- ignoreCase: Object.assign({}, FORM_ITEM_DATA.ignoreCase, {
235
- 'x-index': 43,
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': 44,
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
- ignoreCase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean & {
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
- ignoreCase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean & {
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;