@nanahoshi/mona-ui 0.32.3 → 0.33.0

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.
Files changed (73) hide show
  1. package/docs/api/file-upload.md +174 -0
  2. package/docs/api/i18n.md +46 -0
  3. package/docs/api/locales.md +14 -14
  4. package/docs/file-upload.md +516 -0
  5. package/docs/forms.md +2 -0
  6. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +2 -2
  7. package/fesm2022/nanahoshi-mona-ui-command.mjs +4 -3
  8. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +2 -2
  9. package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +1137 -0
  10. package/fesm2022/{nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs → nanahoshi-mona-ui-grid-grid-colgroup.component-C62HvK-w.mjs} +2 -2
  11. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-BpsJwMkQ.mjs} +2 -2
  12. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-C1qjq2s7.mjs → nanahoshi-mona-ui-grid-grid-list.component-BVpGUjA7.mjs} +5 -5
  13. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs → nanahoshi-mona-ui-grid-grid-row.component-D0T8kfdm.mjs} +5 -5
  14. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-tguG2LpN.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-5D2BjGx4.mjs} +5 -5
  15. package/fesm2022/{nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs → nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs} +3 -3
  16. package/fesm2022/nanahoshi-mona-ui-grid.mjs +11 -10
  17. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +74 -0
  18. package/fesm2022/nanahoshi-mona-ui-internal-live-announcer.mjs +10 -0
  19. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +3 -2
  20. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +2 -2
  21. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +50 -0
  22. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +38 -0
  23. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +38 -0
  24. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +38 -0
  25. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +29 -0
  26. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +38 -0
  27. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +29 -0
  28. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +29 -0
  29. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +44 -0
  30. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +38 -0
  31. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +44 -0
  32. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +29 -0
  33. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +29 -0
  34. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +29 -0
  35. package/fesm2022/nanahoshi-mona-ui-notification.mjs +2 -2
  36. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +2 -2
  37. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +2 -2
  38. package/file-upload/package.json +4 -0
  39. package/i18n/catalogs/en-US.messages.json +29 -0
  40. package/internal/live-announcer/package.json +4 -0
  41. package/llms.txt +3 -1
  42. package/locales/ar-sa/ar-sa.messages.json +29 -0
  43. package/locales/de-de/de-de.messages.json +29 -0
  44. package/locales/es-es/es-es.messages.json +29 -0
  45. package/locales/fr-fr/fr-fr.messages.json +29 -0
  46. package/locales/id-id/id-id.messages.json +29 -0
  47. package/locales/it-it/it-it.messages.json +29 -0
  48. package/locales/ja-jp/ja-jp.messages.json +29 -0
  49. package/locales/ko-kr/ko-kr.messages.json +29 -0
  50. package/locales/pl-pl/pl-pl.messages.json +29 -0
  51. package/locales/pt-br/pt-br.messages.json +29 -0
  52. package/locales/ru-ru/ru-ru.messages.json +29 -0
  53. package/locales/tr-tr/tr-tr.messages.json +29 -0
  54. package/locales/zh-cn/zh-cn.messages.json +29 -0
  55. package/locales/zh-tw/zh-tw.messages.json +29 -0
  56. package/package.json +9 -1
  57. package/types/nanahoshi-mona-ui-file-upload.d.ts +366 -0
  58. package/types/nanahoshi-mona-ui-i18n.d.ts +60 -0
  59. package/types/nanahoshi-mona-ui-internal-live-announcer.d.ts +12 -0
  60. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +29 -0
  61. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +29 -0
  62. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +29 -0
  63. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +29 -0
  64. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +29 -0
  65. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +29 -0
  66. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +29 -0
  67. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +29 -0
  68. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +29 -0
  69. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +29 -0
  70. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +29 -0
  71. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +29 -0
  72. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +29 -0
  73. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +29 -0
@@ -1,4 +1,4 @@
1
- import { V as GridService } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
1
+ import { V as GridService } from "./nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, inject } from "@angular/core";
4
4
  import { take } from "rxjs";
@@ -74,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({
74
74
  });
75
75
  export { removeGridRow as n, GridColgroupComponent as t };
76
76
 
77
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs.map
77
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-colgroup.component-C62HvK-w.mjs.map
@@ -1,4 +1,4 @@
1
- import { B as GridLockedCellDirective, I as GridLogicalCellDirective, V as GridService, h as gridFooterTableRowThemeVariants, m as gridFooterTableCellThemeVariants } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
1
+ import { B as GridLockedCellDirective, I as GridLogicalCellDirective, V as GridService, h as gridFooterTableRowThemeVariants, m as gridFooterTableCellThemeVariants } from "./nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, Directive, computed, inject, input } from "@angular/core";
4
4
  import { NgTemplateOutlet } from "@angular/common";
@@ -477,4 +477,4 @@ i0.ɵɵngDeclareClassMetadata({
477
477
  });
478
478
  export { GridFooterRowComponent };
479
479
 
480
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs.map
480
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-footer-row.component-BpsJwMkQ.mjs.map
@@ -1,7 +1,7 @@
1
- import { A as gridListTableThemeVariants, B as GridLockedCellDirective, D as gridListBaseThemeVariants, M as gridRowDragPreviewThemeVariants, V as GridService } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
2
- import { i as GridCellDirective, n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs";
3
- import { t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs";
4
- import { GridFooterRowComponent } from "./nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs";
1
+ import { A as gridListTableThemeVariants, B as GridLockedCellDirective, D as gridListBaseThemeVariants, M as gridRowDragPreviewThemeVariants, V as GridService } from "./nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs";
2
+ import { i as GridCellDirective, n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-D0T8kfdm.mjs";
3
+ import { t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-C62HvK-w.mjs";
4
+ import { GridFooterRowComponent } from "./nanahoshi-mona-ui-grid-grid-footer-row.component-BpsJwMkQ.mjs";
5
5
  import * as i0 from "@angular/core";
6
6
  import { Component, DestroyRef, ElementRef, afterNextRender, afterRenderEffect, computed, effect, inject, input, untracked, viewChild } from "@angular/core";
7
7
  import { NgTemplateOutlet } from "@angular/common";
@@ -467,4 +467,4 @@ i0.ɵɵngDeclareClassMetadata({
467
467
  });
468
468
  export { GridListComponent };
469
469
 
470
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-list.component-C1qjq2s7.mjs.map
470
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-list.component-BVpGUjA7.mjs.map
@@ -1,13 +1,13 @@
1
- import { B as GridLockedCellDirective, F as gridSelectionCellThemeVariants, I as GridLogicalCellDirective, L as GRID_CELL_FOCUSABLE_SELECTOR, N as gridRowReorderHandleThemeVariants, O as gridListTableCellThemeVariants, U as GridNavigationService, V as GridService, a as gridCellEditorBaseThemeVariants, b as gridGroupRowThemeVariants, i as gridCellDirtyIndicatorThemeVariants, k as gridListTableRowThemeVariants, n as gridCellBaseThemeVariants, o as gridCellEditorInputThemeVariants, r as gridCellContainerThemeVariants, s as gridCellTextThemeVariants } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
2
- import { n as removeGridRow } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs";
1
+ import { B as GridLockedCellDirective, F as gridSelectionCellThemeVariants, I as GridLogicalCellDirective, L as GRID_CELL_FOCUSABLE_SELECTOR, N as gridRowReorderHandleThemeVariants, O as gridListTableCellThemeVariants, U as GridNavigationService, V as GridService, a as gridCellEditorBaseThemeVariants, b as gridGroupRowThemeVariants, i as gridCellDirtyIndicatorThemeVariants, k as gridListTableRowThemeVariants, n as gridCellBaseThemeVariants, o as gridCellEditorInputThemeVariants, r as gridCellContainerThemeVariants, s as gridCellTextThemeVariants } from "./nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs";
2
+ import { n as removeGridRow } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-C62HvK-w.mjs";
3
3
  import * as i0 from "@angular/core";
4
4
  import { Component, Directive, ElementRef, Injector, LOCALE_ID, afterNextRender, computed, effect, inject, input, isDevMode, model, output, signal, untracked, viewChild } from "@angular/core";
5
5
  import { DialogService } from "@nanahoshi/mona-ui/dialog";
6
6
  import { MonaI18nService, formatGregorianDateToLocaleString, parseLocalizedNumber } from "@nanahoshi/mona-ui/i18n";
7
7
  import { v4 } from "uuid";
8
8
  import { NgTemplateOutlet, formatDate } from "@angular/common";
9
- import { LiveAnnouncer } from "@angular/cdk/a11y";
10
9
  import { FormField } from "@angular/forms/signals";
10
+ import { injectLiveAnnouncer } from "@nanahoshi/mona-ui/internal/live-announcer";
11
11
  import { CdkDragHandle } from "@angular/cdk/drag-drop";
12
12
  import { LucideCheck, LucideChevronDown, LucideChevronRight, LucideDynamicIcon, LucideGripVertical, LucideMinus, LucideOctagonAlert, LucidePencil, LucidePlus, LucideTrash2, LucideX } from "@lucide/angular";
13
13
  import { ButtonDirective } from "@nanahoshi/mona-ui/button";
@@ -1612,7 +1612,7 @@ var GridRowReorderHandleComponent = class GridRowReorderHandleComponent {
1612
1612
  this.#gridService = inject(GridService);
1613
1613
  this.#hostElement = inject(ElementRef).nativeElement;
1614
1614
  this.#injector = inject(Injector);
1615
- this.#liveAnnouncer = inject(LiveAnnouncer);
1615
+ this.#liveAnnouncer = injectLiveAnnouncer();
1616
1616
  this.ariaLabel = computed(() => {
1617
1617
  const absoluteIndex = this.pageIndex() + this.#gridService.paginationState().skip;
1618
1618
  const label = this.#gridService.getRowReorderAriaLabel(this.row(), absoluteIndex);
@@ -2112,4 +2112,4 @@ i0.ɵɵngDeclareClassMetadata({
2112
2112
  });
2113
2113
  export { GridCellDirective as i, GridGroupRowComponent as n, GridAddRowComponent as r, GridRowComponent as t };
2114
2114
 
2115
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs.map
2115
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-row.component-D0T8kfdm.mjs.map
@@ -1,7 +1,7 @@
1
- import { A as gridListTableThemeVariants, D as gridListBaseThemeVariants, U as GridNavigationService, V as GridService, _ as gridFooterThemeVariants, g as gridFooterTableThemeVariants } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
2
- import { n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs";
3
- import { t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs";
4
- import { GridFooterRowComponent } from "./nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs";
1
+ import { A as gridListTableThemeVariants, D as gridListBaseThemeVariants, U as GridNavigationService, V as GridService, _ as gridFooterThemeVariants, g as gridFooterTableThemeVariants } from "./nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs";
2
+ import { n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-D0T8kfdm.mjs";
3
+ import { t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-C62HvK-w.mjs";
4
+ import { GridFooterRowComponent } from "./nanahoshi-mona-ui-grid-grid-footer-row.component-BpsJwMkQ.mjs";
5
5
  import * as i0 from "@angular/core";
6
6
  import { Component, DestroyRef, ElementRef, Injector, afterNextRender, computed, effect, inject, input, untracked, viewChild } from "@angular/core";
7
7
  import { ImmutableList } from "@mirei/ts-collections";
@@ -327,4 +327,4 @@ i0.ɵɵngDeclareClassMetadata({
327
327
  });
328
328
  export { GridVirtualListComponent };
329
329
 
330
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-virtual-list.component-tguG2LpN.mjs.map
330
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-virtual-list.component-5D2BjGx4.mjs.map
@@ -6,9 +6,9 @@ import { v4 } from "uuid";
6
6
  import { DOCUMENT as DOCUMENT$1, isPlatformBrowser } from "@angular/common";
7
7
  import { Dictionary, ImmutableDictionary, ImmutableList, ImmutableSet, KeyValuePair, select } from "@mirei/ts-collections";
8
8
  import { BehaviorSubject, Subject, fromEvent } from "rxjs";
9
- import { LiveAnnouncer } from "@angular/cdk/a11y";
10
9
  import { takeUntilDestroyed, toObservable } from "@angular/core/rxjs-interop";
11
10
  import { form } from "@angular/forms/signals";
11
+ import { injectLiveAnnouncer } from "@nanahoshi/mona-ui/internal/live-announcer";
12
12
  import { Query, compareValues } from "@nanahoshi/mona-ui/query";
13
13
  import { Clipboard } from "@angular/cdk/clipboard";
14
14
  import { cva } from "class-variance-authority";
@@ -1067,7 +1067,7 @@ var GridService = class GridService {
1067
1067
  this.#horizontalScrollLeft = signal(0, ...ngDevMode ? [{ debugName: "#horizontalScrollLeft" }] : /* istanbul ignore next */ []);
1068
1068
  this.#i18n = inject(MonaI18nService);
1069
1069
  this.#injector = inject(Injector);
1070
- this.#liveAnnouncer = inject(LiveAnnouncer);
1070
+ this.#liveAnnouncer = injectLiveAnnouncer();
1071
1071
  this.#platformId = inject(PLATFORM_ID);
1072
1072
  this.#reorderableOptions = signal({ enabled: false }, ...ngDevMode ? [{ debugName: "#reorderableOptions" }] : /* istanbul ignore next */ []);
1073
1073
  this.#resizableOptions = signal({ enabled: false }, ...ngDevMode ? [{ debugName: "#resizableOptions" }] : /* istanbul ignore next */ []);
@@ -3763,4 +3763,4 @@ const gridNoDataThemeVariants = cva(`
3763
3763
  `);
3764
3764
  export { gridListTableThemeVariants as A, GridLockedCellDirective as B, gridHeaderTableColumnWrapThemeVariants as C, gridListBaseThemeVariants as D, gridHeaderThemeVariants as E, gridSelectionCellThemeVariants as F, GridSaveEvent as G, RowReorderEvent as H, GridLogicalCellDirective as I, GridCancelEvent as J, GridRemoveEvent as K, GRID_CELL_FOCUSABLE_SELECTOR as L, gridRowDragPreviewThemeVariants as M, gridRowReorderHandleThemeVariants as N, gridListTableCellThemeVariants as O, gridSelectAllCellThemeVariants as P, isKeyboardEntryElement as R, gridHeaderTableColumnTitleThemeVariants as S, gridHeaderTableThemeVariants as T, GridNavigationService as U, GridService as V, GRID_DEFAULT_MESSAGES as W, RowEditEvent as X, GridAddEvent as Y, CellEditEvent as Z, gridFooterThemeVariants as _, gridCellEditorBaseThemeVariants as a, gridGroupRowThemeVariants as b, gridColumnActionsThemeVariants as c, gridColumnResizerThemeVariants as d, gridFilterRowCellThemeVariants as f, gridFooterTableThemeVariants as g, gridFooterTableRowThemeVariants as h, gridCellDirtyIndicatorThemeVariants as i, gridNoDataThemeVariants as j, gridListTableRowThemeVariants as k, gridColumnDragPreviewThemeVariants as l, gridFooterTableCellThemeVariants as m, gridCellBaseThemeVariants as n, gridCellEditorInputThemeVariants as o, gridFilterRowHeaderCellThemeVariants as p, GridEditEvent as q, gridCellContainerThemeVariants as r, gridCellTextThemeVariants as s, gridBaseThemeVariants as t, gridColumnDropHintThemeVariants as u, gridGroupPanelPlaceholderThemeVariants as v, gridHeaderTableRowThemeVariants as w, gridHeaderTableCellThemeVariants as x, gridGroupPanelThemeVariants as y, observeGridCellTabStops as z };
3765
3765
 
3766
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs.map
3766
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs.map
@@ -1,5 +1,5 @@
1
- import { B as GridLockedCellDirective, C as gridHeaderTableColumnWrapThemeVariants, E as gridHeaderThemeVariants, G as GridSaveEvent, H as RowReorderEvent, I as GridLogicalCellDirective, J as GridCancelEvent, K as GridRemoveEvent, P as gridSelectAllCellThemeVariants, R as isKeyboardEntryElement, S as gridHeaderTableColumnTitleThemeVariants, T as gridHeaderTableThemeVariants, U as GridNavigationService, V as GridService, W as GRID_DEFAULT_MESSAGES, X as RowEditEvent, Y as GridAddEvent, Z as CellEditEvent, _ as gridFooterThemeVariants, c as gridColumnActionsThemeVariants, d as gridColumnResizerThemeVariants, f as gridFilterRowCellThemeVariants, g as gridFooterTableThemeVariants, j as gridNoDataThemeVariants, l as gridColumnDragPreviewThemeVariants, p as gridFilterRowHeaderCellThemeVariants, q as GridEditEvent, t as gridBaseThemeVariants, u as gridColumnDropHintThemeVariants, v as gridGroupPanelPlaceholderThemeVariants, w as gridHeaderTableRowThemeVariants, x as gridHeaderTableCellThemeVariants, y as gridGroupPanelThemeVariants, z as observeGridCellTabStops } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
2
- import { n as removeGridRow, t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs";
1
+ import { B as GridLockedCellDirective, C as gridHeaderTableColumnWrapThemeVariants, E as gridHeaderThemeVariants, G as GridSaveEvent, H as RowReorderEvent, I as GridLogicalCellDirective, J as GridCancelEvent, K as GridRemoveEvent, P as gridSelectAllCellThemeVariants, R as isKeyboardEntryElement, S as gridHeaderTableColumnTitleThemeVariants, T as gridHeaderTableThemeVariants, U as GridNavigationService, V as GridService, W as GRID_DEFAULT_MESSAGES, X as RowEditEvent, Y as GridAddEvent, Z as CellEditEvent, _ as gridFooterThemeVariants, c as gridColumnActionsThemeVariants, d as gridColumnResizerThemeVariants, f as gridFilterRowCellThemeVariants, g as gridFooterTableThemeVariants, j as gridNoDataThemeVariants, l as gridColumnDragPreviewThemeVariants, p as gridFilterRowHeaderCellThemeVariants, q as GridEditEvent, t as gridBaseThemeVariants, u as gridColumnDropHintThemeVariants, v as gridGroupPanelPlaceholderThemeVariants, w as gridHeaderTableRowThemeVariants, x as gridHeaderTableCellThemeVariants, y as gridGroupPanelThemeVariants, z as observeGridCellTabStops } from "./nanahoshi-mona-ui-grid-grid.styles-62LTuPhD.mjs";
2
+ import { n as removeGridRow, t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-C62HvK-w.mjs";
3
3
  import { PreventableEvent, deepEquals } from "@nanahoshi/mona-ui/common";
4
4
  import * as i0 from "@angular/core";
5
5
  import { Component, DOCUMENT, DestroyRef, Directive, ElementRef, Injectable, InjectionToken, Injector, PLATFORM_ID, Pipe, TemplateRef, afterEveryRender, afterNextRender, booleanAttribute, computed, contentChild, contentChildren, effect, forwardRef, inject, input, isDevMode, linkedSignal, model, output, signal, untracked, viewChild, viewChildren } from "@angular/core";
@@ -9,8 +9,8 @@ import { v4 } from "uuid";
9
9
  import { DOCUMENT as DOCUMENT$1, NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
10
10
  import { ImmutableSet } from "@mirei/ts-collections";
11
11
  import { Subject, fromEvent, map, of, pairwise, startWith, switchMap, take, timer } from "rxjs";
12
- import { FocusTrapFactory, LiveAnnouncer } from "@angular/cdk/a11y";
13
12
  import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
13
+ import { injectLiveAnnouncer } from "@nanahoshi/mona-ui/internal/live-announcer";
14
14
  import { ContextMenuItemComponent } from "@nanahoshi/mona-ui/contextmenu";
15
15
  import { CdkDrag, CdkDragPlaceholder, CdkDragPreview, CdkDropList } from "@angular/cdk/drag-drop";
16
16
  import { LucideArrowDown, LucideArrowLeft, LucideArrowRight, LucideArrowUp, LucideEllipsisVertical, LucideFunnel, LucideFunnelX } from "@lucide/angular";
@@ -24,6 +24,7 @@ import { PopupMenuCheckboxItemComponent, PopupMenuComponent, PopupMenuItemCompon
24
24
  import { twMerge } from "tailwind-merge";
25
25
  import { FilterInputComponent } from "@nanahoshi/mona-ui/internal/filter-input";
26
26
  import { ListViewComponent, ListViewFooterTemplateDirective, ListViewHeaderTemplateDirective, ListViewSelectableDirective } from "@nanahoshi/mona-ui/list-view";
27
+ import { FocusTrapFactory } from "@angular/cdk/a11y";
27
28
  import * as i1 from "@angular/forms";
28
29
  import { FormsModule } from "@angular/forms";
29
30
  import { createElementControlId } from "@nanahoshi/mona-ui/internal";
@@ -3985,7 +3986,7 @@ var GridComponent = class GridComponent {
3985
3986
  this.#gridNavigationService = inject(GridNavigationService);
3986
3987
  this.#hostElementRef = inject(ElementRef);
3987
3988
  this.#injector = inject(Injector);
3988
- this.#liveAnnouncer = inject(LiveAnnouncer);
3989
+ this.#liveAnnouncer = injectLiveAnnouncer();
3989
3990
  this.#manuallyResized = signal(false, ...ngDevMode ? [{ debugName: "#manuallyResized" }] : /* istanbul ignore next */ []);
3990
3991
  this.#registeredFooterScrollElement = signal(null, ...ngDevMode ? [{ debugName: "#registeredFooterScrollElement" }] : /* istanbul ignore next */ []);
3991
3992
  this.#dragCancelled = false;
@@ -5171,9 +5172,9 @@ var GridComponent = class GridComponent {
5171
5172
  deferBlockDependencies: [() => [
5172
5173
  NgTemplateOutlet,
5173
5174
  GridColgroupComponent,
5174
- import("./nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs").then((m) => m.GridFooterRowComponent),
5175
- import("./nanahoshi-mona-ui-grid-grid-list.component-C1qjq2s7.mjs").then((m) => m.GridListComponent),
5176
- import("./nanahoshi-mona-ui-grid-grid-virtual-list.component-tguG2LpN.mjs").then((m) => m.GridVirtualListComponent),
5175
+ import("./nanahoshi-mona-ui-grid-grid-footer-row.component-BpsJwMkQ.mjs").then((m) => m.GridFooterRowComponent),
5176
+ import("./nanahoshi-mona-ui-grid-grid-list.component-BVpGUjA7.mjs").then((m) => m.GridListComponent),
5177
+ import("./nanahoshi-mona-ui-grid-grid-virtual-list.component-5D2BjGx4.mjs").then((m) => m.GridVirtualListComponent),
5177
5178
  import("@nanahoshi/mona-ui/spinner").then((m) => m.SpinnerComponent)
5178
5179
  ]]
5179
5180
  });
@@ -5185,9 +5186,9 @@ i0.ɵɵngDeclareClassMetadataAsync({
5185
5186
  ngImport: i0,
5186
5187
  type: GridComponent,
5187
5188
  resolveDeferredDeps: () => [
5188
- import("./nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs").then((m) => m.GridFooterRowComponent),
5189
- import("./nanahoshi-mona-ui-grid-grid-list.component-C1qjq2s7.mjs").then((m) => m.GridListComponent),
5190
- import("./nanahoshi-mona-ui-grid-grid-virtual-list.component-tguG2LpN.mjs").then((m) => m.GridVirtualListComponent),
5189
+ import("./nanahoshi-mona-ui-grid-grid-footer-row.component-BpsJwMkQ.mjs").then((m) => m.GridFooterRowComponent),
5190
+ import("./nanahoshi-mona-ui-grid-grid-list.component-BVpGUjA7.mjs").then((m) => m.GridListComponent),
5191
+ import("./nanahoshi-mona-ui-grid-grid-virtual-list.component-5D2BjGx4.mjs").then((m) => m.GridVirtualListComponent),
5191
5192
  import("@nanahoshi/mona-ui/spinner").then((m) => m.SpinnerComponent)
5192
5193
  ],
5193
5194
  resolveMetadata: (GridFooterRowComponent, GridListComponent, GridVirtualListComponent, SpinnerComponent) => ({
@@ -564,6 +564,80 @@ const MONA_MESSAGE_PARAMETERS = {
564
564
  undo: null,
565
565
  widthPx: null
566
566
  },
567
+ fileUpload: {
568
+ browse: null,
569
+ browseFile: null,
570
+ cancel: [{
571
+ name: "name",
572
+ type: "string"
573
+ }],
574
+ clear: null,
575
+ dropFile: null,
576
+ dropFiles: null,
577
+ dropToAdd: null,
578
+ fileFailed: [{
579
+ name: "name",
580
+ type: "string"
581
+ }],
582
+ fileRejected: [{
583
+ name: "name",
584
+ type: "string"
585
+ }, {
586
+ name: "reason",
587
+ type: "string"
588
+ }],
589
+ fileRemoved: [{
590
+ name: "name",
591
+ type: "string"
592
+ }],
593
+ fileTypes: [{
594
+ name: "types",
595
+ type: "string"
596
+ }],
597
+ fileUploaded: [{
598
+ name: "name",
599
+ type: "string"
600
+ }],
601
+ files: null,
602
+ filesAdded: [{
603
+ name: "count",
604
+ type: "number"
605
+ }],
606
+ invalidType: null,
607
+ maxFileSize: [{
608
+ name: "size",
609
+ type: "string"
610
+ }],
611
+ maxFiles: [{
612
+ name: "count",
613
+ type: "number"
614
+ }],
615
+ readyToUpload: null,
616
+ remove: [{
617
+ name: "name",
618
+ type: "string"
619
+ }],
620
+ retry: [{
621
+ name: "name",
622
+ type: "string"
623
+ }],
624
+ tooLarge: [{
625
+ name: "size",
626
+ type: "string"
627
+ }],
628
+ tooMany: [{
629
+ name: "count",
630
+ type: "number"
631
+ }],
632
+ tooSmall: [{
633
+ name: "size",
634
+ type: "string"
635
+ }],
636
+ upload: null,
637
+ uploadFailed: null,
638
+ uploaded: null,
639
+ uploading: null
640
+ },
567
641
  filter: {
568
642
  and: null,
569
643
  apply: null,
@@ -0,0 +1,10 @@
1
+ import { LiveAnnouncer } from "@angular/cdk/a11y";
2
+ import { _CdkPrivateStyleLoader, _VisuallyHiddenLoader } from "@angular/cdk/private";
3
+ import { inject } from "@angular/core";
4
+ function injectLiveAnnouncer() {
5
+ inject(_CdkPrivateStyleLoader).load(_VisuallyHiddenLoader);
6
+ return inject(LiveAnnouncer);
7
+ }
8
+ export { injectLiveAnnouncer };
9
+
10
+ //# sourceMappingURL=nanahoshi-mona-ui-internal-live-announcer.mjs.map
@@ -1,9 +1,10 @@
1
- import { FocusMonitor, LiveAnnouncer } from "@angular/cdk/a11y";
1
+ import { FocusMonitor } from "@angular/cdk/a11y";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Component, DOCUMENT, DestroyRef, Directive, ElementRef, Injectable, Injector, NgZone, Pipe, TemplateRef, afterNextRender, afterRenderEffect, computed, contentChild, effect, inject, input, signal, untracked } from "@angular/core";
4
4
  import { takeUntilDestroyed, toObservable, toSignal } from "@angular/core/rxjs-interop";
5
5
  import { MonaI18nService, formatNumber, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
6
6
  import { isTypeaheadKey, setupTypeahead, themeOverlaySurfaceClasses, themeSelectionBarClasses } from "@nanahoshi/mona-ui/internal";
7
+ import { injectLiveAnnouncer } from "@nanahoshi/mona-ui/internal/live-announcer";
7
8
  import { BehaviorSubject, Observable, ReplaySubject, Subject, asapScheduler, distinctUntilChanged, filter, fromEvent, map, merge, switchMap, take, takeWhile, tap } from "rxjs";
8
9
  import { PreventableEvent } from "@nanahoshi/mona-ui/common";
9
10
  import { EnumerableSet, ImmutableSet, List, forEach, from, sequenceEqual } from "@mirei/ts-collections";
@@ -2025,7 +2026,7 @@ var TreeComponent = class TreeComponent {
2025
2026
  #zone;
2026
2027
  #lastNavigatedNode;
2027
2028
  constructor() {
2028
- this.#announcer = inject(LiveAnnouncer);
2029
+ this.#announcer = injectLiveAnnouncer();
2029
2030
  this.#destroyRef = inject(DestroyRef);
2030
2031
  this.#direction = injectComponentDirection();
2031
2032
  this.#document = inject(DOCUMENT);
@@ -1,4 +1,3 @@
1
- import { LiveAnnouncer } from "@angular/cdk/a11y";
2
1
  import { NgTemplateOutlet } from "@angular/common";
3
2
  import * as i0 from "@angular/core";
4
3
  import { Component, Directive, ElementRef, Injector, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, inject, input, output, signal, untracked } from "@angular/core";
@@ -9,6 +8,7 @@ import { ButtonDirective } from "@nanahoshi/mona-ui/button";
9
8
  import { MonaI18nService, formatNumber, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
10
9
  import { injectLabelledByText } from "@nanahoshi/mona-ui/internal";
11
10
  import { LIST_VIEW_HOST_LIST_SERVICE, ListService } from "@nanahoshi/mona-ui/internal/list";
11
+ import { injectLiveAnnouncer } from "@nanahoshi/mona-ui/internal/live-announcer";
12
12
  import { ListViewComponent, ListViewFooterTemplateDirective, ListViewHeaderTemplateDirective, ListViewItemTemplateDirective, ListViewNavigableDirective, ListViewNoDataTemplateDirective, ListViewSelectableDirective } from "@nanahoshi/mona-ui/list-view";
13
13
  import { PreventableEvent } from "@nanahoshi/mona-ui/common";
14
14
  import { cva } from "class-variance-authority";
@@ -357,7 +357,7 @@ var ListBoxComponent = class ListBoxComponent {
357
357
  }, ...ngDevMode ? [{ debugName: "#itemIndexes" }] : /* istanbul ignore next */ []);
358
358
  this.#labelledByText = injectLabelledByText(() => this.ariaLabelledBy());
359
359
  this.#listService = inject(ListService);
360
- this.#liveAnnouncer = inject(LiveAnnouncer);
360
+ this.#liveAnnouncer = injectLiveAnnouncer();
361
361
  this.#name = computed(() => this.ariaLabel().trim() || this.#labelledByText(), ...ngDevMode ? [{ debugName: "#name" }] : /* istanbul ignore next */ []);
362
362
  this.#owner = signal(null, ...ngDevMode ? [{ debugName: "#owner" }] : /* istanbul ignore next */ []);
363
363
  this.#toolbarFocus = signal(null, ...ngDevMode ? [{ debugName: "#toolbarFocus" }] : /* istanbul ignore next */ []);
@@ -303,6 +303,56 @@ const MONA_AR_SA_LOCALE = {
303
303
  undo: "تراجع",
304
304
  widthPx: "العرض (px)"
305
305
  },
306
+ fileUpload: {
307
+ browse: "استعراض الملفات",
308
+ browseFile: "اختيار ملف",
309
+ cancel: (name) => `إلغاء رفع ${name}`,
310
+ clear: "مسح",
311
+ dropFile: "اسحب ملفًا إلى هنا",
312
+ dropFiles: "اسحب الملفات إلى هنا",
313
+ dropToAdd: "أفلِت للإضافة",
314
+ fileFailed: (name) => `تعذّر رفع ${name}.`,
315
+ fileRejected: (name, reason) => `لم تتم إضافة ${name}. ${reason}`,
316
+ fileRemoved: (name) => `تمت إزالة ${name}.`,
317
+ fileTypes: (types) => `أنواع الملفات: ${types}`,
318
+ fileUploaded: (name) => `تم رفع ${name}.`,
319
+ files: "الملفات",
320
+ filesAdded: (count) => plural(PLURAL_RULES.select(count), {
321
+ zero: () => "لم تتم إضافة أي ملف.",
322
+ one: () => "تمت إضافة ملف واحد.",
323
+ two: () => "تمت إضافة ملفين.",
324
+ few: () => `تمت إضافة ${localizeNumber(count)} ملفات.`,
325
+ many: () => `تمت إضافة ${localizeNumber(count)} ملفًا.`,
326
+ other: () => `تمت إضافة ${localizeNumber(count)} ملف.`
327
+ }),
328
+ invalidType: "نوع هذا الملف غير مقبول.",
329
+ maxFileSize: (size) => `الحد الأقصى لحجم الملف: ${size}`,
330
+ maxFiles: (count) => `حتى ${plural(PLURAL_RULES.select(count), {
331
+ zero: () => `${localizeNumber(count)} ملف`,
332
+ one: () => "ملف واحد",
333
+ two: () => "ملفين",
334
+ few: () => `${localizeNumber(count)} ملفات`,
335
+ many: () => `${localizeNumber(count)} ملفًا`,
336
+ other: () => `${localizeNumber(count)} ملف`
337
+ })}`,
338
+ readyToUpload: "جاهز للرفع",
339
+ remove: (name) => `إزالة ${name}`,
340
+ retry: (name) => `إعادة محاولة رفع ${name}`,
341
+ tooLarge: (size) => `حجم الملف أكبر من ${size}.`,
342
+ tooMany: (count) => `لا يمكن إضافة أكثر من ${plural(PLURAL_RULES.select(count), {
343
+ zero: () => `${localizeNumber(count)} ملف`,
344
+ one: () => "ملف واحد",
345
+ two: () => "ملفين",
346
+ few: () => `${localizeNumber(count)} ملفات`,
347
+ many: () => `${localizeNumber(count)} ملفًا`,
348
+ other: () => `${localizeNumber(count)} ملف`
349
+ })}.`,
350
+ tooSmall: (size) => `حجم الملف أصغر من ${size}.`,
351
+ upload: "رفع",
352
+ uploadFailed: "فشل الرفع.",
353
+ uploaded: "تم الرفع",
354
+ uploading: "جارٍ الرفع"
355
+ },
306
356
  filter: {
307
357
  and: "و",
308
358
  apply: "تطبيق",
@@ -287,6 +287,44 @@ const MONA_DE_DE_LOCALE = {
287
287
  undo: "Rückgängig",
288
288
  widthPx: "Breite (px)"
289
289
  },
290
+ fileUpload: {
291
+ browse: "Dateien durchsuchen",
292
+ browseFile: "Datei auswählen",
293
+ cancel: (name) => `Hochladen von ${name} abbrechen`,
294
+ clear: "Leeren",
295
+ dropFile: "Datei hierher ziehen",
296
+ dropFiles: "Dateien hierher ziehen",
297
+ dropToAdd: "Zum Hinzufügen ablegen",
298
+ fileFailed: (name) => `${name} konnte nicht hochgeladen werden.`,
299
+ fileRejected: (name, reason) => `${name} wurde nicht hinzugefügt. ${reason}`,
300
+ fileRemoved: (name) => `${name} entfernt.`,
301
+ fileTypes: (types) => `Dateitypen: ${types}`,
302
+ fileUploaded: (name) => `${name} hochgeladen.`,
303
+ files: "Dateien",
304
+ filesAdded: (count) => plural(PLURAL_RULES.select(count), {
305
+ one: () => `${localizeNumber(count)} Datei hinzugefügt.`,
306
+ other: () => `${localizeNumber(count)} Dateien hinzugefügt.`
307
+ }),
308
+ invalidType: "Dieser Dateityp wird nicht akzeptiert.",
309
+ maxFileSize: (size) => `Max. Dateigröße: ${size}`,
310
+ maxFiles: (count) => `Bis zu ${plural(PLURAL_RULES.select(count), {
311
+ one: () => `${localizeNumber(count)} Datei`,
312
+ other: () => `${localizeNumber(count)} Dateien`
313
+ })}`,
314
+ readyToUpload: "Bereit zum Hochladen",
315
+ remove: (name) => `${name} entfernen`,
316
+ retry: (name) => `Hochladen von ${name} wiederholen`,
317
+ tooLarge: (size) => `Die Datei ist größer als ${size}.`,
318
+ tooMany: (count) => `Es können höchstens ${plural(PLURAL_RULES.select(count), {
319
+ one: () => `${localizeNumber(count)} Datei`,
320
+ other: () => `${localizeNumber(count)} Dateien`
321
+ })} hinzugefügt werden.`,
322
+ tooSmall: (size) => `Die Datei ist kleiner als ${size}.`,
323
+ upload: "Hochladen",
324
+ uploadFailed: "Das Hochladen ist fehlgeschlagen.",
325
+ uploaded: "Hochgeladen",
326
+ uploading: "Wird hochgeladen"
327
+ },
290
328
  filter: {
291
329
  and: "Und",
292
330
  apply: "Anwenden",
@@ -287,6 +287,44 @@ const MONA_ES_ES_LOCALE = {
287
287
  undo: "Deshacer",
288
288
  widthPx: "Anchura (px)"
289
289
  },
290
+ fileUpload: {
291
+ browse: "Examinar archivos",
292
+ browseFile: "Elegir un archivo",
293
+ cancel: (name) => `Cancelar la subida de ${name}`,
294
+ clear: "Borrar",
295
+ dropFile: "Arrastra un archivo aquí",
296
+ dropFiles: "Arrastra archivos aquí",
297
+ dropToAdd: "Suelta para añadir",
298
+ fileFailed: (name) => `No se ha podido subir ${name}.`,
299
+ fileRejected: (name, reason) => `No se ha añadido ${name}. ${reason}`,
300
+ fileRemoved: (name) => `Se ha quitado ${name}.`,
301
+ fileTypes: (types) => `Tipos de archivo: ${types}`,
302
+ fileUploaded: (name) => `Se ha subido ${name}.`,
303
+ files: "Archivos",
304
+ filesAdded: (count) => plural(PLURAL_RULES.select(count), {
305
+ one: () => `${localizeNumber(count)} archivo añadido.`,
306
+ other: () => `${localizeNumber(count)} archivos añadidos.`
307
+ }),
308
+ invalidType: "Este tipo de archivo no se admite.",
309
+ maxFileSize: (size) => `Tamaño máx. de archivo: ${size}`,
310
+ maxFiles: (count) => `Hasta ${plural(PLURAL_RULES.select(count), {
311
+ one: () => `${localizeNumber(count)} archivo`,
312
+ other: () => `${localizeNumber(count)} archivos`
313
+ })}`,
314
+ readyToUpload: "Listo para subir",
315
+ remove: (name) => `Quitar ${name}`,
316
+ retry: (name) => `Reintentar la subida de ${name}`,
317
+ tooLarge: (size) => `El archivo ocupa más de ${size}.`,
318
+ tooMany: (count) => `No se pueden añadir más de ${plural(PLURAL_RULES.select(count), {
319
+ one: () => `${localizeNumber(count)} archivo`,
320
+ other: () => `${localizeNumber(count)} archivos`
321
+ })}.`,
322
+ tooSmall: (size) => `El archivo ocupa menos de ${size}.`,
323
+ upload: "Subir",
324
+ uploadFailed: "No se ha podido subir.",
325
+ uploaded: "Subido",
326
+ uploading: "Subiendo"
327
+ },
290
328
  filter: {
291
329
  and: "Y",
292
330
  apply: "Aplicar",
@@ -287,6 +287,44 @@ const MONA_FR_FR_LOCALE = {
287
287
  undo: "Annuler",
288
288
  widthPx: "Largeur (px)"
289
289
  },
290
+ fileUpload: {
291
+ browse: "Parcourir les fichiers",
292
+ browseFile: "Choisir un fichier",
293
+ cancel: (name) => `Annuler l’envoi de ${name}`,
294
+ clear: "Effacer",
295
+ dropFile: "Faites glisser un fichier ici",
296
+ dropFiles: "Faites glisser des fichiers ici",
297
+ dropToAdd: "Déposez pour ajouter",
298
+ fileFailed: (name) => `${name} n’a pas pu être envoyé.`,
299
+ fileRejected: (name, reason) => `${name} n’a pas été ajouté. ${reason}`,
300
+ fileRemoved: (name) => `${name} retiré.`,
301
+ fileTypes: (types) => `Types de fichiers : ${types}`,
302
+ fileUploaded: (name) => `${name} envoyé.`,
303
+ files: "Fichiers",
304
+ filesAdded: (count) => plural(PLURAL_RULES.select(count), {
305
+ one: () => `${localizeNumber(count)} fichier ajouté.`,
306
+ other: () => `${localizeNumber(count)} fichiers ajoutés.`
307
+ }),
308
+ invalidType: "Ce type de fichier n’est pas accepté.",
309
+ maxFileSize: (size) => `Taille max. du fichier : ${size}`,
310
+ maxFiles: (count) => `Jusqu’à ${plural(PLURAL_RULES.select(count), {
311
+ one: () => `${localizeNumber(count)} fichier`,
312
+ other: () => `${localizeNumber(count)} fichiers`
313
+ })}`,
314
+ readyToUpload: "Prêt à envoyer",
315
+ remove: (name) => `Retirer ${name}`,
316
+ retry: (name) => `Relancer l’envoi de ${name}`,
317
+ tooLarge: (size) => `Le fichier dépasse ${size}.`,
318
+ tooMany: (count) => `Vous ne pouvez pas ajouter plus de ${plural(PLURAL_RULES.select(count), {
319
+ one: () => `${localizeNumber(count)} fichier`,
320
+ other: () => `${localizeNumber(count)} fichiers`
321
+ })}.`,
322
+ tooSmall: (size) => `Le fichier fait moins de ${size}.`,
323
+ upload: "Envoyer",
324
+ uploadFailed: "L’envoi a échoué.",
325
+ uploaded: "Envoyé",
326
+ uploading: "Envoi en cours"
327
+ },
290
328
  filter: {
291
329
  and: "Et",
292
330
  apply: "Appliquer",
@@ -271,6 +271,35 @@ const MONA_ID_ID_LOCALE = {
271
271
  undo: "Urungkan",
272
272
  widthPx: "Lebar (px)"
273
273
  },
274
+ fileUpload: {
275
+ browse: "Telusuri file",
276
+ browseFile: "Pilih file",
277
+ cancel: (name) => `Batalkan unggahan ${name}`,
278
+ clear: "Hapus semua",
279
+ dropFile: "Seret file ke sini",
280
+ dropFiles: "Seret file ke sini",
281
+ dropToAdd: "Lepaskan untuk menambahkan",
282
+ fileFailed: (name) => `${name} gagal diunggah.`,
283
+ fileRejected: (name, reason) => `${name} tidak ditambahkan. ${reason}`,
284
+ fileRemoved: (name) => `${name} dihapus.`,
285
+ fileTypes: (types) => `Jenis file: ${types}`,
286
+ fileUploaded: (name) => `${name} berhasil diunggah.`,
287
+ files: "Daftar file",
288
+ filesAdded: (count) => `${localizeNumber(count)} file ditambahkan.`,
289
+ invalidType: "Jenis file ini tidak diterima.",
290
+ maxFileSize: (size) => `Ukuran file maks.: ${size}`,
291
+ maxFiles: (count) => `Hingga ${localizeNumber(count)} file`,
292
+ readyToUpload: "Siap diunggah",
293
+ remove: (name) => `Hapus ${name}`,
294
+ retry: (name) => `Coba unggah ulang ${name}`,
295
+ tooLarge: (size) => `File lebih besar dari ${size}.`,
296
+ tooMany: (count) => `Tidak dapat menambahkan lebih dari ${localizeNumber(count)} file.`,
297
+ tooSmall: (size) => `File lebih kecil dari ${size}.`,
298
+ upload: "Unggah",
299
+ uploadFailed: "Unggahan gagal.",
300
+ uploaded: "Terunggah",
301
+ uploading: "Mengunggah"
302
+ },
274
303
  filter: {
275
304
  and: "Dan",
276
305
  apply: "Terapkan",
@@ -287,6 +287,44 @@ const MONA_IT_IT_LOCALE = {
287
287
  undo: "Annulla",
288
288
  widthPx: "Larghezza (px)"
289
289
  },
290
+ fileUpload: {
291
+ browse: "Sfoglia i file",
292
+ browseFile: "Scegli un file",
293
+ cancel: (name) => `Annulla il caricamento di ${name}`,
294
+ clear: "Cancella",
295
+ dropFile: "Trascina qui un file",
296
+ dropFiles: "Trascina qui i file",
297
+ dropToAdd: "Rilascia per aggiungere",
298
+ fileFailed: (name) => `Impossibile caricare ${name}.`,
299
+ fileRejected: (name, reason) => `${name} non è stato aggiunto. ${reason}`,
300
+ fileRemoved: (name) => `${name} rimosso.`,
301
+ fileTypes: (types) => `Tipi di file: ${types}`,
302
+ fileUploaded: (name) => `${name} caricato.`,
303
+ files: "Elenco dei file",
304
+ filesAdded: (count) => plural(PLURAL_RULES.select(count), {
305
+ one: () => `${localizeNumber(count)} file aggiunto.`,
306
+ other: () => `${localizeNumber(count)} file aggiunti.`
307
+ }),
308
+ invalidType: "Questo tipo di file non è accettato.",
309
+ maxFileSize: (size) => `Dimensione max. del file: ${size}`,
310
+ maxFiles: (count) => `Fino a ${plural(PLURAL_RULES.select(count), {
311
+ one: () => `${localizeNumber(count)} file`,
312
+ other: () => `${localizeNumber(count)} file`
313
+ })}`,
314
+ readyToUpload: "Pronto per il caricamento",
315
+ remove: (name) => `Rimuovi ${name}`,
316
+ retry: (name) => `Riprova il caricamento di ${name}`,
317
+ tooLarge: (size) => `Il file supera ${size}.`,
318
+ tooMany: (count) => `Non si possono aggiungere più di ${plural(PLURAL_RULES.select(count), {
319
+ one: () => `${localizeNumber(count)} file`,
320
+ other: () => `${localizeNumber(count)} file`
321
+ })}.`,
322
+ tooSmall: (size) => `Il file è più piccolo di ${size}.`,
323
+ upload: "Carica",
324
+ uploadFailed: "Caricamento non riuscito.",
325
+ uploaded: "Caricato",
326
+ uploading: "Caricamento in corso"
327
+ },
290
328
  filter: {
291
329
  and: "E",
292
330
  apply: "Applica",
@@ -271,6 +271,35 @@ const MONA_JA_JP_LOCALE = {
271
271
  undo: "元に戻す",
272
272
  widthPx: "幅 (px)"
273
273
  },
274
+ fileUpload: {
275
+ browse: "ファイルを参照",
276
+ browseFile: "ファイルを選択",
277
+ cancel: (name) => `${name} のアップロードをキャンセル`,
278
+ clear: "クリア",
279
+ dropFile: "ここにファイルをドラッグ",
280
+ dropFiles: "ここにファイルをドラッグ",
281
+ dropToAdd: "ドロップして追加",
282
+ fileFailed: (name) => `${name} をアップロードできませんでした。`,
283
+ fileRejected: (name, reason) => `${name} は追加されませんでした。${reason}`,
284
+ fileRemoved: (name) => `${name} を削除しました。`,
285
+ fileTypes: (types) => `ファイル形式:${types}`,
286
+ fileUploaded: (name) => `${name} をアップロードしました。`,
287
+ files: "ファイル",
288
+ filesAdded: (count) => `${localizeNumber(count)} 件のファイルを追加しました。`,
289
+ invalidType: "このファイル形式は使用できません。",
290
+ maxFileSize: (size) => `最大ファイルサイズ:${size}`,
291
+ maxFiles: (count) => `最大 ${localizeNumber(count)} 件`,
292
+ readyToUpload: "アップロード待ち",
293
+ remove: (name) => `${name} を削除`,
294
+ retry: (name) => `${name} のアップロードを再試行`,
295
+ tooLarge: (size) => `ファイルが ${size} を超えています。`,
296
+ tooMany: (count) => `追加できるファイルは ${localizeNumber(count)} 件までです。`,
297
+ tooSmall: (size) => `ファイルが ${size} より小さいです。`,
298
+ upload: "アップロード",
299
+ uploadFailed: "アップロードに失敗しました。",
300
+ uploaded: "アップロード済み",
301
+ uploading: "アップロード中"
302
+ },
274
303
  filter: {
275
304
  and: "かつ",
276
305
  apply: "適用",