@operato/board 1.4.74 → 1.4.76
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/CHANGELOG.md +18 -0
- package/dist/src/modeller/edit-toolbar-style.js +1 -1
- package/dist/src/modeller/edit-toolbar-style.js.map +1 -1
- package/dist/src/ox-board-modeller.js +3 -11
- package/dist/src/ox-board-modeller.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/icons/icon-htoolbar.png +0 -0
- package/package.json +7 -7
- package/src/modeller/edit-toolbar-style.ts +1 -1
- package/src/ox-board-modeller.ts +3 -12
package/icons/icon-htoolbar.png
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/board",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.76",
|
|
4
4
|
"description": "Webcomponent for board following open-wc recommendations",
|
|
5
5
|
"author": "heartyoh",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -88,16 +88,16 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@open-wc/scoped-elements": "^2.0.0-next.6",
|
|
91
|
-
"@operato/app": "^1.4.
|
|
91
|
+
"@operato/app": "^1.4.76",
|
|
92
92
|
"@operato/data-grist": "^1.4.64",
|
|
93
|
-
"@operato/font": "^1.4.
|
|
94
|
-
"@operato/graphql": "^1.4.
|
|
93
|
+
"@operato/font": "^1.4.76",
|
|
94
|
+
"@operato/graphql": "^1.4.76",
|
|
95
95
|
"@operato/i18n": "^1.4.64",
|
|
96
96
|
"@operato/input": "^1.4.64",
|
|
97
|
-
"@operato/layout": "^1.4.
|
|
97
|
+
"@operato/layout": "^1.4.76",
|
|
98
98
|
"@operato/markdown": "^1.4.64",
|
|
99
99
|
"@operato/popup": "^1.4.64",
|
|
100
|
-
"@operato/property-editor": "^1.4.
|
|
100
|
+
"@operato/property-editor": "^1.4.76",
|
|
101
101
|
"@operato/styles": "^1.4.64",
|
|
102
102
|
"@operato/utils": "^1.4.64",
|
|
103
103
|
"@polymer/paper-dropdown-menu": "^3.2.0",
|
|
@@ -148,5 +148,5 @@
|
|
|
148
148
|
"prettier --write"
|
|
149
149
|
]
|
|
150
150
|
},
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "bfd768b684aaaeb5bf92aee141666110cba64b2a"
|
|
152
152
|
}
|
package/src/ox-board-modeller.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { saveAs } from 'file-saver'
|
|
|
10
10
|
import { css, html, LitElement, PropertyValues } from 'lit'
|
|
11
11
|
import { customElement, property, query } from 'lit/decorators.js'
|
|
12
12
|
|
|
13
|
-
import { Scene, SCENE_MODE } from '@hatiolab/things-scene'
|
|
13
|
+
import { MODE_EDIT, Scene, SCENE_MODE } from '@hatiolab/things-scene'
|
|
14
14
|
import { ScopedElementsMixin } from '@open-wc/scoped-elements'
|
|
15
15
|
import { OxPopup } from '@operato/popup'
|
|
16
16
|
import { isMacOS, togglefullscreen } from '@operato/utils'
|
|
@@ -299,22 +299,13 @@ export class BoardModeller extends ScopedElementsMixin(LitElement) {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
disconnectedCallback(): void {
|
|
302
|
-
if (this.scene) {
|
|
303
|
-
this.scene.stopStylePasteMode()
|
|
304
|
-
this.scene.stopDatabindPasteMode()
|
|
305
|
-
}
|
|
306
|
-
|
|
307
302
|
super.disconnectedCallback()
|
|
308
303
|
this.unbindShortcutEvent()
|
|
309
304
|
}
|
|
310
305
|
|
|
311
306
|
updated(changes: PropertyValues<this>) {
|
|
312
|
-
if (changes.has('scene')) {
|
|
313
|
-
|
|
314
|
-
if (old) {
|
|
315
|
-
old.stopStylePasteMode()
|
|
316
|
-
old.stopDatabindPasteMode()
|
|
317
|
-
}
|
|
307
|
+
if (changes.has('scene') && this.scene) {
|
|
308
|
+
this.scene.mode = MODE_EDIT
|
|
318
309
|
}
|
|
319
310
|
}
|
|
320
311
|
|