@bpmn-io/form-js-playground 1.15.0 → 1.15.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.
- package/dist/form-playground.umd.js +20 -1
- package/package.json +4 -4
|
@@ -69241,13 +69241,22 @@
|
|
|
69241
69241
|
const {
|
|
69242
69242
|
required
|
|
69243
69243
|
} = validate;
|
|
69244
|
-
const [
|
|
69244
|
+
const [onChange, flushOnChange] = useFlushDebounce(({
|
|
69245
69245
|
target
|
|
69246
69246
|
}) => {
|
|
69247
69247
|
props.onChange({
|
|
69248
69248
|
value: target.value
|
|
69249
69249
|
});
|
|
69250
69250
|
});
|
|
69251
|
+
|
|
69252
|
+
/**
|
|
69253
|
+
* @param {import('preact').JSX.TargetedEvent<HTMLInputElement, Event>} event
|
|
69254
|
+
*/
|
|
69255
|
+
const onInputChange = event => {
|
|
69256
|
+
onChange({
|
|
69257
|
+
target: event.target
|
|
69258
|
+
});
|
|
69259
|
+
};
|
|
69251
69260
|
const onInputBlur = () => {
|
|
69252
69261
|
flushOnChange && flushOnChange();
|
|
69253
69262
|
onBlur && onBlur();
|
|
@@ -90638,6 +90647,7 @@
|
|
|
90638
90647
|
const schema = `[
|
|
90639
90648
|
{
|
|
90640
90649
|
"documentId": "u123",
|
|
90650
|
+
"endpoint": "https://api.example.com/documents/u123",
|
|
90641
90651
|
"metadata": {
|
|
90642
90652
|
"fileName": "Document.pdf",
|
|
90643
90653
|
"contentType": "application/pdf"
|
|
@@ -90655,6 +90665,15 @@
|
|
|
90655
90665
|
children: o("code", {
|
|
90656
90666
|
children: schema
|
|
90657
90667
|
})
|
|
90668
|
+
}), o("p", {
|
|
90669
|
+
children: "When using Camunda Tasklist UI, additional document reference attributes are automatically handled. Modifying the document reference may affect the document preview functionality."
|
|
90670
|
+
}), o("p", {
|
|
90671
|
+
children: ["Learn more in our", ' ', o("a", {
|
|
90672
|
+
href: "https://docs.camunda.io/docs/8.7/components/modeler/forms/form-element-library/forms-element-library-document-preview/",
|
|
90673
|
+
target: "_blank",
|
|
90674
|
+
rel: "noopener noreferrer",
|
|
90675
|
+
children: "documentation"
|
|
90676
|
+
}), "."]
|
|
90658
90677
|
})]
|
|
90659
90678
|
});
|
|
90660
90679
|
return FeelTemplatingEntry({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-playground",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"description": "A form-js playground",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"url": "https://github.com/bpmn-io"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@bpmn-io/form-js-editor": "^1.15.
|
|
49
|
-
"@bpmn-io/form-js-viewer": "^1.15.
|
|
48
|
+
"@bpmn-io/form-js-editor": "^1.15.2",
|
|
49
|
+
"@bpmn-io/form-js-viewer": "^1.15.2",
|
|
50
50
|
"@codemirror/autocomplete": "^6.18.6",
|
|
51
51
|
"@codemirror/commands": "^6.8.0",
|
|
52
52
|
"@codemirror/lang-json": "^6.0.1",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"rollup-plugin-css-only": "^4.5.2",
|
|
72
72
|
"style-loader": "^4.0.0"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "ef9301a743c083512615b78b8f6aebfca97a92a7"
|
|
75
75
|
}
|