@univerjs/sheets-ui 0.1.5 → 0.1.6

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.
Files changed (27) hide show
  1. package/lib/cjs/index.js +10 -10
  2. package/lib/es/index.js +6383 -5602
  3. package/lib/index.css +1 -1
  4. package/lib/types/commands/operations/sidebar-defined-name.operation.d.ts +6 -0
  5. package/lib/types/common/utils.d.ts +7 -0
  6. package/lib/types/controllers/cell-alert.controller.d.ts +8 -0
  7. package/lib/types/controllers/cell-custom-render.controller.d.ts +12 -0
  8. package/lib/types/controllers/hover.controller.d.ts +12 -0
  9. package/lib/types/controllers/scroll.controller.d.ts +3 -0
  10. package/lib/types/controllers/selection.controller.d.ts +5 -3
  11. package/lib/types/index.d.ts +6 -1
  12. package/lib/types/locale/zh-CN.d.ts +26 -0
  13. package/lib/types/services/auto-fill/tools.d.ts +2 -2
  14. package/lib/types/services/canvas-pop-manager.service.d.ts +1 -0
  15. package/lib/types/services/cell-alert-manager.service.d.ts +30 -0
  16. package/lib/types/services/clipboard/html-to-usm/converter.d.ts +2 -8
  17. package/lib/types/services/editor-bridge.service.d.ts +3 -0
  18. package/lib/types/services/hover-manager.service.d.ts +26 -0
  19. package/lib/types/views/cell-alert/CellAlertPopup.d.ts +3 -0
  20. package/lib/types/views/cell-alert/index.d.ts +18 -0
  21. package/lib/types/views/defined-name/DefinedName.d.ts +3 -0
  22. package/lib/types/views/defined-name/DefinedNameContainer.d.ts +3 -0
  23. package/lib/types/views/defined-name/DefinedNameInput.d.ts +12 -0
  24. package/lib/types/views/defined-name/DefinedNameOverlay.d.ts +5 -0
  25. package/lib/types/views/defined-name/component-name.d.ts +17 -0
  26. package/lib/umd/index.js +11 -11
  27. package/package.json +22 -21
package/lib/index.css CHANGED
@@ -1 +1 @@
1
- .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-sheet-container{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;height:36px;padding:0 var(--padding-xl)}.univer-ui-plugin-sheets-border-panel{display:grid;gap:var(--margin-sm)}.univer-ui-plugin-sheets-border-panel-position{display:grid;grid-template-columns:repeat(5,1fr);gap:var(--margin-xxs);box-sizing:border-box;padding-bottom:var(--padding-base);border-bottom:1px solid rgb(var(--border-color))}.univer-ui-plugin-sheets-border-panel-position-item{display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:var(--font-size-lg);border-radius:var(--border-radius-base)}.univer-ui-plugin-sheets-border-panel-position-item:hover,.univer-ui-plugin-sheets-border-panel-position-item-active{background-color:rgb(var(--bg-color-hover))}.univer-ui-plugin-sheets-border-panel-styles{display:flex;gap:var(--margin-xs);align-items:center;justify-content:space-around}.univer-ui-plugin-sheets-border-panel-board{box-sizing:border-box;padding:var(--padding-base);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-base)}.univer-ui-plugin-sheets-border-panel-button{cursor:pointer;position:relative;display:flex;gap:var(--margin-xs);align-items:center;height:24px;padding:0 var(--padding-xs);font-size:var(--font-size-lg);border-radius:var(--border-radius-base);transition:all .15s}.univer-ui-plugin-sheets-border-panel-button:hover{background-color:rgb(var(--bg-color-hover))}.univer-ui-plugin-sheets-border-panel-more-icon{font-size:10px;color:rgb(var(--grey-400))}.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:1.5px solid rgb(var(--primary-color));outline:1.5px solid rgba(var(--primary-color-hover),.5);box-shadow:none}.univer-editor-container .univer-editor-input{position:relative;display:flex;width:100%;height:100%;background:#fff}.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:80px;height:100%;position:relative;flex-shrink:0}.univer-formula-box .univer-name-ranges-input{height:100%;border-right:1px solid rgb(var(--border-color))}.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-wrapper{position:relative;display:flex;gap:var(--margin-xs);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{cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-lg)}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-success.univer-formula-active{color:rgb(var(--success-color))}.univer-formula-box .univer-formula-bar .univer-formula-icon-wrapper .univer-icon-container-error.univer-formula-active{color:rgb(var(--error-color))}.univer-formula-box .univer-formula-bar .univer-formula-input{overflow:hidden;display:flex;flex:1;width:100%;padding:0 0 0 10px}.univer-formula-box .univer-formula-bar .univer-formula-input .univer-formula-content{position:relative;width:100%;height:100%;word-wrap:break-word;outline:none}.univer-formula-box .univer-formula-bar .univer-formula-input .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-operate-container{position:absolute;z-index:10;right:0;left:0;width:0;height:0}.univer-auto-fill-popup-menu{display:grid;gap:var(--margin-xxs);align-items:center;box-sizing:border-box;min-width:128px;margin-top:0;margin-bottom:0;padding:var(--padding-sm);font-size:var(--font-size-base);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-lg)}.univer-auto-fill-popup-menu li{list-style:none}.univer-auto-fill-popup-menu-item{cursor:pointer;position:relative;display:flex;align-items:center;box-sizing:border-box;width:134px;height:28px;padding:var(--padding-xs) 0 var(--padding-xs) 36px;font-size:13px;font-weight:400;font-style:normal;line-height:20px;color:rgb(var(--black, #35322b));text-align:left;border-radius:4px;border-radius:var(--border-radius-base);transition:background .2s}.univer-auto-fill-popup-menu-item:hover{background-color:rgb(var(--bg-color-hover))}.univer-auto-fill-popup-menu-item-icon{position:absolute;top:50%;left:var(--padding-xs);transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.univer-auto-fill-popup-menu-item-title{padding:var(--padding-xs) var(--padding-xs) var(--padding-xs) 0;vertical-align:middle}.univer-auto-fill-popup-menu-item-hide{color:rgb(var(--text-color-secondary))}.univer-auto-fill-popup-menu-item:hover{background:rgb(var(--grey-100))}.univer-btn-container{display:flex;align-items:center;justify-content:center;padding:3px;background:#fff;border:1px solid rgb(var(--grey-200, #e5e5e5));border-radius:4px}.univer-btn-container:hover,.univer-btn-container.univer-btn-container-expand{background:rgb(var(--grey-100, #f5f5f5))}.univer-sheet-bar{position:relative;display:flex;flex:1 1 0px;flex-direction:row;min-width:calc(100% - 592px);max-width:calc(100% - 260px);height:100%;background-color:rgb(var(--bg-color))}.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-sheet-bar-menu{display:grid;gap:var(--margin-xxs);align-items:center;box-sizing:border-box;padding:var(--padding-sm);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-lg)}.univer-sheet-bar-menu li{list-style:none}.univer-sheet-bar-menu-item{cursor:pointer;position:relative;display:flex;box-sizing:border-box;padding:var(--padding-xs) 24px;color:rgb(var(--text-color));border-radius:var(--border-radius-base);transition:background .2s}.univer-sheet-bar-menu-item:hover{background-color:rgb(var(--bg-color-hover))}.univer-sheet-bar-menu-item-icon{position:absolute;top:50%;left:var(--margin-xxs);transform:translateY(-50%);color:transparent}.univer-sheet-bar-menu-item-hide .univer-sheet-bar-menu-item-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;color:rgb(var(--grey-400))}.univer-sheet-bar-menu-item-select{font-weight:500;color:rgb(var(--primary-color))}.univer-sheet-bar-menu-item-select .univer-sheet-bar-menu-item-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;color:rgb(var(--primary-color))}.univer-sheet-bar-menu-item-label{font-size:var(--font-size-xs);font-weight:400;line-height:20px}.univer-slide-tab-bar-container{overflow:hidden;max-width:calc(100% - 112px)}.univer-slide-tab-bar-container .univer-slide-tab-bar{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;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-span{box-sizing:border-box;padding:var(--padding-xs) var(--padding-sm);white-space:nowrap;border:2px solid transparent;border-radius:var(--border-radius-base)}.univer-slide-tab-item .univer-slide-tab-span-edit{cursor:text;outline:none}.univer-slide-tab-item .univer-slide-tab-span-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}.univer-slide-tab-item-dropdown{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(var(--grey-400, #ccc))}.univer-statistic-list{display:flex}.univer-statistic-list-column{flex-direction:column}.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;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(var(--grey-600, #e8e8e8));border-radius:4px}.univer-statistic-more:hover{background:rgb(var(--grey-300, #e8e8e8))}
1
+ .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-sheet-container{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;height:36px;padding:0 var(--padding-xl)}.univer-ui-plugin-sheets-border-panel{display:grid;gap:var(--margin-sm)}.univer-ui-plugin-sheets-border-panel-position{display:grid;grid-template-columns:repeat(5,1fr);gap:var(--margin-xxs);box-sizing:border-box;padding-bottom:var(--padding-base);border-bottom:1px solid rgb(var(--border-color))}.univer-ui-plugin-sheets-border-panel-position-item{display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:var(--font-size-lg);border-radius:var(--border-radius-base)}.univer-ui-plugin-sheets-border-panel-position-item:hover,.univer-ui-plugin-sheets-border-panel-position-item-active{background-color:rgb(var(--bg-color-hover))}.univer-ui-plugin-sheets-border-panel-styles{display:flex;gap:var(--margin-xs);align-items:center;justify-content:space-around}.univer-ui-plugin-sheets-border-panel-board{box-sizing:border-box;padding:var(--padding-base);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-base)}.univer-ui-plugin-sheets-border-panel-button{cursor:pointer;position:relative;display:flex;gap:var(--margin-xs);align-items:center;height:24px;padding:0 var(--padding-xs);font-size:var(--font-size-lg);border-radius:var(--border-radius-base);transition:all .15s}.univer-ui-plugin-sheets-border-panel-button:hover{background-color:rgb(var(--bg-color-hover))}.univer-ui-plugin-sheets-border-panel-more-icon{font-size:10px;color:rgb(var(--grey-400))}.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}.univer-editor-container .univer-editor-input{position:relative;display:flex;width:100%;height:100%;background:#fff}.univer-defined-name{display:flex;position:relative;transition:height .15s;height:100%;border-right:1px solid rgb(var(--border-color))}.univer-defined-name-drop-down{display:flex;align-items:center;justify-content:center;padding:0 var(--padding-xs);font-size:10px;cursor:pointer;position:absolute;right:0;height:100%}.univer-defined-name-drop-down:hover{background-color:rgb(var(--grey-50));color:rgb(var(--primary-color))}.univer-defined-name-overlay{position:relative;border:1px solid rgb(var(--border-color));width:300px;background-color:rgb(var(--color-white));transform:translate(-75px)}.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));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{position:absolute;display:flex;flex-direction:column;overflow-y:auto;height:70px;width:100%;cursor:pointer;overflow:hidden;bottom:-70px;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{height:100%;width:100%;position:relative}.univer-defined-name-container-scroll{height:100%;width:100%;overflow:hidden;overflow-y:auto;position:absolute;scrollbar-color:rgba(var(--scrollbar-color),.7) transparent;scrollbar-gutter:auto;scrollbar-width:thin}.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));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{width:100%;margin-top:5px}.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-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-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{overflow:hidden;display:flex;flex:1;width:100%;padding:0 0 0 10px}.univer-formula-box .univer-formula-bar .univer-formula-input .univer-formula-content{position:relative;width:100%;height:100%;word-wrap:break-word;outline:none}.univer-formula-box .univer-formula-bar .univer-formula-input .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-operate-container{position:absolute;z-index:10;right:0;left:0;width:0;height:0}.univer-auto-fill-popup-menu{display:grid;gap:var(--margin-xxs);align-items:center;box-sizing:border-box;min-width:128px;margin-top:0;margin-bottom:0;padding:var(--padding-sm);font-size:var(--font-size-base);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-lg)}.univer-auto-fill-popup-menu li{list-style:none}.univer-auto-fill-popup-menu-item{cursor:pointer;position:relative;display:flex;align-items:center;box-sizing:border-box;width:134px;height:28px;padding:var(--padding-xs) 0 var(--padding-xs) 36px;font-size:13px;font-weight:400;font-style:normal;line-height:20px;color:rgb(var(--black, #35322b));text-align:left;border-radius:4px;border-radius:var(--border-radius-base);transition:background .2s}.univer-auto-fill-popup-menu-item:hover{background-color:rgb(var(--bg-color-hover))}.univer-auto-fill-popup-menu-item-icon{position:absolute;top:50%;left:var(--padding-xs);transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.univer-auto-fill-popup-menu-item-title{padding:var(--padding-xs) var(--padding-xs) var(--padding-xs) 0;vertical-align:middle}.univer-auto-fill-popup-menu-item-hide{color:rgb(var(--text-color-secondary))}.univer-auto-fill-popup-menu-item:hover{background:rgb(var(--grey-100))}.univer-btn-container{display:flex;align-items:center;justify-content:center;padding:3px;background:#fff;border:1px solid rgb(var(--grey-200, #e5e5e5));border-radius:4px}.univer-btn-container:hover,.univer-btn-container.univer-btn-container-expand{background:rgb(var(--grey-100, #f5f5f5))}.univer-sheet-bar{position:relative;display:flex;flex:1 1 0px;flex-direction:row;min-width:calc(100% - 592px);max-width:calc(100% - 260px);height:100%;background-color:rgb(var(--bg-color))}.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-sheet-bar-menu{display:grid;gap:var(--margin-xxs);align-items:center;box-sizing:border-box;padding:var(--padding-sm);background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);box-shadow:var(--box-shadow-lg)}.univer-sheet-bar-menu li{list-style:none}.univer-sheet-bar-menu-item{cursor:pointer;position:relative;display:flex;box-sizing:border-box;padding:var(--padding-xs) 24px;color:rgb(var(--text-color));border-radius:var(--border-radius-base);transition:background .2s}.univer-sheet-bar-menu-item:hover{background-color:rgb(var(--bg-color-hover))}.univer-sheet-bar-menu-item-icon{position:absolute;top:50%;left:var(--margin-xxs);transform:translateY(-50%);color:transparent}.univer-sheet-bar-menu-item-hide .univer-sheet-bar-menu-item-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;color:rgb(var(--grey-400))}.univer-sheet-bar-menu-item-select{font-weight:500;color:rgb(var(--primary-color))}.univer-sheet-bar-menu-item-select .univer-sheet-bar-menu-item-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;color:rgb(var(--primary-color))}.univer-sheet-bar-menu-item-label{font-size:var(--font-size-xs);font-weight:400;line-height:20px}.univer-slide-tab-bar-container{overflow:hidden;max-width:calc(100% - 112px)}.univer-slide-tab-bar-container .univer-slide-tab-bar{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;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-span{box-sizing:border-box;padding:var(--padding-xs) var(--padding-sm);white-space:nowrap;border:2px solid transparent;border-radius:var(--border-radius-base)}.univer-slide-tab-item .univer-slide-tab-span-edit{cursor:text;outline:none}.univer-slide-tab-item .univer-slide-tab-span-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}.univer-slide-tab-item-dropdown{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(var(--grey-400, #ccc))}.univer-statistic-list{display:flex}.univer-statistic-list-column{flex-direction:column}.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;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(var(--grey-600, #e8e8e8));border-radius:4px}.univer-statistic-more:hover{background:rgb(var(--grey-300, #e8e8e8))}.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);word-break:break-all}
@@ -0,0 +1,6 @@
1
+ import { ICommand } from '@univerjs/core';
2
+
3
+ export interface IUIComponentCommandParams {
4
+ value: string;
5
+ }
6
+ export declare const SidebarDefinedNameOperation: ICommand;
@@ -9,6 +9,13 @@ export declare function getClearContentMutationParamsForRanges(accessor: IAccess
9
9
  redos: IMutationInfo[];
10
10
  };
11
11
  export declare function getClearContentMutationParamForRange(worksheet: Worksheet, range: IRange): ObjectMatrix<Nullable<ICellData>>;
12
+ export declare function getCellIndexByOffsetWithMerge(offsetX: number, offsetY: number, scene: Scene, skeleton: SpreadsheetSkeleton): {
13
+ actualRow: number;
14
+ actualCol: number;
15
+ mergeCell: IRange | undefined;
16
+ row: number;
17
+ col: number;
18
+ } | undefined;
12
19
  export declare function getViewportByCell(row: number, column: number, scene: Scene, worksheet: Worksheet): import('@univerjs/engine-render').Viewport | undefined;
13
20
  export declare function transformBound2OffsetBound(originBound: IBoundRectNoAngle, scene: Scene, skeleton: SpreadsheetSkeleton, worksheet: Worksheet): IBoundRectNoAngle;
14
21
  export declare function transformPosition2Offset(x: number, y: number, scene: Scene, skeleton: SpreadsheetSkeleton, worksheet: Worksheet): {
@@ -0,0 +1,8 @@
1
+ import { ComponentManager } from '@univerjs/ui';
2
+ import { Disposable } from '@univerjs/core';
3
+
4
+ export declare class CellAlertController extends Disposable {
5
+ private _componentManager;
6
+ constructor(_componentManager: ComponentManager);
7
+ private _initComponent;
8
+ }
@@ -0,0 +1,12 @@
1
+ import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
2
+ import { IRenderManagerService } from '@univerjs/engine-render';
3
+ import { Disposable, IUniverInstanceService } from '@univerjs/core';
4
+
5
+ export declare class CellCustomRenderController extends Disposable {
6
+ private readonly _sheetSkeletonManagerService;
7
+ private readonly _renderManagerService;
8
+ private readonly _univerInstanceService;
9
+ private _enterActiveRender;
10
+ constructor(_sheetSkeletonManagerService: SheetSkeletonManagerService, _renderManagerService: IRenderManagerService, _univerInstanceService: IUniverInstanceService);
11
+ private _initEventBinding;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { HoverManagerService } from '../services/hover-manager.service';
2
+ import { IRenderManagerService } from '@univerjs/engine-render';
3
+ import { Disposable, IUniverInstanceService } from '@univerjs/core';
4
+
5
+ export declare class HoverController extends Disposable {
6
+ private _renderManagerService;
7
+ private _hoverManagerService;
8
+ private _univerInstanceService;
9
+ constructor(_renderManagerService: IRenderManagerService, _hoverManagerService: HoverManagerService, _univerInstanceService: IUniverInstanceService);
10
+ private _initScrollEvent;
11
+ private _initPointerEvent;
12
+ }
@@ -18,12 +18,15 @@ export declare class ScrollController extends Disposable {
18
18
  scrollToRange(range: IRange): boolean;
19
19
  private _init;
20
20
  private _initCommandListener;
21
+ private _scrollToSelectionForExpand;
21
22
  private _getFreeze;
22
23
  private _initScrollEventListener;
23
24
  private _scrollSubscribeBinding;
24
25
  private _initSkeletonListener;
25
26
  private _updateSceneSize;
26
27
  private _getSheetObject;
28
+ private _scrollToSelectionByDirection;
27
29
  private _scrollToSelection;
30
+ private _getViewportBounding;
28
31
  private _scrollToCell;
29
32
  }
@@ -1,6 +1,6 @@
1
- import { ScrollController } from './scroll.controller';
2
1
  import { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
3
2
  import { ISelectionRenderService } from '../services/selection/selection-render.service';
3
+ import { IDefinedNamesService } from '@univerjs/engine-formula';
4
4
  import { SelectionManagerService } from '@univerjs/sheets';
5
5
  import { IRenderManagerService } from '@univerjs/engine-render';
6
6
  import { Disposable, ICommandService, IUniverInstanceService, ThemeService } from '@univerjs/core';
@@ -13,9 +13,10 @@ export declare class SelectionController extends Disposable {
13
13
  private readonly _selectionRenderService;
14
14
  private readonly _selectionManagerService;
15
15
  private readonly _themeService;
16
- private readonly _scrollController;
17
- constructor(_sheetSkeletonManagerService: SheetSkeletonManagerService, _currentUniverService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _selectionRenderService: ISelectionRenderService, _selectionManagerService: SelectionManagerService, _themeService: ThemeService, _scrollController: ScrollController);
16
+ private readonly _definedNamesService;
17
+ constructor(_sheetSkeletonManagerService: SheetSkeletonManagerService, _currentUniverService: IUniverInstanceService, _commandService: ICommandService, _renderManagerService: IRenderManagerService, _selectionRenderService: ISelectionRenderService, _selectionManagerService: SelectionManagerService, _themeService: ThemeService, _definedNamesService: IDefinedNamesService);
18
18
  private _initialize;
19
+ private _initDefinedNameListener;
19
20
  private _getActiveViewport;
20
21
  private _initViewMainListener;
21
22
  private _initThemeChangeListener;
@@ -24,6 +25,7 @@ export declare class SelectionController extends Disposable {
24
25
  private _initColumnHeader;
25
26
  private _initLeftTop;
26
27
  private _initSelectionChangeListener;
28
+ private _syncDefinedNameRange;
27
29
  private _initUserActionSyncListener;
28
30
  private _move;
29
31
  private _getSheetObject;
@@ -26,6 +26,7 @@ export { SetZoomRatioOperation } from './commands/operations/set-zoom-ratio.oper
26
26
  export { ResetScrollCommand, ScrollCommand, ScrollToCellCommand, SetScrollRelativeCommand, type IScrollCommandParams, type IScrollToCellCommandParams, type ISetScrollRelativeCommandParams, } from './commands/commands/set-scroll.command';
27
27
  export { VIEWPORT_KEY } from './common/keys';
28
28
  export { AutoFillController } from './controllers/auto-fill.controller';
29
+ export { CellCustomRenderController } from './controllers/cell-custom-render.controller';
29
30
  export { PASTE_SPECIAL_MENU_ID } from './controllers/menu/menu';
30
31
  export { whenFormulaEditorActivated } from './controllers/shortcuts/utils';
31
32
  export { getCoordByCell, getCoordByOffset, getSheetObject, getTransformCoord, } from './controllers/utils/component-tools';
@@ -38,7 +39,7 @@ export type { ICopyDataPiece, ISheetAutoFillHook } from './services/auto-fill/ty
38
39
  export { APPLY_TYPE, DATA_TYPE, type IAutoFillRule } from './services/auto-fill/type';
39
40
  export { type ICopyDataInTypeIndexInfo } from './services/auto-fill/type';
40
41
  export { ISheetClipboardService, PREDEFINED_HOOK_NAME, SheetClipboardService, } from './services/clipboard/clipboard.service';
41
- export type { ICellDataWithSpanInfo, ISheetClipboardHook } from './services/clipboard/type';
42
+ export type { ICellDataWithSpanInfo, ISheetClipboardHook, ISheetRangeLocation, ICopyPastePayload } from './services/clipboard/type';
42
43
  export { COPY_TYPE } from './services/clipboard/type';
43
44
  export { getRepeatRange } from './services/clipboard/utils';
44
45
  export { CellEditorManagerService, ICellEditorManagerService } from './services/editor/cell-editor-manager.service';
@@ -53,6 +54,10 @@ export type { ISheetSkeletonManagerParam } from './services/sheet-skeleton-manag
53
54
  export { SheetSkeletonManagerService } from './services/sheet-skeleton-manager.service';
54
55
  export { UniverSheetsUIPlugin } from './sheets-ui-plugin';
55
56
  export { SheetCanvasView } from './views/sheet-canvas-view';
57
+ export { HoverManagerService } from './services/hover-manager.service';
58
+ export { CellAlertManagerService, CellAlertType, type ICellAlert } from './services/cell-alert-manager.service';
59
+ export { HoverController } from './controllers/hover.controller';
56
60
  export { SHEET_VIEW_KEY } from './common/keys';
57
61
  export { SheetCanvasPopManagerService } from './services/canvas-pop-manager.service';
58
62
  export { mergeSetRangeValues } from './services/clipboard/utils';
63
+ export type { IAutoFillLocation } from './services/auto-fill/type';
@@ -490,5 +490,31 @@ declare const locale: {
490
490
  };
491
491
  'sheet-view': string;
492
492
  'sheet-edit': string;
493
+ definedName: {
494
+ managerTitle: string;
495
+ managerDescription: string;
496
+ addButton: string;
497
+ featureTitle: string;
498
+ ratioRange: string;
499
+ ratioFormula: string;
500
+ confirm: string;
501
+ cancel: string;
502
+ scopeWorkbook: string;
503
+ inputNamePlaceholder: string;
504
+ inputCommentPlaceholder: string;
505
+ inputRangePlaceholder: string;
506
+ inputFormulaPlaceholder: string;
507
+ nameEmpty: string;
508
+ nameDuplicate: string;
509
+ formulaOrRefStringEmpty: string;
510
+ formulaOrRefStringInvalid: string;
511
+ defaultName: string;
512
+ updateButton: string;
513
+ deleteButton: string;
514
+ deleteConfirmText: string;
515
+ nameConflict: string;
516
+ nameInvalid: string;
517
+ nameSheetConflict: string;
518
+ };
493
519
  };
494
520
  export default locale;
@@ -1,4 +1,4 @@
1
- import { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable, Direction } from '@univerjs/core';
1
+ import { ICellData, IObjectMatrixPrimitiveType, IRange, Nullable, CellValueType, Direction } from '@univerjs/core';
2
2
 
3
3
  export declare const chnNumChar: {
4
4
  零: number;
@@ -72,7 +72,7 @@ export declare function fillCopy(data: Array<Nullable<ICellData>>, len: number):
72
72
  p: import('@univerjs/core').IDocumentData | null;
73
73
  s: string | import('@univerjs/core').IStyleData | null;
74
74
  v: import('@univerjs/core').CellValue | null;
75
- t: import('@univerjs/core').CellValueType | null;
75
+ t: CellValueType | null;
76
76
  f: string | null;
77
77
  si: string | null;
78
78
  }[];
@@ -10,6 +10,7 @@ interface ICanvasPopup {
10
10
  onClickOutside?: (e: MouseEvent) => void;
11
11
  direction?: 'vertical' | 'horizontal';
12
12
  offset?: [number, number];
13
+ excludeOutside?: HTMLElement[];
13
14
  }
14
15
  export declare class SheetCanvasPopManagerService extends Disposable {
15
16
  private readonly _globalPopupManagerService;
@@ -0,0 +1,30 @@
1
+ import { SheetCanvasPopManagerService } from './canvas-pop-manager.service';
2
+ import { IRenderManagerService } from '@univerjs/engine-render';
3
+ import { ISheetLocation } from '@univerjs/sheets';
4
+ import { Nullable } from '@univerjs/core';
5
+
6
+ export declare enum CellAlertType {
7
+ INFO = 0,
8
+ WARNING = 1,
9
+ ERROR = 2
10
+ }
11
+ export interface ICellAlert {
12
+ type: CellAlertType;
13
+ title: React.ReactNode;
14
+ message: React.ReactNode;
15
+ location: ISheetLocation;
16
+ width: number;
17
+ height: number;
18
+ }
19
+ export declare class CellAlertManagerService {
20
+ private readonly _renderManagerService;
21
+ private readonly _canvasPopManagerService;
22
+ private _currentAlert$;
23
+ private _currentPopup;
24
+ private _currentAlert;
25
+ get currentAlert(): Nullable<ICellAlert>;
26
+ currentAlert$: import('rxjs').Observable<Nullable<ICellAlert>>;
27
+ constructor(_renderManagerService: IRenderManagerService, _canvasPopManagerService: SheetCanvasPopManagerService);
28
+ showAlert(alert: ICellAlert): void;
29
+ clearAlert(): void;
30
+ }
@@ -1,6 +1,6 @@
1
- import { IAfterProcessRule } from './paste-plugins/type';
2
1
  import { IUniverSheetCopyDataModel } from '../type';
3
2
  import { ISheetSkeletonManagerParam } from '../../sheet-skeleton-manager.service';
3
+ import { IPastePlugin } from '@univerjs/docs-ui';
4
4
  import { ITextStyle, Nullable } from '@univerjs/core';
5
5
 
6
6
  export interface IStyleRule {
@@ -10,18 +10,12 @@ export interface IStyleRule {
10
10
  export interface IParsedTablesInfo {
11
11
  index: number;
12
12
  }
13
- export interface IPasteExtension {
14
- name: string;
15
- checkPasteType(html: string): boolean;
16
- stylesRules: IStyleRule[];
17
- afterProcessRules: IAfterProcessRule[];
18
- }
19
13
  interface IHtmlToUSMServiceProps {
20
14
  getCurrentSkeleton: () => Nullable<ISheetSkeletonManagerParam>;
21
15
  }
22
16
  export declare class HtmlToUSMService {
23
17
  private static pluginList;
24
- static use(plugin: IPasteExtension): void;
18
+ static use(plugin: IPastePlugin): void;
25
19
  private styleCache;
26
20
  private styleRules;
27
21
  private afterProcessRules;
@@ -37,12 +37,14 @@ export interface IEditorBridgeServiceParam {
37
37
  }
38
38
  declare const BEFORE_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
39
39
  declare const AFTER_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
40
+ declare const AFTER_CELL_EDIT_ASYNC: import('@univerjs/core').IInterceptor<Promise<Nullable<ICellDataForSheetInterceptor>>, ISheetLocation>;
40
41
  export interface IEditorBridgeService {
41
42
  currentEditCellState$: Observable<Nullable<IEditorBridgeServiceParam>>;
42
43
  visible$: Observable<IEditorBridgeServiceVisibleParam>;
43
44
  interceptor: InterceptorManager<{
44
45
  BEFORE_CELL_EDIT: typeof BEFORE_CELL_EDIT;
45
46
  AFTER_CELL_EDIT: typeof AFTER_CELL_EDIT;
47
+ AFTER_CELL_EDIT_ASYNC: typeof AFTER_CELL_EDIT_ASYNC;
46
48
  }>;
47
49
  dispose(): void;
48
50
  refreshEditCellState(): void;
@@ -79,6 +81,7 @@ export declare class EditorBridgeService extends Disposable implements IEditorBr
79
81
  interceptor: InterceptorManager<{
80
82
  BEFORE_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
81
83
  AFTER_CELL_EDIT: import('@univerjs/core').IInterceptor<ICellDataForSheetInterceptor, ISheetLocation>;
84
+ AFTER_CELL_EDIT_ASYNC: import('@univerjs/core').IInterceptor<Promise<Nullable<ICellDataForSheetInterceptor>>, ISheetLocation>;
82
85
  }>;
83
86
  constructor(_sheetSkeletonManagerService: SheetSkeletonManagerService, _selectionRenderService: ISelectionRenderService, _themeService: ThemeService, _currentUniverService: IUniverInstanceService, _editorService: IEditorService);
84
87
  refreshEditCellState(): void;
@@ -0,0 +1,26 @@
1
+ import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
2
+ import { ScrollManagerService } from './scroll-manager.service';
3
+ import { ISelectionRenderService } from '..';
4
+ import { IRenderManagerService } from '@univerjs/engine-render';
5
+ import { ISheetLocation } from '@univerjs/sheets';
6
+ import { IPosition, Nullable, IUniverInstanceService } from '@univerjs/core';
7
+
8
+ export interface IHoverCellPosition {
9
+ position: IPosition;
10
+ location: ISheetLocation;
11
+ }
12
+ export declare class HoverManagerService {
13
+ private readonly _univerInstanceService;
14
+ private readonly _scrollManagerService;
15
+ private readonly _sheetSkeletonManagerService;
16
+ private readonly _renderManagerService;
17
+ private readonly _selectionRenderService;
18
+ private _currentCell$;
19
+ currentCell$: import('rxjs').Observable<Nullable<IHoverCellPosition>>;
20
+ private _lastPosition;
21
+ constructor(_univerInstanceService: IUniverInstanceService, _scrollManagerService: ScrollManagerService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _renderManagerService: IRenderManagerService, _selectionRenderService: ISelectionRenderService);
22
+ private _calcActiveCell;
23
+ onMouseMove(offsetX: number, offsetY: number): void;
24
+ onScrollStart(): void;
25
+ onScrollEnd(): void;
26
+ }
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+
3
+ export declare function CellAlert(): React.JSX.Element;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export { CellAlert } from './CellAlertPopup';
17
+ declare const CELL_ALERT_KEY = "univer.sheet.cell-alert";
18
+ export { CELL_ALERT_KEY, };
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+
3
+ export declare function DefinedName(): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+
3
+ export declare const DefinedNameContainer: () => React.JSX.Element | undefined;
@@ -0,0 +1,12 @@
1
+ import { IDefinedNamesServiceParam } from '@univerjs/engine-formula';
2
+ import { default as React } from 'react';
3
+
4
+ export interface IDefinedNameInputProps extends Omit<IDefinedNamesServiceParam, 'id'> {
5
+ inputId: string;
6
+ type?: string;
7
+ state: boolean;
8
+ confirm?: (param: IDefinedNamesServiceParam) => void;
9
+ cancel?: () => void;
10
+ id?: string;
11
+ }
12
+ export declare const DefinedNameInput: (props: IDefinedNameInputProps) => React.JSX.Element | undefined;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ export interface IDefinedNameOverlayProps {
4
+ }
5
+ export declare function DefinedNameOverlay(props: IDefinedNameOverlayProps): React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare const DEFINED_NAME_CONTAINER = "DefinedNameContainer";
17
+ export declare const SCOPE_WORKBOOK_VALUE = "AllDefaultWorkbook";