tabexseriescomponents 0.0.663 → 0.0.665
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 +34 -246
- package/dist/index.esm.js +34 -246
- package/dist/index.umd.js +34 -246
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22258,10 +22258,10 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
22258
22258
|
function ownKeys$1Z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22259
22259
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22260
22260
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
22261
|
-
var _css,
|
|
22261
|
+
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12;
|
|
22262
22262
|
var actions = props.actions;
|
|
22263
22263
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
22264
|
-
|
|
22264
|
+
props.actions.setsidecartnavshowcontext;
|
|
22265
22265
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
22266
22266
|
props.actions.StatePagePropertiesContext;
|
|
22267
22267
|
var lang = props.actions.lang;
|
|
@@ -22269,12 +22269,12 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22269
22269
|
var setlang = props.actions.setlang;
|
|
22270
22270
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
22271
22271
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
22272
|
-
|
|
22272
|
+
props.actions.fetchcustomercartQueryContext;
|
|
22273
22273
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
22274
22274
|
props.actions.favoriteprojectscountContext;
|
|
22275
22275
|
var routingcountext = props.actions.routingcountext;
|
|
22276
22276
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
22277
|
-
|
|
22277
|
+
props.actions.setcurrencyfunccontext;
|
|
22278
22278
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
22279
22279
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
22280
22280
|
var _useState = React.useState(''),
|
|
@@ -22494,47 +22494,6 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22494
22494
|
});
|
|
22495
22495
|
return policyobj;
|
|
22496
22496
|
};
|
|
22497
|
-
var CartButton = function CartButton() {
|
|
22498
|
-
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
22499
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22500
|
-
"class": "d-flex align-items-center",
|
|
22501
|
-
style: {
|
|
22502
|
-
position: 'relative'
|
|
22503
|
-
}
|
|
22504
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
22505
|
-
className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
|
|
22506
|
-
onClick: function onClick() {
|
|
22507
|
-
var _fetchcustomercartQue;
|
|
22508
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
22509
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
22510
|
-
} else {
|
|
22511
|
-
setsidecartnavshowcontext(true);
|
|
22512
|
-
}
|
|
22513
|
-
}
|
|
22514
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22515
|
-
className: ' h-100 d-flex align-items-center justify-content-center '
|
|
22516
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
22517
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22518
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
22519
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22520
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
22521
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22522
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
22523
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22524
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
22525
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22526
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
22527
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22528
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
22529
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22530
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22531
|
-
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
22532
|
-
style: {
|
|
22533
|
-
top: sectionproperties.cartbadgefromtop + 'px',
|
|
22534
|
-
right: sectionproperties.cartbadgefromright + 'px'
|
|
22535
|
-
}
|
|
22536
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0));
|
|
22537
|
-
};
|
|
22538
22497
|
var _useState15 = React.useState(false),
|
|
22539
22498
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
22540
22499
|
openmenuCanvas = _useState16[0],
|
|
@@ -22609,8 +22568,10 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22609
22568
|
style: {
|
|
22610
22569
|
position: 'relative'
|
|
22611
22570
|
}
|
|
22612
|
-
},
|
|
22613
|
-
className: "col-md-
|
|
22571
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22572
|
+
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
22573
|
+
}, InstLogoContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22574
|
+
className: "col-md-6 col-sm-6 text-end p-0"
|
|
22614
22575
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22615
22576
|
style: {}
|
|
22616
22577
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -22636,181 +22597,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22636
22597
|
}), menuactive == true && /*#__PURE__*/React__default["default"].createElement(AiOutlineClose.AiOutlineClose, {
|
|
22637
22598
|
size: sectionproperties.resp_sidenav_size,
|
|
22638
22599
|
color: sectionproperties.resp_sidenav_color
|
|
22639
|
-
}))),
|
|
22640
|
-
style: {
|
|
22641
|
-
width: '30px',
|
|
22642
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22643
|
-
}
|
|
22644
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22645
|
-
"class": "h-100 allcentered",
|
|
22646
|
-
onClick: function onClick() {
|
|
22647
|
-
setopenSearch(true);
|
|
22648
|
-
}
|
|
22649
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, {
|
|
22650
|
-
size: 22,
|
|
22651
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22652
|
-
})))), sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22653
|
-
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
22654
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22655
|
-
style: {
|
|
22656
|
-
width: sectionproperties.cart_BtnWidth_resp + 'px',
|
|
22657
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22658
|
-
},
|
|
22659
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
22660
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22661
|
-
"class": ' h-100 allcentered ',
|
|
22662
|
-
style: {
|
|
22663
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22664
|
-
},
|
|
22665
|
-
onClick: function onClick() {
|
|
22666
|
-
if (sectionproperties.responsiveheaderstyle == 'Style 2') {
|
|
22667
|
-
if (menuactive == true) {
|
|
22668
|
-
setmenuactive(false);
|
|
22669
|
-
} else {
|
|
22670
|
-
setmenuactive(true);
|
|
22671
|
-
}
|
|
22672
|
-
} else {
|
|
22673
|
-
setopenmenuCanvas(true);
|
|
22674
|
-
setactiveTab('menu');
|
|
22675
|
-
}
|
|
22676
|
-
}
|
|
22677
|
-
}, menuactive == false && /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
22678
|
-
size: 20,
|
|
22679
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22680
|
-
}), menuactive == true && /*#__PURE__*/React__default["default"].createElement(AiOutlineClose.AiOutlineClose, {
|
|
22681
|
-
size: 20,
|
|
22682
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22683
|
-
}))), InstLogoContainer()), sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22684
|
-
className: "col-md-4 col-sm-6 allcentered p-0"
|
|
22685
|
-
}, InstLogoContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22686
|
-
className: sectionproperties.logocentered != 'Centered' ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0' : 'col-md-4 col-sm-3 d-flex align-items-center justify-content-end p-0'
|
|
22687
|
-
}, sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22688
|
-
style: {
|
|
22689
|
-
width: '30px',
|
|
22690
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22691
|
-
}
|
|
22692
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22693
|
-
"class": "h-100 allcentered",
|
|
22694
|
-
onClick: function onClick() {
|
|
22695
|
-
setopenSearch(true);
|
|
22696
|
-
}
|
|
22697
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, {
|
|
22698
|
-
size: 22,
|
|
22699
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22700
|
-
}))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22701
|
-
style: {
|
|
22702
|
-
width: '30px',
|
|
22703
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22704
|
-
}
|
|
22705
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22706
|
-
"class": "h-100 allcentered",
|
|
22707
|
-
onClick: function onClick() {
|
|
22708
|
-
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
22709
|
-
}
|
|
22710
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
22711
|
-
size: 22,
|
|
22712
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22713
|
-
}))), sectionproperties.cartBtnShow == 'Show' && CartButton(), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22714
|
-
"class": 'd-flex align-items-center pl-1 pr-1 pt-1',
|
|
22715
|
-
style: {}
|
|
22716
|
-
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
22717
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
22718
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22719
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
22720
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22721
|
-
"class": "m-0 p-0 mr-1 ml-1"
|
|
22722
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22723
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
22724
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22725
|
-
"class": "m-0 p-0 ml-1 mr-1"
|
|
22726
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
22727
|
-
var _authdetailsContext$i4;
|
|
22728
|
-
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
22729
|
-
"class": "m-0 p-0",
|
|
22730
|
-
onClick: function onClick() {
|
|
22731
|
-
setcurrencyfunccontext(item);
|
|
22732
|
-
}
|
|
22733
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22734
|
-
"class": "row m-0 w-100"
|
|
22735
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22736
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
22737
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22738
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
22739
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22740
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
22741
|
-
style: {
|
|
22742
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
22743
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
22744
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
22745
|
-
}
|
|
22746
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
22747
|
-
"class": 'ml-2 mr-2'
|
|
22748
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22749
|
-
"class": "col-lg-12 p-0"
|
|
22750
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
22751
|
-
"class": "m-0"
|
|
22752
|
-
}))));
|
|
22753
|
-
})))), sectionproperties.searchbar_show == 'Hide' && sectionproperties.logocentered == 'Centered' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.favBtnShow == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22754
|
-
className: 'allcentered resposiveheader_languagedropdown',
|
|
22755
|
-
style: {
|
|
22756
|
-
marginLeft: langdetect == 'en' ? '0.25rem' : 0,
|
|
22757
|
-
marginRight: langdetect == 'ar' ? '0.25rem' : 0
|
|
22758
|
-
}
|
|
22759
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22760
|
-
className: ' row m-0 w-100 allcentered ',
|
|
22761
|
-
style: {
|
|
22762
|
-
direction: 'rtl',
|
|
22763
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22764
|
-
},
|
|
22765
|
-
onClick: function onClick() {
|
|
22766
|
-
setlang('ar');
|
|
22767
|
-
}
|
|
22768
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22769
|
-
"class": "m-0 p-0 font-weight-500"
|
|
22770
|
-
}, "\u0639"), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22771
|
-
className: langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'
|
|
22772
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiChevronDown.BiChevronDown, {
|
|
22773
|
-
size: 20
|
|
22774
|
-
}))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22775
|
-
className: ' row m-0 w-100 allcentered ',
|
|
22776
|
-
style: {
|
|
22777
|
-
direction: 'ltr',
|
|
22778
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22779
|
-
},
|
|
22780
|
-
onClick: function onClick() {
|
|
22781
|
-
setlang('en');
|
|
22782
|
-
}
|
|
22783
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22784
|
-
"class": "m-0 p-0 font-weight-500 mr-1"
|
|
22785
|
-
}, "En"), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22786
|
-
className: "h-100 allcentered"
|
|
22787
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiChevronDown.BiChevronDown, {
|
|
22788
|
-
size: 20
|
|
22789
|
-
})))), sectionproperties.logocentered == 'Not Centered' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22790
|
-
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-1 ' : ' m-0 cursor-pointer mr-1 ',
|
|
22791
|
-
style: {
|
|
22792
|
-
minWidth: '30px'
|
|
22793
|
-
},
|
|
22794
|
-
onClick: function onClick() {
|
|
22795
|
-
if (langdetect == 'en') {
|
|
22796
|
-
setlang('ar');
|
|
22797
|
-
} else {
|
|
22798
|
-
setlang('en');
|
|
22799
|
-
}
|
|
22800
|
-
}
|
|
22801
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22802
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22803
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22804
|
-
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22805
|
-
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22806
|
-
"class": "h-100 allcentered ml-auto pl-3"
|
|
22807
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22808
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22809
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22810
|
-
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22811
|
-
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22812
|
-
"class": "h-100 allcentered mr-auto pr-3"
|
|
22813
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22600
|
+
})))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22814
22601
|
"class": "px-4 py-4 scrollvertical",
|
|
22815
22602
|
style: {
|
|
22816
22603
|
position: 'fixed',
|
|
@@ -23699,7 +23486,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23699
23486
|
}
|
|
23700
23487
|
})))));
|
|
23701
23488
|
}
|
|
23702
|
-
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23489
|
+
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (collitem, collindex) {
|
|
23703
23490
|
if (collitem.isshowntocustomers == 1) {
|
|
23704
23491
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23705
23492
|
className: ' row m-0 p-0 mb-2 w-100 '
|
|
@@ -23725,49 +23512,49 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23725
23512
|
style: {
|
|
23726
23513
|
background: '#eee'
|
|
23727
23514
|
}
|
|
23728
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23515
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23729
23516
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23730
23517
|
onClick: function onClick() {
|
|
23731
|
-
var _authdetailsContext$
|
|
23732
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23733
|
-
var _authdetailsContext$
|
|
23734
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23518
|
+
var _authdetailsContext$i4;
|
|
23519
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
|
|
23520
|
+
var _authdetailsContext$i5;
|
|
23521
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
|
|
23735
23522
|
}
|
|
23736
23523
|
}
|
|
23737
23524
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
23738
23525
|
size: '20',
|
|
23739
23526
|
color: '#62564b'
|
|
23740
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23527
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23741
23528
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23742
23529
|
onClick: function onClick() {
|
|
23743
|
-
var _authdetailsContext$
|
|
23744
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23745
|
-
var _authdetailsContext$
|
|
23746
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23530
|
+
var _authdetailsContext$i7;
|
|
23531
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
23532
|
+
var _authdetailsContext$i8;
|
|
23533
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
23747
23534
|
}
|
|
23748
23535
|
}
|
|
23749
23536
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
23750
23537
|
size: '22',
|
|
23751
23538
|
color: '#62564b'
|
|
23752
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23539
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23753
23540
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23754
23541
|
onClick: function onClick() {
|
|
23755
|
-
var _authdetailsContext$
|
|
23756
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23757
|
-
var _authdetailsContext$
|
|
23758
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23542
|
+
var _authdetailsContext$i10;
|
|
23543
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink) != null) {
|
|
23544
|
+
var _authdetailsContext$i11;
|
|
23545
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.tiktoklink, '_blank');
|
|
23759
23546
|
}
|
|
23760
23547
|
}
|
|
23761
23548
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
23762
23549
|
size: '20',
|
|
23763
23550
|
color: '#62564b'
|
|
23764
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23551
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23765
23552
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23766
23553
|
onClick: function onClick() {
|
|
23767
|
-
var _authdetailsContext$
|
|
23768
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23769
|
-
var _authdetailsContext$
|
|
23770
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23554
|
+
var _authdetailsContext$i13;
|
|
23555
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null) {
|
|
23556
|
+
var _authdetailsContext$i14;
|
|
23557
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.youtubelink, '_blank');
|
|
23771
23558
|
}
|
|
23772
23559
|
}
|
|
23773
23560
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
@@ -43670,7 +43457,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43670
43457
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43671
43458
|
}
|
|
43672
43459
|
}, "\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u062A\u062D\u062F\u064A\u062B\u0627\u062A \u062F\u0648\u0631\u064A\u0629 \u062D\u0648\u0644 \u0627\u0644\u0645\u0624\u062A\u0645\u0631.")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43673
|
-
"class": "col-lg-12
|
|
43460
|
+
"class": "col-lg-12 mb-3 text-start p-0"
|
|
43674
43461
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
43675
43462
|
type: "text",
|
|
43676
43463
|
className: "".concat(footerStyles.form_control) + ' w-md-100 ',
|
|
@@ -57224,6 +57011,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
57224
57011
|
if (item.place_clickable == 'General') {
|
|
57225
57012
|
if (item.externallink == 'Yes') {
|
|
57226
57013
|
window.open(item.clickable_page_route, '_blank');
|
|
57014
|
+
|
|
57227
57015
|
// history.push(item.clickable_page_route);
|
|
57228
57016
|
} else if (item.clickable_page_route && item.clickable_page_route.length != 0) {
|
|
57229
57017
|
routingcountext(item.clickable_page_route, false, '');
|
|
@@ -60448,7 +60236,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
60448
60236
|
borderRadius: sectionproperties.sectioncardborderradius + 'px'
|
|
60449
60237
|
}
|
|
60450
60238
|
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60451
|
-
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
|
|
60239
|
+
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-100 w-md-100 mx-auto',
|
|
60452
60240
|
style: {
|
|
60453
60241
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
60454
60242
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
@@ -62104,7 +61892,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62104
61892
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
62105
61893
|
var _authdetailsContext$i;
|
|
62106
61894
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62107
|
-
"class": 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard',
|
|
61895
|
+
"class": 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
62108
61896
|
style: {
|
|
62109
61897
|
zIndex: 2,
|
|
62110
61898
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
package/dist/index.esm.js
CHANGED
|
@@ -22209,10 +22209,10 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
22209
22209
|
function ownKeys$1Z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22210
22210
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22211
22211
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
22212
|
-
var _css,
|
|
22212
|
+
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12;
|
|
22213
22213
|
var actions = props.actions;
|
|
22214
22214
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
22215
|
-
|
|
22215
|
+
props.actions.setsidecartnavshowcontext;
|
|
22216
22216
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
22217
22217
|
props.actions.StatePagePropertiesContext;
|
|
22218
22218
|
var lang = props.actions.lang;
|
|
@@ -22220,12 +22220,12 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22220
22220
|
var setlang = props.actions.setlang;
|
|
22221
22221
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
22222
22222
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
22223
|
-
|
|
22223
|
+
props.actions.fetchcustomercartQueryContext;
|
|
22224
22224
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
22225
22225
|
props.actions.favoriteprojectscountContext;
|
|
22226
22226
|
var routingcountext = props.actions.routingcountext;
|
|
22227
22227
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
22228
|
-
|
|
22228
|
+
props.actions.setcurrencyfunccontext;
|
|
22229
22229
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
22230
22230
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
22231
22231
|
var _useState = useState(''),
|
|
@@ -22445,47 +22445,6 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22445
22445
|
});
|
|
22446
22446
|
return policyobj;
|
|
22447
22447
|
};
|
|
22448
|
-
var CartButton = function CartButton() {
|
|
22449
|
-
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
22450
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
22451
|
-
"class": "d-flex align-items-center",
|
|
22452
|
-
style: {
|
|
22453
|
-
position: 'relative'
|
|
22454
|
-
}
|
|
22455
|
-
}, /*#__PURE__*/React.createElement("button", {
|
|
22456
|
-
className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
|
|
22457
|
-
onClick: function onClick() {
|
|
22458
|
-
var _fetchcustomercartQue;
|
|
22459
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
22460
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
22461
|
-
} else {
|
|
22462
|
-
setsidecartnavshowcontext(true);
|
|
22463
|
-
}
|
|
22464
|
-
}
|
|
22465
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
22466
|
-
className: ' h-100 d-flex align-items-center justify-content-center '
|
|
22467
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
22468
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22469
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
22470
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22471
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
22472
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22473
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
22474
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22475
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
22476
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22477
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
22478
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22479
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
22480
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22481
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
22482
|
-
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
22483
|
-
style: {
|
|
22484
|
-
top: sectionproperties.cartbadgefromtop + 'px',
|
|
22485
|
-
right: sectionproperties.cartbadgefromright + 'px'
|
|
22486
|
-
}
|
|
22487
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0));
|
|
22488
|
-
};
|
|
22489
22448
|
var _useState15 = useState(false),
|
|
22490
22449
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
22491
22450
|
openmenuCanvas = _useState16[0],
|
|
@@ -22560,8 +22519,10 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22560
22519
|
style: {
|
|
22561
22520
|
position: 'relative'
|
|
22562
22521
|
}
|
|
22563
|
-
},
|
|
22564
|
-
className: "col-md-
|
|
22522
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
22523
|
+
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
22524
|
+
}, InstLogoContainer()), /*#__PURE__*/React.createElement("div", {
|
|
22525
|
+
className: "col-md-6 col-sm-6 text-end p-0"
|
|
22565
22526
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22566
22527
|
style: {}
|
|
22567
22528
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -22587,181 +22548,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
22587
22548
|
}), menuactive == true && /*#__PURE__*/React.createElement(AiOutlineClose, {
|
|
22588
22549
|
size: sectionproperties.resp_sidenav_size,
|
|
22589
22550
|
color: sectionproperties.resp_sidenav_color
|
|
22590
|
-
}))),
|
|
22591
|
-
style: {
|
|
22592
|
-
width: '30px',
|
|
22593
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22594
|
-
}
|
|
22595
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
22596
|
-
"class": "h-100 allcentered",
|
|
22597
|
-
onClick: function onClick() {
|
|
22598
|
-
setopenSearch(true);
|
|
22599
|
-
}
|
|
22600
|
-
}, /*#__PURE__*/React.createElement(IoSearchOutline, {
|
|
22601
|
-
size: 22,
|
|
22602
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22603
|
-
})))), sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React.createElement("div", {
|
|
22604
|
-
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
22605
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
22606
|
-
style: {
|
|
22607
|
-
width: sectionproperties.cart_BtnWidth_resp + 'px',
|
|
22608
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22609
|
-
},
|
|
22610
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
22611
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
22612
|
-
"class": ' h-100 allcentered ',
|
|
22613
|
-
style: {
|
|
22614
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22615
|
-
},
|
|
22616
|
-
onClick: function onClick() {
|
|
22617
|
-
if (sectionproperties.responsiveheaderstyle == 'Style 2') {
|
|
22618
|
-
if (menuactive == true) {
|
|
22619
|
-
setmenuactive(false);
|
|
22620
|
-
} else {
|
|
22621
|
-
setmenuactive(true);
|
|
22622
|
-
}
|
|
22623
|
-
} else {
|
|
22624
|
-
setopenmenuCanvas(true);
|
|
22625
|
-
setactiveTab('menu');
|
|
22626
|
-
}
|
|
22627
|
-
}
|
|
22628
|
-
}, menuactive == false && /*#__PURE__*/React.createElement(FiMenu, {
|
|
22629
|
-
size: 20,
|
|
22630
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22631
|
-
}), menuactive == true && /*#__PURE__*/React.createElement(AiOutlineClose, {
|
|
22632
|
-
size: 20,
|
|
22633
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22634
|
-
}))), InstLogoContainer()), sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React.createElement("div", {
|
|
22635
|
-
className: "col-md-4 col-sm-6 allcentered p-0"
|
|
22636
|
-
}, InstLogoContainer()), /*#__PURE__*/React.createElement("div", {
|
|
22637
|
-
className: sectionproperties.logocentered != 'Centered' ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0' : 'col-md-4 col-sm-3 d-flex align-items-center justify-content-end p-0'
|
|
22638
|
-
}, sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React.createElement("div", {
|
|
22639
|
-
style: {
|
|
22640
|
-
width: '30px',
|
|
22641
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22642
|
-
}
|
|
22643
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
22644
|
-
"class": "h-100 allcentered",
|
|
22645
|
-
onClick: function onClick() {
|
|
22646
|
-
setopenSearch(true);
|
|
22647
|
-
}
|
|
22648
|
-
}, /*#__PURE__*/React.createElement(IoSearchOutline, {
|
|
22649
|
-
size: 22,
|
|
22650
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22651
|
-
}))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
22652
|
-
style: {
|
|
22653
|
-
width: '30px',
|
|
22654
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22655
|
-
}
|
|
22656
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
22657
|
-
"class": "h-100 allcentered",
|
|
22658
|
-
onClick: function onClick() {
|
|
22659
|
-
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
22660
|
-
}
|
|
22661
|
-
}, /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
22662
|
-
size: 22,
|
|
22663
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22664
|
-
}))), sectionproperties.cartBtnShow == 'Show' && CartButton(), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
22665
|
-
"class": 'd-flex align-items-center pl-1 pr-1 pt-1',
|
|
22666
|
-
style: {}
|
|
22667
|
-
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
22668
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
22669
|
-
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
22670
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
22671
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
22672
|
-
"class": "m-0 p-0 mr-1 ml-1"
|
|
22673
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
22674
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
22675
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
22676
|
-
"class": "m-0 p-0 ml-1 mr-1"
|
|
22677
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
22678
|
-
var _authdetailsContext$i4;
|
|
22679
|
-
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
22680
|
-
"class": "m-0 p-0",
|
|
22681
|
-
onClick: function onClick() {
|
|
22682
|
-
setcurrencyfunccontext(item);
|
|
22683
|
-
}
|
|
22684
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
22685
|
-
"class": "row m-0 w-100"
|
|
22686
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
22687
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
22688
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
22689
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
22690
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
22691
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
22692
|
-
style: {
|
|
22693
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
22694
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
22695
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
22696
|
-
}
|
|
22697
|
-
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
22698
|
-
"class": 'ml-2 mr-2'
|
|
22699
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
22700
|
-
"class": "col-lg-12 p-0"
|
|
22701
|
-
}, /*#__PURE__*/React.createElement("hr", {
|
|
22702
|
-
"class": "m-0"
|
|
22703
|
-
}))));
|
|
22704
|
-
})))), sectionproperties.searchbar_show == 'Hide' && sectionproperties.logocentered == 'Centered' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.favBtnShow == 'Hide' && /*#__PURE__*/React.createElement("div", {
|
|
22705
|
-
className: 'allcentered resposiveheader_languagedropdown',
|
|
22706
|
-
style: {
|
|
22707
|
-
marginLeft: langdetect == 'en' ? '0.25rem' : 0,
|
|
22708
|
-
marginRight: langdetect == 'ar' ? '0.25rem' : 0
|
|
22709
|
-
}
|
|
22710
|
-
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
22711
|
-
className: ' row m-0 w-100 allcentered ',
|
|
22712
|
-
style: {
|
|
22713
|
-
direction: 'rtl',
|
|
22714
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22715
|
-
},
|
|
22716
|
-
onClick: function onClick() {
|
|
22717
|
-
setlang('ar');
|
|
22718
|
-
}
|
|
22719
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
22720
|
-
"class": "m-0 p-0 font-weight-500"
|
|
22721
|
-
}, "\u0639"), /*#__PURE__*/React.createElement("i", {
|
|
22722
|
-
className: langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'
|
|
22723
|
-
}, /*#__PURE__*/React.createElement(BiChevronDown, {
|
|
22724
|
-
size: 20
|
|
22725
|
-
}))), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
22726
|
-
className: ' row m-0 w-100 allcentered ',
|
|
22727
|
-
style: {
|
|
22728
|
-
direction: 'ltr',
|
|
22729
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22730
|
-
},
|
|
22731
|
-
onClick: function onClick() {
|
|
22732
|
-
setlang('en');
|
|
22733
|
-
}
|
|
22734
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
22735
|
-
"class": "m-0 p-0 font-weight-500 mr-1"
|
|
22736
|
-
}, "En"), /*#__PURE__*/React.createElement("i", {
|
|
22737
|
-
className: "h-100 allcentered"
|
|
22738
|
-
}, /*#__PURE__*/React.createElement(BiChevronDown, {
|
|
22739
|
-
size: 20
|
|
22740
|
-
})))), sectionproperties.logocentered == 'Not Centered' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
22741
|
-
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-1 ' : ' m-0 cursor-pointer mr-1 ',
|
|
22742
|
-
style: {
|
|
22743
|
-
minWidth: '30px'
|
|
22744
|
-
},
|
|
22745
|
-
onClick: function onClick() {
|
|
22746
|
-
if (langdetect == 'en') {
|
|
22747
|
-
setlang('ar');
|
|
22748
|
-
} else {
|
|
22749
|
-
setlang('en');
|
|
22750
|
-
}
|
|
22751
|
-
}
|
|
22752
|
-
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
22753
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22754
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
22755
|
-
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22756
|
-
}, "En", ' ', /*#__PURE__*/React.createElement("i", {
|
|
22757
|
-
"class": "h-100 allcentered ml-auto pl-3"
|
|
22758
|
-
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
22759
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22760
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
22761
|
-
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22762
|
-
}, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
|
|
22763
|
-
"class": "h-100 allcentered mr-auto pr-3"
|
|
22764
|
-
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React.createElement("div", {
|
|
22551
|
+
})))), menuactive == true && /*#__PURE__*/React.createElement("div", {
|
|
22765
22552
|
"class": "px-4 py-4 scrollvertical",
|
|
22766
22553
|
style: {
|
|
22767
22554
|
position: 'fixed',
|
|
@@ -23650,7 +23437,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23650
23437
|
}
|
|
23651
23438
|
})))));
|
|
23652
23439
|
}
|
|
23653
|
-
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23440
|
+
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (collitem, collindex) {
|
|
23654
23441
|
if (collitem.isshowntocustomers == 1) {
|
|
23655
23442
|
return /*#__PURE__*/React.createElement("div", {
|
|
23656
23443
|
className: ' row m-0 p-0 mb-2 w-100 '
|
|
@@ -23676,49 +23463,49 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23676
23463
|
style: {
|
|
23677
23464
|
background: '#eee'
|
|
23678
23465
|
}
|
|
23679
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23466
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
23680
23467
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23681
23468
|
onClick: function onClick() {
|
|
23682
|
-
var _authdetailsContext$
|
|
23683
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23684
|
-
var _authdetailsContext$
|
|
23685
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23469
|
+
var _authdetailsContext$i4;
|
|
23470
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
|
|
23471
|
+
var _authdetailsContext$i5;
|
|
23472
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
|
|
23686
23473
|
}
|
|
23687
23474
|
}
|
|
23688
23475
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
23689
23476
|
size: '20',
|
|
23690
23477
|
color: '#62564b'
|
|
23691
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23478
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
23692
23479
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23693
23480
|
onClick: function onClick() {
|
|
23694
|
-
var _authdetailsContext$
|
|
23695
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23696
|
-
var _authdetailsContext$
|
|
23697
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23481
|
+
var _authdetailsContext$i7;
|
|
23482
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
23483
|
+
var _authdetailsContext$i8;
|
|
23484
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
23698
23485
|
}
|
|
23699
23486
|
}
|
|
23700
23487
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
23701
23488
|
size: '22',
|
|
23702
23489
|
color: '#62564b'
|
|
23703
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23490
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.tiktoklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
23704
23491
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23705
23492
|
onClick: function onClick() {
|
|
23706
|
-
var _authdetailsContext$
|
|
23707
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23708
|
-
var _authdetailsContext$
|
|
23709
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23493
|
+
var _authdetailsContext$i10;
|
|
23494
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink) != null) {
|
|
23495
|
+
var _authdetailsContext$i11;
|
|
23496
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.tiktoklink, '_blank');
|
|
23710
23497
|
}
|
|
23711
23498
|
}
|
|
23712
23499
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
23713
23500
|
size: '20',
|
|
23714
23501
|
color: '#62564b'
|
|
23715
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23502
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
23716
23503
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23717
23504
|
onClick: function onClick() {
|
|
23718
|
-
var _authdetailsContext$
|
|
23719
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23720
|
-
var _authdetailsContext$
|
|
23721
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23505
|
+
var _authdetailsContext$i13;
|
|
23506
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null) {
|
|
23507
|
+
var _authdetailsContext$i14;
|
|
23508
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.youtubelink, '_blank');
|
|
23722
23509
|
}
|
|
23723
23510
|
}
|
|
23724
23511
|
}, /*#__PURE__*/React.createElement(AiFillYoutube, {
|
|
@@ -43621,7 +43408,7 @@ var Footer1 = function Footer1(props) {
|
|
|
43621
43408
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43622
43409
|
}
|
|
43623
43410
|
}, "\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u062A\u062D\u062F\u064A\u062B\u0627\u062A \u062F\u0648\u0631\u064A\u0629 \u062D\u0648\u0644 \u0627\u0644\u0645\u0624\u062A\u0645\u0631.")), /*#__PURE__*/React.createElement("div", {
|
|
43624
|
-
"class": "col-lg-12
|
|
43411
|
+
"class": "col-lg-12 mb-3 text-start p-0"
|
|
43625
43412
|
}, /*#__PURE__*/React.createElement("input", {
|
|
43626
43413
|
type: "text",
|
|
43627
43414
|
className: "".concat(footerStyles.form_control) + ' w-md-100 ',
|
|
@@ -57175,6 +56962,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
57175
56962
|
if (item.place_clickable == 'General') {
|
|
57176
56963
|
if (item.externallink == 'Yes') {
|
|
57177
56964
|
window.open(item.clickable_page_route, '_blank');
|
|
56965
|
+
|
|
57178
56966
|
// history.push(item.clickable_page_route);
|
|
57179
56967
|
} else if (item.clickable_page_route && item.clickable_page_route.length != 0) {
|
|
57180
56968
|
routingcountext(item.clickable_page_route, false, '');
|
|
@@ -60399,7 +60187,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
60399
60187
|
borderRadius: sectionproperties.sectioncardborderradius + 'px'
|
|
60400
60188
|
}
|
|
60401
60189
|
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
60402
|
-
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
|
|
60190
|
+
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-100 w-md-100 mx-auto',
|
|
60403
60191
|
style: {
|
|
60404
60192
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
60405
60193
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
@@ -62055,7 +61843,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
62055
61843
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
62056
61844
|
var _authdetailsContext$i;
|
|
62057
61845
|
return /*#__PURE__*/React.createElement("div", {
|
|
62058
|
-
"class": 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard',
|
|
61846
|
+
"class": 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
62059
61847
|
style: {
|
|
62060
61848
|
zIndex: 2,
|
|
62061
61849
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
package/dist/index.umd.js
CHANGED
|
@@ -22081,10 +22081,10 @@
|
|
|
22081
22081
|
function ownKeys$1Z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22082
22082
|
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22083
22083
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
22084
|
-
var _css,
|
|
22084
|
+
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12;
|
|
22085
22085
|
var actions = props.actions;
|
|
22086
22086
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
22087
|
-
|
|
22087
|
+
props.actions.setsidecartnavshowcontext;
|
|
22088
22088
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
22089
22089
|
props.actions.StatePagePropertiesContext;
|
|
22090
22090
|
var lang = props.actions.lang;
|
|
@@ -22092,12 +22092,12 @@
|
|
|
22092
22092
|
var setlang = props.actions.setlang;
|
|
22093
22093
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
22094
22094
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
22095
|
-
|
|
22095
|
+
props.actions.fetchcustomercartQueryContext;
|
|
22096
22096
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
22097
22097
|
props.actions.favoriteprojectscountContext;
|
|
22098
22098
|
var routingcountext = props.actions.routingcountext;
|
|
22099
22099
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
22100
|
-
|
|
22100
|
+
props.actions.setcurrencyfunccontext;
|
|
22101
22101
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
22102
22102
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
22103
22103
|
var _useState = React.useState(''),
|
|
@@ -22317,47 +22317,6 @@
|
|
|
22317
22317
|
});
|
|
22318
22318
|
return policyobj;
|
|
22319
22319
|
};
|
|
22320
|
-
var CartButton = function CartButton() {
|
|
22321
|
-
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
22322
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22323
|
-
"class": "d-flex align-items-center",
|
|
22324
|
-
style: {
|
|
22325
|
-
position: 'relative'
|
|
22326
|
-
}
|
|
22327
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
22328
|
-
className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
|
|
22329
|
-
onClick: function onClick() {
|
|
22330
|
-
var _fetchcustomercartQue;
|
|
22331
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
22332
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
22333
|
-
} else {
|
|
22334
|
-
setsidecartnavshowcontext(true);
|
|
22335
|
-
}
|
|
22336
|
-
}
|
|
22337
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22338
|
-
className: ' h-100 d-flex align-items-center justify-content-center '
|
|
22339
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
22340
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22341
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
22342
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22343
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
22344
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22345
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
22346
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22347
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
22348
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22349
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
22350
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22351
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
22352
|
-
size: sectionproperties.cartBtniconresp_size
|
|
22353
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22354
|
-
className: "".concat(header_cssstyles.badge_counter_header_notifications),
|
|
22355
|
-
style: {
|
|
22356
|
-
top: sectionproperties.cartbadgefromtop + 'px',
|
|
22357
|
-
right: sectionproperties.cartbadgefromright + 'px'
|
|
22358
|
-
}
|
|
22359
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0));
|
|
22360
|
-
};
|
|
22361
22320
|
var _useState15 = React.useState(false),
|
|
22362
22321
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
22363
22322
|
openmenuCanvas = _useState16[0],
|
|
@@ -22432,8 +22391,10 @@
|
|
|
22432
22391
|
style: {
|
|
22433
22392
|
position: 'relative'
|
|
22434
22393
|
}
|
|
22435
|
-
},
|
|
22436
|
-
className: "col-md-
|
|
22394
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22395
|
+
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
22396
|
+
}, InstLogoContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22397
|
+
className: "col-md-6 col-sm-6 text-end p-0"
|
|
22437
22398
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22438
22399
|
style: {}
|
|
22439
22400
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -22459,181 +22420,7 @@
|
|
|
22459
22420
|
}), menuactive == true && /*#__PURE__*/React__default["default"].createElement(AiOutlineClose.AiOutlineClose, {
|
|
22460
22421
|
size: sectionproperties.resp_sidenav_size,
|
|
22461
22422
|
color: sectionproperties.resp_sidenav_color
|
|
22462
|
-
}))),
|
|
22463
|
-
style: {
|
|
22464
|
-
width: '30px',
|
|
22465
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22466
|
-
}
|
|
22467
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22468
|
-
"class": "h-100 allcentered",
|
|
22469
|
-
onClick: function onClick() {
|
|
22470
|
-
setopenSearch(true);
|
|
22471
|
-
}
|
|
22472
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, {
|
|
22473
|
-
size: 22,
|
|
22474
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22475
|
-
})))), sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22476
|
-
className: "col-md-6 col-sm-6 d-flex filter align-items-center p-0"
|
|
22477
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22478
|
-
style: {
|
|
22479
|
-
width: sectionproperties.cart_BtnWidth_resp + 'px',
|
|
22480
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22481
|
-
},
|
|
22482
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
22483
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22484
|
-
"class": ' h-100 allcentered ',
|
|
22485
|
-
style: {
|
|
22486
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22487
|
-
},
|
|
22488
|
-
onClick: function onClick() {
|
|
22489
|
-
if (sectionproperties.responsiveheaderstyle == 'Style 2') {
|
|
22490
|
-
if (menuactive == true) {
|
|
22491
|
-
setmenuactive(false);
|
|
22492
|
-
} else {
|
|
22493
|
-
setmenuactive(true);
|
|
22494
|
-
}
|
|
22495
|
-
} else {
|
|
22496
|
-
setopenmenuCanvas(true);
|
|
22497
|
-
setactiveTab('menu');
|
|
22498
|
-
}
|
|
22499
|
-
}
|
|
22500
|
-
}, menuactive == false && /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
22501
|
-
size: 20,
|
|
22502
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22503
|
-
}), menuactive == true && /*#__PURE__*/React__default["default"].createElement(AiOutlineClose.AiOutlineClose, {
|
|
22504
|
-
size: 20,
|
|
22505
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22506
|
-
}))), InstLogoContainer()), sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22507
|
-
className: "col-md-4 col-sm-6 allcentered p-0"
|
|
22508
|
-
}, InstLogoContainer()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22509
|
-
className: sectionproperties.logocentered != 'Centered' ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0' : 'col-md-4 col-sm-3 d-flex align-items-center justify-content-end p-0'
|
|
22510
|
-
}, sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22511
|
-
style: {
|
|
22512
|
-
width: '30px',
|
|
22513
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22514
|
-
}
|
|
22515
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22516
|
-
"class": "h-100 allcentered",
|
|
22517
|
-
onClick: function onClick() {
|
|
22518
|
-
setopenSearch(true);
|
|
22519
|
-
}
|
|
22520
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, {
|
|
22521
|
-
size: 22,
|
|
22522
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22523
|
-
}))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22524
|
-
style: {
|
|
22525
|
-
width: '30px',
|
|
22526
|
-
height: sectionproperties.cart_BtnHeight_resp + 'px'
|
|
22527
|
-
}
|
|
22528
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22529
|
-
"class": "h-100 allcentered",
|
|
22530
|
-
onClick: function onClick() {
|
|
22531
|
-
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
22532
|
-
}
|
|
22533
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
22534
|
-
size: 22,
|
|
22535
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22536
|
-
}))), sectionproperties.cartBtnShow == 'Show' && CartButton(), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22537
|
-
"class": 'd-flex align-items-center pl-1 pr-1 pt-1',
|
|
22538
|
-
style: {}
|
|
22539
|
-
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
22540
|
-
"class": ' d-flex align-items-center justify-content-center '
|
|
22541
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22542
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
22543
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22544
|
-
"class": "m-0 p-0 mr-1 ml-1"
|
|
22545
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22546
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
22547
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22548
|
-
"class": "m-0 p-0 ml-1 mr-1"
|
|
22549
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
22550
|
-
var _authdetailsContext$i4;
|
|
22551
|
-
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
22552
|
-
"class": "m-0 p-0",
|
|
22553
|
-
onClick: function onClick() {
|
|
22554
|
-
setcurrencyfunccontext(item);
|
|
22555
|
-
}
|
|
22556
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22557
|
-
"class": "row m-0 w-100"
|
|
22558
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22559
|
-
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
22560
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22561
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer)
|
|
22562
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22563
|
-
"class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
|
|
22564
|
-
style: {
|
|
22565
|
-
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
22566
|
-
fontWeight: sectionproperties.dropdown_fontweight,
|
|
22567
|
-
textTransform: sectionproperties.dropdown_texttransform
|
|
22568
|
-
}
|
|
22569
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
22570
|
-
"class": 'ml-2 mr-2'
|
|
22571
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22572
|
-
"class": "col-lg-12 p-0"
|
|
22573
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
22574
|
-
"class": "m-0"
|
|
22575
|
-
}))));
|
|
22576
|
-
})))), sectionproperties.searchbar_show == 'Hide' && sectionproperties.logocentered == 'Centered' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.favBtnShow == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22577
|
-
className: 'allcentered resposiveheader_languagedropdown',
|
|
22578
|
-
style: {
|
|
22579
|
-
marginLeft: langdetect == 'en' ? '0.25rem' : 0,
|
|
22580
|
-
marginRight: langdetect == 'ar' ? '0.25rem' : 0
|
|
22581
|
-
}
|
|
22582
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22583
|
-
className: ' row m-0 w-100 allcentered ',
|
|
22584
|
-
style: {
|
|
22585
|
-
direction: 'rtl',
|
|
22586
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22587
|
-
},
|
|
22588
|
-
onClick: function onClick() {
|
|
22589
|
-
setlang('ar');
|
|
22590
|
-
}
|
|
22591
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22592
|
-
"class": "m-0 p-0 font-weight-500"
|
|
22593
|
-
}, "\u0639"), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22594
|
-
className: langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'
|
|
22595
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiChevronDown.BiChevronDown, {
|
|
22596
|
-
size: 20
|
|
22597
|
-
}))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22598
|
-
className: ' row m-0 w-100 allcentered ',
|
|
22599
|
-
style: {
|
|
22600
|
-
direction: 'ltr',
|
|
22601
|
-
color: sectionproperties.cart_BtnTextcolor_resp
|
|
22602
|
-
},
|
|
22603
|
-
onClick: function onClick() {
|
|
22604
|
-
setlang('en');
|
|
22605
|
-
}
|
|
22606
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22607
|
-
"class": "m-0 p-0 font-weight-500 mr-1"
|
|
22608
|
-
}, "En"), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22609
|
-
className: "h-100 allcentered"
|
|
22610
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiChevronDown.BiChevronDown, {
|
|
22611
|
-
size: 20
|
|
22612
|
-
})))), sectionproperties.logocentered == 'Not Centered' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22613
|
-
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-1 ' : ' m-0 cursor-pointer mr-1 ',
|
|
22614
|
-
style: {
|
|
22615
|
-
minWidth: '30px'
|
|
22616
|
-
},
|
|
22617
|
-
onClick: function onClick() {
|
|
22618
|
-
if (langdetect == 'en') {
|
|
22619
|
-
setlang('ar');
|
|
22620
|
-
} else {
|
|
22621
|
-
setlang('en');
|
|
22622
|
-
}
|
|
22623
|
-
}
|
|
22624
|
-
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22625
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22626
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22627
|
-
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22628
|
-
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22629
|
-
"class": "h-100 allcentered ml-auto pl-3"
|
|
22630
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22631
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
22632
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22633
|
-
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
22634
|
-
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
22635
|
-
"class": "h-100 allcentered mr-auto pr-3"
|
|
22636
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22423
|
+
})))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22637
22424
|
"class": "px-4 py-4 scrollvertical",
|
|
22638
22425
|
style: {
|
|
22639
22426
|
position: 'fixed',
|
|
@@ -23522,7 +23309,7 @@
|
|
|
23522
23309
|
}
|
|
23523
23310
|
})))));
|
|
23524
23311
|
}
|
|
23525
|
-
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23312
|
+
})), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (collitem, collindex) {
|
|
23526
23313
|
if (collitem.isshowntocustomers == 1) {
|
|
23527
23314
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23528
23315
|
className: ' row m-0 p-0 mb-2 w-100 '
|
|
@@ -23548,49 +23335,49 @@
|
|
|
23548
23335
|
style: {
|
|
23549
23336
|
background: '#eee'
|
|
23550
23337
|
}
|
|
23551
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23338
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23552
23339
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23553
23340
|
onClick: function onClick() {
|
|
23554
|
-
var _authdetailsContext$
|
|
23555
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23556
|
-
var _authdetailsContext$
|
|
23557
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23341
|
+
var _authdetailsContext$i4;
|
|
23342
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
|
|
23343
|
+
var _authdetailsContext$i5;
|
|
23344
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
|
|
23558
23345
|
}
|
|
23559
23346
|
}
|
|
23560
23347
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
23561
23348
|
size: '20',
|
|
23562
23349
|
color: '#62564b'
|
|
23563
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23350
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23564
23351
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23565
23352
|
onClick: function onClick() {
|
|
23566
|
-
var _authdetailsContext$
|
|
23567
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23568
|
-
var _authdetailsContext$
|
|
23569
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23353
|
+
var _authdetailsContext$i7;
|
|
23354
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
23355
|
+
var _authdetailsContext$i8;
|
|
23356
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
23570
23357
|
}
|
|
23571
23358
|
}
|
|
23572
23359
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
23573
23360
|
size: '22',
|
|
23574
23361
|
color: '#62564b'
|
|
23575
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23362
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23576
23363
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23577
23364
|
onClick: function onClick() {
|
|
23578
|
-
var _authdetailsContext$
|
|
23579
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23580
|
-
var _authdetailsContext$
|
|
23581
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23365
|
+
var _authdetailsContext$i10;
|
|
23366
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink) != null) {
|
|
23367
|
+
var _authdetailsContext$i11;
|
|
23368
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.tiktoklink, '_blank');
|
|
23582
23369
|
}
|
|
23583
23370
|
}
|
|
23584
23371
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
23585
23372
|
size: '20',
|
|
23586
23373
|
color: '#62564b'
|
|
23587
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23374
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23588
23375
|
"class": ' d-flex align-items-center justify-content-center mx-2 ',
|
|
23589
23376
|
onClick: function onClick() {
|
|
23590
|
-
var _authdetailsContext$
|
|
23591
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23592
|
-
var _authdetailsContext$
|
|
23593
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
23377
|
+
var _authdetailsContext$i13;
|
|
23378
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null) {
|
|
23379
|
+
var _authdetailsContext$i14;
|
|
23380
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.youtubelink, '_blank');
|
|
23594
23381
|
}
|
|
23595
23382
|
}
|
|
23596
23383
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
|
|
@@ -43493,7 +43280,7 @@
|
|
|
43493
43280
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43494
43281
|
}
|
|
43495
43282
|
}, "\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u062A\u062D\u062F\u064A\u062B\u0627\u062A \u062F\u0648\u0631\u064A\u0629 \u062D\u0648\u0644 \u0627\u0644\u0645\u0624\u062A\u0645\u0631.")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43496
|
-
"class": "col-lg-12
|
|
43283
|
+
"class": "col-lg-12 mb-3 text-start p-0"
|
|
43497
43284
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
43498
43285
|
type: "text",
|
|
43499
43286
|
className: "".concat(footerStyles.form_control) + ' w-md-100 ',
|
|
@@ -57047,6 +56834,7 @@
|
|
|
57047
56834
|
if (item.place_clickable == 'General') {
|
|
57048
56835
|
if (item.externallink == 'Yes') {
|
|
57049
56836
|
window.open(item.clickable_page_route, '_blank');
|
|
56837
|
+
|
|
57050
56838
|
// history.push(item.clickable_page_route);
|
|
57051
56839
|
} else if (item.clickable_page_route && item.clickable_page_route.length != 0) {
|
|
57052
56840
|
routingcountext(item.clickable_page_route, false, '');
|
|
@@ -60271,7 +60059,7 @@
|
|
|
60271
60059
|
borderRadius: sectionproperties.sectioncardborderradius + 'px'
|
|
60272
60060
|
}
|
|
60273
60061
|
}, sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60274
|
-
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-md-100 mx-auto',
|
|
60062
|
+
"class": sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0 ? sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-100 mx-auto' : sectionproperties.width != 100 ? 'd-flex justify-content-between align-items-center w-100 w-md-90 mx-auto' : 'd-flex justify-content-between align-items-center w-100 w-md-100 mx-auto',
|
|
60275
60063
|
style: {
|
|
60276
60064
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
60277
60065
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
@@ -61927,7 +61715,7 @@
|
|
|
61927
61715
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
61928
61716
|
var _authdetailsContext$i;
|
|
61929
61717
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61930
|
-
"class": 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard',
|
|
61718
|
+
"class": 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
61931
61719
|
style: {
|
|
61932
61720
|
zIndex: 2,
|
|
61933
61721
|
paddingLeft: sectionproperties.marginhorizontal + 'px',
|