@applica-software-guru/react-admin 1.0.83 → 1.1.85

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.
@@ -20,7 +20,7 @@ pipelines:
20
20
  deployment: Production
21
21
  script:
22
22
  - export NODE_OPTIONS=--max_old_space_size=8192
23
- - npm --no-git-tag-version version "1.0.$BITBUCKET_BUILD_NUMBER" -m "Upgrade to new version"
23
+ - npm --no-git-tag-version version "1.1.$BITBUCKET_BUILD_NUMBER" -m "Upgrade to new version"
24
24
  - echo $VERSION
25
25
  - npm install
26
26
  - npm run build
@@ -28,6 +28,6 @@ pipelines:
28
28
  variables:
29
29
  NPM_TOKEN: $NPM_TOKEN
30
30
  EXTRA_ARGS: "--access public"
31
- - git tag -a "1.0.$BITBUCKET_BUILD_NUMBER" -m "Version 1.0.$BITBUCKET_BUILD_NUMBER"
32
- - git push origin "1.0.$BITBUCKET_BUILD_NUMBER"
31
+ - git tag -a "1.1.$BITBUCKET_BUILD_NUMBER" -m "Version 1.1.$BITBUCKET_BUILD_NUMBER"
32
+ - git push origin "1.1.$BITBUCKET_BUILD_NUMBER"
33
33
 
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceManyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReferenceManyField.jsx"],"names":[],"mappings":";AAuDA,yFAIC;;;;;;;;;;;;;;;;;;;;;;;;sBA3DqB,YAAY"}
1
+ {"version":3,"file":"ReferenceManyField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ReferenceManyField.jsx"],"names":[],"mappings":";AA6DA,yFAIC;;;;;;;;;;;;;;;;;;;;;;;;sBAjEqB,YAAY"}
@@ -1,11 +1,24 @@
1
- export default AttachmentInput;
2
- declare function AttachmentInput({ children, disabled, ...props }: {
3
- [x: string]: any;
4
- children: any;
5
- disabled: any;
6
- }): import("react/jsx-runtime").JSX.Element;
7
- declare namespace AttachmentInput {
8
- const propTypes: {
1
+ import { FileInputProps } from 'react-admin';
2
+ import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+ export type AttachmentInputProps = FileInputProps & {
5
+ children?: React.ReactNode;
6
+ disabled?: boolean;
7
+ source?: string;
8
+ type?: 'file' | 'image' | 'attachment';
9
+ };
10
+ /**
11
+ * Consente di definire un campo di tipo input all'interno del quale è possibile caricare uno o più file.
12
+ *
13
+ * @example
14
+ * <AttachmentInput source="attachments" title="name" accept="image/*" multiple>
15
+ *
16
+ * @param {AttachmentInputProps}
17
+ * @returns
18
+ */
19
+ declare const AttachmentInput: {
20
+ ({ children, disabled, type, ...props }: AttachmentInputProps): JSX.Element;
21
+ propTypes: {
9
22
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
10
23
  multiple: PropTypes.Requireable<boolean>;
11
24
  disabled: PropTypes.Requireable<boolean>;
@@ -25,11 +38,13 @@ declare namespace AttachmentInput {
25
38
  source: PropTypes.Requireable<string>;
26
39
  placeholder: PropTypes.Requireable<PropTypes.ReactNodeLike>;
27
40
  };
28
- namespace defaultProps {
29
- const children: import("react/jsx-runtime").JSX.Element;
30
- const multiple: boolean;
31
- const disabled: boolean;
32
- }
33
- }
34
- import PropTypes from 'prop-types';
41
+ defaultProps: {
42
+ /** @ts-ignore */
43
+ children: import("react/jsx-runtime").JSX.Element;
44
+ multiple: boolean;
45
+ disabled: boolean;
46
+ type: string;
47
+ };
48
+ };
49
+ export default AttachmentInput;
35
50
  //# sourceMappingURL=AttachmentInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/AttachmentInput.jsx"],"names":[],"mappings":";AAiDA;;;;4CASC;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAtDqB,YAAY"}
1
+ {"version":3,"file":"AttachmentInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/AttachmentInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAwD,MAAM,aAAa,CAAC;AAInG,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AA4C1B,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAAG;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,YAAY,CAAC;CACxC,CAAC;AAEF;;;;;;;;GAQG;AACH,QAAA,MAAM,eAAe;6CAA4C,oBAAoB,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;QAsBjG,iBAAiB;;;;;;CAVlB,CAAC;AAiBF,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/ImageInput.jsx"],"names":[],"mappings":";AASA;;;;4CAoBC"}
1
+ {"version":3,"file":"ImageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/ImageInput.jsx"],"names":[],"mappings":";AASA;;;;4CAqBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RegisterPage.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-pages/RegisterPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,QAAA,MAAM,YAAY;wBAAuB,aAAa;;;;;CA0DrD,CAAC;AAOF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"RegisterPage.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-pages/RegisterPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,QAAA,MAAM,YAAY;wBAAuB,aAAa;;;;;CAyDrD,CAAC;AAOF,eAAe,YAAY,CAAC"}