@univerjs/ui 0.4.1 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/ui",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal plugin UI manager",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -52,15 +52,15 @@
52
52
  "rxjs": ">=7.0.0"
53
53
  },
54
54
  "dependencies": {
55
- "@univerjs/icons": "^0.1.79",
55
+ "@univerjs/icons": "^0.1.84",
56
56
  "clsx": "^2.1.1",
57
57
  "localforage": "^1.10.0",
58
58
  "rc-notification": "^5.6.2",
59
59
  "rc-util": "^5.43.0",
60
- "@univerjs/core": "0.4.1",
61
- "@univerjs/design": "0.4.1",
62
- "@univerjs/engine-render": "0.4.1",
63
- "@univerjs/engine-formula": "0.4.1"
60
+ "@univerjs/core": "0.4.2",
61
+ "@univerjs/design": "0.4.2",
62
+ "@univerjs/engine-formula": "0.4.2",
63
+ "@univerjs/engine-render": "0.4.2"
64
64
  },
65
65
  "optionalDependencies": {
66
66
  "vue": ">=3.0.0"
@@ -79,7 +79,7 @@
79
79
  "vite": "^5.4.8",
80
80
  "vitest": "^2.1.2",
81
81
  "vue": "^3.5.11",
82
- "@univerjs-infra/shared": "0.4.1"
82
+ "@univerjs-infra/shared": "0.4.2"
83
83
  },
84
84
  "univerSpace": {
85
85
  ".": {
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
@@ -1,55 +0,0 @@
1
- import { IDisposable, Disposable } from '@univerjs/core';
2
- import { Observable } from 'rxjs';
3
- export interface IProgressCount {
4
- count: number;
5
- }
6
- export interface IProgressStep {
7
- step: number;
8
- }
9
- export interface IProgressService {
10
- progressChange$: Observable<IProgressStep>;
11
- progressVisible$: Observable<boolean>;
12
- /**
13
- * Append subtask quantity during loading, when the number of added subtasks reaches the total number
14
- * of tasks, the loading is completed.
15
- * @param task
16
- */
17
- pushTask(task: IProgressCount): void;
18
- /**
19
- * Insert a new number of tasks, do not set the start loading mechanism, when insertTaskCount finds that the
20
- * original number of tasks is 0, it starts loading
21
- * @param count
22
- this._progress$.complete();
23
- */
24
- insertTaskCount(count: number): void;
25
- /**
26
- * Complete loading, hide the progress bar after automatically progressing to 100%
27
- */
28
- complete(): void;
29
- /**
30
- * Interrupt and hide the progress bar directly
31
- */
32
- stop(): void;
33
- /**
34
- * Get the total number of tasks
35
- */
36
- getTaskCount(): number;
37
- }
38
- export declare class ProgressService extends Disposable implements IProgressService, IDisposable {
39
- /**
40
- * The total number of tasks remaining
41
- */
42
- private _taskCount;
43
- private readonly _progressChange$;
44
- private readonly _progressVisible$;
45
- readonly progressChange$: Observable<IProgressStep>;
46
- readonly progressVisible$: Observable<boolean>;
47
- dispose(): void;
48
- pushTask(task: IProgressCount): void;
49
- insertTaskCount(count: number): void;
50
- complete(): void;
51
- stop(): void;
52
- getTaskCount(): number;
53
- private _clear;
54
- }
55
- export declare const IProgressService: import('@wendellhu/redi').IdentifierDecorator<IProgressService>;