gridjs-spreadsheet 24.7.0 → 24.9.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/xspreadsheet.css CHANGED
@@ -69,6 +69,32 @@ body {
69
69
  z-index: 1;
70
70
  box-shadow: 1px 1px 3px -1px rgba(255, 255, 0, 0.3);
71
71
  }
72
+ .x-spreadsheet-formula-explain {
73
+ font-family: inherit;
74
+ position: absolute;
75
+ padding: 5px 10px;
76
+ color: #fff;
77
+ border-radius: 1px;
78
+ background: #FFF8DC;
79
+ opacity: 0.7;
80
+ font-size: 12px;
81
+ z-index: 201;
82
+ max-width: 300px;
83
+ }
84
+ .x-spreadsheet-formula-explain:before {
85
+ pointer-events: none;
86
+ position: absolute;
87
+ left: -4px;
88
+ top: calc(50% - 4px);
89
+ content: "";
90
+ width: 8px;
91
+ height: 8px;
92
+ background: inherit;
93
+ -webkit-transform: rotate(45deg);
94
+ transform: rotate(45deg);
95
+ z-index: 1;
96
+ box-shadow: 1px 1px 3px -1px rgba(255, 255, 0, 0.3);
97
+ }
72
98
  .x-spreadsheet-color-palette {
73
99
  padding: 5px;
74
100
  }
@@ -424,6 +450,9 @@ body {
424
450
  -webkit-box-sizing: content-box;
425
451
  -moz-box-sizing: content-box;
426
452
  }
453
+ .x-spreadsheet-selector .x-spreadsheet-selector-area.dashed {
454
+ border: 2px dashed #4b89ff;
455
+ }
427
456
  .x-spreadsheet-selector .x-spreadsheet-selector-validation-input-message {
428
457
  position: relative;
429
458
  z-index: 100;
@@ -436,7 +465,8 @@ body {
436
465
  box-shadow: 1px 2px 5px 2px rgba(51, 51, 51, 0.15);
437
466
  }
438
467
  .x-spreadsheet-selector .x-spreadsheet-selector-clipboard,
439
- .x-spreadsheet-selector .x-spreadsheet-selector-autofill {
468
+ .x-spreadsheet-selector .x-spreadsheet-selector-autofill,
469
+ .x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
440
470
  position: absolute;
441
471
  background: transparent;
442
472
  z-index: 100;
@@ -444,6 +474,9 @@ body {
444
474
  .x-spreadsheet-selector .x-spreadsheet-selector-clipboard {
445
475
  border: 2px dashed #4b89ff;
446
476
  }
477
+ .x-spreadsheet-selector .x-spreadsheet-selector-fixed-cell {
478
+ border: 2px solid #4b89ff;
479
+ }
447
480
  .x-spreadsheet-selector .x-spreadsheet-selector-autofill {
448
481
  border: 1px dashed rgba(0, 0, 0, 0.45);
449
482
  }
@@ -874,6 +907,33 @@ body {
874
907
  z-index: 10;
875
908
  width: auto;
876
909
  }
910
+ .x-spreadsheet-timepicker {
911
+ position: absolute;
912
+ z-index: 1000;
913
+ background-color: #fff;
914
+ border: 1px solid #ccc;
915
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
916
+ border-radius: 4px;
917
+ display: none;
918
+ }
919
+ .x-spreadsheet-timepicker select {
920
+ padding: 5px 10px;
921
+ border: 1px solid #ddd;
922
+ background-color: #f8f8f8;
923
+ cursor: pointer;
924
+ }
925
+ .x-spreadsheet-timepicker-hours,
926
+ .x-spreadsheet-timepicker-minutes,
927
+ .x-spreadsheet-timepicker-seconds {
928
+ display: inline-block;
929
+ }
930
+ .x-spreadsheet-timepicker select:focus {
931
+ border-color: #105efb;
932
+ outline: none;
933
+ }
934
+ .x-spreadsheet-timepicker select:hover {
935
+ background-color: #e1e1e1;
936
+ }
877
937
  .x-spreadsheet-buttons {
878
938
  display: flex;
879
939
  justify-content: flex-end;
@@ -924,6 +984,12 @@ body {
924
984
  background-color: #d9dc22;
925
985
  font-size: 8px;
926
986
  }
987
+ .x-spreadsheet-modal-component-input-btn {
988
+ border: 1px solid #0078d4;
989
+ color: #0078d4;
990
+ background: white;
991
+ border-radius: 0 5px 5px 0;
992
+ }
927
993
  .x-spreadsheet-form-input {
928
994
  font-size: 1em;
929
995
  position: relative;
@@ -1184,7 +1250,7 @@ form fieldset select {
1184
1250
  display: inline-block;
1185
1251
  }
1186
1252
  .x-spreadsheet-icon .x-spreadsheet-icon-img {
1187
- background-image: url(92a25d00d3c48133d57c1b98d48a688e.svg);
1253
+ background-image: url(a3b683289420fd8ec937908397907279.svg);
1188
1254
  position: absolute;
1189
1255
  width: 262px;
1190
1256
  height: 444px;
@@ -1266,6 +1332,14 @@ form fieldset select {
1266
1332
  left: -72px;
1267
1333
  top: -18px;
1268
1334
  }
1335
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.syntaxstatus {
1336
+ left: -18px;
1337
+ top: -108px;
1338
+ }
1339
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.showformulas {
1340
+ left: -36px;
1341
+ top: -108px;
1342
+ }
1269
1343
  .x-spreadsheet-icon .x-spreadsheet-icon-img.autofilter {
1270
1344
  left: -90px;
1271
1345
  top: -18px;
@@ -1518,6 +1592,10 @@ form fieldset select {
1518
1592
  left: -234px;
1519
1593
  top: -90px;
1520
1594
  }
1595
+ .x-spreadsheet-icon .x-spreadsheet-icon-img.openFile {
1596
+ left: 0px;
1597
+ top: -108px;
1598
+ }
1521
1599
  .x-spreadsheet-formula-bar {
1522
1600
  height: 25px;
1523
1601
  line-height: 25px;
@@ -1539,7 +1617,7 @@ form fieldset select {
1539
1617
  width: 100%;
1540
1618
  padding: 8px;
1541
1619
  border: 1px solid #ccc;
1542
- border-radius: 5px;
1620
+ border-radius: 5px 0 0 5px;
1543
1621
  }
1544
1622
  .x-spreadsheet-modal-component-input-div input[type="date"],
1545
1623
  .x-spreadsheet-modal-component-input-div input[type="time"] {
@@ -1561,7 +1639,7 @@ form fieldset select {
1561
1639
  transform: translate(-50%, -50%);
1562
1640
  background: #fff;
1563
1641
  border-radius: 5px;
1564
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
1642
+ box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.5);
1565
1643
  z-index: 1000;
1566
1644
  display: flex;
1567
1645
  flex-direction: column;
@@ -1569,11 +1647,17 @@ form fieldset select {
1569
1647
  height: 50%;
1570
1648
  overflow: hidden;
1571
1649
  }
1650
+ @media screen and (max-width: 480px) {
1651
+ .x-spreadsheet-modal-component {
1652
+ width: 90% !important;
1653
+ height: 70%;
1654
+ }
1655
+ }
1572
1656
  .x-spreadsheet-modal-component:focus {
1573
1657
  outline: none;
1574
1658
  }
1575
1659
  .x-spreadsheet-modal-component-content {
1576
- padding: 20px;
1660
+ padding: 10px;
1577
1661
  flex-grow: 1;
1578
1662
  background: #f5f5f5;
1579
1663
  overflow-y: auto;
@@ -1646,6 +1730,9 @@ form fieldset select {
1646
1730
  background: lightgray;
1647
1731
  margin-left: 2px;
1648
1732
  }
1733
+ .modal-animate {
1734
+ transition: top 0.5s ease, height 0.5s ease;
1735
+ }
1649
1736
  .x-spreadsheet-modal-component-section-content {
1650
1737
  padding: 0 5px;
1651
1738
  border-radius: 4px;