@operato/board 1.5.0 → 1.5.2
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/board",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
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.5.
|
|
92
|
-
"@operato/data-grist": "^1.5.
|
|
93
|
-
"@operato/font": "^1.5.
|
|
91
|
+
"@operato/app": "^1.5.1",
|
|
92
|
+
"@operato/data-grist": "^1.5.1",
|
|
93
|
+
"@operato/font": "^1.5.1",
|
|
94
94
|
"@operato/graphql": "^1.4.76",
|
|
95
95
|
"@operato/i18n": "^1.4.64",
|
|
96
|
-
"@operato/input": "^1.5.
|
|
97
|
-
"@operato/layout": "^1.5.
|
|
96
|
+
"@operato/input": "^1.5.1",
|
|
97
|
+
"@operato/layout": "^1.5.1",
|
|
98
98
|
"@operato/markdown": "^1.4.64",
|
|
99
|
-
"@operato/popup": "^1.5.
|
|
100
|
-
"@operato/property-editor": "^1.5.
|
|
99
|
+
"@operato/popup": "^1.5.1",
|
|
100
|
+
"@operato/property-editor": "^1.5.1",
|
|
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": "d1c0f768857d77a1c2e293be5155d79f1c4ae085"
|
|
152
152
|
}
|
package/src/ox-board-modeller.ts
CHANGED
|
@@ -392,5 +392,13 @@ export class BoardModeller extends ScopedElementsMixin(LitElement) {
|
|
|
392
392
|
return !!this.scene?.redoable()
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
+
preserve(): void {
|
|
396
|
+
this.scene?.preserve()
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
hasUnpreservedChanges(): boolean {
|
|
400
|
+
return !!this.scene?.hasUnpreservedChanges()
|
|
401
|
+
}
|
|
402
|
+
|
|
395
403
|
onContextMenu() {}
|
|
396
404
|
}
|