ice-entity-designer 0.0.33 → 0.0.35

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
@@ -123,7 +123,7 @@ npm run build
123
123
  | `examples/statechart-editor.html` | 状态机编辑器:伪状态 / 普通状态 / 复合状态容器、转移标签 `事件 [守卫] / 动作` |
124
124
  | `examples/gantt-editor.html` | 甘特编辑器:时间轴与按天吸附、依赖线、自动排程、关键路径、资源冲突校验、矢量导出 |
125
125
  | `examples/power-editor.html` | 电力一次系统图(单线图)编辑器:110kV 变电站案例(双母线 + 母联 + 两回进线 + 两台主变),开关分合、带电分析与色标、五防相关校验 |
126
- | `examples/power-symbols.html` | 电力符号表:15 种一次设备符号(记法对齐 JB/T 5872-1991),可缩放平移、导出 SVG |
126
+ | `examples/power-symbols.html` | 电力符号表:23 种一次设备符号(记法对齐 JB/T 5872-1991 与 GB/T 4728.1/3/4/6),可缩放平移、导出 SVG |
127
127
  | [`ice-entity-designer-react-demo`](../ice-entity-designer-react-demo) | 独立的 React 集成示例工程(webpack + TypeScript),涵盖 ref / hook / onChange / 受控模式 |
128
128
 
129
129
  ```bash
@@ -448,6 +448,7 @@ const svg = power.toSvg({ background: '#ffffff' });
448
448
  | 电压等级色标 | `setVoltageColors({ '110kV': '#xxxxxx' })` 覆盖;默认值见规格文档 |
449
449
  | 运行态 | `setSwitchState(id, 'open' / 'closed')`:刀臂形状 + 分合标签 + 带电范围一起更新 |
450
450
  | 拓扑 | `topology()` 返回带电设备与电气连通域;`applyTopology()` 把带电状态写回节点(不带电自动变灰) |
451
+ | 记法不可变换 | 所有符号 `transformable: false`:**只能拖动**,没有缩放/旋转手柄(尺寸与朝向是记法的一部分);母线长度、柜体宽高在属性面板里用数值改;图纸整体缩放走滚轮视图缩放 |
451
452
  | 母线 T 接 | `attachToBus(device, bus, { centerX })`:设备记 `attachedBusId` 并把顶部引线贴住母线(隐式等电位,不用画绕行导体);`detachFromBus()` / 拖离几何范围即断开;拖动母线时挂上去的间隔整体跟随 |
452
453
  | 语义校验 | 设备编号唯一、直接相连的电压等级一致(变压器两侧例外)、母线要有进线、断路器两侧应有隔离开关,以及**带电合接地刀闸 / 带接地线合闸送电**这两条五防相关规则 |
453
454