@univerjs/preset-sheets-core 1.0.3 → 1.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/lib/cjs/index.js +2 -0
- package/lib/cjs/locales/ar-SA.js +1 -1
- package/lib/cjs/locales/ca-ES.js +1 -1
- package/lib/cjs/locales/de-DE.js +1 -1
- package/lib/cjs/locales/en-US.js +1 -1
- package/lib/cjs/locales/es-ES.js +1 -1
- package/lib/cjs/locales/fa-IR.js +1 -1
- package/lib/cjs/locales/fr-FR.js +1 -1
- package/lib/cjs/locales/id-ID.js +1 -1
- package/lib/cjs/locales/it-IT.js +1 -1
- package/lib/cjs/locales/ja-JP.js +1 -1
- package/lib/cjs/locales/ko-KR.js +1 -1
- package/lib/cjs/locales/pl-PL.js +1 -1
- package/lib/cjs/locales/pt-BR.js +1 -1
- package/lib/cjs/locales/ru-RU.js +1 -1
- package/lib/cjs/locales/sk-SK.js +1 -1
- package/lib/cjs/locales/vi-VN.js +1 -1
- package/lib/cjs/locales/zh-CN.js +1 -1
- package/lib/cjs/locales/zh-HK.js +1 -1
- package/lib/cjs/locales/zh-TW.js +1 -1
- package/lib/cjs/{rolldown-runtime-C24Yb2bl.js → rolldown-runtime-AN5ru5iW.js} +1 -1
- package/lib/es/index.js +2 -0
- package/lib/index.css +43 -64
- package/lib/index.js +2 -0
- package/lib/types/types.d.ts +1 -1
- package/package.json +18 -18
package/lib/cjs/index.js
CHANGED
|
@@ -54,11 +54,13 @@ function UniverSheetsCorePreset(config = {}) {
|
|
|
54
54
|
onlyRegisterFormulaRelatedMutations: false,
|
|
55
55
|
isRowStylePrecedeColumnStyle: sheets === null || sheets === void 0 ? void 0 : sheets.isRowStylePrecedeColumnStyle,
|
|
56
56
|
autoHeightForMergedCells: sheets === null || sheets === void 0 ? void 0 : sheets.autoHeightForMergedCells,
|
|
57
|
+
textLineGap: sheets === null || sheets === void 0 ? void 0 : sheets.textLineGap,
|
|
57
58
|
freezeSync: sheets === null || sheets === void 0 ? void 0 : sheets.freezeSync
|
|
58
59
|
}],
|
|
59
60
|
[_univerjs_sheets_ui.UniverSheetsUIPlugin, {
|
|
60
61
|
formulaBar,
|
|
61
62
|
footer,
|
|
63
|
+
allowArrowKeyWrapOnSheetBoundary: sheets === null || sheets === void 0 ? void 0 : sheets.allowArrowKeyWrapOnSheetBoundary,
|
|
62
64
|
maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
|
|
63
65
|
clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
|
|
64
66
|
scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
|
package/lib/cjs/locales/ar-SA.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_ar_SA = require("@univerjs/design/locale/ar-SA");
|
|
3
3
|
_univerjs_design_locale_ar_SA = require_rolldown_runtime.__toESM(_univerjs_design_locale_ar_SA);
|
|
4
4
|
let _univerjs_docs_ui_locale_ar_SA = require("@univerjs/docs-ui/locale/ar-SA");
|
package/lib/cjs/locales/ca-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_ca_ES = require("@univerjs/design/locale/ca-ES");
|
|
3
3
|
_univerjs_design_locale_ca_ES = require_rolldown_runtime.__toESM(_univerjs_design_locale_ca_ES);
|
|
4
4
|
let _univerjs_docs_ui_locale_ca_ES = require("@univerjs/docs-ui/locale/ca-ES");
|
package/lib/cjs/locales/de-DE.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_de_DE = require("@univerjs/design/locale/de-DE");
|
|
3
3
|
_univerjs_design_locale_de_DE = require_rolldown_runtime.__toESM(_univerjs_design_locale_de_DE);
|
|
4
4
|
let _univerjs_docs_ui_locale_de_DE = require("@univerjs/docs-ui/locale/de-DE");
|
package/lib/cjs/locales/en-US.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_en_US = require("@univerjs/design/locale/en-US");
|
|
3
3
|
_univerjs_design_locale_en_US = require_rolldown_runtime.__toESM(_univerjs_design_locale_en_US);
|
|
4
4
|
let _univerjs_docs_ui_locale_en_US = require("@univerjs/docs-ui/locale/en-US");
|
package/lib/cjs/locales/es-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_es_ES = require("@univerjs/design/locale/es-ES");
|
|
3
3
|
_univerjs_design_locale_es_ES = require_rolldown_runtime.__toESM(_univerjs_design_locale_es_ES);
|
|
4
4
|
let _univerjs_docs_ui_locale_es_ES = require("@univerjs/docs-ui/locale/es-ES");
|
package/lib/cjs/locales/fa-IR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_fa_IR = require("@univerjs/design/locale/fa-IR");
|
|
3
3
|
_univerjs_design_locale_fa_IR = require_rolldown_runtime.__toESM(_univerjs_design_locale_fa_IR);
|
|
4
4
|
let _univerjs_docs_ui_locale_fa_IR = require("@univerjs/docs-ui/locale/fa-IR");
|
package/lib/cjs/locales/fr-FR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_fr_FR = require("@univerjs/design/locale/fr-FR");
|
|
3
3
|
_univerjs_design_locale_fr_FR = require_rolldown_runtime.__toESM(_univerjs_design_locale_fr_FR);
|
|
4
4
|
let _univerjs_docs_ui_locale_fr_FR = require("@univerjs/docs-ui/locale/fr-FR");
|
package/lib/cjs/locales/id-ID.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_id_ID = require("@univerjs/design/locale/id-ID");
|
|
3
3
|
_univerjs_design_locale_id_ID = require_rolldown_runtime.__toESM(_univerjs_design_locale_id_ID);
|
|
4
4
|
let _univerjs_docs_ui_locale_id_ID = require("@univerjs/docs-ui/locale/id-ID");
|
package/lib/cjs/locales/it-IT.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_it_IT = require("@univerjs/design/locale/it-IT");
|
|
3
3
|
_univerjs_design_locale_it_IT = require_rolldown_runtime.__toESM(_univerjs_design_locale_it_IT);
|
|
4
4
|
let _univerjs_docs_ui_locale_it_IT = require("@univerjs/docs-ui/locale/it-IT");
|
package/lib/cjs/locales/ja-JP.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_ja_JP = require("@univerjs/design/locale/ja-JP");
|
|
3
3
|
_univerjs_design_locale_ja_JP = require_rolldown_runtime.__toESM(_univerjs_design_locale_ja_JP);
|
|
4
4
|
let _univerjs_docs_ui_locale_ja_JP = require("@univerjs/docs-ui/locale/ja-JP");
|
package/lib/cjs/locales/ko-KR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_ko_KR = require("@univerjs/design/locale/ko-KR");
|
|
3
3
|
_univerjs_design_locale_ko_KR = require_rolldown_runtime.__toESM(_univerjs_design_locale_ko_KR);
|
|
4
4
|
let _univerjs_docs_ui_locale_ko_KR = require("@univerjs/docs-ui/locale/ko-KR");
|
package/lib/cjs/locales/pl-PL.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_pl_PL = require("@univerjs/design/locale/pl-PL");
|
|
3
3
|
_univerjs_design_locale_pl_PL = require_rolldown_runtime.__toESM(_univerjs_design_locale_pl_PL);
|
|
4
4
|
let _univerjs_docs_ui_locale_pl_PL = require("@univerjs/docs-ui/locale/pl-PL");
|
package/lib/cjs/locales/pt-BR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_pt_BR = require("@univerjs/design/locale/pt-BR");
|
|
3
3
|
_univerjs_design_locale_pt_BR = require_rolldown_runtime.__toESM(_univerjs_design_locale_pt_BR);
|
|
4
4
|
let _univerjs_docs_ui_locale_pt_BR = require("@univerjs/docs-ui/locale/pt-BR");
|
package/lib/cjs/locales/ru-RU.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_ru_RU = require("@univerjs/design/locale/ru-RU");
|
|
3
3
|
_univerjs_design_locale_ru_RU = require_rolldown_runtime.__toESM(_univerjs_design_locale_ru_RU);
|
|
4
4
|
let _univerjs_docs_ui_locale_ru_RU = require("@univerjs/docs-ui/locale/ru-RU");
|
package/lib/cjs/locales/sk-SK.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_sk_SK = require("@univerjs/design/locale/sk-SK");
|
|
3
3
|
_univerjs_design_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_design_locale_sk_SK);
|
|
4
4
|
let _univerjs_docs_ui_locale_sk_SK = require("@univerjs/docs-ui/locale/sk-SK");
|
package/lib/cjs/locales/vi-VN.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_vi_VN = require("@univerjs/design/locale/vi-VN");
|
|
3
3
|
_univerjs_design_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_design_locale_vi_VN);
|
|
4
4
|
let _univerjs_docs_ui_locale_vi_VN = require("@univerjs/docs-ui/locale/vi-VN");
|
package/lib/cjs/locales/zh-CN.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_zh_CN = require("@univerjs/design/locale/zh-CN");
|
|
3
3
|
_univerjs_design_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_design_locale_zh_CN);
|
|
4
4
|
let _univerjs_docs_ui_locale_zh_CN = require("@univerjs/docs-ui/locale/zh-CN");
|
package/lib/cjs/locales/zh-HK.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_zh_HK = require("@univerjs/design/locale/zh-HK");
|
|
3
3
|
_univerjs_design_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_design_locale_zh_HK);
|
|
4
4
|
let _univerjs_docs_ui_locale_zh_HK = require("@univerjs/docs-ui/locale/zh-HK");
|
package/lib/cjs/locales/zh-TW.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require(
|
|
1
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
2
2
|
let _univerjs_design_locale_zh_TW = require("@univerjs/design/locale/zh-TW");
|
|
3
3
|
_univerjs_design_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_design_locale_zh_TW);
|
|
4
4
|
let _univerjs_docs_ui_locale_zh_TW = require("@univerjs/docs-ui/locale/zh-TW");
|
|
@@ -25,7 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
|
|
27
27
|
//#endregion
|
|
28
|
-
Object.defineProperty(exports,
|
|
28
|
+
Object.defineProperty(exports, "__toESM", {
|
|
29
29
|
enumerable: true,
|
|
30
30
|
get: function () {
|
|
31
31
|
return __toESM;
|
package/lib/es/index.js
CHANGED
|
@@ -81,11 +81,13 @@ function UniverSheetsCorePreset(config = {}) {
|
|
|
81
81
|
onlyRegisterFormulaRelatedMutations: false,
|
|
82
82
|
isRowStylePrecedeColumnStyle: sheets === null || sheets === void 0 ? void 0 : sheets.isRowStylePrecedeColumnStyle,
|
|
83
83
|
autoHeightForMergedCells: sheets === null || sheets === void 0 ? void 0 : sheets.autoHeightForMergedCells,
|
|
84
|
+
textLineGap: sheets === null || sheets === void 0 ? void 0 : sheets.textLineGap,
|
|
84
85
|
freezeSync: sheets === null || sheets === void 0 ? void 0 : sheets.freezeSync
|
|
85
86
|
}],
|
|
86
87
|
[UniverSheetsUIPlugin, {
|
|
87
88
|
formulaBar,
|
|
88
89
|
footer,
|
|
90
|
+
allowArrowKeyWrapOnSheetBoundary: sheets === null || sheets === void 0 ? void 0 : sheets.allowArrowKeyWrapOnSheetBoundary,
|
|
89
91
|
maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
|
|
90
92
|
clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
|
|
91
93
|
scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
|
package/lib/index.css
CHANGED
|
@@ -104,10 +104,6 @@
|
|
|
104
104
|
right: .5rem;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.\!univer-bottom-0 {
|
|
108
|
-
bottom: 0 !important;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
107
|
.\!univer-left-0 {
|
|
112
108
|
left: 0 !important;
|
|
113
109
|
}
|
|
@@ -1623,6 +1619,10 @@
|
|
|
1623
1619
|
text-align: center;
|
|
1624
1620
|
}
|
|
1625
1621
|
|
|
1622
|
+
.univer-text-start {
|
|
1623
|
+
text-align: left;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
1626
|
.univer-align-middle {
|
|
1627
1627
|
vertical-align: middle;
|
|
1628
1628
|
}
|
|
@@ -3597,6 +3597,11 @@
|
|
|
3597
3597
|
height: 1.25rem !important;
|
|
3598
3598
|
}
|
|
3599
3599
|
|
|
3600
|
+
.\!univer-size-6 {
|
|
3601
|
+
width: 1.5rem !important;
|
|
3602
|
+
height: 1.5rem !important;
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3600
3605
|
.univer-size-0\.5 {
|
|
3601
3606
|
width: .125rem;
|
|
3602
3607
|
height: .125rem;
|
|
@@ -3778,6 +3783,10 @@
|
|
|
3778
3783
|
width: 20rem;
|
|
3779
3784
|
}
|
|
3780
3785
|
|
|
3786
|
+
.univer-w-\[--radix-popper-anchor-width\] {
|
|
3787
|
+
width: var(--radix-popper-anchor-width);
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3781
3790
|
.univer-w-\[0px\] {
|
|
3782
3791
|
width: 0;
|
|
3783
3792
|
}
|
|
@@ -3878,10 +3887,18 @@
|
|
|
3878
3887
|
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
3879
3888
|
}
|
|
3880
3889
|
|
|
3890
|
+
.univer-grid-cols-\[1fr_5rem\] {
|
|
3891
|
+
grid-template-columns: 1fr 5rem;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3881
3894
|
.univer-grid-cols-\[56px_minmax\(0\,1fr\)_56px\] {
|
|
3882
3895
|
grid-template-columns: 56px minmax(0, 1fr) 56px;
|
|
3883
3896
|
}
|
|
3884
3897
|
|
|
3898
|
+
.univer-grid-cols-\[auto_auto\] {
|
|
3899
|
+
grid-template-columns: auto auto;
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3885
3902
|
.univer-grid-rows-4 {
|
|
3886
3903
|
grid-template-rows: repeat(4, minmax(0, 1fr));
|
|
3887
3904
|
}
|
|
@@ -3951,6 +3968,15 @@
|
|
|
3951
3968
|
column-gap: .125rem;
|
|
3952
3969
|
}
|
|
3953
3970
|
|
|
3971
|
+
.univer-gap-x-2 {
|
|
3972
|
+
-moz-column-gap: .5rem;
|
|
3973
|
+
column-gap: .5rem;
|
|
3974
|
+
}
|
|
3975
|
+
|
|
3976
|
+
.univer-gap-y-1 {
|
|
3977
|
+
row-gap: .25rem;
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3954
3980
|
.univer-gap-y-px {
|
|
3955
3981
|
row-gap: 1px;
|
|
3956
3982
|
}
|
|
@@ -4365,10 +4391,6 @@
|
|
|
4365
4391
|
color: rgba(255, 255, 255, var(--univer-tw-text-opacity, 1));
|
|
4366
4392
|
}
|
|
4367
4393
|
|
|
4368
|
-
.univer-opacity-0 {
|
|
4369
|
-
opacity: 0;
|
|
4370
|
-
}
|
|
4371
|
-
|
|
4372
4394
|
.univer-shadow-\[0_1px_0_rgba\(0\,0\,0\,0\.06\)\] {
|
|
4373
4395
|
--univer-tw-shadow: 0 1px 0 #0000000f;
|
|
4374
4396
|
--univer-tw-shadow-colored: 0 1px 0 var(--univer-tw-shadow-color);
|
|
@@ -4845,10 +4867,6 @@
|
|
|
4845
4867
|
height: 2.5rem;
|
|
4846
4868
|
}
|
|
4847
4869
|
|
|
4848
|
-
.univer-h-11 {
|
|
4849
|
-
height: 2.75rem;
|
|
4850
|
-
}
|
|
4851
|
-
|
|
4852
4870
|
.univer-h-12 {
|
|
4853
4871
|
height: 3rem;
|
|
4854
4872
|
}
|
|
@@ -5081,14 +5099,6 @@
|
|
|
5081
5099
|
border-right-width: 0;
|
|
5082
5100
|
}
|
|
5083
5101
|
|
|
5084
|
-
.univer-border-solid {
|
|
5085
|
-
border-style: solid;
|
|
5086
|
-
}
|
|
5087
|
-
|
|
5088
|
-
.univer-border-gray-200 {
|
|
5089
|
-
border-color: var(--univer-gray-200);
|
|
5090
|
-
}
|
|
5091
|
-
|
|
5092
5102
|
.univer-border-gray-600 {
|
|
5093
5103
|
border-color: var(--univer-gray-600);
|
|
5094
5104
|
}
|
|
@@ -5097,6 +5107,10 @@
|
|
|
5097
5107
|
border-color: var(--univer-primary-600);
|
|
5098
5108
|
}
|
|
5099
5109
|
|
|
5110
|
+
.univer-border-red-500 {
|
|
5111
|
+
border-color: var(--univer-red-500);
|
|
5112
|
+
}
|
|
5113
|
+
|
|
5100
5114
|
.\!univer-bg-gray-600 {
|
|
5101
5115
|
background-color: var(--univer-gray-600) !important;
|
|
5102
5116
|
}
|
|
@@ -5398,10 +5412,6 @@
|
|
|
5398
5412
|
}
|
|
5399
5413
|
}
|
|
5400
5414
|
|
|
5401
|
-
.focus\:univer-border-primary-500:focus {
|
|
5402
|
-
border-color: var(--univer-primary-500);
|
|
5403
|
-
}
|
|
5404
|
-
|
|
5405
5415
|
.active\:univer-scale-\[0\.98\]:active {
|
|
5406
5416
|
--univer-tw-scale-x: .98;
|
|
5407
5417
|
--univer-tw-scale-y: .98;
|
|
@@ -5425,10 +5435,6 @@
|
|
|
5425
5435
|
opacity: .6;
|
|
5426
5436
|
}
|
|
5427
5437
|
|
|
5428
|
-
.dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
|
|
5429
|
-
border-color: var(--univer-gray-700) !important;
|
|
5430
|
-
}
|
|
5431
|
-
|
|
5432
5438
|
.dark\:\!univer-bg-gray-600:where(.univer-dark, .univer-dark *) {
|
|
5433
5439
|
background-color: var(--univer-gray-600) !important;
|
|
5434
5440
|
}
|
|
@@ -5606,6 +5612,10 @@
|
|
|
5606
5612
|
border-radius: .5rem;
|
|
5607
5613
|
}
|
|
5608
5614
|
|
|
5615
|
+
.univer-bg-gray-200 {
|
|
5616
|
+
background-color: var(--univer-gray-200);
|
|
5617
|
+
}
|
|
5618
|
+
|
|
5609
5619
|
.univer-p-1\.5 {
|
|
5610
5620
|
padding: .375rem;
|
|
5611
5621
|
}
|
|
@@ -5751,10 +5761,6 @@
|
|
|
5751
5761
|
left: .25rem;
|
|
5752
5762
|
}
|
|
5753
5763
|
|
|
5754
|
-
.univer-left-3 {
|
|
5755
|
-
left: .75rem;
|
|
5756
|
-
}
|
|
5757
|
-
|
|
5758
5764
|
.univer-right-0 {
|
|
5759
5765
|
right: 0;
|
|
5760
5766
|
}
|
|
@@ -5867,10 +5873,6 @@
|
|
|
5867
5873
|
margin-left: .75rem;
|
|
5868
5874
|
}
|
|
5869
5875
|
|
|
5870
|
-
.univer-ml-6 {
|
|
5871
|
-
margin-left: 1.5rem;
|
|
5872
|
-
}
|
|
5873
|
-
|
|
5874
5876
|
.univer-ml-px {
|
|
5875
5877
|
margin-left: 1px;
|
|
5876
5878
|
}
|
|
@@ -6119,10 +6121,6 @@
|
|
|
6119
6121
|
width: 90px !important;
|
|
6120
6122
|
}
|
|
6121
6123
|
|
|
6122
|
-
.\!univer-w-full {
|
|
6123
|
-
width: 100% !important;
|
|
6124
|
-
}
|
|
6125
|
-
|
|
6126
6124
|
.univer-w-10 {
|
|
6127
6125
|
width: 2.5rem;
|
|
6128
6126
|
}
|
|
@@ -6179,10 +6177,6 @@
|
|
|
6179
6177
|
width: 130px;
|
|
6180
6178
|
}
|
|
6181
6179
|
|
|
6182
|
-
.univer-w-\[156px\] {
|
|
6183
|
-
width: 156px;
|
|
6184
|
-
}
|
|
6185
|
-
|
|
6186
6180
|
.univer-w-\[300px\] {
|
|
6187
6181
|
width: 300px;
|
|
6188
6182
|
}
|
|
@@ -6581,10 +6575,6 @@
|
|
|
6581
6575
|
background-color: var(--univer-gray-900) !important;
|
|
6582
6576
|
}
|
|
6583
6577
|
|
|
6584
|
-
.\!univer-bg-transparent {
|
|
6585
|
-
background-color: #0000 !important;
|
|
6586
|
-
}
|
|
6587
|
-
|
|
6588
6578
|
.univer-bg-blue-500 {
|
|
6589
6579
|
background-color: var(--univer-blue-500);
|
|
6590
6580
|
}
|
|
@@ -7078,10 +7068,6 @@
|
|
|
7078
7068
|
}
|
|
7079
7069
|
}
|
|
7080
7070
|
|
|
7081
|
-
.focus\:univer-border-primary-500:focus {
|
|
7082
|
-
border-color: var(--univer-primary-500);
|
|
7083
|
-
}
|
|
7084
|
-
|
|
7085
7071
|
.focus\:univer-outline-none:focus {
|
|
7086
7072
|
outline-offset: 2px;
|
|
7087
7073
|
outline: 2px solid #0000;
|
|
@@ -7195,10 +7181,6 @@
|
|
|
7195
7181
|
background-color: var(--univer-primary-900) !important;
|
|
7196
7182
|
}
|
|
7197
7183
|
|
|
7198
|
-
.dark\:\!univer-bg-transparent:where(.univer-dark, .univer-dark *) {
|
|
7199
|
-
background-color: #0000 !important;
|
|
7200
|
-
}
|
|
7201
|
-
|
|
7202
7184
|
.dark\:\!univer-fill-gray-0:where(.univer-dark, .univer-dark *) {
|
|
7203
7185
|
fill: var(--univer-gray-0) !important;
|
|
7204
7186
|
}
|
|
@@ -7374,10 +7356,6 @@
|
|
|
7374
7356
|
right: .75rem;
|
|
7375
7357
|
}
|
|
7376
7358
|
|
|
7377
|
-
.\!univer-bottom-0 {
|
|
7378
|
-
bottom: 0 !important;
|
|
7379
|
-
}
|
|
7380
|
-
|
|
7381
7359
|
.\!univer-bottom-0\.5 {
|
|
7382
7360
|
bottom: .125rem !important;
|
|
7383
7361
|
}
|
|
@@ -7887,10 +7865,6 @@
|
|
|
7887
7865
|
min-width: 3.5rem;
|
|
7888
7866
|
}
|
|
7889
7867
|
|
|
7890
|
-
.univer-min-w-16 {
|
|
7891
|
-
min-width: 4rem;
|
|
7892
|
-
}
|
|
7893
|
-
|
|
7894
7868
|
.univer-min-w-44 {
|
|
7895
7869
|
min-width: 11rem;
|
|
7896
7870
|
}
|
|
@@ -8589,6 +8563,11 @@
|
|
|
8589
8563
|
padding-right: 1.5rem;
|
|
8590
8564
|
}
|
|
8591
8565
|
|
|
8566
|
+
.univer-py-0 {
|
|
8567
|
+
padding-top: 0;
|
|
8568
|
+
padding-bottom: 0;
|
|
8569
|
+
}
|
|
8570
|
+
|
|
8592
8571
|
.univer-py-0\.5 {
|
|
8593
8572
|
padding-top: .125rem;
|
|
8594
8573
|
padding-bottom: .125rem;
|
package/lib/index.js
CHANGED
|
@@ -81,11 +81,13 @@ function UniverSheetsCorePreset(config = {}) {
|
|
|
81
81
|
onlyRegisterFormulaRelatedMutations: false,
|
|
82
82
|
isRowStylePrecedeColumnStyle: sheets === null || sheets === void 0 ? void 0 : sheets.isRowStylePrecedeColumnStyle,
|
|
83
83
|
autoHeightForMergedCells: sheets === null || sheets === void 0 ? void 0 : sheets.autoHeightForMergedCells,
|
|
84
|
+
textLineGap: sheets === null || sheets === void 0 ? void 0 : sheets.textLineGap,
|
|
84
85
|
freezeSync: sheets === null || sheets === void 0 ? void 0 : sheets.freezeSync
|
|
85
86
|
}],
|
|
86
87
|
[UniverSheetsUIPlugin, {
|
|
87
88
|
formulaBar,
|
|
88
89
|
footer,
|
|
90
|
+
allowArrowKeyWrapOnSheetBoundary: sheets === null || sheets === void 0 ? void 0 : sheets.allowArrowKeyWrapOnSheetBoundary,
|
|
89
91
|
maxAutoHeightCount: sheets === null || sheets === void 0 ? void 0 : sheets.maxAutoHeightCount,
|
|
90
92
|
clipboardConfig: sheets === null || sheets === void 0 ? void 0 : sheets.clipboardConfig,
|
|
91
93
|
scrollConfig: sheets === null || sheets === void 0 ? void 0 : sheets.scrollConfig,
|
package/lib/types/types.d.ts
CHANGED
|
@@ -25,5 +25,5 @@ export interface IUniverFormulaWorkerConfig extends Pick<IUniverEngineFormulaCon
|
|
|
25
25
|
}
|
|
26
26
|
export interface IUniverDocsPresetConfig extends IUniverDocsConfig {
|
|
27
27
|
}
|
|
28
|
-
export interface IUniverSheetsPresetConfig extends Pick<IUniverSheetsConfig, 'isRowStylePrecedeColumnStyle' | 'autoHeightForMergedCells' | 'freezeSync'>, Pick<IUniverSheetsUIConfig, 'maxAutoHeightCount' | 'clipboardConfig' | 'scrollConfig' | 'protectedRangeShadow' | 'protectedRangeUserSelector' | 'disableForceStringAlert' | 'disableForceStringMark'> {
|
|
28
|
+
export interface IUniverSheetsPresetConfig extends Pick<IUniverSheetsConfig, 'isRowStylePrecedeColumnStyle' | 'autoHeightForMergedCells' | 'freezeSync' | 'textLineGap'>, Pick<IUniverSheetsUIConfig, 'maxAutoHeightCount' | 'clipboardConfig' | 'scrollConfig' | 'protectedRangeShadow' | 'protectedRangeUserSelector' | 'disableForceStringAlert' | 'disableForceStringMark' | 'allowArrowKeyWrapOnSheetBoundary'> {
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-sheets-core",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preset for core Univer Sheets spreadsheet features.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,25 +61,25 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs/design": "1.0
|
|
65
|
-
"@univerjs/docs": "1.0
|
|
66
|
-
"@univerjs/docs-ui": "1.0
|
|
67
|
-
"@univerjs/engine-formula": "1.0
|
|
68
|
-
"@univerjs/engine-render": "1.0
|
|
69
|
-
"@univerjs/network": "1.0
|
|
70
|
-
"@univerjs/rpc": "1.0
|
|
71
|
-
"@univerjs/sheets": "1.0
|
|
72
|
-
"@univerjs/sheets-formula": "1.0
|
|
73
|
-
"@univerjs/sheets-formula-ui": "1.0
|
|
74
|
-
"@univerjs/sheets-numfmt": "1.0
|
|
75
|
-
"@univerjs/sheets-numfmt-ui": "1.0
|
|
76
|
-
"@univerjs/sheets-ui": "1.0
|
|
77
|
-
"@univerjs/ui": "1.0
|
|
64
|
+
"@univerjs/design": "1.1.0",
|
|
65
|
+
"@univerjs/docs": "1.1.0",
|
|
66
|
+
"@univerjs/docs-ui": "1.1.0",
|
|
67
|
+
"@univerjs/engine-formula": "1.1.0",
|
|
68
|
+
"@univerjs/engine-render": "1.1.0",
|
|
69
|
+
"@univerjs/network": "1.1.0",
|
|
70
|
+
"@univerjs/rpc": "1.1.0",
|
|
71
|
+
"@univerjs/sheets": "1.1.0",
|
|
72
|
+
"@univerjs/sheets-formula": "1.1.0",
|
|
73
|
+
"@univerjs/sheets-formula-ui": "1.1.0",
|
|
74
|
+
"@univerjs/sheets-numfmt": "1.1.0",
|
|
75
|
+
"@univerjs/sheets-numfmt-ui": "1.1.0",
|
|
76
|
+
"@univerjs/sheets-ui": "1.1.0",
|
|
77
|
+
"@univerjs/ui": "1.1.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@univerjs-infra/shared": "1.0
|
|
81
|
-
"@univerjs/core": "1.0
|
|
82
|
-
"@univerjs/presets": "1.0
|
|
80
|
+
"@univerjs-infra/shared": "1.1.0",
|
|
81
|
+
"@univerjs/core": "1.1.0",
|
|
82
|
+
"@univerjs/presets": "1.1.0",
|
|
83
83
|
"react": "18.3.1",
|
|
84
84
|
"react-dom": "18.3.1",
|
|
85
85
|
"rxjs": "^7.8.2",
|