@progress/kendo-vue-editor 6.4.1-develop.2 → 6.4.2-develop.3
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.mjs +15 -15
- package/config/shortcuts.mjs +7 -7
- package/dialogs/FindReplace.mjs +7 -7
- package/dialogs/insertImage.mjs +8 -8
- package/dialogs/insertLink.mjs +8 -8
- package/dialogs/viewHtml.mjs +7 -7
- package/dist/cdn/js/kendo-vue-editor.js +1 -1
- package/index.mjs +139 -139
- package/messages/main.js +1 -1
- package/messages/main.mjs +131 -132
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/tools/fontStyle.mjs +3 -3
- package/tools/formatBlock.mjs +3 -3
- package/tools/inlineFormat.mjs +3 -3
- package/tools/insertTable/popupGrid.js +1 -1
- package/tools/insertTable/popupGrid.mjs +21 -19
- package/tools/insertTable/tool.mjs +4 -4
- package/tools/lists.mjs +1 -1
- package/tools/unlink.mjs +3 -3
package/messages/main.mjs
CHANGED
|
@@ -5,27 +5,27 @@
|
|
|
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", i = "editor.underline", o = "editor.strikethrough", n = "editor.subscript", r = "editor.superscript", l = "editor.hyperlink", d = "editor.insertFile", a = "editor.print", c = "editor.selectAll", s = "editor.cleanFormatting", p = "editor.pdf", g = "editor.foregroundColor", f = "editor.backgroundColor", m = "editor.foregroundColorAriaLabel",
|
|
8
|
+
const e = "editor.bold", t = "editor.italic", i = "editor.underline", o = "editor.strikethrough", n = "editor.subscript", r = "editor.superscript", l = "editor.hyperlink", d = "editor.insertFile", a = "editor.print", c = "editor.selectAll", s = "editor.cleanFormatting", p = "editor.pdf", g = "editor.foregroundColor", f = "editor.backgroundColor", m = "editor.foregroundColorAriaLabel", He = "editor.backgroundColorAriaLabel", R = "editor.createTable", h = "editor.insertTableHint", u = "editor.addRowBefore", C = "editor.addRowAfter", b = "editor.addColumnBefore", w = "editor.addColumnAfter", k = "editor.deleteRow", I = "editor.deleteColumn", T = "editor.deleteTable", A = "editor.mergeCells", y = "editor.splitCell", F = "editor.hyperlink-dialog-title", H = "editor.hyperlink-dialog-content-address", x = "editor.hyperlink-dialog-content-title", v = "editor.hyperlink-dialog-content-newwindow", W = "editor.hyperlink-dialog-cancel", M = "editor.hyperlink-dialog-insert", L = "editor.insertfile-dialog-title", S = "editor.insertfile-dialog-content-address", D = "editor.insertfile-dialog-content-title", B = "editor.insertfile-dialog-cancel", E = "editor.insertfile-dialog-insert", N = "editor.image", P = "editor.image-dialog-title", U = "editor.image-address", z = "editor.image-title", J = "editor.image-altText", O = "editor.image-width", V = "editor.image-height", G = "editor.image-cancel", j = "editor.image-insert", q = "editor.viewHtml", K = "editor.viewHtml-dialog-title", Q = "editor.viewHtml-cancel", X = "editor.viewHtml-update", Y = "editor.unlink", Z = "editor.undo", _ = "editor.redo", $ = "editor.fontSize", ee = "editor.fontName", te = "editor.format", ie = "editor.alignLeft", oe = "editor.alignRight", ne = "editor.alignCenter", re = "editor.alignJustify", le = "editor.indent", de = "editor.outdent", ae = "editor.orderedList", ce = "editor.bulletList", se = "editor.findReplace-tool-title", pe = "editor.findReplace-dialog-title", ge = "editor.findReplace-tab-find", fe = "editor.findReplace-tab-replace", me = "editor.findReplace-findWhat", Re = "editor.findReplace-replaceWith", he = "editor.findReplace-replace", ue = "editor.findReplace-replaceAll", Ce = "editor.findReplace-matchCase", be = "editor.findReplace-matchWord", we = "editor.findReplace-matchCyclic", ke = "editor.findReplace-useRegExp", Ie = "editor.findReplace-prevMatch", Te = "editor.findReplace-nextMatch", Ae = "editor.findReplace-matches", ye = "editor.findReplace-invalidRegExp", Fe = "editor.iframeTitle", xe = {
|
|
9
9
|
[e]: "Bold",
|
|
10
10
|
[t]: "Italic",
|
|
11
11
|
[i]: "Underline",
|
|
12
12
|
[o]: "Strikethrough",
|
|
13
13
|
[n]: "Subscript",
|
|
14
14
|
[r]: "Superscript",
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
15
|
+
[Y]: "Remove hyperlink",
|
|
16
|
+
[Z]: "Undo",
|
|
17
|
+
[_]: "Redo",
|
|
18
|
+
[$]: "Font Size",
|
|
19
|
+
[ee]: "Font Name",
|
|
20
|
+
[te]: "Format",
|
|
21
|
+
[ie]: "Align text left",
|
|
22
|
+
[oe]: "Align text right",
|
|
23
|
+
[ne]: "Center text",
|
|
24
|
+
[re]: "Justify",
|
|
25
|
+
[le]: "Indent",
|
|
26
|
+
[de]: "Outdent",
|
|
27
|
+
[ae]: "Insert ordered list",
|
|
28
|
+
[ce]: "Insert unordered list",
|
|
29
29
|
[a]: "Print",
|
|
30
30
|
[c]: "Select All",
|
|
31
31
|
[s]: "Clean formatting",
|
|
@@ -33,67 +33,67 @@ const e = "editor.bold", t = "editor.italic", i = "editor.underline", o = "edito
|
|
|
33
33
|
[g]: "Color",
|
|
34
34
|
[f]: "Background color",
|
|
35
35
|
[m]: "Set ForeGround color",
|
|
36
|
-
[
|
|
36
|
+
[He]: "Set Background color",
|
|
37
37
|
// Tables
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
38
|
+
[R]: "Create a table",
|
|
39
|
+
[h]: "Create a {0} x {1} table",
|
|
40
|
+
[u]: "Add row above",
|
|
41
|
+
[C]: "Add row below",
|
|
42
|
+
[b]: "Add column on the left",
|
|
43
|
+
[w]: "Add column on the right",
|
|
44
|
+
[k]: "Delete row",
|
|
45
|
+
[I]: "Delete column",
|
|
46
|
+
[T]: "Delete table",
|
|
47
|
+
[A]: "Merge cells",
|
|
48
|
+
[y]: "Split cell",
|
|
49
49
|
// Insert Link
|
|
50
50
|
[l]: "Insert hyperlink",
|
|
51
|
-
[
|
|
52
|
-
[
|
|
53
|
-
[
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
[
|
|
51
|
+
[F]: "Insert hyperlink",
|
|
52
|
+
[H]: "Web address",
|
|
53
|
+
[x]: "Title",
|
|
54
|
+
[v]: "Open link in new window",
|
|
55
|
+
[W]: "Cancel",
|
|
56
|
+
[M]: "Insert",
|
|
57
57
|
// Insert File
|
|
58
58
|
[d]: "Insert file",
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
59
|
+
[L]: "Insert file",
|
|
60
|
+
[S]: "Web address",
|
|
61
|
+
[D]: "Title",
|
|
62
|
+
[B]: "Cancel",
|
|
63
|
+
[E]: "Insert",
|
|
64
64
|
// Insert Image
|
|
65
|
+
[N]: "Insert image",
|
|
65
66
|
[P]: "Insert image",
|
|
66
|
-
[U]: "
|
|
67
|
-
[z]: "
|
|
68
|
-
[J]: "
|
|
69
|
-
[O]: "
|
|
70
|
-
[V]: "
|
|
71
|
-
[G]: "
|
|
72
|
-
[j]: "
|
|
73
|
-
[q]: "Insert",
|
|
67
|
+
[U]: "Web address",
|
|
68
|
+
[z]: "Title",
|
|
69
|
+
[J]: "Alternate text",
|
|
70
|
+
[O]: "Width (px)",
|
|
71
|
+
[V]: "Height (px)",
|
|
72
|
+
[G]: "Cancel",
|
|
73
|
+
[j]: "Insert",
|
|
74
74
|
// View HTML
|
|
75
|
+
[q]: "View HTML",
|
|
75
76
|
[K]: "View HTML",
|
|
76
|
-
[Q]: "
|
|
77
|
-
[X]: "
|
|
78
|
-
[Y]: "Update",
|
|
77
|
+
[Q]: "Cancel",
|
|
78
|
+
[X]: "Update",
|
|
79
79
|
// Find and Replace
|
|
80
|
+
[se]: "Find and Replace",
|
|
80
81
|
[pe]: "Find and Replace",
|
|
81
|
-
[ge]: "Find
|
|
82
|
-
[fe]: "
|
|
83
|
-
[me]: "
|
|
84
|
-
[Re]: "
|
|
85
|
-
[he]: "Replace
|
|
86
|
-
[ue]: "Replace",
|
|
87
|
-
[Ce]: "
|
|
88
|
-
[be]: "Match
|
|
89
|
-
[we]: "Match
|
|
90
|
-
[ke]: "
|
|
91
|
-
[Ie]: "
|
|
92
|
-
[Te]: "
|
|
93
|
-
[Ae]: "
|
|
94
|
-
[ye]: "
|
|
95
|
-
[Fe]: "
|
|
96
|
-
[He]: "Editable area. Press Alt + F10 for toolbar."
|
|
82
|
+
[ge]: "Find",
|
|
83
|
+
[fe]: "Replace",
|
|
84
|
+
[me]: "Find What:",
|
|
85
|
+
[Re]: "Replace With",
|
|
86
|
+
[he]: "Replace",
|
|
87
|
+
[ue]: "Replace All",
|
|
88
|
+
[Ce]: "Match Case",
|
|
89
|
+
[be]: "Match whole word only",
|
|
90
|
+
[we]: "Match cyclic (Wrap around)",
|
|
91
|
+
[ke]: "Regular Expression",
|
|
92
|
+
[Ie]: "Prev",
|
|
93
|
+
[Te]: "Next",
|
|
94
|
+
[Ae]: "{0} of {1} matches",
|
|
95
|
+
[ye]: "Invalid regular expression.",
|
|
96
|
+
[Fe]: "Editable area. Press Alt + F10 for toolbar."
|
|
97
97
|
}, ve = {
|
|
98
98
|
bold: e,
|
|
99
99
|
italic: t,
|
|
@@ -101,20 +101,20 @@ const e = "editor.bold", t = "editor.italic", i = "editor.underline", o = "edito
|
|
|
101
101
|
strikethrough: o,
|
|
102
102
|
subscript: n,
|
|
103
103
|
superscript: r,
|
|
104
|
-
unlink:
|
|
105
|
-
undo:
|
|
106
|
-
redo:
|
|
107
|
-
fontSize:
|
|
108
|
-
fontName:
|
|
109
|
-
format:
|
|
110
|
-
alignLeft:
|
|
111
|
-
alignRight:
|
|
112
|
-
alignCenter:
|
|
113
|
-
alignJustify:
|
|
114
|
-
indent:
|
|
115
|
-
outdent:
|
|
116
|
-
orderedList:
|
|
117
|
-
bulletList:
|
|
104
|
+
unlink: Y,
|
|
105
|
+
undo: Z,
|
|
106
|
+
redo: _,
|
|
107
|
+
fontSize: $,
|
|
108
|
+
fontName: ee,
|
|
109
|
+
format: te,
|
|
110
|
+
alignLeft: ie,
|
|
111
|
+
alignRight: oe,
|
|
112
|
+
alignCenter: ne,
|
|
113
|
+
alignJustify: re,
|
|
114
|
+
indent: le,
|
|
115
|
+
outdent: de,
|
|
116
|
+
orderedList: ae,
|
|
117
|
+
bulletList: ce,
|
|
118
118
|
print: a,
|
|
119
119
|
selectAll: c,
|
|
120
120
|
cleanFormatting: s,
|
|
@@ -122,61 +122,60 @@ const e = "editor.bold", t = "editor.italic", i = "editor.underline", o = "edito
|
|
|
122
122
|
foregroundColor: g,
|
|
123
123
|
backgroundColor: f,
|
|
124
124
|
foregroundColorAriaLabel: m,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
splitCell: F,
|
|
125
|
+
createTable: R,
|
|
126
|
+
createTableHint: h,
|
|
127
|
+
addRowBefore: u,
|
|
128
|
+
addRowAfter: C,
|
|
129
|
+
addColumnBefore: b,
|
|
130
|
+
addColumnAfter: w,
|
|
131
|
+
deleteRow: k,
|
|
132
|
+
deleteColumn: I,
|
|
133
|
+
deleteTable: T,
|
|
134
|
+
mergeCells: A,
|
|
135
|
+
splitCell: y,
|
|
137
136
|
insertHyperlink: l,
|
|
138
|
-
insertHyperlinkDialogTitle:
|
|
139
|
-
insertHyperlinkAddress:
|
|
140
|
-
insertHyperlinkTitle:
|
|
141
|
-
insertHyperlinkNewWindow:
|
|
142
|
-
insertHyperlinkCancel:
|
|
143
|
-
insertHyperlinkInsert:
|
|
137
|
+
insertHyperlinkDialogTitle: F,
|
|
138
|
+
insertHyperlinkAddress: H,
|
|
139
|
+
insertHyperlinkTitle: x,
|
|
140
|
+
insertHyperlinkNewWindow: v,
|
|
141
|
+
insertHyperlinkCancel: W,
|
|
142
|
+
insertHyperlinkInsert: M,
|
|
144
143
|
insertFile: d,
|
|
145
|
-
insertFileDialogTitle:
|
|
146
|
-
insertFileAddress:
|
|
147
|
-
insertFileTitle:
|
|
148
|
-
insertFileCancel:
|
|
149
|
-
insertFileInsert:
|
|
150
|
-
insertImage:
|
|
151
|
-
insertImageDialogTitle:
|
|
152
|
-
insertImageAddress:
|
|
153
|
-
insertImageTitle:
|
|
154
|
-
insertImageAltText:
|
|
155
|
-
insertImageWidth:
|
|
156
|
-
insertImageHeight:
|
|
157
|
-
insertImageCancel:
|
|
158
|
-
insertImageInsert:
|
|
159
|
-
viewHtml:
|
|
160
|
-
viewHtmlDialogTitle:
|
|
161
|
-
viewHtmlCancel:
|
|
162
|
-
viewHtmlUpdate:
|
|
163
|
-
findReplaceToolTitle:
|
|
164
|
-
findReplaceDialogTitle:
|
|
165
|
-
findReplaceTabFind:
|
|
166
|
-
findReplaceTabReplace:
|
|
167
|
-
findReplaceFindWhat:
|
|
168
|
-
findReplaceReplaceWith:
|
|
169
|
-
findReplaceReplace:
|
|
170
|
-
findReplaceReplaceAll:
|
|
171
|
-
findReplaceMatchCase:
|
|
172
|
-
findReplaceMatchWord:
|
|
173
|
-
findReplaceMatchCyclic:
|
|
174
|
-
findReplaceUseRegExp:
|
|
175
|
-
findReplacePrevMatch:
|
|
176
|
-
findReplaceNextMatch:
|
|
177
|
-
findReplaceMatches:
|
|
178
|
-
findReplaceInvalidRegExp:
|
|
179
|
-
iframeTitle:
|
|
144
|
+
insertFileDialogTitle: L,
|
|
145
|
+
insertFileAddress: S,
|
|
146
|
+
insertFileTitle: D,
|
|
147
|
+
insertFileCancel: B,
|
|
148
|
+
insertFileInsert: E,
|
|
149
|
+
insertImage: N,
|
|
150
|
+
insertImageDialogTitle: P,
|
|
151
|
+
insertImageAddress: U,
|
|
152
|
+
insertImageTitle: z,
|
|
153
|
+
insertImageAltText: J,
|
|
154
|
+
insertImageWidth: O,
|
|
155
|
+
insertImageHeight: V,
|
|
156
|
+
insertImageCancel: G,
|
|
157
|
+
insertImageInsert: j,
|
|
158
|
+
viewHtml: q,
|
|
159
|
+
viewHtmlDialogTitle: K,
|
|
160
|
+
viewHtmlCancel: Q,
|
|
161
|
+
viewHtmlUpdate: X,
|
|
162
|
+
findReplaceToolTitle: se,
|
|
163
|
+
findReplaceDialogTitle: pe,
|
|
164
|
+
findReplaceTabFind: ge,
|
|
165
|
+
findReplaceTabReplace: fe,
|
|
166
|
+
findReplaceFindWhat: me,
|
|
167
|
+
findReplaceReplaceWith: Re,
|
|
168
|
+
findReplaceReplace: he,
|
|
169
|
+
findReplaceReplaceAll: ue,
|
|
170
|
+
findReplaceMatchCase: Ce,
|
|
171
|
+
findReplaceMatchWord: be,
|
|
172
|
+
findReplaceMatchCyclic: we,
|
|
173
|
+
findReplaceUseRegExp: ke,
|
|
174
|
+
findReplacePrevMatch: Ie,
|
|
175
|
+
findReplaceNextMatch: Te,
|
|
176
|
+
findReplaceMatches: Ae,
|
|
177
|
+
findReplaceInvalidRegExp: ye,
|
|
178
|
+
iframeTitle: Fe
|
|
180
179
|
};
|
|
181
180
|
export {
|
|
182
181
|
ve as keys,
|
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={name:"@progress/kendo-vue-editor",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-editor",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1750422056,version:"6.4.2-develop.3",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "6.4.
|
|
13
|
+
publishDate: 1750422056,
|
|
14
|
+
version: "6.4.2-develop.3",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-editor",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.2-develop.3",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@progress/kendo-licensing": "^1.4.0",
|
|
22
|
-
"@progress/kendo-vue-buttons": "6.4.
|
|
23
|
-
"@progress/kendo-vue-common": "6.4.
|
|
24
|
-
"@progress/kendo-vue-dialogs": "6.4.
|
|
25
|
-
"@progress/kendo-vue-dropdowns": "6.4.
|
|
26
|
-
"@progress/kendo-vue-form": "6.4.
|
|
27
|
-
"@progress/kendo-vue-inputs": "6.4.
|
|
28
|
-
"@progress/kendo-vue-intl": "6.4.
|
|
29
|
-
"@progress/kendo-vue-layout": "6.4.
|
|
30
|
-
"@progress/kendo-vue-pdf": "6.4.
|
|
31
|
-
"@progress/kendo-vue-popup": "6.4.
|
|
22
|
+
"@progress/kendo-vue-buttons": "6.4.2-develop.3",
|
|
23
|
+
"@progress/kendo-vue-common": "6.4.2-develop.3",
|
|
24
|
+
"@progress/kendo-vue-dialogs": "6.4.2-develop.3",
|
|
25
|
+
"@progress/kendo-vue-dropdowns": "6.4.2-develop.3",
|
|
26
|
+
"@progress/kendo-vue-form": "6.4.2-develop.3",
|
|
27
|
+
"@progress/kendo-vue-inputs": "6.4.2-develop.3",
|
|
28
|
+
"@progress/kendo-vue-intl": "6.4.2-develop.3",
|
|
29
|
+
"@progress/kendo-vue-layout": "6.4.2-develop.3",
|
|
30
|
+
"@progress/kendo-vue-pdf": "6.4.2-develop.3",
|
|
31
|
+
"@progress/kendo-vue-popup": "6.4.2-develop.3",
|
|
32
32
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
33
33
|
"vue": "^3.0.2"
|
|
34
34
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"package": {
|
|
52
52
|
"productName": "Kendo UI for Vue",
|
|
53
53
|
"productCode": "KENDOUIVUE",
|
|
54
|
-
"publishDate":
|
|
54
|
+
"publishDate": 1750422056,
|
|
55
55
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
56
56
|
}
|
|
57
57
|
},
|
package/tools/fontStyle.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { DropDownList as c } from "@progress/kendo-vue-dropdowns";
|
|
9
|
-
import {
|
|
9
|
+
import { applyInlineStyle as y, getInlineStyles as v } from "@progress/kendo-editor-common";
|
|
10
10
|
import { userSelectNone as g } from "./utils.mjs";
|
|
11
11
|
import { provideLocalizationService as h } from "@progress/kendo-vue-intl";
|
|
12
12
|
import { messages as I } from "../messages/main.mjs";
|
|
@@ -40,7 +40,7 @@ const L = /* @__PURE__ */ z({
|
|
|
40
40
|
...s
|
|
41
41
|
} = this.$props, {
|
|
42
42
|
style: d
|
|
43
|
-
} = a, r = o ?
|
|
43
|
+
} = a, r = o ? v(o.state, {
|
|
44
44
|
name: d,
|
|
45
45
|
value: /^.+$/
|
|
46
46
|
}) : [], l = new Set(r).size === 1 ? r[0] : null, m = t || a.items;
|
|
@@ -82,7 +82,7 @@ const L = /* @__PURE__ */ z({
|
|
|
82
82
|
style: a
|
|
83
83
|
} = t, i = o.target.value;
|
|
84
84
|
if (n) {
|
|
85
|
-
|
|
85
|
+
y({
|
|
86
86
|
style: a,
|
|
87
87
|
value: i.value
|
|
88
88
|
}, t.commandName)(n.state, n.dispatch);
|
package/tools/formatBlock.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { DropDownList as m } from "@progress/kendo-vue-dropdowns";
|
|
9
|
-
import {
|
|
9
|
+
import { formatBlockElements as g, getBlockFormats as h } from "@progress/kendo-editor-common";
|
|
10
10
|
import { userSelectNone as v } from "./utils.mjs";
|
|
11
11
|
import { provideLocalizationService as y } from "@progress/kendo-vue-intl";
|
|
12
12
|
import { messages as I } from "../messages/main.mjs";
|
|
@@ -38,7 +38,7 @@ const L = /* @__PURE__ */ k({
|
|
|
38
38
|
settings: n,
|
|
39
39
|
defaultItem: s,
|
|
40
40
|
...d
|
|
41
|
-
} = this.$props, l = a || n.items, r = e && e.state, c = r ?
|
|
41
|
+
} = this.$props, l = a || n.items, r = e && e.state, c = r ? h(r) : [], i = new Set(c).size === 1 ? c[0] : null;
|
|
42
42
|
let t = s || n.defaultItem;
|
|
43
43
|
const p = y(this);
|
|
44
44
|
t && t.localizationKey && (t = {
|
|
@@ -77,7 +77,7 @@ const L = /* @__PURE__ */ k({
|
|
|
77
77
|
view: o,
|
|
78
78
|
settings: a
|
|
79
79
|
} = this.$props, n = e.target.value;
|
|
80
|
-
if (o &&
|
|
80
|
+
if (o && g(n.value, a.commandName)(o.state, o.dispatch)) {
|
|
81
81
|
const {
|
|
82
82
|
event: s
|
|
83
83
|
} = e;
|
package/tools/inlineFormat.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { Button as r } from "@progress/kendo-vue-buttons";
|
|
9
|
-
import {
|
|
9
|
+
import { toggleInlineFormat as u, hasMark as d } from "@progress/kendo-editor-common";
|
|
10
10
|
import { provideLocalizationService as g } from "@progress/kendo-vue-intl";
|
|
11
11
|
import { messages as v } from "../messages/main.mjs";
|
|
12
12
|
import { defineComponent as f, h as k } from "vue";
|
|
@@ -45,7 +45,7 @@ const D = /* @__PURE__ */ f({
|
|
|
45
45
|
altStyle: c
|
|
46
46
|
}, p = g(this), i = e.messages.title, h = {
|
|
47
47
|
...n,
|
|
48
|
-
selected: !!o &&
|
|
48
|
+
selected: !!o && d(o, m),
|
|
49
49
|
togglable: !0,
|
|
50
50
|
title: p.toLanguageString(i, v[i]),
|
|
51
51
|
...e.props
|
|
@@ -68,7 +68,7 @@ const D = /* @__PURE__ */ f({
|
|
|
68
68
|
altMarks: e,
|
|
69
69
|
altStyle: n
|
|
70
70
|
};
|
|
71
|
-
return this.view &&
|
|
71
|
+
return this.view && u(o, t && t.tr.setMeta("commandName", this.settings.commandName))(this.view.state, this.view.dispatch);
|
|
72
72
|
},
|
|
73
73
|
preventDefault(t) {
|
|
74
74
|
t.preventDefault();
|
|
@@ -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 t=require("vue"),w=require("../utils.js"),M="k-ct-cell k-disabled",m="k-selected",k=t.defineComponent({name:"KendoPopupGrid",props:{rows:Number,columns:Number,createTableMessage:String,createTableHintMessage:String,onCellclick:Function,onDown:Function},data(){return{row:-1,col:-1}},render(){const e=[],s=this.$props.columns*this.$props.rows,{row:c,col:n}=this.$data;let i=this.$props.createTableMessage;n>-1&&(i=w.formatString(this.$props.createTableHintMessage,c+1,n+1));const a=function(o,d,h){const l=Math.floor(o/this.$props.columns),r=o%this.$props.columns,p=r<=h&&l<=d;return t.createVNode("span",{class:M+(p?` ${m}`:""),onMouseenter:()=>this.cellMouseEnter({row:l,col:r}),onClick:()=>this.onCellClick(l,r),key:o},null)};for(let o=0;o<s;o++)e.push(a.call(this,o,c,n));const u=[t.createVNode("div",{onMouseleave:()=>this.handleMouseLeave(),key:"cells",style:{borderColor:"inherit"},onPointerdown:this.onMouseDown},[e]),t.createVNode("div",{class:"k-status",key:"status",onPointerdown:this.onMouseDown},[i])];return t.createVNode("span",null,[u])},methods:{cellMouseEnter({row:e,col:s}){this.row=e,this.col=s},handleMouseLeave(){this.row=-1,this.col=-1},onCellClick(e,s){this.$emit("cellclick",e,s)},onMouseDown(e){this.$emit("down",e)}}});exports.PopupGrid=k;
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),w=require("../utils.js"),M="k-ct-cell k-disabled",m="k-selected",k=t.defineComponent({name:"KendoPopupGrid",props:{rows:Number,columns:Number,createTableMessage:String,createTableHintMessage:String,onCellclick:Function,onDown:Function},data(){return{row:-1,col:-1}},render(){const e=[],s=this.$props.columns*this.$props.rows,{row:c,col:n}=this.$data;let i=this.$props.createTableMessage;n>-1&&(i=w.formatString(this.$props.createTableHintMessage,c+1,n+1));const a=function(o,d,h){const l=Math.floor(o/this.$props.columns),r=o%this.$props.columns,p=r<=h&&l<=d;return t.createVNode("span",{class:M+(p?` ${m}`:""),onMouseenter:()=>this.cellMouseEnter({row:l,col:r}),onClick:()=>this.onCellClick(l,r),key:o},null)};for(let o=0;o<s;o++)e.push(a.call(this,o,c,n));const u=[t.createVNode("div",{onMouseleave:()=>this.handleMouseLeave(),key:"cells",style:{borderColor:"inherit"},onPointerdown:this.onMouseDown,onMousedown:this.onDown},[e]),t.createVNode("div",{class:"k-status",key:"status",onPointerdown:this.onMouseDown,onMousedown:this.onDown},[i])];return t.createVNode("span",null,[u])},methods:{cellMouseEnter({row:e,col:s}){this.row=e,this.col=s},handleMouseLeave(){this.row=-1,this.col=-1},onCellClick(e,s){this.$emit("cellclick",e,s)},onMouseDown(e){this.$emit("down",e)}}});exports.PopupGrid=k;
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { formatString as
|
|
10
|
-
const M = "k-ct-cell k-disabled", k = "k-selected", b = /* @__PURE__ */
|
|
8
|
+
import { defineComponent as w, createVNode as t } from "vue";
|
|
9
|
+
import { formatString as m } from "../utils.mjs";
|
|
10
|
+
const M = "k-ct-cell k-disabled", k = "k-selected", b = /* @__PURE__ */ w({
|
|
11
11
|
name: "KendoPopupGrid",
|
|
12
12
|
props: {
|
|
13
13
|
rows: Number,
|
|
@@ -24,14 +24,14 @@ const M = "k-ct-cell k-disabled", k = "k-selected", b = /* @__PURE__ */ m({
|
|
|
24
24
|
};
|
|
25
25
|
},
|
|
26
26
|
render() {
|
|
27
|
-
const
|
|
27
|
+
const o = [], s = this.$props.columns * this.$props.rows, {
|
|
28
28
|
row: c,
|
|
29
29
|
col: n
|
|
30
30
|
} = this.$data;
|
|
31
31
|
let i = this.$props.createTableMessage;
|
|
32
|
-
n > -1 && (i =
|
|
33
|
-
const a = function(
|
|
34
|
-
const l = Math.floor(
|
|
32
|
+
n > -1 && (i = m(this.$props.createTableHintMessage, c + 1, n + 1));
|
|
33
|
+
const a = function(e, h, p) {
|
|
34
|
+
const l = Math.floor(e / this.$props.columns), r = e % this.$props.columns, d = r <= p && l <= h;
|
|
35
35
|
return t("span", {
|
|
36
36
|
class: M + (d ? ` ${k}` : ""),
|
|
37
37
|
onMouseenter: () => this.cellMouseEnter({
|
|
@@ -39,40 +39,42 @@ const M = "k-ct-cell k-disabled", k = "k-selected", b = /* @__PURE__ */ m({
|
|
|
39
39
|
col: r
|
|
40
40
|
}),
|
|
41
41
|
onClick: () => this.onCellClick(l, r),
|
|
42
|
-
key:
|
|
42
|
+
key: e
|
|
43
43
|
}, null);
|
|
44
44
|
};
|
|
45
|
-
for (let
|
|
46
|
-
|
|
45
|
+
for (let e = 0; e < s; e++)
|
|
46
|
+
o.push(a.call(this, e, c, n));
|
|
47
47
|
const u = [t("div", {
|
|
48
48
|
onMouseleave: () => this.handleMouseLeave(),
|
|
49
49
|
key: "cells",
|
|
50
50
|
style: {
|
|
51
51
|
borderColor: "inherit"
|
|
52
52
|
},
|
|
53
|
-
onPointerdown: this.onMouseDown
|
|
54
|
-
|
|
53
|
+
onPointerdown: this.onMouseDown,
|
|
54
|
+
onMousedown: this.onDown
|
|
55
|
+
}, [o]), t("div", {
|
|
55
56
|
class: "k-status",
|
|
56
57
|
key: "status",
|
|
57
|
-
onPointerdown: this.onMouseDown
|
|
58
|
+
onPointerdown: this.onMouseDown,
|
|
59
|
+
onMousedown: this.onDown
|
|
58
60
|
}, [i])];
|
|
59
61
|
return t("span", null, [u]);
|
|
60
62
|
},
|
|
61
63
|
methods: {
|
|
62
64
|
cellMouseEnter({
|
|
63
|
-
row:
|
|
65
|
+
row: o,
|
|
64
66
|
col: s
|
|
65
67
|
}) {
|
|
66
|
-
this.row =
|
|
68
|
+
this.row = o, this.col = s;
|
|
67
69
|
},
|
|
68
70
|
handleMouseLeave() {
|
|
69
71
|
this.row = -1, this.col = -1;
|
|
70
72
|
},
|
|
71
|
-
onCellClick(
|
|
72
|
-
this.$emit("cellclick",
|
|
73
|
+
onCellClick(o, s) {
|
|
74
|
+
this.$emit("cellclick", o, s);
|
|
73
75
|
},
|
|
74
|
-
onMouseDown(
|
|
75
|
-
this.$emit("down",
|
|
76
|
+
onMouseDown(o) {
|
|
77
|
+
this.$emit("down", o);
|
|
76
78
|
}
|
|
77
79
|
}
|
|
78
80
|
});
|
|
@@ -11,7 +11,7 @@ import { guid as f } from "@progress/kendo-vue-common";
|
|
|
11
11
|
import { InsertTablePopup as m } from "./popup.mjs";
|
|
12
12
|
import { provideLocalizationService as T } from "@progress/kendo-vue-intl";
|
|
13
13
|
import { messages as c } from "../../messages/main.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { createTable as P, insertNode as v, canInsert as w } from "@progress/kendo-editor-common";
|
|
15
15
|
const z = /* @__PURE__ */ h({
|
|
16
16
|
name: "KendoInsertTable",
|
|
17
17
|
props: {
|
|
@@ -50,7 +50,7 @@ const z = /* @__PURE__ */ h({
|
|
|
50
50
|
createTableHint: a
|
|
51
51
|
} = n.messages, i = s.toLanguageString(r, c[r]), u = s.toLanguageString(a, c[a]), d = {
|
|
52
52
|
...t,
|
|
53
|
-
disabled: !o || !
|
|
53
|
+
disabled: !o || !w(o, o.schema.nodes.table),
|
|
54
54
|
key: "InsertTable",
|
|
55
55
|
title: i,
|
|
56
56
|
...n.props
|
|
@@ -85,8 +85,8 @@ const z = /* @__PURE__ */ h({
|
|
|
85
85
|
} = this.$props;
|
|
86
86
|
if (!t)
|
|
87
87
|
return;
|
|
88
|
-
const o =
|
|
89
|
-
o &&
|
|
88
|
+
const o = P(t.state.schema.nodes, e, n);
|
|
89
|
+
o && v(o, !0)(t.state, t.dispatch), t.focus(), this.closePopup();
|
|
90
90
|
},
|
|
91
91
|
preventDefault(e) {
|
|
92
92
|
e.preventDefault();
|
package/tools/lists.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { Button as d } from "@progress/kendo-vue-buttons";
|
|
9
|
-
import {
|
|
9
|
+
import { toggleList as g, hasNode as m } from "@progress/kendo-editor-common";
|
|
10
10
|
import { provideLocalizationService as v } from "@progress/kendo-vue-intl";
|
|
11
11
|
import { messages as y } from "../messages/main.mjs";
|
|
12
12
|
import { defineComponent as L, h as b } from "vue";
|
package/tools/unlink.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { Button as s } from "@progress/kendo-vue-buttons";
|
|
9
|
-
import {
|
|
9
|
+
import { removeLink as c, hasMark as p } from "@progress/kendo-editor-common";
|
|
10
10
|
import { provideLocalizationService as l } from "@progress/kendo-vue-intl";
|
|
11
11
|
import { messages as d } from "../messages/main.mjs";
|
|
12
12
|
import { defineComponent as k, h } from "vue";
|
|
@@ -36,7 +36,7 @@ const C = /* @__PURE__ */ k({
|
|
|
36
36
|
...o
|
|
37
37
|
} = this.$props, i = {
|
|
38
38
|
mark: e.mark
|
|
39
|
-
}, r = t ?
|
|
39
|
+
}, r = t ? p(t.state, i) : !1, a = l(this), n = e.messages.title, m = {
|
|
40
40
|
...o,
|
|
41
41
|
disabled: !r,
|
|
42
42
|
title: a.toLanguageString(n, d[n]),
|
|
@@ -55,7 +55,7 @@ const C = /* @__PURE__ */ k({
|
|
|
55
55
|
} = this.$props, o = {
|
|
56
56
|
mark: e.mark
|
|
57
57
|
};
|
|
58
|
-
t &&
|
|
58
|
+
t && c(o, t.state.tr.setMeta("commandName", e.commandName))(t.state, t.dispatch);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
});
|