tabexseriescomponents 0.0.300 → 0.0.302
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 +48 -60
- package/dist/index.esm.js +48 -60
- package/dist/index.umd.js +48 -60
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11901,8 +11901,7 @@ var Filter$1 = function Filter(props) {
|
|
|
11901
11901
|
var InstFilters = function InstFilters() {
|
|
11902
11902
|
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
11903
11903
|
allowMultipleExpanded: true,
|
|
11904
|
-
allowZeroExpanded: true
|
|
11905
|
-
preExpanded: [0, 1, 2, 3]
|
|
11904
|
+
allowZeroExpanded: true
|
|
11906
11905
|
}, instfilters.map(function (item, index) {
|
|
11907
11906
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
11908
11907
|
uuid: index
|
|
@@ -13425,7 +13424,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
13425
13424
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
13426
13425
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
13427
13426
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
13428
|
-
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
13427
|
+
scrollContainerClassName: sectionproperties.showscrollbar == 'Show' ? 'scrollmenuclasssubscrollbar2' : 'scrollmenuclasssubscrollbar'
|
|
13429
13428
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13430
13429
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13431
13430
|
className: ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'
|
|
@@ -13790,50 +13789,64 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
13790
13789
|
function ownKeys$1P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13791
13790
|
function _objectSpread$1P(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1P(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13792
13791
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
13792
|
+
var _textarray$, _textarray$2;
|
|
13793
13793
|
props.actions;
|
|
13794
13794
|
props.actions.lang;
|
|
13795
13795
|
var langdetect = props.actions.langdetect;
|
|
13796
13796
|
props.actions.StatePagePropertiesContext;
|
|
13797
13797
|
var _useState = React.useState({}),
|
|
13798
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2)
|
|
13799
|
-
|
|
13800
|
-
setsectionproperties = _useState2[1];
|
|
13801
|
-
var _useState3 = React.useState(
|
|
13798
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
13799
|
+
_useState2[0];
|
|
13800
|
+
var setsectionproperties = _useState2[1];
|
|
13801
|
+
var _useState3 = React.useState({}),
|
|
13802
13802
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
React.
|
|
13806
|
-
|
|
13807
|
-
|
|
13808
|
-
|
|
13809
|
-
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
13810
|
-
}
|
|
13811
|
-
}
|
|
13812
|
-
}, [sectionproperties]);
|
|
13803
|
+
templateproperties_context = _useState4[0],
|
|
13804
|
+
settemplateproperties_context = _useState4[1];
|
|
13805
|
+
var _useState5 = React.useState([]),
|
|
13806
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
13807
|
+
textarray = _useState6[0],
|
|
13808
|
+
settextarray = _useState6[1];
|
|
13813
13809
|
React.useEffect(function () {
|
|
13814
13810
|
if (props.sectionpropertiesprops != undefined) {
|
|
13815
13811
|
setsectionproperties(_objectSpread$1P({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
13816
13812
|
}
|
|
13817
13813
|
}, [props.sectionpropertiesprops]);
|
|
13814
|
+
React.useEffect(function () {
|
|
13815
|
+
if (props.templateproperties_contextprops != undefined) {
|
|
13816
|
+
settemplateproperties_context(_objectSpread$1P({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
13817
|
+
}
|
|
13818
|
+
}, [props.templateproperties_contextprops]);
|
|
13819
|
+
React.useEffect(function () {
|
|
13820
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
13821
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
13822
|
+
if (Array.isArray(textarrayparsed)) {
|
|
13823
|
+
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
13824
|
+
}
|
|
13825
|
+
}
|
|
13826
|
+
}, [templateproperties_context]);
|
|
13818
13827
|
var header_cssstyles = {
|
|
13819
13828
|
textSlider: glamor.css({
|
|
13820
|
-
fontSize:
|
|
13821
|
-
color:
|
|
13822
|
-
fontWeight:
|
|
13829
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
13830
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
13831
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
13823
13832
|
})
|
|
13824
13833
|
};
|
|
13825
13834
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13826
13835
|
"class": "col-lg-12 p-0 pt-1",
|
|
13827
13836
|
style: {
|
|
13828
|
-
background:
|
|
13837
|
+
background: templateproperties_context.textsliderbgcolor
|
|
13829
13838
|
}
|
|
13830
|
-
}, /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13839
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13831
13840
|
"class": "d-flex flex-row align-items-center"
|
|
13832
13841
|
}, textarray.map(function (item, index) {
|
|
13833
13842
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13834
13843
|
"class": header_cssstyles.textSlider + ' ml-4 mr-4 mb-0 p-0 '
|
|
13835
13844
|
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
13836
|
-
})))
|
|
13845
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13846
|
+
"class": "w-100 allcentered"
|
|
13847
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13848
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 '
|
|
13849
|
+
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic)));
|
|
13837
13850
|
};
|
|
13838
13851
|
|
|
13839
13852
|
var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: relative;\n}\n@media screen and (max-width: 800px) {\n .subheader-module_sub_outercontainer__-z5ZD {\n position: relative !important;\n top: 0 !important;\n }\n}\n.subheader-module_nav__item__8oLkw {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.subheader-module_nav__item__8oLkw::before {\n position: absolute;\n top: 0;\n left: 0;\n}\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY {\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::before {\n position: absolute;\n width: 100%;\n height: 1px;\n background: currentColor;\n top: 100%;\n left: 0;\n pointer-events: none;\n transform-origin: 100% 50%;\n transform: scale3d(0, 1, 1);\n transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::after {\n position: absolute;\n width: 100%;\n height: 1px;\n background: currentColor;\n top: 100%;\n left: 0;\n pointer-events: none;\n content: '';\n top: calc(100% + 4px);\n transform-origin: 0% 50%;\n transform: scale3d(0, 1, 1);\n transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::before {\n content: '';\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY:hover::before {\n transform-origin: 0% 50%;\n transform: scale3d(1, 1, 1);\n transition-timing-function: cubic-bezier(0.4, 1, 0.8, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY:hover::after {\n transform-origin: 100% 50%;\n transform: scale3d(1, 1, 1);\n transition-timing-function: cubic-bezier(0.4, 1, 0.8, 1);\n}\n.subheader-module_dropmenu__lL4Sc {\n display: none;\n margin-top: 20px !important;\n}\n.subheader-module_link__7IEBY:hover .subheader-module_dropmenu__lL4Sc {\n display: inline-block;\n width: 100%;\n height: 300px;\n top: 55px;\n bottom: 0px;\n position: absolute;\n transition: 0.3s;\n}\n.subheader-module_active__MjZNG {\n display: inline-block !important ;\n height: 300px;\n top: 45px;\n bottom: 0px;\n position: absolute;\n transition: 0.3s;\n}\n\n@media screen and (max-width: 800px) {\n .subheader-module_subheader__aW8fS {\n width: 100%;\n display: block;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .subheader-module_nav__item__8oLkw {\n /* width: 50% !important; */\n float: none;\n display: inline-block;\n zoom: 1;\n border-right: 0 !important;\n }\n}\n";
|
|
@@ -14785,7 +14798,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14785
14798
|
fontSize: sectionproperties.dropdownusernamefontsize + 'px'
|
|
14786
14799
|
}
|
|
14787
14800
|
}, authdetailsContext.customerinfo.name)), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.cancustomerviewwallet) == 1 && templateproperties_context.showwallet == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14788
|
-
"class": ' m-0 p-0 flex-row mt-1 w-100 justify-content-start'
|
|
14801
|
+
"class": ' row w-100 m-0 p-0 flex-row mt-1 w-100 justify-content-start'
|
|
14789
14802
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14790
14803
|
"class": "m-0 p-0",
|
|
14791
14804
|
style: {
|
|
@@ -17082,8 +17095,9 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
17082
17095
|
style: {
|
|
17083
17096
|
width: sectionproperties.header_width + 'vw'
|
|
17084
17097
|
}
|
|
17085
|
-
},
|
|
17098
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
17086
17099
|
sectionpropertiesprops: sectionproperties,
|
|
17100
|
+
templateproperties_contextprops: templateproperties_context,
|
|
17087
17101
|
actions: actions
|
|
17088
17102
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17089
17103
|
"class": "".concat(headerstyles$d.headercontainer) + ' col-lg-12 pl-0 pr-0 d-md-none ',
|
|
@@ -30283,7 +30297,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30283
30297
|
maxWidth: sectionproperties.showfooterphonenumber == 'Show' ? '65px' : '140px'
|
|
30284
30298
|
}
|
|
30285
30299
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.name), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c3 = authdetailsContext.customerinfo) === null || _authdetailsContext$c3 === void 0 ? void 0 : _authdetailsContext$c3.cancustomerviewwallet) == 1 && templateproperties_context.showwallet == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30286
|
-
"class": ' m-0 p-0
|
|
30300
|
+
"class": ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
30287
30301
|
style: {}
|
|
30288
30302
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30289
30303
|
"class": "m-0 p-0",
|
|
@@ -31764,7 +31778,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
31764
31778
|
}, sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31765
31779
|
"class": "col-lg-12 justify-content-start align-items-center mb-4 mb-md-4 p-0"
|
|
31766
31780
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31767
|
-
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-
|
|
31781
|
+
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-start"
|
|
31768
31782
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31769
31783
|
"class": "col-lg-12 p-0 mb-2"
|
|
31770
31784
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -31773,7 +31787,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
31773
31787
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
31774
31788
|
}
|
|
31775
31789
|
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31776
|
-
"class": langdetect == 'en' ? 'col-lg-
|
|
31790
|
+
"class": langdetect == 'en' ? 'col-lg-5 col-md-4 col-sm-4 p-0 pr-2' : 'col-lg-5 col-md-4 col-sm-4 p-0 pl-2'
|
|
31777
31791
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
31778
31792
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
31779
31793
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
@@ -31782,7 +31796,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
31782
31796
|
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.mobileapplink_appstore, '_blank');
|
|
31783
31797
|
}
|
|
31784
31798
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31785
|
-
"class": langdetect == 'en' ? 'col-lg-
|
|
31799
|
+
"class": langdetect == 'en' ? 'col-lg-5 col-md-4 col-sm-4 pl-0' : 'col-lg-5 col-md-4 col-sm-4 pr-0'
|
|
31786
31800
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
31787
31801
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
31788
31802
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
@@ -48061,35 +48075,9 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
48061
48075
|
scale: 1.4
|
|
48062
48076
|
};
|
|
48063
48077
|
({
|
|
48064
|
-
|
|
48065
|
-
|
|
48066
|
-
|
|
48067
|
-
position: 'absolute',
|
|
48068
|
-
top: 0,
|
|
48069
|
-
bottom: 0,
|
|
48070
|
-
left: 0,
|
|
48071
|
-
right: 0,
|
|
48072
|
-
width: '100%',
|
|
48073
|
-
height: '100%',
|
|
48074
|
-
backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
|
|
48075
|
-
}),
|
|
48076
|
-
slideshow_btn: glamor.css({
|
|
48077
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
48078
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
48079
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
48080
|
-
color: sectionproperties.generalbtn_textColor,
|
|
48081
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
48082
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
48083
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
48084
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
48085
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
48086
|
-
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
48087
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
48088
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
48089
|
-
transition: '.3s',
|
|
48090
|
-
':hover': {
|
|
48091
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
48092
|
-
color: sectionproperties.generalbtn_textColoronhover
|
|
48078
|
+
slideshowcontainer: glamor.css({
|
|
48079
|
+
'@media (max-width: 800px)': {
|
|
48080
|
+
height: sectionproperties.height_responsive + 'px'
|
|
48093
48081
|
}
|
|
48094
48082
|
})
|
|
48095
48083
|
});
|
|
@@ -48118,8 +48106,8 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
48118
48106
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48119
48107
|
className: "row m-0 w-100"
|
|
48120
48108
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
48121
|
-
"class":
|
|
48122
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.
|
|
48109
|
+
"class": ' col-lg-8 mb-md-3 p-md-0 '
|
|
48110
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Zoom, _extends__default["default"]({}, Slideshowsettings, {
|
|
48123
48111
|
transitionDuration: 1500,
|
|
48124
48112
|
duration: 1500,
|
|
48125
48113
|
arrow: true,
|
package/dist/index.esm.js
CHANGED
|
@@ -11854,8 +11854,7 @@ var Filter$1 = function Filter(props) {
|
|
|
11854
11854
|
var InstFilters = function InstFilters() {
|
|
11855
11855
|
return /*#__PURE__*/React.createElement(Accordion, {
|
|
11856
11856
|
allowMultipleExpanded: true,
|
|
11857
|
-
allowZeroExpanded: true
|
|
11858
|
-
preExpanded: [0, 1, 2, 3]
|
|
11857
|
+
allowZeroExpanded: true
|
|
11859
11858
|
}, instfilters.map(function (item, index) {
|
|
11860
11859
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AccordionItem, {
|
|
11861
11860
|
uuid: index
|
|
@@ -13378,7 +13377,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
13378
13377
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
13379
13378
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
13380
13379
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
13381
|
-
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
13380
|
+
scrollContainerClassName: sectionproperties.showscrollbar == 'Show' ? 'scrollmenuclasssubscrollbar2' : 'scrollmenuclasssubscrollbar'
|
|
13382
13381
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13383
13382
|
return /*#__PURE__*/React.createElement("div", {
|
|
13384
13383
|
className: ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'
|
|
@@ -13743,50 +13742,64 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
13743
13742
|
function ownKeys$1P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13744
13743
|
function _objectSpread$1P(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1P(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13745
13744
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
13745
|
+
var _textarray$, _textarray$2;
|
|
13746
13746
|
props.actions;
|
|
13747
13747
|
props.actions.lang;
|
|
13748
13748
|
var langdetect = props.actions.langdetect;
|
|
13749
13749
|
props.actions.StatePagePropertiesContext;
|
|
13750
13750
|
var _useState = useState({}),
|
|
13751
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
13752
|
-
|
|
13753
|
-
setsectionproperties = _useState2[1];
|
|
13754
|
-
var _useState3 = useState(
|
|
13751
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
13752
|
+
_useState2[0];
|
|
13753
|
+
var setsectionproperties = _useState2[1];
|
|
13754
|
+
var _useState3 = useState({}),
|
|
13755
13755
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
13756
|
-
|
|
13757
|
-
|
|
13758
|
-
|
|
13759
|
-
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
settextarray(_toConsumableArray(textarrayparsed));
|
|
13763
|
-
}
|
|
13764
|
-
}
|
|
13765
|
-
}, [sectionproperties]);
|
|
13756
|
+
templateproperties_context = _useState4[0],
|
|
13757
|
+
settemplateproperties_context = _useState4[1];
|
|
13758
|
+
var _useState5 = useState([]),
|
|
13759
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
13760
|
+
textarray = _useState6[0],
|
|
13761
|
+
settextarray = _useState6[1];
|
|
13766
13762
|
useEffect(function () {
|
|
13767
13763
|
if (props.sectionpropertiesprops != undefined) {
|
|
13768
13764
|
setsectionproperties(_objectSpread$1P({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
13769
13765
|
}
|
|
13770
13766
|
}, [props.sectionpropertiesprops]);
|
|
13767
|
+
useEffect(function () {
|
|
13768
|
+
if (props.templateproperties_contextprops != undefined) {
|
|
13769
|
+
settemplateproperties_context(_objectSpread$1P({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
13770
|
+
}
|
|
13771
|
+
}, [props.templateproperties_contextprops]);
|
|
13772
|
+
useEffect(function () {
|
|
13773
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
13774
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
13775
|
+
if (Array.isArray(textarrayparsed)) {
|
|
13776
|
+
settextarray(_toConsumableArray(textarrayparsed));
|
|
13777
|
+
}
|
|
13778
|
+
}
|
|
13779
|
+
}, [templateproperties_context]);
|
|
13771
13780
|
var header_cssstyles = {
|
|
13772
13781
|
textSlider: css({
|
|
13773
|
-
fontSize:
|
|
13774
|
-
color:
|
|
13775
|
-
fontWeight:
|
|
13782
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
13783
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
13784
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
13776
13785
|
})
|
|
13777
13786
|
};
|
|
13778
13787
|
return /*#__PURE__*/React.createElement("div", {
|
|
13779
13788
|
"class": "col-lg-12 p-0 pt-1",
|
|
13780
13789
|
style: {
|
|
13781
|
-
background:
|
|
13790
|
+
background: templateproperties_context.textsliderbgcolor
|
|
13782
13791
|
}
|
|
13783
|
-
}, /*#__PURE__*/React.createElement("marquee", null, /*#__PURE__*/React.createElement("span", {
|
|
13792
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React.createElement("marquee", null, /*#__PURE__*/React.createElement("span", {
|
|
13784
13793
|
"class": "d-flex flex-row align-items-center"
|
|
13785
13794
|
}, textarray.map(function (item, index) {
|
|
13786
13795
|
return /*#__PURE__*/React.createElement("p", {
|
|
13787
13796
|
"class": header_cssstyles.textSlider + ' ml-4 mr-4 mb-0 p-0 '
|
|
13788
13797
|
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
13789
|
-
})))
|
|
13798
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React.createElement("div", {
|
|
13799
|
+
"class": "w-100 allcentered"
|
|
13800
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
13801
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 '
|
|
13802
|
+
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic)));
|
|
13790
13803
|
};
|
|
13791
13804
|
|
|
13792
13805
|
var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: relative;\n}\n@media screen and (max-width: 800px) {\n .subheader-module_sub_outercontainer__-z5ZD {\n position: relative !important;\n top: 0 !important;\n }\n}\n.subheader-module_nav__item__8oLkw {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.subheader-module_nav__item__8oLkw::before {\n position: absolute;\n top: 0;\n left: 0;\n}\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY {\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::before {\n position: absolute;\n width: 100%;\n height: 1px;\n background: currentColor;\n top: 100%;\n left: 0;\n pointer-events: none;\n transform-origin: 100% 50%;\n transform: scale3d(0, 1, 1);\n transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::after {\n position: absolute;\n width: 100%;\n height: 1px;\n background: currentColor;\n top: 100%;\n left: 0;\n pointer-events: none;\n content: '';\n top: calc(100% + 4px);\n transform-origin: 0% 50%;\n transform: scale3d(0, 1, 1);\n transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::before {\n content: '';\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY:hover::before {\n transform-origin: 0% 50%;\n transform: scale3d(1, 1, 1);\n transition-timing-function: cubic-bezier(0.4, 1, 0.8, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY:hover::after {\n transform-origin: 100% 50%;\n transform: scale3d(1, 1, 1);\n transition-timing-function: cubic-bezier(0.4, 1, 0.8, 1);\n}\n.subheader-module_dropmenu__lL4Sc {\n display: none;\n margin-top: 20px !important;\n}\n.subheader-module_link__7IEBY:hover .subheader-module_dropmenu__lL4Sc {\n display: inline-block;\n width: 100%;\n height: 300px;\n top: 55px;\n bottom: 0px;\n position: absolute;\n transition: 0.3s;\n}\n.subheader-module_active__MjZNG {\n display: inline-block !important ;\n height: 300px;\n top: 45px;\n bottom: 0px;\n position: absolute;\n transition: 0.3s;\n}\n\n@media screen and (max-width: 800px) {\n .subheader-module_subheader__aW8fS {\n width: 100%;\n display: block;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .subheader-module_nav__item__8oLkw {\n /* width: 50% !important; */\n float: none;\n display: inline-block;\n zoom: 1;\n border-right: 0 !important;\n }\n}\n";
|
|
@@ -14738,7 +14751,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
14738
14751
|
fontSize: sectionproperties.dropdownusernamefontsize + 'px'
|
|
14739
14752
|
}
|
|
14740
14753
|
}, authdetailsContext.customerinfo.name)), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.cancustomerviewwallet) == 1 && templateproperties_context.showwallet == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
14741
|
-
"class": ' m-0 p-0 flex-row mt-1 w-100 justify-content-start'
|
|
14754
|
+
"class": ' row w-100 m-0 p-0 flex-row mt-1 w-100 justify-content-start'
|
|
14742
14755
|
}, /*#__PURE__*/React.createElement("p", {
|
|
14743
14756
|
"class": "m-0 p-0",
|
|
14744
14757
|
style: {
|
|
@@ -17035,8 +17048,9 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
17035
17048
|
style: {
|
|
17036
17049
|
width: sectionproperties.header_width + 'vw'
|
|
17037
17050
|
}
|
|
17038
|
-
},
|
|
17051
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
17039
17052
|
sectionpropertiesprops: sectionproperties,
|
|
17053
|
+
templateproperties_contextprops: templateproperties_context,
|
|
17040
17054
|
actions: actions
|
|
17041
17055
|
}), /*#__PURE__*/React.createElement("div", {
|
|
17042
17056
|
"class": "".concat(headerstyles$d.headercontainer) + ' col-lg-12 pl-0 pr-0 d-md-none ',
|
|
@@ -30236,7 +30250,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
30236
30250
|
maxWidth: sectionproperties.showfooterphonenumber == 'Show' ? '65px' : '140px'
|
|
30237
30251
|
}
|
|
30238
30252
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.name), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c3 = authdetailsContext.customerinfo) === null || _authdetailsContext$c3 === void 0 ? void 0 : _authdetailsContext$c3.cancustomerviewwallet) == 1 && templateproperties_context.showwallet == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
30239
|
-
"class": ' m-0 p-0
|
|
30253
|
+
"class": ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
30240
30254
|
style: {}
|
|
30241
30255
|
}, /*#__PURE__*/React.createElement("p", {
|
|
30242
30256
|
"class": "m-0 p-0",
|
|
@@ -31717,7 +31731,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
31717
31731
|
}, sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
31718
31732
|
"class": "col-lg-12 justify-content-start align-items-center mb-4 mb-md-4 p-0"
|
|
31719
31733
|
}, /*#__PURE__*/React.createElement("div", {
|
|
31720
|
-
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-
|
|
31734
|
+
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-start"
|
|
31721
31735
|
}, /*#__PURE__*/React.createElement("div", {
|
|
31722
31736
|
"class": "col-lg-12 p-0 mb-2"
|
|
31723
31737
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -31726,7 +31740,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
31726
31740
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
31727
31741
|
}
|
|
31728
31742
|
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React.createElement("div", {
|
|
31729
|
-
"class": langdetect == 'en' ? 'col-lg-
|
|
31743
|
+
"class": langdetect == 'en' ? 'col-lg-5 col-md-4 col-sm-4 p-0 pr-2' : 'col-lg-5 col-md-4 col-sm-4 p-0 pl-2'
|
|
31730
31744
|
}, /*#__PURE__*/React.createElement("img", {
|
|
31731
31745
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
31732
31746
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
@@ -31735,7 +31749,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
31735
31749
|
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.mobileapplink_appstore, '_blank');
|
|
31736
31750
|
}
|
|
31737
31751
|
})), /*#__PURE__*/React.createElement("div", {
|
|
31738
|
-
"class": langdetect == 'en' ? 'col-lg-
|
|
31752
|
+
"class": langdetect == 'en' ? 'col-lg-5 col-md-4 col-sm-4 pl-0' : 'col-lg-5 col-md-4 col-sm-4 pr-0'
|
|
31739
31753
|
}, /*#__PURE__*/React.createElement("img", {
|
|
31740
31754
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
31741
31755
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
@@ -48014,35 +48028,9 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
48014
48028
|
scale: 1.4
|
|
48015
48029
|
};
|
|
48016
48030
|
({
|
|
48017
|
-
|
|
48018
|
-
|
|
48019
|
-
|
|
48020
|
-
position: 'absolute',
|
|
48021
|
-
top: 0,
|
|
48022
|
-
bottom: 0,
|
|
48023
|
-
left: 0,
|
|
48024
|
-
right: 0,
|
|
48025
|
-
width: '100%',
|
|
48026
|
-
height: '100%',
|
|
48027
|
-
backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
|
|
48028
|
-
}),
|
|
48029
|
-
slideshow_btn: css({
|
|
48030
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
48031
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
48032
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
48033
|
-
color: sectionproperties.generalbtn_textColor,
|
|
48034
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
48035
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
48036
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
48037
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
48038
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
48039
|
-
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
48040
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
48041
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
48042
|
-
transition: '.3s',
|
|
48043
|
-
':hover': {
|
|
48044
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
48045
|
-
color: sectionproperties.generalbtn_textColoronhover
|
|
48031
|
+
slideshowcontainer: css({
|
|
48032
|
+
'@media (max-width: 800px)': {
|
|
48033
|
+
height: sectionproperties.height_responsive + 'px'
|
|
48046
48034
|
}
|
|
48047
48035
|
})
|
|
48048
48036
|
});
|
|
@@ -48071,8 +48059,8 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
48071
48059
|
}, /*#__PURE__*/React.createElement("div", {
|
|
48072
48060
|
className: "row m-0 w-100"
|
|
48073
48061
|
}, /*#__PURE__*/React.createElement("div", {
|
|
48074
|
-
"class":
|
|
48075
|
-
}, /*#__PURE__*/React.createElement(
|
|
48062
|
+
"class": ' col-lg-8 mb-md-3 p-md-0 '
|
|
48063
|
+
}, /*#__PURE__*/React.createElement(Zoom, _extends({}, Slideshowsettings, {
|
|
48076
48064
|
transitionDuration: 1500,
|
|
48077
48065
|
duration: 1500,
|
|
48078
48066
|
arrow: true,
|
package/dist/index.umd.js
CHANGED
|
@@ -11746,8 +11746,7 @@
|
|
|
11746
11746
|
var InstFilters = function InstFilters() {
|
|
11747
11747
|
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
11748
11748
|
allowMultipleExpanded: true,
|
|
11749
|
-
allowZeroExpanded: true
|
|
11750
|
-
preExpanded: [0, 1, 2, 3]
|
|
11749
|
+
allowZeroExpanded: true
|
|
11751
11750
|
}, instfilters.map(function (item, index) {
|
|
11752
11751
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
11753
11752
|
uuid: index
|
|
@@ -13270,7 +13269,7 @@
|
|
|
13270
13269
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
13271
13270
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
13272
13271
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
13273
|
-
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
13272
|
+
scrollContainerClassName: sectionproperties.showscrollbar == 'Show' ? 'scrollmenuclasssubscrollbar2' : 'scrollmenuclasssubscrollbar'
|
|
13274
13273
|
}, cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
13275
13274
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13276
13275
|
className: ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100'
|
|
@@ -13635,50 +13634,64 @@
|
|
|
13635
13634
|
function ownKeys$1P(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13636
13635
|
function _objectSpread$1P(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1P(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1P(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13637
13636
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
13637
|
+
var _textarray$, _textarray$2;
|
|
13638
13638
|
props.actions;
|
|
13639
13639
|
props.actions.lang;
|
|
13640
13640
|
var langdetect = props.actions.langdetect;
|
|
13641
13641
|
props.actions.StatePagePropertiesContext;
|
|
13642
13642
|
var _useState = React.useState({}),
|
|
13643
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2)
|
|
13644
|
-
|
|
13645
|
-
setsectionproperties = _useState2[1];
|
|
13646
|
-
var _useState3 = React.useState(
|
|
13643
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
13644
|
+
_useState2[0];
|
|
13645
|
+
var setsectionproperties = _useState2[1];
|
|
13646
|
+
var _useState3 = React.useState({}),
|
|
13647
13647
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
13648
|
-
|
|
13649
|
-
|
|
13650
|
-
React.
|
|
13651
|
-
|
|
13652
|
-
|
|
13653
|
-
|
|
13654
|
-
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
13655
|
-
}
|
|
13656
|
-
}
|
|
13657
|
-
}, [sectionproperties]);
|
|
13648
|
+
templateproperties_context = _useState4[0],
|
|
13649
|
+
settemplateproperties_context = _useState4[1];
|
|
13650
|
+
var _useState5 = React.useState([]),
|
|
13651
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
13652
|
+
textarray = _useState6[0],
|
|
13653
|
+
settextarray = _useState6[1];
|
|
13658
13654
|
React.useEffect(function () {
|
|
13659
13655
|
if (props.sectionpropertiesprops != undefined) {
|
|
13660
13656
|
setsectionproperties(_objectSpread$1P({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
13661
13657
|
}
|
|
13662
13658
|
}, [props.sectionpropertiesprops]);
|
|
13659
|
+
React.useEffect(function () {
|
|
13660
|
+
if (props.templateproperties_contextprops != undefined) {
|
|
13661
|
+
settemplateproperties_context(_objectSpread$1P({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
13662
|
+
}
|
|
13663
|
+
}, [props.templateproperties_contextprops]);
|
|
13664
|
+
React.useEffect(function () {
|
|
13665
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
13666
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
13667
|
+
if (Array.isArray(textarrayparsed)) {
|
|
13668
|
+
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
13669
|
+
}
|
|
13670
|
+
}
|
|
13671
|
+
}, [templateproperties_context]);
|
|
13663
13672
|
var header_cssstyles = {
|
|
13664
13673
|
textSlider: glamor.css({
|
|
13665
|
-
fontSize:
|
|
13666
|
-
color:
|
|
13667
|
-
fontWeight:
|
|
13674
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
13675
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
13676
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
13668
13677
|
})
|
|
13669
13678
|
};
|
|
13670
13679
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13671
13680
|
"class": "col-lg-12 p-0 pt-1",
|
|
13672
13681
|
style: {
|
|
13673
|
-
background:
|
|
13682
|
+
background: templateproperties_context.textsliderbgcolor
|
|
13674
13683
|
}
|
|
13675
|
-
}, /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13684
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13676
13685
|
"class": "d-flex flex-row align-items-center"
|
|
13677
13686
|
}, textarray.map(function (item, index) {
|
|
13678
13687
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13679
13688
|
"class": header_cssstyles.textSlider + ' ml-4 mr-4 mb-0 p-0 '
|
|
13680
13689
|
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
13681
|
-
})))
|
|
13690
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13691
|
+
"class": "w-100 allcentered"
|
|
13692
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13693
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 '
|
|
13694
|
+
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic)));
|
|
13682
13695
|
};
|
|
13683
13696
|
|
|
13684
13697
|
var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: relative;\n}\n@media screen and (max-width: 800px) {\n .subheader-module_sub_outercontainer__-z5ZD {\n position: relative !important;\n top: 0 !important;\n }\n}\n.subheader-module_nav__item__8oLkw {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.subheader-module_nav__item__8oLkw::before {\n position: absolute;\n top: 0;\n left: 0;\n}\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY {\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::before {\n position: absolute;\n width: 100%;\n height: 1px;\n background: currentColor;\n top: 100%;\n left: 0;\n pointer-events: none;\n transform-origin: 100% 50%;\n transform: scale3d(0, 1, 1);\n transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::after {\n position: absolute;\n width: 100%;\n height: 1px;\n background: currentColor;\n top: 100%;\n left: 0;\n pointer-events: none;\n content: '';\n top: calc(100% + 4px);\n transform-origin: 0% 50%;\n transform: scale3d(0, 1, 1);\n transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY::before {\n content: '';\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY:hover::before {\n transform-origin: 0% 50%;\n transform: scale3d(1, 1, 1);\n transition-timing-function: cubic-bezier(0.4, 1, 0.8, 1);\n}\n\n.subheader-module_nav__item__8oLkw .subheader-module_link__7IEBY:hover::after {\n transform-origin: 100% 50%;\n transform: scale3d(1, 1, 1);\n transition-timing-function: cubic-bezier(0.4, 1, 0.8, 1);\n}\n.subheader-module_dropmenu__lL4Sc {\n display: none;\n margin-top: 20px !important;\n}\n.subheader-module_link__7IEBY:hover .subheader-module_dropmenu__lL4Sc {\n display: inline-block;\n width: 100%;\n height: 300px;\n top: 55px;\n bottom: 0px;\n position: absolute;\n transition: 0.3s;\n}\n.subheader-module_active__MjZNG {\n display: inline-block !important ;\n height: 300px;\n top: 45px;\n bottom: 0px;\n position: absolute;\n transition: 0.3s;\n}\n\n@media screen and (max-width: 800px) {\n .subheader-module_subheader__aW8fS {\n width: 100%;\n display: block;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .subheader-module_nav__item__8oLkw {\n /* width: 50% !important; */\n float: none;\n display: inline-block;\n zoom: 1;\n border-right: 0 !important;\n }\n}\n";
|
|
@@ -14630,7 +14643,7 @@
|
|
|
14630
14643
|
fontSize: sectionproperties.dropdownusernamefontsize + 'px'
|
|
14631
14644
|
}
|
|
14632
14645
|
}, authdetailsContext.customerinfo.name)), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.cancustomerviewwallet) == 1 && templateproperties_context.showwallet == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14633
|
-
"class": ' m-0 p-0 flex-row mt-1 w-100 justify-content-start'
|
|
14646
|
+
"class": ' row w-100 m-0 p-0 flex-row mt-1 w-100 justify-content-start'
|
|
14634
14647
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14635
14648
|
"class": "m-0 p-0",
|
|
14636
14649
|
style: {
|
|
@@ -16927,8 +16940,9 @@
|
|
|
16927
16940
|
style: {
|
|
16928
16941
|
width: sectionproperties.header_width + 'vw'
|
|
16929
16942
|
}
|
|
16930
|
-
},
|
|
16943
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
16931
16944
|
sectionpropertiesprops: sectionproperties,
|
|
16945
|
+
templateproperties_contextprops: templateproperties_context,
|
|
16932
16946
|
actions: actions
|
|
16933
16947
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16934
16948
|
"class": "".concat(headerstyles$d.headercontainer) + ' col-lg-12 pl-0 pr-0 d-md-none ',
|
|
@@ -30128,7 +30142,7 @@
|
|
|
30128
30142
|
maxWidth: sectionproperties.showfooterphonenumber == 'Show' ? '65px' : '140px'
|
|
30129
30143
|
}
|
|
30130
30144
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.name), (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c3 = authdetailsContext.customerinfo) === null || _authdetailsContext$c3 === void 0 ? void 0 : _authdetailsContext$c3.cancustomerviewwallet) == 1 && templateproperties_context.showwallet == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30131
|
-
"class": ' m-0 p-0
|
|
30145
|
+
"class": ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
30132
30146
|
style: {}
|
|
30133
30147
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30134
30148
|
"class": "m-0 p-0",
|
|
@@ -31609,7 +31623,7 @@
|
|
|
31609
31623
|
}, sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31610
31624
|
"class": "col-lg-12 justify-content-start align-items-center mb-4 mb-md-4 p-0"
|
|
31611
31625
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31612
|
-
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-
|
|
31626
|
+
"class": "row m-0 w-100 align-items-center flex-row justify-content-start justify-content-start justify-content-sm-start"
|
|
31613
31627
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31614
31628
|
"class": "col-lg-12 p-0 mb-2"
|
|
31615
31629
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -31618,7 +31632,7 @@
|
|
|
31618
31632
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
31619
31633
|
}
|
|
31620
31634
|
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31621
|
-
"class": langdetect == 'en' ? 'col-lg-
|
|
31635
|
+
"class": langdetect == 'en' ? 'col-lg-5 col-md-4 col-sm-4 p-0 pr-2' : 'col-lg-5 col-md-4 col-sm-4 p-0 pl-2'
|
|
31622
31636
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
31623
31637
|
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
31624
31638
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
@@ -31627,7 +31641,7 @@
|
|
|
31627
31641
|
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.mobileapplink_appstore, '_blank');
|
|
31628
31642
|
}
|
|
31629
31643
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31630
|
-
"class": langdetect == 'en' ? 'col-lg-
|
|
31644
|
+
"class": langdetect == 'en' ? 'col-lg-5 col-md-4 col-sm-4 pl-0' : 'col-lg-5 col-md-4 col-sm-4 pr-0'
|
|
31631
31645
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
31632
31646
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
31633
31647
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
@@ -47906,35 +47920,9 @@
|
|
|
47906
47920
|
scale: 1.4
|
|
47907
47921
|
};
|
|
47908
47922
|
({
|
|
47909
|
-
|
|
47910
|
-
|
|
47911
|
-
|
|
47912
|
-
position: 'absolute',
|
|
47913
|
-
top: 0,
|
|
47914
|
-
bottom: 0,
|
|
47915
|
-
left: 0,
|
|
47916
|
-
right: 0,
|
|
47917
|
-
width: '100%',
|
|
47918
|
-
height: '100%',
|
|
47919
|
-
backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
|
|
47920
|
-
}),
|
|
47921
|
-
slideshow_btn: glamor.css({
|
|
47922
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
47923
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
47924
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
47925
|
-
color: sectionproperties.generalbtn_textColor,
|
|
47926
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
47927
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
47928
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
47929
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
47930
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
47931
|
-
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
47932
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
47933
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
47934
|
-
transition: '.3s',
|
|
47935
|
-
':hover': {
|
|
47936
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
47937
|
-
color: sectionproperties.generalbtn_textColoronhover
|
|
47923
|
+
slideshowcontainer: glamor.css({
|
|
47924
|
+
'@media (max-width: 800px)': {
|
|
47925
|
+
height: sectionproperties.height_responsive + 'px'
|
|
47938
47926
|
}
|
|
47939
47927
|
})
|
|
47940
47928
|
});
|
|
@@ -47963,8 +47951,8 @@
|
|
|
47963
47951
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47964
47952
|
className: "row m-0 w-100"
|
|
47965
47953
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47966
|
-
"class":
|
|
47967
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.
|
|
47954
|
+
"class": ' col-lg-8 mb-md-3 p-md-0 '
|
|
47955
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Zoom, _extends__default["default"]({}, Slideshowsettings, {
|
|
47968
47956
|
transitionDuration: 1500,
|
|
47969
47957
|
duration: 1500,
|
|
47970
47958
|
arrow: true,
|