@bpmn-io/form-js-playground 1.15.1 → 1.15.3
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 +14 -2
- 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();
|
|
@@ -69843,7 +69852,10 @@
|
|
|
69843
69852
|
if (cellData !== null && typeof cellData === 'object') {
|
|
69844
69853
|
return JSON.stringify(cellData);
|
|
69845
69854
|
}
|
|
69846
|
-
|
|
69855
|
+
if (cellData === null || cellData === undefined) {
|
|
69856
|
+
return '';
|
|
69857
|
+
}
|
|
69858
|
+
return `${cellData}`;
|
|
69847
69859
|
}
|
|
69848
69860
|
const FILE_PICKER_FILE_KEY_PREFIX = 'files::';
|
|
69849
69861
|
const type$1 = 'filepicker';
|
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.3",
|
|
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.3",
|
|
49
|
+
"@bpmn-io/form-js-viewer": "^1.15.3",
|
|
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": "fc508fe3094ca05d50d29721b9304f16061a2478"
|
|
75
75
|
}
|