tabexseriescomponents 0.0.608 → 0.0.610
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 +33 -11
- package/dist/index.esm.js +33 -11
- package/dist/index.umd.js +33 -11
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8212,7 +8212,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8212
8212
|
style: {
|
|
8213
8213
|
backgroundColor: item.instorderstatus != null ? item.instorderstatus.statuscolor : 'orange'
|
|
8214
8214
|
}
|
|
8215
|
-
}, item.instorderstatus != null ? item.instorderstatus.orderstatusname_en : 'In Progress')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8215
|
+
}, item.instorderstatus != null ? langdetect == 'en' ? item.instorderstatus.orderstatusname_en : item.instorderstatus.orderstatusname_ar : langdetect == 'en' ? 'In Progress' : 'جاري')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8216
8216
|
className: "col-lg-12 p-0 d-flex align-items-center justify-content-end"
|
|
8217
8217
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8218
8218
|
className: langdetect == 'en' ? 'text-light opacity-6 fa fa-clock mr-1 ' : ' text-light opacity-6 fa fa-clock ml-1 '
|
|
@@ -59382,6 +59382,16 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59382
59382
|
'@media (max-width: 800px)': {
|
|
59383
59383
|
width: sectionproperties.widthresponsive + 'vw'
|
|
59384
59384
|
}
|
|
59385
|
+
}),
|
|
59386
|
+
rightinnercont: glamor.css({
|
|
59387
|
+
background: sectionproperties.reservation_bgcolor,
|
|
59388
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
59389
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
59390
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
59391
|
+
'@media (max-width: 800px)': {
|
|
59392
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontalresp + 'px',
|
|
59393
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontalresp + 'px'
|
|
59394
|
+
}
|
|
59385
59395
|
})
|
|
59386
59396
|
};
|
|
59387
59397
|
var SectionTitle = function SectionTitle() {
|
|
@@ -59410,15 +59420,18 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59410
59420
|
};
|
|
59411
59421
|
var Content = function Content() {
|
|
59412
59422
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59413
|
-
"class": sectionproperties.image_show == 'show' ?
|
|
59423
|
+
"class": sectionproperties.image_show == 'show' ? ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0' : ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0',
|
|
59414
59424
|
style: {
|
|
59415
|
-
|
|
59416
|
-
|
|
59425
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59426
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
59427
|
+
paddingRight: sectionproperties.marginhorizontal + 'px',
|
|
59428
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
59417
59429
|
}
|
|
59418
59430
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59419
|
-
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59431
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? section_styles.rightinnercont + ' row m-0 w-100 h-100 ' : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 ',
|
|
59432
|
+
style: {}
|
|
59420
59433
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59421
|
-
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex
|
|
59434
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex ',
|
|
59422
59435
|
style: {
|
|
59423
59436
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59424
59437
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
@@ -59491,7 +59504,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59491
59504
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
59492
59505
|
}
|
|
59493
59506
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59494
|
-
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start
|
|
59507
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'
|
|
59495
59508
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59496
59509
|
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59497
59510
|
onClick: function onClick() {
|
|
@@ -59557,8 +59570,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59557
59570
|
var Image = function Image() {
|
|
59558
59571
|
var _imagesarray$, _imagesarray$7, _imagesarray$8;
|
|
59559
59572
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59560
|
-
"class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : sectionproperties.sectionstyle == 'Image on left' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
|
|
59573
|
+
"class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : sectionproperties.sectionstyle == 'Image on left' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0',
|
|
59561
59574
|
style: {
|
|
59575
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
59576
|
+
paddingRight: sectionproperties.marginhorizontal + 'px',
|
|
59562
59577
|
cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default',
|
|
59563
59578
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
|
|
59564
59579
|
},
|
|
@@ -59650,7 +59665,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59650
59665
|
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59651
59666
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
59652
59667
|
}
|
|
59653
|
-
}, sectionproperties.image_show == 'show' &&
|
|
59668
|
+
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59669
|
+
"class": "w-100 mb-md-3"
|
|
59670
|
+
}, " ", Image()), Content())))));
|
|
59654
59671
|
};
|
|
59655
59672
|
|
|
59656
59673
|
function ownKeys$V(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; }
|
|
@@ -60322,7 +60339,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60322
60339
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60323
60340
|
"class": sectionproperties.numofcols == '2' ? 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? 'col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : 'col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
60324
60341
|
style: {
|
|
60325
|
-
zIndex: 2
|
|
60342
|
+
zIndex: 2,
|
|
60343
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
60344
|
+
paddingRight: sectionproperties.marginhorizontal + 'px'
|
|
60326
60345
|
}
|
|
60327
60346
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60328
60347
|
"class": sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto ',
|
|
@@ -60447,7 +60466,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60447
60466
|
objectFit: 'contain'
|
|
60448
60467
|
}
|
|
60449
60468
|
}))), sectionproperties.generalbtn_show = cardinfoitem.iscardclickable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60450
|
-
"class":
|
|
60469
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'
|
|
60451
60470
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
60452
60471
|
"class": "".concat(sectionStyles.btnstyles),
|
|
60453
60472
|
onClick: function onClick() {
|
|
@@ -60457,6 +60476,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60457
60476
|
window.open(cardinfoitem.btnlink, '_target');
|
|
60458
60477
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
60459
60478
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
60479
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
60480
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
60481
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
60460
60482
|
}
|
|
60461
60483
|
}
|
|
60462
60484
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
package/dist/index.esm.js
CHANGED
|
@@ -8163,7 +8163,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
8163
8163
|
style: {
|
|
8164
8164
|
backgroundColor: item.instorderstatus != null ? item.instorderstatus.statuscolor : 'orange'
|
|
8165
8165
|
}
|
|
8166
|
-
}, item.instorderstatus != null ? item.instorderstatus.orderstatusname_en : 'In Progress')), /*#__PURE__*/React.createElement("div", {
|
|
8166
|
+
}, item.instorderstatus != null ? langdetect == 'en' ? item.instorderstatus.orderstatusname_en : item.instorderstatus.orderstatusname_ar : langdetect == 'en' ? 'In Progress' : 'جاري')), /*#__PURE__*/React.createElement("div", {
|
|
8167
8167
|
className: "col-lg-12 p-0 d-flex align-items-center justify-content-end"
|
|
8168
8168
|
}, /*#__PURE__*/React.createElement("i", {
|
|
8169
8169
|
className: langdetect == 'en' ? 'text-light opacity-6 fa fa-clock mr-1 ' : ' text-light opacity-6 fa fa-clock ml-1 '
|
|
@@ -59333,6 +59333,16 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59333
59333
|
'@media (max-width: 800px)': {
|
|
59334
59334
|
width: sectionproperties.widthresponsive + 'vw'
|
|
59335
59335
|
}
|
|
59336
|
+
}),
|
|
59337
|
+
rightinnercont: css({
|
|
59338
|
+
background: sectionproperties.reservation_bgcolor,
|
|
59339
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
59340
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
59341
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
59342
|
+
'@media (max-width: 800px)': {
|
|
59343
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontalresp + 'px',
|
|
59344
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontalresp + 'px'
|
|
59345
|
+
}
|
|
59336
59346
|
})
|
|
59337
59347
|
};
|
|
59338
59348
|
var SectionTitle = function SectionTitle() {
|
|
@@ -59361,15 +59371,18 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59361
59371
|
};
|
|
59362
59372
|
var Content = function Content() {
|
|
59363
59373
|
return /*#__PURE__*/React.createElement("div", {
|
|
59364
|
-
"class": sectionproperties.image_show == 'show' ?
|
|
59374
|
+
"class": sectionproperties.image_show == 'show' ? ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0' : ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0',
|
|
59365
59375
|
style: {
|
|
59366
|
-
|
|
59367
|
-
|
|
59376
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59377
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
59378
|
+
paddingRight: sectionproperties.marginhorizontal + 'px',
|
|
59379
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
59368
59380
|
}
|
|
59369
59381
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59370
|
-
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59382
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? section_styles.rightinnercont + ' row m-0 w-100 h-100 ' : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 ',
|
|
59383
|
+
style: {}
|
|
59371
59384
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59372
|
-
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex
|
|
59385
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex ',
|
|
59373
59386
|
style: {
|
|
59374
59387
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59375
59388
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
@@ -59442,7 +59455,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59442
59455
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
59443
59456
|
}
|
|
59444
59457
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59445
|
-
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start
|
|
59458
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'
|
|
59446
59459
|
}, /*#__PURE__*/React.createElement("button", {
|
|
59447
59460
|
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59448
59461
|
onClick: function onClick() {
|
|
@@ -59508,8 +59521,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59508
59521
|
var Image = function Image() {
|
|
59509
59522
|
var _imagesarray$, _imagesarray$7, _imagesarray$8;
|
|
59510
59523
|
return /*#__PURE__*/React.createElement("div", {
|
|
59511
|
-
"class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : sectionproperties.sectionstyle == 'Image on left' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
|
|
59524
|
+
"class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : sectionproperties.sectionstyle == 'Image on left' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0',
|
|
59512
59525
|
style: {
|
|
59526
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
59527
|
+
paddingRight: sectionproperties.marginhorizontal + 'px',
|
|
59513
59528
|
cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default',
|
|
59514
59529
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
|
|
59515
59530
|
},
|
|
@@ -59601,7 +59616,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
59601
59616
|
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59602
59617
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
59603
59618
|
}
|
|
59604
|
-
}, sectionproperties.image_show == 'show' &&
|
|
59619
|
+
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
59620
|
+
"class": "w-100 mb-md-3"
|
|
59621
|
+
}, " ", Image()), Content())))));
|
|
59605
59622
|
};
|
|
59606
59623
|
|
|
59607
59624
|
function ownKeys$V(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; }
|
|
@@ -60273,7 +60290,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60273
60290
|
return /*#__PURE__*/React.createElement("div", {
|
|
60274
60291
|
"class": sectionproperties.numofcols == '2' ? 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? 'col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : 'col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
60275
60292
|
style: {
|
|
60276
|
-
zIndex: 2
|
|
60293
|
+
zIndex: 2,
|
|
60294
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
60295
|
+
paddingRight: sectionproperties.marginhorizontal + 'px'
|
|
60277
60296
|
}
|
|
60278
60297
|
}, /*#__PURE__*/React.createElement("div", {
|
|
60279
60298
|
"class": sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto ',
|
|
@@ -60398,7 +60417,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60398
60417
|
objectFit: 'contain'
|
|
60399
60418
|
}
|
|
60400
60419
|
}))), sectionproperties.generalbtn_show = cardinfoitem.iscardclickable == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
60401
|
-
"class":
|
|
60420
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'
|
|
60402
60421
|
}, /*#__PURE__*/React.createElement("button", {
|
|
60403
60422
|
"class": "".concat(sectionStyles.btnstyles),
|
|
60404
60423
|
onClick: function onClick() {
|
|
@@ -60408,6 +60427,9 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60408
60427
|
window.open(cardinfoitem.btnlink, '_target');
|
|
60409
60428
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
60410
60429
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
60430
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
60431
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
60432
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
60411
60433
|
}
|
|
60412
60434
|
}
|
|
60413
60435
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
package/dist/index.umd.js
CHANGED
|
@@ -8036,7 +8036,7 @@
|
|
|
8036
8036
|
style: {
|
|
8037
8037
|
backgroundColor: item.instorderstatus != null ? item.instorderstatus.statuscolor : 'orange'
|
|
8038
8038
|
}
|
|
8039
|
-
}, item.instorderstatus != null ? item.instorderstatus.orderstatusname_en : 'In Progress')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8039
|
+
}, item.instorderstatus != null ? langdetect == 'en' ? item.instorderstatus.orderstatusname_en : item.instorderstatus.orderstatusname_ar : langdetect == 'en' ? 'In Progress' : 'جاري')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8040
8040
|
className: "col-lg-12 p-0 d-flex align-items-center justify-content-end"
|
|
8041
8041
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
8042
8042
|
className: langdetect == 'en' ? 'text-light opacity-6 fa fa-clock mr-1 ' : ' text-light opacity-6 fa fa-clock ml-1 '
|
|
@@ -59206,6 +59206,16 @@
|
|
|
59206
59206
|
'@media (max-width: 800px)': {
|
|
59207
59207
|
width: sectionproperties.widthresponsive + 'vw'
|
|
59208
59208
|
}
|
|
59209
|
+
}),
|
|
59210
|
+
rightinnercont: glamor.css({
|
|
59211
|
+
background: sectionproperties.reservation_bgcolor,
|
|
59212
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
59213
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
59214
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
59215
|
+
'@media (max-width: 800px)': {
|
|
59216
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontalresp + 'px',
|
|
59217
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontalresp + 'px'
|
|
59218
|
+
}
|
|
59209
59219
|
})
|
|
59210
59220
|
};
|
|
59211
59221
|
var SectionTitle = function SectionTitle() {
|
|
@@ -59234,15 +59244,18 @@
|
|
|
59234
59244
|
};
|
|
59235
59245
|
var Content = function Content() {
|
|
59236
59246
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59237
|
-
"class": sectionproperties.image_show == 'show' ?
|
|
59247
|
+
"class": sectionproperties.image_show == 'show' ? ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0' : ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0',
|
|
59238
59248
|
style: {
|
|
59239
|
-
|
|
59240
|
-
|
|
59249
|
+
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59250
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
59251
|
+
paddingRight: sectionproperties.marginhorizontal + 'px',
|
|
59252
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
59241
59253
|
}
|
|
59242
59254
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59243
|
-
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'
|
|
59255
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? section_styles.rightinnercont + ' row m-0 w-100 h-100 ' : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 ',
|
|
59256
|
+
style: {}
|
|
59244
59257
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59245
|
-
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex
|
|
59258
|
+
"class": sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex ',
|
|
59246
59259
|
style: {
|
|
59247
59260
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
59248
59261
|
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
@@ -59315,7 +59328,7 @@
|
|
|
59315
59328
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
59316
59329
|
}
|
|
59317
59330
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59318
|
-
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start
|
|
59331
|
+
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'
|
|
59319
59332
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
59320
59333
|
"class": "".concat(section_styles.btn) + ' m-md-0 ',
|
|
59321
59334
|
onClick: function onClick() {
|
|
@@ -59381,8 +59394,10 @@
|
|
|
59381
59394
|
var Image = function Image() {
|
|
59382
59395
|
var _imagesarray$, _imagesarray$7, _imagesarray$8;
|
|
59383
59396
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59384
|
-
"class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-0' : sectionproperties.sectionstyle == 'Image on left' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-0',
|
|
59397
|
+
"class": sectionproperties.image_height == 0 ? sectionproperties.sectionstyle == 'Image on right' ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0' : sectionproperties.sectionstyle == 'Image on left' ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0' : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0',
|
|
59385
59398
|
style: {
|
|
59399
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
59400
|
+
paddingRight: sectionproperties.marginhorizontal + 'px',
|
|
59386
59401
|
cursor: ((_imagesarray$ = imagesarray[0]) === null || _imagesarray$ === void 0 ? void 0 : _imagesarray$.IsClickableimg) == 'Yes' ? 'pointer' : 'default',
|
|
59387
59402
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor
|
|
59388
59403
|
},
|
|
@@ -59474,7 +59489,9 @@
|
|
|
59474
59489
|
alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
59475
59490
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
59476
59491
|
}
|
|
59477
|
-
}, sectionproperties.image_show == 'show' &&
|
|
59492
|
+
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59493
|
+
"class": "w-100 mb-md-3"
|
|
59494
|
+
}, " ", Image()), Content())))));
|
|
59478
59495
|
};
|
|
59479
59496
|
|
|
59480
59497
|
function ownKeys$V(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; }
|
|
@@ -60146,7 +60163,9 @@
|
|
|
60146
60163
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60147
60164
|
"class": sectionproperties.numofcols == '2' ? 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : sectionproperties.numofcols == '3' ? 'col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp : 'col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' + sectionproperties.numberOfColsverticalresp,
|
|
60148
60165
|
style: {
|
|
60149
|
-
zIndex: 2
|
|
60166
|
+
zIndex: 2,
|
|
60167
|
+
paddingLeft: sectionproperties.marginhorizontal + 'px',
|
|
60168
|
+
paddingRight: sectionproperties.marginhorizontal + 'px'
|
|
60150
60169
|
}
|
|
60151
60170
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60152
60171
|
"class": sectionproperties.innersectionbordertype != 'All' ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none ' : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto ',
|
|
@@ -60271,7 +60290,7 @@
|
|
|
60271
60290
|
objectFit: 'contain'
|
|
60272
60291
|
}
|
|
60273
60292
|
}))), sectionproperties.generalbtn_show = cardinfoitem.iscardclickable == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60274
|
-
"class":
|
|
60293
|
+
"class": sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'
|
|
60275
60294
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
60276
60295
|
"class": "".concat(sectionStyles.btnstyles),
|
|
60277
60296
|
onClick: function onClick() {
|
|
@@ -60281,6 +60300,9 @@
|
|
|
60281
60300
|
window.open(cardinfoitem.btnlink, '_target');
|
|
60282
60301
|
} else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
|
|
60283
60302
|
window.open(cardinfoitem.btnlink, '_blank');
|
|
60303
|
+
} else if (sectionproperties.btntype == 'App/Web Page') {
|
|
60304
|
+
// window.open(sectionproperties.btnlink, '_target');
|
|
60305
|
+
routingcountext(cardinfoitem.btnlink, false, '');
|
|
60284
60306
|
}
|
|
60285
60307
|
}
|
|
60286
60308
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|