@nanahoshi/mona-ui 0.24.9 → 0.24.11

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 (53) hide show
  1. package/chart/README.md +223 -77
  2. package/fesm2022/nanahoshi-mona-ui-chart.mjs +1882 -644
  3. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +2 -2
  4. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +3 -1
  5. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1054 -452
  6. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +126 -1
  7. package/fesm2022/nanahoshi-mona-ui-internal.mjs +131 -13
  8. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +94 -1
  9. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +86 -1
  10. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +86 -1
  11. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +83 -2
  12. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +73 -1
  13. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +86 -1
  14. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +73 -1
  15. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +73 -1
  16. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +86 -1
  17. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +88 -1
  18. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +86 -1
  19. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +73 -1
  20. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +73 -1
  21. package/fesm2022/nanahoshi-mona-ui-window.mjs +3 -1
  22. package/i18n/catalogs/en-US.messages.json +77 -5
  23. package/locales/ar-sa/ar-sa.messages.json +73 -1
  24. package/locales/de-de/de-de.messages.json +73 -1
  25. package/locales/es-es/es-es.messages.json +73 -1
  26. package/locales/fr-fr/fr-fr.messages.json +74 -2
  27. package/locales/id-id/id-id.messages.json +73 -1
  28. package/locales/it-it/it-it.messages.json +73 -1
  29. package/locales/ja-jp/ja-jp.messages.json +73 -1
  30. package/locales/ko-kr/ko-kr.messages.json +73 -1
  31. package/locales/pt-br/pt-br.messages.json +73 -1
  32. package/locales/ru-ru/ru-ru.messages.json +73 -1
  33. package/locales/tr-tr/tr-tr.messages.json +73 -1
  34. package/locales/zh-cn/zh-cn.messages.json +73 -1
  35. package/locales/zh-tw/zh-tw.messages.json +73 -1
  36. package/package.json +1 -1
  37. package/types/nanahoshi-mona-ui-chart.d.ts +519 -527
  38. package/types/nanahoshi-mona-ui-editor.d.ts +118 -21
  39. package/types/nanahoshi-mona-ui-i18n.d.ts +110 -0
  40. package/types/nanahoshi-mona-ui-internal.d.ts +24 -2
  41. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +72 -0
  42. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +72 -0
  43. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +72 -0
  44. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +72 -0
  45. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +72 -0
  46. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +72 -0
  47. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +72 -0
  48. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +72 -0
  49. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +72 -0
  50. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +72 -0
  51. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +72 -0
  52. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +72 -0
  53. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +72 -0
@@ -44,13 +44,39 @@ const MONA_MESSAGE_PARAMETERS = {
44
44
  actionsLabel: null
45
45
  },
46
46
  chart: {
47
+ announcementSeparator: null,
48
+ brushApplied: [{ name: "count", type: "number" }],
49
+ brushCleared: null,
50
+ brushRange: [
51
+ { name: "from", type: "string" },
52
+ { name: "to", type: "string" }
53
+ ],
54
+ category: null,
55
+ categoryFallbackName: [{ name: "index", type: "number" }],
56
+ categoryRange: [
57
+ { name: "from", type: "string" },
58
+ { name: "to", type: "string" }
59
+ ],
47
60
  change: null,
61
+ changeValue: [{ name: "change", type: "string" }],
48
62
  chart: null,
49
63
  chartLegend: null,
64
+ chartRoleDescription: null,
50
65
  close: null,
51
66
  closeAbbreviation: null,
52
67
  colorScale: null,
53
68
  conversion: null,
69
+ conversionOfPrevious: [{ name: "rate", type: "string" }],
70
+ dataTableTruncated: [
71
+ { name: "shown", type: "number" },
72
+ { name: "total", type: "number" }
73
+ ],
74
+ decrease: null,
75
+ decreaseAnnouncement: [
76
+ { name: "delta", type: "string" },
77
+ { name: "from", type: "string" },
78
+ { name: "to", type: "string" }
79
+ ],
54
80
  divergingRangeDescription: [
55
81
  { name: "title", type: "string" },
56
82
  { name: "minimum", type: "string" },
@@ -58,28 +84,108 @@ const MONA_MESSAGE_PARAMETERS = {
58
84
  { name: "maximum", type: "string" }
59
85
  ],
60
86
  dropOff: null,
87
+ dropOffValue: [{ name: "value", type: "string" }],
61
88
  falling: null,
89
+ gaugeRange: [
90
+ { name: "minimum", type: "string" },
91
+ { name: "maximum", type: "string" }
92
+ ],
62
93
  high: null,
63
94
  highAbbreviation: null,
95
+ increase: null,
96
+ increaseAnnouncement: [
97
+ { name: "delta", type: "string" },
98
+ { name: "from", type: "string" },
99
+ { name: "to", type: "string" }
100
+ ],
101
+ itemDeselected: [{ name: "item", type: "string" }],
102
+ itemFallbackName: [{ name: "index", type: "number" }],
103
+ itemSelected: [{ name: "item", type: "string" }],
104
+ keyboardHelp: null,
64
105
  labelValueSeparator: null,
106
+ labeledValue: [
107
+ { name: "label", type: "string" },
108
+ { name: "value", type: "string" }
109
+ ],
65
110
  low: null,
66
111
  lowAbbreviation: null,
112
+ noChange: null,
113
+ noChangeAnnouncement: [{ name: "value", type: "string" }],
67
114
  noData: null,
115
+ ohlcValues: [
116
+ { name: "open", type: "string" },
117
+ { name: "high", type: "string" },
118
+ { name: "low", type: "string" },
119
+ { name: "close", type: "string" }
120
+ ],
68
121
  open: null,
69
122
  openAbbreviation: null,
70
123
  overall: null,
124
+ overallConversion: [{ name: "rate", type: "string" }],
125
+ pannedDown: null,
126
+ pannedLeft: null,
127
+ pannedRight: null,
128
+ pannedUp: null,
129
+ pathSeparator: null,
130
+ pointPosition: [
131
+ { name: "position", type: "number" },
132
+ { name: "total", type: "number" }
133
+ ],
71
134
  range: null,
72
135
  rangeDescription: [
73
136
  { name: "title", type: "string" },
74
137
  { name: "minimum", type: "string" },
75
138
  { name: "maximum", type: "string" }
76
139
  ],
140
+ rangeValue: [
141
+ { name: "from", type: "string" },
142
+ { name: "to", type: "string" }
143
+ ],
77
144
  rising: null,
78
145
  runningTotal: null,
146
+ seriesFallbackName: [{ name: "index", type: "number" }],
147
+ seriesHidden: [{ name: "series", type: "string" }],
148
+ seriesShown: [{ name: "series", type: "string" }],
149
+ seriesSummary: [
150
+ { name: "count", type: "number" },
151
+ { name: "names", type: "string" }
152
+ ],
153
+ seriesValueRange: [
154
+ { name: "series", type: "string" },
155
+ { name: "minimum", type: "string" },
156
+ { name: "maximum", type: "string" }
157
+ ],
158
+ shareOfTotal: [{ name: "share", type: "string" }],
79
159
  size: null,
160
+ sizeValue: [{ name: "size", type: "string" }],
161
+ stackShare: [{ name: "share", type: "string" }],
162
+ stageFallbackName: [{ name: "index", type: "number" }],
163
+ stagePosition: [
164
+ { name: "position", type: "number" },
165
+ { name: "total", type: "number" }
166
+ ],
167
+ stepFallbackName: [{ name: "index", type: "number" }],
168
+ stepPosition: [
169
+ { name: "position", type: "number" },
170
+ { name: "total", type: "number" }
171
+ ],
172
+ subtotal: null,
173
+ subtotalAnnouncement: [{ name: "value", type: "string" }],
174
+ total: null,
175
+ totalAnnouncement: [{ name: "value", type: "string" }],
176
+ treemapGroup: [{ name: "count", type: "number" }],
177
+ treemapLeaf: null,
80
178
  unchanged: null,
81
179
  value: null,
82
- visualIndicatorClamped: null
180
+ valueRange: [
181
+ { name: "from", type: "string" },
182
+ { name: "to", type: "string" }
183
+ ],
184
+ viewportResetToDefault: null,
185
+ viewportResetToFull: null,
186
+ visualIndicatorClamped: null,
187
+ zoomedIn: null,
188
+ zoomedOut: null
83
189
  },
84
190
  chip: {
85
191
  removeLabel: [{ name: "label", optional: true, type: "string" }]
@@ -151,24 +257,33 @@ const MONA_MESSAGE_PARAMETERS = {
151
257
  addRowAfter: null,
152
258
  addRowBefore: null,
153
259
  alignCenter: null,
260
+ alignEnd: null,
154
261
  alignLeft: null,
155
262
  alignRight: null,
263
+ alignStart: null,
264
+ alignmentGroup: null,
156
265
  altText: null,
266
+ apply: null,
157
267
  backgroundColor: null,
158
268
  bold: null,
159
269
  cancel: null,
160
270
  codeBlock: null,
161
271
  color: null,
272
+ contentLabel: null,
273
+ defaultFontFamily: null,
162
274
  deleteColumn: null,
163
275
  deleteRow: null,
164
276
  deleteTable: null,
277
+ editLink: null,
165
278
  enterUrl: null,
166
279
  fontSize: null,
167
280
  format: null,
168
281
  heading: [{ name: "level", type: "number" }],
169
282
  heightPx: null,
283
+ historyGroup: null,
170
284
  imageUrl: null,
171
285
  indent: null,
286
+ indentGroup: null,
172
287
  insert: null,
173
288
  insertImage: null,
174
289
  insertLink: null,
@@ -176,8 +291,11 @@ const MONA_MESSAGE_PARAMETERS = {
176
291
  insertTable: null,
177
292
  insertTaskList: null,
178
293
  insertUnorderedList: null,
294
+ invalidUrl: null,
179
295
  italic: null,
180
296
  justify: null,
297
+ linkGroup: null,
298
+ listGroup: null,
181
299
  mergeCells: null,
182
300
  outdent: null,
183
301
  paragraph: null,
@@ -190,7 +308,14 @@ const MONA_MESSAGE_PARAMETERS = {
190
308
  strikethrough: null,
191
309
  subscript: null,
192
310
  superscript: null,
311
+ tableGroup: null,
312
+ tableSize: [
313
+ { name: "rows", type: "number" },
314
+ { name: "columns", type: "number" }
315
+ ],
316
+ textStyleGroup: null,
193
317
  toggleHeaderRow: null,
318
+ toolbar: null,
194
319
  underline: null,
195
320
  undo: null,
196
321
  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
@@ -40,33 +40,110 @@ const AR_SA_MESSAGES = {
40
40
  actionsLabel: "إجراءات البطاقة"
41
41
  },
42
42
  chart: {
43
+ announcementSeparator: "، ",
44
+ brushApplied: (count) => plural(PLURAL_RULES.select(count), {
45
+ zero: () => "تم تطبيق التحديد، بلا نقاط",
46
+ one: () => "تم تطبيق التحديد، نقطة واحدة",
47
+ two: () => "تم تطبيق التحديد، نقطتان",
48
+ few: () => `تم تطبيق التحديد، ${localizeNumber(count)} نقاط`,
49
+ many: () => `تم تطبيق التحديد، ${localizeNumber(count)} نقطة`,
50
+ other: () => `تم تطبيق التحديد، ${localizeNumber(count)} نقطة`
51
+ }),
52
+ brushCleared: "تم مسح التحديد",
53
+ brushRange: (from, to) => `التحديد من ${from} إلى ${to}`,
54
+ category: "الفئة",
55
+ categoryFallbackName: (index) => `الفئة ${localizeNumber(index)}`,
56
+ categoryRange: (from, to) => `من ${from} إلى ${to}.`,
43
57
  change: "التغير",
58
+ changeValue: (change) => `التغير ${change}`,
44
59
  chart: "مخطط",
45
60
  chartLegend: "وسيلة إيضاح المخطط",
61
+ chartRoleDescription: "مخطط",
46
62
  close: "الإغلاق",
47
63
  closeAbbreviation: "إ",
48
64
  colorScale: "مقياس الألوان",
49
65
  conversion: "التحويل",
66
+ conversionOfPrevious: (rate) => `التحويل ${rate} من المرحلة السابقة`,
67
+ dataTableTruncated: (shown, total) => `عرض أول ${localizeNumber(shown)} من ${localizeNumber(total)} صف.`,
68
+ decrease: "نقصان",
69
+ decreaseAnnouncement: (delta, from, to) => `نقصان ${delta}، المجموع التراكمي من ${from} إلى ${to}`,
50
70
  divergingRangeDescription: (title, minimum, midpoint, maximum) => `${title}، ${minimum} – ${midpoint} – ${maximum}`,
51
71
  dropOff: "الانخفاض",
72
+ dropOffValue: (value) => `الانخفاض ${value}`,
52
73
  falling: "هبوط",
74
+ gaugeRange: (minimum, maximum) => `النطاق من ${minimum} إلى ${maximum}`,
53
75
  high: "الأعلى",
54
76
  highAbbreviation: "ع",
77
+ increase: "زيادة",
78
+ increaseAnnouncement: (delta, from, to) => `زيادة ${delta}، المجموع التراكمي من ${from} إلى ${to}`,
79
+ itemDeselected: (item) => `${item}، تم إلغاء التحديد`,
80
+ itemFallbackName: (index) => `العنصر ${localizeNumber(index)}`,
81
+ itemSelected: (item) => `${item}، محدد`,
82
+ keyboardHelp: "استخدم مفاتيح الأسهم للتنقل بين نقاط البيانات، وHome وEnd للانتقال إلى الأولى والأخيرة، وEnter أو المسافة للتفعيل، وEscape للمسح.",
55
83
  labelValueSeparator: ":",
84
+ labeledValue: (label, value) => `${label}: ${value}`,
56
85
  low: "الأدنى",
57
86
  lowAbbreviation: "د",
87
+ noChange: "بلا تغيير",
88
+ noChangeAnnouncement: (value) => `بلا تغيير، المجموع التراكمي ${value}`,
58
89
  noData: "لا توجد بيانات متاحة",
90
+ ohlcValues: (open, high, low, close) => `الافتتاح ${open}، الأعلى ${high}، الأدنى ${low}، الإغلاق ${close}`,
59
91
  open: "الافتتاح",
60
92
  openAbbreviation: "ا",
61
93
  overall: "الإجمالي",
94
+ overallConversion: (rate) => `التحويل الإجمالي ${rate}`,
95
+ pannedDown: "تم التحريك لأسفل",
96
+ pannedLeft: "تم التحريك لليسار",
97
+ pannedRight: "تم التحريك لليمين",
98
+ pannedUp: "تم التحريك لأعلى",
99
+ pathSeparator: " / ",
100
+ pointPosition: (position, total) => `${localizeNumber(position)} من ${localizeNumber(total)}`,
62
101
  range: "النطاق",
63
102
  rangeDescription: (title, minimum, maximum) => `${title}، ${minimum}–${maximum}`,
103
+ rangeValue: (from, to) => `من ${from} إلى ${to}`,
64
104
  rising: "صعود",
65
105
  runningTotal: "المجموع التراكمي",
106
+ seriesFallbackName: (index) => `السلسلة ${localizeNumber(index)}`,
107
+ seriesHidden: (series) => `تم إخفاء ${series}`,
108
+ seriesShown: (series) => `تم إظهار ${series}`,
109
+ seriesSummary: (count, names) => plural(PLURAL_RULES.select(count), {
110
+ zero: () => "لا توجد سلاسل.",
111
+ one: () => `سلسلة واحدة: ${names}.`,
112
+ two: () => `سلسلتان: ${names}.`,
113
+ few: () => `${localizeNumber(count)} سلاسل: ${names}.`,
114
+ many: () => `${localizeNumber(count)} سلسلة: ${names}.`,
115
+ other: () => `${localizeNumber(count)} سلسلة: ${names}.`
116
+ }),
117
+ seriesValueRange: (series, minimum, maximum) => `${series}: الأدنى ${minimum}، الأعلى ${maximum}.`,
118
+ shareOfTotal: (share) => `${share} من الإجمالي`,
66
119
  size: "الحجم",
120
+ sizeValue: (size) => `الحجم ${size}`,
121
+ stackShare: (share) => `الحصة في المكدس ${share}`,
122
+ stageFallbackName: (index) => `المرحلة ${localizeNumber(index)}`,
123
+ stagePosition: (position, total) => `المرحلة ${localizeNumber(position)} من ${localizeNumber(total)}`,
124
+ stepFallbackName: (index) => `الخطوة ${localizeNumber(index)}`,
125
+ stepPosition: (position, total) => `الخطوة ${localizeNumber(position)} من ${localizeNumber(total)}`,
126
+ subtotal: "الإجمالي الفرعي",
127
+ subtotalAnnouncement: (value) => `الإجمالي الفرعي ${value}`,
128
+ total: "الإجمالي",
129
+ totalAnnouncement: (value) => `الإجمالي ${value}`,
130
+ treemapGroup: (count) => plural(PLURAL_RULES.select(count), {
131
+ zero: () => "مجموعة (بلا عناصر فرعية)",
132
+ one: () => "مجموعة (عنصر فرعي واحد)",
133
+ two: () => "مجموعة (عنصران فرعيان)",
134
+ few: () => `مجموعة (${localizeNumber(count)} عناصر فرعية)`,
135
+ many: () => `مجموعة (${localizeNumber(count)} عنصرًا فرعيًا)`,
136
+ other: () => `مجموعة (${localizeNumber(count)} عنصر فرعي)`
137
+ }),
138
+ treemapLeaf: "ورقة",
67
139
  unchanged: "دون تغيير",
68
140
  value: "القيمة",
69
- visualIndicatorClamped: "تم تقييد المؤشر المرئي"
141
+ valueRange: (from, to) => `${from} – ${to}`,
142
+ viewportResetToDefault: "تمت إعادة تعيين العرض إلى النطاق الافتراضي",
143
+ viewportResetToFull: "تمت إعادة تعيين العرض إلى النطاق الكامل",
144
+ visualIndicatorClamped: "تم تقييد المؤشر المرئي",
145
+ zoomedIn: "تم التكبير",
146
+ zoomedOut: "تم التصغير"
70
147
  },
71
148
  chip: {
72
149
  removeLabel: (label) => (label ? `حذف ${label}` : "حذف العنصر")
@@ -131,24 +208,33 @@ const AR_SA_MESSAGES = {
131
208
  addRowAfter: "إدراج صف بعد",
132
209
  addRowBefore: "إدراج صف قبل",
133
210
  alignCenter: "توسيط",
211
+ alignEnd: "محاذاة النص إلى النهاية",
134
212
  alignLeft: "محاذاة إلى اليسار",
135
213
  alignRight: "محاذاة إلى اليمين",
214
+ alignStart: "محاذاة النص إلى البداية",
215
+ alignmentGroup: "المحاذاة",
136
216
  altText: "نص بديل",
217
+ apply: "تطبيق",
137
218
  backgroundColor: "لون الخلفية",
138
219
  bold: "عريض",
139
220
  cancel: "إلغاء",
140
221
  codeBlock: "كتلة تعليمات برمجية",
141
222
  color: "لون",
223
+ contentLabel: "محرر النص المنسق",
224
+ defaultFontFamily: "الخط الافتراضي",
142
225
  deleteColumn: "حذف العمود",
143
226
  deleteRow: "حذف الصف",
144
227
  deleteTable: "حذف الجدول",
228
+ editLink: "تعديل الرابط",
145
229
  enterUrl: "إدخال عنوان URL",
146
230
  fontSize: "حجم الخط",
147
231
  format: "تنسيق",
148
232
  heading: (level) => `العنوان ${localizeNumber(level)}`,
149
233
  heightPx: "الارتفاع (px)",
234
+ historyGroup: "السجل",
150
235
  imageUrl: "عنوان URL للصورة",
151
236
  indent: "زيادة المسافة البادئة",
237
+ indentGroup: "المسافة البادئة",
152
238
  insert: "إدراج",
153
239
  insertImage: "إدراج صورة",
154
240
  insertLink: "إدراج رابط",
@@ -156,8 +242,11 @@ const AR_SA_MESSAGES = {
156
242
  insertTable: "إدراج جدول",
157
243
  insertTaskList: "إدراج قائمة مهام",
158
244
  insertUnorderedList: "إدراج قائمة نقطية",
245
+ invalidUrl: "أدخل عنوان ويب أو رابط mailto: أو tel: أو مسارًا نسبيًا.",
159
246
  italic: "مائل",
160
247
  justify: "ضبط",
248
+ linkGroup: "الرابط",
249
+ listGroup: "القوائم",
161
250
  mergeCells: "دمج الخلايا المحددة",
162
251
  outdent: "تقليل المسافة البادئة",
163
252
  paragraph: "فقرة",
@@ -170,7 +259,11 @@ const AR_SA_MESSAGES = {
170
259
  strikethrough: "يتوسطه خط",
171
260
  subscript: "منخفض",
172
261
  superscript: "مرتفع",
262
+ tableGroup: "الجدول",
263
+ tableSize: (rows, columns) => `الصفوف: ${localizeNumber(rows)}، الأعمدة: ${localizeNumber(columns)}`,
264
+ textStyleGroup: "نمط النص",
173
265
  toggleHeaderRow: "تبديل صف الرأس",
266
+ toolbar: "التنسيق",
174
267
  underline: "تسطير",
175
268
  undo: "تراجع",
176
269
  widthPx: "العرض (px)"