oasis-editor 0.0.393 → 0.0.394

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.
@@ -1 +1 @@
1
- import{$i as e,Ai as t,At as a,Bi as o,Br as r,Bt as i,Ct as s,Dt as n,Et as l,Fi as g,Fr as d,Ft as c,Gr as p,Hi as m,Hr as u,Ht as b,Ii as f,Ir as h,It as S,Ji as C,Lr as x,Mi as P,Mr as T,Mt as F,Ni as B,Nt as k,Ot as v,Pi as w,Pr as y,Pt as A,Ri as _,Rr as D,Rt as R,St as L,Tt as I,Ur as H,Ut as M,Vr as O,Vt as N,Wi as E,Wr as W,Xi as j,_t as z,bt as U,ci as q,cn as K,dt as V,ei as $,fa as G,ft as J,ga as X,gi as Y,ha as Q,ia as Z,ji as ee,jr as te,jt as ae,ki as oe,kt as re,li as ie,lt as se,ma as ne,mi as le,oa as ge,pi as de,pt as ce,si as pe,t as me,ta as ue,ti as be,ua as fe,ut as he,vt as Se,wt as Ce,xt as xe,yt as Pe,zi as Te,zr as Fe,zt as Be}from"./defaultToolbar-WpWm9GL2.js";function ke(e={}){const t=E(()=>e.ui?.locale??"pt-BR"),[a,r]=fe(0),[i,s]=fe(null),n=()=>{const t=e.ui?.loading;return"object"==typeof t&&null!==t?t:void 0};return Q(()=>{const e=performance.now();let t=!1;const a=()=>{if(t)return;const o=performance.now()-e;r(.9*(1-Math.exp(-o/5e3))),requestAnimationFrame(a)};requestAnimationFrame(a),ne(()=>{t=!0}),import("./OasisEditorApp-BeBF_E0U.js").then(e=>{t=!0,r(1),setTimeout(()=>s(()=>e.OasisEditorApp),180)}).catch(()=>{t=!0})}),ge(m,{translator:t,get children(){return ge(Z,{get when(){return i()},get fallback(){return ge(o,{variant:"fill",get progress(){return a()},get label(){return n()?.label},get class(){return n()?.class},get style(){return n()?.style}})},children:t=>{const a=t();return ge(a,e)}})}})}function ve(e,t={}){const a=de(),o=j(()=>ke({...t,runtime:{...t.runtime,client:a}}),e);return a.setDispose(()=>{o(),e.innerHTML=""}),a}function we(e){return ge(ke,G(e,{get ui(){return{...e.ui,showChrome:!1}}}))}function ye(e,t={}){const a=de(),o=j(()=>we({...t,runtime:{...t.runtime,client:a}}),e);return a.setDispose(()=>{o(),e.innerHTML=""}),a}function Ae(e){return{execute(t,a){const o=Te(t,a);return e.commands.execute(o.name,o.payload)},canExecute(t,a){const o=Te(t,a);return e.commands.canExecute(o.name,o.payload)},state(t){const a=Te(t);return e.commands.state(a.name,a.payload)}}}var _e=["selectAll","selectWord","selectSentence","selectParagraph","selectCollapse","selectText","selectRange","insertFootnote","insertText","insertEquation","updateEquation","insertTableOfContents","updateTableOfContents","pastePlainText","paste","pasteAsPlainText","pasteMergeFormatting","formatPainter","formatPainterContinuous","cancelFormatPainter","bold","italic","underline","doubleUnderline","wordUnderline","strike","doubleStrike","smallCaps","allCaps","hidden","noProof","webHidden","specVanish","contextualAlternates","characterBorder","shadow","emboss","engrave","outline","superscript","subscript","link","unlink","alignLeft","alignCenter","alignRight","alignJustify","orderedList","bulletList","find","replace","replaceAll","toggleTrackChanges","toggleRevisionMarkup","showMarkupOptions","applyShowMarkup","toggleOutlinePanel","toggleRevisionsPanel","openCommandSearch","repeatLastAction","acceptRevisions","rejectRevisions","setReviewDisplayMode","acceptAllRevisions","rejectAllRevisions","requestAcceptAllRevisions","requestRejectAllRevisions","nextRevision","previousRevision","nextComment","previousComment","newComment","replyComment","editComment","toggleCommentsPanel","resolveComment","reopenComment","deleteComment","toggleShowMargins","toggleShowParagraphMarks","togglePreciseFonts","undo","redo","pageBreak","lineBreak","columnBreak","splitBlock","insertNonBreakingSpace","insertNonBreakingHyphen","insertOptionalHyphen","insertEmDash","insertEllipsis","insertCopyright","insertRegistered","insertTrademark","setFontFamily","setFontSize","increaseFontSize","decreaseFontSize","growFont1","shrinkFont1","changeTextCase","clearFormatting","setColor","setHighlight","setTextShading","setStyleId","setCharacterStyleId","setUnderlineStyle","applyUnderlineStyle","setUnderlineColor","setCharacterScale","setCharacterSpacing","setRunSnapToGrid","setFitText","setBaselineShift","setEmphasisMark","setTextEffect","setKerning","setLigatures","setNumberSpacing","setNumberForm","setStylisticSet","documentStyles","print","copy","cut","newDocument","saveDocument","exportDocx","exportPdf","importDocument","insertHtml","insertImage","editImageAlt","insertImageCaption","imageContext","imageWidthCm","imageHeightCm","imageCrop","imageCropAspect","imageCropShape","imageCropFill","imageCropFit","imageCropReset","imageFlip","imageRotate","imageBorder","imageTransparency","resetImage","outdent","indent","moveParagraphsUp","moveParagraphsDown","togglePageBreakBefore","toggleKeepWithNext","toggleKeepLinesTogether","toggleWidowControl","toggleParagraphBidi","setParagraphBidi","setParagraphAlign","sortParagraphs","promote","demote","resetParagraphFormatting","setParagraphTabStops","setOutlineLevel","setSpacingAfter","setSpacingBefore","setContextualSpacing","setMirrorIndents","setLineRule","setTextDirection","setSuppressAutoHyphens","setSuppressLineNumbers","setKinsoku","setOverflowPunct","setWordWrap","setAutoSpaceDE","setAutoSpaceDN","setAdjustRightInd","setTopLinePunct","setPageBreakBefore","setKeepWithNext","setKeepLinesTogether","setWidowControl","setIndentLeft","setIndentRight","setIndentFirstLine","setIndentHanging","setSpecialIndent","setParagraphShading","applyParagraphBorders","applyHorizontalLine","setDropCap","setLineHeight","setListFormat","setListStartAt","setListLevel","toggleOrientation","setOrientation","sectionBreakNextPage","sectionBreakContinuous","sectionBreakEvenPage","sectionBreakOddPage","sectionBreakNextColumn","setPageMargins","setMarginsPreset","setSectionPageNumbering","setPaperSize","setPaperSizePreset","setColumns","setColumnsPreset","setSectionVerticalAlign","setSectionStart","setSectionBidi","setHyphenation","editHeader","editFooter","editFirstPageHeader","editEvenPageHeader","editFirstPageFooter","editEvenPageFooter","insertPageNumber","insertPageNumberXOfY","placePageNumberTop","placePageNumberBottom","insertBookmark","removeBookmark","insertDateField","updateBodyFields","updateSelectedFields","insertDateTime","insertCrossReference","setNoteOptions","exitHeaderFooter","setDifferentFirstPage","setDifferentOddEven","applyDocumentTheme","setDocumentColorScheme","setDocumentFontScheme","setDocumentParagraphSpacing","setDocumentEffects","setDocumentPageColor","setDocumentWatermark","setDocumentPageBorder","setDocumentDesignDefault","tableContext","tableMerge","tableSplit","tableInsertColumnBefore","tableInsertColumnAfter","tableDeleteColumn","tableDeleteCells","tableInsertRowBefore","tableInsertRowAfter","tableDeleteRow","tableCellShading","tableCellBorders","tableCellNoBorders","tableApplyBorderPreset","toggleTableDrawBorders","toggleTableGridlines","tableWidth100","tableAlignLeft","tableAlignCenter","tableAlignRight","tableSetCellAlignment","tableSetCellVerticalAlign","tableSetCellTextDirection","tableToText","textToTable","tableSplitAtRow","tableSortAscending","tableSortDescending","tableDelete","tableRepeatHeaderRows","tableSetCellMargins","tableSetCellSpacing","tableSetTableIndent","tableSetAlignment","tableFormula","tableSelectCell","tableSelectRow","tableSelectColumn","tableSelectTable","tableSetRowHeight","tableSetBreakAcrossPages","tableSetHeaderRow","tableSetColumnWidth","tableSetTableWidth","tableSetCellWidth","tableSetCellNoWrap","tableSetCellFitText","tableToggleHeaderRow","tableToggleTotalRow","tableToggleBandedRows","tableToggleFirstColumn","tableToggleLastColumn","tableToggleBandedColumns","setTableStyle","tableToggleAutoFit","tableAutoFit","tableDistributeColumns","tableDistributeRows","insertTable","insertShape","setShapeFill","setShapeOutline","setShapeOutlineWidth","alignFloatingObject","reorderFloatingObject","nudgeFloatingObject","setFloatingFixedPosition","setFloatingRotation","setFloatingWrapPreset","setFloatingWrapText","setFloatingPositionPreset","setShapePreset","setTextBoxTextDirection","setTextBoxVerticalAlign","editTextBoxAlt","rotateTextBox","textBoxWidthCm","textBoxHeightCm","openSymbolDialog","openEquationDialog","tableProperties","openFontDialog","openParagraphDialog"];function De(e,t={}){const a=de(),o=j(()=>ge(ke,G(t,{get runtime(){return{...t.runtime,client:a}}})),e);return a.setDispose(()=>{o(),e.innerHTML=""}),Object.assign(a,{unmount:()=>a.dispose()})}var Re=/*#__PURE__*/ue("<div>");function Le(t){const[a,o]=X(t,["align","wrap","class","classList","children"]);return r=Re(),e(r,G({get class(){return`oasis-editor-ui-action-row ${a.class??""}`},get classList(){return{[`oasis-editor-ui-action-row-${a.align??"start"}`]:!0,"oasis-editor-ui-action-row-nowrap":!1===a.wrap,...a.classList}}},o),!1,!0),C(r,()=>a.children),r;var r}var Ie=/*#__PURE__*/ue("<div>"),He={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"};function Me(t){const[a,o]=X(t,["align","class","style","children"]);return r=Ie(),e(r,G({get class(){return`oasis-editor-ui-field-row ${a.class??""}`},get style(){return{"align-items":He[a.align??"end"],..."object"==typeof a.style?a.style:{}}}},o),!1,!0),C(r,()=>a.children),r;var r}var Oe=/*#__PURE__*/ue("<div>");function Ne(t){const[a,o]=X(t,["align","class","classList","children"]);return r=Oe(),e(r,G({get class(){return`oasis-editor-ui-dialog-footer ${a.class??""}`},get classList(){return{[`oasis-editor-ui-dialog-footer-${a.align??"end"}`]:!0,...a.classList}}},o),!1,!0),C(r,()=>a.children),r;var r}var Ee={saveDocument:"editor-toolbar-save-document",newDocument:"editor-toolbar-new-document",importDocument:"editor-toolbar-import-document",exportDocx:"editor-toolbar-export-docx",exportPdf:"editor-toolbar-export-pdf",print:"editor-toolbar-print",undo:"editor-toolbar-undo",redo:"editor-toolbar-redo",style:"editor-toolbar-style",fontFamily:"editor-toolbar-font-family",fontSize:"editor-toolbar-font-size",color:"editor-toolbar-color",highlight:"editor-toolbar-highlight",textShading:"editor-toolbar-text-shading",bold:"editor-toolbar-bold",italic:"editor-toolbar-italic",underlineControl:"editor-toolbar-underline-control",strike:"editor-toolbar-strike",superscript:"editor-toolbar-superscript",subscript:"editor-toolbar-subscript",insertImage:"editor-toolbar-insert-image",insertTable:"editor-toolbar-insert-table",symbols:"editor-toolbar-symbols",link:"editor-toolbar-link",unlink:"editor-toolbar-unlink",footnote:"editor-toolbar-footnote",imageAlt:"editor-toolbar-image-alt",imageCaption:"editor-toolbar-image-caption",alignLeft:"editor-toolbar-align-left",alignCenter:"editor-toolbar-align-center",alignRight:"editor-toolbar-align-right",alignJustify:"editor-toolbar-align-justify",bulletList:"editor-toolbar-list-bullet",orderedList:"editor-toolbar-list-ordered",outdent:"editor-toolbar-list-outdent",indent:"editor-toolbar-list-indent",listOptions:"editor-toolbar-list-options",specialIndent:"editor-toolbar-special-indent",lineSpacing:"editor-toolbar-line-spacing-control",metrics:"editor-toolbar-metrics",margins:"editor-toolbar-margins",section:"editor-toolbar-section"},We={fileNew:"file_new",fileImport:"file_import",fileSave:"file_save",fileExport:"file_export",fileExportPdf:"file_export_pdf",fileExportDocx:"file_export_docx",filePrint:"file_print",editUndo:"edit_undo",editRedo:"edit_redo",editCopy:"edit_copy",editFind:"edit_find",editSelectAll:"edit_selectAll",viewMargins:"view_margins",viewParagraphMarks:"view_paragraph_marks",viewPreciseFonts:"view_precise_fonts",insertImage:"insert_image",insertImageCaption:"insert_image_caption",insertTable:"insert_table",insertLink:"insert_link",insertFootnote:"insert_footnote",insertPageBreak:"insert_pageBreak",formatText:"format_text",formatTextBold:"format_text_bold",formatTextItalic:"format_text_italic",formatTextUnderline:"format_text_underline",formatTextStrike:"format_text_strike",formatAlign:"format_align",formatAlignLeft:"format_align_left",formatAlignCenter:"format_align_center",formatAlignRight:"format_align_right",formatAlignJustify:"format_align_justify",formatLists:"format_lists",formatListsBullet:"format_lists_bullet",formatListsNumbered:"format_lists_numbered"};export{Le as ActionRow,A as BalloonShell,K as Button,s as Checkbox,Ce as ColorField,x as ColorPicker,x as ToolbarColorPicker,q as CommandRegistry,d as DEFAULT_PALETTE,k as Dialog,Ne as DialogFooter,S as DocumentShell,oe as EDITOR_SCHEMA_VERSION,pe as Editor,Se as FieldGroup,Me as FieldRow,M as FloatingActionButton,n as FormField,v as Grid,h as GridPicker,h as ToolbarGridPicker,ae as Heading,R as IconButton,c as InlineShell,O as Menu,O as ToolbarMenu,se as MenuRegistry,xe as NumberField,_e as OASIS_BUILTIN_COMMANDS,We as OASIS_MENU_ITEMS,Ee as OASIS_TOOLBAR_ITEMS,ke as OasisEditorAppLazy,we as OasisEditorContainer,o as OasisEditorLoading,ie as PluginCollection,u as Popover,p as RIBBON_TABS,Pe as Radio,U as RadioGroup,r as Select,r as ToolbarSelect,L as SelectField,Fe as Separator,Fe as ToolbarSeparator,Be as SidePanel,i as SidePanelBody,N as SidePanelFooter,b as SidePanelHeader,D as SplitButton,D as ToolbarSplitButton,re as Stack,a as StatusText,y as StyleGallery,be as SurfaceButton,F as Tabs,$ as Text,I as TextAreaField,l as TextField,z as ToggleChip,te as Toolbar,H as ToolbarButton,W as buildRibbonTabDefinitions,t as cloneDocument,_ as commandRefName,me as createDefaultToolbarPreset,ee as createDocument,Ae as createEditorCommandBus,P as createHeading,ve as createOasisEditor,ye as createOasisEditorContainer,B as createParagraph,w as createTable,he as createToolbarRegistry,le as exportEditorDocumentToHtml,Y as importHtmlToEditorDocument,De as mount,g as normalizeDocument,V as projectTrackedRevisions,T as registerToolbarRenderer,J as resolveAllTrackedRevisions,Te as resolveCommandRef,ce as resolveTrackedRevision,f as validateDocument};
1
+ import{Ai as e,At as t,Bi as a,Br as o,Bt as r,Ct as i,Dt as s,Et as n,Fi as l,Fr as g,Ft as d,Gi as c,Gr as p,Hr as m,Ht as u,Ii as b,Ir as f,It as h,Kr as S,Li as C,Lr as x,Mi as T,Mr as P,Mt as F,Ni as B,Nr as _,Nt as k,Ot as v,Pi as w,Pt as y,Rr as A,Rt as D,St as R,Tt as L,Ui as I,Ur as H,Ut as M,Vi as N,Vr as O,Vt as E,Wr as W,Yi as j,Zi as z,_a as U,_i as q,_t as K,aa as V,bt as G,ci as $,da as J,dt as Y,ea as X,ft as Z,ga as Q,ha as ee,hi as te,ji as ae,jt as oe,kt as re,li as ie,lt as se,mi as ne,na as le,ni as ge,pa as de,pt as ce,sa as pe,sn as me,t as ue,ti as be,ui as fe,ut as he,vt as Se,wt as Ce,xt as xe,yt as Te,zi as Pe,zr as Fe,zt as Be}from"./defaultToolbar-D4Um9dcp.js";function _e(e={}){const t=c(()=>e.ui?.locale??"pt-BR"),[a,o]=J(0),[r,i]=J(null),s=()=>{const t=e.ui?.loading;return"object"==typeof t&&null!==t?t:void 0};return Q(()=>{const e=performance.now();let t=!1;const a=()=>{if(t)return;const r=performance.now()-e;o(.9*(1-Math.exp(-r/5e3))),requestAnimationFrame(a)};requestAnimationFrame(a),ee(()=>{t=!0}),import("./OasisEditorApp-BJ1DYIA8.js").then(e=>{t=!0,o(1),setTimeout(()=>i(()=>e.OasisEditorApp),180)}).catch(()=>{t=!0})}),pe(I,{translator:t,get children(){return pe(V,{get when(){return r()},get fallback(){return pe(N,{variant:"fill",get progress(){return a()},get label(){return s()?.label},get class(){return s()?.class},get style(){return s()?.style}})},children:t=>{const a=t();return pe(a,e)}})}})}function ke(e,t={}){const a=ne(),o=z(()=>_e({...t,runtime:{...t.runtime,client:a}}),e);return a.setDispose(()=>{o(),e.innerHTML=""}),a}function ve(e){return pe(_e,de(e,{get ui(){return{...e.ui,showChrome:!1}}}))}function we(e,t={}){const a=ne(),o=z(()=>ve({...t,runtime:{...t.runtime,client:a}}),e);return a.setDispose(()=>{o(),e.innerHTML=""}),a}function ye(e){return{execute(t,o){const r=a(t,o);return e.commands.execute(r.name,r.payload)},canExecute(t,o){const r=a(t,o);return e.commands.canExecute(r.name,r.payload)},state(t){const o=a(t);return e.commands.state(o.name,o.payload)}}}var Ae=["selectAll","selectWord","selectSentence","selectParagraph","selectCollapse","selectText","selectRange","insertFootnote","insertText","insertEquation","updateEquation","insertTableOfContents","updateTableOfContents","pastePlainText","paste","pasteAsPlainText","pasteMergeFormatting","formatPainter","formatPainterContinuous","cancelFormatPainter","bold","italic","underline","doubleUnderline","wordUnderline","strike","doubleStrike","smallCaps","allCaps","hidden","noProof","webHidden","specVanish","contextualAlternates","characterBorder","shadow","emboss","engrave","outline","superscript","subscript","link","unlink","alignLeft","alignCenter","alignRight","alignJustify","orderedList","bulletList","find","replace","replaceAll","toggleTrackChanges","toggleRevisionMarkup","showMarkupOptions","applyShowMarkup","toggleOutlinePanel","toggleRevisionsPanel","openCommandSearch","repeatLastAction","acceptRevisions","rejectRevisions","setReviewDisplayMode","acceptAllRevisions","rejectAllRevisions","requestAcceptAllRevisions","requestRejectAllRevisions","nextRevision","previousRevision","nextComment","previousComment","newComment","replyComment","editComment","toggleCommentsPanel","resolveComment","reopenComment","deleteComment","toggleShowMargins","toggleShowParagraphMarks","togglePreciseFonts","undo","redo","pageBreak","lineBreak","columnBreak","splitBlock","insertNonBreakingSpace","insertNonBreakingHyphen","insertOptionalHyphen","insertEmDash","insertEllipsis","insertCopyright","insertRegistered","insertTrademark","setFontFamily","setFontSize","increaseFontSize","decreaseFontSize","growFont1","shrinkFont1","changeTextCase","clearFormatting","setColor","setHighlight","setTextShading","setStyleId","setCharacterStyleId","setUnderlineStyle","applyUnderlineStyle","setUnderlineColor","setCharacterScale","setCharacterSpacing","setRunSnapToGrid","setFitText","setBaselineShift","setEmphasisMark","setTextEffect","setKerning","setLigatures","setNumberSpacing","setNumberForm","setStylisticSet","documentStyles","print","copy","cut","newDocument","saveDocument","exportDocx","exportPdf","importDocument","insertHtml","insertImage","editImageAlt","insertImageCaption","imageContext","imageWidthCm","imageHeightCm","imageCrop","imageCropAspect","imageCropShape","imageCropFill","imageCropFit","imageCropReset","imageFlip","imageRotate","imageBorder","imageTransparency","resetImage","outdent","indent","moveParagraphsUp","moveParagraphsDown","togglePageBreakBefore","toggleKeepWithNext","toggleKeepLinesTogether","toggleWidowControl","toggleParagraphBidi","setParagraphBidi","setParagraphAlign","sortParagraphs","promote","demote","resetParagraphFormatting","setParagraphTabStops","setOutlineLevel","setSpacingAfter","setSpacingBefore","setContextualSpacing","setMirrorIndents","setLineRule","setTextDirection","setSuppressAutoHyphens","setSuppressLineNumbers","setKinsoku","setOverflowPunct","setWordWrap","setAutoSpaceDE","setAutoSpaceDN","setAdjustRightInd","setTopLinePunct","setPageBreakBefore","setKeepWithNext","setKeepLinesTogether","setWidowControl","setIndentLeft","setIndentRight","setIndentFirstLine","setIndentHanging","setSpecialIndent","setParagraphShading","applyParagraphBorders","applyHorizontalLine","setDropCap","setLineHeight","setListFormat","setListStartAt","setListLevel","toggleOrientation","setOrientation","sectionBreakNextPage","sectionBreakContinuous","sectionBreakEvenPage","sectionBreakOddPage","sectionBreakNextColumn","setPageMargins","setMarginsPreset","setSectionPageNumbering","setPaperSize","setPaperSizePreset","setColumns","setColumnsPreset","setSectionVerticalAlign","setSectionStart","setSectionBidi","setHyphenation","editHeader","editFooter","editFirstPageHeader","editEvenPageHeader","editFirstPageFooter","editEvenPageFooter","insertPageNumber","insertPageNumberXOfY","placePageNumberTop","placePageNumberBottom","insertBookmark","removeBookmark","insertDateField","updateBodyFields","updateSelectedFields","insertDateTime","insertCrossReference","setNoteOptions","exitHeaderFooter","setDifferentFirstPage","setDifferentOddEven","applyDocumentTheme","setDocumentColorScheme","setDocumentFontScheme","setDocumentParagraphSpacing","setDocumentEffects","setDocumentPageColor","setDocumentWatermark","setDocumentPageBorder","setDocumentDesignDefault","tableContext","tableMerge","tableSplit","tableInsertColumnBefore","tableInsertColumnAfter","tableDeleteColumn","tableDeleteCells","tableInsertRowBefore","tableInsertRowAfter","tableDeleteRow","tableCellShading","tableCellBorders","tableCellNoBorders","tableApplyBorderPreset","toggleTableDrawBorders","toggleTableGridlines","tableWidth100","tableAlignLeft","tableAlignCenter","tableAlignRight","tableSetCellAlignment","tableSetCellVerticalAlign","tableSetCellTextDirection","tableToText","textToTable","tableSplitAtRow","tableSortAscending","tableSortDescending","tableDelete","tableRepeatHeaderRows","tableSetCellMargins","tableSetCellSpacing","tableSetTableIndent","tableSetAlignment","tableFormula","tableSelectCell","tableSelectRow","tableSelectColumn","tableSelectTable","tableSetRowHeight","tableSetBreakAcrossPages","tableSetHeaderRow","tableSetColumnWidth","tableSetTableWidth","tableSetCellWidth","tableSetCellNoWrap","tableSetCellFitText","tableToggleHeaderRow","tableToggleTotalRow","tableToggleBandedRows","tableToggleFirstColumn","tableToggleLastColumn","tableToggleBandedColumns","setTableStyle","tableToggleAutoFit","tableAutoFit","tableDistributeColumns","tableDistributeRows","insertTable","insertShape","setShapeFill","setShapeOutline","setShapeOutlineWidth","alignFloatingObject","reorderFloatingObject","nudgeFloatingObject","setFloatingFixedPosition","setFloatingRotation","setFloatingWrapPreset","setFloatingWrapText","setFloatingPositionPreset","setShapePreset","setTextBoxTextDirection","setTextBoxVerticalAlign","editTextBoxAlt","rotateTextBox","textBoxWidthCm","textBoxHeightCm","openSymbolDialog","openEquationDialog","tableProperties","openFontDialog","openParagraphDialog"];function De(e,t={}){const a=ne(),o=z(()=>pe(_e,de(t,{get runtime(){return{...t.runtime,client:a}}})),e);return a.setDispose(()=>{o(),e.innerHTML=""}),Object.assign(a,{unmount:()=>a.dispose()})}var Re=/*#__PURE__*/le("<div>");function Le(e){const[t,a]=U(e,["align","wrap","class","classList","children"]);return o=Re(),X(o,de({get class(){return`oasis-editor-ui-action-row ${t.class??""}`},get classList(){return{[`oasis-editor-ui-action-row-${t.align??"start"}`]:!0,"oasis-editor-ui-action-row-nowrap":!1===t.wrap,...t.classList}}},a),!1,!0),j(o,()=>t.children),o;var o}var Ie=/*#__PURE__*/le("<div>"),He={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"};function Me(e){const[t,a]=U(e,["align","class","style","children"]);return o=Ie(),X(o,de({get class(){return`oasis-editor-ui-field-row ${t.class??""}`},get style(){return{"align-items":He[t.align??"end"],..."object"==typeof t.style?t.style:{}}}},a),!1,!0),j(o,()=>t.children),o;var o}var Ne=/*#__PURE__*/le("<div>");function Oe(e){const[t,a]=U(e,["align","class","classList","children"]);return o=Ne(),X(o,de({get class(){return`oasis-editor-ui-dialog-footer ${t.class??""}`},get classList(){return{[`oasis-editor-ui-dialog-footer-${t.align??"end"}`]:!0,...t.classList}}},a),!1,!0),j(o,()=>t.children),o;var o}var Ee={saveDocument:"editor-toolbar-save-document",newDocument:"editor-toolbar-new-document",importDocument:"editor-toolbar-import-document",exportDocx:"editor-toolbar-export-docx",exportPdf:"editor-toolbar-export-pdf",print:"editor-toolbar-print",undo:"editor-toolbar-undo",redo:"editor-toolbar-redo",style:"editor-toolbar-style",fontFamily:"editor-toolbar-font-family",fontSize:"editor-toolbar-font-size",color:"editor-toolbar-color",highlight:"editor-toolbar-highlight",textShading:"editor-toolbar-text-shading",bold:"editor-toolbar-bold",italic:"editor-toolbar-italic",underlineControl:"editor-toolbar-underline-control",strike:"editor-toolbar-strike",superscript:"editor-toolbar-superscript",subscript:"editor-toolbar-subscript",insertImage:"editor-toolbar-insert-image",insertTable:"editor-toolbar-insert-table",symbols:"editor-toolbar-symbols",link:"editor-toolbar-link",unlink:"editor-toolbar-unlink",footnote:"editor-toolbar-footnote",imageAlt:"editor-toolbar-image-alt",imageCaption:"editor-toolbar-image-caption",alignLeft:"editor-toolbar-align-left",alignCenter:"editor-toolbar-align-center",alignRight:"editor-toolbar-align-right",alignJustify:"editor-toolbar-align-justify",bulletList:"editor-toolbar-list-bullet",orderedList:"editor-toolbar-list-ordered",outdent:"editor-toolbar-list-outdent",indent:"editor-toolbar-list-indent",listOptions:"editor-toolbar-list-options",specialIndent:"editor-toolbar-special-indent",lineSpacing:"editor-toolbar-line-spacing-control",metrics:"editor-toolbar-metrics",margins:"editor-toolbar-margins",section:"editor-toolbar-section"},We={fileNew:"file_new",fileImport:"file_import",fileSave:"file_save",fileExport:"file_export",fileExportPdf:"file_export_pdf",fileExportDocx:"file_export_docx",filePrint:"file_print",editUndo:"edit_undo",editRedo:"edit_redo",editCopy:"edit_copy",editFind:"edit_find",editSelectAll:"edit_selectAll",viewMargins:"view_margins",viewParagraphMarks:"view_paragraph_marks",viewPreciseFonts:"view_precise_fonts",insertImage:"insert_image",insertImageCaption:"insert_image_caption",insertTable:"insert_table",insertLink:"insert_link",insertFootnote:"insert_footnote",insertPageBreak:"insert_pageBreak",formatText:"format_text",formatTextBold:"format_text_bold",formatTextItalic:"format_text_italic",formatTextUnderline:"format_text_underline",formatTextStrike:"format_text_strike",formatAlign:"format_align",formatAlignLeft:"format_align_left",formatAlignCenter:"format_align_center",formatAlignRight:"format_align_right",formatAlignJustify:"format_align_justify",formatLists:"format_lists",formatListsBullet:"format_lists_bullet",formatListsNumbered:"format_lists_numbered"};export{Le as ActionRow,y as BalloonShell,me as Button,i as Checkbox,Ce as ColorField,A as ColorPicker,A as ToolbarColorPicker,ie as CommandRegistry,f as DEFAULT_PALETTE,k as Dialog,Oe as DialogFooter,h as DocumentShell,e as EDITOR_SCHEMA_VERSION,$ as Editor,Se as FieldGroup,Me as FieldRow,M as FloatingActionButton,s as FormField,v as Grid,x as GridPicker,x as ToolbarGridPicker,oe as Heading,D as IconButton,d as InlineShell,m as Menu,m as ToolbarMenu,se as MenuRegistry,xe as NumberField,Ae as OASIS_BUILTIN_COMMANDS,We as OASIS_MENU_ITEMS,Ee as OASIS_TOOLBAR_ITEMS,_e as OasisEditorAppLazy,ve as OasisEditorContainer,N as OasisEditorLoading,fe as PluginCollection,H as Popover,S as RIBBON_TABS,Te as Radio,G as RadioGroup,O as Select,O as ToolbarSelect,R as SelectField,o as Separator,o as ToolbarSeparator,Be as SidePanel,r as SidePanelBody,E as SidePanelFooter,u as SidePanelHeader,Fe as SplitButton,Fe as ToolbarSplitButton,re as Stack,t as StatusText,g as StyleGallery,ge as SurfaceButton,F as Tabs,be as Text,L as TextAreaField,n as TextField,K as ToggleChip,P as Toolbar,W as ToolbarButton,p as buildRibbonTabDefinitions,ae as cloneDocument,Pe as commandRefName,ue as createDefaultToolbarPreset,T as createDocument,ye as createEditorCommandBus,B as createHeading,ke as createOasisEditor,we as createOasisEditorContainer,w as createParagraph,l as createTable,he as createToolbarRegistry,te as exportEditorDocumentToHtml,q as importHtmlToEditorDocument,De as mount,b as normalizeDocument,Y as projectTrackedRevisions,_ as registerToolbarRenderer,Z as resolveAllTrackedRevisions,a as resolveCommandRef,ce as resolveTrackedRevision,C as validateDocument};