tabexseriescomponents 0.0.837 → 0.0.838
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 +14 -2
- package/dist/index.esm.js +14 -2
- package/dist/index.umd.js +14 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11105,7 +11105,13 @@ var Checkout = function Checkout(props) {
|
|
|
11105
11105
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
11106
11106
|
cartarr.data.customercart[key] = value;
|
|
11107
11107
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
11108
|
+
var utmSource = null;
|
|
11109
|
+
var utmSourceLocalStorage = localStorage.getItem('uts');
|
|
11110
|
+
if (utmSourceLocalStorage != undefined && utmSourceLocalStorage != null) {
|
|
11111
|
+
utmSource = utmSourceLocalStorage;
|
|
11112
|
+
}
|
|
11108
11113
|
var payloadobj = {
|
|
11114
|
+
utmSource: utmSource,
|
|
11109
11115
|
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.customercart.stateid,
|
|
11110
11116
|
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.customercart.countryid,
|
|
11111
11117
|
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.customercart.cityid,
|
|
@@ -11335,7 +11341,7 @@ var Checkout = function Checkout(props) {
|
|
|
11335
11341
|
var addorderfuncrunner = /*#__PURE__*/function () {
|
|
11336
11342
|
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
11337
11343
|
var _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32;
|
|
11338
|
-
var OrderExtraFieldsToBeSentArr;
|
|
11344
|
+
var OrderExtraFieldsToBeSentArr, utmSource, utmSourceLocalStorage;
|
|
11339
11345
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
11340
11346
|
while (1) switch (_context.prev = _context.next) {
|
|
11341
11347
|
case 0:
|
|
@@ -11343,8 +11349,14 @@ var Checkout = function Checkout(props) {
|
|
|
11343
11349
|
// ChooseState_CountryMutationContext.mutate(payloadobj);
|
|
11344
11350
|
// temppayload.endpointurl = '/ChooseState_Country';
|
|
11345
11351
|
OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
11352
|
+
utmSource = null;
|
|
11353
|
+
utmSourceLocalStorage = localStorage.getItem('uts');
|
|
11354
|
+
if (utmSourceLocalStorage != undefined && utmSourceLocalStorage != null) {
|
|
11355
|
+
utmSource = utmSourceLocalStorage;
|
|
11356
|
+
}
|
|
11346
11357
|
GeneralAPIMutationContext.mutate({
|
|
11347
11358
|
endpointurl: '/ChooseState_Country',
|
|
11359
|
+
utmSource: utmSource,
|
|
11348
11360
|
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue22 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue22 === void 0 || (_fetchcustomercartQue22 = _fetchcustomercartQue22.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.stateid,
|
|
11349
11361
|
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 || (_fetchcustomercartQue23 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : _fetchcustomercartQue23.customercart.countryid,
|
|
11350
11362
|
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue24 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue24 === void 0 || (_fetchcustomercartQue24 = _fetchcustomercartQue24.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.cityid,
|
|
@@ -11380,7 +11392,7 @@ var Checkout = function Checkout(props) {
|
|
|
11380
11392
|
}
|
|
11381
11393
|
}
|
|
11382
11394
|
});
|
|
11383
|
-
case
|
|
11395
|
+
case 5:
|
|
11384
11396
|
case "end":
|
|
11385
11397
|
return _context.stop();
|
|
11386
11398
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -11056,7 +11056,13 @@ var Checkout = function Checkout(props) {
|
|
|
11056
11056
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
11057
11057
|
cartarr.data.customercart[key] = value;
|
|
11058
11058
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
11059
|
+
var utmSource = null;
|
|
11060
|
+
var utmSourceLocalStorage = localStorage.getItem('uts');
|
|
11061
|
+
if (utmSourceLocalStorage != undefined && utmSourceLocalStorage != null) {
|
|
11062
|
+
utmSource = utmSourceLocalStorage;
|
|
11063
|
+
}
|
|
11059
11064
|
var payloadobj = {
|
|
11065
|
+
utmSource: utmSource,
|
|
11060
11066
|
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.customercart.stateid,
|
|
11061
11067
|
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.customercart.countryid,
|
|
11062
11068
|
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.customercart.cityid,
|
|
@@ -11286,7 +11292,7 @@ var Checkout = function Checkout(props) {
|
|
|
11286
11292
|
var addorderfuncrunner = /*#__PURE__*/function () {
|
|
11287
11293
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
11288
11294
|
var _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32;
|
|
11289
|
-
var OrderExtraFieldsToBeSentArr;
|
|
11295
|
+
var OrderExtraFieldsToBeSentArr, utmSource, utmSourceLocalStorage;
|
|
11290
11296
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
11291
11297
|
while (1) switch (_context.prev = _context.next) {
|
|
11292
11298
|
case 0:
|
|
@@ -11294,8 +11300,14 @@ var Checkout = function Checkout(props) {
|
|
|
11294
11300
|
// ChooseState_CountryMutationContext.mutate(payloadobj);
|
|
11295
11301
|
// temppayload.endpointurl = '/ChooseState_Country';
|
|
11296
11302
|
OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
11303
|
+
utmSource = null;
|
|
11304
|
+
utmSourceLocalStorage = localStorage.getItem('uts');
|
|
11305
|
+
if (utmSourceLocalStorage != undefined && utmSourceLocalStorage != null) {
|
|
11306
|
+
utmSource = utmSourceLocalStorage;
|
|
11307
|
+
}
|
|
11297
11308
|
GeneralAPIMutationContext.mutate({
|
|
11298
11309
|
endpointurl: '/ChooseState_Country',
|
|
11310
|
+
utmSource: utmSource,
|
|
11299
11311
|
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue22 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue22 === void 0 || (_fetchcustomercartQue22 = _fetchcustomercartQue22.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.stateid,
|
|
11300
11312
|
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 || (_fetchcustomercartQue23 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : _fetchcustomercartQue23.customercart.countryid,
|
|
11301
11313
|
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue24 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue24 === void 0 || (_fetchcustomercartQue24 = _fetchcustomercartQue24.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.cityid,
|
|
@@ -11331,7 +11343,7 @@ var Checkout = function Checkout(props) {
|
|
|
11331
11343
|
}
|
|
11332
11344
|
}
|
|
11333
11345
|
});
|
|
11334
|
-
case
|
|
11346
|
+
case 5:
|
|
11335
11347
|
case "end":
|
|
11336
11348
|
return _context.stop();
|
|
11337
11349
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -10921,7 +10921,13 @@
|
|
|
10921
10921
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
10922
10922
|
cartarr.data.customercart[key] = value;
|
|
10923
10923
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
10924
|
+
var utmSource = null;
|
|
10925
|
+
var utmSourceLocalStorage = localStorage.getItem('uts');
|
|
10926
|
+
if (utmSourceLocalStorage != undefined && utmSourceLocalStorage != null) {
|
|
10927
|
+
utmSource = utmSourceLocalStorage;
|
|
10928
|
+
}
|
|
10924
10929
|
var payloadobj = {
|
|
10930
|
+
utmSource: utmSource,
|
|
10925
10931
|
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue10 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue10 === void 0 || (_fetchcustomercartQue10 = _fetchcustomercartQue10.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.customercart.stateid,
|
|
10926
10932
|
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.customercart.countryid,
|
|
10927
10933
|
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.customercart.cityid,
|
|
@@ -11151,7 +11157,7 @@
|
|
|
11151
11157
|
var addorderfuncrunner = /*#__PURE__*/function () {
|
|
11152
11158
|
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
11153
11159
|
var _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32;
|
|
11154
|
-
var OrderExtraFieldsToBeSentArr;
|
|
11160
|
+
var OrderExtraFieldsToBeSentArr, utmSource, utmSourceLocalStorage;
|
|
11155
11161
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
11156
11162
|
while (1) switch (_context.prev = _context.next) {
|
|
11157
11163
|
case 0:
|
|
@@ -11159,8 +11165,14 @@
|
|
|
11159
11165
|
// ChooseState_CountryMutationContext.mutate(payloadobj);
|
|
11160
11166
|
// temppayload.endpointurl = '/ChooseState_Country';
|
|
11161
11167
|
OrderExtraFieldsToBeSentArr = returnOrderExtraFieldsArrayTobeSnetarr();
|
|
11168
|
+
utmSource = null;
|
|
11169
|
+
utmSourceLocalStorage = localStorage.getItem('uts');
|
|
11170
|
+
if (utmSourceLocalStorage != undefined && utmSourceLocalStorage != null) {
|
|
11171
|
+
utmSource = utmSourceLocalStorage;
|
|
11172
|
+
}
|
|
11162
11173
|
GeneralAPIMutationContext.mutate({
|
|
11163
11174
|
endpointurl: '/ChooseState_Country',
|
|
11175
|
+
utmSource: utmSource,
|
|
11164
11176
|
stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue22 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue22 === void 0 || (_fetchcustomercartQue22 = _fetchcustomercartQue22.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.stateid,
|
|
11165
11177
|
countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 || (_fetchcustomercartQue23 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : _fetchcustomercartQue23.customercart.countryid,
|
|
11166
11178
|
cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue24 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue24 === void 0 || (_fetchcustomercartQue24 = _fetchcustomercartQue24.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.cityid,
|
|
@@ -11196,7 +11208,7 @@
|
|
|
11196
11208
|
}
|
|
11197
11209
|
}
|
|
11198
11210
|
});
|
|
11199
|
-
case
|
|
11211
|
+
case 5:
|
|
11200
11212
|
case "end":
|
|
11201
11213
|
return _context.stop();
|
|
11202
11214
|
}
|