@univerjs/preset-sheets-advanced 1.0.0-alpha.8 → 1.0.0-beta.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/lib/cjs/index.js +5 -5
- package/lib/cjs/locales/ar-SA.js +3 -1
- package/lib/cjs/locales/ca-ES.js +3 -1
- package/lib/cjs/locales/de-DE.js +3 -1
- package/lib/cjs/locales/en-US.js +3 -1
- package/lib/cjs/locales/es-ES.js +3 -1
- package/lib/cjs/locales/fa-IR.js +3 -1
- package/lib/cjs/locales/fr-FR.js +3 -1
- package/lib/cjs/locales/id-ID.js +3 -1
- package/lib/cjs/locales/it-IT.js +3 -1
- package/lib/cjs/locales/ja-JP.js +3 -1
- package/lib/cjs/locales/ko-KR.js +3 -1
- package/lib/cjs/locales/pl-PL.js +3 -1
- package/lib/cjs/locales/pt-BR.js +3 -1
- package/lib/cjs/locales/ru-RU.js +3 -1
- package/lib/cjs/locales/sk-SK.js +3 -1
- package/lib/cjs/locales/vi-VN.js +3 -1
- package/lib/cjs/locales/zh-CN.js +3 -1
- package/lib/cjs/locales/zh-HK.js +3 -1
- package/lib/cjs/locales/zh-TW.js +3 -1
- package/lib/es/index.js +5 -5
- package/lib/es/locales/ar-SA.js +2 -1
- package/lib/es/locales/ca-ES.js +2 -1
- package/lib/es/locales/de-DE.js +2 -1
- package/lib/es/locales/en-US.js +2 -1
- package/lib/es/locales/es-ES.js +2 -1
- package/lib/es/locales/fa-IR.js +2 -1
- package/lib/es/locales/fr-FR.js +2 -1
- package/lib/es/locales/id-ID.js +2 -1
- package/lib/es/locales/it-IT.js +2 -1
- package/lib/es/locales/ja-JP.js +2 -1
- package/lib/es/locales/ko-KR.js +2 -1
- package/lib/es/locales/pl-PL.js +2 -1
- package/lib/es/locales/pt-BR.js +2 -1
- package/lib/es/locales/ru-RU.js +2 -1
- package/lib/es/locales/sk-SK.js +2 -1
- package/lib/es/locales/vi-VN.js +2 -1
- package/lib/es/locales/zh-CN.js +2 -1
- package/lib/es/locales/zh-HK.js +2 -1
- package/lib/es/locales/zh-TW.js +2 -1
- package/lib/index.css +59 -421
- package/lib/index.js +5 -5
- package/lib/locales/ar-SA.js +2 -1
- package/lib/locales/ca-ES.js +2 -1
- package/lib/locales/de-DE.js +2 -1
- package/lib/locales/en-US.js +2 -1
- package/lib/locales/es-ES.js +2 -1
- package/lib/locales/fa-IR.js +2 -1
- package/lib/locales/fr-FR.js +2 -1
- package/lib/locales/id-ID.js +2 -1
- package/lib/locales/it-IT.js +2 -1
- package/lib/locales/ja-JP.js +2 -1
- package/lib/locales/ko-KR.js +2 -1
- package/lib/locales/pl-PL.js +2 -1
- package/lib/locales/pt-BR.js +2 -1
- package/lib/locales/ru-RU.js +2 -1
- package/lib/locales/sk-SK.js +2 -1
- package/lib/locales/vi-VN.js +2 -1
- package/lib/locales/zh-CN.js +2 -1
- package/lib/locales/zh-HK.js +2 -1
- package/lib/locales/zh-TW.js +2 -1
- package/lib/types/preset.d.ts +5 -3
- package/package.json +25 -25
package/lib/index.css
CHANGED
|
@@ -68,10 +68,6 @@
|
|
|
68
68
|
height: 1.25rem;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.univer-h-6 {
|
|
72
|
-
height: 1.5rem;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
71
|
.univer-h-7 {
|
|
76
72
|
height: 1.75rem;
|
|
77
73
|
}
|
|
@@ -80,6 +76,14 @@
|
|
|
80
76
|
max-height: 18rem;
|
|
81
77
|
}
|
|
82
78
|
|
|
79
|
+
.univer-w-10 {
|
|
80
|
+
width: 2.5rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.univer-w-48 {
|
|
84
|
+
width: 12rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
83
87
|
.univer-w-\[324px\] {
|
|
84
88
|
width: 324px;
|
|
85
89
|
}
|
|
@@ -92,6 +96,20 @@
|
|
|
92
96
|
width: calc(100% - 48px);
|
|
93
97
|
}
|
|
94
98
|
|
|
99
|
+
.univer-shrink-0 {
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@keyframes univer-spin {
|
|
104
|
+
to {
|
|
105
|
+
transform: rotate(360deg);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.univer-animate-spin {
|
|
110
|
+
animation: 1s linear infinite univer-spin;
|
|
111
|
+
}
|
|
112
|
+
|
|
95
113
|
.univer-cursor-pointer {
|
|
96
114
|
cursor: pointer;
|
|
97
115
|
}
|
|
@@ -112,6 +130,10 @@
|
|
|
112
130
|
align-items: center;
|
|
113
131
|
}
|
|
114
132
|
|
|
133
|
+
.univer-justify-end {
|
|
134
|
+
justify-content: flex-end;
|
|
135
|
+
}
|
|
136
|
+
|
|
115
137
|
.univer-justify-center {
|
|
116
138
|
justify-content: center;
|
|
117
139
|
}
|
|
@@ -124,6 +146,18 @@
|
|
|
124
146
|
gap: .5rem;
|
|
125
147
|
}
|
|
126
148
|
|
|
149
|
+
.univer-gap-3 {
|
|
150
|
+
gap: .75rem;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.univer-gap-4 {
|
|
154
|
+
gap: 1rem;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.univer-gap-5 {
|
|
158
|
+
gap: 1.25rem;
|
|
159
|
+
}
|
|
160
|
+
|
|
127
161
|
.univer-overflow-y-auto {
|
|
128
162
|
overflow-y: auto;
|
|
129
163
|
}
|
|
@@ -182,6 +216,10 @@
|
|
|
182
216
|
padding: 0;
|
|
183
217
|
}
|
|
184
218
|
|
|
219
|
+
.univer-p-1 {
|
|
220
|
+
padding: .25rem;
|
|
221
|
+
}
|
|
222
|
+
|
|
185
223
|
.univer-px-2 {
|
|
186
224
|
padding-left: .5rem;
|
|
187
225
|
padding-right: .5rem;
|
|
@@ -360,10 +398,7 @@
|
|
|
360
398
|
}
|
|
361
399
|
|
|
362
400
|
.univer-inset-0 {
|
|
363
|
-
|
|
364
|
-
bottom: 0;
|
|
365
|
-
left: 0;
|
|
366
|
-
right: 0;
|
|
401
|
+
inset: 0;
|
|
367
402
|
}
|
|
368
403
|
|
|
369
404
|
.univer-bottom-full {
|
|
@@ -741,7 +776,6 @@
|
|
|
741
776
|
}
|
|
742
777
|
|
|
743
778
|
.univer-appearance-none {
|
|
744
|
-
-webkit-appearance: none;
|
|
745
779
|
appearance: none;
|
|
746
780
|
}
|
|
747
781
|
|
|
@@ -1288,11 +1322,7 @@
|
|
|
1288
1322
|
color: var(--univer-gray-700);
|
|
1289
1323
|
}
|
|
1290
1324
|
|
|
1291
|
-
.hover\:univer-opacity-100:hover {
|
|
1292
|
-
opacity: 1;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
.focus-visible\:univer-opacity-100:focus-visible {
|
|
1325
|
+
.hover\:univer-opacity-100:hover, .focus-visible\:univer-opacity-100:focus-visible {
|
|
1296
1326
|
opacity: 1;
|
|
1297
1327
|
}
|
|
1298
1328
|
|
|
@@ -1420,7 +1450,6 @@
|
|
|
1420
1450
|
}
|
|
1421
1451
|
|
|
1422
1452
|
.\[\&\:\:-webkit-slider-thumb\]\:univer-appearance-none::-webkit-slider-thumb {
|
|
1423
|
-
-webkit-appearance: none;
|
|
1424
1453
|
appearance: none;
|
|
1425
1454
|
}
|
|
1426
1455
|
|
|
@@ -1458,445 +1487,57 @@
|
|
|
1458
1487
|
.\[\&_input\]\:univer-p-0 input {
|
|
1459
1488
|
padding: 0;
|
|
1460
1489
|
}
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
.univer-relative {
|
|
1466
|
-
position: relative;
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
.univer-right-2 {
|
|
1470
|
-
right: .5rem;
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
.univer-top-2 {
|
|
1474
|
-
top: .5rem;
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
.univer-my-2 {
|
|
1478
|
-
margin-top: .5rem;
|
|
1479
|
-
margin-bottom: .5rem;
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
.univer-mb-2 {
|
|
1483
|
-
margin-bottom: .5rem;
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
.univer-mb-4 {
|
|
1487
|
-
margin-bottom: 1rem;
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
.univer-ml-2 {
|
|
1491
|
-
margin-left: .5rem;
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
.univer-ml-3 {
|
|
1495
|
-
margin-left: .75rem;
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
.univer-ml-auto {
|
|
1499
|
-
margin-left: auto;
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
.univer-mr-2 {
|
|
1503
|
-
margin-right: .5rem;
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
.univer-mt-1\.5 {
|
|
1507
|
-
margin-top: .375rem;
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
.univer-mt-2 {
|
|
1511
|
-
margin-top: .5rem;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
.univer-mt-2\.5 {
|
|
1515
|
-
margin-top: .625rem;
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
.univer-mt-4 {
|
|
1519
|
-
margin-top: 1rem;
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
.univer-mt-5 {
|
|
1523
|
-
margin-top: 1.25rem;
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
.univer-box-border {
|
|
1527
|
-
box-sizing: border-box;
|
|
1490
|
+
.-univer-mx-4 {
|
|
1491
|
+
margin-left: -1rem;
|
|
1492
|
+
margin-right: -1rem;
|
|
1528
1493
|
}
|
|
1529
1494
|
|
|
1530
1495
|
.univer-flex {
|
|
1531
1496
|
display: flex;
|
|
1532
1497
|
}
|
|
1533
1498
|
|
|
1534
|
-
.univer-
|
|
1535
|
-
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
.univer-grid {
|
|
1539
|
-
display: grid;
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
.\!univer-size-6 {
|
|
1543
|
-
width: 1.5rem !important;
|
|
1544
|
-
height: 1.5rem !important;
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
.univer-size-4 {
|
|
1548
|
-
width: 1rem;
|
|
1549
|
-
height: 1rem;
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
.univer-size-6 {
|
|
1553
|
-
width: 1.5rem;
|
|
1554
|
-
height: 1.5rem;
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
.univer-h-4 {
|
|
1558
|
-
height: 1rem;
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
.univer-h-5 {
|
|
1562
|
-
height: 1.25rem;
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
.univer-h-6 {
|
|
1566
|
-
height: 1.5rem;
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
.univer-h-7 {
|
|
1570
|
-
height: 1.75rem;
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
.univer-h-8 {
|
|
1574
|
-
height: 2rem;
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
.univer-h-\[26px\] {
|
|
1578
|
-
height: 26px;
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
.univer-min-h-8 {
|
|
1582
|
-
min-height: 2rem;
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
.univer-w-\[--radix-popper-anchor-width\] {
|
|
1586
|
-
width: var(--radix-popper-anchor-width);
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1589
|
-
.univer-w-\[136px\] {
|
|
1590
|
-
width: 136px;
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
.univer-w-\[208px\] {
|
|
1594
|
-
width: 208px;
|
|
1499
|
+
.univer-h-0 {
|
|
1500
|
+
height: 0;
|
|
1595
1501
|
}
|
|
1596
1502
|
|
|
1597
|
-
.univer-
|
|
1598
|
-
|
|
1503
|
+
.univer-min-h-full {
|
|
1504
|
+
min-height: 100%;
|
|
1599
1505
|
}
|
|
1600
1506
|
|
|
1601
1507
|
.univer-w-full {
|
|
1602
1508
|
width: 100%;
|
|
1603
1509
|
}
|
|
1604
1510
|
|
|
1605
|
-
.\!univer-min-w-0 {
|
|
1606
|
-
min-width: 0 !important;
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
.univer-min-w-0 {
|
|
1610
|
-
min-width: 0;
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
.univer-flex-1 {
|
|
1614
|
-
flex: 1;
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
1511
|
.univer-shrink-0 {
|
|
1618
1512
|
flex-shrink: 0;
|
|
1619
1513
|
}
|
|
1620
1514
|
|
|
1621
|
-
.univer-flex-grow {
|
|
1622
|
-
flex-grow: 1;
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
|
-
.univer-cursor-pointer {
|
|
1626
|
-
cursor: pointer;
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
.univer-grid-cols-2 {
|
|
1630
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
.univer-grid-cols-4 {
|
|
1634
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
.univer-flex-row {
|
|
1638
|
-
flex-direction: row;
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
1515
|
.univer-flex-col {
|
|
1642
1516
|
flex-direction: column;
|
|
1643
1517
|
}
|
|
1644
1518
|
|
|
1645
|
-
.univer-items-center {
|
|
1646
|
-
align-items: center;
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
.univer-justify-end {
|
|
1650
|
-
justify-content: flex-end;
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
|
-
.univer-justify-center {
|
|
1654
|
-
justify-content: center;
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
.univer-justify-between {
|
|
1658
|
-
justify-content: space-between;
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
.univer-gap-1 {
|
|
1662
|
-
gap: .25rem;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
.univer-gap-1\.5 {
|
|
1666
|
-
gap: .375rem;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
.univer-gap-2 {
|
|
1670
|
-
gap: .5rem;
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
|
-
.univer-gap-2\.5 {
|
|
1674
|
-
gap: .625rem;
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
1519
|
.univer-gap-3 {
|
|
1678
1520
|
gap: .75rem;
|
|
1679
1521
|
}
|
|
1680
1522
|
|
|
1681
|
-
.univer-
|
|
1682
|
-
gap: 1rem;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
.univer-justify-self-end {
|
|
1686
|
-
justify-self: end;
|
|
1687
|
-
}
|
|
1688
|
-
|
|
1689
|
-
.univer-truncate {
|
|
1690
|
-
text-overflow: ellipsis;
|
|
1691
|
-
white-space: nowrap;
|
|
1523
|
+
.univer-overflow-hidden {
|
|
1692
1524
|
overflow: hidden;
|
|
1693
1525
|
}
|
|
1694
1526
|
|
|
1695
|
-
.univer-
|
|
1696
|
-
|
|
1697
|
-
}
|
|
1698
|
-
|
|
1699
|
-
.univer-rounded-md {
|
|
1700
|
-
border-radius: .375rem;
|
|
1701
|
-
}
|
|
1702
|
-
|
|
1703
|
-
.univer-rounded-sm {
|
|
1704
|
-
border-radius: .125rem;
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
.univer-rounded-xl {
|
|
1708
|
-
border-radius: .75rem;
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
.univer-border {
|
|
1712
|
-
border-width: 1px;
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
.univer-border-solid {
|
|
1716
|
-
border-style: solid;
|
|
1717
|
-
}
|
|
1718
|
-
|
|
1719
|
-
.univer-border-gray-200 {
|
|
1720
|
-
border-color: var(--univer-gray-200);
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
.\!univer-bg-gray-700 {
|
|
1724
|
-
background-color: var(--univer-gray-700) !important;
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
.univer-bg-gray-100 {
|
|
1728
|
-
background-color: var(--univer-gray-100);
|
|
1527
|
+
.univer-overflow-visible {
|
|
1528
|
+
overflow: visible;
|
|
1729
1529
|
}
|
|
1730
1530
|
|
|
1731
1531
|
.univer-bg-white {
|
|
1732
1532
|
background-color: var(--univer-white);
|
|
1733
1533
|
}
|
|
1734
1534
|
|
|
1735
|
-
.univer-
|
|
1736
|
-
padding:
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
.univer-p-2 {
|
|
1740
|
-
padding: .5rem;
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
.univer-p-3 {
|
|
1744
|
-
padding: .75rem;
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
.univer-px-1 {
|
|
1748
|
-
padding-left: .25rem;
|
|
1749
|
-
padding-right: .25rem;
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
.univer-px-2 {
|
|
1753
|
-
padding-left: .5rem;
|
|
1754
|
-
padding-right: .5rem;
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
.univer-py-1 {
|
|
1758
|
-
padding-top: .25rem;
|
|
1759
|
-
padding-bottom: .25rem;
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
.univer-pb-2\.5 {
|
|
1763
|
-
padding-bottom: .625rem;
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
.univer-text-2xl {
|
|
1767
|
-
font-size: 1.5rem;
|
|
1768
|
-
line-height: 2rem;
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
.univer-text-base {
|
|
1772
|
-
font-size: 1rem;
|
|
1773
|
-
line-height: 1.5rem;
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
.univer-text-sm {
|
|
1777
|
-
font-size: .875rem;
|
|
1778
|
-
line-height: 1.25rem;
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
.univer-text-xs {
|
|
1782
|
-
font-size: .75rem;
|
|
1783
|
-
line-height: 1rem;
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
.univer-font-medium {
|
|
1787
|
-
font-weight: 500;
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
|
-
.univer-leading-4 {
|
|
1791
|
-
line-height: 1rem;
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
.univer-leading-5 {
|
|
1795
|
-
line-height: 1.25rem;
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
|
-
.univer-text-gray-600 {
|
|
1799
|
-
color: var(--univer-gray-600);
|
|
1800
|
-
}
|
|
1801
|
-
|
|
1802
|
-
.univer-text-gray-800 {
|
|
1803
|
-
color: var(--univer-gray-800);
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
.univer-text-gray-900 {
|
|
1807
|
-
color: var(--univer-gray-900);
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
.univer-text-primary-600 {
|
|
1811
|
-
color: var(--univer-primary-600);
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
.univer-text-red-500 {
|
|
1815
|
-
color: var(--univer-red-500);
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
.univer-shadow {
|
|
1819
|
-
--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
|
1820
|
-
--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);
|
|
1821
|
-
box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
|
|
1822
|
-
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
.univer-transition-colors {
|
|
1826
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
1827
|
-
transition-duration: .15s;
|
|
1828
|
-
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
.univer-duration-200 {
|
|
1832
|
-
transition-duration: .2s;
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
.placeholder\:univer-text-gray-400::placeholder {
|
|
1836
|
-
color: var(--univer-gray-400);
|
|
1837
|
-
}
|
|
1838
|
-
|
|
1839
|
-
.hover\:univer-bg-gray-100:hover {
|
|
1840
|
-
background-color: var(--univer-gray-100);
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
.hover\:univer-bg-gray-200:hover {
|
|
1844
|
-
background-color: var(--univer-gray-200);
|
|
1845
|
-
}
|
|
1846
|
-
|
|
1847
|
-
.focus\:univer-border-primary-500:focus {
|
|
1848
|
-
border-color: var(--univer-primary-500);
|
|
1849
|
-
}
|
|
1850
|
-
|
|
1851
|
-
.focus\:univer-outline-none:focus {
|
|
1852
|
-
outline-offset: 2px;
|
|
1853
|
-
outline: 2px solid #0000;
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
.focus\:univer-ring-2:focus {
|
|
1857
|
-
--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);
|
|
1858
|
-
--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);
|
|
1859
|
-
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
|
|
1860
|
-
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
|
|
1535
|
+
.univer-pb-5 {
|
|
1536
|
+
padding-bottom: 1.25rem;
|
|
1861
1537
|
}
|
|
1862
1538
|
|
|
1863
|
-
.
|
|
1864
|
-
|
|
1865
|
-
}
|
|
1866
|
-
|
|
1867
|
-
.dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
1868
|
-
border-color: var(--univer-gray-600) !important;
|
|
1869
|
-
}
|
|
1870
|
-
|
|
1871
|
-
.dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
|
|
1872
|
-
border-color: var(--univer-gray-700) !important;
|
|
1873
|
-
}
|
|
1874
|
-
|
|
1875
|
-
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
1876
|
-
background-color: var(--univer-gray-700) !important;
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
.dark\:\!univer-text-gray-100:where(.univer-dark, .univer-dark *) {
|
|
1880
|
-
color: var(--univer-gray-100) !important;
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
.dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
|
|
1884
|
-
color: var(--univer-gray-200) !important;
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
|
-
.dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
|
|
1888
|
-
color: var(--univer-white) !important;
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
.dark\:\!univer-shadow-none:where(.univer-dark, .univer-dark *) {
|
|
1892
|
-
--univer-tw-shadow: 0 0 #0000 !important;
|
|
1893
|
-
--univer-tw-shadow-colored: 0 0 #0000 !important;
|
|
1894
|
-
box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000 !important;
|
|
1895
|
-
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow) !important;
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|
|
1899
|
-
background-color: var(--univer-gray-700) !important;
|
|
1539
|
+
.dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
|
|
1540
|
+
background-color: var(--univer-gray-900) !important;
|
|
1900
1541
|
}
|
|
1901
1542
|
.univer-flex {
|
|
1902
1543
|
display: flex;
|
|
@@ -2587,10 +2228,7 @@
|
|
|
2587
2228
|
}
|
|
2588
2229
|
|
|
2589
2230
|
.univer-inset-0 {
|
|
2590
|
-
|
|
2591
|
-
bottom: 0;
|
|
2592
|
-
left: 0;
|
|
2593
|
-
right: 0;
|
|
2231
|
+
inset: 0;
|
|
2594
2232
|
}
|
|
2595
2233
|
|
|
2596
2234
|
.univer-bottom-4 {
|
package/lib/index.js
CHANGED
|
@@ -14,7 +14,6 @@ import { UniverSheetsShapeUIPlugin } from "@univerjs-pro/sheets-shape-ui";
|
|
|
14
14
|
import { UniverSheetSparklinePlugin } from "@univerjs-pro/sheets-sparkline";
|
|
15
15
|
import { UniverSheetSparklineUIPlugin } from "@univerjs-pro/sheets-sparkline-ui";
|
|
16
16
|
import "@univerjs-pro/engine-shape/facade";
|
|
17
|
-
import "@univerjs-pro/exchange-client/facade";
|
|
18
17
|
import "@univerjs-pro/sheets-pivot/facade";
|
|
19
18
|
import "@univerjs-pro/engine-formula/facade";
|
|
20
19
|
import "@univerjs-pro/sheets-print/facade";
|
|
@@ -22,6 +21,8 @@ import "@univerjs-pro/sheets-chart/facade";
|
|
|
22
21
|
import "@univerjs-pro/sheets-outline/facade";
|
|
23
22
|
import "@univerjs-pro/sheets-shape/facade";
|
|
24
23
|
import "@univerjs-pro/sheets-sparkline/facade";
|
|
24
|
+
import "@univerjs-pro/exchange-client/facade";
|
|
25
|
+
import "@univerjs-pro/sheets-exchange-client/facade";
|
|
25
26
|
|
|
26
27
|
export * from "@univerjs-pro/engine-formula"
|
|
27
28
|
|
|
@@ -66,7 +67,7 @@ function UniverSheetsAdvancedPreset(config = {
|
|
|
66
67
|
universerEndpoint: ""
|
|
67
68
|
}) {
|
|
68
69
|
const { license, universerEndpoint, useWorker, formula, exchangeClientOptions, print, pivot } = config;
|
|
69
|
-
const serverEndpoint = universerEndpoint
|
|
70
|
+
const serverEndpoint = universerEndpoint ?? `${window.location.protocol}//${window.location.host}`;
|
|
70
71
|
return { plugins: [
|
|
71
72
|
[UniverLicensePlugin, { license }],
|
|
72
73
|
[UniverSheetsPivotTablePlugin, {
|
|
@@ -93,10 +94,9 @@ function UniverSheetsAdvancedPreset(config = {
|
|
|
93
94
|
signUrlServerUrl: `${serverEndpoint}/universer-api/file/{fileID}/sign-url`,
|
|
94
95
|
importServerUrl: `${serverEndpoint}/universer-api/exchange/{type}/import`,
|
|
95
96
|
exportServerUrl: `${serverEndpoint}/universer-api/exchange/{type}/export`,
|
|
96
|
-
downloadEndpointUrl: `${serverEndpoint}
|
|
97
|
-
options: exchangeClientOptions
|
|
97
|
+
downloadEndpointUrl: `${serverEndpoint}/`
|
|
98
98
|
}],
|
|
99
|
-
UniverSheetsExchangeClientPlugin
|
|
99
|
+
[UniverSheetsExchangeClientPlugin, exchangeClientOptions]
|
|
100
100
|
].filter((v) => !!v) };
|
|
101
101
|
}
|
|
102
102
|
|
package/lib/locales/ar-SA.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import univerjsenginechart from "@univerjs-pro/engine-chart/locale/ar-SA";
|
|
1
2
|
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/ar-SA";
|
|
2
3
|
import univerjsshapeeditorui from "@univerjs-pro/shape-editor-ui/locale/ar-SA";
|
|
3
4
|
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/ar-SA";
|
|
@@ -11,7 +12,7 @@ import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/ar-SA";
|
|
|
11
12
|
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/ar-SA";
|
|
12
13
|
|
|
13
14
|
//#region src/locales/ar-SA.ts
|
|
14
|
-
var ar_SA_default = Object.assign({}, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
|
+
var ar_SA_default = Object.assign({}, univerjsenginechart, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
16
|
|
|
16
17
|
//#endregion
|
|
17
18
|
export { ar_SA_default as default };
|
package/lib/locales/ca-ES.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import univerjsenginechart from "@univerjs-pro/engine-chart/locale/ca-ES";
|
|
1
2
|
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/ca-ES";
|
|
2
3
|
import univerjsshapeeditorui from "@univerjs-pro/shape-editor-ui/locale/ca-ES";
|
|
3
4
|
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/ca-ES";
|
|
@@ -11,7 +12,7 @@ import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/ca-ES";
|
|
|
11
12
|
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/ca-ES";
|
|
12
13
|
|
|
13
14
|
//#region src/locales/ca-ES.ts
|
|
14
|
-
var ca_ES_default = Object.assign({}, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
|
+
var ca_ES_default = Object.assign({}, univerjsenginechart, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
16
|
|
|
16
17
|
//#endregion
|
|
17
18
|
export { ca_ES_default as default };
|
package/lib/locales/de-DE.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import univerjsenginechart from "@univerjs-pro/engine-chart/locale/de-DE";
|
|
1
2
|
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/de-DE";
|
|
2
3
|
import univerjsshapeeditorui from "@univerjs-pro/shape-editor-ui/locale/de-DE";
|
|
3
4
|
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/de-DE";
|
|
@@ -11,7 +12,7 @@ import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/de-DE";
|
|
|
11
12
|
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/de-DE";
|
|
12
13
|
|
|
13
14
|
//#region src/locales/de-DE.ts
|
|
14
|
-
var de_DE_default = Object.assign({}, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
|
+
var de_DE_default = Object.assign({}, univerjsenginechart, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
16
|
|
|
16
17
|
//#endregion
|
|
17
18
|
export { de_DE_default as default };
|
package/lib/locales/en-US.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import univerjsenginechart from "@univerjs-pro/engine-chart/locale/en-US";
|
|
1
2
|
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/en-US";
|
|
2
3
|
import univerjsshapeeditorui from "@univerjs-pro/shape-editor-ui/locale/en-US";
|
|
3
4
|
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/en-US";
|
|
@@ -11,7 +12,7 @@ import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/en-US";
|
|
|
11
12
|
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/en-US";
|
|
12
13
|
|
|
13
14
|
//#region src/locales/en-US.ts
|
|
14
|
-
var en_US_default = Object.assign({}, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
|
+
var en_US_default = Object.assign({}, univerjsenginechart, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
16
|
|
|
16
17
|
//#endregion
|
|
17
18
|
export { en_US_default as default };
|
package/lib/locales/es-ES.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import univerjsenginechart from "@univerjs-pro/engine-chart/locale/es-ES";
|
|
1
2
|
import univerjsexchangeclient from "@univerjs-pro/exchange-client/locale/es-ES";
|
|
2
3
|
import univerjsshapeeditorui from "@univerjs-pro/shape-editor-ui/locale/es-ES";
|
|
3
4
|
import univerjssheetschart from "@univerjs-pro/sheets-chart/locale/es-ES";
|
|
@@ -11,7 +12,7 @@ import univerjssheetsshapeui from "@univerjs-pro/sheets-shape-ui/locale/es-ES";
|
|
|
11
12
|
import univerjssheetssparklineui from "@univerjs-pro/sheets-sparkline-ui/locale/es-ES";
|
|
12
13
|
|
|
13
14
|
//#region src/locales/es-ES.ts
|
|
14
|
-
var es_ES_default = Object.assign({}, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
|
+
var es_ES_default = Object.assign({}, univerjsenginechart, univerjsexchangeclient, univerjsshapeeditorui, univerjssheetschart, univerjssheetschartui, univerjssheetsexchangeclient, univerjssheetsoutlineui, univerjssheetspivot, univerjssheetspivotui, univerjssheetsprint, univerjssheetsshapeui, univerjssheetssparklineui);
|
|
15
16
|
|
|
16
17
|
//#endregion
|
|
17
18
|
export { es_ES_default as default };
|