@bpmn-io/form-js-editor 1.0.0-alpha.2 → 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.
@@ -17,7 +17,8 @@ export default class SectionModuleBase {
17
17
  */
18
18
  constructor(eventBus: any, sectionKey: string);
19
19
  _eventBus: any;
20
- sectionKey: string;
20
+ _sectionKey: string;
21
+ isSectionRendered: boolean;
21
22
  /**
22
23
  * Attach the managed section to a parent node.
23
24
  *
@@ -32,4 +33,8 @@ export default class SectionModuleBase {
32
33
  * Reset the managed section to its initial state.
33
34
  */
34
35
  reset(): void;
36
+ /**
37
+ * Circumvents timing issues.
38
+ */
39
+ _onceSectionRendered(callback: any): void;
35
40
  }
@@ -1,29 +1,29 @@
1
- import { Injector } from 'didi';
2
-
3
- export type Module = any;
4
- export type Schema = any;
5
-
6
- export interface FormEditorProperties {
7
- [x: string]: any
8
- }
9
-
10
- export interface FormEditorOptions {
11
- additionalModules?: Module[];
12
- container?: Element | null | string;
13
- exporter?: {
14
- name: string,
15
- version: string
16
- };
17
- injector?: Injector;
18
- modules?: Module[];
19
- properties?: FormEditorProperties;
20
- [x:string]: any;
21
- }
22
-
23
- export interface CreateFormEditorOptions extends FormEditorOptions {
24
- schema?: Schema
25
- }
26
-
27
- export {
28
- Injector
1
+ import { Injector } from 'didi';
2
+
3
+ export type Module = any;
4
+ export type Schema = any;
5
+
6
+ export interface FormEditorProperties {
7
+ [x: string]: any
8
+ }
9
+
10
+ export interface FormEditorOptions {
11
+ additionalModules?: Module[];
12
+ container?: Element | null | string;
13
+ exporter?: {
14
+ name: string,
15
+ version: string
16
+ };
17
+ injector?: Injector;
18
+ modules?: Module[];
19
+ properties?: FormEditorProperties;
20
+ [x:string]: any;
21
+ }
22
+
23
+ export interface CreateFormEditorOptions extends FormEditorOptions {
24
+ schema?: Schema
25
+ }
26
+
27
+ export {
28
+ Injector
29
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-editor",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.4",
4
4
  "description": "Edit forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -44,7 +44,7 @@
44
44
  "url": "https://github.com/bpmn-io"
45
45
  },
46
46
  "dependencies": {
47
- "@bpmn-io/form-js-viewer": "^1.0.0-alpha.1",
47
+ "@bpmn-io/form-js-viewer": "^1.0.0-alpha.4",
48
48
  "@bpmn-io/properties-panel": "^2.1.0",
49
49
  "array-move": "^3.0.1",
50
50
  "big.js": "^6.2.1",
@@ -60,5 +60,5 @@
60
60
  "files": [
61
61
  "dist"
62
62
  ],
63
- "gitHead": "5a1afb8c0cd4ab53e745f4458213de180179d24f"
63
+ "gitHead": "3a508a474678253a1d06c3bd4a0d603230b326b8"
64
64
  }