@bpmn-io/form-js-playground 1.0.0-alpha.3 → 1.0.0-alpha.4
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.
|
@@ -67623,9 +67623,15 @@
|
|
|
67623
67623
|
* Circumvents timing issues.
|
|
67624
67624
|
*/
|
|
67625
67625
|
_onceSectionRendered(callback) {
|
|
67626
|
-
|
|
67626
|
+
if (this.isSectionRendered) {
|
|
67627
67627
|
callback();
|
|
67628
|
-
}
|
|
67628
|
+
} else {
|
|
67629
|
+
const onSectionRendered = () => {
|
|
67630
|
+
callback();
|
|
67631
|
+
this._eventBus.off(`${this._sectionKey}.section.rendered`, onSectionRendered);
|
|
67632
|
+
};
|
|
67633
|
+
this._eventBus.on(`${this._sectionKey}.section.rendered`, onSectionRendered);
|
|
67634
|
+
}
|
|
67629
67635
|
}
|
|
67630
67636
|
}
|
|
67631
67637
|
let PaletteModule$1 = class PaletteModule extends SectionModuleBase {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-playground",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.4",
|
|
4
4
|
"description": "A form-js playground",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"url": "https://github.com/bpmn-io"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@bpmn-io/form-js-editor": "^1.0.0-alpha.
|
|
48
|
-
"@bpmn-io/form-js-viewer": "^1.0.0-alpha.
|
|
47
|
+
"@bpmn-io/form-js-editor": "^1.0.0-alpha.4",
|
|
48
|
+
"@bpmn-io/form-js-viewer": "^1.0.0-alpha.4",
|
|
49
49
|
"@codemirror/autocomplete": "^6.3.4",
|
|
50
50
|
"@codemirror/commands": "^6.1.2",
|
|
51
51
|
"@codemirror/lang-json": "^6.0.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"rollup-plugin-css-only": "^4.0.0",
|
|
71
71
|
"style-loader": "^3.3.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "3a508a474678253a1d06c3bd4a0d603230b326b8"
|
|
74
74
|
}
|