@difizen/libro-raw-cell 0.3.4 → 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/raw-cell-contribution.js +1 -1
- package/es/raw-cell-model.js +1 -1
- package/es/raw-cell-view.d.ts +1 -1
- package/es/raw-cell-view.d.ts.map +1 -1
- package/es/raw-cell-view.js +3 -3
- package/package.json +4 -5
- package/src/module.ts +1 -1
- package/src/raw-cell-contribution.ts +1 -1
- package/src/raw-cell-model.ts +1 -1
- package/src/raw-cell-view.tsx +3 -3
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;AAOvD,eAAO,MAAM,aAAa,YAkBzB,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CellOptions } from '@difizen/libro-core';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
import { RawCellContribution } from "./raw-cell-contribution.js";
|
|
4
4
|
import { LibroRawCellModel } from "./raw-cell-model.js";
|
|
5
5
|
import { RawCellModelFactory } from "./raw-cell-protocol.js";
|
|
@@ -13,7 +13,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
13
13
|
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.'); }
|
|
14
14
|
import { LanguageSpecContribution } from '@difizen/libro-code-editor';
|
|
15
15
|
import { CellModelContribution, CellViewContribution } from '@difizen/libro-core';
|
|
16
|
-
import { inject, singleton } from '@difizen/
|
|
16
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
17
17
|
import { RawCellModelFactory } from "./raw-cell-protocol.js";
|
|
18
18
|
import { LibroRawCellView } from "./raw-cell-view.js";
|
|
19
19
|
export var RawCellContribution = (_dec = singleton({
|
package/es/raw-cell-model.js
CHANGED
|
@@ -15,7 +15,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
15
15
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
16
16
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17
17
|
import { CellOptions, LibroCellModel } from '@difizen/libro-core';
|
|
18
|
-
import { inject, transient } from '@difizen/
|
|
18
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
19
19
|
export var LibroRawCellModel = (_dec = transient(), _dec(_class = /*#__PURE__*/function (_LibroCellModel) {
|
|
20
20
|
_inherits(LibroRawCellModel, _LibroCellModel);
|
|
21
21
|
var _super = _createSuper(LibroRawCellModel);
|
package/es/raw-cell-view.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CodeEditorViewOptions } from '@difizen/libro-code-editor';
|
|
2
2
|
import type { CellViewOptions } from '@difizen/libro-core';
|
|
3
3
|
import { CellService, LibroEditorCellView } from '@difizen/libro-core';
|
|
4
|
-
import { ViewManager } from '@difizen/
|
|
4
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { LibroRawCellModel } from './raw-cell-model.js';
|
|
7
7
|
export declare class LibroRawCellView extends LibroEditorCellView {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raw-cell-view.d.ts","sourceRoot":"","sources":["../src/raw-cell-view.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAEvE,OAAO,EAGL,WAAW,EAGZ,MAAM,
|
|
1
|
+
{"version":3,"file":"raw-cell-view.d.ts","sourceRoot":"","sources":["../src/raw-cell-view.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAEvE,OAAO,EAGL,WAAW,EAGZ,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAyB7D,qBAEa,gBAAiB,SAAQ,mBAAmB;IAC/C,KAAK,EAAE,iBAAiB,CAAC;IACxB,IAAI,uEAA2B;IAExC,WAAW,EAAE,WAAW,CAAC;gBAGH,OAAO,EAAE,eAAe,EACvB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW;cAO5B,eAAe,IAAI,qBAAqB;CAiB5D"}
|
package/es/raw-cell-view.js
CHANGED
|
@@ -17,9 +17,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
17
17
|
|
|
18
18
|
import { CellUri } from '@difizen/libro-common';
|
|
19
19
|
import { CellService, LibroEditorCellView } from '@difizen/libro-core';
|
|
20
|
-
import { getOrigin, useInject } from '@difizen/
|
|
21
|
-
import { view, ViewInstance, ViewManager, ViewOption, ViewRender } from '@difizen/
|
|
22
|
-
import { inject, transient } from '@difizen/
|
|
20
|
+
import { getOrigin, useInject } from '@difizen/libro-common/app';
|
|
21
|
+
import { view, ViewInstance, ViewManager, ViewOption, ViewRender } from '@difizen/libro-common/app';
|
|
22
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
23
23
|
import React, { useEffect } from 'react';
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-raw-cell",
|
|
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-code-editor": "^0.
|
|
36
|
-
"@difizen/libro-common": "^0.
|
|
37
|
-
"@difizen/libro-core": "^0.
|
|
38
|
-
"@difizen/mana-app": "latest"
|
|
35
|
+
"@difizen/libro-code-editor": "^1.0.0",
|
|
36
|
+
"@difizen/libro-common": "^1.0.0",
|
|
37
|
+
"@difizen/libro-core": "^1.0.0"
|
|
39
38
|
},
|
|
40
39
|
"peerDependencies": {
|
|
41
40
|
"react": ">=16"
|
package/src/module.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CellOptions } from '@difizen/libro-core';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
|
|
4
4
|
import { RawCellContribution } from './raw-cell-contribution.js';
|
|
5
5
|
import { LibroRawCellModel } from './raw-cell-model.js';
|
|
@@ -2,7 +2,7 @@ import type { LanguageSpecRegistry } from '@difizen/libro-code-editor';
|
|
|
2
2
|
import { LanguageSpecContribution } from '@difizen/libro-code-editor';
|
|
3
3
|
import type { CellMeta, CellModel, CellOptions } from '@difizen/libro-core';
|
|
4
4
|
import { CellModelContribution, CellViewContribution } from '@difizen/libro-core';
|
|
5
|
-
import { inject, singleton } from '@difizen/
|
|
5
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
6
6
|
|
|
7
7
|
import { RawCellModelFactory } from './raw-cell-protocol.js';
|
|
8
8
|
import { LibroRawCellView } from './raw-cell-view.js';
|
package/src/raw-cell-model.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IRawCell } from '@difizen/libro-common';
|
|
2
2
|
import { CellOptions, LibroCellModel } from '@difizen/libro-core';
|
|
3
|
-
import { inject, transient } from '@difizen/
|
|
3
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
@transient()
|
|
6
6
|
export class LibroRawCellModel extends LibroCellModel {
|
package/src/raw-cell-view.tsx
CHANGED
|
@@ -4,15 +4,15 @@ import type { CodeEditorViewOptions } from '@difizen/libro-code-editor';
|
|
|
4
4
|
import { CellUri } from '@difizen/libro-common';
|
|
5
5
|
import type { CellViewOptions } from '@difizen/libro-core';
|
|
6
6
|
import { CellService, LibroEditorCellView } from '@difizen/libro-core';
|
|
7
|
-
import { getOrigin, useInject } from '@difizen/
|
|
7
|
+
import { getOrigin, useInject } from '@difizen/libro-common/app';
|
|
8
8
|
import {
|
|
9
9
|
view,
|
|
10
10
|
ViewInstance,
|
|
11
11
|
ViewManager,
|
|
12
12
|
ViewOption,
|
|
13
13
|
ViewRender,
|
|
14
|
-
} from '@difizen/
|
|
15
|
-
import { inject, transient } from '@difizen/
|
|
14
|
+
} from '@difizen/libro-common/app';
|
|
15
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
16
16
|
import React, { useEffect } from 'react';
|
|
17
17
|
|
|
18
18
|
import type { LibroRawCellModel } from './raw-cell-model.js';
|