@cloudbase/weda-ui 3.27.3 → 3.28.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 (62) hide show
  1. package/dist/configs/components/form-checkbox.d.ts +2 -2
  2. package/dist/configs/components/form-date.d.ts +2 -2
  3. package/dist/configs/components/form-depart-tree-select.d.ts +2 -2
  4. package/dist/configs/components/form-email.d.ts +2 -2
  5. package/dist/configs/components/form-image-uploader.d.ts +2 -2
  6. package/dist/configs/components/form-input.d.ts +2 -2
  7. package/dist/configs/components/form-location.d.ts +2 -2
  8. package/dist/configs/components/form-multi-region.d.ts +2 -2
  9. package/dist/configs/components/form-phone.d.ts +2 -2
  10. package/dist/configs/components/form-radio.d.ts +2 -2
  11. package/dist/configs/components/form-region.d.ts +2 -2
  12. package/dist/configs/components/form-rich-text.d.ts +2 -2
  13. package/dist/configs/components/form-select-multiple.d.ts +2 -2
  14. package/dist/configs/components/form-select.d.ts +2 -2
  15. package/dist/configs/components/form-switch.d.ts +2 -2
  16. package/dist/configs/components/form-text-area.d.ts +2 -2
  17. package/dist/configs/components/form-time.d.ts +2 -2
  18. package/dist/configs/components/form-upload-file.d.ts +2 -2
  19. package/dist/configs/components/form-url.d.ts +2 -2
  20. package/dist/configs/components/form-user-tree-select.d.ts +2 -2
  21. package/dist/configs/components/image.d.ts +2 -2
  22. package/dist/configs/components/scrollView.d.ts +145 -0
  23. package/dist/configs/components/scrollView.js +356 -0
  24. package/dist/configs/components/wd-bubble.d.ts +3 -3
  25. package/dist/configs/components/wd-form.d.ts +4 -4
  26. package/dist/configs/components/wd-location.d.ts +2 -0
  27. package/dist/configs/components/wd-location.js +1 -1
  28. package/dist/configs/components/wd-menu-layout.d.ts +6 -6
  29. package/dist/configs/components/wd-menu-list.d.ts +2 -2
  30. package/dist/configs/index.d.ts +266 -536
  31. package/dist/configs/index.js +1 -1
  32. package/dist/configs/type-utils/type-form.d.ts +2 -0
  33. package/dist/configs/type-utils/type-form.js +15 -0
  34. package/dist/style/weda-ui.min.css +2 -2
  35. package/dist/web/components/form/location/components/LocationH5/location.h5.js +13 -1
  36. package/dist/web/components/form/location/components/LocationPC/location.PC.js +12 -0
  37. package/dist/web/components/form-date/index.d.ts +1 -1
  38. package/dist/web/components/form-depart-tree-select/index.d.ts +1 -1
  39. package/dist/web/components/form-email/index.d.ts +1 -1
  40. package/dist/web/components/form-image-uploader/index.d.ts +1 -1
  41. package/dist/web/components/form-input/index.d.ts +1 -1
  42. package/dist/web/components/form-input-hooks/index.d.ts +1 -1
  43. package/dist/web/components/form-location/index.d.ts +1 -1
  44. package/dist/web/components/form-multi-region/index.d.ts +1 -1
  45. package/dist/web/components/form-phone/index.d.ts +1 -1
  46. package/dist/web/components/form-radio/index.d.ts +1 -1
  47. package/dist/web/components/form-region/index.d.ts +1 -1
  48. package/dist/web/components/form-rich-text/index.d.ts +1 -1
  49. package/dist/web/components/form-select/index.d.ts +1 -1
  50. package/dist/web/components/form-select-multiple/index.d.ts +1 -1
  51. package/dist/web/components/form-switch/index.d.ts +1 -1
  52. package/dist/web/components/form-text-area/index.d.ts +1 -1
  53. package/dist/web/components/form-time/index.d.ts +1 -1
  54. package/dist/web/components/form-upload-file/index.d.ts +1 -1
  55. package/dist/web/components/form-url/index.d.ts +1 -1
  56. package/dist/web/components/form-user-tree-select/index.d.ts +1 -1
  57. package/dist/web/components/grid/col.d.ts +2 -2
  58. package/dist/web/components/scrollView/index.d.ts +5 -23
  59. package/dist/web/components/scrollView/index.js +141 -50
  60. package/dist/web/components/wd-member/wd-member.css +3 -7
  61. package/package.json +6 -8
  62. package/dist/configs/components/scrollVeiw.json +0 -312
@@ -0,0 +1,356 @@
1
+ import { Type } from '@sinclair/typebox';
2
+ import { defineConfig } from '../type-utils';
3
+ const data = Type.Object({
4
+ scrollX: Type.Boolean({
5
+ title: '允许横向滚动',
6
+ default: false,
7
+ 'x-linkages': [
8
+ {
9
+ type: 'value:visible',
10
+ target: '*(scrollLeft)',
11
+ condition: '{{ $self.value }}',
12
+ },
13
+ ],
14
+ 'x-category': '基础属性',
15
+ 'x-index': 2,
16
+ description: '开启后,将开启横向滚动条,组件支持左右滚动',
17
+ }),
18
+ scrollY: Type.Boolean({
19
+ title: '允许纵向滚动',
20
+ default: true,
21
+ 'x-linkages': [
22
+ {
23
+ type: 'value:visible',
24
+ target: '*(scrollTop)',
25
+ condition: '{{ $self.value }}',
26
+ },
27
+ ],
28
+ 'x-category': '基础属性',
29
+ 'x-index': 3,
30
+ description: '开启后,将开启纵向滚动条,组件支持上下滚动',
31
+ }),
32
+ scrollIntoView: Type.String({
33
+ title: '滚到的元素ID',
34
+ 'x-category': '高级属性',
35
+ 'x-index': 4,
36
+ description: '将当前的元素滚动到浏览器窗口的可视区域内',
37
+ 'x-helper-text': '小程序端需启用 scroll-view 增强特性后生效',
38
+ }),
39
+ scrollLeft: Type.Number({
40
+ title: '横向滚动条位置',
41
+ 'x-category': '高级属性',
42
+ 'x-index': 5,
43
+ description: '输入默认值,横向滚动条将默认移动到该位置',
44
+ }),
45
+ scrollTop: Type.Number({
46
+ title: '竖向滚动条位置',
47
+ 'x-category': '高级属性',
48
+ 'x-index': 6,
49
+ description: '输入默认值,竖向滚动条将默认移动到该位置',
50
+ }),
51
+ lowerThreshold: Type.Number({
52
+ title: '距底部/右边多远时,触发scrolltolower事件',
53
+ default: 50,
54
+ 'x-index': 7,
55
+ 'x-category': '高级属性',
56
+ }),
57
+ upperThreshold: Type.Number({
58
+ title: '距顶部/左边多远时,触发scrolltoupper事件',
59
+ default: 50,
60
+ 'x-index': 8,
61
+ 'x-category': '高级属性',
62
+ }),
63
+ observerSelector: Type.Array(Type.String({
64
+ title: '目标元素class',
65
+ }), {
66
+ title: '滚动到目标元素附近,触发scrollToTarget事件',
67
+ 'x-index': 9,
68
+ 'x-category': '高级属性',
69
+ 'x-helper-text': '滚动到目标元素附近时触发scrollToTarget事件',
70
+ }),
71
+ // observerThreshold: Type.Number({
72
+ // title: '滚动到目标元素的阈值',
73
+ // 'x-index': 10,
74
+ // 'x-category': '高级属性',
75
+ // default: 0.5,
76
+ // description: '滚动到目标元素的阈值,默认0.5',
77
+ // 'x-helper-text': '滚动到目标元素的阈值,默认0.5,仅支持web端',
78
+ // 'x-platforms': ['WEB'],
79
+ // }),
80
+ rootMargin: Type.Object({
81
+ top: Type.String({
82
+ title: '顶部边距,单位px',
83
+ default: '0px',
84
+ }),
85
+ bottom: Type.String({
86
+ title: '底部边距,单位px',
87
+ default: '0px',
88
+ }),
89
+ left: Type.String({
90
+ title: '左边边距,单位px',
91
+ default: '0px',
92
+ }),
93
+ right: Type.String({
94
+ title: '右边边距,单位px',
95
+ default: '0px',
96
+ }),
97
+ }, {
98
+ title: '用来扩展(或收缩)参照节点布局区域的边界',
99
+ 'x-index': 11,
100
+ 'x-category': '高级属性',
101
+ description: '指定页面显示区域作为参照区域之一,使用margins来扩展(或收缩)参照节点布局区域的边界,单位px。',
102
+ 'x-component': 'jsontext',
103
+ }),
104
+ showScrollbar: Type.Boolean({
105
+ title: '滚动条显隐控制',
106
+ default: true,
107
+ 'x-platforms': ['MP'],
108
+ 'x-category': '高级属性',
109
+ 'x-index': 80,
110
+ description: '控制滚动条是否显示/隐藏',
111
+ 'x-helper-text': '隐藏滚动条需启用 scroll-view 增强特性后生效',
112
+ 'x-linkages': [
113
+ {
114
+ type: 'value:state',
115
+ target: '*(enhanced)',
116
+ condition: '{{ !$self.value }}',
117
+ state: {
118
+ value: true,
119
+ },
120
+ },
121
+ ],
122
+ }),
123
+ enhanced: Type.Boolean({
124
+ title: '启用 scroll-view 增强特性',
125
+ default: true,
126
+ 'x-linkages': [
127
+ {
128
+ type: 'value:visible',
129
+ target: '*(bounces,pagingEnabled,fastDeceleration)',
130
+ condition: '{{ $self.value }}',
131
+ },
132
+ ],
133
+ 'x-platforms': ['MP'],
134
+ 'x-category': '高级属性',
135
+ 'x-index': 90,
136
+ description: '开启scroll-view增强特性 ',
137
+ }),
138
+ bounces: Type.Boolean({
139
+ title: 'iOS 下 scroll-view 边界弹性控制',
140
+ default: true,
141
+ 'x-platforms': ['MP'],
142
+ 'x-index': 91,
143
+ 'x-category': '高级属性',
144
+ }),
145
+ pagingEnabled: Type.Boolean({
146
+ title: '分页滑动效果',
147
+ default: false,
148
+ 'x-platforms': ['MP'],
149
+ 'x-index': 93,
150
+ 'x-category': '高级属性',
151
+ }),
152
+ fastDeceleration: Type.Boolean({
153
+ title: '滑动减速速率控制',
154
+ default: false,
155
+ 'x-platforms': ['MP'],
156
+ 'x-index': 94,
157
+ 'x-category': '高级属性',
158
+ }),
159
+ refresherEnabled: Type.Boolean({
160
+ title: '开启自定义下拉刷新',
161
+ default: false,
162
+ 'x-linkages': [
163
+ {
164
+ type: 'value:visible',
165
+ target: '*(refresherThreshold,refresherDefaultStyle,refresherBackground,refresherTriggered)',
166
+ condition: '{{ $self.value }}',
167
+ },
168
+ ],
169
+ 'x-platforms': ['MP'],
170
+ 'x-category': '高级属性',
171
+ 'x-index': 100,
172
+ description: '开启后可自定义对下拉刷新进行相关配置',
173
+ }),
174
+ refresherThreshold: Type.Number({
175
+ title: '设置自定义下拉刷新阈值',
176
+ default: 50,
177
+ 'x-index': 101,
178
+ 'x-platforms': ['MP'],
179
+ 'x-category': '高级属性',
180
+ }),
181
+ refresherDefaultStyle: Type.String({
182
+ title: '设置自定义下拉刷新默认样式',
183
+ default: 'block',
184
+ 'x-component': 'radio',
185
+ enum: [
186
+ {
187
+ label: 'black',
188
+ value: 'black',
189
+ },
190
+ {
191
+ label: 'white',
192
+ value: 'white',
193
+ },
194
+ {
195
+ label: 'none',
196
+ value: 'none',
197
+ },
198
+ ],
199
+ 'x-platforms': ['MP'],
200
+ 'x-index': 102,
201
+ 'x-category': '高级属性',
202
+ }),
203
+ refresherBackground: Type.String({
204
+ title: '设置自定义下拉刷新区域背景颜色',
205
+ 'x-component': 'color',
206
+ default: '#fff',
207
+ 'x-platforms': ['MP'],
208
+ 'x-index': 103,
209
+ 'x-category': '高级属性',
210
+ }),
211
+ refresherTriggered: Type.Boolean({
212
+ title: '设置当前下拉刷新状态',
213
+ default: true,
214
+ 'x-platforms': ['MP'],
215
+ 'x-index': 104,
216
+ 'x-category': '高级属性',
217
+ }),
218
+ scrollAnchoring: Type.Boolean({
219
+ title: '开启 scroll anchoring 特性',
220
+ default: false,
221
+ 'x-platforms': ['MP'],
222
+ 'x-category': '高级属性',
223
+ 'x-index': 110,
224
+ description: '开启scroll-anchoring特性',
225
+ }),
226
+ enableFlex: Type.Boolean({
227
+ title: '启用 flexbox 布局',
228
+ default: false,
229
+ 'x-platforms': ['MP'],
230
+ 'x-category': '高级属性',
231
+ 'x-index': 120,
232
+ description: '开启flexbox布局',
233
+ }),
234
+ enableBackToTop: Type.Boolean({
235
+ title: 'iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只支持竖向',
236
+ default: false,
237
+ 'x-platforms': ['MP'],
238
+ 'x-category': '高级属性',
239
+ 'x-index': 130,
240
+ description: '开启后当执行对应操作后滚动条将自动返回顶部',
241
+ }),
242
+ scrollWithAnimation: Type.Boolean({
243
+ title: '在设置滚动条位置时使用动画过渡',
244
+ default: false,
245
+ 'x-platforms': ['MP'],
246
+ 'x-index': 140,
247
+ 'x-category': '高级属性',
248
+ description: '开启滚动条动画',
249
+ }),
250
+ });
251
+ export default defineConfig({
252
+ $schema: 'https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json',
253
+ data,
254
+ isContainer: true,
255
+ mpOrigin: 'scroll-view',
256
+ events: [
257
+ { name: 'onReady', title: '滚动容器初次渲染完成时触发' },
258
+ {
259
+ name: 'scroll',
260
+ title: '滚动时触发',
261
+ },
262
+ {
263
+ name: 'scrollToTarget',
264
+ title: '滚动到指定位置时触发',
265
+ detail: Type.Object({
266
+ scrollViewContext: Type.Object({}, {
267
+ title: 'scrollViewContext实例',
268
+ description: 'scrollViewContext实例,web端为HTMLDivElement,小程序端为ScrollView实例',
269
+ }),
270
+ }),
271
+ },
272
+ {
273
+ name: 'scrolltolower',
274
+ title: '滚动到底部/右边时触发',
275
+ },
276
+ {
277
+ name: 'scrolltoupper',
278
+ title: '滚动到顶部/左边时触发',
279
+ },
280
+ {
281
+ name: 'dragstart',
282
+ 'x-platforms': ['MP'],
283
+ title: '滑动开始事件(同时开启 enhanced 属性后生效)',
284
+ },
285
+ {
286
+ name: 'dragging',
287
+ 'x-platforms': ['MP'],
288
+ title: '滑动事件(同时开启 enhanced 属性后生效)',
289
+ },
290
+ {
291
+ name: 'dragend',
292
+ 'x-platforms': ['MP'],
293
+ title: '滑动结束事件(同时开启 enhanced 属性后生效)',
294
+ },
295
+ {
296
+ name: 'refresherpulling',
297
+ 'x-platforms': ['MP'],
298
+ title: '自定义下拉刷新控件被下拉',
299
+ },
300
+ {
301
+ name: 'refresherrefresh',
302
+ 'x-platforms': ['MP'],
303
+ title: '自定义下拉刷新被触发',
304
+ },
305
+ {
306
+ name: 'refresherrestore',
307
+ 'x-platforms': ['MP'],
308
+ title: '自定义下拉刷新被复位',
309
+ },
310
+ {
311
+ name: 'refresherabort',
312
+ 'x-platforms': ['MP'],
313
+ title: '自定义下拉刷新被中止',
314
+ },
315
+ ],
316
+ methods: [
317
+ {
318
+ name: 'scrollIntoElement',
319
+ label: '滚动到指定位置',
320
+ params: Type.Object({
321
+ selector: Type.String({
322
+ title: 'id或class选择器',
323
+ description: 'id或class选择器,格式:#id或.class',
324
+ 'x-helper-text': '请输入id或class选择器,格式:#id或.class',
325
+ }),
326
+ }, []),
327
+ },
328
+ ],
329
+ meta: {
330
+ title: '滚动容器',
331
+ description: '当组件元素内容长度大于滚动容器时,滚动容器会出滚动条用来对页面内容进行滑动展示。',
332
+ category: '布局',
333
+ categoryOrder: 200,
334
+ componentOrder: 110,
335
+ figureIcon: '../figureIcons/ScrollView.svg',
336
+ icon: '../icons/ScrollView.svg',
337
+ },
338
+ configMeta: {
339
+ docsUrl: 'https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/ScrollView',
340
+ shortcut: {
341
+ props: ['scrollX', 'scrollY'],
342
+ extra: {
343
+ container: {
344
+ 'x-component': 'container',
345
+ 'x-component-props': [
346
+ 'gsd-h5-react:Text',
347
+ 'CLOUDBASE_STANDARD:Button',
348
+ 'gsd-h5-react:Image',
349
+ 'CLOUDBASE_STANDARD:FormInput',
350
+ ],
351
+ 'x-index': 1,
352
+ },
353
+ },
354
+ },
355
+ },
356
+ });
@@ -2,7 +2,7 @@ import { Static } from '../type-utils';
2
2
  import type { Simplify } from 'type-fest';
3
3
  declare const data: import("@sinclair/typebox").TObject<{
4
4
  trigger: import("@sinclair/typebox").TUnsafe<"empty" | "click" | "hover">;
5
- placement: import("@sinclair/typebox").TUnsafe<"left" | "top" | "right" | "bottom" | "left-start" | "left-end" | "bottom-start" | "bottom-end" | "right-end" | "right-start" | "top-end" | "top-start">;
5
+ placement: import("@sinclair/typebox").TUnsafe<"left" | "top" | "bottom" | "right" | "left-start" | "left-end" | "bottom-start" | "bottom-end" | "right-end" | "right-start" | "top-end" | "top-start">;
6
6
  promptTheme: import("@sinclair/typebox").TUnsafe<"dark" | "error" | "default">;
7
7
  openDelay: import("@sinclair/typebox").TNumber;
8
8
  closeDelay: import("@sinclair/typebox").TNumber;
@@ -15,7 +15,7 @@ declare const config: {
15
15
  readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
16
16
  readonly data: import("@sinclair/typebox").TObject<{
17
17
  trigger: import("@sinclair/typebox").TUnsafe<"empty" | "click" | "hover">;
18
- placement: import("@sinclair/typebox").TUnsafe<"left" | "top" | "right" | "bottom" | "left-start" | "left-end" | "bottom-start" | "bottom-end" | "right-end" | "right-start" | "top-end" | "top-start">;
18
+ placement: import("@sinclair/typebox").TUnsafe<"left" | "top" | "bottom" | "right" | "left-start" | "left-end" | "bottom-start" | "bottom-end" | "right-end" | "right-start" | "top-end" | "top-start">;
19
19
  promptTheme: import("@sinclair/typebox").TUnsafe<"dark" | "error" | "default">;
20
20
  openDelay: import("@sinclair/typebox").TNumber;
21
21
  closeDelay: import("@sinclair/typebox").TNumber;
@@ -24,7 +24,7 @@ declare const config: {
24
24
  bubbleChildren: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
25
25
  }>;
26
26
  readonly properties: import("@sinclair/typebox").TObject<{
27
- placement: import("@sinclair/typebox").TUnsafe<"left" | "top" | "right" | "bottom" | "left-start" | "left-end" | "bottom-start" | "bottom-end" | "right-end" | "right-start" | "top-end" | "top-start">;
27
+ placement: import("@sinclair/typebox").TUnsafe<"left" | "top" | "bottom" | "right" | "left-start" | "left-end" | "bottom-start" | "bottom-end" | "right-end" | "right-start" | "top-end" | "top-start">;
28
28
  trigger: import("@sinclair/typebox").TUnsafe<"empty" | "click" | "hover">;
29
29
  promptTheme: import("@sinclair/typebox").TUnsafe<"dark" | "error" | "default">;
30
30
  }>;
@@ -53,7 +53,7 @@ declare const data: import("@sinclair/typebox").TObject<{
53
53
  methodUpdate: import("@sinclair/typebox").TString;
54
54
  colNum: import("@sinclair/typebox").TNever;
55
55
  lgWidth: import("@sinclair/typebox").TUnsafe<"lg" | "sm" | "md" | "hundred">;
56
- layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
56
+ layout: import("@sinclair/typebox").TUnsafe<"horizontal" | "vertical">;
57
57
  labelAlign: import("@sinclair/typebox").TUnsafe<"left" | "right">;
58
58
  fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
59
59
  name: import("@sinclair/typebox").TString;
@@ -64,7 +64,7 @@ declare const data: import("@sinclair/typebox").TObject<{
64
64
  declare const properties: import("@sinclair/typebox").TObject<{
65
65
  value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
66
66
  formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
67
- layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
67
+ layout: import("@sinclair/typebox").TUnsafe<"horizontal" | "vertical">;
68
68
  dataSourceName: import("@sinclair/typebox").TString;
69
69
  clearValidate: import("@sinclair/typebox").TFunction<[], import("@sinclair/typebox").TVoid>;
70
70
  errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
@@ -95,7 +95,7 @@ declare const _default: {
95
95
  methodUpdate: import("@sinclair/typebox").TString;
96
96
  colNum: import("@sinclair/typebox").TNever;
97
97
  lgWidth: import("@sinclair/typebox").TUnsafe<"lg" | "sm" | "md" | "hundred">;
98
- layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
98
+ layout: import("@sinclair/typebox").TUnsafe<"horizontal" | "vertical">;
99
99
  labelAlign: import("@sinclair/typebox").TUnsafe<"left" | "right">;
100
100
  fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
101
101
  name: import("@sinclair/typebox").TString;
@@ -113,7 +113,7 @@ declare const _default: {
113
113
  readonly properties: import("@sinclair/typebox").TObject<{
114
114
  value: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>;
115
115
  formType: import("@sinclair/typebox").TUnsafe<"create" | "edit" | "read">;
116
- layout: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal">;
116
+ layout: import("@sinclair/typebox").TUnsafe<"horizontal" | "vertical">;
117
117
  dataSourceName: import("@sinclair/typebox").TString;
118
118
  clearValidate: import("@sinclair/typebox").TFunction<[], import("@sinclair/typebox").TVoid>;
119
119
  errors: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
@@ -11,6 +11,7 @@ declare const data: import("@sinclair/typebox").TObject<{
11
11
  requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
12
12
  extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
13
13
  clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
14
+ openLocation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
14
15
  showLngLat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
15
16
  showMap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
16
17
  borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
@@ -49,6 +50,7 @@ declare const config: {
49
50
  requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
50
51
  extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
51
52
  clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
53
+ openLocation: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
52
54
  showLngLat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
53
55
  showMap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
54
56
  borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
@@ -3,7 +3,7 @@ import { FORM_ITEM_DATA, FORM_ITEM_EVENTS, FORM_ITEM_METHODS, FORM_ITEM_META, It
3
3
  import { getClasses } from '../type-utils/classes';
4
4
  import { templateInitNameWithId } from './common/init-name-with-id';
5
5
  import { genericErrorType } from '../type-utils/error';
6
- const SELECT = pickWithXCategory(FORM_ITEM_DATA, ['clearable', 'extra', 'showLngLat', 'showMap', 'borderedH5'], X_CATEGORY.LOCATION_CONTENT);
6
+ const SELECT = pickWithXCategory(FORM_ITEM_DATA, ['clearable', 'extra', 'showLngLat', 'showMap', 'openLocation', 'borderedH5'], X_CATEGORY.LOCATION_CONTENT);
7
7
  const TITLE = getFormItemDataTitle('地图');
8
8
  // 属性类型定义
9
9
  const data = Type.Partial(Type.Object({
@@ -5,7 +5,7 @@ declare const data: import("@sinclair/typebox").TObject<{
5
5
  headRightSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
6
6
  contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
7
7
  footerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
8
- template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
8
+ template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "horizontal" | "vertical" | "plant" | "navTab">;
9
9
  menu: import("@sinclair/typebox").TObject<{
10
10
  isMultiTerminal: import("@sinclair/typebox").TBoolean;
11
11
  menuData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -39,7 +39,7 @@ declare const data: import("@sinclair/typebox").TObject<{
39
39
  subPackageName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
40
40
  }>>>;
41
41
  }>;
42
- type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
42
+ type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "horizontal" | "vertical" | "plant" | "navTab">;
43
43
  defaultOpened: import("@sinclair/typebox").TBoolean;
44
44
  outerClickClosable: import("@sinclair/typebox").TBoolean;
45
45
  selectedMenuKey: import("@sinclair/typebox").TString;
@@ -52,7 +52,7 @@ export declare const configInfo: {
52
52
  headRightSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
53
53
  contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
54
54
  footerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
55
- template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
55
+ template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "horizontal" | "vertical" | "plant" | "navTab">;
56
56
  menu: import("@sinclair/typebox").TObject<{
57
57
  isMultiTerminal: import("@sinclair/typebox").TBoolean;
58
58
  menuData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -86,7 +86,7 @@ export declare const configInfo: {
86
86
  subPackageName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
87
87
  }>>>;
88
88
  }>;
89
- type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
89
+ type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "horizontal" | "vertical" | "plant" | "navTab">;
90
90
  defaultOpened: import("@sinclair/typebox").TBoolean;
91
91
  outerClickClosable: import("@sinclair/typebox").TBoolean;
92
92
  selectedMenuKey: import("@sinclair/typebox").TString;
@@ -262,7 +262,7 @@ declare const config: {
262
262
  headRightSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
263
263
  contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
264
264
  footerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
265
- template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
265
+ template: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "horizontal" | "vertical" | "plant" | "navTab">;
266
266
  menu: import("@sinclair/typebox").TObject<{
267
267
  isMultiTerminal: import("@sinclair/typebox").TBoolean;
268
268
  menuData: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -296,7 +296,7 @@ declare const config: {
296
296
  subPackageName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
297
297
  }>>>;
298
298
  }>;
299
- type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "vertical" | "horizontal" | "plant" | "navTab">;
299
+ type: import("@sinclair/typebox").TUnsafe<"nav" | "tab" | "horizontal" | "vertical" | "plant" | "navTab">;
300
300
  defaultOpened: import("@sinclair/typebox").TBoolean;
301
301
  outerClickClosable: import("@sinclair/typebox").TBoolean;
302
302
  selectedMenuKey: import("@sinclair/typebox").TString;
@@ -85,7 +85,7 @@ declare const data: import("@sinclair/typebox").TObject<{
85
85
  subPackageName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
86
86
  }>>>;
87
87
  }>;
88
- template: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal" | "plant">;
88
+ template: import("@sinclair/typebox").TUnsafe<"horizontal" | "vertical" | "plant">;
89
89
  defaultOpened: import("@sinclair/typebox").TBoolean;
90
90
  selectedMenuKey: import("@sinclair/typebox").TString;
91
91
  }>;
@@ -126,7 +126,7 @@ declare const config: {
126
126
  subPackageName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
127
127
  }>>>;
128
128
  }>;
129
- template: import("@sinclair/typebox").TUnsafe<"vertical" | "horizontal" | "plant">;
129
+ template: import("@sinclair/typebox").TUnsafe<"horizontal" | "vertical" | "plant">;
130
130
  defaultOpened: import("@sinclair/typebox").TBoolean;
131
131
  selectedMenuKey: import("@sinclair/typebox").TString;
132
132
  }>;