@bpmn-io/form-js-playground 0.9.6 → 0.9.8
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/dist/form-playground.umd.js +807 -566
- package/dist/types/Playground.d.ts +73 -73
- package/dist/types/components/EmbedModal.d.ts +1 -1
- package/dist/types/components/JSONEditor.d.ts +16 -16
- package/dist/types/components/Modal.d.ts +1 -1
- package/dist/types/components/PlaygroundRoot.d.ts +1 -1
- package/dist/types/components/Section.d.ts +4 -4
- package/dist/types/index.d.ts +1 -1
- package/package.json +6 -6
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef { {
|
|
3
|
-
* actions?: { display: Boolean }
|
|
4
|
-
* container?: Element
|
|
5
|
-
* data: any
|
|
6
|
-
* editor?: { inlinePropertiesPanel: Boolean }
|
|
7
|
-
* exporter?: { name: String, version: String }
|
|
8
|
-
* schema: any
|
|
9
|
-
* } } FormPlaygroundOptions
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* @param {FormPlaygroundOptions} options
|
|
13
|
-
*/
|
|
14
|
-
export default function Playground(options: FormPlaygroundOptions): void;
|
|
15
|
-
export default class Playground {
|
|
16
|
-
/**
|
|
17
|
-
* @typedef { {
|
|
18
|
-
* actions?: { display: Boolean }
|
|
19
|
-
* container?: Element
|
|
20
|
-
* data: any
|
|
21
|
-
* editor?: { inlinePropertiesPanel: Boolean }
|
|
22
|
-
* exporter?: { name: String, version: String }
|
|
23
|
-
* schema: any
|
|
24
|
-
* } } FormPlaygroundOptions
|
|
25
|
-
*/
|
|
26
|
-
/**
|
|
27
|
-
* @param {FormPlaygroundOptions} options
|
|
28
|
-
*/
|
|
29
|
-
constructor(options: FormPlaygroundOptions);
|
|
30
|
-
on: {
|
|
31
|
-
<Key extends import("mitt").EventType>(type: Key, handler: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key]>): void;
|
|
32
|
-
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
33
|
-
};
|
|
34
|
-
off: {
|
|
35
|
-
<Key_1 extends import("mitt").EventType>(type: Key_1, handler?: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key_1]>): void;
|
|
36
|
-
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
37
|
-
};
|
|
38
|
-
emit: {
|
|
39
|
-
<Key_2 extends import("mitt").EventType>(type: Key_2, event: Record<import("mitt").EventType, unknown>[Key_2]): void;
|
|
40
|
-
<Key_3 extends import("mitt").EventType>(type: undefined extends Record<import("mitt").EventType, unknown>[Key_3] ? Key_3 : never): void;
|
|
41
|
-
};
|
|
42
|
-
getState: () => {
|
|
43
|
-
data: any;
|
|
44
|
-
schema: any;
|
|
45
|
-
};
|
|
46
|
-
getSchema: (...args: any[]) => any;
|
|
47
|
-
setSchema: (...args: any[]) => any;
|
|
48
|
-
saveSchema: (...args: any[]) => any;
|
|
49
|
-
get: (...args: any[]) => any;
|
|
50
|
-
getEditor: (...args: any[]) => any;
|
|
51
|
-
destroy: () => void;
|
|
52
|
-
attachEditorContainer: (...args: any[]) => any;
|
|
53
|
-
attachPreviewContainer: (...args: any[]) => any;
|
|
54
|
-
attachDataContainer: (...args: any[]) => any;
|
|
55
|
-
attachResultContainer: (...args: any[]) => any;
|
|
56
|
-
attachPaletteContainer: (...args: any[]) => any;
|
|
57
|
-
attachPropertiesPanelContainer: (...args: any[]) => any;
|
|
58
|
-
}
|
|
59
|
-
export type FormPlaygroundOptions = {
|
|
60
|
-
actions?: {
|
|
61
|
-
display: boolean;
|
|
62
|
-
};
|
|
63
|
-
container?: Element;
|
|
64
|
-
data: any;
|
|
65
|
-
editor?: {
|
|
66
|
-
inlinePropertiesPanel: boolean;
|
|
67
|
-
};
|
|
68
|
-
exporter?: {
|
|
69
|
-
name: string;
|
|
70
|
-
version: string;
|
|
71
|
-
};
|
|
72
|
-
schema: any;
|
|
73
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* @typedef { {
|
|
3
|
+
* actions?: { display: Boolean }
|
|
4
|
+
* container?: Element
|
|
5
|
+
* data: any
|
|
6
|
+
* editor?: { inlinePropertiesPanel: Boolean }
|
|
7
|
+
* exporter?: { name: String, version: String }
|
|
8
|
+
* schema: any
|
|
9
|
+
* } } FormPlaygroundOptions
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @param {FormPlaygroundOptions} options
|
|
13
|
+
*/
|
|
14
|
+
export default function Playground(options: FormPlaygroundOptions): void;
|
|
15
|
+
export default class Playground {
|
|
16
|
+
/**
|
|
17
|
+
* @typedef { {
|
|
18
|
+
* actions?: { display: Boolean }
|
|
19
|
+
* container?: Element
|
|
20
|
+
* data: any
|
|
21
|
+
* editor?: { inlinePropertiesPanel: Boolean }
|
|
22
|
+
* exporter?: { name: String, version: String }
|
|
23
|
+
* schema: any
|
|
24
|
+
* } } FormPlaygroundOptions
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* @param {FormPlaygroundOptions} options
|
|
28
|
+
*/
|
|
29
|
+
constructor(options: FormPlaygroundOptions);
|
|
30
|
+
on: {
|
|
31
|
+
<Key extends import("mitt").EventType>(type: Key, handler: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key]>): void;
|
|
32
|
+
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
33
|
+
};
|
|
34
|
+
off: {
|
|
35
|
+
<Key_1 extends import("mitt").EventType>(type: Key_1, handler?: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key_1]>): void;
|
|
36
|
+
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
37
|
+
};
|
|
38
|
+
emit: {
|
|
39
|
+
<Key_2 extends import("mitt").EventType>(type: Key_2, event: Record<import("mitt").EventType, unknown>[Key_2]): void;
|
|
40
|
+
<Key_3 extends import("mitt").EventType>(type: undefined extends Record<import("mitt").EventType, unknown>[Key_3] ? Key_3 : never): void;
|
|
41
|
+
};
|
|
42
|
+
getState: () => {
|
|
43
|
+
data: any;
|
|
44
|
+
schema: any;
|
|
45
|
+
};
|
|
46
|
+
getSchema: (...args: any[]) => any;
|
|
47
|
+
setSchema: (...args: any[]) => any;
|
|
48
|
+
saveSchema: (...args: any[]) => any;
|
|
49
|
+
get: (...args: any[]) => any;
|
|
50
|
+
getEditor: (...args: any[]) => any;
|
|
51
|
+
destroy: () => void;
|
|
52
|
+
attachEditorContainer: (...args: any[]) => any;
|
|
53
|
+
attachPreviewContainer: (...args: any[]) => any;
|
|
54
|
+
attachDataContainer: (...args: any[]) => any;
|
|
55
|
+
attachResultContainer: (...args: any[]) => any;
|
|
56
|
+
attachPaletteContainer: (...args: any[]) => any;
|
|
57
|
+
attachPropertiesPanelContainer: (...args: any[]) => any;
|
|
58
|
+
}
|
|
59
|
+
export type FormPlaygroundOptions = {
|
|
60
|
+
actions?: {
|
|
61
|
+
display: boolean;
|
|
62
|
+
};
|
|
63
|
+
container?: Element;
|
|
64
|
+
data: any;
|
|
65
|
+
editor?: {
|
|
66
|
+
inlinePropertiesPanel: boolean;
|
|
67
|
+
};
|
|
68
|
+
exporter?: {
|
|
69
|
+
name: string;
|
|
70
|
+
version: string;
|
|
71
|
+
};
|
|
72
|
+
schema: any;
|
|
73
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function EmbedModal(props: any): any;
|
|
1
|
+
export function EmbedModal(props: any): any;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export function JSONEditor(options?: {}): void;
|
|
2
|
-
export class JSONEditor {
|
|
3
|
-
constructor(options?: {});
|
|
4
|
-
setValue: (value: any) => void;
|
|
5
|
-
getValue: () => string;
|
|
6
|
-
on: {
|
|
7
|
-
<Key extends import("mitt").EventType>(type: Key, handler: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key]>): void;
|
|
8
|
-
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
9
|
-
};
|
|
10
|
-
off: {
|
|
11
|
-
<Key_1 extends import("mitt").EventType>(type: Key_1, handler?: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key_1]>): void;
|
|
12
|
-
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
13
|
-
};
|
|
14
|
-
attachTo: (container: any) => void;
|
|
15
|
-
destroy: () => void;
|
|
16
|
-
}
|
|
1
|
+
export function JSONEditor(options?: {}): void;
|
|
2
|
+
export class JSONEditor {
|
|
3
|
+
constructor(options?: {});
|
|
4
|
+
setValue: (value: any) => void;
|
|
5
|
+
getValue: () => string;
|
|
6
|
+
on: {
|
|
7
|
+
<Key extends import("mitt").EventType>(type: Key, handler: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key]>): void;
|
|
8
|
+
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
9
|
+
};
|
|
10
|
+
off: {
|
|
11
|
+
<Key_1 extends import("mitt").EventType>(type: Key_1, handler?: import("mitt").Handler<Record<import("mitt").EventType, unknown>[Key_1]>): void;
|
|
12
|
+
(type: "*", handler: import("mitt").WildcardHandler<Record<import("mitt").EventType, unknown>>): void;
|
|
13
|
+
};
|
|
14
|
+
attachTo: (container: any) => void;
|
|
15
|
+
destroy: () => void;
|
|
16
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function Modal(props: any): any;
|
|
1
|
+
export function Modal(props: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function PlaygroundRoot(props: any): any;
|
|
1
|
+
export function PlaygroundRoot(props: any): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function Section(props: any): any;
|
|
2
|
-
export namespace Section {
|
|
3
|
-
function HeaderItem(props: any): any;
|
|
4
|
-
}
|
|
1
|
+
export function Section(props: any): any;
|
|
2
|
+
export namespace Section {
|
|
3
|
+
function HeaderItem(props: any): any;
|
|
4
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Playground } from "./Playground";
|
|
1
|
+
export { default as Playground } from "./Playground";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-playground",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
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": "^0.9.
|
|
48
|
-
"@bpmn-io/form-js-viewer": "^0.9.
|
|
47
|
+
"@bpmn-io/form-js-editor": "^0.9.8",
|
|
48
|
+
"@bpmn-io/form-js-viewer": "^0.9.8",
|
|
49
49
|
"@codemirror/lang-json": "^6.0.0",
|
|
50
50
|
"@codemirror/state": "^6.1.1",
|
|
51
51
|
"@codemirror/view": "^6.2.0",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
],
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"css-loader": "^6.3.0",
|
|
64
|
-
"min-dash": "^
|
|
65
|
-
"min-dom": "^
|
|
64
|
+
"min-dash": "^4.0.0",
|
|
65
|
+
"min-dom": "^4.0.0",
|
|
66
66
|
"rollup-plugin-css-only": "^3.1.0",
|
|
67
67
|
"style-loader": "^3.3.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "357dfcdd0c046494c54e26b35e415e0e688f8f7c"
|
|
70
70
|
}
|