@univerjs/find-replace 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/types/commands/commands/replace.command.d.ts +0 -1
- package/lib/types/commands/operations/find-replace.operation.d.ts +0 -1
- package/lib/types/controllers/find-replace.controller.d.ts +0 -1
- package/lib/types/controllers/find-replace.menu.d.ts +0 -1
- package/lib/types/controllers/find-replace.shortcut.d.ts +0 -1
- package/lib/types/locale/en-US.d.ts +0 -1
- package/lib/types/locale/ru-RU.d.ts +0 -1
- package/lib/types/locale/vi-VN.d.ts +0 -1
- package/lib/types/locale/zh-TW.d.ts +0 -1
- package/lib/types/plugin.d.ts +0 -1
- package/lib/types/services/find-replace.service.d.ts +0 -1
- package/lib/types/views/dialog/FindReplaceDialog.d.ts +0 -1
- package/lib/types/views/dialog/FindReplaceDialog.stories.d.ts +0 -1
- package/lib/types/views/dialog/SearchInput.d.ts +0 -1
- package/package.json +13 -13
|
@@ -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
|
}
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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.
|
|
3
|
+
"version": "0.2.9",
|
|
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/
|
|
56
|
-
"@univerjs/
|
|
57
|
-
"@univerjs/
|
|
58
|
-
"@univerjs/
|
|
55
|
+
"@univerjs/core": "0.2.9",
|
|
56
|
+
"@univerjs/design": "0.2.9",
|
|
57
|
+
"@univerjs/engine-render": "0.2.9",
|
|
58
|
+
"@univerjs/ui": "0.2.9"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@univerjs/icons": "^0.1.
|
|
61
|
+
"@univerjs/icons": "^0.1.77"
|
|
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.
|
|
69
|
+
"vite": "^5.4.0",
|
|
70
70
|
"vitest": "^2.0.5",
|
|
71
|
-
"@univerjs/core": "0.2.
|
|
72
|
-
"@univerjs/
|
|
73
|
-
"@univerjs/engine-
|
|
74
|
-
"@univerjs/
|
|
75
|
-
"@univerjs/
|
|
76
|
-
"@univerjs/ui": "0.2.
|
|
71
|
+
"@univerjs/core": "0.2.9",
|
|
72
|
+
"@univerjs/engine-formula": "0.2.9",
|
|
73
|
+
"@univerjs/engine-render": "0.2.9",
|
|
74
|
+
"@univerjs/shared": "0.2.9",
|
|
75
|
+
"@univerjs/design": "0.2.9",
|
|
76
|
+
"@univerjs/ui": "0.2.9"
|
|
77
77
|
},
|
|
78
78
|
"univerSpace": {
|
|
79
79
|
".": {
|