tabexseriescomponents 0.0.382 → 0.0.384
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 +397 -58
- package/dist/index.esm.js +397 -58
- package/dist/index.umd.js +397 -58
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -17668,7 +17668,7 @@
|
|
|
17668
17668
|
function ownKeys$1Y(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; }
|
|
17669
17669
|
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17670
17670
|
var Headerresponsive = function Headerresponsive(props) {
|
|
17671
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
17671
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery;
|
|
17672
17672
|
var actions = props.actions;
|
|
17673
17673
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
17674
17674
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -17685,16 +17685,16 @@
|
|
|
17685
17685
|
var routingcountext = props.actions.routingcountext;
|
|
17686
17686
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
17687
17687
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
17688
|
-
props.actions.fetchCategoriesQueryContext;
|
|
17688
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
17689
17689
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17690
17690
|
var _useState = React.useState(''),
|
|
17691
17691
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
17692
17692
|
sectionproperties = _useState2[0],
|
|
17693
17693
|
setsectionproperties = _useState2[1];
|
|
17694
17694
|
var _useState3 = React.useState(''),
|
|
17695
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
17696
|
-
_useState4[0]
|
|
17697
|
-
_useState4[1];
|
|
17695
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
17696
|
+
Choosenindex = _useState4[0],
|
|
17697
|
+
setChoosenindex = _useState4[1];
|
|
17698
17698
|
React.useEffect(function () {
|
|
17699
17699
|
if (props.sectionpropertiesprops != undefined) {
|
|
17700
17700
|
setsectionproperties(_objectSpread$1Y({}, props.sectionpropertiesprops));
|
|
@@ -17705,13 +17705,13 @@
|
|
|
17705
17705
|
logoarrayofobjects = _useState6[0],
|
|
17706
17706
|
setlogoarrayofobjects = _useState6[1];
|
|
17707
17707
|
var _useState7 = React.useState(false),
|
|
17708
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
17709
|
-
_useState8[0]
|
|
17710
|
-
_useState8[1];
|
|
17708
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17709
|
+
openCnvas = _useState8[0],
|
|
17710
|
+
setopenCnvas = _useState8[1];
|
|
17711
17711
|
var _useState9 = React.useState(''),
|
|
17712
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
17713
|
-
_useState10[0]
|
|
17714
|
-
_useState10[1];
|
|
17712
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
17713
|
+
activeTab = _useState10[0],
|
|
17714
|
+
setactiveTab = _useState10[1];
|
|
17715
17715
|
React.useEffect(function () {
|
|
17716
17716
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
17717
17717
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -17968,13 +17968,17 @@
|
|
|
17968
17968
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17969
17969
|
className: langdetect == 'en' ? 'mr-1' : 'ml-1',
|
|
17970
17970
|
onClick: function onClick() {
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
|
|
17971
|
+
if (sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas') {
|
|
17972
|
+
setopenCnvas(true);
|
|
17973
|
+
setactiveTab('menu');
|
|
17974
|
+
} else {
|
|
17975
|
+
var element2 = document.getElementById('filter');
|
|
17976
|
+
element2.classList.toggle('d-flex');
|
|
17977
|
+
if (sectionproperties.showhidesubheader == 'Show') {
|
|
17978
|
+
var element3 = document.getElementById('subheader');
|
|
17979
|
+
element3.classList.toggle('d-none');
|
|
17980
|
+
}
|
|
17976
17981
|
}
|
|
17977
|
-
// setopenCnvas(true);
|
|
17978
17982
|
}
|
|
17979
17983
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
17980
17984
|
"class": "h-100 allcentered"
|
|
@@ -18515,7 +18519,7 @@
|
|
|
18515
18519
|
style: {
|
|
18516
18520
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18517
18521
|
}
|
|
18518
|
-
}))))))), sectionproperties.showhidesubheader == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18522
|
+
}))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.showresponsivesubheader != 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18519
18523
|
className: "col-lg-12 p-0 h-100",
|
|
18520
18524
|
id: "subheader"
|
|
18521
18525
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -18525,6 +18529,282 @@
|
|
|
18525
18529
|
}, /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
18526
18530
|
sectionpropertiesprops: sectionproperties,
|
|
18527
18531
|
actions: actions
|
|
18532
|
+
}))))), sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
18533
|
+
show: openCnvas,
|
|
18534
|
+
onHide: function onHide() {
|
|
18535
|
+
setopenCnvas(false);
|
|
18536
|
+
},
|
|
18537
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
18538
|
+
scroll: true,
|
|
18539
|
+
style: {
|
|
18540
|
+
width: '90%',
|
|
18541
|
+
backgroundColor: 'white'
|
|
18542
|
+
},
|
|
18543
|
+
backdrop: true
|
|
18544
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18545
|
+
"class": "allcentered",
|
|
18546
|
+
style: {
|
|
18547
|
+
position: 'absolute',
|
|
18548
|
+
right: -34,
|
|
18549
|
+
top: 5,
|
|
18550
|
+
width: 30,
|
|
18551
|
+
height: 30,
|
|
18552
|
+
background: '#000'
|
|
18553
|
+
},
|
|
18554
|
+
onClick: function onClick() {
|
|
18555
|
+
setopenCnvas(false);
|
|
18556
|
+
}
|
|
18557
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
18558
|
+
color: '#fff',
|
|
18559
|
+
size: 16
|
|
18560
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18561
|
+
className: "row m-0 w-100 mb-5",
|
|
18562
|
+
style: {
|
|
18563
|
+
borderBottom: '1px solid #eee'
|
|
18564
|
+
}
|
|
18565
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18566
|
+
className: 'col-6 allcentered py-3',
|
|
18567
|
+
onClick: function onClick() {
|
|
18568
|
+
setactiveTab('menu');
|
|
18569
|
+
},
|
|
18570
|
+
style: {
|
|
18571
|
+
background: activeTab == 'menu' ? 'white' : '#eee'
|
|
18572
|
+
}
|
|
18573
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18574
|
+
className: "m-0 p-0",
|
|
18575
|
+
style: {
|
|
18576
|
+
textTransform: 'uppercase',
|
|
18577
|
+
fontWeight: 500,
|
|
18578
|
+
fontSize: '15px',
|
|
18579
|
+
transition: '.3s',
|
|
18580
|
+
color: '#000'
|
|
18581
|
+
}
|
|
18582
|
+
}, langdetect == 'en' ? 'MENU' : 'القائمة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18583
|
+
className: 'col-6 allcentered py-3',
|
|
18584
|
+
onClick: function onClick() {
|
|
18585
|
+
setactiveTab('categories');
|
|
18586
|
+
},
|
|
18587
|
+
style: {
|
|
18588
|
+
background: activeTab == 'categories' ? 'white' : '#eee'
|
|
18589
|
+
}
|
|
18590
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18591
|
+
className: "m-0 p-0",
|
|
18592
|
+
style: {
|
|
18593
|
+
textTransform: 'uppercase',
|
|
18594
|
+
fontWeight: 500,
|
|
18595
|
+
fontSize: '15px',
|
|
18596
|
+
transition: '.3s',
|
|
18597
|
+
color: '#000'
|
|
18598
|
+
}
|
|
18599
|
+
}, langdetect == 'en' ? 'COLLECTIONS' : 'المجموعات'))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, activeTab == 'menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18600
|
+
className: ' row m-0 w-100 anim '
|
|
18601
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18602
|
+
className: "col-lg-12 p-0"
|
|
18603
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
18604
|
+
className: ' d-flex justify-content-center flex-column p-0 '
|
|
18605
|
+
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
18606
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
18607
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18608
|
+
className: "row m-0 w-100"
|
|
18609
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18610
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
18611
|
+
style: {
|
|
18612
|
+
paddingTop: index == 0 ? 5 : 0
|
|
18613
|
+
}
|
|
18614
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18615
|
+
onClick: function onClick() {
|
|
18616
|
+
routingcountext(item.navigationroute, false, '');
|
|
18617
|
+
setopenCnvas(false);
|
|
18618
|
+
}
|
|
18619
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18620
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18621
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18622
|
+
className: "col-lg-12 p-0"
|
|
18623
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18624
|
+
className: "mt-4 mb-4",
|
|
18625
|
+
style: {
|
|
18626
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18627
|
+
}
|
|
18628
|
+
})));
|
|
18629
|
+
}
|
|
18630
|
+
}), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18631
|
+
className: "row m-0 w-100"
|
|
18632
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18633
|
+
className: "col-lg-12 d-flex justify-content-start",
|
|
18634
|
+
onClick: function onClick() {
|
|
18635
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
18636
|
+
setopenCnvas(false);
|
|
18637
|
+
}
|
|
18638
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18639
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
18640
|
+
}, lang.orderhistory)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18641
|
+
className: "col-lg-12 p-0"
|
|
18642
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18643
|
+
className: "mt-4 mb-4",
|
|
18644
|
+
style: {
|
|
18645
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18646
|
+
}
|
|
18647
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18648
|
+
className: "row m-0 w-100"
|
|
18649
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18650
|
+
className: "col-lg-12 d-flex justify-content-start",
|
|
18651
|
+
onClick: function onClick() {
|
|
18652
|
+
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
18653
|
+
setopenCnvas(false);
|
|
18654
|
+
}
|
|
18655
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18656
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
18657
|
+
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18658
|
+
className: "col-lg-12 p-0"
|
|
18659
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18660
|
+
className: "mt-3 mb-3",
|
|
18661
|
+
style: {
|
|
18662
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18663
|
+
}
|
|
18664
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18665
|
+
className: "row m-0 w-100"
|
|
18666
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18667
|
+
className: "col-lg-12 d-flex justify-content-start",
|
|
18668
|
+
onClick: function onClick() {
|
|
18669
|
+
routingcountext(StaticPagesLinksContext.Policies);
|
|
18670
|
+
setopenCnvas(false);
|
|
18671
|
+
}
|
|
18672
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18673
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18674
|
+
}, lang.policies)))))), activeTab == 'categories' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18675
|
+
className: ' row m-0 w-100 accordionContainer anim'
|
|
18676
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
18677
|
+
allowMultipleExpanded: true,
|
|
18678
|
+
allowZeroExpanded: true
|
|
18679
|
+
}, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories.map(function (item, index) {
|
|
18680
|
+
if (item.isshowntocustomers == 1) {
|
|
18681
|
+
var _fetchCategoriesQuery2, _fetchCategoriesQuery3;
|
|
18682
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
18683
|
+
uuid: index
|
|
18684
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, {
|
|
18685
|
+
onClick: function onClick() {
|
|
18686
|
+
setChoosenindex(index);
|
|
18687
|
+
}
|
|
18688
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18689
|
+
className: ' row m-0 p-0 mb-2 '
|
|
18690
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18691
|
+
className: ' row m-0 w-100 px-3 '
|
|
18692
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18693
|
+
className: "col-10 p-0"
|
|
18694
|
+
// onClick={() => {
|
|
18695
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
18696
|
+
// }}
|
|
18697
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18698
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18699
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18700
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
18701
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
18702
|
+
if (state.expanded == true) {
|
|
18703
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18704
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18705
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
18706
|
+
style: {
|
|
18707
|
+
color: '#000',
|
|
18708
|
+
fontSize: 15
|
|
18709
|
+
}
|
|
18710
|
+
}));
|
|
18711
|
+
} else {
|
|
18712
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18713
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18714
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
18715
|
+
style: {
|
|
18716
|
+
color: '#000',
|
|
18717
|
+
fontSize: 15
|
|
18718
|
+
}
|
|
18719
|
+
}));
|
|
18720
|
+
}
|
|
18721
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18722
|
+
className: "col-lg-12 p-0"
|
|
18723
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18724
|
+
className: "mt-3 mb-3",
|
|
18725
|
+
style: {
|
|
18726
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18727
|
+
}
|
|
18728
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
18729
|
+
className: "p-0"
|
|
18730
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18731
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
18732
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
18733
|
+
allowMultipleExpanded: true,
|
|
18734
|
+
allowZeroExpanded: true
|
|
18735
|
+
}, Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery2 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery2 === void 0 || (_fetchCategoriesQuery2 = _fetchCategoriesQuery2.data) === null || _fetchCategoriesQuery2 === void 0 || (_fetchCategoriesQuery2 = _fetchCategoriesQuery2.categories[Choosenindex]) === null || _fetchCategoriesQuery2 === void 0 || (_fetchCategoriesQuery2 = _fetchCategoriesQuery2.parentcolletions) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.length) != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery3 === void 0 || (_fetchCategoriesQuery3 = _fetchCategoriesQuery3.categories[Choosenindex]) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : _fetchCategoriesQuery3.parentcolletions.map(function (pitem, pindex) {
|
|
18736
|
+
if (pitem.isshowntocustomers == 1) {
|
|
18737
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
18738
|
+
uuid: pindex
|
|
18739
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18740
|
+
className: ' row m-0 p-0 mb-2 '
|
|
18741
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18742
|
+
className: ' row m-0 w-100 px-4 '
|
|
18743
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18744
|
+
className: "col-10 p-0",
|
|
18745
|
+
onClick: function onClick() {
|
|
18746
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
18747
|
+
}
|
|
18748
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18749
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18750
|
+
}, langdetect == 'en' ? pitem.title_en : pitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18751
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
18752
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
18753
|
+
if (state.expanded == true) {
|
|
18754
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18755
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18756
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
18757
|
+
style: {
|
|
18758
|
+
color: '#000',
|
|
18759
|
+
fontSize: 15
|
|
18760
|
+
}
|
|
18761
|
+
}));
|
|
18762
|
+
} else {
|
|
18763
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18764
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18765
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
18766
|
+
style: {
|
|
18767
|
+
color: '#000',
|
|
18768
|
+
fontSize: 15
|
|
18769
|
+
}
|
|
18770
|
+
}));
|
|
18771
|
+
}
|
|
18772
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18773
|
+
className: "col-lg-12 p-0"
|
|
18774
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18775
|
+
className: "mt-3 mb-3",
|
|
18776
|
+
style: {
|
|
18777
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18778
|
+
}
|
|
18779
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
18780
|
+
className: "p-0"
|
|
18781
|
+
}, pitem.collections.length != 0 && pitem.collections.map(function (collitem, collindex) {
|
|
18782
|
+
if (collitem.isshowntocustomers == 1) {
|
|
18783
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18784
|
+
className: ' row m-0 p-0 mb-2 '
|
|
18785
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18786
|
+
className: ' row m-0 w-100 px-5 '
|
|
18787
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18788
|
+
className: "col-10 p-0",
|
|
18789
|
+
onClick: function onClick() {
|
|
18790
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
18791
|
+
setopenCnvas(false);
|
|
18792
|
+
}
|
|
18793
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18794
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18795
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18796
|
+
className: "col-lg-12 p-0"
|
|
18797
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18798
|
+
className: "mt-3 mb-3",
|
|
18799
|
+
style: {
|
|
18800
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18801
|
+
}
|
|
18802
|
+
})));
|
|
18803
|
+
}
|
|
18804
|
+
})));
|
|
18805
|
+
}
|
|
18806
|
+
}))))));
|
|
18807
|
+
}
|
|
18528
18808
|
})))))));
|
|
18529
18809
|
};
|
|
18530
18810
|
|
|
@@ -35667,7 +35947,7 @@
|
|
|
35667
35947
|
function ownKeys$1B(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; }
|
|
35668
35948
|
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35669
35949
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
35670
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35950
|
+
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35671
35951
|
var _useState = React.useState(''),
|
|
35672
35952
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
35673
35953
|
sectionproperties = _useState2[0],
|
|
@@ -35688,6 +35968,10 @@
|
|
|
35688
35968
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
35689
35969
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
35690
35970
|
var actions = props.actions;
|
|
35971
|
+
var _useState3 = React.useState([]),
|
|
35972
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
35973
|
+
textarray = _useState4[0],
|
|
35974
|
+
settextarray = _useState4[1];
|
|
35691
35975
|
React.useEffect(function () {
|
|
35692
35976
|
var secpropobj = {};
|
|
35693
35977
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -35704,10 +35988,10 @@
|
|
|
35704
35988
|
}
|
|
35705
35989
|
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
35706
35990
|
}, [StatePagePropertiesContext]);
|
|
35707
|
-
var
|
|
35708
|
-
|
|
35709
|
-
logoarrayofobjects =
|
|
35710
|
-
setlogoarrayofobjects =
|
|
35991
|
+
var _useState5 = React.useState([]),
|
|
35992
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
35993
|
+
logoarrayofobjects = _useState6[0],
|
|
35994
|
+
setlogoarrayofobjects = _useState6[1];
|
|
35711
35995
|
React.useEffect(function () {
|
|
35712
35996
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
35713
35997
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -35996,12 +36280,53 @@
|
|
|
35996
36280
|
}
|
|
35997
36281
|
})
|
|
35998
36282
|
};
|
|
36283
|
+
React.useEffect(function () {
|
|
36284
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
36285
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
36286
|
+
if (Array.isArray(textarrayparsed)) {
|
|
36287
|
+
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
36288
|
+
}
|
|
36289
|
+
}
|
|
36290
|
+
}, [templateproperties_context]);
|
|
35999
36291
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36000
36292
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center "
|
|
36001
36293
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
36002
36294
|
sectionpropertiesprops: sectionproperties,
|
|
36003
36295
|
actions: actions
|
|
36004
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36296
|
+
}), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36297
|
+
"class": "col-lg-12 px-0 allcentered",
|
|
36298
|
+
style: {
|
|
36299
|
+
background: templateproperties_context.textsliderbgcolor,
|
|
36300
|
+
paddingTop: templateproperties_context.paddinghorizontal + 'px',
|
|
36301
|
+
paddingBottom: templateproperties_context.paddinghorizontal + 'px'
|
|
36302
|
+
}
|
|
36303
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36304
|
+
"class": "col-lg-4 col-md-6"
|
|
36305
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
36306
|
+
"class": "d-flex flex-row align-items-center"
|
|
36307
|
+
}, textarray.map(function (item, index) {
|
|
36308
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36309
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36310
|
+
style: {
|
|
36311
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36312
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36313
|
+
fontWeight: templateproperties_context.textsliderfontweight,
|
|
36314
|
+
marginLeft: 100,
|
|
36315
|
+
marginRight: 100
|
|
36316
|
+
}
|
|
36317
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
36318
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36319
|
+
"class": "w-100 allcentered"
|
|
36320
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36321
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36322
|
+
style: {
|
|
36323
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36324
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36325
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
36326
|
+
}
|
|
36327
|
+
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))))
|
|
36328
|
+
// <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
|
|
36329
|
+
, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36005
36330
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
|
|
36006
36331
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36007
36332
|
"class": "row m-0 w-100 "
|
|
@@ -44742,7 +45067,11 @@
|
|
|
44742
45067
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
44743
45068
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
44744
45069
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
44745
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
45070
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
45071
|
+
'@media (max-width: 800px)': {
|
|
45072
|
+
paddingTop: sectionproperties.paddingverticalresponsive + 'px',
|
|
45073
|
+
paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
|
|
45074
|
+
}
|
|
44746
45075
|
}),
|
|
44747
45076
|
viewmorebtn: glamor.css({
|
|
44748
45077
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
@@ -50008,6 +50337,12 @@
|
|
|
50008
50337
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
50009
50338
|
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
50010
50339
|
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
50340
|
+
},
|
|
50341
|
+
height: '100%',
|
|
50342
|
+
width: '100%',
|
|
50343
|
+
'@media (max-width: 800px)': {
|
|
50344
|
+
width: sectionproperties.innerwidthheightresp + '%',
|
|
50345
|
+
height: sectionproperties.innerwidthheightresp + '%'
|
|
50011
50346
|
}
|
|
50012
50347
|
}),
|
|
50013
50348
|
text1styles: glamor.css({
|
|
@@ -50086,7 +50421,7 @@
|
|
|
50086
50421
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50087
50422
|
className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
|
|
50088
50423
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50089
|
-
className:
|
|
50424
|
+
className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
|
|
50090
50425
|
}, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
50091
50426
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50092
50427
|
className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
|
|
@@ -50112,16 +50447,13 @@
|
|
|
50112
50447
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50113
50448
|
className: "row ml-0 mr-0 d-flex justify-content-center w-100"
|
|
50114
50449
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50115
|
-
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
|
|
50450
|
+
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
|
|
50116
50451
|
style: {
|
|
50117
50452
|
height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
|
|
50118
50453
|
}
|
|
50119
50454
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50120
50455
|
className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
|
|
50121
|
-
style: {
|
|
50122
|
-
height: '100%',
|
|
50123
|
-
width: '100%'
|
|
50124
|
-
}
|
|
50456
|
+
style: {}
|
|
50125
50457
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50126
50458
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50127
50459
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -50138,10 +50470,7 @@
|
|
|
50138
50470
|
}
|
|
50139
50471
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50140
50472
|
className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
|
|
50141
|
-
style: {
|
|
50142
|
-
height: '100%',
|
|
50143
|
-
width: '100%'
|
|
50144
|
-
}
|
|
50473
|
+
style: {}
|
|
50145
50474
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50146
50475
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50147
50476
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -52098,6 +52427,32 @@
|
|
|
52098
52427
|
backgroundColor: sectionproperties.linebgcolor,
|
|
52099
52428
|
borderRadius: '5px'
|
|
52100
52429
|
}
|
|
52430
|
+
}),
|
|
52431
|
+
imageimage: glamor.css({
|
|
52432
|
+
width: '100%',
|
|
52433
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52434
|
+
margin: 0,
|
|
52435
|
+
padding: 0,
|
|
52436
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
52437
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52438
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52439
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52440
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52441
|
+
'@media (max-width: 800px)': {
|
|
52442
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
|
|
52443
|
+
}
|
|
52444
|
+
}),
|
|
52445
|
+
editortext: glamor.css({
|
|
52446
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
|
|
52447
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
52448
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52449
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52450
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52451
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
52452
|
+
'@media (max-width: 800px)': {
|
|
52453
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
|
|
52454
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
|
|
52455
|
+
}
|
|
52101
52456
|
})
|
|
52102
52457
|
};
|
|
52103
52458
|
var SectionTitle = function SectionTitle() {
|
|
@@ -52182,15 +52537,8 @@
|
|
|
52182
52537
|
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
|
|
52183
52538
|
}
|
|
52184
52539
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
52185
|
-
"class":
|
|
52186
|
-
style: {
|
|
52187
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
52188
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
52189
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52190
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52191
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52192
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
52193
|
-
},
|
|
52540
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
52541
|
+
style: {},
|
|
52194
52542
|
dangerouslySetInnerHTML: {
|
|
52195
52543
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
52196
52544
|
}
|
|
@@ -52273,20 +52621,11 @@
|
|
|
52273
52621
|
}
|
|
52274
52622
|
}
|
|
52275
52623
|
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
52624
|
+
"class": section_styles.imageimage,
|
|
52276
52625
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52277
52626
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52278
52627
|
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
|
|
52279
|
-
style: {
|
|
52280
|
-
width: '100%',
|
|
52281
|
-
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52282
|
-
margin: 0,
|
|
52283
|
-
padding: 0,
|
|
52284
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
52285
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52286
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52287
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52288
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
52289
|
-
}
|
|
52628
|
+
style: {}
|
|
52290
52629
|
}));
|
|
52291
52630
|
};
|
|
52292
52631
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -52304,12 +52643,12 @@
|
|
|
52304
52643
|
width: sectionproperties.width + 'vw'
|
|
52305
52644
|
}
|
|
52306
52645
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52307
|
-
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between',
|
|
52646
|
+
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
|
|
52308
52647
|
style: {
|
|
52309
52648
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
52310
52649
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
52311
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
52312
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52650
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
52651
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52313
52652
|
marginTop: sectionproperties.marginTop + 'px',
|
|
52314
52653
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
52315
52654
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|