@opensumi/ide-toolbar 2.27.3-rc-1708395495.0 → 2.27.3-rc-1710386185.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.
- package/lib/browser/index.d.ts +2 -2
- package/lib/browser/index.d.ts.map +1 -1
- package/lib/browser/toolbar.view.service.d.ts +1 -1
- package/lib/browser/toolbar.view.service.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/browser/index.ts +4 -4
- package/src/browser/toolbar.view.service.tsx +6 -6
- package/src/browser/toolbar.view.tsx +1 -1
package/lib/browser/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Injector, Provider } from '@opensumi/di';
|
|
2
|
+
import { AppConfig, BrowserModule, ClientAppContribution, ContributionProvider, IToolbarRegistry, ToolBarActionContribution } from '@opensumi/ide-core-browser';
|
|
3
3
|
import { ComponentContribution, ComponentRegistry } from '@opensumi/ide-core-browser/lib/layout';
|
|
4
4
|
import { IExtensionsSchemaService } from '@opensumi/ide-core-common';
|
|
5
5
|
import { ToolBarContribution } from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,QAAQ,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACzF,OAAO,EACL,SAAS,EACT,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EAEpB,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AACjG,OAAO,EAAiB,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAIpF,OAAO,EAAuB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnE,cAAc,SAAS,CAAC;AAExB,qBACa,aAAc,SAAQ,aAAa;IAC9C,SAAS,EAAE,QAAQ,EAAE,CAMnB;IACF,oBAAoB,SAAuB;CAC5C;AAED,qBACa,yBACX,YAAW,qBAAqB,EAAE,qBAAqB,EAAE,yBAAyB;IAGlF,MAAM,EAAE,SAAS,CAAC;IAGlB,QAAQ,EAAE,QAAQ,CAAC;IAGnB,aAAa,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;IAGzD,SAAS,CAAC,QAAQ,CAAC,sBAAsB,EAAE,wBAAwB,CAAC;IAEpE,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI;IAOpD,OAAO;IAgCP,sBAAsB,CAAC,QAAQ,EAAE,gBAAgB;CAKlD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Disposable, IToolbarRegistry } from '@opensumi/ide-core-browser';
|
|
2
2
|
import { IEventBus } from '@opensumi/ide-core-common';
|
|
3
|
-
import {
|
|
3
|
+
import { IToolBarAction, IToolBarComponent, IToolBarElementHandle, IToolBarViewService, ToolBarPosition } from './types';
|
|
4
4
|
export declare class ToolBarViewService implements IToolBarViewService {
|
|
5
5
|
registry: IToolbarRegistry;
|
|
6
6
|
eventBus: IEventBus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.view.service.d.ts","sourceRoot":"","sources":["../../src/browser/toolbar.view.service.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,UAAU,EACV,gBAAgB,EAGjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"toolbar.view.service.d.ts","sourceRoot":"","sources":["../../src/browser/toolbar.view.service.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,UAAU,EACV,gBAAgB,EAGjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EAChB,MAAM,SAAS,CAAC;AAQjB,qBACa,kBAAmB,YAAW,mBAAmB;IAE5D,QAAQ,EAAE,gBAAgB,CAAC;IAG3B,QAAQ,EAAE,SAAS,CAAC;IAEpB,OAAO,CAAC,WAAW,CAAK;IAExB,sBAAsB,CAAC,OAAO,EAAE,cAAc,GAAG,iBAAiB;IAqDlE;;OAEG;IACH,kBAAkB,CAAC,QAAQ,EAAE,eAAe,GAAG,CAAC,iBAAiB,GAAG,cAAc,CAAC,EAAE;CAWtF;AAED,qBAAa,oBAAqB,SAAQ,UAAW,YAAW,qBAAqB;aAIvD,OAAO,EAAE,cAAc,GAAG,iBAAiB;IAFhE,OAAO,UAAQ;gBAEM,OAAO,EAAE,cAAc,GAAG,iBAAiB;IAKvE,UAAU,CAAC,OAAO,EAAE,OAAO;CAG5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-toolbar",
|
|
3
|
-
"version": "2.27.3-rc-
|
|
3
|
+
"version": "2.27.3-rc-1710386185.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"src"
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"url": "git@github.com:opensumi/core.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@opensumi/ide-core-common": "2.27.3-rc-
|
|
20
|
+
"@opensumi/ide-core-common": "2.27.3-rc-1710386185.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@opensumi/ide-core-browser": "2.27.3-rc-
|
|
23
|
+
"@opensumi/ide-core-browser": "2.27.3-rc-1710386185.0",
|
|
24
24
|
"@opensumi/ide-dev-tool": "1.3.1"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "466204f2cce511e0db35f0c6f28afc210ff65ccc"
|
|
27
27
|
}
|
package/src/browser/index.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Autowired, INJECTOR_TOKEN, Injectable, Injector, Provider } from '@opensumi/di';
|
|
2
2
|
import {
|
|
3
|
-
BrowserModule,
|
|
4
|
-
Domain,
|
|
5
3
|
AppConfig,
|
|
4
|
+
BrowserModule,
|
|
6
5
|
ClientAppContribution,
|
|
7
6
|
ContributionProvider,
|
|
8
|
-
|
|
7
|
+
Domain,
|
|
9
8
|
IToolbarRegistry,
|
|
9
|
+
ToolBarActionContribution,
|
|
10
10
|
} from '@opensumi/ide-core-browser';
|
|
11
11
|
import { ComponentContribution, ComponentRegistry } from '@opensumi/ide-core-browser/lib/layout';
|
|
12
12
|
import { FrameworkKind, IExtensionsSchemaService } from '@opensumi/ide-core-common';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { makeObservable, observable } from 'mobx';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { Autowired, Injectable } from '@opensumi/di';
|
|
5
5
|
import {
|
|
6
6
|
Disposable,
|
|
7
7
|
IToolbarRegistry,
|
|
8
|
-
createToolbarActionBtn,
|
|
9
8
|
ToolbarActionBtnClickEvent,
|
|
9
|
+
createToolbarActionBtn,
|
|
10
10
|
} from '@opensumi/ide-core-browser';
|
|
11
11
|
import { IEventBus } from '@opensumi/ide-core-common';
|
|
12
12
|
|
|
13
13
|
import {
|
|
14
|
-
IToolBarViewService,
|
|
15
|
-
ToolBarPosition,
|
|
16
|
-
IToolBarElementHandle,
|
|
17
14
|
IToolBarAction,
|
|
18
15
|
IToolBarComponent,
|
|
16
|
+
IToolBarElementHandle,
|
|
17
|
+
IToolBarViewService,
|
|
18
|
+
ToolBarPosition,
|
|
19
19
|
} from './types';
|
|
20
20
|
|
|
21
21
|
const locationToString = {
|
|
@@ -3,7 +3,7 @@ import debounce from 'lodash/debounce';
|
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { Disposable, ToolbarLocation } from '@opensumi/ide-core-browser';
|
|
7
7
|
|
|
8
8
|
import styles from './toolbar.module.less';
|
|
9
9
|
|