@progress/kendo-react-editor 7.2.4-develop.2 → 7.2.4-develop.4
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/Editor.js +8 -0
- package/Editor.mjs +327 -0
- package/config/defaultStyles.js +229 -0
- package/config/defaultStyles.mjs +235 -0
- package/config/shortcuts.js +8 -0
- package/config/shortcuts.mjs +34 -0
- package/config/toolsSettings.js +8 -0
- package/config/toolsSettings.mjs +549 -0
- package/dialogs/FindReplace.js +8 -0
- package/dialogs/FindReplace.mjs +214 -0
- package/dialogs/index.js +8 -0
- package/dialogs/index.mjs +30 -0
- package/dialogs/insertImage.js +8 -0
- package/dialogs/insertImage.mjs +117 -0
- package/dialogs/insertLink.js +8 -0
- package/dialogs/insertLink.mjs +96 -0
- package/dialogs/viewHtml.js +8 -0
- package/dialogs/viewHtml.mjs +70 -0
- package/dist/cdn/js/kendo-react-editor.js +8 -226
- package/index.d.mts +2943 -5
- package/index.d.ts +2941 -178
- package/index.js +8 -226
- package/index.mjs +165 -4118
- package/messages/index.js +8 -0
- package/messages/index.mjs +345 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +11 -11
- package/tools/align.js +8 -0
- package/tools/align.mjs +38 -0
- package/tools/applyColor.js +8 -0
- package/tools/applyColor.mjs +34 -0
- package/tools/cleanFormatting.js +8 -0
- package/tools/cleanFormatting.mjs +41 -0
- package/tools/findReplace.js +8 -0
- package/tools/findReplace.mjs +53 -0
- package/tools/fontStyle.js +8 -0
- package/tools/fontStyle.mjs +61 -0
- package/tools/formatBlock.js +8 -0
- package/tools/formatBlock.mjs +60 -0
- package/tools/history.js +8 -0
- package/tools/history.mjs +17 -0
- package/tools/indent.js +8 -0
- package/tools/indent.mjs +43 -0
- package/tools/index.js +8 -0
- package/tools/index.mjs +278 -0
- package/tools/inlineFormat.js +8 -0
- package/tools/inlineFormat.mjs +43 -0
- package/tools/insertImage.js +8 -0
- package/tools/insertImage.mjs +58 -0
- package/tools/insertLink.js +8 -0
- package/tools/insertLink.mjs +61 -0
- package/tools/insertTable/popup.js +8 -0
- package/tools/insertTable/popup.mjs +94 -0
- package/tools/insertTable/popupGrid.js +8 -0
- package/tools/insertTable/popupGrid.mjs +58 -0
- package/tools/insertTable/tool.js +8 -0
- package/tools/insertTable/tool.mjs +73 -0
- package/tools/lists-styled.js +8 -0
- package/tools/lists-styled.mjs +61 -0
- package/tools/lists.js +8 -0
- package/tools/lists.mjs +47 -0
- package/tools/outdent.js +8 -0
- package/tools/outdent.mjs +43 -0
- package/tools/pdf.js +8 -0
- package/tools/pdf.mjs +36 -0
- package/tools/print.js +8 -0
- package/tools/print.mjs +38 -0
- package/tools/proseMirrorTool.js +8 -0
- package/tools/proseMirrorTool.mjs +37 -0
- package/tools/selectAll.js +8 -0
- package/tools/selectAll.mjs +36 -0
- package/tools/table-wizard/cellPropsUtils.js +8 -0
- package/tools/table-wizard/cellPropsUtils.mjs +124 -0
- package/tools/table-wizard/tableCellProperties.js +8 -0
- package/tools/table-wizard/tableCellProperties.mjs +238 -0
- package/tools/table-wizard/tableProperties.js +8 -0
- package/tools/table-wizard/tableProperties.mjs +292 -0
- package/tools/table-wizard/tablePropsUtils.js +8 -0
- package/tools/table-wizard/tablePropsUtils.mjs +288 -0
- package/tools/table-wizard/utils.js +8 -0
- package/tools/table-wizard/utils.mjs +91 -0
- package/tools/tableEdit.js +8 -0
- package/tools/tableEdit.mjs +36 -0
- package/tools/unlink.js +8 -0
- package/tools/unlink.mjs +41 -0
- package/tools/utils.js +8 -0
- package/tools/utils.mjs +51 -0
- package/tools/viewHtml.js +8 -0
- package/tools/viewHtml.mjs +57 -0
- package/utils/browser-detection.js +8 -0
- package/utils/browser-detection.mjs +12 -0
- package/utils/controlled-value.js +8 -0
- package/utils/controlled-value.mjs +19 -0
- package/utils/index.js +8 -0
- package/utils/index.mjs +162 -0
- package/utils/props-key.js +8 -0
- package/utils/props-key.mjs +13 -0
- package/Editor.d.ts +0 -122
- package/EditorProps.d.ts +0 -200
- package/config/defaultStyles.d.ts +0 -16
- package/config/pasteSettings.d.ts +0 -10
- package/config/schema.d.ts +0 -5
- package/config/shortcuts.d.ts +0 -28
- package/config/toolsSettings.d.ts +0 -493
- package/dialogs/EditorDialogProps.d.ts +0 -30
- package/dialogs/FindReplace.d.ts +0 -75
- package/dialogs/index.d.ts +0 -53
- package/dialogs/insertImage.d.ts +0 -32
- package/dialogs/insertLink.d.ts +0 -30
- package/dialogs/viewHtml.d.ts +0 -29
- package/messages/index.d.ts +0 -338
- package/package-metadata.d.ts +0 -9
- package/tools/ToolProps.d.ts +0 -41
- package/tools/align.d.ts +0 -11
- package/tools/applyColor.d.ts +0 -16
- package/tools/cleanFormatting.d.ts +0 -20
- package/tools/findReplace.d.ts +0 -33
- package/tools/fontStyle.d.ts +0 -32
- package/tools/formatBlock.d.ts +0 -22
- package/tools/history.d.ts +0 -30
- package/tools/indent.d.ts +0 -21
- package/tools/index.d.ts +0 -718
- package/tools/inlineFormat.d.ts +0 -51
- package/tools/insertImage.d.ts +0 -17
- package/tools/insertLink.d.ts +0 -28
- package/tools/insertTable/index.d.ts +0 -7
- package/tools/insertTable/popup.d.ts +0 -97
- package/tools/insertTable/popupGrid.d.ts +0 -35
- package/tools/insertTable/tool.d.ts +0 -28
- package/tools/lists-styled.d.ts +0 -8
- package/tools/lists.d.ts +0 -31
- package/tools/outdent.d.ts +0 -21
- package/tools/pdf.d.ts +0 -29
- package/tools/print.d.ts +0 -20
- package/tools/proseMirrorTool.d.ts +0 -16
- package/tools/selectAll.d.ts +0 -20
- package/tools/table-wizard/cellPropsUtils.d.ts +0 -40
- package/tools/table-wizard/tableCellProperties.d.ts +0 -24
- package/tools/table-wizard/tableProperties.d.ts +0 -15
- package/tools/table-wizard/tablePropsUtils.d.ts +0 -56
- package/tools/table-wizard/utils.d.ts +0 -43
- package/tools/tableEdit.d.ts +0 -102
- package/tools/unlink.d.ts +0 -21
- package/tools/utils.d.ts +0 -54
- package/tools/viewHtml.d.ts +0 -28
- package/utils/browser-detection.d.ts +0 -8
- package/utils/controlled-value.d.ts +0 -9
- package/utils/index.d.ts +0 -367
- package/utils/props-key.d.ts +0 -9
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"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",h="editor.addRowBefore",m="editor.addRowAfter",f="editor.addColumnBefore",R="editor.addColumnAfter",u="editor.deleteRow",A="editor.deleteColumn",y="editor.deleteTable",T="editor.mergeCells",S="editor.splitCell",B="editor.hyperlink-dialog-title",w="editor.hyperlink-dialog-content-address",I="editor.hyperlink-dialog-content-title",H="editor.hyperlink-dialog-content-newwindow",k="editor.hyperlink-dialog-cancel",W="editor.hyperlink-dialog-insert",L="editor.insertfile-dialog-title",v="editor.insertfile-dialog-content-address",F="editor.insertfile-dialog-content-title",M="editor.insertfile-dialog-cancel",D="editor.insertfile-dialog-insert",x="editor.image",N="editor.image-dialog-title",U="editor.image-address",G="editor.image-title",O="editor.image-altText",z="editor.image-width",E="editor.image-height",J="editor.image-cancel",V="editor.image-insert",j="editor.viewHtml",q="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",he="editor.findReplace-replaceAll",me="editor.findReplace-matchCase",fe="editor.findReplace-matchWord",Re="editor.findReplace-matchCyclic",ue="editor.findReplace-useRegExp",Ae="editor.findReplace-prevMatch",ye="editor.findReplace-nextMatch",Te="editor.findReplace-matches",Se="editor.iframeTitle",Be="editorTools.foreColorLabel",we="editorTools.backColorLabel",Ie="editor.cellProperties",He="editor.cellPropertiesLeftTop",ke="editor.cellPropertiesCenterTop",We="editor.cellPropertiesRightTop",Le="editor.cellPropertiesLeftMiddle",ve="editor.cellPropertiesCenterMiddle",Fe="editor.cellPropertiesRightMiddle",Me="editor.cellPropertiesLeftBottom",De="editor.cellPropertiesCenterBottom",xe="editor.cellPropertiesRightBottom",Ne="editor.cellPropertiesNoAlignment",Ue="editor.cellPropertiesWrap",Ge="editor.cellPropertiesFitToCell",Oe="editor.cellPropertiesApplyToAllCells",ze="editor.cellPropertiesWidth",Ee="editor.cellPropertiesApplyToColumn",Je="editor.cellPropertiesHeight",Ve="editor.cellPropertiesApplyToRow",je="editor.cellPropertiesAlignment",qe="editor.cellPropertiesTextControl",Ke="editor.cellPropertiesCellPadding",Qe="editor.cellPropertiesBackground",Xe="editor.cellPropertiesBorderWidth",Ye="editor.cellPropertiesBorderColor",Ze="editor.cellPropertiesBorderStyle",_e="editor.cellPropertiesId",$e="editor.cellPropertiesCssClass",et="editor.cellPropertiesSave",tt="editor.cellPropertiesCancel",ot="editor.tableProperties",rt="editor.tablePropertiesAlignLeft",it="editor.tablePropertiesAlignCenter",lt="editor.tablePropertiesAlignRight",st="editor.tablePropertiesNoAlignment",nt="editor.tablePropertiesLeft",dt="editor.tablePropertiesCenter",ct="editor.tablePropertiesRight",at="editor.tablePropertiesTop",pt="editor.tablePropertiesBottom",bt="editor.tablePropertiesNone",Pt="editor.tablePropertiesUsingScopeAttribute",gt="editor.tablePropertiesUsingIdAttributes",Ct="editor.tablePropertiesRows",ht="editor.tablePropertiesColumns",mt="editor.tablePropertiesWidth",ft="editor.tablePropertiesHeight",Rt="editor.tablePropertiesPosition",ut="editor.tablePropertiesAlignment",At="editor.tablePropertiesCellSpacing",yt="editor.tablePropertiesCellPadding",Tt="editor.tablePropertiesTableBackground",St="editor.tablePropertiesBorderWidth",Bt="editor.tablePropertiesBorderColor",wt="editor.tablePropertiesBorderStyle",It="editor.tablePropertiesCollapseBorders",Ht="editor.tablePropertiesID",kt="editor.tablePropertiesCssClass",Wt="editor.tablePropertiesAccessibility",Lt="editor.tablePropertiesCaption",vt="editor.tablePropertiesCaptionPosition",Ft="editor.tablePropertiesCaptionAlignment",Mt="editor.tablePropertiesHeaderRows",Dt="editor.tablePropertiesHeaderCols",xt="editor.tablePropertiesAssociateHeaders",Nt="editor.tablePropertiesGeneral",Ut="editor.tablePropertiesAdvanced",Gt="editor.tablePropertiesSave",Ot="editor.tablePropertiesCancel",zt="editor.borderStyleNone",Et="editor.borderStyleSolid",Jt="editor.borderStyleDotted",Vt="editor.borderStyleDashed",jt="editor.borderStyleDouble",qt="editor.borderStyleGroove",Kt="editor.borderStyleRidge",Qt="editor.borderStyleInset",Xt="editor.borderStyleOutset",Yt="editor.borderStyleInitial",Zt="editor.borderStyleInherit",_t="editor.borderStyleHidden",$t="editor.sizeAuto",eo={[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",[h]:"Add row above",[m]:"Add row below",[f]:"Add column on the left",[R]:"Add column on the right",[u]:"Delete row",[A]:"Delete column",[y]:"Delete table",[T]:"Merge cells",[S]:"Split cell",[s]:"Insert hyperlink",[B]:"Insert hyperlink",[w]:"Web address",[I]:"Title",[H]:"Open link in new window",[k]:"Cancel",[W]:"Insert",[n]:"Insert file",[L]:"Insert file",[v]:"Web address",[F]:"Title",[M]:"Cancel",[D]:"Insert",[x]:"Insert image",[N]:"Insert image",[U]:"Web address",[G]:"Title",[O]:"Alternate text",[z]:"Width (px)",[E]:"Height (px)",[J]:"Cancel",[V]:"Insert",[j]:"View HTML",[q]:"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",[he]:"Replace All",[me]:"Match Case",[fe]:"Match whole word only",[Re]:"Match cyclic (Wrap around)",[ue]:"Regular Expression",[Ae]:"Prev",[ye]:"Next",[Te]:"{0} of {1} matches",[Se]:"Editable area. Press Alt + F10 for toolbar.",[Be]:"Fore Color",[we]:"Back Color",[Ie]:"Cell properties",[He]:"Left Top",[ke]:"Center Top",[We]:"Right Top",[Le]:"Left Middle",[ve]:"Center Middle",[Fe]:"Right Middle",[Me]:"Left Bottom",[De]:"Center Bottom",[xe]:"Right Bottom",[Ne]:"No Alignment",[Ue]:"Wrap",[Ge]:"Fit to cell",[Oe]:"Apply to all cells",[ze]:"Width",[Ee]:"apply to column",[Je]:"Height",[Ve]:"apply to row",[je]:"Alignment",[qe]:"Text control",[Ke]:"Cell padding",[Qe]:"Background",[Xe]:"Border width",[Ye]:"Border color",[Ze]:"Border style",[_e]:"ID",[$e]:"CSS class",[et]:"Save",[tt]:"Cancel",[ot]:"Table properties",[rt]:"Align Left",[it]:"Align Center",[lt]:"Align Right",[st]:"No Alignment",[nt]:"Left",[dt]:"Center",[ct]:"Right",[at]:"Top",[pt]:"Bottom",[bt]:"None",[Pt]:"Using 'scope' attribute",[gt]:"Using 'id' attributes",[Ct]:"Rows",[ht]:"Columns",[mt]:"Width",[ft]:"Height",[Rt]:"Position",[ut]:"Alignment",[At]:"Cell spacing",[yt]:"Cell padding",[Tt]:"Table background",[St]:"Border width",[Bt]:"Border color",[wt]:"Border style",[It]:"Collapse borders",[Ht]:"ID",[kt]:"CSS class",[Wt]:"Accessibility",[Lt]:"Caption",[vt]:"Position",[Ft]:"Alignment",[Mt]:"Header rows",[Dt]:"Header cols",[xt]:"Associate headers",[Nt]:"General",[Ut]:"Advanced",[Gt]:"Save",[Ot]:"Cancel",[zt]:"None",[Et]:"Solid",[Jt]:"Dotted",[Vt]:"Dashed",[jt]:"Double",[qt]:"Groove",[Kt]:"Ridge",[Qt]:"Inset",[Xt]:"Outset",[Yt]:"Initial",[Zt]:"Inherit",[_t]:"Hidden",[$t]:"Auto"},to={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:h,addRowAfter:m,addColumnBefore:f,addColumnAfter:R,deleteRow:u,deleteColumn:A,deleteTable:y,mergeCells:T,splitCell:S,insertHyperlink:s,insertHyperlinkDialogTitle:B,insertHyperlinkAddress:w,insertHyperlinkTitle:I,insertHyperlinkNewWindow:H,insertHyperlinkCancel:k,insertHyperlinkInsert:W,insertFile:n,insertFileDialogTitle:L,insertFileAddress:v,insertFileTitle:F,insertFileCancel:M,insertFileInsert:D,insertImage:x,insertImageDialogTitle:N,insertImageAddress:U,insertImageTitle:G,insertImageAltText:O,insertImageWidth:z,insertImageHeight:E,insertImageCancel:J,insertImageInsert:V,viewHtml:j,viewHtmlDialogTitle:q,viewHtmlCancel:K,viewHtmlUpdate:Q,findReplaceToolTitle:ce,findReplaceDialogTitle:ae,findReplaceTabFind:pe,findReplaceTabReplace:be,findReplaceFindWhat:Pe,findReplaceReplaceWith:ge,findReplaceReplace:Ce,findReplaceReplaceAll:he,findReplaceMatchCase:me,findReplaceMatchWord:fe,findReplaceMatchCyclic:Re,findReplaceUseRegExp:ue,findReplacePrevMatch:Ae,findReplaceNextMatch:ye,findReplaceMatches:Te,iframeTitle:Se,foreColorLabel:Be,backColorLabel:we,cellProperties:Ie,cellPropertiesLeftTop:He,cellPropertiesCenterTop:ke,cellPropertiesRightTop:We,cellPropertiesLeftMiddle:Le,cellPropertiesCenterMiddle:ve,cellPropertiesRightMiddle:Fe,cellPropertiesLeftBottom:Me,cellPropertiesCenterBottom:De,cellPropertiesRightBottom:xe,cellPropertiesNoAlignment:Ne,cellPropertiesWrap:Ue,cellPropertiesFitToCell:Ge,cellPropertiesApplyToAllCells:Oe,cellPropertiesWidth:ze,cellPropertiesApplyToColumn:Ee,cellPropertiesHeight:Je,cellPropertiesApplyToRow:Ve,cellPropertiesAlignment:je,cellPropertiesTextControl:qe,cellPropertiesCellPadding:Ke,cellPropertiesBackground:Qe,cellPropertiesBorderWidth:Xe,cellPropertiesBorderColor:Ye,cellPropertiesBorderStyle:Ze,cellPropertiesId:_e,cellPropertiesCssClass:$e,cellPropertiesSave:et,cellPropertiesCancel:tt,tableProperties:ot,tablePropertiesAlignLeft:rt,tablePropertiesAlignCenter:it,tablePropertiesAlignRight:lt,tablePropertiesNoAlignment:st,tablePropertiesLeft:nt,tablePropertiesCenter:dt,tablePropertiesRight:ct,tablePropertiesTop:at,tablePropertiesBottom:pt,tablePropertiesNone:bt,tablePropertiesUsingScopeAttribute:Pt,tablePropertiesUsingIdAttributes:gt,tablePropertiesRows:Ct,tablePropertiesColumns:ht,tablePropertiesWidth:mt,tablePropertiesHeight:ft,tablePropertiesPosition:Rt,tablePropertiesAlignment:ut,tablePropertiesCellSpacing:At,tablePropertiesCellPadding:yt,tablePropertiesTableBackground:Tt,tablePropertiesBorderWidth:St,tablePropertiesBorderColor:Bt,tablePropertiesBorderStyle:wt,tablePropertiesCollapseBorders:It,tablePropertiesId:Ht,tablePropertiesCssClass:kt,tablePropertiesAccessibility:Wt,tablePropertiesCaption:Lt,tablePropertiesCaptionPosition:vt,tablePropertiesCaptionAlignment:Ft,tablePropertiesHeaderRows:Mt,tablePropertiesHeaderCols:Dt,tablePropertiesAssociateHeaders:xt,tablePropertiesGeneral:Nt,tablePropertiesAdvanced:Ut,tablePropertiesSave:Gt,tablePropertiesCancel:Ot,borderStyleNone:zt,borderStyleSolid:Et,borderStyleDotted:Jt,borderStyleDashed:Vt,borderStyleDouble:jt,borderStyleGroove:qt,borderStyleRidge:Kt,borderStyleInset:Qt,borderStyleOutset:Xt,borderStyleInitial:Yt,borderStyleInherit:Zt,borderStyleHidden:_t,sizeAuto:$t};exports.keys=to;exports.messages=eo;
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
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", h = "editor.addRowBefore", m = "editor.addRowAfter", f = "editor.addColumnBefore", R = "editor.addColumnAfter", A = "editor.deleteRow", u = "editor.deleteColumn", y = "editor.deleteTable", T = "editor.mergeCells", S = "editor.splitCell", B = "editor.hyperlink-dialog-title", w = "editor.hyperlink-dialog-content-address", I = "editor.hyperlink-dialog-content-title", H = "editor.hyperlink-dialog-content-newwindow", k = "editor.hyperlink-dialog-cancel", W = "editor.hyperlink-dialog-insert", L = "editor.insertfile-dialog-title", v = "editor.insertfile-dialog-content-address", F = "editor.insertfile-dialog-content-title", M = "editor.insertfile-dialog-cancel", D = "editor.insertfile-dialog-insert", x = "editor.image", N = "editor.image-dialog-title", U = "editor.image-address", G = "editor.image-title", z = "editor.image-altText", E = "editor.image-width", O = "editor.image-height", J = "editor.image-cancel", V = "editor.image-insert", j = "editor.viewHtml", q = "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", he = "editor.findReplace-replaceAll", me = "editor.findReplace-matchCase", fe = "editor.findReplace-matchWord", Re = "editor.findReplace-matchCyclic", Ae = "editor.findReplace-useRegExp", ue = "editor.findReplace-prevMatch", ye = "editor.findReplace-nextMatch", Te = "editor.findReplace-matches", Se = "editor.iframeTitle", Be = "editorTools.foreColorLabel", we = "editorTools.backColorLabel", Ie = "editor.cellProperties", He = "editor.cellPropertiesLeftTop", ke = "editor.cellPropertiesCenterTop", We = "editor.cellPropertiesRightTop", Le = "editor.cellPropertiesLeftMiddle", ve = "editor.cellPropertiesCenterMiddle", Fe = "editor.cellPropertiesRightMiddle", Me = "editor.cellPropertiesLeftBottom", De = "editor.cellPropertiesCenterBottom", xe = "editor.cellPropertiesRightBottom", Ne = "editor.cellPropertiesNoAlignment", Ue = "editor.cellPropertiesWrap", Ge = "editor.cellPropertiesFitToCell", ze = "editor.cellPropertiesApplyToAllCells", Ee = "editor.cellPropertiesWidth", Oe = "editor.cellPropertiesApplyToColumn", Je = "editor.cellPropertiesHeight", Ve = "editor.cellPropertiesApplyToRow", je = "editor.cellPropertiesAlignment", qe = "editor.cellPropertiesTextControl", Ke = "editor.cellPropertiesCellPadding", Qe = "editor.cellPropertiesBackground", Xe = "editor.cellPropertiesBorderWidth", Ye = "editor.cellPropertiesBorderColor", Ze = "editor.cellPropertiesBorderStyle", _e = "editor.cellPropertiesId", $e = "editor.cellPropertiesCssClass", et = "editor.cellPropertiesSave", tt = "editor.cellPropertiesCancel", ot = "editor.tableProperties", rt = "editor.tablePropertiesAlignLeft", it = "editor.tablePropertiesAlignCenter", lt = "editor.tablePropertiesAlignRight", st = "editor.tablePropertiesNoAlignment", nt = "editor.tablePropertiesLeft", dt = "editor.tablePropertiesCenter", ct = "editor.tablePropertiesRight", at = "editor.tablePropertiesTop", pt = "editor.tablePropertiesBottom", bt = "editor.tablePropertiesNone", Pt = "editor.tablePropertiesUsingScopeAttribute", gt = "editor.tablePropertiesUsingIdAttributes", Ct = "editor.tablePropertiesRows", ht = "editor.tablePropertiesColumns", mt = "editor.tablePropertiesWidth", ft = "editor.tablePropertiesHeight", Rt = "editor.tablePropertiesPosition", At = "editor.tablePropertiesAlignment", ut = "editor.tablePropertiesCellSpacing", yt = "editor.tablePropertiesCellPadding", Tt = "editor.tablePropertiesTableBackground", St = "editor.tablePropertiesBorderWidth", Bt = "editor.tablePropertiesBorderColor", wt = "editor.tablePropertiesBorderStyle", It = "editor.tablePropertiesCollapseBorders", Ht = "editor.tablePropertiesID", kt = "editor.tablePropertiesCssClass", Wt = "editor.tablePropertiesAccessibility", Lt = "editor.tablePropertiesCaption", vt = "editor.tablePropertiesCaptionPosition", Ft = "editor.tablePropertiesCaptionAlignment", Mt = "editor.tablePropertiesHeaderRows", Dt = "editor.tablePropertiesHeaderCols", xt = "editor.tablePropertiesAssociateHeaders", Nt = "editor.tablePropertiesGeneral", Ut = "editor.tablePropertiesAdvanced", Gt = "editor.tablePropertiesSave", zt = "editor.tablePropertiesCancel", Et = "editor.borderStyleNone", Ot = "editor.borderStyleSolid", Jt = "editor.borderStyleDotted", Vt = "editor.borderStyleDashed", jt = "editor.borderStyleDouble", qt = "editor.borderStyleGroove", Kt = "editor.borderStyleRidge", Qt = "editor.borderStyleInset", Xt = "editor.borderStyleOutset", Yt = "editor.borderStyleInitial", Zt = "editor.borderStyleInherit", _t = "editor.borderStyleHidden", $t = "editor.sizeAuto", eo = {
|
|
10
|
+
[e]: "Bold",
|
|
11
|
+
[t]: "Italic",
|
|
12
|
+
[o]: "Underline",
|
|
13
|
+
[r]: "Strikethrough",
|
|
14
|
+
[i]: "Subscript",
|
|
15
|
+
[l]: "Superscript",
|
|
16
|
+
[X]: "Remove hyperlink",
|
|
17
|
+
[Y]: "Undo",
|
|
18
|
+
[Z]: "Redo",
|
|
19
|
+
[_]: "Font Size",
|
|
20
|
+
[$]: "Font Name",
|
|
21
|
+
[ee]: "Format",
|
|
22
|
+
[te]: "Align text left",
|
|
23
|
+
[oe]: "Align text right",
|
|
24
|
+
[re]: "Center text",
|
|
25
|
+
[ie]: "Justify",
|
|
26
|
+
[le]: "Indent",
|
|
27
|
+
[se]: "Outdent",
|
|
28
|
+
[ne]: "Insert ordered list",
|
|
29
|
+
[de]: "Insert unordered list",
|
|
30
|
+
[d]: "Print",
|
|
31
|
+
[c]: "Select All",
|
|
32
|
+
[a]: "Clean formatting",
|
|
33
|
+
[p]: "Export as PDF",
|
|
34
|
+
[b]: "Color",
|
|
35
|
+
[P]: "Background color",
|
|
36
|
+
// Tables
|
|
37
|
+
[g]: "Create a table",
|
|
38
|
+
[C]: "Create a {0} x {1} table",
|
|
39
|
+
[h]: "Add row above",
|
|
40
|
+
[m]: "Add row below",
|
|
41
|
+
[f]: "Add column on the left",
|
|
42
|
+
[R]: "Add column on the right",
|
|
43
|
+
[A]: "Delete row",
|
|
44
|
+
[u]: "Delete column",
|
|
45
|
+
[y]: "Delete table",
|
|
46
|
+
[T]: "Merge cells",
|
|
47
|
+
[S]: "Split cell",
|
|
48
|
+
// Insert Link
|
|
49
|
+
[s]: "Insert hyperlink",
|
|
50
|
+
[B]: "Insert hyperlink",
|
|
51
|
+
[w]: "Web address",
|
|
52
|
+
[I]: "Title",
|
|
53
|
+
[H]: "Open link in new window",
|
|
54
|
+
[k]: "Cancel",
|
|
55
|
+
[W]: "Insert",
|
|
56
|
+
// Insert File
|
|
57
|
+
[n]: "Insert file",
|
|
58
|
+
[L]: "Insert file",
|
|
59
|
+
[v]: "Web address",
|
|
60
|
+
[F]: "Title",
|
|
61
|
+
[M]: "Cancel",
|
|
62
|
+
[D]: "Insert",
|
|
63
|
+
// Insert Image
|
|
64
|
+
[x]: "Insert image",
|
|
65
|
+
[N]: "Insert image",
|
|
66
|
+
[U]: "Web address",
|
|
67
|
+
[G]: "Title",
|
|
68
|
+
[z]: "Alternate text",
|
|
69
|
+
[E]: "Width (px)",
|
|
70
|
+
[O]: "Height (px)",
|
|
71
|
+
[J]: "Cancel",
|
|
72
|
+
[V]: "Insert",
|
|
73
|
+
// View HTML
|
|
74
|
+
[j]: "View HTML",
|
|
75
|
+
[q]: "View HTML",
|
|
76
|
+
[K]: "Cancel",
|
|
77
|
+
[Q]: "Update",
|
|
78
|
+
// Find and Replace
|
|
79
|
+
[ce]: "Find and Replace",
|
|
80
|
+
[ae]: "Find and Replace",
|
|
81
|
+
[pe]: "Find",
|
|
82
|
+
[be]: "Replace",
|
|
83
|
+
[Pe]: "Find What:",
|
|
84
|
+
[ge]: "Replace With",
|
|
85
|
+
[Ce]: "Replace",
|
|
86
|
+
[he]: "Replace All",
|
|
87
|
+
[me]: "Match Case",
|
|
88
|
+
[fe]: "Match whole word only",
|
|
89
|
+
[Re]: "Match cyclic (Wrap around)",
|
|
90
|
+
[Ae]: "Regular Expression",
|
|
91
|
+
[ue]: "Prev",
|
|
92
|
+
[ye]: "Next",
|
|
93
|
+
[Te]: "{0} of {1} matches",
|
|
94
|
+
[Se]: "Editable area. Press Alt + F10 for toolbar.",
|
|
95
|
+
[Be]: "Fore Color",
|
|
96
|
+
[we]: "Back Color",
|
|
97
|
+
[Ie]: "Cell properties",
|
|
98
|
+
[He]: "Left Top",
|
|
99
|
+
[ke]: "Center Top",
|
|
100
|
+
[We]: "Right Top",
|
|
101
|
+
[Le]: "Left Middle",
|
|
102
|
+
[ve]: "Center Middle",
|
|
103
|
+
[Fe]: "Right Middle",
|
|
104
|
+
[Me]: "Left Bottom",
|
|
105
|
+
[De]: "Center Bottom",
|
|
106
|
+
[xe]: "Right Bottom",
|
|
107
|
+
[Ne]: "No Alignment",
|
|
108
|
+
[Ue]: "Wrap",
|
|
109
|
+
[Ge]: "Fit to cell",
|
|
110
|
+
[ze]: "Apply to all cells",
|
|
111
|
+
[Ee]: "Width",
|
|
112
|
+
[Oe]: "apply to column",
|
|
113
|
+
[Je]: "Height",
|
|
114
|
+
[Ve]: "apply to row",
|
|
115
|
+
[je]: "Alignment",
|
|
116
|
+
[qe]: "Text control",
|
|
117
|
+
[Ke]: "Cell padding",
|
|
118
|
+
[Qe]: "Background",
|
|
119
|
+
[Xe]: "Border width",
|
|
120
|
+
[Ye]: "Border color",
|
|
121
|
+
[Ze]: "Border style",
|
|
122
|
+
[_e]: "ID",
|
|
123
|
+
[$e]: "CSS class",
|
|
124
|
+
[et]: "Save",
|
|
125
|
+
[tt]: "Cancel",
|
|
126
|
+
[ot]: "Table properties",
|
|
127
|
+
[rt]: "Align Left",
|
|
128
|
+
[it]: "Align Center",
|
|
129
|
+
[lt]: "Align Right",
|
|
130
|
+
[st]: "No Alignment",
|
|
131
|
+
[nt]: "Left",
|
|
132
|
+
[dt]: "Center",
|
|
133
|
+
[ct]: "Right",
|
|
134
|
+
[at]: "Top",
|
|
135
|
+
[pt]: "Bottom",
|
|
136
|
+
[bt]: "None",
|
|
137
|
+
[Pt]: "Using 'scope' attribute",
|
|
138
|
+
[gt]: "Using 'id' attributes",
|
|
139
|
+
[Ct]: "Rows",
|
|
140
|
+
[ht]: "Columns",
|
|
141
|
+
[mt]: "Width",
|
|
142
|
+
[ft]: "Height",
|
|
143
|
+
[Rt]: "Position",
|
|
144
|
+
[At]: "Alignment",
|
|
145
|
+
[ut]: "Cell spacing",
|
|
146
|
+
[yt]: "Cell padding",
|
|
147
|
+
[Tt]: "Table background",
|
|
148
|
+
[St]: "Border width",
|
|
149
|
+
[Bt]: "Border color",
|
|
150
|
+
[wt]: "Border style",
|
|
151
|
+
[It]: "Collapse borders",
|
|
152
|
+
[Ht]: "ID",
|
|
153
|
+
[kt]: "CSS class",
|
|
154
|
+
[Wt]: "Accessibility",
|
|
155
|
+
[Lt]: "Caption",
|
|
156
|
+
[vt]: "Position",
|
|
157
|
+
[Ft]: "Alignment",
|
|
158
|
+
[Mt]: "Header rows",
|
|
159
|
+
[Dt]: "Header cols",
|
|
160
|
+
[xt]: "Associate headers",
|
|
161
|
+
[Nt]: "General",
|
|
162
|
+
[Ut]: "Advanced",
|
|
163
|
+
[Gt]: "Save",
|
|
164
|
+
[zt]: "Cancel",
|
|
165
|
+
[Et]: "None",
|
|
166
|
+
[Ot]: "Solid",
|
|
167
|
+
[Jt]: "Dotted",
|
|
168
|
+
[Vt]: "Dashed",
|
|
169
|
+
[jt]: "Double",
|
|
170
|
+
[qt]: "Groove",
|
|
171
|
+
[Kt]: "Ridge",
|
|
172
|
+
[Qt]: "Inset",
|
|
173
|
+
[Xt]: "Outset",
|
|
174
|
+
[Yt]: "Initial",
|
|
175
|
+
[Zt]: "Inherit",
|
|
176
|
+
[_t]: "Hidden",
|
|
177
|
+
[$t]: "Auto"
|
|
178
|
+
}, to = {
|
|
179
|
+
bold: e,
|
|
180
|
+
italic: t,
|
|
181
|
+
underline: o,
|
|
182
|
+
strikethrough: r,
|
|
183
|
+
subscript: i,
|
|
184
|
+
superscript: l,
|
|
185
|
+
unlink: X,
|
|
186
|
+
undo: Y,
|
|
187
|
+
redo: Z,
|
|
188
|
+
fontSize: _,
|
|
189
|
+
fontName: $,
|
|
190
|
+
format: ee,
|
|
191
|
+
alignLeft: te,
|
|
192
|
+
alignRight: oe,
|
|
193
|
+
alignCenter: re,
|
|
194
|
+
alignJustify: ie,
|
|
195
|
+
indent: le,
|
|
196
|
+
outdent: se,
|
|
197
|
+
orderedList: ne,
|
|
198
|
+
bulletList: de,
|
|
199
|
+
print: d,
|
|
200
|
+
selectAll: c,
|
|
201
|
+
cleanFormatting: a,
|
|
202
|
+
pdf: p,
|
|
203
|
+
foregroundColor: b,
|
|
204
|
+
backgroundColor: P,
|
|
205
|
+
createTable: g,
|
|
206
|
+
createTableHint: C,
|
|
207
|
+
addRowBefore: h,
|
|
208
|
+
addRowAfter: m,
|
|
209
|
+
addColumnBefore: f,
|
|
210
|
+
addColumnAfter: R,
|
|
211
|
+
deleteRow: A,
|
|
212
|
+
deleteColumn: u,
|
|
213
|
+
deleteTable: y,
|
|
214
|
+
mergeCells: T,
|
|
215
|
+
splitCell: S,
|
|
216
|
+
insertHyperlink: s,
|
|
217
|
+
insertHyperlinkDialogTitle: B,
|
|
218
|
+
insertHyperlinkAddress: w,
|
|
219
|
+
insertHyperlinkTitle: I,
|
|
220
|
+
insertHyperlinkNewWindow: H,
|
|
221
|
+
insertHyperlinkCancel: k,
|
|
222
|
+
insertHyperlinkInsert: W,
|
|
223
|
+
insertFile: n,
|
|
224
|
+
insertFileDialogTitle: L,
|
|
225
|
+
insertFileAddress: v,
|
|
226
|
+
insertFileTitle: F,
|
|
227
|
+
insertFileCancel: M,
|
|
228
|
+
insertFileInsert: D,
|
|
229
|
+
insertImage: x,
|
|
230
|
+
insertImageDialogTitle: N,
|
|
231
|
+
insertImageAddress: U,
|
|
232
|
+
insertImageTitle: G,
|
|
233
|
+
insertImageAltText: z,
|
|
234
|
+
insertImageWidth: E,
|
|
235
|
+
insertImageHeight: O,
|
|
236
|
+
insertImageCancel: J,
|
|
237
|
+
insertImageInsert: V,
|
|
238
|
+
viewHtml: j,
|
|
239
|
+
viewHtmlDialogTitle: q,
|
|
240
|
+
viewHtmlCancel: K,
|
|
241
|
+
viewHtmlUpdate: Q,
|
|
242
|
+
findReplaceToolTitle: ce,
|
|
243
|
+
findReplaceDialogTitle: ae,
|
|
244
|
+
findReplaceTabFind: pe,
|
|
245
|
+
findReplaceTabReplace: be,
|
|
246
|
+
findReplaceFindWhat: Pe,
|
|
247
|
+
findReplaceReplaceWith: ge,
|
|
248
|
+
findReplaceReplace: Ce,
|
|
249
|
+
findReplaceReplaceAll: he,
|
|
250
|
+
findReplaceMatchCase: me,
|
|
251
|
+
findReplaceMatchWord: fe,
|
|
252
|
+
findReplaceMatchCyclic: Re,
|
|
253
|
+
findReplaceUseRegExp: Ae,
|
|
254
|
+
findReplacePrevMatch: ue,
|
|
255
|
+
findReplaceNextMatch: ye,
|
|
256
|
+
findReplaceMatches: Te,
|
|
257
|
+
iframeTitle: Se,
|
|
258
|
+
foreColorLabel: Be,
|
|
259
|
+
backColorLabel: we,
|
|
260
|
+
cellProperties: Ie,
|
|
261
|
+
cellPropertiesLeftTop: He,
|
|
262
|
+
cellPropertiesCenterTop: ke,
|
|
263
|
+
cellPropertiesRightTop: We,
|
|
264
|
+
cellPropertiesLeftMiddle: Le,
|
|
265
|
+
cellPropertiesCenterMiddle: ve,
|
|
266
|
+
cellPropertiesRightMiddle: Fe,
|
|
267
|
+
cellPropertiesLeftBottom: Me,
|
|
268
|
+
cellPropertiesCenterBottom: De,
|
|
269
|
+
cellPropertiesRightBottom: xe,
|
|
270
|
+
cellPropertiesNoAlignment: Ne,
|
|
271
|
+
cellPropertiesWrap: Ue,
|
|
272
|
+
cellPropertiesFitToCell: Ge,
|
|
273
|
+
cellPropertiesApplyToAllCells: ze,
|
|
274
|
+
cellPropertiesWidth: Ee,
|
|
275
|
+
cellPropertiesApplyToColumn: Oe,
|
|
276
|
+
cellPropertiesHeight: Je,
|
|
277
|
+
cellPropertiesApplyToRow: Ve,
|
|
278
|
+
cellPropertiesAlignment: je,
|
|
279
|
+
cellPropertiesTextControl: qe,
|
|
280
|
+
cellPropertiesCellPadding: Ke,
|
|
281
|
+
cellPropertiesBackground: Qe,
|
|
282
|
+
cellPropertiesBorderWidth: Xe,
|
|
283
|
+
cellPropertiesBorderColor: Ye,
|
|
284
|
+
cellPropertiesBorderStyle: Ze,
|
|
285
|
+
cellPropertiesId: _e,
|
|
286
|
+
cellPropertiesCssClass: $e,
|
|
287
|
+
cellPropertiesSave: et,
|
|
288
|
+
cellPropertiesCancel: tt,
|
|
289
|
+
tableProperties: ot,
|
|
290
|
+
tablePropertiesAlignLeft: rt,
|
|
291
|
+
tablePropertiesAlignCenter: it,
|
|
292
|
+
tablePropertiesAlignRight: lt,
|
|
293
|
+
tablePropertiesNoAlignment: st,
|
|
294
|
+
tablePropertiesLeft: nt,
|
|
295
|
+
tablePropertiesCenter: dt,
|
|
296
|
+
tablePropertiesRight: ct,
|
|
297
|
+
tablePropertiesTop: at,
|
|
298
|
+
tablePropertiesBottom: pt,
|
|
299
|
+
tablePropertiesNone: bt,
|
|
300
|
+
tablePropertiesUsingScopeAttribute: Pt,
|
|
301
|
+
tablePropertiesUsingIdAttributes: gt,
|
|
302
|
+
tablePropertiesRows: Ct,
|
|
303
|
+
tablePropertiesColumns: ht,
|
|
304
|
+
tablePropertiesWidth: mt,
|
|
305
|
+
tablePropertiesHeight: ft,
|
|
306
|
+
tablePropertiesPosition: Rt,
|
|
307
|
+
tablePropertiesAlignment: At,
|
|
308
|
+
tablePropertiesCellSpacing: ut,
|
|
309
|
+
tablePropertiesCellPadding: yt,
|
|
310
|
+
tablePropertiesTableBackground: Tt,
|
|
311
|
+
tablePropertiesBorderWidth: St,
|
|
312
|
+
tablePropertiesBorderColor: Bt,
|
|
313
|
+
tablePropertiesBorderStyle: wt,
|
|
314
|
+
tablePropertiesCollapseBorders: It,
|
|
315
|
+
tablePropertiesId: Ht,
|
|
316
|
+
tablePropertiesCssClass: kt,
|
|
317
|
+
tablePropertiesAccessibility: Wt,
|
|
318
|
+
tablePropertiesCaption: Lt,
|
|
319
|
+
tablePropertiesCaptionPosition: vt,
|
|
320
|
+
tablePropertiesCaptionAlignment: Ft,
|
|
321
|
+
tablePropertiesHeaderRows: Mt,
|
|
322
|
+
tablePropertiesHeaderCols: Dt,
|
|
323
|
+
tablePropertiesAssociateHeaders: xt,
|
|
324
|
+
tablePropertiesGeneral: Nt,
|
|
325
|
+
tablePropertiesAdvanced: Ut,
|
|
326
|
+
tablePropertiesSave: Gt,
|
|
327
|
+
tablePropertiesCancel: zt,
|
|
328
|
+
borderStyleNone: Et,
|
|
329
|
+
borderStyleSolid: Ot,
|
|
330
|
+
borderStyleDotted: Jt,
|
|
331
|
+
borderStyleDashed: Vt,
|
|
332
|
+
borderStyleDouble: jt,
|
|
333
|
+
borderStyleGroove: qt,
|
|
334
|
+
borderStyleRidge: Kt,
|
|
335
|
+
borderStyleInset: Qt,
|
|
336
|
+
borderStyleOutset: Xt,
|
|
337
|
+
borderStyleInitial: Yt,
|
|
338
|
+
borderStyleInherit: Zt,
|
|
339
|
+
borderStyleHidden: _t,
|
|
340
|
+
sizeAuto: $t
|
|
341
|
+
};
|
|
342
|
+
export {
|
|
343
|
+
to as keys,
|
|
344
|
+
eo as messages
|
|
345
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-editor",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
const e = {
|
|
10
|
+
name: "@progress/kendo-react-editor",
|
|
11
|
+
productName: "KendoReact",
|
|
12
|
+
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
+
publishDate: 1709714568,
|
|
14
|
+
version: "",
|
|
15
|
+
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
e as packageMetadata
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-editor",
|
|
3
|
-
"version": "7.2.4-develop.
|
|
3
|
+
"version": "7.2.4-develop.4",
|
|
4
4
|
"description": "React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@progress/kendo-drawing": "^1.19.0",
|
|
26
26
|
"@progress/kendo-licensing": "^1.3.4",
|
|
27
|
-
"@progress/kendo-react-buttons": "7.2.4-develop.
|
|
28
|
-
"@progress/kendo-react-common": "7.2.4-develop.
|
|
29
|
-
"@progress/kendo-react-dialogs": "7.2.4-develop.
|
|
30
|
-
"@progress/kendo-react-dropdowns": "7.2.4-develop.
|
|
31
|
-
"@progress/kendo-react-form": "7.2.4-develop.
|
|
32
|
-
"@progress/kendo-react-inputs": "7.2.4-develop.
|
|
33
|
-
"@progress/kendo-react-intl": "7.2.4-develop.
|
|
34
|
-
"@progress/kendo-react-layout": "7.2.4-develop.
|
|
35
|
-
"@progress/kendo-react-pdf": "7.2.4-develop.
|
|
36
|
-
"@progress/kendo-react-popup": "7.2.4-develop.
|
|
27
|
+
"@progress/kendo-react-buttons": "7.2.4-develop.4",
|
|
28
|
+
"@progress/kendo-react-common": "7.2.4-develop.4",
|
|
29
|
+
"@progress/kendo-react-dialogs": "7.2.4-develop.4",
|
|
30
|
+
"@progress/kendo-react-dropdowns": "7.2.4-develop.4",
|
|
31
|
+
"@progress/kendo-react-form": "7.2.4-develop.4",
|
|
32
|
+
"@progress/kendo-react-inputs": "7.2.4-develop.4",
|
|
33
|
+
"@progress/kendo-react-intl": "7.2.4-develop.4",
|
|
34
|
+
"@progress/kendo-react-layout": "7.2.4-develop.4",
|
|
35
|
+
"@progress/kendo-react-pdf": "7.2.4-develop.4",
|
|
36
|
+
"@progress/kendo-react-popup": "7.2.4-develop.4",
|
|
37
37
|
"@progress/kendo-svg-icons": "^2.1.0",
|
|
38
38
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
39
39
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
package/tools/align.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),S=require("@progress/kendo-react-buttons"),q=require("../config/toolsSettings.js"),l=require("@progress/kendo-editor-common"),T=require("./utils.js"),u=require("@progress/kendo-react-intl"),k=require("../messages/index.js");function y(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(o,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}return o.default=e,Object.freeze(o)}const d=y(v),{alignRemove:m}=q.EditorToolsSettings,O=e=>{const o=class extends d.Component{render(){const{view:t,render:r,...g}=this.props,i=t&&t.state,c=!!i&&l.isAligned(i,e.actions),p=c?m.actions:e.actions,f=c?m.commandName:e.commandName,b=u.provideLocalizationService(this),s=e.messages.title,a=d.createElement(S.Button,{onClick:()=>t&&l.alignBlocks(p,f)(t.state,t.dispatch),selected:c,togglable:!0,...T.onDownPreventDefault,title:b.toLanguageString(s,k.messages[s]),...e.props,...g});return r?r.call(void 0,a,{view:t}):a}};return u.registerForLocalization(o),o};exports.createAlignTool=O;
|
package/tools/align.mjs
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as c from "react";
|
|
10
|
+
import { Button as f } from "@progress/kendo-react-buttons";
|
|
11
|
+
import { EditorToolsSettings as u } from "../config/toolsSettings.mjs";
|
|
12
|
+
import { isAligned as v, alignBlocks as T } from "@progress/kendo-editor-common";
|
|
13
|
+
import { onDownPreventDefault as h } from "./utils.mjs";
|
|
14
|
+
import { registerForLocalization as z, provideLocalizationService as A } from "@progress/kendo-react-intl";
|
|
15
|
+
import { messages as L } from "../messages/index.mjs";
|
|
16
|
+
const { alignRemove: l } = u, C = (t) => {
|
|
17
|
+
const n = class extends c.Component {
|
|
18
|
+
render() {
|
|
19
|
+
const { view: o, render: r, ...m } = this.props, i = o && o.state, e = !!i && v(i, t.actions), p = e ? l.actions : t.actions, d = e ? l.commandName : t.commandName, g = A(this), a = t.messages.title, s = /* @__PURE__ */ c.createElement(
|
|
20
|
+
f,
|
|
21
|
+
{
|
|
22
|
+
onClick: () => o && T(p, d)(o.state, o.dispatch),
|
|
23
|
+
selected: e,
|
|
24
|
+
togglable: !0,
|
|
25
|
+
...h,
|
|
26
|
+
title: g.toLanguageString(a, L[a]),
|
|
27
|
+
...t.props,
|
|
28
|
+
...m
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
return r ? r.call(void 0, s, { view: o }) : s;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
return z(n), n;
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
C as createAlignTool
|
|
38
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react"),f=require("@progress/kendo-react-inputs"),m=require("@progress/kendo-editor-common"),b=require("@progress/kendo-react-intl"),u=require("../messages/index.js");function y(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,n.get?n:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const p=y(d),k=t=>{const{view:e,style:o,colorPickerProps:n,commandName:c}=t,a=n.title,r=n.ariaLabel,{view:l="palette"}=n,i=b.useLocalization(),s=p.useCallback(g=>{e&&(m.applyInlineStyle({style:o,value:g.value},c)(e.state,e.dispatch),l==="palette"&&e.focus())},[e,o,l,c]);return p.createElement(f.ColorPicker,{onChange:s,onActiveColorClick:s,...n,title:a&&i.toLanguageString(a,u.messages[a]),ariaLabel:r&&i.toLanguageString(r,u.messages[r])})};exports.ApplyColorTool=k;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as s from "react";
|
|
10
|
+
import { ColorPicker as f } from "@progress/kendo-react-inputs";
|
|
11
|
+
import { applyInlineStyle as g } from "@progress/kendo-editor-common";
|
|
12
|
+
import { useLocalization as y } from "@progress/kendo-react-intl";
|
|
13
|
+
import { messages as m } from "../messages/index.mjs";
|
|
14
|
+
const k = (p) => {
|
|
15
|
+
const { view: e, style: l, colorPickerProps: t, commandName: i } = p, o = t.title, a = t.ariaLabel, { view: r = "palette" } = t, c = y(), n = s.useCallback(
|
|
16
|
+
(u) => {
|
|
17
|
+
e && (g({ style: l, value: u.value }, i)(e.state, e.dispatch), r === "palette" && e.focus());
|
|
18
|
+
},
|
|
19
|
+
[e, l, r, i]
|
|
20
|
+
);
|
|
21
|
+
return /* @__PURE__ */ s.createElement(
|
|
22
|
+
f,
|
|
23
|
+
{
|
|
24
|
+
onChange: n,
|
|
25
|
+
onActiveColorClick: n,
|
|
26
|
+
...t,
|
|
27
|
+
title: o && c.toLanguageString(o, m[o]),
|
|
28
|
+
ariaLabel: a && c.toLanguageString(a, m[a])
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
k as ApplyColorTool
|
|
34
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("@progress/kendo-react-buttons"),b=require("@progress/kendo-react-intl"),f=require("./utils.js"),p=require("../messages/index.js"),k=require("@progress/kendo-editor-common"),q=require("../config/toolsSettings.js"),v=require("@progress/kendo-react-common");function C(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const i=C(m),{cleanFormatting:N}=q.EditorToolsSettings,l=k.cleanFormatting(),S=t=>{const{view:e,render:n,settings:o=N,...u}=t,a=o.messages.title,s=!e||!l(e.state),d=i.useCallback(()=>{e&&l(e.state,r=>{r.setMeta("commandName",o.commandName),e.dispatch(r)})},[e]),c=i.createElement(g.Button,{onClick:s?void 0:d,"aria-disabled":s?!0:void 0,title:b.useLocalization().toLanguageString(a,p.messages[a]),...f.onDownPreventDefault,...o.props,...u,className:v.classNames(t.className,o.props.className,{"k-disabled":s})});return n?n.call(void 0,c,{view:e}):c};exports.CleanFormatting=S;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as r from "react";
|
|
10
|
+
import { Button as p } from "@progress/kendo-react-buttons";
|
|
11
|
+
import { useLocalization as g } from "@progress/kendo-react-intl";
|
|
12
|
+
import { onDownPreventDefault as f } from "./utils.mjs";
|
|
13
|
+
import { messages as u } from "../messages/index.mjs";
|
|
14
|
+
import { cleanFormatting as b } from "@progress/kendo-editor-common";
|
|
15
|
+
import { EditorToolsSettings as N } from "../config/toolsSettings.mjs";
|
|
16
|
+
import { classNames as v } from "@progress/kendo-react-common";
|
|
17
|
+
const { cleanFormatting: k } = N, c = b(), S = (a) => {
|
|
18
|
+
const { view: t, render: s, settings: o = k, ...l } = a, n = o.messages.title, e = !t || !c(t.state), d = r.useCallback(
|
|
19
|
+
() => {
|
|
20
|
+
t && c(t.state, (i) => {
|
|
21
|
+
i.setMeta("commandName", o.commandName), t.dispatch(i);
|
|
22
|
+
});
|
|
23
|
+
},
|
|
24
|
+
[t]
|
|
25
|
+
), m = /* @__PURE__ */ r.createElement(
|
|
26
|
+
p,
|
|
27
|
+
{
|
|
28
|
+
onClick: e ? void 0 : d,
|
|
29
|
+
"aria-disabled": e ? !0 : void 0,
|
|
30
|
+
title: g().toLanguageString(n, u[n]),
|
|
31
|
+
...f,
|
|
32
|
+
...o.props,
|
|
33
|
+
...l,
|
|
34
|
+
className: v(a.className, o.props.className, { "k-disabled": e })
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
return s ? s.call(void 0, m, { view: t }) : m;
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
S as CleanFormatting
|
|
41
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),p=require("@progress/kendo-react-buttons"),g=require("../dialogs/FindReplace.js"),m=require("./utils.js"),f=require("../messages/index.js"),h=require("../config/toolsSettings.js"),l=require("@progress/kendo-react-intl"),b=require("@progress/kendo-react-common");function R(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const s=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>o[e]})}}return t.default=o,Object.freeze(t)}const i=R(u),r=h.EditorToolsSettings.findAndReplace;let c=class extends i.Component{constructor(){super(...arguments),this.state={showDialog:!1},this.onClose=()=>this.setState({showDialog:!1}),this.onOpen=()=>this.setState({showDialog:!0})}render(){const{view:t,...e}=this.props,{props:s}=r,d=l.provideLocalizationService(this),a=r.messages.findReplaceToolTitle,n=!t;return[i.createElement(p.Button,{onClick:n?void 0:this.onOpen,"aria-disabled":n?!0:void 0,...m.onDownPreventDefault,title:d.toLanguageString(a,f.messages[a]),key:"tool",...s,...e,className:b.classNames(e.className,s.className,{"k-disabled":n})}),this.state.showDialog&&t&&i.createElement(g.FindAndReplaceDialog,{view:t,onClose:this.onClose,dir:e.dir,key:"dialog"})]}};l.registerForLocalization(c);exports.FindAndReplace=c;
|