@ledvance/ui-biz-bundle 1.1.40 → 1.1.41

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.40",
7
+ "version": "1.1.41",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -134,7 +134,7 @@ export function dp2Obj(dp: string, isFan: boolean = false, isUVCFan?: boolean):
134
134
  v,
135
135
  brightness,
136
136
  colorTemp,
137
- isColorNode: s !== 0, // 色相/饱和度 不为0就是颜色节点
137
+ isColorNode: (h !== 0 || s !== 0 || v !== 0), // 色相/饱和度 不为0就是颜色节点
138
138
  }
139
139
  })
140
140
  return isFan ? { id, fanEnable, fanSpeed, nodes } : { id, nodes }
@@ -92,6 +92,11 @@ export interface StripLightSceneMode {
92
92
  };
93
93
  }
94
94
 
95
+ export const CeilingLightSceneMode: StripLightSceneMode = {
96
+ '1': { title: I18n.getLang('strip_lights_modes_flash_text'), mode: 1 },
97
+ '2': { title: I18n.getLang('strip_lights_modes_breath_text'), mode: 2 },
98
+ }
99
+
95
100
  export const stringLightSceneMode: StripLightSceneMode = {
96
101
  '13': { title: I18n.getLang('strip_lights_modes_flow_text'), mode: 13, turnOn: true }, // 流水
97
102
  '2': { title: I18n.getLang('strip_lights_modes_rainbow_text'), mode: 2, turnOn: true }, // 彩虹