gridjs-spreadsheet 23.4.4 → 23.4.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridjs-spreadsheet",
3
- "version": "23.4.4",
3
+ "version": "23.4.6",
4
4
  "description": "A smart and simple to use Excel-like JavaScript Spreadsheet library allows you to view and edit spreadsheet file with ease and quick.",
5
5
  "types": "index.d.ts",
6
6
  "main": "xspreadsheet.js",
@@ -45,8 +45,7 @@
45
45
  "dependencies": {
46
46
  "jquery": "~ 3.6.0",
47
47
  "jquery-ui": "~ 1.13.2",
48
- "jszip": "~ 3.10.1",
49
- "jquery-ui": "~ 1.13.2"
48
+ "jszip": "~ 3.10.1"
50
49
  },
51
50
  "license": "MIT"
52
51
  }
package/readme.md CHANGED
@@ -6,7 +6,9 @@
6
6
 
7
7
  ## Document
8
8
  It allows you to view and edit spreadsheet documents with ease.
9
+
9
10
  this is developed based on https://github.com/myliang/x-spreadsheet
11
+
10
12
  Quick online demo: https://products.aspose.app/cells/editor
11
13
 
12
14
 
@@ -56,7 +58,17 @@ npm install gridjs-spreadsheet
56
58
  ```
57
59
 
58
60
  ```javascript
61
+ //includ all the dependencies
62
+ //Including jszip
63
+ import JSZip from 'jszip';
64
+ window.JSZip = JSZip;
65
+ //Including jQuery
66
+ import $ from 'jquery';
67
+ window.$ = $;
68
+ //Including gridjs-spreadsheet
69
+ import 'gridjs-spreadsheet/xspreadsheet.css';
59
70
  import Spreadsheet from "gridjs-spreadsheet";
71
+
60
72
  // If you need to override the default options, you can set the override
61
73
  // const options = {};
62
74
  // new Spreadsheet('#gridjs-demo', options);