gridjs-spreadsheet 25.12.1 → 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/pom.xml +3 -3
- package/example/src/main/resources/application.properties +7 -2
- package/package.json +1 -1
- package/readme.md +10 -1
- package/xspreadsheet.css +58 -1
- package/xspreadsheet.js +5 -5
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
inkscape:pagecheckerboard="0"
|
|
28
28
|
showgrid="false"
|
|
29
29
|
inkscape:zoom="2.4975152"
|
|
30
|
-
inkscape:cx="
|
|
31
|
-
inkscape:cy="
|
|
32
|
-
inkscape:window-width="
|
|
30
|
+
inkscape:cx="48.448154"
|
|
31
|
+
inkscape:cy="109.10845"
|
|
32
|
+
inkscape:window-width="1296"
|
|
33
33
|
inkscape:window-height="732"
|
|
34
|
-
inkscape:window-x="
|
|
35
|
-
inkscape:window-y="
|
|
34
|
+
inkscape:window-x="221"
|
|
35
|
+
inkscape:window-y="33"
|
|
36
36
|
inkscape:window-maximized="0"
|
|
37
37
|
inkscape:current-layer="g48"
|
|
38
38
|
inkscape:showpageshadow="2"
|
|
@@ -980,7 +980,11 @@
|
|
|
980
980
|
fill="currentColor"
|
|
981
981
|
d="m 37.342438,20.451241 h -2.842171 v -0.85563 a 0.99330858,0.51337991 0 0 0 -1.986617,0 v 0.85563 h -2.842172 a 0.33110172,0.17112605 0 0 0 -0.234423,0.292284 l 3.835486,1.982324 a 0.33110172,0.17112605 0 0 0 0.468835,0 l 3.835485,-1.982324 a 0.33110172,0.17112605 0 0 0 -0.234423,-0.292284 m -2.842171,9.069681 a 0.99330858,0.51337991 0 0 1 -1.986617,0 v -0.855631 h -2.842172 a 0.33110172,0.17112605 0 0 1 -0.234423,-0.292283 l 3.835486,-1.982324 a 0.33110172,0.17112605 0 0 1 0.468835,0 l 3.835485,1.982324 a 0.33110172,0.17112605 0 0 1 -0.234423,0.292283 h -2.842171 z m -8.608652,-4.449278 a 0.99330515,0.51337814 0 0 0 0,-1.026756 h -0.662194 a 0.99330515,0.51337814 0 0 0 0,1.026756 z m 4.966526,-0.513378 a 0.99330515,0.51337814 0 0 1 -0.993303,0.513378 h -0.662205 a 0.99330515,0.51337814 0 0 1 0,-1.026756 h 0.662205 a 0.99330515,0.51337814 0 0 1 0.993303,0.513378 m 2.97992,0.513378 a 0.99330515,0.51337814 0 0 0 0,-1.026756 h -0.662206 a 0.99330515,0.51337814 0 0 0 0,1.026756 z m 4.966526,-0.513378 a 0.99330515,0.51337814 0 0 1 -0.993303,0.513378 h -0.662206 a 0.99330515,0.51337814 0 0 1 0,-1.026756 h 0.662206 a 0.99330515,0.51337814 0 0 1 0.993303,0.513378 m 2.97992,0.513378 a 0.99330515,0.51337814 0 0 0 0,-1.026756 h -0.662206 a 0.99330515,0.51337814 0 0 0 0,1.026756 z"
|
|
982
982
|
id="path1-74"
|
|
983
|
-
style="stroke-width:0.952136"
|
|
983
|
+
style="stroke-width:0.952136" /><path
|
|
984
|
+
fill="currentColor"
|
|
985
|
+
d="m -177.47907,33.116585 -1.44802,-0.836618 a 4.4058613,2.5149 0 0 1 4.09683,-1.592603 c 2.43691,0 4.4147,1.128933 4.4147,2.519941 v 1.007974 h 0.88294 a 1.7658763,1.0079759 0 0 1 1.76587,1.007978 v 3.427118 l -1.76587,-1.007976 v -2.419142 h -4.23811 l -1.76588,-1.007978 h 3.35517 v -1.007974 c 0,-0.836621 -1.18314,-1.511965 -2.64882,-1.511965 -1.40387,0 -2.55168,0.629984 -2.64881,1.421245 m 11.57532,7.882374 -1.12133,0.640064 -1.21845,-0.695504 c -0.31786,0.2016 -0.77699,0.327592 -1.28909,0.327592 h -10.59527 a 1.7658763,1.0079759 0 0 1 -1.76587,-1.007976 v -5.039878 c 0,-0.559429 0.78581,-1.007978 1.76587,-1.007978 h 0.0971 l -4.41469,-2.519939 1.13016,-0.640064 z m -3.62887,-0.791262 -3.6642,-2.091549 c -0.25606,0.383029 -0.89177,0.635024 -1.63344,0.635024 a 1.7658763,1.0079759 0 0 1 -1.76587,-1.007976 c 0,-0.428389 0.44147,-0.786221 1.1125,-0.932379 l -2.78125,-1.58756 h -1.86301 v 5.039878 h 10.59527 z"
|
|
986
|
+
id="path1-7938"
|
|
987
|
+
style="stroke-width:0.667076" /></g> <g
|
|
984
988
|
id="gchecksyntax"
|
|
985
989
|
transform="matrix(0.0135 ,0,0,0.0135 ,18.5,108)"> <path
|
|
986
990
|
d="M189.44 5.632c-37.888 6.144-96.256 35.328-122.368 61.44-26.624 27.136-55.296 84.992-61.44 126.464-10.24 64.512 10.24 127.488 58.88 179.712 49.152 53.248 108.544 76.8 176.64 70.144 107.008-9.728 185.344-83.968 200.704-189.44C462.848 108.544 334.848-17.408 189.44 5.632z m-5.12 115.712l40.96 38.912 40.448-38.912c34.304-33.792 43.008-39.424 57.856-39.424 31.232 0 51.712 35.84 35.84 64-3.072 5.632-20.48 25.088-38.912 43.008l-33.28 33.28 37.888 39.424c20.48 21.504 38.4 45.056 39.424 51.712 5.12 31.232-20.48 56.832-51.2 51.2-7.168-1.536-30.72-19.456-52.224-39.936l-38.912-37.376-33.28 33.28c-17.92 18.432-37.376 35.84-43.008 38.912-28.16 15.872-64-4.608-64-35.84 0-14.848 5.632-23.552 39.424-57.856l38.912-40.448-38.912-40.96C87.04 148.992 81.92 140.8 81.92 125.44c0-24.064 19.968-43.52 44.544-43.52 14.336 0 23.552 6.144 57.856 39.424zM512 119.808v53.248l119.296 2.048c118.784 1.536 118.784 1.536 148.48 15.872C838.656 220.16 849.92 254.976 849.92 405.504V512h107.52V372.736c0-157.184-3.072-176.64-34.816-224.256-11.264-16.896-30.208-35.84-47.104-47.104-47.616-31.744-67.072-34.816-224.256-34.816H512v53.248zM66.56 651.264c0 157.184 3.072 176.64 34.816 224.256 11.264 16.896 30.208 35.84 47.104 47.104 47.616 31.744 67.072 34.816 224.256 34.816H512v-107.52H406.016c-151.04 0-185.856-11.264-215.04-70.144-14.336-29.696-14.336-29.696-15.872-148.992l-2.048-118.784H66.56v139.264zM752.64 584.192c-29.184 5.632-79.872 31.232-100.864 51.2-40.448 37.376-66.048 90.112-71.168 147.456-6.144 65.536 18.432 128 70.144 177.152 68.608 65.536 160.256 78.848 248.32 35.84 46.08-22.528 74.24-50.688 96.768-96.768 82.432-168.96-57.856-350.72-243.2-314.88z m193.024 118.272c14.336 16.384 17.408 27.648 11.264 44.032-7.168 18.944-156.672 168.96-177.152 178.176-25.088 10.752-42.496 1.024-94.72-52.736-50.176-51.712-53.76-61.952-31.744-88.064 10.24-12.288 17.408-15.872 31.232-15.872 14.336 0 23.04 5.12 48.128 29.184l30.72 29.184 68.096-67.584c60.928-60.928 69.632-67.584 86.016-67.584 11.776 0 20.992 3.584 28.16 11.264z"
|
|
@@ -1004,24 +1008,54 @@
|
|
|
1004
1008
|
id="g49"> <text
|
|
1005
1009
|
text-anchor="middle"
|
|
1006
1010
|
font-size="11px"
|
|
1007
|
-
id="text48">fx</text> </g> </g>
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
<title
|
|
1011
|
-
<!-- Globe base
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1011
|
+
id="text48">fx</text> </g> </g> <g
|
|
1012
|
+
id="translate"
|
|
1013
|
+
transform="matrix(1,0,0,1,0,126)"
|
|
1014
|
+
aria-label="Translate"> <title
|
|
1015
|
+
id="title1">Translate</title> <!-- Globe base --> <circle
|
|
1016
|
+
cx="9"
|
|
1017
|
+
cy="9"
|
|
1018
|
+
r="8"
|
|
1019
|
+
fill="#1976D2"
|
|
1020
|
+
id="circle1" /> <!-- Latitude line --> <path
|
|
1021
|
+
d="M1 9 a8 4 0 0 0 16 0"
|
|
1022
|
+
fill="none"
|
|
1023
|
+
stroke="#FFFFFF"
|
|
1024
|
+
stroke-width="1"
|
|
1025
|
+
id="path49" /> <!-- Longitude line --> <path
|
|
1026
|
+
d="M9 1 a4 8 0 0 1 0 16 a4 8 0 0 1 0 -16"
|
|
1027
|
+
fill="none"
|
|
1028
|
+
stroke="#FFFFFF"
|
|
1029
|
+
stroke-width="1"
|
|
1030
|
+
id="path50" /> <!-- Clockwise arrow --> <path
|
|
1031
|
+
d="M5 13 a4 4 0 0 0 8 0"
|
|
1032
|
+
fill="none"
|
|
1033
|
+
stroke="#FFFFFF"
|
|
1034
|
+
stroke-width="1.5"
|
|
1035
|
+
stroke-linecap="round"
|
|
1036
|
+
id="path51" /> <path
|
|
1037
|
+
d="M13 13 L13 11 L11 13"
|
|
1038
|
+
fill="none"
|
|
1039
|
+
stroke="#FFFFFF"
|
|
1040
|
+
stroke-width="1.5"
|
|
1041
|
+
stroke-linecap="round"
|
|
1042
|
+
id="path52" /> <!-- Counter?clockwise arrow --> <path
|
|
1043
|
+
d="M13 5 a4 4 0 0 0 -8 0"
|
|
1044
|
+
fill="none"
|
|
1045
|
+
stroke="#FFFFFF"
|
|
1046
|
+
stroke-width="1.5"
|
|
1047
|
+
stroke-linecap="round"
|
|
1048
|
+
id="path53" /> <path
|
|
1049
|
+
d="M5 5 L5 7 L7 5"
|
|
1050
|
+
fill="none"
|
|
1051
|
+
stroke="#FFFFFF"
|
|
1052
|
+
stroke-width="1.5"
|
|
1053
|
+
stroke-linecap="round"
|
|
1054
|
+
id="path54" /> <!-- Small "A?Ω" glyph --> <text
|
|
1055
|
+
x="9"
|
|
1056
|
+
y="11.5"
|
|
1057
|
+
text-anchor="middle"
|
|
1058
|
+
font-family="sans-serif"
|
|
1059
|
+
font-size="5px"
|
|
1060
|
+
fill="#FFFFFF"
|
|
1061
|
+
id="text54">A?Ω</text> </g> </svg>
|
package/example/pom.xml
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</repositories>
|
|
18
18
|
<groupId>com.aspose.gridjs</groupId>
|
|
19
19
|
<artifactId>gridjsdemo</artifactId>
|
|
20
|
-
<version>
|
|
20
|
+
<version>26.2</version>
|
|
21
21
|
<name>gridjsdemo</name>
|
|
22
22
|
<description>GridJs Demo project for Spring Boot</description>
|
|
23
23
|
<properties>
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
<dependency>
|
|
52
52
|
<groupId>com.aspose</groupId>
|
|
53
53
|
<artifactId>aspose-cells</artifactId>
|
|
54
|
-
<version>
|
|
54
|
+
<version>26.2</version>
|
|
55
55
|
</dependency>
|
|
56
56
|
<dependency>
|
|
57
57
|
<groupId>com.aspose</groupId>
|
|
58
58
|
<artifactId>aspose-cells</artifactId>
|
|
59
|
-
<version>
|
|
59
|
+
<version>26.2</version>
|
|
60
60
|
<classifier>gridjs</classifier>
|
|
61
61
|
</dependency>
|
|
62
62
|
<!-- <dependency>
|
|
@@ -2,10 +2,15 @@ spring.application.name=gridjsdemo
|
|
|
2
2
|
spring.servlet.multipart.enabled=true
|
|
3
3
|
spring.servlet.multipart.max-file-size=10MB
|
|
4
4
|
spring.servlet.multipart.max-request-size=10MB
|
|
5
|
+
#for local test
|
|
5
6
|
#testconfig.ListDir=D:\\codebase\\customerissue\\wb\\tempfromdownload\\
|
|
6
|
-
#
|
|
7
|
+
#testconfig.FileName=excelColumnWordBreak.xlsm
|
|
8
|
+
#testconfig.CachePath=F:\\storage\\gridjs_temp
|
|
9
|
+
#testconfig.UploadPath=F:\\storage\\upload
|
|
10
|
+
#testconfig.AsposeLicensePath=F:\\aspose.lic
|
|
11
|
+
#for docker linux
|
|
7
12
|
testconfig.ListDir=/app/wb
|
|
8
|
-
testconfig.FileName=
|
|
13
|
+
testconfig.FileName=controls.xlsx
|
|
9
14
|
testconfig.CachePath=/app/grid_cache
|
|
10
15
|
testconfig.UploadPath=/app/upload
|
|
11
16
|
testconfig.AsposeLicensePath=/app/license
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridjs-spreadsheet",
|
|
3
|
-
"version": "
|
|
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/readme.md
CHANGED
|
@@ -127,7 +127,6 @@ const s = new Spreadsheet("#gridjs-demo")
|
|
|
127
127
|
showToolbar: true,
|
|
128
128
|
showGrid: true,
|
|
129
129
|
showContextmenu: true,
|
|
130
|
-
local: 'en',
|
|
131
130
|
view: {
|
|
132
131
|
height: () => document.documentElement.clientHeight,
|
|
133
132
|
width: () => document.documentElement.clientWidth,
|
|
@@ -370,6 +369,16 @@ v25.12:
|
|
|
370
369
|
- Support sort by cell color/font color
|
|
371
370
|
- Support add multiple selection validation list
|
|
372
371
|
|
|
372
|
+
v26.1:
|
|
373
|
+
|
|
374
|
+
- Support highlight text with rotation
|
|
375
|
+
- Support more charts rendering in client
|
|
376
|
+
|
|
377
|
+
v26.2:
|
|
378
|
+
|
|
379
|
+
- Improve client performance for large rows
|
|
380
|
+
|
|
381
|
+
|
|
373
382
|
## License
|
|
374
383
|
|
|
375
384
|
MIT
|
package/xspreadsheet.css
CHANGED
|
@@ -291,6 +291,19 @@ body {
|
|
|
291
291
|
.x-spreadsheet-dropdown .x-spreadsheet-dropdown-header .x-spreadsheet-icon.arrow-right .arrow-down {
|
|
292
292
|
left: -130px;
|
|
293
293
|
}
|
|
294
|
+
.x-spreadsheet-dropdown.x-spreadsheet-dropdown-insert-image .x-spreadsheet-dropdown-content {
|
|
295
|
+
padding: 6px 0;
|
|
296
|
+
}
|
|
297
|
+
.x-spreadsheet-dropdown.x-spreadsheet-dropdown-insert-image .x-spreadsheet-item label {
|
|
298
|
+
display: flex;
|
|
299
|
+
align-items: center;
|
|
300
|
+
gap: 8px;
|
|
301
|
+
width: 100%;
|
|
302
|
+
cursor: pointer;
|
|
303
|
+
font-weight: inherit;
|
|
304
|
+
font-size: inherit;
|
|
305
|
+
color: inherit;
|
|
306
|
+
}
|
|
294
307
|
.x-spreadsheet-autofill-option-group {
|
|
295
308
|
background-color: white;
|
|
296
309
|
position: absolute;
|
|
@@ -545,6 +558,14 @@ body {
|
|
|
545
558
|
background: white;
|
|
546
559
|
margin: 2px;
|
|
547
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
|
+
}
|
|
548
569
|
.x-spreadsheet-editor .x-spreadsheet-editor-area .textline {
|
|
549
570
|
overflow: hidden;
|
|
550
571
|
visibility: hidden;
|
|
@@ -1440,6 +1461,25 @@ body {
|
|
|
1440
1461
|
margin: 0 -16px -8px;
|
|
1441
1462
|
}
|
|
1442
1463
|
}
|
|
1464
|
+
.x-spreadsheet-modal-insert-url .x-spreadsheet-form-fields {
|
|
1465
|
+
flex-direction: column;
|
|
1466
|
+
align-items: stretch;
|
|
1467
|
+
width: 100%;
|
|
1468
|
+
}
|
|
1469
|
+
.x-spreadsheet-modal-insert-url .x-spreadsheet-form-field {
|
|
1470
|
+
width: 100%;
|
|
1471
|
+
margin-left: 0;
|
|
1472
|
+
}
|
|
1473
|
+
.x-spreadsheet-modal-insert-url .x-spreadsheet-form-input {
|
|
1474
|
+
width: 100%;
|
|
1475
|
+
display: flex;
|
|
1476
|
+
}
|
|
1477
|
+
.x-spreadsheet-modal-insert-url .x-spreadsheet-form-input input {
|
|
1478
|
+
width: 100%;
|
|
1479
|
+
}
|
|
1480
|
+
.x-spreadsheet-modal-insert-url .x-spreadsheet-buttons {
|
|
1481
|
+
margin-top: 8px;
|
|
1482
|
+
}
|
|
1443
1483
|
.x-spreadsheet-dimmer {
|
|
1444
1484
|
display: none;
|
|
1445
1485
|
position: absolute;
|
|
@@ -1534,6 +1574,19 @@ form fieldset select {
|
|
|
1534
1574
|
.x-spreadsheet-toast-content {
|
|
1535
1575
|
padding: 0.75em 1em;
|
|
1536
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
|
+
}
|
|
1537
1590
|
@media screen and (min-width: 320px) and (max-width: 480px) {
|
|
1538
1591
|
html,
|
|
1539
1592
|
body {
|
|
@@ -1618,7 +1671,7 @@ form fieldset select {
|
|
|
1618
1671
|
display: inline-block;
|
|
1619
1672
|
}
|
|
1620
1673
|
.x-spreadsheet-icon .x-spreadsheet-icon-img {
|
|
1621
|
-
background-image: url(
|
|
1674
|
+
background-image: url(518518e5b3ddfea43df2735d38d6dc0d.svg);
|
|
1622
1675
|
position: absolute;
|
|
1623
1676
|
width: 262px;
|
|
1624
1677
|
height: 444px;
|
|
@@ -2008,6 +2061,10 @@ form fieldset select {
|
|
|
2008
2061
|
left: -216px;
|
|
2009
2062
|
top: -108px;
|
|
2010
2063
|
}
|
|
2064
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.protect {
|
|
2065
|
+
left: -18px;
|
|
2066
|
+
top: -126px;
|
|
2067
|
+
}
|
|
2011
2068
|
.x-spreadsheet-formula-bar {
|
|
2012
2069
|
height: 25px;
|
|
2013
2070
|
line-height: 25px;
|