@ledvance/group-ui-biz-bundle 1.0.147 → 1.0.149
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
|
@@ -608,6 +608,42 @@ export const defFlagList: FlagUiInfo[] = [
|
|
|
608
608
|
...defFlagConfig,
|
|
609
609
|
colors: [{"h":0,"s":0,"v":100}, {"h":160,"s":80,"v":34}],
|
|
610
610
|
},
|
|
611
|
+
{
|
|
612
|
+
id: 160,
|
|
613
|
+
name: I18n.getLang('country_KR'),
|
|
614
|
+
...defFlagConfig,
|
|
615
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":355,"s":78,"v":80}, {"h":213,"s":93,"v":80}],
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
id: 159,
|
|
619
|
+
name: I18n.getLang('country_HT'),
|
|
620
|
+
...defFlagConfig,
|
|
621
|
+
colors: [{"h":228,"s":100,"v":62}, {"h":349,"s":92,"v":82}, {"h":0,"s":0,"v":100}],
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
id: 158,
|
|
625
|
+
name: I18n.getLang('country_CW'),
|
|
626
|
+
...defFlagConfig,
|
|
627
|
+
colors: [{"h":220,"s":100,"v":50}, {"h":56,"s":92,"v":98}, {"h":0,"s":0,"v":100}],
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
id: 157,
|
|
631
|
+
name: I18n.getLang('country_SN'),
|
|
632
|
+
...defFlagConfig,
|
|
633
|
+
colors: [{"h":148,"s":100,"v":52}, {"h":56,"s":74,"v":99}, {"h":358,"s":88,"v":89}],
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
id: 156,
|
|
637
|
+
name: I18n.getLang('country_DZ'),
|
|
638
|
+
...defFlagConfig,
|
|
639
|
+
colors: [{"h":150,"s":100,"v":40}, {"h":0,"s":0,"v":100}, {"h":349,"s":92,"v":82}],
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
id: 155,
|
|
643
|
+
name: I18n.getLang('country_UZ'),
|
|
644
|
+
...defFlagConfig,
|
|
645
|
+
colors: [{"h":207,"s":100,"v":81}, {"h":0,"s":0,"v":100}, {"h":109,"s":76,"v":69}],
|
|
646
|
+
},
|
|
611
647
|
]
|
|
612
648
|
|
|
613
649
|
export const def2Pids = ['k588eygmfkdzmpzm']
|
|
@@ -53,7 +53,9 @@ export const encodeSleepOrWakeUp = (items: SleepWakeUpItem[]) => {
|
|
|
53
53
|
const minute = item.time % 60
|
|
54
54
|
bytes.push(numToByte(hour))
|
|
55
55
|
bytes.push(numToByte(minute))
|
|
56
|
-
|
|
56
|
+
// 0x03, 0x10:hex 码。大端格式,第一个字节表示百位,第二个字节表示十位,个位。实际值表示 316,取值范围:0~360
|
|
57
|
+
bytes.push(numToByte(item.hue / 100))
|
|
58
|
+
bytes.push(numToByte(item.hue % 100))
|
|
57
59
|
bytes.push(numToByte(item.sat))
|
|
58
60
|
bytes.push(numToByte(item.value))
|
|
59
61
|
bytes.push(numToByte(item.brightness))
|