@progress/kendo-react-editor 14.5.0-develop.9 → 15.0.0-develop.1
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 +1 -1
- package/Editor.mjs +94 -78
- package/EditorMcpWrapper.d.ts +17 -0
- package/EditorMcpWrapper.js +8 -0
- package/EditorMcpWrapper.mjs +18 -0
- package/EditorProps.d.ts +17 -0
- package/README.md +4 -4
- package/dist/cdn/js/kendo-react-editor.js +1 -1
- package/index.d.mts +5 -3
- package/index.d.ts +5 -3
- package/index.js +1 -1
- package/index.mjs +138 -136
- package/messages/index.d.ts +4 -0
- package/messages/index.js +1 -1
- package/messages/index.mjs +202 -198
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/tools/align.js +1 -1
- package/tools/align.mjs +19 -18
- package/tools/indent.js +1 -1
- package/tools/indent.mjs +18 -17
- package/tools/inlineFormat.js +1 -1
- package/tools/inlineFormat.mjs +23 -22
- package/tools/outdent.js +1 -1
- package/tools/outdent.mjs +23 -22
- package/tools/proseMirrorTool.js +1 -1
- package/tools/proseMirrorTool.mjs +19 -18
package/messages/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "editor.strikethrough", i = "editor.subscript", l = "editor.superscript",
|
|
8
|
+
const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "editor.strikethrough", i = "editor.subscript", l = "editor.superscript", n = "editor.hyperlink", s = "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", R = "editor.addColumnAfter", y = "editor.deleteRow", A = "editor.deleteColumn", u = "editor.deleteTable", S = "editor.mergeCells", T = "editor.splitCell", w = "editor.hyperlink-dialog-title", B = "editor.hyperlink-dialog-content-address", I = "editor.hyperlink-dialog-content-title", L = "editor.hyperlink-dialog-content-newwindow", H = "editor.hyperlink-dialog-cancel", k = "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", x = "editor.insertfile-dialog-insert", M = "editor.image", N = "editor.image-dialog-title", U = "editor.image-address", E = "editor.image-title", G = "editor.image-altText", z = "editor.image-width", O = "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", ne = "editor.outdent", se = "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", Re = "editor.findReplace-matchCyclic", ye = "editor.findReplace-useRegExp", Ae = "editor.findReplace-prevMatch", ue = "editor.findReplace-nextMatch", Se = "editor.findReplace-matches", Te = "editor.findReplace-invalidRegExp", we = "editor.iframeTitle", Be = "editor.contentAreaLabel", Ie = "editorTools.foreColorLabel", Le = "editorTools.backColorLabel", He = "editor.cellProperties", ke = "editor.cellPropertiesLeftTop", ve = "editor.cellPropertiesCenterTop", We = "editor.cellPropertiesRightTop", De = "editor.cellPropertiesLeftMiddle", Fe = "editor.cellPropertiesCenterMiddle", xe = "editor.cellPropertiesRightMiddle", Me = "editor.cellPropertiesLeftBottom", Ne = "editor.cellPropertiesCenterBottom", Ue = "editor.cellPropertiesRightBottom", Ee = "editor.cellPropertiesNoAlignment", Ge = "editor.cellPropertiesWrap", ze = "editor.cellPropertiesFitToCell", Oe = "editor.cellPropertiesApplyToAllCells", qe = "editor.cellPropertiesWidth", Je = "editor.cellPropertiesApplyToColumn", Ve = "editor.cellPropertiesHeight", je = "editor.cellPropertiesApplyToRow", Ke = "editor.cellPropertiesAlignment", Qe = "editor.cellPropertiesTextControl", Xe = "editor.cellPropertiesCellPadding", Ye = "editor.cellPropertiesBackground", Ze = "editor.cellPropertiesBorderWidth", _e = "editor.cellPropertiesBorderColor", $e = "editor.cellPropertiesBorderStyle", et = "editor.cellPropertiesId", tt = "editor.cellPropertiesCssClass", ot = "editor.cellPropertiesSave", rt = "editor.cellPropertiesCancel", it = "editor.tableProperties", lt = "editor.tablePropertiesAlignLeft", nt = "editor.tablePropertiesAlignCenter", st = "editor.tablePropertiesAlignRight", dt = "editor.tablePropertiesNoAlignment", ct = "editor.tablePropertiesLeft", at = "editor.tablePropertiesCenter", pt = "editor.tablePropertiesRight", bt = "editor.tablePropertiesTop", Pt = "editor.tablePropertiesBottom", gt = "editor.tablePropertiesNone", Ct = "editor.tablePropertiesUsingScopeAttribute", mt = "editor.tablePropertiesUsingIdAttributes", ht = "editor.tablePropertiesRows", ft = "editor.tablePropertiesColumns", Rt = "editor.tablePropertiesWidth", yt = "editor.tablePropertiesHeight", At = "editor.tablePropertiesPosition", ut = "editor.tablePropertiesAlignment", St = "editor.tablePropertiesCellSpacing", Tt = "editor.tablePropertiesCellPadding", wt = "editor.tablePropertiesTableBackground", Bt = "editor.tablePropertiesBorderWidth", It = "editor.tablePropertiesBorderColor", Lt = "editor.tablePropertiesBorderStyle", Ht = "editor.tablePropertiesCollapseBorders", kt = "editor.tablePropertiesID", vt = "editor.tablePropertiesCssClass", Wt = "editor.tablePropertiesAccessibility", Dt = "editor.tablePropertiesCaption", Ft = "editor.tablePropertiesCaptionPosition", xt = "editor.tablePropertiesCaptionAlignment", Mt = "editor.tablePropertiesHeaderRows", Nt = "editor.tablePropertiesHeaderCols", Ut = "editor.tablePropertiesAssociateHeaders", Et = "editor.tablePropertiesGeneral", Gt = "editor.tablePropertiesAdvanced", zt = "editor.tablePropertiesSave", Ot = "editor.tablePropertiesCancel", qt = "editor.borderStyleNone", Jt = "editor.borderStyleSolid", Vt = "editor.borderStyleDotted", jt = "editor.borderStyleDashed", Kt = "editor.borderStyleDouble", Qt = "editor.borderStyleGroove", Xt = "editor.borderStyleRidge", Yt = "editor.borderStyleInset", Zt = "editor.borderStyleOutset", _t = "editor.borderStyleInitial", $t = "editor.borderStyleInherit", eo = "editor.borderStyleHidden", to = "editor.sizeAuto", oo = "editor.listStyleDisc", ro = "editor.listStyleCircle", io = "editor.listStyleSquare", lo = "editor.listStyleDecimal", no = "editor.listStyleUpperRoman", so = "editor.listStyleLowerRoman", co = "editor.listStyleUpperLatin", ao = "editor.listStyleLowerLatin", po = "editor.toolbarAriaLabel", bo = {
|
|
9
9
|
[e]: "Bold",
|
|
10
10
|
[t]: "Italic",
|
|
11
11
|
[o]: "Underline",
|
|
@@ -23,8 +23,8 @@ const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "edito
|
|
|
23
23
|
[re]: "Center text",
|
|
24
24
|
[ie]: "Justify",
|
|
25
25
|
[le]: "Indent",
|
|
26
|
-
[
|
|
27
|
-
[
|
|
26
|
+
[ne]: "Outdent",
|
|
27
|
+
[se]: "Insert ordered list",
|
|
28
28
|
[de]: "Insert unordered list",
|
|
29
29
|
[d]: "Print",
|
|
30
30
|
[c]: "Select All",
|
|
@@ -40,20 +40,20 @@ const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "edito
|
|
|
40
40
|
[f]: "Add column on the left",
|
|
41
41
|
[R]: "Add column on the right",
|
|
42
42
|
[y]: "Delete row",
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
43
|
+
[A]: "Delete column",
|
|
44
|
+
[u]: "Delete table",
|
|
45
|
+
[S]: "Merge cells",
|
|
46
46
|
[T]: "Split cell",
|
|
47
47
|
// Insert Link
|
|
48
|
-
[
|
|
48
|
+
[n]: "Insert hyperlink",
|
|
49
49
|
[w]: "Insert hyperlink",
|
|
50
50
|
[B]: "Web address",
|
|
51
51
|
[I]: "Title",
|
|
52
|
-
[
|
|
53
|
-
[
|
|
52
|
+
[L]: "Open link in new window",
|
|
53
|
+
[H]: "Cancel",
|
|
54
54
|
[k]: "Insert",
|
|
55
55
|
// Insert File
|
|
56
|
-
[
|
|
56
|
+
[s]: "Insert file",
|
|
57
57
|
[v]: "Insert file",
|
|
58
58
|
[W]: "Web address",
|
|
59
59
|
[D]: "Title",
|
|
@@ -87,105 +87,107 @@ const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "edito
|
|
|
87
87
|
[fe]: "Match whole word only",
|
|
88
88
|
[Re]: "Match cyclic (Wrap around)",
|
|
89
89
|
[ye]: "Regular Expression",
|
|
90
|
-
[
|
|
91
|
-
[
|
|
92
|
-
[
|
|
90
|
+
[Ae]: "Prev",
|
|
91
|
+
[ue]: "Next",
|
|
92
|
+
[Se]: "{0} of {1} matches",
|
|
93
93
|
[Te]: "Invalid regular expression.",
|
|
94
94
|
[we]: "Editable area. Press Alt + F10 for toolbar.",
|
|
95
|
-
[Be]: "
|
|
96
|
-
[Ie]: "
|
|
95
|
+
[Be]: "Editor content",
|
|
96
|
+
[Ie]: "Fore Color",
|
|
97
|
+
[Le]: "Back Color",
|
|
97
98
|
[He]: "Cell properties",
|
|
98
|
-
[
|
|
99
|
-
[
|
|
100
|
-
[
|
|
101
|
-
[
|
|
102
|
-
[
|
|
103
|
-
[
|
|
104
|
-
[
|
|
105
|
-
[
|
|
106
|
-
[
|
|
107
|
-
[
|
|
108
|
-
[
|
|
109
|
-
[
|
|
110
|
-
[
|
|
111
|
-
[
|
|
112
|
-
[
|
|
113
|
-
[
|
|
114
|
-
[
|
|
115
|
-
[
|
|
116
|
-
[
|
|
117
|
-
[
|
|
118
|
-
[
|
|
119
|
-
[
|
|
120
|
-
[
|
|
121
|
-
[
|
|
122
|
-
[
|
|
123
|
-
[
|
|
124
|
-
[
|
|
125
|
-
[
|
|
126
|
-
[
|
|
127
|
-
[
|
|
128
|
-
[
|
|
99
|
+
[ke]: "Left Top",
|
|
100
|
+
[ve]: "Center Top",
|
|
101
|
+
[We]: "Right Top",
|
|
102
|
+
[De]: "Left Middle",
|
|
103
|
+
[Fe]: "Center Middle",
|
|
104
|
+
[xe]: "Right Middle",
|
|
105
|
+
[Me]: "Left Bottom",
|
|
106
|
+
[Ne]: "Center Bottom",
|
|
107
|
+
[Ue]: "Right Bottom",
|
|
108
|
+
[Ee]: "No Alignment",
|
|
109
|
+
[Ge]: "Wrap",
|
|
110
|
+
[ze]: "Fit to cell",
|
|
111
|
+
[Oe]: "Apply to all cells",
|
|
112
|
+
[qe]: "Width",
|
|
113
|
+
[Je]: "apply to column",
|
|
114
|
+
[Ve]: "Height",
|
|
115
|
+
[je]: "apply to row",
|
|
116
|
+
[Ke]: "Alignment",
|
|
117
|
+
[Qe]: "Text control",
|
|
118
|
+
[Xe]: "Cell padding",
|
|
119
|
+
[Ye]: "Background",
|
|
120
|
+
[Ze]: "Border width",
|
|
121
|
+
[_e]: "Border color",
|
|
122
|
+
[$e]: "Border style",
|
|
123
|
+
[et]: "ID",
|
|
124
|
+
[tt]: "CSS class",
|
|
125
|
+
[ot]: "Save",
|
|
126
|
+
[rt]: "Cancel",
|
|
127
|
+
[it]: "Table properties",
|
|
128
|
+
[lt]: "Align Left",
|
|
129
|
+
[nt]: "Align Center",
|
|
129
130
|
[st]: "Align Right",
|
|
130
|
-
[
|
|
131
|
-
[
|
|
132
|
-
[
|
|
133
|
-
[
|
|
134
|
-
[
|
|
135
|
-
[
|
|
136
|
-
[
|
|
131
|
+
[dt]: "No Alignment",
|
|
132
|
+
[ct]: "Left",
|
|
133
|
+
[at]: "Center",
|
|
134
|
+
[pt]: "Right",
|
|
135
|
+
[bt]: "Top",
|
|
136
|
+
[Pt]: "Bottom",
|
|
137
|
+
[gt]: "None",
|
|
137
138
|
// eslint-disable-next-line @typescript-eslint/quotes
|
|
138
|
-
[
|
|
139
|
+
[Ct]: "Using 'scope' attribute",
|
|
139
140
|
// eslint-disable-next-line @typescript-eslint/quotes
|
|
140
|
-
[
|
|
141
|
-
[
|
|
142
|
-
[
|
|
143
|
-
[
|
|
144
|
-
[
|
|
145
|
-
[
|
|
141
|
+
[mt]: "Using 'id' attributes",
|
|
142
|
+
[ht]: "Rows",
|
|
143
|
+
[ft]: "Columns",
|
|
144
|
+
[Rt]: "Width",
|
|
145
|
+
[yt]: "Height",
|
|
146
|
+
[At]: "Position",
|
|
146
147
|
[ut]: "Alignment",
|
|
147
148
|
[St]: "Cell spacing",
|
|
148
|
-
[
|
|
149
|
-
[
|
|
150
|
-
[
|
|
151
|
-
[
|
|
152
|
-
[
|
|
149
|
+
[Tt]: "Cell padding",
|
|
150
|
+
[wt]: "Table background",
|
|
151
|
+
[Bt]: "Border width",
|
|
152
|
+
[It]: "Border color",
|
|
153
|
+
[Lt]: "Border style",
|
|
153
154
|
[Ht]: "Collapse borders",
|
|
154
|
-
[
|
|
155
|
-
[
|
|
156
|
-
[
|
|
157
|
-
[
|
|
158
|
-
[
|
|
159
|
-
[
|
|
160
|
-
[
|
|
161
|
-
[
|
|
162
|
-
[
|
|
163
|
-
[
|
|
164
|
-
[
|
|
165
|
-
[
|
|
166
|
-
[
|
|
167
|
-
[
|
|
168
|
-
[
|
|
169
|
-
[
|
|
170
|
-
[
|
|
171
|
-
[
|
|
172
|
-
[
|
|
173
|
-
[
|
|
174
|
-
[
|
|
175
|
-
[
|
|
176
|
-
[
|
|
177
|
-
[
|
|
178
|
-
[
|
|
179
|
-
[
|
|
180
|
-
[
|
|
181
|
-
[
|
|
182
|
-
[
|
|
183
|
-
[
|
|
184
|
-
[
|
|
155
|
+
[kt]: "ID",
|
|
156
|
+
[vt]: "CSS class",
|
|
157
|
+
[Wt]: "Accessibility",
|
|
158
|
+
[Dt]: "Caption",
|
|
159
|
+
[Ft]: "Position",
|
|
160
|
+
[xt]: "Alignment",
|
|
161
|
+
[Mt]: "Header rows",
|
|
162
|
+
[Nt]: "Header cols",
|
|
163
|
+
[Ut]: "Associate headers",
|
|
164
|
+
[Et]: "General",
|
|
165
|
+
[Gt]: "Advanced",
|
|
166
|
+
[zt]: "Save",
|
|
167
|
+
[Ot]: "Cancel",
|
|
168
|
+
[qt]: "None",
|
|
169
|
+
[Jt]: "Solid",
|
|
170
|
+
[Vt]: "Dotted",
|
|
171
|
+
[jt]: "Dashed",
|
|
172
|
+
[Kt]: "Double",
|
|
173
|
+
[Qt]: "Groove",
|
|
174
|
+
[Xt]: "Ridge",
|
|
175
|
+
[Yt]: "Inset",
|
|
176
|
+
[Zt]: "Outset",
|
|
177
|
+
[_t]: "Initial",
|
|
178
|
+
[$t]: "Inherit",
|
|
179
|
+
[eo]: "Hidden",
|
|
180
|
+
[to]: "Auto",
|
|
181
|
+
[oo]: "Disc",
|
|
182
|
+
[ro]: "Circle",
|
|
183
|
+
[io]: "Square",
|
|
184
|
+
[lo]: "Decimal",
|
|
185
|
+
[no]: "Upper roman",
|
|
185
186
|
[so]: "Lower roman",
|
|
186
|
-
[
|
|
187
|
-
[
|
|
188
|
-
|
|
187
|
+
[co]: "Upper latin",
|
|
188
|
+
[ao]: "Lower latin",
|
|
189
|
+
[po]: "Toolbar"
|
|
190
|
+
}, Po = {
|
|
189
191
|
bold: e,
|
|
190
192
|
italic: t,
|
|
191
193
|
underline: o,
|
|
@@ -203,8 +205,8 @@ const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "edito
|
|
|
203
205
|
alignCenter: re,
|
|
204
206
|
alignJustify: ie,
|
|
205
207
|
indent: le,
|
|
206
|
-
outdent:
|
|
207
|
-
orderedList:
|
|
208
|
+
outdent: ne,
|
|
209
|
+
orderedList: se,
|
|
208
210
|
bulletList: de,
|
|
209
211
|
print: d,
|
|
210
212
|
selectAll: c,
|
|
@@ -219,18 +221,18 @@ const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "edito
|
|
|
219
221
|
addColumnBefore: f,
|
|
220
222
|
addColumnAfter: R,
|
|
221
223
|
deleteRow: y,
|
|
222
|
-
deleteColumn:
|
|
223
|
-
deleteTable:
|
|
224
|
-
mergeCells:
|
|
224
|
+
deleteColumn: A,
|
|
225
|
+
deleteTable: u,
|
|
226
|
+
mergeCells: S,
|
|
225
227
|
splitCell: T,
|
|
226
|
-
insertHyperlink:
|
|
228
|
+
insertHyperlink: n,
|
|
227
229
|
insertHyperlinkDialogTitle: w,
|
|
228
230
|
insertHyperlinkAddress: B,
|
|
229
231
|
insertHyperlinkTitle: I,
|
|
230
|
-
insertHyperlinkNewWindow:
|
|
231
|
-
insertHyperlinkCancel:
|
|
232
|
+
insertHyperlinkNewWindow: L,
|
|
233
|
+
insertHyperlinkCancel: H,
|
|
232
234
|
insertHyperlinkInsert: k,
|
|
233
|
-
insertFile:
|
|
235
|
+
insertFile: s,
|
|
234
236
|
insertFileDialogTitle: v,
|
|
235
237
|
insertFileAddress: W,
|
|
236
238
|
insertFileTitle: D,
|
|
@@ -261,104 +263,106 @@ const e = "editor.bold", t = "editor.italic", o = "editor.underline", r = "edito
|
|
|
261
263
|
findReplaceMatchWord: fe,
|
|
262
264
|
findReplaceMatchCyclic: Re,
|
|
263
265
|
findReplaceUseRegExp: ye,
|
|
264
|
-
findReplacePrevMatch:
|
|
265
|
-
findReplaceNextMatch:
|
|
266
|
-
findReplaceMatches:
|
|
266
|
+
findReplacePrevMatch: Ae,
|
|
267
|
+
findReplaceNextMatch: ue,
|
|
268
|
+
findReplaceMatches: Se,
|
|
267
269
|
findReplaceInvalidRegExp: Te,
|
|
268
270
|
iframeTitle: we,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
+
contentAreaLabel: Be,
|
|
272
|
+
foreColorLabel: Ie,
|
|
273
|
+
backColorLabel: Le,
|
|
271
274
|
cellProperties: He,
|
|
272
|
-
cellPropertiesLeftTop:
|
|
273
|
-
cellPropertiesCenterTop:
|
|
274
|
-
cellPropertiesRightTop:
|
|
275
|
-
cellPropertiesLeftMiddle:
|
|
276
|
-
cellPropertiesCenterMiddle:
|
|
277
|
-
cellPropertiesRightMiddle:
|
|
278
|
-
cellPropertiesLeftBottom:
|
|
279
|
-
cellPropertiesCenterBottom:
|
|
280
|
-
cellPropertiesRightBottom:
|
|
281
|
-
cellPropertiesNoAlignment:
|
|
282
|
-
cellPropertiesWrap:
|
|
283
|
-
cellPropertiesFitToCell:
|
|
284
|
-
cellPropertiesApplyToAllCells:
|
|
285
|
-
cellPropertiesWidth:
|
|
286
|
-
cellPropertiesApplyToColumn:
|
|
287
|
-
cellPropertiesHeight:
|
|
288
|
-
cellPropertiesApplyToRow:
|
|
289
|
-
cellPropertiesAlignment:
|
|
290
|
-
cellPropertiesTextControl:
|
|
291
|
-
cellPropertiesCellPadding:
|
|
292
|
-
cellPropertiesBackground:
|
|
293
|
-
cellPropertiesBorderWidth:
|
|
294
|
-
cellPropertiesBorderColor:
|
|
295
|
-
cellPropertiesBorderStyle:
|
|
296
|
-
cellPropertiesId:
|
|
297
|
-
cellPropertiesCssClass:
|
|
298
|
-
cellPropertiesSave:
|
|
299
|
-
cellPropertiesCancel:
|
|
300
|
-
tableProperties:
|
|
301
|
-
tablePropertiesAlignLeft:
|
|
302
|
-
tablePropertiesAlignCenter:
|
|
275
|
+
cellPropertiesLeftTop: ke,
|
|
276
|
+
cellPropertiesCenterTop: ve,
|
|
277
|
+
cellPropertiesRightTop: We,
|
|
278
|
+
cellPropertiesLeftMiddle: De,
|
|
279
|
+
cellPropertiesCenterMiddle: Fe,
|
|
280
|
+
cellPropertiesRightMiddle: xe,
|
|
281
|
+
cellPropertiesLeftBottom: Me,
|
|
282
|
+
cellPropertiesCenterBottom: Ne,
|
|
283
|
+
cellPropertiesRightBottom: Ue,
|
|
284
|
+
cellPropertiesNoAlignment: Ee,
|
|
285
|
+
cellPropertiesWrap: Ge,
|
|
286
|
+
cellPropertiesFitToCell: ze,
|
|
287
|
+
cellPropertiesApplyToAllCells: Oe,
|
|
288
|
+
cellPropertiesWidth: qe,
|
|
289
|
+
cellPropertiesApplyToColumn: Je,
|
|
290
|
+
cellPropertiesHeight: Ve,
|
|
291
|
+
cellPropertiesApplyToRow: je,
|
|
292
|
+
cellPropertiesAlignment: Ke,
|
|
293
|
+
cellPropertiesTextControl: Qe,
|
|
294
|
+
cellPropertiesCellPadding: Xe,
|
|
295
|
+
cellPropertiesBackground: Ye,
|
|
296
|
+
cellPropertiesBorderWidth: Ze,
|
|
297
|
+
cellPropertiesBorderColor: _e,
|
|
298
|
+
cellPropertiesBorderStyle: $e,
|
|
299
|
+
cellPropertiesId: et,
|
|
300
|
+
cellPropertiesCssClass: tt,
|
|
301
|
+
cellPropertiesSave: ot,
|
|
302
|
+
cellPropertiesCancel: rt,
|
|
303
|
+
tableProperties: it,
|
|
304
|
+
tablePropertiesAlignLeft: lt,
|
|
305
|
+
tablePropertiesAlignCenter: nt,
|
|
303
306
|
tablePropertiesAlignRight: st,
|
|
304
|
-
tablePropertiesNoAlignment:
|
|
305
|
-
tablePropertiesLeft:
|
|
306
|
-
tablePropertiesCenter:
|
|
307
|
-
tablePropertiesRight:
|
|
308
|
-
tablePropertiesTop:
|
|
309
|
-
tablePropertiesBottom:
|
|
310
|
-
tablePropertiesNone:
|
|
311
|
-
tablePropertiesUsingScopeAttribute:
|
|
312
|
-
tablePropertiesUsingIdAttributes:
|
|
313
|
-
tablePropertiesRows:
|
|
314
|
-
tablePropertiesColumns:
|
|
315
|
-
tablePropertiesWidth:
|
|
316
|
-
tablePropertiesHeight:
|
|
317
|
-
tablePropertiesPosition:
|
|
307
|
+
tablePropertiesNoAlignment: dt,
|
|
308
|
+
tablePropertiesLeft: ct,
|
|
309
|
+
tablePropertiesCenter: at,
|
|
310
|
+
tablePropertiesRight: pt,
|
|
311
|
+
tablePropertiesTop: bt,
|
|
312
|
+
tablePropertiesBottom: Pt,
|
|
313
|
+
tablePropertiesNone: gt,
|
|
314
|
+
tablePropertiesUsingScopeAttribute: Ct,
|
|
315
|
+
tablePropertiesUsingIdAttributes: mt,
|
|
316
|
+
tablePropertiesRows: ht,
|
|
317
|
+
tablePropertiesColumns: ft,
|
|
318
|
+
tablePropertiesWidth: Rt,
|
|
319
|
+
tablePropertiesHeight: yt,
|
|
320
|
+
tablePropertiesPosition: At,
|
|
318
321
|
tablePropertiesAlignment: ut,
|
|
319
322
|
tablePropertiesCellSpacing: St,
|
|
320
|
-
tablePropertiesCellPadding:
|
|
321
|
-
tablePropertiesTableBackground:
|
|
322
|
-
tablePropertiesBorderWidth:
|
|
323
|
-
tablePropertiesBorderColor:
|
|
324
|
-
tablePropertiesBorderStyle:
|
|
323
|
+
tablePropertiesCellPadding: Tt,
|
|
324
|
+
tablePropertiesTableBackground: wt,
|
|
325
|
+
tablePropertiesBorderWidth: Bt,
|
|
326
|
+
tablePropertiesBorderColor: It,
|
|
327
|
+
tablePropertiesBorderStyle: Lt,
|
|
325
328
|
tablePropertiesCollapseBorders: Ht,
|
|
326
|
-
tablePropertiesId:
|
|
327
|
-
tablePropertiesCssClass:
|
|
328
|
-
tablePropertiesAccessibility:
|
|
329
|
-
tablePropertiesCaption:
|
|
330
|
-
tablePropertiesCaptionPosition:
|
|
331
|
-
tablePropertiesCaptionAlignment:
|
|
332
|
-
tablePropertiesHeaderRows:
|
|
333
|
-
tablePropertiesHeaderCols:
|
|
334
|
-
tablePropertiesAssociateHeaders:
|
|
335
|
-
tablePropertiesGeneral:
|
|
336
|
-
tablePropertiesAdvanced:
|
|
337
|
-
tablePropertiesSave:
|
|
338
|
-
tablePropertiesCancel:
|
|
339
|
-
borderStyleNone:
|
|
340
|
-
borderStyleSolid:
|
|
341
|
-
borderStyleDotted:
|
|
342
|
-
borderStyleDashed:
|
|
343
|
-
borderStyleDouble:
|
|
344
|
-
borderStyleGroove:
|
|
345
|
-
borderStyleRidge:
|
|
346
|
-
borderStyleInset:
|
|
347
|
-
borderStyleOutset:
|
|
348
|
-
borderStyleInitial:
|
|
349
|
-
borderStyleInherit:
|
|
350
|
-
borderStyleHidden:
|
|
351
|
-
sizeAuto:
|
|
352
|
-
listStyleDisc:
|
|
353
|
-
listStyleCircle:
|
|
354
|
-
listStyleSquare:
|
|
355
|
-
listStyleDecimal:
|
|
356
|
-
listStyleUpperRoman:
|
|
329
|
+
tablePropertiesId: kt,
|
|
330
|
+
tablePropertiesCssClass: vt,
|
|
331
|
+
tablePropertiesAccessibility: Wt,
|
|
332
|
+
tablePropertiesCaption: Dt,
|
|
333
|
+
tablePropertiesCaptionPosition: Ft,
|
|
334
|
+
tablePropertiesCaptionAlignment: xt,
|
|
335
|
+
tablePropertiesHeaderRows: Mt,
|
|
336
|
+
tablePropertiesHeaderCols: Nt,
|
|
337
|
+
tablePropertiesAssociateHeaders: Ut,
|
|
338
|
+
tablePropertiesGeneral: Et,
|
|
339
|
+
tablePropertiesAdvanced: Gt,
|
|
340
|
+
tablePropertiesSave: zt,
|
|
341
|
+
tablePropertiesCancel: Ot,
|
|
342
|
+
borderStyleNone: qt,
|
|
343
|
+
borderStyleSolid: Jt,
|
|
344
|
+
borderStyleDotted: Vt,
|
|
345
|
+
borderStyleDashed: jt,
|
|
346
|
+
borderStyleDouble: Kt,
|
|
347
|
+
borderStyleGroove: Qt,
|
|
348
|
+
borderStyleRidge: Xt,
|
|
349
|
+
borderStyleInset: Yt,
|
|
350
|
+
borderStyleOutset: Zt,
|
|
351
|
+
borderStyleInitial: _t,
|
|
352
|
+
borderStyleInherit: $t,
|
|
353
|
+
borderStyleHidden: eo,
|
|
354
|
+
sizeAuto: to,
|
|
355
|
+
listStyleDisc: oo,
|
|
356
|
+
listStyleCircle: ro,
|
|
357
|
+
listStyleSquare: io,
|
|
358
|
+
listStyleDecimal: lo,
|
|
359
|
+
listStyleUpperRoman: no,
|
|
357
360
|
listStyleLowerRoman: so,
|
|
358
|
-
listStyleUpperLatin:
|
|
359
|
-
listStyleLowerLatin:
|
|
361
|
+
listStyleUpperLatin: co,
|
|
362
|
+
listStyleLowerLatin: ao,
|
|
363
|
+
toolbarAriaLabel: po
|
|
360
364
|
};
|
|
361
365
|
export {
|
|
362
|
-
|
|
363
|
-
|
|
366
|
+
Po as keys,
|
|
367
|
+
bo as messages
|
|
364
368
|
};
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-editor",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-editor",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1779199743,version:"15.0.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
|
|
|
7
7
|
productName: 'KendoReact',
|
|
8
8
|
productCode: 'KENDOUIREACT',
|
|
9
9
|
productCodes: ['KENDOUIREACT'],
|
|
10
|
-
publishDate:
|
|
11
|
-
version: '
|
|
10
|
+
publishDate: 1779199743,
|
|
11
|
+
version: '15.0.0-develop.1',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
|
|
13
13
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0-develop.1",
|
|
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",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-drawing": "^1.21.2",
|
|
29
29
|
"@progress/kendo-licensing": "^1.7.2",
|
|
30
|
-
"@progress/kendo-react-buttons": "
|
|
31
|
-
"@progress/kendo-react-common": "
|
|
32
|
-
"@progress/kendo-react-dialogs": "
|
|
33
|
-
"@progress/kendo-react-dropdowns": "
|
|
34
|
-
"@progress/kendo-react-form": "
|
|
35
|
-
"@progress/kendo-react-inputs": "
|
|
36
|
-
"@progress/kendo-react-intl": "
|
|
37
|
-
"@progress/kendo-react-layout": "
|
|
38
|
-
"@progress/kendo-react-pdf": "
|
|
39
|
-
"@progress/kendo-react-popup": "
|
|
30
|
+
"@progress/kendo-react-buttons": "15.0.0-develop.1",
|
|
31
|
+
"@progress/kendo-react-common": "15.0.0-develop.1",
|
|
32
|
+
"@progress/kendo-react-dialogs": "15.0.0-develop.1",
|
|
33
|
+
"@progress/kendo-react-dropdowns": "15.0.0-develop.1",
|
|
34
|
+
"@progress/kendo-react-form": "15.0.0-develop.1",
|
|
35
|
+
"@progress/kendo-react-inputs": "15.0.0-develop.1",
|
|
36
|
+
"@progress/kendo-react-intl": "15.0.0-develop.1",
|
|
37
|
+
"@progress/kendo-react-layout": "15.0.0-develop.1",
|
|
38
|
+
"@progress/kendo-react-pdf": "15.0.0-develop.1",
|
|
39
|
+
"@progress/kendo-react-popup": "15.0.0-develop.1",
|
|
40
40
|
"@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
|
|
41
41
|
"react": "^18.0.0 || ^19.0.0",
|
|
42
42
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"package": {
|
|
64
64
|
"productName": "KendoReact",
|
|
65
65
|
"productCode": "KENDOUIREACT",
|
|
66
|
-
"publishDate":
|
|
66
|
+
"publishDate": 1779199743,
|
|
67
67
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
68
68
|
}
|
|
69
69
|
},
|
package/tools/align.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),q=require("@progress/kendo-react-buttons"),T=require("../config/toolsSettings.js"),u=require("@progress/kendo-editor-common"),k=require("./utils.js"),d=require("@progress/kendo-react-intl"),g=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 m=y(v),{alignRemove:p}=T.EditorToolsSettings,O=e=>{const o=class extends m.Component{render(){const{view:t,render:c,...b}=this.props,s=t&&t.state,a=!!s&&u.isAligned(s,e.actions),f=a?p.actions:e.actions,S=a?p.commandName:e.commandName,i=d.provideLocalizationService(this),r=e.messages.title,l=m.createElement(q.Button,{onClick:()=>t&&u.alignBlocks(f,S)(t.state,t.dispatch),selected:a,togglable:!0,...k.onDownPreventDefault,title:i.toLanguageString(r,g.messages[r]),"aria-label":i.toLanguageString(r,g.messages[r]),...e.props,...b});return c?c.call(void 0,l,{view:t}):l}};return d.registerForLocalization(o),o};exports.createAlignTool=O;
|
package/tools/align.mjs
CHANGED
|
@@ -5,32 +5,33 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import * as
|
|
9
|
-
import { Button as
|
|
10
|
-
import { EditorToolsSettings as
|
|
11
|
-
import { isAligned as
|
|
12
|
-
import { onDownPreventDefault as
|
|
13
|
-
import { registerForLocalization as
|
|
14
|
-
import { messages as
|
|
15
|
-
const { alignRemove:
|
|
16
|
-
const
|
|
8
|
+
import * as l from "react";
|
|
9
|
+
import { Button as u } from "@progress/kendo-react-buttons";
|
|
10
|
+
import { EditorToolsSettings as v } from "../config/toolsSettings.mjs";
|
|
11
|
+
import { isAligned as L, alignBlocks as S } from "@progress/kendo-editor-common";
|
|
12
|
+
import { onDownPreventDefault as T } from "./utils.mjs";
|
|
13
|
+
import { registerForLocalization as b, provideLocalizationService as h } from "@progress/kendo-react-intl";
|
|
14
|
+
import { messages as m } from "../messages/index.mjs";
|
|
15
|
+
const { alignRemove: p } = v, C = (t) => {
|
|
16
|
+
const a = class extends l.Component {
|
|
17
17
|
render() {
|
|
18
|
-
const { view: o, render: r, ...
|
|
19
|
-
|
|
18
|
+
const { view: o, render: r, ...g } = this.props, i = o && o.state, n = !!i && L(i, t.actions), d = n ? p.actions : t.actions, f = n ? p.commandName : t.commandName, s = h(this), e = t.messages.title, c = /* @__PURE__ */ l.createElement(
|
|
19
|
+
u,
|
|
20
20
|
{
|
|
21
|
-
onClick: () => o &&
|
|
22
|
-
selected:
|
|
21
|
+
onClick: () => o && S(d, f)(o.state, o.dispatch),
|
|
22
|
+
selected: n,
|
|
23
23
|
togglable: !0,
|
|
24
|
-
...
|
|
25
|
-
title:
|
|
24
|
+
...T,
|
|
25
|
+
title: s.toLanguageString(e, m[e]),
|
|
26
|
+
"aria-label": s.toLanguageString(e, m[e]),
|
|
26
27
|
...t.props,
|
|
27
|
-
...
|
|
28
|
+
...g
|
|
28
29
|
}
|
|
29
30
|
);
|
|
30
|
-
return r ? r.call(void 0,
|
|
31
|
+
return r ? r.call(void 0, c, { view: o }) : c;
|
|
31
32
|
}
|
|
32
33
|
};
|
|
33
|
-
return
|
|
34
|
+
return b(a), a;
|
|
34
35
|
};
|
|
35
36
|
export {
|
|
36
37
|
C as createAlignTool
|