@dovetail-v2/refine 0.0.0-pod-exec.0 → 0.0.0-pod-exec.1

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/style.css CHANGED
@@ -1511,13 +1511,13 @@
1511
1511
  .c154n7ie{max-width:144px;}
1512
1512
  .c1c9j4da{width:100%;}
1513
1513
  .cjxv8cf{color:rgba(44,56,82,0.6);}
1514
- .c1xsnuvk{-webkit-flex-basis:58%;-ms-flex-preferred-size:58%;flex-basis:58%;width:100%;}
1514
+ .c1xsnuvk{-webkit-flex-basis:58%;-ms-flex-preferred-size:58%;flex-basis:58%;max-width:648px;width:100%;margin:0 auto;}
1515
1515
  .s1bsn3us{width:1px;height:16px;border-radius:1px;background:rgba(172,186,211,0.6);}
1516
1516
 
1517
1517
  .e1guqlj2{-webkit-flex:1;-ms-flex:1;flex:1;height:100%;margin-bottom:16px;}
1518
- .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;}
1519
- .m1qgcca6 .ant-modal-header{max-width:648px;width:100%;padding:60px 0 32px 0 !important;margin:auto;}.m1qgcca6 .ant-modal-body{max-width:656px;width:100%;padding:0 4px !important;margin:auto;}.m1qgcca6 .ant-modal-footer .footer-content{max-width:648px;width:100%;margin:auto !important;}
1520
- .f1tl3wq2{margin-bottom:16px;}
1518
+ .f1nltbcu{margin-bottom:16px;}
1519
+ .f1qgcca6.ant-modal.fullscreen .ant-modal-header{padding:60px 128px 32px 128px;}.f1qgcca6.ant-modal.fullscreen .ant-modal-body{padding:0 128px;}.f1qgcca6.ant-modal.fullscreen .ant-modal-footer .footer-content{margin:0 128px;}
1520
+ .m1tl3wq2 .ant-modal-header{max-width:648px;width:100%;padding:60px 0 32px 0 !important;margin:auto;}.m1tl3wq2 .ant-modal-body{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;padding:0 4px !important;margin:auto;}.m1tl3wq2 .ant-modal-footer .footer-content{max-width:648px;width:100%;margin:auto !important;}.m1tl3wq2 .f1nltbcu{max-width:648px;width:100%;margin-left:auto;margin-right:auto;}
1521
1521
  .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;}
1522
1522
  /**
1523
1523
  * Copyright (c) 2014 The xterm.js authors. All rights reserved.
@@ -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, Record<string, unknown>, object, import("@refinedev/core").BaseRecord, 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
  };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ResourceConfig } from 'src/types';
3
- declare const ConfigsContext: import("react").Context<Record<string, ResourceConfig<import("..").ResourceModel<import("k8s-api-provider").Unstructured>>>>;
3
+ declare const ConfigsContext: import("react").Context<Record<string, ResourceConfig>>;
4
4
  export default ConfigsContext;
@@ -15,6 +15,7 @@ export declare class IngressModel extends ResourceModel<IngressTypes> {
15
15
  _globalStore: GlobalStore;
16
16
  flattenedRules: RuleItem[];
17
17
  constructor(_rawYaml: IngressTypes, _globalStore: GlobalStore);
18
+ init(): Promise<void>;
18
19
  private getFullPath;
19
20
  }
20
21
  export {};
@@ -11,7 +11,7 @@ export declare const convertToNumberIfPossible: (value: string | undefined) => s
11
11
  export declare const routerProvider: {
12
12
  go: () => ({ to, type, query, hash, options: { keepQuery, keepHash } }: GoConfig) => string | void;
13
13
  back: () => () => void;
14
- parse: () => () => ParseResponse<Record<string, any>>;
14
+ parse: () => () => ParseResponse;
15
15
  Link: React.ForwardRefExoticComponent<Pick<{
16
16
  [prop: string]: any;
17
17
  to: string;
@@ -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
  };
@@ -15,6 +15,6 @@ export type ErrorResponseBody = {
15
15
  graphQLErrors?: Cause[];
16
16
  };
17
17
  export declare function isNetworkError(errors?: Cause[]): boolean;
18
- export declare function getSubmitError(errorResponse: ErrorResponseBody | undefined, text: string, i18n: I18n): any;
19
- export declare function getCommonErrors(responseBody: ErrorResponseBody, i18n: I18n): any[];
18
+ export declare function getSubmitError(errorResponse: ErrorResponseBody | undefined, text: string, i18n: I18n): string;
19
+ export declare function getCommonErrors(responseBody: ErrorResponseBody, i18n: I18n): string[];
20
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.0.0-pod-exec.0",
3
+ "version": "0.0.0-pod-exec.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",