@difizen/libro-raw-cell 0.2.27 → 0.2.29

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.
@@ -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,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAExF,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;IAC9B,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IACrE,KAAK,EAAE,iBAAiB,CAAC;IACxB,IAAI,uEAA2B;IAExC,WAAW,EAAE,WAAW,CAAC;IAEzB,iBAAiB,EAAE,iBAAiB,CAAC;IAGrC,UAAU,CAAC,EAAE,cAAc,CAAC;gBAGN,OAAO,EAAE,eAAe,EACvB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EAClB,iBAAiB,EAAE,iBAAiB;IAQxD,WAAW;IAQpB,SAAS,CAAC,eAAe,IAAI,qBAAqB;IAkB5C,YAAY;cASF,gBAAgB;IAMvB,qBAAqB,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;IAQtD,IAAI,aAEX;IAEF,SAAS,CAAC,WAAW;IAgBZ,KAAK,WAAY,OAAO,UAS/B;CACH"}
1
+ {"version":3,"file":"raw-cell-view.d.ts","sourceRoot":"","sources":["../src/raw-cell-view.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAExF,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;IAC9B,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IACrE,KAAK,EAAE,iBAAiB,CAAC;IACxB,IAAI,uEAA2B;IAExC,WAAW,EAAE,WAAW,CAAC;IAEzB,iBAAiB,EAAE,iBAAiB,CAAC;IAGrC,UAAU,CAAC,EAAE,cAAc,CAAC;gBAGN,OAAO,EAAE,eAAe,EACvB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EAClB,iBAAiB,EAAE,iBAAiB;IAQxD,WAAW;IAQpB,SAAS,CAAC,eAAe,IAAI,qBAAqB;IAkB5C,YAAY;cASF,gBAAgB;IAMvB,qBAAqB,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC;IAQtD,IAAI,aAEX;IAEF,SAAS,CAAC,WAAW;IAgBZ,KAAK,WAAY,OAAO,UAS/B;CACH"}
@@ -22,6 +22,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
22
22
  /* eslint-disable @typescript-eslint/parameter-properties */
23
23
 
24
24
  import { CodeEditorManager } from '@difizen/libro-code-editor';
25
+ import { CellUri } from '@difizen/libro-common';
25
26
  import { CellService, LibroEditorCellView, LibroContextKey } from '@difizen/libro-core';
26
27
  import { getOrigin, prop, useInject, watch } from '@difizen/mana-app';
27
28
  import { view, ViewInstance, ViewManager, ViewOption, ViewRender } from '@difizen/mana-app';
@@ -103,7 +104,7 @@ export var LibroRawCellView = (_dec = transient(), _dec2 = view('raw-cell-view')
103
104
  key: "getEditorOption",
104
105
  value: function getEditorOption() {
105
106
  var option = {
106
- uuid: "".concat(this.parent.model.id, "-").concat(this.model.id),
107
+ uuid: CellUri.from(this.parent.model.id, this.model.id).toString(),
107
108
  editorHostId: this.parent.id + this.id,
108
109
  model: this.model,
109
110
  config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-raw-cell",
3
- "version": "0.2.27",
3
+ "version": "0.2.29",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -32,9 +32,9 @@
32
32
  "src"
33
33
  ],
34
34
  "dependencies": {
35
- "@difizen/libro-code-editor": "^0.2.27",
36
- "@difizen/libro-common": "^0.2.27",
37
- "@difizen/libro-core": "^0.2.27",
35
+ "@difizen/libro-code-editor": "^0.2.29",
36
+ "@difizen/libro-common": "^0.2.29",
37
+ "@difizen/libro-core": "^0.2.29",
38
38
  "@difizen/mana-app": "latest"
39
39
  },
40
40
  "peerDependencies": {
@@ -2,6 +2,7 @@
2
2
  /* eslint-disable @typescript-eslint/parameter-properties */
3
3
  import type { CodeEditorViewOptions, CodeEditorView } from '@difizen/libro-code-editor';
4
4
  import { CodeEditorManager } from '@difizen/libro-code-editor';
5
+ import { CellUri } from '@difizen/libro-common';
5
6
  import type { CellViewOptions } from '@difizen/libro-core';
6
7
  import { CellService, LibroEditorCellView, LibroContextKey } from '@difizen/libro-core';
7
8
  import { getOrigin, prop, useInject, watch } from '@difizen/mana-app';
@@ -76,7 +77,7 @@ export class LibroRawCellView extends LibroEditorCellView {
76
77
 
77
78
  protected getEditorOption(): CodeEditorViewOptions {
78
79
  const option: CodeEditorViewOptions = {
79
- uuid: `${this.parent.model.id}-${this.model.id}`,
80
+ uuid: CellUri.from(this.parent.model.id, this.model.id).toString(),
80
81
  editorHostId: this.parent.id + this.id,
81
82
  model: this.model,
82
83
  config: {