@univerjs/find-replace 0.2.15 → 0.3.0-alpha.1

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/es/index.js CHANGED
@@ -2,9 +2,9 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value;
3
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
5
- import { Disposable, createIdentifier, Inject, Injector, IUniverInstanceService, toDisposable, IContextService, DisposableCollection, CommandType, LocaleService, useDependency, ICommandService, FOCUSING_SHEET, EDITOR_ACTIVATED, UniverInstanceType, RxDisposable, OnLifecycle, LifecycleStages, Plugin, IConfigService } from "@univerjs/core";
5
+ import { createIdentifier, Inject, Injector, Disposable, IUniverInstanceService, IContextService, DisposableCollection, toDisposable, CommandType, LocaleService, useDependency, ICommandService, FOCUSING_SHEET, EDITOR_ACTIVATED, UniverInstanceType, OnLifecycle, LifecycleStages, RxDisposable, Plugin, IConfigService } from "@univerjs/core";
6
6
  import { IConfirmService, IMessageService, useObservable, ILayoutService, KeyCode, MetaKeys, MenuItemType, getMenuHiddenObservable, RibbonStartGroup, ComponentManager, IMenuManagerService, IShortcutService, IDialogService } from "@univerjs/ui";
7
- import { BehaviorSubject, Subject, throttleTime, combineLatest, debounceTime, fromEvent, map, takeUntil } from "rxjs";
7
+ import { throttleTime, BehaviorSubject, combineLatest, debounceTime, Subject, fromEvent, map, takeUntil } from "rxjs";
8
8
  import { RENDER_RAW_FORMULA_KEY } from "@univerjs/engine-render";
9
9
  import require$$0, { forwardRef, useRef, createElement, useCallback, Fragment, useEffect, useMemo, useImperativeHandle } from "react";
10
10
  import { MessageType, InputWithSlot, Pager, Button, FormLayout, Input, Select, FormDualColumnLayout, Checkbox } from "@univerjs/design";
@@ -15,7 +15,7 @@
15
15
  */
16
16
  export { UniverFindReplacePlugin } from './plugin';
17
17
  export { FindReplaceController } from './controllers/find-replace.controller';
18
- export type { IFindComplete, IFindMoveParams, IFindMatch, IFindQuery, IFindReplaceProvider, IReplaceAllResult, } from './services/find-replace.service';
19
- export { FindModel, IFindReplaceService, FindBy, FindScope, FindDirection } from './services/find-replace.service';
20
- export { ReplaceCurrentMatchCommand, ReplaceAllMatchesCommand } from './commands/commands/replace.command';
21
- export { OpenFindDialogOperation, OpenReplaceDialogOperation, GoToNextMatchOperation, GoToPreviousMatchOperation } from './commands/operations/find-replace.operation';
18
+ export type { IFindComplete, IFindMatch, IFindMoveParams, IFindQuery, IFindReplaceProvider, IReplaceAllResult, } from './services/find-replace.service';
19
+ export { FindBy, FindDirection, FindModel, FindScope, IFindReplaceService } from './services/find-replace.service';
20
+ export { ReplaceAllMatchesCommand, ReplaceCurrentMatchCommand } from './commands/commands/replace.command';
21
+ export { GoToNextMatchOperation, GoToPreviousMatchOperation, OpenFindDialogOperation, OpenReplaceDialogOperation } from './commands/operations/find-replace.operation';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/find-replace",
3
- "version": "0.2.15",
3
+ "version": "0.3.0-alpha.1",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -20,9 +20,6 @@
20
20
  "keywords": [
21
21
  "univer"
22
22
  ],
23
- "sideEffects": [
24
- "**/*.css"
25
- ],
26
23
  "exports": {
27
24
  ".": {
28
25
  "import": "./lib/es/index.js",
@@ -52,27 +49,27 @@
52
49
  "peerDependencies": {
53
50
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
54
51
  "rxjs": ">=7.0.0",
55
- "@univerjs/design": "0.2.15",
56
- "@univerjs/engine-render": "0.2.15",
57
- "@univerjs/ui": "0.2.15",
58
- "@univerjs/core": "0.2.15"
52
+ "@univerjs/core": "0.3.0-alpha.1",
53
+ "@univerjs/design": "0.3.0-alpha.1",
54
+ "@univerjs/ui": "0.3.0-alpha.1",
55
+ "@univerjs/engine-render": "0.3.0-alpha.1"
59
56
  },
60
57
  "dependencies": {
61
58
  "@univerjs/icons": "^0.1.78",
62
- "@univerjs/design": "0.2.15",
63
- "@univerjs/engine-formula": "0.2.15",
64
- "@univerjs/core": "0.2.15",
65
- "@univerjs/engine-render": "0.2.15",
66
- "@univerjs/ui": "0.2.15"
59
+ "@univerjs/core": "0.3.0-alpha.1",
60
+ "@univerjs/design": "0.3.0-alpha.1",
61
+ "@univerjs/engine-render": "0.3.0-alpha.1",
62
+ "@univerjs/ui": "0.3.0-alpha.1",
63
+ "@univerjs/engine-formula": "0.3.0-alpha.1"
67
64
  },
68
65
  "devDependencies": {
69
66
  "less": "^4.2.0",
70
67
  "react": "18.3.1",
71
68
  "rxjs": "^7.8.1",
72
69
  "typescript": "^5.6.2",
73
- "vite": "^5.4.4",
74
- "vitest": "^2.0.5",
75
- "@univerjs-infra/shared": "0.2.15"
70
+ "vite": "^5.4.8",
71
+ "vitest": "^2.1.1",
72
+ "@univerjs-infra/shared": "0.3.0-alpha.1"
76
73
  },
77
74
  "univerSpace": {
78
75
  ".": {