@bpmn-io/form-js-editor 1.24.1 → 1.25.0
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/index.cjs +7534 -7622
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +7537 -7625
- package/dist/index.es.js.map +1 -1
- package/dist/types/features/properties-panel/PropertiesPanel.d.ts +1 -1
- package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +8 -25
- package/dist/types/features/properties-panel/hooks/index.d.ts +1 -1
- package/dist/types/features/properties-panel/hooks/useService.d.ts +1 -0
- package/package.json +3 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
export function PropertiesPanel(
|
|
1
|
+
export function PropertiesPanel(): import("preact").JSX.Element;
|
|
@@ -1,31 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef { { parent: Element } } PropertiesPanelConfig
|
|
3
2
|
* @typedef { import('../../core/EventBus').EventBus } EventBus
|
|
4
|
-
* @typedef { import('../../types').Injector } Injector
|
|
5
3
|
* @typedef { { getGroups: ({ formField, editFormField }) => ({ groups}) => Array } } PropertiesProvider
|
|
6
4
|
*/
|
|
7
5
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Manages the properties panel section rendering and the registration of
|
|
7
|
+
* properties providers.
|
|
8
|
+
*
|
|
10
9
|
* @param {EventBus} eventBus
|
|
11
10
|
*/
|
|
12
|
-
export class PropertiesPanelRenderer {
|
|
13
|
-
constructor(
|
|
14
|
-
_eventBus: any;
|
|
15
|
-
_injector: any;
|
|
16
|
-
_container: HTMLElement;
|
|
17
|
-
/**
|
|
18
|
-
* Attach the properties panel to a parent node.
|
|
19
|
-
*
|
|
20
|
-
* @param {HTMLElement} container
|
|
21
|
-
*/
|
|
22
|
-
attachTo(container: HTMLElement): void;
|
|
23
|
-
/**
|
|
24
|
-
* Detach the properties panel from its parent node.
|
|
25
|
-
*/
|
|
26
|
-
detach(): void;
|
|
27
|
-
_render(): void;
|
|
28
|
-
_destroy(): void;
|
|
11
|
+
export class PropertiesPanelRenderer extends SectionModuleBase {
|
|
12
|
+
constructor(eventBus: any);
|
|
29
13
|
/**
|
|
30
14
|
* Register a new properties provider to the properties panel.
|
|
31
15
|
*
|
|
@@ -33,16 +17,15 @@ export class PropertiesPanelRenderer {
|
|
|
33
17
|
* @param {Number} [priority]
|
|
34
18
|
*/
|
|
35
19
|
registerProvider(provider: PropertiesProvider, priority?: number): void;
|
|
20
|
+
getProviders(): any;
|
|
36
21
|
_getProviders(): any;
|
|
22
|
+
_destroy(): void;
|
|
37
23
|
}
|
|
38
24
|
export namespace PropertiesPanelRenderer {
|
|
39
25
|
let $inject: string[];
|
|
40
26
|
}
|
|
41
|
-
export type PropertiesPanelConfig = {
|
|
42
|
-
parent: Element;
|
|
43
|
-
};
|
|
44
27
|
export type EventBus = import("../../core/EventBus").EventBus;
|
|
45
|
-
export type Injector = import("../../types").Injector;
|
|
46
28
|
export type PropertiesProvider = {
|
|
47
29
|
getGroups: ({ formField, editFormField }: any) => ({ groups }: any) => any[];
|
|
48
30
|
};
|
|
31
|
+
import { SectionModuleBase } from '../SectionModuleBase';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { useVariables } from "./useVariables";
|
|
2
|
-
export { useService } from "./
|
|
2
|
+
export { useService } from "./useService";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useService } from "../../../render/hooks";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "Edit forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@bpmn-io/draggle": "^4.1.2",
|
|
51
|
-
"@bpmn-io/form-js-viewer": "1.
|
|
51
|
+
"@bpmn-io/form-js-viewer": "^1.25.0",
|
|
52
52
|
"@bpmn-io/properties-panel": "^3.47.0",
|
|
53
53
|
"array-move": "^4.0.0",
|
|
54
54
|
"big.js": "^7.0.1",
|
|
@@ -62,6 +62,5 @@
|
|
|
62
62
|
],
|
|
63
63
|
"files": [
|
|
64
64
|
"dist"
|
|
65
|
-
]
|
|
66
|
-
"gitHead": "81e618336af03005c15b1237c030adbc954f6109"
|
|
65
|
+
]
|
|
67
66
|
}
|