@salesgenterp/ui-components 0.4.78 → 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.
package/dist/index.js CHANGED
@@ -26,13 +26,6 @@ var fi = require('react-icons/fi');
26
26
  var styles = require('@mui/styles');
27
27
  var lodash = require('lodash');
28
28
  var axios = _interopDefault(require('axios'));
29
- var DashboardIcon = _interopDefault(require('@mui/icons-material/Dashboard'));
30
- require('@mui/icons-material/ShoppingCart');
31
- require('@mui/icons-material/People');
32
- require('@mui/icons-material/BarChart');
33
- require('@mui/icons-material/LibraryBooks');
34
- var ExpandLessIcon = _interopDefault(require('@mui/icons-material/ExpandLess'));
35
- var ExpandMoreIcon = _interopDefault(require('@mui/icons-material/ExpandMore'));
36
29
 
37
30
  function _extends() {
38
31
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -4331,7 +4324,7 @@ var SideMenuItem = function SideMenuItem(props) {
4331
4324
  }, /*#__PURE__*/React__default.createElement(Icon, null)), /*#__PURE__*/React__default.createElement(material.ListItemText, {
4332
4325
  primary: name,
4333
4326
  inset: !Icon
4334
- }), isExpandable && !open && /*#__PURE__*/React__default.createElement(ExpandMoreIcon, null), isExpandable && open && /*#__PURE__*/React__default.createElement(ExpandLessIcon, null));
4327
+ }), isExpandable && !open && /*#__PURE__*/React__default.createElement(md.MdExpandMore, null), isExpandable && open && /*#__PURE__*/React__default.createElement(md.MdExpandLess, null));
4335
4328
  var MenuItemChildren = isExpandable ? /*#__PURE__*/React__default.createElement(material.Collapse, {
4336
4329
  "in": open,
4337
4330
  timeout: "auto",
@@ -4365,7 +4358,71 @@ var useStyles = styles.makeStyles(function (theme) {
4365
4358
 
4366
4359
  var sideMenuItems = [{
4367
4360
  name: 'Dashboard',
4368
- Icon: DashboardIcon
4361
+ Icon: md.MdDashboard
4362
+ }, {
4363
+ name: 'My Account',
4364
+ Icon: md.MdDashboard,
4365
+ items: [{
4366
+ name: 'Dashboard',
4367
+ link: '/',
4368
+ Icon: md.MdDashboard
4369
+ }, {
4370
+ name: 'My Profile',
4371
+ link: '/',
4372
+ Icon: md.MdDashboard
4373
+ }, {
4374
+ name: 'Store List',
4375
+ link: '/',
4376
+ Icon: md.MdDashboard
4377
+ }, {
4378
+ name: 'Statement',
4379
+ link: '/',
4380
+ Icon: md.MdDashboard
4381
+ }, {
4382
+ name: 'Change Password',
4383
+ link: '/',
4384
+ Icon: md.MdDashboard
4385
+ }]
4386
+ }, {
4387
+ name: 'Order Information',
4388
+ Icon: md.MdShoppingCart,
4389
+ items: [{
4390
+ name: 'Orders list',
4391
+ link: '/orders',
4392
+ Icon: md.MdShoppingCart
4393
+ }, {
4394
+ name: 'Return Orders list',
4395
+ link: '/orders',
4396
+ Icon: md.MdShoppingCart
4397
+ }, {
4398
+ name: 'Wishlist',
4399
+ link: '/orders',
4400
+ Icon: md.MdShoppingCart
4401
+ }]
4402
+ }, {
4403
+ name: 'Payment Information',
4404
+ Icon: md.MdPeopleAlt,
4405
+ items: [{
4406
+ name: 'Payment List',
4407
+ link: '/customers',
4408
+ Icon: md.MdPeopleAlt
4409
+ }, {
4410
+ name: 'Store Credit History',
4411
+ link: '/customers',
4412
+ Icon: md.MdPeopleAlt
4413
+ }, {
4414
+ name: 'Saved Cards',
4415
+ link: '/customers',
4416
+ Icon: md.MdPeopleAlt
4417
+ }]
4418
+ }, {
4419
+ name: 'Nested Pages',
4420
+ Icon: md.MdLibraryBooks,
4421
+ items: [{
4422
+ name: 'Deals List',
4423
+ link: '/deals',
4424
+ Icon: md.MdLibraryBooks
4425
+ }]
4369
4426
  }];
4370
4427
 
4371
4428
  var SideMenu = function SideMenu() {