@syncfusion/ej2-angular-documenteditor 31.2.13 → 31.2.15

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 (30) hide show
  1. package/CHANGELOG.md +35 -132
  2. package/README.md +1 -1
  3. package/package.json +2 -2
  4. package/schematics/collection.json +10 -14
  5. package/schematics/ng-add/index.js +1 -1
  6. package/schematics/ng-add/index.ts +10 -10
  7. package/schematics/ng-add/schema.json +34 -34
  8. package/schematics/ng-add/schema.ts +30 -30
  9. package/schematics/tsconfig.json +25 -25
  10. package/schematics/utils/lib-details.d.ts +2 -2
  11. package/schematics/utils/lib-details.js +2 -3
  12. package/schematics/utils/lib-details.ts +4 -4
  13. package/styles/document-editor/material3-dark.scss +1 -1
  14. package/styles/document-editor/material3.scss +1 -1
  15. package/styles/document-editor-container/material3-dark.scss +1 -1
  16. package/styles/document-editor-container/material3.scss +1 -1
  17. package/schematics/generators/documenteditorcontainer-default/index.d.ts +0 -3
  18. package/schematics/generators/documenteditorcontainer-default/index.js +0 -8
  19. package/schematics/generators/documenteditorcontainer-default/index.ts +0 -8
  20. package/schematics/generators/documenteditorcontainer-default/sample-details.d.ts +0 -5
  21. package/schematics/generators/documenteditorcontainer-default/sample-details.js +0 -8
  22. package/schematics/generators/documenteditorcontainer-default/sample-details.ts +0 -5
  23. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  24. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  25. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -25
  26. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/assets/data.ts +0 -1423
  27. package/schematics/generators/documenteditorcontainer-default/schema.d.ts +0 -3
  28. package/schematics/generators/documenteditorcontainer-default/schema.js +0 -2
  29. package/schematics/generators/documenteditorcontainer-default/schema.json +0 -125
  30. package/schematics/generators/documenteditorcontainer-default/schema.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -2,28 +2,51 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### DocumentEditor
6
+
7
+ #### Bug Fixes
8
+
9
+ `#I779496` - Fixed a script error that occurred when deleting content inside a table cell.
10
+ `#I773785` - Resolved an issue where inline editing did not work for Date or Number form fields.
11
+ `#I777100` - Resolved an issue where updating a checkbox form field did not navigate to the corresponding position.
12
+
5
13
  ## 31.2.12 (2025-11-18)
6
14
 
7
15
  ### DocumentEditor
8
16
 
9
17
  #### Bug Fixes
10
18
 
11
- `#I776220` - Table fill color was not applied correctly.
12
- `#I778750` - Alignment, line spacing, and font settings were not preserved.
13
- `#I770477` - Cell width became incorrect after merging cells.
14
- `#I783704` - Find pane did not open with the Ctrl + F shortcut.
15
- `#I779496` - Fixed a script error that occurred when deleting content inside a table cell.
16
- `#I775650` - "No Color" highlight option now shows the pointer cursor like other buttons.
19
+ `#I776220` - Fixed an issue where the table fill color was not applied correctly.
20
+ `#I778750` - Resolved loss of alignment, line spacing, and font settings.
21
+ `#I770477` - Corrected cell width after merge operations.
22
+ `#I783704` - Ctrl+F now opens the Find pane as expected.
23
+ `#I775650` - “No Color” highlight option now shows a pointer cursor like other buttons.
17
24
  `#I783047` - Corrected superscript formatting when typing a comma.
18
25
  `#I770706` - Undo now restores the original bullet-point formatting.
19
- `#I774637` - Spell-check suggestions were not displayed properly.
20
- `#I779125` - Resolved script error when exporting the document as DOCX.
26
+ `#I774637` - Spell-check suggestions now display properly.
27
+ `#I779125` - Resolved a script error during DOCX export.
21
28
  `#I773853` - The `showRevisions` property now works correctly in protected documents.
22
- `#I763990` - Footnotes were undefined when serializing a document.
29
+ `#I763990` - Resolved an issue where footnotes were undefined during serialization.
23
30
  `#I781625` - Resolved selection issues with nested bookmarks when using the `navigateToNextEditingRegion` API.
24
- `#I780167` - Reduced lag during text insertion and backspacing.
25
- `#I776105` - Prevented image clipping when "Exactly" line spacing is applied.
26
- `#I778204` - Cursor is now visible in an empty editable region.
31
+ `#I780167` - Improved responsiveness during text insertion and backspacing.
32
+ `#I776105` - Images no longer clip when Exactly line spacing is applied.
33
+ `#I778204` - The cursor is now visible in empty editable regions.
34
+
35
+ `#I776220` - Fixed an issue where the table fill color was not applied correctly.
36
+ `#I778750` - Resolved loss of alignment, line spacing, and font settings.
37
+ `#I770477` - Corrected cell width after merge operations.
38
+ `#I783704` - Ctrl+F now opens the Find pane as expected.
39
+ `#I775650` - "No Color" highlight option now shows a pointer cursor like other buttons.
40
+ `#I783047` - Corrected superscript formatting when typing a comma.
41
+ `#I770706` - Undo now restores the original bullet-point formatting.
42
+ `#I774637` - Spell-check suggestions now display properly.
43
+ `#I779125` - Resolved a script error during DOCX export.
44
+ `#I773853` - The `showRevisions` property now works correctly in protected documents.
45
+ `#I763990` - Resolved an issue where footnotes were undefined during serialization.
46
+ `#I781625` - Resolved selection issues with nested bookmarks when using the `navigateToNextEditingRegion` API.
47
+ `#I780167` - Improved responsiveness during text insertion and backspacing.
48
+ `#I776105` - Images no longer clip when "Exactly" line spacing is applied.
49
+ `#I778204` - The cursor is now visible in empty editable regions.
27
50
 
28
51
  ## 31.2.10 (2025-11-13)
29
52
 
@@ -2157,66 +2180,6 @@
2157
2180
 
2158
2181
  #### Bug Fixes
2159
2182
 
2160
- - `#I348089` - Resolved the protected columns, rows, and cells editing issue.
2161
- - `#I344822` - Word with hyphen characters are now displayed properly.
2162
- - `#I345558` - Resolved the table layout for the nested table with position.
2163
- - `#I346408` - Table cell content reversed on undo is now resolved.
2164
- - `#I346992` - Paragraph with widow/orphan property is now displayed properly.
2165
- - `#I341119` - Document with image and table with top and bottom wrapping style is now opened properly.
2166
- - `#I344713`- Resolved table header row rendering issue.
2167
- - `#I341963`, `#I341840` - Resolved the table rendering issue.
2168
- - `#I344704` - Resolved issue with tracking changes in empty paragraph.
2169
- - `#I344351` - Line height is now calculated properly when space character has font size greater than the paragraph mark.
2170
- - `#I345759`, `#I343106`- Resolved the table border rendering issue.
2171
- - `#I343645` - Table grid after width defined as percentage type is now properly exported in server-side.
2172
- - `#I341659` - Resolved the list alignment issue.
2173
- - `#I347230` - Line spacing value zero is now properly exported in server-side.
2174
- - `#I346468` - Resolved the document corruption issue due to z-order in server-side exporting.
2175
- - `#I344830` - Resolved exception in opening and saving the document with calculation type form field.
2176
- - `#I345582`, `#I341985` - Document with tab width is now displayed properly.
2177
- - `#I346985` - Line height is now properly updated for tab character when its font size greater than other elements in the line.
2178
- - `#FB29648` - Table rows/columns in header and footer are now resized properly.
2179
- - `#I349115` - Resolved the scrolling behaviour issue when using `goToPage` API.
2180
- - `#I348516` - Table/Cell background color is preserved properly during copy/paste.
2181
- - `#I341891` - Resolved the hanging issue while editing the footnote content.
2182
- - `#I344790` - Resolved the footnote overlapping issue when editing a table.
2183
- - `#I343310` - Resolved the blank page issue in the exported Word document due to footnote.
2184
- - `#I345594` - Resolved the new style listing problem when Document editor is localized for languages other than English.
2185
- - `#I344840` - Resolved the height and width for `insertImage` API.
2186
- - `#I343403` - Resolved the script error while opening document with tracked changes and restrict editing enabled.
2187
- - `#I342774` - The Word document is now exported properly when the document contains content control.
2188
- - `#I340276` - Resolved issue with entering custom date time value for form field.
2189
- - `#I344605` - Resolved the context menu displaying issue when multiple instances of Document Editor are used in same page.
2190
- - `#I337087`, `#I344332` - Improved the suggestion construction logic for error words.
2191
- - `#I338302` - Resolved the hanging issue when opening document with table.
2192
- - `#I339240` - RTL list is now deleted properly.
2193
- - `#I340758` - The Word document is now exported properly when the document contains table with merged cells.
2194
- - `#I341140` - Tracked changes is now updated properly for the existing empty line.
2195
- - `#F167253`, `#F168269` - Track changes pane visibility issue is now resolved.
2196
- - `#F168463` - The floating element with square wrapping style is now displayed properly.
2197
- - `#I338947` - Resolved the issue with undo after pasting Hebrew text.
2198
- - `#I341435` - Optimized the content change event triggering in Document Editor.
2199
- - `#I340867` - Selection is now working properly after applying character format.
2200
- - `#I341335` - Text formatting is now preserved properly for merge fields.
2201
- - `#I339239`, `#I339242`, `#I339021` - RTL text are now arranged properly.
2202
- - `#I335659` - RTL text are now preserved properly on undo/redo.
2203
- - `#I340643` - The comment mark is now removed properly when deleting comment.
2204
- - `#I339335` - Resolved the hanging issue when editing document with Hebrew text.
2205
- - `#I340121` - Resolved the issue with rendering elbow connector as line connector.
2206
- - `#I339453` - Resolved the issue with rendering a fixed width table.
2207
- - `#I341119` - Resolved the overlapping issue for image with top and bottom wrapping inside table.
2208
- - `#I339602` – Track changes is now updated properly in header and footer.
2209
- - `#I341964`, `#I342165` – RTL text is now arranged properly when copy/paste.
2210
- - `#I339714` – Footnote order is now updated properly.
2211
- - `#I339973` - Table is now preserved properly in the exported Word document.
2212
- - `#I340795` – Field is now copied properly.
2213
- - `#I339872` – Page number in footer is now updated properly.
2214
- - `#I339576`, `#F168072` – Resolved the issue in applying page orientation with the section break.
2215
- - `#I339027` – Resolved the script error in saving document with tracked changes in header/footer.
2216
- - `#I340532` – Html elements are now properly disposed.
2217
- - `#F168319` – Resolved the ViewChange event binding issue in Document Editor component.
2218
- - `#I341375` – Resolved the undo/redo issue in comment editing operations.
2219
-
2220
2183
  - `#I348089` - Resolved the protected columns, rows, and cells editing issue.
2221
2184
  - `#I344822` - Word with hyphen characters are now displayed properly.
2222
2185
  - `#I345558` - Resolved the table layout for the nested table with position.
@@ -2328,46 +2291,6 @@
2328
2291
 
2329
2292
  #### Bug Fixes
2330
2293
 
2331
- - `#I343310` - Resolved the blank page adding issue in exported word document due to footnote.
2332
- - `#I345594` - Resolved the new style listing problem during localization.
2333
- - `#I344840` - Resolved the height and width for `insertImage` API.
2334
- - `#I343403` - Resolved the script error while opening document with tracked changes and restrict editing enabled.
2335
- - `#I342774` - Resolved the word export issue for document with content control.
2336
- - `#I340276` - Resolved issue with entering custom date time value in form field.
2337
- - `#I344605` - Resolved the context menu rendering issue for multiple instances of DocumentEditor in the same page.
2338
- - `#I343106` - Resolved the table border rendering issue.
2339
- - `#I337087`, `#I344332` - Improved the suggestion construction logic for error words.
2340
- - `#I338302` - Resolved the hanging issue when opening document with table.
2341
- - `#I339240` - RTL list is now deleted properly.
2342
- - `#I340758` - Resolved the word export issue for the table with merged cells.
2343
- - `#I341140` - Track changes content is now updated properly for the existing empty line.
2344
- - `#F167253`, `#F168269` - Track changes pane visibility issue is resolved.
2345
- - `#I341985` - Resolved the tab space rendering issue.
2346
- - `#F168463` - Resolved the layout issue for the element with square wrapping style.
2347
- - `#I338947` - Resolved the undo problem after paste of hebrew text.
2348
- - `#I341435` - Optimized the content change event triggering in Document Editor.
2349
- - `#I340867` - Selection issue after applying character format is resolved.
2350
- - `#I341335` - Resolved the text formatting preservation for merge fields.
2351
- - `#I339239`, `#I339242`, `#I339021` - Resolved the text arrangement issue for RTL documents.
2352
- - `#I335659` - Resolved the undo/redo some text in RTL mode.
2353
- - `#I340643` - Resolved the comment mark removal issue in comment delete.
2354
- - `#I339335` - Resolved the hanging issue in editing document with Hebrew text.
2355
- - `#I340121` - Resolved the issue with elbow connector rendering as line connector.
2356
- - `#I339453` - Resolved the rendering issue in fixed table width case.
2357
- - `#I341119` - Resolved the image with top and bottom wrapping overlapping issue with table.
2358
- - `#I339602` – Track changes is now updated properly in header and footer.
2359
- - `#I341964`, `#I342165` – Resolved the text rearrange issue in copy/paste of RTL text.
2360
- - `#I339714` – Footnote order is now updated properly.
2361
- - `#I339973` - Table serialization issue in word export is resolved.
2362
- - `#I340795` – Issue with copying field is resolved.
2363
- - `#I339872` – Page number is footer is now updated properly.
2364
- - `#I339576`, `#F168072` – Resolved the issue in applying page orientation with the section break.
2365
- - `#I339027` – Resolved the script error in saving tracked content in header/footer.
2366
- - `#I340532` – Html elements are nor properly disposed.
2367
- - `#F168319` – Resolved the ViewChange event binding issue in Document Editor component.
2368
- - `#I341375` – Resolved the history issue in comment operations.
2369
- - `#I341840` – Resolved the table rendering issue.
2370
-
2371
2294
  - `#I343310` - Resolved the blank page adding issue in exported word document due to footnote.
2372
2295
  - `#I345594` - Resolved the new style listing problem during localization.
2373
2296
  - `#I344840` - Resolved the height and width for `insertImage` API.
@@ -2480,19 +2403,6 @@
2480
2403
 
2481
2404
  #### Bug Fixes
2482
2405
 
2483
- - `#I339602` – Track changes is now updated properly in header and footer.
2484
- - `#I341964`, `#I342165` – Resolved the text rearrange issue in copy/paste of RTL text.
2485
- - `#I339714` – Footnote order is now updated properly.
2486
- - `#I339973` - Table serialization issue in word export is resolved.
2487
- - `#I340795` – Issue with copying field is resolved.
2488
- - `#I339872` – Page number is footer is now updated properly.
2489
- - `#I339576`, `#F168072` – Resolved the issue in applying page orientation with the section break.
2490
- - `#I339027` – Resolved the script error in saving tracked content in header/footer.
2491
- - `#I340532` – Html elements are now properly disposed.
2492
- - `#F168319` – Resolved the ViewChange event binding issue in Document Editor component
2493
- - `#I340643`, `#I341375` – Resolved the history issue in comment operations
2494
- - `#I341840` – Resolved the table rendering issue.
2495
-
2496
2406
  - `#I339602` - Track changes is now updated properly in header and footer.
2497
2407
  - `#I341964`, `#I342165` - Resolved the text rearrange issue in copy/paste of RTL text.
2498
2408
  - `#I339714` - Footnote order is now updated properly.
@@ -2581,13 +2491,6 @@
2581
2491
 
2582
2492
  #### New Features
2583
2493
 
2584
- - `#I256210`, `#F150773`, `#I295055`, `#I295551`, `#I324037`, `#I326715` - Added support for Widow/Orphan control, Keep with next and Keep lines together properties.
2585
- - `#I298019`, `#I307321`, `#F160804`, `#F164217`, `#F164872` – Improved the accuracy of text size measurements such as to match Microsoft Word pagination for most Word documents.
2586
- - `#I243246`, `#I249594`, `#I287633`, `#I295055`, `#I295549`, `#I299657`, `#I308408`, `#I326567` – Added support to preserve tables with position properties.
2587
- - Added option to directly convert DocIO's WordDocument to SFDT and vice-versa in .NET and Java server-side library.
2588
- - Added Word-to-SFDT conversion in Java server-side library.
2589
- - Added new spell checker library for Java.
2590
-
2591
2494
  - `#I256210`, `#F150773`, `#I295055`, `#I295551`, `#I324037`, `#I326715` - Added support for Widow/Orphan control, Keep with next and Keep lines together properties.
2592
2495
  - `#I298019`, `#I307321`, `#F160804`, `#F164217`, `#F164872` - Improved the accuracy of text size measurements such as to match Microsoft Word pagination for most Word documents.
2593
2496
  - `#I243246`, `#I249594`, `#I287633`, `#I295055`, `#I295549`, `#I299657`, `#I308408`, `#I326567` - Added support to preserve tables with position properties.
package/README.md CHANGED
@@ -170,4 +170,4 @@ Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-componen
170
170
 
171
171
  See [LICENSE FILE](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) for more info.
172
172
 
173
- &copy; Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
173
+ © Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-angular-documenteditor",
3
- "version": "31.2.13",
3
+ "version": "31.2.15",
4
4
  "description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for Angular",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "@syncfusion/ej2-base": "~31.2.12",
10
10
  "@syncfusion/ej2-angular-base": "~31.2.12",
11
- "@syncfusion/ej2-documenteditor": "31.2.13"
11
+ "@syncfusion/ej2-documenteditor": "31.2.15"
12
12
  },
13
13
  "keywords": [
14
14
  "ej2-angular-documenteditor",
@@ -1,15 +1,11 @@
1
1
  {
2
- "$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {
4
- "ng-add": {
5
- "description": "Adds Essential JS 2 specific Angular package to an application",
6
- "factory": "./ng-add",
7
- "schema": "./ng-add/schema.json"
8
- },
9
- "documenteditorcontainer-default": {
10
- "description": "Create an Angular documentEditorContainer component with toolbar feature ",
11
- "factory": "./generators/documenteditorcontainer-default",
12
- "schema": "./generators/documenteditorcontainer-default/schema.json"
13
- }
14
- }
15
- }
2
+ "$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
3
+ "schematics": {
4
+ "ng-add": {
5
+ "description": "Adds Essential JS 2 specific Angular package to an application",
6
+ "factory": "./ng-add",
7
+ "schema": "./ng-add/schema.json"
8
+ }
9
+ }
10
+ }
11
+
@@ -4,6 +4,6 @@ const lib_details_1 = require("./../utils/lib-details");
4
4
  const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
5
5
  function default_1(options) {
6
6
  const libOptions = Object.assign({}, { 'pkgName': lib_details_1.pkgName, 'pkgVer': lib_details_1.pkgVer, 'moduleName': lib_details_1.moduleName, 'themeVer': lib_details_1.themeVer });
7
- return (0, schematics_1.install)(options, libOptions);
7
+ return schematics_1.install(options, libOptions);
8
8
  }
9
9
  exports.default = default_1;
@@ -1,10 +1,10 @@
1
- import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
2
- import { install } from '@syncfusion/ej2-angular-base/schematics';
3
- import { OptionsSchema, LibOptionsSchema } from './schema';
4
- import { Rule } from '@angular-devkit/schematics';
5
-
6
- export default function (options: OptionsSchema): Rule {
7
- const libOptions: LibOptionsSchema = Object.assign({},
8
- { 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
9
- return install(options, libOptions);
10
- }
1
+ import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
2
+ import { install } from '@syncfusion/ej2-angular-base/schematics';
3
+ import { OptionsSchema, LibOptionsSchema } from './schema';
4
+ import { Rule } from '@angular-devkit/schematics';
5
+
6
+ export default function (options: OptionsSchema): Rule {
7
+ const libOptions: LibOptionsSchema = Object.assign({},
8
+ { 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
9
+ return install(options, libOptions);
10
+ }
@@ -1,34 +1,34 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "ngAdd",
4
- "title": "Add Essential JS 2 Angular packages",
5
- "type": "object",
6
- "properties": {
7
- "skipPackageJson": {
8
- "type": "boolean",
9
- "default": false,
10
- "description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
11
- },
12
- "modules": {
13
- "type": "string",
14
- "default": "",
15
- "description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
16
- },
17
- "modulePath": {
18
- "type": "string",
19
- "default": "",
20
- "description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
21
- },
22
- "theme": {
23
- "enum": [
24
- "material",
25
- "fabric",
26
- "bootstrap",
27
- "highcontrast"
28
- ],
29
- "default": "material",
30
- "description": "Used to change the theme that needs to be imported"
31
- }
32
- },
33
- "required": []
34
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "ngAdd",
4
+ "title": "Add Essential JS 2 Angular packages",
5
+ "type": "object",
6
+ "properties": {
7
+ "skipPackageJson": {
8
+ "type": "boolean",
9
+ "default": false,
10
+ "description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
11
+ },
12
+ "modules": {
13
+ "type": "string",
14
+ "default": "",
15
+ "description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
16
+ },
17
+ "modulePath": {
18
+ "type": "string",
19
+ "default": "",
20
+ "description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
21
+ },
22
+ "theme": {
23
+ "enum": [
24
+ "material",
25
+ "fabric",
26
+ "bootstrap",
27
+ "highcontrast"
28
+ ],
29
+ "default": "material",
30
+ "description": "Used to change the theme that needs to be imported"
31
+ }
32
+ },
33
+ "required": []
34
+ }
@@ -1,30 +1,30 @@
1
- export interface OptionsSchema {
2
- // Whether to skip package.json install.
3
- skipPackageJson: boolean;
4
-
5
- // Used to specify required module names
6
- modules: string;
7
-
8
- // Used to specify custom module path
9
- modulePath: string;
10
-
11
- // Used to specify theme name
12
- theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
13
-
14
- // Name of the project to target.
15
- project?: string;
16
- }
17
-
18
- export interface LibOptionsSchema {
19
- // Package name
20
- pkgName: string;
21
-
22
- // Package version
23
- pkgVer: string;
24
-
25
- // Library base module name
26
- moduleName: string;
27
-
28
- // Theme version
29
- themeVer: string;
30
- }
1
+ export interface OptionsSchema {
2
+ // Whether to skip package.json install.
3
+ skipPackageJson: boolean;
4
+
5
+ // Used to specify required module names
6
+ modules: string;
7
+
8
+ // Used to specify custom module path
9
+ modulePath: string;
10
+
11
+ // Used to specify theme name
12
+ theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
13
+
14
+ // Name of the project to target.
15
+ project?: string;
16
+ }
17
+
18
+ export interface LibOptionsSchema {
19
+ // Package name
20
+ pkgName: string;
21
+
22
+ // Package version
23
+ pkgVer: string;
24
+
25
+ // Library base module name
26
+ moduleName: string;
27
+
28
+ // Theme version
29
+ themeVer: string;
30
+ }
@@ -1,25 +1,25 @@
1
- {
2
- "compilerOptions": {
3
- "lib": ["es2017", "dom"],
4
- "module": "commonjs",
5
- "moduleResolution": "node",
6
- "noEmitOnError": false,
7
- "skipDefaultLibCheck": true,
8
- "skipLibCheck": true,
9
- "sourceMap": true,
10
- "target": "es6",
11
- "declaration": true,
12
- "types": [
13
- "jasmine",
14
- "node"
15
- ]
16
- },
17
- "exclude": [
18
- "node_modules",
19
- "src",
20
- "src/**/*.ts",
21
- "spec",
22
- "spec/**/*.ts",
23
- "@typings"
24
- ]
25
- }
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["es2017", "dom"],
4
+ "module": "commonjs",
5
+ "moduleResolution": "node",
6
+ "noEmitOnError": false,
7
+ "skipDefaultLibCheck": true,
8
+ "skipLibCheck": true,
9
+ "sourceMap": true,
10
+ "target": "es6",
11
+ "declaration": true,
12
+ "types": [
13
+ "jasmine",
14
+ "node"
15
+ ]
16
+ },
17
+ "exclude": [
18
+ "node_modules",
19
+ "src",
20
+ "src/**/*.ts",
21
+ "spec",
22
+ "spec/**/*.ts",
23
+ "@typings"
24
+ ]
25
+ }
@@ -1,4 +1,4 @@
1
1
  export declare const pkgName = "@syncfusion/ej2-angular-documenteditor";
2
- export declare const pkgVer = "^31.2.12";
2
+ export declare const pkgVer = "^31.1.20";
3
3
  export declare const moduleName = "DocumentEditorModule, DocumentEditorContainerModule";
4
- export declare const themeVer = "~31.2.12";
4
+ export declare const themeVer = "~31.1.20";
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.themeVer = exports.moduleName = exports.pkgVer = exports.pkgName = void 0;
4
3
  exports.pkgName = '@syncfusion/ej2-angular-documenteditor';
5
- exports.pkgVer = '^31.2.12';
4
+ exports.pkgVer = '^31.2.15';
6
5
  exports.moduleName = 'DocumentEditorModule, DocumentEditorContainerModule';
7
- exports.themeVer = '~31.2.12';
6
+ exports.themeVer = '~31.2.15';
@@ -1,4 +1,4 @@
1
- export const pkgName = '@syncfusion/ej2-angular-documenteditor';
2
- export const pkgVer = '^31.2.12';
3
- export const moduleName = 'DocumentEditorModule, DocumentEditorContainerModule';
4
- export const themeVer = '~31.2.12';
1
+ export const pkgName = '@syncfusion/ej2-angular-documenteditor';
2
+ export const pkgVer = '^31.2.15';
3
+ export const moduleName = 'DocumentEditorModule, DocumentEditorContainerModule';
4
+ export const themeVer = '~31.2.15';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3-dark.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor/material3-dark.scss';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor/material3.scss';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3-dark.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor-container/material3-dark.scss';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor-container/material3.scss';
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
4
- const sampleDetails = require("./sample-details");
5
- function default_1(options) {
6
- return (0, schematics_1.componentBuilder)(options, sampleDetails);
7
- }
8
- exports.default = default_1;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.libModules = exports.packageName = exports.diModules = exports.sampleName = exports.componentName = void 0;
4
- exports.componentName = 'documenteditorcontainer';
5
- exports.sampleName = 'default';
6
- exports.diModules = 'ToolbarService';
7
- exports.packageName = '@syncfusion/ej2-angular-documenteditor';
8
- exports.libModules = 'DocumentEditorContainerModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'documenteditorcontainer';
2
- export const sampleName: string = 'default';
3
- export const diModules: string = 'ToolbarService';
4
- export const packageName: string = '@syncfusion/ej2-angular-documenteditor';
5
- export const libModules: string = 'DocumentEditorContainerModule';
@@ -1,8 +0,0 @@
1
- <div class="control-section">
2
- <div>
3
- <div>
4
- <ejs-documenteditorcontainer #documentEditorContainerInstance [enableToolbar]=true (created)="render()"
5
- style="display:block;height:600px"></ejs-documenteditorcontainer>
6
- </div>
7
- </div>
8
- </div>
@@ -1,25 +0,0 @@
1
- import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
2
- import { ToolbarService, DocumentEditorContainerComponent } from '@syncfusion/ej2-angular-documenteditor';
3
- import { defaultDocument, WEB_API_ACTION } from './assets/data';
4
-
5
- /**
6
- * Document Editor Component
7
- */
8
- @Component({
9
- selector: '<%=dasherize(selector)%>',
10
- templateUrl: '<%=dasherize(name)%>.component.html',
11
- styleUrls: ['<%=dasherize(name)%>.component.css'],
12
- encapsulation: ViewEncapsulation.None,
13
- providers: [ToolbarService],
14
- })
15
- export class <%= classify(name) %>Component {
16
- public hostUrl: string = 'https://ej2services.syncfusion.com/production/web-services/';
17
- @ViewChild('documentEditorContainerInstance')
18
- public documentEditorContainerInstance: DocumentEditorContainerComponent;
19
-
20
- render(): void {
21
- this.documentEditorContainerInstance.locale = 'en-US';
22
- this.documentEditorContainerInstance.serviceUrl = this.hostUrl + WEB_API_ACTION;
23
- this.documentEditorContainerInstance.documentEditor.open(JSON.stringify(defaultDocument));
24
- }
25
- }