@kne/form-creator 0.1.20 → 0.1.21

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/README.md CHANGED
@@ -1278,7 +1278,7 @@ const SchemaContentExample = () => {
1278
1278
  <span>
1279
1279
  按搭建 Schema 的分组结构展示提交数据;字段展示形态由各填写项的 <Text code>valueSchema</Text>
1280
1280
  决定。长题干采用 label 在上、值在下。RadioGroup / CheckboxGroup 支持 <Text code>inline</Text>
1281
- (选项是否单行);示例中「工作年限」为单行,「AI 频率 / 多选」为纵向。右侧窄栏约 480px 用于核对布局。
1281
+ (选项是否横向排列);示例中「工作年限」为横向,「AI 频率 / 多选」为纵向。右侧窄栏约 480px 用于核对布局。
1282
1282
  </span>
1283
1283
  }
1284
1284
  />
package/dist/index.js CHANGED
@@ -231,7 +231,7 @@ const locale$1 = {
231
231
  propSwitchOffText: '关闭时显示的文字',
232
232
  propSwitchOnTextHint: '例如:开',
233
233
  propSwitchOffTextHint: '例如:关',
234
- propOptionsInline: '选项单行显示',
234
+ propOptionsInline: '选项横向排列',
235
235
  ruleLen: '长度限制',
236
236
  ruleLenRange: '长度范围',
237
237
  ruleLenMin: '最少字数',
@@ -457,7 +457,7 @@ const locale = {
457
457
  propSwitchOffText: 'Text when off',
458
458
  propSwitchOnTextHint: 'e.g. On',
459
459
  propSwitchOffTextHint: 'e.g. Off',
460
- propOptionsInline: 'Options in a single row',
460
+ propOptionsInline: 'Arrange options horizontally',
461
461
  ruleLen: 'Length Limit',
462
462
  ruleLenRange: 'Length Range',
463
463
  ruleLenMin: 'Min',
@@ -2392,7 +2392,7 @@ const applyFieldProps = (props, values, definition) => {
2392
2392
  break;
2393
2393
  case 'RadioGroup':
2394
2394
  case 'CheckboxGroup':
2395
- // 始终落盘布尔值,避免 Checkbox 未勾选时字段缺失被当成默认单行
2395
+ // 始终落盘布尔值,避免 Checkbox 未勾选时字段缺失被当成默认横向
2396
2396
  props.inline = values.inline !== false;
2397
2397
  break;
2398
2398
  default: