@difizen/libro-output 0.3.3 → 1.0.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/es/display-data-output/display-data-output-contribution.d.ts +1 -1
- package/es/display-data-output/display-data-output-contribution.d.ts.map +1 -1
- package/es/display-data-output/display-data-output-contribution.js +2 -2
- package/es/display-data-output/display-data-output-model.js +2 -2
- package/es/display-data-output/display-data-output-module.d.ts +1 -1
- package/es/display-data-output/display-data-output-module.d.ts.map +1 -1
- package/es/display-data-output/display-data-output-module.js +1 -1
- package/es/error-output/error-output-contribution.d.ts +1 -1
- package/es/error-output/error-output-contribution.d.ts.map +1 -1
- package/es/error-output/error-output-contribution.js +2 -2
- package/es/error-output/error-output-model.js +2 -2
- package/es/error-output/error-output-module.d.ts +1 -1
- package/es/error-output/error-output-module.d.ts.map +1 -1
- package/es/error-output/error-output-module.js +1 -1
- package/es/index.less +3 -3
- package/es/stream-output/stream-output-contribution.d.ts +1 -1
- package/es/stream-output/stream-output-contribution.d.ts.map +1 -1
- package/es/stream-output/stream-output-contribution.js +2 -2
- package/es/stream-output/stream-output-model.js +2 -2
- package/es/stream-output/stream-output-module.d.ts +1 -1
- package/es/stream-output/stream-output-module.d.ts.map +1 -1
- package/es/stream-output/stream-output-module.js +1 -1
- package/package.json +4 -5
- package/src/display-data-output/display-data-output-contribution.ts +2 -2
- package/src/display-data-output/display-data-output-model.tsx +2 -2
- package/src/display-data-output/display-data-output-module.ts +1 -1
- package/src/error-output/error-output-contribution.ts +2 -2
- package/src/error-output/error-output-model.tsx +2 -2
- package/src/error-output/error-output-module.ts +1 -1
- package/src/index.less +3 -3
- package/src/stream-output/stream-output-contribution.ts +2 -2
- package/src/stream-output/stream-output-model.tsx +2 -2
- package/src/stream-output/stream-output-module.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IOutput } from '@difizen/libro-common';
|
|
2
2
|
import type { IOutputOptions } from '@difizen/libro-core';
|
|
3
3
|
import { OutputContribution } from '@difizen/libro-core';
|
|
4
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
5
5
|
import { DisplayDataOutputModel } from './display-data-output-model.js';
|
|
6
6
|
export declare class DisplayDataOutputContribution implements OutputContribution {
|
|
7
7
|
viewManager: ViewManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display-data-output-contribution.d.ts","sourceRoot":"","sources":["../../src/display-data-output/display-data-output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"display-data-output-contribution.d.ts","sourceRoot":"","sources":["../../src/display-data-output/display-data-output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,qBACa,6BAA8B,YAAW,kBAAkB;IACjD,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,WAAY,OAAO,aAQ1B;IACF,OAAO,CAAC,MAAM,EAAE,cAAc;CAG/B"}
|
|
@@ -9,8 +9,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
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; }
|
|
10
10
|
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.'); }
|
|
11
11
|
import { OutputContribution } from '@difizen/libro-core';
|
|
12
|
-
import { inject, singleton } from '@difizen/
|
|
13
|
-
import { ViewManager } from '@difizen/
|
|
12
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
13
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
14
14
|
import { DisplayDataOutputModel } from "./display-data-output-model.js";
|
|
15
15
|
export var DisplayDataOutputContribution = (_dec = singleton({
|
|
16
16
|
contrib: OutputContribution
|
|
@@ -19,8 +19,8 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
19
19
|
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.'); }
|
|
20
20
|
import { LibroOutputView } from '@difizen/libro-core';
|
|
21
21
|
import { RenderMimeRegistry } from '@difizen/libro-rendermime';
|
|
22
|
-
import { getOrigin, useInject, view, ViewInstance, ViewOption } from '@difizen/
|
|
23
|
-
import { inject, transient } from '@difizen/
|
|
22
|
+
import { getOrigin, useInject, view, ViewInstance, ViewOption } from '@difizen/libro-common/app';
|
|
23
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
25
|
import { getBundleOptions } from "../output-utils.js";
|
|
26
26
|
import "../index.less";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display-data-output-module.d.ts","sourceRoot":"","sources":["../../src/display-data-output/display-data-output-module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"display-data-output-module.d.ts","sourceRoot":"","sources":["../../src/display-data-output/display-data-output-module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,uBAAuB,YAEY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OutputModule } from '@difizen/libro-core';
|
|
2
2
|
import { LibroRenderMimeModule } from '@difizen/libro-rendermime';
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
import { DisplayDataOutputContribution } from "./display-data-output-contribution.js";
|
|
5
5
|
import { DisplayDataOutputModel } from "./display-data-output-model.js";
|
|
6
6
|
export var DisplayDataOutputModule = ManaModule.create().register(DisplayDataOutputModel, DisplayDataOutputContribution).dependOn(OutputModule, LibroRenderMimeModule);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IOutput } from '@difizen/libro-common';
|
|
2
2
|
import type { IOutputOptions } from '@difizen/libro-core';
|
|
3
3
|
import { OutputContribution } from '@difizen/libro-core';
|
|
4
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
5
5
|
import { ErrorOutputModel } from './error-output-model.js';
|
|
6
6
|
export declare class ErrorOutputContribution implements OutputContribution {
|
|
7
7
|
viewManager: ViewManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-output-contribution.d.ts","sourceRoot":"","sources":["../../src/error-output/error-output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"error-output-contribution.d.ts","sourceRoot":"","sources":["../../src/error-output/error-output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,qBACa,uBAAwB,YAAW,kBAAkB;IAC3C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,WAAY,OAAO,aAK1B;IACF,OAAO,CAAC,MAAM,EAAE,cAAc;CAG/B"}
|
|
@@ -9,8 +9,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
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; }
|
|
10
10
|
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.'); }
|
|
11
11
|
import { OutputContribution } from '@difizen/libro-core';
|
|
12
|
-
import { inject, singleton } from '@difizen/
|
|
13
|
-
import { ViewManager } from '@difizen/
|
|
12
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
13
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
14
14
|
import { ErrorOutputModel } from "./error-output-model.js";
|
|
15
15
|
export var ErrorOutputContribution = (_dec = singleton({
|
|
16
16
|
contrib: OutputContribution
|
|
@@ -18,8 +18,8 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
18
18
|
import { defaultSanitizer } from '@difizen/libro-common';
|
|
19
19
|
import { LibroOutputView } from '@difizen/libro-core';
|
|
20
20
|
import { RenderMimeRegistry, renderText } from '@difizen/libro-rendermime';
|
|
21
|
-
import { inject, transient } from '@difizen/
|
|
22
|
-
import { getOrigin, prop, useInject, view, ViewInstance, ViewOption } from '@difizen/
|
|
21
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
22
|
+
import { getOrigin, prop, useInject, view, ViewInstance, ViewOption } from '@difizen/libro-common/app';
|
|
23
23
|
import { Button } from 'antd';
|
|
24
24
|
import { forwardRef, createRef, useEffect } from 'react';
|
|
25
25
|
import "../index.less";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-output-module.d.ts","sourceRoot":"","sources":["../../src/error-output/error-output-module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"error-output-module.d.ts","sourceRoot":"","sources":["../../src/error-output/error-output-module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,iBAAiB,YAEkB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OutputModule } from '@difizen/libro-core';
|
|
2
2
|
import { LibroRenderMimeModule } from '@difizen/libro-rendermime';
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
import { ErrorOutputContribution } from "./error-output-contribution.js";
|
|
5
5
|
import { ErrorOutputModel } from "./error-output-model.js";
|
|
6
6
|
export var ErrorOutputModule = ManaModule.create().register(ErrorOutputModel, ErrorOutputContribution).dependOn(OutputModule, LibroRenderMimeModule);
|
package/es/index.less
CHANGED
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
|
|
150
150
|
/* Defaults use Material Design specification */
|
|
151
151
|
--jp-content-font-color1: rgba(0, 0, 0, 87%);
|
|
152
|
-
--jp-content-font-family:
|
|
153
|
-
|
|
154
|
-
'Segoe UI Symbol';
|
|
152
|
+
--jp-content-font-family:
|
|
153
|
+
system-ui, -apple-system, blinkmacsystemfont, 'Segoe UI', helvetica, arial,
|
|
154
|
+
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
155
155
|
|
|
156
156
|
/*
|
|
157
157
|
* Code Fonts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IOutput } from '@difizen/libro-common';
|
|
2
2
|
import type { IOutputOptions } from '@difizen/libro-core';
|
|
3
3
|
import { OutputContribution } from '@difizen/libro-core';
|
|
4
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
5
5
|
import { StreamOutputModel } from './stream-output-model.js';
|
|
6
6
|
export declare class StreamOutputContribution implements OutputContribution {
|
|
7
7
|
viewManager: ViewManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream-output-contribution.d.ts","sourceRoot":"","sources":["../../src/stream-output/stream-output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"stream-output-contribution.d.ts","sourceRoot":"","sources":["../../src/stream-output/stream-output-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,qBACa,wBAAyB,YAAW,kBAAkB;IAC5C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,WAAY,OAAO,aAK1B;IACF,OAAO,CAAC,MAAM,EAAE,cAAc;CAG/B"}
|
|
@@ -9,8 +9,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
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; }
|
|
10
10
|
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.'); }
|
|
11
11
|
import { OutputContribution } from '@difizen/libro-core';
|
|
12
|
-
import { inject, singleton } from '@difizen/
|
|
13
|
-
import { ViewManager } from '@difizen/
|
|
12
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
13
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
14
14
|
import { StreamOutputModel } from "./stream-output-model.js";
|
|
15
15
|
export var StreamOutputContribution = (_dec = singleton({
|
|
16
16
|
contrib: OutputContribution
|
|
@@ -17,8 +17,8 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
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
18
|
import { LibroOutputView } from '@difizen/libro-core';
|
|
19
19
|
import { RenderMimeRegistry } from '@difizen/libro-rendermime';
|
|
20
|
-
import { inject, transient } from '@difizen/
|
|
21
|
-
import { getOrigin, useInject, view, ViewInstance, ViewOption } from '@difizen/
|
|
20
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
21
|
+
import { getOrigin, useInject, view, ViewInstance, ViewOption } from '@difizen/libro-common/app';
|
|
22
22
|
import { forwardRef } from 'react';
|
|
23
23
|
import "../index.less";
|
|
24
24
|
import { getBundleOptions } from "../output-utils.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream-output-module.d.ts","sourceRoot":"","sources":["../../src/stream-output/stream-output-module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"stream-output-module.d.ts","sourceRoot":"","sources":["../../src/stream-output/stream-output-module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,kBAAkB,YAEiB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OutputModule } from '@difizen/libro-core';
|
|
2
2
|
import { LibroRenderMimeModule } from '@difizen/libro-rendermime';
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
import { StreamOutputContribution } from "./stream-output-contribution.js";
|
|
5
5
|
import { StreamOutputModel } from "./stream-output-model.js";
|
|
6
6
|
export var StreamOutputModule = ManaModule.create().register(StreamOutputModel, StreamOutputContribution).dependOn(OutputModule, LibroRenderMimeModule);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-output",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -32,10 +32,9 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@difizen/libro-common": "^0.
|
|
36
|
-
"@difizen/libro-core": "^0.
|
|
37
|
-
"@difizen/libro-rendermime": "^0.
|
|
38
|
-
"@difizen/mana-app": "latest",
|
|
35
|
+
"@difizen/libro-common": "^1.0.0",
|
|
36
|
+
"@difizen/libro-core": "^1.0.0",
|
|
37
|
+
"@difizen/libro-rendermime": "^1.0.0",
|
|
39
38
|
"markdown-it": "^13.0.1"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { IOutput } from '@difizen/libro-common';
|
|
2
2
|
import type { IOutputOptions } from '@difizen/libro-core';
|
|
3
3
|
import { OutputContribution } from '@difizen/libro-core';
|
|
4
|
-
import { inject, singleton } from '@difizen/
|
|
5
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
5
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
6
6
|
|
|
7
7
|
import { DisplayDataOutputModel } from './display-data-output-model.js';
|
|
8
8
|
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
view,
|
|
10
10
|
ViewInstance,
|
|
11
11
|
ViewOption,
|
|
12
|
-
} from '@difizen/
|
|
13
|
-
import { inject, transient } from '@difizen/
|
|
12
|
+
} from '@difizen/libro-common/app';
|
|
13
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
14
14
|
import { forwardRef } from 'react';
|
|
15
15
|
|
|
16
16
|
import { getBundleOptions } from '../output-utils.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OutputModule } from '@difizen/libro-core';
|
|
2
2
|
import { LibroRenderMimeModule } from '@difizen/libro-rendermime';
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import { DisplayDataOutputContribution } from './display-data-output-contribution.js';
|
|
6
6
|
import { DisplayDataOutputModel } from './display-data-output-model.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { IOutput } from '@difizen/libro-common';
|
|
2
2
|
import type { IOutputOptions } from '@difizen/libro-core';
|
|
3
3
|
import { OutputContribution } from '@difizen/libro-core';
|
|
4
|
-
import { inject, singleton } from '@difizen/
|
|
5
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
5
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
6
6
|
|
|
7
7
|
import { ErrorOutputModel } from './error-output-model.js';
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ import { LibroOutputView } from '@difizen/libro-core';
|
|
|
4
4
|
import type { BaseOutputView, IOutputOptions } from '@difizen/libro-core';
|
|
5
5
|
import { RenderMimeRegistry, renderText } from '@difizen/libro-rendermime';
|
|
6
6
|
import type { IRenderMimeRegistry } from '@difizen/libro-rendermime';
|
|
7
|
-
import { inject, transient } from '@difizen/
|
|
7
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
8
8
|
import {
|
|
9
9
|
getOrigin,
|
|
10
10
|
prop,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
view,
|
|
13
13
|
ViewInstance,
|
|
14
14
|
ViewOption,
|
|
15
|
-
} from '@difizen/
|
|
15
|
+
} from '@difizen/libro-common/app';
|
|
16
16
|
import { Button } from 'antd';
|
|
17
17
|
import { forwardRef, createRef, useEffect } from 'react';
|
|
18
18
|
import '../index.less';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OutputModule } from '@difizen/libro-core';
|
|
2
2
|
import { LibroRenderMimeModule } from '@difizen/libro-rendermime';
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import { ErrorOutputContribution } from './error-output-contribution.js';
|
|
6
6
|
import { ErrorOutputModel } from './error-output-model.js';
|
package/src/index.less
CHANGED
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
|
|
150
150
|
/* Defaults use Material Design specification */
|
|
151
151
|
--jp-content-font-color1: rgba(0, 0, 0, 87%);
|
|
152
|
-
--jp-content-font-family:
|
|
153
|
-
|
|
154
|
-
'Segoe UI Symbol';
|
|
152
|
+
--jp-content-font-family:
|
|
153
|
+
system-ui, -apple-system, blinkmacsystemfont, 'Segoe UI', helvetica, arial,
|
|
154
|
+
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
155
155
|
|
|
156
156
|
/*
|
|
157
157
|
* Code Fonts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { IOutput } from '@difizen/libro-common';
|
|
2
2
|
import type { IOutputOptions } from '@difizen/libro-core';
|
|
3
3
|
import { OutputContribution } from '@difizen/libro-core';
|
|
4
|
-
import { inject, singleton } from '@difizen/
|
|
5
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
5
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
6
6
|
|
|
7
7
|
import { StreamOutputModel } from './stream-output-model.js';
|
|
8
8
|
|
|
@@ -3,14 +3,14 @@ import { LibroOutputView } from '@difizen/libro-core';
|
|
|
3
3
|
import type { BaseOutputView, IOutputOptions } from '@difizen/libro-core';
|
|
4
4
|
import { RenderMimeRegistry } from '@difizen/libro-rendermime';
|
|
5
5
|
import type { IRenderMimeRegistry, IRendererFactory } from '@difizen/libro-rendermime';
|
|
6
|
-
import { inject, transient } from '@difizen/
|
|
6
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
7
7
|
import {
|
|
8
8
|
getOrigin,
|
|
9
9
|
useInject,
|
|
10
10
|
view,
|
|
11
11
|
ViewInstance,
|
|
12
12
|
ViewOption,
|
|
13
|
-
} from '@difizen/
|
|
13
|
+
} from '@difizen/libro-common/app';
|
|
14
14
|
import { forwardRef } from 'react';
|
|
15
15
|
|
|
16
16
|
import '../index.less';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OutputModule } from '@difizen/libro-core';
|
|
2
2
|
import { LibroRenderMimeModule } from '@difizen/libro-rendermime';
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import { StreamOutputContribution } from './stream-output-contribution.js';
|
|
6
6
|
import { StreamOutputModel } from './stream-output-model.js';
|