@bpmn-io/form-js-editor 0.8.0-alpha.1 → 0.9.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/assets/form-js-editor.css +20 -9
- package/dist/index.cjs +5077 -4911
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +5078 -4912
- package/dist/index.es.js.map +1 -1
- package/dist/types/FormEditor.d.ts +3 -0
- package/dist/types/{render/components → features}/properties-panel/PropertiesPanel.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/PropertiesPanelHeaderProvider.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/PropertiesPanelPlaceholderProvider.d.ts +0 -0
- package/dist/types/features/properties-panel/PropertiesPanelRenderer.d.ts +37 -0
- package/dist/types/{render/components → features}/properties-panel/Util.d.ts +0 -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/{render/components → features}/properties-panel/entries/ActionEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/ColumnsEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/CustomValueEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/DefaultValueEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/DescriptionEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/DisabledEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/IdEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/InputKeyValuesSourceEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/KeyEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/LabelEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/StaticValuesSourceEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/TextEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/ValueEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/ValuesSourceSelectEntry.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/ValuesSourceUtil.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/entries/index.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/groups/CustomValuesGroup.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/groups/GeneralGroup.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/groups/ValidationGroup.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/groups/ValuesGroups.d.ts +0 -0
- package/dist/types/{render/components → features}/properties-panel/groups/index.d.ts +0 -0
- package/dist/types/features/properties-panel/hooks/index.d.ts +1 -0
- package/dist/types/features/properties-panel/hooks/usePropertiesPanelService.d.ts +1 -0
- package/dist/types/{render/components → features}/properties-panel/icons/index.d.ts +0 -0
- package/dist/types/features/properties-panel/index.d.ts +6 -0
- package/package.json +5 -5
- package/dist/types/render/hooks/index.d.ts +0 -3
- package/dist/types/render/hooks/useDebounce.d.ts +0 -1
- package/dist/types/render/hooks/usePrevious.d.ts +0 -1
|
@@ -132,6 +132,9 @@ export default class FormEditor {
|
|
|
132
132
|
selectionBehavior: (string | typeof import("./features/selection/SelectionBehavior").default)[];
|
|
133
133
|
} | {
|
|
134
134
|
palette: (string | typeof import("./features/palette/PaletteRenderer").default)[];
|
|
135
|
+
} | {
|
|
136
|
+
__init__: string[];
|
|
137
|
+
propertiesPanel: (string | typeof import("./features/properties-panel/PropertiesPanelRenderer").default)[];
|
|
135
138
|
})[];
|
|
136
139
|
/**
|
|
137
140
|
* @internal
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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 = any;
|
|
37
|
+
export type Injector = import('../../types').Injector;
|
|
File without changes
|
|
@@ -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";
|
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/entries/ColumnsEntry.d.ts
RENAMED
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/entries/CustomValueEntry.d.ts
RENAMED
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/entries/DefaultValueEntry.d.ts
RENAMED
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/entries/DescriptionEntry.d.ts
RENAMED
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/entries/DisabledEntry.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/entries/ValuesSourceUtil.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/groups/CustomValuesGroup.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/dist/types/{render/components → features}/properties-panel/groups/ValidationGroup.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useService } from "./usePropertiesPanelService";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(type: any, strict: any): any;
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Edit forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"url": "https://github.com/bpmn-io"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@bpmn-io/form-js-viewer": "^0.
|
|
45
|
+
"@bpmn-io/form-js-viewer": "^0.9.0",
|
|
46
46
|
"array-move": "^3.0.1",
|
|
47
47
|
"dragula": "^3.7.3",
|
|
48
48
|
"ids": "^1.0.0",
|
|
49
|
-
"min-dash": "^3.
|
|
50
|
-
"min-dom": "^3.1
|
|
49
|
+
"min-dash": "^3.8.1",
|
|
50
|
+
"min-dom": "^3.2.1",
|
|
51
51
|
"preact": "^10.5.14"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": [
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"files": [
|
|
57
57
|
"dist"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "10ea539989ea857adc7511e5f1a80a99c7ec96b1"
|
|
60
60
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useDebounce(fn: any, dependencies?: any[]): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function usePrevious(value: any): any;
|