@applica-software-guru/react-admin 1.3.159 → 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.
- package/dist/components/ra-fields/ReadonlyField.d.ts +20 -25
- package/dist/components/ra-fields/ReadonlyField.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +51 -51
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +4178 -4196
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +54 -54
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-fields/ReadonlyField.tsx +106 -0
- package/src/components/ra-fields/ReadonlyField.jsx +0 -105
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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.
|
|
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"}
|