@nanahoshi/mona-ui 0.24.8 → 0.24.9
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/fesm2022/nanahoshi-mona-ui-button-group.mjs +37 -9
- package/fesm2022/nanahoshi-mona-ui-button.mjs +8 -2
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +4 -3
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +101 -47
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +339 -101
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +119 -69
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-B6gq7Hu3.mjs → nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-DdUY3I7P.mjs → nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs} +2 -3
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-DG8Bu4Dy.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs} +9 -9
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +438 -22
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +127 -133
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +473 -240
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +202 -90
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +609 -256
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +2 -0
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +45 -10
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +102 -58
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +286 -443
- package/fesm2022/nanahoshi-mona-ui-window.mjs +591 -310
- package/i18n/catalogs/en-US.messages.json +4 -0
- package/locales/ar-sa/ar-sa.messages.json +4 -0
- package/locales/de-de/de-de.messages.json +4 -0
- package/locales/es-es/es-es.messages.json +4 -0
- package/locales/fr-fr/fr-fr.messages.json +4 -0
- package/locales/id-id/id-id.messages.json +4 -0
- package/locales/it-it/it-it.messages.json +4 -0
- package/locales/ja-jp/ja-jp.messages.json +4 -0
- package/locales/ko-kr/ko-kr.messages.json +4 -0
- package/locales/pt-br/pt-br.messages.json +4 -0
- package/locales/ru-ru/ru-ru.messages.json +4 -0
- package/locales/tr-tr/tr-tr.messages.json +4 -0
- package/locales/zh-cn/zh-cn.messages.json +4 -0
- package/locales/zh-tw/zh-tw.messages.json +4 -0
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-button-group.d.ts +13 -3
- package/types/nanahoshi-mona-ui-button.d.ts +20 -3
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +5 -6
- package/types/nanahoshi-mona-ui-dialog.d.ts +131 -20
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +75 -56
- package/types/nanahoshi-mona-ui-i18n.d.ts +19 -0
- package/types/nanahoshi-mona-ui-internal.d.ts +119 -15
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +4 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +4 -0
- package/types/nanahoshi-mona-ui-menubar.d.ts +65 -62
- package/types/nanahoshi-mona-ui-notification.d.ts +76 -16
- package/types/nanahoshi-mona-ui-popover.d.ts +44 -17
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +110 -32
- package/types/nanahoshi-mona-ui-popup.d.ts +2 -0
- package/types/nanahoshi-mona-ui-sheet.d.ts +16 -5
- package/types/nanahoshi-mona-ui-split-button.d.ts +29 -7
- package/types/nanahoshi-mona-ui-tooltip.d.ts +43 -20
- package/types/nanahoshi-mona-ui-window.d.ts +103 -14
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Close",
|
|
291
291
|
"error": "Error",
|
|
292
292
|
"info": "Info",
|
|
293
|
+
"region": "Notifications",
|
|
293
294
|
"success": "Success",
|
|
294
295
|
"warning": "Warning"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Show menu options",
|
|
351
|
+
"menuButtonWithText": "More {text} options",
|
|
350
352
|
"splitButton": "{text, select, undefined {Split button} other {{text} splitbutton}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Close window",
|
|
408
410
|
"maximize": "Maximize",
|
|
409
411
|
"minimize": "Minimize",
|
|
412
|
+
"moveOrResizeWindow": "Move or resize window. Use arrow keys to move, or Control and arrow keys to resize.",
|
|
410
413
|
"moveWindow": "Move window. Use arrow keys to move.",
|
|
411
414
|
"resizeBottom": "Resize window from the bottom. Use arrow keys to resize.",
|
|
412
415
|
"resizeBottomLeft": "Resize window from the bottom-left corner. Use arrow keys to resize.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Resize window from the top. Use arrow keys to resize.",
|
|
417
420
|
"resizeTopLeft": "Resize window from the top-left corner. Use arrow keys to resize.",
|
|
418
421
|
"resizeTopRight": "Resize window from the top-right corner. Use arrow keys to resize.",
|
|
422
|
+
"resizeWindow": "Resize window. Use Control and arrow keys to resize.",
|
|
419
423
|
"restore": "Restore"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "إغلاق",
|
|
291
291
|
"error": "خطأ",
|
|
292
292
|
"info": "معلومات",
|
|
293
|
+
"region": "الإشعارات",
|
|
293
294
|
"success": "نجاح",
|
|
294
295
|
"warning": "تحذير"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "عرض خيارات القائمة",
|
|
351
|
+
"menuButtonWithText": "مزيد من خيارات {text}",
|
|
350
352
|
"splitButton": "{text, select, undefined {زر تقسيم} other {{text}، زر تقسيم}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "إغلاق النافذة",
|
|
408
410
|
"maximize": "تكبير",
|
|
409
411
|
"minimize": "تصغير",
|
|
412
|
+
"moveOrResizeWindow": "نقل النافذة أو تغيير حجمها. استخدم مفاتيح الأسهم للتحريك، أو Ctrl مع مفاتيح الأسهم لتغيير الحجم.",
|
|
410
413
|
"moveWindow": "نقل النافذة. استخدم مفاتيح الأسهم للتحريك.",
|
|
411
414
|
"resizeBottom": "تغيير حجم النافذة من الأسفل. استخدم مفاتيح الأسهم لتغيير الحجم.",
|
|
412
415
|
"resizeBottomLeft": "تغيير حجم النافذة من الزاوية السفلية اليسرى. استخدم مفاتيح الأسهم لتغيير الحجم.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "تغيير حجم النافذة من الأعلى. استخدم مفاتيح الأسهم لتغيير الحجم.",
|
|
417
420
|
"resizeTopLeft": "تغيير حجم النافذة من الزاوية العلوية اليسرى. استخدم مفاتيح الأسهم لتغيير الحجم.",
|
|
418
421
|
"resizeTopRight": "تغيير حجم النافذة من الزاوية العلوية اليمنى. استخدم مفاتيح الأسهم لتغيير الحجم.",
|
|
422
|
+
"resizeWindow": "تغيير حجم النافذة. استخدم Ctrl مع مفاتيح الأسهم لتغيير الحجم.",
|
|
419
423
|
"restore": "استعادة"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Schließen",
|
|
291
291
|
"error": "Fehler",
|
|
292
292
|
"info": "Information",
|
|
293
|
+
"region": "Benachrichtigungen",
|
|
293
294
|
"success": "Erfolg",
|
|
294
295
|
"warning": "Warnung"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Menüoptionen anzeigen",
|
|
351
|
+
"menuButtonWithText": "Weitere Optionen für {text}",
|
|
350
352
|
"splitButton": "{text, select, undefined {Geteilte Schaltfläche} other {{text}, geteilte Schaltfläche}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Fenster schließen",
|
|
408
410
|
"maximize": "Maximieren",
|
|
409
411
|
"minimize": "Minimieren",
|
|
412
|
+
"moveOrResizeWindow": "Fenster verschieben oder Größe ändern. Pfeiltasten zum Verschieben, Strg und Pfeiltasten zum Ändern der Größe verwenden.",
|
|
410
413
|
"moveWindow": "Fenster verschieben. Pfeiltasten zum Verschieben verwenden.",
|
|
411
414
|
"resizeBottom": "Fenster von unten in der Größe ändern. Pfeiltasten zum Ändern der Größe verwenden.",
|
|
412
415
|
"resizeBottomLeft": "Fenster von der unteren linken Ecke in der Größe ändern. Pfeiltasten zum Ändern der Größe verwenden.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Fenster von oben in der Größe ändern. Pfeiltasten zum Ändern der Größe verwenden.",
|
|
417
420
|
"resizeTopLeft": "Fenster von der oberen linken Ecke in der Größe ändern. Pfeiltasten zum Ändern der Größe verwenden.",
|
|
418
421
|
"resizeTopRight": "Fenster von der oberen rechten Ecke in der Größe ändern. Pfeiltasten zum Ändern der Größe verwenden.",
|
|
422
|
+
"resizeWindow": "Fenstergröße ändern. Strg und Pfeiltasten zum Ändern der Größe verwenden.",
|
|
419
423
|
"restore": "Wiederherstellen"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Cerrar",
|
|
291
291
|
"error": "Error",
|
|
292
292
|
"info": "Información",
|
|
293
|
+
"region": "Notificaciones",
|
|
293
294
|
"success": "Éxito",
|
|
294
295
|
"warning": "Advertencia"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Mostrar opciones de menú",
|
|
351
|
+
"menuButtonWithText": "Más opciones de {text}",
|
|
350
352
|
"splitButton": "{text, select, undefined {Botón dividido} other {{text}, botón dividido}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Cerrar ventana",
|
|
408
410
|
"maximize": "Maximizar",
|
|
409
411
|
"minimize": "Minimizar",
|
|
412
|
+
"moveOrResizeWindow": "Mover o cambiar el tamaño de la ventana. Usa las teclas de flecha para mover, o Ctrl y las teclas de flecha para cambiar el tamaño.",
|
|
410
413
|
"moveWindow": "Mover ventana. Usa las teclas de flecha para mover.",
|
|
411
414
|
"resizeBottom": "Cambiar tamaño de ventana desde abajo. Usa las teclas de flecha para cambiar el tamaño.",
|
|
412
415
|
"resizeBottomLeft": "Cambiar tamaño de ventana desde la esquina inferior izquierda. Usa las teclas de flecha para cambiar el tamaño.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Cambiar tamaño de ventana desde arriba. Usa las teclas de flecha para cambiar el tamaño.",
|
|
417
420
|
"resizeTopLeft": "Cambiar tamaño de ventana desde la esquina superior izquierda. Usa las teclas de flecha para cambiar el tamaño.",
|
|
418
421
|
"resizeTopRight": "Cambiar tamaño de ventana desde la esquina superior derecha. Usa las teclas de flecha para cambiar el tamaño.",
|
|
422
|
+
"resizeWindow": "Cambiar el tamaño de la ventana. Usa Ctrl y las teclas de flecha para cambiar el tamaño.",
|
|
419
423
|
"restore": "Restaurar"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Fermer",
|
|
291
291
|
"error": "Erreur",
|
|
292
292
|
"info": "Information",
|
|
293
|
+
"region": "Notifications",
|
|
293
294
|
"success": "Succès",
|
|
294
295
|
"warning": "Avertissement"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Afficher les options du menu",
|
|
351
|
+
"menuButtonWithText": "Autres options pour {text}",
|
|
350
352
|
"splitButton": "{text, select, undefined {Bouton fractionné} other {{text}, bouton fractionné}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Fermer la fenêtre",
|
|
408
410
|
"maximize": "Agrandir",
|
|
409
411
|
"minimize": "Réduire",
|
|
412
|
+
"moveOrResizeWindow": "Déplacer ou redimensionner la fenêtre. Utilisez les touches fléchées pour la déplacer, ou Ctrl et les touches fléchées pour la redimensionner.",
|
|
410
413
|
"moveWindow": "Déplacer la fenêtre. Utilisez les touches fléchées pour la déplacer.",
|
|
411
414
|
"resizeBottom": "Redimensionner la fenêtre depuis le bas. Utilisez les touches fléchées pour redimensionner.",
|
|
412
415
|
"resizeBottomLeft": "Redimensionner la fenêtre depuis le coin inférieur gauche. Utilisez les touches fléchées pour redimensionner.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Redimensionner la fenêtre depuis le haut. Utilisez les touches fléchées pour redimensionner.",
|
|
417
420
|
"resizeTopLeft": "Redimensionner la fenêtre depuis le coin supérieur gauche. Utilisez les touches fléchées pour redimensionner.",
|
|
418
421
|
"resizeTopRight": "Redimensionner la fenêtre depuis le coin supérieur droit. Utilisez les touches fléchées pour redimensionner.",
|
|
422
|
+
"resizeWindow": "Redimensionner la fenêtre. Utilisez Ctrl et les touches fléchées pour la redimensionner.",
|
|
419
423
|
"restore": "Restaurer"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Tutup",
|
|
291
291
|
"error": "Kesalahan",
|
|
292
292
|
"info": "Informasi",
|
|
293
|
+
"region": "Notifikasi",
|
|
293
294
|
"success": "Berhasil",
|
|
294
295
|
"warning": "Peringatan"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Tampilkan opsi menu",
|
|
351
|
+
"menuButtonWithText": "Opsi {text} lainnya",
|
|
350
352
|
"splitButton": "{text, select, undefined {Tombol pisah} other {{text}, tombol pisah}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Tutup jendela",
|
|
408
410
|
"maximize": "Maksimalkan",
|
|
409
411
|
"minimize": "Minimalkan",
|
|
412
|
+
"moveOrResizeWindow": "Pindahkan atau ubah ukuran jendela. Gunakan tombol panah untuk memindahkan, atau Ctrl dan tombol panah untuk mengubah ukuran.",
|
|
410
413
|
"moveWindow": "Pindahkan jendela. Gunakan tombol panah untuk memindahkan.",
|
|
411
414
|
"resizeBottom": "Ubah ukuran jendela dari tepi bawah. Gunakan tombol panah untuk mengubah ukuran.",
|
|
412
415
|
"resizeBottomLeft": "Ubah ukuran jendela dari sudut kiri bawah. Gunakan tombol panah untuk mengubah ukuran.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Ubah ukuran jendela dari tepi atas. Gunakan tombol panah untuk mengubah ukuran.",
|
|
417
420
|
"resizeTopLeft": "Ubah ukuran jendela dari sudut kiri atas. Gunakan tombol panah untuk mengubah ukuran.",
|
|
418
421
|
"resizeTopRight": "Ubah ukuran jendela dari sudut kanan atas. Gunakan tombol panah untuk mengubah ukuran.",
|
|
422
|
+
"resizeWindow": "Ubah ukuran jendela. Gunakan Ctrl dan tombol panah untuk mengubah ukuran.",
|
|
419
423
|
"restore": "Pulihkan"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Chiudi",
|
|
291
291
|
"error": "Errore",
|
|
292
292
|
"info": "Informazioni",
|
|
293
|
+
"region": "Notifiche",
|
|
293
294
|
"success": "Operazione riuscita",
|
|
294
295
|
"warning": "Avviso"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Mostra opzioni del menu",
|
|
351
|
+
"menuButtonWithText": "Altre opzioni per {text}",
|
|
350
352
|
"splitButton": "{text, select, undefined {Pulsante con menu} other {{text}, pulsante con menu}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Chiudi finestra",
|
|
408
410
|
"maximize": "Massimizza",
|
|
409
411
|
"minimize": "Minimizza",
|
|
412
|
+
"moveOrResizeWindow": "Sposta o ridimensiona finestra. Usa i tasti freccia per spostarla, oppure Ctrl e i tasti freccia per ridimensionarla.",
|
|
410
413
|
"moveWindow": "Sposta finestra. Usa i tasti freccia per spostarla.",
|
|
411
414
|
"resizeBottom": "Ridimensiona la finestra dal bordo inferiore. Usa i tasti freccia per ridimensionarla.",
|
|
412
415
|
"resizeBottomLeft": "Ridimensiona la finestra dall'angolo inferiore sinistro. Usa i tasti freccia per ridimensionarla.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Ridimensiona la finestra dal bordo superiore. Usa i tasti freccia per ridimensionarla.",
|
|
417
420
|
"resizeTopLeft": "Ridimensiona la finestra dall'angolo superiore sinistro. Usa i tasti freccia per ridimensionarla.",
|
|
418
421
|
"resizeTopRight": "Ridimensiona la finestra dall'angolo superiore destro. Usa i tasti freccia per ridimensionarla.",
|
|
422
|
+
"resizeWindow": "Ridimensiona finestra. Usa Ctrl e i tasti freccia per ridimensionarla.",
|
|
419
423
|
"restore": "Ripristina"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "閉じる",
|
|
291
291
|
"error": "エラー",
|
|
292
292
|
"info": "情報",
|
|
293
|
+
"region": "通知",
|
|
293
294
|
"success": "成功",
|
|
294
295
|
"warning": "警告"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "メニューオプションを表示",
|
|
351
|
+
"menuButtonWithText": "{text}のその他のオプション",
|
|
350
352
|
"splitButton": "{text, select, undefined {分割ボタン} other {{text}、分割ボタン}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "ウィンドウを閉じる",
|
|
408
410
|
"maximize": "最大化",
|
|
409
411
|
"minimize": "最小化",
|
|
412
|
+
"moveOrResizeWindow": "ウィンドウを移動またはサイズ変更。矢印キーで移動し、Ctrl キーと矢印キーでサイズを変更します。",
|
|
410
413
|
"moveWindow": "ウィンドウを移動。矢印キーで移動します。",
|
|
411
414
|
"resizeBottom": "下辺からウィンドウのサイズを変更。矢印キーでサイズを変更します。",
|
|
412
415
|
"resizeBottomLeft": "左下隅からウィンドウのサイズを変更。矢印キーでサイズを変更します。",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "上辺からウィンドウのサイズを変更。矢印キーでサイズを変更します。",
|
|
417
420
|
"resizeTopLeft": "左上隅からウィンドウのサイズを変更。矢印キーでサイズを変更します。",
|
|
418
421
|
"resizeTopRight": "右上隅からウィンドウのサイズを変更。矢印キーでサイズを変更します。",
|
|
422
|
+
"resizeWindow": "ウィンドウのサイズを変更。Ctrl キーと矢印キーでサイズを変更します。",
|
|
419
423
|
"restore": "元のサイズに戻す"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "닫기",
|
|
291
291
|
"error": "오류",
|
|
292
292
|
"info": "정보",
|
|
293
|
+
"region": "알림",
|
|
293
294
|
"success": "성공",
|
|
294
295
|
"warning": "경고"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "메뉴 옵션 표시",
|
|
351
|
+
"menuButtonWithText": "{text} 추가 옵션",
|
|
350
352
|
"splitButton": "{text, select, undefined {분할 버튼} other {{text}, 분할 버튼}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "창 닫기",
|
|
408
410
|
"maximize": "최대화",
|
|
409
411
|
"minimize": "최소화",
|
|
412
|
+
"moveOrResizeWindow": "창 이동 또는 크기 조정. 화살표 키로 이동하고, Ctrl 키와 화살표 키로 크기를 조정합니다.",
|
|
410
413
|
"moveWindow": "창 이동. 화살표 키로 이동합니다.",
|
|
411
414
|
"resizeBottom": "아래쪽에서 창 크기 조정. 화살표 키로 크기를 조정합니다.",
|
|
412
415
|
"resizeBottomLeft": "왼쪽 아래 모서리에서 창 크기 조정. 화살표 키로 크기를 조정합니다.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "위쪽에서 창 크기 조정. 화살표 키로 크기를 조정합니다.",
|
|
417
420
|
"resizeTopLeft": "왼쪽 위 모서리에서 창 크기 조정. 화살표 키로 크기를 조정합니다.",
|
|
418
421
|
"resizeTopRight": "오른쪽 위 모서리에서 창 크기 조정. 화살표 키로 크기를 조정합니다.",
|
|
422
|
+
"resizeWindow": "창 크기 조정. Ctrl 키와 화살표 키로 크기를 조정합니다.",
|
|
419
423
|
"restore": "복원"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Fechar",
|
|
291
291
|
"error": "Erro",
|
|
292
292
|
"info": "Informação",
|
|
293
|
+
"region": "Notificações",
|
|
293
294
|
"success": "Sucesso",
|
|
294
295
|
"warning": "Aviso"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Mostrar opções do menu",
|
|
351
|
+
"menuButtonWithText": "Mais opções de {text}",
|
|
350
352
|
"splitButton": "{text, select, undefined {Botão com menu} other {{text}, botão com menu}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Fechar janela",
|
|
408
410
|
"maximize": "Maximizar",
|
|
409
411
|
"minimize": "Minimizar",
|
|
412
|
+
"moveOrResizeWindow": "Mover ou redimensionar janela. Use as teclas de seta para mover, ou Ctrl e as teclas de seta para redimensionar.",
|
|
410
413
|
"moveWindow": "Mover janela. Use as teclas de seta para mover.",
|
|
411
414
|
"resizeBottom": "Redimensionar janela a partir da borda inferior. Use as teclas de seta para redimensionar.",
|
|
412
415
|
"resizeBottomLeft": "Redimensionar janela a partir do canto inferior esquerdo. Use as teclas de seta para redimensionar.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Redimensionar janela a partir da borda superior. Use as teclas de seta para redimensionar.",
|
|
417
420
|
"resizeTopLeft": "Redimensionar janela a partir do canto superior esquerdo. Use as teclas de seta para redimensionar.",
|
|
418
421
|
"resizeTopRight": "Redimensionar janela a partir do canto superior direito. Use as teclas de seta para redimensionar.",
|
|
422
|
+
"resizeWindow": "Redimensionar janela. Use Ctrl e as teclas de seta para redimensionar.",
|
|
419
423
|
"restore": "Restaurar"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Закрыть",
|
|
291
291
|
"error": "Ошибка",
|
|
292
292
|
"info": "Информация",
|
|
293
|
+
"region": "Уведомления",
|
|
293
294
|
"success": "Успешно",
|
|
294
295
|
"warning": "Предупреждение"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Показать параметры меню",
|
|
351
|
+
"menuButtonWithText": "Другие параметры: {text}",
|
|
350
352
|
"splitButton": "{text, select, undefined {Разделённая кнопка} other {{text}, разделённая кнопка}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Закрыть окно",
|
|
408
410
|
"maximize": "Развернуть",
|
|
409
411
|
"minimize": "Свернуть",
|
|
412
|
+
"moveOrResizeWindow": "Переместить окно или изменить его размер. Используйте клавиши со стрелками для перемещения или Ctrl и клавиши со стрелками для изменения размера.",
|
|
410
413
|
"moveWindow": "Переместить окно. Используйте клавиши со стрелками для перемещения.",
|
|
411
414
|
"resizeBottom": "Изменить размер окна снизу. Используйте клавиши со стрелками для изменения размера.",
|
|
412
415
|
"resizeBottomLeft": "Изменить размер окна из левого нижнего угла. Используйте клавиши со стрелками для изменения размера.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Изменить размер окна сверху. Используйте клавиши со стрелками для изменения размера.",
|
|
417
420
|
"resizeTopLeft": "Изменить размер окна из левого верхнего угла. Используйте клавиши со стрелками для изменения размера.",
|
|
418
421
|
"resizeTopRight": "Изменить размер окна из правого верхнего угла. Используйте клавиши со стрелками для изменения размера.",
|
|
422
|
+
"resizeWindow": "Изменить размер окна. Используйте Ctrl и клавиши со стрелками для изменения размера.",
|
|
419
423
|
"restore": "Восстановить"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "Kapat",
|
|
291
291
|
"error": "Hata",
|
|
292
292
|
"info": "Bilgi",
|
|
293
|
+
"region": "Bildirimler",
|
|
293
294
|
"success": "Başarılı",
|
|
294
295
|
"warning": "Uyarı"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "Menü seçeneklerini göster",
|
|
351
|
+
"menuButtonWithText": "Diğer {text} seçenekleri",
|
|
350
352
|
"splitButton": "{text, select, undefined {Bölünmüş düğme} other {{text}, bölünmüş düğme}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "Pencereyi kapat",
|
|
408
410
|
"maximize": "Ekranı kapla",
|
|
409
411
|
"minimize": "Simge durumuna küçült",
|
|
412
|
+
"moveOrResizeWindow": "Pencereyi taşı veya yeniden boyutlandır. Taşımak için ok tuşlarını, yeniden boyutlandırmak için Ctrl ve ok tuşlarını kullanın.",
|
|
410
413
|
"moveWindow": "Pencereyi taşı. Taşımak için ok tuşlarını kullanın.",
|
|
411
414
|
"resizeBottom": "Pencereyi alt kenardan yeniden boyutlandırın. Yeniden boyutlandırmak için ok tuşlarını kullanın.",
|
|
412
415
|
"resizeBottomLeft": "Pencereyi sol alt köşeden yeniden boyutlandırın. Yeniden boyutlandırmak için ok tuşlarını kullanın.",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "Pencereyi üst kenardan yeniden boyutlandırın. Yeniden boyutlandırmak için ok tuşlarını kullanın.",
|
|
417
420
|
"resizeTopLeft": "Pencereyi sol üst köşeden yeniden boyutlandırın. Yeniden boyutlandırmak için ok tuşlarını kullanın.",
|
|
418
421
|
"resizeTopRight": "Pencereyi sağ üst köşeden yeniden boyutlandırın. Yeniden boyutlandırmak için ok tuşlarını kullanın.",
|
|
422
|
+
"resizeWindow": "Pencereyi yeniden boyutlandır. Yeniden boyutlandırmak için Ctrl ve ok tuşlarını kullanın.",
|
|
419
423
|
"restore": "Geri yükle"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "关闭",
|
|
291
291
|
"error": "错误",
|
|
292
292
|
"info": "信息",
|
|
293
|
+
"region": "通知",
|
|
293
294
|
"success": "成功",
|
|
294
295
|
"warning": "警告"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "显示菜单选项",
|
|
351
|
+
"menuButtonWithText": "更多{text}选项",
|
|
350
352
|
"splitButton": "{text, select, undefined {拆分按钮} other {{text},拆分按钮}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "关闭窗口",
|
|
408
410
|
"maximize": "最大化",
|
|
409
411
|
"minimize": "最小化",
|
|
412
|
+
"moveOrResizeWindow": "移动或调整窗口大小。使用方向键移动,或使用 Ctrl 加方向键调整大小。",
|
|
410
413
|
"moveWindow": "移动窗口。使用方向键移动。",
|
|
411
414
|
"resizeBottom": "从底部调整窗口大小。使用方向键调整大小。",
|
|
412
415
|
"resizeBottomLeft": "从左下角调整窗口大小。使用方向键调整大小。",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "从顶部调整窗口大小。使用方向键调整大小。",
|
|
417
420
|
"resizeTopLeft": "从左上角调整窗口大小。使用方向键调整大小。",
|
|
418
421
|
"resizeTopRight": "从右上角调整窗口大小。使用方向键调整大小。",
|
|
422
|
+
"resizeWindow": "调整窗口大小。使用 Ctrl 加方向键调整大小。",
|
|
419
423
|
"restore": "还原"
|
|
420
424
|
}
|
|
421
425
|
}
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
"close": "關閉",
|
|
291
291
|
"error": "錯誤",
|
|
292
292
|
"info": "資訊",
|
|
293
|
+
"region": "通知",
|
|
293
294
|
"success": "成功",
|
|
294
295
|
"warning": "警告"
|
|
295
296
|
},
|
|
@@ -347,6 +348,7 @@
|
|
|
347
348
|
},
|
|
348
349
|
"splitButton": {
|
|
349
350
|
"menuButtonAriaLabel": "顯示選單選項",
|
|
351
|
+
"menuButtonWithText": "更多{text}選項",
|
|
350
352
|
"splitButton": "{text, select, undefined {分割按鈕} other {{text},分割按鈕}}"
|
|
351
353
|
},
|
|
352
354
|
"splitter": {
|
|
@@ -407,6 +409,7 @@
|
|
|
407
409
|
"closeWindow": "關閉視窗",
|
|
408
410
|
"maximize": "最大化",
|
|
409
411
|
"minimize": "最小化",
|
|
412
|
+
"moveOrResizeWindow": "移動或調整視窗大小。使用方向鍵移動,或使用 Ctrl 加方向鍵調整大小。",
|
|
410
413
|
"moveWindow": "移動視窗。使用方向鍵移動。",
|
|
411
414
|
"resizeBottom": "從底部調整視窗大小。使用方向鍵調整大小。",
|
|
412
415
|
"resizeBottomLeft": "從左下角調整視窗大小。使用方向鍵調整大小。",
|
|
@@ -416,6 +419,7 @@
|
|
|
416
419
|
"resizeTop": "從頂部調整視窗大小。使用方向鍵調整大小。",
|
|
417
420
|
"resizeTopLeft": "從左上角調整視窗大小。使用方向鍵調整大小。",
|
|
418
421
|
"resizeTopRight": "從右上角調整視窗大小。使用方向鍵調整大小。",
|
|
422
|
+
"resizeWindow": "調整視窗大小。使用 Ctrl 加方向鍵調整大小。",
|
|
419
423
|
"restore": "還原"
|
|
420
424
|
}
|
|
421
425
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
2
|
-
import * as
|
|
2
|
+
import * as _nanahoshi_mona_ui_button from '@nanahoshi/mona-ui/button';
|
|
3
3
|
import { ButtonDirective } from '@nanahoshi/mona-ui/button';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
4
5
|
import { SelectionMode } from '@nanahoshi/mona-ui/common';
|
|
5
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -17,9 +18,18 @@ type ButtonGroupVariantsInput = VariantInputs<ButtonGroupVariantProps>;
|
|
|
17
18
|
declare class ButtonGroupComponent implements ButtonGroupVariantsInput {
|
|
18
19
|
#private;
|
|
19
20
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
21
|
+
/**
|
|
22
|
+
* The group's own buttons: they follow its look, size, rounding and disabled state, and its selection.
|
|
23
|
+
*/
|
|
20
24
|
protected readonly buttons: _angular_core.Signal<readonly ButtonDirective[]>;
|
|
21
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Dropdown and split buttons placed in the group. Their buttons follow the group's look, size, rounding and
|
|
27
|
+
* disabled state, but not its selection.
|
|
28
|
+
*/
|
|
29
|
+
protected readonly components: _angular_core.Signal<readonly _nanahoshi_mona_ui_button.ButtonGroupMember[]>;
|
|
22
30
|
protected readonly effectiveAriaLabel: _angular_core.Signal<string>;
|
|
31
|
+
protected readonly members: _angular_core.Signal<ButtonDirective[]>;
|
|
32
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaButtonGroupMessages>;
|
|
23
33
|
/**
|
|
24
34
|
* @description When `false` and `selection` is `"single"`, at least one button must remain selected;
|
|
25
35
|
* the active button cannot be deselected. Has no effect in `"multiple"` mode.
|
|
@@ -71,7 +81,7 @@ declare class ButtonGroupComponent implements ButtonGroupVariantsInput {
|
|
|
71
81
|
constructor();
|
|
72
82
|
private setSubscriptions;
|
|
73
83
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
74
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonGroupComponent, "mona-button-group", never, { "allowEmpty": { "alias": "allowEmpty"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; "disabled": "disabledChange"; "selection": "selectionChange"; }, ["buttons"], ["[monaButton]"], true, never>;
|
|
84
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonGroupComponent, "mona-button-group", never, { "allowEmpty": { "alias": "allowEmpty"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; "disabled": "disabledChange"; "selection": "selectionChange"; }, ["buttons", "components"], ["[monaButton], mona-dropdown-button, mona-split-button"], true, never>;
|
|
75
85
|
}
|
|
76
86
|
|
|
77
87
|
declare const BUTTON_GROUP_DEFAULT_MESSAGES: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Signal } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -111,6 +111,23 @@ declare class ButtonDirective implements ButtonVariantsInput {
|
|
|
111
111
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ButtonDirective, "button[monaButton]", never, { "ariaHasPopup": { "alias": "aria-haspopup"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "toggleable": { "alias": "toggleable"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; "selected": "selectedChange"; }, never, never, true, never>;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* A component whose own buttons join the `mona-button-group` it is placed in, such as a dropdown or split button.
|
|
116
|
+
* Those buttons follow the group's look, size, rounding and disabled state, but they aren't toggleable and take no
|
|
117
|
+
* part in the group's selection.
|
|
118
|
+
*/
|
|
119
|
+
interface ButtonGroupMember {
|
|
120
|
+
/**
|
|
121
|
+
* The component's buttons that join the group.
|
|
122
|
+
*/
|
|
123
|
+
readonly groupButtons: Signal<readonly ButtonDirective[]>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Provided by a component that implements {@link ButtonGroupMember}, so a `mona-button-group` can find it among its
|
|
127
|
+
* content children.
|
|
128
|
+
*/
|
|
129
|
+
declare const BUTTON_GROUP_MEMBER: InjectionToken<ButtonGroupMember>;
|
|
130
|
+
|
|
114
131
|
/**
|
|
115
132
|
* Coordinates a `mona-button-group` with its buttons: the group publishes its look, size, rounding, disabled state
|
|
116
133
|
* and members here, and buttons report clicks and receive selection changes through it. It is public so the
|
|
@@ -137,5 +154,5 @@ declare class ButtonService {
|
|
|
137
154
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ButtonService>;
|
|
138
155
|
}
|
|
139
156
|
|
|
140
|
-
export { ButtonDirective, ButtonService };
|
|
141
|
-
export type { ButtonAriaHasPopup, ButtonVariantProps, ButtonVariantsInput };
|
|
157
|
+
export { BUTTON_GROUP_MEMBER, ButtonDirective, ButtonService };
|
|
158
|
+
export type { ButtonAriaHasPopup, ButtonGroupMember, ButtonVariantProps, ButtonVariantsInput };
|
|
@@ -15,8 +15,7 @@ declare class ContextMenuComponent implements ContextMenuVariantInput {
|
|
|
15
15
|
protected readonly shortcutTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
16
16
|
protected readonly textTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
17
17
|
/**
|
|
18
|
-
* @description
|
|
19
|
-
* Not currently applied to the target element or the rendered menu.
|
|
18
|
+
* @description Accessible name for the menu. When empty, the menu is named by the target if it has an `id`.
|
|
20
19
|
*/
|
|
21
20
|
readonly ariaLabel: i0.InputSignal<string>;
|
|
22
21
|
/**
|
|
@@ -42,7 +41,10 @@ declare class ContextMenuComponent implements ContextMenuVariantInput {
|
|
|
42
41
|
*/
|
|
43
42
|
readonly size: i0.InputSignal<"small" | "medium" | "large" | null | undefined>;
|
|
44
43
|
/**
|
|
45
|
-
* @description The target element that will be used to trigger the context menu.
|
|
44
|
+
* @description The target element that will be used to trigger the context menu. It can change: the menu, its
|
|
45
|
+
* keyboard shortcuts and its ARIA attributes follow. `aria-haspopup`, `aria-expanded` and `aria-controls` are set
|
|
46
|
+
* only on targets whose role allows them (button, link, gridcell, menuitem, tab, treeitem), and are put back
|
|
47
|
+
* when the target changes or the menu is destroyed.
|
|
46
48
|
*/
|
|
47
49
|
readonly target: i0.InputSignal<HTMLElement | ElementRef<HTMLElement>>;
|
|
48
50
|
/**
|
|
@@ -54,9 +56,6 @@ declare class ContextMenuComponent implements ContextMenuVariantInput {
|
|
|
54
56
|
protected onMenuClose(): void;
|
|
55
57
|
protected onMenuOpen(): void;
|
|
56
58
|
private openMenuViaKeyboard;
|
|
57
|
-
private setKeyboardEvents;
|
|
58
|
-
private setTargetAriaAttributes;
|
|
59
|
-
private updateTargetAriaAttributes;
|
|
60
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuComponent, never>;
|
|
61
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuComponent, "mona-contextmenu", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, { "menuClick": "menuClick"; }, ["menuItemComponents", "groupTemplate", "iconTemplate", "shortcutTemplate", "textTemplate"], never, true, never>;
|
|
62
61
|
}
|