@applica-software-guru/react-admin 1.3.158 → 1.3.160

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,27 +1,22 @@
1
- export default ReadonlyField;
2
- declare function ReadonlyField({ label, source, defaultValue, children, tooltip: _tooltip, ...props }: {
3
- [x: string]: any;
4
- label: any;
5
- source: any;
1
+ import React from 'react';
2
+ export type BasicFieldProps = {
3
+ source: string;
4
+ defaultValue: any;
5
+ record: any;
6
+ };
7
+ export type ContentWrapperProps = {
8
+ title: string | boolean;
9
+ children: React.ReactNode;
10
+ };
11
+ export type ReadonlyFieldProps = {
6
12
  defaultValue: any;
7
- children: any;
8
- tooltip: any;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- declare namespace ReadonlyField {
11
- namespace propTypes {
12
- const defaultValue: PropTypes.Requireable<any>;
13
- const tooltip: PropTypes.Requireable<NonNullable<string | boolean | ((...args: any[]) => any) | null | undefined>>;
14
- const source: PropTypes.Requireable<string>;
15
- const label: PropTypes.Requireable<string>;
16
- const name: PropTypes.Requireable<string>;
17
- const children: PropTypes.Requireable<PropTypes.ReactElementLike>;
18
- }
19
- namespace defaultProps {
20
- const defaultValue_1: string;
21
- export { defaultValue_1 as defaultValue };
22
- const children_1: import("react/jsx-runtime").JSX.Element;
23
- export { children_1 as children };
24
- }
25
- }
26
- import PropTypes from 'prop-types';
13
+ tooltip: string | boolean | ((record: any) => string);
14
+ source: string;
15
+ label: string;
16
+ name: string;
17
+ children: React.ReactElement<any, any>;
18
+ fullWidth?: boolean;
19
+ };
20
+ declare const ReadonlyField: ({ label, source, defaultValue, children, tooltip: _tooltip, ...props }: ReadonlyFieldProps) => import("react/jsx-runtime").JSX.Element;
21
+ export default ReadonlyField;
27
22
  //# sourceMappingURL=ReadonlyField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadonlyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReadonlyField.jsx"],"names":[],"mappings":";AAwDA;;;;;;;4CAgCC;;;;;;;;;;;;;;;;;sBApFqB,YAAY"}
1
+ {"version":3,"file":"ReadonlyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReadonlyField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAsBjD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,GAAG,CAAC;IAClB,MAAM,EAAE,GAAG,CAAC;CACb,CAAC;AAQF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAcF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC;IACtD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,aAAa,2EAOhB,kBAAkB,4CAkCpB,CAAC;AACF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMenu.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMenu.jsx"],"names":[],"mappings":";AAoLA;;;;;EAiCC"}
1
+ {"version":3,"file":"useMenu.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMenu.jsx"],"names":[],"mappings":";AAqLA;;;;;EAiCC"}