tabexseriescomponents 0.0.140 → 0.0.141
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 +54 -33
- package/dist/index.esm.js +54 -33
- package/dist/index.umd.js +54 -33
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2345,6 +2345,10 @@ function ownKeys$1N(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
2345
2345
|
function _objectSpread$1N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1N(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2346
2346
|
var Productinfo = function Productinfo(props) {
|
|
2347
2347
|
var _ref, _ref2;
|
|
2348
|
+
var _useState = React.useState(false),
|
|
2349
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
2350
|
+
_useState2[0];
|
|
2351
|
+
var setvariantModalShow = _useState2[1];
|
|
2348
2352
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
2349
2353
|
var lang = props.actions.lang;
|
|
2350
2354
|
var langdetect = props.actions.langdetect;
|
|
@@ -2369,26 +2373,26 @@ var Productinfo = function Productinfo(props) {
|
|
|
2369
2373
|
var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
|
|
2370
2374
|
var NotificationManager = props.actions.NotificationManager;
|
|
2371
2375
|
var productidparam = props.productidparam;
|
|
2372
|
-
var _useState = React.useState(''),
|
|
2373
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
2374
|
-
sectionproperties = _useState2[0],
|
|
2375
|
-
setsectionproperties = _useState2[1];
|
|
2376
2376
|
var _useState3 = React.useState(''),
|
|
2377
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
2378
|
-
_useState4[0]
|
|
2379
|
-
|
|
2377
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
2378
|
+
sectionproperties = _useState4[0],
|
|
2379
|
+
setsectionproperties = _useState4[1];
|
|
2380
2380
|
var _useState5 = React.useState(''),
|
|
2381
2381
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
2382
2382
|
_useState6[0];
|
|
2383
|
-
var
|
|
2384
|
-
var _useState7 = React.useState(
|
|
2385
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
var _useState9 = React.useState(
|
|
2383
|
+
var setCurrentPageId = _useState6[1];
|
|
2384
|
+
var _useState7 = React.useState(''),
|
|
2385
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
2386
|
+
_useState8[0];
|
|
2387
|
+
var setRelatedProductsTagid = _useState8[1];
|
|
2388
|
+
var _useState9 = React.useState({}),
|
|
2389
2389
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
2390
|
-
|
|
2391
|
-
|
|
2390
|
+
ProductInfoObj = _useState10[0],
|
|
2391
|
+
setProductInfoObj = _useState10[1];
|
|
2392
|
+
var _useState11 = React.useState([]),
|
|
2393
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
2394
|
+
Relatedproducts = _useState12[0],
|
|
2395
|
+
setRelatedproducts = _useState12[1];
|
|
2392
2396
|
var _useParams = reactRouter.useParams();
|
|
2393
2397
|
_useParams.collectionidparams;
|
|
2394
2398
|
React.useEffect(function () {
|
|
@@ -2427,11 +2431,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
2427
2431
|
});
|
|
2428
2432
|
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
2429
2433
|
}, [pageindexcontext]);
|
|
2430
|
-
var
|
|
2431
|
-
|
|
2432
|
-
productimagesarray =
|
|
2433
|
-
setproductimagesarray =
|
|
2434
|
-
var
|
|
2434
|
+
var _useState13 = React.useState([]),
|
|
2435
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
2436
|
+
productimagesarray = _useState14[0],
|
|
2437
|
+
setproductimagesarray = _useState14[1];
|
|
2438
|
+
var _useState15 = React.useState({
|
|
2435
2439
|
functype: 'add',
|
|
2436
2440
|
item_type: 'product',
|
|
2437
2441
|
productid: '',
|
|
@@ -2442,17 +2446,17 @@ var Productinfo = function Productinfo(props) {
|
|
|
2442
2446
|
from: '',
|
|
2443
2447
|
to: ''
|
|
2444
2448
|
}),
|
|
2445
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
2446
|
-
addtocardpayloadobj = _useState14[0],
|
|
2447
|
-
setaddtocardpayloadobj = _useState14[1];
|
|
2448
|
-
var _useState15 = React.useState(''),
|
|
2449
2449
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
var _useState17 = React.useState(
|
|
2450
|
+
addtocardpayloadobj = _useState16[0],
|
|
2451
|
+
setaddtocardpayloadobj = _useState16[1];
|
|
2452
|
+
var _useState17 = React.useState(''),
|
|
2453
2453
|
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
2454
|
-
|
|
2455
|
-
|
|
2454
|
+
variantindexcompleted = _useState18[0],
|
|
2455
|
+
setvariantindexcompleted = _useState18[1];
|
|
2456
|
+
var _useState19 = React.useState(false),
|
|
2457
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
2458
|
+
isloaded = _useState20[0],
|
|
2459
|
+
setisloaded = _useState20[1];
|
|
2456
2460
|
React.useEffect(function () {
|
|
2457
2461
|
if (productidparam == undefined) {
|
|
2458
2462
|
productidassigner(ProductIdProdutInfoModalContext);
|
|
@@ -2662,7 +2666,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
2662
2666
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
2663
2667
|
runfunc = true;
|
|
2664
2668
|
} else {
|
|
2665
|
-
|
|
2669
|
+
setvariantModalShow(true);
|
|
2670
|
+
// alert('asd');
|
|
2671
|
+
// NotificationManager.warning('', 'Please Choose Product Options');
|
|
2666
2672
|
}
|
|
2667
2673
|
} else {
|
|
2668
2674
|
runfunc = true;
|
|
@@ -18870,7 +18876,13 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
18870
18876
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
18871
18877
|
textTransform: sectionproperties.dropdown_texttransform
|
|
18872
18878
|
}
|
|
18873
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("
|
|
18879
|
+
}, sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), sectionproperties.flagIcon == 'Flag' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18880
|
+
src: egyptflag$1,
|
|
18881
|
+
style: {
|
|
18882
|
+
maxWidth: '2vh',
|
|
18883
|
+
maxHeight: '2vh'
|
|
18884
|
+
}
|
|
18885
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18874
18886
|
"class": 'ml-2 mr-2'
|
|
18875
18887
|
}, lang.arabic)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18876
18888
|
onClick: function onClick() {
|
|
@@ -18885,7 +18897,13 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
18885
18897
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
18886
18898
|
textTransform: sectionproperties.dropdown_texttransform
|
|
18887
18899
|
}
|
|
18888
|
-
},
|
|
18900
|
+
}, sectionproperties.flagIcon == 'Flag' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18901
|
+
src: usflag$1,
|
|
18902
|
+
style: {
|
|
18903
|
+
maxWidth: '2vh',
|
|
18904
|
+
maxHeight: '2vh'
|
|
18905
|
+
}
|
|
18906
|
+
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18889
18907
|
"class": 'ml-2 mr-2'
|
|
18890
18908
|
}, lang.english))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18891
18909
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
@@ -22727,7 +22745,10 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22727
22745
|
paddingRight: langdetect == 'ar' ? '3rem' : 0
|
|
22728
22746
|
}
|
|
22729
22747
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22730
|
-
"class": "row m-0 w-100 d-flex align-items-center
|
|
22748
|
+
"class": "row m-0 w-100 d-flex align-items-center h-100",
|
|
22749
|
+
style: {
|
|
22750
|
+
justifyContent: sectionproperties.showfooterphonenumber == 'Show' ? 'between' : 'end'
|
|
22751
|
+
}
|
|
22731
22752
|
}, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22732
22753
|
"class": langdetect == 'en' ? 'd-flex align-items-center justify-content-end mr-2' : 'd-flex align-items-center justify-content-end ml-2'
|
|
22733
22754
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
package/dist/index.esm.js
CHANGED
|
@@ -2302,6 +2302,10 @@ function ownKeys$1N(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
2302
2302
|
function _objectSpread$1N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1N(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2303
2303
|
var Productinfo = function Productinfo(props) {
|
|
2304
2304
|
var _ref, _ref2;
|
|
2305
|
+
var _useState = useState(false),
|
|
2306
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
2307
|
+
_useState2[0];
|
|
2308
|
+
var setvariantModalShow = _useState2[1];
|
|
2305
2309
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
2306
2310
|
var lang = props.actions.lang;
|
|
2307
2311
|
var langdetect = props.actions.langdetect;
|
|
@@ -2326,26 +2330,26 @@ var Productinfo = function Productinfo(props) {
|
|
|
2326
2330
|
var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
|
|
2327
2331
|
var NotificationManager = props.actions.NotificationManager;
|
|
2328
2332
|
var productidparam = props.productidparam;
|
|
2329
|
-
var _useState = useState(''),
|
|
2330
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
2331
|
-
sectionproperties = _useState2[0],
|
|
2332
|
-
setsectionproperties = _useState2[1];
|
|
2333
2333
|
var _useState3 = useState(''),
|
|
2334
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
2335
|
-
_useState4[0]
|
|
2336
|
-
|
|
2334
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
2335
|
+
sectionproperties = _useState4[0],
|
|
2336
|
+
setsectionproperties = _useState4[1];
|
|
2337
2337
|
var _useState5 = useState(''),
|
|
2338
2338
|
_useState6 = _slicedToArray(_useState5, 2);
|
|
2339
2339
|
_useState6[0];
|
|
2340
|
-
var
|
|
2341
|
-
var _useState7 = useState(
|
|
2342
|
-
_useState8 = _slicedToArray(_useState7, 2)
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
var _useState9 = useState(
|
|
2340
|
+
var setCurrentPageId = _useState6[1];
|
|
2341
|
+
var _useState7 = useState(''),
|
|
2342
|
+
_useState8 = _slicedToArray(_useState7, 2);
|
|
2343
|
+
_useState8[0];
|
|
2344
|
+
var setRelatedProductsTagid = _useState8[1];
|
|
2345
|
+
var _useState9 = useState({}),
|
|
2346
2346
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
2347
|
-
|
|
2348
|
-
|
|
2347
|
+
ProductInfoObj = _useState10[0],
|
|
2348
|
+
setProductInfoObj = _useState10[1];
|
|
2349
|
+
var _useState11 = useState([]),
|
|
2350
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
2351
|
+
Relatedproducts = _useState12[0],
|
|
2352
|
+
setRelatedproducts = _useState12[1];
|
|
2349
2353
|
var _useParams = useParams();
|
|
2350
2354
|
_useParams.collectionidparams;
|
|
2351
2355
|
useEffect(function () {
|
|
@@ -2384,11 +2388,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
2384
2388
|
});
|
|
2385
2389
|
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
2386
2390
|
}, [pageindexcontext]);
|
|
2387
|
-
var
|
|
2388
|
-
|
|
2389
|
-
productimagesarray =
|
|
2390
|
-
setproductimagesarray =
|
|
2391
|
-
var
|
|
2391
|
+
var _useState13 = useState([]),
|
|
2392
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
2393
|
+
productimagesarray = _useState14[0],
|
|
2394
|
+
setproductimagesarray = _useState14[1];
|
|
2395
|
+
var _useState15 = useState({
|
|
2392
2396
|
functype: 'add',
|
|
2393
2397
|
item_type: 'product',
|
|
2394
2398
|
productid: '',
|
|
@@ -2399,17 +2403,17 @@ var Productinfo = function Productinfo(props) {
|
|
|
2399
2403
|
from: '',
|
|
2400
2404
|
to: ''
|
|
2401
2405
|
}),
|
|
2402
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
2403
|
-
addtocardpayloadobj = _useState14[0],
|
|
2404
|
-
setaddtocardpayloadobj = _useState14[1];
|
|
2405
|
-
var _useState15 = useState(''),
|
|
2406
2406
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
var _useState17 = useState(
|
|
2407
|
+
addtocardpayloadobj = _useState16[0],
|
|
2408
|
+
setaddtocardpayloadobj = _useState16[1];
|
|
2409
|
+
var _useState17 = useState(''),
|
|
2410
2410
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
2411
|
-
|
|
2412
|
-
|
|
2411
|
+
variantindexcompleted = _useState18[0],
|
|
2412
|
+
setvariantindexcompleted = _useState18[1];
|
|
2413
|
+
var _useState19 = useState(false),
|
|
2414
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
2415
|
+
isloaded = _useState20[0],
|
|
2416
|
+
setisloaded = _useState20[1];
|
|
2413
2417
|
useEffect(function () {
|
|
2414
2418
|
if (productidparam == undefined) {
|
|
2415
2419
|
productidassigner(ProductIdProdutInfoModalContext);
|
|
@@ -2619,7 +2623,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
2619
2623
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
2620
2624
|
runfunc = true;
|
|
2621
2625
|
} else {
|
|
2622
|
-
|
|
2626
|
+
setvariantModalShow(true);
|
|
2627
|
+
// alert('asd');
|
|
2628
|
+
// NotificationManager.warning('', 'Please Choose Product Options');
|
|
2623
2629
|
}
|
|
2624
2630
|
} else {
|
|
2625
2631
|
runfunc = true;
|
|
@@ -18827,7 +18833,13 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
18827
18833
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
18828
18834
|
textTransform: sectionproperties.dropdown_texttransform
|
|
18829
18835
|
}
|
|
18830
|
-
}, /*#__PURE__*/React.createElement(BiGlobe, null), /*#__PURE__*/React.createElement("
|
|
18836
|
+
}, sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React.createElement(BiGlobe, null), sectionproperties.flagIcon == 'Flag' && /*#__PURE__*/React.createElement("img", {
|
|
18837
|
+
src: egyptflag$1,
|
|
18838
|
+
style: {
|
|
18839
|
+
maxWidth: '2vh',
|
|
18840
|
+
maxHeight: '2vh'
|
|
18841
|
+
}
|
|
18842
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
18831
18843
|
"class": 'ml-2 mr-2'
|
|
18832
18844
|
}, lang.arabic)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
18833
18845
|
onClick: function onClick() {
|
|
@@ -18842,7 +18854,13 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
18842
18854
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
18843
18855
|
textTransform: sectionproperties.dropdown_texttransform
|
|
18844
18856
|
}
|
|
18845
|
-
},
|
|
18857
|
+
}, sectionproperties.flagIcon == 'Flag' && /*#__PURE__*/React.createElement("img", {
|
|
18858
|
+
src: usflag$1,
|
|
18859
|
+
style: {
|
|
18860
|
+
maxWidth: '2vh',
|
|
18861
|
+
maxHeight: '2vh'
|
|
18862
|
+
}
|
|
18863
|
+
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React.createElement(BiGlobe, null), /*#__PURE__*/React.createElement("span", {
|
|
18846
18864
|
"class": 'ml-2 mr-2'
|
|
18847
18865
|
}, lang.english))))))), /*#__PURE__*/React.createElement("div", {
|
|
18848
18866
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
@@ -22684,7 +22702,10 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
22684
22702
|
paddingRight: langdetect == 'ar' ? '3rem' : 0
|
|
22685
22703
|
}
|
|
22686
22704
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22687
|
-
"class": "row m-0 w-100 d-flex align-items-center
|
|
22705
|
+
"class": "row m-0 w-100 d-flex align-items-center h-100",
|
|
22706
|
+
style: {
|
|
22707
|
+
justifyContent: sectionproperties.showfooterphonenumber == 'Show' ? 'between' : 'end'
|
|
22708
|
+
}
|
|
22688
22709
|
}, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
22689
22710
|
"class": langdetect == 'en' ? 'd-flex align-items-center justify-content-end mr-2' : 'd-flex align-items-center justify-content-end ml-2'
|
|
22690
22711
|
}, /*#__PURE__*/React.createElement("a", {
|
package/dist/index.umd.js
CHANGED
|
@@ -2213,6 +2213,10 @@
|
|
|
2213
2213
|
function _objectSpread$1N(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1N(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1N(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2214
2214
|
var Productinfo = function Productinfo(props) {
|
|
2215
2215
|
var _ref, _ref2;
|
|
2216
|
+
var _useState = React.useState(false),
|
|
2217
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
2218
|
+
_useState2[0];
|
|
2219
|
+
var setvariantModalShow = _useState2[1];
|
|
2216
2220
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
2217
2221
|
var lang = props.actions.lang;
|
|
2218
2222
|
var langdetect = props.actions.langdetect;
|
|
@@ -2237,26 +2241,26 @@
|
|
|
2237
2241
|
var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
|
|
2238
2242
|
var NotificationManager = props.actions.NotificationManager;
|
|
2239
2243
|
var productidparam = props.productidparam;
|
|
2240
|
-
var _useState = React.useState(''),
|
|
2241
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
2242
|
-
sectionproperties = _useState2[0],
|
|
2243
|
-
setsectionproperties = _useState2[1];
|
|
2244
2244
|
var _useState3 = React.useState(''),
|
|
2245
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
2246
|
-
_useState4[0]
|
|
2247
|
-
|
|
2245
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
2246
|
+
sectionproperties = _useState4[0],
|
|
2247
|
+
setsectionproperties = _useState4[1];
|
|
2248
2248
|
var _useState5 = React.useState(''),
|
|
2249
2249
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
2250
2250
|
_useState6[0];
|
|
2251
|
-
var
|
|
2252
|
-
var _useState7 = React.useState(
|
|
2253
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
var _useState9 = React.useState(
|
|
2251
|
+
var setCurrentPageId = _useState6[1];
|
|
2252
|
+
var _useState7 = React.useState(''),
|
|
2253
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
2254
|
+
_useState8[0];
|
|
2255
|
+
var setRelatedProductsTagid = _useState8[1];
|
|
2256
|
+
var _useState9 = React.useState({}),
|
|
2257
2257
|
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
2258
|
-
|
|
2259
|
-
|
|
2258
|
+
ProductInfoObj = _useState10[0],
|
|
2259
|
+
setProductInfoObj = _useState10[1];
|
|
2260
|
+
var _useState11 = React.useState([]),
|
|
2261
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
2262
|
+
Relatedproducts = _useState12[0],
|
|
2263
|
+
setRelatedproducts = _useState12[1];
|
|
2260
2264
|
var _useParams = reactRouter.useParams();
|
|
2261
2265
|
_useParams.collectionidparams;
|
|
2262
2266
|
React.useEffect(function () {
|
|
@@ -2295,11 +2299,11 @@
|
|
|
2295
2299
|
});
|
|
2296
2300
|
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
2297
2301
|
}, [pageindexcontext]);
|
|
2298
|
-
var
|
|
2299
|
-
|
|
2300
|
-
productimagesarray =
|
|
2301
|
-
setproductimagesarray =
|
|
2302
|
-
var
|
|
2302
|
+
var _useState13 = React.useState([]),
|
|
2303
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
2304
|
+
productimagesarray = _useState14[0],
|
|
2305
|
+
setproductimagesarray = _useState14[1];
|
|
2306
|
+
var _useState15 = React.useState({
|
|
2303
2307
|
functype: 'add',
|
|
2304
2308
|
item_type: 'product',
|
|
2305
2309
|
productid: '',
|
|
@@ -2310,17 +2314,17 @@
|
|
|
2310
2314
|
from: '',
|
|
2311
2315
|
to: ''
|
|
2312
2316
|
}),
|
|
2313
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
2314
|
-
addtocardpayloadobj = _useState14[0],
|
|
2315
|
-
setaddtocardpayloadobj = _useState14[1];
|
|
2316
|
-
var _useState15 = React.useState(''),
|
|
2317
2317
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
var _useState17 = React.useState(
|
|
2318
|
+
addtocardpayloadobj = _useState16[0],
|
|
2319
|
+
setaddtocardpayloadobj = _useState16[1];
|
|
2320
|
+
var _useState17 = React.useState(''),
|
|
2321
2321
|
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
2322
|
-
|
|
2323
|
-
|
|
2322
|
+
variantindexcompleted = _useState18[0],
|
|
2323
|
+
setvariantindexcompleted = _useState18[1];
|
|
2324
|
+
var _useState19 = React.useState(false),
|
|
2325
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
2326
|
+
isloaded = _useState20[0],
|
|
2327
|
+
setisloaded = _useState20[1];
|
|
2324
2328
|
React.useEffect(function () {
|
|
2325
2329
|
if (productidparam == undefined) {
|
|
2326
2330
|
productidassigner(ProductIdProdutInfoModalContext);
|
|
@@ -2530,7 +2534,9 @@
|
|
|
2530
2534
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
2531
2535
|
runfunc = true;
|
|
2532
2536
|
} else {
|
|
2533
|
-
|
|
2537
|
+
setvariantModalShow(true);
|
|
2538
|
+
// alert('asd');
|
|
2539
|
+
// NotificationManager.warning('', 'Please Choose Product Options');
|
|
2534
2540
|
}
|
|
2535
2541
|
} else {
|
|
2536
2542
|
runfunc = true;
|
|
@@ -18738,7 +18744,13 @@
|
|
|
18738
18744
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
18739
18745
|
textTransform: sectionproperties.dropdown_texttransform
|
|
18740
18746
|
}
|
|
18741
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("
|
|
18747
|
+
}, sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), sectionproperties.flagIcon == 'Flag' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18748
|
+
src: egyptflag$1,
|
|
18749
|
+
style: {
|
|
18750
|
+
maxWidth: '2vh',
|
|
18751
|
+
maxHeight: '2vh'
|
|
18752
|
+
}
|
|
18753
|
+
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18742
18754
|
"class": 'ml-2 mr-2'
|
|
18743
18755
|
}, lang.arabic)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18744
18756
|
onClick: function onClick() {
|
|
@@ -18753,7 +18765,13 @@
|
|
|
18753
18765
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
18754
18766
|
textTransform: sectionproperties.dropdown_texttransform
|
|
18755
18767
|
}
|
|
18756
|
-
},
|
|
18768
|
+
}, sectionproperties.flagIcon == 'Flag' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
18769
|
+
src: usflag$1,
|
|
18770
|
+
style: {
|
|
18771
|
+
maxWidth: '2vh',
|
|
18772
|
+
maxHeight: '2vh'
|
|
18773
|
+
}
|
|
18774
|
+
}), sectionproperties.flagIcon == 'Icon' && /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18757
18775
|
"class": 'ml-2 mr-2'
|
|
18758
18776
|
}, lang.english))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18759
18777
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
@@ -22595,7 +22613,10 @@
|
|
|
22595
22613
|
paddingRight: langdetect == 'ar' ? '3rem' : 0
|
|
22596
22614
|
}
|
|
22597
22615
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22598
|
-
"class": "row m-0 w-100 d-flex align-items-center
|
|
22616
|
+
"class": "row m-0 w-100 d-flex align-items-center h-100",
|
|
22617
|
+
style: {
|
|
22618
|
+
justifyContent: sectionproperties.showfooterphonenumber == 'Show' ? 'between' : 'end'
|
|
22619
|
+
}
|
|
22599
22620
|
}, sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22600
22621
|
"class": langdetect == 'en' ? 'd-flex align-items-center justify-content-end mr-2' : 'd-flex align-items-center justify-content-end ml-2'
|
|
22601
22622
|
}, /*#__PURE__*/React__default["default"].createElement("a", {
|