@univerjs/sheets-ui 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,10 +32,7 @@ export declare class MobileHeaderResizeRenderController extends Disposable imple
32
32
  private _columnResizeButton;
33
33
  private _resizeHelperShape;
34
34
  private _isDragging;
35
- private _touchStartX;
36
- private _touchStartY;
37
- private _touchMoveHandler;
38
- private _touchEndHandler;
35
+ private _resizeListeners;
39
36
  private _selectionSubscription;
40
37
  private _scrollSubscription;
41
38
  constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _selectionManagerService: SheetsSelectionsService, _commandService: ICommandService, _contextService: IContextService, _scrollManagerService: SheetScrollManagerService);
@@ -48,13 +45,13 @@ export declare class MobileHeaderResizeRenderController extends Disposable imple
48
45
  private _showRowResizeButton;
49
46
  private _showColumnResizeButton;
50
47
  private _updateButtonPositionOnScroll;
51
- private _bindTouchEventsToButton;
48
+ private _bindPointerEventsToButton;
52
49
  private _startResize;
53
- private _setupTouchHandlers;
50
+ private _setupPointerHandlers;
51
+ private _bindResizeListeners;
54
52
  private _createResizeHelper;
55
53
  private _updateResizeHelper;
56
54
  private _updateResizeButton;
57
55
  private _cleanupResize;
58
- private _cleanupTouchHandlers;
59
56
  private _cancelResize;
60
57
  }
@@ -15,9 +15,9 @@
15
15
  */
16
16
  import type { IAccessor } from '@univerjs/core';
17
17
  import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
18
- import type { LocaleKey } from '../locale/types';
19
18
  import { HorizontalAlign, VerticalAlign, WrapStrategy } from '@univerjs/core';
20
19
  import { Observable } from 'rxjs';
20
+ import type { LocaleKey } from '../locale/types';
21
21
  export declare enum SheetMenuPosition {
22
22
  ROW_HEADER_CONTEXT_MENU = "ROW_HEADER_CONTEXT_MENU",
23
23
  COL_HEADER_CONTEXT_MENU = "COL_HEADER_CONTEXT_MENU",
@@ -19,7 +19,7 @@ import type { LocaleKey } from '../locale/types';
19
19
  export declare function DeleteSheetMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
20
20
  export declare function CopySheetMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
21
21
  export declare function RenameSheetMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
22
- export declare function ChangeColorSheetMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey>;
22
+ export declare function ChangeColorSheetMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey, string, string>;
23
23
  export declare function HideSheetMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
24
24
  export declare function UnHideSheetMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<LocaleKey>;
25
25
  export declare function ShowMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
@@ -13,9 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { IUniverSheetsUIConfig } from './config/config';
17
16
  import { IConfigService, Injector, IUniverInstanceService, Plugin, UniverInstanceType } from '@univerjs/core';
18
17
  import { IRenderManagerService } from '@univerjs/engine-render';
18
+ import type { IUniverSheetsUIConfig } from './config/config';
19
19
  export declare class UniverSheetsMobileUIPlugin extends Plugin {
20
20
  private readonly _config;
21
21
  readonly _injector: Injector;