@bpmn-io/form-js-editor 1.8.2 → 1.8.4

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.
@@ -11,18 +11,18 @@ export function isValidNumber(value: unknown): boolean;
11
11
  export function stopPropagation(listener: any): (event: any) => void;
12
12
  export function textToLabel(text: any): string;
13
13
  /**
14
- * @param {string} path
15
- */
14
+ * @param {string} path
15
+ */
16
16
  export function isValidDotPath(path: string): boolean;
17
17
  /**
18
- * @param {string} path
19
- */
18
+ * @param {string} path
19
+ */
20
20
  export function isProhibitedPath(path: string): boolean;
21
21
  export function hasEntryConfigured(formFieldDefinition: any, entryId: any): any;
22
22
  export function hasOptionsGroupsConfigured(formFieldDefinition: any): any;
23
23
  /**
24
- * @param {string} path
25
- */
24
+ * @param {string} path
25
+ */
26
26
  export function hasIntegerPathSegment(path: string): boolean;
27
27
  export const LABELED_NON_INPUTS: string[];
28
28
  export const INPUTS: string[];
@@ -9,5 +9,6 @@ export namespace EditorExpressionField {
9
9
  label: string;
10
10
  group: string;
11
11
  keyed: boolean;
12
+ emptyValue: any;
12
13
  };
13
14
  }
@@ -1,29 +1,27 @@
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
- };
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 { Injector };
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-editor",
3
- "version": "1.8.2",
3
+ "version": "1.8.4",
4
4
  "description": "Edit forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
7
+ "types": "./dist/types/index.d.ts",
7
8
  "import": "./dist/index.es.js",
8
9
  "require": "./dist/index.cjs"
9
10
  },
@@ -47,7 +48,7 @@
47
48
  },
48
49
  "dependencies": {
49
50
  "@bpmn-io/draggle": "^4.0.0",
50
- "@bpmn-io/form-js-viewer": "^1.8.1",
51
+ "@bpmn-io/form-js-viewer": "^1.8.4",
51
52
  "@bpmn-io/properties-panel": "^3.18.1",
52
53
  "array-move": "^3.0.1",
53
54
  "big.js": "^6.2.1",
@@ -62,5 +63,5 @@
62
63
  "files": [
63
64
  "dist"
64
65
  ],
65
- "gitHead": "b2a7445d094381999756e3d08b252e00db30f05f"
66
+ "gitHead": "c9a4761209756fce5711053526023f42bf3b7b54"
66
67
  }