@univerjs/find-replace 0.2.7 → 0.2.8

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,4 +1,3 @@
1
1
  import { ICommand } from '@univerjs/core';
2
-
3
2
  export declare const ReplaceCurrentMatchCommand: ICommand;
4
3
  export declare const ReplaceAllMatchesCommand: ICommand;
@@ -1,5 +1,4 @@
1
1
  import { IOperation } from '@univerjs/core';
2
-
3
2
  export declare const OpenFindDialogOperation: IOperation;
4
3
  export declare const OpenReplaceDialogOperation: IOperation;
5
4
  export declare const GoToNextMatchOperation: IOperation;
@@ -1,7 +1,6 @@
1
1
  import { ICommandService, Injector, IUniverInstanceService, LocaleService, RxDisposable } from '@univerjs/core';
2
2
  import { MenuConfig, ComponentManager, IDialogService, ILayoutService, IMenuService, IShortcutService } from '@univerjs/ui';
3
3
  import { IFindReplaceService } from '../services/find-replace.service';
4
-
5
4
  export interface IUniverFindReplaceConfig {
6
5
  menu: MenuConfig;
7
6
  }
@@ -1,4 +1,3 @@
1
1
  import { IMenuButtonItem } from '@univerjs/ui';
2
2
  import { IAccessor } from '@univerjs/core';
3
-
4
3
  export declare function FindReplaceMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
@@ -1,5 +1,4 @@
1
1
  import { IShortcutItem } from '@univerjs/ui';
2
-
3
2
  export declare const OpenFindDialogShortcutItem: IShortcutItem;
4
3
  export declare const MacOpenFindDialogShortcutItem: IShortcutItem;
5
4
  export declare const OpenReplaceDialogShortcutItem: IShortcutItem;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,6 +1,5 @@
1
1
  import { LocaleService, Plugin, Injector } from '@univerjs/core';
2
2
  import { IUniverFindReplaceConfig } from './controllers/find-replace.controller';
3
-
4
3
  export declare class UniverFindReplacePlugin extends Plugin {
5
4
  private readonly _config;
6
5
  readonly _injector: Injector;
@@ -1,6 +1,5 @@
1
1
  import { IDisposable, Nullable, Disposable, IContextService, Injector, IUniverInstanceService } from '@univerjs/core';
2
2
  import { Observable, BehaviorSubject } from 'rxjs';
3
-
4
3
  export type FindProgressFn = () => void;
5
4
  export interface IFindComplete<T extends IFindMatch = IFindMatch> {
6
5
  results: T[];
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare const FindDialog: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
3
  export declare const ReplaceDialog: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
5
4
  export declare function FindReplaceDialog(): React.JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { Meta } from '@storybook/react';
2
2
  import { default as React } from 'react';
3
-
4
3
  declare const meta: Meta;
5
4
  export default meta;
6
5
  export declare const FindDialog: {
@@ -2,7 +2,6 @@ import { LocaleService } from '@univerjs/core';
2
2
  import { IInputWithSlotProps } from '@univerjs/design';
3
3
  import { default as React } from 'react';
4
4
  import { IFindReplaceService } from '../../services/find-replace.service';
5
-
6
5
  export interface ISearchInputProps extends Pick<IInputWithSlotProps, 'onFocus' | 'onBlur' | 'className' | 'onChange'> {
7
6
  findCompleted: boolean;
8
7
  localeService: LocaleService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/find-replace",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -52,13 +52,13 @@
52
52
  "peerDependencies": {
53
53
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
54
54
  "rxjs": ">=7.0.0",
55
- "@univerjs/design": "0.2.7",
56
- "@univerjs/core": "0.2.7",
57
- "@univerjs/ui": "0.2.7",
58
- "@univerjs/engine-render": "0.2.7"
55
+ "@univerjs/core": "0.2.8",
56
+ "@univerjs/engine-render": "0.2.8",
57
+ "@univerjs/ui": "0.2.8",
58
+ "@univerjs/design": "0.2.8"
59
59
  },
60
60
  "dependencies": {
61
- "@univerjs/icons": "^0.1.72"
61
+ "@univerjs/icons": "^0.1.73"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/react": "^18.3.3",
@@ -66,14 +66,14 @@
66
66
  "react": "18.3.1",
67
67
  "rxjs": "^7.8.1",
68
68
  "typescript": "^5.5.4",
69
- "vite": "^5.3.5",
69
+ "vite": "^5.4.0",
70
70
  "vitest": "^2.0.5",
71
- "@univerjs/core": "0.2.7",
72
- "@univerjs/design": "0.2.7",
73
- "@univerjs/engine-formula": "0.2.7",
74
- "@univerjs/engine-render": "0.2.7",
75
- "@univerjs/shared": "0.2.7",
76
- "@univerjs/ui": "0.2.7"
71
+ "@univerjs/core": "0.2.8",
72
+ "@univerjs/engine-render": "0.2.8",
73
+ "@univerjs/shared": "0.2.8",
74
+ "@univerjs/engine-formula": "0.2.8",
75
+ "@univerjs/design": "0.2.8",
76
+ "@univerjs/ui": "0.2.8"
77
77
  },
78
78
  "univerSpace": {
79
79
  ".": {