@bpmn-io/form-js-viewer 0.11.0 → 0.12.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.css +140 -43
- package/dist/index.cjs +733 -468
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +654 -380
- package/dist/index.es.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/render/components/form-fields/Button.d.ts +1 -0
- package/dist/types/render/components/form-fields/Checkbox.d.ts +1 -0
- package/dist/types/render/components/form-fields/Checklist.d.ts +7 -1
- package/dist/types/render/components/form-fields/Datetime.d.ts +2 -0
- package/dist/types/render/components/form-fields/Default.d.ts +2 -0
- package/dist/types/render/components/form-fields/Image.d.ts +2 -0
- package/dist/types/render/components/form-fields/Number.d.ts +1 -0
- package/dist/types/render/components/form-fields/Radio.d.ts +7 -1
- package/dist/types/render/components/form-fields/Select.d.ts +7 -1
- package/dist/types/render/components/form-fields/Taglist.d.ts +7 -1
- package/dist/types/render/components/form-fields/Text.d.ts +2 -0
- package/dist/types/render/components/form-fields/Textarea.d.ts +1 -0
- package/dist/types/render/components/form-fields/Textfield.d.ts +1 -0
- package/dist/types/render/components/form-fields/parts/SearchableSelect.d.ts +1 -0
- package/dist/types/render/components/form-fields/parts/SimpleSelect.d.ts +1 -0
- package/dist/types/render/components/index.d.ts +1 -1
- package/dist/types/util/constants/ValuesSourceConstants.d.ts +4 -1
- package/dist/types/util/index.d.ts +1 -0
- package/package.json +4 -4
package/dist/types/index.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
declare function Checklist(props: any): import("preact").JSX.Element;
|
|
2
2
|
declare namespace Checklist {
|
|
3
|
-
export function create(options?: {}): {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
4
9
|
export { type };
|
|
5
10
|
export const label: string;
|
|
6
11
|
export const keyed: boolean;
|
|
7
12
|
export const emptyValue: any[];
|
|
8
13
|
export { sanitizeMultiSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
9
15
|
}
|
|
10
16
|
export default Checklist;
|
|
11
17
|
declare const type: "checklist";
|
|
@@ -5,6 +5,8 @@ declare namespace Datetime {
|
|
|
5
5
|
export const keyed: boolean;
|
|
6
6
|
export const emptyValue: any;
|
|
7
7
|
export { sanitizeDateTimePickerValue as sanitizeValue };
|
|
8
|
+
export const label: string;
|
|
9
|
+
export const group: string;
|
|
8
10
|
}
|
|
9
11
|
export default Datetime;
|
|
10
12
|
declare const type: "datetime";
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
declare function Radio(props: any): import("preact").JSX.Element;
|
|
2
2
|
declare namespace Radio {
|
|
3
|
-
export function create(options?: {}): {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
4
9
|
export { type };
|
|
5
10
|
export const label: string;
|
|
6
11
|
export const keyed: boolean;
|
|
7
12
|
export const emptyValue: any;
|
|
8
13
|
export { sanitizeSingleSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
9
15
|
}
|
|
10
16
|
export default Radio;
|
|
11
17
|
declare const type: "radio";
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
declare function Select(props: any): import("preact").JSX.Element;
|
|
2
2
|
declare namespace Select {
|
|
3
|
-
export function create(options?: {}): {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
4
9
|
export { type };
|
|
5
10
|
export const label: string;
|
|
6
11
|
export const keyed: boolean;
|
|
7
12
|
export const emptyValue: any;
|
|
8
13
|
export { sanitizeSingleSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
9
15
|
}
|
|
10
16
|
export default Select;
|
|
11
17
|
declare const type: "select";
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
declare function Taglist(props: any): import("preact").JSX.Element;
|
|
2
2
|
declare namespace Taglist {
|
|
3
|
-
export function create(options?: {}): {
|
|
3
|
+
export function create(options?: {}): {
|
|
4
|
+
values: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
4
9
|
export { type };
|
|
5
10
|
export const label: string;
|
|
6
11
|
export const keyed: boolean;
|
|
7
12
|
export const emptyValue: any[];
|
|
8
13
|
export { sanitizeMultiSelectValue as sanitizeValue };
|
|
14
|
+
export const group: string;
|
|
9
15
|
}
|
|
10
16
|
export default Taglist;
|
|
11
17
|
declare const type: "taglist";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SearchableSelect(props: any): import("preact").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SimpleSelect(props: any): import("preact").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-viewer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "View forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"all": "run-s test build",
|
|
22
22
|
"build": "run-p bundle generate-types",
|
|
23
23
|
"start": "SINGLE_START=basic npm run dev",
|
|
24
|
-
"bundle": "rollup -c --failAfterWarnings",
|
|
25
|
-
"bundle:watch": "rollup -c -w",
|
|
24
|
+
"bundle": "rollup -c --failAfterWarnings --bundleConfigAsCjs",
|
|
25
|
+
"bundle:watch": "rollup -c -w --bundleConfigAsCjs",
|
|
26
26
|
"dev": "npm test -- --auto-watch --no-single-run",
|
|
27
27
|
"generate-types": "tsc --allowJs --skipLibCheck --declaration --emitDeclarationOnly --outDir dist/types src/index.js && copyfiles src/*.d.ts dist/types",
|
|
28
28
|
"test": "karma start",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"files": [
|
|
57
57
|
"dist"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "a0f3d50d21422053ebd8aeb933fb026ccf8d9209"
|
|
60
60
|
}
|