@bpmn-io/form-js-viewer 1.3.0 → 1.3.2

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.
@@ -138,7 +138,7 @@ export default class Form {
138
138
  /**
139
139
  * @internal
140
140
  */
141
- _applyConditions(toFilter: any, data: any): any;
141
+ _applyConditions(toFilter: any, data: any, options?: {}): any;
142
142
  /**
143
143
  * @internal
144
144
  */
@@ -12,11 +12,15 @@ declare class ConditionChecker {
12
12
  *
13
13
  * @param {Object<string, any>} properties
14
14
  * @param {Object<string, any>} data
15
+ * @param {Object} [options]
16
+ * @param {Function} [options.getFilterPath]
15
17
  */
16
18
  applyConditions(properties: {
17
19
  [x: string]: any;
18
20
  }, data?: {
19
21
  [x: string]: any;
22
+ }, options?: {
23
+ getFilterPath?: Function;
20
24
  }): {
21
25
  [x: string]: any;
22
26
  };
@@ -1,36 +1,36 @@
1
- import { Injector } from 'didi';
2
-
3
- export type Module = any;
4
- export type Schema = any;
5
-
6
- export interface Data {
7
- [x: string]: any;
8
- }
9
-
10
- export interface Errors {
11
- [x: string]: string[];
12
- }
13
-
14
- export type FormProperty = ('readOnly' | 'disabled' | string);
15
- export type FormEvent = ('submit' | 'changed' | string);
16
-
17
- export interface FormProperties {
18
- [x: string]: any;
19
- }
20
-
21
- export interface FormOptions {
22
- additionalModules?: Module[];
23
- container?: Element | null | string;
24
- injector?: Injector;
25
- modules?: Module[];
26
- properties?: FormProperties;
27
- }
28
-
29
- export interface CreateFormOptions extends FormOptions {
30
- data?: Data;
31
- schema: Schema;
32
- }
33
-
34
- export {
35
- Injector
1
+ import { Injector } from 'didi';
2
+
3
+ export type Module = any;
4
+ export type Schema = any;
5
+
6
+ export interface Data {
7
+ [x: string]: any;
8
+ }
9
+
10
+ export interface Errors {
11
+ [x: string]: string[];
12
+ }
13
+
14
+ export type FormProperty = ('readOnly' | 'disabled' | string);
15
+ export type FormEvent = ('submit' | 'changed' | string);
16
+
17
+ export interface FormProperties {
18
+ [x: string]: any;
19
+ }
20
+
21
+ export interface FormOptions {
22
+ additionalModules?: Module[];
23
+ container?: Element | null | string;
24
+ injector?: Injector;
25
+ modules?: Module[];
26
+ properties?: FormProperties;
27
+ }
28
+
29
+ export interface CreateFormOptions extends FormOptions {
30
+ data?: Data;
31
+ schema: Schema;
32
+ }
33
+
34
+ export {
35
+ Injector
36
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-viewer",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "View forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -48,8 +48,8 @@
48
48
  "big.js": "^6.2.1",
49
49
  "classnames": "^2.3.1",
50
50
  "didi": "^9.0.0",
51
- "feelers": "^0.1.0",
52
- "feelin": "^1.0.0",
51
+ "feelers": "^1.0.0",
52
+ "feelin": "^1.2.0",
53
53
  "flatpickr": "^4.6.13",
54
54
  "ids": "^1.0.0",
55
55
  "min-dash": "^4.0.0",
@@ -63,5 +63,5 @@
63
63
  "files": [
64
64
  "dist"
65
65
  ],
66
- "gitHead": "f7cc5395b19de74eb7d9183af38dc462170a6179"
66
+ "gitHead": "9a3a4503421fde61e91e398d43a16b5a8cacfd47"
67
67
  }