From 534b0946cd304294b756de7c8035f5ceee199abb Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Wed, 16 Feb 2022 15:31:49 +0330 Subject: [PATCH] So Many Changes Calendar Component Changed For This Project MyExamList Component Made MyExam Carousel Made Dashboard Completed --- package-lock.json | 11 + package.json | 1 + src/App.js | 13 +- src/assets/img/stickynote.svg | 9 + src/assets/img/vuesax-linear-direct-left.svg | 4 +- .../Calendar/CalendarComponents/Calendar.js | 341 ++++++++ .../CalendarComponents/DatePicker.css | 672 ++++++++++++++ .../Calendar/CalendarComponents/DatePicker.js | 203 +++++ .../CalendarComponents/DatePickerInput.js | 93 ++ .../CalendarComponents/components/DaysList.js | 399 +++++++++ .../CalendarComponents/components/Header.js | 168 ++++ .../components/MonthSelector.js | 74 ++ .../components/YearSelector.js | 99 +++ .../CalendarComponents/components/index.js | 4 + .../Calendar/CalendarComponents/dateBox.css | 187 ++++ .../Calendar/CalendarComponents/index.js | 3 + .../CalendarComponents/shared/constants.js | 104 +++ .../CalendarComponents/shared/generalUtils.js | 69 ++ .../CalendarComponents/shared/hooks.js | 10 + .../shared/keyboardNavigation.js | 44 + .../shared/localeLanguages.js | 85 ++ .../CalendarComponents/shared/localeUtils.js | 61 ++ .../shared/sliderHelpers.js | 33 + src/components/Calendar/index.css | 817 ++++++++++++++++++ src/components/Calendar/index.js | 117 +++ src/components/exam/Carousel/index.css | 298 +++++++ src/components/exam/Carousel/index.js | 355 ++++++++ src/components/exam/Carousel/state.js | 470 ++++++++++ src/components/exam/carousel-item/index.js | 22 + src/components/exam/resault/index.css | 202 +++++ src/components/exam/resault/index.js | 163 ++++ src/components/header/Header.js | 2 +- src/components/nav/Nav.js | 2 +- src/view/dashboard/Dashboard.js | 31 +- src/view/dashboard/LastActivity.js | 97 +-- src/view/messages/Messages.js | 4 +- yarn.lock | 5 + 37 files changed, 5194 insertions(+), 78 deletions(-) create mode 100644 src/assets/img/stickynote.svg create mode 100644 src/components/Calendar/CalendarComponents/Calendar.js create mode 100644 src/components/Calendar/CalendarComponents/DatePicker.css create mode 100644 src/components/Calendar/CalendarComponents/DatePicker.js create mode 100644 src/components/Calendar/CalendarComponents/DatePickerInput.js create mode 100644 src/components/Calendar/CalendarComponents/components/DaysList.js create mode 100644 src/components/Calendar/CalendarComponents/components/Header.js create mode 100644 src/components/Calendar/CalendarComponents/components/MonthSelector.js create mode 100644 src/components/Calendar/CalendarComponents/components/YearSelector.js create mode 100644 src/components/Calendar/CalendarComponents/components/index.js create mode 100644 src/components/Calendar/CalendarComponents/dateBox.css create mode 100644 src/components/Calendar/CalendarComponents/index.js create mode 100644 src/components/Calendar/CalendarComponents/shared/constants.js create mode 100644 src/components/Calendar/CalendarComponents/shared/generalUtils.js create mode 100644 src/components/Calendar/CalendarComponents/shared/hooks.js create mode 100644 src/components/Calendar/CalendarComponents/shared/keyboardNavigation.js create mode 100644 src/components/Calendar/CalendarComponents/shared/localeLanguages.js create mode 100644 src/components/Calendar/CalendarComponents/shared/localeUtils.js create mode 100644 src/components/Calendar/CalendarComponents/shared/sliderHelpers.js create mode 100644 src/components/Calendar/index.css create mode 100644 src/components/Calendar/index.js create mode 100644 src/components/exam/Carousel/index.css create mode 100644 src/components/exam/Carousel/index.js create mode 100644 src/components/exam/Carousel/state.js create mode 100644 src/components/exam/carousel-item/index.js create mode 100644 src/components/exam/resault/index.css create mode 100644 src/components/exam/resault/index.js diff --git a/package-lock.json b/package-lock.json index 4b7a91c..3bb1324 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@testing-library/react": "^12.1.2", "@testing-library/user-event": "^13.5.0", "axios": "^0.25.0", + "jalaali-js": "^1.2.3", "jalali-moment": "^3.3.10", "lord-icon-element": "^3.3.3", "lottie-web": "^5.8.1", @@ -9402,6 +9403,11 @@ "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=" }, + "node_modules/jalaali-js": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jalaali-js/-/jalaali-js-1.2.3.tgz", + "integrity": "sha512-irl0pXL59Xl0Oz6jyOiJed/NxrVeS6fSx6a8atQOH/LsPWPZwBCxwe5XVEIqjnwt69FRxvnCCwQn5dTMxwbazQ==" + }, "node_modules/jalali-moment": { "version": "3.3.11", "resolved": "https://registry.npmjs.org/jalali-moment/-/jalali-moment-3.3.11.tgz", @@ -24081,6 +24087,11 @@ } } }, + "jalaali-js": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jalaali-js/-/jalaali-js-1.2.3.tgz", + "integrity": "sha512-irl0pXL59Xl0Oz6jyOiJed/NxrVeS6fSx6a8atQOH/LsPWPZwBCxwe5XVEIqjnwt69FRxvnCCwQn5dTMxwbazQ==" + }, "jalali-moment": { "version": "3.3.11", "resolved": "https://registry.npmjs.org/jalali-moment/-/jalali-moment-3.3.11.tgz", diff --git a/package.json b/package.json index a6b04c3..c18a747 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "@testing-library/react": "^12.1.2", "@testing-library/user-event": "^13.5.0", "axios": "^0.25.0", + "jalaali-js": "^1.2.3", "jalali-moment": "^3.3.10", "lord-icon-element": "^3.3.3", "lottie-web": "^5.8.1", diff --git a/src/App.js b/src/App.js index c89c0ba..fd593c9 100644 --- a/src/App.js +++ b/src/App.js @@ -652,7 +652,14 @@ function App() { {LOGIN &&
} {LOGIN &&