@difizen/libro-widget 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/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +1 -1
- package/es/slider/contribution.d.ts +1 -1
- package/es/slider/contribution.d.ts.map +1 -1
- package/es/slider/contribution.js +1 -1
- package/es/slider/view.js +1 -1
- package/es/text/contribution.d.ts +1 -1
- package/es/text/contribution.d.ts.map +1 -1
- package/es/text/contribution.js +1 -1
- package/es/text/view.js +1 -1
- package/package.json +6 -7
- package/src/module.ts +1 -1
- package/src/slider/contribution.ts +1 -1
- package/src/slider/view.tsx +1 -1
- package/src/text/contribution.ts +1 -1
- package/src/text/view.tsx +1 -1
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":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,eAAO,MAAM,mBAAmB,YAQP,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WidgetModule } from '@difizen/libro-jupyter';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
import { SilderWidgetContribution, SliderWidget } from "./slider/index.js";
|
|
4
4
|
import { TextModelContribution, TextWidget } from "./text/index.js";
|
|
5
5
|
export var CommonWidgetsModule = ManaModule.create().register(SliderWidget, SilderWidgetContribution, TextWidget, TextModelContribution).dependOn(WidgetModule);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IWidgetViewProps } from '@difizen/libro-jupyter';
|
|
2
2
|
import { WidgetViewContribution } from '@difizen/libro-jupyter';
|
|
3
|
-
import { ViewManager } from '@difizen/
|
|
3
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
4
4
|
import { SliderWidget } from './view.js';
|
|
5
5
|
export declare class SilderWidgetContribution implements WidgetViewContribution {
|
|
6
6
|
viewManager: ViewManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/slider/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,
|
|
1
|
+
{"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/slider/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,qBACa,wBAAyB,YAAW,sBAAsB;IAChD,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAgB,GAAG,aAW1B;IACF,OAAO,CAAC,KAAK,EAAE,gBAAgB;CAGhC"}
|
|
@@ -9,7 +9,7 @@ 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 { WidgetViewContribution } from '@difizen/libro-jupyter';
|
|
12
|
-
import { ViewManager, inject, singleton } from '@difizen/
|
|
12
|
+
import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
|
|
13
13
|
import { SliderWidget } from "./view.js";
|
|
14
14
|
export var SilderWidgetContribution = (_dec = singleton({
|
|
15
15
|
contrib: WidgetViewContribution
|
package/es/slider/view.js
CHANGED
|
@@ -21,7 +21,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
21
21
|
import { LibroContextKey } from '@difizen/libro-core';
|
|
22
22
|
import { WidgetView } from '@difizen/libro-jupyter';
|
|
23
23
|
import { defaultWidgetState } from '@difizen/libro-jupyter';
|
|
24
|
-
import { view, transient, useInject, ViewInstance, prop, inject, ViewOption } from '@difizen/
|
|
24
|
+
import { view, transient, useInject, ViewInstance, prop, inject, ViewOption } from '@difizen/libro-common/app';
|
|
25
25
|
import { Slider } from 'antd';
|
|
26
26
|
import { forwardRef } from 'react';
|
|
27
27
|
import "./index.less";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IWidgetViewProps } from '@difizen/libro-jupyter';
|
|
2
2
|
import { WidgetViewContribution } from '@difizen/libro-jupyter';
|
|
3
|
-
import { ViewManager } from '@difizen/
|
|
3
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
4
4
|
import { TextWidget } from './view.js';
|
|
5
5
|
export declare class TextModelContribution implements WidgetViewContribution {
|
|
6
6
|
viewManager: ViewManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/text/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,
|
|
1
|
+
{"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../src/text/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAE3E,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,qBACa,qBAAsB,YAAW,sBAAsB;IAC7C,WAAW,EAAE,WAAW,CAAC;IAC9C,SAAS,eAAgB,GAAG,aAK1B;IACF,OAAO,CAAC,KAAK,EAAE,gBAAgB;CAGhC"}
|
package/es/text/contribution.js
CHANGED
|
@@ -9,7 +9,7 @@ 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 { WidgetViewContribution } from '@difizen/libro-jupyter';
|
|
12
|
-
import { ViewManager, inject, singleton } from '@difizen/
|
|
12
|
+
import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
|
|
13
13
|
import { TextWidget } from "./view.js";
|
|
14
14
|
export var TextModelContribution = (_dec = singleton({
|
|
15
15
|
contrib: WidgetViewContribution
|
package/es/text/view.js
CHANGED
|
@@ -17,7 +17,7 @@ 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 { LibroContextKey } from '@difizen/libro-core';
|
|
19
19
|
import { WidgetView } from '@difizen/libro-jupyter';
|
|
20
|
-
import { view, ViewOption, transient, useInject, ViewInstance, inject, prop } from '@difizen/
|
|
20
|
+
import { view, ViewOption, transient, useInject, ViewInstance, inject, prop } from '@difizen/libro-common/app';
|
|
21
21
|
import { Input } from 'antd';
|
|
22
22
|
import { forwardRef } from 'react';
|
|
23
23
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-widget",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro"
|
|
@@ -31,12 +31,11 @@
|
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@difizen/libro-core": "^0.
|
|
35
|
-
"@difizen/libro-common": "^0.
|
|
36
|
-
"@difizen/libro-kernel": "^0.
|
|
37
|
-
"@difizen/libro-rendermime": "^0.
|
|
38
|
-
"@difizen/libro-jupyter": "^0.
|
|
39
|
-
"@difizen/mana-app": "latest"
|
|
34
|
+
"@difizen/libro-core": "^1.0.0",
|
|
35
|
+
"@difizen/libro-common": "^1.0.0",
|
|
36
|
+
"@difizen/libro-kernel": "^1.0.0",
|
|
37
|
+
"@difizen/libro-rendermime": "^1.0.0",
|
|
38
|
+
"@difizen/libro-jupyter": "^1.0.0"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
42
41
|
"antd": "^5.8.6",
|
package/src/module.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WidgetModule } from '@difizen/libro-jupyter';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
|
|
4
4
|
import { SilderWidgetContribution, SliderWidget } from './slider/index.js';
|
|
5
5
|
import { TextModelContribution, TextWidget } from './text/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IWidgetViewProps } from '@difizen/libro-jupyter';
|
|
2
2
|
import { WidgetViewContribution } from '@difizen/libro-jupyter';
|
|
3
|
-
import { ViewManager, inject, singleton } from '@difizen/
|
|
3
|
+
import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import { SliderWidget } from './view.js';
|
|
6
6
|
|
package/src/slider/view.tsx
CHANGED
package/src/text/contribution.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IWidgetViewProps } from '@difizen/libro-jupyter';
|
|
2
2
|
import { WidgetViewContribution } from '@difizen/libro-jupyter';
|
|
3
|
-
import { ViewManager, inject, singleton } from '@difizen/
|
|
3
|
+
import { ViewManager, inject, singleton } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import { TextWidget } from './view.js';
|
|
6
6
|
|