@bpmn-io/form-js-playground 1.3.0-alpha.0 → 1.3.1

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.
@@ -1,11 +1,19 @@
1
1
  /**
2
+ * @typedef { import('@bpmn-io/form-js-viewer/dist/types/types').FormProperties } FormProperties
3
+ * @typedef { import('@bpmn-io/form-js-editor/dist/types/types').FormEditorProperties } FormEditorProperties
4
+ *
2
5
  * @typedef { {
3
6
  * actions?: { display: Boolean }
4
7
  * container?: Element
5
8
  * data: any
6
9
  * editor?: { inlinePropertiesPanel: Boolean }
10
+ * editorAdditionalModules?: Array<any>
11
+ * editorProperties?: FormEditorProperties
7
12
  * exporter?: { name: String, version: String }
13
+ * propertiesPanel?: { parent: Element, feelPopupContainer: Element }
8
14
  * schema: any
15
+ * viewerAdditionalModules?: Array<any>
16
+ * viewerProperties?: FormProperties
9
17
  * } } FormPlaygroundOptions
10
18
  */
11
19
  /**
@@ -14,13 +22,21 @@
14
22
  export default function Playground(options: FormPlaygroundOptions): void;
15
23
  export default class Playground {
16
24
  /**
25
+ * @typedef { import('@bpmn-io/form-js-viewer/dist/types/types').FormProperties } FormProperties
26
+ * @typedef { import('@bpmn-io/form-js-editor/dist/types/types').FormEditorProperties } FormEditorProperties
27
+ *
17
28
  * @typedef { {
18
29
  * actions?: { display: Boolean }
19
30
  * container?: Element
20
31
  * data: any
21
32
  * editor?: { inlinePropertiesPanel: Boolean }
33
+ * editorAdditionalModules?: Array<any>
34
+ * editorProperties?: FormEditorProperties
22
35
  * exporter?: { name: String, version: String }
36
+ * propertiesPanel?: { parent: Element, feelPopupContainer: Element }
23
37
  * schema: any
38
+ * viewerAdditionalModules?: Array<any>
39
+ * viewerProperties?: FormProperties
24
40
  * } } FormPlaygroundOptions
25
41
  */
26
42
  /**
@@ -59,6 +75,8 @@ export default class Playground {
59
75
  attachPaletteContainer: (...args: any[]) => any;
60
76
  attachPropertiesPanelContainer: (...args: any[]) => any;
61
77
  }
78
+ export type FormProperties = import('@bpmn-io/form-js-viewer/dist/types/types').FormProperties;
79
+ export type FormEditorProperties = import('@bpmn-io/form-js-editor/dist/types/types').FormEditorProperties;
62
80
  export type FormPlaygroundOptions = {
63
81
  actions?: {
64
82
  display: boolean;
@@ -68,9 +86,17 @@ export type FormPlaygroundOptions = {
68
86
  editor?: {
69
87
  inlinePropertiesPanel: boolean;
70
88
  };
89
+ editorAdditionalModules?: Array<any>;
90
+ editorProperties?: FormEditorProperties;
71
91
  exporter?: {
72
92
  name: string;
73
93
  version: string;
74
94
  };
95
+ propertiesPanel?: {
96
+ parent: Element;
97
+ feelPopupContainer: Element;
98
+ };
75
99
  schema: any;
100
+ viewerAdditionalModules?: Array<any>;
101
+ viewerProperties?: FormProperties;
76
102
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-playground",
3
- "version": "1.3.0-alpha.0",
3
+ "version": "1.3.1",
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.3.0-alpha.0",
48
- "@bpmn-io/form-js-viewer": "^1.3.0-alpha.0",
47
+ "@bpmn-io/form-js-editor": "^1.3.1",
48
+ "@bpmn-io/form-js-viewer": "^1.3.0",
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": "dd5504e512c13945767159900dc8cf884834b937"
73
+ "gitHead": "0c629e002118aaabaa538415e3c922e7f5d3ae4c"
74
74
  }