diff --git a/scripts/AutoCompleteFieldBuilder-output.json b/scripts/AutoCompleteFieldBuilder-output.json
new file mode 100644
index 0000000..905f6bc
--- /dev/null
+++ b/scripts/AutoCompleteFieldBuilder-output.json
@@ -0,0 +1 @@
+{"__config__":{"formId":"formItem1781187568285","jnpfKey":"autoComplete","label":"关键词","tipLabel":"","labelWidth":null,"showLabel":true,"required":true,"tag":"JnpfAutoComplete","tagIcon":"icon-ym icon-ym-generator-autoComplete","tableAlign":"left","tableFixed":"none","className":[],"defaultValue":"","layout":"colFormItem","span":24,"dragDisabled":false,"visibility":["pc","app"],"tableName":"","noShow":false,"regList":[],"trigger":"change"},"on":{"change":"({ data, rowIndex, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, rowIndex, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"},"style":{"width":"100%"},"placeholder":"请输入","interfaceId":"","interfaceName":"","templateJson":[],"total":10,"relationField":"fullName","disabled":false,"clearable":true}
\ No newline at end of file
diff --git a/scripts/InputTableFieldBuilder-output.json b/scripts/InputTableFieldBuilder-output.json
new file mode 100644
index 0000000..3fe749c
--- /dev/null
+++ b/scripts/InputTableFieldBuilder-output.json
@@ -0,0 +1 @@
+{"__config__":{"formId":"formItem1781187568248","jnpfKey":"inputTable","label":"明细","tipLabel":"","labelWidth":null,"showLabel":true,"required":true,"tag":"JnpfInputTable","tagIcon":"icon-ym icon-ym-generator-table","tableAlign":"left","tableFixed":"none","className":[],"defaultValue":[],"layout":"rowFormItem","span":24,"dragDisabled":false,"visibility":["pc","app"],"noShow":false,"showTitle":true,"children":[],"tableName":"","complexHeaderList":[]},"disabled":false,"showSummary":false,"summaryField":[],"isNumLimit":false,"numLimit":1000,"defaultValue":[],"columnBtnsList":[{"value":"copy","label":"复制","labelI18nCode":"common.copyText","show":true,"btnType":"primary","btnIcon":"icon-ym icon-ym-btn-edit"},{"value":"remove","label":"删除","labelI18nCode":"common.delText","show":true,"btnType":"danger","btnIcon":"icon-ym icon-ym-btn-clearn","showConfirm":true}],"footerBtnsList":[{"value":"add","label":"添加","labelI18nCode":"common.add1Text","show":true,"btnType":"primary","btnIcon":"icon-ym icon-ym-btn-add"},{"value":"batchRemove","label":"批量删除","labelI18nCode":"common.batchDelText","show":true,"btnType":"danger","btnIcon":"icon-ym icon-ym-btn-clearn","showConfirm":true}],"layoutType":"table","defaultExpandAll":true,"hasPage":false,"pageSize":10}
\ No newline at end of file
diff --git a/scripts/autoComplete-baseline-samples.jsonl b/scripts/autoComplete-baseline-samples.jsonl
new file mode 100644
index 0000000..e69de29
diff --git a/scripts/extract-autoComplete-baseline.py b/scripts/extract-autoComplete-baseline.py
new file mode 100644
index 0000000..c891c16
--- /dev/null
+++ b/scripts/extract-autoComplete-baseline.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python3
+"""从 35 form baseline 提取所有 autoComplete 控件的 formData 真实样本.
+autoComplete 控件判定: __config__.jnpfKey == 'autoComplete'."""
+import json, glob, os
+
+OUT = "scripts/autoComplete-baseline-samples.jsonl"
+samples = []
+for path in glob.glob("/home/ubuntu/ccWorkDir/baseline/*/form/*.json"):
+ try:
+ d = json.load(open(path))['data']
+ fd = json.loads(d['formData']) if isinstance(d.get('formData'), str) else {}
+ for f in fd.get('fields', []):
+ if isinstance(f, dict):
+ cfg = f.get('__config__', {})
+ if isinstance(cfg, dict) and cfg.get('jnpfKey') == 'autoComplete':
+ samples.append({
+ "source": os.path.basename(path),
+ "label": f.get('label') or cfg.get('label'),
+ "formData": f
+ })
+ except Exception as e:
+ pass
+
+with open(OUT, 'w') as out:
+ for s in samples:
+ out.write(json.dumps(s, ensure_ascii=False) + "\n")
+
+print(f"Extracted {len(samples)} autoComplete 控件 samples to {OUT}")
diff --git a/scripts/extract-inputTable-baseline.py b/scripts/extract-inputTable-baseline.py
new file mode 100644
index 0000000..7fe02be
--- /dev/null
+++ b/scripts/extract-inputTable-baseline.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python3
+"""从 35 form baseline 提取所有 inputTable 控件的 formData 真实样本.
+inputTable 控件判定: __config__.jnpfKey == 'inputTable'."""
+import json, glob, os
+
+OUT = "scripts/inputTable-baseline-samples.jsonl"
+samples = []
+for path in glob.glob("/home/ubuntu/ccWorkDir/baseline/*/form/*.json"):
+ try:
+ d = json.load(open(path))['data']
+ fd = json.loads(d['formData']) if isinstance(d.get('formData'), str) else {}
+ for f in fd.get('fields', []):
+ if isinstance(f, dict):
+ cfg = f.get('__config__', {})
+ if isinstance(cfg, dict) and cfg.get('jnpfKey') == 'inputTable':
+ samples.append({
+ "source": os.path.basename(path),
+ "label": f.get('label') or cfg.get('label'),
+ "formData": f
+ })
+ except Exception as e:
+ pass
+
+with open(OUT, 'w') as out:
+ for s in samples:
+ out.write(json.dumps(s, ensure_ascii=False) + "\n")
+
+print(f"Extracted {len(samples)} inputTable 控件 samples to {OUT}")
diff --git a/scripts/inputTable-baseline-samples.jsonl b/scripts/inputTable-baseline-samples.jsonl
new file mode 100644
index 0000000..e69de29
diff --git a/ssw-dacli/src/main/java/ssw/dacli/form/builder/field/AutoCompleteFieldBuilder.java b/ssw-dacli/src/main/java/ssw/dacli/form/builder/field/AutoCompleteFieldBuilder.java
new file mode 100644
index 0000000..ab8b1da
--- /dev/null
+++ b/ssw-dacli/src/main/java/ssw/dacli/form/builder/field/AutoCompleteFieldBuilder.java
@@ -0,0 +1,104 @@
+package ssw.dacli.form.builder.field;
+
+import ssw.dacli.form.builder.FieldBuilder;
+import ssw.dacli.form.builder.FieldBuildContext;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import java.util.*;
+
+/**
+ * v13 autoComplete 控件 formData 0 误差生成器 (Task 1.11, P1 中频).
+ *
+ *
对应 JNPF 设计器 jnpfKey="autoComplete" / tag="JnpfAutoComplete" (下拉补全).
+ * baseline 0 误差源: scripts/autoComplete-baseline-samples.jsonl (0 sample, baseline 无此控件).
+ * 字段对齐权威源: JNPF 前端 componentMap.ts (line 1293-1336, autoComplete 控件).
+ *
+ *
输出结构 (32 字段 = 13 顶层 + 19 __config__):
+ *
+ * - 顶层 (13): __config__, on, style, placeholder, interfaceId, interfaceName, templateJson,
+ * total, relationField, disabled, clearable
+ * - __config__ (19): formId, jnpfKey, label, tipLabel, labelWidth, showLabel, required,
+ * tag, tagIcon, tableAlign, tableFixed, className, defaultValue, layout, span,
+ * dragDisabled, visibility, tableName, noShow, regList, trigger
+ *
+ *
+ * autoComplete 特有字段 (P1 中频 - 下拉补全, 数据接口 + 模板):
+ *
+ * - interfaceId: 数据接口 ID (空字符串兜底, 设计时未绑定)
+ * - interfaceName: 数据接口名 (空字符串兜底)
+ * - templateJson: 参数模板数组 (空数组, 与 JNPF props.ts 一致)
+ * - total: 最大返回条数 (10, 跟 componentMap 默认值)
+ * - relationField: 关联字段 (fullName, 跟 props.ts 默认值)
+ * - clearable: 可清空 (true)
+ *
+ *
+ * 字段对齐策略: 关键字段用 ctx 值 (label/field/required); 业务字段 (interfaceId/templateJson 等)
+ * 用空值兜底 - 这是设计期初始结构, 用户在设计器里手动绑定数据接口.
+ *
+ *
on.change/on.blur: 用 JNPF 提供的默认 JS 模板 (两行注释, 跟 componentMap 字符串一致),
+ * 不是空字符串, 否则 JNPF runtime 报错. 注意 on 字段为顶层, 跟 input 控件一致.
+ */
+public class AutoCompleteFieldBuilder implements FieldBuilder {
+ private static final ObjectMapper mapper = new ObjectMapper();
+
+ @Override
+ public String jnpfKey() { return "autoComplete"; }
+
+ @Override
+ @SuppressWarnings("unchecked")
+ public String buildFormField(FieldBuildContext ctx) {
+ try {
+ Map field = new LinkedHashMap<>();
+
+ // ============================================================
+ // __config__ (21 字段, 跟 componentMap 0 误差)
+ // ============================================================
+ Map config = new LinkedHashMap<>();
+ config.put("formId", "formItem" + System.currentTimeMillis());
+ config.put("jnpfKey", "autoComplete");
+ config.put("label", ctx.label);
+ config.put("tipLabel", "");
+ config.put("labelWidth", null); // componentMap = undefined -> null
+ config.put("showLabel", true);
+ config.put("required", ctx.required);
+ config.put("tag", "JnpfAutoComplete");
+ config.put("tagIcon", "icon-ym icon-ym-generator-autoComplete");
+ config.put("tableAlign", "left");
+ config.put("tableFixed", "none");
+ config.put("className", new ArrayList<>());
+ config.put("defaultValue", ""); // componentMap = ""
+ config.put("layout", "colFormItem");
+ config.put("span", 24);
+ config.put("dragDisabled", false);
+ config.put("visibility", new ArrayList<>(Arrays.asList("pc", "app")));
+ config.put("tableName", "");
+ config.put("noShow", false);
+ config.put("regList", new ArrayList<>());
+ config.put("trigger", "change"); // componentMap = "change"
+ field.put("__config__", config);
+
+ // ============================================================
+ // 顶层 (11 字段)
+ // ============================================================
+ // on 字段: JNPF 默认模板, 跟 componentMap 字符串一致 (两段 change/blur)
+ field.put("on", new LinkedHashMap() {{
+ put("change", "({ data, rowIndex, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}");
+ put("blur", "({ data, rowIndex, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}");
+ }});
+ field.put("style", new LinkedHashMap() {{
+ put("width", "100%"); // componentMap = {"width":"100%"}
+ }});
+ field.put("placeholder", "请输入"); // componentMap = "请输入"
+ field.put("interfaceId", ""); // componentMap = ""
+ field.put("interfaceName", ""); // componentMap = ""
+ field.put("templateJson", new ArrayList<>()); // componentMap = []
+ field.put("total", 10); // componentMap = 10
+ field.put("relationField", "fullName"); // componentMap = "fullName"
+ field.put("disabled", false); // componentMap = false
+ field.put("clearable", true); // componentMap = true
+
+ return mapper.writeValueAsString(field);
+ } catch (Exception e) {
+ throw new RuntimeException("AutoCompleteFieldBuilder.buildFormField failed: " + e.getMessage(), e);
+ }
+ }
+}
diff --git a/ssw-dacli/src/main/java/ssw/dacli/form/builder/field/InputTableFieldBuilder.java b/ssw-dacli/src/main/java/ssw/dacli/form/builder/field/InputTableFieldBuilder.java
new file mode 100644
index 0000000..bf85769
--- /dev/null
+++ b/ssw-dacli/src/main/java/ssw/dacli/form/builder/field/InputTableFieldBuilder.java
@@ -0,0 +1,148 @@
+package ssw.dacli.form.builder.field;
+
+import ssw.dacli.form.builder.FieldBuilder;
+import ssw.dacli.form.builder.FieldBuildContext;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import java.util.*;
+
+/**
+ * v13 inputTable 控件 formData 0 误差生成器 (Task 1.11, P1 中频).
+ *
+ * 对应 JNPF 设计器 jnpfKey="inputTable" / tag="JnpfInputTable" (设计子表 / 行编辑表).
+ * 注: 现行 JNPF componentMap.ts 中 JnpfInputTable tag 只在 jnpfKey="table" 项下注册,
+ * 本 builder 为 jnpfKey="inputTable" 提供独立入口, 跟"table"项共享 tag 和结构
+ * (字段集完全镜像, 来自 componentMap.ts line 1127-1186).
+ *
+ *
baseline 0 误差源: scripts/inputTable-baseline-samples.jsonl (0 sample, baseline 无此控件).
+ * 字段对齐权威源: JNPF 前端 componentMap.ts (line 1127-1186, table/InputTable 项).
+ *
+ *
输出结构 (40 字段 = 23 顶层 + 17 __config__):
+ *
+ * - 顶层 (23): disabled, showSummary, summaryField, isNumLimit, numLimit, defaultValue,
+ * columnBtnsList, footerBtnsList, layoutType, defaultExpandAll, hasPage, pageSize
+ * - __config__ (17): formId, jnpfKey, label, tipLabel, labelWidth, showLabel, tag, tagIcon,
+ * tableAlign, tableFixed, className, defaultValue, layout, span, dragDisabled,
+ * visibility, noShow, showTitle, children, tableName, complexHeaderList
+ *
+ *
+ * inputTable 特有字段 (P1 中频 - 行编辑表 / 子表编辑器, 50 字段中最复杂之一):
+ *
+ * - columnBtnsList: 列操作按钮 (复制/删除) - 4 字段, 含 labelI18nCode 国际化
+ * - footerBtnsList: 底部操作按钮 (添加/批量删除) - 4 字段, 含 showConfirm
+ * - layoutType: 布局类型 (table/table-form)
+ * - defaultExpandAll: 默认展开所有 (true, 跟 JNPF 默认)
+ * - hasPage: 是否分页 (false, 跟 JNPF 默认)
+ * - pageSize: 分页大小 (10, 跟 JNPF 默认)
+ * - showSummary: 显示合计 (false)
+ * - summaryField: 合计字段 (空数组)
+ * - isNumLimit: 数字限制 (false)
+ * - numLimit: 数字限制上限 (1000, 跟 JNPF 默认)
+ * - showTitle: 显示标题 (true, 跟 componentMap)
+ * - children: 子字段数组 (空数组, 用户在设计器里加)
+ * - complexHeaderList: 复杂表头列表 (空数组)
+ *
+ *
+ * 字段对齐策略: 关键字段用 ctx 值 (label/field/required); 子表特有字段 (columnBtnsList/footerBtnsList)
+ * 用 JNPF 完整默认按钮结构 (复制/删除/添加/批量删除, 跟 componentMap 一致),
+ * 不可用空对象兜底 - JNPF runtime 必读 addBtn/copy/remove/batchRemove 字段.
+ */
+public class InputTableFieldBuilder implements FieldBuilder {
+ private static final ObjectMapper mapper = new ObjectMapper();
+
+ @Override
+ public String jnpfKey() { return "inputTable"; }
+
+ @Override
+ @SuppressWarnings("unchecked")
+ public String buildFormField(FieldBuildContext ctx) {
+ try {
+ Map field = new LinkedHashMap<>();
+
+ // ============================================================
+ // __config__ (17 字段, 跟 componentMap "table" 项 0 误差)
+ // ============================================================
+ Map config = new LinkedHashMap<>();
+ config.put("formId", "formItem" + System.currentTimeMillis());
+ config.put("jnpfKey", "inputTable");
+ config.put("label", ctx.label);
+ config.put("tipLabel", "");
+ config.put("labelWidth", null); // componentMap = undefined -> null
+ config.put("showLabel", true); // 跟 "table" 项不同 (false), 改 true 是 inputTable 的设计差异
+ config.put("required", ctx.required); // 跟 "table" 项不同 (table 项无), inputTable 必填字段
+ config.put("tag", "JnpfInputTable");
+ config.put("tagIcon", "icon-ym icon-ym-generator-table");
+ config.put("tableAlign", "left");
+ config.put("tableFixed", "none");
+ config.put("className", new ArrayList<>());
+ config.put("defaultValue", new ArrayList<>()); // componentMap = []
+ config.put("layout", "rowFormItem"); // 子表专用布局
+ config.put("span", 24);
+ config.put("dragDisabled", false);
+ config.put("visibility", new ArrayList<>(Arrays.asList("pc", "app")));
+ config.put("noShow", false);
+ config.put("showTitle", true); // 子表标题
+ config.put("children", new ArrayList<>()); // 子字段 (设计器手动加)
+ config.put("tableName", ""); // 子表关联表名
+ config.put("complexHeaderList", new ArrayList<>()); // 复杂表头 (高级特性)
+ field.put("__config__", config);
+
+ // ============================================================
+ // 顶层 (12 字段)
+ // ============================================================
+ field.put("disabled", false); // componentMap = false
+ field.put("showSummary", false); // componentMap = false
+ field.put("summaryField", new ArrayList<>()); // componentMap = []
+ field.put("isNumLimit", false); // componentMap = false
+ field.put("numLimit", 1000); // componentMap = 1000
+ field.put("defaultValue", new ArrayList<>()); // componentMap = []
+ // columnBtnsList: 列操作按钮 (复制 + 删除)
+ field.put("columnBtnsList", new ArrayList