From b6643e6fbddd99c68dbdd3d5e0655e49e5ae86c9 Mon Sep 17 00:00:00 2001 From: chihabhajji Date: Tue, 4 May 2021 21:54:52 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Removed=20bloat=20code=20=F0=9F=98=8E?= =?UTF-8?q?=F0=9F=8E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/config-overrides.js | 2 +- Client/package.json | 2 +- Client/public/index.html | 3 - Client/src/actions/AdminAction.js | 4 +- Client/src/actions/cartAction.js | 4 +- Client/src/actions/productAction.js | 7 +- .../VerticalLayout/SidebarContent.js | 28 +- .../AllCharts/apex/ColumnWithDataLabels.js | 139 - .../pages/AllCharts/apex/LineColumnArea.js | 115 - .../pages/AllCharts/apex/PieChart.js | 54 - .../pages/AllCharts/apex/RadialChart.js | 52 - .../pages/AllCharts/apex/SplineArea.js | 67 - .../pages/AllCharts/apex/apaexlinecolumn.js | 95 - .../pages/AllCharts/apex/apexdonut.js | 43 - .../pages/AllCharts/apex/apexdonut1.js | 43 - .../pages/AllCharts/apex/areachart.js | 73 - .../pages/AllCharts/apex/barchart.js | 65 - .../pages/AllCharts/apex/chartapex.js | 60 - .../pages/AllCharts/apex/dashedLine.js | 90 - .../pages/AllCharts/apex/dountchart.js | 54 - .../pages/AllCharts/apex/lineareachart.js | 27 - .../pages/AllCharts/apex/salesdonut.js | 43 - .../pages/AllCharts/apex/stackedbarchart.js | 109 - .../pages/AllCharts/chartist/barchart.js | 45 - .../pages/AllCharts/chartist/chartbar.js | 27 - .../pages/AllCharts/chartist/dountchart.js | 36 - .../pages/AllCharts/chartist/lineareachart.js | 27 - .../pages/AllCharts/chartist/linechart.js | 33 - .../pages/AllCharts/chartist/piechart.js | 26 - .../AllCharts/chartist/smilanimations.js | 32 - .../AllCharts/chartist/stackedbarchart.js | 35 - .../pages/AllCharts/chartjs/barchart.js | 39 - .../pages/AllCharts/chartjs/dountchart.js | 25 - .../pages/AllCharts/chartjs/linechart.js | 89 - .../pages/AllCharts/chartjs/piechart.js | 26 - .../pages/AllCharts/chartjs/polarchart.js | 26 - .../pages/AllCharts/chartjs/radarchart.js | 48 - .../pages/AllCharts/echart/bubblechart.js | 179 - .../AllCharts/echart/candlestickchart.js | 71 - .../pages/AllCharts/echart/doughnutchart.js | 66 - .../pages/AllCharts/echart/gaugechart.js | 71 - .../pages/AllCharts/echart/linebarchart.js | 116 - .../pages/AllCharts/echart/linechart.js | 61 - .../pages/AllCharts/echart/piechart.js | 55 - .../pages/AllCharts/echart/scatterchart.js | 68 - .../backoffice/pages/AllCharts/knob/knob.js | 385 - .../pages/AllCharts/sparkline/sparkline.js | 31 - .../pages/AllCharts/sparkline/sparkline1.js | 54 - .../pages/AllCharts/toastui/AreaChartToast.js | 119 - .../pages/AllCharts/toastui/BarChartToast.js | 99 - .../pages/AllCharts/toastui/BoxPlotChart.js | 114 - .../AllCharts/toastui/BubbleChartToast.js | 235 - .../pages/AllCharts/toastui/BulletChart.js | 129 - .../AllCharts/toastui/ColumnChartToast.js | 110 - .../AllCharts/toastui/DonutChartToast.js | 105 - .../pages/AllCharts/toastui/HeatMapChart.js | 140 - .../AllCharts/toastui/HeatmapChartToast.js | 113 - .../pages/AllCharts/toastui/LineChartToast.js | 104 - .../pages/AllCharts/toastui/MapChart.js | 262 - .../pages/AllCharts/toastui/PieChartToast.js | 84 - .../pages/AllCharts/toastui/RadialChart.js | 104 - .../AllCharts/toastui/ScatterChartToast.js | 625 - .../pages/AllCharts/toastui/TreeMapChart.js | 130 - .../pages/AllCharts/toastui/toastui.scss | 10 - .../pages/Authentication/ForgetPassword.js | 179 - .../backoffice/pages/Authentication/Login.js | 278 - .../backoffice/pages/Authentication/Logout.js | 21 - .../pages/Authentication/Register.js | 186 - .../pages/Authentication/UserProfile.js | 274 +- .../pages/AuthenticationInner/CarouselPage.js | 83 - .../AuthenticationInner/ForgetPassword.js | 109 - .../pages/AuthenticationInner/Login.js | 193 - .../pages/AuthenticationInner/Login2.js | 169 - .../pages/AuthenticationInner/Recoverpw.js | 108 - .../pages/AuthenticationInner/Recoverpw2.js | 108 - .../pages/AuthenticationInner/Register.js | 173 - .../pages/AuthenticationInner/Register2.js | 172 - .../auth-email-verification-2.js | 87 - .../auth-email-verification.js | 93 - .../AuthenticationInner/auth-lock-screen-2.js | 116 - .../AuthenticationInner/auth-lock-screen.js | 121 - .../auth-two-step-verification-2.js | 123 - .../auth-two-step-verification.js | 140 - .../page-confirm-mail-2.js | 83 - .../AuthenticationInner/page-confirm-mail.js | 81 - .../src/backoffice/pages/Brand/BrandtList.js | 415 +- .../src/backoffice/pages/Brand/EditBrand.js | 168 +- .../backoffice/pages/Category/Editcategory.js | 10 +- .../src/backoffice/pages/Charts/Apexcharts.js | 144 - .../backoffice/pages/Charts/ChartistChart.js | 290 - .../backoffice/pages/Charts/ChartjsChart.js | 218 - Client/src/backoffice/pages/Charts/EChart.js | 129 - .../backoffice/pages/Charts/SparklineChart.js | 234 - .../backoffice/pages/Charts/ToastUIChart.js | 191 - .../backoffice/pages/Charts/charts-knob.js | 207 - Client/src/backoffice/pages/Chat/Chat.js | 657 - .../src/backoffice/pages/Dashboard/index.js | 556 +- .../pages/Ecommerce/EcommerceAddProduct.js | 313 - .../pages/Ecommerce/EcommerceCart.js | 323 - .../pages/Ecommerce/EcommerceCheckout.js | 809 - .../EcommerceCustomerColumns.js | 91 - .../Ecommerce/EcommerceCustomers/index.js | 159 - .../EcommerceOrders/EcommerceOrderColumns.js | 115 - .../EcommerceOrders/EcommerceOrdersModal.js | 115 - .../pages/Ecommerce/EcommerceOrders/index.js | 176 - .../EcommerceProducts/RecentProducts.js | 71 - .../Ecommerce/EcommerceProducts/Reviews.js | 91 - .../Ecommerce/EcommerceProducts/index.js | 477 - .../Ecommerce/EcommerceShops/CardShop.js | 71 - .../pages/Ecommerce/EcommerceShops/index.js | 68 - .../backoffice/pages/Forms/FormAdvanced.js | 1596 -- .../src/backoffice/pages/Forms/FormEditors.js | 66 - .../pages/Forms/FormElements/TextualInputs.js | 253 - .../pages/Forms/FormElements/index.js | 963 - .../src/backoffice/pages/Forms/FormLayouts.js | 363 - Client/src/backoffice/pages/Forms/FormMask.js | 270 - .../backoffice/pages/Forms/FormRepeater.js | 370 - .../src/backoffice/pages/Forms/FormUpload.js | 151 - .../backoffice/pages/Forms/FormValidations.js | 634 - .../src/backoffice/pages/Forms/FormWizard.js | 797 - .../Forms/FormWizardSteps/Settingmenu.js | 51 - .../pages/Forms/FormWizardSteps/Settings.js | 54 - .../FormWizardSteps/WizardFormFirstPage.js | 235 - .../FormWizardSteps/WizardFormFourPage.js | 53 - .../FormWizardSteps/WizardFormSecondPage.js | 158 - .../FormWizardSteps/WizardFormThirdPage.js | 142 - .../Forms/FormWizardSteps/renderField.js | 13 - .../pages/Forms/FormWizardSteps/validate.js | 23 - .../backoffice/pages/Forms/FormXeditable.js | 177 - .../backoffice/pages/Icons/IconBoxicons.js | 97 - .../backoffice/pages/Icons/IconDripicons.js | 755 - .../backoffice/pages/Icons/IconFontawesome.js | 116 - .../pages/Icons/IconMaterialdesign.js | 23608 ---------------- .../backoffice/pages/Products/AddProduct.js | 593 +- .../pages/Products/ProductDetail.js | 347 +- Client/src/backoffice/pages/Products/index.js | 190 +- .../backoffice/pages/Tables/BasicTables.js | 592 - .../pages/Tables/DatatableTables.js | 566 - .../backoffice/pages/Tables/EditableTables.js | 80 - .../pages/Tables/ResponsiveTables.js | 589 - .../backoffice/pages/Tables/datatables.scss | 140 - .../pages/Ui/CarouselTypes/slide.js | 102 - .../Ui/CarouselTypes/slidewithcaption.js | 127 - .../Ui/CarouselTypes/slidewithcontrol.js | 112 - .../pages/Ui/CarouselTypes/slidewithfade.js | 123 - .../Ui/CarouselTypes/slidewithindicator.js | 122 - Client/src/backoffice/pages/Ui/UiAlert.js | 229 - Client/src/backoffice/pages/Ui/UiButtons.js | 945 - Client/src/backoffice/pages/Ui/UiCards.js | 718 - Client/src/backoffice/pages/Ui/UiCarousel.js | 114 - Client/src/backoffice/pages/Ui/UiColors.js | 162 - Client/src/backoffice/pages/Ui/UiDropdown.js | 703 - Client/src/backoffice/pages/Ui/UiGeneral.js | 847 - Client/src/backoffice/pages/Ui/UiGrid.js | 167 - Client/src/backoffice/pages/Ui/UiImages.js | 216 - Client/src/backoffice/pages/Ui/UiLightbox.js | 447 - Client/src/backoffice/pages/Ui/UiModal.js | 803 - .../src/backoffice/pages/Ui/UiProgressbar.js | 366 - .../src/backoffice/pages/Ui/UiRangeSlider.js | 234 - Client/src/backoffice/pages/Ui/UiRating.js | 444 - .../backoffice/pages/Ui/UiSessionTimeout.js | 135 - .../src/backoffice/pages/Ui/UiSweetAlert.js | 572 - .../backoffice/pages/Ui/UiTabsAccordions.js | 990 - .../src/backoffice/pages/Ui/UiTypography.js | 349 - Client/src/backoffice/pages/Ui/UiVideo.js | 118 - .../backoffice/pages/Ui/ui-notifications.js | 661 - .../customSelectStyle.js | 2 +- .../{frontoffice => }/Brand/Brand.js | 0 .../{frontoffice => }/Filter/Filter.js | 0 .../components/Footer/FooterPage.js | 82 +- .../{frontoffice => }/Header/Header.js | 6 +- .../{frontoffice => }/Product/Product.js | 2 +- .../ui/Accordion/Accordion.js | 2 +- .../{frontoffice => }/ui/Badge/Badge.js | 2 +- .../{frontoffice => }/ui/Card/Card.js | 2 +- .../{frontoffice => }/ui/Card/CardAvatar.js | 2 +- .../{frontoffice => }/ui/Card/CardBody.js | 2 +- .../{frontoffice => }/ui/Card/CardFooter.js | 2 +- .../{frontoffice => }/ui/Card/CardHeader.js | 2 +- .../{frontoffice => }/ui/Clearfix/Clearfix.js | 0 .../ui/CustomButtons/Button.js | 2 +- .../ui/CustomDropdown/CustomDropdown.js | 2 +- .../ui/CustomFileInput/CustomFileInput.js | 2 +- .../ui/CustomInput/CustomInput.js | 2 +- .../CustomLinearProgress.js | 2 +- .../ui/CustomTabs/CustomTabs.js | 2 +- .../ui/CustomUpload/ImageUpload.js | 0 .../{frontoffice => }/ui/Footer/Footer.js | 2 +- .../ui/Grid/GridContainer.js | 0 .../{frontoffice => }/ui/Grid/GridItem.js | 0 .../{frontoffice => }/ui/Header/Header.js | 2 +- .../ui/Header/HeaderLinks.js | 2 +- .../{frontoffice => }/ui/InfoArea/InfoArea.js | 2 +- .../ui/Instruction/Instruction.js | 2 +- .../{frontoffice => }/ui/Media/Media.js | 2 +- .../{frontoffice => }/ui/NavPills/NavPills.js | 2 +- .../ui/Pagination/Pagination.js | 2 +- .../{frontoffice => }/ui/Parallax/Parallax.js | 2 +- .../ui/Snackbar/SnackbarContent.js | 2 +- .../{frontoffice => }/ui/Table/Table.js | 2 +- .../{frontoffice => }/ui/Typography/Danger.js | 2 +- .../{frontoffice => }/ui/Typography/Info.js | 2 +- .../{frontoffice => }/ui/Typography/Muted.js | 2 +- .../ui/Typography/Primary.js | 2 +- .../{frontoffice => }/ui/Typography/Quote.js | 2 +- .../{frontoffice => }/ui/Typography/Rose.js | 2 +- .../{frontoffice => }/ui/Typography/Small.js | 2 +- .../ui/Typography/Success.js | 2 +- .../ui/Typography/Warning.js | 2 +- .../pages/BrandSignup/BrandSignup.js | 198 +- Client/src/frontoffice/pages/Brands/Brands.js | 7 +- .../pages/Home/Components/ProductList.js | 4 +- Client/src/frontoffice/pages/Order/Order.js | 2 +- .../pages/ProductDetails/ProductPage.js | 20 +- .../pages/ProductShoppingCart/ShoppingCart.js | 12 +- Client/src/hook/useCartHook.js | 21 +- Client/src/hook/useProductHook.js | 9 +- Client/src/reducers/AdminReducers.js | 2 +- Client/src/reducers/brandReducers.js | 2 +- Client/src/reducers/contactReducers.js | 2 +- Client/src/reducers/userReducers.js | 2 +- README.md | 176 +- Server/controller/Category.js | 6 +- Server/controller/brand.js | 1 - Server/controller/product.js | 25 +- Server/routes/brand.js | 2 +- Server/routes/category.js | 25 +- 227 files changed, 1513 insertions(+), 57337 deletions(-) delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/ColumnWithDataLabels.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/LineColumnArea.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/PieChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/RadialChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/SplineArea.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/apaexlinecolumn.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/apexdonut.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/apexdonut1.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/areachart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/barchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/chartapex.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/dashedLine.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/dountchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/lineareachart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/salesdonut.js delete mode 100644 Client/src/backoffice/pages/AllCharts/apex/stackedbarchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/barchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/chartbar.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/dountchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/lineareachart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/linechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/piechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/smilanimations.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartist/stackedbarchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartjs/barchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartjs/dountchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartjs/linechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartjs/piechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartjs/polarchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/chartjs/radarchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/bubblechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/candlestickchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/doughnutchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/gaugechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/linebarchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/linechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/piechart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/echart/scatterchart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/knob/knob.js delete mode 100644 Client/src/backoffice/pages/AllCharts/sparkline/sparkline.js delete mode 100644 Client/src/backoffice/pages/AllCharts/sparkline/sparkline1.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/AreaChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/BarChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/BoxPlotChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/BubbleChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/BulletChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/ColumnChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/DonutChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/HeatMapChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/HeatmapChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/LineChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/MapChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/PieChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/RadialChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/ScatterChartToast.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/TreeMapChart.js delete mode 100644 Client/src/backoffice/pages/AllCharts/toastui/toastui.scss delete mode 100644 Client/src/backoffice/pages/Authentication/ForgetPassword.js delete mode 100644 Client/src/backoffice/pages/Authentication/Login.js delete mode 100644 Client/src/backoffice/pages/Authentication/Logout.js delete mode 100644 Client/src/backoffice/pages/Authentication/Register.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/CarouselPage.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/ForgetPassword.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/Login.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/Login2.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/Recoverpw.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/Recoverpw2.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/Register.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/Register2.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/auth-email-verification-2.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/auth-email-verification.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/auth-lock-screen-2.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/auth-lock-screen.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/auth-two-step-verification-2.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/auth-two-step-verification.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/page-confirm-mail-2.js delete mode 100644 Client/src/backoffice/pages/AuthenticationInner/page-confirm-mail.js delete mode 100644 Client/src/backoffice/pages/Charts/Apexcharts.js delete mode 100644 Client/src/backoffice/pages/Charts/ChartistChart.js delete mode 100644 Client/src/backoffice/pages/Charts/ChartjsChart.js delete mode 100644 Client/src/backoffice/pages/Charts/EChart.js delete mode 100644 Client/src/backoffice/pages/Charts/SparklineChart.js delete mode 100644 Client/src/backoffice/pages/Charts/ToastUIChart.js delete mode 100644 Client/src/backoffice/pages/Charts/charts-knob.js delete mode 100644 Client/src/backoffice/pages/Chat/Chat.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceAddProduct.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceCart.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceCheckout.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceCustomers/EcommerceCustomerColumns.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceCustomers/index.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceOrders/EcommerceOrderColumns.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceOrders/EcommerceOrdersModal.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceOrders/index.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceProducts/RecentProducts.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceProducts/Reviews.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceProducts/index.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceShops/CardShop.js delete mode 100644 Client/src/backoffice/pages/Ecommerce/EcommerceShops/index.js delete mode 100644 Client/src/backoffice/pages/Forms/FormAdvanced.js delete mode 100644 Client/src/backoffice/pages/Forms/FormEditors.js delete mode 100644 Client/src/backoffice/pages/Forms/FormElements/TextualInputs.js delete mode 100644 Client/src/backoffice/pages/Forms/FormElements/index.js delete mode 100644 Client/src/backoffice/pages/Forms/FormLayouts.js delete mode 100644 Client/src/backoffice/pages/Forms/FormMask.js delete mode 100644 Client/src/backoffice/pages/Forms/FormRepeater.js delete mode 100644 Client/src/backoffice/pages/Forms/FormUpload.js delete mode 100644 Client/src/backoffice/pages/Forms/FormValidations.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizard.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/Settingmenu.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/Settings.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/WizardFormFirstPage.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/WizardFormFourPage.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/WizardFormSecondPage.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/WizardFormThirdPage.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/renderField.js delete mode 100644 Client/src/backoffice/pages/Forms/FormWizardSteps/validate.js delete mode 100644 Client/src/backoffice/pages/Forms/FormXeditable.js delete mode 100644 Client/src/backoffice/pages/Icons/IconBoxicons.js delete mode 100644 Client/src/backoffice/pages/Icons/IconDripicons.js delete mode 100644 Client/src/backoffice/pages/Icons/IconFontawesome.js delete mode 100644 Client/src/backoffice/pages/Icons/IconMaterialdesign.js delete mode 100644 Client/src/backoffice/pages/Tables/BasicTables.js delete mode 100644 Client/src/backoffice/pages/Tables/DatatableTables.js delete mode 100644 Client/src/backoffice/pages/Tables/EditableTables.js delete mode 100644 Client/src/backoffice/pages/Tables/ResponsiveTables.js delete mode 100644 Client/src/backoffice/pages/Tables/datatables.scss delete mode 100644 Client/src/backoffice/pages/Ui/CarouselTypes/slide.js delete mode 100644 Client/src/backoffice/pages/Ui/CarouselTypes/slidewithcaption.js delete mode 100644 Client/src/backoffice/pages/Ui/CarouselTypes/slidewithcontrol.js delete mode 100644 Client/src/backoffice/pages/Ui/CarouselTypes/slidewithfade.js delete mode 100644 Client/src/backoffice/pages/Ui/CarouselTypes/slidewithindicator.js delete mode 100644 Client/src/backoffice/pages/Ui/UiAlert.js delete mode 100644 Client/src/backoffice/pages/Ui/UiButtons.js delete mode 100644 Client/src/backoffice/pages/Ui/UiCards.js delete mode 100644 Client/src/backoffice/pages/Ui/UiCarousel.js delete mode 100644 Client/src/backoffice/pages/Ui/UiColors.js delete mode 100644 Client/src/backoffice/pages/Ui/UiDropdown.js delete mode 100644 Client/src/backoffice/pages/Ui/UiGeneral.js delete mode 100644 Client/src/backoffice/pages/Ui/UiGrid.js delete mode 100644 Client/src/backoffice/pages/Ui/UiImages.js delete mode 100644 Client/src/backoffice/pages/Ui/UiLightbox.js delete mode 100644 Client/src/backoffice/pages/Ui/UiModal.js delete mode 100644 Client/src/backoffice/pages/Ui/UiProgressbar.js delete mode 100644 Client/src/backoffice/pages/Ui/UiRangeSlider.js delete mode 100644 Client/src/backoffice/pages/Ui/UiRating.js delete mode 100644 Client/src/backoffice/pages/Ui/UiSessionTimeout.js delete mode 100644 Client/src/backoffice/pages/Ui/UiSweetAlert.js delete mode 100644 Client/src/backoffice/pages/Ui/UiTabsAccordions.js delete mode 100644 Client/src/backoffice/pages/Ui/UiTypography.js delete mode 100644 Client/src/backoffice/pages/Ui/UiVideo.js delete mode 100644 Client/src/backoffice/pages/Ui/ui-notifications.js rename Client/src/frontoffice/components/{frontoffice => }/Brand/Brand.js (100%) rename Client/src/frontoffice/components/{frontoffice => }/Filter/Filter.js (100%) rename Client/src/frontoffice/components/{frontoffice => }/Header/Header.js (97%) rename Client/src/frontoffice/components/{frontoffice => }/Product/Product.js (95%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Accordion/Accordion.js (96%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Badge/Badge.js (90%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Card/Card.js (96%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Card/CardAvatar.js (92%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Card/CardBody.js (93%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Card/CardFooter.js (92%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Card/CardHeader.js (93%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Clearfix/Clearfix.js (100%) rename Client/src/frontoffice/components/{frontoffice => }/ui/CustomButtons/Button.js (95%) rename Client/src/frontoffice/components/{frontoffice => }/ui/CustomDropdown/CustomDropdown.js (98%) rename Client/src/frontoffice/components/{frontoffice => }/ui/CustomFileInput/CustomFileInput.js (96%) rename Client/src/frontoffice/components/{frontoffice => }/ui/CustomInput/CustomInput.js (96%) rename Client/src/frontoffice/components/{frontoffice => }/ui/CustomLinearProgress/CustomLinearProgress.js (88%) rename Client/src/frontoffice/components/{frontoffice => }/ui/CustomTabs/CustomTabs.js (97%) rename Client/src/frontoffice/components/{frontoffice => }/ui/CustomUpload/ImageUpload.js (100%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Footer/Footer.js (94%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Grid/GridContainer.js (100%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Grid/GridItem.js (100%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Header/Header.js (97%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Header/HeaderLinks.js (99%) rename Client/src/frontoffice/components/{frontoffice => }/ui/InfoArea/InfoArea.js (95%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Instruction/Instruction.js (93%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Media/Media.js (93%) rename Client/src/frontoffice/components/{frontoffice => }/ui/NavPills/NavPills.js (97%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Pagination/Pagination.js (95%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Parallax/Parallax.js (95%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Snackbar/SnackbarContent.js (94%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Table/Table.js (98%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Danger.js (84%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Info.js (84%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Muted.js (84%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Primary.js (84%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Quote.js (92%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Rose.js (84%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Small.js (84%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Success.js (84%) rename Client/src/frontoffice/components/{frontoffice => }/ui/Typography/Warning.js (84%) diff --git a/Client/config-overrides.js b/Client/config-overrides.js index 71c7407..5807378 100644 --- a/Client/config-overrides.js +++ b/Client/config-overrides.js @@ -14,7 +14,7 @@ const { process.env.BUNDLE_VISUALIZE == 1 && addBundleVisualizer(), addWebpackAlias({ ['@Components']: path.resolve(__dirname, './src/frontoffice/components'), - ['@FrontOfficeComponents']: path.resolve(__dirname, './src/frontoffice/components/frontoffice'), + ['@FrontOfficeComponents']: path.resolve(__dirname, './src/frontoffice/components'), ['@BackOfficeComponents']: path.resolve(__dirname, './src/backoffice/components'), ['@FrontOfficePages']: path.resolve(__dirname, './src/frontoffice/pages'), ['@BackOfficePages']: path.resolve(__dirname, './src/backoffice/pages'), diff --git a/Client/package.json b/Client/package.json index 45a2c3b..837e79d 100644 --- a/Client/package.json +++ b/Client/package.json @@ -96,7 +96,7 @@ "react-router-dom": "^5.2.0", "react-script": "^2.0.5", "react-scripts": "3.4.3", - "react-select": "^3.1.1", + "react-select": "^3.2.0", "react-sparklines": "^1.7.0", "react-star-ratings": "^2.3.0", "react-stepzilla": "^6.0.2", diff --git a/Client/public/index.html b/Client/public/index.html index 02f42b8..0aa5d5a 100644 --- a/Client/public/index.html +++ b/Client/public/index.html @@ -32,9 +32,6 @@
-
- spinner -