@geotab/zenith 3.17.1-beta.1 → 3.17.1-beta.3
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/README.md +8 -7
- package/dist/checkboxListWithAction/checkboxListWithAction.d.ts +7 -0
- package/dist/checkboxListWithAction/checkboxListWithAction.js +57 -44
- package/dist/dropdownRaw/dropdownHelper.d.ts +4 -0
- package/dist/dropdownRaw/dropdownHelper.js +11 -3
- package/dist/dropdownRaw/types.d.ts +6 -0
- package/dist/index.css +104 -2
- package/dist/mobileSheet/mobileSheet.js +1 -0
- package/dist/selectList/selectListItem.d.ts +7 -1
- package/dist/selectList/selectListItem.js +24 -7
- package/dist/utils/localization/translations/ar-001.json +2 -1
- package/dist/utils/localization/translations/bg-BG.json +2 -1
- package/dist/utils/localization/translations/cs.json +2 -1
- package/dist/utils/localization/translations/da-DK.json +2 -1
- package/dist/utils/localization/translations/de.json +2 -1
- package/dist/utils/localization/translations/el-GR.json +2 -1
- package/dist/utils/localization/translations/en.json +2 -1
- package/dist/utils/localization/translations/es.json +2 -1
- package/dist/utils/localization/translations/et-EE.json +2 -1
- package/dist/utils/localization/translations/fi-FI.json +2 -1
- package/dist/utils/localization/translations/fr-FR.json +2 -1
- package/dist/utils/localization/translations/fr.json +2 -1
- package/dist/utils/localization/translations/hu-HU.json +2 -1
- package/dist/utils/localization/translations/id.json +2 -1
- package/dist/utils/localization/translations/it.json +2 -1
- package/dist/utils/localization/translations/ja.json +2 -1
- package/dist/utils/localization/translations/ka-GE.json +2 -1
- package/dist/utils/localization/translations/ko-KR.json +2 -1
- package/dist/utils/localization/translations/lt-LT.json +2 -1
- package/dist/utils/localization/translations/lv-LV.json +2 -1
- package/dist/utils/localization/translations/ms.json +2 -1
- package/dist/utils/localization/translations/nb-NO.json +2 -1
- package/dist/utils/localization/translations/nl.json +2 -1
- package/dist/utils/localization/translations/pl.json +2 -1
- package/dist/utils/localization/translations/pt-BR.json +2 -1
- package/dist/utils/localization/translations/pt-PT.json +2 -1
- package/dist/utils/localization/translations/ro-RO.json +2 -1
- package/dist/utils/localization/translations/sk-SK.json +2 -1
- package/dist/utils/localization/translations/sv.json +2 -1
- package/dist/utils/localization/translations/th.json +2 -1
- package/dist/utils/localization/translations/tr.json +2 -1
- package/dist/utils/localization/translations/zh-Hans.json +2 -1
- package/dist/utils/localization/translations/zh-TW.json +2 -1
- package/esm/checkboxListWithAction/checkboxListWithAction.d.ts +7 -0
- package/esm/checkboxListWithAction/checkboxListWithAction.js +52 -44
- package/esm/dropdownRaw/dropdownHelper.d.ts +4 -0
- package/esm/dropdownRaw/dropdownHelper.js +11 -3
- package/esm/dropdownRaw/types.d.ts +6 -0
- package/esm/mobileSheet/mobileSheet.js +1 -0
- package/esm/selectList/selectListItem.d.ts +7 -1
- package/esm/selectList/selectListItem.js +22 -8
- package/esm/utils/localization/translations/ar-001.json +2 -1
- package/esm/utils/localization/translations/bg-BG.json +2 -1
- package/esm/utils/localization/translations/cs.json +2 -1
- package/esm/utils/localization/translations/da-DK.json +2 -1
- package/esm/utils/localization/translations/de.json +2 -1
- package/esm/utils/localization/translations/el-GR.json +2 -1
- package/esm/utils/localization/translations/en.json +2 -1
- package/esm/utils/localization/translations/es.json +2 -1
- package/esm/utils/localization/translations/et-EE.json +2 -1
- package/esm/utils/localization/translations/fi-FI.json +2 -1
- package/esm/utils/localization/translations/fr-FR.json +2 -1
- package/esm/utils/localization/translations/fr.json +2 -1
- package/esm/utils/localization/translations/hu-HU.json +2 -1
- package/esm/utils/localization/translations/id.json +2 -1
- package/esm/utils/localization/translations/it.json +2 -1
- package/esm/utils/localization/translations/ja.json +2 -1
- package/esm/utils/localization/translations/ka-GE.json +2 -1
- package/esm/utils/localization/translations/ko-KR.json +2 -1
- package/esm/utils/localization/translations/lt-LT.json +2 -1
- package/esm/utils/localization/translations/lv-LV.json +2 -1
- package/esm/utils/localization/translations/ms.json +2 -1
- package/esm/utils/localization/translations/nb-NO.json +2 -1
- package/esm/utils/localization/translations/nl.json +2 -1
- package/esm/utils/localization/translations/pl.json +2 -1
- package/esm/utils/localization/translations/pt-BR.json +2 -1
- package/esm/utils/localization/translations/pt-PT.json +2 -1
- package/esm/utils/localization/translations/ro-RO.json +2 -1
- package/esm/utils/localization/translations/sk-SK.json +2 -1
- package/esm/utils/localization/translations/sv.json +2 -1
- package/esm/utils/localization/translations/th.json +2 -1
- package/esm/utils/localization/translations/tr.json +2 -1
- package/esm/utils/localization/translations/zh-Hans.json +2 -1
- package/esm/utils/localization/translations/zh-TW.json +2 -1
- package/package.json +1 -4
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Ansicht anpassen",
|
|
348
348
|
"Select menu": "Menü auswählen",
|
|
349
349
|
"Increase value": "Wert erhöhen",
|
|
350
|
-
"Decrease value": "Wert verringern"
|
|
350
|
+
"Decrease value": "Wert verringern",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Dieses Element enthält zusätzliche Aktionen. Drücken Sie die rechte Pfeiltaste, um zu erweitern. Drücken Sie die linke Pfeiltaste, um zurückzugehen."
|
|
351
352
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Μεγαλύτερο:",
|
|
356
356
|
"Smallest:": "Μικρότερο:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Υπόλοιπα: {COUNT} τμήματα αντιστοιχούν στο {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Λεπτομέρειες, {COUNT} στοιχεία:"
|
|
358
|
+
"Details, {COUNT} items:": "Λεπτομέρειες, {COUNT} στοιχεία:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Αυτό το στοιχείο έχει πρόσθετες ενέργειες. Πατήστε το πλήκτρο δεξιού βέλους για ανάπτυξη. Πατήστε το πλήκτρο αριστερού βέλους για επιστροφή."
|
|
359
360
|
}
|
|
@@ -380,5 +380,6 @@
|
|
|
380
380
|
"Minutes": "Minutes",
|
|
381
381
|
"Month": "Month",
|
|
382
382
|
"Year": "Year",
|
|
383
|
-
"Month and year": "Month and year"
|
|
383
|
+
"Month and year": "Month and year",
|
|
384
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back."
|
|
384
385
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Personalizar vista",
|
|
348
348
|
"Select menu": "Seleccionar menú",
|
|
349
349
|
"Increase value": "Aumentar valor",
|
|
350
|
-
"Decrease value": "Disminuir valor"
|
|
350
|
+
"Decrease value": "Disminuir valor",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Este elemento tiene acciones adicionales. Presione la tecla de flecha derecha para expandir. Presione la tecla de flecha izquierda para regresar."
|
|
351
352
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Suurim:",
|
|
356
356
|
"Smallest:": "Väikseim:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Ülejäänud: {COUNT} sektorit moodustavad {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Üksikasjad, {COUNT} üksust:"
|
|
358
|
+
"Details, {COUNT} items:": "Üksikasjad, {COUNT} üksust:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Sellel üksusel on lisatoimingud. Vajutage laiendamiseks paremat nooleklahvi. Vajutage tagasi liikumiseks vasakut nooleklahvi."
|
|
359
360
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Suurin:",
|
|
356
356
|
"Smallest:": "Pienin:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Muut: {COUNT} muuta segmenttiä kattaa {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Tiedot, {COUNT} kohdetta:"
|
|
358
|
+
"Details, {COUNT} items:": "Tiedot, {COUNT} kohdetta:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Tällä kohteella on lisätoimintoja. Paina oikeaa nuolinäppäintä laajentaaksesi. Paina vasenta nuolinäppäintä palataksesi takaisin."
|
|
359
360
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Personnaliser la vue",
|
|
348
348
|
"Select menu": "Sélectionner le menu",
|
|
349
349
|
"Increase value": "Augmenter la valeur",
|
|
350
|
-
"Decrease value": "Diminuer la valeur"
|
|
350
|
+
"Decrease value": "Diminuer la valeur",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Cet élément dispose d’actions supplémentaires. Appuyez sur la flèche vers la droite pour agrandir. Appuyez sur la flèche gauche pour revenir en arrière."
|
|
351
352
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Personnaliser la vue",
|
|
348
348
|
"Select menu": "Sélectionner le menu",
|
|
349
349
|
"Increase value": "Augmenter la valeur",
|
|
350
|
-
"Decrease value": "Diminuer la valeur"
|
|
350
|
+
"Decrease value": "Diminuer la valeur",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Cet élément comporte des actions supplémentaires. Appuyez sur la touche fléchée de droite pour développer. Appuyez sur la touche fléchée de gauche pour revenir en arrière."
|
|
351
352
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Legnagyobb:",
|
|
356
356
|
"Smallest:": "Legkisebb:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Többi: {COUNT} egyéb szelet teszi ki a {PCT}%-ot.",
|
|
358
|
-
"Details, {COUNT} items:": "Részletek, {COUNT} elem:"
|
|
358
|
+
"Details, {COUNT} items:": "Részletek, {COUNT} elem:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Ez a tétel további műveleteket tartalmaz. Nyomja meg a jobb nyíl kulcsot a kibővítéshez. Nyomja le a balos nyíl kulcsot, hogy visszalépjen."
|
|
359
360
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Sesuaikan tampilan",
|
|
348
348
|
"Select menu": "Pilih menu",
|
|
349
349
|
"Increase value": "Tambah nilai",
|
|
350
|
-
"Decrease value": "Kurangi nilai"
|
|
350
|
+
"Decrease value": "Kurangi nilai",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Item ini memiliki tindakan tambahan. Tekan tombol panah kanan untuk meluaskan. Tekan tombol panah kiri untuk kembali."
|
|
351
352
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Personalizza visualizzazione",
|
|
348
348
|
"Select menu": "Seleziona menu",
|
|
349
349
|
"Increase value": "Aumenta valore",
|
|
350
|
-
"Decrease value": "Diminuisci valore"
|
|
350
|
+
"Decrease value": "Diminuisci valore",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Questo elemento presenta azioni ulteriori. Premere il tasto freccia destra per espandere. Premere il tasto freccia sinistra per tornare indietro."
|
|
351
352
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "ビューをカスタマイズ",
|
|
348
348
|
"Select menu": "メニューを選択",
|
|
349
349
|
"Increase value": "値を増やす",
|
|
350
|
-
"Decrease value": "値を減らす"
|
|
350
|
+
"Decrease value": "値を減らす",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "この項目には追加のアクションがあります。右矢印キーを押すと展開されます。左矢印キーを押すと、戻ります。"
|
|
351
352
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "ყველაზე დიდი:",
|
|
356
356
|
"Smallest:": "ყველაზე პატარა:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "დანარჩენი: {COUNT} სეგმენტი შეადგენს {PCT}%-ს.",
|
|
358
|
-
"Details, {COUNT} items:": "დეტალები, {COUNT} ელემენტი:"
|
|
358
|
+
"Details, {COUNT} items:": "დეტალები, {COUNT} ელემენტი:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "ამ ელემენტს აქვს დამატებითი მოქმედებები. გასაშლელად დააჭირეთ მარჯვენა ისრის ღილაკს. უკან დასაბრუნებლად დააჭირეთ მარცხენა ისრის ღილაკს."
|
|
359
360
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "보기 사용자 지정",
|
|
348
348
|
"Select menu": "메뉴 선택",
|
|
349
349
|
"Increase value": "값 증가",
|
|
350
|
-
"Decrease value": "값 감소"
|
|
350
|
+
"Decrease value": "값 감소",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "이 항목에는 추가 작업이 있습니다. 오른쪽 화살표 키를 눌러 확장하십시오. 왼쪽 화살표 키를 눌러 뒤로 이동하십시오."
|
|
351
352
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Didžiausias:",
|
|
356
356
|
"Smallest:": "Mažiausias:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Kiti: {COUNT} segmentai sudaro {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Detalės, {COUNT} elementai:"
|
|
358
|
+
"Details, {COUNT} items:": "Detalės, {COUNT} elementai:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Šis elementas turi papildomų veiksmų. Paspauskite dešiniosios rodyklės klavišą, kad išskleistumėte. Paspauskite kairiosios rodyklės klavišą, kad grįžtumėte."
|
|
359
360
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Lielākais:",
|
|
356
356
|
"Smallest:": "Mazākais:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Pārējie: {COUNT} sektori veido {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Detaļas, {COUNT} vienumi:"
|
|
358
|
+
"Details, {COUNT} items:": "Detaļas, {COUNT} vienumi:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Šim vienumam ir papildu darbības. Nospiediet labo bulttaustiņu, lai izvērstu. Nospiediet kreiso bulttaustiņu, lai atgrieztos."
|
|
359
360
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Terbesar:",
|
|
356
356
|
"Smallest:": "Terkecil:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Selebihnya: {COUNT} hirisan lain mewakili {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Butiran, {COUNT} item:"
|
|
358
|
+
"Details, {COUNT} items:": "Butiran, {COUNT} item:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Item ini mempunyai tindakan tambahan. Tekan kekunci anak panah kanan untuk mengembangkan. Tekan kekunci anak panah kiri untuk kembali."
|
|
359
360
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Størst:",
|
|
356
356
|
"Smallest:": "Minst:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Resten: {COUNT} andre utsnitt utgjør {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Detaljer, {COUNT} elementer:"
|
|
358
|
+
"Details, {COUNT} items:": "Detaljer, {COUNT} elementer:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Dette elementet har flere handlinger. Trykk på høyre piltast for å utvide. Trykk på venstre piltast for å gå tilbake."
|
|
359
360
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Grootste:",
|
|
356
356
|
"Smallest:": "Kleinste:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Rest: {COUNT} andere segmenten zijn goed voor {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Details, {COUNT} items:"
|
|
358
|
+
"Details, {COUNT} items:": "Details, {COUNT} items:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Dit item heeft extra acties. Druk op de pijltoets naar rechts om uit te vouwen. Druk op de pijltoets naar links om terug te gaan."
|
|
359
360
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Dostosuj widok",
|
|
348
348
|
"Select menu": "Wybierz menu",
|
|
349
349
|
"Increase value": "Zwiększ wartość",
|
|
350
|
-
"Decrease value": "Zmniejsz wartość"
|
|
350
|
+
"Decrease value": "Zmniejsz wartość",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Ten element ma dodatkowe działania. Naciśnij strzałkę w prawo, aby rozwinąć. Naciśnij strzałkę w lewo, aby wrócić."
|
|
351
352
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Maior:",
|
|
356
356
|
"Smallest:": "Menor:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Restante: {COUNT} outras fatias representam {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Detalhes, {COUNT} itens:"
|
|
358
|
+
"Details, {COUNT} items:": "Detalhes, {COUNT} itens:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Este item possui ações adicionais. Pressione a tecla de seta para a direita para expandir. Pressione a tecla de seta para a esquerda para voltar."
|
|
359
360
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Personalizar vista",
|
|
348
348
|
"Select menu": "Selecionar menu",
|
|
349
349
|
"Increase value": "Aumentar valor",
|
|
350
|
-
"Decrease value": "Diminuir valor"
|
|
350
|
+
"Decrease value": "Diminuir valor",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Este item tem ações adicionais. Prima a tecla de seta para a direita para expandir. Prima a tecla de seta para a esquerda para voltar atrás."
|
|
351
352
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Personalizați vizualizarea",
|
|
348
348
|
"Select menu": "Selectați meniul",
|
|
349
349
|
"Increase value": "Creșteți valoarea",
|
|
350
|
-
"Decrease value": "Reduceți valoarea"
|
|
350
|
+
"Decrease value": "Reduceți valoarea",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Acest element are acțiuni suplimentare. Apăsați tasta săgeată dreapta pentru a extinde. Apăsați tasta săgeată stânga pentru a reveni."
|
|
351
352
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Najväčší:",
|
|
356
356
|
"Smallest:": "Najmenší:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Zvyšok: {COUNT} ďalších výsekov tvorí {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Podrobnosti, {COUNT} položiek:"
|
|
358
|
+
"Details, {COUNT} items:": "Podrobnosti, {COUNT} položiek:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Táto položka má ďalšie akcie. Stlačením klávesu so šípkou doprava rozbalíte. Stlačením klávesu so šípkou doľava sa vrátite späť."
|
|
359
360
|
}
|
|
@@ -355,5 +355,6 @@
|
|
|
355
355
|
"Largest:": "Störst:",
|
|
356
356
|
"Smallest:": "Minst:",
|
|
357
357
|
"Rest: {COUNT} other slices account for {PCT}%.": "Övriga: {COUNT} andra segment svarar för {PCT}%.",
|
|
358
|
-
"Details, {COUNT} items:": "Detaljer, {COUNT} objekt:"
|
|
358
|
+
"Details, {COUNT} items:": "Detaljer, {COUNT} objekt:",
|
|
359
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Denna artikel har ytterligare åtgärder. Tryck på högerpiltangenten för att expandera. Tryck på vänsterpiltangent för att gå tillbaka."
|
|
359
360
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "ปรับแต่งมุมมอง",
|
|
348
348
|
"Select menu": "เลือกเมนู",
|
|
349
349
|
"Increase value": "เพิ่มค่า",
|
|
350
|
-
"Decrease value": "ลดค่า"
|
|
350
|
+
"Decrease value": "ลดค่า",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "รายการนี้มีการดำเนินการเพิ่มเติม กดปุ่มลูกศรขวาเพื่อขยาย กดปุ่มลูกศรซ้ายเพื่อย้อนกลับ"
|
|
351
352
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "Görünümü özelleştir",
|
|
348
348
|
"Select menu": "Menü seç",
|
|
349
349
|
"Increase value": "Değeri artır",
|
|
350
|
-
"Decrease value": "Değeri azalt"
|
|
350
|
+
"Decrease value": "Değeri azalt",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "Bu öğenin ek eylemleri var. Genişletmek için sağ ok tuşuna basın. Geri dönmek için sol ok tuşuna basın."
|
|
351
352
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "自定义视图",
|
|
348
348
|
"Select menu": "选择菜单",
|
|
349
349
|
"Increase value": "增加值",
|
|
350
|
-
"Decrease value": "减少值"
|
|
350
|
+
"Decrease value": "减少值",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "此项目有附加操作。按右箭头键展开。按左箭头键返回。"
|
|
351
352
|
}
|
|
@@ -347,5 +347,6 @@
|
|
|
347
347
|
"Customize view": "自訂檢視",
|
|
348
348
|
"Select menu": "選擇功能表",
|
|
349
349
|
"Increase value": "增加值",
|
|
350
|
-
"Decrease value": "減少值"
|
|
350
|
+
"Decrease value": "減少值",
|
|
351
|
+
"This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.": "此項目有其他動作。按下向右箭頭鍵以展開。按下向左箭頭鍵以返回。"
|
|
351
352
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import React from "react";
|
|
1
3
|
import "./checkboxListWithAction.less";
|
|
2
4
|
import { IZenComponentProps } from "../commonHelpers/zenComponent";
|
|
3
5
|
import { IColor } from "../groupsFilterRaw/groupsFilterInterfaces";
|
|
6
|
+
import { IIcon } from "../icons/icon";
|
|
4
7
|
export interface ICheckboxListWithActionOption {
|
|
5
8
|
label: string;
|
|
6
9
|
title?: string;
|
|
@@ -11,6 +14,10 @@ export interface ICheckboxListWithActionOption {
|
|
|
11
14
|
isWithAction: boolean;
|
|
12
15
|
countSelectedChild?: number;
|
|
13
16
|
color?: IColor;
|
|
17
|
+
/** Leading 16×16 icon rendered before the label text. */
|
|
18
|
+
icon?: FC<IIcon>;
|
|
19
|
+
/** Secondary text rendered on a second line below the primary label. */
|
|
20
|
+
metaData?: string;
|
|
14
21
|
/** When true, renders a 1px separator line below this item. */
|
|
15
22
|
divider?: boolean;
|
|
16
23
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { injectString } from "../utils/localization/translationsDictionary";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { Fragment, useCallback, useEffect, useId, useRef, useState } from "react";
|
|
4
|
+
import React from "react";
|
|
4
5
|
import { Checkbox } from "../checkbox/checkbox";
|
|
5
6
|
import { classNames } from "../commonHelpers/classNames/classNames";
|
|
6
7
|
import { IconChevronRight } from "../icons/iconChevronRight";
|
|
@@ -107,39 +108,39 @@ injectString("ka-GE", "Toggle {groupName} filter", "{groupName} \u10E4\u10D8\u10
|
|
|
107
108
|
injectString("el-GR", "Toggle {groupName} filter", "\u0395\u03BD\u03B1\u03BB\u03BB\u03B1\u03B3\u03AE \u03C6\u03AF\u03BB\u03C4\u03C1\u03BF\u03C5 {groupName}");
|
|
108
109
|
injectString("et-EE", "Toggle {groupName} filter", "L\xFClita {groupName} filter");
|
|
109
110
|
injectString("bg-BG", "Toggle {groupName} filter", "\u041F\u0440\u0435\u0432\u043A\u043B\u044E\u0447\u0432\u0430\u043D\u0435 \u043D\u0430 \u0444\u0438\u043B\u0442\u044A\u0440\u0430 \u0437\u0430 {groupName}");
|
|
110
|
-
injectString("cs", "
|
|
111
|
-
injectString("da-DK", "
|
|
112
|
-
injectString("de", "
|
|
113
|
-
injectString("en", "
|
|
114
|
-
injectString("es", "
|
|
115
|
-
injectString("fi-FI", "
|
|
116
|
-
injectString("fr", "
|
|
117
|
-
injectString("fr-FR", "
|
|
118
|
-
injectString("hu-HU", "
|
|
119
|
-
injectString("id", "
|
|
120
|
-
injectString("it", "
|
|
121
|
-
injectString("ja", "
|
|
122
|
-
injectString("ko-KR", "
|
|
123
|
-
injectString("ms", "
|
|
124
|
-
injectString("nb-NO", "
|
|
125
|
-
injectString("nl", "
|
|
126
|
-
injectString("pl", "
|
|
127
|
-
injectString("pt-BR", "
|
|
128
|
-
injectString("pt-PT", "
|
|
129
|
-
injectString("sk-SK", "
|
|
130
|
-
injectString("sv", "
|
|
131
|
-
injectString("th", "
|
|
132
|
-
injectString("tr", "
|
|
133
|
-
injectString("zh-Hans", "
|
|
134
|
-
injectString("zh-TW", "
|
|
135
|
-
injectString("ro-RO", "
|
|
136
|
-
injectString("ar-001", "
|
|
137
|
-
injectString("lt-LT", "
|
|
138
|
-
injectString("lv-LV", "
|
|
139
|
-
injectString("ka-GE", "
|
|
140
|
-
injectString("el-GR", "
|
|
141
|
-
injectString("et-EE", "
|
|
142
|
-
injectString("bg-BG", "
|
|
111
|
+
injectString("cs", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Tento polo\u017Eka m\xE1 dal\u0161\xED akce. Stiskn\u011Bte prav\xFD \u0161ipku, abyste roz\u0161\xED\u0159ili. Stiskn\u011Bte \u0161ipku doleva, abyste se vr\xE1tili zp\u011Bt.");
|
|
112
|
+
injectString("da-DK", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Dette element har yderligere handlinger. Tryk p\xE5 h\xF8jre piletast for at udvide. Tryk p\xE5 venstre piletast for at g\xE5 tilbage.");
|
|
113
|
+
injectString("de", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Dieses Element enth\xE4lt zus\xE4tzliche Aktionen. Dr\xFCcken Sie die rechte Pfeiltaste, um zu erweitern. Dr\xFCcken Sie die linke Pfeiltaste, um zur\xFCckzugehen.");
|
|
114
|
+
injectString("en", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.");
|
|
115
|
+
injectString("es", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Este elemento tiene acciones adicionales. Presione la tecla de flecha derecha para expandir. Presione la tecla de flecha izquierda para regresar.");
|
|
116
|
+
injectString("fi-FI", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "T\xE4ll\xE4 kohteella on lis\xE4toimintoja. Paina oikeaa nuolin\xE4pp\xE4int\xE4 laajentaaksesi. Paina vasenta nuolin\xE4pp\xE4int\xE4 palataksesi takaisin.");
|
|
117
|
+
injectString("fr", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Cet \xE9l\xE9ment comporte des actions suppl\xE9mentaires. Appuyez sur la touche fl\xE9ch\xE9e de droite pour d\xE9velopper. Appuyez sur la touche fl\xE9ch\xE9e de gauche pour revenir en arri\xE8re.");
|
|
118
|
+
injectString("fr-FR", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Cet \xE9l\xE9ment dispose d\u2019actions suppl\xE9mentaires. Appuyez sur la fl\xE8che vers la droite pour agrandir. Appuyez sur la fl\xE8che gauche pour revenir en arri\xE8re.");
|
|
119
|
+
injectString("hu-HU", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Ez a t\xE9tel tov\xE1bbi m\u0171veleteket tartalmaz. Nyomja meg a jobb ny\xEDl kulcsot a kib\u0151v\xEDt\xE9shez. Nyomja le a balos ny\xEDl kulcsot, hogy visszal\xE9pjen.");
|
|
120
|
+
injectString("id", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Item ini memiliki tindakan tambahan. Tekan tombol panah kanan untuk meluaskan. Tekan tombol panah kiri untuk kembali.");
|
|
121
|
+
injectString("it", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Questo elemento presenta azioni ulteriori. Premere il tasto freccia destra per espandere. Premere il tasto freccia sinistra per tornare indietro.");
|
|
122
|
+
injectString("ja", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u3053\u306E\u9805\u76EE\u306B\u306F\u8FFD\u52A0\u306E\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u3059\u3002\u53F3\u77E2\u5370\u30AD\u30FC\u3092\u62BC\u3059\u3068\u5C55\u958B\u3055\u308C\u307E\u3059\u3002\u5DE6\u77E2\u5370\u30AD\u30FC\u3092\u62BC\u3059\u3068\u3001\u623B\u308A\u307E\u3059\u3002");
|
|
123
|
+
injectString("ko-KR", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\uC774 \uD56D\uBAA9\uC5D0\uB294 \uCD94\uAC00 \uC791\uC5C5\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC624\uB978\uCABD \uD654\uC0B4\uD45C \uD0A4\uB97C \uB20C\uB7EC \uD655\uC7A5\uD558\uC2ED\uC2DC\uC624. \uC67C\uCABD \uD654\uC0B4\uD45C \uD0A4\uB97C \uB20C\uB7EC \uB4A4\uB85C \uC774\uB3D9\uD558\uC2ED\uC2DC\uC624.");
|
|
124
|
+
injectString("ms", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Item ini mempunyai tindakan tambahan. Tekan kekunci anak panah kanan untuk mengembangkan. Tekan kekunci anak panah kiri untuk kembali.");
|
|
125
|
+
injectString("nb-NO", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Dette elementet har flere handlinger. Trykk p\xE5 h\xF8yre piltast for \xE5 utvide. Trykk p\xE5 venstre piltast for \xE5 g\xE5 tilbake.");
|
|
126
|
+
injectString("nl", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Dit item heeft extra acties. Druk op de pijltoets naar rechts om uit te vouwen. Druk op de pijltoets naar links om terug te gaan.");
|
|
127
|
+
injectString("pl", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Ten element ma dodatkowe dzia\u0142ania. Naci\u015Bnij strza\u0142k\u0119 w prawo, aby rozwin\u0105\u0107. Naci\u015Bnij strza\u0142k\u0119 w lewo, aby wr\xF3ci\u0107.");
|
|
128
|
+
injectString("pt-BR", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Este item possui a\xE7\xF5es adicionais. Pressione a tecla de seta para a direita para expandir. Pressione a tecla de seta para a esquerda para voltar.");
|
|
129
|
+
injectString("pt-PT", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Este item tem a\xE7\xF5es adicionais. Prima a tecla de seta para a direita para expandir. Prima a tecla de seta para a esquerda para voltar atr\xE1s.");
|
|
130
|
+
injectString("sk-SK", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "T\xE1to polo\u017Eka m\xE1 \u010Fal\u0161ie akcie. Stla\u010Den\xEDm kl\xE1vesu so \u0161\xEDpkou doprava rozbal\xEDte. Stla\u010Den\xEDm kl\xE1vesu so \u0161\xEDpkou do\u013Eava sa vr\xE1tite sp\xE4\u0165.");
|
|
131
|
+
injectString("sv", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Denna artikel har ytterligare \xE5tg\xE4rder. Tryck p\xE5 h\xF6gerpiltangenten f\xF6r att expandera. Tryck p\xE5 v\xE4nsterpiltangent f\xF6r att g\xE5 tillbaka.");
|
|
132
|
+
injectString("th", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49\u0E21\u0E35\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21 \u0E01\u0E14\u0E1B\u0E38\u0E48\u0E21\u0E25\u0E39\u0E01\u0E28\u0E23\u0E02\u0E27\u0E32\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E22\u0E32\u0E22 \u0E01\u0E14\u0E1B\u0E38\u0E48\u0E21\u0E25\u0E39\u0E01\u0E28\u0E23\u0E0B\u0E49\u0E32\u0E22\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A");
|
|
133
|
+
injectString("tr", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Bu \xF6\u011Fenin ek eylemleri var. Geni\u015Fletmek i\xE7in sa\u011F ok tu\u015Funa bas\u0131n. Geri d\xF6nmek i\xE7in sol ok tu\u015Funa bas\u0131n.");
|
|
134
|
+
injectString("zh-Hans", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u6B64\u9879\u76EE\u6709\u9644\u52A0\u64CD\u4F5C\u3002\u6309\u53F3\u7BAD\u5934\u952E\u5C55\u5F00\u3002\u6309\u5DE6\u7BAD\u5934\u952E\u8FD4\u56DE\u3002");
|
|
135
|
+
injectString("zh-TW", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u6B64\u9805\u76EE\u6709\u5176\u4ED6\u52D5\u4F5C\u3002\u6309\u4E0B\u5411\u53F3\u7BAD\u982D\u9375\u4EE5\u5C55\u958B\u3002\u6309\u4E0B\u5411\u5DE6\u7BAD\u982D\u9375\u4EE5\u8FD4\u56DE\u3002");
|
|
136
|
+
injectString("ro-RO", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Acest element are ac\u021Biuni suplimentare. Ap\u0103sa\u021Bi tasta s\u0103geat\u0103 dreapta pentru a extinde. Ap\u0103sa\u021Bi tasta s\u0103geat\u0103 st\xE2nga pentru a reveni.");
|
|
137
|
+
injectString("ar-001", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u064A\u062D\u062A\u0648\u064A \u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0635\u0631 \u0639\u0644\u0649 \u0625\u062C\u0631\u0627\u0621\u0627\u062A \u0625\u0636\u0627\u0641\u064A\u0629. \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D \u0627\u0644\u0633\u0647\u0645 \u0627\u0644\u0623\u064A\u0645\u0646 \u0644\u0644\u062A\u0648\u0633\u064A\u0639. \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D \u0627\u0644\u0633\u0647\u0645 \u0627\u0644\u0623\u064A\u0633\u0631 \u0644\u0644\u0631\u062C\u0648\u0639.");
|
|
138
|
+
injectString("lt-LT", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u0160is elementas turi papildom\u0173 veiksm\u0173. Paspauskite de\u0161iniosios rodykl\u0117s klavi\u0161\u0105, kad i\u0161skleistum\u0117te. Paspauskite kairiosios rodykl\u0117s klavi\u0161\u0105, kad gr\u012F\u017Etum\u0117te.");
|
|
139
|
+
injectString("lv-LV", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u0160im vienumam ir papildu darb\u012Bbas. Nospiediet labo bulttausti\u0146u, lai izv\u0113rstu. Nospiediet kreiso bulttausti\u0146u, lai atgrieztos.");
|
|
140
|
+
injectString("ka-GE", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u10D0\u10DB \u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10E1 \u10D0\u10E5\u10D5\u10E1 \u10D3\u10D0\u10DB\u10D0\u10E2\u10D4\u10D1\u10D8\u10D7\u10D8 \u10DB\u10DD\u10E5\u10DB\u10D4\u10D3\u10D4\u10D1\u10D4\u10D1\u10D8. \u10D2\u10D0\u10E1\u10D0\u10E8\u10DA\u10D4\u10DA\u10D0\u10D3 \u10D3\u10D0\u10D0\u10ED\u10D8\u10E0\u10D4\u10D7 \u10DB\u10D0\u10E0\u10EF\u10D5\u10D4\u10DC\u10D0 \u10D8\u10E1\u10E0\u10D8\u10E1 \u10E6\u10D8\u10DA\u10D0\u10D9\u10E1. \u10E3\u10D9\u10D0\u10DC \u10D3\u10D0\u10E1\u10D0\u10D1\u10E0\u10E3\u10DC\u10D4\u10D1\u10DA\u10D0\u10D3 \u10D3\u10D0\u10D0\u10ED\u10D8\u10E0\u10D4\u10D7 \u10DB\u10D0\u10E0\u10EA\u10EE\u10D4\u10DC\u10D0 \u10D8\u10E1\u10E0\u10D8\u10E1 \u10E6\u10D8\u10DA\u10D0\u10D9\u10E1.");
|
|
141
|
+
injectString("el-GR", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u0391\u03C5\u03C4\u03CC \u03C4\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF \u03AD\u03C7\u03B5\u03B9 \u03C0\u03C1\u03CC\u03C3\u03B8\u03B5\u03C4\u03B5\u03C2 \u03B5\u03BD\u03AD\u03C1\u03B3\u03B5\u03B9\u03B5\u03C2. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03BF \u03C0\u03BB\u03AE\u03BA\u03C4\u03C1\u03BF \u03B4\u03B5\u03BE\u03B9\u03BF\u03CD \u03B2\u03AD\u03BB\u03BF\u03C5\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03BD\u03AC\u03C0\u03C4\u03C5\u03BE\u03B7. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03BF \u03C0\u03BB\u03AE\u03BA\u03C4\u03C1\u03BF \u03B1\u03C1\u03B9\u03C3\u03C4\u03B5\u03C1\u03BF\u03CD \u03B2\u03AD\u03BB\u03BF\u03C5\u03C2 \u03B3\u03B9\u03B1 \u03B5\u03C0\u03B9\u03C3\u03C4\u03C1\u03BF\u03C6\u03AE.");
|
|
142
|
+
injectString("et-EE", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "Sellel \xFCksusel on lisatoimingud. Vajutage laiendamiseks paremat nooleklahvi. Vajutage tagasi liikumiseks vasakut nooleklahvi.");
|
|
143
|
+
injectString("bg-BG", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.", "\u0422\u043E\u0437\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0438\u043C\u0430 \u0434\u043E\u043F\u044A\u043B\u043D\u0438\u0442\u0435\u043B\u043D\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u0441\u044A\u0441 \u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u043D\u0430\u0434\u044F\u0441\u043D\u043E, \u0437\u0430 \u0434\u0430 \u0440\u0430\u0437\u0433\u044A\u043D\u0435\u0442\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u0441\u044A\u0441 \u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u043D\u0430\u043B\u044F\u0432\u043E, \u0437\u0430 \u0434\u0430 \u0441\u0435 \u0432\u044A\u0440\u043D\u0435\u0442\u0435 \u043D\u0430\u0437\u0430\u0434.");
|
|
143
144
|
export const CheckboxListWithAction = ({
|
|
144
145
|
label,
|
|
145
146
|
options,
|
|
@@ -171,10 +172,7 @@ export const CheckboxListWithAction = ({
|
|
|
171
172
|
});
|
|
172
173
|
};
|
|
173
174
|
const handleClick = e => {
|
|
174
|
-
|
|
175
|
-
const evtTarget = e.target;
|
|
176
|
-
const elId = evtTarget.getAttribute("data-btn") || ((_a = evtTarget.parentElement) === null || _a === void 0 ? void 0 : _a.getAttribute("data-btn")) || "";
|
|
177
|
-
onClick(elId);
|
|
175
|
+
onClick(e.currentTarget.dataset.btn || "");
|
|
178
176
|
setFocusedElementType("checkbox");
|
|
179
177
|
};
|
|
180
178
|
const getFocusableElements = useCallback(() => {
|
|
@@ -375,14 +373,24 @@ export const CheckboxListWithAction = ({
|
|
|
375
373
|
"data-btn": option.property
|
|
376
374
|
} : {};
|
|
377
375
|
const childEl = _jsxs(_Fragment, {
|
|
378
|
-
children: [
|
|
376
|
+
children: [option.icon && React.createElement(option.icon, {
|
|
377
|
+
className: "zen-checkbox-list-with-action__item-icon",
|
|
378
|
+
size: "large"
|
|
379
|
+
}), _jsxs("div", Object.assign({
|
|
379
380
|
className: "zen-checkbox-list-with-action__label-text zen-ellipsis"
|
|
380
381
|
}, otherArgs, {
|
|
381
|
-
children: [
|
|
382
|
-
className: "zen-
|
|
382
|
+
children: [_jsxs("div", Object.assign({
|
|
383
|
+
className: "zen-checkbox-list-with-action__label-primary-row"
|
|
383
384
|
}, otherArgs, {
|
|
384
|
-
children:
|
|
385
|
-
|
|
385
|
+
children: [_jsx("span", Object.assign({
|
|
386
|
+
className: "zen-ellipsis"
|
|
387
|
+
}, otherArgs, {
|
|
388
|
+
children: lbl
|
|
389
|
+
})), getLabelCountSelectedChild(option.countSelectedChild, otherArgs)]
|
|
390
|
+
})), option.metaData && _jsx("span", {
|
|
391
|
+
className: "zen-checkbox-list-with-action__item-meta",
|
|
392
|
+
children: option.metaData
|
|
393
|
+
})]
|
|
386
394
|
})), _jsxs("div", Object.assign({
|
|
387
395
|
className: "zen-checkbox-list-with-action__label-info"
|
|
388
396
|
}, otherArgs, {
|
|
@@ -464,8 +472,8 @@ export const CheckboxListWithAction = ({
|
|
|
464
472
|
id: navigationInstructionsId,
|
|
465
473
|
className: "zen-checkbox-list-with-action__sr-only",
|
|
466
474
|
"aria-hidden": "true",
|
|
467
|
-
children: translate("
|
|
475
|
+
children: translate("This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back.")
|
|
468
476
|
})]
|
|
469
477
|
});
|
|
470
478
|
};
|
|
471
|
-
export const TRANSLATIONS = ["View {groupName} children", "Toggle {groupName} filter", "Number of selected child groups - {count}"];
|
|
479
|
+
export const TRANSLATIONS = ["View {groupName} children", "Toggle {groupName} filter", "Number of selected child groups - {count}", "This item has additional actions. Press the right arrow key to expand. Press the left arrow key to go back."];
|
|
@@ -38,6 +38,8 @@ export declare const applySortSelectedToTop: (items: IDropdownRawItem[], selecte
|
|
|
38
38
|
export declare const createSingleListOptions: (stateObj: IDropdownState, translate: (s: string) => string, listItem: IDropdownRawItem[]) => {
|
|
39
39
|
destructive: boolean | undefined;
|
|
40
40
|
divider?: boolean | undefined;
|
|
41
|
+
metaData?: string | undefined;
|
|
42
|
+
icon?: import("react").FC<import("..").IIcon> | undefined;
|
|
41
43
|
id: string;
|
|
42
44
|
children: string;
|
|
43
45
|
title: string;
|
|
@@ -47,6 +49,8 @@ export declare const createSingleListOptions: (stateObj: IDropdownState, transla
|
|
|
47
49
|
export declare const createListDataOptions: (stateObj: IDropdownState, translate: (s: string) => string, listItem: IDropdownRawItem[], isMultiselect: boolean, isAllSelected?: boolean) => ICheckboxListWithActionOption[] | {
|
|
48
50
|
destructive: boolean | undefined;
|
|
49
51
|
divider?: boolean | undefined;
|
|
52
|
+
metaData?: string | undefined;
|
|
53
|
+
icon?: import("react").FC<import("..").IIcon> | undefined;
|
|
50
54
|
id: string;
|
|
51
55
|
children: string;
|
|
52
56
|
title: string;
|
|
@@ -76,7 +76,7 @@ export function prepareComboOptionsForList(actionListData, translate, options, g
|
|
|
76
76
|
const selectedIds = new Set(getSelectedFn());
|
|
77
77
|
const preparedOptions = options && options.length ? options.map(option => {
|
|
78
78
|
const selectedChild = getSelectedChildFn(option.id);
|
|
79
|
-
return Object.assign(Object.assign({
|
|
79
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({
|
|
80
80
|
label: getGroupDescription(option, translate),
|
|
81
81
|
property: option.id,
|
|
82
82
|
checked: isAllSelected ? true : selectedIds.has(option.id),
|
|
@@ -86,6 +86,10 @@ export function prepareComboOptionsForList(actionListData, translate, options, g
|
|
|
86
86
|
blocked: isFlatList ? option.disabled || false : false
|
|
87
87
|
}, getTitle ? {
|
|
88
88
|
title: getTitle(option.id)
|
|
89
|
+
} : {}), option.icon ? {
|
|
90
|
+
icon: option.icon
|
|
91
|
+
} : {}), option.metaData ? {
|
|
92
|
+
metaData: option.metaData
|
|
89
93
|
} : {}), option.divider ? {
|
|
90
94
|
divider: true
|
|
91
95
|
} : {});
|
|
@@ -165,14 +169,18 @@ export const applySortSelectedToTop = (items, selectedIds, {
|
|
|
165
169
|
export const createSingleListOptions = (stateObj, translate, listItem) => {
|
|
166
170
|
const preparedOptions = listItem && listItem.length ? listItem.map(option => {
|
|
167
171
|
const description = getGroupDescription(stateObj.groupsMap[option.id] || option, translate);
|
|
168
|
-
return Object.assign(Object.assign({
|
|
172
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({
|
|
169
173
|
id: option.id,
|
|
170
174
|
children: description,
|
|
171
175
|
// Long names are truncated by `zen-ellipsis`, so expose the full text on hover
|
|
172
176
|
title: description,
|
|
173
177
|
disabled: option.disabled,
|
|
174
178
|
multiLevel: Object.keys(stateObj.groupsMap).length === 0 ? false : option.children && option.children.length > 0 && stateObj.groupsMap[option.id] !== undefined
|
|
175
|
-
}, option.
|
|
179
|
+
}, option.icon ? {
|
|
180
|
+
icon: option.icon
|
|
181
|
+
} : {}), option.metaData ? {
|
|
182
|
+
metaData: option.metaData
|
|
183
|
+
} : {}), option.divider ? {
|
|
176
184
|
divider: true
|
|
177
185
|
} : {}), {
|
|
178
186
|
destructive: option.destructive
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
1
2
|
import { TAlignment } from "../absolute/absolute";
|
|
2
3
|
import { IChipsParent } from "../chip/chip";
|
|
3
4
|
import { IEntityWithId } from "../commonHelpers/entity";
|
|
@@ -5,6 +6,7 @@ import { Exclusive } from "../commonHelpers/types/exclusive";
|
|
|
5
6
|
import { IReactFormItemController } from "../commonHelpers/zenComponent";
|
|
6
7
|
import { TFilterButton } from "../filterButton/filterButton";
|
|
7
8
|
import { IColor } from "../groupsFilterRaw/groupsFilterInterfaces";
|
|
9
|
+
import { IIcon } from "../icons/icon";
|
|
8
10
|
export interface ISelectionItemRaw {
|
|
9
11
|
id: string;
|
|
10
12
|
name?: string;
|
|
@@ -15,6 +17,10 @@ export interface IDropdownRawItem extends IEntityWithId {
|
|
|
15
17
|
children?: IEntityWithId[];
|
|
16
18
|
color?: IColor;
|
|
17
19
|
disabled?: boolean;
|
|
20
|
+
/** Leading 16×16 icon component rendered before the label. */
|
|
21
|
+
icon?: FC<IIcon>;
|
|
22
|
+
/** Secondary text rendered on a second line below the primary label. */
|
|
23
|
+
metaData?: string;
|
|
18
24
|
/** When true, renders a 1px separator line below this item. Purely visual — does not affect selection or keyboard navigation. */
|
|
19
25
|
divider?: boolean;
|
|
20
26
|
/**
|