gridjs-spreadsheet 26.1.0 → 26.3.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.
@@ -27,12 +27,12 @@
27
27
  inkscape:pagecheckerboard="0"
28
28
  showgrid="false"
29
29
  inkscape:zoom="2.4975152"
30
- inkscape:cx="143.74287"
31
- inkscape:cy="83.482975"
32
- inkscape:window-width="1632"
30
+ inkscape:cx="91.691134"
31
+ inkscape:cy="92.291731"
32
+ inkscape:window-width="1296"
33
33
  inkscape:window-height="732"
34
- inkscape:window-x="193"
35
- inkscape:window-y="34"
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,19 @@
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" /></g>&#10;<g
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" /><path
988
+ fill="currentColor"
989
+ d="m -148.58116,32.667582 a 1.0504391,0.57613469 0 0 1 -1.36631,-0.875302 l 2.44983,-1.151712 a 1.0499309,0.57585595 0 0 1 1.36632,0 l 2.44984,1.151712 a 1.0504423,0.5761365 0 1 1 -1.36632,0.875302 l -1.76667,-0.831536 z m -5.93281,-0.821555 a 1.0499309,0.57585595 0 0 0 -0.97154,0.357799 l -6.29958,8.445887 a 1.0499309,0.57585595 0 0 0 1.94307,0.436115 l 2.02427,-2.713433 h 6.60756 l 2.02426,2.713433 a 1.0499309,0.57585595 0 1 0 1.94309,-0.436115 l -6.2996,-8.445887 a 1.0499309,0.57585595 0 0 0 -0.97153,-0.357799 m 0,2.096116 2.44424,3.27854 h -4.88708 z"
990
+ id="path1-79380"
991
+ style="stroke-width:1.03676" /><path
992
+ fill="currentColor"
993
+ d="m -127.19031,30.60002 a 1.0926776,0.60820839 0 1 0 -1.36584,0.948805 l 2.73169,1.216417 a 1.0926776,0.60820839 0 0 0 1.36585,0 l 2.73169,-1.216417 a 1.0926776,0.60820839 0 0 0 -1.36585,-0.948805 l -2.04877,0.912312 z m -5.05362,1.082611 a 1.0926776,0.60820839 0 0 1 1.00525,0.368575 l 6.55497,8.514917 a 1.0926776,0.60820839 0 0 1 -2.00833,0.479268 l -2.05752,-2.672468 h -6.98875 l -2.05643,2.672468 a 1.0926776,0.60820839 0 0 1 -2.00834,-0.479268 l 6.55607,-8.514917 a 1.0926776,0.60820839 0 0 1 1.00308,-0.368575 m 0,2.15245 -2.55687,3.320817 h 5.11372 z"
994
+ id="path1-52"
995
+ style="stroke-width:0.815216" /></g>&#10;<g
984
996
  id="gchecksyntax"
985
997
  transform="matrix(0.0135 ,0,0,0.0135 ,18.5,108)">&#10; <path
986
998
  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 +1016,64 @@
1004
1016
  id="g49"> &#10; <text
1005
1017
  text-anchor="middle"
1006
1018
  font-size="11px"
1007
- id="text48">fx</text> &#10; </g> &#10; </g>&#10;
1008
-
1009
- <g id="translate" transform="matrix(1,0,0,1,0,126)" aria-label="Translate">
1010
- <title>Translate</title>
1011
- <!-- Globe base -->
1012
- <circle cx="9" cy="9" r="8" fill="#1976D2"/>
1013
- <!-- Latitude line -->
1014
- <path d="M1 9 a8 4 0 0 0 16 0" fill="none" stroke="#FFFFFF" stroke-width="1"/>
1015
- <!-- Longitude line -->
1016
- <path d="M9 1 a4 8 0 0 1 0 16 a4 8 0 0 1 0 -16" fill="none" stroke="#FFFFFF" stroke-width="1"/>
1017
- <!-- Clockwise arrow -->
1018
- <path d="M5 13 a4 4 0 0 0 8 0" fill="none" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"/>
1019
- <path d="M13 13 L13 11 L11 13" fill="none" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"/>
1020
- <!-- Counter?clockwise arrow -->
1021
- <path d="M13 5 a4 4 0 0 0 -8 0" fill="none" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"/>
1022
- <path d="M5 5 L5 7 L7 5" fill="none" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"/>
1023
- <!-- Small "A?Ω" glyph -->
1024
- <text x="9" y="11.5" text-anchor="middle" font-family="sans-serif" font-size="5px" fill="#FFFFFF">A?Ω</text>
1025
- </g>
1019
+ id="text48">fx</text> &#10; </g> &#10; </g>&#10;&#10;&#10; <g
1020
+ id="translate"
1021
+ transform="matrix(1,0,0,1,0,126)"
1022
+ aria-label="Translate">&#10; <title
1023
+ id="title1">Translate</title>&#10; <!-- Globe base -->&#10; <circle
1024
+ cx="9"
1025
+ cy="9"
1026
+ r="8"
1027
+ fill="#1976D2"
1028
+ id="circle1" />&#10; <!-- Latitude line -->&#10; <path
1029
+ d="M1 9 a8 4 0 0 0 16 0"
1030
+ fill="none"
1031
+ stroke="#FFFFFF"
1032
+ stroke-width="1"
1033
+ id="path49" />&#10; <!-- Longitude line -->&#10; <path
1034
+ d="M9 1 a4 8 0 0 1 0 16 a4 8 0 0 1 0 -16"
1035
+ fill="none"
1036
+ stroke="#FFFFFF"
1037
+ stroke-width="1"
1038
+ id="path50" />&#10; <!-- Clockwise arrow -->&#10; <path
1039
+ d="M5 13 a4 4 0 0 0 8 0"
1040
+ fill="none"
1041
+ stroke="#FFFFFF"
1042
+ stroke-width="1.5"
1043
+ stroke-linecap="round"
1044
+ id="path51" />&#10; <path
1045
+ d="M13 13 L13 11 L11 13"
1046
+ fill="none"
1047
+ stroke="#FFFFFF"
1048
+ stroke-width="1.5"
1049
+ stroke-linecap="round"
1050
+ id="path52" />&#10; <!-- Counter?clockwise arrow -->&#10; <path
1051
+ d="M13 5 a4 4 0 0 0 -8 0"
1052
+ fill="none"
1053
+ stroke="#FFFFFF"
1054
+ stroke-width="1.5"
1055
+ stroke-linecap="round"
1056
+ id="path53" />&#10; <path
1057
+ d="M5 5 L5 7 L7 5"
1058
+ fill="none"
1059
+ stroke="#FFFFFF"
1060
+ stroke-width="1.5"
1061
+ stroke-linecap="round"
1062
+ id="path54" />&#10; <!-- Small "A?Ω" glyph -->&#10; <text
1063
+ x="9"
1064
+ y="11.5"
1065
+ text-anchor="middle"
1066
+ font-family="sans-serif"
1067
+ font-size="5px"
1068
+ fill="#FFFFFF"
1069
+ id="text54">A?Ω</text>&#10;</g>&#10;
1070
+ <g id="addRedaction" transform="matrix(0.3933,0,0,0.3933,72,124)">
1071
+ <rect x="9" y="9" width="36" height="36" fill="#E53935" rx="4" ry="4"/>
1072
+ <line x1="9" y1="9" x2="45" y2="45" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
1073
+ <rect x="17" y="24" width="20" height="6" fill="#FFFFFF"/>
1074
+ <rect x="24" y="17" width="6" height="20" fill="#FFFFFF"/>
1075
+ </g>
1076
+ &#10;
1077
+ <g id="redactionViewSwitch" transform="matrix(0.3833,0,0,0.3833,90,126)"><rect x="8" y="8" width="36" height="36" fill="none" stroke="#4A90E2" stroke-width="2" stroke-dasharray="4 2"/><path d="M18,27 C18,21 36,21 36,27 C36,33 18,33 18,27 Z" fill="none" stroke="#4A90E2" stroke-width="2" stroke-linecap="round"/><circle cx="27" cy="27" r="5" fill="#4A90E2"/></g>
1026
1078
  &#10;
1027
- </svg>
1079
+ &#10;&#10; </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>26.1</version>
20
+ <version>26.3</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>26.1</version>
54
+ <version>26.3</version>
55
55
  </dependency>
56
56
  <dependency>
57
57
  <groupId>com.aspose</groupId>
58
58
  <artifactId>aspose-cells</artifactId>
59
- <version>26.1</version>
59
+ <version>26.3</version>
60
60
  <classifier>gridjs</classifier>
61
61
  </dependency>
62
62
  <!-- <dependency>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridjs-spreadsheet",
3
- "version": "26.1.0",
3
+ "version": "26.3.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
@@ -374,6 +374,15 @@ 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
+ v26.2:
382
+
383
+ - Improve filter/validations/charts
384
+
385
+
377
386
  ## License
378
387
 
379
388
  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;
@@ -1344,13 +1352,13 @@ body {
1344
1352
  }
1345
1353
  .x-spreadsheet-form-fields .x-spreadsheet-form-field .label {
1346
1354
  display: inline-block;
1347
- margin: 0 10px 0 0;
1355
+ margin: 0 5px 0 0;
1348
1356
  color: rgba(0, 0, 0, 0.87);
1349
1357
  }
1350
1358
  .x-spreadsheet-form-field {
1351
1359
  display: block;
1352
- margin-left: 10px;
1353
- margin-bottom: 10px;
1360
+ margin-left: 6px;
1361
+ margin-bottom: 6px;
1354
1362
  }
1355
1363
  .x-spreadsheet-form-field:first-child {
1356
1364
  margin-left: 0;
@@ -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(fa58a9189afab326b8fd7fe6b4751ae5.svg);
1674
+ background-image: url(04b2e68c4fe0eea3f5308869edc690fd.svg);
1654
1675
  position: absolute;
1655
1676
  width: 262px;
1656
1677
  height: 444px;
@@ -1744,6 +1765,14 @@ form fieldset select {
1744
1765
  left: -36px;
1745
1766
  top: -108px;
1746
1767
  }
1768
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.redactionAdd {
1769
+ left: -72px;
1770
+ top: -126px;
1771
+ }
1772
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.redactionViewSwitch {
1773
+ left: -90px;
1774
+ top: -126px;
1775
+ }
1747
1776
  .x-spreadsheet-icon .x-spreadsheet-icon-img.autofilter {
1748
1777
  left: -90px;
1749
1778
  top: -18px;
@@ -2040,6 +2069,18 @@ form fieldset select {
2040
2069
  left: -216px;
2041
2070
  top: -108px;
2042
2071
  }
2072
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.protect {
2073
+ left: -18px;
2074
+ top: -126px;
2075
+ }
2076
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.increase-font-size {
2077
+ left: -36px;
2078
+ top: -126px;
2079
+ }
2080
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.decrease-font-size {
2081
+ left: -54px;
2082
+ top: -126px;
2083
+ }
2043
2084
  .x-spreadsheet-formula-bar {
2044
2085
  height: 25px;
2045
2086
  line-height: 25px;