@difizen/libro-search 0.1.37 → 0.2.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.
@@ -682,8 +682,8 @@ export var LibroSearchProvider = (_dec = transient(), _dec2 = inject(LibroContex
682
682
  }, {
683
683
  key: "isReadOnly",
684
684
  get: function get() {
685
- var _this$view$model$read, _this$view;
686
- return (_this$view$model$read = (_this$view = this.view) === null || _this$view === void 0 || (_this$view = _this$view.model) === null || _this$view === void 0 ? void 0 : _this$view.readOnly) !== null && _this$view$model$read !== void 0 ? _this$view$model$read : false;
685
+ var _this$view$model$inpu, _this$view;
686
+ return (_this$view$model$inpu = (_this$view = this.view) === null || _this$view === void 0 || (_this$view = _this$view.model) === null || _this$view === void 0 ? void 0 : _this$view.inputEditable) !== null && _this$view$model$inpu !== void 0 ? _this$view$model$inpu : false;
687
687
  }
688
688
 
689
689
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-search",
3
- "version": "0.1.37",
3
+ "version": "0.2.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -36,9 +36,9 @@
36
36
  "@difizen/mana-app": "latest",
37
37
  "@difizen/mana-l10n": "latest",
38
38
  "@ant-design/icons": "^5.1.0",
39
- "@difizen/libro-common": "^0.1.37",
40
- "@difizen/libro-core": "^0.1.37",
41
- "@difizen/libro-code-editor": "^0.1.37",
39
+ "@difizen/libro-common": "^0.2.1",
40
+ "@difizen/libro-core": "^0.2.1",
41
+ "@difizen/libro-code-editor": "^0.2.1",
42
42
  "@types/lodash.debounce": "^4.0.7",
43
43
  "classnames": "^2.3.2",
44
44
  "lodash.debounce": "^4.0.8",
@@ -138,7 +138,7 @@ export class LibroSearchProvider extends AbstractSearchProvider {
138
138
  * the replace option.
139
139
  */
140
140
  get isReadOnly(): boolean {
141
- return this.view?.model?.readOnly ?? false;
141
+ return this.view?.model?.inputEditable ?? false;
142
142
  }
143
143
 
144
144
  /**