@ledvance/base 1.2.74 → 1.2.76
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
package/src/i18n/strings.ts
CHANGED
|
@@ -7683,14 +7683,14 @@ export default {
|
|
|
7683
7683
|
"country_VE": "Venezuela",
|
|
7684
7684
|
"country_VN": "Vietnam",
|
|
7685
7685
|
"country_ZA": "Lõuna-Aafrika Vabariik",
|
|
7686
|
-
"country_cu": "
|
|
7686
|
+
"country_cu": "Kuuba",
|
|
7687
7687
|
"country_england": "Inglismaa",
|
|
7688
|
-
"country_gb": "
|
|
7689
|
-
"country_ir": "
|
|
7690
|
-
"country_pe": "
|
|
7688
|
+
"country_gb": "Suurbritannia",
|
|
7689
|
+
"country_ir": "Iraan",
|
|
7690
|
+
"country_pe": "Peruu",
|
|
7691
7691
|
"country_scotland": "Šotimaa",
|
|
7692
7692
|
"country_selection_textfield_headline_search": "Otsing",
|
|
7693
|
-
"country_sy": "
|
|
7693
|
+
"country_sy": "Süüria",
|
|
7694
7694
|
"device_menu_camera_fourthbox_text2": "Salvestusrežiim",
|
|
7695
7695
|
"device_menu_camera_fourthbox_topic": "Salvestised SD-kaardil",
|
|
7696
7696
|
"device_menu_camera_secondbox_text3": "Pööra ekraani",
|
|
@@ -7795,8 +7795,8 @@ export default {
|
|
|
7795
7795
|
"flag_deletepopup": "Kas soovite tõesti lipu kustutada?",
|
|
7796
7796
|
"flag_edittheflag": "Lipu muutmine",
|
|
7797
7797
|
"flag_leverkusen": "Bayer Leverkusen",
|
|
7798
|
-
"flag_resetbutton": "
|
|
7799
|
-
"flag_resetdescription": "
|
|
7798
|
+
"flag_resetbutton": "Kas soovite oma lipuandmed lähtestada?",
|
|
7799
|
+
"flag_resetdescription": "Pange tähele, et kõik kohandatud lipud lähtestatakse.",
|
|
7800
7800
|
"flashing_fs_toggle_state1": "Kiire animatsioon",
|
|
7801
7801
|
"flashing_fs_toggle_state2": "Aeglane animatsioon",
|
|
7802
7802
|
"generation_data_description_text": "näitab toodetud energiat",
|
|
@@ -7861,16 +7861,16 @@ export default {
|
|
|
7861
7861
|
"matter_gradient_light_on_title": "Süvenemine (id)",
|
|
7862
7862
|
"matter_gradient_overview_headline_text": "Tuhmumise/väljalangemine",
|
|
7863
7863
|
"matterplug_LED": "LED-indikaator",
|
|
7864
|
-
"matterplug_description": "
|
|
7865
|
-
"matterplug_heading": "LED
|
|
7866
|
-
"matterplug_option1description": "
|
|
7867
|
-
"matterplug_option1title": "
|
|
7868
|
-
"matterplug_option2description": "
|
|
7869
|
-
"matterplug_option2title": "
|
|
7870
|
-
"matterplug_option3description": "
|
|
7871
|
-
"matterplug_option3title": "
|
|
7872
|
-
"matterplug_option4description": "
|
|
7873
|
-
"matterplug_option4title": "
|
|
7864
|
+
"matterplug_description": "LED-indikaatori konfigureerimine pärast sisse/välja lülitamist",
|
|
7865
|
+
"matterplug_heading": "LED indikaatori olek",
|
|
7866
|
+
"matterplug_option1description": "Lüliti olek vastab LED-indikaatorile: pistikupesa lülitatakse sisse, kui LED on sisse lülitatud, ja välja lülitatud, kui LED on välja lülitatud.",
|
|
7867
|
+
"matterplug_option1title": "Näitab sees/väljas olekut",
|
|
7868
|
+
"matterplug_option2description": "Lüliti olekut näitab LED-indikaator pöördvõrdelt: kui LED on välja lülitatud, on pistikupesa sisse lülitatud; kui LED on sisse lülitatud, on pistikupesa välja lülitatud.",
|
|
7869
|
+
"matterplug_option2title": "Vastupidine sisse/välja olek",
|
|
7870
|
+
"matterplug_option3description": "LED-indikaator jääb pistiku olekust olenemata välja lülitatud.",
|
|
7871
|
+
"matterplug_option3title": "Alati välja lülitatud",
|
|
7872
|
+
"matterplug_option4description": "LED-indikaator jääb sisselülitatud olenemata pistikupesa olekust.",
|
|
7873
|
+
"matterplug_option4title": "Alati sisse lülitatud",
|
|
7874
7874
|
"mesh_device_detail_lighting_color_mode": "Värvirežiim",
|
|
7875
7875
|
"mesh_device_detail_lighting_goodnight": "Head ööd",
|
|
7876
7876
|
"mesh_device_detail_lighting_leisure": "Vaba aeg",
|
|
@@ -11860,8 +11860,8 @@ export default {
|
|
|
11860
11860
|
"flag_deletepopup": "Vuoi davvero eliminare la bandiera?",
|
|
11861
11861
|
"flag_edittheflag": "Modifica la bandiera",
|
|
11862
11862
|
"flag_leverkusen": "Leverkusen",
|
|
11863
|
-
"flag_resetbutton": "
|
|
11864
|
-
"flag_resetdescription": "
|
|
11863
|
+
"flag_resetbutton": "Vuoi reimpostare la tua bandiera?",
|
|
11864
|
+
"flag_resetdescription": "Tutte le bandiere personalizzate verranno ripristinate.",
|
|
11865
11865
|
"flashing_fs_toggle_state1": "Veloce",
|
|
11866
11866
|
"flashing_fs_toggle_state2": "Lento",
|
|
11867
11867
|
"generation_data_description_text": "mostra l'energia generata",
|
|
@@ -18254,12 +18254,12 @@ export default {
|
|
|
18254
18254
|
"country_ZA": "Africa de Sud",
|
|
18255
18255
|
"country_cu": "Cuba",
|
|
18256
18256
|
"country_england": "Anglia",
|
|
18257
|
-
"country_gb": "
|
|
18257
|
+
"country_gb": "Marea Britanie",
|
|
18258
18258
|
"country_ir": "Iran",
|
|
18259
18259
|
"country_pe": "Peru",
|
|
18260
18260
|
"country_scotland": "Scoţia",
|
|
18261
18261
|
"country_selection_textfield_headline_search": "Căutare",
|
|
18262
|
-
"country_sy": "
|
|
18262
|
+
"country_sy": "Siria",
|
|
18263
18263
|
"device_menu_camera_fourthbox_text2": "Mod de înregistrare",
|
|
18264
18264
|
"device_menu_camera_fourthbox_topic": "Înregistrări pe card SD",
|
|
18265
18265
|
"device_menu_camera_secondbox_text3": "Ecranul de întoarcere",
|
|
@@ -18364,8 +18364,8 @@ export default {
|
|
|
18364
18364
|
"flag_deletepopup": "Sigur doriți ștergerea steagului?",
|
|
18365
18365
|
"flag_edittheflag": "Editați steagul",
|
|
18366
18366
|
"flag_leverkusen": "Bayer Leverkusen",
|
|
18367
|
-
"flag_resetbutton": "
|
|
18368
|
-
"flag_resetdescription": "
|
|
18367
|
+
"flag_resetbutton": "Doriți să resetați datele semnalizării?",
|
|
18368
|
+
"flag_resetdescription": "Rețineți că toate semnalizările personalizate vor fi resetate.",
|
|
18369
18369
|
"flashing_fs_toggle_state1": "Animație rapidă",
|
|
18370
18370
|
"flashing_fs_toggle_state2": "Animație lentă",
|
|
18371
18371
|
"generation_data_description_text": "arată energia generată",
|
|
@@ -18430,16 +18430,16 @@ export default {
|
|
|
18430
18430
|
"matter_gradient_light_on_title": "Fade-in (e)",
|
|
18431
18431
|
"matter_gradient_overview_headline_text": "Fade-In/Out",
|
|
18432
18432
|
"matterplug_LED": "Indicator LED",
|
|
18433
|
-
"matterplug_description": "
|
|
18434
|
-
"matterplug_heading": "
|
|
18435
|
-
"matterplug_option1description": "
|
|
18436
|
-
"matterplug_option1title": "
|
|
18437
|
-
"matterplug_option2description": "
|
|
18438
|
-
"matterplug_option2title": "
|
|
18439
|
-
"matterplug_option3description": "
|
|
18440
|
-
"matterplug_option3title": "
|
|
18441
|
-
"matterplug_option4description": "
|
|
18442
|
-
"matterplug_option4title": "
|
|
18433
|
+
"matterplug_description": "Configurarea indicatorului LED după pornire/oprire",
|
|
18434
|
+
"matterplug_heading": "Starea indicatorului LED",
|
|
18435
|
+
"matterplug_option1description": "Starea comutatorului corespunde indicatorului LED: Priza este pornită când LED-ul este aprins și oprită când LED-ul este oprit.",
|
|
18436
|
+
"matterplug_option1title": "Indică starea Pornit/Oprit",
|
|
18437
|
+
"matterplug_option2description": "Starea comutatorului este indicată invers de indicatorul LED: când LED-ul este oprit, priza este aprinsă; când LED-ul este aprins, priza este oprită.",
|
|
18438
|
+
"matterplug_option2title": "Starea inversă Pornit/Oprit",
|
|
18439
|
+
"matterplug_option3description": "Indicatorul LED rămâne stins indiferent de starea prizei.",
|
|
18440
|
+
"matterplug_option3title": "Întotdeauna oprit",
|
|
18441
|
+
"matterplug_option4description": "Indicatorul LED rămâne pornit indiferent de starea prizei.",
|
|
18442
|
+
"matterplug_option4title": "Întotdeauna pornit",
|
|
18443
18443
|
"mesh_device_detail_lighting_color_mode": "Mod de culoare",
|
|
18444
18444
|
"mesh_device_detail_lighting_goodnight": "Noapte bună",
|
|
18445
18445
|
"mesh_device_detail_lighting_leisure": "Vacanță",
|
|
@@ -20691,14 +20691,14 @@ export default {
|
|
|
20691
20691
|
"country_VE": "Venzuela",
|
|
20692
20692
|
"country_VN": "Vietnam",
|
|
20693
20693
|
"country_ZA": "Sydafrika",
|
|
20694
|
-
"country_cu": "
|
|
20694
|
+
"country_cu": "Kuba",
|
|
20695
20695
|
"country_england": "England",
|
|
20696
|
-
"country_gb": "
|
|
20696
|
+
"country_gb": "Storbritannien",
|
|
20697
20697
|
"country_ir": "Iran",
|
|
20698
20698
|
"country_pe": "Peru",
|
|
20699
20699
|
"country_scotland": "Skottland",
|
|
20700
20700
|
"country_selection_textfield_headline_search": "Sök",
|
|
20701
|
-
"country_sy": "
|
|
20701
|
+
"country_sy": "Syrien",
|
|
20702
20702
|
"device_menu_camera_fourthbox_text2": "Inspelningsläge",
|
|
20703
20703
|
"device_menu_camera_fourthbox_topic": "Inspelningar med SD-kort",
|
|
20704
20704
|
"device_menu_camera_secondbox_text3": "Vänd skärm",
|
|
@@ -20803,8 +20803,8 @@ export default {
|
|
|
20803
20803
|
"flag_deletepopup": "Vill du verkligen ta bort flaggan?",
|
|
20804
20804
|
"flag_edittheflag": "Redigera flaggan",
|
|
20805
20805
|
"flag_leverkusen": "Bayer Leverkusen",
|
|
20806
|
-
"flag_resetbutton": "
|
|
20807
|
-
"flag_resetdescription": "
|
|
20806
|
+
"flag_resetbutton": "Vill du återställa dina flaggdata?",
|
|
20807
|
+
"flag_resetdescription": "Observera att alla anpassade flaggor kommer att återställas.",
|
|
20808
20808
|
"flashing_fs_toggle_state1": "Snabb animation",
|
|
20809
20809
|
"flashing_fs_toggle_state2": "Långsam animation",
|
|
20810
20810
|
"generation_data_description_text": "visar producerad energi",
|
|
@@ -20869,16 +20869,16 @@ export default {
|
|
|
20869
20869
|
"matter_gradient_light_on_title": "Tona in (s)",
|
|
20870
20870
|
"matter_gradient_overview_headline_text": "Tona in/ut",
|
|
20871
20871
|
"matterplug_LED": "LED-indikator",
|
|
20872
|
-
"matterplug_description": "
|
|
20873
|
-
"matterplug_heading": "
|
|
20874
|
-
"matterplug_option1description": "
|
|
20875
|
-
"matterplug_option1title": "
|
|
20876
|
-
"matterplug_option2description": "
|
|
20877
|
-
"matterplug_option2title": "
|
|
20878
|
-
"matterplug_option3description": "
|
|
20879
|
-
"matterplug_option3title": "
|
|
20880
|
-
"matterplug_option4description": "
|
|
20881
|
-
"matterplug_option4title": "
|
|
20872
|
+
"matterplug_description": "Konfiguration av LED-indikatorn efter att ha slagits på/av",
|
|
20873
|
+
"matterplug_heading": "Status för LED-indikator",
|
|
20874
|
+
"matterplug_option1description": "Strömbrytarens status motsvarar LED-indikatorn: Uttaget är på när lysdioden lyser och är avstängt när lysdioden är släckt.",
|
|
20875
|
+
"matterplug_option1title": "Indikerar på/av-status",
|
|
20876
|
+
"matterplug_option2description": "Strömbrytarens status indikeras omvänt av LED-indikatorn: när lysdioden är släckt är uttaget på; när lysdioden lyser är uttaget släckt.",
|
|
20877
|
+
"matterplug_option2title": "Omvänd på/av-status",
|
|
20878
|
+
"matterplug_option3description": "LED-indikatorn förblir avstängd oavsett smartpluggens status.",
|
|
20879
|
+
"matterplug_option3title": "Alltid avstängd",
|
|
20880
|
+
"matterplug_option4description": "LED-indikatorn förblir påslagen oavsett uttagets status.",
|
|
20881
|
+
"matterplug_option4title": "Alltid på",
|
|
20882
20882
|
"mesh_device_detail_lighting_color_mode": "Färgläge",
|
|
20883
20883
|
"mesh_device_detail_lighting_goodnight": "Godnatt",
|
|
20884
20884
|
"mesh_device_detail_lighting_leisure": "Fritid",
|
|
@@ -22054,11 +22054,11 @@ export default {
|
|
|
22054
22054
|
"camera_feature_1_headline": "Сирена",
|
|
22055
22055
|
"camera_feature_2_headline": "Мікрофон",
|
|
22056
22056
|
"camera_feature_5_headline": "Записи",
|
|
22057
|
-
"camera_mic_two_way_talking": "
|
|
22058
|
-
"camera_net_err": "
|
|
22059
|
-
"camera_private_mode_sleep": "
|
|
22060
|
-
"camera_private_mode_sleep_close": "
|
|
22061
|
-
"camera_re_connect_stream": "
|
|
22057
|
+
"camera_mic_two_way_talking": "Виклик.....",
|
|
22058
|
+
"camera_net_err": "Підключення до пристрою перервано, будь ласка, перевірте пристрій та його мережу",
|
|
22059
|
+
"camera_private_mode_sleep": "Пристрій перебуває в режимі сну",
|
|
22060
|
+
"camera_private_mode_sleep_close": "Увімкніть камеру",
|
|
22061
|
+
"camera_re_connect_stream": "Повторне підключення, будь ласка, зачекайте",
|
|
22062
22062
|
"camera_settings_button_text": "Формат",
|
|
22063
22063
|
"camera_settings_format_sd_card_note": "Зауважте, що всі ваші дані буде видалено, і їх неможливо буде відновити",
|
|
22064
22064
|
"camera_settings_format_sd_card_topic": "Ви дійсно хочете відформатувати SD-карту?",
|
|
@@ -22090,11 +22090,11 @@ export default {
|
|
|
22090
22090
|
"camera_tile_camera_record_msg": "Запис {0}",
|
|
22091
22091
|
"camera_tile_camera_save_msg": "збережено на телефоні",
|
|
22092
22092
|
"camera_tile_dim_lighting_headline": "Освітлення",
|
|
22093
|
-
"camera_video_device_busy": "
|
|
22094
|
-
"camera_video_get_stream_failure": "
|
|
22095
|
-
"camera_video_get_stream_ing": "
|
|
22096
|
-
"camera_video_stream_retry": "
|
|
22097
|
-
"camera_video_stream_retry_play": "
|
|
22093
|
+
"camera_video_device_busy": "Пристрій зайнято. Будь ласка, спробуйте ще раз.",
|
|
22094
|
+
"camera_video_get_stream_failure": "Не вдалося відновити потік відеоданих",
|
|
22095
|
+
"camera_video_get_stream_ing": "Відновлення потоку відеоданих",
|
|
22096
|
+
"camera_video_stream_retry": "Натисніть, щоб повторити спробу",
|
|
22097
|
+
"camera_video_stream_retry_play": "Натисніть, щоб відтворити",
|
|
22098
22098
|
"cancel_dialog_delete_item_bio_rhythm_titel": "Ви дійсно хочете видалити час запуску?",
|
|
22099
22099
|
"cancel_dialog_delete_item_fixedtimecycle_answer_no_text": "Ні",
|
|
22100
22100
|
"cancel_dialog_delete_item_fixedtimecycle_answer_yes_text": "Так",
|
|
@@ -22197,7 +22197,7 @@ export default {
|
|
|
22197
22197
|
"conflict_dialog_save_item_wakeupschedule_titel": "Ви дійсно хочете зберегти та активувати цей розклад пробудження?",
|
|
22198
22198
|
"consumption_data_annual_bar_chart_system_back_text": "Споживання енергії",
|
|
22199
22199
|
"consumption_data_annual_bar_chart_text": "Одиниці: кВт/год",
|
|
22200
|
-
"consumption_data_description_text": "показує спожиту енергію
|
|
22200
|
+
"consumption_data_description_text": "показує спожиту енергію",
|
|
22201
22201
|
"consumption_data_field1_headline_text": "Сьогодні",
|
|
22202
22202
|
"consumption_data_field2_headline_text": "Поточне",
|
|
22203
22203
|
"consumption_data_field2_value_text1": "Потужність (Вт)",
|
|
@@ -22317,14 +22317,14 @@ export default {
|
|
|
22317
22317
|
"country_VE": "Венесуела",
|
|
22318
22318
|
"country_VN": "В'єтнам",
|
|
22319
22319
|
"country_ZA": "Південна Африка",
|
|
22320
|
-
"country_cu": "
|
|
22320
|
+
"country_cu": "Куба",
|
|
22321
22321
|
"country_england": "Англія",
|
|
22322
|
-
"country_gb": "
|
|
22323
|
-
"country_ir": "
|
|
22324
|
-
"country_pe": "
|
|
22322
|
+
"country_gb": "Великобританія",
|
|
22323
|
+
"country_ir": "Іран",
|
|
22324
|
+
"country_pe": "Перу",
|
|
22325
22325
|
"country_scotland": "Шотландія",
|
|
22326
22326
|
"country_selection_textfield_headline_search": "Пошук",
|
|
22327
|
-
"country_sy": "
|
|
22327
|
+
"country_sy": "Сирія",
|
|
22328
22328
|
"device_menu_camera_fourthbox_text2": "Режим запису",
|
|
22329
22329
|
"device_menu_camera_fourthbox_topic": "Записи SD карти",
|
|
22330
22330
|
"device_menu_camera_secondbox_text3": "Перевернути екран",
|
|
@@ -22429,11 +22429,11 @@ export default {
|
|
|
22429
22429
|
"flag_deletepopup": "Ви дійсно хочете видалити прапор?",
|
|
22430
22430
|
"flag_edittheflag": "Відредагуйте прапорець",
|
|
22431
22431
|
"flag_leverkusen": "Bayer Leverkusen",
|
|
22432
|
-
"flag_resetbutton": "
|
|
22433
|
-
"flag_resetdescription": "
|
|
22432
|
+
"flag_resetbutton": "Бажаєте скинути обраний прапор?",
|
|
22433
|
+
"flag_resetdescription": "Зверніть увагу, що всі налаштування прапорів будуть скинуті.",
|
|
22434
22434
|
"flashing_fs_toggle_state1": "Швидка анімація",
|
|
22435
22435
|
"flashing_fs_toggle_state2": "Повільна анімація",
|
|
22436
|
-
"generation_data_description_text": "показує
|
|
22436
|
+
"generation_data_description_text": "показує вироблену енергію",
|
|
22437
22437
|
"group_conflict_feature": "Зверніть увагу, що всі конфліктні графіки (якщо такі є) будуть деактивовані.",
|
|
22438
22438
|
"group_feature_biological_rhythm_applyfor_information": "Можливо, не всі пристрої підтримують функцію «Біологічний ритм».",
|
|
22439
22439
|
"group_feature_music_secondsection_note": "Світло синхронізується з музикою, яку збирає мікрофон смартфона",
|
|
@@ -22495,16 +22495,16 @@ export default {
|
|
|
22495
22495
|
"matter_gradient_light_on_title": "Затухання (и)",
|
|
22496
22496
|
"matter_gradient_overview_headline_text": "Зміна/вихід",
|
|
22497
22497
|
"matterplug_LED": "Світлодіодний індикатор",
|
|
22498
|
-
"matterplug_description": "
|
|
22499
|
-
"matterplug_heading": "
|
|
22500
|
-
"matterplug_option1description": "
|
|
22501
|
-
"matterplug_option1title": "
|
|
22502
|
-
"matterplug_option2description": "
|
|
22503
|
-
"matterplug_option2title": "
|
|
22504
|
-
"matterplug_option3description": "
|
|
22505
|
-
"matterplug_option3title": "
|
|
22506
|
-
"matterplug_option4description": "
|
|
22507
|
-
"matterplug_option4title": "
|
|
22498
|
+
"matterplug_description": "Конфігурація світлодіодного індикатора після ввімкнення/вимкнення",
|
|
22499
|
+
"matterplug_heading": "Стан світлодіодного індикатора",
|
|
22500
|
+
"matterplug_option1description": "Статус перемикача відображаеться на світлодіодному індикаторі: розетка вмикається, коли світлодіод горить, і вимикається, коли світлодіод не горить.",
|
|
22501
|
+
"matterplug_option1title": "Вказує на зміну статус \"увімкнено\"/\"вимкнено\"",
|
|
22502
|
+
"matterplug_option2description": "Стан перемикача відображається на світлодіодному індикаторі: коли світлодіод не горить, розетка включена; коли світлодіод горить, розетка вимкнена.",
|
|
22503
|
+
"matterplug_option2title": "Змінювати параметри \"увімкнення\"/\"вимкнення\"",
|
|
22504
|
+
"matterplug_option3description": "Світлодіодний індикатор залишається вимкненим незалежно від стану штекера.",
|
|
22505
|
+
"matterplug_option3title": "Завжди вимкнений",
|
|
22506
|
+
"matterplug_option4description": "Світлодіодний індикатор залишається увімкненим незалежно від стану розетки.",
|
|
22507
|
+
"matterplug_option4title": "Завжди ввімкнений",
|
|
22508
22508
|
"mesh_device_detail_lighting_color_mode": "Режим кольору",
|
|
22509
22509
|
"mesh_device_detail_lighting_goodnight": "Надобраніч",
|
|
22510
22510
|
"mesh_device_detail_lighting_leisure": "Відпочинок",
|
|
@@ -22534,7 +22534,7 @@ export default {
|
|
|
22534
22534
|
"mood_overview_headline_text": "Настрій",
|
|
22535
22535
|
"mood_overview_information_text": "Статичні настрої зберігаються локально на вашому смартфоні. Тому ними не можна ділитися з іншими користувачами.",
|
|
22536
22536
|
"mood_overview_warning_max_number_text": "Досягнуто максимальної кількості настроїв.",
|
|
22537
|
-
"mood_preview": "
|
|
22537
|
+
"mood_preview": "Попередній перегляд",
|
|
22538
22538
|
"motion_detection_add_time_schedule_actions_text1": "Дії",
|
|
22539
22539
|
"motion_detection_add_time_schedule_headline_text": "Додати новий розклад",
|
|
22540
22540
|
"motion_detection_add_time_schedule_selectionfield_text": "Ім'я",
|
|
@@ -404,11 +404,13 @@ export function useFeatureHook<GC, T extends PropertyValueTypes<GC>>(
|
|
|
404
404
|
getExtraConfig?: (v: T) => any,
|
|
405
405
|
): [T, (value: T) => Promise<Result<any>>] {
|
|
406
406
|
const [featureHook, setFH] = useGroupConfigFeature<GC, T>(featureKey)
|
|
407
|
-
const setFeatureHook = useCallback(async (value: T) => {
|
|
407
|
+
const setFeatureHook = useCallback(async (value: T, extraDps?: any, extraConfig?: any) => {
|
|
408
408
|
const dpValue = valueMapToDpValue ? valueMapToDpValue(value) : value
|
|
409
|
-
const
|
|
410
|
-
const
|
|
411
|
-
|
|
409
|
+
const defDps = getExtraDps ? getExtraDps(value) : undefined
|
|
410
|
+
const dps = {...(defDps || {}), ...(extraDps || {})}
|
|
411
|
+
const defConfig = getExtraConfig ? getExtraConfig(value) : undefined
|
|
412
|
+
const config = {...(defConfig || {}), ...(extraConfig || {})}
|
|
413
|
+
return await setFH(value, dpValue, dps, config)
|
|
412
414
|
}, [setFH])
|
|
413
415
|
return [featureHook ?? defValue, setFeatureHook]
|
|
414
416
|
}
|