tabexseriescomponents 0.0.629 → 0.0.631
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 +20 -7
- package/dist/index.esm.js +20 -7
- package/dist/index.umd.js +20 -7
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2464,6 +2464,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2464
2464
|
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
2465
2465
|
_useState10[0];
|
|
2466
2466
|
var settotalprice = _useState10[1];
|
|
2467
|
+
var _useState11 = React.useState(null),
|
|
2468
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
2469
|
+
gallery = _useState12[0],
|
|
2470
|
+
setGallery = _useState12[1]; // Store reference to the gallery
|
|
2471
|
+
var toggleFullScreen = function toggleFullScreen() {
|
|
2472
|
+
if (gallery) {
|
|
2473
|
+
gallery.toggleFullScreen();
|
|
2474
|
+
}
|
|
2475
|
+
};
|
|
2467
2476
|
React.useEffect(function () {
|
|
2468
2477
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2469
2478
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2697,7 +2706,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2697
2706
|
startIndex: currentshowingimageindex,
|
|
2698
2707
|
onSlide: function onSlide(d) {
|
|
2699
2708
|
setcurrentshowingimageindex(d);
|
|
2700
|
-
}
|
|
2709
|
+
},
|
|
2710
|
+
ref: function ref(el) {
|
|
2711
|
+
return setGallery(el);
|
|
2712
|
+
},
|
|
2713
|
+
onClick: toggleFullScreen
|
|
2701
2714
|
})), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2702
2715
|
"class": "w-100 d-none d-md-block"
|
|
2703
2716
|
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
@@ -10623,7 +10636,7 @@ var Checkout = function Checkout(props) {
|
|
|
10623
10636
|
className: langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3',
|
|
10624
10637
|
style: {
|
|
10625
10638
|
background: sectionproperties.summary_sectionbgcolor,
|
|
10626
|
-
borderRadius: sectionproperties.
|
|
10639
|
+
borderRadius: sectionproperties.summary_sectionborderradius + 'px',
|
|
10627
10640
|
border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
|
|
10628
10641
|
}
|
|
10629
10642
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -57172,10 +57185,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
57172
57185
|
width: '100%',
|
|
57173
57186
|
objectFit: sectionproperties.bgcovercontain
|
|
57174
57187
|
}
|
|
57175
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57176
|
-
"class": bgcssstyles.lau + ' allcentered ',
|
|
57177
|
-
style: {}
|
|
57178
|
-
}))), sectionproperties.sectionbgstyle != 'Text Above' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57188
|
+
})))), sectionproperties.sectionbgstyle != 'Text Above' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57179
57189
|
"class": sectionproperties.sectionbgstyle == 'Besides each other' ? 'col-lg-8 px-3' : 'col-lg-12 p-0 mt-3',
|
|
57180
57190
|
style: {
|
|
57181
57191
|
display: sectionproperties.slideshowtext1_show == 'Hide' && sectionproperties.slideshowtext1_show == 'Hide' ? 'none' : 'flex'
|
|
@@ -60920,6 +60930,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60920
60930
|
var langdetect = props.actions.langdetect;
|
|
60921
60931
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
60922
60932
|
var routingcountext = props.actions.routingcountext;
|
|
60933
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
60923
60934
|
React.useEffect(function () {
|
|
60924
60935
|
var secpropobj = {};
|
|
60925
60936
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -61160,6 +61171,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
61160
61171
|
"class": sectionproperties.descFontFamily == 'Pacifico' ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak' : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak',
|
|
61161
61172
|
style: {}
|
|
61162
61173
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
61174
|
+
var _authdetailsContext$i;
|
|
61163
61175
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61164
61176
|
"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,
|
|
61165
61177
|
style: {
|
|
@@ -61185,7 +61197,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
61185
61197
|
// : '',
|
|
61186
61198
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
61187
61199
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
61188
|
-
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor
|
|
61200
|
+
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
61201
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
61189
61202
|
},
|
|
61190
61203
|
onClick: function onClick() {
|
|
61191
61204
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|
package/dist/index.esm.js
CHANGED
|
@@ -2415,6 +2415,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2415
2415
|
_useState10 = _slicedToArray(_useState9, 2);
|
|
2416
2416
|
_useState10[0];
|
|
2417
2417
|
var settotalprice = _useState10[1];
|
|
2418
|
+
var _useState11 = useState(null),
|
|
2419
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
2420
|
+
gallery = _useState12[0],
|
|
2421
|
+
setGallery = _useState12[1]; // Store reference to the gallery
|
|
2422
|
+
var toggleFullScreen = function toggleFullScreen() {
|
|
2423
|
+
if (gallery) {
|
|
2424
|
+
gallery.toggleFullScreen();
|
|
2425
|
+
}
|
|
2426
|
+
};
|
|
2418
2427
|
useEffect(function () {
|
|
2419
2428
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2420
2429
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2648,7 +2657,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2648
2657
|
startIndex: currentshowingimageindex,
|
|
2649
2658
|
onSlide: function onSlide(d) {
|
|
2650
2659
|
setcurrentshowingimageindex(d);
|
|
2651
|
-
}
|
|
2660
|
+
},
|
|
2661
|
+
ref: function ref(el) {
|
|
2662
|
+
return setGallery(el);
|
|
2663
|
+
},
|
|
2664
|
+
onClick: toggleFullScreen
|
|
2652
2665
|
})), productimagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
2653
2666
|
"class": "w-100 d-none d-md-block"
|
|
2654
2667
|
}, /*#__PURE__*/React.createElement(ImageGallery, {
|
|
@@ -10574,7 +10587,7 @@ var Checkout = function Checkout(props) {
|
|
|
10574
10587
|
className: langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3',
|
|
10575
10588
|
style: {
|
|
10576
10589
|
background: sectionproperties.summary_sectionbgcolor,
|
|
10577
|
-
borderRadius: sectionproperties.
|
|
10590
|
+
borderRadius: sectionproperties.summary_sectionborderradius + 'px',
|
|
10578
10591
|
border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
|
|
10579
10592
|
}
|
|
10580
10593
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -57123,10 +57136,7 @@ var VideosSection = function VideosSection(props) {
|
|
|
57123
57136
|
width: '100%',
|
|
57124
57137
|
objectFit: sectionproperties.bgcovercontain
|
|
57125
57138
|
}
|
|
57126
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
57127
|
-
"class": bgcssstyles.lau + ' allcentered ',
|
|
57128
|
-
style: {}
|
|
57129
|
-
}))), sectionproperties.sectionbgstyle != 'Text Above' && /*#__PURE__*/React.createElement("div", {
|
|
57139
|
+
})))), sectionproperties.sectionbgstyle != 'Text Above' && /*#__PURE__*/React.createElement("div", {
|
|
57130
57140
|
"class": sectionproperties.sectionbgstyle == 'Besides each other' ? 'col-lg-8 px-3' : 'col-lg-12 p-0 mt-3',
|
|
57131
57141
|
style: {
|
|
57132
57142
|
display: sectionproperties.slideshowtext1_show == 'Hide' && sectionproperties.slideshowtext1_show == 'Hide' ? 'none' : 'flex'
|
|
@@ -60871,6 +60881,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
60871
60881
|
var langdetect = props.actions.langdetect;
|
|
60872
60882
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
60873
60883
|
var routingcountext = props.actions.routingcountext;
|
|
60884
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
60874
60885
|
useEffect(function () {
|
|
60875
60886
|
var secpropobj = {};
|
|
60876
60887
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -61111,6 +61122,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
61111
61122
|
"class": sectionproperties.descFontFamily == 'Pacifico' ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak' : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak',
|
|
61112
61123
|
style: {}
|
|
61113
61124
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
61125
|
+
var _authdetailsContext$i;
|
|
61114
61126
|
return /*#__PURE__*/React.createElement("div", {
|
|
61115
61127
|
"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,
|
|
61116
61128
|
style: {
|
|
@@ -61136,7 +61148,8 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
61136
61148
|
// : '',
|
|
61137
61149
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
61138
61150
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
61139
|
-
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor
|
|
61151
|
+
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
61152
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
61140
61153
|
},
|
|
61141
61154
|
onClick: function onClick() {
|
|
61142
61155
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|
package/dist/index.umd.js
CHANGED
|
@@ -2288,6 +2288,15 @@
|
|
|
2288
2288
|
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
2289
2289
|
_useState10[0];
|
|
2290
2290
|
var settotalprice = _useState10[1];
|
|
2291
|
+
var _useState11 = React.useState(null),
|
|
2292
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
2293
|
+
gallery = _useState12[0],
|
|
2294
|
+
setGallery = _useState12[1]; // Store reference to the gallery
|
|
2295
|
+
var toggleFullScreen = function toggleFullScreen() {
|
|
2296
|
+
if (gallery) {
|
|
2297
|
+
gallery.toggleFullScreen();
|
|
2298
|
+
}
|
|
2299
|
+
};
|
|
2291
2300
|
React.useEffect(function () {
|
|
2292
2301
|
var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
|
|
2293
2302
|
if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
|
|
@@ -2521,7 +2530,11 @@
|
|
|
2521
2530
|
startIndex: currentshowingimageindex,
|
|
2522
2531
|
onSlide: function onSlide(d) {
|
|
2523
2532
|
setcurrentshowingimageindex(d);
|
|
2524
|
-
}
|
|
2533
|
+
},
|
|
2534
|
+
ref: function ref(el) {
|
|
2535
|
+
return setGallery(el);
|
|
2536
|
+
},
|
|
2537
|
+
onClick: toggleFullScreen
|
|
2525
2538
|
})), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2526
2539
|
"class": "w-100 d-none d-md-block"
|
|
2527
2540
|
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
@@ -10447,7 +10460,7 @@
|
|
|
10447
10460
|
className: langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3',
|
|
10448
10461
|
style: {
|
|
10449
10462
|
background: sectionproperties.summary_sectionbgcolor,
|
|
10450
|
-
borderRadius: sectionproperties.
|
|
10463
|
+
borderRadius: sectionproperties.summary_sectionborderradius + 'px',
|
|
10451
10464
|
border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
|
|
10452
10465
|
}
|
|
10453
10466
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -56996,10 +57009,7 @@
|
|
|
56996
57009
|
width: '100%',
|
|
56997
57010
|
objectFit: sectionproperties.bgcovercontain
|
|
56998
57011
|
}
|
|
56999
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57000
|
-
"class": bgcssstyles.lau + ' allcentered ',
|
|
57001
|
-
style: {}
|
|
57002
|
-
}))), sectionproperties.sectionbgstyle != 'Text Above' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57012
|
+
})))), sectionproperties.sectionbgstyle != 'Text Above' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57003
57013
|
"class": sectionproperties.sectionbgstyle == 'Besides each other' ? 'col-lg-8 px-3' : 'col-lg-12 p-0 mt-3',
|
|
57004
57014
|
style: {
|
|
57005
57015
|
display: sectionproperties.slideshowtext1_show == 'Hide' && sectionproperties.slideshowtext1_show == 'Hide' ? 'none' : 'flex'
|
|
@@ -60744,6 +60754,7 @@
|
|
|
60744
60754
|
var langdetect = props.actions.langdetect;
|
|
60745
60755
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
60746
60756
|
var routingcountext = props.actions.routingcountext;
|
|
60757
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
60747
60758
|
React.useEffect(function () {
|
|
60748
60759
|
var secpropobj = {};
|
|
60749
60760
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -60984,6 +60995,7 @@
|
|
|
60984
60995
|
"class": sectionproperties.descFontFamily == 'Pacifico' ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak' : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak',
|
|
60985
60996
|
style: {}
|
|
60986
60997
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
60998
|
+
var _authdetailsContext$i;
|
|
60987
60999
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60988
61000
|
"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,
|
|
60989
61001
|
style: {
|
|
@@ -61009,7 +61021,8 @@
|
|
|
61009
61021
|
// : '',
|
|
61010
61022
|
borderRight: cardinfoindex != cardsarray.length - 1 ? sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'en' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '' : '',
|
|
61011
61023
|
borderLeft: sectionproperties.innersectionbordertype == 'Right' ? langdetect == 'ar' ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor : '' : '',
|
|
61012
|
-
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor
|
|
61024
|
+
boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
|
|
61025
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '66b4a0338cb14' ? '100%' : ''
|
|
61013
61026
|
},
|
|
61014
61027
|
onClick: function onClick() {
|
|
61015
61028
|
// if (cardinfoitem.iscardclickable == 'Yes') {
|