@nanahoshi/mona-ui 0.36.0 → 0.37.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.
- package/docs/api/editor.md +67 -0
- package/docs/api/file-upload.md +1 -1
- package/docs/api/i18n.md +16 -0
- package/docs/api/locales.md +14 -14
- package/docs/api/popup.md +1 -1
- package/docs/editor.md +238 -9
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +1348 -190
- package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +28 -94
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +50 -1
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +83 -2
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +59 -1
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +23 -1
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +35 -1
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +35 -1
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +17 -1
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +35 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +17 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +17 -1
- package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +47 -1
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +35 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +47 -1
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +17 -1
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +17 -1
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +17 -1
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +29 -8
- package/i18n/catalogs/en-US.messages.json +17 -1
- package/llms.txt +1 -1
- package/locales/ar-sa/ar-sa.messages.json +17 -1
- package/locales/de-de/de-de.messages.json +17 -1
- package/locales/es-es/es-es.messages.json +17 -1
- package/locales/fr-fr/fr-fr.messages.json +17 -1
- package/locales/id-id/id-id.messages.json +17 -1
- package/locales/it-it/it-it.messages.json +17 -1
- package/locales/ja-jp/ja-jp.messages.json +17 -1
- package/locales/ko-kr/ko-kr.messages.json +17 -1
- package/locales/pl-pl/pl-pl.messages.json +17 -1
- package/locales/pt-br/pt-br.messages.json +17 -1
- package/locales/ru-ru/ru-ru.messages.json +17 -1
- package/locales/tr-tr/tr-tr.messages.json +17 -1
- package/locales/zh-cn/zh-cn.messages.json +17 -1
- package/locales/zh-tw/zh-tw.messages.json +17 -1
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-editor.d.ts +124 -2
- package/types/nanahoshi-mona-ui-file-upload.d.ts +1 -0
- package/types/nanahoshi-mona-ui-i18n.d.ts +32 -0
- package/types/nanahoshi-mona-ui-internal.d.ts +37 -0
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +16 -0
- package/types/nanahoshi-mona-ui-popup.d.ts +3 -1
|
@@ -361,6 +361,14 @@ export interface MonaEditorMessages {
|
|
|
361
361
|
readonly bold: string;
|
|
362
362
|
/** The label of the Cancel button in the link dialog and the insert image form. */
|
|
363
363
|
readonly cancel: string;
|
|
364
|
+
/** The count under the content when `showCharacterCount` is set and there's no `characterLimit`. */
|
|
365
|
+
readonly characterCount: (count: number) => string;
|
|
366
|
+
/** Describes the content when it has a `characterLimit`, given the limit. Not shown, only read with the content. */
|
|
367
|
+
readonly characterLimitHint: (limit: number) => string;
|
|
368
|
+
/** The count under the content while it is within its `characterLimit`, given the characters left. */
|
|
369
|
+
readonly charactersLeft: (count: number) => string;
|
|
370
|
+
/** The count under the content once it is over its `characterLimit`, given the characters over it. */
|
|
371
|
+
readonly charactersOver: (count: number) => string;
|
|
364
372
|
/** The label of the toolbar button that toggles a code block. */
|
|
365
373
|
readonly codeBlock: string;
|
|
366
374
|
/** The label of the toolbar color picker that sets the text color. */
|
|
@@ -375,6 +383,8 @@ export interface MonaEditorMessages {
|
|
|
375
383
|
readonly deleteRow: string;
|
|
376
384
|
/** The label of the toolbar button that deletes the table. */
|
|
377
385
|
readonly deleteTable: string;
|
|
386
|
+
/** The title of the image form's window, and the label of the image button, when an image is selected. */
|
|
387
|
+
readonly editImage: string;
|
|
378
388
|
/** The title of the link dialog when the selection is already in a link. */
|
|
379
389
|
readonly editLink: string;
|
|
380
390
|
/** The label of the URL field in the link dialog. */
|
|
@@ -389,6 +399,16 @@ export interface MonaEditorMessages {
|
|
|
389
399
|
readonly heightPx: string;
|
|
390
400
|
/** The accessible name of the toolbar's undo and redo button group. */
|
|
391
401
|
readonly historyGroup: string;
|
|
402
|
+
/** The accessible name of the file drop zone in the image form, shown when the editor has `imageUpload`. */
|
|
403
|
+
readonly imageFile: string;
|
|
404
|
+
/** Announced when a pasted or dropped image has uploaded and is in the content, given the file's name. */
|
|
405
|
+
readonly imageInserted: (name: string) => string;
|
|
406
|
+
/** Announced when a pasted or dropped image is larger than `imageMaxFileSize`, given its name and the size. */
|
|
407
|
+
readonly imageTooLarge: (name: string, size: string) => string;
|
|
408
|
+
/** Announced when a pasted or dropped image fails to upload, given the file's name. */
|
|
409
|
+
readonly imageUploadFailed: (name: string) => string;
|
|
410
|
+
/** Announced when a pasted or dropped image starts uploading, and names its placeholder, given the file's name. */
|
|
411
|
+
readonly imageUploading: (name: string) => string;
|
|
392
412
|
/** The label of the image URL field in the insert image form. */
|
|
393
413
|
readonly imageUrl: string;
|
|
394
414
|
/** The label of the toolbar button that increases the indentation. */
|
|
@@ -419,6 +439,14 @@ export interface MonaEditorMessages {
|
|
|
419
439
|
readonly linkGroup: string;
|
|
420
440
|
/** The accessible name of the toolbar's list button group. */
|
|
421
441
|
readonly listGroup: string;
|
|
442
|
+
/** Shown in the mention suggestions when the search finds no one. */
|
|
443
|
+
readonly mentionNoResults: string;
|
|
444
|
+
/** Announced when the mention suggestions change, given how many there are. */
|
|
445
|
+
readonly mentionResults: (count: number) => string;
|
|
446
|
+
/** Shown in the mention suggestions while the search runs. */
|
|
447
|
+
readonly mentionSearching: string;
|
|
448
|
+
/** The accessible name of the mention suggestions list. */
|
|
449
|
+
readonly mentionSuggestions: string;
|
|
422
450
|
/** The label of the toolbar button that merges the selected cells. */
|
|
423
451
|
readonly mergeCells: string;
|
|
424
452
|
/** The label of the toolbar button that decreases the indentation. */
|
|
@@ -431,6 +459,8 @@ export interface MonaEditorMessages {
|
|
|
431
459
|
readonly redo: string;
|
|
432
460
|
/** The label of the toolbar button and the link dialog button that remove the link. */
|
|
433
461
|
readonly removeLink: string;
|
|
462
|
+
/** The label of the image form's button that applies the changes to a selected image. */
|
|
463
|
+
readonly save: string;
|
|
434
464
|
/** The label of the toolbar's font family dropdown. */
|
|
435
465
|
readonly selectFontFamily: string;
|
|
436
466
|
/** The label of the toolbar's font size dropdown. */
|
|
@@ -462,6 +492,8 @@ export interface MonaEditorMessages {
|
|
|
462
492
|
readonly undo: string;
|
|
463
493
|
/** The label of the width field in the insert image form. */
|
|
464
494
|
readonly widthPx: string;
|
|
495
|
+
/** The count under the content when `showWordCount` is set, given the number of words. */
|
|
496
|
+
readonly wordCount: (count: number) => string;
|
|
465
497
|
}
|
|
466
498
|
/**
|
|
467
499
|
* The file upload's drop zone, its list of files, and what it announces as files are added, uploaded and removed.
|
|
@@ -103,6 +103,13 @@ export declare const MONA_FIELDSET_DISABLED: InjectionToken<Signal<boolean>>;
|
|
|
103
103
|
* @param disabled Reads the control's own disabled state. It runs lazily, so it may read an input declared later.
|
|
104
104
|
*/
|
|
105
105
|
export declare function injectEffectiveDisabled(disabled: () => boolean): Signal<boolean>;
|
|
106
|
+
/** Splits an `accept` attribute into its lowercase tokens, dropping empty ones. */
|
|
107
|
+
export declare function parseAccept(accept: string | null | undefined): string[];
|
|
108
|
+
/**
|
|
109
|
+
* Whether a file matches one of the `accept` tokens, the way the browser's file dialog does: by its extension, its
|
|
110
|
+
* whole MIME type, or a MIME type's first half such as `image/*`. No tokens accept every file.
|
|
111
|
+
*/
|
|
112
|
+
export declare function matchesAccept(file: File, accept: readonly string[]): boolean;
|
|
106
113
|
/**
|
|
107
114
|
* A control wrapped by a `mona-label` that has no native input, so the browser can't associate them.
|
|
108
115
|
*/
|
|
@@ -255,6 +262,36 @@ export declare class RovingToolbar {
|
|
|
255
262
|
/** Gives the active control the Tab stop and takes it from the others. */
|
|
256
263
|
sync(): void;
|
|
257
264
|
}
|
|
265
|
+
/** What an upload function gets with each file. The file upload's `FileUploadContext` has the same shape. */
|
|
266
|
+
export interface UploadRunContext {
|
|
267
|
+
/** Reports how much of the file has been sent. `total` defaults to the file's size. */
|
|
268
|
+
progress(loaded: number, total?: number): void;
|
|
269
|
+
/** Aborted when the upload is stopped. */
|
|
270
|
+
readonly signal: AbortSignal;
|
|
271
|
+
}
|
|
272
|
+
/** An upload function, as the file upload's `FileUploadHandler`: it returns a promise or an observable. */
|
|
273
|
+
export type UploadRunHandler = (file: File, context: UploadRunContext) => Observable<unknown> | Promise<unknown>;
|
|
274
|
+
/** What {@link runUpload} reports. None of them runs after the upload is stopped. */
|
|
275
|
+
export interface UploadRunCallbacks {
|
|
276
|
+
/** The upload failed, with what it failed with. */
|
|
277
|
+
failure(error: unknown): void;
|
|
278
|
+
/** How much of the file has been sent, from 0 to 1. */
|
|
279
|
+
progress(fraction: number): void;
|
|
280
|
+
/** The upload finished, with what it returned. */
|
|
281
|
+
success(response: unknown): void;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Runs an upload function for one file. A promise's result, or an observable's last value, is what the upload
|
|
285
|
+
* returned; for HttpClient's events (`reportProgress: true`, `observe: "events"`), the upload progress events report
|
|
286
|
+
* progress and the response's body is the result. A thrown error, a rejected promise or an observable's error is a
|
|
287
|
+
* failure.
|
|
288
|
+
*
|
|
289
|
+
* The callbacks can run before this returns, since an observable can complete at once.
|
|
290
|
+
*
|
|
291
|
+
* @returns A function that stops the upload: it aborts the context's signal and unsubscribes an observable, and no
|
|
292
|
+
* callback runs after it.
|
|
293
|
+
*/
|
|
294
|
+
export declare function runUpload(handler: UploadRunHandler, file: File, callbacks: UploadRunCallbacks): () => void;
|
|
258
295
|
export declare const rxTimeout: (destroyRef: DestroyRef, fn: Action$1, delay?: number) => void;
|
|
259
296
|
export type VariantInputs<T> = { [K in keyof T]-?: Signal<T[K]>; };
|
|
260
297
|
/**
|
|
@@ -235,6 +235,10 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_AR_SA_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_DE_DE_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_ES_ES_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_FR_FR_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_ID_ID_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_IT_IT_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_JA_JP_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|
|
@@ -235,6 +235,10 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
235
235
|
backgroundColor: string;
|
|
236
236
|
bold: string;
|
|
237
237
|
cancel: string;
|
|
238
|
+
characterCount: (count: number) => string;
|
|
239
|
+
characterLimitHint: (limit: number) => string;
|
|
240
|
+
charactersLeft: (count: number) => string;
|
|
241
|
+
charactersOver: (count: number) => string;
|
|
238
242
|
codeBlock: string;
|
|
239
243
|
color: string;
|
|
240
244
|
contentLabel: string;
|
|
@@ -242,6 +246,7 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
242
246
|
deleteColumn: string;
|
|
243
247
|
deleteRow: string;
|
|
244
248
|
deleteTable: string;
|
|
249
|
+
editImage: string;
|
|
245
250
|
editLink: string;
|
|
246
251
|
enterUrl: string;
|
|
247
252
|
fontSize: string;
|
|
@@ -249,6 +254,11 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
249
254
|
heading: (level: number) => string;
|
|
250
255
|
heightPx: string;
|
|
251
256
|
historyGroup: string;
|
|
257
|
+
imageFile: string;
|
|
258
|
+
imageInserted: (name: string) => string;
|
|
259
|
+
imageTooLarge: (name: string, size: string) => string;
|
|
260
|
+
imageUploadFailed: (name: string) => string;
|
|
261
|
+
imageUploading: (name: string) => string;
|
|
252
262
|
imageUrl: string;
|
|
253
263
|
indent: string;
|
|
254
264
|
indentGroup: string;
|
|
@@ -264,12 +274,17 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
264
274
|
justify: string;
|
|
265
275
|
linkGroup: string;
|
|
266
276
|
listGroup: string;
|
|
277
|
+
mentionNoResults: string;
|
|
278
|
+
mentionResults: (count: number) => string;
|
|
279
|
+
mentionSearching: string;
|
|
280
|
+
mentionSuggestions: string;
|
|
267
281
|
mergeCells: string;
|
|
268
282
|
outdent: string;
|
|
269
283
|
paragraph: string;
|
|
270
284
|
quotation: string;
|
|
271
285
|
redo: string;
|
|
272
286
|
removeLink: string;
|
|
287
|
+
save: string;
|
|
273
288
|
selectFontFamily: string;
|
|
274
289
|
selectFontSize: string;
|
|
275
290
|
splitCell: string;
|
|
@@ -284,6 +299,7 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
284
299
|
underline: string;
|
|
285
300
|
undo: string;
|
|
286
301
|
widthPx: string;
|
|
302
|
+
wordCount: (count: number) => string;
|
|
287
303
|
};
|
|
288
304
|
fileUpload: {
|
|
289
305
|
browse: string;
|