oasis-editor 0.0.11 → 0.0.12
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/dist/{OasisEditorApp-BgOoWqpC.js → OasisEditorApp-DsSNl4Fj.js} +356 -23
- package/dist/app/controllers/EditorCommandsController.d.ts +4 -0
- package/dist/assets/{importDocxWorker-DbiKelzX.js → importDocxWorker-CtcRQ7NG.js} +1 -1
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/image.d.ts +2 -0
- package/dist/core/commands/publicCommandTypes.d.ts +1 -0
- package/dist/core/document/imageCaptions.d.ts +13 -0
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/pt-BR.d.ts +4 -0
- package/dist/{index-L71R0x7D.js → index-BUOuw27s.js} +259 -197
- package/dist/oasis-editor.js +54 -54
- package/dist/oasis-editor.umd.cjs +4 -4
- package/dist/plugins/internal/createEssentialsPlugin.d.ts +1 -0
- package/dist/ui/app/EditorDialogsLayer.d.ts +1 -0
- package/dist/ui/app/useEditorDialogs.d.ts +8 -0
- package/dist/ui/components/Dialogs/ImageCaptionDialog.d.ts +8 -0
- package/dist/ui/components/Menubar/builtinMenuIds.d.ts +1 -0
- package/dist/ui/components/Toolbar/presets/builtinToolbarIds.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "exportDocx", "exportPdf", "importDocument", "insertImage", "editImageAlt", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "insertTable"];
|
|
1
|
+
export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "exportDocx", "exportPdf", "importDocument", "insertImage", "editImageAlt", "insertImageCaption", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "insertTable"];
|
|
2
2
|
export type OasisBuiltinCommand = (typeof OASIS_BUILTIN_COMMANDS)[number];
|
|
@@ -20,4 +20,6 @@ export declare function setSelectedImageFixedPosition(state: EditorState, fixed:
|
|
|
20
20
|
export declare function setImageWrapPolygon(state: EditorState, runId: string, polygon: EditorImageRunData["wrapPolygon"]): EditorState;
|
|
21
21
|
export declare function getSelectedImageAlt(state: EditorState): string | null;
|
|
22
22
|
export declare function setSelectedImageAlt(state: EditorState, alt: string | null): EditorState;
|
|
23
|
+
export declare function getSelectedImageCaption(state: EditorState): string | null;
|
|
24
|
+
export declare function setSelectedImageCaption(state: EditorState, captionText: string, label: string): EditorState;
|
|
23
25
|
export declare function moveSelectedImageToPosition(state: EditorState, targetPosition: EditorPosition): EditorState;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EditorDocument, EditorParagraphNode } from '../../../model.js';
|
|
2
|
+
|
|
3
|
+
export declare const IMAGE_CAPTION_STYLE_ID = "Caption";
|
|
4
|
+
export declare const IMAGE_CAPTION_FIELD_IDENTIFIER = "Figure";
|
|
5
|
+
export declare const IMAGE_CAPTION_FIELD_INSTRUCTION = " SEQ Figure \\* ARABIC ";
|
|
6
|
+
export declare function createImageCaptionParagraph(captionText: string, label: string, sequenceNumber: number): EditorParagraphNode;
|
|
7
|
+
export declare function isImageCaptionParagraph(paragraph: EditorParagraphNode | undefined): paragraph is EditorParagraphNode;
|
|
8
|
+
export declare function getImageCaptionText(paragraph: EditorParagraphNode | undefined): string;
|
|
9
|
+
export declare function updateImageCaptionParagraph(paragraph: EditorParagraphNode, captionText: string, label: string): EditorParagraphNode;
|
|
10
|
+
export declare function renumberImageCaptionParagraphs(paragraphs: EditorParagraphNode[]): EditorParagraphNode[];
|
|
11
|
+
export declare function renumberImageCaptionsInDocument(document: EditorDocument): EditorDocument;
|
|
12
|
+
export declare function getCaptionSelectionOffset(paragraph: EditorParagraphNode): number;
|
|
13
|
+
export declare function cloneParagraphsWithRenumberedCaptions(paragraphs: EditorParagraphNode[]): EditorParagraphNode[];
|
|
@@ -6,6 +6,7 @@ export declare const en: {
|
|
|
6
6
|
"toolbar.redo": string;
|
|
7
7
|
"toolbar.insert": string;
|
|
8
8
|
"toolbar.image": string;
|
|
9
|
+
"toolbar.imageCaption": string;
|
|
9
10
|
"toolbar.shapes": string;
|
|
10
11
|
"toolbar.shape.rect": string;
|
|
11
12
|
"toolbar.shape.roundRect": string;
|
|
@@ -229,6 +230,9 @@ export declare const en: {
|
|
|
229
230
|
"dialog.imageAlt.title": string;
|
|
230
231
|
"dialog.imageAlt.label": string;
|
|
231
232
|
"dialog.imageAlt.placeholder": string;
|
|
233
|
+
"dialog.imageCaption.title": string;
|
|
234
|
+
"dialog.imageCaption.label": string;
|
|
235
|
+
"dialog.imageCaption.placeholder": string;
|
|
232
236
|
"dialog.link.title": string;
|
|
233
237
|
"dialog.link.label": string;
|
|
234
238
|
"dialog.link.placeholder": string;
|
|
@@ -6,6 +6,7 @@ export declare const ptBR: {
|
|
|
6
6
|
"toolbar.redo": string;
|
|
7
7
|
"toolbar.insert": string;
|
|
8
8
|
"toolbar.image": string;
|
|
9
|
+
"toolbar.imageCaption": string;
|
|
9
10
|
"toolbar.shapes": string;
|
|
10
11
|
"toolbar.shape.rect": string;
|
|
11
12
|
"toolbar.shape.roundRect": string;
|
|
@@ -229,6 +230,9 @@ export declare const ptBR: {
|
|
|
229
230
|
"dialog.imageAlt.title": string;
|
|
230
231
|
"dialog.imageAlt.label": string;
|
|
231
232
|
"dialog.imageAlt.placeholder": string;
|
|
233
|
+
"dialog.imageCaption.title": string;
|
|
234
|
+
"dialog.imageCaption.label": string;
|
|
235
|
+
"dialog.imageCaption.placeholder": string;
|
|
232
236
|
"dialog.link.title": string;
|
|
233
237
|
"dialog.link.label": string;
|
|
234
238
|
"dialog.link.placeholder": string;
|
|
@@ -1422,6 +1422,7 @@ const en = {
|
|
|
1422
1422
|
"toolbar.redo": "Redo last undone change",
|
|
1423
1423
|
"toolbar.insert": "Insert",
|
|
1424
1424
|
"toolbar.image": "Image",
|
|
1425
|
+
"toolbar.imageCaption": "Image caption",
|
|
1425
1426
|
"toolbar.shapes": "Shapes",
|
|
1426
1427
|
"toolbar.shape.rect": "Rectangle",
|
|
1427
1428
|
"toolbar.shape.roundRect": "Rounded rectangle",
|
|
@@ -1653,6 +1654,9 @@ const en = {
|
|
|
1653
1654
|
"dialog.imageAlt.title": "Image Alt Text",
|
|
1654
1655
|
"dialog.imageAlt.label": "Description (Alt text)",
|
|
1655
1656
|
"dialog.imageAlt.placeholder": "Describe the image",
|
|
1657
|
+
"dialog.imageCaption.title": "Image Caption",
|
|
1658
|
+
"dialog.imageCaption.label": "Caption",
|
|
1659
|
+
"dialog.imageCaption.placeholder": "Enter a caption",
|
|
1656
1660
|
"dialog.link.title": "Insert Link",
|
|
1657
1661
|
"dialog.link.label": "Link URL",
|
|
1658
1662
|
"dialog.link.placeholder": "https://example.com",
|
|
@@ -1810,6 +1814,7 @@ const ptBR = {
|
|
|
1810
1814
|
"toolbar.redo": "Refazer última alteração",
|
|
1811
1815
|
"toolbar.insert": "Inserir",
|
|
1812
1816
|
"toolbar.image": "Imagem",
|
|
1817
|
+
"toolbar.imageCaption": "Legenda da imagem",
|
|
1813
1818
|
"toolbar.shapes": "Formas",
|
|
1814
1819
|
"toolbar.shape.rect": "Retângulo",
|
|
1815
1820
|
"toolbar.shape.roundRect": "Retângulo arredondado",
|
|
@@ -2041,6 +2046,9 @@ const ptBR = {
|
|
|
2041
2046
|
"dialog.imageAlt.title": "Texto Alternativo da Imagem",
|
|
2042
2047
|
"dialog.imageAlt.label": "Descrição (Texto Alt)",
|
|
2043
2048
|
"dialog.imageAlt.placeholder": "Descreva a imagem",
|
|
2049
|
+
"dialog.imageCaption.title": "Legenda da imagem",
|
|
2050
|
+
"dialog.imageCaption.label": "Legenda",
|
|
2051
|
+
"dialog.imageCaption.placeholder": "Digite a legenda",
|
|
2044
2052
|
"dialog.link.title": "Inserir Link",
|
|
2045
2053
|
"dialog.link.label": "URL do Link",
|
|
2046
2054
|
"dialog.link.placeholder": "https://exemplo.com",
|
|
@@ -2302,7 +2310,7 @@ function OasisEditorAppLazy(props = {}) {
|
|
|
2302
2310
|
onCleanup(() => {
|
|
2303
2311
|
cancelled = true;
|
|
2304
2312
|
});
|
|
2305
|
-
import("./OasisEditorApp-
|
|
2313
|
+
import("./OasisEditorApp-DsSNl4Fj.js").then((m) => {
|
|
2306
2314
|
cancelled = true;
|
|
2307
2315
|
setProgress(1);
|
|
2308
2316
|
setTimeout(() => setApp(() => m.OasisEditorApp), 180);
|
|
@@ -3634,6 +3642,23 @@ const DEFAULT_EDITOR_STYLES = {
|
|
|
3634
3642
|
textStyle: {
|
|
3635
3643
|
superscript: true
|
|
3636
3644
|
}
|
|
3645
|
+
},
|
|
3646
|
+
Caption: {
|
|
3647
|
+
id: "Caption",
|
|
3648
|
+
name: "Caption",
|
|
3649
|
+
type: "paragraph",
|
|
3650
|
+
basedOn: "normal",
|
|
3651
|
+
nextStyle: "normal",
|
|
3652
|
+
paragraphStyle: {
|
|
3653
|
+
align: "center",
|
|
3654
|
+
spacingBefore: 4,
|
|
3655
|
+
spacingAfter: 8
|
|
3656
|
+
},
|
|
3657
|
+
textStyle: {
|
|
3658
|
+
fontFamily: "Calibri, sans-serif",
|
|
3659
|
+
fontSize: 12,
|
|
3660
|
+
italic: true
|
|
3661
|
+
}
|
|
3637
3662
|
}
|
|
3638
3663
|
};
|
|
3639
3664
|
function createEditorDocument(blocks, pageSettings, sections, styles, metadata, assets) {
|
|
@@ -4235,6 +4260,7 @@ const OASIS_BUILTIN_COMMANDS = [
|
|
|
4235
4260
|
"importDocument",
|
|
4236
4261
|
"insertImage",
|
|
4237
4262
|
"editImageAlt",
|
|
4263
|
+
"insertImageCaption",
|
|
4238
4264
|
"outdent",
|
|
4239
4265
|
"indent",
|
|
4240
4266
|
"togglePageBreakBefore",
|
|
@@ -4496,6 +4522,13 @@ const defaultMenuItems = [
|
|
|
4496
4522
|
command: "insertImage",
|
|
4497
4523
|
icon: "image"
|
|
4498
4524
|
},
|
|
4525
|
+
{
|
|
4526
|
+
id: "insert_image_caption",
|
|
4527
|
+
path: "Insert/Image Caption",
|
|
4528
|
+
labelKey: "toolbar.imageCaption",
|
|
4529
|
+
command: "insertImageCaption",
|
|
4530
|
+
icon: "subtitles"
|
|
4531
|
+
},
|
|
4499
4532
|
{
|
|
4500
4533
|
id: "insert_table",
|
|
4501
4534
|
path: "Insert/Table",
|
|
@@ -33636,7 +33669,7 @@ function importDocxInWorker(buffer, options = {}) {
|
|
|
33636
33669
|
const worker = new Worker(
|
|
33637
33670
|
new URL(
|
|
33638
33671
|
/* @vite-ignore */
|
|
33639
|
-
"" + new URL("assets/importDocxWorker-
|
|
33672
|
+
"" + new URL("assets/importDocxWorker-CtcRQ7NG.js", import.meta.url).href,
|
|
33640
33673
|
import.meta.url
|
|
33641
33674
|
),
|
|
33642
33675
|
{
|
|
@@ -36947,13 +36980,26 @@ const RIBBON_PLACEMENTS = {
|
|
|
36947
36980
|
"editor-toolbar-superscript": { tab: "home", group: "font", row: 2 },
|
|
36948
36981
|
"editor-toolbar-subscript": { tab: "home", group: "font", row: 2 },
|
|
36949
36982
|
"sep-format": { tab: "home", group: "font", row: 2 },
|
|
36950
|
-
"editor-toolbar-insert-image": {
|
|
36951
|
-
|
|
36983
|
+
"editor-toolbar-insert-image": {
|
|
36984
|
+
tab: "insert",
|
|
36985
|
+
group: "illustrations",
|
|
36986
|
+
row: 1
|
|
36987
|
+
},
|
|
36988
|
+
"editor-toolbar-insert-shape": {
|
|
36989
|
+
tab: "insert",
|
|
36990
|
+
group: "illustrations",
|
|
36991
|
+
row: 2
|
|
36992
|
+
},
|
|
36952
36993
|
"editor-toolbar-insert-table": { tab: "insert", group: "tables", row: 1 },
|
|
36953
36994
|
"editor-toolbar-link": { tab: "insert", group: "links", row: 1 },
|
|
36954
36995
|
"editor-toolbar-unlink": { tab: "insert", group: "links", row: 2 },
|
|
36955
36996
|
"editor-toolbar-footnote": { tab: "references", group: "footnotes", row: 1 },
|
|
36956
36997
|
"editor-toolbar-image-alt": { tab: "insert", group: "accessibility", row: 2 },
|
|
36998
|
+
"editor-toolbar-image-caption": {
|
|
36999
|
+
tab: "insert",
|
|
37000
|
+
group: "accessibility",
|
|
37001
|
+
row: 1
|
|
37002
|
+
},
|
|
36957
37003
|
"sep-insert": { tab: "insert", group: "accessibility", row: 2 },
|
|
36958
37004
|
"editor-toolbar-align-left": { tab: "home", group: "paragraph", row: 2 },
|
|
36959
37005
|
"editor-toolbar-align-center": { tab: "home", group: "paragraph", row: 2 },
|
|
@@ -36964,7 +37010,11 @@ const RIBBON_PLACEMENTS = {
|
|
|
36964
37010
|
"editor-toolbar-list-outdent": { tab: "home", group: "paragraph", row: 1 },
|
|
36965
37011
|
"editor-toolbar-list-indent": { tab: "home", group: "paragraph", row: 1 },
|
|
36966
37012
|
"editor-toolbar-list-options": { tab: "home", group: "paragraph", row: 1 },
|
|
36967
|
-
"editor-toolbar-line-spacing-control": {
|
|
37013
|
+
"editor-toolbar-line-spacing-control": {
|
|
37014
|
+
tab: "home",
|
|
37015
|
+
group: "paragraph",
|
|
37016
|
+
row: 2
|
|
37017
|
+
},
|
|
36968
37018
|
"sep-paragraph": { tab: "home", group: "paragraph", row: 2 },
|
|
36969
37019
|
"editor-toolbar-metrics": { tab: "layout", group: "paragraph", row: 1 },
|
|
36970
37020
|
"sep-metrics": { tab: "layout", group: "paragraph", row: 2 },
|
|
@@ -37350,6 +37400,15 @@ function createDefaultToolbarPreset() {
|
|
|
37350
37400
|
command: "editImageAlt",
|
|
37351
37401
|
isVisible: (api) => api.commands.state("editImageAlt").isEnabled
|
|
37352
37402
|
});
|
|
37403
|
+
items.push({
|
|
37404
|
+
type: "button",
|
|
37405
|
+
id: "editor-toolbar-image-caption",
|
|
37406
|
+
testId: "editor-toolbar-image-caption",
|
|
37407
|
+
iconName: "subtitles",
|
|
37408
|
+
tooltipKey: "toolbar.imageCaption",
|
|
37409
|
+
command: "insertImageCaption",
|
|
37410
|
+
isVisible: (api) => api.commands.state("insertImageCaption").isEnabled
|
|
37411
|
+
});
|
|
37353
37412
|
items.push({ type: "separator", id: "sep-insert" });
|
|
37354
37413
|
for (const button of ALIGN_BUTTONS) {
|
|
37355
37414
|
items.push({
|
|
@@ -37447,6 +37506,7 @@ const OASIS_TOOLBAR_ITEMS = {
|
|
|
37447
37506
|
unlink: "editor-toolbar-unlink",
|
|
37448
37507
|
footnote: "editor-toolbar-footnote",
|
|
37449
37508
|
imageAlt: "editor-toolbar-image-alt",
|
|
37509
|
+
imageCaption: "editor-toolbar-image-caption",
|
|
37450
37510
|
alignLeft: "editor-toolbar-align-left",
|
|
37451
37511
|
alignCenter: "editor-toolbar-align-center",
|
|
37452
37512
|
alignRight: "editor-toolbar-align-right",
|
|
@@ -37478,6 +37538,7 @@ const OASIS_MENU_ITEMS = {
|
|
|
37478
37538
|
viewParagraphMarks: "view_paragraph_marks",
|
|
37479
37539
|
viewPreciseFonts: "view_precise_fonts",
|
|
37480
37540
|
insertImage: "insert_image",
|
|
37541
|
+
insertImageCaption: "insert_image_caption",
|
|
37481
37542
|
insertTable: "insert_table",
|
|
37482
37543
|
insertLink: "insert_link",
|
|
37483
37544
|
insertFootnote: "insert_footnote",
|
|
@@ -37497,200 +37558,201 @@ const OASIS_MENU_ITEMS = {
|
|
|
37497
37558
|
formatListsNumbered: "format_lists_numbered"
|
|
37498
37559
|
};
|
|
37499
37560
|
export {
|
|
37500
|
-
|
|
37501
|
-
|
|
37502
|
-
|
|
37503
|
-
|
|
37504
|
-
|
|
37505
|
-
|
|
37506
|
-
|
|
37507
|
-
|
|
37508
|
-
|
|
37509
|
-
|
|
37510
|
-
|
|
37511
|
-
|
|
37512
|
-
|
|
37513
|
-
|
|
37514
|
-
|
|
37515
|
-
|
|
37516
|
-
|
|
37517
|
-
|
|
37518
|
-
|
|
37519
|
-
|
|
37520
|
-
|
|
37521
|
-
|
|
37522
|
-
|
|
37523
|
-
|
|
37524
|
-
|
|
37525
|
-
|
|
37526
|
-
|
|
37527
|
-
|
|
37528
|
-
|
|
37529
|
-
|
|
37530
|
-
|
|
37531
|
-
|
|
37532
|
-
|
|
37533
|
-
|
|
37534
|
-
|
|
37535
|
-
|
|
37536
|
-
|
|
37537
|
-
|
|
37538
|
-
|
|
37539
|
-
|
|
37540
|
-
|
|
37541
|
-
|
|
37542
|
-
|
|
37543
|
-
|
|
37544
|
-
|
|
37545
|
-
|
|
37546
|
-
|
|
37547
|
-
|
|
37548
|
-
|
|
37549
|
-
|
|
37550
|
-
|
|
37551
|
-
|
|
37552
|
-
|
|
37553
|
-
|
|
37554
|
-
|
|
37555
|
-
|
|
37556
|
-
|
|
37557
|
-
|
|
37558
|
-
|
|
37559
|
-
|
|
37560
|
-
|
|
37561
|
-
|
|
37562
|
-
|
|
37563
|
-
|
|
37564
|
-
|
|
37565
|
-
|
|
37566
|
-
|
|
37567
|
-
|
|
37568
|
-
|
|
37569
|
-
|
|
37570
|
-
|
|
37571
|
-
|
|
37572
|
-
|
|
37573
|
-
|
|
37574
|
-
|
|
37575
|
-
|
|
37576
|
-
|
|
37577
|
-
|
|
37578
|
-
|
|
37579
|
-
|
|
37580
|
-
|
|
37581
|
-
|
|
37582
|
-
|
|
37583
|
-
|
|
37584
|
-
|
|
37585
|
-
|
|
37586
|
-
|
|
37587
|
-
|
|
37588
|
-
|
|
37589
|
-
|
|
37590
|
-
|
|
37591
|
-
|
|
37592
|
-
|
|
37593
|
-
|
|
37594
|
-
|
|
37595
|
-
|
|
37596
|
-
|
|
37597
|
-
|
|
37598
|
-
|
|
37599
|
-
|
|
37600
|
-
|
|
37601
|
-
|
|
37602
|
-
|
|
37603
|
-
|
|
37604
|
-
|
|
37605
|
-
|
|
37606
|
-
|
|
37607
|
-
|
|
37608
|
-
|
|
37609
|
-
|
|
37610
|
-
|
|
37611
|
-
|
|
37612
|
-
|
|
37613
|
-
|
|
37614
|
-
|
|
37615
|
-
|
|
37616
|
-
|
|
37617
|
-
|
|
37618
|
-
|
|
37619
|
-
|
|
37620
|
-
|
|
37621
|
-
|
|
37622
|
-
|
|
37623
|
-
|
|
37624
|
-
|
|
37625
|
-
|
|
37626
|
-
|
|
37627
|
-
|
|
37628
|
-
|
|
37629
|
-
|
|
37630
|
-
|
|
37631
|
-
|
|
37632
|
-
|
|
37633
|
-
|
|
37634
|
-
|
|
37635
|
-
|
|
37636
|
-
|
|
37637
|
-
|
|
37638
|
-
|
|
37639
|
-
|
|
37640
|
-
|
|
37641
|
-
|
|
37642
|
-
|
|
37643
|
-
|
|
37644
|
-
|
|
37645
|
-
|
|
37646
|
-
|
|
37647
|
-
|
|
37648
|
-
|
|
37649
|
-
|
|
37650
|
-
|
|
37651
|
-
|
|
37652
|
-
|
|
37653
|
-
|
|
37654
|
-
|
|
37655
|
-
|
|
37656
|
-
|
|
37657
|
-
|
|
37561
|
+
buildSegmentTable as $,
|
|
37562
|
+
createFootnoteReferenceRun as A,
|
|
37563
|
+
renumberFootnotes as B,
|
|
37564
|
+
iterateFootnoteReferenceRuns as C,
|
|
37565
|
+
getFootnoteDisplayMarker as D,
|
|
37566
|
+
createSignal as E,
|
|
37567
|
+
createEffect as F,
|
|
37568
|
+
onCleanup as G,
|
|
37569
|
+
buildCanvasLayoutSnapshot as H,
|
|
37570
|
+
on as I,
|
|
37571
|
+
onMount as J,
|
|
37572
|
+
debounce as K,
|
|
37573
|
+
unwrap as L,
|
|
37574
|
+
getDocumentParagraphs as M,
|
|
37575
|
+
getDocumentSectionsCanonical as N,
|
|
37576
|
+
createEditorDocument as O,
|
|
37577
|
+
getPageContentWidth as P,
|
|
37578
|
+
getDocumentPageSettings as Q,
|
|
37579
|
+
getTableCellContentWidthForParagraph as R,
|
|
37580
|
+
resolveResizedDimensions as S,
|
|
37581
|
+
resolveTextBoxRenderHeight as T,
|
|
37582
|
+
resolveEffectiveParagraphStyle as U,
|
|
37583
|
+
resolveEffectiveTextStyleForParagraph as V,
|
|
37584
|
+
iterateEndnoteReferenceRuns as W,
|
|
37585
|
+
JSZip as X,
|
|
37586
|
+
imageContentTypeDefaults as Y,
|
|
37587
|
+
imageExtensionFromMime as Z,
|
|
37588
|
+
pxToPt as _,
|
|
37589
|
+
getParagraphLength as a,
|
|
37590
|
+
Show as a$,
|
|
37591
|
+
buildCanvasTableLayout as a0,
|
|
37592
|
+
resolveFloatingObjectRect as a1,
|
|
37593
|
+
getTextBoxFloatingGeometry as a2,
|
|
37594
|
+
getPresetPathSegments as a3,
|
|
37595
|
+
projectBlocksLayout as a4,
|
|
37596
|
+
textStyleToFontSizePt as a5,
|
|
37597
|
+
PX_PER_POINT$2 as a6,
|
|
37598
|
+
DEFAULT_FONT_SIZE_PX as a7,
|
|
37599
|
+
isDoubleUnderlineStyle as a8,
|
|
37600
|
+
isWavyUnderlineStyle as a9,
|
|
37601
|
+
formatFontSizePt as aA,
|
|
37602
|
+
listKindForTag as aB,
|
|
37603
|
+
isParagraphTag as aC,
|
|
37604
|
+
collectInlineRuns as aD,
|
|
37605
|
+
parseParagraphStyle as aE,
|
|
37606
|
+
t as aF,
|
|
37607
|
+
preciseFontModeVersion as aG,
|
|
37608
|
+
isPreciseFontModeEnabled as aH,
|
|
37609
|
+
togglePreciseFontMode as aI,
|
|
37610
|
+
nextFontSizePt as aJ,
|
|
37611
|
+
previousFontSizePt as aK,
|
|
37612
|
+
fontSizePtToPx as aL,
|
|
37613
|
+
createDefaultToolbarPreset as aM,
|
|
37614
|
+
defaultMenuItems as aN,
|
|
37615
|
+
MenuRegistry as aO,
|
|
37616
|
+
createToolbarRegistry as aP,
|
|
37617
|
+
Editor as aQ,
|
|
37618
|
+
resolveCommandRef as aR,
|
|
37619
|
+
commandRefName as aS,
|
|
37620
|
+
InlineShell as aT,
|
|
37621
|
+
BalloonShell as aU,
|
|
37622
|
+
DocumentShell as aV,
|
|
37623
|
+
createMemo as aW,
|
|
37624
|
+
getCaretRectFromSnapshot as aX,
|
|
37625
|
+
getParagraphRectFromSnapshot as aY,
|
|
37626
|
+
createComponent as aZ,
|
|
37627
|
+
CaretOverlay as a_,
|
|
37628
|
+
underlineStyleLineWidthPx as aa,
|
|
37629
|
+
underlineStyleDashArray as ab,
|
|
37630
|
+
getListLabelInset as ac,
|
|
37631
|
+
getParagraphBorderInsets as ad,
|
|
37632
|
+
normalizeFamily as ae,
|
|
37633
|
+
ROBOTO_FONT_FILES as af,
|
|
37634
|
+
loadFontAsset as ag,
|
|
37635
|
+
OFFICE_COMPAT_FONT_FAMILIES as ah,
|
|
37636
|
+
buildSfnt as ai,
|
|
37637
|
+
defaultFontDecoderRegistry as aj,
|
|
37638
|
+
SfntFontProgram as ak,
|
|
37639
|
+
collectPdfFontFamilies as al,
|
|
37640
|
+
projectDocumentLayout as am,
|
|
37641
|
+
getPageHeaderZoneTop as an,
|
|
37642
|
+
getPageBodyTop as ao,
|
|
37643
|
+
findFootnoteReference as ap,
|
|
37644
|
+
FOOTNOTE_MARKER_GUTTER_PX as aq,
|
|
37645
|
+
resolveImporterForFile as ar,
|
|
37646
|
+
createEditorStateFromDocument as as,
|
|
37647
|
+
getDocumentParagraphsCanonical as at,
|
|
37648
|
+
getToolbarStyleState as au,
|
|
37649
|
+
STANDARD_FONT_SIZES_PT as av,
|
|
37650
|
+
fontSizePxToPt as aw,
|
|
37651
|
+
probeLocalFontFamilies as ax,
|
|
37652
|
+
createInitialEditorState as ay,
|
|
37653
|
+
parseFontSizePtToPx as az,
|
|
37654
|
+
createEditorRun as b,
|
|
37655
|
+
RIBBON_TAB_DEFINITIONS as b$,
|
|
37656
|
+
createRenderEffect as b0,
|
|
37657
|
+
style as b1,
|
|
37658
|
+
setAttribute as b2,
|
|
37659
|
+
setStyleProperty as b3,
|
|
37660
|
+
memo as b4,
|
|
37661
|
+
template as b5,
|
|
37662
|
+
insert as b6,
|
|
37663
|
+
use as b7,
|
|
37664
|
+
addEventListener as b8,
|
|
37665
|
+
Dialog as b9,
|
|
37666
|
+
applyStoredPreciseFontPreference as bA,
|
|
37667
|
+
getWelcomeSeen as bB,
|
|
37668
|
+
isLocalFontAccessSupported as bC,
|
|
37669
|
+
EDITOR_SCROLL_PADDING_PX as bD,
|
|
37670
|
+
Toolbar as bE,
|
|
37671
|
+
OasisEditorLoading as bF,
|
|
37672
|
+
createEditorLogger as bG,
|
|
37673
|
+
getCachedCanvasImage as bH,
|
|
37674
|
+
registerDomStatsSurface as bI,
|
|
37675
|
+
Button as bJ,
|
|
37676
|
+
Checkbox as bK,
|
|
37677
|
+
ColorPicker as bL,
|
|
37678
|
+
CommandRegistry as bM,
|
|
37679
|
+
DEFAULT_PALETTE as bN,
|
|
37680
|
+
DialogFooter as bO,
|
|
37681
|
+
FloatingActionButton as bP,
|
|
37682
|
+
GridPicker as bQ,
|
|
37683
|
+
IconButton as bR,
|
|
37684
|
+
Menu as bS,
|
|
37685
|
+
OASIS_BUILTIN_COMMANDS as bT,
|
|
37686
|
+
OASIS_MENU_ITEMS as bU,
|
|
37687
|
+
OASIS_TOOLBAR_ITEMS as bV,
|
|
37688
|
+
OasisEditorAppLazy as bW,
|
|
37689
|
+
OasisEditorContainer as bX,
|
|
37690
|
+
PluginCollection as bY,
|
|
37691
|
+
Popover as bZ,
|
|
37692
|
+
RIBBON_TABS as b_,
|
|
37693
|
+
delegateEvents as ba,
|
|
37694
|
+
className as bb,
|
|
37695
|
+
For as bc,
|
|
37696
|
+
UNDERLINE_STYLE_OPTIONS as bd,
|
|
37697
|
+
Tabs as be,
|
|
37698
|
+
measureParagraphMinContentWidthPx as bf,
|
|
37699
|
+
getEditableBlocksForZone as bg,
|
|
37700
|
+
findParagraphLocation as bh,
|
|
37701
|
+
createSectionBoundaryParagraph as bi,
|
|
37702
|
+
normalizePageSettings as bj,
|
|
37703
|
+
DEFAULT_EDITOR_PAGE_SETTINGS as bk,
|
|
37704
|
+
markStart as bl,
|
|
37705
|
+
markEnd as bm,
|
|
37706
|
+
getParagraphEntries as bn,
|
|
37707
|
+
getParagraphById as bo,
|
|
37708
|
+
PluginUiHost as bp,
|
|
37709
|
+
OasisEditorEditor as bq,
|
|
37710
|
+
perfTimer as br,
|
|
37711
|
+
OasisBrandMark as bs,
|
|
37712
|
+
setPreciseFontPreference as bt,
|
|
37713
|
+
setWelcomeSeen as bu,
|
|
37714
|
+
enablePreciseFontMode as bv,
|
|
37715
|
+
createOasisEditorClient as bw,
|
|
37716
|
+
setLocale as bx,
|
|
37717
|
+
startLongTaskObserver as by,
|
|
37718
|
+
installGlobalReport as bz,
|
|
37658
37719
|
createEditorParagraphFromRuns as c,
|
|
37659
|
-
|
|
37660
|
-
|
|
37661
|
-
|
|
37662
|
-
|
|
37663
|
-
|
|
37664
|
-
|
|
37665
|
-
|
|
37666
|
-
|
|
37667
|
-
|
|
37668
|
-
|
|
37669
|
-
|
|
37670
|
-
|
|
37671
|
-
|
|
37672
|
-
|
|
37673
|
-
|
|
37674
|
-
|
|
37675
|
-
|
|
37720
|
+
Select as c0,
|
|
37721
|
+
SelectField as c1,
|
|
37722
|
+
Separator as c2,
|
|
37723
|
+
SidePanel as c3,
|
|
37724
|
+
SidePanelBody as c4,
|
|
37725
|
+
SidePanelFooter as c5,
|
|
37726
|
+
SidePanelHeader as c6,
|
|
37727
|
+
SplitButton as c7,
|
|
37728
|
+
TextField as c8,
|
|
37729
|
+
Button$1 as c9,
|
|
37730
|
+
createEditorCommandBus as ca,
|
|
37731
|
+
createOasisEditor as cb,
|
|
37732
|
+
createOasisEditorContainer as cc,
|
|
37733
|
+
mount as cd,
|
|
37734
|
+
registerToolbarRenderer as ce,
|
|
37735
|
+
getDocumentSections as d,
|
|
37736
|
+
createEditorStyledRun as e,
|
|
37737
|
+
getParagraphText as f,
|
|
37676
37738
|
getParagraphs as g,
|
|
37677
|
-
|
|
37678
|
-
|
|
37679
|
-
|
|
37680
|
-
|
|
37681
|
-
|
|
37682
|
-
|
|
37739
|
+
getActiveZone as h,
|
|
37740
|
+
getActiveSectionIndex as i,
|
|
37741
|
+
paragraphOffsetToPosition as j,
|
|
37742
|
+
clampPosition as k,
|
|
37743
|
+
findParagraphIndex as l,
|
|
37744
|
+
createCollapsedSelection as m,
|
|
37683
37745
|
normalizeSelection as n,
|
|
37684
|
-
|
|
37746
|
+
isSelectionCollapsed as o,
|
|
37685
37747
|
positionToParagraphOffset as p,
|
|
37686
|
-
|
|
37687
|
-
|
|
37688
|
-
|
|
37689
|
-
|
|
37690
|
-
|
|
37691
|
-
|
|
37692
|
-
|
|
37693
|
-
|
|
37694
|
-
|
|
37695
|
-
|
|
37748
|
+
createEditorParagraph as q,
|
|
37749
|
+
getBlockParagraphs as r,
|
|
37750
|
+
findParagraphTableLocation as s,
|
|
37751
|
+
buildTableCellLayout as t,
|
|
37752
|
+
createEditorTableCell as u,
|
|
37753
|
+
createEditorTable as v,
|
|
37754
|
+
createEditorTableRow as w,
|
|
37755
|
+
underlineStyleToCssDecorationStyle as x,
|
|
37756
|
+
resolveImageSrc as y,
|
|
37757
|
+
createEditorFootnote as z
|
|
37696
37758
|
};
|