gridjs-spreadsheet 24.7.0 → 24.8.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/package.json +15 -3
- package/package.json.bak +15 -3
- package/readme.md +2 -2
- package/readme.md.bak +3 -3
- package/xspreadsheet.css +20 -4
- package/xspreadsheet.js +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridjs-spreadsheet",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.8.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.",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"main": "xspreadsheet.js",
|
|
@@ -31,8 +31,20 @@
|
|
|
31
31
|
"JSON",
|
|
32
32
|
"SQL",
|
|
33
33
|
"XML",
|
|
34
|
-
"Online
|
|
35
|
-
"
|
|
34
|
+
"Online Spreadsheet Editor",
|
|
35
|
+
"Online Office",
|
|
36
|
+
"Online Excel",
|
|
37
|
+
"Online Excel Editor",
|
|
38
|
+
"Excel Editor",
|
|
39
|
+
"Excel Viewer",
|
|
40
|
+
"Excel Online",
|
|
41
|
+
"open excel",
|
|
42
|
+
"view excel",
|
|
43
|
+
"open spreadsheet",
|
|
44
|
+
"view spreadsheet",
|
|
45
|
+
"spread-sheet",
|
|
46
|
+
"spreadsheet editor",
|
|
47
|
+
"spreadsheet online",
|
|
36
48
|
"javascript spreadsheet",
|
|
37
49
|
"javascript excel",
|
|
38
50
|
"excel io",
|
package/package.json.bak
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gridjs-spreadsheet",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.6.2",
|
|
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.",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"main": "xspreadsheet.js",
|
|
@@ -31,8 +31,20 @@
|
|
|
31
31
|
"JSON",
|
|
32
32
|
"SQL",
|
|
33
33
|
"XML",
|
|
34
|
-
"Online
|
|
35
|
-
"
|
|
34
|
+
"Online Spreadsheet Editor",
|
|
35
|
+
"Online Office",
|
|
36
|
+
"Online Excel",
|
|
37
|
+
"Online Excel Editor",
|
|
38
|
+
"Excel Editor",
|
|
39
|
+
"Excel Viewer",
|
|
40
|
+
"Excel Online",
|
|
41
|
+
"open excel",
|
|
42
|
+
"view excel",
|
|
43
|
+
"open spreadsheet",
|
|
44
|
+
"view spreadsheet",
|
|
45
|
+
"spread-sheet",
|
|
46
|
+
"spreadsheet editor",
|
|
47
|
+
"spreadsheet online",
|
|
36
48
|
"javascript spreadsheet",
|
|
37
49
|
"javascript excel",
|
|
38
50
|
"excel io",
|
package/readme.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# gridjs-spreadsheet
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> 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
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
## Document
|
|
8
|
-
It allows you to view and edit spreadsheet
|
|
8
|
+
It allows you to view and edit spreadsheet files with ease.
|
|
9
9
|
|
|
10
10
|
this is developed based on https://github.com/myliang/x-spreadsheet
|
|
11
11
|
|
package/readme.md.bak
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# gridjs-spreadsheet
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> 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
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -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/xspreadsheet.css
CHANGED
|
@@ -424,6 +424,9 @@ body {
|
|
|
424
424
|
-webkit-box-sizing: content-box;
|
|
425
425
|
-moz-box-sizing: content-box;
|
|
426
426
|
}
|
|
427
|
+
.x-spreadsheet-selector .x-spreadsheet-selector-area.dashed {
|
|
428
|
+
border: 2px dashed #4b89ff;
|
|
429
|
+
}
|
|
427
430
|
.x-spreadsheet-selector .x-spreadsheet-selector-validation-input-message {
|
|
428
431
|
position: relative;
|
|
429
432
|
z-index: 100;
|
|
@@ -436,7 +439,8 @@ body {
|
|
|
436
439
|
box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
|
|
437
440
|
}
|
|
438
441
|
.x-spreadsheet-selector .x-spreadsheet-selector-clipboard,
|
|
439
|
-
.x-spreadsheet-selector .x-spreadsheet-selector-autofill
|
|
442
|
+
.x-spreadsheet-selector .x-spreadsheet-selector-autofill,
|
|
443
|
+
.x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
|
|
440
444
|
position: absolute;
|
|
441
445
|
background: transparent;
|
|
442
446
|
z-index: 100;
|
|
@@ -444,6 +448,9 @@ body {
|
|
|
444
448
|
.x-spreadsheet-selector .x-spreadsheet-selector-clipboard {
|
|
445
449
|
border: 2px dashed #4b89ff;
|
|
446
450
|
}
|
|
451
|
+
.x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
|
|
452
|
+
border: 2px solid #4b89ff;
|
|
453
|
+
}
|
|
447
454
|
.x-spreadsheet-selector .x-spreadsheet-selector-autofill {
|
|
448
455
|
border: 1px dashed rgba(0, 0, 0, 0.45);
|
|
449
456
|
}
|
|
@@ -924,6 +931,12 @@ body {
|
|
|
924
931
|
background-color: #d9dc22;
|
|
925
932
|
font-size: 8px;
|
|
926
933
|
}
|
|
934
|
+
.x-spreadsheet-modal-component-input-btn {
|
|
935
|
+
border: 1px solid #0078d4;
|
|
936
|
+
color: #0078d4;
|
|
937
|
+
background: white;
|
|
938
|
+
border-radius: 0 5px 5px 0;
|
|
939
|
+
}
|
|
927
940
|
.x-spreadsheet-form-input {
|
|
928
941
|
font-size: 1em;
|
|
929
942
|
position: relative;
|
|
@@ -1539,7 +1552,7 @@ form fieldset select {
|
|
|
1539
1552
|
width: 100%;
|
|
1540
1553
|
padding: 8px;
|
|
1541
1554
|
border: 1px solid #ccc;
|
|
1542
|
-
border-radius: 5px;
|
|
1555
|
+
border-radius: 5px 0 0 5px;
|
|
1543
1556
|
}
|
|
1544
1557
|
.x-spreadsheet-modal-component-input-div input[type="date"],
|
|
1545
1558
|
.x-spreadsheet-modal-component-input-div input[type="time"] {
|
|
@@ -1561,7 +1574,7 @@ form fieldset select {
|
|
|
1561
1574
|
transform: translate(-50%, -50%);
|
|
1562
1575
|
background: #fff;
|
|
1563
1576
|
border-radius: 5px;
|
|
1564
|
-
box-shadow:
|
|
1577
|
+
box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.5);
|
|
1565
1578
|
z-index: 1000;
|
|
1566
1579
|
display: flex;
|
|
1567
1580
|
flex-direction: column;
|
|
@@ -1573,7 +1586,7 @@ form fieldset select {
|
|
|
1573
1586
|
outline: none;
|
|
1574
1587
|
}
|
|
1575
1588
|
.x-spreadsheet-modal-component-content {
|
|
1576
|
-
padding:
|
|
1589
|
+
padding: 10px;
|
|
1577
1590
|
flex-grow: 1;
|
|
1578
1591
|
background: #f5f5f5;
|
|
1579
1592
|
overflow-y: auto;
|
|
@@ -1646,6 +1659,9 @@ form fieldset select {
|
|
|
1646
1659
|
background: lightgray;
|
|
1647
1660
|
margin-left: 2px;
|
|
1648
1661
|
}
|
|
1662
|
+
.modal-animate {
|
|
1663
|
+
transition: top 0.5s ease, height 0.5s ease;
|
|
1664
|
+
}
|
|
1649
1665
|
.x-spreadsheet-modal-component-section-content {
|
|
1650
1666
|
padding: 0 5px;
|
|
1651
1667
|
border-radius: 4px;
|