oasis-editor 0.0.16 → 0.0.17
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-CVvcxpbi.js → OasisEditorApp-Cwoo0WV0.js} +1 -1
- package/dist/i18n/locales/en.d.ts +26 -0
- package/dist/i18n/locales/pt-BR.d.ts +26 -0
- package/dist/{index-u3nvOtUO.js → index-CBbhzffQ.js} +92 -19
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +4 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { n as normalizeSelection, g as getParagraphs, c as createEditorParagraphFromRuns, a as getParagraphLength, b as createEditorRun, d as getDocumentSections, e as createEditorStyledRun, f as getParagraphText, h as getActiveZone, i as getActiveSectionIndex, p as positionToParagraphOffset, j as paragraphOffsetToPosition, k as clampPosition, l as findParagraphIndex, m as createCollapsedSelection, o as isSelectionCollapsed, q as createEditorParagraph, r as getBlockParagraphs, s as findParagraphTableLocation, t as buildTableCellLayout, u as createEditorTableCell, v as createEditorTable, w as createEditorTableRow, x as underlineStyleToCssDecorationStyle, y as resolveImageSrc, z as createEditorFootnote, A as createFootnoteReferenceRun, B as renumberFootnotes, C as iterateFootnoteReferenceRuns, D as getFootnoteDisplayMarker, E as createSignal, F as createEffect, G as onCleanup, H as buildCanvasLayoutSnapshot, I as on, J as onMount, K as debounce, L as unwrap, M as getDocumentParagraphs, N as getDocumentSectionsCanonical, O as createEditorDocument, P as getPageContentWidth, Q as getDocumentPageSettings, R as getTableCellContentWidthForParagraph, S as resolveResizedDimensions, T as resolveTextBoxRenderHeight, U as resolveEffectiveParagraphStyle, V as resolveEffectiveTextStyleForParagraph, W as iterateEndnoteReferenceRuns, X as JSZip, Y as imageContentTypeDefaults, Z as imageExtensionFromMime, _ as pxToPt$1, $ as buildSegmentTable, a0 as buildCanvasTableLayout, a1 as resolveFloatingObjectRect, a2 as getTextBoxFloatingGeometry, a3 as getPresetPathSegments, a4 as projectBlocksLayout, a5 as textStyleToFontSizePt, a6 as PX_PER_POINT, a7 as DEFAULT_FONT_SIZE_PX, a8 as isDoubleUnderlineStyle, a9 as isWavyUnderlineStyle, aa as underlineStyleLineWidthPx, ab as underlineStyleDashArray, ac as getListLabelInset, ad as getParagraphBorderInsets, ae as normalizeFamily, af as ROBOTO_FONT_FILES, ag as loadFontAsset, ah as OFFICE_COMPAT_FONT_FAMILIES, ai as buildSfnt, aj as defaultFontDecoderRegistry, ak as SfntFontProgram, al as collectPdfFontFamilies, am as projectDocumentLayout, an as getPageHeaderZoneTop, ao as getPageBodyTop, ap as findFootnoteReference, aq as FOOTNOTE_MARKER_GUTTER_PX, ar as resolveImporterForFile, as as createEditorStateFromDocument, at as getDocumentParagraphsCanonical, au as getToolbarStyleState, av as STANDARD_FONT_SIZES_PT, aw as fontSizePxToPt, ax as probeLocalFontFamilies, ay as createInitialEditorState, az as parseFontSizePtToPx, aA as formatFontSizePt, aB as listKindForTag, aC as isParagraphTag, aD as collectInlineRuns, aE as parseParagraphStyle, aF as t, aG as preciseFontModeVersion, aH as isPreciseFontModeEnabled, aI as togglePreciseFontMode, aJ as nextFontSizePt, aK as previousFontSizePt, aL as fontSizePtToPx, aM as createDefaultToolbarPreset, aN as defaultMenuItems, aO as MenuRegistry, aP as createToolbarRegistry, aQ as Editor, aR as resolveCommandRef, aS as commandRefName, aT as InlineShell, aU as BalloonShell, aV as DocumentShell, aW as createMemo, aX as getCaretRectFromSnapshot, aY as getParagraphRectFromSnapshot, aZ as createComponent, a_ as CaretOverlay, a$ as Show, b0 as createRenderEffect, b1 as style, b2 as setAttribute, b3 as setStyleProperty, b4 as memo, b5 as template, b6 as insert, b7 as use, b8 as addEventListener, b9 as Dialog, ba as delegateEvents, bb as className, bc as For, bd as UNDERLINE_STYLE_OPTIONS, be as Tabs, bf as measureParagraphMinContentWidthPx, bg as getEditableBlocksForZone, bh as findParagraphLocation, bi as createSectionBoundaryParagraph, bj as normalizePageSettings, bk as DEFAULT_EDITOR_PAGE_SETTINGS, bl as markStart, bm as markEnd, bn as getParagraphEntries, bo as getParagraphById, bp as PluginUiHost, bq as OasisEditorEditor, br as perfTimer, bs as OasisBrandMark, bt as setPreciseFontPreference, bu as setWelcomeSeen, bv as enablePreciseFontMode, bw as createOasisEditorClient, bx as setLocale, by as startLongTaskObserver, bz as installGlobalReport, bA as applyStoredPreciseFontPreference, bB as getWelcomeSeen, bC as isLocalFontAccessSupported, bD as EDITOR_SCROLL_PADDING_PX, bE as Toolbar, bF as OasisEditorLoading, bG as createEditorLogger, bH as getCachedCanvasImage, bI as registerDomStatsSurface } from "./index-
|
|
4
|
+
import { n as normalizeSelection, g as getParagraphs, c as createEditorParagraphFromRuns, a as getParagraphLength, b as createEditorRun, d as getDocumentSections, e as createEditorStyledRun, f as getParagraphText, h as getActiveZone, i as getActiveSectionIndex, p as positionToParagraphOffset, j as paragraphOffsetToPosition, k as clampPosition, l as findParagraphIndex, m as createCollapsedSelection, o as isSelectionCollapsed, q as createEditorParagraph, r as getBlockParagraphs, s as findParagraphTableLocation, t as buildTableCellLayout, u as createEditorTableCell, v as createEditorTable, w as createEditorTableRow, x as underlineStyleToCssDecorationStyle, y as resolveImageSrc, z as createEditorFootnote, A as createFootnoteReferenceRun, B as renumberFootnotes, C as iterateFootnoteReferenceRuns, D as getFootnoteDisplayMarker, E as createSignal, F as createEffect, G as onCleanup, H as buildCanvasLayoutSnapshot, I as on, J as onMount, K as debounce, L as unwrap, M as getDocumentParagraphs, N as getDocumentSectionsCanonical, O as createEditorDocument, P as getPageContentWidth, Q as getDocumentPageSettings, R as getTableCellContentWidthForParagraph, S as resolveResizedDimensions, T as resolveTextBoxRenderHeight, U as resolveEffectiveParagraphStyle, V as resolveEffectiveTextStyleForParagraph, W as iterateEndnoteReferenceRuns, X as JSZip, Y as imageContentTypeDefaults, Z as imageExtensionFromMime, _ as pxToPt$1, $ as buildSegmentTable, a0 as buildCanvasTableLayout, a1 as resolveFloatingObjectRect, a2 as getTextBoxFloatingGeometry, a3 as getPresetPathSegments, a4 as projectBlocksLayout, a5 as textStyleToFontSizePt, a6 as PX_PER_POINT, a7 as DEFAULT_FONT_SIZE_PX, a8 as isDoubleUnderlineStyle, a9 as isWavyUnderlineStyle, aa as underlineStyleLineWidthPx, ab as underlineStyleDashArray, ac as getListLabelInset, ad as getParagraphBorderInsets, ae as normalizeFamily, af as ROBOTO_FONT_FILES, ag as loadFontAsset, ah as OFFICE_COMPAT_FONT_FAMILIES, ai as buildSfnt, aj as defaultFontDecoderRegistry, ak as SfntFontProgram, al as collectPdfFontFamilies, am as projectDocumentLayout, an as getPageHeaderZoneTop, ao as getPageBodyTop, ap as findFootnoteReference, aq as FOOTNOTE_MARKER_GUTTER_PX, ar as resolveImporterForFile, as as createEditorStateFromDocument, at as getDocumentParagraphsCanonical, au as getToolbarStyleState, av as STANDARD_FONT_SIZES_PT, aw as fontSizePxToPt, ax as probeLocalFontFamilies, ay as createInitialEditorState, az as parseFontSizePtToPx, aA as formatFontSizePt, aB as listKindForTag, aC as isParagraphTag, aD as collectInlineRuns, aE as parseParagraphStyle, aF as t, aG as preciseFontModeVersion, aH as isPreciseFontModeEnabled, aI as togglePreciseFontMode, aJ as nextFontSizePt, aK as previousFontSizePt, aL as fontSizePtToPx, aM as createDefaultToolbarPreset, aN as defaultMenuItems, aO as MenuRegistry, aP as createToolbarRegistry, aQ as Editor, aR as resolveCommandRef, aS as commandRefName, aT as InlineShell, aU as BalloonShell, aV as DocumentShell, aW as createMemo, aX as getCaretRectFromSnapshot, aY as getParagraphRectFromSnapshot, aZ as createComponent, a_ as CaretOverlay, a$ as Show, b0 as createRenderEffect, b1 as style, b2 as setAttribute, b3 as setStyleProperty, b4 as memo, b5 as template, b6 as insert, b7 as use, b8 as addEventListener, b9 as Dialog, ba as delegateEvents, bb as className, bc as For, bd as UNDERLINE_STYLE_OPTIONS, be as Tabs, bf as measureParagraphMinContentWidthPx, bg as getEditableBlocksForZone, bh as findParagraphLocation, bi as createSectionBoundaryParagraph, bj as normalizePageSettings, bk as DEFAULT_EDITOR_PAGE_SETTINGS, bl as markStart, bm as markEnd, bn as getParagraphEntries, bo as getParagraphById, bp as PluginUiHost, bq as OasisEditorEditor, br as perfTimer, bs as OasisBrandMark, bt as setPreciseFontPreference, bu as setWelcomeSeen, bv as enablePreciseFontMode, bw as createOasisEditorClient, bx as setLocale, by as startLongTaskObserver, bz as installGlobalReport, bA as applyStoredPreciseFontPreference, bB as getWelcomeSeen, bC as isLocalFontAccessSupported, bD as EDITOR_SCROLL_PADDING_PX, bE as Toolbar, bF as OasisEditorLoading, bG as createEditorLogger, bH as getCachedCanvasImage, bI as registerDomStatsSurface } from "./index-CBbhzffQ.js";
|
|
5
5
|
function getSelectedObjectRun(state, predicate) {
|
|
6
6
|
const normalized = normalizeSelection(state);
|
|
7
7
|
if (normalized.isCollapsed || normalized.startIndex !== normalized.endIndex || normalized.endParagraphOffset - normalized.startParagraphOffset !== 1) {
|
|
@@ -263,6 +263,32 @@ export declare const en: {
|
|
|
263
263
|
"dialog.font.styleItalic": string;
|
|
264
264
|
"dialog.font.styleBold": string;
|
|
265
265
|
"dialog.font.styleBoldItalic": string;
|
|
266
|
+
"ribbon.tab.file": string;
|
|
267
|
+
"ribbon.tab.home": string;
|
|
268
|
+
"ribbon.tab.insert": string;
|
|
269
|
+
"ribbon.tab.draw": string;
|
|
270
|
+
"ribbon.tab.layout": string;
|
|
271
|
+
"ribbon.tab.references": string;
|
|
272
|
+
"ribbon.tab.collaboration": string;
|
|
273
|
+
"ribbon.tab.protection": string;
|
|
274
|
+
"ribbon.tab.view": string;
|
|
275
|
+
"ribbon.tab.plugins": string;
|
|
276
|
+
"ribbon.tab.ai": string;
|
|
277
|
+
"ribbon.group.clipboard": string;
|
|
278
|
+
"ribbon.group.font": string;
|
|
279
|
+
"ribbon.group.paragraph": string;
|
|
280
|
+
"ribbon.group.styles": string;
|
|
281
|
+
"ribbon.group.illustrations": string;
|
|
282
|
+
"ribbon.group.tables": string;
|
|
283
|
+
"ribbon.group.links": string;
|
|
284
|
+
"ribbon.group.footnotes": string;
|
|
285
|
+
"ribbon.group.accessibility": string;
|
|
286
|
+
"ribbon.group.document": string;
|
|
287
|
+
"ribbon.group.table": string;
|
|
288
|
+
"ribbon.group.section": string;
|
|
289
|
+
"ribbon.group.general": string;
|
|
290
|
+
"toolbar.exportDocx": string;
|
|
291
|
+
"toolbar.exportPdf": string;
|
|
266
292
|
"underline.style.single": string;
|
|
267
293
|
"underline.style.double": string;
|
|
268
294
|
"underline.style.thick": string;
|
|
@@ -263,6 +263,32 @@ export declare const ptBR: {
|
|
|
263
263
|
"dialog.font.styleItalic": string;
|
|
264
264
|
"dialog.font.styleBold": string;
|
|
265
265
|
"dialog.font.styleBoldItalic": string;
|
|
266
|
+
"ribbon.tab.file": string;
|
|
267
|
+
"ribbon.tab.home": string;
|
|
268
|
+
"ribbon.tab.insert": string;
|
|
269
|
+
"ribbon.tab.draw": string;
|
|
270
|
+
"ribbon.tab.layout": string;
|
|
271
|
+
"ribbon.tab.references": string;
|
|
272
|
+
"ribbon.tab.collaboration": string;
|
|
273
|
+
"ribbon.tab.protection": string;
|
|
274
|
+
"ribbon.tab.view": string;
|
|
275
|
+
"ribbon.tab.plugins": string;
|
|
276
|
+
"ribbon.tab.ai": string;
|
|
277
|
+
"ribbon.group.clipboard": string;
|
|
278
|
+
"ribbon.group.font": string;
|
|
279
|
+
"ribbon.group.paragraph": string;
|
|
280
|
+
"ribbon.group.styles": string;
|
|
281
|
+
"ribbon.group.illustrations": string;
|
|
282
|
+
"ribbon.group.tables": string;
|
|
283
|
+
"ribbon.group.links": string;
|
|
284
|
+
"ribbon.group.footnotes": string;
|
|
285
|
+
"ribbon.group.accessibility": string;
|
|
286
|
+
"ribbon.group.document": string;
|
|
287
|
+
"ribbon.group.table": string;
|
|
288
|
+
"ribbon.group.section": string;
|
|
289
|
+
"ribbon.group.general": string;
|
|
290
|
+
"toolbar.exportDocx": string;
|
|
291
|
+
"toolbar.exportPdf": string;
|
|
266
292
|
"underline.style.single": string;
|
|
267
293
|
"underline.style.double": string;
|
|
268
294
|
"underline.style.thick": string;
|
|
@@ -1687,6 +1687,35 @@ const en = {
|
|
|
1687
1687
|
"dialog.font.styleItalic": "Italic",
|
|
1688
1688
|
"dialog.font.styleBold": "Bold",
|
|
1689
1689
|
"dialog.font.styleBoldItalic": "Bold Italic",
|
|
1690
|
+
// Ribbon tabs
|
|
1691
|
+
"ribbon.tab.file": "File",
|
|
1692
|
+
"ribbon.tab.home": "Home",
|
|
1693
|
+
"ribbon.tab.insert": "Insert",
|
|
1694
|
+
"ribbon.tab.draw": "Draw",
|
|
1695
|
+
"ribbon.tab.layout": "Layout",
|
|
1696
|
+
"ribbon.tab.references": "References",
|
|
1697
|
+
"ribbon.tab.collaboration": "Collaboration",
|
|
1698
|
+
"ribbon.tab.protection": "Protection",
|
|
1699
|
+
"ribbon.tab.view": "View",
|
|
1700
|
+
"ribbon.tab.plugins": "Plugins",
|
|
1701
|
+
"ribbon.tab.ai": "AI",
|
|
1702
|
+
// Ribbon groups
|
|
1703
|
+
"ribbon.group.clipboard": "Clipboard",
|
|
1704
|
+
"ribbon.group.font": "Font",
|
|
1705
|
+
"ribbon.group.paragraph": "Paragraph",
|
|
1706
|
+
"ribbon.group.styles": "Styles",
|
|
1707
|
+
"ribbon.group.illustrations": "Illustrations",
|
|
1708
|
+
"ribbon.group.tables": "Tables",
|
|
1709
|
+
"ribbon.group.links": "Links",
|
|
1710
|
+
"ribbon.group.footnotes": "Footnotes",
|
|
1711
|
+
"ribbon.group.accessibility": "Accessibility",
|
|
1712
|
+
"ribbon.group.document": "Document",
|
|
1713
|
+
"ribbon.group.table": "Table",
|
|
1714
|
+
"ribbon.group.section": "Section",
|
|
1715
|
+
"ribbon.group.general": "General",
|
|
1716
|
+
// Export
|
|
1717
|
+
"toolbar.exportDocx": "Export DOCX",
|
|
1718
|
+
"toolbar.exportPdf": "Export PDF",
|
|
1690
1719
|
"underline.style.single": "Single",
|
|
1691
1720
|
"underline.style.double": "Double",
|
|
1692
1721
|
"underline.style.thick": "Thick",
|
|
@@ -2103,6 +2132,35 @@ const ptBR = {
|
|
|
2103
2132
|
"dialog.font.styleItalic": "Itálico",
|
|
2104
2133
|
"dialog.font.styleBold": "Negrito",
|
|
2105
2134
|
"dialog.font.styleBoldItalic": "Negrito Itálico",
|
|
2135
|
+
// Ribbon tabs
|
|
2136
|
+
"ribbon.tab.file": "Arquivo",
|
|
2137
|
+
"ribbon.tab.home": "Início",
|
|
2138
|
+
"ribbon.tab.insert": "Inserir",
|
|
2139
|
+
"ribbon.tab.draw": "Desenhar",
|
|
2140
|
+
"ribbon.tab.layout": "Layout",
|
|
2141
|
+
"ribbon.tab.references": "Referências",
|
|
2142
|
+
"ribbon.tab.collaboration": "Colaboração",
|
|
2143
|
+
"ribbon.tab.protection": "Proteção",
|
|
2144
|
+
"ribbon.tab.view": "Exibir",
|
|
2145
|
+
"ribbon.tab.plugins": "Plugins",
|
|
2146
|
+
"ribbon.tab.ai": "IA",
|
|
2147
|
+
// Ribbon groups
|
|
2148
|
+
"ribbon.group.clipboard": "Área de Transferência",
|
|
2149
|
+
"ribbon.group.font": "Fonte",
|
|
2150
|
+
"ribbon.group.paragraph": "Parágrafo",
|
|
2151
|
+
"ribbon.group.styles": "Estilos",
|
|
2152
|
+
"ribbon.group.illustrations": "Ilustrações",
|
|
2153
|
+
"ribbon.group.tables": "Tabelas",
|
|
2154
|
+
"ribbon.group.links": "Links",
|
|
2155
|
+
"ribbon.group.footnotes": "Notas de Rodapé",
|
|
2156
|
+
"ribbon.group.accessibility": "Acessibilidade",
|
|
2157
|
+
"ribbon.group.document": "Documento",
|
|
2158
|
+
"ribbon.group.table": "Tabela",
|
|
2159
|
+
"ribbon.group.section": "Seção",
|
|
2160
|
+
"ribbon.group.general": "Geral",
|
|
2161
|
+
// Export
|
|
2162
|
+
"toolbar.exportDocx": "Exportar DOCX",
|
|
2163
|
+
"toolbar.exportPdf": "Exportar PDF",
|
|
2106
2164
|
"underline.style.single": "Simples",
|
|
2107
2165
|
"underline.style.double": "Duplo",
|
|
2108
2166
|
"underline.style.thick": "Espesso",
|
|
@@ -2358,7 +2416,7 @@ function OasisEditorAppLazy(props = {}) {
|
|
|
2358
2416
|
onCleanup(() => {
|
|
2359
2417
|
cancelled = true;
|
|
2360
2418
|
});
|
|
2361
|
-
import("./OasisEditorApp-
|
|
2419
|
+
import("./OasisEditorApp-Cwoo0WV0.js").then((m) => {
|
|
2362
2420
|
cancelled = true;
|
|
2363
2421
|
setProgress(1);
|
|
2364
2422
|
setTimeout(() => setApp(() => m.OasisEditorApp), 180);
|
|
@@ -18463,21 +18521,36 @@ const RIBBON_TABS = [
|
|
|
18463
18521
|
"plugins",
|
|
18464
18522
|
"ai"
|
|
18465
18523
|
];
|
|
18466
|
-
const
|
|
18467
|
-
file: "
|
|
18468
|
-
home: "
|
|
18469
|
-
insert: "
|
|
18470
|
-
draw: "
|
|
18471
|
-
layout: "
|
|
18472
|
-
references: "
|
|
18473
|
-
collaboration: "
|
|
18474
|
-
protection: "
|
|
18475
|
-
view: "
|
|
18476
|
-
plugins: "
|
|
18477
|
-
ai: "
|
|
18524
|
+
const TAB_LABEL_KEYS = {
|
|
18525
|
+
file: "ribbon.tab.file",
|
|
18526
|
+
home: "ribbon.tab.home",
|
|
18527
|
+
insert: "ribbon.tab.insert",
|
|
18528
|
+
draw: "ribbon.tab.draw",
|
|
18529
|
+
layout: "ribbon.tab.layout",
|
|
18530
|
+
references: "ribbon.tab.references",
|
|
18531
|
+
collaboration: "ribbon.tab.collaboration",
|
|
18532
|
+
protection: "ribbon.tab.protection",
|
|
18533
|
+
view: "ribbon.tab.view",
|
|
18534
|
+
plugins: "ribbon.tab.plugins",
|
|
18535
|
+
ai: "ribbon.tab.ai"
|
|
18536
|
+
};
|
|
18537
|
+
const GROUP_LABEL_KEYS = {
|
|
18538
|
+
clipboard: "ribbon.group.clipboard",
|
|
18539
|
+
font: "ribbon.group.font",
|
|
18540
|
+
paragraph: "ribbon.group.paragraph",
|
|
18541
|
+
styles: "ribbon.group.styles",
|
|
18542
|
+
illustrations: "ribbon.group.illustrations",
|
|
18543
|
+
tables: "ribbon.group.tables",
|
|
18544
|
+
links: "ribbon.group.links",
|
|
18545
|
+
footnotes: "ribbon.group.footnotes",
|
|
18546
|
+
accessibility: "ribbon.group.accessibility",
|
|
18547
|
+
document: "ribbon.group.document",
|
|
18548
|
+
table: "ribbon.group.table",
|
|
18549
|
+
section: "ribbon.group.section",
|
|
18550
|
+
general: "ribbon.group.general"
|
|
18478
18551
|
};
|
|
18479
18552
|
const RIBBON_TAB_DEFINITIONS = RIBBON_TABS.map(
|
|
18480
|
-
(id) => ({ id, label:
|
|
18553
|
+
(id) => ({ id, label: t(TAB_LABEL_KEYS[id]) })
|
|
18481
18554
|
);
|
|
18482
18555
|
const DEFAULT_RIBBON_TAB = "plugins";
|
|
18483
18556
|
const DEFAULT_RIBBON_GROUP = "general";
|
|
@@ -18521,7 +18594,7 @@ function normalizeRibbonRow(row) {
|
|
|
18521
18594
|
return row === 2 ? 2 : DEFAULT_RIBBON_ROW;
|
|
18522
18595
|
}
|
|
18523
18596
|
function ribbonGroupLabel(group) {
|
|
18524
|
-
return
|
|
18597
|
+
return t(GROUP_LABEL_KEYS[group] ?? group);
|
|
18525
18598
|
}
|
|
18526
18599
|
function buildRibbonGroups(items, tab) {
|
|
18527
18600
|
const groups = /* @__PURE__ */ new Map();
|
|
@@ -37516,9 +37589,9 @@ function createDefaultToolbarPreset() {
|
|
|
37516
37589
|
id: "editor-toolbar-export-docx",
|
|
37517
37590
|
testId: "editor-toolbar-export-docx",
|
|
37518
37591
|
iconName: "file-text",
|
|
37519
|
-
|
|
37592
|
+
labelKey: "toolbar.exportDocx",
|
|
37520
37593
|
wide: true,
|
|
37521
|
-
|
|
37594
|
+
tooltipKey: "toolbar.exportDocx",
|
|
37522
37595
|
command: "exportDocx"
|
|
37523
37596
|
},
|
|
37524
37597
|
{
|
|
@@ -37526,9 +37599,9 @@ function createDefaultToolbarPreset() {
|
|
|
37526
37599
|
id: "editor-toolbar-export-pdf",
|
|
37527
37600
|
testId: "editor-toolbar-export-pdf",
|
|
37528
37601
|
iconName: "file-down",
|
|
37529
|
-
|
|
37602
|
+
labelKey: "toolbar.exportPdf",
|
|
37530
37603
|
wide: true,
|
|
37531
|
-
|
|
37604
|
+
tooltipKey: "toolbar.exportPdf",
|
|
37532
37605
|
command: "exportPdf"
|
|
37533
37606
|
},
|
|
37534
37607
|
{
|
package/dist/oasis-editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aU, bJ, bK, bL, bM, bN, b9, bO, aV, aQ, bP, bQ, bR, aT, bS, aO, bT, bU, bV, bW, bX, bF, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, be, c8, bE, c9, bL as bL2, bQ as bQ2, bS as bS2, c0 as c02, c2 as c22, c7 as c72, aS, aM, ca, cb, cc, aP, cd, ce, aR } from "./index-
|
|
1
|
+
import { aU, bJ, bK, bL, bM, bN, b9, bO, aV, aQ, bP, bQ, bR, aT, bS, aO, bT, bU, bV, bW, bX, bF, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, be, c8, bE, c9, bL as bL2, bQ as bQ2, bS as bS2, c0 as c02, c2 as c22, c7 as c72, aS, aM, ca, cb, cc, aP, cd, ce, aR } from "./index-CBbhzffQ.js";
|
|
2
2
|
export {
|
|
3
3
|
aU as BalloonShell,
|
|
4
4
|
bJ as Button,
|