@salesgenterp/ui-components 0.4.80 → 0.4.82
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 +5 -69
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -70
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -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, MdExpandMore, MdExpandLess, MdDashboard
|
|
18
|
+
import { MdArrowBack, MdOutlineCircle, MdOutlineStickyNote2, MdPersonOutline, MdCall, MdEmail, MdMonetizationOn, MdExpandMore, MdExpandLess, MdDashboard } 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';
|
|
@@ -286,7 +286,7 @@ function createCommonjsModule(fn, module) {
|
|
|
286
286
|
*/
|
|
287
287
|
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
288
288
|
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
289
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment
|
|
289
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment=e;var Lazy=t;var Memo=r;var Portal=d;
|
|
290
290
|
var Profiler=g;var StrictMode=f;var Suspense=p;var isAsyncMode=function(a){return A(a)||z(a)===l};var isConcurrentMode=A;var isContextConsumer=function(a){return z(a)===k};var isContextProvider=function(a){return z(a)===h};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};var isForwardRef=function(a){return z(a)===n};var isFragment=function(a){return z(a)===e};var isLazy=function(a){return z(a)===t};
|
|
291
291
|
var isMemo=function(a){return z(a)===r};var isPortal=function(a){return z(a)===d};var isProfiler=function(a){return z(a)===g};var isStrictMode=function(a){return z(a)===f};var isSuspense=function(a){return z(a)===p};
|
|
292
292
|
var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};var typeOf=z;
|
|
@@ -298,7 +298,7 @@ var reactIs_production_min = {
|
|
|
298
298
|
ContextProvider: ContextProvider,
|
|
299
299
|
Element: Element,
|
|
300
300
|
ForwardRef: ForwardRef,
|
|
301
|
-
Fragment: Fragment
|
|
301
|
+
Fragment: Fragment,
|
|
302
302
|
Lazy: Lazy,
|
|
303
303
|
Memo: Memo,
|
|
304
304
|
Portal: Portal,
|
|
@@ -3670,7 +3670,7 @@ var API = function API(apiData) {
|
|
|
3670
3670
|
}
|
|
3671
3671
|
|
|
3672
3672
|
var apiUrl = ("/" + url).replace(/\/\//g, '/');
|
|
3673
|
-
var accessToken = getItem(ACCESS_TOKEN) || 'eyJhbGciOiJIUzI1NiJ9.
|
|
3673
|
+
var accessToken = getItem(ACCESS_TOKEN) || 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzYWxlc2dlbnRlcnBAZ21haWwuY29tIiwidGllciI6MiwidXNlclR5cGUiOiJDdXN0b21lciIsInRva2VuVHlwZSI6ImFjY2VzcyIsInN0b3JlSWQiOjIsImV4cCI6MTY2NDkyNDE0MywidXNlcklkIjoyNDU1LCJpYXQiOjE2NjQ4ODgxNDMsInJlc2V0UGFzc3dvcmRSZXF1aXJlZCI6ZmFsc2V9.W_3ct4vGwIr9ptECZ8mJomvwLhzhGjTmVVK6Htdog8g';
|
|
3674
3674
|
var requestHeaders = headers;
|
|
3675
3675
|
|
|
3676
3676
|
if (byPassAuthAPIs.indexOf(url) === -1) {
|
|
@@ -4098,7 +4098,7 @@ var APITable = forwardRef(function (_ref, ref) {
|
|
|
4098
4098
|
})();
|
|
4099
4099
|
};
|
|
4100
4100
|
|
|
4101
|
-
return /*#__PURE__*/React__default.createElement(Fragment, null, /*#__PURE__*/React__default.createElement(Paper, {
|
|
4101
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Paper, {
|
|
4102
4102
|
sx: {
|
|
4103
4103
|
width: '100%'
|
|
4104
4104
|
}
|
|
@@ -4334,7 +4334,7 @@ var SideMenuItem = function SideMenuItem(props) {
|
|
|
4334
4334
|
key: index
|
|
4335
4335
|
}));
|
|
4336
4336
|
}))) : null;
|
|
4337
|
-
return /*#__PURE__*/React__default.createElement(Fragment, null, MenuItemRoot, MenuItemChildren);
|
|
4337
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, MenuItemRoot, MenuItemChildren);
|
|
4338
4338
|
};
|
|
4339
4339
|
|
|
4340
4340
|
var useStyles = makeStyles(function (theme) {
|
|
@@ -4356,70 +4356,6 @@ var useStyles = makeStyles(function (theme) {
|
|
|
4356
4356
|
var sideMenuItems = [{
|
|
4357
4357
|
name: 'Dashboard',
|
|
4358
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
|
-
}]
|
|
4423
4359
|
}];
|
|
4424
4360
|
|
|
4425
4361
|
var SideMenu = function SideMenu() {
|