@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
@@ -1,8 +1,9 @@
1
+ import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
2
+ import { MonaEditorMessages } from '@nanahoshi/mona-ui/i18n';
1
3
  import * as _angular_core from '@angular/core';
2
4
  import { ElementRef } from '@angular/core';
5
+ import { FormValueControl } from '@angular/forms/signals';
3
6
  import { JSONContent, Editor } from '@tiptap/core';
4
- import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
5
- import { MonaEditorMessages } from '@nanahoshi/mona-ui/i18n';
6
7
  import { ImmutableSet } from '@mirei/ts-collections';
7
8
  import { EditorState } from '@tiptap/pm/state';
8
9
  import { Subject } from 'rxjs';
@@ -22,6 +23,11 @@ interface EditorSettings {
22
23
  fontHighlight: boolean;
23
24
  fontList: Iterable<string>;
24
25
  fontSize: boolean;
26
+ /**
27
+ * The font sizes the font size dropdown offers, as CSS lengths (`"14px"`, `"1.25rem"`). Empty keeps the
28
+ * default list.
29
+ */
30
+ fontSizeList: Iterable<string>;
25
31
  headings: boolean;
26
32
  history: boolean;
27
33
  horizontalRule: boolean;
@@ -40,76 +46,167 @@ interface EditorSettings {
40
46
 
41
47
  declare class EditorService {
42
48
  #private;
43
- readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaEditorMessages>;
44
49
  readonly blur$: Subject<void>;
45
50
  readonly create$: Subject<void>;
46
51
  readonly focus$: Subject<void>;
47
52
  readonly fontSizes: _angular_core.WritableSignal<ImmutableSet<string>>;
48
53
  readonly fonts: _angular_core.WritableSignal<ImmutableSet<string>>;
49
- readonly state: _angular_core.Signal<EditorState>;
54
+ /**
55
+ * True while the document has no content; false before the editor exists too, so nothing shows over it.
56
+ */
57
+ readonly isEmpty: _angular_core.Signal<boolean>;
58
+ /**
59
+ * True while an editor exists. The toolbar renders only then, so its components can use {@link editor}.
60
+ */
61
+ readonly ready: _angular_core.Signal<boolean>;
50
62
  readonly selectionUpdate$: Subject<void>;
63
+ /**
64
+ * The resolved settings of the current editor. Set before the editor is created, so the toolbar never renders a
65
+ * feature the editor doesn't have.
66
+ */
51
67
  readonly settings: _angular_core.WritableSignal<Partial<EditorSettings>>;
68
+ readonly state: _angular_core.Signal<EditorState | null>;
52
69
  readonly update$: Subject<void>;
53
70
  destroy(): void;
54
- setupEditor(element: HTMLDivElement, settings: Partial<EditorSettings>): void;
71
+ /**
72
+ * Replaces the document without emitting an update, as for a value set from outside.
73
+ */
74
+ setContent(content: string | JSONContent): void;
75
+ setEditable(editable: boolean, attributes: Record<string, string>): void;
76
+ /**
77
+ * Creates the editor, or rebuilds it for new settings. A rebuilt editor keeps its document: it is carried over as
78
+ * HTML, so content that a removed feature can't hold falls back to plain text instead of being lost.
79
+ */
80
+ setupEditor(element: HTMLElement, settings: Partial<EditorSettings>, options: EditorSetupOptions): void;
81
+ /**
82
+ * The Tiptap editor. Available while {@link ready} is true.
83
+ */
55
84
  get editor(): Editor;
56
- private getExtensionsFromSettings;
57
- private getCustomizedStarterKitExtension;
58
85
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditorService, never>;
59
86
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<EditorService>;
60
87
  }
61
88
 
62
- declare class EditorComponent {
89
+ declare class EditorComponent implements FormValueControl<string> {
63
90
  #private;
64
91
  protected readonly baseClass: _angular_core.Signal<string>;
65
92
  protected readonly containerClass: _angular_core.Signal<string>;
66
93
  protected readonly editorContainer: _angular_core.Signal<ElementRef<HTMLDivElement>>;
67
94
  protected readonly editorService: EditorService;
95
+ protected readonly invalidState: _angular_core.Signal<boolean>;
96
+ protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaEditorMessages>;
97
+ protected readonly placeholderClass: _angular_core.Signal<string>;
68
98
  protected readonly toolbarClass: _angular_core.Signal<string>;
99
+ protected readonly toolbarElement: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
100
+ /**
101
+ * @description The id of an element that describes the content, such as a hint or an error message.
102
+ */
103
+ readonly ariaDescribedBy: _angular_core.InputSignal<string>;
104
+ /**
105
+ * @description The accessible name of the content. Without it or `aria-labelledby`, the content is named "Rich
106
+ * text editor" (translated).
107
+ */
108
+ readonly ariaLabel: _angular_core.InputSignal<string>;
109
+ /**
110
+ * @description The id of a visible label for the content, such as a `<label>` next to the editor.
111
+ */
112
+ readonly ariaLabelledBy: _angular_core.InputSignal<string>;
69
113
  /**
70
114
  * @description Emits when the editor loses focus.
115
+ * @deprecated Use `editorBlur`.
71
116
  */
72
117
  readonly blur: _angular_core.OutputEmitterRef<void>;
73
118
  /**
74
- * @description Emits when the editor is created for the first time and is ready to be used.
119
+ * @description The initial content of the editor, as HTML or a {@link JSONContent} document. A later change
120
+ * replaces the document, unless it is the content the editor already has.
121
+ * @deprecated Use `value` (HTML), or `[formField]` with a signal form. To read the JSON, use the `update` event or
122
+ * the `json` property.
123
+ */
124
+ readonly content: _angular_core.InputSignal<string | JSONContent | undefined>;
125
+ /**
126
+ * @description Emits when the editor is created and ready to be used, and again when it is rebuilt for new
127
+ * `settings`.
75
128
  */
76
129
  readonly create: _angular_core.OutputEmitterRef<void>;
130
+ /**
131
+ * @description Disables the editor: the content can't be edited or focused for editing, and the toolbar is inert.
132
+ * When bound to a signal form field via `[formField]`, the form sets it.
133
+ */
134
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
135
+ /**
136
+ * @description Emits when the editor loses focus.
137
+ */
138
+ readonly editorBlur: _angular_core.OutputEmitterRef<void>;
77
139
  /**
78
140
  * @description Emits when the editor gains focus.
79
141
  */
80
- readonly focus: _angular_core.OutputEmitterRef<void>;
142
+ readonly editorFocus: _angular_core.OutputEmitterRef<void>;
143
+ /**
144
+ * @description Marks the editor as invalid once it has been touched. When bound to a signal form field via
145
+ * `[formField]`, the form sets it.
146
+ */
147
+ readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
148
+ /**
149
+ * @description Text shown in the empty editor, and given to assistive technology as `aria-placeholder`. It is not
150
+ * a name: use a label or `aria-label` too.
151
+ */
152
+ readonly placeholder: _angular_core.InputSignal<string>;
153
+ /**
154
+ * @description Makes the content read-only and hides the toolbar. When bound to a signal form field via
155
+ * `[formField]`, the form sets it.
156
+ */
157
+ readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
158
+ /**
159
+ * @description Marks the editor as required: once touched, an empty editor is invalid.
160
+ */
161
+ readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
81
162
  /**
82
163
  * @description Emits when the selection of the editor changes.
83
164
  */
84
165
  readonly selectionUpdate: _angular_core.OutputEmitterRef<void>;
85
166
  /**
86
- * @description Emits when the content of the editor changes.
167
+ * @description The settings of the editor. Changing them rebuilds the editor and keeps its document.
87
168
  */
88
- readonly update: _angular_core.OutputEmitterRef<ContentChangeEvent>;
169
+ readonly settings: _angular_core.InputSignal<Partial<EditorSettings>>;
89
170
  /**
90
- * @description The initial content of the editor.
171
+ * @description Emits when the editor loses focus.
172
+ * Form directives (`[formField]`, `ngModel`, `formControl`) listen to this to mark the field as touched.
91
173
  */
92
- readonly content: _angular_core.InputSignal<string | JSONContent | undefined>;
174
+ readonly touch: _angular_core.OutputEmitterRef<void>;
93
175
  /**
94
- * @description The settings of the editor.
176
+ * @description Sets the touched state. When bound to a signal form field via `[formField]`, the form sets it.
95
177
  */
96
- readonly settings: _angular_core.InputSignal<Partial<EditorSettings>>;
178
+ readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
179
+ /**
180
+ * @description Emits when the user changes the content. It isn't emitted when `value` or `content` is set from
181
+ * outside.
182
+ */
183
+ readonly update: _angular_core.OutputEmitterRef<ContentChangeEvent>;
97
184
  readonly userClass: _angular_core.InputSignal<string>;
185
+ /**
186
+ * @description The content of the editor as HTML. An empty editor has the value `""`. Use `[(value)]`, or
187
+ * `[formField]` with a signal form.
188
+ */
189
+ readonly value: _angular_core.ModelSignal<string>;
98
190
  constructor();
99
- private loadEditorContent;
100
- private setSubscriptions;
101
191
  /**
102
- * Returns the HTML content of the editor.
192
+ * Returns the HTML content of the editor, or `""` before the editor is created.
103
193
  * It can be used to save the content of the editor in a database and restore it later.
104
194
  */
105
195
  get html(): string;
106
196
  /**
107
- * Returns the JSON content of the editor in the {@link JSONContent} format.
197
+ * Returns the JSON content of the editor in the {@link JSONContent} format, or an empty document before the editor
198
+ * is created.
108
199
  * It can be used to save the content of the editor in a database and restore it later.
109
200
  */
110
201
  get json(): JSONContent;
202
+ /**
203
+ * Moves focus into the editor, keeping the selection it had.
204
+ */
205
+ focus(options?: FocusOptions): void;
206
+ protected onToolbarFocusIn(event: FocusEvent): void;
207
+ protected onToolbarKeydown(event: KeyboardEvent): void;
111
208
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditorComponent, never>;
112
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditorComponent, "mona-editor", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "blur": "blur"; "create": "create"; "focus": "focus"; "selectionUpdate": "selectionUpdate"; "update": "update"; }, never, never, true, never>;
209
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditorComponent, "mona-editor", never, { "ariaDescribedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "blur": "blur"; "create": "create"; "editorBlur": "editorBlur"; "editorFocus": "editorFocus"; "selectionUpdate": "selectionUpdate"; "touch": "touch"; "update": "update"; "value": "valueChange"; }, never, never, true, never>;
113
210
  }
114
211
 
115
212
  declare const EDITOR_DEFAULT_MESSAGES: MonaEditorMessages;
@@ -151,24 +151,35 @@ interface MonaEditorMessages {
151
151
  readonly addRowAfter: string;
152
152
  readonly addRowBefore: string;
153
153
  readonly alignCenter: string;
154
+ readonly alignEnd: string;
155
+ /** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
154
156
  readonly alignLeft: string;
157
+ readonly alignmentGroup: string;
158
+ /** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
155
159
  readonly alignRight: string;
160
+ readonly alignStart: string;
156
161
  readonly altText: string;
162
+ readonly apply: string;
157
163
  readonly backgroundColor: string;
158
164
  readonly bold: string;
159
165
  readonly cancel: string;
160
166
  readonly codeBlock: string;
161
167
  readonly color: string;
168
+ readonly contentLabel: string;
169
+ readonly defaultFontFamily: string;
162
170
  readonly deleteColumn: string;
163
171
  readonly deleteRow: string;
164
172
  readonly deleteTable: string;
173
+ readonly editLink: string;
165
174
  readonly enterUrl: string;
166
175
  readonly fontSize: string;
167
176
  readonly format: string;
168
177
  readonly heading: (level: number) => string;
169
178
  readonly heightPx: string;
179
+ readonly historyGroup: string;
170
180
  readonly imageUrl: string;
171
181
  readonly indent: string;
182
+ readonly indentGroup: string;
172
183
  readonly insert: string;
173
184
  readonly insertImage: string;
174
185
  readonly insertLink: string;
@@ -176,8 +187,11 @@ interface MonaEditorMessages {
176
187
  readonly insertTable: string;
177
188
  readonly insertTaskList: string;
178
189
  readonly insertUnorderedList: string;
190
+ readonly invalidUrl: string;
179
191
  readonly italic: string;
180
192
  readonly justify: string;
193
+ readonly linkGroup: string;
194
+ readonly listGroup: string;
181
195
  readonly mergeCells: string;
182
196
  readonly outdent: string;
183
197
  readonly paragraph: string;
@@ -190,7 +204,11 @@ interface MonaEditorMessages {
190
204
  readonly strikethrough: string;
191
205
  readonly subscript: string;
192
206
  readonly superscript: string;
207
+ readonly tableGroup: string;
208
+ readonly tableSize: (rows: number, columns: number) => string;
209
+ readonly textStyleGroup: string;
193
210
  readonly toggleHeaderRow: string;
211
+ readonly toolbar: string;
194
212
  readonly underline: string;
195
213
  readonly undo: string;
196
214
  readonly widthPx: string;
@@ -97,7 +97,11 @@ declare const createElementControlId: (level?: number, length?: number) => strin
97
97
  */
98
98
  declare function focusCanReturn(document: Document, ...containers: ReadonlyArray<Element | null | undefined>): boolean;
99
99
 
100
- declare function focusElement(host: HTMLElement, element: HTMLElement | ElementRef<HTMLElement> | string): void;
100
+ /**
101
+ * Focuses an element given directly, by reference, or by a selector inside `host`, and returns it (or `null` when the
102
+ * selector matches nothing).
103
+ */
104
+ declare function focusElement(host: HTMLElement, element: HTMLElement | ElementRef<HTMLElement> | string): HTMLElement | null;
101
105
 
102
106
  /**
103
107
  * Makes everything outside a modal overlay inert, so assistive technology, the pointer and Tab can't reach the page
@@ -132,6 +136,24 @@ declare const positionGlobalOverlay: (overlayRef: OverlayRef, position: GlobalOv
132
136
 
133
137
  declare const rxFromResize: (target: Element | Iterable<Element>, options?: ResizeObserverOptions) => Observable<ResizeObserverEntry[]>;
134
138
 
139
+ /**
140
+ * The keyboard of an APG toolbar over controls that other components render: one Tab stop, Left and Right (mirrored
141
+ * in right-to-left text) to move between controls, Home and End to the ends. Disabled and hidden controls are
142
+ * skipped; a control inside another one (a button inside a combobox) belongs to it.
143
+ *
144
+ * Call {@link sync} after every render, so controls added later join the Tab stop, and forward the toolbar's
145
+ * `focusin` and `keydown` events.
146
+ */
147
+ declare class RovingToolbar {
148
+ #private;
149
+ constructor(element: () => HTMLElement | null | undefined);
150
+ /** The Tab stop follows focus, also when a control is clicked. */
151
+ onFocusIn(event: FocusEvent): void;
152
+ onKeydown(event: KeyboardEvent): void;
153
+ /** Gives the active control the Tab stop and takes it from the others. */
154
+ sync(): void;
155
+ }
156
+
135
157
  declare const rxTimeout: (destroyRef: DestroyRef, fn: Action, delay?: number) => void;
136
158
 
137
159
  type VariantInputs<T> = {
@@ -275,5 +297,5 @@ declare const isTypeaheadKey: (key: string, modifiers?: TypeaheadModifiers) => b
275
297
  declare const TYPEAHEAD_RESET_DELAY = 200;
276
298
  declare const setupTypeahead: (typeaheadKey$: Observable<string>) => Observable<string>;
277
299
 
278
- 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 };
300
+ 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 };
279
301
  export type { Action, AttributeConfig, Channel, ColorScheme, GlobalOverlayPosition, HSL, HSLA, HSV, HSVA, HSVChannel, HoverIntentConfig, HoverSource, OverlaySide, PhysicalOverlaySide, RGB, RGBA, RGBAChannel, RGBChannel, TypeaheadModifiers, VariantInputs };
@@ -123,24 +123,33 @@ declare const MONA_AR_SA_LOCALE: {
123
123
  addRowAfter: string;
124
124
  addRowBefore: string;
125
125
  alignCenter: string;
126
+ alignEnd: string;
126
127
  alignLeft: string;
127
128
  alignRight: string;
129
+ alignStart: string;
130
+ alignmentGroup: string;
128
131
  altText: string;
132
+ apply: string;
129
133
  backgroundColor: string;
130
134
  bold: string;
131
135
  cancel: string;
132
136
  codeBlock: string;
133
137
  color: string;
138
+ contentLabel: string;
139
+ defaultFontFamily: string;
134
140
  deleteColumn: string;
135
141
  deleteRow: string;
136
142
  deleteTable: string;
143
+ editLink: string;
137
144
  enterUrl: string;
138
145
  fontSize: string;
139
146
  format: string;
140
147
  heading: (level: number) => string;
141
148
  heightPx: string;
149
+ historyGroup: string;
142
150
  imageUrl: string;
143
151
  indent: string;
152
+ indentGroup: string;
144
153
  insert: string;
145
154
  insertImage: string;
146
155
  insertLink: string;
@@ -148,8 +157,11 @@ declare const MONA_AR_SA_LOCALE: {
148
157
  insertTable: string;
149
158
  insertTaskList: string;
150
159
  insertUnorderedList: string;
160
+ invalidUrl: string;
151
161
  italic: string;
152
162
  justify: string;
163
+ linkGroup: string;
164
+ listGroup: string;
153
165
  mergeCells: string;
154
166
  outdent: string;
155
167
  paragraph: string;
@@ -162,7 +174,11 @@ declare const MONA_AR_SA_LOCALE: {
162
174
  strikethrough: string;
163
175
  subscript: string;
164
176
  superscript: string;
177
+ tableGroup: string;
178
+ tableSize: (rows: number, columns: number) => string;
179
+ textStyleGroup: string;
165
180
  toggleHeaderRow: string;
181
+ toolbar: string;
166
182
  underline: string;
167
183
  undo: string;
168
184
  widthPx: string;
@@ -123,24 +123,33 @@ declare const MONA_DE_DE_LOCALE: {
123
123
  addRowAfter: string;
124
124
  addRowBefore: string;
125
125
  alignCenter: string;
126
+ alignEnd: string;
126
127
  alignLeft: string;
127
128
  alignRight: string;
129
+ alignStart: string;
130
+ alignmentGroup: string;
128
131
  altText: string;
132
+ apply: string;
129
133
  backgroundColor: string;
130
134
  bold: string;
131
135
  cancel: string;
132
136
  codeBlock: string;
133
137
  color: string;
138
+ contentLabel: string;
139
+ defaultFontFamily: string;
134
140
  deleteColumn: string;
135
141
  deleteRow: string;
136
142
  deleteTable: string;
143
+ editLink: string;
137
144
  enterUrl: string;
138
145
  fontSize: string;
139
146
  format: string;
140
147
  heading: (level: number) => string;
141
148
  heightPx: string;
149
+ historyGroup: string;
142
150
  imageUrl: string;
143
151
  indent: string;
152
+ indentGroup: string;
144
153
  insert: string;
145
154
  insertImage: string;
146
155
  insertLink: string;
@@ -148,8 +157,11 @@ declare const MONA_DE_DE_LOCALE: {
148
157
  insertTable: string;
149
158
  insertTaskList: string;
150
159
  insertUnorderedList: string;
160
+ invalidUrl: string;
151
161
  italic: string;
152
162
  justify: string;
163
+ linkGroup: string;
164
+ listGroup: string;
153
165
  mergeCells: string;
154
166
  outdent: string;
155
167
  paragraph: string;
@@ -162,7 +174,11 @@ declare const MONA_DE_DE_LOCALE: {
162
174
  strikethrough: string;
163
175
  subscript: string;
164
176
  superscript: string;
177
+ tableGroup: string;
178
+ tableSize: (rows: number, columns: number) => string;
179
+ textStyleGroup: string;
165
180
  toggleHeaderRow: string;
181
+ toolbar: string;
166
182
  underline: string;
167
183
  undo: string;
168
184
  widthPx: string;
@@ -123,24 +123,33 @@ declare const MONA_ES_ES_LOCALE: {
123
123
  addRowAfter: string;
124
124
  addRowBefore: string;
125
125
  alignCenter: string;
126
+ alignEnd: string;
126
127
  alignLeft: string;
127
128
  alignRight: string;
129
+ alignStart: string;
130
+ alignmentGroup: string;
128
131
  altText: string;
132
+ apply: string;
129
133
  backgroundColor: string;
130
134
  bold: string;
131
135
  cancel: string;
132
136
  codeBlock: string;
133
137
  color: string;
138
+ contentLabel: string;
139
+ defaultFontFamily: string;
134
140
  deleteColumn: string;
135
141
  deleteRow: string;
136
142
  deleteTable: string;
143
+ editLink: string;
137
144
  enterUrl: string;
138
145
  fontSize: string;
139
146
  format: string;
140
147
  heading: (level: number) => string;
141
148
  heightPx: string;
149
+ historyGroup: string;
142
150
  imageUrl: string;
143
151
  indent: string;
152
+ indentGroup: string;
144
153
  insert: string;
145
154
  insertImage: string;
146
155
  insertLink: string;
@@ -148,8 +157,11 @@ declare const MONA_ES_ES_LOCALE: {
148
157
  insertTable: string;
149
158
  insertTaskList: string;
150
159
  insertUnorderedList: string;
160
+ invalidUrl: string;
151
161
  italic: string;
152
162
  justify: string;
163
+ linkGroup: string;
164
+ listGroup: string;
153
165
  mergeCells: string;
154
166
  outdent: string;
155
167
  paragraph: string;
@@ -162,7 +174,11 @@ declare const MONA_ES_ES_LOCALE: {
162
174
  strikethrough: string;
163
175
  subscript: string;
164
176
  superscript: string;
177
+ tableGroup: string;
178
+ tableSize: (rows: number, columns: number) => string;
179
+ textStyleGroup: string;
165
180
  toggleHeaderRow: string;
181
+ toolbar: string;
166
182
  underline: string;
167
183
  undo: string;
168
184
  widthPx: string;
@@ -123,24 +123,33 @@ declare const MONA_FR_FR_LOCALE: {
123
123
  addRowAfter: string;
124
124
  addRowBefore: string;
125
125
  alignCenter: string;
126
+ alignEnd: string;
126
127
  alignLeft: string;
127
128
  alignRight: string;
129
+ alignStart: string;
130
+ alignmentGroup: string;
128
131
  altText: string;
132
+ apply: string;
129
133
  backgroundColor: string;
130
134
  bold: string;
131
135
  cancel: string;
132
136
  codeBlock: string;
133
137
  color: string;
138
+ contentLabel: string;
139
+ defaultFontFamily: string;
134
140
  deleteColumn: string;
135
141
  deleteRow: string;
136
142
  deleteTable: string;
143
+ editLink: string;
137
144
  enterUrl: string;
138
145
  fontSize: string;
139
146
  format: string;
140
147
  heading: (level: number) => string;
141
148
  heightPx: string;
149
+ historyGroup: string;
142
150
  imageUrl: string;
143
151
  indent: string;
152
+ indentGroup: string;
144
153
  insert: string;
145
154
  insertImage: string;
146
155
  insertLink: string;
@@ -148,8 +157,11 @@ declare const MONA_FR_FR_LOCALE: {
148
157
  insertTable: string;
149
158
  insertTaskList: string;
150
159
  insertUnorderedList: string;
160
+ invalidUrl: string;
151
161
  italic: string;
152
162
  justify: string;
163
+ linkGroup: string;
164
+ listGroup: string;
153
165
  mergeCells: string;
154
166
  outdent: string;
155
167
  paragraph: string;
@@ -162,7 +174,11 @@ declare const MONA_FR_FR_LOCALE: {
162
174
  strikethrough: string;
163
175
  subscript: string;
164
176
  superscript: string;
177
+ tableGroup: string;
178
+ tableSize: (rows: number, columns: number) => string;
179
+ textStyleGroup: string;
165
180
  toggleHeaderRow: string;
181
+ toolbar: string;
166
182
  underline: string;
167
183
  undo: string;
168
184
  widthPx: string;
@@ -123,24 +123,33 @@ declare const MONA_ID_ID_LOCALE: {
123
123
  addRowAfter: string;
124
124
  addRowBefore: string;
125
125
  alignCenter: string;
126
+ alignEnd: string;
126
127
  alignLeft: string;
127
128
  alignRight: string;
129
+ alignStart: string;
130
+ alignmentGroup: string;
128
131
  altText: string;
132
+ apply: string;
129
133
  backgroundColor: string;
130
134
  bold: string;
131
135
  cancel: string;
132
136
  codeBlock: string;
133
137
  color: string;
138
+ contentLabel: string;
139
+ defaultFontFamily: string;
134
140
  deleteColumn: string;
135
141
  deleteRow: string;
136
142
  deleteTable: string;
143
+ editLink: string;
137
144
  enterUrl: string;
138
145
  fontSize: string;
139
146
  format: string;
140
147
  heading: (level: number) => string;
141
148
  heightPx: string;
149
+ historyGroup: string;
142
150
  imageUrl: string;
143
151
  indent: string;
152
+ indentGroup: string;
144
153
  insert: string;
145
154
  insertImage: string;
146
155
  insertLink: string;
@@ -148,8 +157,11 @@ declare const MONA_ID_ID_LOCALE: {
148
157
  insertTable: string;
149
158
  insertTaskList: string;
150
159
  insertUnorderedList: string;
160
+ invalidUrl: string;
151
161
  italic: string;
152
162
  justify: string;
163
+ linkGroup: string;
164
+ listGroup: string;
153
165
  mergeCells: string;
154
166
  outdent: string;
155
167
  paragraph: string;
@@ -162,7 +174,11 @@ declare const MONA_ID_ID_LOCALE: {
162
174
  strikethrough: string;
163
175
  subscript: string;
164
176
  superscript: string;
177
+ tableGroup: string;
178
+ tableSize: (rows: number, columns: number) => string;
179
+ textStyleGroup: string;
165
180
  toggleHeaderRow: string;
181
+ toolbar: string;
166
182
  underline: string;
167
183
  undo: string;
168
184
  widthPx: string;
@@ -123,24 +123,33 @@ declare const MONA_IT_IT_LOCALE: {
123
123
  addRowAfter: string;
124
124
  addRowBefore: string;
125
125
  alignCenter: string;
126
+ alignEnd: string;
126
127
  alignLeft: string;
127
128
  alignRight: string;
129
+ alignStart: string;
130
+ alignmentGroup: string;
128
131
  altText: string;
132
+ apply: string;
129
133
  backgroundColor: string;
130
134
  bold: string;
131
135
  cancel: string;
132
136
  codeBlock: string;
133
137
  color: string;
138
+ contentLabel: string;
139
+ defaultFontFamily: string;
134
140
  deleteColumn: string;
135
141
  deleteRow: string;
136
142
  deleteTable: string;
143
+ editLink: string;
137
144
  enterUrl: string;
138
145
  fontSize: string;
139
146
  format: string;
140
147
  heading: (level: number) => string;
141
148
  heightPx: string;
149
+ historyGroup: string;
142
150
  imageUrl: string;
143
151
  indent: string;
152
+ indentGroup: string;
144
153
  insert: string;
145
154
  insertImage: string;
146
155
  insertLink: string;
@@ -148,8 +157,11 @@ declare const MONA_IT_IT_LOCALE: {
148
157
  insertTable: string;
149
158
  insertTaskList: string;
150
159
  insertUnorderedList: string;
160
+ invalidUrl: string;
151
161
  italic: string;
152
162
  justify: string;
163
+ linkGroup: string;
164
+ listGroup: string;
153
165
  mergeCells: string;
154
166
  outdent: string;
155
167
  paragraph: string;
@@ -162,7 +174,11 @@ declare const MONA_IT_IT_LOCALE: {
162
174
  strikethrough: string;
163
175
  subscript: string;
164
176
  superscript: string;
177
+ tableGroup: string;
178
+ tableSize: (rows: number, columns: number) => string;
179
+ textStyleGroup: string;
165
180
  toggleHeaderRow: string;
181
+ toolbar: string;
166
182
  underline: string;
167
183
  undo: string;
168
184
  widthPx: string;