@kayak-sj/design 1.0.64 → 1.0.65

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.
@@ -6,7 +6,7 @@ export interface FieldOption {
6
6
  disabled?: boolean;
7
7
  }
8
8
  /**
9
- * 表单项展示层逻辑:可见性过滤、查询区 `hideLabel`、字典选项、flex 布局。
9
+ * 表单项展示层逻辑:可见性过滤、查询区 `hideLabel`、字典选项。
10
10
  * 字典通过 `inject(DICT_KEY)`,与 KTable 列翻译共用同一数据源。
11
11
  *
12
12
  * @param options.formConfigs - 表单字段配置(响应式)
@@ -39,10 +39,14 @@ export interface KFormConfigItem {
39
39
  rules?: FormItemRule[];
40
40
  /** false 时不渲染该项 */
41
41
  display?: boolean;
42
- /** 布局:另起一行(flex-basis 90%) */
42
+ /** 布局:另起一行(标准控件占第 1 列;宽内容/自定义整行) */
43
43
  newLineStart?: boolean;
44
- /** 布局:flex 自动换行 */
45
- flex?: boolean | string;
44
+ /**
45
+ * 覆盖栅格统一控件宽度(仅本字段)。
46
+ * - `'full'`:整行铺满,取消 max-width
47
+ * - number / string:如 `480` / `'480px'`,作为控件 max-width(建议配合 newLineStart)
48
+ */
49
+ controlWidth?: 'full' | number | string;
46
50
  /** 表头 label 旁提示(支持 HTML) */
47
51
  toolTip?: string;
48
52
  /** 只读态,渲染为纯文本展示(跳过校验) */