gridjs-spreadsheet 24.11.1 → 25.1.0

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 (48) hide show
  1. package/example/.classpath +41 -0
  2. package/example/.project +23 -0
  3. package/example/Dockerfile +53 -0
  4. package/example/HELP.md +34 -0
  5. package/example/README.md +35 -0
  6. package/example/compose.yaml +1 -0
  7. package/example/mvnw +250 -0
  8. package/example/mvnw.cmd +146 -0
  9. package/example/pom.xml +118 -0
  10. package/example/src/main/java/com/aspose/gridjs/demo/GridjsdemoApplication.java +91 -0
  11. package/example/src/main/java/com/aspose/gridjs/demo/LocalFileCache.java +92 -0
  12. package/example/src/main/java/com/aspose/gridjs/demo/ModifyMonitor.java +21 -0
  13. package/example/src/main/java/com/aspose/gridjs/demo/controller/DataController.java +128 -0
  14. package/example/src/main/java/com/aspose/gridjs/demo/controller/GridJs2Controller.java +558 -0
  15. package/example/src/main/resources/application.properties +17 -0
  16. package/example/src/main/resources/static/xspread/555f60323063f2b68b6eac7ce9c45b19.svg +88 -0
  17. package/example/src/main/resources/static/xspread/a3b683289420fd8ec937908397907279.svg +907 -0
  18. package/example/src/main/resources/static/xspread/bootstrap.min.22.5.5.2.css +1 -0
  19. package/example/src/main/resources/static/xspread/content/img/20130527034914143.gif +0 -0
  20. package/example/src/main/resources/static/xspread/content/img/20130527034914229.gif +0 -0
  21. package/example/src/main/resources/static/xspread/content/img/20130527034916363.gif +0 -0
  22. package/example/src/main/resources/static/xspread/content/img/20130527034917946.gif +0 -0
  23. package/example/src/main/resources/static/xspread/content/img/20130527034918372.gif +0 -0
  24. package/example/src/main/resources/static/xspread/content/img/loading.gif +0 -0
  25. package/example/src/main/resources/static/xspread/content/img/testupdating.gif +0 -0
  26. package/example/src/main/resources/static/xspread/content/img/testupdating1.png +0 -0
  27. package/example/src/main/resources/static/xspread/content/img/updating.gif +0 -0
  28. package/example/src/main/resources/static/xspread/jquery-2.1.1.js +9190 -0
  29. package/example/src/main/resources/static/xspread/jquery-ui.min.css +7 -0
  30. package/example/src/main/resources/static/xspread/jquery-ui.min.js +6 -0
  31. package/example/src/main/resources/static/xspread/jszip.min.js +13 -0
  32. package/example/src/main/resources/static/xspread/xspreadsheet.css +1953 -0
  33. package/example/src/main/resources/static/xspread/xspreadsheet.js +21 -0
  34. package/example/src/main/resources/templates/fileFromUpload.html +297 -0
  35. package/example/src/main/resources/templates/index.html +296 -0
  36. package/example/src/main/resources/templates/list.html +98 -0
  37. package/example/wb/Sales Report.xlsx +0 -0
  38. package/example/wb/SampleFile2.xlsx +0 -0
  39. package/example/wb/TextBoxExample.xlsx +0 -0
  40. package/example/wb/chart.xlsx +0 -0
  41. package/example/wb/controls.xlsx +0 -0
  42. package/example/wb/studenttop.xlsx +0 -0
  43. package/example/wb/to-do-list.xlsx +0 -0
  44. package/package.json +1 -1
  45. package/preview.gif +0 -0
  46. package/readme.md +42 -8
  47. package/xspreadsheet.css +24 -0
  48. package/xspreadsheet.js +5 -5
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridjs-spreadsheet",
3
- "version": "24.11.1",
3
+ "version": "25.1.0",
4
4
  "description": "this is the client side script for GridJs which is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs based on JSON format.",
5
5
  "types": "index.d.ts",
6
6
  "main": "xspreadsheet.js",
package/preview.gif ADDED
Binary file
package/readme.md CHANGED
@@ -1,16 +1,29 @@
1
1
  # gridjs-spreadsheet
2
2
 
3
- > this is the client side script for gridjs which is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs
3
+ > this is the client side script for GridJs which is a lightweight, scalable, and customizable toolkit that provides cross-platform web applications, enables convenient development for editing or viewing Excel/Spreadsheet files, offers simple deployment, and provides easy-to-use APIs
4
4
 
5
-
5
+ - [API](#api)
6
+ - [Preview](#preview)
7
+ - [Github Demos](#github-demos)
8
+ - [Features](#features)
9
+ - [Documentation](#documentation)
10
+ - [Support](#support)
11
+ - [License](#license)
6
12
 
7
- ## Document
13
+ ## About
8
14
  It allows you to view and edit spreadsheet files with ease.
9
15
 
10
16
  this is developed based on https://github.com/myliang/x-spreadsheet
11
17
 
12
18
  Quick online demo: https://products.aspose.app/cells/editor
13
19
 
20
+ ## Preview
21
+
22
+ ![demo](preview.gif)
23
+
24
+ ## API
25
+
26
+ APIs are available on the [API page](https://docs.aspose.com/cells/net/aspose-cells-gridjs/how-to-use-gridjs-client-api/).
14
27
 
15
28
  ## CDN
16
29
  ```html
@@ -212,9 +225,18 @@ xs.cellStyle(ri, ci);
212
225
  - Support display two colors gradient in fill effects
213
226
 
214
227
 
215
- ## Demo
216
- Visit the GridJs demo to find more detail info
228
+ ## Github-Demos
229
+
230
+ Visit the GridJs demo to find more detail info:
231
+
217
232
  https://github.com/aspose-cells/Aspose.Cells-for-.NET/tree/master/Examples_GridJs
233
+
234
+ https://github.com/aspose-cells/Aspose.Cells-for-Java/tree/master/Examples.GridJs
235
+
236
+ https://github.com/aspose-cells/Aspose.Cells-for-Python-via-.NET/tree/main/Examples_GridJs_Python_Net
237
+
238
+ ## Support
239
+
218
240
  You can ask any question using the [Forum](https://forum.aspose.com/c/cells).
219
241
 
220
242
  ## Documentation
@@ -230,13 +252,25 @@ Online documentation is available here:
230
252
 
231
253
  Modern browsers(chrome, firefox, Safari).
232
254
 
233
- ## Version Info
255
+ ## Version History
234
256
  v24.9.1:
235
257
  fix bug that fail to insert column in the new added worksheet
236
258
  fix bug that fail to rename worksheet
237
259
  support lazy loading
238
-
239
- ## LICENSE
260
+ v24.10:
261
+ support a view option to show formulas
262
+ v24.11:
263
+ improve the display of rich text cell values
264
+ v24.12:
265
+ supporte API to show HTML nodes and interact with HTML nodes at specified cell positions
266
+ supporte pre-check event for row/column delete/insert operations
267
+ support row/column insert/delete events for client APIs
268
+ support events for updating cells
269
+ support multiple instances on one page
270
+ v25.1:
271
+ support copy/paste from MS-Excel
272
+
273
+ ## License
240
274
 
241
275
  MIT
242
276
 
package/xspreadsheet.css CHANGED
@@ -69,6 +69,10 @@ body {
69
69
  z-index: 1;
70
70
  box-shadow: 1px 1px 3px -1px rgba(255, 255, 0, 0.3);
71
71
  }
72
+ .x-spreadsheet-html-tip {
73
+ position: absolute;
74
+ z-index: 997;
75
+ }
72
76
  .x-spreadsheet-formula-explain {
73
77
  font-family: inherit;
74
78
  position: absolute;
@@ -562,6 +566,11 @@ body {
562
566
  opacity: 0.65;
563
567
  font-size: 1em;
564
568
  }
569
+ .x-spreadsheet-item .labelcnt {
570
+ float: right;
571
+ color: green;
572
+ font-size: 1em;
573
+ }
565
574
  .x-spreadsheet-item.state,
566
575
  .x-spreadsheet-header.state {
567
576
  padding-left: 35px !important;
@@ -984,12 +993,27 @@ body {
984
993
  background-color: #d9dc22;
985
994
  font-size: 8px;
986
995
  }
996
+ .x-spreadsheet-button.primary.disabled {
997
+ background-color: #b0b8c1;
998
+ color: rgb(240 229 229);
999
+ pointer-events: none;
1000
+ cursor: not-allowed;
1001
+ }
987
1002
  .x-spreadsheet-modal-component-input-btn {
988
1003
  border: 1px solid #0078d4;
989
1004
  color: #0078d4;
990
1005
  background: white;
991
1006
  border-radius: 0 5px 5px 0;
992
1007
  }
1008
+ .x-spreadsheet-gkeyinput {
1009
+ width: 0px;
1010
+ height: 0px;
1011
+ font-size: 1px;
1012
+ height: 1px;
1013
+ overflow: hidden;
1014
+ position: absolute;
1015
+ top: -200px;
1016
+ }
993
1017
  .x-spreadsheet-form-input {
994
1018
  font-size: 1em;
995
1019
  position: relative;