@applica-software-guru/react-admin 1.1.104 → 1.1.107

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.
@@ -1,23 +1,10 @@
1
- /// <reference types="react" />
2
- declare const StyledCreate: import("@emotion/styled").StyledComponent<Pick<Pick<import("react-admin").CreateProps<Omit<import("react-admin").RaRecord<import("react-admin").Identifier>, "id">, Error, import("react-admin").RaRecord<import("react-admin").Identifier>> & {
3
- children: import("react").ReactNode;
4
- }, "children" | keyof import("react-admin").CreateProps<Omit<import("react-admin").RaRecord<import("react-admin").Identifier>, "id">, Error, import("react-admin").RaRecord<import("react-admin").Identifier>>> & Pick<import("prop-types").InferProps<{
5
- actions: import("prop-types").Requireable<NonNullable<boolean | import("prop-types").ReactElementLike>>;
6
- aside: import("prop-types").Requireable<import("prop-types").ReactElementLike>;
7
- children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
8
- className: import("prop-types").Requireable<string>;
9
- disableAuthentication: import("prop-types").Requireable<boolean>;
10
- hasEdit: import("prop-types").Requireable<boolean>;
11
- hasShow: import("prop-types").Requireable<boolean>;
12
- redirect: import("prop-types").Requireable<NonNullable<string | boolean | ((...args: any[]) => any)>>;
13
- resource: import("prop-types").Requireable<string>;
14
- title: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
15
- record: import("prop-types").Requireable<object>;
16
- mutationOptions: import("prop-types").Requireable<object>;
17
- transform: import("prop-types").Requireable<(...args: any[]) => any>;
18
- sx: import("prop-types").Requireable<any>;
19
- }>, never> & Pick<import("react-admin").CreateProps<Omit<import("react-admin").RaRecord<import("react-admin").Identifier>, "id">, Error, import("react-admin").RaRecord<import("react-admin").Identifier>> & {
20
- children: import("react").ReactNode;
21
- }, "component">, "children" | keyof import("react-admin").CreateProps<Omit<import("react-admin").RaRecord<import("react-admin").Identifier>, "id">, Error, import("react-admin").RaRecord<import("react-admin").Identifier>>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
1
+ import { CreateProps } from 'react-admin';
2
+ type IResourceDefaultValue = object;
3
+ declare function useResourceDefaultValues(): IResourceDefaultValue;
4
+ declare const StyledCreate: import("@emotion/styled").StyledComponent<Pick<CreateProps<any, Error, any> & {
5
+ children: React.ReactNode;
6
+ useDefaults?: boolean | undefined;
7
+ }, "children" | "useDefaults" | keyof CreateProps<any, Error, any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
22
8
  export default StyledCreate;
9
+ export { useResourceDefaultValues };
23
10
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":";AAGA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;yTAUf,CAAC;AAEJ,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/Create.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAiF,MAAM,aAAa,CAAC;AAczH,KAAK,qBAAqB,GAAG,MAAM,CAAC;AA6CpC,iBAAS,wBAAwB,IAAI,qBAAqB,CAEzD;AAED,QAAA,MAAM,YAAY;cArDN,MAAM,SAAS;;wJA+DxB,CAAC;AAEJ,eAAe,YAAY,CAAC;AAE5B,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import Create from './Create';
2
+ import { useResourceDefaultValues } from './Create';
2
3
  import CardForm from './CardForm';
3
4
  import ChangePasswordForm from './ChangePasswordForm';
4
5
  import Edit from './Edit';
@@ -9,5 +10,5 @@ import SimpleFormIterator from './SimpleFormIterator';
9
10
  import TabbedForm from './TabbedForm';
10
11
  import TableFormIterator from './TableForm';
11
12
  import Toolbar from './Toolbar';
12
- export { Create, CardForm, ChangePasswordForm, Edit, FormHeader, LongForm, SimpleForm, SimpleFormIterator, TabbedForm, TableFormIterator, Toolbar };
13
+ export { Create, useResourceDefaultValues, CardForm, ChangePasswordForm, Edit, FormHeader, LongForm, SimpleForm, SimpleFormIterator, TabbedForm, TableFormIterator, Toolbar };
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/index.jsx"],"names":[],"mappings":"mBAEmB,UAAU;qBAFR,YAAY;+BACF,sBAAsB;iBAEpC,QAAQ;uBACF,cAAc;qBAChB,YAAY;uBACV,cAAc;+BACN,sBAAsB;uBAC9B,cAAc;8BACP,aAAa;oBACvB,WAAW"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/index.jsx"],"names":[],"mappings":"mBAEiD,UAAU;yCAAV,UAAU;qBAFtC,YAAY;+BACF,sBAAsB;iBAEpC,QAAQ;uBACF,cAAc;qBAChB,YAAY;uBACV,cAAc;+BACN,sBAAsB;uBAC9B,cAAc;8BACP,aAAa;oBACvB,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAkB,MAAM,aAAa,CAAC;AA2FxD,QAAA,MAAM,IAAI;YAAW,SAAS,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;CAM3C,CAAC;AAMF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAkB,MAAM,aAAa,CAAC;AA0FxD,QAAA,MAAM,IAAI;YAAW,SAAS,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;CAM3C,CAAC;AAMF,eAAe,IAAI,CAAC"}