@applica-software-guru/react-admin 1.0.75 → 1.0.77

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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.jsx"],"names":[],"mappings":";AAeA;;;;;;;;4CA2EC;;;;;;;;;;;;sBA9EqB,YAAY"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.jsx"],"names":[],"mappings":";AAiBA;;;;;;;;4CAoFC;;;;;;;;;;;;sBAxFqB,YAAY"}
@@ -1,6 +1,7 @@
1
1
  export type ChangePasswordFormProps = {
2
2
  onSuccess: () => void;
3
+ firstAccess?: boolean;
3
4
  };
4
- declare const ChangePasswordForm: ({ onSuccess }: ChangePasswordFormProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const ChangePasswordForm: ({ onSuccess, firstAccess }: ChangePasswordFormProps) => import("react/jsx-runtime").JSX.Element;
5
6
  export default ChangePasswordForm;
6
7
  //# sourceMappingURL=ChangePasswordForm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChangePasswordForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/ChangePasswordForm.tsx"],"names":[],"mappings":"AAUA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AACF,QAAA,MAAM,kBAAkB,kBAAmB,uBAAuB,4CAkDjE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"ChangePasswordForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-forms/ChangePasswordForm.tsx"],"names":[],"mappings":"AAUA,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AACF,QAAA,MAAM,kBAAkB,+BAAgC,uBAAuB,4CA2D9E,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,33 +1,41 @@
1
- export default LabeledInput;
2
- declare function LabeledInput({ label, children, display, helperText, sx, addLabel, divider, ...props }: {
3
- [x: string]: any;
4
- label: any;
5
- children: any;
6
- display: any;
7
- helperText: any;
8
- sx: any;
9
- addLabel: any;
10
- divider: any;
11
- }): import("react/jsx-runtime").JSX.Element;
12
- declare namespace LabeledInput {
13
- namespace propTypes {
14
- const sx: PropTypes.Requireable<object>;
15
- const children: PropTypes.Requireable<PropTypes.ReactElementLike>;
16
- const label: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
17
- const addLabel: PropTypes.Requireable<boolean>;
18
- const resource: PropTypes.Requireable<string>;
19
- const isRequired: PropTypes.Requireable<boolean>;
20
- const source: PropTypes.Requireable<string>;
21
- const display: PropTypes.Requireable<string>;
22
- const helperText: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
23
- const divider: PropTypes.Requireable<boolean>;
24
- }
25
- namespace defaultProps {
26
- const display_1: string;
27
- export { display_1 as display };
28
- const divider_1: boolean;
29
- export { divider_1 as divider };
30
- }
31
- }
1
+ import { InputProps } from 'react-admin';
32
2
  import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+ export type LabeledInputProps = InputProps & {
5
+ sx?: any;
6
+ children?: React.ReactElement;
7
+ label?: string | boolean;
8
+ addLabel?: boolean;
9
+ resource?: string;
10
+ isRequired?: boolean;
11
+ source?: string;
12
+ display?: 'legend' | 'label';
13
+ helperText?: string | boolean;
14
+ divider?: boolean;
15
+ };
16
+ /**
17
+ * Consente di disegnare un input con una label e un eventuale messaggio di aiuto.
18
+ *
19
+ * @returns {JSX.Element}
20
+ */
21
+ declare const LabeledInput: {
22
+ ({ label, children, display, helperText, sx, addLabel, divider, ...props }: LabeledInputProps): JSX.Element;
23
+ propTypes: {
24
+ sx: PropTypes.Requireable<object>;
25
+ children: PropTypes.Requireable<PropTypes.ReactElementLike>;
26
+ label: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
27
+ addLabel: PropTypes.Requireable<boolean>;
28
+ resource: PropTypes.Requireable<string>;
29
+ isRequired: PropTypes.Requireable<boolean>;
30
+ source: PropTypes.Requireable<string>;
31
+ display: PropTypes.Requireable<string>;
32
+ helperText: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
33
+ divider: PropTypes.Requireable<boolean>;
34
+ };
35
+ defaultProps: {
36
+ display: string;
37
+ divider: boolean;
38
+ };
39
+ };
40
+ export default LabeledInput;
33
41
  //# sourceMappingURL=LabeledInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LabeledInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LabeledInput.jsx"],"names":[],"mappings":";AAQA;;;;;;;;;4CAyDC;;;;;;;;;;;;;;;;;;;;;sBA9DqB,YAAY"}
1
+ {"version":3,"file":"LabeledInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/LabeledInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAY,MAAM,aAAa,CAAC;AAG/D,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG;IAC3C,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,YAAY;gFAA+E,iBAAiB,GAAG,WAAW;;;;;;;;;;;;;;;;;CA8D/H,CAAC;AAoBF,eAAe,YAAY,CAAC"}
@@ -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;AAsExD,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;AAqFxD,QAAA,MAAM,IAAI;YAAW,SAAS,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;CAM3C,CAAC;AAMF,eAAe,IAAI,CAAC"}