@difizen/libro-raw-cell 0.3.16 → 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/module.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  export declare const RawCellModule: ManaModule;
3
3
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAO/C,eAAO,MAAM,aAAa,YAkBzB,CAAC"}
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/mana-app';
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/mana-app';
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({
@@ -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/mana-app';
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);
@@ -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/mana-app';
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,mBAAmB,CAAC;AAE3B,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"}
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"}
@@ -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/mana-app';
21
- import { view, ViewInstance, ViewManager, ViewOption, ViewRender } from '@difizen/mana-app';
22
- import { inject, transient } from '@difizen/mana-app';
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.16",
3
+ "version": "1.0.1",
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.3.16",
36
- "@difizen/libro-common": "^0.3.16",
37
- "@difizen/libro-core": "^0.3.16",
38
- "@difizen/mana-app": "latest"
35
+ "@difizen/libro-code-editor": "^1.0.1",
36
+ "@difizen/libro-common": "^1.0.1",
37
+ "@difizen/libro-core": "^1.0.1"
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/mana-app';
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/mana-app';
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';
@@ -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/mana-app';
3
+ import { inject, transient } from '@difizen/libro-common/app';
4
4
 
5
5
  @transient()
6
6
  export class LibroRawCellModel extends LibroCellModel {
@@ -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/mana-app';
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/mana-app';
15
- import { inject, transient } from '@difizen/mana-app';
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';