@ledvance/ui-biz-bundle 1.1.43 → 1.1.44

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.43",
7
+ "version": "1.1.44",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -515,10 +515,10 @@ const RgbcMoodEditPage = () => {
515
515
  style={styles.nodeAddBtn}
516
516
  onPress={() => {
517
517
  const node = {
518
- ...state.secondlyLamp.nodes[state.currentWhiteNodeIdx],
518
+ ...state.secondlyLamp.nodes[state.currentColorNodeIdx],
519
519
  }
520
520
  state.secondlyLamp.nodes.push(node)
521
- state.currentWhiteNodeIdx = state.secondlyLamp.nodes.length - 1
521
+ state.currentColorNodeIdx = state.secondlyLamp.nodes.length - 1
522
522
  }}>
523
523
  <Image
524
524
  style={{
@@ -83,6 +83,7 @@ const ManualSetting = (props: ManualSettingProps) => {
83
83
  enable={state.singleActions.whiteLightSwitch}
84
84
  setEnable={async value => {
85
85
  state.singleActions.whiteLightSwitch = value
86
+ props.changeSkillEnable(props.dps[0].dpId, value)
86
87
  state.flag = Symbol()
87
88
  }} />
88
89
  {state.singleActions.whiteLightSwitch && <>
@@ -123,7 +124,7 @@ const ManualSetting = (props: ManualSettingProps) => {
123
124
  ...state.singleActions,
124
125
  enable
125
126
  }
126
- props.changeSkillEnable(props.dps[0].dpId, enable)
127
+ props.changeSkillEnable(props.isCeilingLight ? props.dps[1]?.dpId : props.dps[0].dpId, enable)
127
128
  state.flag = Symbol()
128
129
  }} />
129
130
  {state.singleActions.enable && <LampSwitchCard
@@ -136,7 +137,7 @@ const ManualSetting = (props: ManualSettingProps) => {
136
137
  }
137
138
  state.flag = Symbol()
138
139
  }}
139
- colorDiskActiveKey={state.singleActions.colorDiskActiveKey}
140
+ colorDiskActiveKey={state.singleActions.colorDiskActiveKey || 0}
140
141
  activeKey={state.singleActions.activeKey}
141
142
  onActiveKeyChange={(v) => {
142
143
  state.singleActions = {
@@ -186,8 +187,6 @@ const ManualSetting = (props: ManualSettingProps) => {
186
187
  <MixLightView
187
188
  mixActions={state.mixActions}
188
189
  setSendDps={props.setSendDps}
189
- isSupportBrightness={props.isSupportBrightness}
190
- isSupportTemperature={props.isSupportTemperature}
191
190
  />
192
191
  )
193
192
  }