@operato/process 1.1.38 → 1.1.40
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 +19 -0
- package/dist/src/modeller/property-sidebar/inspector/inspector.d.ts +1 -1
- package/dist/src/ox-process-viewer.d.ts +2 -0
- package/dist/src/ox-process-viewer.js +13 -0
- package/dist/src/ox-process-viewer.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/ox-process-viewer.ts +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/process",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.40",
|
|
4
4
|
"description": "Webcomponent for business process modeling following open-wc recommendations",
|
|
5
5
|
"author": "heartyoh",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@open-wc/scoped-elements": "^2.1.3",
|
|
70
70
|
"@operato/app": "^1.1.37",
|
|
71
|
-
"@operato/board": "^1.1.
|
|
71
|
+
"@operato/board": "^1.1.40",
|
|
72
72
|
"@operato/data-grist": "^1.1.37",
|
|
73
73
|
"@operato/font": "^1.1.37",
|
|
74
74
|
"@operato/graphql": "^1.1.13",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
|
93
93
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
94
|
-
"@hatiolab/things-scene": "^3.
|
|
94
|
+
"@hatiolab/things-scene": "^3.2.0",
|
|
95
95
|
"@material/mwc-fab": "^0.27.0",
|
|
96
96
|
"@material/mwc-icon": "^0.27.0",
|
|
97
97
|
"@open-wc/eslint-config": "^4.3.0",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"prettier --write"
|
|
128
128
|
]
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "a2584a3f78e0f68bbfc88b65629a9a6b56c7fc6a"
|
|
131
131
|
}
|
package/src/ox-process-viewer.ts
CHANGED
|
@@ -92,6 +92,7 @@ export class OxProcessViewer extends LitElement {
|
|
|
92
92
|
@property({ type: Object }) process: any = {}
|
|
93
93
|
@property({ type: Object }) provider: ReferenceProvider | null = null
|
|
94
94
|
@property({ type: Object }) data: any
|
|
95
|
+
@property({ type: Object }) values: any
|
|
95
96
|
|
|
96
97
|
@property({ type: Boolean, reflect: true, attribute: 'hide-fullscreen' }) hideFullscreen = false
|
|
97
98
|
@property({ type: Boolean, reflect: true, attribute: 'hide-navigation' }) hideNavigation = false
|
|
@@ -203,6 +204,10 @@ export class OxProcessViewer extends LitElement {
|
|
|
203
204
|
if (changes.has('data') && this._scene && this.data) {
|
|
204
205
|
this._scene.data = this.data
|
|
205
206
|
}
|
|
207
|
+
|
|
208
|
+
if (changes.has('values') && this._scene && this.values) {
|
|
209
|
+
this._scene.values = this.values
|
|
210
|
+
}
|
|
206
211
|
}
|
|
207
212
|
|
|
208
213
|
async initSceneAsync() {
|
|
@@ -276,6 +281,10 @@ export class OxProcessViewer extends LitElement {
|
|
|
276
281
|
if (this.data) {
|
|
277
282
|
this._scene.data = this.data
|
|
278
283
|
}
|
|
284
|
+
if (this.values) {
|
|
285
|
+
this._scene.values = this.values
|
|
286
|
+
}
|
|
287
|
+
|
|
279
288
|
this.currentProcessId = id
|
|
280
289
|
|
|
281
290
|
this.bindSceneEvents()
|
|
@@ -486,6 +495,10 @@ export class OxProcessViewer extends LitElement {
|
|
|
486
495
|
return this._scene?.data
|
|
487
496
|
}
|
|
488
497
|
|
|
498
|
+
getSceneValues() {
|
|
499
|
+
return this._scene?.values
|
|
500
|
+
}
|
|
501
|
+
|
|
489
502
|
async getSceneImageData(base64 = false) {
|
|
490
503
|
if (!this._scene) {
|
|
491
504
|
return
|