@bpmn-io/form-js-editor 1.0.0-alpha.6 → 1.0.0-alpha.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/index.cjs +7642 -7545
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +7646 -7549
- package/dist/index.es.js.map +1 -1
- package/dist/types/FormEditor.d.ts +1 -1
- package/dist/types/features/properties-panel/PropertiesPanel.d.ts +1 -1
- package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +37 -0
- package/dist/types/features/properties-panel/context/FormPropertiesPanelContext.d.ts +11 -0
- package/dist/types/features/properties-panel/context/index.d.ts +1 -0
- package/dist/types/features/properties-panel/hooks/index.d.ts +1 -1
- package/dist/types/features/properties-panel/hooks/usePropertiesPanelService.d.ts +1 -0
- package/dist/types/features/properties-panel/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/types/features/properties-panel/PropertiesPanelModule.d.ts +0 -8
- package/dist/types/features/properties-panel/hooks/useService.d.ts +0 -2
|
@@ -147,7 +147,7 @@ export default class FormEditor {
|
|
|
147
147
|
templating: (string | typeof import("./features/expression-language/EditorTemplating").default)[];
|
|
148
148
|
} | typeof MarkdownModule | {
|
|
149
149
|
__init__: string[];
|
|
150
|
-
propertiesPanel: (string | typeof import("./features/properties-panel/
|
|
150
|
+
propertiesPanel: (string | typeof import("./features/properties-panel/PropertiesPanelRenderer").default)[];
|
|
151
151
|
} | {
|
|
152
152
|
__init__: string[];
|
|
153
153
|
renderInjector: (string | typeof import("./features/render-injection/RenderInjector").default)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function FormPropertiesPanel(): import("preact").JSX.Element;
|
|
1
|
+
export default function FormPropertiesPanel(props: any): import("preact").JSX.Element;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef { { parent: Element } } PropertiesPanelConfig
|
|
3
|
+
* @typedef { import('../../core/EventBus').default } EventBus
|
|
4
|
+
* @typedef { import('../../types').Injector } Injector
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {PropertiesPanelConfig} propertiesPanelConfig
|
|
8
|
+
* @param {Injector} injector
|
|
9
|
+
* @param {EventBus} eventBus
|
|
10
|
+
*/
|
|
11
|
+
declare class PropertiesPanelRenderer {
|
|
12
|
+
constructor(propertiesPanelConfig: any, injector: any, eventBus: any);
|
|
13
|
+
_eventBus: any;
|
|
14
|
+
_injector: any;
|
|
15
|
+
_container: HTMLElement;
|
|
16
|
+
/**
|
|
17
|
+
* Attach the properties panel to a parent node.
|
|
18
|
+
*
|
|
19
|
+
* @param {HTMLElement} container
|
|
20
|
+
*/
|
|
21
|
+
attachTo(container: HTMLElement): void;
|
|
22
|
+
/**
|
|
23
|
+
* Detach the properties panel from its parent node.
|
|
24
|
+
*/
|
|
25
|
+
detach(): void;
|
|
26
|
+
_render(): void;
|
|
27
|
+
_destroy(): void;
|
|
28
|
+
}
|
|
29
|
+
declare namespace PropertiesPanelRenderer {
|
|
30
|
+
const $inject: string[];
|
|
31
|
+
}
|
|
32
|
+
export default PropertiesPanelRenderer;
|
|
33
|
+
export type PropertiesPanelConfig = {
|
|
34
|
+
parent: Element;
|
|
35
|
+
};
|
|
36
|
+
export type EventBus = import('../../core/EventBus').default;
|
|
37
|
+
export type Injector = import('../../types').Injector;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default PropertiesPanelContext;
|
|
2
|
+
declare const PropertiesPanelContext: import("preact").Context<{
|
|
3
|
+
getService: typeof getService;
|
|
4
|
+
}>;
|
|
5
|
+
/**
|
|
6
|
+
* @param {string} type
|
|
7
|
+
* @param {boolean} [strict]
|
|
8
|
+
*
|
|
9
|
+
* @returns {any}
|
|
10
|
+
*/
|
|
11
|
+
declare function getService(type: string, strict?: boolean): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FormPropertiesPanelContext } from "./FormPropertiesPanelContext";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { useVariables } from "./useVariables";
|
|
2
|
-
export { useService } from "./
|
|
2
|
+
export { default as useService } from "./usePropertiesPanelService";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(type: any, strict: any): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-editor",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.8",
|
|
4
4
|
"description": "Edit forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"url": "https://github.com/bpmn-io"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@bpmn-io/form-js-viewer": "^1.0.0-alpha.
|
|
49
|
+
"@bpmn-io/form-js-viewer": "^1.0.0-alpha.7",
|
|
50
50
|
"@bpmn-io/properties-panel": "^2.1.0",
|
|
51
51
|
"array-move": "^3.0.1",
|
|
52
52
|
"big.js": "^6.2.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|
|
64
64
|
],
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "c4f8349e1f2a5b1e0fbd6fc4e12eb08917516aa6"
|
|
66
66
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare class PropertiesPanelModule extends SectionModuleBase {
|
|
2
|
-
constructor(eventBus: any);
|
|
3
|
-
}
|
|
4
|
-
declare namespace PropertiesPanelModule {
|
|
5
|
-
const $inject: string[];
|
|
6
|
-
}
|
|
7
|
-
export default PropertiesPanelModule;
|
|
8
|
-
import SectionModuleBase from '../SectionModuleBase';
|