@bpmn-io/form-js-editor 1.7.3 → 1.8.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.
@@ -51,6 +51,7 @@ export class FormEditor {
51
51
  */
52
52
  private _state;
53
53
  get: {
54
+ <Name extends never>(name: Name): null[Name];
54
55
  <T>(name: string): T;
55
56
  <T_1>(name: string, strict: true): T_1;
56
57
  <T_2>(name: string, strict: boolean): T_2;
@@ -155,6 +156,7 @@ export class FormEditor {
155
156
  selection: (string | typeof import("./features/selection/Selection").Selection)[];
156
157
  selectionBehavior: (string | typeof import("./features/selection/SelectionBehavior").SelectionBehavior)[];
157
158
  } | {
159
+ __init__: string[];
158
160
  palette: (string | typeof import("./features/palette/PaletteRenderer").PaletteRenderer)[];
159
161
  } | {
160
162
  __depends__: any[];
@@ -25,7 +25,7 @@ export class Dragging {
25
25
  _formFieldRegistry: import("../../core/FormFieldRegistry").FormFieldRegistry;
26
26
  _formLayouter: import("@bpmn-io/form-js-viewer").FormLayouter;
27
27
  _formLayoutValidator: import("../../core/FormLayoutValidator").FormLayoutValidator;
28
- _eventBus: import("diagram-js/lib/core/EventBus").default;
28
+ _eventBus: import("diagram-js/lib/core/EventBus").default<null>;
29
29
  _modeling: import("../modeling/Modeling").Modeling;
30
30
  _pathRegistry: import("@bpmn-io/form-js-viewer").PathRegistry;
31
31
  /**
@@ -1,4 +1,5 @@
1
1
  export namespace PaletteModule {
2
+ let __init__: string[];
2
3
  let palette: (string | typeof PaletteRenderer)[];
3
4
  }
4
5
  import { PaletteRenderer } from './PaletteRenderer';
@@ -0,0 +1,10 @@
1
+ export function ExpressionFieldEntries(props: any): {
2
+ id: string;
3
+ component: typeof ExpressionFieldExpression;
4
+ isEdited: any;
5
+ editField: any;
6
+ field: any;
7
+ isDefaultVisible: {};
8
+ }[];
9
+ declare function ExpressionFieldExpression(props: any): any;
10
+ export {};
@@ -16,6 +16,7 @@ export { TextEntry } from "./TextEntry";
16
16
  export { HtmlEntry } from "./HtmlEntry";
17
17
  export { HeightEntry } from "./HeightEntry";
18
18
  export { NumberEntries } from "./NumberEntries";
19
+ export { ExpressionFieldEntries } from "./ExpressionFieldEntries";
19
20
  export { NumberSerializationEntry } from "./NumberSerializationEntry";
20
21
  export { DateTimeEntry } from "./DateTimeEntry";
21
22
  export { DateTimeConstraintsEntry } from "./DateTimeConstraintsEntry";
@@ -0,0 +1,13 @@
1
+ export function EditorExpressionField(props: any): import("preact").JSX.Element;
2
+ export namespace EditorExpressionField {
3
+ let config: {
4
+ escapeGridRender: boolean;
5
+ create(options?: {}): {
6
+ computeOn: string;
7
+ };
8
+ type: "expression";
9
+ label: string;
10
+ group: string;
11
+ keyed: boolean;
12
+ };
13
+ }
@@ -1,5 +1,6 @@
1
- export const editorFormFields: (typeof EditorIFrame | typeof EditorText | typeof EditorHtml | typeof EditorTable)[];
1
+ export const editorFormFields: (typeof EditorIFrame | typeof EditorText | typeof EditorHtml | typeof EditorTable | typeof EditorExpressionField)[];
2
2
  import { EditorIFrame } from './EditorIFrame';
3
3
  import { EditorText } from './EditorText';
4
4
  import { EditorHtml } from './EditorHtml';
5
5
  import { EditorTable } from './EditorTable';
6
+ import { EditorExpressionField } from './EditorExpressionField';
@@ -1,29 +1,29 @@
1
- import { Injector } from 'didi';
2
-
3
- export type Module = any;
4
- export type Schema = any;
5
-
6
- export interface FormEditorProperties {
7
- [x: string]: any
8
- }
9
-
10
- export interface FormEditorOptions {
11
- additionalModules?: Module[];
12
- container?: Element | null | string;
13
- exporter?: {
14
- name: string,
15
- version: string
16
- };
17
- injector?: Injector;
18
- modules?: Module[];
19
- properties?: FormEditorProperties;
20
- [x:string]: any;
21
- }
22
-
23
- export interface CreateFormEditorOptions extends FormEditorOptions {
24
- schema?: Schema
25
- }
26
-
27
- export {
28
- Injector
1
+ import { Injector } from 'didi';
2
+
3
+ export type Module = any;
4
+ export type Schema = any;
5
+
6
+ export interface FormEditorProperties {
7
+ [x: string]: any
8
+ }
9
+
10
+ export interface FormEditorOptions {
11
+ additionalModules?: Module[];
12
+ container?: Element | null | string;
13
+ exporter?: {
14
+ name: string,
15
+ version: string
16
+ };
17
+ injector?: Injector;
18
+ modules?: Module[];
19
+ properties?: FormEditorProperties;
20
+ [x:string]: any;
21
+ }
22
+
23
+ export interface CreateFormEditorOptions extends FormEditorOptions {
24
+ schema?: Schema
25
+ }
26
+
27
+ export {
28
+ Injector
29
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-editor",
3
- "version": "1.7.3",
3
+ "version": "1.8.1",
4
4
  "description": "Edit forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -47,13 +47,13 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@bpmn-io/draggle": "^4.0.0",
50
- "@bpmn-io/form-js-viewer": "^1.7.3",
50
+ "@bpmn-io/form-js-viewer": "^1.8.1",
51
51
  "@bpmn-io/properties-panel": "^3.18.1",
52
52
  "array-move": "^3.0.1",
53
53
  "big.js": "^6.2.1",
54
54
  "ids": "^1.0.0",
55
55
  "min-dash": "^4.2.1",
56
- "min-dom": "^4.1.0",
56
+ "min-dom": "^5.0.0",
57
57
  "preact": "^10.5.14"
58
58
  },
59
59
  "sideEffects": [
@@ -62,5 +62,5 @@
62
62
  "files": [
63
63
  "dist"
64
64
  ],
65
- "gitHead": "495efb051b4ff6a8f8abebedd035a95651345f9f"
65
+ "gitHead": "98d0c362ba37b809703027173c58441c1a2af5c2"
66
66
  }