@progress/kendo-angular-editor 19.3.0-develop.10 → 19.3.0-develop.11

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.
@@ -17,7 +17,7 @@ import { packageMetadata } from './package-metadata';
17
17
  import { schema } from './config/schema';
18
18
  import { editorCommands } from './config/commands';
19
19
  import { getToolbarState, initialToolBarState, disabledToolBarState } from './editor-toolbar-state';
20
- import { removeEmptyEntries, conditionallyExecute, pipe, isPresent } from './util';
20
+ import { removeEmptyEntries, conditionallyExecute, isPresent } from './util';
21
21
  import { SourceDialogComponent } from './dialogs/source-dialog.component';
22
22
  import { ImageDialogComponent } from './dialogs/image-dialog.component';
23
23
  import { FileLinkDialogComponent } from './dialogs/file-link-dialog.component';
@@ -750,13 +750,12 @@ export class EditorComponent {
750
750
  return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
751
751
  }
752
752
  const pasteCleanupSettings = { ...defaultPasteCleanupSettings, ...this.pasteCleanupSettings };
753
- const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
754
- const clean = pasteCleanup(html, {
753
+ const clean = pasteCleanup(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML)(dirtyHtml), {
755
754
  convertMsLists: pasteCleanupSettings.convertMsLists,
756
755
  stripTags: pasteCleanupSettings.stripTags.join('|'),
757
- attributes: getPasteCleanupAttributes(pasteCleanupSettings)
756
+ attributes: getPasteCleanupAttributes(pasteCleanupSettings),
758
757
  });
759
- return this.dispatchPasteEvent(dirtyHtml, clean);
758
+ return this.dispatchPasteEvent(dirtyHtml, removeCommentsIf(pasteCleanupSettings.removeHtmlComments)(clean));
760
759
  };
761
760
  transformPastedHTML = (html) => this.transformPastedContent(html);
762
761
  transformPastedText = (html) => this.transformPastedContent(html, true);
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1752739444,
14
- version: '19.3.0-develop.10',
13
+ publishDate: 1752747072,
14
+ version: '19.3.0-develop.11',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
package/esm2022/util.mjs CHANGED
@@ -98,10 +98,6 @@ export const getUniqueStyleValues = (style, cssStyle) => {
98
98
  * @hidden
99
99
  */
100
100
  export const conditionallyExecute = (fn) => (condition) => (param) => (condition ? fn(param) : param);
101
- /**
102
- * @hidden
103
- */
104
- export const pipe = (...fns) => x => fns.reduce((y, f) => f(y), x);
105
101
  // This re-declaration is necessary for proper API generation
106
102
  /**
107
103
  * Extracts the text from the current editor state's selection ([see example]({% slug plugins_editor %}#toc-popup-tools)).
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1752739444,
40
- version: '19.3.0-develop.10',
39
+ publishDate: 1752747072,
40
+ version: '19.3.0-develop.11',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -605,10 +605,6 @@ const getUniqueStyleValues = (style, cssStyle) => {
605
605
  * @hidden
606
606
  */
607
607
  const conditionallyExecute = (fn) => (condition) => (param) => (condition ? fn(param) : param);
608
- /**
609
- * @hidden
610
- */
611
- const pipe = (...fns) => x => fns.reduce((y, f) => f(y), x);
612
608
  // This re-declaration is necessary for proper API generation
613
609
  /**
614
610
  * Extracts the text from the current editor state's selection ([see example]({% slug plugins_editor %}#toc-popup-tools)).
@@ -3845,13 +3841,12 @@ class EditorComponent {
3845
3841
  return this.dispatchPasteEvent(dirtyHtml, dirtyHtml);
3846
3842
  }
3847
3843
  const pasteCleanupSettings = { ...defaultPasteCleanupSettings, ...this.pasteCleanupSettings };
3848
- const html = pipe(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML), removeCommentsIf(pasteCleanupSettings.removeHtmlComments))(dirtyHtml);
3849
- const clean = pasteCleanup(html, {
3844
+ const clean = pasteCleanup(removeInvalidHTMLIf(pasteCleanupSettings.removeInvalidHTML)(dirtyHtml), {
3850
3845
  convertMsLists: pasteCleanupSettings.convertMsLists,
3851
3846
  stripTags: pasteCleanupSettings.stripTags.join('|'),
3852
- attributes: getPasteCleanupAttributes(pasteCleanupSettings)
3847
+ attributes: getPasteCleanupAttributes(pasteCleanupSettings),
3853
3848
  });
3854
- return this.dispatchPasteEvent(dirtyHtml, clean);
3849
+ return this.dispatchPasteEvent(dirtyHtml, removeCommentsIf(pasteCleanupSettings.removeHtmlComments)(clean));
3855
3850
  };
3856
3851
  transformPastedHTML = (html) => this.transformPastedContent(html);
3857
3852
  transformPastedText = (html) => this.transformPastedContent(html, true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-editor",
3
- "version": "19.3.0-develop.10",
3
+ "version": "19.3.0-develop.11",
4
4
  "description": "Kendo UI Editor for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -17,7 +17,7 @@
17
17
  "package": {
18
18
  "productName": "Kendo UI for Angular",
19
19
  "productCode": "KENDOUIANGULAR",
20
- "publishDate": 1752739444,
20
+ "publishDate": 1752747072,
21
21
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
22
22
  }
23
23
  },
@@ -29,23 +29,23 @@
29
29
  "@angular/platform-browser": "16 - 20",
30
30
  "@progress/kendo-drawing": "^1.21.0",
31
31
  "@progress/kendo-licensing": "^1.5.0",
32
- "@progress/kendo-angular-buttons": "19.3.0-develop.10",
33
- "@progress/kendo-angular-common": "19.3.0-develop.10",
34
- "@progress/kendo-angular-dialog": "19.3.0-develop.10",
35
- "@progress/kendo-angular-dropdowns": "19.3.0-develop.10",
36
- "@progress/kendo-angular-inputs": "19.3.0-develop.10",
37
- "@progress/kendo-angular-intl": "19.3.0-develop.10",
38
- "@progress/kendo-angular-l10n": "19.3.0-develop.10",
39
- "@progress/kendo-angular-label": "19.3.0-develop.10",
40
- "@progress/kendo-angular-layout": "19.3.0-develop.10",
41
- "@progress/kendo-angular-icons": "19.3.0-develop.10",
42
- "@progress/kendo-angular-popup": "19.3.0-develop.10",
43
- "@progress/kendo-angular-toolbar": "19.3.0-develop.10",
32
+ "@progress/kendo-angular-buttons": "19.3.0-develop.11",
33
+ "@progress/kendo-angular-common": "19.3.0-develop.11",
34
+ "@progress/kendo-angular-dialog": "19.3.0-develop.11",
35
+ "@progress/kendo-angular-dropdowns": "19.3.0-develop.11",
36
+ "@progress/kendo-angular-inputs": "19.3.0-develop.11",
37
+ "@progress/kendo-angular-intl": "19.3.0-develop.11",
38
+ "@progress/kendo-angular-l10n": "19.3.0-develop.11",
39
+ "@progress/kendo-angular-label": "19.3.0-develop.11",
40
+ "@progress/kendo-angular-layout": "19.3.0-develop.11",
41
+ "@progress/kendo-angular-icons": "19.3.0-develop.11",
42
+ "@progress/kendo-angular-popup": "19.3.0-develop.11",
43
+ "@progress/kendo-angular-toolbar": "19.3.0-develop.11",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "19.3.0-develop.10",
48
+ "@progress/kendo-angular-schematics": "19.3.0-develop.11",
49
49
  "@progress/kendo-editor-common": "1.12.3"
50
50
  },
51
51
  "schematics": "./schematics/collection.json",
@@ -4,12 +4,12 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
6
6
  // peer dependencies of kendo-angular-dropdowns
7
- '@progress/kendo-angular-navigation': '19.3.0-develop.10',
8
- '@progress/kendo-angular-treeview': '19.3.0-develop.10',
7
+ '@progress/kendo-angular-navigation': '19.3.0-develop.11',
8
+ '@progress/kendo-angular-treeview': '19.3.0-develop.11',
9
9
  // peer dependency of kendo-angular-layout
10
- '@progress/kendo-angular-progressbar': '19.3.0-develop.10',
10
+ '@progress/kendo-angular-progressbar': '19.3.0-develop.11',
11
11
  // peer dependency of kendo-angular-inputs
12
- '@progress/kendo-angular-dialog': '19.3.0-develop.10',
12
+ '@progress/kendo-angular-dialog': '19.3.0-develop.11',
13
13
  // Peer dependency of icons
14
14
  '@progress/kendo-svg-icons': '^4.0.0'
15
15
  } });
package/util.d.ts CHANGED
@@ -69,10 +69,6 @@ export declare const getUniqueStyleValues: (style: ActiveMarks, cssStyle: string
69
69
  * @hidden
70
70
  */
71
71
  export declare const conditionallyExecute: <T, R>(fn: (x: T) => R) => (condition: boolean) => (param: T) => T | R;
72
- /**
73
- * @hidden
74
- */
75
- export declare const pipe: (...fns: any[]) => (x: any) => any;
76
72
  /**
77
73
  * Extracts the text from the current editor state's selection ([see example]({% slug plugins_editor %}#toc-popup-tools)).
78
74
  *