@nanahoshi/mona-ui 0.24.9 → 0.24.10

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 (50) hide show
  1. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +2 -2
  2. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +3 -1
  3. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1054 -452
  4. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +19 -0
  5. package/fesm2022/nanahoshi-mona-ui-internal.mjs +131 -13
  6. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +16 -0
  7. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +16 -0
  8. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +16 -0
  9. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +16 -0
  10. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +16 -0
  11. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +16 -0
  12. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +16 -0
  13. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +16 -0
  14. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +16 -0
  15. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +16 -0
  16. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +16 -0
  17. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +16 -0
  18. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +16 -0
  19. package/fesm2022/nanahoshi-mona-ui-window.mjs +3 -1
  20. package/i18n/catalogs/en-US.messages.json +20 -4
  21. package/locales/ar-sa/ar-sa.messages.json +16 -0
  22. package/locales/de-de/de-de.messages.json +16 -0
  23. package/locales/es-es/es-es.messages.json +16 -0
  24. package/locales/fr-fr/fr-fr.messages.json +16 -0
  25. package/locales/id-id/id-id.messages.json +16 -0
  26. package/locales/it-it/it-it.messages.json +16 -0
  27. package/locales/ja-jp/ja-jp.messages.json +16 -0
  28. package/locales/ko-kr/ko-kr.messages.json +16 -0
  29. package/locales/pt-br/pt-br.messages.json +16 -0
  30. package/locales/ru-ru/ru-ru.messages.json +16 -0
  31. package/locales/tr-tr/tr-tr.messages.json +16 -0
  32. package/locales/zh-cn/zh-cn.messages.json +16 -0
  33. package/locales/zh-tw/zh-tw.messages.json +16 -0
  34. package/package.json +1 -1
  35. package/types/nanahoshi-mona-ui-editor.d.ts +118 -21
  36. package/types/nanahoshi-mona-ui-i18n.d.ts +18 -0
  37. package/types/nanahoshi-mona-ui-internal.d.ts +24 -2
  38. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +16 -0
  39. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +16 -0
  40. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +16 -0
  41. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +16 -0
  42. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +16 -0
  43. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +16 -0
  44. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +16 -0
  45. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +16 -0
  46. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +16 -0
  47. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +16 -0
  48. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +16 -0
  49. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +16 -0
  50. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +16 -0
@@ -151,24 +151,33 @@ const MONA_MESSAGE_PARAMETERS = {
151
151
  addRowAfter: null,
152
152
  addRowBefore: null,
153
153
  alignCenter: null,
154
+ alignEnd: null,
154
155
  alignLeft: null,
155
156
  alignRight: null,
157
+ alignStart: null,
158
+ alignmentGroup: null,
156
159
  altText: null,
160
+ apply: null,
157
161
  backgroundColor: null,
158
162
  bold: null,
159
163
  cancel: null,
160
164
  codeBlock: null,
161
165
  color: null,
166
+ contentLabel: null,
167
+ defaultFontFamily: null,
162
168
  deleteColumn: null,
163
169
  deleteRow: null,
164
170
  deleteTable: null,
171
+ editLink: null,
165
172
  enterUrl: null,
166
173
  fontSize: null,
167
174
  format: null,
168
175
  heading: [{ name: "level", type: "number" }],
169
176
  heightPx: null,
177
+ historyGroup: null,
170
178
  imageUrl: null,
171
179
  indent: null,
180
+ indentGroup: null,
172
181
  insert: null,
173
182
  insertImage: null,
174
183
  insertLink: null,
@@ -176,8 +185,11 @@ const MONA_MESSAGE_PARAMETERS = {
176
185
  insertTable: null,
177
186
  insertTaskList: null,
178
187
  insertUnorderedList: null,
188
+ invalidUrl: null,
179
189
  italic: null,
180
190
  justify: null,
191
+ linkGroup: null,
192
+ listGroup: null,
181
193
  mergeCells: null,
182
194
  outdent: null,
183
195
  paragraph: null,
@@ -190,7 +202,14 @@ const MONA_MESSAGE_PARAMETERS = {
190
202
  strikethrough: null,
191
203
  subscript: null,
192
204
  superscript: null,
205
+ tableGroup: null,
206
+ tableSize: [
207
+ { name: "rows", type: "number" },
208
+ { name: "columns", type: "number" }
209
+ ],
210
+ textStyleGroup: null,
193
211
  toggleHeaderRow: null,
212
+ toolbar: null,
194
213
  underline: null,
195
214
  undo: null,
196
215
  widthPx: null
@@ -285,19 +285,18 @@ function focusCanReturn(document, ...containers) {
285
285
  return containers.some(container => container?.contains(activeElement));
286
286
  }
287
287
 
288
+ /**
289
+ * Focuses an element given directly, by reference, or by a selector inside `host`, and returns it (or `null` when the
290
+ * selector matches nothing).
291
+ */
288
292
  function focusElement(host, element) {
289
- if (element instanceof ElementRef) {
290
- element.nativeElement.focus();
291
- }
292
- else if (element instanceof HTMLElement) {
293
- element.focus();
294
- }
295
- else {
296
- const elements = host.querySelectorAll(element);
297
- if (elements.length > 0) {
298
- elements[0].focus();
299
- }
300
- }
293
+ const target = element instanceof ElementRef
294
+ ? element.nativeElement
295
+ : element instanceof HTMLElement
296
+ ? element
297
+ : host.querySelector(element);
298
+ target?.focus();
299
+ return target;
301
300
  }
302
301
 
303
302
  /**
@@ -433,6 +432,125 @@ const rxFromResize = (target, options) => {
433
432
  });
434
433
  };
435
434
 
435
+ /** Marks the controls the toolbar manages, so they are still found once their Tab stop is set to -1. */
436
+ const ITEM_MARKER = "data-mona-toolbar-item";
437
+ const ITEM_SELECTOR = `:is(button, input, select, textarea, a[href], [tabindex]):not([tabindex='-1']), [${ITEM_MARKER}]`;
438
+ /** Input types whose Left and Right arrows don't do anything, so the toolbar can use them. */
439
+ const BUTTON_LIKE_INPUT_TYPES = new Set(["button", "checkbox", "color", "file", "image", "radio", "reset", "submit"]);
440
+ /** Roles of widgets that use Left and Right themselves. A select-only combobox uses only Up and Down. */
441
+ const HORIZONTAL_KEY_ROLES = new Set(["radiogroup", "searchbox", "slider", "spinbutton", "tablist", "textbox"]);
442
+ function usesHorizontalArrows(element) {
443
+ if (element instanceof HTMLInputElement) {
444
+ return !BUTTON_LIKE_INPUT_TYPES.has(element.type);
445
+ }
446
+ if (element instanceof HTMLTextAreaElement || element instanceof HTMLSelectElement || element.isContentEditable) {
447
+ return true;
448
+ }
449
+ const role = element.getAttribute("role");
450
+ return role != null && HORIZONTAL_KEY_ROLES.has(role);
451
+ }
452
+ function isUnavailable(element) {
453
+ const disabled = (element instanceof HTMLButtonElement ||
454
+ element instanceof HTMLInputElement ||
455
+ element instanceof HTMLSelectElement ||
456
+ element instanceof HTMLTextAreaElement) &&
457
+ element.disabled;
458
+ return (disabled ||
459
+ element.hasAttribute("disabled") ||
460
+ element.getAttribute("aria-disabled") === "true" ||
461
+ element.closest("[hidden], [aria-hidden='true']") != null);
462
+ }
463
+ /**
464
+ * The keyboard of an APG toolbar over controls that other components render: one Tab stop, Left and Right (mirrored
465
+ * in right-to-left text) to move between controls, Home and End to the ends. Disabled and hidden controls are
466
+ * skipped; a control inside another one (a button inside a combobox) belongs to it.
467
+ *
468
+ * Call {@link sync} after every render, so controls added later join the Tab stop, and forward the toolbar's
469
+ * `focusin` and `keydown` events.
470
+ */
471
+ class RovingToolbar {
472
+ #element;
473
+ #active = null;
474
+ #activeIndex = 0;
475
+ constructor(element) {
476
+ this.#element = element;
477
+ }
478
+ /** The Tab stop follows focus, also when a control is clicked. */
479
+ onFocusIn(event) {
480
+ const target = event.target;
481
+ const item = this.#targets().find(candidate => candidate === target || candidate.contains(target));
482
+ if (item != null && item !== this.#active) {
483
+ this.#active = item;
484
+ this.sync();
485
+ }
486
+ }
487
+ onKeydown(event) {
488
+ const key = event.key;
489
+ if (key !== "ArrowLeft" && key !== "ArrowRight" && key !== "Home" && key !== "End") {
490
+ return;
491
+ }
492
+ const target = event.target;
493
+ if (event.defaultPrevented ||
494
+ event.isComposing ||
495
+ event.altKey ||
496
+ event.ctrlKey ||
497
+ event.metaKey ||
498
+ usesHorizontalArrows(target)) {
499
+ return;
500
+ }
501
+ const targets = this.#targets();
502
+ const currentIndex = targets.findIndex(item => item === target || item.contains(target));
503
+ if (currentIndex === -1) {
504
+ return;
505
+ }
506
+ event.preventDefault();
507
+ let nextIndex;
508
+ if (key === "Home") {
509
+ nextIndex = 0;
510
+ }
511
+ else if (key === "End") {
512
+ nextIndex = targets.length - 1;
513
+ }
514
+ else {
515
+ const element = this.#element();
516
+ const rtl = element?.ownerDocument.defaultView?.getComputedStyle(element).direction === "rtl";
517
+ const step = (key === "ArrowRight") !== rtl ? 1 : -1;
518
+ nextIndex = (currentIndex + step + targets.length) % targets.length;
519
+ }
520
+ this.#active = targets[nextIndex];
521
+ this.sync();
522
+ targets[nextIndex].focus();
523
+ }
524
+ /** Gives the active control the Tab stop and takes it from the others. */
525
+ sync() {
526
+ const targets = this.#targets();
527
+ if (targets.length === 0) {
528
+ return;
529
+ }
530
+ const itemIndex = this.#active == null ? -1 : targets.indexOf(this.#active);
531
+ const activeIndex = itemIndex !== -1 ? itemIndex : Math.min(this.#activeIndex, targets.length - 1);
532
+ this.#active = targets[activeIndex];
533
+ this.#activeIndex = activeIndex;
534
+ for (const [index, target] of targets.entries()) {
535
+ const tabIndex = index === activeIndex ? "0" : "-1";
536
+ if (target.getAttribute("tabindex") !== tabIndex) {
537
+ target.setAttribute("tabindex", tabIndex);
538
+ }
539
+ if (!target.hasAttribute(ITEM_MARKER)) {
540
+ target.setAttribute(ITEM_MARKER, "");
541
+ }
542
+ }
543
+ }
544
+ #targets() {
545
+ const element = this.#element();
546
+ if (element == null) {
547
+ return [];
548
+ }
549
+ const candidates = Array.from(element.querySelectorAll(ITEM_SELECTOR)).filter(candidate => !isUnavailable(candidate));
550
+ return candidates.filter(candidate => !candidates.some(other => other !== candidate && other.contains(candidate)));
551
+ }
552
+ }
553
+
436
554
  const rxTimeout = (destroyRef, fn, delay = 0) => {
437
555
  timer(delay)
438
556
  .pipe(takeUntilDestroyed(destroyRef), take(1))
@@ -876,5 +994,5 @@ const setupTypeahead = (typeaheadKey$) => {
876
994
  * Generated bundle index. Do not edit.
877
995
  */
878
996
 
879
- export { AttributeBinderDirective, HOVER_GRACE, HoverIntent, NavigationKeys, NavigationKeysList, TYPEAHEAD_RESET_DELAY, addAriaReference, createElementControlId, focusCanReturn, focusElement, hex2rgba, hsla2hsva, hsva2rgba, inertOutside, injectLabelledByText, isNavigationKey, isTypeaheadKey, isValidHex, isValidHsla, isValidRgb, listenForHover, onDisconnect, overlaySidePositions, positionGlobalOverlay, removeAriaReference, resolveOverlaySide, restoreOverlayScroll, rgba2hex, rgba2hsla, rgba2hsva, rxFromResize, rxTimeout, setupTypeahead, sideOfPosition, string2Hsla, string2rgba, themeControlBackdropClasses, themeControlSurfaceClasses, themeOverlayBackdropClasses, themeOverlaySurfaceClasses, themeRaisedBackdropClasses, themeRaisedSurfaceClasses, toCssValue };
997
+ export { AttributeBinderDirective, HOVER_GRACE, HoverIntent, NavigationKeys, NavigationKeysList, RovingToolbar, TYPEAHEAD_RESET_DELAY, addAriaReference, createElementControlId, focusCanReturn, focusElement, hex2rgba, hsla2hsva, hsva2rgba, inertOutside, injectLabelledByText, isNavigationKey, isTypeaheadKey, isValidHex, isValidHsla, isValidRgb, listenForHover, onDisconnect, overlaySidePositions, positionGlobalOverlay, removeAriaReference, resolveOverlaySide, restoreOverlayScroll, rgba2hex, rgba2hsla, rgba2hsva, rxFromResize, rxTimeout, setupTypeahead, sideOfPosition, string2Hsla, string2rgba, themeControlBackdropClasses, themeControlSurfaceClasses, themeOverlayBackdropClasses, themeOverlaySurfaceClasses, themeRaisedBackdropClasses, themeRaisedSurfaceClasses, toCssValue };
880
998
  //# sourceMappingURL=nanahoshi-mona-ui-internal.mjs.map
@@ -131,24 +131,33 @@ const AR_SA_MESSAGES = {
131
131
  addRowAfter: "إدراج صف بعد",
132
132
  addRowBefore: "إدراج صف قبل",
133
133
  alignCenter: "توسيط",
134
+ alignEnd: "محاذاة النص إلى النهاية",
134
135
  alignLeft: "محاذاة إلى اليسار",
135
136
  alignRight: "محاذاة إلى اليمين",
137
+ alignStart: "محاذاة النص إلى البداية",
138
+ alignmentGroup: "المحاذاة",
136
139
  altText: "نص بديل",
140
+ apply: "تطبيق",
137
141
  backgroundColor: "لون الخلفية",
138
142
  bold: "عريض",
139
143
  cancel: "إلغاء",
140
144
  codeBlock: "كتلة تعليمات برمجية",
141
145
  color: "لون",
146
+ contentLabel: "محرر النص المنسق",
147
+ defaultFontFamily: "الخط الافتراضي",
142
148
  deleteColumn: "حذف العمود",
143
149
  deleteRow: "حذف الصف",
144
150
  deleteTable: "حذف الجدول",
151
+ editLink: "تعديل الرابط",
145
152
  enterUrl: "إدخال عنوان URL",
146
153
  fontSize: "حجم الخط",
147
154
  format: "تنسيق",
148
155
  heading: (level) => `العنوان ${localizeNumber(level)}`,
149
156
  heightPx: "الارتفاع (px)",
157
+ historyGroup: "السجل",
150
158
  imageUrl: "عنوان URL للصورة",
151
159
  indent: "زيادة المسافة البادئة",
160
+ indentGroup: "المسافة البادئة",
152
161
  insert: "إدراج",
153
162
  insertImage: "إدراج صورة",
154
163
  insertLink: "إدراج رابط",
@@ -156,8 +165,11 @@ const AR_SA_MESSAGES = {
156
165
  insertTable: "إدراج جدول",
157
166
  insertTaskList: "إدراج قائمة مهام",
158
167
  insertUnorderedList: "إدراج قائمة نقطية",
168
+ invalidUrl: "أدخل عنوان ويب أو رابط mailto: أو tel: أو مسارًا نسبيًا.",
159
169
  italic: "مائل",
160
170
  justify: "ضبط",
171
+ linkGroup: "الرابط",
172
+ listGroup: "القوائم",
161
173
  mergeCells: "دمج الخلايا المحددة",
162
174
  outdent: "تقليل المسافة البادئة",
163
175
  paragraph: "فقرة",
@@ -170,7 +182,11 @@ const AR_SA_MESSAGES = {
170
182
  strikethrough: "يتوسطه خط",
171
183
  subscript: "منخفض",
172
184
  superscript: "مرتفع",
185
+ tableGroup: "الجدول",
186
+ tableSize: (rows, columns) => `الصفوف: ${localizeNumber(rows)}، الأعمدة: ${localizeNumber(columns)}`,
187
+ textStyleGroup: "نمط النص",
173
188
  toggleHeaderRow: "تبديل صف الرأس",
189
+ toolbar: "التنسيق",
174
190
  underline: "تسطير",
175
191
  undo: "تراجع",
176
192
  widthPx: "العرض (px)"
@@ -127,24 +127,33 @@ const DE_DE_MESSAGES = {
127
127
  addRowAfter: "Zeile danach einfügen",
128
128
  addRowBefore: "Zeile davor einfügen",
129
129
  alignCenter: "Text zentrieren",
130
+ alignEnd: "Text am Ende ausrichten",
130
131
  alignLeft: "Text linksbündig ausrichten",
131
132
  alignRight: "Text rechtsbündig ausrichten",
133
+ alignStart: "Text am Anfang ausrichten",
134
+ alignmentGroup: "Ausrichtung",
132
135
  altText: "Alternativtext",
136
+ apply: "Übernehmen",
133
137
  backgroundColor: "Hintergrundfarbe",
134
138
  bold: "Fett",
135
139
  cancel: "Abbrechen",
136
140
  codeBlock: "Codeblock",
137
141
  color: "Farbe",
142
+ contentLabel: "Rich-Text-Editor",
143
+ defaultFontFamily: "Standardschrift",
138
144
  deleteColumn: "Spalte löschen",
139
145
  deleteRow: "Zeile löschen",
140
146
  deleteTable: "Tabelle löschen",
147
+ editLink: "Link bearbeiten",
141
148
  enterUrl: "URL eingeben",
142
149
  fontSize: "Schriftgröße",
143
150
  format: "Format",
144
151
  heading: (level) => `Überschrift ${localizeNumber(level)}`,
145
152
  heightPx: "Höhe (px)",
153
+ historyGroup: "Verlauf",
146
154
  imageUrl: "Bild-URL",
147
155
  indent: "Einzug vergrößern",
156
+ indentGroup: "Einzug",
148
157
  insert: "Einfügen",
149
158
  insertImage: "Bild einfügen",
150
159
  insertLink: "Link einfügen",
@@ -152,8 +161,11 @@ const DE_DE_MESSAGES = {
152
161
  insertTable: "Tabelle einfügen",
153
162
  insertTaskList: "Aufgabenliste einfügen",
154
163
  insertUnorderedList: "Aufzählungsliste einfügen",
164
+ invalidUrl: "Geben Sie eine Webadresse, einen mailto:- oder tel:-Link oder einen relativen Pfad ein.",
155
165
  italic: "Kursiv",
156
166
  justify: "Blocksatz",
167
+ linkGroup: "Verknüpfung",
168
+ listGroup: "Listen",
157
169
  mergeCells: "Ausgewählte Zellen verbinden",
158
170
  outdent: "Einzug verkleinern",
159
171
  paragraph: "Absatz",
@@ -166,7 +178,11 @@ const DE_DE_MESSAGES = {
166
178
  strikethrough: "Durchgestrichen",
167
179
  subscript: "Tiefgestellt",
168
180
  superscript: "Hochgestellt",
181
+ tableGroup: "Tabelle",
182
+ tableSize: (rows, columns) => `Zeilen: ${localizeNumber(rows)}, Spalten: ${localizeNumber(columns)}`,
183
+ textStyleGroup: "Textstil",
169
184
  toggleHeaderRow: "Kopfzeile umschalten",
185
+ toolbar: "Formatierung",
170
186
  underline: "Unterstrichen",
171
187
  undo: "Rückgängig",
172
188
  widthPx: "Breite (px)"
@@ -127,24 +127,33 @@ const ES_ES_MESSAGES = {
127
127
  addRowAfter: "Añadir fila después",
128
128
  addRowBefore: "Añadir fila antes",
129
129
  alignCenter: "Centrar texto",
130
+ alignEnd: "Alinear el texto al final",
130
131
  alignLeft: "Alinear texto a la izquierda",
131
132
  alignRight: "Alinear texto a la derecha",
133
+ alignStart: "Alinear el texto al inicio",
134
+ alignmentGroup: "Alineación",
132
135
  altText: "Texto alternativo",
136
+ apply: "Aplicar",
133
137
  backgroundColor: "Color de fondo",
134
138
  bold: "Negrita",
135
139
  cancel: "Cancelar",
136
140
  codeBlock: "Bloque de código",
137
141
  color: "Color",
142
+ contentLabel: "Editor de texto enriquecido",
143
+ defaultFontFamily: "Fuente predeterminada",
138
144
  deleteColumn: "Eliminar columna",
139
145
  deleteRow: "Eliminar fila",
140
146
  deleteTable: "Eliminar tabla",
147
+ editLink: "Editar enlace",
141
148
  enterUrl: "Introducir la URL",
142
149
  fontSize: "Tamaño de fuente",
143
150
  format: "Formato",
144
151
  heading: (level) => `Encabezado ${localizeNumber(level)}`,
145
152
  heightPx: "Altura (px)",
153
+ historyGroup: "Historial",
146
154
  imageUrl: "URL de la imagen",
147
155
  indent: "Aumentar sangría",
156
+ indentGroup: "Sangría",
148
157
  insert: "Insertar",
149
158
  insertImage: "Insertar imagen",
150
159
  insertLink: "Insertar enlace",
@@ -152,8 +161,11 @@ const ES_ES_MESSAGES = {
152
161
  insertTable: "Insertar tabla",
153
162
  insertTaskList: "Insertar lista de tareas",
154
163
  insertUnorderedList: "Insertar lista con viñetas",
164
+ invalidUrl: "Introduzca una dirección web, un enlace mailto: o tel:, o una ruta relativa.",
155
165
  italic: "Cursiva",
156
166
  justify: "Justificar",
167
+ linkGroup: "Enlace",
168
+ listGroup: "Listas",
157
169
  mergeCells: "Combinar celdas seleccionadas",
158
170
  outdent: "Reducir sangría",
159
171
  paragraph: "Párrafo",
@@ -166,7 +178,11 @@ const ES_ES_MESSAGES = {
166
178
  strikethrough: "Tachado",
167
179
  subscript: "Subíndice",
168
180
  superscript: "Superíndice",
181
+ tableGroup: "Tabla",
182
+ tableSize: (rows, columns) => `Filas: ${localizeNumber(rows)}, columnas: ${localizeNumber(columns)}`,
183
+ textStyleGroup: "Estilo de texto",
169
184
  toggleHeaderRow: "Alternar fila de encabezado",
185
+ toolbar: "Formato",
170
186
  underline: "Subrayado",
171
187
  undo: "Deshacer",
172
188
  widthPx: "Anchura (px)"
@@ -131,24 +131,33 @@ const FR_FR_MESSAGES = {
131
131
  addRowAfter: "Insérer une ligne après",
132
132
  addRowBefore: "Insérer une ligne avant",
133
133
  alignCenter: "Centrer le texte",
134
+ alignEnd: "Aligner le texte à la fin",
134
135
  alignLeft: "Aligner le texte à gauche",
135
136
  alignRight: "Aligner le texte à droite",
137
+ alignStart: "Aligner le texte au début",
138
+ alignmentGroup: "Alignement",
136
139
  altText: "Texte alternatif",
140
+ apply: "Appliquer",
137
141
  backgroundColor: "Couleur d’arrière-plan",
138
142
  bold: "Gras",
139
143
  cancel: "Annuler",
140
144
  codeBlock: "Bloc de code",
141
145
  color: "Couleur",
146
+ contentLabel: "Éditeur de texte enrichi",
147
+ defaultFontFamily: "Police par défaut",
142
148
  deleteColumn: "Supprimer la colonne",
143
149
  deleteRow: "Supprimer la ligne",
144
150
  deleteTable: "Supprimer le tableau",
151
+ editLink: "Modifier le lien",
145
152
  enterUrl: "Saisir l’URL",
146
153
  fontSize: "Taille de police",
147
154
  format: "Format",
148
155
  heading: (level) => `Titre ${localizeNumber(level)}`,
149
156
  heightPx: "Hauteur (px)",
157
+ historyGroup: "Historique",
150
158
  imageUrl: "URL de l’image",
151
159
  indent: "Augmenter le retrait",
160
+ indentGroup: "Retrait",
152
161
  insert: "Insérer",
153
162
  insertImage: "Insérer une image",
154
163
  insertLink: "Insérer un lien",
@@ -156,8 +165,11 @@ const FR_FR_MESSAGES = {
156
165
  insertTable: "Insérer un tableau",
157
166
  insertTaskList: "Insérer une liste de tâches",
158
167
  insertUnorderedList: "Insérer une liste à puces",
168
+ invalidUrl: "Saisissez une adresse web, un lien mailto: ou tel:, ou un chemin relatif.",
159
169
  italic: "Italique",
160
170
  justify: "Justifier le texte",
171
+ linkGroup: "Lien",
172
+ listGroup: "Listes",
161
173
  mergeCells: "Fusionner les cellules sélectionnées",
162
174
  outdent: "Diminuer le retrait",
163
175
  paragraph: "Paragraphe",
@@ -170,7 +182,11 @@ const FR_FR_MESSAGES = {
170
182
  strikethrough: "Barré",
171
183
  subscript: "Indice",
172
184
  superscript: "Exposant",
185
+ tableGroup: "Tableau",
186
+ tableSize: (rows, columns) => `Lignes : ${localizeNumber(rows)}, colonnes : ${localizeNumber(columns)}`,
187
+ textStyleGroup: "Style du texte",
173
188
  toggleHeaderRow: "Activer/désactiver la ligne d’en-tête",
189
+ toolbar: "Mise en forme",
174
190
  underline: "Souligné",
175
191
  undo: "Annuler",
176
192
  widthPx: "Largeur (px)"
@@ -127,24 +127,33 @@ const ID_ID_MESSAGES = {
127
127
  addRowAfter: "Tambahkan baris setelahnya",
128
128
  addRowBefore: "Tambahkan baris sebelumnya",
129
129
  alignCenter: "Rata tengah",
130
+ alignEnd: "Ratakan teks ke akhir",
130
131
  alignLeft: "Rata kiri",
131
132
  alignRight: "Rata kanan",
133
+ alignStart: "Ratakan teks ke awal",
134
+ alignmentGroup: "Perataan",
132
135
  altText: "Teks alternatif",
136
+ apply: "Terapkan",
133
137
  backgroundColor: "Warna latar belakang",
134
138
  bold: "Tebal",
135
139
  cancel: "Batal",
136
140
  codeBlock: "Blok kode",
137
141
  color: "Warna",
142
+ contentLabel: "Editor teks kaya",
143
+ defaultFontFamily: "Font default",
138
144
  deleteColumn: "Hapus kolom",
139
145
  deleteRow: "Hapus baris",
140
146
  deleteTable: "Hapus tabel",
147
+ editLink: "Edit tautan",
141
148
  enterUrl: "Masukkan URL",
142
149
  fontSize: "Ukuran font",
143
150
  format: "Pemformatan",
144
151
  heading: (level) => `Judul ${localizeNumber(level)}`,
145
152
  heightPx: "Tinggi (px)",
153
+ historyGroup: "Riwayat",
146
154
  imageUrl: "URL gambar",
147
155
  indent: "Tambah inden",
156
+ indentGroup: "Indentasi",
148
157
  insert: "Sisipkan",
149
158
  insertImage: "Sisipkan gambar",
150
159
  insertLink: "Sisipkan tautan",
@@ -152,8 +161,11 @@ const ID_ID_MESSAGES = {
152
161
  insertTable: "Sisipkan tabel",
153
162
  insertTaskList: "Sisipkan daftar tugas",
154
163
  insertUnorderedList: "Sisipkan daftar berpoin",
164
+ invalidUrl: "Masukkan alamat web, tautan mailto: atau tel:, atau jalur relatif.",
155
165
  italic: "Miring",
156
166
  justify: "Rata kiri-kanan",
167
+ linkGroup: "Tautan",
168
+ listGroup: "Daftar",
157
169
  mergeCells: "Gabungkan sel yang dipilih",
158
170
  outdent: "Kurangi inden",
159
171
  paragraph: "Paragraf",
@@ -166,7 +178,11 @@ const ID_ID_MESSAGES = {
166
178
  strikethrough: "Coret",
167
179
  subscript: "Subskrip",
168
180
  superscript: "Superskrip",
181
+ tableGroup: "Tabel",
182
+ tableSize: (rows, columns) => `Baris: ${localizeNumber(rows)}, kolom: ${localizeNumber(columns)}`,
183
+ textStyleGroup: "Gaya teks",
169
184
  toggleHeaderRow: "Aktifkan/nonaktifkan baris header",
185
+ toolbar: "Pemformatan",
170
186
  underline: "Garis bawah",
171
187
  undo: "Urungkan",
172
188
  widthPx: "Lebar (px)"
@@ -127,24 +127,33 @@ const IT_IT_MESSAGES = {
127
127
  addRowAfter: "Inserisci riga dopo",
128
128
  addRowBefore: "Inserisci riga prima",
129
129
  alignCenter: "Allinea al centro",
130
+ alignEnd: "Allinea il testo alla fine",
130
131
  alignLeft: "Allinea a sinistra",
131
132
  alignRight: "Allinea a destra",
133
+ alignStart: "Allinea il testo all'inizio",
134
+ alignmentGroup: "Allineamento",
132
135
  altText: "Testo alternativo",
136
+ apply: "Applica",
133
137
  backgroundColor: "Colore di sfondo",
134
138
  bold: "Grassetto",
135
139
  cancel: "Annulla",
136
140
  codeBlock: "Blocco di codice",
137
141
  color: "Colore",
142
+ contentLabel: "Editor di testo formattato",
143
+ defaultFontFamily: "Carattere predefinito",
138
144
  deleteColumn: "Elimina colonna",
139
145
  deleteRow: "Elimina riga",
140
146
  deleteTable: "Elimina tabella",
147
+ editLink: "Modifica collegamento",
141
148
  enterUrl: "Inserisci l'URL",
142
149
  fontSize: "Dimensione carattere",
143
150
  format: "Formattazione",
144
151
  heading: (level) => `Intestazione ${localizeNumber(level)}`,
145
152
  heightPx: "Altezza (px)",
153
+ historyGroup: "Cronologia",
146
154
  imageUrl: "URL immagine",
147
155
  indent: "Aumenta rientro",
156
+ indentGroup: "Rientro",
148
157
  insert: "Inserisci",
149
158
  insertImage: "Inserisci immagine",
150
159
  insertLink: "Inserisci link",
@@ -152,8 +161,11 @@ const IT_IT_MESSAGES = {
152
161
  insertTable: "Inserisci tabella",
153
162
  insertTaskList: "Inserisci elenco attività",
154
163
  insertUnorderedList: "Inserisci elenco puntato",
164
+ invalidUrl: "Inserisci un indirizzo web, un collegamento mailto: o tel:, oppure un percorso relativo.",
155
165
  italic: "Corsivo",
156
166
  justify: "Giustifica",
167
+ linkGroup: "Collegamento",
168
+ listGroup: "Elenchi",
157
169
  mergeCells: "Unisci celle selezionate",
158
170
  outdent: "Riduci rientro",
159
171
  paragraph: "Paragrafo",
@@ -166,7 +178,11 @@ const IT_IT_MESSAGES = {
166
178
  strikethrough: "Barrato",
167
179
  subscript: "Pedice",
168
180
  superscript: "Apice",
181
+ tableGroup: "Tabella",
182
+ tableSize: (rows, columns) => `Righe: ${localizeNumber(rows)}, colonne: ${localizeNumber(columns)}`,
183
+ textStyleGroup: "Stile del testo",
169
184
  toggleHeaderRow: "Attiva/disattiva riga di intestazione",
185
+ toolbar: "Formattazione",
170
186
  underline: "Sottolineato",
171
187
  undo: "Annulla",
172
188
  widthPx: "Larghezza (px)"
@@ -127,24 +127,33 @@ const JA_JP_MESSAGES = {
127
127
  addRowAfter: "後に行を挿入",
128
128
  addRowBefore: "前に行を挿入",
129
129
  alignCenter: "中央揃え",
130
+ alignEnd: "テキストを末尾揃え",
130
131
  alignLeft: "左揃え",
131
132
  alignRight: "右揃え",
133
+ alignStart: "テキストを先頭揃え",
134
+ alignmentGroup: "配置",
132
135
  altText: "代替テキスト",
136
+ apply: "適用",
133
137
  backgroundColor: "背景色",
134
138
  bold: "太字",
135
139
  cancel: "キャンセル",
136
140
  codeBlock: "コードブロック",
137
141
  color: "色",
142
+ contentLabel: "リッチテキストエディター",
143
+ defaultFontFamily: "既定のフォント",
138
144
  deleteColumn: "列を削除",
139
145
  deleteRow: "行を削除",
140
146
  deleteTable: "表を削除",
147
+ editLink: "リンクを編集",
141
148
  enterUrl: "URLを入力",
142
149
  fontSize: "フォントサイズ",
143
150
  format: "書式",
144
151
  heading: (level) => `見出し${localizeNumber(level)}`,
145
152
  heightPx: "高さ (px)",
153
+ historyGroup: "履歴",
146
154
  imageUrl: "画像URL",
147
155
  indent: "インデントを増やす",
156
+ indentGroup: "インデント",
148
157
  insert: "挿入",
149
158
  insertImage: "画像を挿入",
150
159
  insertLink: "リンクを挿入",
@@ -152,8 +161,11 @@ const JA_JP_MESSAGES = {
152
161
  insertTable: "表を挿入",
153
162
  insertTaskList: "タスクリストを挿入",
154
163
  insertUnorderedList: "箇条書きを挿入",
164
+ invalidUrl: "Web アドレス、mailto: または tel: のリンク、または相対パスを入力してください。",
155
165
  italic: "斜体",
156
166
  justify: "両端揃え",
167
+ linkGroup: "リンク",
168
+ listGroup: "リスト",
157
169
  mergeCells: "選択したセルを結合",
158
170
  outdent: "インデントを減らす",
159
171
  paragraph: "段落",
@@ -166,7 +178,11 @@ const JA_JP_MESSAGES = {
166
178
  strikethrough: "取り消し線",
167
179
  subscript: "下付き",
168
180
  superscript: "上付き",
181
+ tableGroup: "表",
182
+ tableSize: (rows, columns) => `行: ${localizeNumber(rows)}、列: ${localizeNumber(columns)}`,
183
+ textStyleGroup: "文字スタイル",
169
184
  toggleHeaderRow: "ヘッダー行の切り替え",
185
+ toolbar: "書式設定",
170
186
  underline: "下線",
171
187
  undo: "元に戻す",
172
188
  widthPx: "幅 (px)"