tabexseriescomponents 0.0.739 → 0.0.741
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 +65 -14
- package/dist/index.esm.js +65 -14
- package/dist/index.umd.js +65 -14
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -51019,7 +51019,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
51019
51019
|
color: sectionproperties.generaltext_fontColor,
|
|
51020
51020
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
51021
51021
|
}
|
|
51022
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51022
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar))))), sectionproperties.showbottomnav == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
51023
51023
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
51024
51024
|
style: {
|
|
51025
51025
|
position: 'fixed',
|
|
@@ -62468,7 +62468,7 @@ styleInject(css_248z$i);
|
|
|
62468
62468
|
function ownKeys$X(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; }
|
|
62469
62469
|
function _objectSpread$X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
62470
62470
|
var Freetextsection = function Freetextsection(props) {
|
|
62471
|
-
var _maincontainerarrayof2, _maincontainerarrayof3;
|
|
62471
|
+
var _maincontainerarrayof2, _maincontainerarrayof3, _maincontainerarrayof4;
|
|
62472
62472
|
var _useState = React.useState(''),
|
|
62473
62473
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
62474
62474
|
sectionproperties = _useState2[0],
|
|
@@ -62502,6 +62502,10 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62502
62502
|
}, [sectionproperties]);
|
|
62503
62503
|
var section_styles = {
|
|
62504
62504
|
sectiontitlespan: glamor.css({
|
|
62505
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62506
|
+
'@media (max-width: 800px)': {
|
|
62507
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
62508
|
+
},
|
|
62505
62509
|
':after': {
|
|
62506
62510
|
height: '5px',
|
|
62507
62511
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
@@ -62564,7 +62568,7 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62564
62568
|
"class": "d-flex align-items-center flex-row",
|
|
62565
62569
|
style: {
|
|
62566
62570
|
position: 'relative',
|
|
62567
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
62571
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
62568
62572
|
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
|
|
62569
62573
|
}
|
|
62570
62574
|
}, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -62581,6 +62585,7 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62581
62585
|
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
62582
62586
|
padding: sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? 7 : 0,
|
|
62583
62587
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
62588
|
+
// justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
62584
62589
|
}
|
|
62585
62590
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
62586
62591
|
"class": section_styles.line_right,
|
|
@@ -62663,15 +62668,8 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62663
62668
|
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
62664
62669
|
}
|
|
62665
62670
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62666
|
-
"class": "w-100 d-flex
|
|
62667
|
-
style: {
|
|
62668
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62669
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
62670
|
-
}
|
|
62671
|
-
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62672
|
-
"class": "w-100 d-none d-md-flex",
|
|
62671
|
+
"class": "w-100 d-flex",
|
|
62673
62672
|
style: {
|
|
62674
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
62675
62673
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
62676
62674
|
}
|
|
62677
62675
|
}, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -62695,19 +62693,72 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62695
62693
|
style: {
|
|
62696
62694
|
background: sectionproperties.outerbgcolor
|
|
62697
62695
|
}
|
|
62696
|
+
}, sectionproperties.sectionbgstyle == 'Besides each other' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62697
|
+
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex justify-content-center align-items-center ',
|
|
62698
|
+
style: {
|
|
62699
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
62700
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62701
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage) + ')' : '' : ''
|
|
62702
|
+
}
|
|
62698
62703
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62704
|
+
"class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
|
|
62705
|
+
style: {
|
|
62706
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
62707
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
62708
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
62709
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
62710
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
62711
|
+
position: 'relative',
|
|
62712
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
62713
|
+
width: sectionproperties.width + 'vw'
|
|
62714
|
+
}
|
|
62715
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62716
|
+
"class": "col-lg-12 p-0"
|
|
62717
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62718
|
+
"class": "row m-0 w-100 allcentered"
|
|
62719
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62720
|
+
"class": "",
|
|
62721
|
+
style: {
|
|
62722
|
+
background: sectionproperties.reservation_bgcolor,
|
|
62723
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
62724
|
+
boxShadow: '0 0 10px ' + sectionproperties.innersectionshadowcolor,
|
|
62725
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
62726
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
62727
|
+
paddingTop: sectionproperties.innersectionpaddingvertical + 'px',
|
|
62728
|
+
paddingBottom: sectionproperties.innersectionpaddingvertical + 'px',
|
|
62729
|
+
width: sectionproperties.innersectionWidth + '%'
|
|
62730
|
+
}
|
|
62731
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62732
|
+
"class": "row m-0 w-100"
|
|
62733
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62734
|
+
"class": sectionproperties.innercolsratio == '2:10' ? ' allcentered col-lg-2 col-md-12 p-md-0' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 allcentered col-lg-4 col-md-12 p-md-0' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 allcentered col-lg-5 col-md-12 p-md-0' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 allcentered col-lg-6 col-md-12 p-md-0' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 allcentered col-lg-7 col-md-12 p-md-0' : 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0'
|
|
62735
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62736
|
+
"class": "w-100 d-flex allcentered mb-md-4"
|
|
62737
|
+
}, SectionTitle())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62738
|
+
"class": sectionproperties.innercolsratio == '2:10' ? 'col-md-12 d-flex justify-content-center col-lg-10 p-md-0 col-md-12' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 d-flex justify-content-center col-lg-9 p-md-0 col-md-12' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 d-flex justify-content-center col-lg-8 p-md-0 col-md-12' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 d-flex justify-content-center col-lg-7 p-md-0 col-md-12' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 d-flex justify-content-center col-lg-6 p-md-0 col-md-12' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 d-flex justify-content-center col-lg-5 p-md-0 col-md-12' : 'col-md-12 d-flex justify-content-center col-lg-3 p-md-0 col-md-12',
|
|
62739
|
+
style: {
|
|
62740
|
+
paddingLeft: langdetect == 'en' ? '50px' : 0,
|
|
62741
|
+
paddingRight: langdetect == 'ar' ? '50px' : 0,
|
|
62742
|
+
alignItems: sectionproperties.centerdescriptionvertical == 'Centered' ? 'center' : ''
|
|
62743
|
+
}
|
|
62744
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62745
|
+
"class": "row m-0 w-100 text-start text-md-center",
|
|
62746
|
+
style: {
|
|
62747
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
62748
|
+
}
|
|
62749
|
+
}, Description())))))))), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62699
62750
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
|
|
62700
62751
|
style: {
|
|
62701
62752
|
marginTop: sectionproperties.marginTop + 'px',
|
|
62702
62753
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62703
|
-
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((
|
|
62754
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimage) + ')' : '' : ''
|
|
62704
62755
|
}
|
|
62705
|
-
}, SectionContent('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62756
|
+
}, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62706
62757
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center ',
|
|
62707
62758
|
style: {
|
|
62708
62759
|
marginTop: sectionproperties.marginTopResp + 'px',
|
|
62709
62760
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62710
|
-
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((
|
|
62761
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof4 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof4 === void 0 ? void 0 : _maincontainerarrayof4.back_bgimage) + ')' : '' : ''
|
|
62711
62762
|
}
|
|
62712
62763
|
}, SectionContent('responsive')));
|
|
62713
62764
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -50970,7 +50970,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
50970
50970
|
color: sectionproperties.generaltext_fontColor,
|
|
50971
50971
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
50972
50972
|
}
|
|
50973
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar))))), /*#__PURE__*/React.createElement("div", {
|
|
50973
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar))))), sectionproperties.showbottomnav == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
50974
50974
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
50975
50975
|
style: {
|
|
50976
50976
|
position: 'fixed',
|
|
@@ -62419,7 +62419,7 @@ styleInject(css_248z$i);
|
|
|
62419
62419
|
function ownKeys$X(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; }
|
|
62420
62420
|
function _objectSpread$X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
62421
62421
|
var Freetextsection = function Freetextsection(props) {
|
|
62422
|
-
var _maincontainerarrayof2, _maincontainerarrayof3;
|
|
62422
|
+
var _maincontainerarrayof2, _maincontainerarrayof3, _maincontainerarrayof4;
|
|
62423
62423
|
var _useState = useState(''),
|
|
62424
62424
|
_useState2 = _slicedToArray(_useState, 2),
|
|
62425
62425
|
sectionproperties = _useState2[0],
|
|
@@ -62453,6 +62453,10 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62453
62453
|
}, [sectionproperties]);
|
|
62454
62454
|
var section_styles = {
|
|
62455
62455
|
sectiontitlespan: css({
|
|
62456
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62457
|
+
'@media (max-width: 800px)': {
|
|
62458
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
62459
|
+
},
|
|
62456
62460
|
':after': {
|
|
62457
62461
|
height: '5px',
|
|
62458
62462
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
@@ -62515,7 +62519,7 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62515
62519
|
"class": "d-flex align-items-center flex-row",
|
|
62516
62520
|
style: {
|
|
62517
62521
|
position: 'relative',
|
|
62518
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
62522
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
62519
62523
|
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
|
|
62520
62524
|
}
|
|
62521
62525
|
}, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
@@ -62532,6 +62536,7 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62532
62536
|
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
62533
62537
|
padding: sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? 7 : 0,
|
|
62534
62538
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
62539
|
+
// justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
62535
62540
|
}
|
|
62536
62541
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
62537
62542
|
"class": section_styles.line_right,
|
|
@@ -62614,15 +62619,8 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62614
62619
|
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
62615
62620
|
}
|
|
62616
62621
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62617
|
-
"class": "w-100 d-flex
|
|
62618
|
-
style: {
|
|
62619
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62620
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
62621
|
-
}
|
|
62622
|
-
}, SectionTitle()), /*#__PURE__*/React.createElement("div", {
|
|
62623
|
-
"class": "w-100 d-none d-md-flex",
|
|
62622
|
+
"class": "w-100 d-flex",
|
|
62624
62623
|
style: {
|
|
62625
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
62626
62624
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
62627
62625
|
}
|
|
62628
62626
|
}, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -62646,19 +62644,72 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
62646
62644
|
style: {
|
|
62647
62645
|
background: sectionproperties.outerbgcolor
|
|
62648
62646
|
}
|
|
62647
|
+
}, sectionproperties.sectionbgstyle == 'Besides each other' && /*#__PURE__*/React.createElement("div", {
|
|
62648
|
+
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex justify-content-center align-items-center ',
|
|
62649
|
+
style: {
|
|
62650
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
62651
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62652
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage) + ')' : '' : ''
|
|
62653
|
+
}
|
|
62649
62654
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62655
|
+
"class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
|
|
62656
|
+
style: {
|
|
62657
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
62658
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
62659
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
62660
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
62661
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
62662
|
+
position: 'relative',
|
|
62663
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
62664
|
+
width: sectionproperties.width + 'vw'
|
|
62665
|
+
}
|
|
62666
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62667
|
+
"class": "col-lg-12 p-0"
|
|
62668
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62669
|
+
"class": "row m-0 w-100 allcentered"
|
|
62670
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62671
|
+
"class": "",
|
|
62672
|
+
style: {
|
|
62673
|
+
background: sectionproperties.reservation_bgcolor,
|
|
62674
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
62675
|
+
boxShadow: '0 0 10px ' + sectionproperties.innersectionshadowcolor,
|
|
62676
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
62677
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
62678
|
+
paddingTop: sectionproperties.innersectionpaddingvertical + 'px',
|
|
62679
|
+
paddingBottom: sectionproperties.innersectionpaddingvertical + 'px',
|
|
62680
|
+
width: sectionproperties.innersectionWidth + '%'
|
|
62681
|
+
}
|
|
62682
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62683
|
+
"class": "row m-0 w-100"
|
|
62684
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62685
|
+
"class": sectionproperties.innercolsratio == '2:10' ? ' allcentered col-lg-2 col-md-12 p-md-0' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 allcentered col-lg-4 col-md-12 p-md-0' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 allcentered col-lg-5 col-md-12 p-md-0' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 allcentered col-lg-6 col-md-12 p-md-0' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 allcentered col-lg-7 col-md-12 p-md-0' : 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0'
|
|
62686
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62687
|
+
"class": "w-100 d-flex allcentered mb-md-4"
|
|
62688
|
+
}, SectionTitle())), /*#__PURE__*/React.createElement("div", {
|
|
62689
|
+
"class": sectionproperties.innercolsratio == '2:10' ? 'col-md-12 d-flex justify-content-center col-lg-10 p-md-0 col-md-12' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 d-flex justify-content-center col-lg-9 p-md-0 col-md-12' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 d-flex justify-content-center col-lg-8 p-md-0 col-md-12' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 d-flex justify-content-center col-lg-7 p-md-0 col-md-12' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 d-flex justify-content-center col-lg-6 p-md-0 col-md-12' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 d-flex justify-content-center col-lg-5 p-md-0 col-md-12' : 'col-md-12 d-flex justify-content-center col-lg-3 p-md-0 col-md-12',
|
|
62690
|
+
style: {
|
|
62691
|
+
paddingLeft: langdetect == 'en' ? '50px' : 0,
|
|
62692
|
+
paddingRight: langdetect == 'ar' ? '50px' : 0,
|
|
62693
|
+
alignItems: sectionproperties.centerdescriptionvertical == 'Centered' ? 'center' : ''
|
|
62694
|
+
}
|
|
62695
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62696
|
+
"class": "row m-0 w-100 text-start text-md-center",
|
|
62697
|
+
style: {
|
|
62698
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
62699
|
+
}
|
|
62700
|
+
}, Description())))))))), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
|
|
62650
62701
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
|
|
62651
62702
|
style: {
|
|
62652
62703
|
marginTop: sectionproperties.marginTop + 'px',
|
|
62653
62704
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62654
|
-
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((
|
|
62705
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimage) + ')' : '' : ''
|
|
62655
62706
|
}
|
|
62656
|
-
}, SectionContent('normal')), /*#__PURE__*/React.createElement("div", {
|
|
62707
|
+
}, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
|
|
62657
62708
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center ',
|
|
62658
62709
|
style: {
|
|
62659
62710
|
marginTop: sectionproperties.marginTopResp + 'px',
|
|
62660
62711
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62661
|
-
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((
|
|
62712
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof4 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof4 === void 0 ? void 0 : _maincontainerarrayof4.back_bgimage) + ')' : '' : ''
|
|
62662
62713
|
}
|
|
62663
62714
|
}, SectionContent('responsive')));
|
|
62664
62715
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -50840,7 +50840,7 @@
|
|
|
50840
50840
|
color: sectionproperties.generaltext_fontColor,
|
|
50841
50841
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
50842
50842
|
}
|
|
50843
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50843
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar))))), sectionproperties.showbottomnav == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50844
50844
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
50845
50845
|
style: {
|
|
50846
50846
|
position: 'fixed',
|
|
@@ -62289,7 +62289,7 @@
|
|
|
62289
62289
|
function ownKeys$X(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; }
|
|
62290
62290
|
function _objectSpread$X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
62291
62291
|
var Freetextsection = function Freetextsection(props) {
|
|
62292
|
-
var _maincontainerarrayof2, _maincontainerarrayof3;
|
|
62292
|
+
var _maincontainerarrayof2, _maincontainerarrayof3, _maincontainerarrayof4;
|
|
62293
62293
|
var _useState = React.useState(''),
|
|
62294
62294
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
62295
62295
|
sectionproperties = _useState2[0],
|
|
@@ -62323,6 +62323,10 @@
|
|
|
62323
62323
|
}, [sectionproperties]);
|
|
62324
62324
|
var section_styles = {
|
|
62325
62325
|
sectiontitlespan: glamor.css({
|
|
62326
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62327
|
+
'@media (max-width: 800px)': {
|
|
62328
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
62329
|
+
},
|
|
62326
62330
|
':after': {
|
|
62327
62331
|
height: '5px',
|
|
62328
62332
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
@@ -62385,7 +62389,7 @@
|
|
|
62385
62389
|
"class": "d-flex align-items-center flex-row",
|
|
62386
62390
|
style: {
|
|
62387
62391
|
position: 'relative',
|
|
62388
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
62392
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
62389
62393
|
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : ''
|
|
62390
62394
|
}
|
|
62391
62395
|
}, sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -62402,6 +62406,7 @@
|
|
|
62402
62406
|
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
62403
62407
|
padding: sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? 7 : 0,
|
|
62404
62408
|
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
62409
|
+
// justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
62405
62410
|
}
|
|
62406
62411
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
62407
62412
|
"class": section_styles.line_right,
|
|
@@ -62484,15 +62489,8 @@
|
|
|
62484
62489
|
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
|
|
62485
62490
|
}
|
|
62486
62491
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62487
|
-
"class": "w-100 d-flex
|
|
62488
|
-
style: {
|
|
62489
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62490
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
62491
|
-
}
|
|
62492
|
-
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62493
|
-
"class": "w-100 d-none d-md-flex",
|
|
62492
|
+
"class": "w-100 d-flex",
|
|
62494
62493
|
style: {
|
|
62495
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
62496
62494
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start'
|
|
62497
62495
|
}
|
|
62498
62496
|
}, SectionTitle()))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -62516,19 +62514,72 @@
|
|
|
62516
62514
|
style: {
|
|
62517
62515
|
background: sectionproperties.outerbgcolor
|
|
62518
62516
|
}
|
|
62517
|
+
}, sectionproperties.sectionbgstyle == 'Besides each other' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62518
|
+
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex justify-content-center align-items-center ',
|
|
62519
|
+
style: {
|
|
62520
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
62521
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62522
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage) + ')' : '' : ''
|
|
62523
|
+
}
|
|
62519
62524
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62525
|
+
"class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
|
|
62526
|
+
style: {
|
|
62527
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
62528
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
62529
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
62530
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
62531
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
62532
|
+
position: 'relative',
|
|
62533
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
62534
|
+
width: sectionproperties.width + 'vw'
|
|
62535
|
+
}
|
|
62536
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62537
|
+
"class": "col-lg-12 p-0"
|
|
62538
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62539
|
+
"class": "row m-0 w-100 allcentered"
|
|
62540
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62541
|
+
"class": "",
|
|
62542
|
+
style: {
|
|
62543
|
+
background: sectionproperties.reservation_bgcolor,
|
|
62544
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
62545
|
+
boxShadow: '0 0 10px ' + sectionproperties.innersectionshadowcolor,
|
|
62546
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
62547
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
62548
|
+
paddingTop: sectionproperties.innersectionpaddingvertical + 'px',
|
|
62549
|
+
paddingBottom: sectionproperties.innersectionpaddingvertical + 'px',
|
|
62550
|
+
width: sectionproperties.innersectionWidth + '%'
|
|
62551
|
+
}
|
|
62552
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62553
|
+
"class": "row m-0 w-100"
|
|
62554
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62555
|
+
"class": sectionproperties.innercolsratio == '2:10' ? ' allcentered col-lg-2 col-md-12 p-md-0' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 allcentered col-lg-4 col-md-12 p-md-0' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 allcentered col-lg-5 col-md-12 p-md-0' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 allcentered col-lg-6 col-md-12 p-md-0' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 allcentered col-lg-7 col-md-12 p-md-0' : 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0'
|
|
62556
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62557
|
+
"class": "w-100 d-flex allcentered mb-md-4"
|
|
62558
|
+
}, SectionTitle())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62559
|
+
"class": sectionproperties.innercolsratio == '2:10' ? 'col-md-12 d-flex justify-content-center col-lg-10 p-md-0 col-md-12' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 d-flex justify-content-center col-lg-9 p-md-0 col-md-12' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 d-flex justify-content-center col-lg-8 p-md-0 col-md-12' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 d-flex justify-content-center col-lg-7 p-md-0 col-md-12' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 d-flex justify-content-center col-lg-6 p-md-0 col-md-12' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 d-flex justify-content-center col-lg-5 p-md-0 col-md-12' : 'col-md-12 d-flex justify-content-center col-lg-3 p-md-0 col-md-12',
|
|
62560
|
+
style: {
|
|
62561
|
+
paddingLeft: langdetect == 'en' ? '50px' : 0,
|
|
62562
|
+
paddingRight: langdetect == 'ar' ? '50px' : 0,
|
|
62563
|
+
alignItems: sectionproperties.centerdescriptionvertical == 'Centered' ? 'center' : ''
|
|
62564
|
+
}
|
|
62565
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62566
|
+
"class": "row m-0 w-100 text-start text-md-center",
|
|
62567
|
+
style: {
|
|
62568
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
62569
|
+
}
|
|
62570
|
+
}, Description())))))))), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62520
62571
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
|
|
62521
62572
|
style: {
|
|
62522
62573
|
marginTop: sectionproperties.marginTop + 'px',
|
|
62523
62574
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62524
|
-
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((
|
|
62575
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimage) + ')' : '' : ''
|
|
62525
62576
|
}
|
|
62526
|
-
}, SectionContent('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62577
|
+
}, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62527
62578
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center ',
|
|
62528
62579
|
style: {
|
|
62529
62580
|
marginTop: sectionproperties.marginTopResp + 'px',
|
|
62530
62581
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
62531
|
-
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((
|
|
62582
|
+
background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof4 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof4 === void 0 ? void 0 : _maincontainerarrayof4.back_bgimage) + ')' : '' : ''
|
|
62532
62583
|
}
|
|
62533
62584
|
}, SectionContent('responsive')));
|
|
62534
62585
|
};
|