tabexseriescomponents 0.0.106 → 0.0.107

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 CHANGED
@@ -31687,7 +31687,6 @@ var Threebgimages = function Threebgimages(props) {
31687
31687
  function ownKeys$J(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; }
31688
31688
  function _objectSpread$J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
31689
31689
  var Twobgimages = function Twobgimages(props) {
31690
- var _bgimagearrayofobjs$;
31691
31690
  var _useState = React.useState(''),
31692
31691
  _useState2 = _slicedToArray__default["default"](_useState, 2),
31693
31692
  sectionproperties = _useState2[0],
@@ -31821,207 +31820,221 @@ var Twobgimages = function Twobgimages(props) {
31821
31820
  }
31822
31821
  })
31823
31822
  };
31824
- return /*#__PURE__*/React__default["default"].createElement("div", {
31825
- className: "row m-0 w-100"
31826
- }, /*#__PURE__*/React__default["default"].createElement("div", {
31827
- className: "col-lg-12 p-0"
31828
- }, /*#__PURE__*/React__default["default"].createElement("div", {
31829
- className: ((_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.bg1_numberofcols) == '12' ? 'row w-100 ml-0 mr-0 pl-md-0 pr-md-0 no-repeat' : 'row w-100 ml-0 mr-0 pl-md-3 pr-md-3 no-repeat',
31830
- style: {
31831
- paddingTop: sectionproperties.paddingTop + 'px',
31832
- paddingBottom: sectionproperties.paddingBottom + 'px',
31833
- paddingLeft: sectionproperties.paddingLeft + 'px',
31834
- paddingRight: sectionproperties.paddingRight + 'px',
31835
- backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
31836
- backgroundSize: 'cover',
31837
- background: sectionproperties.backgroundColor
31838
- }
31839
- }, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
31840
- className: "col-lg-2 col-md-12 pl-2 pr-2 mb-md-3"
31841
- }, /*#__PURE__*/React__default["default"].createElement(Categoriesdropdown, {
31842
- sectionpropertiesprops: sectionproperties,
31843
- actions: actions
31844
- })), /*#__PURE__*/React__default["default"].createElement("div", {
31845
- className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
31846
- }, /*#__PURE__*/React__default["default"].createElement("div", {
31847
- className: "row m-0 w-100"
31848
- }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
31849
- // bgimagearrayofobjs.IsClickable
31850
- // bgimagearrayofobjs.clickable_page_route
31851
- // bgimagearrayofobjs.Clickable_Reference_Collection_ID
31823
+ var BackgroundImage = function BackgroundImage() {
31824
+ var _bgimagearrayofobjs$;
31852
31825
  return /*#__PURE__*/React__default["default"].createElement("div", {
31853
- className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
31854
- style: {
31855
- paddingLeft: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31856
- paddingRight: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31857
- cursor: item.place_clickable == 'General' ? 'pointer' : 'default'
31858
- },
31859
- onClick: function onClick() {
31860
- if (item.IsClickable == 'Yes') {
31861
- if (item.place_clickable == 'General') {
31862
- if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31863
- routingcountext(item.clickable_page_route, false, '');
31864
- } else {
31865
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31866
- }
31867
- }
31868
- }
31869
- }
31870
- }, /*#__PURE__*/React__default["default"].createElement("div", {
31871
- className: "row ml-0 mr-0 d-flex justify-content-center w-100"
31872
- }, /*#__PURE__*/React__default["default"].createElement("div", {
31873
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
31874
- style: {
31875
- height: sectionproperties.image_height + 'vh'
31876
- }
31877
- }, /*#__PURE__*/React__default["default"].createElement("div", {
31878
- className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
31879
- style: {
31880
- height: '100%',
31881
- width: '100%'
31882
- }
31883
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31884
- urlEndpoint: IKurlEndpoint,
31885
- publicKey: IKpublicKey,
31886
- path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
31887
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31826
+ className: ((_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.bg1_numberofcols) == '12' ? 'row w-100 ml-0 mr-0 pl-md-0 pr-md-0 no-repeat' : 'row w-100 ml-0 mr-0 pl-md-3 pr-md-3 no-repeat',
31888
31827
  style: {
31889
- height: '100%',
31890
- width: '100%',
31891
- objectFit: sectionproperties.bgcovercontain,
31892
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31893
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31894
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31895
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31896
- }
31897
- })), /*#__PURE__*/React__default["default"].createElement("div", {
31898
- className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
31899
- style: {
31900
- height: '100%',
31901
- width: '100%'
31902
- }
31903
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31904
- urlEndpoint: IKurlEndpoint,
31905
- publicKey: IKpublicKey,
31906
- path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_imageresponsive : bgimagearrayofobjs[index].bg1_imageresponsive_ar : '',
31907
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31908
- style: {
31909
- height: '100%',
31910
- width: '100%',
31911
- objectFit: sectionproperties.bgcovercontain,
31912
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31913
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31914
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31915
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31828
+ paddingTop: sectionproperties.paddingTop + 'px',
31829
+ paddingBottom: sectionproperties.paddingBottom + 'px',
31830
+ paddingLeft: sectionproperties.paddingLeft + 'px',
31831
+ paddingRight: sectionproperties.paddingRight + 'px',
31832
+ backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
31833
+ backgroundSize: 'cover',
31834
+ background: sectionproperties.backgroundColor
31916
31835
  }
31836
+ }, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
31837
+ className: "col-lg-2 col-md-12 pl-2 pr-2 mb-md-3"
31838
+ }, /*#__PURE__*/React__default["default"].createElement(Categoriesdropdown, {
31839
+ sectionpropertiesprops: sectionproperties,
31840
+ actions: actions
31917
31841
  })), /*#__PURE__*/React__default["default"].createElement("div", {
31918
- className: "".concat(bgcssstyles.bgImageContainer) + ' col-lg-12 p-0 w-100 ',
31919
- style: {
31920
- position: 'absolute',
31921
- top: 0,
31922
- right: 0,
31923
- bottom: 0,
31924
- left: 0,
31925
- zIndex: 1
31926
- }
31927
- }, /*#__PURE__*/React__default["default"].createElement("div", {
31928
- className: "".concat(bgcssstyles.centered_container) + ' row m-0 d-flex pt-0 '
31842
+ className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
31929
31843
  }, /*#__PURE__*/React__default["default"].createElement("div", {
31930
- className: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? ' p-0 d-flex flex-column d-md-none col-lg-12 ' : ' p-0 d-flex flex-column d-md-none col-lg-6 ',
31931
- style: {
31932
- position: 'relative',
31933
- overflow: 'hidden'
31934
- }
31935
- }, /*#__PURE__*/React__default["default"].createElement("p", {
31936
- className: 'd-flex justify-content-md-center wordbreak',
31937
- style: {
31938
- maxWidth: '100%',
31939
- position: 'relative',
31940
- fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31941
- color: bgimagearrayofobjs[index].bg1_txtcolor,
31942
- textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31943
- fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31944
- top: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : bgimagearrayofobjs[index].bg1_texttop + 'px',
31945
- left: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? bgimagearrayofobjs[index].bg1_textleft + 'px' : '',
31946
- right: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_textleft + 'px',
31947
- bottom: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '',
31948
- margin: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 'auto' : '',
31949
- textAlign: langdetect == 'en' ? 'left' : 'right'
31950
- }
31951
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
31952
- className: 'd-flex justify-content-md-center wordbreak',
31953
- style: {
31954
- // maxWidth: '97%',
31955
- position: 'relative',
31956
- fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31957
- color: bgimagearrayofobjs[index].bg1_descolor,
31958
- textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31959
- fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31960
- top: bgimagearrayofobjs[index].desc1top + 'px',
31961
- left: langdetect == 'en' ? bgimagearrayofobjs[index].desc1left + 'px' : '',
31962
- right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].desc1left + 'px',
31963
- textAlign: langdetect == 'en' ? 'left' : 'right'
31964
- }
31965
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
31966
- className: "".concat(bgcssstyles.btnone) + ' allcentered ',
31967
- style: {
31968
- top: bgimagearrayofobjs[index].bg1_btnpositiontop + 'px',
31969
- left: langdetect == 'en' ? bgimagearrayofobjs[index].bg1_btnpositionleft + 'px' : '',
31970
- right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_btnpositionleft + 'px',
31971
- letterSpacing: langdetect == 'en' ? '1px' : 0
31972
- },
31973
- onClick: function onClick() {
31974
- if (item.IsClickable == 'Yes') {
31975
- if (item.place_clickable == 'Button') {
31976
- if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31977
- routingcountext(item.clickable_page_route, false, '');
31978
- } else {
31979
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31844
+ className: "row m-0 w-100"
31845
+ }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
31846
+ // bgimagearrayofobjs.IsClickable
31847
+ // bgimagearrayofobjs.clickable_page_route
31848
+ // bgimagearrayofobjs.Clickable_Reference_Collection_ID
31849
+ return /*#__PURE__*/React__default["default"].createElement("div", {
31850
+ className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
31851
+ style: {
31852
+ paddingLeft: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31853
+ paddingRight: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31854
+ cursor: item.place_clickable == 'General' ? 'pointer' : 'default'
31855
+ },
31856
+ onClick: function onClick() {
31857
+ if (item.IsClickable == 'Yes') {
31858
+ if (item.place_clickable == 'General') {
31859
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31860
+ routingcountext(item.clickable_page_route, false, '');
31861
+ } else {
31862
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31863
+ }
31980
31864
  }
31981
31865
  }
31982
31866
  }
31983
- }
31984
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ', langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(IoIosArrowRoundForward.IoIosArrowRoundForward, {
31985
- size: 20
31986
- }) : /*#__PURE__*/React__default["default"].createElement(IoIosArrowRoundBack.IoIosArrowRoundBack, {
31987
- size: 20
31988
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
31989
- className: "col-md-12 d-none d-md-flex flex-column mt-auto mb-auto "
31990
- }, /*#__PURE__*/React__default["default"].createElement("p", {
31991
- className: "wordbreak m-0",
31992
- style: {
31993
- position: 'relative',
31994
- fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31995
- color: bgimagearrayofobjs[index].bg1_txtcolor,
31996
- textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31997
- fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31998
- textAlign: langdetect == 'en' ? 'left' : 'right'
31999
- }
32000
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
32001
- className: 'd-flex justify-content-md-center wordbreak m-0',
32002
- style: {
32003
- position: 'relative',
32004
- fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
32005
- color: bgimagearrayofobjs[index].bg1_descolor,
32006
- textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
32007
- fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
32008
- textAlign: langdetect == 'en' ? 'left' : 'right'
32009
- }
32010
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
32011
- className: "".concat(bgcssstyles.btnresp) + ' mt-md-5 mt-sm-3 ',
32012
- onClick: function onClick() {
32013
- if (item.IsClickable == 'Yes') {
32014
- if (item.place_clickable == 'Button') {
32015
- if (item.clickable_page_route && item.clickable_page_route.length != 0) {
32016
- routingcountext(item.clickable_page_route, false, '');
32017
- } else {
32018
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31867
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
31868
+ className: "row ml-0 mr-0 d-flex justify-content-center w-100"
31869
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
31870
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
31871
+ style: {
31872
+ height: sectionproperties.image_height + 'vh'
31873
+ }
31874
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
31875
+ className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
31876
+ style: {
31877
+ height: '100%',
31878
+ width: '100%'
31879
+ }
31880
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31881
+ urlEndpoint: IKurlEndpoint,
31882
+ publicKey: IKpublicKey,
31883
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
31884
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31885
+ style: {
31886
+ height: '100%',
31887
+ width: '100%',
31888
+ objectFit: sectionproperties.bgcovercontain,
31889
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31890
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31891
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31892
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31893
+ }
31894
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
31895
+ className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
31896
+ style: {
31897
+ height: '100%',
31898
+ width: '100%'
31899
+ }
31900
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
31901
+ urlEndpoint: IKurlEndpoint,
31902
+ publicKey: IKpublicKey,
31903
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_imageresponsive : bgimagearrayofobjs[index].bg1_imageresponsive_ar : '',
31904
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31905
+ style: {
31906
+ height: '100%',
31907
+ width: '100%',
31908
+ objectFit: sectionproperties.bgcovercontain,
31909
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31910
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31911
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31912
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31913
+ }
31914
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
31915
+ className: "".concat(bgcssstyles.bgImageContainer) + ' col-lg-12 p-0 w-100 ',
31916
+ style: {
31917
+ position: 'absolute',
31918
+ top: 0,
31919
+ right: 0,
31920
+ bottom: 0,
31921
+ left: 0,
31922
+ zIndex: 1
31923
+ }
31924
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
31925
+ className: "".concat(bgcssstyles.centered_container) + ' row m-0 d-flex pt-0 '
31926
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
31927
+ className: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? ' p-0 d-flex flex-column d-md-none col-lg-12 ' : ' p-0 d-flex flex-column d-md-none col-lg-6 ',
31928
+ style: {
31929
+ position: 'relative',
31930
+ overflow: 'hidden'
31931
+ }
31932
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
31933
+ className: 'd-flex justify-content-md-center wordbreak',
31934
+ style: {
31935
+ maxWidth: '100%',
31936
+ position: 'relative',
31937
+ fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31938
+ color: bgimagearrayofobjs[index].bg1_txtcolor,
31939
+ textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31940
+ fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31941
+ top: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : bgimagearrayofobjs[index].bg1_texttop + 'px',
31942
+ left: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? bgimagearrayofobjs[index].bg1_textleft + 'px' : '',
31943
+ right: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_textleft + 'px',
31944
+ bottom: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '',
31945
+ margin: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 'auto' : '',
31946
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31947
+ }
31948
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
31949
+ className: 'd-flex justify-content-md-center wordbreak',
31950
+ style: {
31951
+ // maxWidth: '97%',
31952
+ position: 'relative',
31953
+ fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31954
+ color: bgimagearrayofobjs[index].bg1_descolor,
31955
+ textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31956
+ fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31957
+ top: bgimagearrayofobjs[index].desc1top + 'px',
31958
+ left: langdetect == 'en' ? bgimagearrayofobjs[index].desc1left + 'px' : '',
31959
+ right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].desc1left + 'px',
31960
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31961
+ }
31962
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
31963
+ className: "".concat(bgcssstyles.btnone) + ' allcentered ',
31964
+ style: {
31965
+ top: bgimagearrayofobjs[index].bg1_btnpositiontop + 'px',
31966
+ left: langdetect == 'en' ? bgimagearrayofobjs[index].bg1_btnpositionleft + 'px' : '',
31967
+ right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_btnpositionleft + 'px',
31968
+ letterSpacing: langdetect == 'en' ? '1px' : 0
31969
+ },
31970
+ onClick: function onClick() {
31971
+ if (item.IsClickable == 'Yes') {
31972
+ if (item.place_clickable == 'Button') {
31973
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31974
+ routingcountext(item.clickable_page_route, false, '');
31975
+ } else {
31976
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31977
+ }
32019
31978
  }
32020
31979
  }
32021
31980
  }
32022
- }
32023
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
32024
- }))))));
31981
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ', langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(IoIosArrowRoundForward.IoIosArrowRoundForward, {
31982
+ size: 20
31983
+ }) : /*#__PURE__*/React__default["default"].createElement(IoIosArrowRoundBack.IoIosArrowRoundBack, {
31984
+ size: 20
31985
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
31986
+ className: "col-md-12 d-none d-md-flex flex-column mt-auto mb-auto "
31987
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
31988
+ className: "wordbreak m-0",
31989
+ style: {
31990
+ position: 'relative',
31991
+ fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31992
+ color: bgimagearrayofobjs[index].bg1_txtcolor,
31993
+ textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31994
+ fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31995
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31996
+ }
31997
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
31998
+ className: 'd-flex justify-content-md-center wordbreak m-0',
31999
+ style: {
32000
+ position: 'relative',
32001
+ fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
32002
+ color: bgimagearrayofobjs[index].bg1_descolor,
32003
+ textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
32004
+ fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
32005
+ textAlign: langdetect == 'en' ? 'left' : 'right'
32006
+ }
32007
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
32008
+ className: "".concat(bgcssstyles.btnresp) + ' mt-md-5 mt-sm-3 ',
32009
+ onClick: function onClick() {
32010
+ if (item.IsClickable == 'Yes') {
32011
+ if (item.place_clickable == 'Button') {
32012
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
32013
+ routingcountext(item.clickable_page_route, false, '');
32014
+ } else {
32015
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
32016
+ }
32017
+ }
32018
+ }
32019
+ }
32020
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
32021
+ }))));
32022
+ };
32023
+ return /*#__PURE__*/React__default["default"].createElement("div", {
32024
+ className: "row m-0 w-100"
32025
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
32026
+ className: "col-lg-12 p-0 d-flex d-md-none",
32027
+ style: {
32028
+ marginTop: sectionproperties.marginTop + 'px',
32029
+ marginBottom: sectionproperties.marginBottom + 'px'
32030
+ }
32031
+ }, BackgroundImage()), /*#__PURE__*/React__default["default"].createElement("div", {
32032
+ className: "col-lg-12 p-0 d-none d-md-flex",
32033
+ style: {
32034
+ marginTop: sectionproperties.marginTopResp + 'px',
32035
+ marginBottom: sectionproperties.marginBottomResp + 'px'
32036
+ }
32037
+ }, BackgroundImage()));
32025
32038
  };
32026
32039
 
32027
32040
  function ownKeys$I(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; }