vxe-design 4.0.3 → 4.0.4

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 (34) hide show
  1. package/README.md +1 -0
  2. package/es/form-design/src/default-setting-data.js +4 -2
  3. package/es/form-design/src/default-style-form.js +99 -51
  4. package/es/form-design/src/layout-style.js +14 -9
  5. package/es/form-design/widget-vxe-upload-file/vxe-upload-file-form.js +1 -1
  6. package/es/form-design/widget-vxe-upload-image/vxe-upload-image-form.js +1 -1
  7. package/es/ui/index.js +1 -1
  8. package/es/ui/src/log.js +1 -1
  9. package/lib/form-design/src/default-setting-data.js +4 -2
  10. package/lib/form-design/src/default-setting-data.min.js +1 -1
  11. package/lib/form-design/src/default-style-form.js +117 -60
  12. package/lib/form-design/src/default-style-form.min.js +1 -1
  13. package/lib/form-design/src/layout-style.js +5 -2
  14. package/lib/form-design/src/layout-style.min.js +1 -1
  15. package/lib/form-design/widget-vxe-upload-file/vxe-upload-file-form.js +1 -1
  16. package/lib/form-design/widget-vxe-upload-file/vxe-upload-file-form.min.js +1 -1
  17. package/lib/form-design/widget-vxe-upload-image/vxe-upload-image-form.js +1 -1
  18. package/lib/form-design/widget-vxe-upload-image/vxe-upload-image-form.min.js +1 -1
  19. package/lib/index.umd.js +131 -68
  20. package/lib/index.umd.min.js +1 -1
  21. package/lib/ui/index.js +1 -1
  22. package/lib/ui/index.min.js +1 -1
  23. package/lib/ui/src/log.js +1 -1
  24. package/lib/ui/src/log.min.js +1 -1
  25. package/package.json +3 -3
  26. package/packages/form-design/index.ts +1 -1
  27. package/packages/form-design/src/default-setting-data.ts +5 -3
  28. package/packages/form-design/src/default-style-form.ts +112 -51
  29. package/packages/form-design/src/layout-style.ts +14 -9
  30. package/packages/form-design/widget-vxe-upload-file/vxe-upload-file-form.ts +1 -1
  31. package/packages/form-design/widget-vxe-upload-image/vxe-upload-image-form.ts +1 -1
  32. package/packages/list-design/index.ts +1 -1
  33. package/packages/list-design/src/default-setting-data.ts +1 -1
  34. package/packages/list-design/src/layout-preview.ts +1 -1
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![star](https://gitee.com/x-extends/vxe-design/badge/star.svg?theme=gvp)](https://gitee.com/x-extends/vxe-design/stargazers)
6
6
  [![npm version](https://img.shields.io/npm/v/vxe-design.svg?style=flat-square)](https://www.npmjs.com/package/vxe-design)
7
7
  [![NodeJS with Webpack](https://github.com/x-extends/vxe-design/actions/workflows/webpack.yml/badge.svg)](https://github.com/x-extends/vxe-design/actions/workflows/webpack.yml)
8
+ [![gzip size: JS](http://img.badgesize.io/https://unpkg.com/vxe-design/lib/index.umd.min.js?compression=gzip&label=gzip%20size:%20JS)](https://unpkg.com/vxe-design/lib/index.umd.min.js)
8
9
  [![npm downloads](https://img.shields.io/npm/dt/vxe-design.svg?style=flat-square)](https://npm-stat.com/charts.html?package=vxe-design)
9
10
  [![issues](https://img.shields.io/github/issues/x-extends/vxe-design.svg)](https://github.com/x-extends/vxe-design/issues)
10
11
  [![issues closed](https://img.shields.io/github/issues-closed/x-extends/vxe-design.svg)](https://github.com/x-extends/vxe-design/issues?q=is%3Aissue+is%3Aclosed)
@@ -7,6 +7,7 @@ export const getDefaultSettingFormData = (defOpts) => {
7
7
  pcTitleColon: false,
8
8
  pcTitleAlign: '',
9
9
  pcTitleWidth: '',
10
+ pcTitleAutoWidth: true,
10
11
  pcTitleWidthUnit: '',
11
12
  mobileVisible: defOpts ? !!defOpts.mobileVisible : true,
12
13
  mobileVertical: true,
@@ -14,6 +15,7 @@ export const getDefaultSettingFormData = (defOpts) => {
14
15
  mobileTitleColon: false,
15
16
  mobileTitleAlign: '',
16
17
  mobileTitleWidth: '',
18
+ mobileTitleAutoWidth: true,
17
19
  mobileTitleWidthUnit: ''
18
20
  };
19
21
  };
@@ -24,7 +26,7 @@ export const createDefaultFormViewPCFormConfig = (params) => {
24
26
  titleBold: formConfig.pcTitleBold,
25
27
  titleColon: formConfig.pcTitleColon,
26
28
  titleAlign: formConfig.pcTitleAlign,
27
- titleWidth: formConfig.pcTitleWidth
29
+ titleWidth: formConfig.pcTitleAutoWidth ? 'auto' : formConfig.pcTitleWidth
28
30
  };
29
31
  };
30
32
  export const createDefaultFormViewMobileFormConfig = (params) => {
@@ -34,6 +36,6 @@ export const createDefaultFormViewMobileFormConfig = (params) => {
34
36
  titleBold: formConfig.mobileTitleBold,
35
37
  titleColon: formConfig.mobileTitleColon,
36
38
  titleAlign: formConfig.mobileTitleAlign,
37
- titleWidth: formConfig.mobileTitleWidth
39
+ titleWidth: formConfig.mobileTitleAutoWidth ? 'auto' : formConfig.mobileTitleWidth
38
40
  };
39
41
  };
@@ -1,4 +1,4 @@
1
- import { h, ref, inject, createCommentVNode } from 'vue';
1
+ import { h, ref, inject } from 'vue';
2
2
  import { defineVxeComponent } from '../../ui/src/comp';
3
3
  import { VxeUI } from '@vxe-ui/core';
4
4
  const { getI18n } = VxeUI;
@@ -26,6 +26,12 @@ const getWidthUnitOptions = () => {
26
26
  { label: getI18n('vxe.formDesign.styleSetting.unitPct'), value: '%' }
27
27
  ];
28
28
  };
29
+ const getWidthAutoOptions = () => {
30
+ return [
31
+ { label: '自适应', value: true },
32
+ { label: '固定', value: false }
33
+ ];
34
+ };
29
35
  const renderLayoutOption = (formData, field, type, changeEvent) => {
30
36
  const isVertical = type === 'vertical';
31
37
  return h('div', {
@@ -58,7 +64,7 @@ export const DefaultPCStyleFormComponent = defineVxeComponent({
58
64
  setup(props) {
59
65
  const VxeUIFormComponent = VxeUI.getComponent('vxe-form');
60
66
  const VxeUIFormItemComponent = VxeUI.getComponent('vxe-form-item');
61
- const VxeUIInputComponent = VxeUI.getComponent('VxeInput');
67
+ const VxeUINumberInputComponent = VxeUI.getComponent('vxe-number-input');
62
68
  const VxeUIRadioGroupComponent = VxeUI.getComponent('vxe-radio-group');
63
69
  const VxeUISelectComponent = VxeUI.getComponent('vxe-select');
64
70
  const $xeFormDesign = inject('$xeFormDesign', null);
@@ -66,6 +72,7 @@ export const DefaultPCStyleFormComponent = defineVxeComponent({
66
72
  const refBoldOpts = ref(getBoldOptions());
67
73
  const refColonOpts = ref(getColonOptions());
68
74
  const refAlignOpts = ref(getAlignOptions());
75
+ const refWidthAutoOpts = ref(getWidthAutoOptions());
69
76
  const refWidthUnitOpts = ref(getWidthUnitOptions());
70
77
  const refreshPreview = () => {
71
78
  if ($xeFormDesign) {
@@ -108,8 +115,9 @@ export const DefaultPCStyleFormComponent = defineVxeComponent({
108
115
  title: getI18n('vxe.formDesign.styleSetting.styleTitle')
109
116
  }, {
110
117
  default() {
111
- return [
118
+ const propVns = [
112
119
  h('div', {
120
+ key: 'tb',
113
121
  class: 'vxe-form-design--widget-form-item-prop-list'
114
122
  }, [
115
123
  h('span', {}, getI18n('vxe.formDesign.styleSetting.boldTitle')),
@@ -123,6 +131,7 @@ export const DefaultPCStyleFormComponent = defineVxeComponent({
123
131
  })
124
132
  ]),
125
133
  h('div', {
134
+ key: 'tc',
126
135
  class: 'vxe-form-design--widget-form-item-prop-list'
127
136
  }, [
128
137
  h('span', {}, getI18n('vxe.formDesign.styleSetting.colonTitle')),
@@ -134,29 +143,45 @@ export const DefaultPCStyleFormComponent = defineVxeComponent({
134
143
  formData.pcTitleColon = val;
135
144
  }
136
145
  })
137
- ]),
138
- formData.pcVertical
139
- ? createCommentVNode()
140
- : h('div', {
141
- class: 'vxe-form-design--widget-form-item-prop-list'
142
- }, [
143
- h('span', {}, getI18n('vxe.formDesign.styleSetting.alignTitle')),
144
- h(VxeUIRadioGroupComponent, {
145
- modelValue: formData.pcTitleAlign,
146
- options: refAlignOpts.value,
147
- onChange: refreshPreview,
148
- 'onUpdate:modelValue'(val) {
149
- formData.pcTitleAlign = val;
150
- }
151
- })
152
- ]),
153
- formData.pcVertical
154
- ? createCommentVNode()
155
- : h('div', {
146
+ ])
147
+ ];
148
+ if (formData.pcVertical) {
149
+ //
150
+ }
151
+ else {
152
+ propVns.push(h('div', {
153
+ key: 'ta',
154
+ class: 'vxe-form-design--widget-form-item-prop-list'
155
+ }, [
156
+ h('span', {}, getI18n('vxe.formDesign.styleSetting.alignTitle')),
157
+ h(VxeUIRadioGroupComponent, {
158
+ modelValue: formData.pcTitleAlign,
159
+ options: refAlignOpts.value,
160
+ onChange: refreshPreview,
161
+ 'onUpdate:modelValue'(val) {
162
+ formData.pcTitleAlign = val;
163
+ }
164
+ })
165
+ ]), h('div', {
166
+ key: 'twa',
167
+ class: 'vxe-form-design--widget-form-item-prop-list'
168
+ }, [
169
+ h('span', {}, getI18n('vxe.formDesign.styleSetting.widthTitle')),
170
+ h(VxeUIRadioGroupComponent, {
171
+ modelValue: formData.pcTitleAutoWidth,
172
+ options: refWidthAutoOpts.value,
173
+ onChange: refreshPreview,
174
+ 'onUpdate:modelValue'(val) {
175
+ formData.pcTitleAutoWidth = val;
176
+ }
177
+ })
178
+ ]));
179
+ if (!formData.pcTitleAutoWidth) {
180
+ propVns.push(h('div', {
181
+ key: 'tw',
156
182
  class: 'vxe-form-design--widget-form-item-prop-list'
157
183
  }, [
158
- h('span', {}, getI18n('vxe.formDesign.styleSetting.widthTitle')),
159
- h(VxeUIInputComponent, {
184
+ h(VxeUINumberInputComponent, {
160
185
  class: 'vxe-form-design--widget-form-item-prop-width',
161
186
  modelValue: formData.pcTitleWidth,
162
187
  type: 'integer',
@@ -175,8 +200,10 @@ export const DefaultPCStyleFormComponent = defineVxeComponent({
175
200
  formData.pcTitleWidthUnit = val;
176
201
  }
177
202
  })
178
- ])
179
- ];
203
+ ]));
204
+ }
205
+ }
206
+ return propVns;
180
207
  }
181
208
  })
182
209
  ];
@@ -197,7 +224,7 @@ export const DefaultMobileStyleFormComponent = defineVxeComponent({
197
224
  setup(props) {
198
225
  const VxeUIFormComponent = VxeUI.getComponent('vxe-form');
199
226
  const VxeUIFormItemComponent = VxeUI.getComponent('vxe-form-item');
200
- const VxeUIInputComponent = VxeUI.getComponent('VxeInput');
227
+ const VxeUINumberInputComponent = VxeUI.getComponent('vxe-number-input');
201
228
  const VxeUIRadioGroupComponent = VxeUI.getComponent('vxe-radio-group');
202
229
  const VxeUISelectComponent = VxeUI.getComponent('vxe-select');
203
230
  const $xeFormDesign = inject('$xeFormDesign', null);
@@ -205,6 +232,7 @@ export const DefaultMobileStyleFormComponent = defineVxeComponent({
205
232
  const refBoldOpts = ref(getBoldOptions());
206
233
  const refColonOpts = ref(getColonOptions());
207
234
  const refAlignOpts = ref(getAlignOptions());
235
+ const refWidthAutoOpts = ref(getWidthAutoOptions());
208
236
  const refWidthUnitOpts = ref(getWidthUnitOptions());
209
237
  const refreshPreview = () => {
210
238
  if ($xeFormDesign) {
@@ -247,8 +275,9 @@ export const DefaultMobileStyleFormComponent = defineVxeComponent({
247
275
  title: getI18n('vxe.formDesign.styleSetting.styleTitle')
248
276
  }, {
249
277
  default() {
250
- return [
278
+ const propVns = [
251
279
  h('div', {
280
+ key: 'tb',
252
281
  class: 'vxe-form-design--widget-form-item-prop-list'
253
282
  }, [
254
283
  h('span', {}, getI18n('vxe.formDesign.styleSetting.boldTitle')),
@@ -262,6 +291,7 @@ export const DefaultMobileStyleFormComponent = defineVxeComponent({
262
291
  })
263
292
  ]),
264
293
  h('div', {
294
+ key: 'tc',
265
295
  class: 'vxe-form-design--widget-form-item-prop-list'
266
296
  }, [
267
297
  h('span', {}, getI18n('vxe.formDesign.styleSetting.colonTitle')),
@@ -273,29 +303,45 @@ export const DefaultMobileStyleFormComponent = defineVxeComponent({
273
303
  formData.mobileTitleColon = val;
274
304
  }
275
305
  })
276
- ]),
277
- formData.mobileVertical
278
- ? createCommentVNode()
279
- : h('div', {
280
- class: 'vxe-form-design--widget-form-item-prop-list'
281
- }, [
282
- h('span', {}, getI18n('vxe.formDesign.styleSetting.alignTitle')),
283
- h(VxeUIRadioGroupComponent, {
284
- modelValue: formData.mobileTitleAlign,
285
- options: refAlignOpts.value,
286
- onChange: refreshPreview,
287
- 'onUpdate:modelValue'(val) {
288
- formData.mobileTitleAlign = val;
289
- }
290
- })
291
- ]),
292
- formData.mobileVertical
293
- ? createCommentVNode()
294
- : h('div', {
306
+ ])
307
+ ];
308
+ if (formData.mobileVertical) {
309
+ //
310
+ }
311
+ else {
312
+ propVns.push(h('div', {
313
+ key: 'ta',
314
+ class: 'vxe-form-design--widget-form-item-prop-list'
315
+ }, [
316
+ h('span', {}, getI18n('vxe.formDesign.styleSetting.alignTitle')),
317
+ h(VxeUIRadioGroupComponent, {
318
+ modelValue: formData.mobileTitleAlign,
319
+ options: refAlignOpts.value,
320
+ onChange: refreshPreview,
321
+ 'onUpdate:modelValue'(val) {
322
+ formData.mobileTitleAlign = val;
323
+ }
324
+ })
325
+ ]), h('div', {
326
+ key: 'twa',
327
+ class: 'vxe-form-design--widget-form-item-prop-list'
328
+ }, [
329
+ h('span', {}, getI18n('vxe.formDesign.styleSetting.widthTitle')),
330
+ h(VxeUIRadioGroupComponent, {
331
+ modelValue: formData.mobileTitleAutoWidth,
332
+ options: refWidthAutoOpts.value,
333
+ onChange: refreshPreview,
334
+ 'onUpdate:modelValue'(val) {
335
+ formData.mobileTitleAutoWidth = val;
336
+ }
337
+ })
338
+ ]));
339
+ if (!formData.mobileTitleAutoWidth) {
340
+ propVns.push(h('div', {
341
+ key: 'wt',
295
342
  class: 'vxe-form-design--widget-form-item-prop-list'
296
343
  }, [
297
- h('span', {}, getI18n('vxe.formDesign.styleSetting.widthTitle')),
298
- h(VxeUIInputComponent, {
344
+ h(VxeUINumberInputComponent, {
299
345
  class: 'vxe-form-design--widget-form-item-prop-width',
300
346
  modelValue: formData.mobileTitleWidth,
301
347
  type: 'integer',
@@ -314,8 +360,10 @@ export const DefaultMobileStyleFormComponent = defineVxeComponent({
314
360
  formData.mobileTitleWidthUnit = val;
315
361
  }
316
362
  })
317
- ])
318
- ];
363
+ ]));
364
+ }
365
+ }
366
+ return propVns;
319
367
  }
320
368
  })
321
369
  ];
@@ -63,17 +63,22 @@ export default defineVxeComponent({
63
63
  Object.assign($xeFormDesignLayoutStyle, formDesignLayoutStyleMethod);
64
64
  const renderStylePreview = () => {
65
65
  const { activeTab } = reactData;
66
+ const isMobile = activeTab === 2;
66
67
  return h('div', {
67
- class: ['vxe-form-design--layout-style-preview', `is--${activeTab === 2 ? 'mobile' : 'pc'}`]
68
+ class: ['vxe-form-design--layout-style-preview', `is--${isMobile ? 'mobile' : 'pc'}`]
68
69
  }, [
69
- h(VxeFormViewComponent, {
70
- modelValue: settingFormData.value,
71
- config: settingConfig.value,
72
- createFormConfig: createFormViewFormConfig,
73
- 'onUpdate:modelValue'(val) {
74
- settingFormData.value = val;
75
- }
76
- })
70
+ isMobile
71
+ ? h('div', {
72
+ class: 'vxe-form-view'
73
+ }, '暂不支持')
74
+ : h(VxeFormViewComponent, {
75
+ modelValue: settingFormData.value,
76
+ config: settingConfig.value,
77
+ createFormConfig: createFormViewFormConfig,
78
+ 'onUpdate:modelValue'(val) {
79
+ settingFormData.value = val;
80
+ }
81
+ })
77
82
  ]);
78
83
  };
79
84
  const renderMobileStyle = () => {
@@ -58,7 +58,7 @@ export const WidgetVxeUploadFileFormComponent = defineVxeComponent({
58
58
  ? h(VxeUIFormItemComponent, {
59
59
  title: getI18n('vxe.formDesign.widgetProp.uploadProp.limitFileCount'),
60
60
  field: 'limitCount',
61
- itemRender: { name: 'VxeInput', props: { type: 'integer', min: 1, clearable: true } }
61
+ itemRender: { name: 'VxeNumberInput', props: { type: 'integer', min: 1, clearable: true } }
62
62
  })
63
63
  : createCommentVNode(),
64
64
  h(VxeUIFormItemComponent, {
@@ -58,7 +58,7 @@ export const WidgetVxeUploadImageFormComponent = defineVxeComponent({
58
58
  ? h(VxeUIFormItemComponent, {
59
59
  title: getI18n('vxe.formDesign.widgetProp.uploadProp.limitImgCount'),
60
60
  field: 'limitCount',
61
- itemRender: { name: 'VxeInput', props: { type: 'integer', min: 1, clearable: true } }
61
+ itemRender: { name: 'VxeNumberInput', props: { type: 'integer', min: 1, clearable: true } }
62
62
  })
63
63
  : createCommentVNode(),
64
64
  h(VxeUIFormItemComponent, {
package/es/ui/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { errLog } from './src/log';
3
3
  const { setConfig, setIcon, checkVersion } = VxeUI;
4
- VxeUI.designVersion = "4.0.2";
4
+ VxeUI.designVersion = "4.0.4";
5
5
  setConfig({
6
6
  formDesign: {
7
7
  height: 400,
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `design v${"4.0.2"}`;
3
+ const version = `design v${"4.0.4"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
@@ -13,6 +13,7 @@ const getDefaultSettingFormData = defOpts => {
13
13
  pcTitleColon: false,
14
14
  pcTitleAlign: '',
15
15
  pcTitleWidth: '',
16
+ pcTitleAutoWidth: true,
16
17
  pcTitleWidthUnit: '',
17
18
  mobileVisible: defOpts ? !!defOpts.mobileVisible : true,
18
19
  mobileVertical: true,
@@ -20,6 +21,7 @@ const getDefaultSettingFormData = defOpts => {
20
21
  mobileTitleColon: false,
21
22
  mobileTitleAlign: '',
22
23
  mobileTitleWidth: '',
24
+ mobileTitleAutoWidth: true,
23
25
  mobileTitleWidthUnit: ''
24
26
  };
25
27
  };
@@ -33,7 +35,7 @@ const createDefaultFormViewPCFormConfig = params => {
33
35
  titleBold: formConfig.pcTitleBold,
34
36
  titleColon: formConfig.pcTitleColon,
35
37
  titleAlign: formConfig.pcTitleAlign,
36
- titleWidth: formConfig.pcTitleWidth
38
+ titleWidth: formConfig.pcTitleAutoWidth ? 'auto' : formConfig.pcTitleWidth
37
39
  };
38
40
  };
39
41
  exports.createDefaultFormViewPCFormConfig = createDefaultFormViewPCFormConfig;
@@ -46,7 +48,7 @@ const createDefaultFormViewMobileFormConfig = params => {
46
48
  titleBold: formConfig.mobileTitleBold,
47
49
  titleColon: formConfig.mobileTitleColon,
48
50
  titleAlign: formConfig.mobileTitleAlign,
49
- titleWidth: formConfig.mobileTitleWidth
51
+ titleWidth: formConfig.mobileTitleAutoWidth ? 'auto' : formConfig.mobileTitleWidth
50
52
  };
51
53
  };
52
54
  exports.createDefaultFormViewMobileFormConfig = createDefaultFormViewMobileFormConfig;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getDefaultSettingFormData=exports.createDefaultFormViewPCFormConfig=exports.createDefaultFormViewMobileFormConfig=void 0;const getDefaultSettingFormData=e=>({title:"",pcVisible:!e||!!e.pcVisible,pcVertical:!0,pcTitleBold:!0,pcTitleColon:!1,pcTitleAlign:"",pcTitleWidth:"",pcTitleWidthUnit:"",mobileVisible:!e||!!e.mobileVisible,mobileVertical:!0,mobileTitleBold:!0,mobileTitleColon:!1,mobileTitleAlign:"",mobileTitleWidth:"",mobileTitleWidthUnit:""}),createDefaultFormViewPCFormConfig=(exports.getDefaultSettingFormData=getDefaultSettingFormData,e=>{e=e.formConfig;return{vertical:e.pcVertical,titleBold:e.pcTitleBold,titleColon:e.pcTitleColon,titleAlign:e.pcTitleAlign,titleWidth:e.pcTitleWidth}}),createDefaultFormViewMobileFormConfig=(exports.createDefaultFormViewPCFormConfig=createDefaultFormViewPCFormConfig,e=>{e=e.formConfig;return{vertical:e.mobileVertical,titleBold:e.mobileTitleBold,titleColon:e.mobileTitleColon,titleAlign:e.mobileTitleAlign,titleWidth:e.mobileTitleWidth}});exports.createDefaultFormViewMobileFormConfig=createDefaultFormViewMobileFormConfig;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getDefaultSettingFormData=exports.createDefaultFormViewPCFormConfig=exports.createDefaultFormViewMobileFormConfig=void 0;const getDefaultSettingFormData=e=>({title:"",pcVisible:!e||!!e.pcVisible,pcVertical:!0,pcTitleBold:!0,pcTitleColon:!1,pcTitleAlign:"",pcTitleWidth:"",pcTitleAutoWidth:!0,pcTitleWidthUnit:"",mobileVisible:!e||!!e.mobileVisible,mobileVertical:!0,mobileTitleBold:!0,mobileTitleColon:!1,mobileTitleAlign:"",mobileTitleWidth:"",mobileTitleAutoWidth:!0,mobileTitleWidthUnit:""}),createDefaultFormViewPCFormConfig=(exports.getDefaultSettingFormData=getDefaultSettingFormData,e=>{e=e.formConfig;return{vertical:e.pcVertical,titleBold:e.pcTitleBold,titleColon:e.pcTitleColon,titleAlign:e.pcTitleAlign,titleWidth:e.pcTitleAutoWidth?"auto":e.pcTitleWidth}}),createDefaultFormViewMobileFormConfig=(exports.createDefaultFormViewPCFormConfig=createDefaultFormViewPCFormConfig,e=>{e=e.formConfig;return{vertical:e.mobileVertical,titleBold:e.mobileTitleBold,titleColon:e.mobileTitleColon,titleAlign:e.mobileTitleAlign,titleWidth:e.mobileTitleAutoWidth?"auto":e.mobileTitleWidth}});exports.createDefaultFormViewMobileFormConfig=createDefaultFormViewMobileFormConfig;