@salesgenterp/ui-components 0.4.79 → 0.4.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ import TableRow$1 from '@mui/material/TableRow';
15
15
  import TableSortLabel from '@mui/material/TableSortLabel';
16
16
  import { BiNotepad, BiWallet } from 'react-icons/bi';
17
17
  import { CgProfile } from 'react-icons/cg';
18
- import { MdArrowBack, MdOutlineCircle, MdOutlineStickyNote2, MdPersonOutline, MdCall, MdEmail, MdMonetizationOn } from 'react-icons/md';
18
+ import { MdArrowBack, MdOutlineCircle, MdOutlineStickyNote2, MdPersonOutline, MdCall, MdEmail, MdMonetizationOn, MdExpandMore, MdExpandLess, MdDashboard, MdShoppingCart, MdPeopleAlt, MdLibraryBooks } from 'react-icons/md';
19
19
  import { Controller, useForm } from 'react-hook-form';
20
20
  import { HiOutlineChevronDown } from 'react-icons/hi';
21
21
  import Cards from 'react-credit-cards';
@@ -23,13 +23,6 @@ import { FiTruck } from 'react-icons/fi';
23
23
  import { makeStyles, createStyles } from '@mui/styles';
24
24
  import { isEmpty, get, isPlainObject } from 'lodash';
25
25
  import axios from 'axios';
26
- import DashboardIcon from '@mui/icons-material/Dashboard';
27
- import '@mui/icons-material/ShoppingCart';
28
- import '@mui/icons-material/People';
29
- import '@mui/icons-material/BarChart';
30
- import '@mui/icons-material/LibraryBooks';
31
- import ExpandLessIcon from '@mui/icons-material/ExpandLess';
32
- import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
33
26
 
34
27
  function _extends() {
35
28
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -4328,7 +4321,7 @@ var SideMenuItem = function SideMenuItem(props) {
4328
4321
  }, /*#__PURE__*/React__default.createElement(Icon, null)), /*#__PURE__*/React__default.createElement(ListItemText, {
4329
4322
  primary: name,
4330
4323
  inset: !Icon
4331
- }), isExpandable && !open && /*#__PURE__*/React__default.createElement(ExpandMoreIcon, null), isExpandable && open && /*#__PURE__*/React__default.createElement(ExpandLessIcon, null));
4324
+ }), isExpandable && !open && /*#__PURE__*/React__default.createElement(MdExpandMore, null), isExpandable && open && /*#__PURE__*/React__default.createElement(MdExpandLess, null));
4332
4325
  var MenuItemChildren = isExpandable ? /*#__PURE__*/React__default.createElement(Collapse, {
4333
4326
  "in": open,
4334
4327
  timeout: "auto",
@@ -4362,7 +4355,71 @@ var useStyles = makeStyles(function (theme) {
4362
4355
 
4363
4356
  var sideMenuItems = [{
4364
4357
  name: 'Dashboard',
4365
- Icon: DashboardIcon
4358
+ Icon: MdDashboard
4359
+ }, {
4360
+ name: 'My Account',
4361
+ Icon: MdDashboard,
4362
+ items: [{
4363
+ name: 'Dashboard',
4364
+ link: '/',
4365
+ Icon: MdDashboard
4366
+ }, {
4367
+ name: 'My Profile',
4368
+ link: '/',
4369
+ Icon: MdDashboard
4370
+ }, {
4371
+ name: 'Store List',
4372
+ link: '/',
4373
+ Icon: MdDashboard
4374
+ }, {
4375
+ name: 'Statement',
4376
+ link: '/',
4377
+ Icon: MdDashboard
4378
+ }, {
4379
+ name: 'Change Password',
4380
+ link: '/',
4381
+ Icon: MdDashboard
4382
+ }]
4383
+ }, {
4384
+ name: 'Order Information',
4385
+ Icon: MdShoppingCart,
4386
+ items: [{
4387
+ name: 'Orders list',
4388
+ link: '/orders',
4389
+ Icon: MdShoppingCart
4390
+ }, {
4391
+ name: 'Return Orders list',
4392
+ link: '/orders',
4393
+ Icon: MdShoppingCart
4394
+ }, {
4395
+ name: 'Wishlist',
4396
+ link: '/orders',
4397
+ Icon: MdShoppingCart
4398
+ }]
4399
+ }, {
4400
+ name: 'Payment Information',
4401
+ Icon: MdPeopleAlt,
4402
+ items: [{
4403
+ name: 'Payment List',
4404
+ link: '/customers',
4405
+ Icon: MdPeopleAlt
4406
+ }, {
4407
+ name: 'Store Credit History',
4408
+ link: '/customers',
4409
+ Icon: MdPeopleAlt
4410
+ }, {
4411
+ name: 'Saved Cards',
4412
+ link: '/customers',
4413
+ Icon: MdPeopleAlt
4414
+ }]
4415
+ }, {
4416
+ name: 'Nested Pages',
4417
+ Icon: MdLibraryBooks,
4418
+ items: [{
4419
+ name: 'Deals List',
4420
+ link: '/deals',
4421
+ Icon: MdLibraryBooks
4422
+ }]
4366
4423
  }];
4367
4424
 
4368
4425
  var SideMenu = function SideMenu() {