Browse Source

+ final build (i hope)

ilya_shyian 2 years ago
parent
commit
5e510d1c0c
29 changed files with 204 additions and 17 deletions
  1. 19 0
      build/asset-manifest.json
  2. 1 0
      build/index.html
  3. 2 0
      build/static/css/main.928beea0.css
  4. 1 0
      build/static/css/main.928beea0.css.map
  5. 2 0
      build/static/js/787.884e199e.chunk.js
  6. 1 0
      build/static/js/787.884e199e.chunk.js.map
  7. 3 0
      build/static/js/main.a7c740d9.js
  8. 156 0
      build/static/js/main.a7c740d9.js.LICENSE.txt
  9. 1 0
      build/static/js/main.a7c740d9.js.map
  10. 1 0
      build/static/media/404.7e060e4273fbd7fc09f0a17ca7f3dd68.svg
  11. BIN
      build/static/media/default-avatar-image.fb653606e5a348e7bc76.png
  12. BIN
      build/static/media/main-page-image.bc655052ce386c031a15.png
  13. 7 0
      build/static/media/shopping-logo.423022a24e67b6b6140c294be23af1b0.svg
  14. 0 1
      src/actions/actionCategoriesSearchPage.js
  15. 1 1
      src/actions/actionCategoryGoods.js
  16. 1 1
      src/actions/actionGoodsFind.js
  17. 1 1
      src/actions/actionOrderUpsert.js
  18. 1 1
      src/actions/actionUploadFiles.js
  19. 1 1
      src/components/DashboardPage/ProfileForm/index.js
  20. 0 1
      src/components/DashboardPage/index.js
  21. 1 1
      src/components/admin/AdminCategoriesPage/AdminCategoryList.js
  22. 0 1
      src/components/admin/AdminGoodPage/GoodForm.js
  23. 1 1
      src/components/admin/AdminGoodsPage/AdminGoodList.js
  24. 0 1
      src/components/common/AuthModal/RegisterForm.js
  25. 1 1
      src/components/common/DropZone/index.js
  26. 0 1
      src/components/common/GoodList/index.js
  27. 1 0
      src/components/common/SearchBar/SearchCategoryResultItem.js
  28. 1 1
      src/components/common/SearchBar/SearchUserResultItem.js
  29. 0 3
      src/components/common/SearchBar/index.js

+ 19 - 0
build/asset-manifest.json

@@ -0,0 +1,19 @@
+{
+  "files": {
+    "main.css": "/static/css/main.928beea0.css",
+    "main.js": "/static/js/main.a7c740d9.js",
+    "static/js/787.884e199e.chunk.js": "/static/js/787.884e199e.chunk.js",
+    "static/media/main-page-image.png": "/static/media/main-page-image.bc655052ce386c031a15.png",
+    "static/media/default-avatar-image.png": "/static/media/default-avatar-image.fb653606e5a348e7bc76.png",
+    "static/media/404.svg": "/static/media/404.7e060e4273fbd7fc09f0a17ca7f3dd68.svg",
+    "static/media/shopping-logo.svg": "/static/media/shopping-logo.423022a24e67b6b6140c294be23af1b0.svg",
+    "index.html": "/index.html",
+    "main.928beea0.css.map": "/static/css/main.928beea0.css.map",
+    "main.a7c740d9.js.map": "/static/js/main.a7c740d9.js.map",
+    "787.884e199e.chunk.js.map": "/static/js/787.884e199e.chunk.js.map"
+  },
+  "entrypoints": [
+    "static/css/main.928beea0.css",
+    "static/js/main.a7c740d9.js"
+  ]
+}

File diff suppressed because it is too large
+ 1 - 0
build/index.html


File diff suppressed because it is too large
+ 2 - 0
build/static/css/main.928beea0.css


File diff suppressed because it is too large
+ 1 - 0
build/static/css/main.928beea0.css.map


File diff suppressed because it is too large
+ 2 - 0
build/static/js/787.884e199e.chunk.js


File diff suppressed because it is too large
+ 1 - 0
build/static/js/787.884e199e.chunk.js.map


File diff suppressed because it is too large
+ 3 - 0
build/static/js/main.a7c740d9.js


+ 156 - 0
build/static/js/main.a7c740d9.js.LICENSE.txt

@@ -0,0 +1,156 @@
+/*
+object-assign
+(c) Sindre Sorhus
+@license MIT
+*/
+
+/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+
+/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
+
+/**
+ * @license React
+ * react-dom.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/**
+ * @license React
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/**
+ * @license React
+ * react-jsx-runtime.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/**
+ * @license React
+ * react.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/**
+ * @license React
+ * scheduler.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/**
+ * @license React
+ * use-sync-external-store-shim.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/**
+ * @license React
+ * use-sync-external-store-shim/with-selector.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/**
+ * React Router DOM v6.3.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */
+
+/**
+ * React Router v6.3.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */
+
+/** @license MUI v5.8.0
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/** @license React v0.19.1
+ * scheduler.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/** @license React v16.13.1
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/** @license React v16.14.0
+ * react-dom.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/** @license React v16.14.0
+ * react.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+/** @license React v17.0.2
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */

File diff suppressed because it is too large
+ 1 - 0
build/static/js/main.a7c740d9.js.map


File diff suppressed because it is too large
+ 1 - 0
build/static/media/404.7e060e4273fbd7fc09f0a17ca7f3dd68.svg


BIN
build/static/media/default-avatar-image.fb653606e5a348e7bc76.png


BIN
build/static/media/main-page-image.bc655052ce386c031a15.png


File diff suppressed because it is too large
+ 7 - 0
build/static/media/shopping-logo.423022a24e67b6b6140c294be23af1b0.svg


+ 0 - 1
src/actions/actionCategoriesSearchPage.js

@@ -10,7 +10,6 @@ export function* categoriesSearchPageWorker(action) {
     const { orderBy = "_id", text = "" } = action.payload || {};
     yield put(actionFeedClear());
     yield put(actionPromiseClear("feedCatsFind"));
-    console.log(1);
     yield put(actionFeedCatsFind({ text, orderBy, skip: 0 }));
 
     yield take("CATEGORIES_SEARCH_PAGE_CLEAR");

+ 1 - 1
src/actions/actionCategoryGoods.js

@@ -1,4 +1,4 @@
-import { call, cancelled, select } from "redux-saga/effects";
+import { call } from "redux-saga/effects";
 import { gql } from "../helpers";
 import { actionPromise } from "../reducers";
 import { promiseWorker } from "../reducers/promiseReducer";

+ 1 - 1
src/actions/actionGoodsFind.js

@@ -1,4 +1,4 @@
-import { call, delay, put } from "redux-saga/effects";
+import { call, delay } from "redux-saga/effects";
 import { gql } from "../helpers";
 import { actionPromise } from "../reducers";
 import { promiseWorker } from "../reducers/promiseReducer";

+ 1 - 1
src/actions/actionOrderUpsert.js

@@ -1,5 +1,5 @@
 import { gql } from "../helpers";
-import { actionCartClear, actionPromise } from "../reducers";
+import { actionPromise } from "../reducers";
 
 export const actionOrderUpsert = (order) =>
     actionPromise(

+ 1 - 1
src/actions/actionUploadFiles.js

@@ -1,6 +1,6 @@
 import { actionUploadFile } from "./actionUploadFile";
 import { actionPromise } from "../reducers";
-import { all, call, put } from "redux-saga/effects";
+import { all, call } from "redux-saga/effects";
 import { promiseWorker } from "../reducers/promiseReducer";
 
 export const actionUploadFiles = (files = []) => ({ type: "UPLOAD_FILES", payload: files });

+ 1 - 1
src/components/DashboardPage/ProfileForm/index.js

@@ -1,4 +1,4 @@
-import { Box, Button, Grid, IconButton, Paper, Table, TableBody, TableCell, TableRow, TextField } from "@mui/material";
+import { Box, Button, Grid, IconButton, Table, TableBody, TableCell, TableRow, TextField } from "@mui/material";
 import { useContext, useEffect, useState } from "react";
 
 import { connect } from "react-redux";

+ 0 - 1
src/components/DashboardPage/index.js

@@ -1,6 +1,5 @@
 import { Box, Paper, Stack, Typography } from "@mui/material";
 import { connect } from "react-redux";
-import { Error } from "../common/Error";
 import { DashboardOrder } from "./DashboardOrder";
 import { CProfileForm } from "./ProfileForm";
 

+ 1 - 1
src/components/admin/AdminCategoriesPage/AdminCategoryList.js

@@ -5,7 +5,7 @@ import { actionCatsFind } from "../../../actions/actionCatsFind";
 import { actionPromiseClear } from "../../../reducers";
 import { SearchBar, SearchResults } from "../../common/SearchBar";
 import { Box, LinearProgress, Table, TableBody, TableCell, TableHead, TableRow } from "@mui/material";
-import { createSearchParams, useLocation, useNavigate, useSearchParams } from "react-router-dom";
+import { createSearchParams, useNavigate, useSearchParams } from "react-router-dom";
 
 const CSearchBar = connect(null, {
     onSearch: (text) => actionCatsFind({ promiseName: "adminCatsFind", text, limit: 5 }),

+ 0 - 1
src/components/admin/AdminGoodPage/GoodForm.js

@@ -93,7 +93,6 @@ export const GoodForm = ({
             });
         }
         if (promiseStatus === "REJECTED") {
-            console.log(serverErrors);
             const errorMessage = (serverErrors ? [].concat(serverErrors) : []).reduce((prev, curr) => prev + "\n" + curr.message, "");
             formik.setSubmitting(false);
             promiseTimeOut && clearTimeout(promiseTimeOut);

+ 1 - 1
src/components/admin/AdminGoodsPage/AdminGoodList.js

@@ -6,7 +6,7 @@ import { SearchBar, SearchResults } from "../../common/SearchBar";
 import { actionGoodsFind } from "../../../actions/actionGoodsFind";
 import { actionPromiseClear } from "../../../reducers";
 import { Box, LinearProgress, Table, TableBody, TableCell, TableHead, TableRow } from "@mui/material";
-import { createSearchParams, useLocation, useNavigate, useSearchParams } from "react-router-dom";
+import { createSearchParams, useNavigate, useSearchParams } from "react-router-dom";
 
 const CSearchBar = connect(null, {
     onSearch: (text) => actionGoodsFind({ promiseName: "adminGoodsFind", text, limit: 5 }),

+ 0 - 1
src/components/common/AuthModal/RegisterForm.js

@@ -1,6 +1,5 @@
 import { useState, useEffect, useContext } from "react";
 import { connect } from "react-redux";
-// import { actionRegister } from 'actions';
 import { MdVisibility, MdVisibilityOff } from "react-icons/md";
 import { Box, Button, IconButton, TextField, Typography } from "@mui/material";
 import { useFormik } from "formik";

+ 1 - 1
src/components/common/DropZone/index.js

@@ -12,7 +12,7 @@ export const DropZone = ({ onFileDrop, children }) => {
 
     return (
         <Box {...getRootProps({ className: "Dropzone" })}>
-            {/* <input {...getInputProps()} /> */}
+            <input {...getInputProps()} />
             {children}
         </Box>
     );

+ 0 - 1
src/components/common/GoodList/index.js

@@ -1,5 +1,4 @@
 import { Box, Grid } from "@mui/material";
-import { useEffect } from "react";
 import { GoodCard } from "../GoodCard";
 
 export const GoodList = ({ goods = [] } = {}) => {

+ 1 - 0
src/components/common/SearchBar/SearchCategoryResultItem.js

@@ -1,5 +1,6 @@
 import { Link } from "react-router-dom";
 import { Stack, Typography } from "@mui/material";
+
 export const SearchCategoryResultItem = ({ category, onClick, link = "" } = {}) => {
     const { _id = null, name = "" } = category || {};
 

+ 1 - 1
src/components/common/SearchBar/SearchUserResultItem.js

@@ -1,5 +1,5 @@
 import { Link } from "react-router-dom";
-import { Box, Grid, Stack, Typography } from "@mui/material";
+import { Box, Grid, Typography } from "@mui/material";
 import { backendURL, mediaURL } from "../../../helpers";
 import defaultAvatarImage from "../../../images/default-avatar-image.png";
 import { AiFillPlusCircle, AiOutlineMinusCircle } from "react-icons/ai";

+ 0 - 3
src/components/common/SearchBar/index.js

@@ -1,7 +1,4 @@
 import { SearchBar, CSearchBar } from "./SearchBar";
 
 import { SearchResults, CSearchResults } from "./SearchResults";
-// import SearchGoodResultItem from './SearchGoodResultItem';
-
-// export { SearchBar, SearchResults, CSearchResults, SearchGoodResultItem };
 export { SearchBar, CSearchBar, SearchResults, CSearchResults };