@applica-software-guru/react-admin 1.3.149 → 1.3.150
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/LocalizedTextField.d.ts +5 -0
- package/dist/components/ra-fields/LocalizedTextField.d.ts.map +1 -0
- package/dist/components/ra-fields/index.d.ts +2 -1
- package/dist/components/ra-fields/index.d.ts.map +1 -1
- package/dist/components/ra-inputs/LocalizedTextInput.d.ts +6 -0
- package/dist/components/ra-inputs/LocalizedTextInput.d.ts.map +1 -0
- package/dist/components/ra-inputs/index.d.ts +2 -1
- package/dist/components/ra-inputs/index.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +57 -57
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +6744 -6693
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +58 -58
- package/dist/react-admin.umd.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/localizedValue.d.ts +11 -0
- package/dist/utils/localizedValue.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/ra-fields/LocalizedTextField.tsx +46 -0
- package/src/components/ra-fields/index.jsx +2 -0
- package/src/components/ra-inputs/LocalizedTextInput.tsx +77 -0
- package/src/components/ra-inputs/index.jsx +2 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/localizedValue.ts +14 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TextFieldProps } from 'ra-ui-materialui';
|
|
2
|
+
type ILocalizedTextFieldProps = TextFieldProps;
|
|
3
|
+
declare function LocalizedTextField(props: ILocalizedTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default LocalizedTextField;
|
|
5
|
+
//# sourceMappingURL=LocalizedTextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalizedTextField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/LocalizedTextField.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUlD,KAAK,wBAAwB,GAAG,cAAc,CAAC;AAE/C,iBAAS,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,2CA8B1D;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -7,9 +7,10 @@ import EmailField from './EmailField';
|
|
|
7
7
|
import FileField from './FileField';
|
|
8
8
|
import FunctionField from './FunctionField';
|
|
9
9
|
import ImageField from './ImageField';
|
|
10
|
+
import LocalizedTextField from './LocalizedTextField';
|
|
10
11
|
import ReadonlyField from './ReadonlyField';
|
|
11
12
|
import ReferenceManyField from './ReferenceManyField';
|
|
12
13
|
import SizeField from './SizeField';
|
|
13
14
|
import TextField from './TextField';
|
|
14
|
-
export { ActionsField, AttachmentField, CoverField, DateAgoField, DateField, EmailField, FileField, FunctionField, ImageField, ReadonlyField, ReferenceManyField, SizeField, TextField };
|
|
15
|
+
export { ActionsField, AttachmentField, CoverField, DateAgoField, DateField, EmailField, FileField, FunctionField, ImageField, LocalizedTextField, ReadonlyField, ReferenceManyField, SizeField, TextField };
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/index.jsx"],"names":[],"mappings":"yBAAyB,gBAAgB;4BACb,mBAAmB;uBACxB,cAAc;yBACZ,gBAAgB;sBACnB,aAAa;uBACZ,cAAc;sBACf,aAAa;0BACT,iBAAiB;uBACpB,cAAc;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/index.jsx"],"names":[],"mappings":"yBAAyB,gBAAgB;4BACb,mBAAmB;uBACxB,cAAc;yBACZ,gBAAgB;sBACnB,aAAa;uBACZ,cAAc;sBACf,aAAa;0BACT,iBAAiB;uBACpB,cAAc;+BACN,sBAAsB;0BAC3B,iBAAiB;+BACZ,sBAAsB;sBAC/B,aAAa;sBACb,aAAa"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TextInputProps } from 'ra-ui-materialui';
|
|
2
|
+
import { LabeledInputProps } from './LabeledInput';
|
|
3
|
+
type ILocalizedTextInputProps = TextInputProps & LabeledInputProps;
|
|
4
|
+
declare function LocalizedTextInput(props: ILocalizedTextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default LocalizedTextInput;
|
|
6
|
+
//# sourceMappingURL=LocalizedTextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalizedTextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LocalizedTextInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAqB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEjE,KAAK,wBAAwB,GAAG,cAAc,GAAG,iBAAiB,CAAC;AAKnE,iBAAS,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,2CA2D1D;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -9,6 +9,7 @@ import FileInput from './FileInput';
|
|
|
9
9
|
import ImageInput from './ImageInput';
|
|
10
10
|
import LabeledArrayInput from './LabeledArrayInput';
|
|
11
11
|
import LabeledInput from './LabeledInput';
|
|
12
|
+
import LocalizedTextInput from './LocalizedTextInput';
|
|
12
13
|
import NumberInput from './NumberInput';
|
|
13
14
|
import RecordInput from './RecordInput';
|
|
14
15
|
import ReferenceArrayInput from './ReferenceArrayInput';
|
|
@@ -20,5 +21,5 @@ import SelectInput from './SelectInput';
|
|
|
20
21
|
import SmartTextInput from './SmartTextInput';
|
|
21
22
|
import TextInput from './TextInput';
|
|
22
23
|
import TimeInput from './TimeInput';
|
|
23
|
-
export { ArrayInput, AttachmentInput, AutocompleteArrayInput, AutocompleteInput, BooleanInput, DateInput, DateTimeInput, FileInput, ImageInput, LabeledArrayInput, LabeledInput, NumberInput, RecordInput, ReferenceArrayInput, ReferenceInput, ReferenceManyInput, SearchInput, SelectArrayInput, SelectInput, SmartTextInput, TextInput, TimeInput };
|
|
24
|
+
export { ArrayInput, AttachmentInput, AutocompleteArrayInput, AutocompleteInput, BooleanInput, DateInput, DateTimeInput, FileInput, ImageInput, LabeledArrayInput, LabeledInput, LocalizedTextInput, NumberInput, RecordInput, ReferenceArrayInput, ReferenceInput, ReferenceManyInput, SearchInput, SelectArrayInput, SelectInput, SmartTextInput, TextInput, TimeInput };
|
|
24
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/index.jsx"],"names":[],"mappings":"uBAAuB,cAAc;4BACT,mBAAmB;mCACZ,0BAA0B;8BAC/B,qBAAqB;yBAC1B,gBAAgB;sBACnB,aAAa;0BACT,iBAAiB;sBACrB,aAAa;uBACZ,cAAc;8BACP,qBAAqB;yBAC1B,gBAAgB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/index.jsx"],"names":[],"mappings":"uBAAuB,cAAc;4BACT,mBAAmB;mCACZ,0BAA0B;8BAC/B,qBAAqB;yBAC1B,gBAAgB;sBACnB,aAAa;0BACT,iBAAiB;sBACrB,aAAa;uBACZ,cAAc;8BACP,qBAAqB;yBAC1B,gBAAgB;+BACV,sBAAsB;wBAC7B,eAAe;wBACf,eAAe;gCACP,uBAAuB;2BAC5B,kBAAkB;+BACd,sBAAsB;wBAC7B,eAAe;6BACV,oBAAoB;wBACzB,eAAe;2BACZ,kBAAkB;sBACvB,aAAa;sBACb,aAAa"}
|