From 61beb790d541ffb4c26867e178b4b7cbb5f3418d Mon Sep 17 00:00:00 2001 From: Zheng Lin Lei Date: Sun, 28 Apr 2024 20:30:08 +0200 Subject: [PATCH 1/2] Alarm check --- src/NODE_ISSUES.txt | 32 ++ src/public/alert.mp3 | Bin 0 -> 22994 bytes src/public/global.css | 2 +- src/public/global.css.map | 2 +- src/public/global.scss | 76 ++++- src/public/index.html | 24 ++ src/public/script.js | 87 ++++++ src/src/App.js | 8 +- src/src/components/VuiAlert/index.js | 2 +- src/src/components/VuiAvatar/index.js | 2 +- src/src/components/VuiBadge/index.js | 2 +- src/src/components/VuiButton/VuiButtonRoot.js | 1 - src/src/components/VuiInput/index.js | 2 +- src/src/components/VuiPagination/index.js | 2 +- .../components/VuiProgress/VuiProgressRoot.js | 18 +- src/src/components/VuiProgress/index.js | 2 +- src/src/components/VuiSwitch/VuiSwitchRoot.js | 1 - src/src/components/VuiSwitch/index.js | 2 +- src/src/components/VuiTypography/index.js | 2 +- src/src/context/AlarmContext.jsx | 20 ++ src/src/context/UserContext.jsx | 2 +- src/src/context/UserProvider.jsx | 2 +- src/src/context/index.js | 5 +- src/src/examples/Alarm/index.js | 32 ++ src/src/examples/Breadcrumbs/index.js | 2 +- .../Cards/InfoCards/ProfileInfoCard/index.js | 3 +- src/src/examples/Cards/MasterCard/index.js | 2 +- .../ProjectCards/DefaultProjectCard/index.js | 2 +- .../MiniStatisticsCard/index.js | 2 +- src/src/examples/Charts/BarCharts/BarChart.js | 2 +- .../examples/Configurator/ConfiguratorRoot.js | 51 ---- src/src/examples/Configurator/index.js | 276 ------------------ src/src/examples/Footer/index.js | 2 +- src/src/examples/GradientBorder/index.js | 2 +- src/src/examples/Icons/Mastercard.js | 2 +- src/src/examples/Icons/OronetaLandLogo.js | 2 +- src/src/examples/Icons/OronetaLogo.js | 2 +- src/src/examples/Icons/Visa.js | 2 +- .../examples/Items/NotificationItem/index.js | 4 +- .../examples/Items/NotificationItem/styles.js | 2 +- .../LayoutContainers/DashboardLayout/index.js | 2 +- .../LayoutContainers/PageLayout/index.js | 2 +- src/src/examples/Lists/ProfilesList/index.js | 2 +- .../examples/Navbars/DashboardNavbar/index.js | 6 +- .../DefaultNavbar/DefaultNavbarLink.js | 2 +- .../DefaultNavbar/DefaultNavbarMobile.js | 2 +- .../examples/Navbars/DefaultNavbar/index.js | 2 +- src/src/examples/Sidenav/SidenavCollapse.js | 2 +- src/src/examples/Sidenav/SidenavRoot.js | 2 +- src/src/examples/Sidenav/index.js | 3 +- src/src/examples/Tables/Table/index.js | 2 +- .../examples/Timeline/TimelineItem/index.js | 2 +- .../examples/Timeline/TimelineList/index.js | 2 +- src/src/examples/Timeline/context/index.js | 2 +- .../components/CoverLayout/index.js | 2 +- .../authentication/components/Footer/index.js | 8 +- .../components/IllustrationLayout/index.js | 2 +- .../components/Separator/index.js | 2 +- .../components/Socials/index.js | 2 +- .../layouts/authentication/sign-in/index.js | 2 +- .../layouts/authentication/sign-up/index.js | 8 +- .../layouts/billing/components/Bill/index.js | 2 +- .../components/BillingInformation/index.js | 2 +- .../billing/components/Invoice/index.js | 2 +- .../billing/components/Invoices/index.js | 2 +- .../billing/components/PaymentMethod/index.js | 2 +- .../billing/components/Transactions/index.js | 3 - src/src/layouts/billing/index.js | 2 +- .../EmployeesList/data/eTableData.js | 2 +- .../company/components/EmployeesList/index.js | 2 +- .../company/components/Header/index.js | 2 +- src/src/layouts/company/index.js | 2 +- src/src/layouts/dashboard/index.js | 2 +- .../layouts/drones/data/authorsTableData.js | 2 +- .../layouts/drones/data/projectsTableData.js | 2 +- src/src/layouts/drones/index.js | 2 +- src/src/layouts/map/index.js | 3 +- .../profile/components/Calendar/index.js | 2 +- .../components/PlatformSettings/index.js | 2 +- src/src/layouts/profile/index.js | 1 + src/src/layouts/routes/index.js | 2 +- src/src/routes.js | 2 +- 82 files changed, 347 insertions(+), 441 deletions(-) create mode 100644 src/NODE_ISSUES.txt create mode 100644 src/public/alert.mp3 create mode 100644 src/public/script.js create mode 100644 src/src/context/AlarmContext.jsx create mode 100644 src/src/examples/Alarm/index.js delete mode 100644 src/src/examples/Configurator/ConfiguratorRoot.js delete mode 100644 src/src/examples/Configurator/index.js diff --git a/src/NODE_ISSUES.txt b/src/NODE_ISSUES.txt new file mode 100644 index 0000000..4f92516 --- /dev/null +++ b/src/NODE_ISSUES.txt @@ -0,0 +1,32 @@ +Issue: + +opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], +library: 'digital envelope routines', +reason: 'unsupported', +code: 'ERR_OSSL_EVP_UNSUPPORTED' + +Here are two options now - + + Try to uninstall Node.js version 17+ and reinstall Node.js version 16+ + +1. You can re-install the current LTS Node.js version from their Official site. Or more specific downloads from here; + +2. You can use NVM (Node Version Manager) + + Linux and Mac users can use this nvm package link + Windows users can use this nvm package link + + Open a terminal and paste these as described: + + Linux and macOS (Windows Git Bash)- + + export NODE_OPTIONS=--openssl-legacy-provider + + Windows command prompt- + + set NODE_OPTIONS=--openssl-legacy-provider + + Windows PowerShell- + + $env:NODE_OPTIONS = "--openssl-legacy-provider" + diff --git a/src/public/alert.mp3 b/src/public/alert.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..ebf43801a0a538904884f250180bda11bbee4bc6 GIT binary patch literal 22994 zcmZs@byyVd`vyAn(v3@~bjOmC(%rFiEZs^gqOx>%NOyN5Af3`BNQtDR7=(bZXV=f~ zd!6&gc`mNq8D{2rpZA{oeQM@fRRuvz03}QY`ud8jGCIBo{f!%het?ATwG30RaINt(9qDr z!p_ds)yvD@|IM2>K|x_*QBiSm$;s*I>Dk%&`NhTM<<-^Ijg76Xot-^BgM(vZW0R9} zb4yEWYhSO@v;1i;vN9LFL9gon{2l3>T%@n?Y8 zx79iI^sGrq06KxXT$1p*TdM?K`M9|xF0VD{gGhlrm4@F4k<^VIyY!$nOr#6+cU z8dITCovl$PvPznu1pdAbt zW0CZAQ!Wl*qv!NOmApp=| zY(p(hM50~*`$0)a^@A6aoQz+N-i;G26u%n>g8@!+2|}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FVNp2MBwbEWlPpu|}MAW40*XfiKio<;>hgGIqANRT9a4INBzwg`t2_SGm@ zWHJ=LFssIxEpAmYRwSDVWj~uBttjcs0;W9CZP(G#(mY0gb#pG-|MIvTtfavc)izCI z{%zirR;$t@tkNBep#Fh?g6-FAinq9K|fq{5KP1Pg`At9EtFv z2S7B&R!KMoe#)~Uxt^d~ww?HWUG(S@SGhJ8K4mb9%Eeh|ko?`cIzu2o-_3y;zuIq; zq%v1W>FL;O&*1#dKXoZ9NXQs|szxuyvf&T%|(0D%p literal 0 HcmV?d00001 diff --git a/src/public/global.css b/src/public/global.css index 54f09fa..87d3818 100644 --- a/src/public/global.css +++ b/src/public/global.css @@ -1 +1 @@ -::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track-piece{background-color:#fff}::-webkit-scrollbar-thumb{background-color:#cbcbcb;outline:2px solid #fff;outline-offset:-2px;border:.1px solid #b7b7b7}::-webkit-scrollbar-thumb:hover{background-color:#909090}iframe{display:none !important}body{background-color:#0c0b10 !important}body .MuiButton-root.MuiButton-contained,body .MuiTab-root.Mui-selected{border-radius:5px;background-color:#664eff}body .MuiButton-root.MuiButton-contained:hover,body .MuiTab-root.Mui-selected:hover{filter:brightness(0.7);transform:none !important}body .swal2-modal{background-color:#000 !important;border:1px solid #fff;color:#fff !important}body #root{min-height:100vh}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root{border-radius:0}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root svg{fill:#fff !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw{border-left:3px solid #664eff;background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw:hover{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root:hover{background-color:#151419 !important;color:#fff !important}body #root .css-8t2800,body #root .css-8t2800 .MuiInputBase-root,body #root .css-8t2800 input,body #root .css-19i8cn2,body #root .css-19i8cn2 input,body #root .css-19i8cn2 .MuiInputBase-root{border:none;border-radius:5px;background:#151419 !important}body #root .css-8t2800 .css-unz5y7,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7,body #root .css-8t2800 input .css-unz5y7,body #root .css-19i8cn2 .css-unz5y7,body #root .css-19i8cn2 input .css-unz5y7,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7{color:#fff !important}body #root .css-8t2800 .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7 .MuiIcon-root{color:#fff !important}body #root header.MuiAppBar-root{border-radius:5px}@media screen and (max-width: 600px){body #root .css-141xdzq{justify-content:end}body #root .css-1edr710{display:none}}body #root .Card-Root{background:#151419 !important;border-radius:5px}body #root .Card-Fix{border-radius:5px}body #root .Configurator{background:#151419 !important}body #root .css-1lcz7bp-MuiPaper-root-MuiCard-root .css-uo81m3{background:rgba(0,0,0,0) !important}/*# sourceMappingURL=global.css.map */ \ No newline at end of file +::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track-piece{background-color:#fff}::-webkit-scrollbar-thumb{background-color:#cbcbcb;outline:2px solid #fff;outline-offset:-2px;border:.1px solid #b7b7b7}::-webkit-scrollbar-thumb:hover{background-color:#909090}iframe{display:none !important}body{background-color:#0c0b10 !important}body .MuiButton-root.MuiButton-contained,body .MuiTab-root.Mui-selected{border-radius:5px;background-color:#664eff}body .MuiButton-root.MuiButton-contained:hover,body .MuiTab-root.Mui-selected:hover{filter:brightness(0.7);transform:none !important}body #root{min-height:100vh}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root{border-radius:0}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root .MuiListItemIcon-root svg{fill:#fff !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw{border-left:3px solid #664eff;background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root.css-wac2lw:hover{background-color:#151419 !important}body #root .css-1cjsu7f-MuiPaper-root-MuiDrawer-paper .MuiList-root .MuiBox-root:hover{background-color:#151419 !important;color:#fff !important}body #root .css-8t2800,body #root .css-8t2800 .MuiInputBase-root,body #root .css-8t2800 input,body #root .css-19i8cn2,body #root .css-19i8cn2 input,body #root .css-19i8cn2 .MuiInputBase-root{border:none;border-radius:5px;background:#151419 !important}body #root .css-8t2800 .css-unz5y7,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7,body #root .css-8t2800 input .css-unz5y7,body #root .css-19i8cn2 .css-unz5y7,body #root .css-19i8cn2 input .css-unz5y7,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7{color:#fff !important}body #root .css-8t2800 .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 .MuiInputBase-root .css-unz5y7 .MuiIcon-root,body #root .css-8t2800 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 input .css-unz5y7 .MuiIcon-root,body #root .css-19i8cn2 .MuiInputBase-root .css-unz5y7 .MuiIcon-root{color:#fff !important}body #root header.MuiAppBar-root{border-radius:5px}@media screen and (max-width: 600px){body #root .css-141xdzq{justify-content:end}body #root .css-1edr710{display:none}}body #root .Card-Root{background:#151419 !important;border-radius:5px}body #root .Card-Fix{border-radius:5px}body #root .Configurator{background:#151419 !important}body #root .css-1lcz7bp-MuiPaper-root-MuiCard-root .css-uo81m3{background:rgba(0,0,0,0) !important}body #AlarmImage{position:fixed;top:10vh;right:-100%;z-index:9999;background:rgba(21,20,25,.5) !important;border-radius:0 !important;border-left:3px solid #664eff;transition:all .3s}body #AlarmImage.active{right:20px}body #AlarmImage:hover{background:#151419 !important}body #AlarmImage .layout{padding:10px 50px 10px 10px;display:flex;align-items:center;justify-content:center;margin-bottom:10px}body #AlarmImage .btn{width:100%;display:flex}body #AlarmImage .btn a{flex:1;padding:5px;font-size:12px;color:#fff !important;text-align:center;cursor:pointer}body #AlarmImage .btn a.c{background-color:rgba(30,31,35,.5)}body #AlarmImage .btn a.c:hover{background-color:#1e1f23}body #AlarmImage .btn a.v{background-color:rgba(102,78,255,.5)}body #AlarmImage .btn a.v:hover{background-color:#664eff}body #AlarmImage ion-icon{color:#ffea00;font-size:20px;margin:0 20px 0 5px}body #AlarmImage h4{font-size:14px;color:#fff !important}body #AlarmImage p{font-size:12px;color:#fff !important}/*# sourceMappingURL=global.css.map */ \ No newline at end of file diff --git a/src/public/global.css.map b/src/public/global.css.map index 087a3c2..24b6363 100644 --- a/src/public/global.css.map +++ b/src/public/global.css.map @@ -1 +1 @@ -{"version":3,"sources":["global.scss"],"names":[],"mappings":"AAIA,oBACC,UAAA,CAGD,gCACC,qBAAA,CAGD,0BACC,wBAAA,CACA,sBAAA,CACA,mBAAA,CACA,yBAAA,CAGD,gCACC,wBAAA,CAGD,OACI,uBAAA,CAEJ,KACI,mCAAA,CACA,wEACI,iBAAA,CACA,wBA3BW,CA4BX,oFAEI,sBAAA,CACA,yBAAA,CAGR,kBACI,gCAAA,CACA,qBAAA,CACA,qBAAA,CAEJ,WACI,gBAAA,CAIQ,iFACI,eAAA,CACA,uGACI,mCAAA,CACA,2GACI,oBAAA,CAMR,4FACI,6BAAA,CACA,mCAAA,CACA,kGACI,mCAAA,CAIR,uFACI,mCAAA,CACA,qBAAA,CAMhB,+LACI,WAAA,CACA,iBAAA,CACA,6BAAA,CACA,uQAII,qBAAA,CAHA,2VACI,qBAAA,CAKZ,iCACI,iBAAA,CAIJ,qCACI,wBACI,mBAAA,CAEJ,wBACI,YAAA,CAAA,CAKR,sBACI,6BAAA,CACA,iBAAA,CAEJ,qBACI,iBAAA,CAEJ,yBACI,6BAAA,CAGA,+DACI,mCAAA","file":"global.css"} \ No newline at end of file +{"version":3,"sources":["global.scss"],"names":[],"mappings":"AAIA,oBACC,UAAA,CAGD,gCACC,qBAAA,CAGD,0BACC,wBAAA,CACA,sBAAA,CACA,mBAAA,CACA,yBAAA,CAGD,gCACC,wBAAA,CAKD,OACI,uBAAA,CAEJ,KACI,mCAAA,CACA,wEACI,iBAAA,CACA,wBA7BW,CA8BX,oFAEI,sBAAA,CACA,yBAAA,CAGR,WACI,gBAAA,CAIQ,iFACI,eAAA,CACA,uGACI,mCAAA,CACA,2GACI,oBAAA,CAMR,4FACI,6BAAA,CACA,mCAAA,CACA,kGACI,mCAAA,CAIR,uFACI,mCAAA,CACA,qBAAA,CAMhB,+LACI,WAAA,CACA,iBAAA,CACA,6BAAA,CACA,uQAII,qBAAA,CAHA,2VACI,qBAAA,CAKZ,iCACI,iBAAA,CAIJ,qCACI,wBACI,mBAAA,CAEJ,wBACI,YAAA,CAAA,CAKR,sBACI,6BAAA,CACA,iBAAA,CAEJ,qBACI,iBAAA,CAEJ,yBACI,6BAAA,CAGA,+DACI,mCAAA,CAMZ,iBACI,cAAA,CACA,QAAA,CACA,WAAA,CACA,YAAA,CAEA,uCAAA,CACA,0BAAA,CACA,6BAAA,CACA,kBAAA,CACA,wBACI,UAAA,CAEJ,uBACI,6BAAA,CAKJ,yBACI,2BAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,kBAAA,CAEJ,sBACI,UAAA,CACA,YAAA,CACA,wBACI,MAAA,CACA,WAAA,CACA,cAAA,CACA,qBAAA,CACA,iBAAA,CACA,cAAA,CACA,0BACI,kCAAA,CACA,gCACI,wBAAA,CAGR,0BACI,oCAAA,CACA,gCACI,wBA7JL,CAkKX,0BACI,aAAA,CACA,cAAA,CACA,mBAAA,CAGJ,oBACI,cAAA,CACA,qBAAA,CAEJ,mBACI,cAAA,CACA,qBAAA","file":"global.css"} \ No newline at end of file diff --git a/src/public/global.scss b/src/public/global.scss index e7db2ce..ffed5a8 100644 --- a/src/public/global.scss +++ b/src/public/global.scss @@ -20,7 +20,9 @@ $highlight-color2: #664eff; ::-webkit-scrollbar-thumb:hover{ background-color: #909090; } - +* { + // box-sizing: border-box; +} iframe { display: none !important; } @@ -62,7 +64,7 @@ body { &:hover { background-color: $primary-color !important; } - + } &:hover { background-color: $primary-color !important; @@ -71,7 +73,7 @@ body { } } } - // Header + // Header .css-8t2800, .css-8t2800 .MuiInputBase-root, .css-8t2800 input, .css-19i8cn2, .css-19i8cn2 input, .css-19i8cn2 .MuiInputBase-root{ border: none; border-radius: 5px; @@ -113,6 +115,72 @@ body { background: transparent !important; } } - + + } + + #AlarmImage { + position: fixed; + top: 10vh; + right: -100%; + z-index: 9999; + // background-color: $secondary-color; + background: rgba($primary-color, 0.5) !important; + border-radius: 0 !important; + border-left: 3px solid $highlight-color2; + transition: all 0.3s; + &.active { + right: 20px; + } + &:hover { + background: rgba($primary-color, 1) !important; + // border: 0.5px solid #fff; + // border-left: 3px solid $highlight-color2; + } + + .layout { + padding: 10px 50px 10px 10px; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 10px; + } + .btn { + width: 100%; + display: flex; + a { + flex: 1; + padding: 5px; + font-size: 12px; + color: white !important; + text-align: center; + cursor: pointer; + &.c { + background-color: rgba(#1e1f23, 0.5); + &:hover { + background-color: #1e1f23; + } + } + &.v { + background-color: rgba($highlight-color2, 0.5); + &:hover { + background-color: $highlight-color2; + } + } + } + } + ion-icon { + color: #FFEA00; + font-size: 20px; + margin: 0 20px 0 5px; + + } + h4 { + font-size: 14px; + color: white !important; + } + p { + font-size: 12px; + color: white !important; + } } } \ No newline at end of file diff --git a/src/public/index.html b/src/public/index.html index 08d5beb..1cdc495 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -37,4 +37,28 @@
+ + + + diff --git a/src/public/script.js b/src/public/script.js new file mode 100644 index 0000000..bf50028 --- /dev/null +++ b/src/public/script.js @@ -0,0 +1,87 @@ +const audio = new Audio("/alert.mp3"); +let AlarmImageObj = { + status: false, + dic: "", + url: "" +}; +class AlarmImage { + static show(dic, url, auto = true) { + // Play sound ./alert.mp3 + audio.play(); + document.querySelector(".AlarmDroneDIC").innerHTML = dic; + + // Show alert + document.querySelector("#AlarmImage").classList.add("active"); + + AlarmImageObj.status = true; + AlarmImageObj.dic = dic; + AlarmImageObj.url = url; + + // Auto hide + if (auto) { + setTimeout(() => { + this.hide(); + }, 5000); + } + } + static hide() { + // Stop sound + audio.pause(); + audio.currentTime = 0; + + // Hide alert + document.querySelector("#AlarmImage").classList.remove("active"); + + AlarmImageObj.status = false; + AlarmImageObj.dic = ""; + AlarmImageObj.url = ""; + } +} + +function onChangeRenderEvent(url) { + if (url.includes("/map")) { + //!TODO: Implementar la funcionalidad de la alarma, mostrar la imagen + } +} + + +document.addEventListener("DOMContentLoaded", () => { + document.querySelector("#AlarmImage .btn .c").addEventListener("click", () => { + AlarmImage.hide(); + }); + document.querySelector("#AlarmImage .btn .v").addEventListener("click", () => { + AlarmImage.hide(); + }); + + // + let previousUrl = window.location.href; + + // setInterval(function() { + // const currentUrl = window.location.href; + // if (currentUrl !== previousUrl) { + // // La URL ha cambiado + // onChangeRenderEvent(currentUrl); + // // AquĆ­ puedes ejecutar tus funciones necesarias. + // previousUrl = currentUrl; + // } + + // // Verificar si hay una alarma activa + // DRONES.forEach(el => { + // fetch(`${HOST}/alarm/${el.dic}`, + // { + // method: 'GET', + // headers: { + // Authorization: `Bearer ${el.key}` + // } + // }) + // .then(response => response.json()) + // .then(data => { + // if (data.status === true) { + // AlarmImage.show(data.dic, false); + // } + // }) + // }); + + // }, 1000); // Verificar cada segundo + +}); \ No newline at end of file diff --git a/src/src/App.js b/src/src/App.js index b3ae248..a4f4332 100644 --- a/src/src/App.js +++ b/src/src/App.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useState, useEffect/*, useMemo */} from "react"; @@ -15,12 +15,12 @@ import CssBaseline from "@mui/material/CssBaseline"; // Oroneta example components import Sidenav from "examples/Sidenav"; -import Configurator from "examples/Configurator"; // Oroneta themes import theme from "assets/theme"; // import themeRTL from "assets/theme/theme-rtl"; +import AlarmImage from 'examples/Alarm'; // Oroneta routes import routes from "routes"; @@ -117,11 +117,11 @@ export default function App() { onMouseEnter={handleOnMouseEnter} onMouseLeave={handleOnMouseLeave} /> - {/* configsButton */} + )} - {layout === "vr" && } + {layout === "vr" && } {getRoutes(routes)} diff --git a/src/src/components/VuiAlert/index.js b/src/src/components/VuiAlert/index.js index 0d5153a..dfa8068 100644 --- a/src/src/components/VuiAlert/index.js +++ b/src/src/components/VuiAlert/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useState } from "react"; diff --git a/src/src/components/VuiAvatar/index.js b/src/src/components/VuiAvatar/index.js index 75c679e..4712436 100644 --- a/src/src/components/VuiAvatar/index.js +++ b/src/src/components/VuiAvatar/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef } from "react"; diff --git a/src/src/components/VuiBadge/index.js b/src/src/components/VuiBadge/index.js index b807e0d..9001ca6 100644 --- a/src/src/components/VuiBadge/index.js +++ b/src/src/components/VuiBadge/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef } from "react"; diff --git a/src/src/components/VuiButton/VuiButtonRoot.js b/src/src/components/VuiButton/VuiButtonRoot.js index 26a9e48..8566e5b 100644 --- a/src/src/components/VuiButton/VuiButtonRoot.js +++ b/src/src/components/VuiButton/VuiButtonRoot.js @@ -3,7 +3,6 @@ // @mui material components import Button from "@mui/material/Button"; import { styled } from "@mui/material/styles"; -import linearGradient from "assets/theme/functions/linearGradient"; export default styled(Button)(({ theme, ownerState }) => { const { palette, functions, borders } = theme; diff --git a/src/src/components/VuiInput/index.js b/src/src/components/VuiInput/index.js index 722cd0a..23dcc41 100644 --- a/src/src/components/VuiInput/index.js +++ b/src/src/components/VuiInput/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef } from "react"; diff --git a/src/src/components/VuiPagination/index.js b/src/src/components/VuiPagination/index.js index c92d80a..b9ad0d3 100644 --- a/src/src/components/VuiPagination/index.js +++ b/src/src/components/VuiPagination/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef, createContext, useContext } from "react"; diff --git a/src/src/components/VuiProgress/VuiProgressRoot.js b/src/src/components/VuiProgress/VuiProgressRoot.js index 33e778d..836c5e4 100644 --- a/src/src/components/VuiProgress/VuiProgressRoot.js +++ b/src/src/components/VuiProgress/VuiProgressRoot.js @@ -5,22 +5,10 @@ import { styled } from "@mui/material/styles"; import LinearProgress from "@mui/material/LinearProgress"; export default styled(LinearProgress)(({ theme, ownerState }) => { - const { palette, functions } = theme; - const { color, value, variant } = ownerState; + const { palette } = theme; + const { value } = ownerState; - const { text, gradients } = palette; - const { linearGradient } = functions; - - // background value - let backgroundValue; - - // if (variant === "gradient") { - // backgroundValue = gradients[color] - // ? linearGradient(gradients[color].main, gradients[color].state) - // : linearGradient(gradients.info.main, gradients.info.state); - // } else { - // backgroundValue = palette[color] ? palette[color].main : palette.info.main; - // } + const { text } = palette; return { "& .MuiLinearProgress-bar": { diff --git a/src/src/components/VuiProgress/index.js b/src/src/components/VuiProgress/index.js index 0db6954..3a31323 100644 --- a/src/src/components/VuiProgress/index.js +++ b/src/src/components/VuiProgress/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef } from "react"; diff --git a/src/src/components/VuiSwitch/VuiSwitchRoot.js b/src/src/components/VuiSwitch/VuiSwitchRoot.js index d7b9589..12cac5e 100644 --- a/src/src/components/VuiSwitch/VuiSwitchRoot.js +++ b/src/src/components/VuiSwitch/VuiSwitchRoot.js @@ -6,7 +6,6 @@ import { styled } from "@mui/material/styles"; export default styled(Switch)(({ theme, ownerState }) => { const { palette } = theme; - const { color } = ownerState; const { white, secondary } = palette; // styles for the button with variant="contained" diff --git a/src/src/components/VuiSwitch/index.js b/src/src/components/VuiSwitch/index.js index edb987e..de2799f 100644 --- a/src/src/components/VuiSwitch/index.js +++ b/src/src/components/VuiSwitch/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef } from "react"; diff --git a/src/src/components/VuiTypography/index.js b/src/src/components/VuiTypography/index.js index 443bea9..11fa38d 100644 --- a/src/src/components/VuiTypography/index.js +++ b/src/src/components/VuiTypography/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef } from "react"; diff --git a/src/src/context/AlarmContext.jsx b/src/src/context/AlarmContext.jsx new file mode 100644 index 0000000..4a4a074 --- /dev/null +++ b/src/src/context/AlarmContext.jsx @@ -0,0 +1,20 @@ +import React, { createContext, useContext } from 'react'; + +// Crear un Context +const AlarmDroneActive = createContext(); + +// Crear un Provider +export const AlarmStateProvider = ({ children }) => { + let droneDIC = ''; + + return ( + + {children} + + ); +}; + +// Crear un Hook personalizado para usar el Context +export const useAlarmState = () => { + return useContext(AlarmDroneActive); +}; diff --git a/src/src/context/UserContext.jsx b/src/src/context/UserContext.jsx index e8450eb..cbcd6e9 100644 --- a/src/src/context/UserContext.jsx +++ b/src/src/context/UserContext.jsx @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { createContext } from 'react'; export const UserContext = createContext(); diff --git a/src/src/context/UserProvider.jsx b/src/src/context/UserProvider.jsx index bdd7e5f..6f85560 100644 --- a/src/src/context/UserProvider.jsx +++ b/src/src/context/UserProvider.jsx @@ -1,5 +1,5 @@ // import { useEffect } from "react" -import React, { Component } from 'react'; +import React from 'react'; import { useEffect, useState } from "react"; import { UserContext } from "./UserContext" import Swal from 'sweetalert2'; diff --git a/src/src/context/index.js b/src/src/context/index.js index 9ca756f..90dd285 100644 --- a/src/src/context/index.js +++ b/src/src/context/index.js @@ -2,7 +2,7 @@ This file is used for controlling the global states of the components, you can customize the states for the different components here. */ -import React, { Component } from 'react'; +import React from 'react'; import { createContext, useContext, useEffect, useReducer, useState } from "react"; // prop-types is a library for typechecking of props @@ -32,9 +32,6 @@ function reducer(state, action) { case "FIXED_NAVBAR": { return { ...state, fixedNavbar: action.value }; } - case "OPEN_CONFIGURATOR": { - return { ...state, openConfigurator: action.value }; - } case "DIRECTION": { return { ...state, direction: action.value }; } diff --git a/src/src/examples/Alarm/index.js b/src/src/examples/Alarm/index.js new file mode 100644 index 0000000..1888ae2 --- /dev/null +++ b/src/src/examples/Alarm/index.js @@ -0,0 +1,32 @@ +import React from 'react'; +import { Link } from 'react-router-dom'; + +const AlarmImage = () => { + + return ( +
+
+ +
+

New alarm

+

+ has detected an alarm image +

+ {/* Click to view more */} +
+
+
+ Close + + View + +
+
+ ); +}; + +export default AlarmImage; diff --git a/src/src/examples/Breadcrumbs/index.js b/src/src/examples/Breadcrumbs/index.js index 1583a90..02dc483 100644 --- a/src/src/examples/Breadcrumbs/index.js +++ b/src/src/examples/Breadcrumbs/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // react-router-dom components import { Link } from "react-router-dom"; diff --git a/src/src/examples/Cards/InfoCards/ProfileInfoCard/index.js b/src/src/examples/Cards/InfoCards/ProfileInfoCard/index.js index 9775818..9250ea2 100644 --- a/src/src/examples/Cards/InfoCards/ProfileInfoCard/index.js +++ b/src/src/examples/Cards/InfoCards/ProfileInfoCard/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is library for typechecking of props @@ -13,7 +13,6 @@ import VuiBox from "components/VuiBox"; import VuiTypography from "components/VuiTypography"; // Oroneta base styles -import colors from "assets/theme/base/colors"; import typography from "assets/theme/base/typography"; function ProfileInfoCard({ title, description, info, social }) { diff --git a/src/src/examples/Cards/MasterCard/index.js b/src/src/examples/Cards/MasterCard/index.js index 416094a..8d867e5 100644 --- a/src/src/examples/Cards/MasterCard/index.js +++ b/src/src/examples/Cards/MasterCard/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props // @mui material components diff --git a/src/src/examples/Cards/ProjectCards/DefaultProjectCard/index.js b/src/src/examples/Cards/ProjectCards/DefaultProjectCard/index.js index 4f2560b..3a6dfed 100644 --- a/src/src/examples/Cards/ProjectCards/DefaultProjectCard/index.js +++ b/src/src/examples/Cards/ProjectCards/DefaultProjectCard/index.js @@ -1,5 +1,5 @@ -import React, { Component } from 'react'; +import React from 'react'; // react-router-dom components import { Link } from "react-router-dom"; diff --git a/src/src/examples/Cards/StatisticsCards/MiniStatisticsCard/index.js b/src/src/examples/Cards/StatisticsCards/MiniStatisticsCard/index.js index 7ce1cf1..0f33f9b 100644 --- a/src/src/examples/Cards/StatisticsCards/MiniStatisticsCard/index.js +++ b/src/src/examples/Cards/StatisticsCards/MiniStatisticsCard/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/examples/Charts/BarCharts/BarChart.js b/src/src/examples/Charts/BarCharts/BarChart.js index 262f9cd..b4d9226 100644 --- a/src/src/examples/Charts/BarCharts/BarChart.js +++ b/src/src/examples/Charts/BarCharts/BarChart.js @@ -1,6 +1,6 @@ -import React, { Component } from "react"; +import React, {Component} from "react"; import Chart from "react-apexcharts"; class BarChart extends Component { diff --git a/src/src/examples/Configurator/ConfiguratorRoot.js b/src/src/examples/Configurator/ConfiguratorRoot.js deleted file mode 100644 index a05ddfc..0000000 --- a/src/src/examples/Configurator/ConfiguratorRoot.js +++ /dev/null @@ -1,51 +0,0 @@ -import React, { Component } from 'react'; - -// @mui material components -import Drawer from "@mui/material/Drawer"; -import { styled } from "@mui/material/styles"; - -export default styled(Drawer)(({ theme, ownerState }) => { - const { boxShadows, functions, transitions, palette } = theme; - const { openConfigurator } = ownerState; - - const { gradients } = palette; - const configuratorWidth = 360; - const { lg } = boxShadows; - const { pxToRem, linearGradient } = functions; - - // drawer styles when openConfigurator={true} - const drawerOpenStyles = () => ({ - width: configuratorWidth, - left: "initial", - right: 0, - transition: transitions.create("right", { - easing: transitions.easing.sharp, - duration: transitions.duration.short, - }), - }); - - // drawer styles when openConfigurator={false} - const drawerCloseStyles = () => ({ - left: "initial", - right: pxToRem(-350), - transition: transitions.create("all", { - easing: transitions.easing.sharp, - duration: transitions.duration.short, - }), - }); - - return { - "& .MuiDrawer-paper": { - backdropFilter: `blur(120px)`, - background: "rgba(30, 31, 35, 0.5)", - - height: "100vh", - margin: 0, - padding: `0 ${pxToRem(10)}`, - borderRadius: 0, - boxShadow: lg, - overflowY: "auto", - ...(openConfigurator ? drawerOpenStyles() : drawerCloseStyles()), - }, - }; -}); diff --git a/src/src/examples/Configurator/index.js b/src/src/examples/Configurator/index.js deleted file mode 100644 index bd0bf73..0000000 --- a/src/src/examples/Configurator/index.js +++ /dev/null @@ -1,276 +0,0 @@ - -import React, { Component } from 'react'; -import { useState, useEffect } from "react"; - -// react-github-btn -import GitHubButton from "react-github-btn"; - -// @mui material components -import Divider from "@mui/material/Divider"; -import IconButton from "@mui/material/IconButton"; -import Link from "@mui/material/Link"; -import Icon from "@mui/material/Icon"; - -// @mui icons -import TwitterIcon from "@mui/icons-material/Twitter"; -import FacebookIcon from "@mui/icons-material/Facebook"; - -// Oroneta components -import VuiBox from "components/VuiBox"; -import VuiTypography from "components/VuiTypography"; -import VuiButton from "components/VuiButton"; -import VuiSwitch from "components/VuiSwitch"; - -// Custom styles for the Configurator -import ConfiguratorRoot from "examples/Configurator/ConfiguratorRoot"; - -// Oroneta context -import { - useVisionUIController, - setOpenConfigurator, - setTransparentSidenav, - setFixedNavbar, - setSidenavColor, -} from "context"; - -function Configurator() { - const [controller, dispatch] = useVisionUIController(); - const { openConfigurator, transparentSidenav, fixedNavbar, sidenavColor } = controller; - const [disabled, setDisabled] = useState(false); - const sidenavColors = ["primary", "info", "success", "warning", "error"]; - - // Use the useEffect hook to change the button state for the sidenav type based on window size. - useEffect(() => { - // A function that sets the disabled state of the buttons for the sidenav type. - function handleDisabled() { - return window.innerWidth > 1200 ? setDisabled(false) : setDisabled(true); - } - - // The event listener that's calling the handleDisabled function when resizing the window. - window.addEventListener("resize", handleDisabled); - - // Call the handleDisabled function to set the state with the initial value. - handleDisabled(); - - // Remove event listener on cleanup - return () => window.removeEventListener("resize", handleDisabled); - }, []); - - const handleCloseConfigurator = () => setOpenConfigurator(dispatch, false); - const handleTransparentSidenav = () => setTransparentSidenav(dispatch, true); - const handleWhiteSidenav = () => setTransparentSidenav(dispatch, false); - const handleFixedNavbar = () => setFixedNavbar(dispatch, !fixedNavbar); - - // sidenav type buttons styles - const sidenavTypeButtonsStyles = ({ - functions: { pxToRem }, - boxShadows: { buttonBoxShadow }, - }) => ({ - height: pxToRem(42), - boxShadow: buttonBoxShadow.main, - - "&:hover, &:focus": { - opacity: 1, - }, - }); - - return ( - - - - - Dashboard Configurator - - - Change your configuration - - - - ({ - fontSize: `${size.md} !important`, - fontWeight: `${fontWeightBold} !important`, - stroke: `${white.main} !important`, - strokeWidth: "2px", - cursor: "pointer", - mt: 2, - })} - onClick={handleCloseConfigurator} - > - close - - - - - - { /* - - - Sidenav Colors - - - - {sidenavColors.map((color) => ( - ({ - width: "24px", - height: "24px", - padding: 0, - border: `${borderWidth[1]} solid ${white.main}`, - borderColor: sidenavColor === color && dark.main, - transition: transitions.create("border-color", { - easing: transitions.easing.sharp, - duration: transitions.duration.shorter, - }), - backgroundImage: ({ functions: { linearGradient }, palette: { gradients } }) => - linearGradient(gradients[color].main, gradients[color].state), - - "&:not(:last-child)": { - mr: 1, - }, - - "&:hover, &:focus, &:active": { - borderColor: dark.main, - }, - })} - onClick={() => setSidenavColor(dispatch, color)} - /> - ))} - - - {window.innerWidth >= 1440 && ( - - - Sidenav Type - - - Choose between 2 different sidenav types. - - - - - Transparent - - - Opaque - - - - )} - - - - Navbar Fixed - - - - - - - - - - - FREE DOWNLOAD - - - - VIEW DOCUMENTATION - - - - - Star - - - - - - Thank you for sharing! - - - - - - - -   Tweet - - - - -   Share - - - - */} - - ); -} - -export default Configurator; diff --git a/src/src/examples/Footer/index.js b/src/src/examples/Footer/index.js index ca44e5b..935a31b 100644 --- a/src/src/examples/Footer/index.js +++ b/src/src/examples/Footer/index.js @@ -1,5 +1,5 @@ -import React, { Component } from 'react'; +import React from 'react'; // Oroneta components import VuiBox from "components/VuiBox"; import VuiTypography from "components/VuiTypography"; diff --git a/src/src/examples/GradientBorder/index.js b/src/src/examples/GradientBorder/index.js index d42bd5b..e9f0c57 100644 --- a/src/src/examples/GradientBorder/index.js +++ b/src/src/examples/GradientBorder/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // Oroneta components import VuiBox from "components/VuiBox"; diff --git a/src/src/examples/Icons/Mastercard.js b/src/src/examples/Icons/Mastercard.js index 1142036..2809c94 100644 --- a/src/src/examples/Icons/Mastercard.js +++ b/src/src/examples/Icons/Mastercard.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/examples/Icons/OronetaLandLogo.js b/src/src/examples/Icons/OronetaLandLogo.js index 30a9bd4..a8ff6b3 100644 --- a/src/src/examples/Icons/OronetaLandLogo.js +++ b/src/src/examples/Icons/OronetaLandLogo.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/examples/Icons/OronetaLogo.js b/src/src/examples/Icons/OronetaLogo.js index 68e97ed..54132c6 100644 --- a/src/src/examples/Icons/OronetaLogo.js +++ b/src/src/examples/Icons/OronetaLogo.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/examples/Icons/Visa.js b/src/src/examples/Icons/Visa.js index 24f2446..8de2f6a 100644 --- a/src/src/examples/Icons/Visa.js +++ b/src/src/examples/Icons/Visa.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/examples/Items/NotificationItem/index.js b/src/src/examples/Items/NotificationItem/index.js index 6461f8f..0644102 100644 --- a/src/src/examples/Items/NotificationItem/index.js +++ b/src/src/examples/Items/NotificationItem/index.js @@ -1,5 +1,5 @@ -import React, { Component } from 'react'; +import React from 'react'; import { forwardRef } from "react"; // prop-types is a library for typechecking of props. @@ -14,7 +14,7 @@ import VuiBox from "components/VuiBox"; import VuiTypography from "components/VuiTypography"; // custom styles for the NotificationItem -import { menuItem, menuImage } from "examples/Items/NotificationItem/styles"; +import { menuItem } from "examples/Items/NotificationItem/styles"; const NotificationItem = forwardRef(({ color, image, title, date, ...rest }, ref) => ( menuItem(theme)}> diff --git a/src/src/examples/Items/NotificationItem/styles.js b/src/src/examples/Items/NotificationItem/styles.js index 4061545..e103bff 100644 --- a/src/src/examples/Items/NotificationItem/styles.js +++ b/src/src/examples/Items/NotificationItem/styles.js @@ -1,7 +1,7 @@ function menuItem(theme) { const { palette, borders, transitions } = theme; - const { text, light } = palette; + const { text } = palette; const { borderRadius } = borders; return { diff --git a/src/src/examples/LayoutContainers/DashboardLayout/index.js b/src/src/examples/LayoutContainers/DashboardLayout/index.js index bb18b2a..f58bcd9 100644 --- a/src/src/examples/LayoutContainers/DashboardLayout/index.js +++ b/src/src/examples/LayoutContainers/DashboardLayout/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useEffect } from "react"; diff --git a/src/src/examples/LayoutContainers/PageLayout/index.js b/src/src/examples/LayoutContainers/PageLayout/index.js index 0e87921..785fabb 100644 --- a/src/src/examples/LayoutContainers/PageLayout/index.js +++ b/src/src/examples/LayoutContainers/PageLayout/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useEffect } from "react"; diff --git a/src/src/examples/Lists/ProfilesList/index.js b/src/src/examples/Lists/ProfilesList/index.js index 78602f6..fcc2d5d 100644 --- a/src/src/examples/Lists/ProfilesList/index.js +++ b/src/src/examples/Lists/ProfilesList/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // react-routers components import { Link } from "react-router-dom"; diff --git a/src/src/examples/Navbars/DashboardNavbar/index.js b/src/src/examples/Navbars/DashboardNavbar/index.js index e6146f3..b4dad3b 100644 --- a/src/src/examples/Navbars/DashboardNavbar/index.js +++ b/src/src/examples/Navbars/DashboardNavbar/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useState, useEffect } from "react"; @@ -38,7 +38,6 @@ import { useVisionUIController, setTransparentNavbar, setMiniSidenav, - setOpenConfigurator, } from "context"; // Images @@ -48,7 +47,7 @@ import logoSpotify from "assets/images/small-logos/logo-spotify.svg"; function DashboardNavbar({ absolute, light, isMini }) { const [navbarType, setNavbarType] = useState(); const [controller, dispatch] = useVisionUIController(); - const { miniSidenav, transparentNavbar, fixedNavbar, openConfigurator } = controller; + const { miniSidenav, transparentNavbar, fixedNavbar } = controller; const [openMenu, setOpenMenu] = useState(false); const route = useLocation().pathname.split("/").slice(1); @@ -79,7 +78,6 @@ function DashboardNavbar({ absolute, light, isMini }) { }, [dispatch, fixedNavbar]); const handleMiniSidenav = () => setMiniSidenav(dispatch, !miniSidenav); - const handleConfiguratorOpen = () => setOpenConfigurator(dispatch, !openConfigurator); const handleOpenMenu = (event) => setOpenMenu(event.currentTarget); const handleCloseMenu = () => setOpenMenu(false); diff --git a/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarLink.js b/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarLink.js index 128e250..1951679 100644 --- a/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarLink.js +++ b/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarLink.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // react-router-dom components import { Link } from "react-router-dom"; diff --git a/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarMobile.js b/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarMobile.js index 8dc962a..5430485 100644 --- a/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarMobile.js +++ b/src/src/examples/Navbars/DefaultNavbar/DefaultNavbarMobile.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props. import PropTypes from "prop-types"; diff --git a/src/src/examples/Navbars/DefaultNavbar/index.js b/src/src/examples/Navbars/DefaultNavbar/index.js index a790b7d..6f5cbef 100644 --- a/src/src/examples/Navbars/DefaultNavbar/index.js +++ b/src/src/examples/Navbars/DefaultNavbar/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useState, useEffect } from "react"; diff --git a/src/src/examples/Sidenav/SidenavCollapse.js b/src/src/examples/Sidenav/SidenavCollapse.js index bba5585..39255ea 100644 --- a/src/src/examples/Sidenav/SidenavCollapse.js +++ b/src/src/examples/Sidenav/SidenavCollapse.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props. import PropTypes from "prop-types"; diff --git a/src/src/examples/Sidenav/SidenavRoot.js b/src/src/examples/Sidenav/SidenavRoot.js index 64e361e..9ec6d54 100644 --- a/src/src/examples/Sidenav/SidenavRoot.js +++ b/src/src/examples/Sidenav/SidenavRoot.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // @mui material components import Drawer from "@mui/material/Drawer"; import { styled } from "@mui/material/styles"; diff --git a/src/src/examples/Sidenav/index.js b/src/src/examples/Sidenav/index.js index 5fc2ff7..11a3d26 100644 --- a/src/src/examples/Sidenav/index.js +++ b/src/src/examples/Sidenav/index.js @@ -1,5 +1,5 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useEffect } from "react"; @@ -18,7 +18,6 @@ import Icon from "@mui/material/Icon"; // Oroneta components import VuiBox from "components/VuiBox"; import VuiTypography from "components/VuiTypography"; -import VuiButton from "components/VuiButton"; // Oroneta example components import SidenavCollapse from "examples/Sidenav/SidenavCollapse"; diff --git a/src/src/examples/Tables/Table/index.js b/src/src/examples/Tables/Table/index.js index c4d8136..a0df594 100644 --- a/src/src/examples/Tables/Table/index.js +++ b/src/src/examples/Tables/Table/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useMemo } from "react"; diff --git a/src/src/examples/Timeline/TimelineItem/index.js b/src/src/examples/Timeline/TimelineItem/index.js index 5cf4df7..06aaf3e 100644 --- a/src/src/examples/Timeline/TimelineItem/index.js +++ b/src/src/examples/Timeline/TimelineItem/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/examples/Timeline/TimelineList/index.js b/src/src/examples/Timeline/TimelineList/index.js index e536107..d73a0a8 100644 --- a/src/src/examples/Timeline/TimelineList/index.js +++ b/src/src/examples/Timeline/TimelineList/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/examples/Timeline/context/index.js b/src/src/examples/Timeline/context/index.js index 1545fb3..c9bcabd 100644 --- a/src/src/examples/Timeline/context/index.js +++ b/src/src/examples/Timeline/context/index.js @@ -4,7 +4,7 @@ /** This file is used for controlling the dark and light state of the TimelineList and TimelineItem. */ -import React, { Component } from 'react'; +import React from 'react'; import { createContext, useContext } from "react"; // The Timeline main context diff --git a/src/src/layouts/authentication/components/CoverLayout/index.js b/src/src/layouts/authentication/components/CoverLayout/index.js index 9107d42..682e51a 100644 --- a/src/src/layouts/authentication/components/CoverLayout/index.js +++ b/src/src/layouts/authentication/components/CoverLayout/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/layouts/authentication/components/Footer/index.js b/src/src/layouts/authentication/components/Footer/index.js index 3d50045..2c97fe0 100644 --- a/src/src/layouts/authentication/components/Footer/index.js +++ b/src/src/layouts/authentication/components/Footer/index.js @@ -1,14 +1,8 @@ -import React, { Component } from 'react'; +import React from 'react'; // @mui material components import Grid from "@mui/material/Grid"; -// @mui icons -import FacebookIcon from "@mui/icons-material/Facebook"; -import TwitterIcon from "@mui/icons-material/Twitter"; -import InstagramIcon from "@mui/icons-material/Instagram"; -import PinterestIcon from "@mui/icons-material/Pinterest"; -import LinkedInIcon from "@mui/icons-material/LinkedIn"; // Dashboard React components import VuiBox from "components/VuiBox"; diff --git a/src/src/layouts/authentication/components/IllustrationLayout/index.js b/src/src/layouts/authentication/components/IllustrationLayout/index.js index f181a76..9c1a57c 100644 --- a/src/src/layouts/authentication/components/IllustrationLayout/index.js +++ b/src/src/layouts/authentication/components/IllustrationLayout/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // prop-types is a library for typechecking of props import PropTypes from "prop-types"; diff --git a/src/src/layouts/authentication/components/Separator/index.js b/src/src/layouts/authentication/components/Separator/index.js index 4db8359..946eec4 100644 --- a/src/src/layouts/authentication/components/Separator/index.js +++ b/src/src/layouts/authentication/components/Separator/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // @mui material components import Divider from "@mui/material/Divider"; diff --git a/src/src/layouts/authentication/components/Socials/index.js b/src/src/layouts/authentication/components/Socials/index.js index 10e6af9..9790d62 100644 --- a/src/src/layouts/authentication/components/Socials/index.js +++ b/src/src/layouts/authentication/components/Socials/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // Oroneta components import VuiButton from "components/VuiButton"; diff --git a/src/src/layouts/authentication/sign-in/index.js b/src/src/layouts/authentication/sign-in/index.js index d397667..ab67c19 100644 --- a/src/src/layouts/authentication/sign-in/index.js +++ b/src/src/layouts/authentication/sign-in/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useState } from "react"; // react-router-dom components diff --git a/src/src/layouts/authentication/sign-up/index.js b/src/src/layouts/authentication/sign-up/index.js index db8a4e7..8c82e81 100644 --- a/src/src/layouts/authentication/sign-up/index.js +++ b/src/src/layouts/authentication/sign-up/index.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { useState } from "react"; @@ -71,7 +71,7 @@ function SignIn() { - + - + - + Date: Sun, 28 Apr 2024 20:34:30 +0200 Subject: [PATCH 2/2] Duplicated react --- src/src/layouts/profile/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/src/layouts/profile/index.js b/src/src/layouts/profile/index.js index 9c62f10..033f479 100644 --- a/src/src/layouts/profile/index.js +++ b/src/src/layouts/profile/index.js @@ -1,5 +1,3 @@ -import React from 'react'; - // @mui material components // @mui icons import FacebookIcon from "@mui/icons-material/Facebook";