6ed4924a720674527820127bf3b2a6845ddb78d8
镜像 jnpf-web-datascreen-vue3/src/option/config.js (基础 config 对象, web 设计器 default) +
option/components/<prop>.vue (38 组件 metadata 的 .vue 文件元数据).
- getBaseConfig(): 镜像 option/config.js 第 35-72 行 config 对象, 跟 web result.vue:50 import { config as defaultConfig } 行为一致.
括号配对法提取, Function({themeList}) mock 跨文件 theme 引用.
- getComponentDefaults(prop): 读 option/components/<prop>.vue, 提取 <script> 段 name 字段 + data() top-level key.
Phase 2 简化版: { prop, name, filePath, hasData, dataKeys, isOptionConfig: true }.
- listComponentProps(): 列 36 个 prop 名 (实际是 36, 不是 38).
不影响 commands/bigscreen/* (留 Phase 3+4+5+6), 也不影响 webapi/visualdata.ts (v0.14+ 主推).
Co-Authored-By: Claude <[email protected]>
Languages
TypeScript
99.4%
Shell
0.4%
Python
0.2%