Skip to content

Commit

Permalink
Merge pull request #37 from pagopa/manage-documents
Browse files Browse the repository at this point in the history
Manage documents Tab
  • Loading branch information
RipMace committed May 12, 2021
2 parents c73b860 + 85c49d4 commit 777cbb6
Show file tree
Hide file tree
Showing 14 changed files with 39,942 additions and 839 deletions.
39,053 changes: 39,053 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -25,14 +25,15 @@
"typescript:dts": "node scripts/dts.js"
},
"dependencies": {
"@azure/msal-browser": "2.14.0",
"@azure/msal-browser": "^2.14.1",
"@reduxjs/toolkit": "^1.5.1",
"axios": "^0.21.1",
"bootstrap": "^4.5.3",
"bootstrap-italia": "^1.4.3",
"classnames": "^2.2.6",
"date-fns": "^2.16.1",
"design-react-kit": "^3.3.3",
"file-saver": "^2.0.5",
"formik": "^2.2.6",
"fp-ts": "1.17.4",
"fs": "^0.0.1-security",
Expand Down Expand Up @@ -68,6 +69,7 @@
"@pagopa/ts-commons": "9.1.0",
"@svgr/parcel-plugin-svgr": "^5.5.0",
"@types/classnames": "^2.2.11",
"@types/file-saver": "^2.0.2",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.9",
"@types/react": "^16.9.56",
Expand Down
3 changes: 2 additions & 1 deletion src/api/index.ts
@@ -1,6 +1,6 @@
import axios, { AxiosError } from 'axios';
import { getCookie, logout } from '../utils/cookie';
import { AgreementApi, ProfileApi, DiscountApi, DocumentApi } from './generated';
import { AgreementApi, ProfileApi, DiscountApi, DocumentApi, DocumentTemplateApi } from './generated';

const token = getCookie();

Expand All @@ -27,4 +27,5 @@ export default {
Profile: new ProfileApi(undefined, process.env.BASE_API_PATH, axiosInstance),
Discount: new DiscountApi(undefined, process.env.BASE_API_PATH, axiosInstance),
Document: new DocumentApi(undefined, process.env.BASE_API_PATH, axiosInstance),
DocumentTemplate: new DocumentTemplateApi(undefined, process.env.BASE_API_PATH, axiosInstance),
};
97 changes: 0 additions & 97 deletions src/components/Form/CreateProfileForm/Documentation.tsx

This file was deleted.

Expand Up @@ -50,7 +50,7 @@ const Documentation = ({
</div>
<p className="mt-8 text-sm font-weight-normal text-gray">
Cliccando su Continua, dichiari di aver letto e compreso l’
<a className="font-weight-semibold" onClick={toggle}>
<a className="font-weight-semibold cursor-pointer" onClick={toggle}>
informativa sulla privacy
</a>{" "}
relativa all’iniziativa.
Expand Down
227 changes: 0 additions & 227 deletions src/components/Form/CreateProfileForm/Documents.tsx

This file was deleted.

0 comments on commit 777cbb6

Please sign in to comment.