gridjs-spreadsheet 25.10.0 → 25.11.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/example/pom.xml +3 -3
- package/package.json +1 -1
- package/readme.md +6 -0
- package/xspreadsheet.css +119 -3
- package/xspreadsheet.js +4 -4
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>25.
|
|
20
|
+
<version>25.11</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>25.
|
|
54
|
+
<version>25.11</version>
|
|
55
55
|
</dependency>
|
|
56
56
|
<dependency>
|
|
57
57
|
<groupId>com.aspose</groupId>
|
|
58
58
|
<artifactId>aspose-cells</artifactId>
|
|
59
|
-
<version>25.
|
|
59
|
+
<version>25.11</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": "25.
|
|
3
|
+
"version": "25.11.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,6 +127,7 @@ const s = new Spreadsheet("#gridjs-demo")
|
|
|
127
127
|
showToolbar: true,
|
|
128
128
|
showGrid: true,
|
|
129
129
|
showContextmenu: true,
|
|
130
|
+
local: 'en',
|
|
130
131
|
view: {
|
|
131
132
|
height: () => document.documentElement.clientHeight,
|
|
132
133
|
width: () => document.documentElement.clientWidth,
|
|
@@ -359,6 +360,11 @@ v25.10:
|
|
|
359
360
|
- Support APIs to set customToast
|
|
360
361
|
- Support CSS identify for model window
|
|
361
362
|
|
|
363
|
+
v25.11:
|
|
364
|
+
|
|
365
|
+
- Support fill color settings for charts
|
|
366
|
+
- Support 'Fill Color ' 'Font Color' button dropdown selection and click to fill.
|
|
367
|
+
|
|
362
368
|
## License
|
|
363
369
|
|
|
364
370
|
MIT
|
package/xspreadsheet.css
CHANGED
|
@@ -801,6 +801,14 @@ body {
|
|
|
801
801
|
.x-spreadsheet-bottombar-actions .x-spreadsheet-dropdown {
|
|
802
802
|
margin: 0 6px;
|
|
803
803
|
}
|
|
804
|
+
.x-spreadsheet-bottombar-actions .x-spreadsheet-dropdown-content .x-spreadsheet-item {
|
|
805
|
+
width: 180px !important;
|
|
806
|
+
max-width: 180px;
|
|
807
|
+
display: block;
|
|
808
|
+
white-space: nowrap;
|
|
809
|
+
overflow: hidden;
|
|
810
|
+
text-overflow: ellipsis;
|
|
811
|
+
}
|
|
804
812
|
.x-spreadsheet-menu > li {
|
|
805
813
|
flex-shrink: 0;
|
|
806
814
|
line-height: 1.25em;
|
|
@@ -1269,6 +1277,24 @@ body {
|
|
|
1269
1277
|
color: rgba(0, 0, 0, 0.87);
|
|
1270
1278
|
user-select: none;
|
|
1271
1279
|
box-shadow: inset 0 1px 2px hsla(0, 0%, 4%, 0.06);
|
|
1280
|
+
transition: box-shadow 0.2s ease;
|
|
1281
|
+
}
|
|
1282
|
+
.x-spreadsheet-form-select::after {
|
|
1283
|
+
content: '';
|
|
1284
|
+
position: absolute;
|
|
1285
|
+
top: 50%;
|
|
1286
|
+
right: 10px;
|
|
1287
|
+
width: 0;
|
|
1288
|
+
height: 0;
|
|
1289
|
+
border-left: 5px solid transparent;
|
|
1290
|
+
border-right: 5px solid transparent;
|
|
1291
|
+
border-top: 6px solid #6c757d;
|
|
1292
|
+
pointer-events: none;
|
|
1293
|
+
transform: translateY(-50%);
|
|
1294
|
+
transition: transform 0.2s ease;
|
|
1295
|
+
}
|
|
1296
|
+
.x-spreadsheet-form-select.open::after {
|
|
1297
|
+
transform: translateY(-50%) rotate(180deg);
|
|
1272
1298
|
}
|
|
1273
1299
|
.x-spreadsheet-form-select .input-text {
|
|
1274
1300
|
text-overflow: ellipsis;
|
|
@@ -1277,7 +1303,9 @@ body {
|
|
|
1277
1303
|
width: auto;
|
|
1278
1304
|
height: 30px;
|
|
1279
1305
|
line-height: 30px;
|
|
1280
|
-
padding: 0
|
|
1306
|
+
padding: 0 26px 0 10px;
|
|
1307
|
+
display: flex;
|
|
1308
|
+
align-items: center;
|
|
1281
1309
|
}
|
|
1282
1310
|
.x-spreadsheet-form-fields {
|
|
1283
1311
|
display: flex;
|
|
@@ -1294,7 +1322,6 @@ body {
|
|
|
1294
1322
|
}
|
|
1295
1323
|
.x-spreadsheet-form-field {
|
|
1296
1324
|
display: block;
|
|
1297
|
-
vertical-align: middle;
|
|
1298
1325
|
margin-left: 10px;
|
|
1299
1326
|
margin-bottom: 10px;
|
|
1300
1327
|
}
|
|
@@ -1309,6 +1336,96 @@ body {
|
|
|
1309
1336
|
color: #f04134;
|
|
1310
1337
|
font-size: 0.9em;
|
|
1311
1338
|
}
|
|
1339
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-content {
|
|
1340
|
+
background: linear-gradient(180deg, #f9fbff 0%, #ffffff 45%);
|
|
1341
|
+
padding: 24px;
|
|
1342
|
+
}
|
|
1343
|
+
.x-spreadsheet-modal-link .x-spreadsheet-item {
|
|
1344
|
+
cursor: pointer;
|
|
1345
|
+
width: 100%;
|
|
1346
|
+
}
|
|
1347
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-body {
|
|
1348
|
+
display: flex;
|
|
1349
|
+
flex-direction: column;
|
|
1350
|
+
gap: 18px;
|
|
1351
|
+
}
|
|
1352
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section {
|
|
1353
|
+
padding: 18px 20px;
|
|
1354
|
+
display: flex;
|
|
1355
|
+
flex-direction: column;
|
|
1356
|
+
gap: 20px;
|
|
1357
|
+
}
|
|
1358
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-field,
|
|
1359
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-field {
|
|
1360
|
+
width: 100%;
|
|
1361
|
+
}
|
|
1362
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-field-group {
|
|
1363
|
+
display: grid;
|
|
1364
|
+
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
1365
|
+
gap: 16px;
|
|
1366
|
+
}
|
|
1367
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-field-group > .x-spreadsheet-form-fields {
|
|
1368
|
+
width: 100%;
|
|
1369
|
+
}
|
|
1370
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-field {
|
|
1371
|
+
display: flex;
|
|
1372
|
+
flex-wrap: wrap;
|
|
1373
|
+
align-items: center;
|
|
1374
|
+
}
|
|
1375
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-field .label {
|
|
1376
|
+
flex: 0 0 120px;
|
|
1377
|
+
margin-bottom: 6px;
|
|
1378
|
+
}
|
|
1379
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-field .tip {
|
|
1380
|
+
flex: 0 0 100%;
|
|
1381
|
+
margin-left: 120px;
|
|
1382
|
+
font-size: 12px;
|
|
1383
|
+
}
|
|
1384
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-input,
|
|
1385
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-select {
|
|
1386
|
+
flex: 1;
|
|
1387
|
+
width: 100%;
|
|
1388
|
+
}
|
|
1389
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-input input {
|
|
1390
|
+
width: 100%;
|
|
1391
|
+
}
|
|
1392
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-actions {
|
|
1393
|
+
padding: 18px 24px 0;
|
|
1394
|
+
margin: 0 -24px -8px;
|
|
1395
|
+
border-top: 1px solid #e3e8ef;
|
|
1396
|
+
background: #fff;
|
|
1397
|
+
}
|
|
1398
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-actions .x-spreadsheet-buttons {
|
|
1399
|
+
padding: 0;
|
|
1400
|
+
}
|
|
1401
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-actions .x-spreadsheet-button {
|
|
1402
|
+
min-width: 90px;
|
|
1403
|
+
}
|
|
1404
|
+
@media screen and (max-width: 520px) {
|
|
1405
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-content {
|
|
1406
|
+
padding: 16px;
|
|
1407
|
+
}
|
|
1408
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section {
|
|
1409
|
+
padding: 14px 16px;
|
|
1410
|
+
gap: 16px;
|
|
1411
|
+
}
|
|
1412
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-field {
|
|
1413
|
+
flex-direction: column;
|
|
1414
|
+
align-items: stretch;
|
|
1415
|
+
}
|
|
1416
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-field .label {
|
|
1417
|
+
flex: none;
|
|
1418
|
+
width: 100%;
|
|
1419
|
+
margin-bottom: 4px;
|
|
1420
|
+
}
|
|
1421
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-section .x-spreadsheet-form-field .tip {
|
|
1422
|
+
margin-left: 0;
|
|
1423
|
+
}
|
|
1424
|
+
.x-spreadsheet-modal-link .x-spreadsheet-modal-link-actions {
|
|
1425
|
+
padding: 16px 16px 0;
|
|
1426
|
+
margin: 0 -16px -8px;
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1312
1429
|
.x-spreadsheet-dimmer {
|
|
1313
1430
|
display: none;
|
|
1314
1431
|
position: absolute;
|
|
@@ -2139,7 +2256,6 @@ input[type=number]::-webkit-outer-spin-button {
|
|
|
2139
2256
|
}
|
|
2140
2257
|
.x-spreadsheet-bar-label {
|
|
2141
2258
|
flex: 0 0 auto;
|
|
2142
|
-
display: inline-block;
|
|
2143
2259
|
width: 60px;
|
|
2144
2260
|
height: 100%;
|
|
2145
2261
|
box-sizing: border-box;
|