@operato/app 1.5.52 → 1.5.54

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/app",
3
3
  "description": "WebApplication production supporting components following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "1.5.52",
5
+ "version": "1.5.54",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -136,15 +136,15 @@
136
136
  "@material/mwc-button": "^0.27.0",
137
137
  "@material/mwc-icon": "^0.27.0",
138
138
  "@material/mwc-icon-button": "^0.27.0",
139
- "@operato/attachment": "^1.5.52",
140
- "@operato/data-grist": "^1.5.52",
141
- "@operato/font": "^1.5.52",
139
+ "@operato/attachment": "^1.5.54",
140
+ "@operato/data-grist": "^1.5.54",
141
+ "@operato/font": "^1.5.54",
142
142
  "@operato/form": "^1.5.44",
143
143
  "@operato/graphql": "^1.4.76",
144
144
  "@operato/i18n": "^1.5.14",
145
- "@operato/input": "^1.5.52",
145
+ "@operato/input": "^1.5.53",
146
146
  "@operato/layout": "^1.5.48",
147
- "@operato/property-editor": "^1.5.52",
147
+ "@operato/property-editor": "^1.5.54",
148
148
  "@operato/shell": "^1.5.48",
149
149
  "@operato/styles": "^1.5.48",
150
150
  "@operato/utils": "^1.5.44",
@@ -189,5 +189,5 @@
189
189
  "prettier --write"
190
190
  ]
191
191
  },
192
- "gitHead": "07f692c2e5ffc3045add9bfcebc94516dad187fc"
192
+ "gitHead": "058d3d1eac3252f52c94e8984c47db0e018c1530"
193
193
  }
@@ -113,7 +113,17 @@ export default class OxInputGraphql extends OxFormField {
113
113
  }),
114
114
  highlightActiveLine(),
115
115
  history(),
116
- keymap.of([...historyKeymap, indentWithTab]),
116
+ keymap.of([
117
+ ...historyKeymap,
118
+ indentWithTab,
119
+ {
120
+ key: 'Escape',
121
+ run: (view: EditorView) => {
122
+ togglefullscreen(this)
123
+ return true
124
+ }
125
+ }
126
+ ]),
117
127
  EditorView.updateListener.of(v => {
118
128
  if (v.docChanged) {
119
129
  this._self_changing = true
@@ -129,12 +139,6 @@ export default class OxInputGraphql extends OxFormField {
129
139
  })
130
140
  }
131
141
 
132
- this._editor.contentDOM.addEventListener('keydown', event => {
133
- if (event.key === 'Escape') {
134
- togglefullscreen(this._editor!.contentDOM)
135
- }
136
- })
137
-
138
142
  return this._editor
139
143
  }
140
144
  }