@univerjs/sheets-ui 0.6.1-nightly.202502261607 → 0.6.2-nightly.202503031606
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/facade.js +1 -1
- package/lib/cjs/index.js +30 -30
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +501 -485
- package/lib/es/index.js +6752 -6676
- package/lib/es/locale/en-US.js +8 -0
- package/lib/es/locale/fa-IR.js +8 -0
- package/lib/es/locale/fr-FR.js +8 -0
- package/lib/es/locale/ru-RU.js +8 -0
- package/lib/es/locale/vi-VN.js +8 -0
- package/lib/es/locale/zh-CN.js +8 -0
- package/lib/es/locale/zh-TW.js +8 -0
- package/lib/index.css +1 -1
- package/lib/types/controllers/checkbox.controller.d.ts +3 -2
- package/lib/types/controllers/clipboard/clipboard.controller.d.ts +2 -2
- package/lib/types/controllers/config.schema.d.ts +1 -2
- package/lib/types/controllers/menu/insert.menu.d.ts +40 -0
- package/lib/types/controllers/render-controllers/header-menu.render-controller.d.ts +2 -2
- package/lib/types/controllers/shortcuts/editor.shortcut.d.ts +1 -1
- package/lib/types/controllers/shortcuts/value.shortcut.d.ts +1 -0
- package/lib/types/facade/f-worksheet.d.ts +49 -5
- package/lib/types/locale/zh-CN.d.ts +8 -0
- package/lib/types/services/clipboard/clipboard.service.d.ts +1 -1
- package/lib/types/services/selection/selection-render-model.d.ts +0 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +30 -30
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -14
package/lib/es/locale/en-US.js
CHANGED
|
@@ -171,8 +171,16 @@ const e = {
|
|
|
171
171
|
insert: "Insert",
|
|
172
172
|
insertRow: "Insert Row",
|
|
173
173
|
insertRowBefore: "Insert Row Before",
|
|
174
|
+
insertRowsAfter: "Insert",
|
|
175
|
+
insertRowsAbove: "Insert",
|
|
176
|
+
insertRowsAfterSuffix: "rows after",
|
|
177
|
+
insertRowsAboveSuffix: "rows above",
|
|
174
178
|
insertColumn: "Insert Column",
|
|
175
179
|
insertColumnBefore: "Insert Column Before",
|
|
180
|
+
insertColsLeft: "Insert",
|
|
181
|
+
insertColsRight: "Insert",
|
|
182
|
+
insertColsLeftSuffix: "cols left",
|
|
183
|
+
insertColsRightSuffix: "cols right",
|
|
176
184
|
delete: "Delete",
|
|
177
185
|
deleteCell: "Delete Cell",
|
|
178
186
|
insertCell: "Insert Cell",
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -171,8 +171,16 @@ const e = {
|
|
|
171
171
|
insert: "درج",
|
|
172
172
|
insertRow: "درج سطر",
|
|
173
173
|
insertRowBefore: "درج سطر قبل از",
|
|
174
|
+
insertRowsAfter: "صفوف بعد ذلك",
|
|
175
|
+
insertRowsAbove: "صفوف بعد ذلك",
|
|
176
|
+
insertRowsAfterSuffix: "أدخل",
|
|
177
|
+
insertRowsAboveSuffix: "أدخل",
|
|
174
178
|
insertColumn: "درج ستون",
|
|
175
179
|
insertColumnBefore: "درج ستون قبل از",
|
|
180
|
+
insertColsLeft: "أعمدة إلى اليسار",
|
|
181
|
+
insertColsRight: "صفوف إلى اليمين",
|
|
182
|
+
insertColsLeftSuffix: "أدخل",
|
|
183
|
+
insertColsRightSuffix: "أدخل",
|
|
176
184
|
delete: "حذف",
|
|
177
185
|
deleteCell: "حذف سلول",
|
|
178
186
|
insertCell: "درج سلول",
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -171,8 +171,16 @@ const e = {
|
|
|
171
171
|
insert: "Insérer",
|
|
172
172
|
insertRow: "Insérer une ligne",
|
|
173
173
|
insertRowBefore: "Insérer une ligne avant",
|
|
174
|
+
insertRowsAbove: "Insérer",
|
|
175
|
+
insertRowsAfter: "Insérer",
|
|
176
|
+
insertRowsAfterSuffix: "lignes après",
|
|
177
|
+
insertRowsAboveSuffix: "lignes au-dessus",
|
|
174
178
|
insertColumn: "Insérer une colonne",
|
|
175
179
|
insertColumnBefore: "Insérer une colonne avant",
|
|
180
|
+
insertColsLeft: "Insérer",
|
|
181
|
+
insertColsRight: "Insérer",
|
|
182
|
+
insertColsLeftSuffix: "colonnes à gauche",
|
|
183
|
+
insertColsRightSuffix: "colonnes à droite",
|
|
176
184
|
delete: "Supprimer",
|
|
177
185
|
deleteCell: "Supprimer la cellule",
|
|
178
186
|
insertCell: "Insérer une cellule",
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -170,9 +170,17 @@ const e = {
|
|
|
170
170
|
pasteBesidesBorder: "Вставить кроме стилей границы",
|
|
171
171
|
insert: "Вставить",
|
|
172
172
|
insertRow: "Вставить строку",
|
|
173
|
+
insertRowsAfter: "Вставить",
|
|
174
|
+
insertRowsAbove: "Вставить",
|
|
173
175
|
insertRowBefore: "Вставить строку выше",
|
|
176
|
+
insertRowsAfterSuffix: "строк после",
|
|
177
|
+
insertRowsAboveSuffix: "строк выше",
|
|
174
178
|
insertColumn: "Вставить столбец",
|
|
175
179
|
insertColumnBefore: "Вставить столбец слева",
|
|
180
|
+
insertColsLeft: "Вставить",
|
|
181
|
+
insertColsRight: "Вставить",
|
|
182
|
+
insertColsLeftSuffix: "столбцов слева",
|
|
183
|
+
insertColsRightSuffix: "столбцов справа",
|
|
176
184
|
delete: "Удалить",
|
|
177
185
|
deleteCell: "Удалить ячейку",
|
|
178
186
|
insertCell: "Вставить ячейку",
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -172,8 +172,16 @@ const n = {
|
|
|
172
172
|
delete: "Xóa",
|
|
173
173
|
insertRow: "Chèn hàng",
|
|
174
174
|
insertRowBefore: "Chèn hàng phía trên",
|
|
175
|
+
insertRowsAbove: "chèn",
|
|
176
|
+
insertRowsAfter: "chèn",
|
|
177
|
+
insertRowsAfterSuffix: "dòng sau",
|
|
178
|
+
insertRowsAboveSuffix: "dòng ở trên",
|
|
175
179
|
insertColumn: "Chèn cột",
|
|
176
180
|
insertColumnBefore: "Chèn cột bên trái",
|
|
181
|
+
insertColsLeft: "chèn",
|
|
182
|
+
insertColsRight: "chèn",
|
|
183
|
+
insertColsLeftSuffix: "cột sang trái",
|
|
184
|
+
insertColsRightSuffix: "cột sang phải",
|
|
177
185
|
deleteCell: "Xóa ô",
|
|
178
186
|
insertCell: "Chèn ô",
|
|
179
187
|
deleteSelected: "Xóa đã chọn",
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -173,8 +173,16 @@ const e = {
|
|
|
173
173
|
delete: "删除",
|
|
174
174
|
insertRow: "插入行",
|
|
175
175
|
insertRowBefore: "在上方插入行",
|
|
176
|
+
insertRowsAbove: "在上方插入",
|
|
177
|
+
insertRowsAfter: "在下方插入",
|
|
178
|
+
insertRowsAfterSuffix: "行",
|
|
179
|
+
insertRowsAboveSuffix: "行",
|
|
176
180
|
insertColumn: "插入列",
|
|
177
181
|
insertColumnBefore: "在左侧插入列",
|
|
182
|
+
insertColsLeft: "在左侧插入",
|
|
183
|
+
insertColsRight: "在右侧插入",
|
|
184
|
+
insertColsLeftSuffix: "列",
|
|
185
|
+
insertColsRightSuffix: "列",
|
|
178
186
|
deleteCell: "删除单元格",
|
|
179
187
|
insertCell: "插入单元格",
|
|
180
188
|
deleteSelected: "删除选中",
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -173,8 +173,16 @@ const e = {
|
|
|
173
173
|
delete: "刪除",
|
|
174
174
|
insertRow: "插入行",
|
|
175
175
|
insertRowBefore: "上方插入行",
|
|
176
|
+
insertRowsAbove: "在上方插入",
|
|
177
|
+
insertRowsAfter: "在下方插入",
|
|
178
|
+
insertRowsAfterSuffix: "行",
|
|
179
|
+
insertRowsAboveSuffix: "行",
|
|
176
180
|
insertColumn: "插入列",
|
|
177
181
|
insertColumnBefore: "在左側插入列",
|
|
182
|
+
insertColsLeft: "在左側插入",
|
|
183
|
+
insertColsRight: "在右側插入",
|
|
184
|
+
insertColsLeftSuffix: "列",
|
|
185
|
+
insertColsRightSuffix: "列",
|
|
178
186
|
deleteCell: "刪除儲存格",
|
|
179
187
|
insertCell: "插入儲存格",
|
|
180
188
|
deleteSelected: "刪除選取",
|
package/lib/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-left-1{left:.25rem}.univer-right-0{right:0}.univer-top-0{top:0}.univer-top-0\.5{top:.125rem}.univer-z-10{z-index:10}.univer-z-\[1001\]{z-index:1001}.univer-m-0{margin:0}.univer-mb-2{margin-bottom:.5rem}.univer-mr-2{margin-right:.5rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-grid{display:grid}.univer-size-0{width:0px;height:0px}.univer-size-4{width:1rem;height:1rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-full{height:100%}.univer-max-h-\[360px\]{max-height:360px}.univer-w-24{width:6rem}.univer-w-\[300px\]{width:300px}.univer-w-\[50\%\]{width:50%}.univer-w-full{width:100%}.univer-flex-1{flex:1 1 0%}.univer-flex-shrink-0{flex-shrink:0}.univer-cursor-not-allowed{cursor:not-allowed}.univer-cursor-pointer{cursor:pointer}.univer-list-none{list-style-type:none}.univer-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.univer-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-justify-self-center{justify-self:center}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-text-ellipsis{text-overflow:ellipsis}.univer-whitespace-nowrap{white-space:nowrap}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-border{border-width:1px}.univer-border-0{border-width:0px}.univer-border-b{border-bottom-width:1px}.univer-border-r{border-right-width:1px}.univer-border-solid{border-style:solid}.univer-border-none{border-style:none}.univer-border-gray-200{--tw-border-opacity: 1;border-color:#e3e5ea;border-color:rgba(227,229,234,var(--tw-border-opacity, 1))}.univer-border-r-gray-200{--tw-border-opacity: 1;border-right-color:#e3e5ea;border-right-color:rgba(227,229,234,var(--tw-border-opacity, 1))}.univer-bg-gray-100{--tw-bg-opacity: 1;background-color:#eeeff1;background-color:rgba(238,239,241,var(--tw-bg-opacity, 1))}.univer-bg-gray-200{--tw-bg-opacity: 1;background-color:#e3e5ea;background-color:rgba(227,229,234,var(--tw-bg-opacity, 1))}.univer-bg-transparent{background-color:transparent}.univer-bg-white{--tw-bg-opacity: 1;background-color:#fff;background-color:rgba(255,255,255,var(--tw-bg-opacity, 1))}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-p-4{padding:1rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-5{padding-left:1.25rem;padding-right:1.25rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-pl-6{padding-left:1.5rem}.univer-text-\[10px\]{font-size:10px}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-semibold{font-weight:600}.univer-text-gray-300{--tw-text-opacity: 1;color:#cdd0d8;color:rgba(205,208,216,var(--tw-text-opacity, 1))}.univer-text-gray-400{--tw-text-opacity: 1;color:#979dac;color:rgba(151,157,172,var(--tw-text-opacity, 1))}.univer-text-gray-600{--tw-text-opacity: 1;color:#414657;color:rgba(65,70,87,var(--tw-text-opacity, 1))}.univer-text-gray-700{--tw-text-opacity: 1;color:#2c3040;color:rgba(44,48,64,var(--tw-text-opacity, 1))}.univer-text-gray-900{--tw-text-opacity: 1;color:#0e111e;color:rgba(14,17,30,var(--tw-text-opacity, 1))}.univer-text-primary-600{--tw-text-opacity: 1;color:#2c53f1;color:rgba(44,83,241,var(--tw-text-opacity, 1))}.univer-opacity-100{opacity:1}.univer-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.univer-scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.univer-scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.univer-scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.univer-scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.univer-scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.univer-scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.univer-scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.univer-scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.univer-scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.univer-scrollbar-thin{scrollbar-width:thin;scrollbar-color:initial initial;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.univer-scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.univer-scrollbar-track-transparent{--scrollbar-track: transparent !important}.univer-scrollbar-thumb-gray-300{--scrollbar-thumb: #CDD0D8 !important}.hover\:univer-bg-gray-100:hover{--tw-bg-opacity: 1;background-color:#eeeff1;background-color:rgba(238,239,241,var(--tw-bg-opacity, 1))}.hover\:univer-bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:#f5f5f5;background-color:rgba(245,245,245,var(--tw-bg-opacity, 1))}.hover\:univer-bg-transparent:hover{background-color:transparent}.focus\:univer-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\:univer-bg-gray-900:where(.univer-dark,.univer-dark *){--tw-bg-opacity: 1;background-color:#0e111e;background-color:rgba(14,17,30,var(--tw-bg-opacity, 1))}.dark\:univer-text-gray-200:where(.univer-dark,.univer-dark *){--tw-text-opacity: 1;color:#e3e5ea;color:rgba(227,229,234,var(--tw-text-opacity, 1))}.dark\:hover\:univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){--tw-bg-opacity: 1;background-color:#414657;background-color:rgba(65,70,87,var(--tw-bg-opacity, 1))}.univer-count-bar{display:flex;flex:0 0 260px;justify-content:flex-end}.univer-editor-container{position:absolute;z-index:10;top:200px;left:100px;display:flex;width:100px;height:50px;border:1px solid rgb(var(--primary-color));box-shadow:none;box-sizing:content-box}.univer-editor-container .univer-editor-input{position:relative;display:flex;width:100%;height:100%}.univer-editor-container .univer-editor-input canvas{position:absolute}.univer-editor-container .univer-editor-input .univer-sheet-embedding-formula-editor-wrap{height:auto;border:none;padding:0;border-radius:0}.univer-defined-name-overlay{position:relative;width:300px;background-color:rgb(var(--color-white))}.univer-defined-name-overlay-container{position:relative;height:100%;max-height:400px;width:100%;overflow:hidden;overflow-y:auto;scrollbar-color:rgba(var(--scrollbar-color),.7) transparent;scrollbar-gutter:auto;scrollbar-width:thin}.univer-defined-name-overlay-item{display:flex;align-items:center;justify-content:space-between;padding:var(--padding-xs);border-bottom:1px solid rgb(var(--border-color));-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.univer-defined-name-overlay-item:hover{background-color:rgb(var(--grey-50))}.univer-defined-name-overlay-item-name{font-size:var(--font-size-md);color:rgb(var(--grey-900));margin:5px 0;overflow:hidden;text-overflow:ellipsis;flex:1}.univer-defined-name-overlay-item-name-for-sheet{font-size:var(--font-size-xxs);color:rgb(var(--grey-400));margin-left:5px;font-weight:400}.univer-defined-name-overlay-item-formula{font-size:var(--font-size-xs);color:rgb(var(--grey-800));margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.univer-defined-name-overlay-manager{display:flex;flex-direction:column;overflow-y:auto;width:100%;cursor:pointer;overflow:hidden;background-color:rgb(var(--color-white))}.univer-defined-name-overlay-manager:hover{background-color:rgb(var(--grey-50))}.univer-defined-name-overlay-manager-title{font-size:var(--font-size-xs);font-weight:700;margin:var(--margin-xs);margin-bottom:0;color:rgb(var(--grey-800))}.univer-defined-name-overlay-manager-content{font-size:var(--font-size-xxs);margin:var(--margin-xs);color:rgb(var(--grey-500))}.univer-defined-name-container{width:100%;position:relative}.univer-defined-name-container-scroll{width:100%;overflow:hidden;overflow-y:auto;position:absolute}.univer-defined-name-container-addButton{display:flex;align-items:center;justify-content:center;width:100%;height:40px;border-top:1px solid rgb(var(--border-color));border-bottom:1px solid rgb(var(--border-color));font-size:var(--font-size-md);color:rgb(var(--primary-color))}.univer-defined-name-container-addButton:hover{background-color:rgb(var(--grey-50));cursor:pointer}.univer-defined-name-container-addButton-text{margin-left:5px}.univer-defined-name-container-item{position:relative;display:flex;align-items:center;justify-content:space-between;padding:var(--padding-xs);border-bottom:1px solid rgb(var(--border-color));-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.univer-defined-name-container-item-name{font-size:var(--font-size-sm);font-weight:500;color:rgb(var(--color-black));margin:5px 0;max-width:190px;max-height:100px;overflow:hidden}.univer-defined-name-container-item-name-for-sheet{font-size:var(--font-size-xxs);color:rgb(var(--grey-400));margin-left:5px;font-weight:400}.univer-defined-name-container-item-formula-or-refString{font-size:var(--font-size-xs);color:rgb(var(--grey-500));font-weight:400;margin:5px 0;max-height:100px;text-overflow:ellipsis;overflow:hidden}.univer-defined-name-container-item-update{position:absolute;font-size:var(--font-size-xs);color:rgb(var(--primary-color));cursor:pointer;padding:4px;transform:translateY(-50%);border-radius:var(--border-radius-base);right:60px;top:20px}.univer-defined-name-container-item-update:hover{background-color:rgb(var(--hyacinth-50))}.univer-defined-name-container-item-delete{position:absolute;font-size:var(--font-size-xs);color:rgb(var(--error-color));cursor:pointer;padding:4px;right:20px;top:20px;transform:translateY(-50%);border-radius:var(--border-radius-base)}.univer-defined-name-container-item-delete:hover{background-color:rgb(var(--hyacinth-50))}.univer-defined-name-container-item-show{display:none}.univer-defined-name-container-item:hover{background-color:rgb(var(--grey-50))}.univer-defined-name-container-item:hover .univer-defined-name-container-item-show{display:block}.univer-defined-name-input{display:flex;align-items:center;justify-content:left;border-bottom:1px solid rgb(var(--border-color));padding-bottom:5px}.univer-defined-name-input>div{margin-top:16px}.univer-defined-name-input-formula-selector-text-wrap{margin-top:16px;height:100%;position:relative;padding:0 0 0 6px;border:1px solid rgb(var(--border-color));transition:all .15s;border-radius:var(--border-radius-base)}.univer-defined-name-input-text-editor-container{position:relative;width:95%;height:30px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-defined-name-input-validation{display:flex;align-items:center;justify-content:left;color:rgb(var(--error-color));font-size:var(--font-size-xs)}.univer-defined-name-input-validation>span{margin-right:2px}.univer-defined-name-input-disable{color:rgb(var(--grey-200));cursor:not-allowed}.univer-formula-box{display:flex;box-sizing:border-box;height:28px;background:rgb(var(--bg-color-secondary));border-bottom:1px solid rgb(var(--border-color));transition:height .15s}.univer-formula-box .univer-name-ranges{box-sizing:border-box;width:100px;height:100%;position:relative}.univer-formula-box .univer-formula-bar{display:flex;width:100%;height:100%}.univer-formula-box .univer-formula-bar .univer-formula-icon{padding:6px 0}.univer-formula-box .univer-formula-bar .univer-formula-icon-disable{color:rgb(var(--grey-200));cursor:not-allowed}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:80px;height:100%;font-size:var(--font-size-xs);border-right:1px solid rgb(var(--border-color))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container{display:flex;align-items:center;justify-content:center;padding:var(--padding-xs);font-size:var(--font-size-lg);border-radius:var(--border-radius-base)}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-success.univer-formula-active{cursor:pointer;color:rgb(var(--success-color))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-success.univer-formula-active:hover{background-color:rgb(var(--grey-50))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-error.univer-formula-active{cursor:pointer;color:rgb(var(--error-color))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-error.univer-formula-active:hover{background-color:rgb(var(--grey-50))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-fx{cursor:pointer}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-fx:hover{background-color:rgb(var(--grey-50))}.univer-formula-box .univer-formula-bar .univer-formula-input{flex:1;position:relative}.univer-formula-box .univer-formula-bar .univer-formula-input-mask{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:100}.univer-formula-box .univer-formula-bar .univer-formula-container{overflow:hidden;display:flex;flex:1;width:100%;padding:0 0 0 10px}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-sheet-embedding-formula-editor-wrap{height:auto;border:none;padding:0;border-radius:0;height:100%}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-formula-content{position:relative;width:100%;height:100%;word-wrap:break-word;outline:none}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-arrow-container{cursor:pointer;display:flex;align-items:center;justify-content:center;width:20px;height:100%;font-size:var(--font-size-xs);color:rgb(var(--text-color-secondary))}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-arrow-container-disable{color:rgb(var(--grey-200));cursor:not-allowed}.univer-sheet-bar{min-width:calc(100% - 592px);max-width:calc(100% - 260px)}.univer-sheet-bar-options{display:flex;flex-direction:row;align-items:center;margin:var(--margin-xxs);transition:display .2s}.univer-sheet-bar-options-divider:after{content:"";display:block;width:1px;height:16px;margin:0 var(--margin-xs);background-color:rgb(var(--grey-400))}.univer-sheet-bar-btn{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:var(--font-size-lg);color:rgb(var(--text-color-secondary-darker));background-color:transparent;border:none;border-radius:var(--border-radius-base);outline:none}.univer-sheet-bar-btn:not([disabled]):hover{background-color:rgb(var(--bg-color-hover))}.univer-sheet-bar-btn[disabled]{cursor:not-allowed;color:rgb(var(--grey-200))}.univer-slide-tab-bar-container{overflow:hidden;max-width:calc(100% - 112px)}.univer-slide-tab-bar-container .univer-slide-tab-bar{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;display:flex;flex-direction:row;align-items:center;padding:var(--padding-xs) 6px;transition:box-shadow .2s}.univer-slide-tab-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:row;flex-grow:1;align-items:center;box-sizing:border-box;margin:0 var(--margin-xxs);font-size:var(--font-size-xs);line-height:16px;color:rgb(var(--grey-1000));border-radius:var(--border-radius-base)}.univer-slide-tab-item:not(.univer-slide-tab-active):hover{background-color:rgb(var(--bg-color-hover))}.univer-slide-tab-item .univer-slide-tab-div{box-sizing:border-box;padding:var(--padding-xs) var(--padding-sm);white-space:nowrap;border:2px solid transparent;border-radius:var(--border-radius-base);display:flex;align-items:center}.univer-slide-tab-item .univer-slide-tab-div-edit{cursor:text;outline:none}.univer-slide-tab-item .univer-slide-tab-div-edit::-moz-selection{color:rgb(var(--color-white));background-color:rgb(var(--primary-color))}.univer-slide-tab-item .univer-slide-tab-div-edit::selection{color:rgb(var(--color-white));background-color:rgb(var(--primary-color))}.univer-slide-tab-active{font-weight:700;color:rgb(var(--primary-color));background-color:rgb(var(--bg-color-secondary));box-shadow:0 0 8px #00000014;transition:box-shadow .2s;display:flex;justify-content:center}.univer-slide-tab-item-dropdown{-webkit-user-select:none;-moz-user-select:none;user-select:none;min-width:auto!important}.univer-status-bar{display:flex;align-items:center;max-width:332px}.univer-status-bar.univer-single-mode{max-width:136px}.univer-status-bar-div{width:1px;height:16px;margin-left:10px;background:rgb(#ccc);background:rgb(var(--grey-400, #ccc))}.univer-statistic-list-column .univer-statistic-item{font-size:12px;line-height:140%;color:rgb(var(--grey-500))}.univer-statistic-item{cursor:default;overflow:hidden;display:flex;justify-content:flex-start;max-width:106px;margin-right:8px;font-size:var(--font-size-xxs);font-weight:400;font-style:normal;line-height:20px;color:rgb(var(--grey-900));text-align:center;text-overflow:ellipsis;white-space:nowrap}.univer-statistic-item:hover{color:rgb(var(--color-black))}.univer-statistic-picker{display:grid;grid-gap:var(--margin-sm);gap:var(--margin-sm);align-items:center;box-sizing:border-box;width:196px;padding:var(--padding-base);font-size:var(--font-size-xs);background-color:rgb(var(--color-white));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-lg)}.univer-statistic-picker-item{display:flex;align-items:center;justify-content:flex-start}.univer-statistic-more{transform:rotate(90deg);display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:12px;color:rgb(#e8e8e8);color:rgb(var(--grey-600, #e8e8e8));border-radius:4px}.univer-statistic-more:hover{background:rgb(#e8e8e8);background:rgb(var(--grey-300, #e8e8e8))}.univer-sheets-ui-context-menu-input{display:flex;gap:var(--margin-sm);align-items:center}.univer-sheets-ui-context-menu-input-container{width:72px}.univer-sheets-ui-context-menu-input-number{height:24px}.univer-cell-alert{box-sizing:border-box;box-shadow:var(--box-shadow-base);padding:var(--padding-sm) var(--padding-base);border-radius:var(--border-radius-lg);color:rgba(var(--color-black));background:rgba(var(--color-white));z-index:100;width:156px}.univer-cell-alert-title{height:20px;font-size:var(--font-size-sm);font-weight:500;display:flex;flex-direction:row;align-items:center;margin-bottom:6px;line-height:20px}.univer-cell-alert-icon{margin-right:6px}.univer-cell-alert-icon-error{color:rgba(var(--red-400))}.univer-cell-alert-icon-info{color:rgba(var(--blue-500))}.univer-cell-alert-icon-warning{color:rgba(var(--gold-400))}.univer-cell-alert-content{font-size:var(--font-size-sm)}.univer-sheet-paste-options-wrapper{position:absolute;display:flex;background-color:#fff;z-index:10;border-radius:4px}.univer-sheet-paste-options-icon-wrapper{display:flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid rgb(#e5e5e5);border:1px solid rgb(var(--grey-200, #e5e5e5));border-radius:4px;padding:3px}.univer-sheet-paste-options-menu{border:1px solid rgb(#e5e5e5);border:1px solid rgb(var(--grey-200, #e5e5e5));box-shadow:var(--box-shadow-base);border-radius:4px}.univer-sheet-paste-options-menu ul{list-style-type:none;padding:0;margin:8px}.univer-sheet-paste-options-menu-item{padding:8px 4px;cursor:pointer;position:relative}.univer-sheet-paste-options-menu-item:hover{background-color:rgb(#f5f5f5);background-color:rgb(var(--grey-100, #f5f5f5))}.univer-sheet-paste-options-menu-item-title{font-size:13px;color:rgb(#35322b);color:rgb(var(--black, #35322b));margin-left:20px}.univer-sheet-paste-options-menu-item-icon{position:absolute}.univer-mobile-sheet-bar-container{width:100%;overflow-x:scroll;height:32px;background-color:rgb(var(--bg-color))}.univer-mobile-sheet-bar-slider{display:flex;flex-wrap:nowrap;align-items:center;height:32px}.univer-mobile-sheet-bar-item{align-items:center;box-sizing:border-box;flex-grow:1;flex-shrink:0;flex-wrap:nowrap;font-size:12px;height:100%;line-height:28px;min-width:48px;overflow:hidden;padding:2px 4px;text-align:center;white-space:nowrap;border-right:1px solid rgb(var(--border-color));background-color:rgb(var(--bg-color));text-overflow:ellipsis;max-width:120px}.univer-mobile-sheet-bar-item.univer-mobile-sheet-bar-item-activated{color:rgb(var(--primary-color));background-color:rgb(var(--bg-color-secondary))}.univer-permission-panel-detail-wrapper{margin-top:16px;height:calc(100% - 16px);display:flex;flex-direction:column}.univer-radio-group-vertical{display:flex;flex-direction:column;font-weight:400}.univer-sheet-permission-design-person-panel{height:270px;border:1px solid rgb(var(--grey-200));border-radius:var(--border-radius-lg);padding:var(--padding-base);margin-bottom:var(--margin-xs);display:flex;flex-direction:column}.univer-sheet-permission-design-person-panel-header{display:flex;justify-content:space-between;align-items:center}.univer-sheet-permission-design-person-panel-header-add{cursor:pointer;color:rgb(var(--blue-500))}.univer-sheet-permission-design-person-panel-split{height:1px;background-color:rgb(var(--grey-200));margin:var(--margin-xs) 0}.univer-sheet-permission-design-person-panel-content-item{height:28px;line-height:28px;margin-bottom:var(--margin-sm);display:flex;align-items:center}.univer-sheet-permission-design-person-panel-content-item:last-child{margin-bottom:0}.univer-sheet-permission-design-person-panel-content-item-name{width:130px;color:rgb(var(--color-black));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:6px}.univer-sheet-permission-design-person-panel-content-item-select{width:90px;cursor:pointer}.univer-sheet-permission-design-person-panel .univer-sheet-permission-design-person-panel-content-item-select.univer-select-single:not(.univer-select-customize-input) .univer-select-selector{border:none;padding:0;color:rgb(var(--grey-900))}.univer-sheet-permission-design-person-panel .univer-sheet-permission-design-person-panel-content-item-select.univer-select-show-arrow .univer-select-arrow{right:0}.univer-sheet-permission-design-person-panel-content{flex:1}.univer-sheet-permission-panel-title{font-weight:500}.univer-sheet-permission-panel-footer{display:flex;flex-direction:row-reverse;padding:20px 0;margin-top:auto}.univer-sheet-permission-panel-footer button:first-child{margin-left:8px}.univer-permission-range-selector{font-weight:400}.univer-permission-range-selector-error,.univer-sheet-permission-panel-name-input-error,.univer-permission-range-selector-error:hover,.univer-sheet-permission-panel-name-input-error:hover{border:1px solid rgb(var(--red-400))}.univer-permission-range-selector-error-text,.univer-sheet-permission-panel-name-input-error-text{height:20px;line-height:20px;color:rgb(var(--red-400));font-size:var(--font-size-xs);font-weight:400}.univer-sheet-permission-list-panel-wrapper{margin-top:var(--margin-xs);height:calc(100% - 8px);display:flex;flex-direction:column}.univer-sheet-permission-list-panel-header{display:flex;padding:var(--padding-sm) 0;height:30px}.univer-sheet-permission-list-panel-header-type{display:flex;flex-direction:column;align-items:center;margin-right:var(--margin-lg);cursor:pointer}.univer-sheet-permission-list-panel-header-type div{height:24px;line-height:24px}.univer-sheet-permission-list-panel-header-type-bottom{height:2px;width:24px;background-color:rgb(var(--blue-500));margin-top:var(--margin-xxs)}.univer-sheet-permission-list-panel-header-select{color:rgb(var(--blue-500));height:24px;line-height:24px;font-size:var(--font-size-lg);font-weight:500}.univer-sheet-permission-list-item-header-icon{border-radius:var(--border-radius-base);height:24px;padding:4px;box-sizing:border-box}.univer-sheet-permission-list-item-header-icon:hover{background-color:rgb(var(--grey-200))}.univer-sheet-permission-list-item{margin-top:var(--margin-sm);border-radius:var(--border-radius-lg);border:1px solid rgb(var(--grey-200));padding:var(--padding-base)}.univer-sheet-permission-list-item:hover{background-color:rgb(var(--grey-50))}.univer-sheet-permission-list-item-header{height:20px;line-height:20px;display:flex;justify-content:space-between}.univer-sheet-permission-list-item-header-name{font-weight:500;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.univer-sheet-permission-list-item-header-operator{display:flex;align-items:center}.univer-sheet-permission-list-item-header-operator div{margin-left:var(--margin-xs)}.univer-sheet-permission-list-item-split{height:1px;background-color:rgb(var(--grey-200));margin:var(--margin-xs) 0}.univer-sheet-permission-list-item-content-edit{display:flex;align-items:center}.univer-sheet-permission-list-item-content-view{display:flex;align-items:center;margin-top:var(--margin-xs)}.univer-sheet-permission-list-item-content-desc{font-size:12px;color:rgb(var(--grey-400));max-width:256px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:var(--margin-xs)}.univer-sheet-permission-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1}.univer-sheet-permission-list-empty-text{width:240px;word-wrap:break-word;color:rgb(var(--grey-400));font-size:13px}.univer-sheet-permission-list-item-content-title{font-size:12px;height:16px;line-height:16px;flex-grow:1;color:rgb(var(--color-black))}.univer-sheet-permission-list-item-content-sub{font-size:12px;height:16px;line-height:16px;color:rgb(var(--grey-600))}.univer-sheet-permission-panel-add-wrapper{padding:20px 0;margin-top:auto}.univer-sheet-permission-panel-add-button{width:100%;display:flex;align-items:center;justify-content:center}.univer-sheet-permission-panel-add-button div{margin-right:4px}.univer-spin-container{position:relative;width:100%;height:100%}.univer-spin-overlay{position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#ffffff80;z-index:10}.univer-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;animation:univer-spin 2s linear infinite}.univer-content-blur{filter:blur(2px);pointer-events:none}@keyframes univer-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.univer-sheet-permission-dialog-wrapper{display:flex;flex-direction:column;padding:2px}.univer-sheet-permission-dialog-split{height:1px;background-color:rgb(var(--grey-200))}.univer-sheet-permission-dialog-item{display:flex;align-items:center;justify-content:space-between;height:20px;line-height:20px;margin:6px 0}.univer-sheet-permission-user-dialog-footer{height:36px;padding:var(--padding-xs) 0;display:flex;justify-content:flex-end;align-items:center;margin-top:var(--margin-xs)}.univer-sheet-permission-user-dialog-button{height:32px;line-height:32px;padding:0px var(--padding-base)}.univer-sheet-permission-user-dialog-wrapper{height:329px;padding:var(--padding-base);box-sizing:content-box}.univer-sheet-permission-user-dialog-search-input{width:256px;height:32px}.univer-sheet-permission-user-list{height:240px;overflow-y:auto}.univer-sheet-permission-user-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.univer-sheet-permission-user-list-empty-text{width:240px;word-wrap:break-word;color:rgb(var(--grey-400));font-size:13px}.univer-sheet-permission-user-item{display:flex;align-items:center;margin:var(--margin-xs) 0;border-radius:6px;padding:var(--padding-xs) var(--padding-sm)}.univer-sheet-permission-user-item:hover{background-color:rgb(var(--grey-50))}.univer-sheet-permission-user-item div{margin-left:6px}.univer-sheet-permission-user-item-name{width:186px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.univer-sheet-permission-split{height:1px;background-color:rgb(var(--grey-200))}.univer-sheet-permission-user-dialog-footer{padding:var(--padding-xs) 0;display:flex;justify-content:flex-end;align-items:center;margin-top:var(--margin-xs);height:28px}.univer-sheet-permission-user-dialog-footer-confirm{margin-left:var(--margin-sm)}.univer-sheet-permission-user-dialog-button{height:28px;line-height:28px;padding:0px var(--padding-base)}.univer-sheet-permission-alert-dialog{padding:var(--padding-xl) 24px}.univer-sheet-permission-alert-dialog-title{font-size:var(--font-size-lg);font-weight:500;margin-bottom:var(--margin-base)}.univer-sheet-permission-alert-dialog-button{margin-top:var(--margin-lg);display:flex;justify-content:flex-end}.sheet-permission-user-dialog .univer-dialog-close,.sheet-permission-user-dialog .univer-dialog-header{display:none}.sheet-permission-user-dialog .univer-dialog-body{padding:0}
|
|
1
|
+
.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-inset-0{top:0;right:0;bottom:0;left:0}.univer-left-1{left:.25rem}.univer-right-0{right:0}.univer-top-0{top:0}.univer-top-0\.5{top:.125rem}.univer-z-10{z-index:10}.univer-z-\[1001\]{z-index:1001}.univer-m-0{margin:0}.univer-mb-2{margin-bottom:.5rem}.univer-mr-2{margin-right:.5rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-grid{display:grid}.univer-size-0{width:0px;height:0px}.univer-size-4{width:1rem;height:1rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-full{height:100%}.univer-max-h-\[360px\]{max-height:360px}.univer-w-24{width:6rem}.univer-w-\[300px\]{width:300px}.univer-w-\[50\%\]{width:50%}.univer-w-full{width:100%}.univer-flex-1{flex:1 1 0%}.univer-flex-shrink-0{flex-shrink:0}.univer-cursor-not-allowed{cursor:not-allowed}.univer-cursor-pointer{cursor:pointer}.univer-list-none{list-style-type:none}.univer-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.univer-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.univer-items-center{align-items:center}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-1{gap:.25rem}.univer-gap-2{gap:.5rem}.univer-justify-self-center{justify-self:center}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-text-ellipsis{text-overflow:ellipsis}.univer-whitespace-nowrap{white-space:nowrap}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-border{border-width:1px}.univer-border-0{border-width:0px}.univer-border-b{border-bottom-width:1px}.univer-border-r{border-right-width:1px}.univer-border-solid{border-style:solid}.univer-border-none{border-style:none}.univer-border-gray-200{--tw-border-opacity: 1;border-color:#e3e5ea;border-color:rgba(227,229,234,var(--tw-border-opacity, 1))}.univer-border-r-gray-200{--tw-border-opacity: 1;border-right-color:#e3e5ea;border-right-color:rgba(227,229,234,var(--tw-border-opacity, 1))}.univer-bg-gray-100{--tw-bg-opacity: 1;background-color:#eeeff1;background-color:rgba(238,239,241,var(--tw-bg-opacity, 1))}.univer-bg-gray-200{--tw-bg-opacity: 1;background-color:#e3e5ea;background-color:rgba(227,229,234,var(--tw-bg-opacity, 1))}.univer-bg-transparent{background-color:transparent}.univer-bg-white{--tw-bg-opacity: 1;background-color:#fff;background-color:rgba(255,255,255,var(--tw-bg-opacity, 1))}.univer-p-0{padding:0}.univer-p-1{padding:.25rem}.univer-p-1\.5{padding:.375rem}.univer-p-2{padding:.5rem}.univer-p-4{padding:1rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-1\.5{padding-left:.375rem;padding-right:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-5{padding-left:1.25rem;padding-right:1.25rem}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-pl-6{padding-left:1.5rem}.univer-text-\[10px\]{font-size:10px}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-semibold{font-weight:600}.univer-text-gray-300{--tw-text-opacity: 1;color:#cdd0d8;color:rgba(205,208,216,var(--tw-text-opacity, 1))}.univer-text-gray-400{--tw-text-opacity: 1;color:#979dac;color:rgba(151,157,172,var(--tw-text-opacity, 1))}.univer-text-gray-600{--tw-text-opacity: 1;color:#414657;color:rgba(65,70,87,var(--tw-text-opacity, 1))}.univer-text-gray-700{--tw-text-opacity: 1;color:#2c3040;color:rgba(44,48,64,var(--tw-text-opacity, 1))}.univer-text-gray-900{--tw-text-opacity: 1;color:#0e111e;color:rgba(14,17,30,var(--tw-text-opacity, 1))}.univer-text-primary-600{--tw-text-opacity: 1;color:#2c53f1;color:rgba(44,83,241,var(--tw-text-opacity, 1))}.univer-opacity-100{opacity:1}.univer-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-200{transition-duration:.2s}.univer-scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.univer-scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.univer-scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.univer-scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.univer-scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.univer-scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.univer-scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.univer-scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.univer-scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.univer-scrollbar-thin{scrollbar-width:thin;scrollbar-color:initial initial;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.univer-scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.univer-scrollbar-track-transparent{--scrollbar-track: transparent !important}.univer-scrollbar-thumb-gray-300{--scrollbar-thumb: #CDD0D8 !important}.hover\:univer-bg-gray-100:hover{--tw-bg-opacity: 1;background-color:#eeeff1;background-color:rgba(238,239,241,var(--tw-bg-opacity, 1))}.hover\:univer-bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:#f5f5f5;background-color:rgba(245,245,245,var(--tw-bg-opacity, 1))}.hover\:univer-bg-transparent:hover{background-color:transparent}.focus\:univer-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\:univer-bg-gray-900:where(.univer-dark,.univer-dark *){--tw-bg-opacity: 1;background-color:#0e111e;background-color:rgba(14,17,30,var(--tw-bg-opacity, 1))}.dark\:univer-text-gray-200:where(.univer-dark,.univer-dark *){--tw-text-opacity: 1;color:#e3e5ea;color:rgba(227,229,234,var(--tw-text-opacity, 1))}.dark\:hover\:univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){--tw-bg-opacity: 1;background-color:#414657;background-color:rgba(65,70,87,var(--tw-bg-opacity, 1))}.univer-count-bar{display:flex;flex:0 0 260px;justify-content:flex-end}.univer-editor-container{position:absolute;z-index:10;top:200px;left:100px;display:flex;width:100px;height:50px;border:1px solid rgb(var(--primary-color));box-shadow:none;box-sizing:content-box}.univer-editor-container .univer-editor-input{position:relative;display:flex;width:100%;height:100%}.univer-editor-container .univer-editor-input canvas{position:absolute}.univer-editor-container .univer-editor-input .univer-sheet-embedding-formula-editor-wrap{height:auto;border:none;padding:0;border-radius:0}.univer-defined-name-overlay{position:relative;width:300px;background-color:rgb(var(--color-white))}.univer-defined-name-overlay-container{position:relative;height:100%;max-height:400px;width:100%;overflow:hidden;overflow-y:auto;scrollbar-color:rgba(var(--scrollbar-color),.7) transparent;scrollbar-gutter:auto;scrollbar-width:thin}.univer-defined-name-overlay-item{display:flex;align-items:center;justify-content:space-between;padding:var(--padding-xs);border-bottom:1px solid rgb(var(--border-color));-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.univer-defined-name-overlay-item:hover{background-color:rgb(var(--grey-50))}.univer-defined-name-overlay-item-name{font-size:var(--font-size-md);color:rgb(var(--grey-900));margin:5px 0;overflow:hidden;text-overflow:ellipsis;flex:1}.univer-defined-name-overlay-item-name-for-sheet{font-size:var(--font-size-xxs);color:rgb(var(--grey-400));margin-left:5px;font-weight:400}.univer-defined-name-overlay-item-formula{font-size:var(--font-size-xs);color:rgb(var(--grey-800));margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.univer-defined-name-overlay-manager{display:flex;flex-direction:column;overflow-y:auto;width:100%;cursor:pointer;overflow:hidden;background-color:rgb(var(--color-white))}.univer-defined-name-overlay-manager:hover{background-color:rgb(var(--grey-50))}.univer-defined-name-overlay-manager-title{font-size:var(--font-size-xs);font-weight:700;margin:var(--margin-xs);margin-bottom:0;color:rgb(var(--grey-800))}.univer-defined-name-overlay-manager-content{font-size:var(--font-size-xxs);margin:var(--margin-xs);color:rgb(var(--grey-500))}.univer-defined-name-container{width:100%;position:relative}.univer-defined-name-container-scroll{width:100%;overflow:hidden;overflow-y:auto;position:absolute}.univer-defined-name-container-addButton{display:flex;align-items:center;justify-content:center;width:100%;height:40px;border-top:1px solid rgb(var(--border-color));border-bottom:1px solid rgb(var(--border-color));font-size:var(--font-size-md);color:rgb(var(--primary-color))}.univer-defined-name-container-addButton:hover{background-color:rgb(var(--grey-50));cursor:pointer}.univer-defined-name-container-addButton-text{margin-left:5px}.univer-defined-name-container-item{position:relative;display:flex;align-items:center;justify-content:space-between;padding:var(--padding-xs);border-bottom:1px solid rgb(var(--border-color));-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.univer-defined-name-container-item-name{font-size:var(--font-size-sm);font-weight:500;color:rgb(var(--color-black));margin:5px 0;max-width:190px;max-height:100px;overflow:hidden}.univer-defined-name-container-item-name-for-sheet{font-size:var(--font-size-xxs);color:rgb(var(--grey-400));margin-left:5px;font-weight:400}.univer-defined-name-container-item-formula-or-refString{font-size:var(--font-size-xs);color:rgb(var(--grey-500));font-weight:400;margin:5px 0;max-height:100px;text-overflow:ellipsis;overflow:hidden}.univer-defined-name-container-item-update{position:absolute;font-size:var(--font-size-xs);color:rgb(var(--primary-color));cursor:pointer;padding:4px;transform:translateY(-50%);border-radius:var(--border-radius-base);right:60px;top:20px}.univer-defined-name-container-item-update:hover{background-color:rgb(var(--hyacinth-50))}.univer-defined-name-container-item-delete{position:absolute;font-size:var(--font-size-xs);color:rgb(var(--error-color));cursor:pointer;padding:4px;right:20px;top:20px;transform:translateY(-50%);border-radius:var(--border-radius-base)}.univer-defined-name-container-item-delete:hover{background-color:rgb(var(--hyacinth-50))}.univer-defined-name-container-item-show{display:none}.univer-defined-name-container-item:hover{background-color:rgb(var(--grey-50))}.univer-defined-name-container-item:hover .univer-defined-name-container-item-show{display:block}.univer-defined-name-input{display:flex;align-items:center;justify-content:left;border-bottom:1px solid rgb(var(--border-color));padding-bottom:5px}.univer-defined-name-input>div{margin-top:16px}.univer-defined-name-input-formula-selector-text-wrap{margin-top:16px;height:100%;position:relative;padding:0 0 0 6px;border:1px solid rgb(var(--border-color));transition:all .15s;border-radius:var(--border-radius-base)}.univer-defined-name-input-text-editor-container{position:relative;width:95%;height:30px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.univer-defined-name-input-validation{display:flex;align-items:center;justify-content:left;color:rgb(var(--error-color));font-size:var(--font-size-xs)}.univer-defined-name-input-validation>span{margin-right:2px}.univer-defined-name-input-disable{color:rgb(var(--grey-200));cursor:not-allowed}.univer-formula-box{display:flex;box-sizing:border-box;height:28px;background:rgb(var(--bg-color-secondary));border-bottom:1px solid rgb(var(--border-color));transition:height .15s}.univer-formula-box .univer-name-ranges{box-sizing:border-box;width:100px;height:100%;position:relative}.univer-formula-box .univer-formula-bar{display:flex;width:100%;height:100%}.univer-formula-box .univer-formula-bar .univer-formula-icon{padding:6px 0}.univer-formula-box .univer-formula-bar .univer-formula-icon-disable{color:rgb(var(--grey-200));cursor:not-allowed}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:80px;height:100%;font-size:var(--font-size-xs);border-right:1px solid rgb(var(--border-color))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container{display:flex;align-items:center;justify-content:center;padding:var(--padding-xs);font-size:var(--font-size-lg);border-radius:var(--border-radius-base)}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-success.univer-formula-active{cursor:pointer;color:rgb(var(--success-color))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-success.univer-formula-active:hover{background-color:rgb(var(--grey-50))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-error.univer-formula-active{cursor:pointer;color:rgb(var(--error-color))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-error.univer-formula-active:hover{background-color:rgb(var(--grey-50))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-fx{cursor:pointer}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-fx:hover{background-color:rgb(var(--grey-50))}.univer-formula-box .univer-formula-bar .univer-formula-input{flex:1;position:relative}.univer-formula-box .univer-formula-bar .univer-formula-input-mask{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:100;background:rgb(var(--color-white));cursor:not-allowed}.univer-formula-box .univer-formula-bar .univer-formula-container{overflow:hidden;display:flex;flex:1;width:100%;padding:0 0 0 10px}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-sheet-embedding-formula-editor-wrap{height:auto;border:none;padding:0;border-radius:0;height:100%}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-formula-content{position:relative;width:100%;height:100%;word-wrap:break-word;outline:none}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-arrow-container{cursor:pointer;display:flex;align-items:center;justify-content:center;width:20px;height:100%;font-size:var(--font-size-xs);color:rgb(var(--text-color-secondary))}.univer-formula-box .univer-formula-bar .univer-formula-container .univer-arrow-container-disable{color:rgb(var(--grey-200));cursor:not-allowed}.univer-sheet-bar{min-width:calc(100% - 592px);max-width:calc(100% - 260px)}.univer-sheet-bar-options{display:flex;flex-direction:row;align-items:center;margin:var(--margin-xxs);transition:display .2s}.univer-sheet-bar-options-divider:after{content:"";display:block;width:1px;height:16px;margin:0 var(--margin-xs);background-color:rgb(var(--grey-400))}.univer-sheet-bar-btn{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;font-size:var(--font-size-lg);color:rgb(var(--text-color-secondary-darker));background-color:transparent;border:none;border-radius:var(--border-radius-base);outline:none}.univer-sheet-bar-btn:not([disabled]):hover{background-color:rgb(var(--bg-color-hover))}.univer-sheet-bar-btn[disabled]{cursor:not-allowed;color:rgb(var(--grey-200))}.univer-slide-tab-bar-container{overflow:hidden;max-width:calc(100% - 112px)}.univer-slide-tab-bar-container .univer-slide-tab-bar{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;display:flex;flex-direction:row;align-items:center;padding:var(--padding-xs) 6px;transition:box-shadow .2s}.univer-slide-tab-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:row;flex-grow:1;align-items:center;box-sizing:border-box;margin:0 var(--margin-xxs);font-size:var(--font-size-xs);line-height:16px;color:rgb(var(--grey-1000));border-radius:var(--border-radius-base)}.univer-slide-tab-item:not(.univer-slide-tab-active):hover{background-color:rgb(var(--bg-color-hover))}.univer-slide-tab-item .univer-slide-tab-div{box-sizing:border-box;padding:var(--padding-xs) var(--padding-sm);white-space:nowrap;border:2px solid transparent;border-radius:var(--border-radius-base);display:flex;align-items:center}.univer-slide-tab-item .univer-slide-tab-div-edit{cursor:text;outline:none}.univer-slide-tab-item .univer-slide-tab-div-edit::-moz-selection{color:rgb(var(--color-white));background-color:rgb(var(--primary-color))}.univer-slide-tab-item .univer-slide-tab-div-edit::selection{color:rgb(var(--color-white));background-color:rgb(var(--primary-color))}.univer-slide-tab-active{font-weight:700;color:rgb(var(--primary-color));background-color:rgb(var(--bg-color-secondary));box-shadow:0 0 8px #00000014;transition:box-shadow .2s;display:flex;justify-content:center}.univer-slide-tab-item-dropdown{-webkit-user-select:none;-moz-user-select:none;user-select:none;min-width:auto!important}.univer-status-bar{display:flex;align-items:center;max-width:332px}.univer-status-bar.univer-single-mode{max-width:136px}.univer-status-bar-div{width:1px;height:16px;margin-left:10px;background:rgb(#ccc);background:rgb(var(--grey-400, #ccc))}.univer-statistic-list-column .univer-statistic-item{font-size:12px;line-height:140%;color:rgb(var(--grey-500))}.univer-statistic-item{cursor:default;overflow:hidden;display:flex;justify-content:flex-start;max-width:106px;margin-right:8px;font-size:var(--font-size-xxs);font-weight:400;font-style:normal;line-height:20px;color:rgb(var(--grey-900));text-align:center;text-overflow:ellipsis;white-space:nowrap}.univer-statistic-item:hover{color:rgb(var(--color-black))}.univer-statistic-picker{display:grid;grid-gap:var(--margin-sm);gap:var(--margin-sm);align-items:center;box-sizing:border-box;width:196px;padding:var(--padding-base);font-size:var(--font-size-xs);background-color:rgb(var(--color-white));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-lg)}.univer-statistic-picker-item{display:flex;align-items:center;justify-content:flex-start}.univer-statistic-more{transform:rotate(90deg);display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:12px;color:rgb(#e8e8e8);color:rgb(var(--grey-600, #e8e8e8));border-radius:4px}.univer-statistic-more:hover{background:rgb(#e8e8e8);background:rgb(var(--grey-300, #e8e8e8))}.univer-sheets-ui-context-menu-input{display:flex;gap:var(--margin-sm);align-items:center}.univer-sheets-ui-context-menu-input-container{width:72px}.univer-sheets-ui-context-menu-input-number{height:24px}.univer-cell-alert{box-sizing:border-box;box-shadow:var(--box-shadow-base);padding:var(--padding-sm) var(--padding-base);border-radius:var(--border-radius-lg);color:rgba(var(--color-black));background:rgba(var(--color-white));z-index:100;width:156px}.univer-cell-alert-title{height:20px;font-size:var(--font-size-sm);font-weight:500;display:flex;flex-direction:row;align-items:center;margin-bottom:6px;line-height:20px}.univer-cell-alert-icon{margin-right:6px}.univer-cell-alert-icon-error{color:rgba(var(--red-400))}.univer-cell-alert-icon-info{color:rgba(var(--blue-500))}.univer-cell-alert-icon-warning{color:rgba(var(--gold-400))}.univer-cell-alert-content{font-size:var(--font-size-sm)}.univer-sheet-paste-options-wrapper{position:absolute;display:flex;background-color:#fff;z-index:10;border-radius:4px}.univer-sheet-paste-options-icon-wrapper{display:flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid rgb(#e5e5e5);border:1px solid rgb(var(--grey-200, #e5e5e5));border-radius:4px;padding:3px}.univer-sheet-paste-options-menu{border:1px solid rgb(#e5e5e5);border:1px solid rgb(var(--grey-200, #e5e5e5));box-shadow:var(--box-shadow-base);border-radius:4px}.univer-sheet-paste-options-menu ul{list-style-type:none;padding:0;margin:8px}.univer-sheet-paste-options-menu-item{padding:8px 4px;cursor:pointer;position:relative}.univer-sheet-paste-options-menu-item:hover{background-color:rgb(#f5f5f5);background-color:rgb(var(--grey-100, #f5f5f5))}.univer-sheet-paste-options-menu-item-title{font-size:13px;color:rgb(#35322b);color:rgb(var(--black, #35322b));margin-left:20px}.univer-sheet-paste-options-menu-item-icon{position:absolute}.univer-mobile-sheet-bar-container{width:100%;overflow-x:scroll;height:32px;background-color:rgb(var(--bg-color))}.univer-mobile-sheet-bar-slider{display:flex;flex-wrap:nowrap;align-items:center;height:32px}.univer-mobile-sheet-bar-item{align-items:center;box-sizing:border-box;flex-grow:1;flex-shrink:0;flex-wrap:nowrap;font-size:12px;height:100%;line-height:28px;min-width:48px;overflow:hidden;padding:2px 4px;text-align:center;white-space:nowrap;border-right:1px solid rgb(var(--border-color));background-color:rgb(var(--bg-color));text-overflow:ellipsis;max-width:120px}.univer-mobile-sheet-bar-item.univer-mobile-sheet-bar-item-activated{color:rgb(var(--primary-color));background-color:rgb(var(--bg-color-secondary))}.univer-permission-panel-detail-wrapper{margin-top:16px;height:calc(100% - 16px);display:flex;flex-direction:column}.univer-radio-group-vertical{display:flex;flex-direction:column;font-weight:400}.univer-sheet-permission-design-person-panel{height:270px;border:1px solid rgb(var(--grey-200));border-radius:var(--border-radius-lg);padding:var(--padding-base);margin-bottom:var(--margin-xs);display:flex;flex-direction:column}.univer-sheet-permission-design-person-panel-header{display:flex;justify-content:space-between;align-items:center}.univer-sheet-permission-design-person-panel-header-add{cursor:pointer;color:rgb(var(--blue-500))}.univer-sheet-permission-design-person-panel-split{height:1px;background-color:rgb(var(--grey-200));margin:var(--margin-xs) 0}.univer-sheet-permission-design-person-panel-content-item{height:28px;line-height:28px;margin-bottom:var(--margin-sm);display:flex;align-items:center}.univer-sheet-permission-design-person-panel-content-item:last-child{margin-bottom:0}.univer-sheet-permission-design-person-panel-content-item-name{width:130px;color:rgb(var(--color-black));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:6px}.univer-sheet-permission-design-person-panel-content-item-select{width:90px;cursor:pointer}.univer-sheet-permission-design-person-panel .univer-sheet-permission-design-person-panel-content-item-select.univer-select-single:not(.univer-select-customize-input) .univer-select-selector{border:none;padding:0;color:rgb(var(--grey-900))}.univer-sheet-permission-design-person-panel .univer-sheet-permission-design-person-panel-content-item-select.univer-select-show-arrow .univer-select-arrow{right:0}.univer-sheet-permission-design-person-panel-content{flex:1}.univer-sheet-permission-panel-title{font-weight:500}.univer-sheet-permission-panel-footer{display:flex;flex-direction:row-reverse;padding:20px 0;margin-top:auto}.univer-sheet-permission-panel-footer button:first-child{margin-left:8px}.univer-permission-range-selector{font-weight:400}.univer-permission-range-selector-error,.univer-sheet-permission-panel-name-input-error,.univer-permission-range-selector-error:hover,.univer-sheet-permission-panel-name-input-error:hover{border:1px solid rgb(var(--red-400))}.univer-permission-range-selector-error-text,.univer-sheet-permission-panel-name-input-error-text{height:20px;line-height:20px;color:rgb(var(--red-400));font-size:var(--font-size-xs);font-weight:400}.univer-sheet-permission-list-panel-wrapper{margin-top:var(--margin-xs);height:calc(100% - 8px);display:flex;flex-direction:column}.univer-sheet-permission-list-panel-header{display:flex;padding:var(--padding-sm) 0;height:30px}.univer-sheet-permission-list-panel-header-type{display:flex;flex-direction:column;align-items:center;margin-right:var(--margin-lg);cursor:pointer}.univer-sheet-permission-list-panel-header-type div{height:24px;line-height:24px}.univer-sheet-permission-list-panel-header-type-bottom{height:2px;width:24px;background-color:rgb(var(--blue-500));margin-top:var(--margin-xxs)}.univer-sheet-permission-list-panel-header-select{color:rgb(var(--blue-500));height:24px;line-height:24px;font-size:var(--font-size-lg);font-weight:500}.univer-sheet-permission-list-item-header-icon{border-radius:var(--border-radius-base);height:24px;padding:4px;box-sizing:border-box}.univer-sheet-permission-list-item-header-icon:hover{background-color:rgb(var(--grey-200))}.univer-sheet-permission-list-item{margin-top:var(--margin-sm);border-radius:var(--border-radius-lg);border:1px solid rgb(var(--grey-200));padding:var(--padding-base)}.univer-sheet-permission-list-item:hover{background-color:rgb(var(--grey-50))}.univer-sheet-permission-list-item-header{height:20px;line-height:20px;display:flex;justify-content:space-between}.univer-sheet-permission-list-item-header-name{font-weight:500;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.univer-sheet-permission-list-item-header-operator{display:flex;align-items:center}.univer-sheet-permission-list-item-header-operator div{margin-left:var(--margin-xs)}.univer-sheet-permission-list-item-split{height:1px;background-color:rgb(var(--grey-200));margin:var(--margin-xs) 0}.univer-sheet-permission-list-item-content-edit{display:flex;align-items:center}.univer-sheet-permission-list-item-content-view{display:flex;align-items:center;margin-top:var(--margin-xs)}.univer-sheet-permission-list-item-content-desc{font-size:12px;color:rgb(var(--grey-400));max-width:256px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:var(--margin-xs)}.univer-sheet-permission-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1}.univer-sheet-permission-list-empty-text{width:240px;word-wrap:break-word;color:rgb(var(--grey-400));font-size:13px}.univer-sheet-permission-list-item-content-title{font-size:12px;height:16px;line-height:16px;flex-grow:1;color:rgb(var(--color-black))}.univer-sheet-permission-list-item-content-sub{font-size:12px;height:16px;line-height:16px;color:rgb(var(--grey-600))}.univer-sheet-permission-panel-add-wrapper{padding:20px 0;margin-top:auto}.univer-sheet-permission-panel-add-button{width:100%;display:flex;align-items:center;justify-content:center}.univer-sheet-permission-panel-add-button div{margin-right:4px}.univer-spin-container{position:relative;width:100%;height:100%}.univer-spin-overlay{position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#ffffff80;z-index:10}.univer-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;animation:univer-spin 2s linear infinite}.univer-content-blur{filter:blur(2px);pointer-events:none}@keyframes univer-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.univer-sheet-permission-dialog-wrapper{display:flex;flex-direction:column;padding:2px}.univer-sheet-permission-dialog-split{height:1px;background-color:rgb(var(--grey-200))}.univer-sheet-permission-dialog-item{display:flex;align-items:center;justify-content:space-between;height:20px;line-height:20px;margin:6px 0}.univer-sheet-permission-user-dialog-footer{height:36px;padding:var(--padding-xs) 0;display:flex;justify-content:flex-end;align-items:center;margin-top:var(--margin-xs)}.univer-sheet-permission-user-dialog-button{height:32px;line-height:32px;padding:0px var(--padding-base)}.univer-sheet-permission-user-dialog-wrapper{height:329px;padding:var(--padding-base);box-sizing:content-box}.univer-sheet-permission-user-dialog-search-input{width:256px;height:32px}.univer-sheet-permission-user-list{height:240px;overflow-y:auto}.univer-sheet-permission-user-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.univer-sheet-permission-user-list-empty-text{width:240px;word-wrap:break-word;color:rgb(var(--grey-400));font-size:13px}.univer-sheet-permission-user-item{display:flex;align-items:center;margin:var(--margin-xs) 0;border-radius:6px;padding:var(--padding-xs) var(--padding-sm)}.univer-sheet-permission-user-item:hover{background-color:rgb(var(--grey-50))}.univer-sheet-permission-user-item div{margin-left:6px}.univer-sheet-permission-user-item-name{width:186px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.univer-sheet-permission-split{height:1px;background-color:rgb(var(--grey-200))}.univer-sheet-permission-user-dialog-footer{padding:var(--padding-xs) 0;display:flex;justify-content:flex-end;align-items:center;margin-top:var(--margin-xs);height:28px}.univer-sheet-permission-user-dialog-footer-confirm{margin-left:var(--margin-sm)}.univer-sheet-permission-user-dialog-button{height:28px;line-height:28px;padding:0px var(--padding-base)}.univer-sheet-permission-alert-dialog{padding:var(--padding-xl) 24px}.univer-sheet-permission-alert-dialog-title{font-size:var(--font-size-lg);font-weight:500;margin-bottom:var(--margin-base)}.univer-sheet-permission-alert-dialog-button{margin-top:var(--margin-lg);display:flex;justify-content:flex-end}.sheet-permission-user-dialog .univer-dialog-close,.sheet-permission-user-dialog .univer-dialog-header{display:none}.sheet-permission-user-dialog .univer-dialog-body{padding:0}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { Disposable, ICommandService } from '@univerjs/core';
|
|
1
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
2
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
3
|
import { HoverManagerService } from '../services/hover-manager.service';
|
|
4
4
|
export declare class SheetCheckboxController extends Disposable {
|
|
5
5
|
private _hoverManagerService;
|
|
6
|
+
private _instanceService;
|
|
6
7
|
private readonly _commandService;
|
|
7
8
|
private readonly _renderManagerService;
|
|
8
9
|
private _isPointer;
|
|
9
|
-
constructor(_hoverManagerService: HoverManagerService, _commandService: ICommandService, _renderManagerService: IRenderManagerService);
|
|
10
|
+
constructor(_hoverManagerService: HoverManagerService, _instanceService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService);
|
|
10
11
|
private get _mainComponent();
|
|
11
12
|
private _initHover;
|
|
12
13
|
private _initPointerEvent;
|
|
@@ -4,7 +4,7 @@ import { IMessageService, IUIPartsService } from '@univerjs/ui';
|
|
|
4
4
|
import { ISheetClipboardService } from '../../services/clipboard/clipboard.service';
|
|
5
5
|
export declare class SheetClipboardController extends RxDisposable {
|
|
6
6
|
private readonly _injector;
|
|
7
|
-
private readonly
|
|
7
|
+
private readonly _instanceService;
|
|
8
8
|
private readonly _renderManagerService;
|
|
9
9
|
private readonly _commandService;
|
|
10
10
|
private readonly _contextService;
|
|
@@ -15,7 +15,7 @@ export declare class SheetClipboardController extends RxDisposable {
|
|
|
15
15
|
protected readonly _uiPartsService: IUIPartsService;
|
|
16
16
|
private _refreshOptionalPaste$;
|
|
17
17
|
refreshOptionalPaste$: import('rxjs').Observable<unknown>;
|
|
18
|
-
constructor(_injector: Injector,
|
|
18
|
+
constructor(_injector: Injector, _instanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _commandService: ICommandService, _contextService: IContextService, _configService: IConfigService, _sheetClipboardService: ISheetClipboardService, _messageService: IMessageService, _localService: LocaleService, _uiPartsService: IUIPartsService);
|
|
19
19
|
refreshOptionalPaste(): void;
|
|
20
20
|
private _pasteWithDoc;
|
|
21
21
|
private _resolveClipboardFiles;
|
|
@@ -2,7 +2,6 @@ import { DependencyOverride } from '@univerjs/core';
|
|
|
2
2
|
import { MenuConfig } from '@univerjs/ui';
|
|
3
3
|
export declare const SHEETS_UI_PLUGIN_CONFIG_KEY = "sheets-ui.config";
|
|
4
4
|
export declare const configSymbol: unique symbol;
|
|
5
|
-
export declare const HIDE_STATUS_BAR_STATISTIC: unique symbol;
|
|
6
5
|
export interface IUniverSheetsUIConfig {
|
|
7
6
|
menu?: MenuConfig;
|
|
8
7
|
disableAutoFocus?: true;
|
|
@@ -17,9 +16,9 @@ export interface IUniverSheetsUIConfig {
|
|
|
17
16
|
* Whether to show the formula bar.
|
|
18
17
|
*/
|
|
19
18
|
formulaBar?: boolean;
|
|
19
|
+
statusBarStatistic?: boolean;
|
|
20
20
|
clipboardConfig?: {
|
|
21
21
|
hidePasteOptions?: boolean;
|
|
22
22
|
};
|
|
23
|
-
hideStatusBarStatistic?: boolean;
|
|
24
23
|
}
|
|
25
24
|
export declare const defaultPluginConfig: IUniverSheetsUIConfig;
|
|
@@ -6,9 +6,49 @@ export declare const ROW_INSERT_MENU_ID = "sheet.menu.row-insert";
|
|
|
6
6
|
export declare function RowInsertMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<string>;
|
|
7
7
|
export declare const CELL_INSERT_MENU_ID = "sheet.menu.cell-insert";
|
|
8
8
|
export declare function CellInsertMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<string>;
|
|
9
|
+
/**
|
|
10
|
+
* context menu when right click cell
|
|
11
|
+
* @param accessor
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
9
14
|
export declare function InsertRowBeforeMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
15
|
+
/**
|
|
16
|
+
* context menu when right click cell
|
|
17
|
+
* @param accessor
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
export declare function InsertRowBeforeCellMenuItemFactory(accessor: IAccessor): IMenuButtonItem<number>;
|
|
10
21
|
export declare function InsertRowAfterMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
22
|
+
/**
|
|
23
|
+
* context menu when right click cell
|
|
24
|
+
* @param accessor
|
|
25
|
+
*/
|
|
26
|
+
export declare function InsertColLeftCellMenuItemFactory(accessor: IAccessor): IMenuButtonItem<number>;
|
|
11
27
|
export declare function InsertColBeforeMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
12
28
|
export declare function InsertColAfterMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
13
29
|
export declare function InsertRangeMoveRightMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
30
|
+
/**
|
|
31
|
+
* For insert range in cell context menu
|
|
32
|
+
* @param accessor
|
|
33
|
+
*/
|
|
14
34
|
export declare function InsertRangeMoveDownMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
|
|
35
|
+
/**
|
|
36
|
+
* Context menu in rowheader.
|
|
37
|
+
* @param accessor
|
|
38
|
+
*/
|
|
39
|
+
export declare function InsertMultiRowsAfterHeaderMenuItemFactory(accessor: IAccessor): IMenuButtonItem<number>;
|
|
40
|
+
/**
|
|
41
|
+
* Context menu in rowheader.
|
|
42
|
+
* @param accessor
|
|
43
|
+
*/
|
|
44
|
+
export declare function InsertMultiRowsAboveHeaderMenuItemFactory(accessor: IAccessor): IMenuButtonItem<number>;
|
|
45
|
+
/**
|
|
46
|
+
* Context menu in rowheader.
|
|
47
|
+
* @param accessor
|
|
48
|
+
*/
|
|
49
|
+
export declare function InsertMultiColsLeftHeaderMenuItemFactory(accessor: IAccessor): IMenuButtonItem<number>;
|
|
50
|
+
/**
|
|
51
|
+
* Context menu in rowheader.
|
|
52
|
+
* @param accessor
|
|
53
|
+
*/
|
|
54
|
+
export declare function InsertMultiColsRightHeaderMenuItemFactory(accessor: IAccessor): IMenuButtonItem<number>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Disposable, ICommandService
|
|
1
|
+
import { Workbook, Disposable, ICommandService } from '@univerjs/core';
|
|
2
|
+
import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
2
3
|
import { SheetsSelectionsService } from '@univerjs/sheets';
|
|
3
4
|
import { IContextMenuService } from '@univerjs/ui';
|
|
4
|
-
import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
5
5
|
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
|
|
6
6
|
/**
|
|
7
7
|
* header highlight
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IShortcutItem, KeyCode } from '@univerjs/ui';
|
|
2
2
|
export declare const ARROW_SELECTION_KEYCODE_LIST: KeyCode[];
|
|
3
3
|
export declare const MOVE_SELECTION_KEYCODE_LIST: KeyCode[];
|
|
4
4
|
export declare function generateArrowSelectionShortCutItem(): IShortcutItem<object>[];
|
|
@@ -111,20 +111,61 @@ export interface IFWorksheetSkeletonMixin {
|
|
|
111
111
|
*/
|
|
112
112
|
getSkeleton(): Nullable<SpreadsheetSkeleton>;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
115
|
-
* @param {number} columnPosition -
|
|
116
|
-
* @param {number} numColumn - Number of columns
|
|
114
|
+
* Sets the width of the given column to fit its contents.
|
|
115
|
+
* @param {number} columnPosition - The position of the given column to resize. index starts at 0.
|
|
117
116
|
* @returns {FWorksheet} - The FWorksheet instance for chaining.
|
|
118
117
|
* @example
|
|
119
118
|
* ```ts
|
|
120
119
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
121
120
|
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
122
121
|
*
|
|
123
|
-
* // Set
|
|
124
|
-
* fWorksheet.
|
|
122
|
+
* // Set the long text value in cell A1
|
|
123
|
+
* const fRange = fWorksheet.getRange('A1');
|
|
124
|
+
* fRange.setValue('Whenever it is a damp, drizzly November in my soul...');
|
|
125
|
+
*
|
|
126
|
+
* // Set the column A to a width which fits the text
|
|
127
|
+
* fWorksheet.autoResizeColumn(0);
|
|
125
128
|
* ```
|
|
126
129
|
*/
|
|
130
|
+
autoResizeColumn(columnPosition: number): FWorksheet;
|
|
131
|
+
/**
|
|
132
|
+
* Sets the width of all columns starting at the given column position to fit their contents.
|
|
133
|
+
* @param {number} startColumn - The position of the first column to resize. index starts at 0.
|
|
134
|
+
* @param {number} numColumns - The number of columns to auto-resize.
|
|
135
|
+
* @returns {FWorksheet} - The FWorksheet instance for chaining.
|
|
136
|
+
* @example
|
|
137
|
+
* ```ts
|
|
138
|
+
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
139
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
140
|
+
*
|
|
141
|
+
* // Set the A:C columns to a width that fits their text.
|
|
142
|
+
* fWorksheet.autoResizeColumns(0, 3);
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
autoResizeColumns(startColumn: number, numColumns: number): FWorksheet;
|
|
146
|
+
/**
|
|
147
|
+
* Sets the width of all columns starting at the given column position to fit their contents.
|
|
148
|
+
* @deprecated use `autoResizeColumns` instead
|
|
149
|
+
* @param {number} columnPosition - The position of the first column to resize. index starts at 0.
|
|
150
|
+
* @param {number} numColumn - The number of columns to auto-resize.
|
|
151
|
+
* @returns {FWorksheet} - The FWorksheet instance for chaining.
|
|
152
|
+
*/
|
|
127
153
|
setColumnAutoWidth(columnPosition: number, numColumn: number): FWorksheet;
|
|
154
|
+
/**
|
|
155
|
+
* Sets the height of all rows starting at the given row position to fit their contents.
|
|
156
|
+
* @param {number} startRow - The position of the first row to resize. index starts at 0.
|
|
157
|
+
* @param {number} numRows - The number of rows to auto-resize.
|
|
158
|
+
* @returns {FWorksheet} - The FWorksheet instance for chaining.
|
|
159
|
+
* @example
|
|
160
|
+
* ```ts
|
|
161
|
+
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
162
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
163
|
+
*
|
|
164
|
+
* // Set the first 3 rows to a height that fits their text.
|
|
165
|
+
* fWorksheet.autoResizeRows(0, 3);
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
autoResizeRows(startRow: number, numRows: number): FWorksheet;
|
|
128
169
|
/**
|
|
129
170
|
* Customize the column header of the spreadsheet.
|
|
130
171
|
* @param {IColumnsHeaderCfgParam} cfg The configuration of the column header.
|
|
@@ -213,7 +254,10 @@ export declare class FWorksheetSkeletonMixin extends FWorksheet implements IFWor
|
|
|
213
254
|
getScrollState(): IScrollState;
|
|
214
255
|
onScroll(callback: (params: Nullable<IViewportScrollState>) => void): IDisposable;
|
|
215
256
|
getSkeleton(): Nullable<SpreadsheetSkeleton>;
|
|
257
|
+
autoResizeColumn(columnPosition: number): FWorksheet;
|
|
258
|
+
autoResizeColumns(startColumn: number, numColumns: number): FWorksheet;
|
|
216
259
|
setColumnAutoWidth(columnPosition: number, numColumn: number): FWorksheet;
|
|
260
|
+
autoResizeRows(startRow: number, numRows: number): FWorksheet;
|
|
217
261
|
customizeColumnHeader(cfg: IColumnsHeaderCfgParam): void;
|
|
218
262
|
customizeRowHeader(cfg: IRowsHeaderCfgParam): void;
|
|
219
263
|
setColumnHeaderHeight(height: number): FWorksheet;
|
|
@@ -187,8 +187,16 @@ declare const locale: {
|
|
|
187
187
|
delete: string;
|
|
188
188
|
insertRow: string;
|
|
189
189
|
insertRowBefore: string;
|
|
190
|
+
insertRowsAbove: string;
|
|
191
|
+
insertRowsAfter: string;
|
|
192
|
+
insertRowsAfterSuffix: string;
|
|
193
|
+
insertRowsAboveSuffix: string;
|
|
190
194
|
insertColumn: string;
|
|
191
195
|
insertColumnBefore: string;
|
|
196
|
+
insertColsLeft: string;
|
|
197
|
+
insertColsRight: string;
|
|
198
|
+
insertColsLeftSuffix: string;
|
|
199
|
+
insertColsRightSuffix: string;
|
|
192
200
|
deleteCell: string;
|
|
193
201
|
insertCell: string;
|
|
194
202
|
deleteSelected: string;
|
|
@@ -74,7 +74,7 @@ export declare class SheetClipboardService extends Disposable implements ISheetC
|
|
|
74
74
|
getPasteMenuVisible(): boolean;
|
|
75
75
|
getPasteOptionsCache(): IPasteOptionCache | null;
|
|
76
76
|
copyContentCache(): CopyContentCache;
|
|
77
|
-
generateCopyContent(workbookId: string, worksheetId: string, range: IRange): Nullable<ICopyContent>;
|
|
77
|
+
generateCopyContent(workbookId: string, worksheetId: string, range: IRange, copyType?: COPY_TYPE): Nullable<ICopyContent>;
|
|
78
78
|
copy(copyType?: COPY_TYPE): Promise<boolean>;
|
|
79
79
|
cut(): Promise<boolean>;
|
|
80
80
|
paste(item: ClipboardItem, pasteType?: "default-paste"): Promise<boolean>;
|
|
@@ -33,10 +33,6 @@ export declare class SelectionRenderModel implements IRangeWithCoord {
|
|
|
33
33
|
* @deprecated, Duplicate with `Rectangle`
|
|
34
34
|
*/
|
|
35
35
|
isEqual(rangeWithCoord: IRangeWithCoord): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated, Duplicate with `Rectangle`
|
|
38
|
-
*/
|
|
39
|
-
isInclude(rangeWithCoord: IRangeWithCoord): boolean;
|
|
40
36
|
highlightToSelection(): Nullable<IRangeWithCoord>;
|
|
41
37
|
getRange(): IRangeWithCoord;
|
|
42
38
|
getCell(): Nullable<ICellWithCoord>;
|