gridjs-spreadsheet 23.11.0 → 24.1.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/b5d8fc4d54f7fb3ee2d20099bc0fd819.svg +784 -0
- package/package.json +1 -1
- package/package.json.bak +1 -1
- package/readme.md +2 -2
- package/readme.md.bak +1 -1
- package/xspreadsheet.css +89 -1
- package/xspreadsheet.js +13 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridjs-spreadsheet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.1.0",
|
|
4
4
|
"description": "A smart and simple to use Excel-like JavaScript Spreadsheet library allows you to view and edit spreadsheet file with ease and quick.",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"main": "xspreadsheet.js",
|
package/package.json.bak
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridjs-spreadsheet",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.12.0",
|
|
4
4
|
"description": "A smart and simple to use Excel-like JavaScript Spreadsheet library allows you to view and edit spreadsheet file with ease and quick.",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"main": "xspreadsheet.js",
|
package/readme.md
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
<script src="https://unpkg.com/jquery-ui@1.13.2/dist/jquery-ui.min.js"></script>
|
|
23
23
|
<script src="https://unpkg.com/jszip@3.10.1/dist/jszip.min.js"></script>
|
|
24
24
|
<!-- other dependency end -->
|
|
25
|
-
<link rel="stylesheet" href="https://unpkg.com/gridjs-spreadsheet@
|
|
26
|
-
<script src="https://unpkg.com/gridjs-spreadsheet@
|
|
25
|
+
<link rel="stylesheet" href="https://unpkg.com/gridjs-spreadsheet@24.1.0/xspreadsheet.css">
|
|
26
|
+
<script src="https://unpkg.com/gridjs-spreadsheet@24.1.0/xspreadsheet.js"></script>
|
|
27
27
|
|
|
28
28
|
<script>
|
|
29
29
|
const option = {
|
package/readme.md.bak
CHANGED
|
@@ -209,7 +209,7 @@ xs.cellStyle(ri, ci);
|
|
|
209
209
|
- Display form controls /activeX controls
|
|
210
210
|
- Insert/Delete form controls
|
|
211
211
|
- Insert/Delete common shapes for autoshape
|
|
212
|
-
-
|
|
212
|
+
- Support display two colors gradient in fill effects
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
## Demo
|
package/xspreadsheet.css
CHANGED
|
@@ -1067,7 +1067,7 @@ form fieldset select {
|
|
|
1067
1067
|
display: inline-block;
|
|
1068
1068
|
}
|
|
1069
1069
|
.x-spreadsheet-icon .x-spreadsheet-icon-img {
|
|
1070
|
-
background-image: url(
|
|
1070
|
+
background-image: url(b5d8fc4d54f7fb3ee2d20099bc0fd819.svg);
|
|
1071
1071
|
position: absolute;
|
|
1072
1072
|
width: 262px;
|
|
1073
1073
|
height: 444px;
|
|
@@ -1357,6 +1357,30 @@ form fieldset select {
|
|
|
1357
1357
|
left: -36px;
|
|
1358
1358
|
top: -90px;
|
|
1359
1359
|
}
|
|
1360
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-rotate-text-up {
|
|
1361
|
+
left: -108px;
|
|
1362
|
+
top: -90px;
|
|
1363
|
+
}
|
|
1364
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-rotate-text-down {
|
|
1365
|
+
left: -126px;
|
|
1366
|
+
top: -90px;
|
|
1367
|
+
}
|
|
1368
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-vertical-text {
|
|
1369
|
+
left: -90px;
|
|
1370
|
+
top: -90px;
|
|
1371
|
+
}
|
|
1372
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-angle-counterclockwise {
|
|
1373
|
+
left: -54px;
|
|
1374
|
+
top: -90px;
|
|
1375
|
+
}
|
|
1376
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-angle-clockwise {
|
|
1377
|
+
left: -72px;
|
|
1378
|
+
top: -90px;
|
|
1379
|
+
}
|
|
1380
|
+
.x-spreadsheet-icon .x-spreadsheet-icon-img.text-rotate-other-angle {
|
|
1381
|
+
left: -144px;
|
|
1382
|
+
top: -90px;
|
|
1383
|
+
}
|
|
1360
1384
|
.x-spreadsheet-formula-bar {
|
|
1361
1385
|
height: 25px;
|
|
1362
1386
|
line-height: 25px;
|
|
@@ -1417,4 +1441,68 @@ dialog {
|
|
|
1417
1441
|
dialog p {
|
|
1418
1442
|
margin: 0 0 0 5px;
|
|
1419
1443
|
}
|
|
1444
|
+
#textRotateDegreeContainer {
|
|
1445
|
+
display: flex;
|
|
1446
|
+
align-items: center;
|
|
1447
|
+
flex-direction: column;
|
|
1448
|
+
min-width: unset;
|
|
1449
|
+
}
|
|
1450
|
+
#textRotateDegreeBoxContainer {
|
|
1451
|
+
display: flex;
|
|
1452
|
+
height: 200px;
|
|
1453
|
+
align-items: stretch;
|
|
1454
|
+
}
|
|
1455
|
+
#textRotateDegreeBox {
|
|
1456
|
+
width: 150px;
|
|
1457
|
+
height: 200px;
|
|
1458
|
+
border: 1px solid #000;
|
|
1459
|
+
position: relative;
|
|
1460
|
+
user-select: none;
|
|
1461
|
+
}
|
|
1462
|
+
#textRotateDegreeBox::before {
|
|
1463
|
+
content: '';
|
|
1464
|
+
position: absolute;
|
|
1465
|
+
width: 100px;
|
|
1466
|
+
/* 伪元素的宽度等于div的宽度 */
|
|
1467
|
+
height: 197px;
|
|
1468
|
+
/* 高度是宽度的一半,形成半圆 */
|
|
1469
|
+
border-top-right-radius: 200px;
|
|
1470
|
+
/* 右上半圆的半径 */
|
|
1471
|
+
border-bottom-right-radius: 200px;
|
|
1472
|
+
/* 右下半圆的半径 */
|
|
1473
|
+
border-top: 2px dashed black;
|
|
1474
|
+
/* 上边框是点线 */
|
|
1475
|
+
border-right: 2px dashed black;
|
|
1476
|
+
/* 右边框是点线 */
|
|
1477
|
+
border-bottom: 2px dashed black;
|
|
1478
|
+
/* 右边框是点线 */
|
|
1479
|
+
}
|
|
1480
|
+
#textRotateDegreePointer {
|
|
1481
|
+
width: 100%;
|
|
1482
|
+
position: absolute;
|
|
1483
|
+
top: 50%;
|
|
1484
|
+
left: 5%;
|
|
1485
|
+
transform-origin: 0 0;
|
|
1486
|
+
display: flex;
|
|
1487
|
+
}
|
|
1488
|
+
#textRotateDegreeLine {
|
|
1489
|
+
width: 35%;
|
|
1490
|
+
height: 2px;
|
|
1491
|
+
background-color: #000;
|
|
1492
|
+
}
|
|
1493
|
+
#textRotateDegreeText {
|
|
1494
|
+
transform-origin: 0 0;
|
|
1495
|
+
transform: translateX(-50%) translateY(-50%);
|
|
1496
|
+
margin-left: 5%;
|
|
1497
|
+
}
|
|
1498
|
+
#textRotateDegreeResetButton {
|
|
1499
|
+
margin-right: 20px;
|
|
1500
|
+
width: 2.5rem;
|
|
1501
|
+
word-break: break-all;
|
|
1502
|
+
font-size: 1.5rem;
|
|
1503
|
+
}
|
|
1504
|
+
#textRotateDegreeInput {
|
|
1505
|
+
margin-top: 10px;
|
|
1506
|
+
width: 60px;
|
|
1507
|
+
}
|
|
1420
1508
|
|