@jnrs/lingshu-smart 3.1.10 → 3.1.11

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/AGENTS.md CHANGED
@@ -148,13 +148,14 @@ onMounted(() => {
148
148
 
149
149
  **Props:**
150
150
 
151
- | 属性 | 类型 | 默认值 | 说明 |
152
- | --------------- | ---------------- | --------- | ------------------------- |
153
- | `caseId` | `string` | — | **必填**。要展示的方案 ID |
154
- | `actions` | `PreviewActions` | `{}` | 事件与数据加载回调 |
155
- | `appHittable` | `boolean` | `true` | 画布是否可交互 |
156
- | `appFill` | `string` | `#424242` | 容器背景色 |
157
- | `hideSceneFill` | `boolean` | `false` | 是否隐藏场景背景 |
151
+ | 属性 | 类型 | 默认值 | 说明 |
152
+ | ------------------- | ---------------------------- | --------- | ------------------------------------------------------------------------------------------ |
153
+ | `caseId` | `string` | — | **必填**。要展示的方案 ID |
154
+ | `actions` | `PreviewActions` | `{}` | 事件与数据加载回调 |
155
+ | `appHittable` | `boolean` | `true` | 画布是否可交互 |
156
+ | `appFill` | `string` | `#424242` | 容器背景色 |
157
+ | `hideSceneFill` | `boolean` | `false` | 是否隐藏场景背景 |
158
+ | `slotResourceMode` | `'replace' \| 'overlay'` | `replace` | 工位槽资源放置模式:`replace` 新资源无条件替换旧资源(槽内最多 1 个);`overlay` 同槽叠加 |
158
159
 
159
160
  ---
160
161
 
@@ -3,8 +3,8 @@ import { IScene, SocketMessage } from '../../../types';
3
3
  export interface ConditionRule {
4
4
  /** 条件判断时使用的源字段路径(点号嵌套,如 data.type);缺省时与 mapper.source 一致 */
5
5
  source?: string;
6
- /** 比较运算符 */
7
- operator: 'eq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'includes' | 'in';
6
+ /** 比较运算符:eq 弱等于(忽略类型,"123" 与 123 相等)/ strictEq 强等于(类型与值均须相等)/ 其余见 MapperDialogs 运算符说明 */
7
+ operator: 'eq' | 'strictEq' | 'ne' | 'gt' | 'lt' | 'gte' | 'lte' | 'includes' | 'in';
8
8
  /** 比较目标值('in' 运算符时为逗号分隔的列表,如 '1,2,3') */
9
9
  operand: string;
10
10
  /** 特殊处理类型:undefined/'constant' 固定值 / dictLabel 字典 Label / dictColor 字典 Color / operation 运算处理 */