tabexseriescomponents 0.2.1194 → 0.2.1196
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 +147 -11
- package/dist/index.esm.js +147 -11
- package/dist/index.umd.js +147 -11
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5063,8 +5063,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5063
5063
|
selected: selectedfromdate,
|
|
5064
5064
|
excludeDates: disableddates,
|
|
5065
5065
|
onChange: function onChange(date) {
|
|
5066
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, from: date });
|
|
5067
|
+
var year = date.getFullYear();
|
|
5068
|
+
var month = String(date.getMonth() + 1).padStart(2, '0');
|
|
5069
|
+
var day = String(date.getDate()).padStart(2, '0');
|
|
5070
|
+
var formatted = "".concat(year, "-").concat(month, "-").concat(day);
|
|
5066
5071
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
5067
|
-
from:
|
|
5072
|
+
from: formatted
|
|
5068
5073
|
}));
|
|
5069
5074
|
setselectedfromdate(date);
|
|
5070
5075
|
},
|
|
@@ -5085,8 +5090,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5085
5090
|
selected: selectedtodate,
|
|
5086
5091
|
excludeDates: disableddates,
|
|
5087
5092
|
onChange: function onChange(date) {
|
|
5093
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, to: date });
|
|
5094
|
+
var year = date.getFullYear();
|
|
5095
|
+
var month = String(date.getMonth() + 1).padStart(2, '0');
|
|
5096
|
+
var day = String(date.getDate()).padStart(2, '0');
|
|
5097
|
+
var formatted = "".concat(year, "-").concat(month, "-").concat(day);
|
|
5088
5098
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
5089
|
-
to:
|
|
5099
|
+
to: formatted
|
|
5090
5100
|
}));
|
|
5091
5101
|
setselectedtodate(date);
|
|
5092
5102
|
},
|
|
@@ -49301,7 +49311,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
49301
49311
|
}, 'SHOP TABLES')))))))));
|
|
49302
49312
|
}
|
|
49303
49313
|
}
|
|
49304
|
-
}), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49314
|
+
}), sectionproperties.showcurrency == 'Show' && authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49305
49315
|
"class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
49306
49316
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49307
49317
|
"class": "row m-0 w-100"
|
|
@@ -51622,8 +51632,8 @@ var Footer1 = function Footer1(props) {
|
|
|
51622
51632
|
style: {
|
|
51623
51633
|
color: sectionproperties.footerinfotext_color,
|
|
51624
51634
|
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
51625
|
-
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
51626
|
-
|
|
51635
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
51636
|
+
textTransform: 'none'
|
|
51627
51637
|
},
|
|
51628
51638
|
onClick: function onClick() {
|
|
51629
51639
|
var _authdetailsContext$i10;
|
|
@@ -76954,7 +76964,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
76954
76964
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
76955
76965
|
};
|
|
76956
76966
|
var SlideshowContent = function SlideshowContent() {
|
|
76957
|
-
var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
76967
|
+
var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i12;
|
|
76958
76968
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76959
76969
|
"class": "col-lg-12 p-0"
|
|
76960
76970
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -77158,7 +77168,133 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
77158
77168
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
77159
77169
|
overflow: 'hidden'
|
|
77160
77170
|
}
|
|
77161
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
77171
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6984710cbe522' && window.location.pathname == '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77172
|
+
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
77173
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
77174
|
+
"class": "d-flex flex-row align-items-center rotating-text2"
|
|
77175
|
+
}, [].concat(_toConsumableArray__default["default"](bgimagearrayofobjs), _toConsumableArray__default["default"](bgimagearrayofobjs)).map(function (cardinfoitem, cardinfoindex) {
|
|
77176
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77177
|
+
"class": "kimage",
|
|
77178
|
+
style: {}
|
|
77179
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
77180
|
+
"class": "kimageimg",
|
|
77181
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77182
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77183
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.imagear,
|
|
77184
|
+
style: {
|
|
77185
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
77186
|
+
margin: 0,
|
|
77187
|
+
padding: 0,
|
|
77188
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77189
|
+
}
|
|
77190
|
+
}));
|
|
77191
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6984710cbe522' && window.location.pathname != '/home' && /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
|
|
77192
|
+
transitionDuration: 1500,
|
|
77193
|
+
duration: sectionproperties.transitionduration,
|
|
77194
|
+
arrow: true,
|
|
77195
|
+
easing: "ease"
|
|
77196
|
+
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
77197
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77198
|
+
"class": "row m-0 w-100 h-sm-auto",
|
|
77199
|
+
style: {
|
|
77200
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
77201
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
77202
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
77203
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
77204
|
+
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
77205
|
+
}
|
|
77206
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77207
|
+
"class": 'p-0 align-items-center d-flex d-md-none',
|
|
77208
|
+
key: index,
|
|
77209
|
+
onClick: function onClick() {
|
|
77210
|
+
if (item.IsClickableimg == 'Yes') {
|
|
77211
|
+
var _authdetailsContext$i10;
|
|
77212
|
+
if (item.linktype == 'Image With External Link') {
|
|
77213
|
+
window.open(item.linkurl, '_blank');
|
|
77214
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68a9e83c05b75') {
|
|
77215
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77216
|
+
} else {
|
|
77217
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
77218
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77219
|
+
// alert('1');
|
|
77220
|
+
} else if (item.productid != undefined && item.productid.length != 0) {
|
|
77221
|
+
// alert(item.productid);
|
|
77222
|
+
// routingcountext('/productinfo/' + item.productid, false, '');
|
|
77223
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
77224
|
+
} else {
|
|
77225
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
77226
|
+
// alert('3');
|
|
77227
|
+
}
|
|
77228
|
+
}
|
|
77229
|
+
}
|
|
77230
|
+
},
|
|
77231
|
+
style: _defineProperty__default["default"]({
|
|
77232
|
+
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
77233
|
+
width: '100%',
|
|
77234
|
+
height: '100%',
|
|
77235
|
+
paddingTop: sectionproperties.paddingTop + 'px'
|
|
77236
|
+
}, "height", sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto')
|
|
77237
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
77238
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77239
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77240
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
|
|
77241
|
+
style: {
|
|
77242
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
77243
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
77244
|
+
margin: 0,
|
|
77245
|
+
padding: 0,
|
|
77246
|
+
width: '100%',
|
|
77247
|
+
height: '100%',
|
|
77248
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77249
|
+
}
|
|
77250
|
+
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77251
|
+
"class": 'p-0 align-items-center d-none d-md-flex ',
|
|
77252
|
+
key: index,
|
|
77253
|
+
style: {
|
|
77254
|
+
width: '100%',
|
|
77255
|
+
height: '100%',
|
|
77256
|
+
// direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
77257
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
77258
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
77259
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
77260
|
+
},
|
|
77261
|
+
onClick: function onClick() {
|
|
77262
|
+
if (item.IsClickableimg == 'Yes') {
|
|
77263
|
+
var _authdetailsContext$i11;
|
|
77264
|
+
if (item.linktype == 'Image With External Link') {
|
|
77265
|
+
window.open(item.linkurl, '_blank');
|
|
77266
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68a9e83c05b75') {
|
|
77267
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77268
|
+
} else {
|
|
77269
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
77270
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77271
|
+
// alert('1');
|
|
77272
|
+
} else if (item.productid != undefined && item.productid.length != 0) {
|
|
77273
|
+
// alert(item.productid);
|
|
77274
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
77275
|
+
|
|
77276
|
+
// routingcountext('/productinfo/' + item.productid, false, '');
|
|
77277
|
+
} else {
|
|
77278
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
77279
|
+
// alert('3');
|
|
77280
|
+
}
|
|
77281
|
+
}
|
|
77282
|
+
}
|
|
77283
|
+
}
|
|
77284
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
77285
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77286
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77287
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
77288
|
+
style: {
|
|
77289
|
+
objectFit: 'contain',
|
|
77290
|
+
margin: 0,
|
|
77291
|
+
padding: 0,
|
|
77292
|
+
width: '100%',
|
|
77293
|
+
height: '100%',
|
|
77294
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77295
|
+
}
|
|
77296
|
+
}), SlideShowTextContainer(item)));
|
|
77297
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6984710cbe522' && /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
|
|
77162
77298
|
transitionDuration: 1500,
|
|
77163
77299
|
duration: sectionproperties.transitionduration,
|
|
77164
77300
|
arrow: true,
|
|
@@ -77178,10 +77314,10 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
77178
77314
|
key: index,
|
|
77179
77315
|
onClick: function onClick() {
|
|
77180
77316
|
if (item.IsClickableimg == 'Yes') {
|
|
77181
|
-
var _authdetailsContext$
|
|
77317
|
+
var _authdetailsContext$i13;
|
|
77182
77318
|
if (item.linktype == 'Image With External Link') {
|
|
77183
77319
|
window.open(item.linkurl, '_blank');
|
|
77184
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
77320
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68a9e83c05b75') {
|
|
77185
77321
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
77186
77322
|
} else {
|
|
77187
77323
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
@@ -77230,10 +77366,10 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
77230
77366
|
},
|
|
77231
77367
|
onClick: function onClick() {
|
|
77232
77368
|
if (item.IsClickableimg == 'Yes') {
|
|
77233
|
-
var _authdetailsContext$
|
|
77369
|
+
var _authdetailsContext$i14;
|
|
77234
77370
|
if (item.linktype == 'Image With External Link') {
|
|
77235
77371
|
window.open(item.linkurl, '_blank');
|
|
77236
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
77372
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68a9e83c05b75') {
|
|
77237
77373
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
77238
77374
|
} else {
|
|
77239
77375
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
package/dist/index.esm.js
CHANGED
|
@@ -5012,8 +5012,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5012
5012
|
selected: selectedfromdate,
|
|
5013
5013
|
excludeDates: disableddates,
|
|
5014
5014
|
onChange: function onChange(date) {
|
|
5015
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, from: date });
|
|
5016
|
+
var year = date.getFullYear();
|
|
5017
|
+
var month = String(date.getMonth() + 1).padStart(2, '0');
|
|
5018
|
+
var day = String(date.getDate()).padStart(2, '0');
|
|
5019
|
+
var formatted = "".concat(year, "-").concat(month, "-").concat(day);
|
|
5015
5020
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
5016
|
-
from:
|
|
5021
|
+
from: formatted
|
|
5017
5022
|
}));
|
|
5018
5023
|
setselectedfromdate(date);
|
|
5019
5024
|
},
|
|
@@ -5034,8 +5039,13 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5034
5039
|
selected: selectedtodate,
|
|
5035
5040
|
excludeDates: disableddates,
|
|
5036
5041
|
onChange: function onChange(date) {
|
|
5042
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, to: date });
|
|
5043
|
+
var year = date.getFullYear();
|
|
5044
|
+
var month = String(date.getMonth() + 1).padStart(2, '0');
|
|
5045
|
+
var day = String(date.getDate()).padStart(2, '0');
|
|
5046
|
+
var formatted = "".concat(year, "-").concat(month, "-").concat(day);
|
|
5037
5047
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
5038
|
-
to:
|
|
5048
|
+
to: formatted
|
|
5039
5049
|
}));
|
|
5040
5050
|
setselectedtodate(date);
|
|
5041
5051
|
},
|
|
@@ -49250,7 +49260,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
49250
49260
|
}, 'SHOP TABLES')))))))));
|
|
49251
49261
|
}
|
|
49252
49262
|
}
|
|
49253
|
-
}), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
49263
|
+
}), sectionproperties.showcurrency == 'Show' && authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
49254
49264
|
"class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
49255
49265
|
}, /*#__PURE__*/React.createElement("div", {
|
|
49256
49266
|
"class": "row m-0 w-100"
|
|
@@ -51571,8 +51581,8 @@ var Footer1 = function Footer1(props) {
|
|
|
51571
51581
|
style: {
|
|
51572
51582
|
color: sectionproperties.footerinfotext_color,
|
|
51573
51583
|
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
51574
|
-
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
51575
|
-
|
|
51584
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
51585
|
+
textTransform: 'none'
|
|
51576
51586
|
},
|
|
51577
51587
|
onClick: function onClick() {
|
|
51578
51588
|
var _authdetailsContext$i10;
|
|
@@ -76903,7 +76913,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
76903
76913
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
76904
76914
|
};
|
|
76905
76915
|
var SlideshowContent = function SlideshowContent() {
|
|
76906
|
-
var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
76916
|
+
var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i12;
|
|
76907
76917
|
return /*#__PURE__*/React.createElement("div", {
|
|
76908
76918
|
"class": "col-lg-12 p-0"
|
|
76909
76919
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -77107,7 +77117,133 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
77107
77117
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
77108
77118
|
overflow: 'hidden'
|
|
77109
77119
|
}
|
|
77110
|
-
}, /*#__PURE__*/React.createElement(
|
|
77120
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6984710cbe522' && window.location.pathname == '/home' && /*#__PURE__*/React.createElement("div", {
|
|
77121
|
+
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
77122
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
77123
|
+
"class": "d-flex flex-row align-items-center rotating-text2"
|
|
77124
|
+
}, [].concat(_toConsumableArray(bgimagearrayofobjs), _toConsumableArray(bgimagearrayofobjs)).map(function (cardinfoitem, cardinfoindex) {
|
|
77125
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
77126
|
+
"class": "kimage",
|
|
77127
|
+
style: {}
|
|
77128
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
77129
|
+
"class": "kimageimg",
|
|
77130
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77131
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77132
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.imagear,
|
|
77133
|
+
style: {
|
|
77134
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
77135
|
+
margin: 0,
|
|
77136
|
+
padding: 0,
|
|
77137
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77138
|
+
}
|
|
77139
|
+
}));
|
|
77140
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6984710cbe522' && window.location.pathname != '/home' && /*#__PURE__*/React.createElement(Slide, _extends({}, Slideshowsettings, {
|
|
77141
|
+
transitionDuration: 1500,
|
|
77142
|
+
duration: sectionproperties.transitionduration,
|
|
77143
|
+
arrow: true,
|
|
77144
|
+
easing: "ease"
|
|
77145
|
+
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
77146
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
77147
|
+
"class": "row m-0 w-100 h-sm-auto",
|
|
77148
|
+
style: {
|
|
77149
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
77150
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
77151
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
77152
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
77153
|
+
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
77154
|
+
}
|
|
77155
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
77156
|
+
"class": 'p-0 align-items-center d-flex d-md-none',
|
|
77157
|
+
key: index,
|
|
77158
|
+
onClick: function onClick() {
|
|
77159
|
+
if (item.IsClickableimg == 'Yes') {
|
|
77160
|
+
var _authdetailsContext$i10;
|
|
77161
|
+
if (item.linktype == 'Image With External Link') {
|
|
77162
|
+
window.open(item.linkurl, '_blank');
|
|
77163
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68a9e83c05b75') {
|
|
77164
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77165
|
+
} else {
|
|
77166
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
77167
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77168
|
+
// alert('1');
|
|
77169
|
+
} else if (item.productid != undefined && item.productid.length != 0) {
|
|
77170
|
+
// alert(item.productid);
|
|
77171
|
+
// routingcountext('/productinfo/' + item.productid, false, '');
|
|
77172
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
77173
|
+
} else {
|
|
77174
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
77175
|
+
// alert('3');
|
|
77176
|
+
}
|
|
77177
|
+
}
|
|
77178
|
+
}
|
|
77179
|
+
},
|
|
77180
|
+
style: _defineProperty({
|
|
77181
|
+
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
77182
|
+
width: '100%',
|
|
77183
|
+
height: '100%',
|
|
77184
|
+
paddingTop: sectionproperties.paddingTop + 'px'
|
|
77185
|
+
}, "height", sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto')
|
|
77186
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
77187
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77188
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77189
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
|
|
77190
|
+
style: {
|
|
77191
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
77192
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
77193
|
+
margin: 0,
|
|
77194
|
+
padding: 0,
|
|
77195
|
+
width: '100%',
|
|
77196
|
+
height: '100%',
|
|
77197
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77198
|
+
}
|
|
77199
|
+
}), SlideShowTextContainer(item)), /*#__PURE__*/React.createElement("div", {
|
|
77200
|
+
"class": 'p-0 align-items-center d-none d-md-flex ',
|
|
77201
|
+
key: index,
|
|
77202
|
+
style: {
|
|
77203
|
+
width: '100%',
|
|
77204
|
+
height: '100%',
|
|
77205
|
+
// direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
77206
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
77207
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
77208
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
77209
|
+
},
|
|
77210
|
+
onClick: function onClick() {
|
|
77211
|
+
if (item.IsClickableimg == 'Yes') {
|
|
77212
|
+
var _authdetailsContext$i11;
|
|
77213
|
+
if (item.linktype == 'Image With External Link') {
|
|
77214
|
+
window.open(item.linkurl, '_blank');
|
|
77215
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68a9e83c05b75') {
|
|
77216
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77217
|
+
} else {
|
|
77218
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
77219
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77220
|
+
// alert('1');
|
|
77221
|
+
} else if (item.productid != undefined && item.productid.length != 0) {
|
|
77222
|
+
// alert(item.productid);
|
|
77223
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
77224
|
+
|
|
77225
|
+
// routingcountext('/productinfo/' + item.productid, false, '');
|
|
77226
|
+
} else {
|
|
77227
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
77228
|
+
// alert('3');
|
|
77229
|
+
}
|
|
77230
|
+
}
|
|
77231
|
+
}
|
|
77232
|
+
}
|
|
77233
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
77234
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77235
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77236
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
77237
|
+
style: {
|
|
77238
|
+
objectFit: 'contain',
|
|
77239
|
+
margin: 0,
|
|
77240
|
+
padding: 0,
|
|
77241
|
+
width: '100%',
|
|
77242
|
+
height: '100%',
|
|
77243
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77244
|
+
}
|
|
77245
|
+
}), SlideShowTextContainer(item)));
|
|
77246
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6984710cbe522' && /*#__PURE__*/React.createElement(Slide, _extends({}, Slideshowsettings, {
|
|
77111
77247
|
transitionDuration: 1500,
|
|
77112
77248
|
duration: sectionproperties.transitionduration,
|
|
77113
77249
|
arrow: true,
|
|
@@ -77127,10 +77263,10 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
77127
77263
|
key: index,
|
|
77128
77264
|
onClick: function onClick() {
|
|
77129
77265
|
if (item.IsClickableimg == 'Yes') {
|
|
77130
|
-
var _authdetailsContext$
|
|
77266
|
+
var _authdetailsContext$i13;
|
|
77131
77267
|
if (item.linktype == 'Image With External Link') {
|
|
77132
77268
|
window.open(item.linkurl, '_blank');
|
|
77133
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
77269
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68a9e83c05b75') {
|
|
77134
77270
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
77135
77271
|
} else {
|
|
77136
77272
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
@@ -77179,10 +77315,10 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
77179
77315
|
},
|
|
77180
77316
|
onClick: function onClick() {
|
|
77181
77317
|
if (item.IsClickableimg == 'Yes') {
|
|
77182
|
-
var _authdetailsContext$
|
|
77318
|
+
var _authdetailsContext$i14;
|
|
77183
77319
|
if (item.linktype == 'Image With External Link') {
|
|
77184
77320
|
window.open(item.linkurl, '_blank');
|
|
77185
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
77321
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68a9e83c05b75') {
|
|
77186
77322
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
77187
77323
|
} else {
|
|
77188
77324
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
package/dist/index.umd.js
CHANGED
|
@@ -4869,8 +4869,13 @@
|
|
|
4869
4869
|
selected: selectedfromdate,
|
|
4870
4870
|
excludeDates: disableddates,
|
|
4871
4871
|
onChange: function onChange(date) {
|
|
4872
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, from: date });
|
|
4873
|
+
var year = date.getFullYear();
|
|
4874
|
+
var month = String(date.getMonth() + 1).padStart(2, '0');
|
|
4875
|
+
var day = String(date.getDate()).padStart(2, '0');
|
|
4876
|
+
var formatted = "".concat(year, "-").concat(month, "-").concat(day);
|
|
4872
4877
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
4873
|
-
from:
|
|
4878
|
+
from: formatted
|
|
4874
4879
|
}));
|
|
4875
4880
|
setselectedfromdate(date);
|
|
4876
4881
|
},
|
|
@@ -4891,8 +4896,13 @@
|
|
|
4891
4896
|
selected: selectedtodate,
|
|
4892
4897
|
excludeDates: disableddates,
|
|
4893
4898
|
onChange: function onChange(date) {
|
|
4899
|
+
// setaddtocardpayloadobj({ ...addtocardpayloadobj, to: date });
|
|
4900
|
+
var year = date.getFullYear();
|
|
4901
|
+
var month = String(date.getMonth() + 1).padStart(2, '0');
|
|
4902
|
+
var day = String(date.getDate()).padStart(2, '0');
|
|
4903
|
+
var formatted = "".concat(year, "-").concat(month, "-").concat(day);
|
|
4894
4904
|
setaddtocardpayloadobj(_objectSpread$2D(_objectSpread$2D({}, addtocardpayloadobj), {}, {
|
|
4895
|
-
to:
|
|
4905
|
+
to: formatted
|
|
4896
4906
|
}));
|
|
4897
4907
|
setselectedtodate(date);
|
|
4898
4908
|
},
|
|
@@ -49107,7 +49117,7 @@
|
|
|
49107
49117
|
}, 'SHOP TABLES')))))))));
|
|
49108
49118
|
}
|
|
49109
49119
|
}
|
|
49110
|
-
}), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49120
|
+
}), sectionproperties.showcurrency == 'Show' && authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49111
49121
|
"class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
|
|
49112
49122
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
49113
49123
|
"class": "row m-0 w-100"
|
|
@@ -51428,8 +51438,8 @@
|
|
|
51428
51438
|
style: {
|
|
51429
51439
|
color: sectionproperties.footerinfotext_color,
|
|
51430
51440
|
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
51431
|
-
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
51432
|
-
|
|
51441
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
51442
|
+
textTransform: 'none'
|
|
51433
51443
|
},
|
|
51434
51444
|
onClick: function onClick() {
|
|
51435
51445
|
var _authdetailsContext$i10;
|
|
@@ -76760,7 +76770,7 @@
|
|
|
76760
76770
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
|
|
76761
76771
|
};
|
|
76762
76772
|
var SlideshowContent = function SlideshowContent() {
|
|
76763
|
-
var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
76773
|
+
var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i12;
|
|
76764
76774
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76765
76775
|
"class": "col-lg-12 p-0"
|
|
76766
76776
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -76964,7 +76974,133 @@
|
|
|
76964
76974
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
76965
76975
|
overflow: 'hidden'
|
|
76966
76976
|
}
|
|
76967
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
76977
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6984710cbe522' && window.location.pathname == '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76978
|
+
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
76979
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76980
|
+
"class": "d-flex flex-row align-items-center rotating-text2"
|
|
76981
|
+
}, [].concat(_toConsumableArray__default["default"](bgimagearrayofobjs), _toConsumableArray__default["default"](bgimagearrayofobjs)).map(function (cardinfoitem, cardinfoindex) {
|
|
76982
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76983
|
+
"class": "kimage",
|
|
76984
|
+
style: {}
|
|
76985
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
76986
|
+
"class": "kimageimg",
|
|
76987
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
76988
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
76989
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + cardinfoitem.imagear,
|
|
76990
|
+
style: {
|
|
76991
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
76992
|
+
margin: 0,
|
|
76993
|
+
padding: 0,
|
|
76994
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
76995
|
+
}
|
|
76996
|
+
}));
|
|
76997
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6984710cbe522' && window.location.pathname != '/home' && /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
|
|
76998
|
+
transitionDuration: 1500,
|
|
76999
|
+
duration: sectionproperties.transitionduration,
|
|
77000
|
+
arrow: true,
|
|
77001
|
+
easing: "ease"
|
|
77002
|
+
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
77003
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77004
|
+
"class": "row m-0 w-100 h-sm-auto",
|
|
77005
|
+
style: {
|
|
77006
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
77007
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
77008
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
77009
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
77010
|
+
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
77011
|
+
}
|
|
77012
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77013
|
+
"class": 'p-0 align-items-center d-flex d-md-none',
|
|
77014
|
+
key: index,
|
|
77015
|
+
onClick: function onClick() {
|
|
77016
|
+
if (item.IsClickableimg == 'Yes') {
|
|
77017
|
+
var _authdetailsContext$i10;
|
|
77018
|
+
if (item.linktype == 'Image With External Link') {
|
|
77019
|
+
window.open(item.linkurl, '_blank');
|
|
77020
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68a9e83c05b75') {
|
|
77021
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77022
|
+
} else {
|
|
77023
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
77024
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77025
|
+
// alert('1');
|
|
77026
|
+
} else if (item.productid != undefined && item.productid.length != 0) {
|
|
77027
|
+
// alert(item.productid);
|
|
77028
|
+
// routingcountext('/productinfo/' + item.productid, false, '');
|
|
77029
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
77030
|
+
} else {
|
|
77031
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
77032
|
+
// alert('3');
|
|
77033
|
+
}
|
|
77034
|
+
}
|
|
77035
|
+
}
|
|
77036
|
+
},
|
|
77037
|
+
style: _defineProperty__default["default"]({
|
|
77038
|
+
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
77039
|
+
width: '100%',
|
|
77040
|
+
height: '100%',
|
|
77041
|
+
paddingTop: sectionproperties.paddingTop + 'px'
|
|
77042
|
+
}, "height", sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto')
|
|
77043
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
77044
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77045
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77046
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
|
|
77047
|
+
style: {
|
|
77048
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
77049
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
77050
|
+
margin: 0,
|
|
77051
|
+
padding: 0,
|
|
77052
|
+
width: '100%',
|
|
77053
|
+
height: '100%',
|
|
77054
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77055
|
+
}
|
|
77056
|
+
}), SlideShowTextContainer(item)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
77057
|
+
"class": 'p-0 align-items-center d-none d-md-flex ',
|
|
77058
|
+
key: index,
|
|
77059
|
+
style: {
|
|
77060
|
+
width: '100%',
|
|
77061
|
+
height: '100%',
|
|
77062
|
+
// direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
77063
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
77064
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
|
|
77065
|
+
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
77066
|
+
},
|
|
77067
|
+
onClick: function onClick() {
|
|
77068
|
+
if (item.IsClickableimg == 'Yes') {
|
|
77069
|
+
var _authdetailsContext$i11;
|
|
77070
|
+
if (item.linktype == 'Image With External Link') {
|
|
77071
|
+
window.open(item.linkurl, '_blank');
|
|
77072
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68a9e83c05b75') {
|
|
77073
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77074
|
+
} else {
|
|
77075
|
+
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
77076
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
77077
|
+
// alert('1');
|
|
77078
|
+
} else if (item.productid != undefined && item.productid.length != 0) {
|
|
77079
|
+
// alert(item.productid);
|
|
77080
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
77081
|
+
|
|
77082
|
+
// routingcountext('/productinfo/' + item.productid, false, '');
|
|
77083
|
+
} else {
|
|
77084
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
77085
|
+
// alert('3');
|
|
77086
|
+
}
|
|
77087
|
+
}
|
|
77088
|
+
}
|
|
77089
|
+
}
|
|
77090
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
77091
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
77092
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
77093
|
+
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_en : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.image_resp_ar,
|
|
77094
|
+
style: {
|
|
77095
|
+
objectFit: 'contain',
|
|
77096
|
+
margin: 0,
|
|
77097
|
+
padding: 0,
|
|
77098
|
+
width: '100%',
|
|
77099
|
+
height: '100%',
|
|
77100
|
+
borderRadius: sectionproperties.imageborderradius + 'px'
|
|
77101
|
+
}
|
|
77102
|
+
}), SlideShowTextContainer(item)));
|
|
77103
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6984710cbe522' && /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
|
|
76968
77104
|
transitionDuration: 1500,
|
|
76969
77105
|
duration: sectionproperties.transitionduration,
|
|
76970
77106
|
arrow: true,
|
|
@@ -76984,10 +77120,10 @@
|
|
|
76984
77120
|
key: index,
|
|
76985
77121
|
onClick: function onClick() {
|
|
76986
77122
|
if (item.IsClickableimg == 'Yes') {
|
|
76987
|
-
var _authdetailsContext$
|
|
77123
|
+
var _authdetailsContext$i13;
|
|
76988
77124
|
if (item.linktype == 'Image With External Link') {
|
|
76989
77125
|
window.open(item.linkurl, '_blank');
|
|
76990
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
77126
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68a9e83c05b75') {
|
|
76991
77127
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
76992
77128
|
} else {
|
|
76993
77129
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|
|
@@ -77036,10 +77172,10 @@
|
|
|
77036
77172
|
},
|
|
77037
77173
|
onClick: function onClick() {
|
|
77038
77174
|
if (item.IsClickableimg == 'Yes') {
|
|
77039
|
-
var _authdetailsContext$
|
|
77175
|
+
var _authdetailsContext$i14;
|
|
77040
77176
|
if (item.linktype == 'Image With External Link') {
|
|
77041
77177
|
window.open(item.linkurl, '_blank');
|
|
77042
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
77178
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68a9e83c05b75') {
|
|
77043
77179
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
77044
77180
|
} else {
|
|
77045
77181
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
|