@progress/kendo-vue-editor 6.0.1 → 6.1.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.
Files changed (81) hide show
  1. package/Editor.js +1 -1
  2. package/Editor.mjs +1 -1
  3. package/README.md +1 -1
  4. package/config/defaultStyles.js +1 -1
  5. package/config/defaultStyles.mjs +1 -1
  6. package/config/schema.js +1 -1
  7. package/config/schema.mjs +1 -1
  8. package/config/shortcuts.js +1 -1
  9. package/config/shortcuts.mjs +1 -1
  10. package/config/toolsSettings.js +1 -1
  11. package/config/toolsSettings.mjs +1 -1
  12. package/dialogs/FindReplace.js +1 -1
  13. package/dialogs/FindReplace.mjs +1 -1
  14. package/dialogs/insertImage.js +1 -1
  15. package/dialogs/insertImage.mjs +1 -1
  16. package/dialogs/insertLink.js +1 -1
  17. package/dialogs/insertLink.mjs +1 -1
  18. package/dialogs/viewHtml.js +1 -1
  19. package/dialogs/viewHtml.mjs +1 -1
  20. package/dist/cdn/js/kendo-vue-editor.js +2 -2
  21. package/index.d.mts +31 -32
  22. package/index.d.ts +31 -32
  23. package/index.js +1 -1
  24. package/index.mjs +1 -1
  25. package/messages/main.js +1 -1
  26. package/messages/main.mjs +1 -1
  27. package/package-metadata.js +1 -1
  28. package/package-metadata.mjs +2 -2
  29. package/package.json +11 -11
  30. package/tools/align.js +1 -1
  31. package/tools/align.mjs +1 -1
  32. package/tools/applyColor.js +1 -1
  33. package/tools/applyColor.mjs +1 -1
  34. package/tools/cleanFormatting.js +1 -1
  35. package/tools/cleanFormatting.mjs +1 -1
  36. package/tools/findReplace.js +1 -1
  37. package/tools/findReplace.mjs +1 -1
  38. package/tools/fontStyle.js +2 -2
  39. package/tools/fontStyle.mjs +24 -29
  40. package/tools/formatBlock.js +2 -2
  41. package/tools/formatBlock.mjs +25 -30
  42. package/tools/indent.js +1 -1
  43. package/tools/indent.mjs +1 -1
  44. package/tools/inlineFormat.js +1 -1
  45. package/tools/inlineFormat.mjs +1 -1
  46. package/tools/insertImage.js +1 -1
  47. package/tools/insertImage.mjs +1 -1
  48. package/tools/insertLink.js +1 -1
  49. package/tools/insertLink.mjs +1 -1
  50. package/tools/insertTable/popup.js +1 -1
  51. package/tools/insertTable/popup.mjs +1 -1
  52. package/tools/insertTable/popupGrid.js +2 -2
  53. package/tools/insertTable/popupGrid.mjs +20 -22
  54. package/tools/insertTable/tool.js +1 -1
  55. package/tools/insertTable/tool.mjs +1 -1
  56. package/tools/lists.js +1 -1
  57. package/tools/lists.mjs +1 -1
  58. package/tools/outdent.js +1 -1
  59. package/tools/outdent.mjs +1 -1
  60. package/tools/pdf.js +1 -1
  61. package/tools/pdf.mjs +1 -1
  62. package/tools/print.js +1 -1
  63. package/tools/print.mjs +1 -1
  64. package/tools/proseMirrorTool.js +1 -1
  65. package/tools/proseMirrorTool.mjs +1 -1
  66. package/tools/selectAll.js +1 -1
  67. package/tools/selectAll.mjs +1 -1
  68. package/tools/unlink.js +1 -1
  69. package/tools/unlink.mjs +1 -1
  70. package/tools/utils.js +1 -1
  71. package/tools/utils.mjs +1 -1
  72. package/tools/viewHtml.js +1 -1
  73. package/tools/viewHtml.mjs +1 -1
  74. package/utils/browser-detection.js +1 -1
  75. package/utils/browser-detection.mjs +1 -1
  76. package/utils/controlled-value.js +1 -1
  77. package/utils/controlled-value.mjs +1 -1
  78. package/utils/main.js +1 -1
  79. package/utils/main.mjs +1 -1
  80. package/utils/props-key.js +1 -1
  81. package/utils/props-key.mjs +1 -1
package/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -237,31 +237,31 @@ preventDefault(e: any): void;
237
237
  * Returns the `view` object of the Editor.
238
238
  */
239
239
  export declare const Editor: DefineComponent<ExtractPropTypes< {
240
- defaultContent: StringConstructor;
241
- value: (ObjectConstructor | StringConstructor)[];
240
+ defaultContent: PropType<string>;
241
+ value: PropType<string | Node_2>;
242
242
  defaultEditMode: {
243
- type: StringConstructor;
243
+ type: PropType<string>;
244
244
  default: string;
245
245
  validator: (value: string) => any;
246
246
  };
247
- contentStyle: ObjectConstructor;
248
- dir: StringConstructor;
249
- tools: ArrayConstructor;
247
+ contentStyle: PropType<object>;
248
+ dir: PropType<string>;
249
+ tools: PropType<any[]>;
250
250
  keyboardNavigation: {
251
- type: BooleanConstructor;
251
+ type: PropType<boolean>;
252
252
  default: boolean;
253
253
  };
254
- resizable: BooleanConstructor;
254
+ resizable: PropType<boolean>;
255
255
  preserveWhitespace: {
256
- type: (BooleanConstructor | StringConstructor)[];
256
+ type: PropType<string | boolean>;
257
257
  default: string;
258
258
  validator: (value: any) => any;
259
259
  };
260
- pasteHtml: FunctionConstructor;
261
- extendView: FunctionConstructor;
262
- ariaDescribedBy: StringConstructor;
263
- ariaLabelledBy: StringConstructor;
264
- ariaLabel: StringConstructor;
260
+ pasteHtml: PropType<(event: EditorPasteEvent) => string | void>;
261
+ extendView: PropType<(event: EditorMountEvent) => void | EditorView>;
262
+ ariaDescribedBy: PropType<string>;
263
+ ariaLabelledBy: PropType<string>;
264
+ ariaLabel: PropType<string>;
265
265
  }>, {}, {
266
266
  updateGuid: any;
267
267
  view: any;
@@ -290,31 +290,31 @@ change: any;
290
290
  loaded: any;
291
291
  execute: any;
292
292
  }, string, PublicProps, Readonly<ExtractPropTypes< {
293
- defaultContent: StringConstructor;
294
- value: (ObjectConstructor | StringConstructor)[];
293
+ defaultContent: PropType<string>;
294
+ value: PropType<string | Node_2>;
295
295
  defaultEditMode: {
296
- type: StringConstructor;
296
+ type: PropType<string>;
297
297
  default: string;
298
298
  validator: (value: string) => any;
299
299
  };
300
- contentStyle: ObjectConstructor;
301
- dir: StringConstructor;
302
- tools: ArrayConstructor;
300
+ contentStyle: PropType<object>;
301
+ dir: PropType<string>;
302
+ tools: PropType<any[]>;
303
303
  keyboardNavigation: {
304
- type: BooleanConstructor;
304
+ type: PropType<boolean>;
305
305
  default: boolean;
306
306
  };
307
- resizable: BooleanConstructor;
307
+ resizable: PropType<boolean>;
308
308
  preserveWhitespace: {
309
- type: (BooleanConstructor | StringConstructor)[];
309
+ type: PropType<string | boolean>;
310
310
  default: string;
311
311
  validator: (value: any) => any;
312
312
  };
313
- pasteHtml: FunctionConstructor;
314
- extendView: FunctionConstructor;
315
- ariaDescribedBy: StringConstructor;
316
- ariaLabelledBy: StringConstructor;
317
- ariaLabel: StringConstructor;
313
+ pasteHtml: PropType<(event: EditorPasteEvent) => string | void>;
314
+ extendView: PropType<(event: EditorMountEvent) => void | EditorView>;
315
+ ariaDescribedBy: PropType<string>;
316
+ ariaLabelledBy: PropType<string>;
317
+ ariaLabel: PropType<string>;
318
318
  }>> & Readonly<{
319
319
  onBlur?: (...args: any[] | unknown[]) => any;
320
320
  onChange?: (...args: any[] | unknown[]) => any;
@@ -323,7 +323,6 @@ onLoaded?: (...args: any[] | unknown[]) => any;
323
323
  onExecute?: (...args: any[] | unknown[]) => any;
324
324
  }>, {
325
325
  keyboardNavigation: boolean;
326
- resizable: boolean;
327
326
  preserveWhitespace: string | boolean;
328
327
  defaultEditMode: string;
329
328
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1481,7 +1480,7 @@ declare interface FindAndReplaceProps extends BasicToolProps, ToolRenderProp, Bu
1481
1480
  */
1482
1481
  export declare const FontName: DefineComponent< {}, {}, {}, {}, {
1483
1482
  customItemRender(h: any, li: any, itemProps: any): any;
1484
- onChange(e: DropDownListChangeEvent): void;
1483
+ onFontNameChange(e: DropDownListChangeEvent): void;
1485
1484
  }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {} | {
1486
1485
  [x: string]: any;
1487
1486
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1491,7 +1490,7 @@ onChange(e: DropDownListChangeEvent): void;
1491
1490
  */
1492
1491
  export declare const FormatBlock: DefineComponent< {}, {}, {}, {}, {
1493
1492
  customItemRender(hRender: any, li: any, itemProps: any): any;
1494
- onChange(e: DropDownListChangeEvent): void;
1493
+ onFormatBlockChange(e: DropDownListChangeEvent): void;
1495
1494
  }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {} | {
1496
1495
  [x: string]: any;
1497
1496
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -237,31 +237,31 @@ preventDefault(e: any): void;
237
237
  * Returns the `view` object of the Editor.
238
238
  */
239
239
  export declare const Editor: DefineComponent<ExtractPropTypes< {
240
- defaultContent: StringConstructor;
241
- value: (ObjectConstructor | StringConstructor)[];
240
+ defaultContent: PropType<string>;
241
+ value: PropType<string | Node_2>;
242
242
  defaultEditMode: {
243
- type: StringConstructor;
243
+ type: PropType<string>;
244
244
  default: string;
245
245
  validator: (value: string) => any;
246
246
  };
247
- contentStyle: ObjectConstructor;
248
- dir: StringConstructor;
249
- tools: ArrayConstructor;
247
+ contentStyle: PropType<object>;
248
+ dir: PropType<string>;
249
+ tools: PropType<any[]>;
250
250
  keyboardNavigation: {
251
- type: BooleanConstructor;
251
+ type: PropType<boolean>;
252
252
  default: boolean;
253
253
  };
254
- resizable: BooleanConstructor;
254
+ resizable: PropType<boolean>;
255
255
  preserveWhitespace: {
256
- type: (BooleanConstructor | StringConstructor)[];
256
+ type: PropType<string | boolean>;
257
257
  default: string;
258
258
  validator: (value: any) => any;
259
259
  };
260
- pasteHtml: FunctionConstructor;
261
- extendView: FunctionConstructor;
262
- ariaDescribedBy: StringConstructor;
263
- ariaLabelledBy: StringConstructor;
264
- ariaLabel: StringConstructor;
260
+ pasteHtml: PropType<(event: EditorPasteEvent) => string | void>;
261
+ extendView: PropType<(event: EditorMountEvent) => void | EditorView>;
262
+ ariaDescribedBy: PropType<string>;
263
+ ariaLabelledBy: PropType<string>;
264
+ ariaLabel: PropType<string>;
265
265
  }>, {}, {
266
266
  updateGuid: any;
267
267
  view: any;
@@ -290,31 +290,31 @@ change: any;
290
290
  loaded: any;
291
291
  execute: any;
292
292
  }, string, PublicProps, Readonly<ExtractPropTypes< {
293
- defaultContent: StringConstructor;
294
- value: (ObjectConstructor | StringConstructor)[];
293
+ defaultContent: PropType<string>;
294
+ value: PropType<string | Node_2>;
295
295
  defaultEditMode: {
296
- type: StringConstructor;
296
+ type: PropType<string>;
297
297
  default: string;
298
298
  validator: (value: string) => any;
299
299
  };
300
- contentStyle: ObjectConstructor;
301
- dir: StringConstructor;
302
- tools: ArrayConstructor;
300
+ contentStyle: PropType<object>;
301
+ dir: PropType<string>;
302
+ tools: PropType<any[]>;
303
303
  keyboardNavigation: {
304
- type: BooleanConstructor;
304
+ type: PropType<boolean>;
305
305
  default: boolean;
306
306
  };
307
- resizable: BooleanConstructor;
307
+ resizable: PropType<boolean>;
308
308
  preserveWhitespace: {
309
- type: (BooleanConstructor | StringConstructor)[];
309
+ type: PropType<string | boolean>;
310
310
  default: string;
311
311
  validator: (value: any) => any;
312
312
  };
313
- pasteHtml: FunctionConstructor;
314
- extendView: FunctionConstructor;
315
- ariaDescribedBy: StringConstructor;
316
- ariaLabelledBy: StringConstructor;
317
- ariaLabel: StringConstructor;
313
+ pasteHtml: PropType<(event: EditorPasteEvent) => string | void>;
314
+ extendView: PropType<(event: EditorMountEvent) => void | EditorView>;
315
+ ariaDescribedBy: PropType<string>;
316
+ ariaLabelledBy: PropType<string>;
317
+ ariaLabel: PropType<string>;
318
318
  }>> & Readonly<{
319
319
  onBlur?: (...args: any[] | unknown[]) => any;
320
320
  onChange?: (...args: any[] | unknown[]) => any;
@@ -323,7 +323,6 @@ onLoaded?: (...args: any[] | unknown[]) => any;
323
323
  onExecute?: (...args: any[] | unknown[]) => any;
324
324
  }>, {
325
325
  keyboardNavigation: boolean;
326
- resizable: boolean;
327
326
  preserveWhitespace: string | boolean;
328
327
  defaultEditMode: string;
329
328
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1481,7 +1480,7 @@ declare interface FindAndReplaceProps extends BasicToolProps, ToolRenderProp, Bu
1481
1480
  */
1482
1481
  export declare const FontName: DefineComponent< {}, {}, {}, {}, {
1483
1482
  customItemRender(h: any, li: any, itemProps: any): any;
1484
- onChange(e: DropDownListChangeEvent): void;
1483
+ onFontNameChange(e: DropDownListChangeEvent): void;
1485
1484
  }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {} | {
1486
1485
  [x: string]: any;
1487
1486
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1491,7 +1490,7 @@ onChange(e: DropDownListChangeEvent): void;
1491
1490
  */
1492
1491
  export declare const FormatBlock: DefineComponent< {}, {}, {}, {}, {
1493
1492
  customItemRender(hRender: any, li: any, itemProps: any): any;
1494
- onChange(e: DropDownListChangeEvent): void;
1493
+ onFormatBlockChange(e: DropDownListChangeEvent): void;
1495
1494
  }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {} | {
1496
1495
  [x: string]: any;
1497
1496
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/messages/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/messages/main.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -9,7 +9,7 @@ const e = {
9
9
  name: "@progress/kendo-vue-editor",
10
10
  productName: "Kendo UI for Vue",
11
11
  productCodes: ["KENDOUIVUE", "KENDOUICOMPLETE"],
12
- publishDate: 1732627660,
12
+ publishDate: 1736868805,
13
13
  version: "",
14
14
  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"
15
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-editor",
3
- "version": "6.0.1",
3
+ "version": "6.1.0-develop.1",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -16,16 +16,16 @@
16
16
  "sideEffects": false,
17
17
  "peerDependencies": {
18
18
  "@progress/kendo-licensing": "^1.3.4",
19
- "@progress/kendo-vue-buttons": "6.0.1",
20
- "@progress/kendo-vue-common": "6.0.1",
21
- "@progress/kendo-vue-dialogs": "6.0.1",
22
- "@progress/kendo-vue-dropdowns": "6.0.1",
23
- "@progress/kendo-vue-form": "6.0.1",
24
- "@progress/kendo-vue-inputs": "6.0.1",
25
- "@progress/kendo-vue-intl": "6.0.1",
26
- "@progress/kendo-vue-layout": "6.0.1",
27
- "@progress/kendo-vue-pdf": "6.0.1",
28
- "@progress/kendo-vue-popup": "6.0.1",
19
+ "@progress/kendo-vue-buttons": "6.1.0-develop.1",
20
+ "@progress/kendo-vue-common": "6.1.0-develop.1",
21
+ "@progress/kendo-vue-dialogs": "6.1.0-develop.1",
22
+ "@progress/kendo-vue-dropdowns": "6.1.0-develop.1",
23
+ "@progress/kendo-vue-form": "6.1.0-develop.1",
24
+ "@progress/kendo-vue-inputs": "6.1.0-develop.1",
25
+ "@progress/kendo-vue-intl": "6.1.0-develop.1",
26
+ "@progress/kendo-vue-layout": "6.1.0-develop.1",
27
+ "@progress/kendo-vue-pdf": "6.1.0-develop.1",
28
+ "@progress/kendo-vue-popup": "6.1.0-develop.1",
29
29
  "@progress/kendo-svg-icons": "^4.0.0",
30
30
  "vue": "^3.0.2"
31
31
  },
package/tools/align.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
package/tools/align.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
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 d=require("@progress/kendo-vue-dropdowns"),u=require("@progress/kendo-editor-common"),f=require("./utils.js"),I=require("@progress/kendo-vue-intl"),h=require("../messages/main.js"),m=require("vue"),k=m.defineComponent({name:"KendoFontName",props:{view:Object,settings:{type:Object,default:function(){return{messages:{}}}},...d.DropDownList.props},inject:{kendoLocalizationService:{default:null}},render(){const{view:n,render:o,dataItems:t,settings:s,defaultItem:i,...a}=this.$props,{style:p}=s,c=n?u.getInlineStyles(n.state,{name:p,value:/^.+$/}):[],l=new Set(c).size===1?c[0]:null,r=t||s.items;let e=i||s.defaultItem;const y=I.provideLocalizationService(this);e&&e.localizationKey&&(e={...e},e.text=e.localizationKey?y.toLanguageString(e.localizationKey,h.messages[e.localizationKey]):e.text);const v={...a,value:l&&r.find(g=>g.value===l),dataItems:r,defaultItem:e,itemRender:this.customItemRender,textField:"text",dataItemKey:"value",leftRightKeysNavigation:!1,title:e.text,...s.props};return m.h(d.DropDownList,{onChange:this.onChange,style:f.userSelectNone,...v})},methods:{customItemRender(n,o,t){return t.dataItem.style?n("li",{class:t.itemClass,onClick:t.onClick,on:{click:t.onClick}},[n("span",{style:t.dataItem.style},[...o.children])]):o},onChange(n){const{view:o,settings:t}=this.$props,{style:s}=t,i=n.target.value;if(o){u.applyInlineStyle({style:s,value:i.value},t.commandName)(o.state,o.dispatch);const{event:a}=n;a&&a.type==="click"&&o.focus()}}}});exports.FontName=k;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@progress/kendo-vue-dropdowns"),u=require("@progress/kendo-editor-common"),f=require("./utils.js"),I=require("@progress/kendo-vue-intl"),h=require("../messages/main.js"),m=require("vue"),w=m.defineComponent({name:"KendoFontName",props:{view:Object,settings:{type:Object,default:function(){return{messages:{}}}},...d.DropDownList.props},inject:{kendoLocalizationService:{default:null}},render(){const{view:n,render:o,dataItems:t,settings:s,defaultItem:i,...a}=this.$props,{style:p}=s,r=n?u.getInlineStyles(n.state,{name:p,value:/^.+$/}):[],l=new Set(r).size===1?r[0]:null,c=t||s.items;let e=i||s.defaultItem;const y=I.provideLocalizationService(this);e&&e.localizationKey&&(e={...e},e.text=e.localizationKey?y.toLanguageString(e.localizationKey,h.messages[e.localizationKey]):e.text);const v={...a,...s.props,value:l&&c.find(g=>g.value===l),dataItems:c,defaultItem:e,itemRender:this.customItemRender,textField:"text",dataItemKey:"value",leftRightKeysNavigation:!1,title:e.text,onChange:this.onFontNameChange,style:f.userSelectNone};return m.h(d.DropDownList,v)},methods:{customItemRender(n,o,t){return t.dataItem.style?n("li",{class:t.itemClass,onClick:t.onClick},[n("span",{style:t.dataItem.style},[...o.children])]):o},onFontNameChange(n){const{view:o,settings:t}=this.$props,{style:s}=t,i=n.target.value;if(o){u.applyInlineStyle({style:s,value:i.value},t.commandName)(o.state,o.dispatch);const{event:a}=n;a&&a.type==="click"&&o.focus()}}}});exports.FontName=w;
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { DropDownList as m } from "@progress/kendo-vue-dropdowns";
8
+ import { DropDownList as c } from "@progress/kendo-vue-dropdowns";
9
9
  import { getInlineStyles as y, applyInlineStyle 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";
13
- import { defineComponent as z, h as C } from "vue";
14
- const R = /* @__PURE__ */ z({
13
+ import { defineComponent as z, h as w } from "vue";
14
+ const L = /* @__PURE__ */ z({
15
15
  name: "KendoFontName",
16
16
  props: {
17
17
  view: Object,
@@ -23,7 +23,7 @@ const R = /* @__PURE__ */ z({
23
23
  };
24
24
  }
25
25
  },
26
- ...m.props
26
+ ...c.props
27
27
  },
28
28
  inject: {
29
29
  kendoLocalizationService: {
@@ -35,70 +35,65 @@ const R = /* @__PURE__ */ z({
35
35
  view: o,
36
36
  render: n,
37
37
  dataItems: t,
38
- settings: s,
38
+ settings: a,
39
39
  defaultItem: i,
40
- ...a
40
+ ...s
41
41
  } = this.$props, {
42
42
  style: d
43
- } = s, c = o ? y(o.state, {
43
+ } = a, r = o ? y(o.state, {
44
44
  name: d,
45
45
  value: /^.+$/
46
- }) : [], l = new Set(c).size === 1 ? c[0] : null, r = t || s.items;
47
- let e = i || s.defaultItem;
46
+ }) : [], l = new Set(r).size === 1 ? r[0] : null, m = t || a.items;
47
+ let e = i || a.defaultItem;
48
48
  const p = h(this);
49
49
  e && e.localizationKey && (e = {
50
50
  ...e
51
51
  }, e.text = e.localizationKey ? p.toLanguageString(e.localizationKey, I[e.localizationKey]) : e.text);
52
52
  const u = {
53
- ...a,
54
- value: l && r.find((f) => f.value === l),
55
- dataItems: r,
53
+ ...s,
54
+ ...a.props,
55
+ value: l && m.find((f) => f.value === l),
56
+ dataItems: m,
56
57
  defaultItem: e,
57
58
  itemRender: this.customItemRender,
58
59
  textField: "text",
59
60
  dataItemKey: "value",
60
61
  leftRightKeysNavigation: !1,
61
62
  title: e.text,
62
- ...s.props
63
+ onChange: this.onFontNameChange,
64
+ style: g
63
65
  };
64
- return C(m, {
65
- onChange: this.onChange,
66
- style: g,
67
- ...u
68
- });
66
+ return w(c, u);
69
67
  },
70
68
  methods: {
71
69
  customItemRender(o, n, t) {
72
70
  return t.dataItem.style ? o("li", {
73
71
  class: t.itemClass,
74
- onClick: t.onClick,
75
- on: {
76
- click: t.onClick
77
- }
72
+ onClick: t.onClick
78
73
  }, [o("span", {
79
74
  style: t.dataItem.style
80
75
  }, [...n.children])]) : n;
81
76
  },
82
- onChange(o) {
77
+ onFontNameChange(o) {
83
78
  const {
84
79
  view: n,
85
80
  settings: t
86
81
  } = this.$props, {
87
- style: s
82
+ style: a
88
83
  } = t, i = o.target.value;
89
84
  if (n) {
90
85
  v({
91
- style: s,
86
+ style: a,
92
87
  value: i.value
93
88
  }, t.commandName)(n.state, n.dispatch);
94
89
  const {
95
- event: a
90
+ event: s
96
91
  } = o;
97
- a && a.type === "click" && n.focus();
92
+ s && s.type === "click" && n.focus();
98
93
  }
99
94
  }
100
95
  }
101
96
  });
102
97
  export {
103
- R as FontName
98
+ L as FontName
104
99
  };
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
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 d=require("@progress/kendo-vue-dropdowns"),u=require("@progress/kendo-editor-common"),h=require("./utils.js"),k=require("@progress/kendo-vue-intl"),y=require("../messages/main.js"),m=require("vue"),I=m.defineComponent({name:"KendoFormatBlock",props:{view:Object,settings:{type:Object,default:function(){return{messages:{}}}},...d.DropDownList.props},inject:{kendoLocalizationService:{default:null}},render(){const{view:o,render:n,dataItems:t,settings:s,defaultItem:a,...p}=this.$props,l=t||s.items,c=o&&o.state,r=c?u.getBlockFormats(c):[],i=new Set(r).size===1?r[0]:null;let e=a||s.defaultItem;const f=k.provideLocalizationService(this);e&&e.localizationKey&&(e={...e},e.text=e.localizationKey?f.toLanguageString(e.localizationKey,y.messages[e.localizationKey]):e.text);const g={...p,value:i&&l.find(v=>v.value===i),dataItems:l,defaultItem:e,itemRender:this.customItemRender,textField:"text",dataItemKey:"value",leftRightKeysNavigation:!1,popupSettings:{width:"170px"},title:e.text,...s.props};return m.h(d.DropDownList,{onChange:this.onChange,style:h.userSelectNone,...g})},methods:{customItemRender(o,n,t){return t.dataItem.style?o("li",{class:t.itemClass,onClick:t.onClick,on:{click:t.onClick}},[o("span",{style:t.dataItem.style},[...n.children])]):n},onChange(o){const{view:n,settings:t}=this.$props,s=o.target.value;if(n&&u.formatBlockElements(s.value,t.commandName)(n.state,n.dispatch)){const{event:a}=o;a&&a.type==="click"&&n.focus()}}}});exports.FormatBlock=I;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@progress/kendo-vue-dropdowns"),u=require("@progress/kendo-editor-common"),h=require("./utils.js"),k=require("@progress/kendo-vue-intl"),y=require("../messages/main.js"),m=require("vue"),I=m.defineComponent({name:"KendoFormatBlock",props:{view:Object,settings:{type:Object,default:function(){return{messages:{}}}},...d.DropDownList.props},inject:{kendoLocalizationService:{default:null}},render(){const{view:e,render:o,dataItems:n,settings:s,defaultItem:a,...p}=this.$props,l=n||s.items,r=e&&e.state,c=r?u.getBlockFormats(r):[],i=new Set(c).size===1?c[0]:null;let t=a||s.defaultItem;const f=k.provideLocalizationService(this);t&&t.localizationKey&&(t={...t},t.text=t.localizationKey?f.toLanguageString(t.localizationKey,y.messages[t.localizationKey]):t.text);const g={...p,...s.props,value:i&&l.find(v=>v.value===i),dataItems:l,defaultItem:t,itemRender:this.customItemRender,textField:"text",dataItemKey:"value",leftRightKeysNavigation:!1,popupSettings:{width:"170px"},title:t.text,onChange:this.onFormatBlockChange,style:h.userSelectNone};return m.h(d.DropDownList,g)},methods:{customItemRender(e,o,n){return n.dataItem.style?e("li",{class:n.itemClass,onClick:n.onClick},[e("span",{style:n.dataItem.style},[...o.children])]):o},onFormatBlockChange(e){const{view:o,settings:n}=this.$props,s=e.target.value;if(o&&u.formatBlockElements(s.value,n.commandName)(o.state,o.dispatch)){const{event:a}=e;a&&a.type==="click"&&o.focus()}}}});exports.FormatBlock=I;