tabexseriescomponents 0.0.320 → 0.0.321
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 +143 -53
- package/dist/index.esm.js +143 -53
- package/dist/index.umd.js +143 -53
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2164,7 +2164,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2164
2164
|
}
|
|
2165
2165
|
}, /*#__PURE__*/React.createElement("span", {
|
|
2166
2166
|
className: "ml-1 mr-1"
|
|
2167
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), sectionproperties.btnposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
2167
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2168
2168
|
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
|
|
2169
2169
|
onClick: function onClick() {
|
|
2170
2170
|
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
@@ -2425,7 +2425,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2425
2425
|
width: "20px",
|
|
2426
2426
|
height: "20px",
|
|
2427
2427
|
duration: "1s"
|
|
2428
|
-
}))), sectionproperties.btnposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
|
|
2428
|
+
}))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2429
2429
|
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
|
|
2430
2430
|
onClick: function onClick() {
|
|
2431
2431
|
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
@@ -2453,7 +2453,17 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2453
2453
|
size: sectionproperties.favBtnIconfontsize
|
|
2454
2454
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
2455
2455
|
size: sectionproperties.favBtnIconfontsize
|
|
2456
|
-
})))
|
|
2456
|
+
}))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React.createElement("p", {
|
|
2457
|
+
"class": "m-0 p-0",
|
|
2458
|
+
style: {
|
|
2459
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2460
|
+
}
|
|
2461
|
+
}, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React.createElement("p", {
|
|
2462
|
+
"class": "m-0 p-0",
|
|
2463
|
+
style: {
|
|
2464
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
2465
|
+
}
|
|
2466
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : (_fetchProductInfoQuer73 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : (_fetchProductInfoQuer74 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
2457
2467
|
"class": "row m-0 w-100 mt-3",
|
|
2458
2468
|
style: {
|
|
2459
2469
|
overflow: 'hidden'
|
|
@@ -2499,7 +2509,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2499
2509
|
width: "20px",
|
|
2500
2510
|
height: "20px",
|
|
2501
2511
|
duration: "1s"
|
|
2502
|
-
}))), sectionproperties.btnposition == 'Besides Cart Button' && /*#__PURE__*/React.createElement("div", {
|
|
2512
|
+
}))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2503
2513
|
className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
|
|
2504
2514
|
onClick: function onClick() {
|
|
2505
2515
|
addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
@@ -2599,7 +2609,23 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2599
2609
|
}
|
|
2600
2610
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
2601
2611
|
"class": "col-lg-12 mt-2 p-0"
|
|
2602
|
-
}, ShareButtonsContainer())
|
|
2612
|
+
}, ShareButtonsContainer()), sectionproperties.storeinfoposition == 'Below Information' && /*#__PURE__*/React.createElement("div", {
|
|
2613
|
+
className: productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
|
|
2614
|
+
style: {}
|
|
2615
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2616
|
+
"class": "row m-0 w-100",
|
|
2617
|
+
style: {
|
|
2618
|
+
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
2619
|
+
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
2620
|
+
}
|
|
2621
|
+
}, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
2622
|
+
"class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
|
|
2623
|
+
style: {}
|
|
2624
|
+
}, /*#__PURE__*/React.createElement("hr", {
|
|
2625
|
+
"class": "my-3"
|
|
2626
|
+
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
2627
|
+
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
2628
|
+
}, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React.createElement("div", {
|
|
2603
2629
|
className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
|
|
2604
2630
|
style: {
|
|
2605
2631
|
borderLeft: langdetect == 'en' ? '1px solid #eee' : 0,
|
|
@@ -4775,7 +4801,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4775
4801
|
// </div>
|
|
4776
4802
|
// );
|
|
4777
4803
|
// };
|
|
4778
|
-
var productinfo_cssstyles = {
|
|
4804
|
+
var productinfo_cssstyles = _defineProperty({
|
|
4779
4805
|
containerstyles: css({
|
|
4780
4806
|
marginTop: sectionproperties.marginTop + 'px',
|
|
4781
4807
|
'@media (max-width: 800px)': {
|
|
@@ -4965,6 +4991,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4965
4991
|
marginBottom: sectionproperties.marginBottom + 'px'
|
|
4966
4992
|
}),
|
|
4967
4993
|
wishlist_btn: css({
|
|
4994
|
+
// marginTop: sectionproperties.favbtnmargintop + 'px',
|
|
4968
4995
|
width: sectionproperties.favBtnWidth + 'px',
|
|
4969
4996
|
height: sectionproperties.favBtnHeight + 'px',
|
|
4970
4997
|
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
@@ -4982,7 +5009,11 @@ var Productinfo = function Productinfo(props) {
|
|
|
4982
5009
|
color: sectionproperties.favBtnTextcoloronhover,
|
|
4983
5010
|
borderColor: sectionproperties.favBtnTextcoloronhover
|
|
4984
5011
|
}
|
|
5012
|
+
// '@media (max-width: 800px)': {
|
|
5013
|
+
// marginTop: sectionproperties.favbtnmargintopresp + 'px',
|
|
5014
|
+
// },
|
|
4985
5015
|
}),
|
|
5016
|
+
|
|
4986
5017
|
productname: css({
|
|
4987
5018
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
4988
5019
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
@@ -5088,7 +5119,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
5088
5119
|
background: sectionproperties.storeinfobtnbgcoloronhover
|
|
5089
5120
|
}
|
|
5090
5121
|
})
|
|
5091
|
-
}
|
|
5122
|
+
}, "storeinfocontainer", css({
|
|
5123
|
+
marginTop: sectionproperties.storeinfomarginvertical + 'px',
|
|
5124
|
+
'@media (max-width: 800px)': {
|
|
5125
|
+
marginTop: sectionproperties.storeinfomarginverticalresp + 'px'
|
|
5126
|
+
}
|
|
5127
|
+
}));
|
|
5092
5128
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
5093
5129
|
var _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32;
|
|
5094
5130
|
var price = 0;
|
|
@@ -15617,7 +15653,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
15617
15653
|
}
|
|
15618
15654
|
})));
|
|
15619
15655
|
}
|
|
15620
|
-
}), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
15656
|
+
}), authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
15621
15657
|
className: "row m-0 w-100"
|
|
15622
15658
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15623
15659
|
className: "col-lg-12 d-flex justify-content-start",
|
|
@@ -15633,7 +15669,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
15633
15669
|
style: {
|
|
15634
15670
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
15635
15671
|
}
|
|
15636
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
15672
|
+
}))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
15637
15673
|
className: "row m-0 w-100"
|
|
15638
15674
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15639
15675
|
className: "col-lg-12 d-flex justify-content-start",
|
|
@@ -15649,7 +15685,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
15649
15685
|
style: {
|
|
15650
15686
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
15651
15687
|
}
|
|
15652
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
15688
|
+
}))), templateproperties_context.showpolicies == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
15653
15689
|
className: "row m-0 w-100"
|
|
15654
15690
|
}, /*#__PURE__*/React.createElement("div", {
|
|
15655
15691
|
className: "col-lg-12 d-flex justify-content-start",
|
|
@@ -30510,7 +30546,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
30510
30546
|
function ownKeys$1w(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
30511
30547
|
function _objectSpread$1w(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1w(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1w(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
30512
30548
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
30513
|
-
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
30549
|
+
var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i3, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
30514
30550
|
var lang = props.actions.lang;
|
|
30515
30551
|
var langdetect = props.actions.langdetect;
|
|
30516
30552
|
var setlang = props.actions.setlang;
|
|
@@ -30844,7 +30880,28 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30844
30880
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
30845
30881
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
30846
30882
|
}
|
|
30847
|
-
}, /*#__PURE__*/React.createElement("
|
|
30883
|
+
}, sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
30884
|
+
href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
|
|
30885
|
+
target: '_blank',
|
|
30886
|
+
style: {
|
|
30887
|
+
position: 'fixed',
|
|
30888
|
+
bottom: 10,
|
|
30889
|
+
right: 10,
|
|
30890
|
+
zIndex: 999999,
|
|
30891
|
+
transition: 'all 0.3s ease-out'
|
|
30892
|
+
}
|
|
30893
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
30894
|
+
src: 'https://tabex-co.com/storage/StaticImages/whatsapp.png',
|
|
30895
|
+
style: {
|
|
30896
|
+
width: '40px',
|
|
30897
|
+
height: '40px',
|
|
30898
|
+
cursor: 'pointer'
|
|
30899
|
+
}
|
|
30900
|
+
})), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
30901
|
+
sectionpropertiesprops: sectionproperties,
|
|
30902
|
+
templateproperties_contextprops: templateproperties_context,
|
|
30903
|
+
actions: actions
|
|
30904
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
30848
30905
|
"class": "".concat(header_cssstyles.header_outercontainer) + ' d-flex d-md-none row ml-0 mr-0 '
|
|
30849
30906
|
}, /*#__PURE__*/React.createElement("div", {
|
|
30850
30907
|
"class": "".concat(headerstyles$4.upperheadersection, " ").concat(header_cssstyles.upperheadersection) + ' row m-0 w-100 d-flex align-items-center plr-1025-1 ',
|
|
@@ -30852,7 +30909,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30852
30909
|
zIndex: 201
|
|
30853
30910
|
}
|
|
30854
30911
|
}, /*#__PURE__*/React.createElement("div", {
|
|
30855
|
-
"class":
|
|
30912
|
+
"class": sectionproperties.centeredpartitions == 'Yes' ? 'col-lg-3 p-0 d-flex align-items-center justify-content-start' : 'col-lg-2 p-0 d-flex align-items-center justify-content-start'
|
|
30856
30913
|
}, /*#__PURE__*/React.createElement("div", {
|
|
30857
30914
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
30858
30915
|
style: {
|
|
@@ -30870,13 +30927,13 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30870
30927
|
maxHeight: '100%'
|
|
30871
30928
|
}
|
|
30872
30929
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
30873
|
-
"class":
|
|
30930
|
+
"class": sectionproperties.centeredpartitions == 'Yes' ? 'col-xl-6 col-lg-6 p-0 d-flex align-items-center justify-content-center' : 'col-xl-7 col-lg-6 p-0 d-flex align-items-center justify-content-center'
|
|
30874
30931
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
30875
30932
|
"class": ' row d-flex justify-content-center m-0 ',
|
|
30876
30933
|
style: {
|
|
30877
30934
|
width: sectionproperties.searchbarcont_width + '%'
|
|
30878
30935
|
}
|
|
30879
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
30936
|
+
}, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
30880
30937
|
"class": 'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start ',
|
|
30881
30938
|
onClick: function onClick() {
|
|
30882
30939
|
setdropdownselect(!dropdownselect);
|
|
@@ -30910,7 +30967,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30910
30967
|
minWidth: '250px',
|
|
30911
30968
|
marginLeft: '0px'
|
|
30912
30969
|
}
|
|
30913
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
30970
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : (_authdetailsContext$i3 = _authdetailsContext$i2.instcollections) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
|
|
30914
30971
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
30915
30972
|
onClick: function onClick() {
|
|
30916
30973
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
@@ -30923,7 +30980,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30923
30980
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
|
|
30924
30981
|
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != authdetailsContext.instinfo.instcollections.length - 1 && /*#__PURE__*/React.createElement(Dropdown.Divider, null));
|
|
30925
30982
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
30926
|
-
"class":
|
|
30983
|
+
"class": sectionproperties.generalbtn_show == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center' : 'col-xl-12 col-lg-12 p-0 d-flex justify-content-start align-items-center'
|
|
30927
30984
|
}, /*#__PURE__*/React.createElement("div", {
|
|
30928
30985
|
"class": header_cssstyles.searchbarcont + ' p-0 m-0 w-100 ',
|
|
30929
30986
|
style: {
|
|
@@ -30931,14 +30988,17 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30931
30988
|
}
|
|
30932
30989
|
}, /*#__PURE__*/React.createElement("input", {
|
|
30933
30990
|
type: "text",
|
|
30934
|
-
placeholder:
|
|
30935
|
-
"class": "".concat(header_cssstyles.searchbarcont_input)
|
|
30991
|
+
placeholder: langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar,
|
|
30992
|
+
"class": "".concat(header_cssstyles.searchbarcont_input),
|
|
30936
30993
|
onChange: function onChange(event) {
|
|
30937
30994
|
setSearchHeaderInputContext(event.target.value);
|
|
30995
|
+
},
|
|
30996
|
+
style: {
|
|
30997
|
+
paddingLeft: sectionproperties.searchbarcont_paddingLeft + 'px'
|
|
30938
30998
|
}
|
|
30939
30999
|
}), /*#__PURE__*/React.createElement("div", {
|
|
30940
31000
|
"class": "".concat(header_cssstyles.searchbar_icon_cont) + ' d-flex align-items-center justify-content-center m-0 p-0 '
|
|
30941
|
-
}, /*#__PURE__*/React.createElement(
|
|
31001
|
+
}, /*#__PURE__*/React.createElement(BiSearch, {
|
|
30942
31002
|
color: sectionproperties.searchbaricon_color,
|
|
30943
31003
|
size: sectionproperties.searchbaricon_fontsize,
|
|
30944
31004
|
style: {
|
|
@@ -30949,7 +31009,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30949
31009
|
srcfromprops: 'headerfullwidth',
|
|
30950
31010
|
actions: actions
|
|
30951
31011
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
30952
|
-
"class": sectionproperties.btnsposition == 'Top' ? 'col-xl-3 col-lg-4 plr-1025-0' : 'col-xl-3 col-lg-4 plr-1025-1',
|
|
31012
|
+
"class": sectionproperties.centeredpartitions == 'Yes' ? 'col-xl-3 col-lg-3 plr-1025-0' : sectionproperties.btnsposition == 'Top' ? 'col-xl-3 col-lg-4 plr-1025-0' : 'col-xl-3 col-lg-4 plr-1025-1',
|
|
30953
31013
|
style: {
|
|
30954
31014
|
paddingLeft: langdetect == 'en' ? sectionproperties.btnsposition == 'Top' ? authdetailsContext.loggedin == true ? 0 : '2rem' : '3rem' : 0,
|
|
30955
31015
|
paddingRight: langdetect == 'ar' ? sectionproperties.btnsposition == 'Top' ? authdetailsContext.loggedin == true ? 0 : '2rem' : '3rem' : 0
|
|
@@ -30991,7 +31051,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30991
31051
|
letterSpacing: '2px'
|
|
30992
31052
|
},
|
|
30993
31053
|
"class": ' p-0 m-0 '
|
|
30994
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))), sectionproperties.btnsposition == 'Top' && /*#__PURE__*/React.createElement("div", {
|
|
31054
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))), sectionproperties.btnsposition == 'Top' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
30995
31055
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
30996
31056
|
onClick: function onClick() {
|
|
30997
31057
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
@@ -31033,7 +31093,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
31033
31093
|
size: sectionproperties.cartBtn_iconFontSize
|
|
31034
31094
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
31035
31095
|
size: sectionproperties.cartBtn_iconFontSize
|
|
31036
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
31096
|
+
})), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
31037
31097
|
"class": langdetect == 'en' ? 'headerdropdownml dropdown-toggle_w100' : 'headerdropdownmr dropdown-toggle_w100',
|
|
31038
31098
|
style: {
|
|
31039
31099
|
width: authdetailsContext.loggedin == true ? 'auto' : langdetect == 'en' ? '105px' : '120px',
|
|
@@ -31300,7 +31360,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
31300
31360
|
paddingRightprops: '35px',
|
|
31301
31361
|
subheadercontentpositionprops: 'start'
|
|
31302
31362
|
}
|
|
31303
|
-
})), sectionproperties.btnsposition == 'Bottom' && /*#__PURE__*/React.createElement("div", {
|
|
31363
|
+
})), sectionproperties.btnsposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
31304
31364
|
"class": "col-lg-3 d-flex align-items-center justify-content-end"
|
|
31305
31365
|
}, /*#__PURE__*/React.createElement("div", {
|
|
31306
31366
|
"class": "".concat(header_cssstyles.wishlist_btn) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
@@ -36365,6 +36425,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
36365
36425
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
36366
36426
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
36367
36427
|
props.actions.ikimagecredcontext;
|
|
36428
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
36368
36429
|
useEffect(function () {
|
|
36369
36430
|
var secpropobj = {};
|
|
36370
36431
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -36510,7 +36571,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
36510
36571
|
}
|
|
36511
36572
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
36512
36573
|
}
|
|
36513
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
36574
|
+
}), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36514
36575
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
36515
36576
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36516
36577
|
onClick: function onClick() {
|
|
@@ -36521,7 +36582,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
36521
36582
|
style: {
|
|
36522
36583
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
36523
36584
|
}
|
|
36524
|
-
}, lang.wishlist))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
36585
|
+
}, lang.wishlist))), authdetailsContext.loggedin && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36525
36586
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
36526
36587
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36527
36588
|
onClick: function onClick() {
|
|
@@ -36532,7 +36593,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
36532
36593
|
style: {
|
|
36533
36594
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
36534
36595
|
}
|
|
36535
|
-
}, lang.orderhistory))), /*#__PURE__*/React.createElement("div", {
|
|
36596
|
+
}, lang.orderhistory))), templateproperties_context.showpolicies == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36536
36597
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
36537
36598
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36538
36599
|
onClick: function onClick() {
|
|
@@ -42453,6 +42514,40 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42453
42514
|
borderBottomWidth: sectionproperties.inputfieldborderWidth + 'px',
|
|
42454
42515
|
borderBottomColor: sectionproperties.inputfieldborderColor,
|
|
42455
42516
|
width: '100%'
|
|
42517
|
+
}),
|
|
42518
|
+
imgcontainer: css({
|
|
42519
|
+
position: 'absolute',
|
|
42520
|
+
top: 0,
|
|
42521
|
+
bottom: 0,
|
|
42522
|
+
right: 0,
|
|
42523
|
+
left: 0,
|
|
42524
|
+
zIndex: 1,
|
|
42525
|
+
':before': {
|
|
42526
|
+
width: '100%',
|
|
42527
|
+
height: '100%',
|
|
42528
|
+
background: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
|
|
42529
|
+
zIndex: 1,
|
|
42530
|
+
position: 'absolute',
|
|
42531
|
+
content: 's',
|
|
42532
|
+
fontSize: 0,
|
|
42533
|
+
left: 0,
|
|
42534
|
+
right: 0,
|
|
42535
|
+
top: 0,
|
|
42536
|
+
bottom: 0
|
|
42537
|
+
}
|
|
42538
|
+
}),
|
|
42539
|
+
container: css({
|
|
42540
|
+
backgroundSize: sectionproperties.bgcovercontain,
|
|
42541
|
+
width: '100%',
|
|
42542
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
|
|
42543
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
42544
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
42545
|
+
position: 'relative',
|
|
42546
|
+
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
42547
|
+
marginRight: sectionproperties.card_marginRight + 'px',
|
|
42548
|
+
'@media (max-width: 800px)': {
|
|
42549
|
+
height: sectionproperties.height_responsive + 'vh'
|
|
42550
|
+
}
|
|
42456
42551
|
})
|
|
42457
42552
|
};
|
|
42458
42553
|
var countries = [{
|
|
@@ -42479,27 +42574,23 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42479
42574
|
label: 'Alabama'
|
|
42480
42575
|
}];
|
|
42481
42576
|
return /*#__PURE__*/React.createElement("div", {
|
|
42482
|
-
"class":
|
|
42577
|
+
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
42578
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
42579
|
+
"class": sectionstyles.imgcontainer,
|
|
42483
42580
|
style: {
|
|
42484
|
-
// background: `linearGradient(0deg, rgba(255, 0, 150, 0.3), rgba(255, 0, 150, 0.3))`,
|
|
42485
|
-
// backgroundImage: imagesarray.length != 0 ? 'url(' + serverbaselink + imagesarray[0].bgsection_image + ')' : '',
|
|
42486
|
-
backgroundSize: sectionproperties.bgcovercontain,
|
|
42487
42581
|
width: '100%',
|
|
42488
|
-
height:
|
|
42489
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
42490
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
42491
|
-
position: 'relative'
|
|
42582
|
+
height: 'auto'
|
|
42492
42583
|
}
|
|
42493
42584
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
42494
42585
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
42495
42586
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
42496
|
-
path: imagesarray.length != 0 ? langdetect == 'en' ? imagesarray[0].bgsection_image : imagesarray[0].bgsection_image_ar : '',
|
|
42587
|
+
path: imagesarray.length != 0 ? langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0].bgsection_image : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0].bgsection_image_ar : '',
|
|
42497
42588
|
style: {
|
|
42498
42589
|
width: '100%',
|
|
42499
42590
|
height: '100%',
|
|
42500
|
-
objectFit:
|
|
42591
|
+
objectFit: 'cover'
|
|
42501
42592
|
}
|
|
42502
|
-
}), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
42593
|
+
})), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
42503
42594
|
"class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
|
|
42504
42595
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42505
42596
|
"class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
|
|
@@ -42598,11 +42689,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42598
42689
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
42599
42690
|
"class": "row m-0 w-100 allcentered",
|
|
42600
42691
|
style: {
|
|
42601
|
-
|
|
42602
|
-
top: 0,
|
|
42603
|
-
bottom: 0,
|
|
42604
|
-
right: 0,
|
|
42605
|
-
left: 0
|
|
42692
|
+
zIndex: 2
|
|
42606
42693
|
}
|
|
42607
42694
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42608
42695
|
"class": "row m-0 w-100 allcentered"
|
|
@@ -42628,7 +42715,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42628
42715
|
maxWidth: '500px'
|
|
42629
42716
|
}
|
|
42630
42717
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
|
|
42631
|
-
"class": "col-lg-
|
|
42718
|
+
"class": "col-lg-9 col-md-10 col-sm-10 allcentered mt-3",
|
|
42632
42719
|
style: {
|
|
42633
42720
|
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
42634
42721
|
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
@@ -42644,33 +42731,33 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42644
42731
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42645
42732
|
"class": "row m-0 w-100 allcentered"
|
|
42646
42733
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42647
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
|
|
42734
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
42648
42735
|
}, /*#__PURE__*/React.createElement("label", {
|
|
42649
42736
|
className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
|
|
42650
42737
|
}, lang.country), /*#__PURE__*/React.createElement(Select$4, {
|
|
42651
42738
|
options: countries,
|
|
42652
42739
|
styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
|
|
42653
42740
|
})), /*#__PURE__*/React.createElement("div", {
|
|
42654
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
|
|
42741
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
42655
42742
|
}, /*#__PURE__*/React.createElement("label", {
|
|
42656
42743
|
className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
|
|
42657
|
-
}, langdetect == 'en' ? 'State' : '
|
|
42744
|
+
}, langdetect == 'en' ? 'State/Gov' : 'الولاية/المحافظة'), /*#__PURE__*/React.createElement(Select$4, {
|
|
42658
42745
|
options: states,
|
|
42659
42746
|
styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
|
|
42660
42747
|
})), /*#__PURE__*/React.createElement("div", {
|
|
42661
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
|
|
42748
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
42662
42749
|
}, /*#__PURE__*/React.createElement("label", {
|
|
42663
42750
|
className: "".concat(sectionstyles.input_label_name) + ' mb-2 '
|
|
42664
42751
|
}, langdetect == 'en' ? 'City' : 'المدينة'), /*#__PURE__*/React.createElement(Select$4, {
|
|
42665
42752
|
options: states,
|
|
42666
42753
|
styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
|
|
42667
42754
|
})), /*#__PURE__*/React.createElement("div", {
|
|
42668
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 '
|
|
42755
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
42669
42756
|
}, /*#__PURE__*/React.createElement("label", {
|
|
42670
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-
|
|
42671
|
-
}, langdetect == 'en' ? '
|
|
42757
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
|
|
42758
|
+
}, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("input", {
|
|
42672
42759
|
className: "".concat(sectionstyles.dateInput),
|
|
42673
|
-
type: "
|
|
42760
|
+
type: "number"
|
|
42674
42761
|
}))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
42675
42762
|
"class": "col-lg-12 p-0 allcentered mt-3"
|
|
42676
42763
|
}, /*#__PURE__*/React.createElement("button", {
|
|
@@ -45286,7 +45373,10 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
45286
45373
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
|
|
45287
45374
|
};
|
|
45288
45375
|
return /*#__PURE__*/React.createElement("div", {
|
|
45289
|
-
"class": "w-100 allcentered"
|
|
45376
|
+
"class": "w-100 allcentered",
|
|
45377
|
+
style: {
|
|
45378
|
+
background: sectionproperties.outerbgcolor
|
|
45379
|
+
}
|
|
45290
45380
|
}, /*#__PURE__*/React.createElement("div", {
|
|
45291
45381
|
"class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
|
|
45292
45382
|
style: {
|