@bpmn-io/form-js-viewer 0.13.1 → 0.14.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/LICENSE +22 -22
- package/README.md +164 -164
- package/dist/assets/form-js-base.css +781 -780
- package/dist/assets/form-js.css +3 -2
- package/dist/index.cjs +232 -213
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +232 -213
- package/dist/index.es.js.map +1 -1
- package/dist/types/Form.d.ts +0 -22
- package/dist/types/types.d.ts +35 -35
- package/package.json +2 -3
package/dist/types/Form.d.ts
CHANGED
|
@@ -117,28 +117,6 @@ export default class Form {
|
|
|
117
117
|
_getModules(): ({
|
|
118
118
|
__init__: string[];
|
|
119
119
|
expressionLanguage: (string | typeof import("./features/expression-language").FeelExpressionLanguage)[];
|
|
120
|
-
/**
|
|
121
|
-
* @typedef { import('./types').Injector } Injector
|
|
122
|
-
* @typedef { import('./types').Data } Data
|
|
123
|
-
* @typedef { import('./types').Errors } Errors
|
|
124
|
-
* @typedef { import('./types').Schema } Schema
|
|
125
|
-
* @typedef { import('./types').FormProperties } FormProperties
|
|
126
|
-
* @typedef { import('./types').FormProperty } FormProperty
|
|
127
|
-
* @typedef { import('./types').FormEvent } FormEvent
|
|
128
|
-
* @typedef { import('./types').FormOptions } FormOptions
|
|
129
|
-
*
|
|
130
|
-
* @typedef { {
|
|
131
|
-
* data: Data,
|
|
132
|
-
* initialData: Data,
|
|
133
|
-
* errors: Errors,
|
|
134
|
-
* properties: FormProperties,
|
|
135
|
-
* schema: Schema
|
|
136
|
-
* } } State
|
|
137
|
-
*
|
|
138
|
-
* @typedef { (type:FormEvent, priority:number, handler:Function) => void } OnEventWithPriority
|
|
139
|
-
* @typedef { (type:FormEvent, handler:Function) => void } OnEventWithOutPriority
|
|
140
|
-
* @typedef { OnEventWithPriority & OnEventWithOutPriority } OnEventType
|
|
141
|
-
*/
|
|
142
120
|
templating: (string | typeof import("./features/expression-language").FeelersTemplating)[];
|
|
143
121
|
conditionChecker: (string | typeof import("./features/expression-language").ConditionChecker)[];
|
|
144
122
|
} | {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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' | 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' | 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": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "View forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -60,6 +60,5 @@
|
|
|
60
60
|
],
|
|
61
61
|
"files": [
|
|
62
62
|
"dist"
|
|
63
|
-
]
|
|
64
|
-
"gitHead": "0b139786808d65c52aa030be7b9ae26abda34fde"
|
|
63
|
+
]
|
|
65
64
|
}
|