@difizen/libro-app 1.0.0 → 1.0.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/es/app-file-command-contribution.d.ts +2 -2
- package/es/app-file-command-contribution.d.ts.map +1 -1
- package/es/app-file-command-contribution.js +1 -1
- package/es/app-open-handler.d.ts +3 -3
- package/es/app-open-handler.d.ts.map +1 -1
- package/es/app-open-handler.js +2 -2
- package/es/app-view.d.ts +1 -1
- package/es/app-view.d.ts.map +1 -1
- package/es/app-view.js +1 -1
- package/es/app-viewer.d.ts +3 -3
- package/es/app-viewer.d.ts.map +1 -1
- package/es/app-viewer.js +2 -2
- package/es/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +1 -1
- package/package.json +3 -3
- package/src/app-file-command-contribution.tsx +2 -2
- package/src/app-open-handler.ts +3 -3
- package/src/app-view.tsx +1 -1
- package/src/app-viewer.tsx +3 -3
- package/src/module.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JupyterFileService } from '@difizen/libro-jupyter';
|
|
2
|
-
import type { CommandRegistry, MenuRegistry, ViewManager } from '
|
|
3
|
-
import { ConfigurationService, CommandContribution, MenuContribution, ModalService, OpenerService } from '
|
|
2
|
+
import type { CommandRegistry, MenuRegistry, ViewManager } from '@difizen/libro-common/app';
|
|
3
|
+
import { ConfigurationService, CommandContribution, MenuContribution, ModalService, OpenerService } from '@difizen/libro-common/app';
|
|
4
4
|
export declare const AppFileCommands: {
|
|
5
5
|
OPEN_FILE_BY_LIBRO_APP: {
|
|
6
6
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-file-command-contribution.d.ts","sourceRoot":"","sources":["../src/app-file-command-contribution.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGvF,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,WAAW,EACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"app-file-command-contribution.d.ts","sourceRoot":"","sources":["../src/app-file-command-contribution.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGvF,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,WAAW,EACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EAGnB,gBAAgB,EAChB,YAAY,EACZ,aAAa,EAEd,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC;AAEF,qBAGa,0BACX,YAAW,mBAAmB,EAAE,gBAAgB;IAEhD,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC;IACP,WAAW,EAAE,kBAAkB,CAAC;IACtC,YAAY,EAAE,YAAY,CAAC;IAC1B,SAAS,CAAC,WAAW,EAAE,aAAa,CAAC;IAC9B,oBAAoB,EAAE,oBAAoB,CAAC;IAEzE,aAAa,CAAC,IAAI,EAAE,YAAY;IAQhC,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;CAgCjD"}
|
|
@@ -11,7 +11,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
11
11
|
import { l10n } from '@difizen/libro-common/l10n';
|
|
12
12
|
import { FileTreeContextMenuGroups, JupyterFileService } from '@difizen/libro-jupyter';
|
|
13
13
|
import { message } from 'antd';
|
|
14
|
-
import { ConfigurationService, CommandContribution, FileStatNode, inject, MenuContribution, ModalService, OpenerService, singleton } from
|
|
14
|
+
import { ConfigurationService, CommandContribution, FileStatNode, inject, MenuContribution, ModalService, OpenerService, singleton } from '@difizen/libro-common/app';
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
16
|
export var AppFileCommands = {
|
|
17
17
|
OPEN_FILE_BY_LIBRO_APP: {
|
package/es/app-open-handler.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { URI, ViewOpenHandlerOptions } from '
|
|
2
|
-
import { ConfigurationService } from '
|
|
3
|
-
import { NavigatableViewOpenHandler } from '
|
|
1
|
+
import type { URI, ViewOpenHandlerOptions } from '@difizen/libro-common/app';
|
|
2
|
+
import { ConfigurationService } from '@difizen/libro-common/app';
|
|
3
|
+
import { NavigatableViewOpenHandler } from '@difizen/libro-common/app';
|
|
4
4
|
import type { LibroAppViewer } from './app-viewer.js';
|
|
5
5
|
interface AppOpenHandlerOptions extends ViewOpenHandlerOptions {
|
|
6
6
|
isApp?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-open-handler.d.ts","sourceRoot":"","sources":["../src/app-open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"app-open-handler.d.ts","sourceRoot":"","sources":["../src/app-open-handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAU,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACL,0BAA0B,EAI3B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD,UAAU,qBAAsB,SAAQ,sBAAsB;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AACD,qBACa,mBAAoB,SAAQ,0BAA0B,CAAC,cAAc,CAAC;IACnD,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEnF,EAAE,SAAoB;IAGtB,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,qBAAqB;IAOrC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,qBAA0B;CAelE"}
|
package/es/app-open-handler.js
CHANGED
|
@@ -27,8 +27,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
27
27
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
28
28
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
29
29
|
import { LibroJupyterConfiguration } from '@difizen/libro-jupyter';
|
|
30
|
-
import { ConfigurationService, inject } from
|
|
31
|
-
import { NavigatableViewOpenHandler, OpenHandler, singleton, Priority } from
|
|
30
|
+
import { ConfigurationService, inject } from '@difizen/libro-common/app';
|
|
31
|
+
import { NavigatableViewOpenHandler, OpenHandler, singleton, Priority } from '@difizen/libro-common/app';
|
|
32
32
|
import { AppViewerFactory } from "./protocol.js";
|
|
33
33
|
export var LibroAppOpenHandler = (_dec = singleton({
|
|
34
34
|
contrib: OpenHandler
|
package/es/app-view.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
2
|
import type { LibroView } from '@difizen/libro-jupyter';
|
|
3
3
|
import { LibroService } from '@difizen/libro-jupyter';
|
|
4
|
-
import { BaseView } from '
|
|
4
|
+
import { BaseView } from '@difizen/libro-common/app';
|
|
5
5
|
import './index.less';
|
|
6
6
|
export declare const AppViewComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
7
7
|
export declare class LibroAppView extends BaseView {
|
package/es/app-view.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-view.d.ts","sourceRoot":"","sources":["../src/app-view.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAEL,YAAY,EAKb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,QAAQ,EAST,MAAM,
|
|
1
|
+
{"version":3,"file":"app-view.d.ts","sourceRoot":"","sources":["../src/app-view.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAEL,YAAY,EAKb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,QAAQ,EAST,MAAM,2BAA2B,CAAC;AAMnC,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,gBAAgB,mFA2E3B,CAAC;AAEH,qBAEa,YAAa,SAAQ,QAAQ;IAClB,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAClD,IAAI,oFAAoB;IAEzB,SAAS,CAAC,EAAE,SAAS,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,SAAS;gBAEmB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAKhD,WAAW,IAAI,IAAI;cAIZ,oBAAoB;CAgBrC"}
|
package/es/app-view.js
CHANGED
|
@@ -19,7 +19,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
19
19
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
20
20
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
21
21
|
import { ExecutableCellView, LibroService, CellCollapsible, ArrowDown, ArrowRight, PlusOutlined } from '@difizen/libro-jupyter';
|
|
22
|
-
import { BaseView, inject, prop, transient, useInject, view, ViewInstance, ViewOption, ViewRender } from
|
|
22
|
+
import { BaseView, inject, prop, transient, useInject, view, ViewInstance, ViewOption, ViewRender } from '@difizen/libro-common/app';
|
|
23
23
|
import { l10n } from '@difizen/libro-common/l10n';
|
|
24
24
|
import { Radio, Button } from 'antd';
|
|
25
25
|
import { forwardRef } from 'react';
|
package/es/app-viewer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" resolution-mode="require"/>
|
|
2
|
-
import type { NavigatableView } from '
|
|
3
|
-
import { ViewManager } from '
|
|
4
|
-
import { BaseView, LabelProvider, Deferred, URI, CommandRegistry } from '
|
|
2
|
+
import type { NavigatableView } from '@difizen/libro-common/app';
|
|
3
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
4
|
+
import { BaseView, LabelProvider, Deferred, URI, CommandRegistry } from '@difizen/libro-common/app';
|
|
5
5
|
import './index.less';
|
|
6
6
|
import { LibroAppView } from './app-view.js';
|
|
7
7
|
export declare const AppViewerComponent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
package/es/app-viewer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-viewer.d.ts","sourceRoot":"","sources":["../src/app-viewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"app-viewer.d.ts","sourceRoot":"","sources":["../src/app-viewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAc,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EACL,QAAQ,EAER,aAAa,EASb,QAAQ,EACR,GAAG,EACH,eAAe,EAChB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,eAAO,MAAM,kBAAkB,mFAQ7B,CAAC;AAEH,qBAEa,cAAe,SAAQ,QAAS,YAAW,eAAe;IAC5C,eAAe,EAAE,eAAe,CAAC;IAEjD,IAAI,oFAAsB;IAGnC,OAAO,CAAC,EAAE,YAAY,CAAC;IAEf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE1B,SAAS,CAAC,KAAK,iBAAwB;IAEvC,IAAI,KAAK,kBAER;gBAGqB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EACtB,aAAa,EAAE,aAAa,EAC9B,WAAW,EAAE,WAAW;IAqB/C,cAAc,IAAI,GAAG,GAAG,SAAS;IAIjC,eAAe,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS;CAInD"}
|
package/es/app-viewer.js
CHANGED
|
@@ -15,8 +15,8 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
17
17
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
18
|
-
import { ViewRender, ViewManager } from
|
|
19
|
-
import { BaseView, inject, LabelProvider, prop, transient, URI as VScodeURI, URIIconReference, useInject, view, ViewInstance, ViewOption, Deferred, URI, CommandRegistry } from
|
|
18
|
+
import { ViewRender, ViewManager } from '@difizen/libro-common/app';
|
|
19
|
+
import { BaseView, inject, LabelProvider, prop, transient, URI as VScodeURI, URIIconReference, useInject, view, ViewInstance, ViewOption, Deferred, URI, CommandRegistry } from '@difizen/libro-common/app';
|
|
20
20
|
import { forwardRef } from 'react';
|
|
21
21
|
import "./index.less";
|
|
22
22
|
import { LibroAppView } from "./app-view.js";
|
package/es/module.d.ts
CHANGED
package/es/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAOvD,eAAO,MAAM,cAAc,YAK1B,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ManaModule } from
|
|
1
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
2
2
|
import { AppFileCommandContribution } from "./app-file-command-contribution.js";
|
|
3
3
|
import { LibroAppOpenHandler } from "./app-open-handler.js";
|
|
4
4
|
import { LibroAppView } from "./app-view.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@difizen/libro-jupyter": "^1.0.
|
|
36
|
-
"@difizen/libro-common": "^1.0.
|
|
35
|
+
"@difizen/libro-jupyter": "^1.0.1",
|
|
36
|
+
"@difizen/libro-common": "^1.0.1",
|
|
37
37
|
"@ant-design/icons": "^5.4.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -6,7 +6,7 @@ import type {
|
|
|
6
6
|
CommandRegistry,
|
|
7
7
|
MenuRegistry,
|
|
8
8
|
ViewManager,
|
|
9
|
-
} from '
|
|
9
|
+
} from '@difizen/libro-common/app';
|
|
10
10
|
import {
|
|
11
11
|
ConfigurationService,
|
|
12
12
|
CommandContribution,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
ModalService,
|
|
17
17
|
OpenerService,
|
|
18
18
|
singleton,
|
|
19
|
-
} from '
|
|
19
|
+
} from '@difizen/libro-common/app';
|
|
20
20
|
|
|
21
21
|
export const AppFileCommands = {
|
|
22
22
|
OPEN_FILE_BY_LIBRO_APP: {
|
package/src/app-open-handler.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LibroJupyterConfiguration } from '@difizen/libro-jupyter';
|
|
2
|
-
import type { URI, ViewOpenHandlerOptions } from '
|
|
3
|
-
import { ConfigurationService, inject } from '
|
|
2
|
+
import type { URI, ViewOpenHandlerOptions } from '@difizen/libro-common/app';
|
|
3
|
+
import { ConfigurationService, inject } from '@difizen/libro-common/app';
|
|
4
4
|
import {
|
|
5
5
|
NavigatableViewOpenHandler,
|
|
6
6
|
OpenHandler,
|
|
7
7
|
singleton,
|
|
8
8
|
Priority,
|
|
9
|
-
} from '
|
|
9
|
+
} from '@difizen/libro-common/app';
|
|
10
10
|
|
|
11
11
|
import type { LibroAppViewer } from './app-viewer.js';
|
|
12
12
|
import { AppViewerFactory } from './protocol.js';
|
package/src/app-view.tsx
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
ViewInstance,
|
|
18
18
|
ViewOption,
|
|
19
19
|
ViewRender,
|
|
20
|
-
} from '
|
|
20
|
+
} from '@difizen/libro-common/app';
|
|
21
21
|
import { l10n } from '@difizen/libro-common/l10n';
|
|
22
22
|
import type { RadioChangeEvent } from 'antd';
|
|
23
23
|
import { Radio, Button } from 'antd';
|
package/src/app-viewer.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { NavigatableView } from '
|
|
2
|
-
import { ViewRender, ViewManager } from '
|
|
1
|
+
import type { NavigatableView } from '@difizen/libro-common/app';
|
|
2
|
+
import { ViewRender, ViewManager } from '@difizen/libro-common/app';
|
|
3
3
|
import {
|
|
4
4
|
BaseView,
|
|
5
5
|
inject,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
Deferred,
|
|
16
16
|
URI,
|
|
17
17
|
CommandRegistry,
|
|
18
|
-
} from '
|
|
18
|
+
} from '@difizen/libro-common/app';
|
|
19
19
|
import { forwardRef } from 'react';
|
|
20
20
|
|
|
21
21
|
import './index.less';
|
package/src/module.ts
CHANGED