@ledvance/base 1.2.65 → 1.2.67
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/localazy.json
CHANGED
|
@@ -687,7 +687,8 @@
|
|
|
687
687
|
"MATCH:group_feature_biological_rhythm_applyfor_information",
|
|
688
688
|
"MATCH:conflict_dialog_active_item_fixedtimecycle_titel",
|
|
689
689
|
"MATCH:conflict_dialog_active_item_randomtimecycle_titel",
|
|
690
|
-
"MATCH:conflict_dialog_active_item_bio_rhythm_titel"
|
|
690
|
+
"MATCH:conflict_dialog_active_item_bio_rhythm_titel",
|
|
691
|
+
"MATCH:Onoff_button_socket"
|
|
691
692
|
],
|
|
692
693
|
"replacements": {
|
|
693
694
|
"REGEX:% %1\\$s.*?\\)%": "{0}",
|
package/package.json
CHANGED
package/src/i18n/strings.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"es-419": {
|
|
3
3
|
"Feature_devicepanel_flags": "Banderas",
|
|
4
|
+
"Onoff_button_socket": "Activado / Desactivado",
|
|
4
5
|
"addTimeCycle_settings_sec_text": "¿Durante cuánto tiempo debe estar encendido el dispositivo?",
|
|
5
6
|
"addTimeCycle_settings_sec_text2": "¿Durante cuánto tiempo debe estar apagado el dispositivo?",
|
|
6
7
|
"addTimeCycle_warning_text": "La configuración de tiempo excede el plazo disponible",
|
|
@@ -677,6 +678,7 @@ export default {
|
|
|
677
678
|
},
|
|
678
679
|
"ar": {
|
|
679
680
|
"Feature_devicepanel_flags": "أعلام",
|
|
681
|
+
"Onoff_button_socket": "تشغيل / إيقاف",
|
|
680
682
|
"addTimeCycle_settings_sec_text": "كم من الوقت يجب تشغيل الجهاز؟",
|
|
681
683
|
"addTimeCycle_settings_sec_text2": "كم من الوقت يجب إيقاف تشغيل الجهاز؟",
|
|
682
684
|
"addTimeCycle_warning_text": "تتجاوز إعدادات وقتك الإطار الزمني المتاح",
|
|
@@ -1353,6 +1355,7 @@ export default {
|
|
|
1353
1355
|
},
|
|
1354
1356
|
"cs": {
|
|
1355
1357
|
"Feature_devicepanel_flags": "Vlajky",
|
|
1358
|
+
"Onoff_button_socket": "Zapnuto / Vypnuto",
|
|
1356
1359
|
"addTimeCycle_settings_sec_text": "Jak dlouho má být zařízení zapnuto?",
|
|
1357
1360
|
"addTimeCycle_settings_sec_text2": "Jak dlouho má být zařízení vypnuto?",
|
|
1358
1361
|
"addTimeCycle_warning_text": "Vaše časové nastavení překračuje dostupný časový rámec",
|
|
@@ -2029,6 +2032,7 @@ export default {
|
|
|
2029
2032
|
},
|
|
2030
2033
|
"en": {
|
|
2031
2034
|
"Feature_devicepanel_flags": "Flags",
|
|
2035
|
+
"Onoff_button_socket": "On / Off",
|
|
2032
2036
|
"addTimeCycle_settings_sec_text": "How long shall the device be powered on?",
|
|
2033
2037
|
"addTimeCycle_settings_sec_text2": "How long shall the device be powered off?",
|
|
2034
2038
|
"addTimeCycle_warning_text": "Your time settings exceed the available timeframe",
|
|
@@ -2705,6 +2709,7 @@ export default {
|
|
|
2705
2709
|
},
|
|
2706
2710
|
"bg": {
|
|
2707
2711
|
"Feature_devicepanel_flags": "Знамена",
|
|
2712
|
+
"Onoff_button_socket": "Включено / Изключено",
|
|
2708
2713
|
"addTimeCycle_settings_sec_text": "Колко време устройството трябва да бъде включено?",
|
|
2709
2714
|
"addTimeCycle_settings_sec_text2": "Колко време устройството трябва да бъде изключено?",
|
|
2710
2715
|
"addTimeCycle_warning_text": "Вашите настройки за време надхвърлят наличната времева рамка",
|
|
@@ -3381,6 +3386,7 @@ export default {
|
|
|
3381
3386
|
},
|
|
3382
3387
|
"da": {
|
|
3383
3388
|
"Feature_devicepanel_flags": "Flag",
|
|
3389
|
+
"Onoff_button_socket": "Tændt / slukket",
|
|
3384
3390
|
"addTimeCycle_settings_sec_text": "Hvor længe skal enheden være tændt?",
|
|
3385
3391
|
"addTimeCycle_settings_sec_text2": "Hvor længe skal enheden være slukket?",
|
|
3386
3392
|
"addTimeCycle_warning_text": "Dine tidsindstillinger overskrider den tilgængelige tidsramme",
|
|
@@ -4057,6 +4063,7 @@ export default {
|
|
|
4057
4063
|
},
|
|
4058
4064
|
"de": {
|
|
4059
4065
|
"Feature_devicepanel_flags": "Flaggen",
|
|
4066
|
+
"Onoff_button_socket": "Ein / Aus",
|
|
4060
4067
|
"addTimeCycle_settings_sec_text": "Wie lange soll das Gerät eingeschaltet bleiben?",
|
|
4061
4068
|
"addTimeCycle_settings_sec_text2": "Wie lange soll das Gerät ausgeschaltet sein?",
|
|
4062
4069
|
"addTimeCycle_warning_text": "Deine Zeiteinstellungen überschreiten den verfügbaren Zeitrahmen",
|
|
@@ -4733,6 +4740,7 @@ export default {
|
|
|
4733
4740
|
},
|
|
4734
4741
|
"el": {
|
|
4735
4742
|
"Feature_devicepanel_flags": "Σημαίες",
|
|
4743
|
+
"Onoff_button_socket": "Ενεργοποίηση / Απενεργοποίηση",
|
|
4736
4744
|
"addTimeCycle_settings_sec_text": "Πόσο καιρό θα είναι ενεργοποιημένη η συσκευή;",
|
|
4737
4745
|
"addTimeCycle_settings_sec_text2": "Για πόσο χρονικό διάστημα η συσκευή πρέπει να είναι απενεργοποιημένη;",
|
|
4738
4746
|
"addTimeCycle_warning_text": "Οι ρυθμίσεις χρόνου σας υπερβαίνουν το διαθέσιμο χρονικό πλαίσιο",
|
|
@@ -5409,6 +5417,7 @@ export default {
|
|
|
5409
5417
|
},
|
|
5410
5418
|
"es": {
|
|
5411
5419
|
"Feature_devicepanel_flags": "Banderas",
|
|
5420
|
+
"Onoff_button_socket": "Activado / Desactivado",
|
|
5412
5421
|
"addTimeCycle_settings_sec_text": "¿Durante cuánto tiempo debe estar encendido el dispositivo?",
|
|
5413
5422
|
"addTimeCycle_settings_sec_text2": "¿Durante cuánto tiempo debe estar apagado el dispositivo?",
|
|
5414
5423
|
"addTimeCycle_warning_text": "La configuración de tiempo excede el plazo disponible",
|
|
@@ -6085,6 +6094,7 @@ export default {
|
|
|
6085
6094
|
},
|
|
6086
6095
|
"et": {
|
|
6087
6096
|
"Feature_devicepanel_flags": "Lipud",
|
|
6097
|
+
"Onoff_button_socket": "Sisse / Välja",
|
|
6088
6098
|
"addTimeCycle_settings_sec_text": "Kui kaua peab seade sisse lülitatud olema?",
|
|
6089
6099
|
"addTimeCycle_settings_sec_text2": "Kui kaua peab seade välja lülitatud olema?",
|
|
6090
6100
|
"addTimeCycle_warning_text": "Sinu ajaseaded ei mahu võimalikku ajaraami",
|
|
@@ -6761,6 +6771,7 @@ export default {
|
|
|
6761
6771
|
},
|
|
6762
6772
|
"fi": {
|
|
6763
6773
|
"Feature_devicepanel_flags": "Liput",
|
|
6774
|
+
"Onoff_button_socket": "Päällä / Pois päältä",
|
|
6764
6775
|
"addTimeCycle_settings_sec_text": "Kuinka kauan laitteen tulee olla päällä?",
|
|
6765
6776
|
"addTimeCycle_settings_sec_text2": "Kuinka kauan laitteen tulee olla sammutettuna?",
|
|
6766
6777
|
"addTimeCycle_warning_text": "Aika-asetus ylittää käytettävissä olevan aikarajan",
|
|
@@ -7437,6 +7448,7 @@ export default {
|
|
|
7437
7448
|
},
|
|
7438
7449
|
"fr": {
|
|
7439
7450
|
"Feature_devicepanel_flags": "Drapeaux",
|
|
7451
|
+
"Onoff_button_socket": "Activé / Désactivé",
|
|
7440
7452
|
"addTimeCycle_settings_sec_text": "Combien de temps l'appareil doit-il rester allumé ?",
|
|
7441
7453
|
"addTimeCycle_settings_sec_text2": "Combien de temps l'appareil doit-il rester éteint ?",
|
|
7442
7454
|
"addTimeCycle_warning_text": "Vos paramètres de temps dépassent le délai disponible",
|
|
@@ -8113,6 +8125,7 @@ export default {
|
|
|
8113
8125
|
},
|
|
8114
8126
|
"hr": {
|
|
8115
8127
|
"Feature_devicepanel_flags": "Zastave",
|
|
8128
|
+
"Onoff_button_socket": "Uključeno / Isključeno",
|
|
8116
8129
|
"addTimeCycle_settings_sec_text": "Koliko dugo uređaj treba biti uključen?",
|
|
8117
8130
|
"addTimeCycle_settings_sec_text2": "Koliko dugo uređaj treba biti isključen?",
|
|
8118
8131
|
"addTimeCycle_warning_text": "Vaše vremenske postavke premašuju raspoloživi vremenski okvir",
|
|
@@ -8789,6 +8802,7 @@ export default {
|
|
|
8789
8802
|
},
|
|
8790
8803
|
"hu": {
|
|
8791
8804
|
"Feature_devicepanel_flags": "Zászlók",
|
|
8805
|
+
"Onoff_button_socket": "Be / Ki",
|
|
8792
8806
|
"addTimeCycle_settings_sec_text": "Mennyi ideig kell az eszközt bekapcsolva tartani?",
|
|
8793
8807
|
"addTimeCycle_settings_sec_text2": "Mennyi ideig kell az eszközt kikapcsolva tartani?",
|
|
8794
8808
|
"addTimeCycle_warning_text": "Az Ön időbeállításai meghaladják a rendelkezésre álló időkeretet",
|
|
@@ -9465,6 +9479,7 @@ export default {
|
|
|
9465
9479
|
},
|
|
9466
9480
|
"it": {
|
|
9467
9481
|
"Feature_devicepanel_flags": "Bandiere",
|
|
9482
|
+
"Onoff_button_socket": "Acceso / Spento",
|
|
9468
9483
|
"addTimeCycle_settings_sec_text": "Per quanto tempo deve rimanere acceso il dispositivo?",
|
|
9469
9484
|
"addTimeCycle_settings_sec_text2": "Per quanto tempo deve rimanere spento il dispositivo?",
|
|
9470
9485
|
"addTimeCycle_warning_text": "Le impostazioni relative all'orario superano il periodo di tempo disponibile",
|
|
@@ -10141,6 +10156,7 @@ export default {
|
|
|
10141
10156
|
},
|
|
10142
10157
|
"ko": {
|
|
10143
10158
|
"Feature_devicepanel_flags": "플래그",
|
|
10159
|
+
"Onoff_button_socket": "켜기 / 끄기",
|
|
10144
10160
|
"addTimeCycle_settings_sec_text": "장치의 전원을 얼마동안 켜두어야 합니까?",
|
|
10145
10161
|
"addTimeCycle_settings_sec_text2": "장치의 전원을 얼마동안 꺼두어야 합니까?",
|
|
10146
10162
|
"addTimeCycle_warning_text": "시간 설정이 사용 가능한 기간을 초과했습니다.",
|
|
@@ -10817,6 +10833,7 @@ export default {
|
|
|
10817
10833
|
},
|
|
10818
10834
|
"lt": {
|
|
10819
10835
|
"Feature_devicepanel_flags": "Vėliavos",
|
|
10836
|
+
"Onoff_button_socket": "Įjungta / išjungta",
|
|
10820
10837
|
"addTimeCycle_settings_sec_text": "Kiek laiko įtaisas turi būti įjungtas?",
|
|
10821
10838
|
"addTimeCycle_settings_sec_text2": "Kiek laiko įtaisas turi būti išjungtas?",
|
|
10822
10839
|
"addTimeCycle_warning_text": "Jūsų laiko nuostatos viršija skirto laiko ribas",
|
|
@@ -11493,6 +11510,7 @@ export default {
|
|
|
11493
11510
|
},
|
|
11494
11511
|
"lv": {
|
|
11495
11512
|
"Feature_devicepanel_flags": "Karogi",
|
|
11513
|
+
"Onoff_button_socket": "Ieslēgts / izslēgts",
|
|
11496
11514
|
"addTimeCycle_settings_sec_text": "Cik ilgi ierīcei jābūt ieslēgtai?",
|
|
11497
11515
|
"addTimeCycle_settings_sec_text2": "Cik ilgi ierīcei jābūt izslēgtai?",
|
|
11498
11516
|
"addTimeCycle_warning_text": "Jūsu laika iestatījumi pārsniedz pieejamo laika periodu.",
|
|
@@ -12169,6 +12187,7 @@ export default {
|
|
|
12169
12187
|
},
|
|
12170
12188
|
"nb": {
|
|
12171
12189
|
"Feature_devicepanel_flags": "Flagg",
|
|
12190
|
+
"Onoff_button_socket": "På / Av",
|
|
12172
12191
|
"addTimeCycle_settings_sec_text": "Hvor lenge skal enheten være slått på?",
|
|
12173
12192
|
"addTimeCycle_settings_sec_text2": "Hvor lenge skal enheten være slått av?",
|
|
12174
12193
|
"addTimeCycle_warning_text": "Tidsinnstillingene dine overskrider den tilgjengelige tidsrammen",
|
|
@@ -12845,6 +12864,7 @@ export default {
|
|
|
12845
12864
|
},
|
|
12846
12865
|
"nl": {
|
|
12847
12866
|
"Feature_devicepanel_flags": "Vlaggen",
|
|
12867
|
+
"Onoff_button_socket": "Aan / Uit",
|
|
12848
12868
|
"addTimeCycle_settings_sec_text": "Hoe lang moet het apparaat worden ingeschakeld?",
|
|
12849
12869
|
"addTimeCycle_settings_sec_text2": "Hoe lang moet het apparaat worden uitgeschakeld?",
|
|
12850
12870
|
"addTimeCycle_warning_text": "Uw tijdsinstellingen overschrijden het beschikbare tijdsbestek",
|
|
@@ -13521,6 +13541,7 @@ export default {
|
|
|
13521
13541
|
},
|
|
13522
13542
|
"pl": {
|
|
13523
13543
|
"Feature_devicepanel_flags": "Flagi",
|
|
13544
|
+
"Onoff_button_socket": "Wł. / Wył",
|
|
13524
13545
|
"addTimeCycle_settings_sec_text": "Jak długo urządzenie powinno być włączone?",
|
|
13525
13546
|
"addTimeCycle_settings_sec_text2": "Jak długo urządzenie powinno być wyłączone?",
|
|
13526
13547
|
"addTimeCycle_warning_text": "Twoje ustawienia czasu przekraczają dostępne ramy czasowe",
|
|
@@ -14197,6 +14218,7 @@ export default {
|
|
|
14197
14218
|
},
|
|
14198
14219
|
"pt-BR": {
|
|
14199
14220
|
"Feature_devicepanel_flags": "Bandeiras",
|
|
14221
|
+
"Onoff_button_socket": "Ligado / Desligado",
|
|
14200
14222
|
"addTimeCycle_settings_sec_text": "Por quanto tempo o dispositivo deve ficar ligado?",
|
|
14201
14223
|
"addTimeCycle_settings_sec_text2": "Por quanto tempo o dispositivo deve ficar desligado?",
|
|
14202
14224
|
"addTimeCycle_warning_text": "Suas configurações de tempo excedem o período de tempo disponível",
|
|
@@ -14873,6 +14895,7 @@ export default {
|
|
|
14873
14895
|
},
|
|
14874
14896
|
"ro": {
|
|
14875
14897
|
"Feature_devicepanel_flags": "Steaguri",
|
|
14898
|
+
"Onoff_button_socket": "Pornit / Oprit",
|
|
14876
14899
|
"addTimeCycle_settings_sec_text": "Cât timp va fi pornit dispozitivul?",
|
|
14877
14900
|
"addTimeCycle_settings_sec_text2": "Cât timp va fi oprit dispozitivul?",
|
|
14878
14901
|
"addTimeCycle_warning_text": "Setările dvs. de timp depășesc intervalul de timp disponibil",
|
|
@@ -15549,6 +15572,7 @@ export default {
|
|
|
15549
15572
|
},
|
|
15550
15573
|
"ru": {
|
|
15551
15574
|
"Feature_devicepanel_flags": "Флаги",
|
|
15575
|
+
"Onoff_button_socket": "Вкл / Выкл",
|
|
15552
15576
|
"addTimeCycle_settings_sec_text": "Как долго устройство должно быть включено?",
|
|
15553
15577
|
"addTimeCycle_settings_sec_text2": "Как долго устройство должно быть выключено?",
|
|
15554
15578
|
"addTimeCycle_warning_text": "Настройки времени превысили выделенное для этого время",
|
|
@@ -16225,6 +16249,7 @@ export default {
|
|
|
16225
16249
|
},
|
|
16226
16250
|
"sk": {
|
|
16227
16251
|
"Feature_devicepanel_flags": "Vlajky",
|
|
16252
|
+
"Onoff_button_socket": "Zapnuté / Vypnuté",
|
|
16228
16253
|
"addTimeCycle_settings_sec_text": "Ako dlho má byť zariadenie zapnuté?",
|
|
16229
16254
|
"addTimeCycle_settings_sec_text2": "Ako dlho má byť zariadenie vypnuté?",
|
|
16230
16255
|
"addTimeCycle_warning_text": "Vaše nastavenia času presahujú dostupný časový rámec",
|
|
@@ -16901,6 +16926,7 @@ export default {
|
|
|
16901
16926
|
},
|
|
16902
16927
|
"sv": {
|
|
16903
16928
|
"Feature_devicepanel_flags": "Flaggor",
|
|
16929
|
+
"Onoff_button_socket": "På / Av",
|
|
16904
16930
|
"addTimeCycle_settings_sec_text": "Hur länge ska enheten vara påslagen?",
|
|
16905
16931
|
"addTimeCycle_settings_sec_text2": "Hur länge ska enheten vara avstängd?",
|
|
16906
16932
|
"addTimeCycle_warning_text": "Dina tidsinställningar överskrider den tillgängliga tidsramen",
|
|
@@ -17577,6 +17603,7 @@ export default {
|
|
|
17577
17603
|
},
|
|
17578
17604
|
"tr": {
|
|
17579
17605
|
"Feature_devicepanel_flags": "Bayraklar",
|
|
17606
|
+
"Onoff_button_socket": "Açık / Kapalı",
|
|
17580
17607
|
"addTimeCycle_settings_sec_text": "Cihaz ne kadar süre açık kalacak?",
|
|
17581
17608
|
"addTimeCycle_settings_sec_text2": "Cihaz ne kadar süre kapalı olacak?",
|
|
17582
17609
|
"addTimeCycle_warning_text": "Zaman ayarlarınız mevcut zaman dilimini aşıyor",
|
|
@@ -18253,6 +18280,7 @@ export default {
|
|
|
18253
18280
|
},
|
|
18254
18281
|
"uk": {
|
|
18255
18282
|
"Feature_devicepanel_flags": "Прапори",
|
|
18283
|
+
"Onoff_button_socket": "Увімкнення / вимкнення",
|
|
18256
18284
|
"addTimeCycle_settings_sec_text": "Як довго пристрій має бути увімкненим?",
|
|
18257
18285
|
"addTimeCycle_settings_sec_text2": "Як довго пристрій має бути вимкненим?",
|
|
18258
18286
|
"addTimeCycle_warning_text": "Ваші налаштування часу перевищують доступні часові рамки",
|
|
@@ -18929,6 +18957,7 @@ export default {
|
|
|
18929
18957
|
},
|
|
18930
18958
|
"pt_BR": {
|
|
18931
18959
|
"Feature_devicepanel_flags": "Bandeiras",
|
|
18960
|
+
"Onoff_button_socket": "Ligado / Desligado",
|
|
18932
18961
|
"addTimeCycle_settings_sec_text": "Por quanto tempo o dispositivo deve ficar ligado?",
|
|
18933
18962
|
"addTimeCycle_settings_sec_text2": "Por quanto tempo o dispositivo deve ficar desligado?",
|
|
18934
18963
|
"addTimeCycle_warning_text": "Suas configurações de tempo excedem o período de tempo disponível",
|
|
@@ -329,7 +329,7 @@ export function putGroupTYDps(tyGroupId: number, dps: Record<string, any>) {
|
|
|
329
329
|
return NativeApi.putGroupTYDps(tyGroupId, JSON.stringify(dps))
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
export function useGroupEzvizConfig<T
|
|
332
|
+
export function useGroupEzvizConfig<GC, T extends PropertyValueTypes<GC>>(featureKey: keyof GC, defConfig?: T): [T, (newConfig: T) => Promise<Result<any>>] {
|
|
333
333
|
const tyGroupId = useUAGroupInfo().tyGroupId
|
|
334
334
|
const config = useUAGroupInfo().config || {}
|
|
335
335
|
const dispatch = useDispatch()
|
|
@@ -345,7 +345,7 @@ export function useGroupEzvizConfig<T>(featureKey: string): [T, (newConfig: T) =
|
|
|
345
345
|
}
|
|
346
346
|
return res
|
|
347
347
|
}, [])
|
|
348
|
-
return [config[featureKey], setConfig]
|
|
348
|
+
return [config[featureKey] ?? defConfig, setConfig]
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
export function useGroupConfig<T>(): [T, (dps: any, newConfig: T) => Promise<Result<any>>] {
|