@flowgram.ai/type-editor 0.4.12 → 0.4.15
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/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/esm/index.js
CHANGED
|
@@ -1987,13 +1987,13 @@ var TypeCascader = forwardRef3(({ value: originValue, onChange, onContextChange,
|
|
|
1987
1987
|
}
|
|
1988
1988
|
)), originValue && typeService.getTypeByName(customPanelType)?.typeCascaderConfig?.customCascaderPanel?.({
|
|
1989
1989
|
typeSchema: originValue,
|
|
1990
|
-
onChange: (newVal) => {
|
|
1990
|
+
onChange: ((newVal) => {
|
|
1991
1991
|
onChange?.(newVal, {
|
|
1992
1992
|
source: "custom-panel"
|
|
1993
1993
|
});
|
|
1994
1994
|
const newCtx = typeService.getTypeBySchema(newVal)?.typeCascaderConfig?.generateInitCtx?.(newVal) || {};
|
|
1995
1995
|
onContextChange(newCtx);
|
|
1996
|
-
}
|
|
1996
|
+
})
|
|
1997
1997
|
}) || null));
|
|
1998
1998
|
});
|
|
1999
1999
|
|