@nanahoshi/mona-ui 0.24.7 → 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-auto-complete.mjs +1 -1
- 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-combo-box.mjs +1 -1
- 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-dropdown-list.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-vXXNWmEN.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-DDgNmgE0.mjs → nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-Dzf6Vbs_.mjs → nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs} +2 -3
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-DAPNqnWV.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-B9rmDLq8.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs} +10 -10
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +44 -3
- package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +20 -4
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +335 -45
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +565 -197
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +465 -23
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +598 -208
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +193 -71
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +29 -3
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +33 -3
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +33 -3
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +40 -3
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +29 -3
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +33 -3
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +29 -3
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +29 -3
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +33 -3
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +49 -3
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +29 -3
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +29 -3
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +29 -3
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +127 -133
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1 -1
- 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-tree-view.mjs +205 -140
- package/fesm2022/nanahoshi-mona-ui-window.mjs +591 -310
- package/i18n/catalogs/en-US.messages.json +32 -6
- package/locales/ar-sa/ar-sa.messages.json +29 -3
- package/locales/de-de/de-de.messages.json +29 -3
- package/locales/es-es/es-es.messages.json +29 -3
- package/locales/fr-fr/fr-fr.messages.json +29 -3
- package/locales/id-id/id-id.messages.json +29 -3
- package/locales/it-it/it-it.messages.json +29 -3
- package/locales/ja-jp/ja-jp.messages.json +29 -3
- package/locales/ko-kr/ko-kr.messages.json +29 -3
- package/locales/pt-br/pt-br.messages.json +29 -3
- package/locales/ru-ru/ru-ru.messages.json +29 -3
- package/locales/tr-tr/tr-tr.messages.json +29 -3
- package/locales/zh-cn/zh-cn.messages.json +29 -3
- package/locales/zh-tw/zh-tw.messages.json +29 -3
- 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 +69 -0
- package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +14 -2
- package/types/nanahoshi-mona-ui-internal-list.d.ts +89 -10
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +155 -40
- package/types/nanahoshi-mona-ui-internal.d.ts +128 -16
- package/types/nanahoshi-mona-ui-list-box.d.ts +148 -47
- package/types/nanahoshi-mona-ui-list-view.d.ts +112 -21
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +26 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +26 -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-tree-view.d.ts +84 -40
- package/types/nanahoshi-mona-ui-window.d.ts +103 -14
|
@@ -260,17 +260,29 @@ declare const MONA_PT_BR_LOCALE: {
|
|
|
260
260
|
};
|
|
261
261
|
list: {
|
|
262
262
|
filterList: string;
|
|
263
|
+
loading: string;
|
|
263
264
|
noData: string;
|
|
265
|
+
pagerLabel: (list: string) => string;
|
|
264
266
|
};
|
|
265
267
|
listBox: {
|
|
266
268
|
clearSelection: string;
|
|
269
|
+
itemsMoved: (position: number, total: number) => string;
|
|
270
|
+
itemsRemoved: (count: number) => string;
|
|
271
|
+
itemsTransferred: (count: number, list: string) => string;
|
|
272
|
+
itemsTransferredToOtherList: (count: number) => string;
|
|
267
273
|
moveDown: string;
|
|
268
274
|
moveUp: string;
|
|
269
275
|
remove: string;
|
|
276
|
+
selectionCleared: string;
|
|
277
|
+
toolbarLabel: (list: string) => string;
|
|
270
278
|
transferAllFrom: string;
|
|
279
|
+
transferAllFromList: (list: string) => string;
|
|
271
280
|
transferAllTo: string;
|
|
281
|
+
transferAllToList: (list: string) => string;
|
|
272
282
|
transferFrom: string;
|
|
283
|
+
transferFromList: (list: string) => string;
|
|
273
284
|
transferTo: string;
|
|
285
|
+
transferToList: (list: string) => string;
|
|
274
286
|
};
|
|
275
287
|
multiSelect: {
|
|
276
288
|
clear: string;
|
|
@@ -281,6 +293,7 @@ declare const MONA_PT_BR_LOCALE: {
|
|
|
281
293
|
close: string;
|
|
282
294
|
error: string;
|
|
283
295
|
info: string;
|
|
296
|
+
region: string;
|
|
284
297
|
success: string;
|
|
285
298
|
warning: string;
|
|
286
299
|
};
|
|
@@ -338,6 +351,7 @@ declare const MONA_PT_BR_LOCALE: {
|
|
|
338
351
|
};
|
|
339
352
|
splitButton: {
|
|
340
353
|
menuButtonAriaLabel: string;
|
|
354
|
+
menuButtonWithText: (text: string) => string;
|
|
341
355
|
splitButton: (text: string) => string;
|
|
342
356
|
};
|
|
343
357
|
splitter: {
|
|
@@ -381,13 +395,24 @@ declare const MONA_PT_BR_LOCALE: {
|
|
|
381
395
|
collapse: string;
|
|
382
396
|
expand: string;
|
|
383
397
|
filter: string;
|
|
398
|
+
filterLabel: (tree: string) => string;
|
|
384
399
|
filterTree: string;
|
|
400
|
+
loadError: (node: string) => string;
|
|
401
|
+
loadingNode: (node: string) => string;
|
|
402
|
+
movedAfter: (node: string, target: string) => string;
|
|
403
|
+
movedBefore: (node: string, target: string) => string;
|
|
404
|
+
movedInto: (node: string, target: string) => string;
|
|
405
|
+
noData: string;
|
|
406
|
+
noMatches: string;
|
|
407
|
+
results: (count: number) => string;
|
|
408
|
+
retryLoading: (node: string) => string;
|
|
385
409
|
};
|
|
386
410
|
window: {
|
|
387
411
|
close: string;
|
|
388
412
|
closeWindow: string;
|
|
389
413
|
maximize: string;
|
|
390
414
|
minimize: string;
|
|
415
|
+
moveOrResizeWindow: string;
|
|
391
416
|
moveWindow: string;
|
|
392
417
|
resizeBottom: string;
|
|
393
418
|
resizeBottomLeft: string;
|
|
@@ -397,6 +422,7 @@ declare const MONA_PT_BR_LOCALE: {
|
|
|
397
422
|
resizeTop: string;
|
|
398
423
|
resizeTopLeft: string;
|
|
399
424
|
resizeTopRight: string;
|
|
425
|
+
resizeWindow: string;
|
|
400
426
|
restore: string;
|
|
401
427
|
};
|
|
402
428
|
};
|
|
@@ -260,17 +260,29 @@ declare const MONA_RU_RU_LOCALE: {
|
|
|
260
260
|
};
|
|
261
261
|
list: {
|
|
262
262
|
filterList: string;
|
|
263
|
+
loading: string;
|
|
263
264
|
noData: string;
|
|
265
|
+
pagerLabel: (list: string) => string;
|
|
264
266
|
};
|
|
265
267
|
listBox: {
|
|
266
268
|
clearSelection: string;
|
|
269
|
+
itemsMoved: (position: number, total: number) => string;
|
|
270
|
+
itemsRemoved: (count: number) => string;
|
|
271
|
+
itemsTransferred: (count: number, list: string) => string;
|
|
272
|
+
itemsTransferredToOtherList: (count: number) => string;
|
|
267
273
|
moveDown: string;
|
|
268
274
|
moveUp: string;
|
|
269
275
|
remove: string;
|
|
276
|
+
selectionCleared: string;
|
|
277
|
+
toolbarLabel: (list: string) => string;
|
|
270
278
|
transferAllFrom: string;
|
|
279
|
+
transferAllFromList: (list: string) => string;
|
|
271
280
|
transferAllTo: string;
|
|
281
|
+
transferAllToList: (list: string) => string;
|
|
272
282
|
transferFrom: string;
|
|
283
|
+
transferFromList: (list: string) => string;
|
|
273
284
|
transferTo: string;
|
|
285
|
+
transferToList: (list: string) => string;
|
|
274
286
|
};
|
|
275
287
|
multiSelect: {
|
|
276
288
|
clear: string;
|
|
@@ -281,6 +293,7 @@ declare const MONA_RU_RU_LOCALE: {
|
|
|
281
293
|
close: string;
|
|
282
294
|
error: string;
|
|
283
295
|
info: string;
|
|
296
|
+
region: string;
|
|
284
297
|
success: string;
|
|
285
298
|
warning: string;
|
|
286
299
|
};
|
|
@@ -338,6 +351,7 @@ declare const MONA_RU_RU_LOCALE: {
|
|
|
338
351
|
};
|
|
339
352
|
splitButton: {
|
|
340
353
|
menuButtonAriaLabel: string;
|
|
354
|
+
menuButtonWithText: (text: string) => string;
|
|
341
355
|
splitButton: (text: string) => string;
|
|
342
356
|
};
|
|
343
357
|
splitter: {
|
|
@@ -381,13 +395,24 @@ declare const MONA_RU_RU_LOCALE: {
|
|
|
381
395
|
collapse: string;
|
|
382
396
|
expand: string;
|
|
383
397
|
filter: string;
|
|
398
|
+
filterLabel: (tree: string) => string;
|
|
384
399
|
filterTree: string;
|
|
400
|
+
loadError: (node: string) => string;
|
|
401
|
+
loadingNode: (node: string) => string;
|
|
402
|
+
movedAfter: (node: string, target: string) => string;
|
|
403
|
+
movedBefore: (node: string, target: string) => string;
|
|
404
|
+
movedInto: (node: string, target: string) => string;
|
|
405
|
+
noData: string;
|
|
406
|
+
noMatches: string;
|
|
407
|
+
results: (count: number) => string;
|
|
408
|
+
retryLoading: (node: string) => string;
|
|
385
409
|
};
|
|
386
410
|
window: {
|
|
387
411
|
close: string;
|
|
388
412
|
closeWindow: string;
|
|
389
413
|
maximize: string;
|
|
390
414
|
minimize: string;
|
|
415
|
+
moveOrResizeWindow: string;
|
|
391
416
|
moveWindow: string;
|
|
392
417
|
resizeBottom: string;
|
|
393
418
|
resizeBottomLeft: string;
|
|
@@ -397,6 +422,7 @@ declare const MONA_RU_RU_LOCALE: {
|
|
|
397
422
|
resizeTop: string;
|
|
398
423
|
resizeTopLeft: string;
|
|
399
424
|
resizeTopRight: string;
|
|
425
|
+
resizeWindow: string;
|
|
400
426
|
restore: string;
|
|
401
427
|
};
|
|
402
428
|
};
|
|
@@ -260,17 +260,29 @@ declare const MONA_TR_TR_LOCALE: {
|
|
|
260
260
|
};
|
|
261
261
|
list: {
|
|
262
262
|
filterList: string;
|
|
263
|
+
loading: string;
|
|
263
264
|
noData: string;
|
|
265
|
+
pagerLabel: (list: string) => string;
|
|
264
266
|
};
|
|
265
267
|
listBox: {
|
|
266
268
|
clearSelection: string;
|
|
269
|
+
itemsMoved: (position: number, total: number) => string;
|
|
270
|
+
itemsRemoved: (count: number) => string;
|
|
271
|
+
itemsTransferred: (count: number, list: string) => string;
|
|
272
|
+
itemsTransferredToOtherList: (count: number) => string;
|
|
267
273
|
moveDown: string;
|
|
268
274
|
moveUp: string;
|
|
269
275
|
remove: string;
|
|
276
|
+
selectionCleared: string;
|
|
277
|
+
toolbarLabel: (list: string) => string;
|
|
270
278
|
transferAllFrom: string;
|
|
279
|
+
transferAllFromList: (list: string) => string;
|
|
271
280
|
transferAllTo: string;
|
|
281
|
+
transferAllToList: (list: string) => string;
|
|
272
282
|
transferFrom: string;
|
|
283
|
+
transferFromList: (list: string) => string;
|
|
273
284
|
transferTo: string;
|
|
285
|
+
transferToList: (list: string) => string;
|
|
274
286
|
};
|
|
275
287
|
multiSelect: {
|
|
276
288
|
clear: string;
|
|
@@ -281,6 +293,7 @@ declare const MONA_TR_TR_LOCALE: {
|
|
|
281
293
|
close: string;
|
|
282
294
|
error: string;
|
|
283
295
|
info: string;
|
|
296
|
+
region: string;
|
|
284
297
|
success: string;
|
|
285
298
|
warning: string;
|
|
286
299
|
};
|
|
@@ -338,6 +351,7 @@ declare const MONA_TR_TR_LOCALE: {
|
|
|
338
351
|
};
|
|
339
352
|
splitButton: {
|
|
340
353
|
menuButtonAriaLabel: string;
|
|
354
|
+
menuButtonWithText: (text: string) => string;
|
|
341
355
|
splitButton: (text: string) => string;
|
|
342
356
|
};
|
|
343
357
|
splitter: {
|
|
@@ -381,13 +395,24 @@ declare const MONA_TR_TR_LOCALE: {
|
|
|
381
395
|
collapse: string;
|
|
382
396
|
expand: string;
|
|
383
397
|
filter: string;
|
|
398
|
+
filterLabel: (tree: string) => string;
|
|
384
399
|
filterTree: string;
|
|
400
|
+
loadError: (node: string) => string;
|
|
401
|
+
loadingNode: (node: string) => string;
|
|
402
|
+
movedAfter: (node: string, target: string) => string;
|
|
403
|
+
movedBefore: (node: string, target: string) => string;
|
|
404
|
+
movedInto: (node: string, target: string) => string;
|
|
405
|
+
noData: string;
|
|
406
|
+
noMatches: string;
|
|
407
|
+
results: (count: number) => string;
|
|
408
|
+
retryLoading: (node: string) => string;
|
|
385
409
|
};
|
|
386
410
|
window: {
|
|
387
411
|
close: string;
|
|
388
412
|
closeWindow: string;
|
|
389
413
|
maximize: string;
|
|
390
414
|
minimize: string;
|
|
415
|
+
moveOrResizeWindow: string;
|
|
391
416
|
moveWindow: string;
|
|
392
417
|
resizeBottom: string;
|
|
393
418
|
resizeBottomLeft: string;
|
|
@@ -397,6 +422,7 @@ declare const MONA_TR_TR_LOCALE: {
|
|
|
397
422
|
resizeTop: string;
|
|
398
423
|
resizeTopLeft: string;
|
|
399
424
|
resizeTopRight: string;
|
|
425
|
+
resizeWindow: string;
|
|
400
426
|
restore: string;
|
|
401
427
|
};
|
|
402
428
|
};
|
|
@@ -260,17 +260,29 @@ declare const MONA_ZH_CN_LOCALE: {
|
|
|
260
260
|
};
|
|
261
261
|
list: {
|
|
262
262
|
filterList: string;
|
|
263
|
+
loading: string;
|
|
263
264
|
noData: string;
|
|
265
|
+
pagerLabel: (list: string) => string;
|
|
264
266
|
};
|
|
265
267
|
listBox: {
|
|
266
268
|
clearSelection: string;
|
|
269
|
+
itemsMoved: (position: number, total: number) => string;
|
|
270
|
+
itemsRemoved: (count: number) => string;
|
|
271
|
+
itemsTransferred: (count: number, list: string) => string;
|
|
272
|
+
itemsTransferredToOtherList: (count: number) => string;
|
|
267
273
|
moveDown: string;
|
|
268
274
|
moveUp: string;
|
|
269
275
|
remove: string;
|
|
276
|
+
selectionCleared: string;
|
|
277
|
+
toolbarLabel: (list: string) => string;
|
|
270
278
|
transferAllFrom: string;
|
|
279
|
+
transferAllFromList: (list: string) => string;
|
|
271
280
|
transferAllTo: string;
|
|
281
|
+
transferAllToList: (list: string) => string;
|
|
272
282
|
transferFrom: string;
|
|
283
|
+
transferFromList: (list: string) => string;
|
|
273
284
|
transferTo: string;
|
|
285
|
+
transferToList: (list: string) => string;
|
|
274
286
|
};
|
|
275
287
|
multiSelect: {
|
|
276
288
|
clear: string;
|
|
@@ -281,6 +293,7 @@ declare const MONA_ZH_CN_LOCALE: {
|
|
|
281
293
|
close: string;
|
|
282
294
|
error: string;
|
|
283
295
|
info: string;
|
|
296
|
+
region: string;
|
|
284
297
|
success: string;
|
|
285
298
|
warning: string;
|
|
286
299
|
};
|
|
@@ -338,6 +351,7 @@ declare const MONA_ZH_CN_LOCALE: {
|
|
|
338
351
|
};
|
|
339
352
|
splitButton: {
|
|
340
353
|
menuButtonAriaLabel: string;
|
|
354
|
+
menuButtonWithText: (text: string) => string;
|
|
341
355
|
splitButton: (text: string) => string;
|
|
342
356
|
};
|
|
343
357
|
splitter: {
|
|
@@ -381,13 +395,24 @@ declare const MONA_ZH_CN_LOCALE: {
|
|
|
381
395
|
collapse: string;
|
|
382
396
|
expand: string;
|
|
383
397
|
filter: string;
|
|
398
|
+
filterLabel: (tree: string) => string;
|
|
384
399
|
filterTree: string;
|
|
400
|
+
loadError: (node: string) => string;
|
|
401
|
+
loadingNode: (node: string) => string;
|
|
402
|
+
movedAfter: (node: string, target: string) => string;
|
|
403
|
+
movedBefore: (node: string, target: string) => string;
|
|
404
|
+
movedInto: (node: string, target: string) => string;
|
|
405
|
+
noData: string;
|
|
406
|
+
noMatches: string;
|
|
407
|
+
results: (count: number) => string;
|
|
408
|
+
retryLoading: (node: string) => string;
|
|
385
409
|
};
|
|
386
410
|
window: {
|
|
387
411
|
close: string;
|
|
388
412
|
closeWindow: string;
|
|
389
413
|
maximize: string;
|
|
390
414
|
minimize: string;
|
|
415
|
+
moveOrResizeWindow: string;
|
|
391
416
|
moveWindow: string;
|
|
392
417
|
resizeBottom: string;
|
|
393
418
|
resizeBottomLeft: string;
|
|
@@ -397,6 +422,7 @@ declare const MONA_ZH_CN_LOCALE: {
|
|
|
397
422
|
resizeTop: string;
|
|
398
423
|
resizeTopLeft: string;
|
|
399
424
|
resizeTopRight: string;
|
|
425
|
+
resizeWindow: string;
|
|
400
426
|
restore: string;
|
|
401
427
|
};
|
|
402
428
|
};
|
|
@@ -260,17 +260,29 @@ declare const MONA_ZH_TW_LOCALE: {
|
|
|
260
260
|
};
|
|
261
261
|
list: {
|
|
262
262
|
filterList: string;
|
|
263
|
+
loading: string;
|
|
263
264
|
noData: string;
|
|
265
|
+
pagerLabel: (list: string) => string;
|
|
264
266
|
};
|
|
265
267
|
listBox: {
|
|
266
268
|
clearSelection: string;
|
|
269
|
+
itemsMoved: (position: number, total: number) => string;
|
|
270
|
+
itemsRemoved: (count: number) => string;
|
|
271
|
+
itemsTransferred: (count: number, list: string) => string;
|
|
272
|
+
itemsTransferredToOtherList: (count: number) => string;
|
|
267
273
|
moveDown: string;
|
|
268
274
|
moveUp: string;
|
|
269
275
|
remove: string;
|
|
276
|
+
selectionCleared: string;
|
|
277
|
+
toolbarLabel: (list: string) => string;
|
|
270
278
|
transferAllFrom: string;
|
|
279
|
+
transferAllFromList: (list: string) => string;
|
|
271
280
|
transferAllTo: string;
|
|
281
|
+
transferAllToList: (list: string) => string;
|
|
272
282
|
transferFrom: string;
|
|
283
|
+
transferFromList: (list: string) => string;
|
|
273
284
|
transferTo: string;
|
|
285
|
+
transferToList: (list: string) => string;
|
|
274
286
|
};
|
|
275
287
|
multiSelect: {
|
|
276
288
|
clear: string;
|
|
@@ -281,6 +293,7 @@ declare const MONA_ZH_TW_LOCALE: {
|
|
|
281
293
|
close: string;
|
|
282
294
|
error: string;
|
|
283
295
|
info: string;
|
|
296
|
+
region: string;
|
|
284
297
|
success: string;
|
|
285
298
|
warning: string;
|
|
286
299
|
};
|
|
@@ -338,6 +351,7 @@ declare const MONA_ZH_TW_LOCALE: {
|
|
|
338
351
|
};
|
|
339
352
|
splitButton: {
|
|
340
353
|
menuButtonAriaLabel: string;
|
|
354
|
+
menuButtonWithText: (text: string) => string;
|
|
341
355
|
splitButton: (text: string) => string;
|
|
342
356
|
};
|
|
343
357
|
splitter: {
|
|
@@ -381,13 +395,24 @@ declare const MONA_ZH_TW_LOCALE: {
|
|
|
381
395
|
collapse: string;
|
|
382
396
|
expand: string;
|
|
383
397
|
filter: string;
|
|
398
|
+
filterLabel: (tree: string) => string;
|
|
384
399
|
filterTree: string;
|
|
400
|
+
loadError: (node: string) => string;
|
|
401
|
+
loadingNode: (node: string) => string;
|
|
402
|
+
movedAfter: (node: string, target: string) => string;
|
|
403
|
+
movedBefore: (node: string, target: string) => string;
|
|
404
|
+
movedInto: (node: string, target: string) => string;
|
|
405
|
+
noData: string;
|
|
406
|
+
noMatches: string;
|
|
407
|
+
results: (count: number) => string;
|
|
408
|
+
retryLoading: (node: string) => string;
|
|
385
409
|
};
|
|
386
410
|
window: {
|
|
387
411
|
close: string;
|
|
388
412
|
closeWindow: string;
|
|
389
413
|
maximize: string;
|
|
390
414
|
minimize: string;
|
|
415
|
+
moveOrResizeWindow: string;
|
|
391
416
|
moveWindow: string;
|
|
392
417
|
resizeBottom: string;
|
|
393
418
|
resizeBottomLeft: string;
|
|
@@ -397,6 +422,7 @@ declare const MONA_ZH_TW_LOCALE: {
|
|
|
397
422
|
resizeTop: string;
|
|
398
423
|
resizeTopLeft: string;
|
|
399
424
|
resizeTopRight: string;
|
|
425
|
+
resizeWindow: string;
|
|
400
426
|
restore: string;
|
|
401
427
|
};
|
|
402
428
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nanahoshi_mona_ui_popup_menu from '@nanahoshi/mona-ui/popup-menu';
|
|
2
2
|
import { PopupMenuItemClickEvent, MenuItem, PopupMenuComponent, PopupMenuCheckboxItemComponent, PopupMenuOrigin, PopupMenuGroupComponent, PopupMenuItemComponent, PopupMenuRadioGroupComponent, PopupMenuRadioItemComponent, PopupMenuSeparatorComponent, PopupMenuNavigationEvent, PopupMenuGroupTemplateDirective, PopupMenuTemplateOrigin, PopupMenuIconTemplateDirective, PopupMenuShortcutTemplateDirective, PopupMenuTextTemplateDirective } from '@nanahoshi/mona-ui/popup-menu';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
4
|
import { TemplateRef } from '@angular/core';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -14,64 +14,65 @@ declare class MenuComponent {
|
|
|
14
14
|
/**
|
|
15
15
|
* @description Sets the menu as disabled.
|
|
16
16
|
*/
|
|
17
|
-
readonly disabled:
|
|
18
|
-
readonly iconTemplate:
|
|
17
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
18
|
+
readonly iconTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
19
19
|
/**
|
|
20
20
|
* @description Sets the items of the menu.
|
|
21
21
|
* If provided, it will override the menu items defined by the menu item components.
|
|
22
22
|
*/
|
|
23
|
-
readonly items:
|
|
24
|
-
readonly menuItems:
|
|
23
|
+
readonly items: i0.InputSignal<Iterable<MenuItem>>;
|
|
24
|
+
readonly menuItems: i0.Signal<_nanahoshi_mona_ui_popup_menu.PopupMenuItem[]>;
|
|
25
25
|
/**
|
|
26
26
|
* @description The text of the menu.
|
|
27
27
|
*/
|
|
28
|
-
readonly text:
|
|
29
|
-
readonly textTemplate:
|
|
28
|
+
readonly text: i0.InputSignal<string>;
|
|
29
|
+
readonly textTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
30
30
|
readonly uid: string;
|
|
31
31
|
popupMenu: PopupMenuComponent | null;
|
|
32
|
-
|
|
33
|
-
static
|
|
32
|
+
constructor();
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "mona-menu", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, ["menuItemComponents", "iconTemplate", "textTemplate"], never, true, never>;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
declare class MenuCheckboxItemComponent extends PopupMenuCheckboxItemComponent {
|
|
37
38
|
readonly origin = PopupMenuOrigin.MenubarMenu;
|
|
38
39
|
constructor();
|
|
39
|
-
static ɵfac:
|
|
40
|
-
static ɵcmp:
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuCheckboxItemComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuCheckboxItemComponent, "mona-menu-checkbox-item", never, {}, {}, never, never, true, never>;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
declare class MenuGroupComponent extends PopupMenuGroupComponent {
|
|
44
45
|
readonly origin = PopupMenuOrigin.MenubarMenu;
|
|
45
46
|
constructor();
|
|
46
|
-
static ɵfac:
|
|
47
|
-
static ɵcmp:
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuGroupComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuGroupComponent, "mona-menu-group", never, {}, {}, never, never, true, never>;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
declare class MenuItemComponent extends PopupMenuItemComponent {
|
|
51
52
|
readonly origin = PopupMenuOrigin.MenubarMenu;
|
|
52
53
|
constructor();
|
|
53
|
-
static ɵfac:
|
|
54
|
-
static ɵcmp:
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "mona-menu-item", never, {}, {}, never, never, true, never>;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
declare class MenuRadioGroupComponent extends PopupMenuRadioGroupComponent {
|
|
58
59
|
readonly origin = PopupMenuOrigin.MenubarMenu;
|
|
59
60
|
constructor();
|
|
60
|
-
static ɵfac:
|
|
61
|
-
static ɵcmp:
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuRadioGroupComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuRadioGroupComponent, "mona-menu-radio-group", never, {}, {}, never, never, true, never>;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
declare class MenuRadioItemComponent extends PopupMenuRadioItemComponent {
|
|
65
66
|
readonly origin = PopupMenuOrigin.MenubarMenu;
|
|
66
67
|
constructor();
|
|
67
|
-
static ɵfac:
|
|
68
|
-
static ɵcmp:
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuRadioItemComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuRadioItemComponent, "mona-menu-radio-item", never, {}, {}, never, never, true, never>;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
declare class MenuSeparatorComponent extends PopupMenuSeparatorComponent {
|
|
72
73
|
readonly origin = PopupMenuOrigin.MenubarMenu;
|
|
73
|
-
static ɵfac:
|
|
74
|
-
static ɵcmp:
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuSeparatorComponent, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuSeparatorComponent, "mona-menu-separator", never, {}, {}, never, never, true, never>;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
declare const menubarBaseThemeVariants: (props?: ({
|
|
@@ -90,108 +91,110 @@ type MenubarVariantInput = VariantInputs<MenubarVariantProps>;
|
|
|
90
91
|
|
|
91
92
|
declare class MenubarComponent implements MenubarVariantInput {
|
|
92
93
|
#private;
|
|
93
|
-
protected readonly
|
|
94
|
-
protected readonly
|
|
95
|
-
protected readonly
|
|
96
|
-
protected readonly
|
|
97
|
-
protected readonly
|
|
98
|
-
protected readonly
|
|
99
|
-
protected readonly
|
|
100
|
-
protected readonly
|
|
101
|
-
protected readonly
|
|
102
|
-
protected readonly
|
|
103
|
-
protected readonly
|
|
104
|
-
protected readonly
|
|
105
|
-
protected readonly menuList: _angular_core.Signal<readonly MenuComponent[]>;
|
|
94
|
+
protected readonly activeIndex: i0.WritableSignal<number>;
|
|
95
|
+
protected readonly baseClasses: i0.Signal<string>;
|
|
96
|
+
protected readonly currentPopupMenu: i0.WritableSignal<PopupMenuComponent | null>;
|
|
97
|
+
protected readonly groupTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
98
|
+
protected readonly iconTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
99
|
+
protected readonly isRtl: i0.Signal<boolean>;
|
|
100
|
+
protected readonly listClasses: i0.Signal<string>;
|
|
101
|
+
protected readonly listItemClasses: i0.Signal<string>;
|
|
102
|
+
protected readonly menuItemIconTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
103
|
+
protected readonly menuItemShortcutTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
104
|
+
protected readonly menuItemTextTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
105
|
+
protected readonly menuList: i0.Signal<readonly MenuComponent[]>;
|
|
106
106
|
protected readonly navigate$: Subject<PopupMenuNavigationEvent>;
|
|
107
|
-
protected readonly popupMenuComponents:
|
|
108
|
-
protected readonly textTemplate:
|
|
107
|
+
protected readonly popupMenuComponents: i0.Signal<readonly PopupMenuComponent[]>;
|
|
108
|
+
protected readonly textTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
109
109
|
/**
|
|
110
110
|
* @description ARIA label for the menubar.
|
|
111
111
|
*/
|
|
112
|
-
readonly ariaLabel:
|
|
112
|
+
readonly ariaLabel: i0.InputSignal<string>;
|
|
113
113
|
/**
|
|
114
114
|
* @description ARIA labelledby for the menubar.
|
|
115
115
|
*/
|
|
116
|
-
readonly ariaLabelledby:
|
|
116
|
+
readonly ariaLabelledby: i0.InputSignal<string>;
|
|
117
117
|
/**
|
|
118
118
|
* @description Sets the disabled state of menubar.
|
|
119
119
|
*/
|
|
120
|
-
readonly disabled:
|
|
120
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
121
121
|
/**
|
|
122
122
|
* @description Emits when a menu item is clicked.
|
|
123
123
|
*/
|
|
124
|
-
readonly menuItemClick:
|
|
124
|
+
readonly menuItemClick: i0.OutputEmitterRef<_nanahoshi_mona_ui_popup_menu.PopupMenuItemClickEvent>;
|
|
125
125
|
/**
|
|
126
126
|
* @description Sets the rounded style of the menubar.
|
|
127
127
|
*/
|
|
128
|
-
readonly rounded:
|
|
128
|
+
readonly rounded: i0.InputSignal<"small" | "medium" | "large" | "none" | null | undefined>;
|
|
129
129
|
/**
|
|
130
130
|
* @description Sets the size of the menubar.
|
|
131
131
|
*/
|
|
132
|
-
readonly size:
|
|
132
|
+
readonly size: i0.InputSignal<"small" | "medium" | "large" | null | undefined>;
|
|
133
133
|
/**
|
|
134
134
|
* @description Additional CSS classes to apply to the menubar, merged with the computed theme classes.
|
|
135
135
|
*/
|
|
136
|
-
readonly userClasses:
|
|
136
|
+
readonly userClasses: i0.InputSignal<string>;
|
|
137
137
|
constructor();
|
|
138
|
-
protected onMenuBlur(event: FocusEvent): void;
|
|
139
138
|
protected onMenuClick(event: MouseEvent, item: MenuComponent): void;
|
|
140
139
|
protected onMenuFocus(index: number): void;
|
|
141
140
|
protected onMenuItemClick(event: MenuItemClickEvent): void;
|
|
142
141
|
protected onMenuKeyDown(event: KeyboardEvent, item: MenuComponent, popupMenu: PopupMenuComponent): void;
|
|
143
|
-
protected onMenuPointerEnter(item: MenuComponent,
|
|
142
|
+
protected onMenuPointerEnter(item: MenuComponent, popupMenu: PopupMenuComponent): void;
|
|
144
143
|
protected onPopupMenuClose(): void;
|
|
145
|
-
protected onPopupMenuOpen(popupMenu: PopupMenuComponent
|
|
144
|
+
protected onPopupMenuOpen(popupMenu: PopupMenuComponent): void;
|
|
146
145
|
private closeCurrentMenu;
|
|
147
146
|
private findCurrentMenuIndex;
|
|
148
147
|
private findMenuElementByUid;
|
|
149
|
-
private
|
|
150
|
-
private
|
|
148
|
+
private findNextMenuIndex;
|
|
149
|
+
private findPreviousMenuIndex;
|
|
151
150
|
private focusMenuAt;
|
|
152
151
|
private moveToFirstMenu;
|
|
153
152
|
private moveToLastMenu;
|
|
153
|
+
/**
|
|
154
|
+
* Typeahead on the menubar: moves to the next menu whose text starts with the character, after the current one.
|
|
155
|
+
*/
|
|
156
|
+
private moveToMenuStartingWith;
|
|
154
157
|
private moveToNextMenu;
|
|
155
158
|
private moveToPreviousMenu;
|
|
156
159
|
private setNavigationSubscription;
|
|
157
160
|
private setSubscriptions;
|
|
158
161
|
private updateCurrentMenuData;
|
|
159
|
-
static ɵfac:
|
|
160
|
-
static ɵcmp:
|
|
162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenubarComponent, never>;
|
|
163
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenubarComponent, "mona-menubar", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "userClasses": { "alias": "class"; "required": false; "isSignal": true; }; }, { "menuItemClick": "menuItemClick"; }, ["groupTemplate", "iconTemplate", "menuItemIconTemplate", "menuItemShortcutTemplate", "menuItemTextTemplate", "menuList", "textTemplate"], never, true, never>;
|
|
161
164
|
}
|
|
162
165
|
|
|
163
166
|
declare class MenuGroupTemplateDirective extends PopupMenuGroupTemplateDirective {
|
|
164
167
|
readonly origin = PopupMenuTemplateOrigin.MenubarMenu;
|
|
165
|
-
static ɵfac:
|
|
166
|
-
static ɵdir:
|
|
168
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuGroupTemplateDirective, never>;
|
|
169
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuGroupTemplateDirective, "ng-template[monaMenuGroupTemplate]", never, {}, {}, never, never, true, never>;
|
|
167
170
|
}
|
|
168
171
|
|
|
169
172
|
declare class MenuIconTemplateDirective {
|
|
170
|
-
static ɵfac:
|
|
171
|
-
static ɵdir:
|
|
173
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuIconTemplateDirective, never>;
|
|
174
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuIconTemplateDirective, "ng-template[monaMenuIconTemplate]", never, {}, {}, never, never, true, never>;
|
|
172
175
|
}
|
|
173
176
|
|
|
174
177
|
declare class MenuItemIconTemplateDirective extends PopupMenuIconTemplateDirective {
|
|
175
178
|
readonly origin = PopupMenuTemplateOrigin.MenubarMenu;
|
|
176
|
-
static ɵfac:
|
|
177
|
-
static ɵdir:
|
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemIconTemplateDirective, never>;
|
|
180
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemIconTemplateDirective, "ng-template[monaMenuItemIconTemplate]", never, {}, {}, never, never, true, never>;
|
|
178
181
|
}
|
|
179
182
|
|
|
180
183
|
declare class MenuItemShortcutTemplateDirective extends PopupMenuShortcutTemplateDirective {
|
|
181
184
|
readonly origin = PopupMenuTemplateOrigin.MenubarMenu;
|
|
182
|
-
static ɵfac:
|
|
183
|
-
static ɵdir:
|
|
185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemShortcutTemplateDirective, never>;
|
|
186
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemShortcutTemplateDirective, "ng-template[monaMenuItemShortcutTemplate]", never, {}, {}, never, never, true, never>;
|
|
184
187
|
}
|
|
185
188
|
|
|
186
189
|
declare class MenuItemTextTemplateDirective extends PopupMenuTextTemplateDirective {
|
|
187
190
|
readonly origin = PopupMenuTemplateOrigin.MenubarMenu;
|
|
188
|
-
static ɵfac:
|
|
189
|
-
static ɵdir:
|
|
191
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemTextTemplateDirective, never>;
|
|
192
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuItemTextTemplateDirective, "ng-template[monaMenuItemTextTemplate]", never, {}, {}, never, never, true, never>;
|
|
190
193
|
}
|
|
191
194
|
|
|
192
195
|
declare class MenuTextTemplateDirective {
|
|
193
|
-
static ɵfac:
|
|
194
|
-
static ɵdir:
|
|
196
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuTextTemplateDirective, never>;
|
|
197
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuTextTemplateDirective, "ng-template[monaMenuTextTemplate]", never, {}, {}, never, never, true, never>;
|
|
195
198
|
}
|
|
196
199
|
|
|
197
200
|
export { MenuCheckboxItemComponent, MenuComponent, MenuGroupComponent, MenuGroupTemplateDirective, MenuIconTemplateDirective, MenuItemComponent, MenuItemIconTemplateDirective, MenuItemShortcutTemplateDirective, MenuItemTextTemplateDirective, MenuRadioGroupComponent, MenuRadioItemComponent, MenuSeparatorComponent, MenuTextTemplateDirective, MenubarComponent };
|