UNPKG

@progress/kendo-react-editor

Version:

React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package

9 lines (8 loc) 12.7 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="editor.bold",t="editor.italic",o="editor.underline",r="editor.strikethrough",i="editor.subscript",l="editor.superscript",s="editor.hyperlink",n="editor.insertFile",d="editor.print",c="editor.selectAll",a="editor.cleanFormatting",p="editor.pdf",b="editor.foregroundColor",P="editor.backgroundColor",g="editor.createTable",C="editor.insertTableHint",m="editor.addRowBefore",h="editor.addRowAfter",f="editor.addColumnBefore",y="editor.addColumnAfter",R="editor.deleteRow",u="editor.deleteColumn",S="editor.deleteTable",A="editor.mergeCells",T="editor.splitCell",w="editor.hyperlink-dialog-title",B="editor.hyperlink-dialog-content-address",I="editor.hyperlink-dialog-content-title",H="editor.hyperlink-dialog-content-newwindow",k="editor.hyperlink-dialog-cancel",L="editor.hyperlink-dialog-insert",v="editor.insertfile-dialog-title",W="editor.insertfile-dialog-content-address",D="editor.insertfile-dialog-content-title",F="editor.insertfile-dialog-cancel",M="editor.insertfile-dialog-insert",x="editor.image",N="editor.image-dialog-title",U="editor.image-address",E="editor.image-title",G="editor.image-altText",O="editor.image-width",z="editor.image-height",q="editor.image-cancel",J="editor.image-insert",V="editor.viewHtml",j="editor.viewHtml-dialog-title",K="editor.viewHtml-cancel",Q="editor.viewHtml-update",X="editor.unlink",Y="editor.undo",Z="editor.redo",_="editor.fontSize",$="editor.fontName",ee="editor.format",te="editor.alignLeft",oe="editor.alignRight",re="editor.alignCenter",ie="editor.alignJustify",le="editor.indent",se="editor.outdent",ne="editor.orderedList",de="editor.bulletList",ce="editor.findReplace-tool-title",ae="editor.findReplace-dialog-title",pe="editor.findReplace-tab-find",be="editor.findReplace-tab-replace",Pe="editor.findReplace-findWhat",ge="editor.findReplace-replaceWith",Ce="editor.findReplace-replace",me="editor.findReplace-replaceAll",he="editor.findReplace-matchCase",fe="editor.findReplace-matchWord",ye="editor.findReplace-matchCyclic",Re="editor.findReplace-useRegExp",ue="editor.findReplace-prevMatch",Se="editor.findReplace-nextMatch",Ae="editor.findReplace-matches",Te="editor.findReplace-invalidRegExp",we="editor.iframeTitle",Be="editorTools.foreColorLabel",Ie="editorTools.backColorLabel",He="editor.cellProperties",ke="editor.cellPropertiesLeftTop",Le="editor.cellPropertiesCenterTop",ve="editor.cellPropertiesRightTop",We="editor.cellPropertiesLeftMiddle",De="editor.cellPropertiesCenterMiddle",Fe="editor.cellPropertiesRightMiddle",Me="editor.cellPropertiesLeftBottom",xe="editor.cellPropertiesCenterBottom",Ne="editor.cellPropertiesRightBottom",Ue="editor.cellPropertiesNoAlignment",Ee="editor.cellPropertiesWrap",Ge="editor.cellPropertiesFitToCell",Oe="editor.cellPropertiesApplyToAllCells",ze="editor.cellPropertiesWidth",qe="editor.cellPropertiesApplyToColumn",Je="editor.cellPropertiesHeight",Ve="editor.cellPropertiesApplyToRow",je="editor.cellPropertiesAlignment",Ke="editor.cellPropertiesTextControl",Qe="editor.cellPropertiesCellPadding",Xe="editor.cellPropertiesBackground",Ye="editor.cellPropertiesBorderWidth",Ze="editor.cellPropertiesBorderColor",_e="editor.cellPropertiesBorderStyle",$e="editor.cellPropertiesId",et="editor.cellPropertiesCssClass",tt="editor.cellPropertiesSave",ot="editor.cellPropertiesCancel",rt="editor.tableProperties",it="editor.tablePropertiesAlignLeft",lt="editor.tablePropertiesAlignCenter",st="editor.tablePropertiesAlignRight",nt="editor.tablePropertiesNoAlignment",dt="editor.tablePropertiesLeft",ct="editor.tablePropertiesCenter",at="editor.tablePropertiesRight",pt="editor.tablePropertiesTop",bt="editor.tablePropertiesBottom",Pt="editor.tablePropertiesNone",gt="editor.tablePropertiesUsingScopeAttribute",Ct="editor.tablePropertiesUsingIdAttributes",mt="editor.tablePropertiesRows",ht="editor.tablePropertiesColumns",ft="editor.tablePropertiesWidth",yt="editor.tablePropertiesHeight",Rt="editor.tablePropertiesPosition",ut="editor.tablePropertiesAlignment",St="editor.tablePropertiesCellSpacing",At="editor.tablePropertiesCellPadding",Tt="editor.tablePropertiesTableBackground",wt="editor.tablePropertiesBorderWidth",Bt="editor.tablePropertiesBorderColor",It="editor.tablePropertiesBorderStyle",Ht="editor.tablePropertiesCollapseBorders",kt="editor.tablePropertiesID",Lt="editor.tablePropertiesCssClass",vt="editor.tablePropertiesAccessibility",Wt="editor.tablePropertiesCaption",Dt="editor.tablePropertiesCaptionPosition",Ft="editor.tablePropertiesCaptionAlignment",Mt="editor.tablePropertiesHeaderRows",xt="editor.tablePropertiesHeaderCols",Nt="editor.tablePropertiesAssociateHeaders",Ut="editor.tablePropertiesGeneral",Et="editor.tablePropertiesAdvanced",Gt="editor.tablePropertiesSave",Ot="editor.tablePropertiesCancel",zt="editor.borderStyleNone",qt="editor.borderStyleSolid",Jt="editor.borderStyleDotted",Vt="editor.borderStyleDashed",jt="editor.borderStyleDouble",Kt="editor.borderStyleGroove",Qt="editor.borderStyleRidge",Xt="editor.borderStyleInset",Yt="editor.borderStyleOutset",Zt="editor.borderStyleInitial",_t="editor.borderStyleInherit",$t="editor.borderStyleHidden",eo="editor.sizeAuto",to="editor.listStyleDisc",oo="editor.listStyleCircle",ro="editor.listStyleSquare",io="editor.listStyleDecimal",lo="editor.listStyleUpperRoman",so="editor.listStyleLowerRoman",no="editor.listStyleUpperLatin",co="editor.listStyleLowerLatin",ao={[e]:"Bold",[t]:"Italic",[o]:"Underline",[r]:"Strikethrough",[i]:"Subscript",[l]:"Superscript",[X]:"Remove hyperlink",[Y]:"Undo",[Z]:"Redo",[_]:"Font Size",[$]:"Font Name",[ee]:"Format",[te]:"Align text left",[oe]:"Align text right",[re]:"Center text",[ie]:"Justify",[le]:"Indent",[se]:"Outdent",[ne]:"Insert ordered list",[de]:"Insert unordered list",[d]:"Print",[c]:"Select All",[a]:"Clean formatting",[p]:"Export as PDF",[b]:"Color",[P]:"Background color",[g]:"Create a table",[C]:"Create a {0} x {1} table",[m]:"Add row above",[h]:"Add row below",[f]:"Add column on the left",[y]:"Add column on the right",[R]:"Delete row",[u]:"Delete column",[S]:"Delete table",[A]:"Merge cells",[T]:"Split cell",[s]:"Insert hyperlink",[w]:"Insert hyperlink",[B]:"Web address",[I]:"Title",[H]:"Open link in new window",[k]:"Cancel",[L]:"Insert",[n]:"Insert file",[v]:"Insert file",[W]:"Web address",[D]:"Title",[F]:"Cancel",[M]:"Insert",[x]:"Insert image",[N]:"Insert image",[U]:"Web address",[E]:"Title",[G]:"Alternate text",[O]:"Width (px)",[z]:"Height (px)",[q]:"Cancel",[J]:"Insert",[V]:"View HTML",[j]:"View HTML",[K]:"Cancel",[Q]:"Update",[ce]:"Find and Replace",[ae]:"Find and Replace",[pe]:"Find",[be]:"Replace",[Pe]:"Find What:",[ge]:"Replace With",[Ce]:"Replace",[me]:"Replace All",[he]:"Match Case",[fe]:"Match whole word only",[ye]:"Match cyclic (Wrap around)",[Re]:"Regular Expression",[ue]:"Prev",[Se]:"Next",[Ae]:"{0} of {1} matches",[Te]:"Invalid regular expression.",[we]:"Editable area. Press Alt + F10 for toolbar.",[Be]:"Fore Color",[Ie]:"Back Color",[He]:"Cell properties",[ke]:"Left Top",[Le]:"Center Top",[ve]:"Right Top",[We]:"Left Middle",[De]:"Center Middle",[Fe]:"Right Middle",[Me]:"Left Bottom",[xe]:"Center Bottom",[Ne]:"Right Bottom",[Ue]:"No Alignment",[Ee]:"Wrap",[Ge]:"Fit to cell",[Oe]:"Apply to all cells",[ze]:"Width",[qe]:"apply to column",[Je]:"Height",[Ve]:"apply to row",[je]:"Alignment",[Ke]:"Text control",[Qe]:"Cell padding",[Xe]:"Background",[Ye]:"Border width",[Ze]:"Border color",[_e]:"Border style",[$e]:"ID",[et]:"CSS class",[tt]:"Save",[ot]:"Cancel",[rt]:"Table properties",[it]:"Align Left",[lt]:"Align Center",[st]:"Align Right",[nt]:"No Alignment",[dt]:"Left",[ct]:"Center",[at]:"Right",[pt]:"Top",[bt]:"Bottom",[Pt]:"None",[gt]:"Using 'scope' attribute",[Ct]:"Using 'id' attributes",[mt]:"Rows",[ht]:"Columns",[ft]:"Width",[yt]:"Height",[Rt]:"Position",[ut]:"Alignment",[St]:"Cell spacing",[At]:"Cell padding",[Tt]:"Table background",[wt]:"Border width",[Bt]:"Border color",[It]:"Border style",[Ht]:"Collapse borders",[kt]:"ID",[Lt]:"CSS class",[vt]:"Accessibility",[Wt]:"Caption",[Dt]:"Position",[Ft]:"Alignment",[Mt]:"Header rows",[xt]:"Header cols",[Nt]:"Associate headers",[Ut]:"General",[Et]:"Advanced",[Gt]:"Save",[Ot]:"Cancel",[zt]:"None",[qt]:"Solid",[Jt]:"Dotted",[Vt]:"Dashed",[jt]:"Double",[Kt]:"Groove",[Qt]:"Ridge",[Xt]:"Inset",[Yt]:"Outset",[Zt]:"Initial",[_t]:"Inherit",[$t]:"Hidden",[eo]:"Auto",[to]:"Disc",[oo]:"Circle",[ro]:"Square",[io]:"Decimal",[lo]:"Upper roman",[so]:"Lower roman",[no]:"Upper latin",[co]:"Lower latin"},po={bold:e,italic:t,underline:o,strikethrough:r,subscript:i,superscript:l,unlink:X,undo:Y,redo:Z,fontSize:_,fontName:$,format:ee,alignLeft:te,alignRight:oe,alignCenter:re,alignJustify:ie,indent:le,outdent:se,orderedList:ne,bulletList:de,print:d,selectAll:c,cleanFormatting:a,pdf:p,foregroundColor:b,backgroundColor:P,createTable:g,createTableHint:C,addRowBefore:m,addRowAfter:h,addColumnBefore:f,addColumnAfter:y,deleteRow:R,deleteColumn:u,deleteTable:S,mergeCells:A,splitCell:T,insertHyperlink:s,insertHyperlinkDialogTitle:w,insertHyperlinkAddress:B,insertHyperlinkTitle:I,insertHyperlinkNewWindow:H,insertHyperlinkCancel:k,insertHyperlinkInsert:L,insertFile:n,insertFileDialogTitle:v,insertFileAddress:W,insertFileTitle:D,insertFileCancel:F,insertFileInsert:M,insertImage:x,insertImageDialogTitle:N,insertImageAddress:U,insertImageTitle:E,insertImageAltText:G,insertImageWidth:O,insertImageHeight:z,insertImageCancel:q,insertImageInsert:J,viewHtml:V,viewHtmlDialogTitle:j,viewHtmlCancel:K,viewHtmlUpdate:Q,findReplaceToolTitle:ce,findReplaceDialogTitle:ae,findReplaceTabFind:pe,findReplaceTabReplace:be,findReplaceFindWhat:Pe,findReplaceReplaceWith:ge,findReplaceReplace:Ce,findReplaceReplaceAll:me,findReplaceMatchCase:he,findReplaceMatchWord:fe,findReplaceMatchCyclic:ye,findReplaceUseRegExp:Re,findReplacePrevMatch:ue,findReplaceNextMatch:Se,findReplaceMatches:Ae,findReplaceInvalidRegExp:Te,iframeTitle:we,foreColorLabel:Be,backColorLabel:Ie,cellProperties:He,cellPropertiesLeftTop:ke,cellPropertiesCenterTop:Le,cellPropertiesRightTop:ve,cellPropertiesLeftMiddle:We,cellPropertiesCenterMiddle:De,cellPropertiesRightMiddle:Fe,cellPropertiesLeftBottom:Me,cellPropertiesCenterBottom:xe,cellPropertiesRightBottom:Ne,cellPropertiesNoAlignment:Ue,cellPropertiesWrap:Ee,cellPropertiesFitToCell:Ge,cellPropertiesApplyToAllCells:Oe,cellPropertiesWidth:ze,cellPropertiesApplyToColumn:qe,cellPropertiesHeight:Je,cellPropertiesApplyToRow:Ve,cellPropertiesAlignment:je,cellPropertiesTextControl:Ke,cellPropertiesCellPadding:Qe,cellPropertiesBackground:Xe,cellPropertiesBorderWidth:Ye,cellPropertiesBorderColor:Ze,cellPropertiesBorderStyle:_e,cellPropertiesId:$e,cellPropertiesCssClass:et,cellPropertiesSave:tt,cellPropertiesCancel:ot,tableProperties:rt,tablePropertiesAlignLeft:it,tablePropertiesAlignCenter:lt,tablePropertiesAlignRight:st,tablePropertiesNoAlignment:nt,tablePropertiesLeft:dt,tablePropertiesCenter:ct,tablePropertiesRight:at,tablePropertiesTop:pt,tablePropertiesBottom:bt,tablePropertiesNone:Pt,tablePropertiesUsingScopeAttribute:gt,tablePropertiesUsingIdAttributes:Ct,tablePropertiesRows:mt,tablePropertiesColumns:ht,tablePropertiesWidth:ft,tablePropertiesHeight:yt,tablePropertiesPosition:Rt,tablePropertiesAlignment:ut,tablePropertiesCellSpacing:St,tablePropertiesCellPadding:At,tablePropertiesTableBackground:Tt,tablePropertiesBorderWidth:wt,tablePropertiesBorderColor:Bt,tablePropertiesBorderStyle:It,tablePropertiesCollapseBorders:Ht,tablePropertiesId:kt,tablePropertiesCssClass:Lt,tablePropertiesAccessibility:vt,tablePropertiesCaption:Wt,tablePropertiesCaptionPosition:Dt,tablePropertiesCaptionAlignment:Ft,tablePropertiesHeaderRows:Mt,tablePropertiesHeaderCols:xt,tablePropertiesAssociateHeaders:Nt,tablePropertiesGeneral:Ut,tablePropertiesAdvanced:Et,tablePropertiesSave:Gt,tablePropertiesCancel:Ot,borderStyleNone:zt,borderStyleSolid:qt,borderStyleDotted:Jt,borderStyleDashed:Vt,borderStyleDouble:jt,borderStyleGroove:Kt,borderStyleRidge:Qt,borderStyleInset:Xt,borderStyleOutset:Yt,borderStyleInitial:Zt,borderStyleInherit:_t,borderStyleHidden:$t,sizeAuto:eo,listStyleDisc:to,listStyleCircle:oo,listStyleSquare:ro,listStyleDecimal:io,listStyleUpperRoman:lo,listStyleLowerRoman:so,listStyleUpperLatin:no,listStyleLowerLatin:co};exports.keys=po;exports.messages=ao;