@antv/s2-vue 2.0.0-next.10 → 2.0.0-next.11

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.
@@ -1 +1 @@
1
- .antv-s2-tooltip-operator{color:var(--antv-s2-font, rgba(0, 0, 0, .65));background:var(--antv-s2-tooltip-operator-background, #f9f9f9);font-size:12px;line-height:36px;border:0;cursor:pointer}.antv-s2-tooltip-operator .ant-menu-horizontal:not(.ant-menu-dark){background:transparent;line-height:36px}.antv-s2-tooltip-operator .ant-dropdown-trigger,.antv-s2-tooltip-operator-dropdown{padding:0 6px 0 0}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu{font-size:12px;color:var(--antv-s2-font, rgba(0, 0, 0, .65));border:0;-webkit-user-select:none;user-select:none;padding:4px}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item{height:36px}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu>.ant-menu-submenu-title{height:36px;width:100%}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item{font-size:12px;line-height:36px;padding:0 12px;border:0}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title{padding:0 0 0 12px;font-size:12px;line-height:36px;margin:0}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content{margin-right:12px}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,.antv-s2-tooltip-operator-submenu-popup .ant-menu-item{font-size:12px;line-height:36px;padding:0 12px}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-submenu-popup .ant-menu-vertical .ant-menu-item{margin:0;height:36px;line-height:36px;width:100%}.antv-s2-tooltip-operator-submenu-popup .ant-menu-vertical .ant-menu-item:not(:last-child){margin:0}.antv-s2-tooltip-operator-icon{vertical-align:middle}.antv-s2-tooltip-operator-icon svg{width:12px;height:12px;fill:var(--antv-s2-font)}@media only screen and (max-device-width: 480px){.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu{font-size:12px}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item{height:36px}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item{line-height:36px}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title{font-size:12px}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,.antv-s2-tooltip-operator-submenu-popup .ant-menu-item{font-size:12px}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-icon svg{width:12px;height:12px}}.antv-s2-tooltip-container{position:fixed;-webkit-user-select:text;user-select:text;min-width:200px;max-width:640px;max-height:100vh;overflow:auto;z-index:1024;display:inline-block;background:var(--antv-s2-tooltip-background, rgba(255, 255, 255, .95));border-radius:4px;box-shadow:0 1px 4px #0003;font-size:12px;font-family:Roboto,PingFang SC,Chinese Quote,BlinkMacSystemFont,Segoe UI,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.antv-s2-tooltip-container-hide{opacity:0;visibility:hidden;pointer-events:none}.antv-s2-tooltip-container-hide *{transition:none}.antv-s2-tooltip-container-show{opacity:1;visibility:visible;pointer-events:all}.antv-s2-tooltip-tips,.antv-s2-tooltip-name{padding:12px;line-height:16px;overflow-wrap:break-word;color:var(--antv-s2-font-85, rgba(0, 0, 0, .85))}.antv-s2-tooltip-description{padding:0 12px 12px;line-height:16px;overflow-wrap:break-word;color:var(--antv-s2-font-45, rgba(0, 0, 0, .45))}.antv-s2-tooltip-tips{padding:4px 12px;color:var(--antv-s2-font-45, rgba(0, 0, 0, .45))}.antv-s2-tooltip-infos{padding:4px 12px;line-height:20px;color:var(--antv-s2-font-45, rgba(0, 0, 0, .45));overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow-wrap:break-word;background:rgba(249,249,249,.96);border-radius:0 0 2px 2px;background-color:#f9f9f9}.antv-s2-tooltip-summary{line-height:20px;color:var(--antv-s2-font-65, rgba(0, 0, 0, .65));overflow:hidden;padding:12px}.antv-s2-tooltip-summary-item{display:flex}.antv-s2-tooltip-summary-key{margin-right:20px}.antv-s2-tooltip-summary-val{flex:1;text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.antv-s2-tooltip-interpretation{color:#000000a6;overflow:hidden;padding:12px}.antv-s2-tooltip-interpretation+.antv-s2-tooltip-head-info-list{border-top:1px solid var(--antv-s2-border, #e9e9e9)}.antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head{margin-bottom:12px}.antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head .antv-s2-tooltip-interpretation-icon{width:14px;height:14px}.antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head .antv-s2-tooltip-interpretation-name{color:var(--antv-s2-font, #000)}.antv-s2-tooltip-head-info-list{color:var(--antv-s2-font-65, #a2a2a2);padding:12px 12px 4px;line-height:24px;word-break:break-word}.antv-s2-tooltip-bold,.antv-s2-tooltip-selected{font-weight:700}.antv-s2-tooltip-selected{margin-right:5px}.antv-s2-tooltip-highlight{color:var(--antv-s2-font-85, rgba(0, 0, 0, .85))}.antv-s2-tooltip-detail-list{padding:2px 12px 8px}.antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item{color:var(--antv-s2-font-65, rgba(0, 0, 0, .65));overflow:hidden;margin:4px 0;display:flex;justify-content:space-around;align-items:center}.antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item-key{margin-right:20px}.antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item-val{flex:1;text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ant-dropdown-menu-item.operation-item{font-size:12px}.antv-s2-spin.ant-spin-nested-loading,.antv-s2-spin>.ant-spin-container{height:100%}.antv-s2-wrapper{padding:0;margin:0;display:flex;flex-direction:column;height:100%}.antv-s2-container{overflow:auto;flex:1 1 auto}.antv-s2-container canvas{display:block}.antv-s2-pagination{display:flex;align-items:center;z-index:1024}.antv-s2-pagination-count{margin-left:12px;text-overflow:ellipsis;white-space:nowrap;max-width:64px}.antv-s2-drill-down[data-v-8dd920ec]{width:260px;min-height:20px;position:relative;color:var(--antv-s2-font-70, #fff)}.antv-s2-drill-down-header[data-v-8dd920ec]{display:flex;height:32px;font-size:14px;padding:0 16px;margin-top:16px}.antv-s2-drill-down-header button[data-v-8dd920ec]{position:absolute;right:0;top:-4px;font-size:12px;color:#1890ff;letter-spacing:-.2px;line-height:20px}.antv-s2-drill-down-search[data-v-8dd920ec]{height:24px;width:228px!important;margin:0 16px;border:1px solid rgba(0,0,0,.15);border-radius:2px}.antv-s2-drill-down-search input[data-v-8dd920ec],.antv-s2-drill-down-search span[data-v-8dd920ec]{font-size:12px}.antv-s2-drill-down-search[data-v-8dd920ec],.antv-s2-drill-down-search .ant-input[data-v-8dd920ec]::placeholder{background-color:var(--antv-s2-block-background, #fff)}.antv-s2-drill-down-extra[data-v-8dd920ec]{margin:4px 16px}.antv-s2-drill-down-menu[data-v-8dd920ec]{max-height:314px;overflow:hidden auto}.antv-s2-drill-down-menu.ant-menu[data-v-8dd920ec]{background:var(--antv-s2-tooltip-background, #fff)}.antv-s2-drill-down-menu.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected[data-v-8dd920ec]{background-color:var(--antv-s2-block-background, #e6f7ff)}.antv-s2-drill-down-menu-item[data-v-8dd920ec]{height:32px!important;line-height:32px!important;font-size:12px;opacity:.65}.antv-s2-drill-down-menu-item span[data-v-8dd920ec]:last-child{line-height:32px}.antv-s2-drill-down-menu-item svg[data-v-8dd920ec]{margin-right:8px}.antv-s2-drill-down-empty[data-v-8dd920ec]{padding:12px;font-size:12px}
1
+ .antv-s2-tooltip-operator{color:var(--antv-s2-font, rgba(0, 0, 0, .65));background:var(--antv-s2-tooltip-operator-background, #f9f9f9);font-size:12px;line-height:36px;border:0;cursor:pointer}.antv-s2-tooltip-operator .ant-menu-horizontal:not(.ant-menu-dark){background:transparent;line-height:36px}.antv-s2-tooltip-operator .ant-dropdown-trigger,.antv-s2-tooltip-operator-dropdown{padding:0 6px 0 0}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu{font-size:12px;color:var(--antv-s2-font, rgba(0, 0, 0, .65));border:0;-webkit-user-select:none;user-select:none;padding:4px;width:100%}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item{height:36px}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu>.ant-menu-submenu-title{height:36px;width:100%}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item{font-size:12px;line-height:36px;padding:0 12px;border:0}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title{padding:0 0 0 12px;font-size:12px;line-height:36px;margin:0}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-dropdown-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title .ant-menu-title-content{margin-right:12px}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,.antv-s2-tooltip-operator-submenu-popup .ant-menu-item{font-size:12px;line-height:36px;padding:0 12px}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-submenu-popup .ant-menu-vertical .ant-menu-item{margin:0;height:36px;line-height:36px;width:100%}.antv-s2-tooltip-operator-submenu-popup .ant-menu-vertical .ant-menu-item:not(:last-child){margin:0}.antv-s2-tooltip-operator-icon{vertical-align:middle}.antv-s2-tooltip-operator-icon svg{width:12px;height:12px;fill:var(--antv-s2-font)}@media only screen and (max-device-width: 480px){.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu{font-size:12px}.antv-s2-tooltip-operator-menus.ant-menu-vertical.ant-menu .ant-menu-item{height:36px}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-item,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-item,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-item{line-height:36px}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title,.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title{font-size:12px}.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-dropdown-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-dropdown-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active),.antv-s2-tooltip-operator-menus.ant-menu-vertical .ant-menu-submenu-vertical .ant-menu-submenu-title:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item,.antv-s2-tooltip-operator-submenu-popup .ant-menu-item{font-size:12px}.antv-s2-tooltip-operator-submenu-popup .ant-dropdown-menu-item:not(.ant-menu-item-active),.antv-s2-tooltip-operator-submenu-popup .ant-menu-item:not(.ant-menu-item-active){color:var(--antv-s2-font, rgba(0, 0, 0, .65))}.antv-s2-tooltip-operator-icon svg{width:12px;height:12px}}.antv-s2-tooltip-container{position:fixed;-webkit-user-select:text;user-select:text;min-width:200px;max-width:640px;max-height:100vh;overflow:auto;z-index:1024;display:inline-block;background:var(--antv-s2-tooltip-background, rgba(255, 255, 255, .95));border-radius:4px;box-shadow:0 1px 4px #0003;font-size:12px;font-family:Roboto,PingFang SC,Chinese Quote,BlinkMacSystemFont,Segoe UI,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.antv-s2-tooltip-container-hide{opacity:0;visibility:hidden;pointer-events:none}.antv-s2-tooltip-container-hide *{transition:none}.antv-s2-tooltip-container-show{opacity:1;visibility:visible;pointer-events:all}.antv-s2-tooltip-tips,.antv-s2-tooltip-name{padding:12px;line-height:16px;overflow-wrap:break-word;color:var(--antv-s2-font-85, rgba(0, 0, 0, .85))}.antv-s2-tooltip-description{padding:0 12px 12px;line-height:16px;overflow-wrap:break-word;color:var(--antv-s2-font-45, rgba(0, 0, 0, .45))}.antv-s2-tooltip-tips{padding:4px 12px;color:var(--antv-s2-font-45, rgba(0, 0, 0, .45))}.antv-s2-tooltip-infos{padding:4px 12px;line-height:20px;color:var(--antv-s2-font-45, rgba(0, 0, 0, .45));overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow-wrap:break-word;background:rgba(249,249,249,.96);border-radius:0 0 2px 2px;background-color:#f9f9f9}.antv-s2-tooltip-summary{line-height:20px;color:var(--antv-s2-font-65, rgba(0, 0, 0, .65));overflow:hidden;padding:12px}.antv-s2-tooltip-summary-item{display:flex}.antv-s2-tooltip-summary-key{margin-right:20px}.antv-s2-tooltip-summary-val{flex:1;text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.antv-s2-tooltip-interpretation{color:#000000a6;overflow:hidden;padding:12px}.antv-s2-tooltip-interpretation+.antv-s2-tooltip-head-info-list{border-top:1px solid var(--antv-s2-border, #e9e9e9)}.antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head{margin-bottom:12px}.antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head .antv-s2-tooltip-interpretation-icon{width:14px;height:14px}.antv-s2-tooltip-interpretation .antv-s2-tooltip-interpretation-head .antv-s2-tooltip-interpretation-name{color:var(--antv-s2-font, #000)}.antv-s2-tooltip-head-info-list{color:var(--antv-s2-font-65, #a2a2a2);padding:12px 12px 4px;line-height:24px;word-break:break-word}.antv-s2-tooltip-bold,.antv-s2-tooltip-selected{font-weight:700}.antv-s2-tooltip-selected{margin-right:5px}.antv-s2-tooltip-highlight{color:var(--antv-s2-font-85, rgba(0, 0, 0, .85))}.antv-s2-tooltip-detail-list{padding:2px 12px 8px}.antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item{color:var(--antv-s2-font-65, rgba(0, 0, 0, .65));overflow:hidden;margin:4px 0;display:flex;justify-content:space-around;align-items:center}.antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item-key{margin-right:20px}.antv-s2-tooltip-detail-list .antv-s2-tooltip-detail-item-val{flex:1;text-align:right;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ant-dropdown-menu-item.operation-item{font-size:12px}.antv-s2-spin.ant-spin-nested-loading,.antv-s2-spin>.ant-spin-container{height:100%}.antv-s2-wrapper{padding:0;margin:0;display:flex;flex-direction:column;height:100%}.antv-s2-container{overflow:auto;flex:1 1 auto}.antv-s2-container canvas{display:block}.antv-s2-pagination{display:flex;align-items:center;z-index:1024}.antv-s2-pagination-count{margin-left:12px;text-overflow:ellipsis;white-space:nowrap;max-width:64px}.antv-s2-drill-down[data-v-8dd920ec]{width:260px;min-height:20px;position:relative;color:var(--antv-s2-font-70, #fff)}.antv-s2-drill-down-header[data-v-8dd920ec]{display:flex;height:32px;font-size:14px;padding:0 16px;margin-top:16px}.antv-s2-drill-down-header button[data-v-8dd920ec]{position:absolute;right:0;top:-4px;font-size:12px;color:#1890ff;letter-spacing:-.2px;line-height:20px}.antv-s2-drill-down-search[data-v-8dd920ec]{height:24px;width:228px!important;margin:0 16px;border:1px solid rgba(0,0,0,.15);border-radius:2px}.antv-s2-drill-down-search input[data-v-8dd920ec],.antv-s2-drill-down-search span[data-v-8dd920ec]{font-size:12px}.antv-s2-drill-down-search[data-v-8dd920ec],.antv-s2-drill-down-search .ant-input[data-v-8dd920ec]::placeholder{background-color:var(--antv-s2-block-background, #fff)}.antv-s2-drill-down-extra[data-v-8dd920ec]{margin:4px 16px}.antv-s2-drill-down-menu[data-v-8dd920ec]{max-height:314px;overflow:hidden auto}.antv-s2-drill-down-menu.ant-menu[data-v-8dd920ec]{background:var(--antv-s2-tooltip-background, #fff)}.antv-s2-drill-down-menu.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected[data-v-8dd920ec]{background-color:var(--antv-s2-block-background, #e6f7ff)}.antv-s2-drill-down-menu-item[data-v-8dd920ec]{height:32px!important;line-height:32px!important;font-size:12px;opacity:.65}.antv-s2-drill-down-menu-item span[data-v-8dd920ec]:last-child{line-height:32px}.antv-s2-drill-down-menu-item svg[data-v-8dd920ec]{margin-right:8px}.antv-s2-drill-down-empty[data-v-8dd920ec]{padding:12px;font-size:12px}
package/esm/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { AllowedComponentProps } from 'vue';
2
2
  import { BaseTooltip } from '@antv/s2';
3
3
  import { BaseTooltipOperatorMenuOptions } from '@antv/s2';
4
4
  import { Canvas } from '@antv/g';
5
- import type { CanvasConfig } from '@antv/g';
5
+ import { CanvasConfig } from '@antv/g';
6
6
  import type { CellScrollPosition } from '@antv/s2';
7
7
  import { ColCell } from '@antv/s2';
8
8
  import { ComponentCustomProps } from 'vue';
@@ -57,6 +57,7 @@ import { SeriesNumberCell } from '@antv/s2';
57
57
  import { ShallowRef } from 'vue';
58
58
  import { SortParams } from '@antv/s2';
59
59
  import { SpreadSheet } from '@antv/s2';
60
+ import { TableDataCell } from '@antv/s2';
60
61
  import { TargetCellInfo } from '@antv/s2';
61
62
  import { Text as Text_2 } from '@antv/g';
62
63
  import { TextStyleProps } from '@antv/g';
@@ -404,6 +405,10 @@ declare abstract class BaseDataSet_2 {
404
405
  * 展示数据
405
406
  */
406
407
  protected displayData: RawData_2[];
408
+ /**
409
+ * 单元格所对应格式化后的值(用于编辑表)
410
+ */
411
+ displayFormattedValueMap: Map<string, string>;
407
412
  constructor(spreadsheet: SpreadSheet_2);
408
413
  /**
409
414
  * 获取字段
@@ -560,6 +565,7 @@ declare abstract class BaseFacet {
560
565
  abstract getCellMeta(rowIndex: number, colIndex: number): ViewMeta_2 | null;
561
566
  protected abstract getColNodeHeight(colNode: Node_2_2, colsHierarchy: Hierarchy): number;
562
567
  protected scrollFrameId: ReturnType<typeof requestAnimationFrame> | null;
568
+ protected scrollDirection: ScrollDirection;
563
569
  get scrollBarTheme(): DeepRequired<ScrollBarTheme>;
564
570
  get scrollBarSize(): number;
565
571
  protected preCellIndexes: PanelIndexes | null;
@@ -584,7 +590,9 @@ declare abstract class BaseFacet {
584
590
  delayHideScrollbarOnMobile: () => void;
585
591
  showVerticalScrollBar: () => void;
586
592
  showHorizontalScrollBar: () => void;
593
+ onContainerWheelForMobileCompatibility: () => void;
587
594
  onContainerWheel: () => void;
595
+ getMobileWheelDeltaY: (deltaY: number) => number;
588
596
  onContainerWheelForPc: () => void;
589
597
  onContainerWheelForMobile: () => void;
590
598
  bindEvents: () => void;
@@ -1066,7 +1074,7 @@ adaptive: {
1066
1074
  type: PropType<Adaptive>;
1067
1075
  default: Adaptive;
1068
1076
  };
1069
- onSpreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
1077
+ spreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
1070
1078
  onMounted: PropType<(spreadsheet: SpreadSheet) => void>;
1071
1079
  }, {
1072
1080
  S2_PREFIX_CLS: string;
@@ -1121,7 +1129,8 @@ dataCellMouseMove: (data: TargetCellInfo) => void;
1121
1129
  dataCellBrushSelection: (brushRangeDataCells: DataCell[]) => void;
1122
1130
  dataCellSelectMove: (metaList: ViewMetaData[]) => void;
1123
1131
  dataCellRender: (cell: DataCell) => void;
1124
- dataCellEditEnd: (meta: ViewMeta) => void;
1132
+ dataCellEditStart: (meta: ViewMeta, cell: TableDataCell) => void;
1133
+ dataCellEditEnd: (meta: ViewMeta, cell: TableDataCell) => void;
1125
1134
  cornerCellHover: (data: TargetCellInfo) => void;
1126
1135
  cornerCellClick: (data: TargetCellInfo) => void;
1127
1136
  cornerCellDoubleClick: (data: TargetCellInfo) => void;
@@ -1225,7 +1234,7 @@ adaptive: {
1225
1234
  type: PropType<Adaptive>;
1226
1235
  default: Adaptive;
1227
1236
  };
1228
- onSpreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
1237
+ spreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
1229
1238
  onMounted: PropType<(spreadsheet: SpreadSheet) => void>;
1230
1239
  }>> & {
1231
1240
  onSheetUpdate?: (params: S2RenderOptions) => any;
@@ -1263,7 +1272,8 @@ onDataCellMouseMove?: (data: TargetCellInfo) => any;
1263
1272
  onDataCellBrushSelection?: (brushRangeDataCells: DataCell[]) => any;
1264
1273
  onDataCellSelectMove?: (metaList: ViewMetaData[]) => any;
1265
1274
  onDataCellRender?: (cell: DataCell) => any;
1266
- onDataCellEditEnd?: (meta: ViewMeta) => any;
1275
+ onDataCellEditStart?: (meta: ViewMeta, cell: TableDataCell) => any;
1276
+ onDataCellEditEnd?: (meta: ViewMeta, cell: TableDataCell) => any;
1267
1277
  onCornerCellHover?: (data: TargetCellInfo) => any;
1268
1278
  onCornerCellClick?: (data: TargetCellInfo) => any;
1269
1279
  onCornerCellDoubleClick?: (data: TargetCellInfo) => any;
@@ -1404,7 +1414,8 @@ declare interface BaseSheetComponentProps<PartialDrillDown = PartDrillDown, Head
1404
1414
  onDataCellBrushSelection?: (brushRangeDataCells: DataCell[]) => void;
1405
1415
  onDataCellSelectMove?: (metaList: ViewMetaData[]) => void;
1406
1416
  onDataCellRender?: (cell: DataCell) => void;
1407
- onDataCellEditEnd?: (meta: ViewMeta) => void;
1417
+ onDataCellEditStart?: (meta: ViewMeta, cell: TableDataCell) => void;
1418
+ onDataCellEditEnd?: (meta: ViewMeta, cell: TableDataCell) => void;
1408
1419
  onCornerCellHover?: (data: TargetCellInfo) => void;
1409
1420
  onCornerCellClick?: (data: TargetCellInfo) => void;
1410
1421
  onCornerCellDoubleClick?: (data: TargetCellInfo) => void;
@@ -2064,7 +2075,7 @@ declare class DataCell_2 extends BaseCell<ViewMeta_2> {
2064
2075
  protected handleSelect(cells: CellMeta[]): void;
2065
2076
  protected handleHover(cells: CellMeta[]): void;
2066
2077
  update(): void;
2067
- setMeta(viewMeta: ViewMeta_2): void;
2078
+ setMeta(viewMeta: Partial<ViewMeta_2>): void;
2068
2079
  drawTextShape(): void;
2069
2080
  protected initCell(): void;
2070
2081
  protected generateIconConfig(): void;
@@ -2116,7 +2127,7 @@ declare interface DataCellStyle extends CellTextWordWrapStyle {
2116
2127
  */
2117
2128
  valuesCfg?: {
2118
2129
  /**
2119
- * 原始值字段
2130
+ * 原始数据字段,用于原始数据导出和 tooltip 展示
2120
2131
  */
2121
2132
  originalValueField?: string;
2122
2133
  /**
@@ -2293,6 +2304,7 @@ declare class EventController {
2293
2304
  get isAutoResetSheetStyle(): boolean | undefined;
2294
2305
  bindEvents(): void;
2295
2306
  private isGuiIconShape;
2307
+ private isConditionIconShape;
2296
2308
  private onKeyboardCopy;
2297
2309
  private onKeyboardEsc;
2298
2310
  private resetSheetStyle;
@@ -2319,6 +2331,7 @@ declare class EventController {
2319
2331
  private addS2Event;
2320
2332
  private addDomEventListener;
2321
2333
  clearAllEvents(): void;
2334
+ getViewportPoint(event: MouseEvent | PointerEvent | FederatedPointerEvent): PointLike;
2322
2335
  }
2323
2336
 
2324
2337
  declare interface EventHandler {
@@ -2918,7 +2931,9 @@ declare interface InteractionStateInfo {
2918
2931
  declare enum InteractionStateName {
2919
2932
  ALL_SELECTED = "allSelected",
2920
2933
  SELECTED = "selected",
2921
- BRUSH_SELECTED = "brushSelected",
2934
+ ROW_CELL_BRUSH_SELECTED = "rowCellBrushSelected",
2935
+ COL_CELL_BRUSH_SELECTED = "colCellBrushSelected",
2936
+ DATA_CELL_BRUSH_SELECTED = "dataCellBrushSelected",
2922
2937
  UNSELECTED = "unselected",
2923
2938
  HOVER = "hover",
2924
2939
  HOVER_FOCUS = "hoverFocus",
@@ -3220,7 +3235,6 @@ declare class Node_2_2 {
3220
3235
  isGrandTotals?: boolean;
3221
3236
  isSubTotals?: boolean;
3222
3237
  isTotalRoot?: boolean;
3223
- hiddenChildNodeInfo?: HiddenColumnsInfo_2 | null;
3224
3238
  isFrozen?: boolean;
3225
3239
  extra?: {
3226
3240
  description?: string;
@@ -3443,7 +3457,7 @@ adaptive: {
3443
3457
  type: PropType<Adaptive>;
3444
3458
  default: Adaptive;
3445
3459
  };
3446
- onSpreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
3460
+ spreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
3447
3461
  onMounted: PropType<(spreadsheet: SpreadSheet) => void>;
3448
3462
  }, {
3449
3463
  s2Ref: ShallowRef<SheetExpose>;
@@ -3485,7 +3499,8 @@ dataCellMouseMove: (data: TargetCellInfo) => void;
3485
3499
  dataCellBrushSelection: (brushRangeDataCells: DataCell[]) => void;
3486
3500
  dataCellSelectMove: (metaList: ViewMetaData[]) => void;
3487
3501
  dataCellRender: (cell: DataCell) => void;
3488
- dataCellEditEnd: (meta: ViewMeta) => void;
3502
+ dataCellEditStart: (meta: ViewMeta, cell: TableDataCell) => void;
3503
+ dataCellEditEnd: (meta: ViewMeta, cell: TableDataCell) => void;
3489
3504
  cornerCellHover: (data: TargetCellInfo) => void;
3490
3505
  cornerCellClick: (data: TargetCellInfo) => void;
3491
3506
  cornerCellDoubleClick: (data: TargetCellInfo) => void;
@@ -3589,7 +3604,7 @@ adaptive: {
3589
3604
  type: PropType<Adaptive>;
3590
3605
  default: Adaptive;
3591
3606
  };
3592
- onSpreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
3607
+ spreadsheet: PropType<(container: S2MountContainer, dataCfg: S2DataConfig, options: SheetComponentOptions) => SpreadSheet>;
3593
3608
  onMounted: PropType<(spreadsheet: SpreadSheet) => void>;
3594
3609
  }>> & {
3595
3610
  onSheetUpdate?: (params: S2RenderOptions) => any;
@@ -3627,7 +3642,8 @@ onDataCellMouseMove?: (data: TargetCellInfo) => any;
3627
3642
  onDataCellBrushSelection?: (brushRangeDataCells: DataCell[]) => any;
3628
3643
  onDataCellSelectMove?: (metaList: ViewMetaData[]) => any;
3629
3644
  onDataCellRender?: (cell: DataCell) => any;
3630
- onDataCellEditEnd?: (meta: ViewMeta) => any;
3645
+ onDataCellEditStart?: (meta: ViewMeta, cell: TableDataCell) => any;
3646
+ onDataCellEditEnd?: (meta: ViewMeta, cell: TableDataCell) => any;
3631
3647
  onCornerCellHover?: (data: TargetCellInfo) => any;
3632
3648
  onCornerCellClick?: (data: TargetCellInfo) => any;
3633
3649
  onCornerCellDoubleClick?: (data: TargetCellInfo) => any;
@@ -3721,11 +3737,6 @@ onChange?: (current: number) => void;
3721
3737
  };
3722
3738
  }, {}>;
3723
3739
 
3724
- declare interface Point {
3725
- x: number;
3726
- y: number;
3727
- }
3728
-
3729
3740
  declare type PointerEventHandler = (event: PointerEvent) => void;
3730
3741
 
3731
3742
  declare interface PointObject {
@@ -4176,7 +4187,7 @@ declare interface S2BasicOptions<T = TooltipContentType_2, P = Pagination_2, Men
4176
4187
  facet?: (spreadsheet: SpreadSheet_2) => BaseFacet;
4177
4188
  }
4178
4189
 
4179
- declare type S2CellType_2<T extends SimpleBBox = ViewMeta_2> = DataCell_2 | HeaderCell | ColCell_2 | CornerCell_2 | RowCell | SeriesNumberCell_2 | MergedCell_2 | TableCornerCell | TableSeriesNumberCell | BaseCell<T>;
4190
+ declare type S2CellType_2<T extends SimpleBBox = ViewMeta_2> = DataCell_2 | HeaderCell | ColCell_2 | CornerCell_2 | RowCell | SeriesNumberCell_2 | MergedCell_2 | TableDataCell_2 | TableCornerCell | TableSeriesNumberCell | BaseCell<T>;
4180
4191
 
4181
4192
  declare interface S2DataConfig_2 {
4182
4193
  /**
@@ -4254,7 +4265,7 @@ declare enum S2Event {
4254
4265
  MERGED_CELLS_HOVER = "merged-cells:hover",
4255
4266
  MERGED_CELLS_CLICK = "merged-cells:click",
4256
4267
  MERGED_CELLS_DOUBLE_CLICK = "merged-cells:double-click",
4257
- MERGED_CELLS_CONTEXT_MENU = "merged-cell:context-menu",
4268
+ MERGED_CELLS_CONTEXT_MENU = "merged-cells:context-menu",
4258
4269
  MERGED_CELLS_MOUSE_DOWN = "merged-cells:mouse-down",
4259
4270
  MERGED_CELLS_MOUSE_UP = "merged-cells:mouse-up",
4260
4271
  MERGED_CELLS_MOUSE_MOVE = "merged-cells:mouse-move",
@@ -4530,6 +4541,11 @@ declare interface ScrollBarTheme {
4530
4541
  lineCap?: LineStyleProps['lineCap'];
4531
4542
  }
4532
4543
 
4544
+ declare enum ScrollDirection {
4545
+ SCROLL_UP = "scrollUp",
4546
+ SCROLL_DOWN = "scrollDown"
4547
+ }
4548
+
4533
4549
  declare interface ScrollOffset_2 {
4534
4550
  scrollX?: number;
4535
4551
  scrollY?: number;
@@ -4607,7 +4623,7 @@ declare class SeriesNumberHeader extends BaseHeader<BaseHeaderConfig> {
4607
4623
  getNodes(): Node_2_2[];
4608
4624
  }
4609
4625
 
4610
- export declare const SheetComponent: DefineComponent<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">, {
4626
+ export declare const SheetComponent: DefineComponent<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditStart" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">, {
4611
4627
  s2Ref: ShallowRef<SheetExpose>;
4612
4628
  sheetType: ComputedRef<DefineComponent< {
4613
4629
  sheetType: PropType<SheetType>;
@@ -4634,7 +4650,7 @@ adaptive: {
4634
4650
  type: PropType<Adaptive>;
4635
4651
  default: Adaptive;
4636
4652
  };
4637
- onSpreadsheet: PropType<(container: S2MountContainer_2, dataCfg: S2DataConfig_2, options: SheetComponentOptions) => SpreadSheet_2>;
4653
+ spreadsheet: PropType<(container: S2MountContainer_2, dataCfg: S2DataConfig_2, options: SheetComponentOptions) => SpreadSheet_2>;
4638
4654
  onMounted: PropType<(spreadsheet: SpreadSheet_2) => void>;
4639
4655
  }, {
4640
4656
  s2Ref: ShallowRef<SheetExpose>;
@@ -4676,7 +4692,8 @@ dataCellMouseMove: (data: TargetCellInfo_2) => void;
4676
4692
  dataCellBrushSelection: (brushRangeDataCells: DataCell_2[]) => void;
4677
4693
  dataCellSelectMove: (metaList: ViewMetaData_2[]) => void;
4678
4694
  dataCellRender: (cell: DataCell_2) => void;
4679
- dataCellEditEnd: (meta: ViewMeta_2) => void;
4695
+ dataCellEditStart: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
4696
+ dataCellEditEnd: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
4680
4697
  cornerCellHover: (data: TargetCellInfo_2) => void;
4681
4698
  cornerCellClick: (data: TargetCellInfo_2) => void;
4682
4699
  cornerCellDoubleClick: (data: TargetCellInfo_2) => void;
@@ -4780,7 +4797,7 @@ adaptive: {
4780
4797
  type: PropType<Adaptive>;
4781
4798
  default: Adaptive;
4782
4799
  };
4783
- onSpreadsheet: PropType<(container: S2MountContainer_2, dataCfg: S2DataConfig_2, options: SheetComponentOptions) => SpreadSheet_2>;
4800
+ spreadsheet: PropType<(container: S2MountContainer_2, dataCfg: S2DataConfig_2, options: SheetComponentOptions) => SpreadSheet_2>;
4784
4801
  onMounted: PropType<(spreadsheet: SpreadSheet_2) => void>;
4785
4802
  }>> & {
4786
4803
  onSheetUpdate?: (params: S2RenderOptions_2) => any;
@@ -4818,7 +4835,8 @@ onDataCellMouseMove?: (data: TargetCellInfo_2) => any;
4818
4835
  onDataCellBrushSelection?: (brushRangeDataCells: DataCell_2[]) => any;
4819
4836
  onDataCellSelectMove?: (metaList: ViewMetaData_2[]) => any;
4820
4837
  onDataCellRender?: (cell: DataCell_2) => any;
4821
- onDataCellEditEnd?: (meta: ViewMeta_2) => any;
4838
+ onDataCellEditStart?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
4839
+ onDataCellEditEnd?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
4822
4840
  onCornerCellHover?: (data: TargetCellInfo_2) => any;
4823
4841
  onCornerCellClick?: (data: TargetCellInfo_2) => any;
4824
4842
  onCornerCellDoubleClick?: (data: TargetCellInfo_2) => any;
@@ -4910,7 +4928,7 @@ showPagination: boolean | {
4910
4928
  onShowSizeChange?: (pageSize: number) => void;
4911
4929
  onChange?: (current: number) => void;
4912
4930
  };
4913
- }, {}> | DefineComponent<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">, {
4931
+ }, {}> | DefineComponent<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditStart" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">, {
4914
4932
  s2Ref: ShallowRef<SheetExpose>;
4915
4933
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4916
4934
  spreadsheet: (container: S2MountContainer_2, dataCfg: S2DataConfig_2, options: S2Options_2<TooltipContentType_2, Pagination_2, BaseTooltipOperatorMenuOptions_2>) => SpreadSheet_2;
@@ -4949,7 +4967,8 @@ dataCellMouseMove: (data: TargetCellInfo_2) => void;
4949
4967
  dataCellBrushSelection: (brushRangeDataCells: DataCell_2[]) => void;
4950
4968
  dataCellSelectMove: (metaList: ViewMetaData_2[]) => void;
4951
4969
  dataCellRender: (cell: DataCell_2) => void;
4952
- dataCellEditEnd: (meta: ViewMeta_2) => void;
4970
+ dataCellEditStart: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
4971
+ dataCellEditEnd: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
4953
4972
  cornerCellHover: (data: TargetCellInfo_2) => void;
4954
4973
  cornerCellClick: (data: TargetCellInfo_2) => void;
4955
4974
  cornerCellDoubleClick: (data: TargetCellInfo_2) => void;
@@ -5028,7 +5047,7 @@ spreadsheet: SpreadSheet_2;
5028
5047
  }) => void;
5029
5048
  rowCellBrushSelection: (event: FederatedPointerEvent) => void;
5030
5049
  colCellBrushSelection: (event: FederatedPointerEvent) => void;
5031
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">>> & {
5050
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditStart" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">>> & {
5032
5051
  onSheetUpdate?: (params: S2RenderOptions_2) => any;
5033
5052
  onRowCellHover?: (data: TargetCellInfo_2) => any;
5034
5053
  onRowCellClick?: (data: TargetCellInfo_2) => any;
@@ -5064,7 +5083,8 @@ onDataCellMouseMove?: (data: TargetCellInfo_2) => any;
5064
5083
  onDataCellBrushSelection?: (brushRangeDataCells: DataCell_2[]) => any;
5065
5084
  onDataCellSelectMove?: (metaList: ViewMetaData_2[]) => any;
5066
5085
  onDataCellRender?: (cell: DataCell_2) => any;
5067
- onDataCellEditEnd?: (meta: ViewMeta_2) => any;
5086
+ onDataCellEditStart?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
5087
+ onDataCellEditEnd?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
5068
5088
  onCornerCellHover?: (data: TargetCellInfo_2) => any;
5069
5089
  onCornerCellClick?: (data: TargetCellInfo_2) => any;
5070
5090
  onCornerCellDoubleClick?: (data: TargetCellInfo_2) => any;
@@ -5182,7 +5202,8 @@ dataCellMouseMove: (data: TargetCellInfo_2) => void;
5182
5202
  dataCellBrushSelection: (brushRangeDataCells: DataCell_2[]) => void;
5183
5203
  dataCellSelectMove: (metaList: ViewMetaData_2[]) => void;
5184
5204
  dataCellRender: (cell: DataCell_2) => void;
5185
- dataCellEditEnd: (meta: ViewMeta_2) => void;
5205
+ dataCellEditStart: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
5206
+ dataCellEditEnd: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
5186
5207
  cornerCellHover: (data: TargetCellInfo_2) => void;
5187
5208
  cornerCellClick: (data: TargetCellInfo_2) => void;
5188
5209
  cornerCellDoubleClick: (data: TargetCellInfo_2) => void;
@@ -5261,7 +5282,7 @@ spreadsheet: SpreadSheet_2;
5261
5282
  }) => void;
5262
5283
  rowCellBrushSelection: (event: FederatedPointerEvent) => void;
5263
5284
  colCellBrushSelection: (event: FederatedPointerEvent) => void;
5264
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">>> & {
5285
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditStart" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">>> & {
5265
5286
  onSheetUpdate?: (params: S2RenderOptions_2) => any;
5266
5287
  onRowCellHover?: (data: TargetCellInfo_2) => any;
5267
5288
  onRowCellClick?: (data: TargetCellInfo_2) => any;
@@ -5297,7 +5318,8 @@ onDataCellMouseMove?: (data: TargetCellInfo_2) => any;
5297
5318
  onDataCellBrushSelection?: (brushRangeDataCells: DataCell_2[]) => any;
5298
5319
  onDataCellSelectMove?: (metaList: ViewMetaData_2[]) => any;
5299
5320
  onDataCellRender?: (cell: DataCell_2) => any;
5300
- onDataCellEditEnd?: (meta: ViewMeta_2) => any;
5321
+ onDataCellEditStart?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
5322
+ onDataCellEditEnd?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
5301
5323
  onCornerCellHover?: (data: TargetCellInfo_2) => any;
5302
5324
  onCornerCellClick?: (data: TargetCellInfo_2) => any;
5303
5325
  onCornerCellDoubleClick?: (data: TargetCellInfo_2) => any;
@@ -5602,8 +5624,14 @@ declare abstract class SpreadSheet_2 extends EE {
5602
5624
  changeSheetSize(width?: number, height?: number): void;
5603
5625
  /**
5604
5626
  * 获取 G Canvas 实例
5627
+ * @see https://g.antv.antgroup.com/api/renderer/canvas
5605
5628
  */
5606
5629
  getCanvas(): Canvas;
5630
+ /**
5631
+ * 获取 G Canvas 配置
5632
+ * @see https://g.antv.antgroup.com/api/canvas/options
5633
+ */
5634
+ getCanvasConfig(): Partial<CanvasConfig>;
5607
5635
  /**
5608
5636
  * 获取 <canvas/> HTML 元素
5609
5637
  */
@@ -5810,19 +5838,19 @@ declare class TableCornerCell extends TableColCell {
5810
5838
  protected showSortIcon(): boolean;
5811
5839
  }
5812
5840
 
5813
- declare class TableDataCell extends DataCell_2 {
5841
+ declare class TableDataCell_2 extends DataCell_2 {
5814
5842
  protected getLinkFieldStyle(): string;
5815
5843
  drawBorders(): void;
5816
5844
  protected shouldDrawResizeArea(): boolean;
5817
5845
  drawResizeArea(): void;
5818
5846
  }
5819
5847
 
5820
- declare class TableSeriesNumberCell extends TableDataCell {
5848
+ declare class TableSeriesNumberCell extends TableDataCell_2 {
5821
5849
  get cellType(): CellType;
5822
5850
  protected getTextStyle(): TextTheme;
5823
5851
  }
5824
5852
 
5825
- export declare const TableSheet: DefineComponent<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">, {
5853
+ export declare const TableSheet: DefineComponent<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditStart" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">, {
5826
5854
  s2Ref: ShallowRef<SheetExpose>;
5827
5855
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5828
5856
  spreadsheet: (container: S2MountContainer_2, dataCfg: S2DataConfig_2, options: S2Options_2<TooltipContentType_2, Pagination_2, BaseTooltipOperatorMenuOptions_2>) => SpreadSheet_2;
@@ -5861,7 +5889,8 @@ dataCellMouseMove: (data: TargetCellInfo_2) => void;
5861
5889
  dataCellBrushSelection: (brushRangeDataCells: DataCell_2[]) => void;
5862
5890
  dataCellSelectMove: (metaList: ViewMetaData_2[]) => void;
5863
5891
  dataCellRender: (cell: DataCell_2) => void;
5864
- dataCellEditEnd: (meta: ViewMeta_2) => void;
5892
+ dataCellEditStart: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
5893
+ dataCellEditEnd: (meta: ViewMeta_2, cell: TableDataCell_2) => void;
5865
5894
  cornerCellHover: (data: TargetCellInfo_2) => void;
5866
5895
  cornerCellClick: (data: TargetCellInfo_2) => void;
5867
5896
  cornerCellDoubleClick: (data: TargetCellInfo_2) => void;
@@ -5940,7 +5969,7 @@ spreadsheet: SpreadSheet_2;
5940
5969
  }) => void;
5941
5970
  rowCellBrushSelection: (event: FederatedPointerEvent) => void;
5942
5971
  colCellBrushSelection: (event: FederatedPointerEvent) => void;
5943
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">>> & {
5972
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<GetInitProps<SheetComponentProps, "sheetType" | "spreadsheet" | "options" | "loading" | "partDrillDown" | "adaptive" | "showPagination" | "themeCfg" | "header" | "onSheetUpdate" | "onRowCellHover" | "onRowCellClick" | "onRowCellDoubleClick" | "onRowCellContextMenu" | "onRowCellMouseDown" | "onRowCellMouseUp" | "onRowCellMouseMove" | "onRowCellCollapsed" | "onRowCellAllCollapsed" | "onRowCellScroll" | "onRowCellRender" | "onColCellHover" | "onColCellClick" | "onColCellDoubleClick" | "onColCellContextMenu" | "onColCellMouseDown" | "onColCellMouseUp" | "onColCellMouseMove" | "onColCellExpanded" | "onColCellHidden" | "onColCellRender" | "onDataCellHover" | "onDataCellClick" | "onDataCellDoubleClick" | "onDataCellContextMenu" | "onDataCellMouseDown" | "onDataCellMouseUp" | "onDataCellMouseMove" | "onDataCellBrushSelection" | "onDataCellSelectMove" | "onDataCellRender" | "onDataCellEditStart" | "onDataCellEditEnd" | "onCornerCellHover" | "onCornerCellClick" | "onCornerCellDoubleClick" | "onCornerCellContextMenu" | "onCornerCellMouseDown" | "onCornerCellMouseUp" | "onCornerCellMouseMove" | "onCornerCellRender" | "onMergedCellsHover" | "onMergedCellsClick" | "onMergedCellsDoubleClick" | "onMergedCellsContextMenu" | "onMergedCellsMouseDown" | "onMergedCellsMouseUp" | "onMergedCellsMouseMove" | "onMergedCellsRender" | "onSeriesNumberCellRender" | "onRangeSort" | "onRangeSorted" | "onRangeFilter" | "onRangeFiltered" | "onLayoutAfterHeaderLayout" | "onLayoutPagination" | "onLayoutCellRender" | "onBeforeRender" | "onAfterRender" | "onMounted" | "onDestroy" | "onLayoutResize" | "onLayoutResizeSeriesWidth" | "onLayoutResizeRowWidth" | "onLayoutResizeRowHeight" | "onLayoutResizeColWidth" | "onLayoutResizeColHeight" | "onLayoutResizeTreeWidth" | "onLayoutResizeMouseDown" | "onLayoutResizeMouseUp" | "onLayoutResizeMouseMove" | "onKeyBoardDown" | "onKeyBoardUp" | "onCopied" | "onActionIconHover" | "onActionIconHoverOff" | "onActionIconClick" | "onContextMenu" | "onClick" | "onHover" | "onDoubleClick" | "onMouseHover" | "onMouseUp" | "onMouseDown" | "onMouseMove" | "onSelected" | "onReset" | "onLinkFieldJump" | "onScroll" | "onLayoutAfterRealDataCellRender" | "onRowCellBrushSelection" | "onColCellBrushSelection">>> & {
5944
5973
  onSheetUpdate?: (params: S2RenderOptions_2) => any;
5945
5974
  onRowCellHover?: (data: TargetCellInfo_2) => any;
5946
5975
  onRowCellClick?: (data: TargetCellInfo_2) => any;
@@ -5976,7 +6005,8 @@ onDataCellMouseMove?: (data: TargetCellInfo_2) => any;
5976
6005
  onDataCellBrushSelection?: (brushRangeDataCells: DataCell_2[]) => any;
5977
6006
  onDataCellSelectMove?: (metaList: ViewMetaData_2[]) => any;
5978
6007
  onDataCellRender?: (cell: DataCell_2) => any;
5979
- onDataCellEditEnd?: (meta: ViewMeta_2) => any;
6008
+ onDataCellEditStart?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
6009
+ onDataCellEditEnd?: (meta: ViewMeta_2, cell: TableDataCell_2) => any;
5980
6010
  onCornerCellHover?: (data: TargetCellInfo_2) => any;
5981
6011
  onCornerCellClick?: (data: TargetCellInfo_2) => any;
5982
6012
  onCornerCellDoubleClick?: (data: TargetCellInfo_2) => any;
@@ -6263,7 +6293,7 @@ declare interface TooltipOptions<Menu = BaseTooltipOperatorMenuOptions_2> {
6263
6293
  data?: TooltipData;
6264
6294
  }
6265
6295
 
6266
- declare type TooltipPosition = Point;
6296
+ declare type TooltipPosition = PointLike;
6267
6297
 
6268
6298
  declare interface TooltipPositionInfo {
6269
6299
  position: TooltipPosition;
@@ -6372,7 +6402,7 @@ declare interface ValueRange {
6372
6402
 
6373
6403
  declare type ValueRanges = Record<string, ValueRange>;
6374
6404
 
6375
- export declare const version = "@antv/s2-vue-v2.0.0-next.10";
6405
+ export declare const version = "@antv/s2-vue-v2.0.0-next.11";
6376
6406
 
6377
6407
  declare interface ViewCellHeights {
6378
6408
  getCellOffsetY: (index: number) => number;
package/esm/index.js CHANGED
@@ -2774,7 +2774,7 @@ function useSpreadSheet(props, emit) {
2774
2774
  themeCfg,
2775
2775
  loading: loadingProps,
2776
2776
  sheetType,
2777
- onSpreadsheet,
2777
+ spreadsheet: customSpreadSheet,
2778
2778
  onMounted: onS2Mounted
2779
2779
  } = props;
2780
2780
  const wrapperRef = ref();
@@ -2786,8 +2786,8 @@ function useSpreadSheet(props, emit) {
2786
2786
  const rawDataCfg = toRaw(dataCfg);
2787
2787
  const rawOptions = toRaw(options);
2788
2788
  const s2Options = getSheetComponentOptions(rawOptions);
2789
- if (onSpreadsheet) {
2790
- return onSpreadsheet(container, rawDataCfg, s2Options);
2789
+ if (customSpreadSheet) {
2790
+ return customSpreadSheet(container, rawDataCfg, s2Options);
2791
2791
  }
2792
2792
  if (sheetType === "table") {
2793
2793
  return new TableSheet$1(container, rawDataCfg, s2Options);
@@ -2829,7 +2829,6 @@ const initBaseSheetProps = () => {
2829
2829
  default: false
2830
2830
  },
2831
2831
  loading: Boolean,
2832
- // TODO: 待后续完善
2833
2832
  partDrillDown: Object,
2834
2833
  header: Object,
2835
2834
  options: {
@@ -2840,7 +2839,7 @@ const initBaseSheetProps = () => {
2840
2839
  type: [Object, Boolean],
2841
2840
  default: false
2842
2841
  },
2843
- onSpreadsheet: Function,
2842
+ spreadsheet: Function,
2844
2843
  onMounted: Function
2845
2844
  };
2846
2845
  };
@@ -3353,7 +3352,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
3353
3352
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.sheetType), { ref: "s2Ref" }, null, 512);
3354
3353
  }
3355
3354
  const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
3356
- const version = "@antv/s2-vue-v2.0.0-next.10";
3355
+ const version = "@antv/s2-vue-v2.0.0-next.11";
3357
3356
  export {
3358
3357
  BaseSheet,
3359
3358
  CustomTooltip,