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.cjs.js
CHANGED
|
@@ -17836,7 +17836,7 @@ var Subheader = function Subheader(props) {
|
|
|
17836
17836
|
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; }
|
|
17837
17837
|
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; }
|
|
17838
17838
|
var Headerresponsive = function Headerresponsive(props) {
|
|
17839
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
17839
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery;
|
|
17840
17840
|
var actions = props.actions;
|
|
17841
17841
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
17842
17842
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -17853,16 +17853,16 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
17853
17853
|
var routingcountext = props.actions.routingcountext;
|
|
17854
17854
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
17855
17855
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
17856
|
-
props.actions.fetchCategoriesQueryContext;
|
|
17856
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
17857
17857
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17858
17858
|
var _useState = React.useState(''),
|
|
17859
17859
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
17860
17860
|
sectionproperties = _useState2[0],
|
|
17861
17861
|
setsectionproperties = _useState2[1];
|
|
17862
17862
|
var _useState3 = React.useState(''),
|
|
17863
|
-
_useState4 = _slicedToArray__default["default"](_useState3, 2)
|
|
17864
|
-
_useState4[0]
|
|
17865
|
-
_useState4[1];
|
|
17863
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
17864
|
+
Choosenindex = _useState4[0],
|
|
17865
|
+
setChoosenindex = _useState4[1];
|
|
17866
17866
|
React.useEffect(function () {
|
|
17867
17867
|
if (props.sectionpropertiesprops != undefined) {
|
|
17868
17868
|
setsectionproperties(_objectSpread$1Y({}, props.sectionpropertiesprops));
|
|
@@ -17873,13 +17873,13 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
17873
17873
|
logoarrayofobjects = _useState6[0],
|
|
17874
17874
|
setlogoarrayofobjects = _useState6[1];
|
|
17875
17875
|
var _useState7 = React.useState(false),
|
|
17876
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
17877
|
-
_useState8[0]
|
|
17878
|
-
_useState8[1];
|
|
17876
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17877
|
+
openCnvas = _useState8[0],
|
|
17878
|
+
setopenCnvas = _useState8[1];
|
|
17879
17879
|
var _useState9 = React.useState(''),
|
|
17880
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
17881
|
-
_useState10[0]
|
|
17882
|
-
_useState10[1];
|
|
17880
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
17881
|
+
activeTab = _useState10[0],
|
|
17882
|
+
setactiveTab = _useState10[1];
|
|
17883
17883
|
React.useEffect(function () {
|
|
17884
17884
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
17885
17885
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -18136,13 +18136,17 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18136
18136
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18137
18137
|
className: langdetect == 'en' ? 'mr-1' : 'ml-1',
|
|
18138
18138
|
onClick: function onClick() {
|
|
18139
|
-
|
|
18140
|
-
|
|
18141
|
-
|
|
18142
|
-
|
|
18143
|
-
|
|
18139
|
+
if (sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas') {
|
|
18140
|
+
setopenCnvas(true);
|
|
18141
|
+
setactiveTab('menu');
|
|
18142
|
+
} else {
|
|
18143
|
+
var element2 = document.getElementById('filter');
|
|
18144
|
+
element2.classList.toggle('d-flex');
|
|
18145
|
+
if (sectionproperties.showhidesubheader == 'Show') {
|
|
18146
|
+
var element3 = document.getElementById('subheader');
|
|
18147
|
+
element3.classList.toggle('d-none');
|
|
18148
|
+
}
|
|
18144
18149
|
}
|
|
18145
|
-
// setopenCnvas(true);
|
|
18146
18150
|
}
|
|
18147
18151
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18148
18152
|
"class": "h-100 allcentered"
|
|
@@ -18683,7 +18687,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18683
18687
|
style: {
|
|
18684
18688
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
18685
18689
|
}
|
|
18686
|
-
}))))))), sectionproperties.showhidesubheader == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18690
|
+
}))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.showresponsivesubheader != 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18687
18691
|
className: "col-lg-12 p-0 h-100",
|
|
18688
18692
|
id: "subheader"
|
|
18689
18693
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -18693,6 +18697,282 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18693
18697
|
}, /*#__PURE__*/React__default["default"].createElement(Subheader, {
|
|
18694
18698
|
sectionpropertiesprops: sectionproperties,
|
|
18695
18699
|
actions: actions
|
|
18700
|
+
}))))), sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
18701
|
+
show: openCnvas,
|
|
18702
|
+
onHide: function onHide() {
|
|
18703
|
+
setopenCnvas(false);
|
|
18704
|
+
},
|
|
18705
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
18706
|
+
scroll: true,
|
|
18707
|
+
style: {
|
|
18708
|
+
width: '90%',
|
|
18709
|
+
backgroundColor: 'white'
|
|
18710
|
+
},
|
|
18711
|
+
backdrop: true
|
|
18712
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18713
|
+
"class": "allcentered",
|
|
18714
|
+
style: {
|
|
18715
|
+
position: 'absolute',
|
|
18716
|
+
right: -34,
|
|
18717
|
+
top: 5,
|
|
18718
|
+
width: 30,
|
|
18719
|
+
height: 30,
|
|
18720
|
+
background: '#000'
|
|
18721
|
+
},
|
|
18722
|
+
onClick: function onClick() {
|
|
18723
|
+
setopenCnvas(false);
|
|
18724
|
+
}
|
|
18725
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
18726
|
+
color: '#fff',
|
|
18727
|
+
size: 16
|
|
18728
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18729
|
+
className: "row m-0 w-100 mb-5",
|
|
18730
|
+
style: {
|
|
18731
|
+
borderBottom: '1px solid #eee'
|
|
18732
|
+
}
|
|
18733
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18734
|
+
className: 'col-6 allcentered py-3',
|
|
18735
|
+
onClick: function onClick() {
|
|
18736
|
+
setactiveTab('menu');
|
|
18737
|
+
},
|
|
18738
|
+
style: {
|
|
18739
|
+
background: activeTab == 'menu' ? 'white' : '#eee'
|
|
18740
|
+
}
|
|
18741
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18742
|
+
className: "m-0 p-0",
|
|
18743
|
+
style: {
|
|
18744
|
+
textTransform: 'uppercase',
|
|
18745
|
+
fontWeight: 500,
|
|
18746
|
+
fontSize: '15px',
|
|
18747
|
+
transition: '.3s',
|
|
18748
|
+
color: '#000'
|
|
18749
|
+
}
|
|
18750
|
+
}, langdetect == 'en' ? 'MENU' : 'القائمة')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18751
|
+
className: 'col-6 allcentered py-3',
|
|
18752
|
+
onClick: function onClick() {
|
|
18753
|
+
setactiveTab('categories');
|
|
18754
|
+
},
|
|
18755
|
+
style: {
|
|
18756
|
+
background: activeTab == 'categories' ? 'white' : '#eee'
|
|
18757
|
+
}
|
|
18758
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18759
|
+
className: "m-0 p-0",
|
|
18760
|
+
style: {
|
|
18761
|
+
textTransform: 'uppercase',
|
|
18762
|
+
fontWeight: 500,
|
|
18763
|
+
fontSize: '15px',
|
|
18764
|
+
transition: '.3s',
|
|
18765
|
+
color: '#000'
|
|
18766
|
+
}
|
|
18767
|
+
}, langdetect == 'en' ? 'COLLECTIONS' : 'المجموعات'))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, activeTab == 'menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18768
|
+
className: ' row m-0 w-100 anim '
|
|
18769
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18770
|
+
className: "col-lg-12 p-0"
|
|
18771
|
+
}, /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
18772
|
+
className: ' d-flex justify-content-center flex-column p-0 '
|
|
18773
|
+
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
18774
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
18775
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18776
|
+
className: "row m-0 w-100"
|
|
18777
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18778
|
+
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
18779
|
+
style: {
|
|
18780
|
+
paddingTop: index == 0 ? 5 : 0
|
|
18781
|
+
}
|
|
18782
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18783
|
+
onClick: function onClick() {
|
|
18784
|
+
routingcountext(item.navigationroute, false, '');
|
|
18785
|
+
setopenCnvas(false);
|
|
18786
|
+
}
|
|
18787
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18788
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18789
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18790
|
+
className: "col-lg-12 p-0"
|
|
18791
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18792
|
+
className: "mt-4 mb-4",
|
|
18793
|
+
style: {
|
|
18794
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18795
|
+
}
|
|
18796
|
+
})));
|
|
18797
|
+
}
|
|
18798
|
+
}), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18799
|
+
className: "row m-0 w-100"
|
|
18800
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18801
|
+
className: "col-lg-12 d-flex justify-content-start",
|
|
18802
|
+
onClick: function onClick() {
|
|
18803
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
18804
|
+
setopenCnvas(false);
|
|
18805
|
+
}
|
|
18806
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18807
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
18808
|
+
}, lang.orderhistory)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18809
|
+
className: "col-lg-12 p-0"
|
|
18810
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18811
|
+
className: "mt-4 mb-4",
|
|
18812
|
+
style: {
|
|
18813
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18814
|
+
}
|
|
18815
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18816
|
+
className: "row m-0 w-100"
|
|
18817
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18818
|
+
className: "col-lg-12 d-flex justify-content-start",
|
|
18819
|
+
onClick: function onClick() {
|
|
18820
|
+
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
18821
|
+
setopenCnvas(false);
|
|
18822
|
+
}
|
|
18823
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18824
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
18825
|
+
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18826
|
+
className: "col-lg-12 p-0"
|
|
18827
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18828
|
+
className: "mt-3 mb-3",
|
|
18829
|
+
style: {
|
|
18830
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18831
|
+
}
|
|
18832
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18833
|
+
className: "row m-0 w-100"
|
|
18834
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18835
|
+
className: "col-lg-12 d-flex justify-content-start",
|
|
18836
|
+
onClick: function onClick() {
|
|
18837
|
+
routingcountext(StaticPagesLinksContext.Policies);
|
|
18838
|
+
setopenCnvas(false);
|
|
18839
|
+
}
|
|
18840
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18841
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18842
|
+
}, lang.policies)))))), activeTab == 'categories' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18843
|
+
className: ' row m-0 w-100 accordionContainer anim'
|
|
18844
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
18845
|
+
allowMultipleExpanded: true,
|
|
18846
|
+
allowZeroExpanded: true
|
|
18847
|
+
}, 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) {
|
|
18848
|
+
if (item.isshowntocustomers == 1) {
|
|
18849
|
+
var _fetchCategoriesQuery2, _fetchCategoriesQuery3;
|
|
18850
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
18851
|
+
uuid: index
|
|
18852
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, {
|
|
18853
|
+
onClick: function onClick() {
|
|
18854
|
+
setChoosenindex(index);
|
|
18855
|
+
}
|
|
18856
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18857
|
+
className: ' row m-0 p-0 mb-2 '
|
|
18858
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18859
|
+
className: ' row m-0 w-100 px-3 '
|
|
18860
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18861
|
+
className: "col-10 p-0"
|
|
18862
|
+
// onClick={() => {
|
|
18863
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
18864
|
+
// }}
|
|
18865
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18866
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18867
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18868
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
18869
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
18870
|
+
if (state.expanded == true) {
|
|
18871
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18872
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18873
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
18874
|
+
style: {
|
|
18875
|
+
color: '#000',
|
|
18876
|
+
fontSize: 15
|
|
18877
|
+
}
|
|
18878
|
+
}));
|
|
18879
|
+
} else {
|
|
18880
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18881
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18882
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
18883
|
+
style: {
|
|
18884
|
+
color: '#000',
|
|
18885
|
+
fontSize: 15
|
|
18886
|
+
}
|
|
18887
|
+
}));
|
|
18888
|
+
}
|
|
18889
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18890
|
+
className: "col-lg-12 p-0"
|
|
18891
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18892
|
+
className: "mt-3 mb-3",
|
|
18893
|
+
style: {
|
|
18894
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18895
|
+
}
|
|
18896
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
18897
|
+
className: "p-0"
|
|
18898
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18899
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
|
|
18900
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
18901
|
+
allowMultipleExpanded: true,
|
|
18902
|
+
allowZeroExpanded: true
|
|
18903
|
+
}, 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) {
|
|
18904
|
+
if (pitem.isshowntocustomers == 1) {
|
|
18905
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
18906
|
+
uuid: pindex
|
|
18907
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18908
|
+
className: ' row m-0 p-0 mb-2 '
|
|
18909
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18910
|
+
className: ' row m-0 w-100 px-4 '
|
|
18911
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18912
|
+
className: "col-10 p-0",
|
|
18913
|
+
onClick: function onClick() {
|
|
18914
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
18915
|
+
}
|
|
18916
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18917
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18918
|
+
}, langdetect == 'en' ? pitem.title_en : pitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18919
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
18920
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
18921
|
+
if (state.expanded == true) {
|
|
18922
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18923
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18924
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
18925
|
+
style: {
|
|
18926
|
+
color: '#000',
|
|
18927
|
+
fontSize: 15
|
|
18928
|
+
}
|
|
18929
|
+
}));
|
|
18930
|
+
} else {
|
|
18931
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
18932
|
+
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
18933
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
18934
|
+
style: {
|
|
18935
|
+
color: '#000',
|
|
18936
|
+
fontSize: 15
|
|
18937
|
+
}
|
|
18938
|
+
}));
|
|
18939
|
+
}
|
|
18940
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18941
|
+
className: "col-lg-12 p-0"
|
|
18942
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18943
|
+
className: "mt-3 mb-3",
|
|
18944
|
+
style: {
|
|
18945
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18946
|
+
}
|
|
18947
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
18948
|
+
className: "p-0"
|
|
18949
|
+
}, pitem.collections.length != 0 && pitem.collections.map(function (collitem, collindex) {
|
|
18950
|
+
if (collitem.isshowntocustomers == 1) {
|
|
18951
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18952
|
+
className: ' row m-0 p-0 mb-2 '
|
|
18953
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18954
|
+
className: ' row m-0 w-100 px-5 '
|
|
18955
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18956
|
+
className: "col-10 p-0",
|
|
18957
|
+
onClick: function onClick() {
|
|
18958
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
18959
|
+
setopenCnvas(false);
|
|
18960
|
+
}
|
|
18961
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18962
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
18963
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18964
|
+
className: "col-lg-12 p-0"
|
|
18965
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18966
|
+
className: "mt-3 mb-3",
|
|
18967
|
+
style: {
|
|
18968
|
+
borderColor: sectionproperties.resp_header_separatorbg
|
|
18969
|
+
}
|
|
18970
|
+
})));
|
|
18971
|
+
}
|
|
18972
|
+
})));
|
|
18973
|
+
}
|
|
18974
|
+
}))))));
|
|
18975
|
+
}
|
|
18696
18976
|
})))))));
|
|
18697
18977
|
};
|
|
18698
18978
|
|
|
@@ -35835,7 +36115,7 @@ styleInject(css_248z$m);
|
|
|
35835
36115
|
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; }
|
|
35836
36116
|
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; }
|
|
35837
36117
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
35838
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
36118
|
+
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35839
36119
|
var _useState = React.useState(''),
|
|
35840
36120
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
35841
36121
|
sectionproperties = _useState2[0],
|
|
@@ -35856,6 +36136,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
35856
36136
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
35857
36137
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
35858
36138
|
var actions = props.actions;
|
|
36139
|
+
var _useState3 = React.useState([]),
|
|
36140
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
36141
|
+
textarray = _useState4[0],
|
|
36142
|
+
settextarray = _useState4[1];
|
|
35859
36143
|
React.useEffect(function () {
|
|
35860
36144
|
var secpropobj = {};
|
|
35861
36145
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -35872,10 +36156,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
35872
36156
|
}
|
|
35873
36157
|
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
35874
36158
|
}, [StatePagePropertiesContext]);
|
|
35875
|
-
var
|
|
35876
|
-
|
|
35877
|
-
logoarrayofobjects =
|
|
35878
|
-
setlogoarrayofobjects =
|
|
36159
|
+
var _useState5 = React.useState([]),
|
|
36160
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
36161
|
+
logoarrayofobjects = _useState6[0],
|
|
36162
|
+
setlogoarrayofobjects = _useState6[1];
|
|
35879
36163
|
React.useEffect(function () {
|
|
35880
36164
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
35881
36165
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -36164,12 +36448,53 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
36164
36448
|
}
|
|
36165
36449
|
})
|
|
36166
36450
|
};
|
|
36451
|
+
React.useEffect(function () {
|
|
36452
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
36453
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
36454
|
+
if (Array.isArray(textarrayparsed)) {
|
|
36455
|
+
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
36456
|
+
}
|
|
36457
|
+
}
|
|
36458
|
+
}, [templateproperties_context]);
|
|
36167
36459
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36168
36460
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center "
|
|
36169
36461
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
36170
36462
|
sectionpropertiesprops: sectionproperties,
|
|
36171
36463
|
actions: actions
|
|
36172
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36464
|
+
}), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36465
|
+
"class": "col-lg-12 px-0 allcentered",
|
|
36466
|
+
style: {
|
|
36467
|
+
background: templateproperties_context.textsliderbgcolor,
|
|
36468
|
+
paddingTop: templateproperties_context.paddinghorizontal + 'px',
|
|
36469
|
+
paddingBottom: templateproperties_context.paddinghorizontal + 'px'
|
|
36470
|
+
}
|
|
36471
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36472
|
+
"class": "col-lg-4 col-md-6"
|
|
36473
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
36474
|
+
"class": "d-flex flex-row align-items-center"
|
|
36475
|
+
}, textarray.map(function (item, index) {
|
|
36476
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36477
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36478
|
+
style: {
|
|
36479
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36480
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36481
|
+
fontWeight: templateproperties_context.textsliderfontweight,
|
|
36482
|
+
marginLeft: 100,
|
|
36483
|
+
marginRight: 100
|
|
36484
|
+
}
|
|
36485
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
36486
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36487
|
+
"class": "w-100 allcentered"
|
|
36488
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36489
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36490
|
+
style: {
|
|
36491
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36492
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36493
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
36494
|
+
}
|
|
36495
|
+
}, 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))))
|
|
36496
|
+
// <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
|
|
36497
|
+
, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36173
36498
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
|
|
36174
36499
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36175
36500
|
"class": "row m-0 w-100 "
|
|
@@ -44910,7 +45235,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
44910
45235
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
44911
45236
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
44912
45237
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
44913
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
45238
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
45239
|
+
'@media (max-width: 800px)': {
|
|
45240
|
+
paddingTop: sectionproperties.paddingverticalresponsive + 'px',
|
|
45241
|
+
paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
|
|
45242
|
+
}
|
|
44914
45243
|
}),
|
|
44915
45244
|
viewmorebtn: glamor.css({
|
|
44916
45245
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
@@ -50176,6 +50505,12 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50176
50505
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
50177
50506
|
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
50178
50507
|
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
50508
|
+
},
|
|
50509
|
+
height: '100%',
|
|
50510
|
+
width: '100%',
|
|
50511
|
+
'@media (max-width: 800px)': {
|
|
50512
|
+
width: sectionproperties.innerwidthheightresp + '%',
|
|
50513
|
+
height: sectionproperties.innerwidthheightresp + '%'
|
|
50179
50514
|
}
|
|
50180
50515
|
}),
|
|
50181
50516
|
text1styles: glamor.css({
|
|
@@ -50254,7 +50589,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50254
50589
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50255
50590
|
className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
|
|
50256
50591
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50257
|
-
className:
|
|
50592
|
+
className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
|
|
50258
50593
|
}, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
50259
50594
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50260
50595
|
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,
|
|
@@ -50280,16 +50615,13 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50280
50615
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50281
50616
|
className: "row ml-0 mr-0 d-flex justify-content-center w-100"
|
|
50282
50617
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50283
|
-
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
|
|
50618
|
+
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
|
|
50284
50619
|
style: {
|
|
50285
50620
|
height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
|
|
50286
50621
|
}
|
|
50287
50622
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50288
50623
|
className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
|
|
50289
|
-
style: {
|
|
50290
|
-
height: '100%',
|
|
50291
|
-
width: '100%'
|
|
50292
|
-
}
|
|
50624
|
+
style: {}
|
|
50293
50625
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50294
50626
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50295
50627
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -50306,10 +50638,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50306
50638
|
}
|
|
50307
50639
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50308
50640
|
className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
|
|
50309
|
-
style: {
|
|
50310
|
-
height: '100%',
|
|
50311
|
-
width: '100%'
|
|
50312
|
-
}
|
|
50641
|
+
style: {}
|
|
50313
50642
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50314
50643
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50315
50644
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -52266,6 +52595,32 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52266
52595
|
backgroundColor: sectionproperties.linebgcolor,
|
|
52267
52596
|
borderRadius: '5px'
|
|
52268
52597
|
}
|
|
52598
|
+
}),
|
|
52599
|
+
imageimage: glamor.css({
|
|
52600
|
+
width: '100%',
|
|
52601
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52602
|
+
margin: 0,
|
|
52603
|
+
padding: 0,
|
|
52604
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
52605
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52606
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52607
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52608
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52609
|
+
'@media (max-width: 800px)': {
|
|
52610
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
|
|
52611
|
+
}
|
|
52612
|
+
}),
|
|
52613
|
+
editortext: glamor.css({
|
|
52614
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
|
|
52615
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
52616
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52617
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52618
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52619
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
52620
|
+
'@media (max-width: 800px)': {
|
|
52621
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
|
|
52622
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
|
|
52623
|
+
}
|
|
52269
52624
|
})
|
|
52270
52625
|
};
|
|
52271
52626
|
var SectionTitle = function SectionTitle() {
|
|
@@ -52350,15 +52705,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52350
52705
|
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
|
|
52351
52706
|
}
|
|
52352
52707
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
52353
|
-
"class":
|
|
52354
|
-
style: {
|
|
52355
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
52356
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
52357
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52358
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52359
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52360
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
52361
|
-
},
|
|
52708
|
+
"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 ',
|
|
52709
|
+
style: {},
|
|
52362
52710
|
dangerouslySetInnerHTML: {
|
|
52363
52711
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
52364
52712
|
}
|
|
@@ -52441,20 +52789,11 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52441
52789
|
}
|
|
52442
52790
|
}
|
|
52443
52791
|
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
52792
|
+
"class": section_styles.imageimage,
|
|
52444
52793
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52445
52794
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52446
52795
|
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),
|
|
52447
|
-
style: {
|
|
52448
|
-
width: '100%',
|
|
52449
|
-
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52450
|
-
margin: 0,
|
|
52451
|
-
padding: 0,
|
|
52452
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
52453
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52454
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52455
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52456
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
52457
|
-
}
|
|
52796
|
+
style: {}
|
|
52458
52797
|
}));
|
|
52459
52798
|
};
|
|
52460
52799
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -52472,12 +52811,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52472
52811
|
width: sectionproperties.width + 'vw'
|
|
52473
52812
|
}
|
|
52474
52813
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52475
|
-
"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',
|
|
52814
|
+
"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 ',
|
|
52476
52815
|
style: {
|
|
52477
52816
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
52478
52817
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
52479
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
52480
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52818
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
52819
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52481
52820
|
marginTop: sectionproperties.marginTop + 'px',
|
|
52482
52821
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
52483
52822
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|