@chamn/engine 0.0.22 → 0.0.23
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/component/CustomSchemaForm/components/Form/index.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +66 -40
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7975 -7307
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/Designer/components/Canvas/index.d.ts +6 -1
- package/dist/plugins/History/type.d.ts +3 -3
- package/package.json +7 -7
|
@@ -8,6 +8,7 @@ export type CFormProps = {
|
|
|
8
8
|
customSetterMap: CFormContextData['customSetterMap'];
|
|
9
9
|
onValueChange?: (formData: Record<string, any>) => void;
|
|
10
10
|
};
|
|
11
|
+
export declare const registerCustomSetter: (customSetterMap: CFormContextData['customSetterMap']) => void;
|
|
11
12
|
export declare class CForm extends React.Component<CFormProps, CFormContextData> {
|
|
12
13
|
updateContext: (newState: ContextState) => void;
|
|
13
14
|
constructor(props: CFormProps);
|
package/dist/index.d.ts
CHANGED
|
@@ -49,3 +49,5 @@ export * from '@chamn/layout';
|
|
|
49
49
|
export * from './material/innerMaterial';
|
|
50
50
|
export * from './component/CustomSchemaForm/components/Setters/type';
|
|
51
51
|
export * from './utils/index';
|
|
52
|
+
/** 注册自定义 setter */
|
|
53
|
+
export { registerCustomSetter } from './component/CustomSchemaForm/components/Form';
|