@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/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", R = "editor.backgroundColorAriaLabel", h = "editor.createTable", u = "editor.insertTableHint", C = "editor.addRowBefore", b = "editor.addRowAfter", w = "editor.addColumnBefore", k = "editor.addColumnAfter", I = "editor.deleteRow", T = "editor.deleteColumn", A = "editor.deleteTable", y = "editor.mergeCells", F = "editor.splitCell", H = "editor.hyperlink-dialog-title", x = "editor.hyperlink-dialog-content-address", v = "editor.hyperlink-dialog-content-title", W = "editor.hyperlink-dialog-content-newwindow", M = "editor.hyperlink-dialog-cancel", L = "editor.hyperlink-dialog-insert", S = "editor.insertfile-dialog-title", D = "editor.insertfile-dialog-content-address", B = "editor.insertfile-dialog-content-title", E = "editor.insertfile-dialog-cancel", N = "editor.insertfile-dialog-insert", P = "editor.image", U = "editor.image-dialog-title", z = "editor.image-address", J = "editor.image-title", O = "editor.image-altText", V = "editor.image-width", G = "editor.image-height", j = "editor.image-cancel", q = "editor.image-insert", K = "editor.viewHtml", Q = "editor.viewHtml-dialog-title", X = "editor.viewHtml-cancel", Y = "editor.viewHtml-update", Z = "editor.unlink", _ = "editor.undo", $ = "editor.redo", ee = "editor.fontSize", te = "editor.fontName", ie = "editor.format", oe = "editor.alignLeft", ne = "editor.alignRight", re = "editor.alignCenter", le = "editor.alignJustify", de = "editor.indent", ae = "editor.outdent", ce = "editor.orderedList", se = "editor.bulletList", pe = "editor.findReplace-tool-title", ge = "editor.findReplace-dialog-title", fe = "editor.findReplace-tab-find", me = "editor.findReplace-tab-replace", Re = "editor.findReplace-findWhat", he = "editor.findReplace-replaceWith", ue = "editor.findReplace-replace", Ce = "editor.findReplace-replaceAll", be = "editor.findReplace-matchCase", we = "editor.findReplace-matchWord", ke = "editor.findReplace-matchCyclic", Ie = "editor.findReplace-useRegExp", Te = "editor.findReplace-prevMatch", Ae = "editor.findReplace-nextMatch", ye = "editor.findReplace-matches", Fe = "editor.findReplace-invalidRegExp", He = "editor.iframeTitle", xe = {
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
- [Z]: "Remove hyperlink",
16
- [_]: "Undo",
17
- [$]: "Redo",
18
- [ee]: "Font Size",
19
- [te]: "Font Name",
20
- [ie]: "Format",
21
- [oe]: "Align text left",
22
- [ne]: "Align text right",
23
- [re]: "Center text",
24
- [le]: "Justify",
25
- [de]: "Indent",
26
- [ae]: "Outdent",
27
- [ce]: "Insert ordered list",
28
- [se]: "Insert unordered list",
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
- [R]: "Set Background color",
36
+ [He]: "Set Background color",
37
37
  // Tables
38
- [h]: "Create a table",
39
- [u]: "Create a {0} x {1} table",
40
- [C]: "Add row above",
41
- [b]: "Add row below",
42
- [w]: "Add column on the left",
43
- [k]: "Add column on the right",
44
- [I]: "Delete row",
45
- [T]: "Delete column",
46
- [A]: "Delete table",
47
- [y]: "Merge cells",
48
- [F]: "Split cell",
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
- [H]: "Insert hyperlink",
52
- [x]: "Web address",
53
- [v]: "Title",
54
- [W]: "Open link in new window",
55
- [M]: "Cancel",
56
- [L]: "Insert",
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
- [S]: "Insert file",
60
- [D]: "Web address",
61
- [B]: "Title",
62
- [E]: "Cancel",
63
- [N]: "Insert",
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]: "Insert image",
67
- [z]: "Web address",
68
- [J]: "Title",
69
- [O]: "Alternate text",
70
- [V]: "Width (px)",
71
- [G]: "Height (px)",
72
- [j]: "Cancel",
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]: "View HTML",
77
- [X]: "Cancel",
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 and Replace",
82
- [fe]: "Find",
83
- [me]: "Replace",
84
- [Re]: "Find What:",
85
- [he]: "Replace With",
86
- [ue]: "Replace",
87
- [Ce]: "Replace All",
88
- [be]: "Match Case",
89
- [we]: "Match whole word only",
90
- [ke]: "Match cyclic (Wrap around)",
91
- [Ie]: "Regular Expression",
92
- [Te]: "Prev",
93
- [Ae]: "Next",
94
- [ye]: "{0} of {1} matches",
95
- [Fe]: "Invalid regular expression.",
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: Z,
105
- undo: _,
106
- redo: $,
107
- fontSize: ee,
108
- fontName: te,
109
- format: ie,
110
- alignLeft: oe,
111
- alignRight: ne,
112
- alignCenter: re,
113
- alignJustify: le,
114
- indent: de,
115
- outdent: ae,
116
- orderedList: ce,
117
- bulletList: se,
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
- backgroundColorAriaLabel: R,
126
- createTable: h,
127
- createTableHint: u,
128
- addRowBefore: C,
129
- addRowAfter: b,
130
- addColumnBefore: w,
131
- addColumnAfter: k,
132
- deleteRow: I,
133
- deleteColumn: T,
134
- deleteTable: A,
135
- mergeCells: y,
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: H,
139
- insertHyperlinkAddress: x,
140
- insertHyperlinkTitle: v,
141
- insertHyperlinkNewWindow: W,
142
- insertHyperlinkCancel: M,
143
- insertHyperlinkInsert: L,
137
+ insertHyperlinkDialogTitle: F,
138
+ insertHyperlinkAddress: H,
139
+ insertHyperlinkTitle: x,
140
+ insertHyperlinkNewWindow: v,
141
+ insertHyperlinkCancel: W,
142
+ insertHyperlinkInsert: M,
144
143
  insertFile: d,
145
- insertFileDialogTitle: S,
146
- insertFileAddress: D,
147
- insertFileTitle: B,
148
- insertFileCancel: E,
149
- insertFileInsert: N,
150
- insertImage: P,
151
- insertImageDialogTitle: U,
152
- insertImageAddress: z,
153
- insertImageTitle: J,
154
- insertImageAltText: O,
155
- insertImageWidth: V,
156
- insertImageHeight: G,
157
- insertImageCancel: j,
158
- insertImageInsert: q,
159
- viewHtml: K,
160
- viewHtmlDialogTitle: Q,
161
- viewHtmlCancel: X,
162
- viewHtmlUpdate: Y,
163
- findReplaceToolTitle: pe,
164
- findReplaceDialogTitle: ge,
165
- findReplaceTabFind: fe,
166
- findReplaceTabReplace: me,
167
- findReplaceFindWhat: Re,
168
- findReplaceReplaceWith: he,
169
- findReplaceReplace: ue,
170
- findReplaceReplaceAll: Ce,
171
- findReplaceMatchCase: be,
172
- findReplaceMatchWord: we,
173
- findReplaceMatchCyclic: ke,
174
- findReplaceUseRegExp: Ie,
175
- findReplacePrevMatch: Te,
176
- findReplaceNextMatch: Ae,
177
- findReplaceMatches: ye,
178
- findReplaceInvalidRegExp: Fe,
179
- iframeTitle: He
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,
@@ -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: 1748962112,version:"6.4.1-develop.2",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;
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;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1748962112,
14
- version: "6.4.1-develop.2",
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.1-develop.2",
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.1-develop.2",
23
- "@progress/kendo-vue-common": "6.4.1-develop.2",
24
- "@progress/kendo-vue-dialogs": "6.4.1-develop.2",
25
- "@progress/kendo-vue-dropdowns": "6.4.1-develop.2",
26
- "@progress/kendo-vue-form": "6.4.1-develop.2",
27
- "@progress/kendo-vue-inputs": "6.4.1-develop.2",
28
- "@progress/kendo-vue-intl": "6.4.1-develop.2",
29
- "@progress/kendo-vue-layout": "6.4.1-develop.2",
30
- "@progress/kendo-vue-pdf": "6.4.1-develop.2",
31
- "@progress/kendo-vue-popup": "6.4.1-develop.2",
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": 1748962112,
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
  },
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { DropDownList as c } from "@progress/kendo-vue-dropdowns";
9
- import { getInlineStyles as y, applyInlineStyle as v } from "@progress/kendo-editor-common";
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 ? y(o.state, {
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
- v({
85
+ y({
86
86
  style: a,
87
87
  value: i.value
88
88
  }, t.commandName)(n.state, n.dispatch);
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { DropDownList as m } from "@progress/kendo-vue-dropdowns";
9
- import { getBlockFormats as g, formatBlockElements as h } from "@progress/kendo-editor-common";
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 ? g(r) : [], i = new Set(c).size === 1 ? c[0] : null;
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 && h(n.value, a.commandName)(o.state, o.dispatch)) {
80
+ if (o && g(n.value, a.commandName)(o.state, o.dispatch)) {
81
81
  const {
82
82
  event: s
83
83
  } = e;
@@ -6,7 +6,7 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { Button as r } from "@progress/kendo-vue-buttons";
9
- import { hasMark as u, toggleInlineFormat as d } from "@progress/kendo-editor-common";
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 && u(o, m),
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 && d(o, t && t.tr.setMeta("commandName", this.settings.commandName))(this.view.state, this.view.dispatch);
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 m, createVNode as t } from "vue";
9
- import { formatString as w } from "../utils.mjs";
10
- const M = "k-ct-cell k-disabled", k = "k-selected", b = /* @__PURE__ */ m({
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 e = [], s = this.$props.columns * this.$props.rows, {
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 = w(this.$props.createTableHintMessage, c + 1, n + 1));
33
- const a = function(o, h, p) {
34
- const l = Math.floor(o / this.$props.columns), r = o % this.$props.columns, d = r <= p && l <= h;
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: o
42
+ key: e
43
43
  }, null);
44
44
  };
45
- for (let o = 0; o < s; o++)
46
- e.push(a.call(this, o, c, n));
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
- }, [e]), t("div", {
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: e,
65
+ row: o,
64
66
  col: s
65
67
  }) {
66
- this.row = e, this.col = s;
68
+ this.row = o, this.col = s;
67
69
  },
68
70
  handleMouseLeave() {
69
71
  this.row = -1, this.col = -1;
70
72
  },
71
- onCellClick(e, s) {
72
- this.$emit("cellclick", e, s);
73
+ onCellClick(o, s) {
74
+ this.$emit("cellclick", o, s);
73
75
  },
74
- onMouseDown(e) {
75
- this.$emit("down", e);
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 { canInsert as P, createTable as v, insertNode as w } from "@progress/kendo-editor-common";
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 || !P(o, o.schema.nodes.table),
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 = v(t.state.schema.nodes, e, n);
89
- o && w(o, !0)(t.state, t.dispatch), t.focus(), this.closePopup();
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 { hasNode as m, toggleList as g } from "@progress/kendo-editor-common";
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 { hasMark as c, removeLink as p } from "@progress/kendo-editor-common";
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 ? c(t.state, i) : !1, a = l(this), n = e.messages.title, m = {
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 && p(o, t.state.tr.setMeta("commandName", e.commandName))(t.state, t.dispatch);
58
+ t && c(o, t.state.tr.setMeta("commandName", e.commandName))(t.state, t.dispatch);
59
59
  }
60
60
  }
61
61
  });