tabexseriescomponents 0.0.38 → 0.0.39
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.cjs.js +4 -3
- package/dist/index.esm.js +2 -1
- package/dist/index.umd.js +7 -6
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -30,7 +30,6 @@ var io = require('react-icons/io');
|
|
|
30
30
|
var cg = require('react-icons/cg');
|
|
31
31
|
var TextareaAutosize = require('react-textarea-autosize');
|
|
32
32
|
var Select = require('react-select');
|
|
33
|
-
var reactNotifications = require('react-notifications');
|
|
34
33
|
var gr = require('react-icons/gr');
|
|
35
34
|
var reactAccessibleAccordion = require('react-accessible-accordion');
|
|
36
35
|
var Dropdown = require('react-bootstrap/Dropdown');
|
|
@@ -43,6 +42,7 @@ var _extends = require('@babel/runtime/helpers/extends');
|
|
|
43
42
|
var reactRouterDom = require('react-router-dom');
|
|
44
43
|
var bi = require('react-icons/bi');
|
|
45
44
|
var ri = require('react-icons/ri');
|
|
45
|
+
require('react-notifications');
|
|
46
46
|
|
|
47
47
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
48
48
|
|
|
@@ -2556,6 +2556,7 @@ var Checkout = function Checkout(props) {
|
|
|
2556
2556
|
var AddOrderMutationContext = props.actions.AddOrderMutationContext;
|
|
2557
2557
|
props.actions.fetchAuthorizationQueryContext;
|
|
2558
2558
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2559
|
+
var NotificationManager = props.actions.NotificationManager;
|
|
2559
2560
|
var queryClient = props.actions.queryClient;
|
|
2560
2561
|
|
|
2561
2562
|
var _useState3 = React.useState(''),
|
|
@@ -2968,7 +2969,7 @@ var Checkout = function Checkout(props) {
|
|
|
2968
2969
|
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 ? void 0 : (_fetchcustomercartQue44 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.customercart.couponname.length) != 0) {
|
|
2969
2970
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
2970
2971
|
} else {
|
|
2971
|
-
|
|
2972
|
+
NotificationManager.warning('', 'Please Type Promo Code');
|
|
2972
2973
|
}
|
|
2973
2974
|
} else {
|
|
2974
2975
|
var payloadobj = {
|
|
@@ -3345,7 +3346,7 @@ var Checkout = function Checkout(props) {
|
|
|
3345
3346
|
setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext));
|
|
3346
3347
|
cartinfoupdater('stateid', option.id);
|
|
3347
3348
|
} else {
|
|
3348
|
-
|
|
3349
|
+
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
3349
3350
|
}
|
|
3350
3351
|
},
|
|
3351
3352
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
package/dist/index.esm.js
CHANGED
|
@@ -28,7 +28,6 @@ import { IoMdClose, IoIosArrowRoundForward, IoIosArrowRoundBack, IoIosArrowUp }
|
|
|
28
28
|
import { CgShoppingBag, CgMenuLeft, CgMenuRight } from 'react-icons/cg';
|
|
29
29
|
import TextareaAutosize from 'react-textarea-autosize';
|
|
30
30
|
import Select from 'react-select';
|
|
31
|
-
import { NotificationManager } from 'react-notifications';
|
|
32
31
|
import { GrMail } from 'react-icons/gr';
|
|
33
32
|
import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemState, AccordionItemPanel } from 'react-accessible-accordion';
|
|
34
33
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
@@ -41,6 +40,7 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
41
40
|
import { Link as Link$1, useHistory } from 'react-router-dom';
|
|
42
41
|
import { BiUser, BiLogOutCircle, BiChevronDown } from 'react-icons/bi';
|
|
43
42
|
import { RiSearchLine } from 'react-icons/ri';
|
|
43
|
+
import 'react-notifications';
|
|
44
44
|
|
|
45
45
|
// import asd from './index2.module.css'
|
|
46
46
|
// import asd from './categorycard3.module.css'
|
|
@@ -2533,6 +2533,7 @@ var Checkout = function Checkout(props) {
|
|
|
2533
2533
|
var AddOrderMutationContext = props.actions.AddOrderMutationContext;
|
|
2534
2534
|
props.actions.fetchAuthorizationQueryContext;
|
|
2535
2535
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2536
|
+
var NotificationManager = props.actions.NotificationManager;
|
|
2536
2537
|
var queryClient = props.actions.queryClient;
|
|
2537
2538
|
|
|
2538
2539
|
var _useState3 = useState(''),
|
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-icons/ai'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('react-icons/fa'), require('@babel/runtime/helpers/toConsumableArray'), require('react-bootstrap'), require('react-icons/io5'), require('imagekitio-react'), require('react-icons/hi'), require('react-icons/go'), require('react-icons/bs'), require('react-icons/fi'), require('react-icons/md'), require('react-icons/io'), require('react-icons/cg'), require('react-textarea-autosize'), require('react-select'), require('react-
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-icons/ai', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', 'react-icons/fa', '@babel/runtime/helpers/toConsumableArray', 'react-bootstrap', 'react-icons/io5', 'imagekitio-react', 'react-icons/hi', 'react-icons/go', 'react-icons/bs', 'react-icons/fi', 'react-icons/md', 'react-icons/io', 'react-icons/cg', 'react-textarea-autosize', 'react-select', 'react-
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.ai, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.fa, global._toConsumableArray, global.reactBootstrap, global.io5, global.imagekitioReact, global.hi, global.go, global.bs, global.fi, global.md, global.io, global.cg, global.TextareaAutosize, global.Select, global.
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, ai, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, fa, _toConsumableArray, reactBootstrap, io5, imagekitioReact, hi, go, bs, fi, md, io, cg, TextareaAutosize, Select,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-icons/ai'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('react-icons/fa'), require('@babel/runtime/helpers/toConsumableArray'), require('react-bootstrap'), require('react-icons/io5'), require('imagekitio-react'), require('react-icons/hi'), require('react-icons/go'), require('react-icons/bs'), require('react-icons/fi'), require('react-icons/md'), require('react-icons/io'), require('react-icons/cg'), require('react-textarea-autosize'), require('react-select'), require('react-icons/gr'), require('react-accessible-accordion'), require('react-bootstrap/Dropdown'), require('react-intersection-observer'), require('axios'), require('react-horizontal-scrolling-menu'), require('react-background-slideshow'), require('react-slideshow-image'), require('@babel/runtime/helpers/extends'), require('react-router-dom'), require('react-icons/bi'), require('react-icons/ri'), require('react-notifications')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-icons/ai', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', 'react-icons/fa', '@babel/runtime/helpers/toConsumableArray', 'react-bootstrap', 'react-icons/io5', 'imagekitio-react', 'react-icons/hi', 'react-icons/go', 'react-icons/bs', 'react-icons/fi', 'react-icons/md', 'react-icons/io', 'react-icons/cg', 'react-textarea-autosize', 'react-select', 'react-icons/gr', 'react-accessible-accordion', 'react-bootstrap/Dropdown', 'react-intersection-observer', 'axios', 'react-horizontal-scrolling-menu', 'react-background-slideshow', 'react-slideshow-image', '@babel/runtime/helpers/extends', 'react-router-dom', 'react-icons/bi', 'react-icons/ri', 'react-notifications'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.ai, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.fa, global._toConsumableArray, global.reactBootstrap, global.io5, global.imagekitioReact, global.hi, global.go, global.bs, global.fi, global.md, global.io, global.cg, global.TextareaAutosize, global.Select, global.gr, global.reactAccessibleAccordion, global.Dropdown, global.reactIntersectionObserver, null, global.reactHorizontalScrollingMenu, global.BackgroundSlideshow, global.reactSlideshowImage, global._extends, global.reactRouterDom, global.bi, global.ri));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, ai, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, fa, _toConsumableArray, reactBootstrap, io5, imagekitioReact, hi, go, bs, fi, md, io, cg, TextareaAutosize, Select, gr, reactAccessibleAccordion, Dropdown, reactIntersectionObserver, axios, reactHorizontalScrollingMenu, BackgroundSlideshow, reactSlideshowImage, _extends, reactRouterDom, bi, ri) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -2516,6 +2516,7 @@
|
|
|
2516
2516
|
var AddOrderMutationContext = props.actions.AddOrderMutationContext;
|
|
2517
2517
|
props.actions.fetchAuthorizationQueryContext;
|
|
2518
2518
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
2519
|
+
var NotificationManager = props.actions.NotificationManager;
|
|
2519
2520
|
var queryClient = props.actions.queryClient;
|
|
2520
2521
|
|
|
2521
2522
|
var _useState3 = React.useState(''),
|
|
@@ -2928,7 +2929,7 @@
|
|
|
2928
2929
|
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 ? void 0 : (_fetchcustomercartQue44 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.customercart.couponname.length) != 0) {
|
|
2929
2930
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
2930
2931
|
} else {
|
|
2931
|
-
|
|
2932
|
+
NotificationManager.warning('', 'Please Type Promo Code');
|
|
2932
2933
|
}
|
|
2933
2934
|
} else {
|
|
2934
2935
|
var payloadobj = {
|
|
@@ -3305,7 +3306,7 @@
|
|
|
3305
3306
|
setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext));
|
|
3306
3307
|
cartinfoupdater('stateid', option.id);
|
|
3307
3308
|
} else {
|
|
3308
|
-
|
|
3309
|
+
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
3309
3310
|
}
|
|
3310
3311
|
},
|
|
3311
3312
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|