@dovetail-v2/refine 0.0.60 → 0.0.61
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/{MonacoYamlDiffEditor-a6a2c099.js → MonacoYamlDiffEditor-0413ec6d.js} +1 -1
- package/dist/{index-2c6b45ea.js → index-ff0b07db.js} +320 -301
- package/dist/refine.js +1 -1
- package/dist/refine.umd.cjs +319 -300
- package/dist/style.css +2 -2
- package/lib/src/components/Form/useRefineForm.d.ts +4 -1
- package/lib/src/types/resource.d.ts +2 -1
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1525,12 +1525,12 @@
|
|
|
1525
1525
|
.c154n7ie{max-width:144px;}
|
|
1526
1526
|
.c1c9j4da{width:100%;}
|
|
1527
1527
|
.cjxv8cf{color:rgba(44,56,82,0.6);}
|
|
1528
|
-
.c1xsnuvk{-webkit-flex-basis:58%;-ms-flex-preferred-size:58%;flex-basis:58%;width:100%;}
|
|
1528
|
+
.c1xsnuvk{-webkit-flex-basis:58%;-ms-flex-preferred-size:58%;flex-basis:58%;max-width:656px;width:100%;margin:0 auto;}
|
|
1529
1529
|
.s1bsn3us{width:1px;height:16px;border-radius:1px;background:rgba(172,186,211,0.6);}
|
|
1530
1530
|
|
|
1531
1531
|
.e1guqlj2{-webkit-flex:1;-ms-flex:1;flex:1;height:100%;margin-bottom:16px;}
|
|
1532
1532
|
.f1nltbcu.ant-modal.fullscreen .ant-modal-header{padding:60px 128px 32px 128px;}.f1nltbcu.ant-modal.fullscreen .ant-modal-body{padding:0 128px;}.f1nltbcu.ant-modal.fullscreen .ant-modal-footer .footer-content{margin:0 128px;}
|
|
1533
|
-
.m1qgcca6 .ant-modal-header{max-width:648px;width:100%;padding:60px 0 32px 0 !important;margin:auto;}.m1qgcca6 .ant-modal-body{
|
|
1533
|
+
.m1qgcca6 .ant-modal-header{max-width:648px;width:100%;padding:60px 0 32px 0 !important;margin:auto;}.m1qgcca6 .ant-modal-body{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;padding:0 4px !important;margin:auto;}.m1qgcca6 .ant-modal-footer .footer-content{max-width:648px;width:100%;margin:auto !important;}
|
|
1534
1534
|
.f1tl3wq2{margin-bottom:16px;}
|
|
1535
1535
|
.exjt4uc{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;}
|
|
1536
1536
|
.c1pvtlkp{width:100%;}
|
|
@@ -4,7 +4,10 @@ export declare const useRefineForm: (props: {
|
|
|
4
4
|
config: ResourceConfig;
|
|
5
5
|
id?: string;
|
|
6
6
|
refineProps?: UseFormProps['refineCoreProps'];
|
|
7
|
+
useFormProps?: UseFormProps;
|
|
7
8
|
}) => {
|
|
8
|
-
formResult: import("./useReactHookForm").UseFormReturnType<import("@refinedev/core").BaseRecord, import("@refinedev/core").HttpError,
|
|
9
|
+
formResult: import("./useReactHookForm").UseFormReturnType<import("@refinedev/core").BaseRecord, import("@refinedev/core").HttpError, {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}, {}, import("@refinedev/core").BaseRecord, import("@refinedev/core").BaseRecord, import("@refinedev/core").HttpError>;
|
|
9
12
|
responseErrorMsg: string;
|
|
10
13
|
};
|
|
@@ -53,8 +53,9 @@ export type ResourceConfig<Model extends ResourceModel = ResourceModel> = {
|
|
|
53
53
|
transformInitValues?: (values: Unstructured) => Unstructured;
|
|
54
54
|
transformApplyValues?: (values: Unstructured) => Unstructured;
|
|
55
55
|
formTitle?: string | ((action: 'create' | 'edit') => string);
|
|
56
|
-
formDesc?: string;
|
|
56
|
+
formDesc?: string | ((action: 'create' | 'edit') => string);
|
|
57
57
|
formatError?: (errorBody: any) => string;
|
|
58
58
|
refineCoreProps?: UseFormProps['refineCoreProps'];
|
|
59
|
+
useFormProps?: UseFormProps;
|
|
59
60
|
};
|
|
60
61
|
};
|