gridjs-spreadsheet 24.12.0 → 25.1.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.
- package/{9ab1b217edd126e8925e88cc8f25a154.svg → 555f60323063f2b68b6eac7ce9c45b19.svg} +88 -88
- package/{2922578eabb1a88d1974da56c65189ba.svg → a3b683289420fd8ec937908397907279.svg} +907 -907
- package/example/.classpath +41 -0
- package/example/.project +23 -0
- package/example/Dockerfile +53 -0
- package/example/HELP.md +34 -0
- package/example/README.md +35 -0
- package/example/compose.yaml +1 -0
- package/example/mvnw +250 -0
- package/example/mvnw.cmd +146 -0
- package/example/pom.xml +118 -0
- package/example/src/main/java/com/aspose/gridjs/demo/GridjsdemoApplication.java +91 -0
- package/example/src/main/java/com/aspose/gridjs/demo/LocalFileCache.java +92 -0
- package/example/src/main/java/com/aspose/gridjs/demo/ModifyMonitor.java +21 -0
- package/example/src/main/java/com/aspose/gridjs/demo/controller/DataController.java +128 -0
- package/example/src/main/java/com/aspose/gridjs/demo/controller/GridJs2Controller.java +558 -0
- package/example/src/main/resources/application.properties +17 -0
- package/example/src/main/resources/static/xspread/555f60323063f2b68b6eac7ce9c45b19.svg +88 -0
- package/example/src/main/resources/static/xspread/a3b683289420fd8ec937908397907279.svg +907 -0
- package/example/src/main/resources/static/xspread/bootstrap.min.22.5.5.2.css +1 -0
- package/example/src/main/resources/static/xspread/content/img/20130527034914143.gif +0 -0
- package/example/src/main/resources/static/xspread/content/img/20130527034914229.gif +0 -0
- package/example/src/main/resources/static/xspread/content/img/20130527034916363.gif +0 -0
- package/example/src/main/resources/static/xspread/content/img/20130527034917946.gif +0 -0
- package/example/src/main/resources/static/xspread/content/img/20130527034918372.gif +0 -0
- package/example/src/main/resources/static/xspread/content/img/loading.gif +0 -0
- package/example/src/main/resources/static/xspread/content/img/testupdating.gif +0 -0
- package/example/src/main/resources/static/xspread/content/img/testupdating1.png +0 -0
- package/example/src/main/resources/static/xspread/content/img/updating.gif +0 -0
- package/example/src/main/resources/static/xspread/jquery-2.1.1.js +9190 -0
- package/example/src/main/resources/static/xspread/jquery-ui.min.css +7 -0
- package/example/src/main/resources/static/xspread/jquery-ui.min.js +6 -0
- package/example/src/main/resources/static/xspread/jszip.min.js +13 -0
- package/example/src/main/resources/static/xspread/xspreadsheet.css +1953 -0
- package/example/src/main/resources/static/xspread/xspreadsheet.js +21 -0
- package/example/src/main/resources/templates/fileFromUpload.html +297 -0
- package/example/src/main/resources/templates/index.html +296 -0
- package/example/src/main/resources/templates/list.html +98 -0
- package/example/wb/Sales Report.xlsx +0 -0
- package/example/wb/SampleFile2.xlsx +0 -0
- package/example/wb/TextBoxExample.xlsx +0 -0
- package/example/wb/chart.xlsx +0 -0
- package/example/wb/controls.xlsx +0 -0
- package/example/wb/studenttop.xlsx +0 -0
- package/example/wb/to-do-list.xlsx +0 -0
- package/package.json +1 -1
- package/preview.gif +0 -0
- package/readme.md +61 -13
- package/xspreadsheet.css +27 -3
- package/xspreadsheet.js +5 -5
- package/package.json.bak +0 -52
- package/readme.md.bak +0 -246
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridjs-spreadsheet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.1.1",
|
|
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,31 @@
|
|
|
1
1
|
# gridjs-spreadsheet
|
|
2
2
|
|
|
3
|
-
> this is the client side script for
|
|
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)
|
|
12
|
+
|
|
13
|
+
## About
|
|
6
14
|
|
|
7
|
-
## Document
|
|
8
15
|
It allows you to view and edit spreadsheet files with ease.
|
|
9
16
|
|
|
10
17
|
this is developed based on https://github.com/myliang/x-spreadsheet
|
|
11
18
|
|
|
12
19
|
Quick online demo: https://products.aspose.app/cells/editor
|
|
13
20
|
|
|
21
|
+
## Preview
|
|
22
|
+
|
|
23
|
+
<img alt='demo' src='https://unpkg.com/gridjs-spreadsheet@25.1.0/preview.gif'height="800" />
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## API
|
|
27
|
+
|
|
28
|
+
APIs are available on the [API page](https://docs.aspose.com/cells/net/aspose-cells-gridjs/how-to-use-gridjs-client-api/).
|
|
14
29
|
|
|
15
30
|
## CDN
|
|
16
31
|
```html
|
|
@@ -82,7 +97,7 @@ const s = new Spreadsheet("#gridjs-demo")
|
|
|
82
97
|
```
|
|
83
98
|
|
|
84
99
|
|
|
85
|
-
|
|
100
|
+
## simple usage
|
|
86
101
|
|
|
87
102
|
```javascript
|
|
88
103
|
|
|
@@ -176,6 +191,7 @@ xs.cellStyle(ri, ci);
|
|
|
176
191
|
|
|
177
192
|
|
|
178
193
|
## Features
|
|
194
|
+
|
|
179
195
|
- Localization/Multiple language UI
|
|
180
196
|
- Paint format
|
|
181
197
|
- Clear format
|
|
@@ -212,13 +228,22 @@ xs.cellStyle(ri, ci);
|
|
|
212
228
|
- Support display two colors gradient in fill effects
|
|
213
229
|
|
|
214
230
|
|
|
215
|
-
##
|
|
216
|
-
|
|
231
|
+
## Github-Demos
|
|
232
|
+
|
|
233
|
+
Visit the GridJs demo to find more detail info:
|
|
234
|
+
|
|
217
235
|
https://github.com/aspose-cells/Aspose.Cells-for-.NET/tree/master/Examples_GridJs
|
|
218
|
-
|
|
236
|
+
|
|
237
|
+
https://github.com/aspose-cells/Aspose.Cells-for-Java/tree/master/Examples.GridJs
|
|
238
|
+
|
|
239
|
+
https://github.com/aspose-cells/Aspose.Cells-for-Python-via-.NET/tree/main/Examples_GridJs_Python_Net
|
|
240
|
+
|
|
241
|
+
|
|
219
242
|
|
|
220
243
|
## Documentation
|
|
244
|
+
|
|
221
245
|
Online documentation is available here:
|
|
246
|
+
|
|
222
247
|
- [Developer's Guide C#](https://docs.aspose.com/cells/net/aspose-cells-gridjs/)
|
|
223
248
|
- [API Reference C#](https://docs.aspose.com/cells/net/aspose-cells-gridjs/client/)
|
|
224
249
|
- [Developer's Guide Python](https://docs.aspose.com/cells/python-net/aspose-cells-gridjs/)
|
|
@@ -230,17 +255,40 @@ Online documentation is available here:
|
|
|
230
255
|
|
|
231
256
|
Modern browsers(chrome, firefox, Safari).
|
|
232
257
|
|
|
233
|
-
## Version
|
|
258
|
+
## Version History
|
|
259
|
+
|
|
234
260
|
v24.9.1:
|
|
235
|
-
fix bug that fail to insert column in the new added worksheet
|
|
236
|
-
fix bug that fail to rename worksheet
|
|
237
|
-
support lazy loading
|
|
238
261
|
|
|
239
|
-
|
|
262
|
+
- fix bug that fail to insert column in the new added worksheet
|
|
263
|
+
- fix bug that fail to rename worksheet
|
|
264
|
+
- support lazy loading
|
|
265
|
+
|
|
266
|
+
v24.10:
|
|
267
|
+
|
|
268
|
+
- support a view option to show formulas
|
|
269
|
+
|
|
270
|
+
v24.11:
|
|
271
|
+
|
|
272
|
+
- improve the display of rich text cell values
|
|
273
|
+
|
|
274
|
+
v24.12:
|
|
275
|
+
|
|
276
|
+
- support API to show HTML nodes and interact with HTML nodes at specified cell positions
|
|
277
|
+
- support pre-check event for row/column delete/insert operations
|
|
278
|
+
- support row/column insert/delete events for client APIs
|
|
279
|
+
- support events for updating cells
|
|
280
|
+
- support multiple instances on one page
|
|
281
|
+
|
|
282
|
+
v25.1:
|
|
283
|
+
|
|
284
|
+
- support copy/paste from MS-Excel
|
|
285
|
+
|
|
286
|
+
## License
|
|
240
287
|
|
|
241
288
|
MIT
|
|
242
289
|
|
|
290
|
+
## Support
|
|
243
291
|
|
|
244
|
-
|
|
292
|
+
You can ask any question or request features using the [Forum](https://forum.aspose.com/c/cells).
|
|
245
293
|
|
|
246
294
|
[Product Page](https://products.aspose.com/cells) | [Product Documentation](https://docs.aspose.com/cells/net/aspose-cells-gridjs/) | [Blog](https://blog.aspose.com/category/cells/) |[API Reference](https://reference.aspose.com/cells/net/aspose.cells.gridjs/) | [Source Code Samples](https://github.com/aspose-cells/Aspose.Cells-for-.NET/tree/master/Examples_GridJs) | [Free Support](https://forum.aspose.com/c/cells)
|
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;
|
|
@@ -141,14 +145,14 @@ body {
|
|
|
141
145
|
height: 60px;
|
|
142
146
|
margin: 10px;
|
|
143
147
|
background-repeat: no-repeat;
|
|
144
|
-
background-image: url(
|
|
148
|
+
background-image: url(555f60323063f2b68b6eac7ce9c45b19.svg);
|
|
145
149
|
}
|
|
146
150
|
.x-spreadsheet-banner-icon-s {
|
|
147
151
|
width: 30px;
|
|
148
152
|
height: 30px;
|
|
149
153
|
margin: 5px;
|
|
150
154
|
background-repeat: no-repeat;
|
|
151
|
-
background-image: url(
|
|
155
|
+
background-image: url(555f60323063f2b68b6eac7ce9c45b19.svg);
|
|
152
156
|
}
|
|
153
157
|
.x-spreadsheet-banner-filename {
|
|
154
158
|
width: max-content;
|
|
@@ -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;
|
|
@@ -1250,7 +1274,7 @@ form fieldset select {
|
|
|
1250
1274
|
display: inline-block;
|
|
1251
1275
|
}
|
|
1252
1276
|
.x-spreadsheet-icon .x-spreadsheet-icon-img {
|
|
1253
|
-
background-image: url(
|
|
1277
|
+
background-image: url(a3b683289420fd8ec937908397907279.svg);
|
|
1254
1278
|
position: absolute;
|
|
1255
1279
|
width: 262px;
|
|
1256
1280
|
height: 444px;
|