gridjs-spreadsheet 26.1.0 → 26.2.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.
- package/{fa58a9189afab326b8fd7fe6b4751ae5.svg → 518518e5b3ddfea43df2735d38d6dc0d.svg} +61 -27
- package/example/.mvn/wrapper/maven-wrapper.properties +18 -0
- package/example/pom.xml +8 -8
- package/example/src/main/resources/application.properties +1 -0
- package/example/src/main/resources/templates/fileFromUpload.html +17 -18
- package/example/src/main/resources/templates/index.html +1 -1
- package/example/src/test/java/com/aspose/gridjs/demo/GridjsdemoApplicationTests.java +1441 -0
- package/package.json +1 -1
- package/preview.gif +0 -0
- package/readme.md +9 -4
- package/xspreadsheet.css +26 -1
- package/xspreadsheet.js +5 -5
- package/example/.classpath +0 -41
- package/example/.project +0 -23
- package/example/wb/studenttop.xlsx +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridjs-spreadsheet",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.2.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
|
@@ -163,11 +163,11 @@ const s = new Spreadsheet("#gridjs-demo")
|
|
|
163
163
|
|
|
164
164
|
## Bind events
|
|
165
165
|
```javascript
|
|
166
|
-
//single selection
|
|
166
|
+
// single selection
|
|
167
167
|
xs.on('cell-selected', (cell, ri, ci) => {});
|
|
168
|
-
//range selection
|
|
168
|
+
// range selection
|
|
169
169
|
xs.on('cells-selected', (cell, { sri, sci, eri, eci }) => {});
|
|
170
|
-
//shape/image selection
|
|
170
|
+
// shape/image selection
|
|
171
171
|
xs.on('object-selected', (obj) => { console.log('obj id:', obj.id, ', type: ', obj.type); })
|
|
172
172
|
// edited on cell
|
|
173
173
|
xs.on('cell-edited', (text, ri, ci) => {});
|
|
@@ -352,7 +352,7 @@ v25.8:
|
|
|
352
352
|
|
|
353
353
|
v25.9:
|
|
354
354
|
|
|
355
|
-
- Support to render pattern style for cell
|
|
355
|
+
- Support to render pattern style for cell
|
|
356
356
|
|
|
357
357
|
v25.10:
|
|
358
358
|
|
|
@@ -374,6 +374,11 @@ v26.1:
|
|
|
374
374
|
- Support highlight text with rotation
|
|
375
375
|
- Support more charts rendering in client
|
|
376
376
|
|
|
377
|
+
v26.2:
|
|
378
|
+
|
|
379
|
+
- Improve client performance for large rows
|
|
380
|
+
|
|
381
|
+
|
|
377
382
|
## License
|
|
378
383
|
|
|
379
384
|
MIT
|
package/xspreadsheet.css
CHANGED
|
@@ -558,6 +558,14 @@ body {
|
|
|
558
558
|
background: white;
|
|
559
559
|
margin: 2px;
|
|
560
560
|
}
|
|
561
|
+
.x-spreadsheet-editor .x-spreadsheet-editor-area .htmlline.shape-edit-plain {
|
|
562
|
+
background: #ffffff !important;
|
|
563
|
+
color: #000000 !important;
|
|
564
|
+
}
|
|
565
|
+
.x-spreadsheet-editor .x-spreadsheet-editor-area .htmlline.shape-edit-plain * {
|
|
566
|
+
color: #000000 !important;
|
|
567
|
+
background-color: transparent !important;
|
|
568
|
+
}
|
|
561
569
|
.x-spreadsheet-editor .x-spreadsheet-editor-area .textline {
|
|
562
570
|
overflow: hidden;
|
|
563
571
|
visibility: hidden;
|
|
@@ -1566,6 +1574,19 @@ form fieldset select {
|
|
|
1566
1574
|
.x-spreadsheet-toast-content {
|
|
1567
1575
|
padding: 0.75em 1em;
|
|
1568
1576
|
}
|
|
1577
|
+
.x-spreadsheet-modal-password .x-spreadsheet-modal-content {
|
|
1578
|
+
padding: 16px 20px;
|
|
1579
|
+
}
|
|
1580
|
+
.x-spreadsheet-modal-password-message {
|
|
1581
|
+
margin: 6px 0 10px;
|
|
1582
|
+
font-size: 13px;
|
|
1583
|
+
}
|
|
1584
|
+
.x-spreadsheet-modal-password-caution {
|
|
1585
|
+
margin-top: 8px;
|
|
1586
|
+
font-size: 12px;
|
|
1587
|
+
line-height: 1.4;
|
|
1588
|
+
color: #555;
|
|
1589
|
+
}
|
|
1569
1590
|
@media screen and (min-width: 320px) and (max-width: 480px) {
|
|
1570
1591
|
html,
|
|
1571
1592
|
body {
|
|
@@ -1650,7 +1671,7 @@ form fieldset select {
|
|
|
1650
1671
|
display: inline-block;
|
|
1651
1672
|
}
|
|
1652
1673
|
.x-spreadsheet-icon .x-spreadsheet-icon-img {
|
|
1653
|
-
background-image: url(
|
|
1674
|
+
background-image: url(518518e5b3ddfea43df2735d38d6dc0d.svg);
|
|
1654
1675
|
position: absolute;
|
|
1655
1676
|
width: 262px;
|
|
1656
1677
|
height: 444px;
|
|
@@ -2040,6 +2061,10 @@ form fieldset select {
|
|
|
2040
2061
|
left: -216px;
|
|
2041
2062
|
top: -108px;
|
|
2042
2063
|
}
|
|
2064
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.protect {
|
|
2065
|
+
left: -18px;
|
|
2066
|
+
top: -126px;
|
|
2067
|
+
}
|
|
2043
2068
|
.x-spreadsheet-formula-bar {
|
|
2044
2069
|
height: 25px;
|
|
2045
2070
|
line-height: 25px;
|