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.esm.js CHANGED
@@ -31644,7 +31644,6 @@ var Threebgimages = function Threebgimages(props) {
31644
31644
  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; }
31645
31645
  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(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; }
31646
31646
  var Twobgimages = function Twobgimages(props) {
31647
- var _bgimagearrayofobjs$;
31648
31647
  var _useState = useState(''),
31649
31648
  _useState2 = _slicedToArray(_useState, 2),
31650
31649
  sectionproperties = _useState2[0],
@@ -31778,207 +31777,221 @@ var Twobgimages = function Twobgimages(props) {
31778
31777
  }
31779
31778
  })
31780
31779
  };
31781
- return /*#__PURE__*/React.createElement("div", {
31782
- className: "row m-0 w-100"
31783
- }, /*#__PURE__*/React.createElement("div", {
31784
- className: "col-lg-12 p-0"
31785
- }, /*#__PURE__*/React.createElement("div", {
31786
- 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',
31787
- style: {
31788
- paddingTop: sectionproperties.paddingTop + 'px',
31789
- paddingBottom: sectionproperties.paddingBottom + 'px',
31790
- paddingLeft: sectionproperties.paddingLeft + 'px',
31791
- paddingRight: sectionproperties.paddingRight + 'px',
31792
- backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
31793
- backgroundSize: 'cover',
31794
- background: sectionproperties.backgroundColor
31795
- }
31796
- }, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React.createElement("div", {
31797
- className: "col-lg-2 col-md-12 pl-2 pr-2 mb-md-3"
31798
- }, /*#__PURE__*/React.createElement(Categoriesdropdown, {
31799
- sectionpropertiesprops: sectionproperties,
31800
- actions: actions
31801
- })), /*#__PURE__*/React.createElement("div", {
31802
- className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
31803
- }, /*#__PURE__*/React.createElement("div", {
31804
- className: "row m-0 w-100"
31805
- }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
31806
- // bgimagearrayofobjs.IsClickable
31807
- // bgimagearrayofobjs.clickable_page_route
31808
- // bgimagearrayofobjs.Clickable_Reference_Collection_ID
31780
+ var BackgroundImage = function BackgroundImage() {
31781
+ var _bgimagearrayofobjs$;
31809
31782
  return /*#__PURE__*/React.createElement("div", {
31810
- 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,
31811
- style: {
31812
- paddingLeft: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31813
- paddingRight: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31814
- cursor: item.place_clickable == 'General' ? 'pointer' : 'default'
31815
- },
31816
- onClick: function onClick() {
31817
- if (item.IsClickable == 'Yes') {
31818
- if (item.place_clickable == 'General') {
31819
- if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31820
- routingcountext(item.clickable_page_route, false, '');
31821
- } else {
31822
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31823
- }
31824
- }
31825
- }
31826
- }
31827
- }, /*#__PURE__*/React.createElement("div", {
31828
- className: "row ml-0 mr-0 d-flex justify-content-center w-100"
31829
- }, /*#__PURE__*/React.createElement("div", {
31830
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
31831
- style: {
31832
- height: sectionproperties.image_height + 'vh'
31833
- }
31834
- }, /*#__PURE__*/React.createElement("div", {
31835
- className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
31836
- style: {
31837
- height: '100%',
31838
- width: '100%'
31839
- }
31840
- }, /*#__PURE__*/React.createElement(IKImage, {
31841
- urlEndpoint: IKurlEndpoint,
31842
- publicKey: IKpublicKey,
31843
- path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
31844
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31783
+ 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',
31845
31784
  style: {
31846
- height: '100%',
31847
- width: '100%',
31848
- objectFit: sectionproperties.bgcovercontain,
31849
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31850
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31851
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31852
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31853
- }
31854
- })), /*#__PURE__*/React.createElement("div", {
31855
- className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
31856
- style: {
31857
- height: '100%',
31858
- width: '100%'
31859
- }
31860
- }, /*#__PURE__*/React.createElement(IKImage, {
31861
- urlEndpoint: IKurlEndpoint,
31862
- publicKey: IKpublicKey,
31863
- path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_imageresponsive : bgimagearrayofobjs[index].bg1_imageresponsive_ar : '',
31864
- className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31865
- style: {
31866
- height: '100%',
31867
- width: '100%',
31868
- objectFit: sectionproperties.bgcovercontain,
31869
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31870
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31871
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31872
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31785
+ paddingTop: sectionproperties.paddingTop + 'px',
31786
+ paddingBottom: sectionproperties.paddingBottom + 'px',
31787
+ paddingLeft: sectionproperties.paddingLeft + 'px',
31788
+ paddingRight: sectionproperties.paddingRight + 'px',
31789
+ backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
31790
+ backgroundSize: 'cover',
31791
+ background: sectionproperties.backgroundColor
31873
31792
  }
31793
+ }, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React.createElement("div", {
31794
+ className: "col-lg-2 col-md-12 pl-2 pr-2 mb-md-3"
31795
+ }, /*#__PURE__*/React.createElement(Categoriesdropdown, {
31796
+ sectionpropertiesprops: sectionproperties,
31797
+ actions: actions
31874
31798
  })), /*#__PURE__*/React.createElement("div", {
31875
- className: "".concat(bgcssstyles.bgImageContainer) + ' col-lg-12 p-0 w-100 ',
31876
- style: {
31877
- position: 'absolute',
31878
- top: 0,
31879
- right: 0,
31880
- bottom: 0,
31881
- left: 0,
31882
- zIndex: 1
31883
- }
31884
- }, /*#__PURE__*/React.createElement("div", {
31885
- className: "".concat(bgcssstyles.centered_container) + ' row m-0 d-flex pt-0 '
31799
+ className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
31886
31800
  }, /*#__PURE__*/React.createElement("div", {
31887
- 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 ',
31888
- style: {
31889
- position: 'relative',
31890
- overflow: 'hidden'
31891
- }
31892
- }, /*#__PURE__*/React.createElement("p", {
31893
- className: 'd-flex justify-content-md-center wordbreak',
31894
- style: {
31895
- maxWidth: '100%',
31896
- position: 'relative',
31897
- fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31898
- color: bgimagearrayofobjs[index].bg1_txtcolor,
31899
- textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31900
- fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31901
- top: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : bgimagearrayofobjs[index].bg1_texttop + 'px',
31902
- left: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? bgimagearrayofobjs[index].bg1_textleft + 'px' : '',
31903
- right: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_textleft + 'px',
31904
- bottom: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '',
31905
- margin: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 'auto' : '',
31906
- textAlign: langdetect == 'en' ? 'left' : 'right'
31907
- }
31908
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React.createElement("p", {
31909
- className: 'd-flex justify-content-md-center wordbreak',
31910
- style: {
31911
- // maxWidth: '97%',
31912
- position: 'relative',
31913
- fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31914
- color: bgimagearrayofobjs[index].bg1_descolor,
31915
- textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31916
- fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31917
- top: bgimagearrayofobjs[index].desc1top + 'px',
31918
- left: langdetect == 'en' ? bgimagearrayofobjs[index].desc1left + 'px' : '',
31919
- right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].desc1left + 'px',
31920
- textAlign: langdetect == 'en' ? 'left' : 'right'
31921
- }
31922
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React.createElement("button", {
31923
- className: "".concat(bgcssstyles.btnone) + ' allcentered ',
31924
- style: {
31925
- top: bgimagearrayofobjs[index].bg1_btnpositiontop + 'px',
31926
- left: langdetect == 'en' ? bgimagearrayofobjs[index].bg1_btnpositionleft + 'px' : '',
31927
- right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_btnpositionleft + 'px',
31928
- letterSpacing: langdetect == 'en' ? '1px' : 0
31929
- },
31930
- onClick: function onClick() {
31931
- if (item.IsClickable == 'Yes') {
31932
- if (item.place_clickable == 'Button') {
31933
- if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31934
- routingcountext(item.clickable_page_route, false, '');
31935
- } else {
31936
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31801
+ className: "row m-0 w-100"
31802
+ }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
31803
+ // bgimagearrayofobjs.IsClickable
31804
+ // bgimagearrayofobjs.clickable_page_route
31805
+ // bgimagearrayofobjs.Clickable_Reference_Collection_ID
31806
+ return /*#__PURE__*/React.createElement("div", {
31807
+ 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,
31808
+ style: {
31809
+ paddingLeft: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31810
+ paddingRight: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31811
+ cursor: item.place_clickable == 'General' ? 'pointer' : 'default'
31812
+ },
31813
+ onClick: function onClick() {
31814
+ if (item.IsClickable == 'Yes') {
31815
+ if (item.place_clickable == 'General') {
31816
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31817
+ routingcountext(item.clickable_page_route, false, '');
31818
+ } else {
31819
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31820
+ }
31937
31821
  }
31938
31822
  }
31939
31823
  }
31940
- }
31941
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ', langdetect == 'en' ? /*#__PURE__*/React.createElement(IoIosArrowRoundForward, {
31942
- size: 20
31943
- }) : /*#__PURE__*/React.createElement(IoIosArrowRoundBack, {
31944
- size: 20
31945
- }))), /*#__PURE__*/React.createElement("div", {
31946
- className: "col-md-12 d-none d-md-flex flex-column mt-auto mb-auto "
31947
- }, /*#__PURE__*/React.createElement("p", {
31948
- className: "wordbreak m-0",
31949
- style: {
31950
- position: 'relative',
31951
- fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31952
- color: bgimagearrayofobjs[index].bg1_txtcolor,
31953
- textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31954
- fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31955
- textAlign: langdetect == 'en' ? 'left' : 'right'
31956
- }
31957
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React.createElement("p", {
31958
- className: 'd-flex justify-content-md-center wordbreak m-0',
31959
- style: {
31960
- position: 'relative',
31961
- fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31962
- color: bgimagearrayofobjs[index].bg1_descolor,
31963
- textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31964
- fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31965
- textAlign: langdetect == 'en' ? 'left' : 'right'
31966
- }
31967
- }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React.createElement("button", {
31968
- className: "".concat(bgcssstyles.btnresp) + ' mt-md-5 mt-sm-3 ',
31969
- onClick: function onClick() {
31970
- if (item.IsClickable == 'Yes') {
31971
- if (item.place_clickable == 'Button') {
31972
- if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31973
- routingcountext(item.clickable_page_route, false, '');
31974
- } else {
31975
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31824
+ }, /*#__PURE__*/React.createElement("div", {
31825
+ className: "row ml-0 mr-0 d-flex justify-content-center w-100"
31826
+ }, /*#__PURE__*/React.createElement("div", {
31827
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
31828
+ style: {
31829
+ height: sectionproperties.image_height + 'vh'
31830
+ }
31831
+ }, /*#__PURE__*/React.createElement("div", {
31832
+ className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
31833
+ style: {
31834
+ height: '100%',
31835
+ width: '100%'
31836
+ }
31837
+ }, /*#__PURE__*/React.createElement(IKImage, {
31838
+ urlEndpoint: IKurlEndpoint,
31839
+ publicKey: IKpublicKey,
31840
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
31841
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31842
+ style: {
31843
+ height: '100%',
31844
+ width: '100%',
31845
+ objectFit: sectionproperties.bgcovercontain,
31846
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31847
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31848
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31849
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31850
+ }
31851
+ })), /*#__PURE__*/React.createElement("div", {
31852
+ className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
31853
+ style: {
31854
+ height: '100%',
31855
+ width: '100%'
31856
+ }
31857
+ }, /*#__PURE__*/React.createElement(IKImage, {
31858
+ urlEndpoint: IKurlEndpoint,
31859
+ publicKey: IKpublicKey,
31860
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_imageresponsive : bgimagearrayofobjs[index].bg1_imageresponsive_ar : '',
31861
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31862
+ style: {
31863
+ height: '100%',
31864
+ width: '100%',
31865
+ objectFit: sectionproperties.bgcovercontain,
31866
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31867
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31868
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31869
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31870
+ }
31871
+ })), /*#__PURE__*/React.createElement("div", {
31872
+ className: "".concat(bgcssstyles.bgImageContainer) + ' col-lg-12 p-0 w-100 ',
31873
+ style: {
31874
+ position: 'absolute',
31875
+ top: 0,
31876
+ right: 0,
31877
+ bottom: 0,
31878
+ left: 0,
31879
+ zIndex: 1
31880
+ }
31881
+ }, /*#__PURE__*/React.createElement("div", {
31882
+ className: "".concat(bgcssstyles.centered_container) + ' row m-0 d-flex pt-0 '
31883
+ }, /*#__PURE__*/React.createElement("div", {
31884
+ 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 ',
31885
+ style: {
31886
+ position: 'relative',
31887
+ overflow: 'hidden'
31888
+ }
31889
+ }, /*#__PURE__*/React.createElement("p", {
31890
+ className: 'd-flex justify-content-md-center wordbreak',
31891
+ style: {
31892
+ maxWidth: '100%',
31893
+ position: 'relative',
31894
+ fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31895
+ color: bgimagearrayofobjs[index].bg1_txtcolor,
31896
+ textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31897
+ fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31898
+ top: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : bgimagearrayofobjs[index].bg1_texttop + 'px',
31899
+ left: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? bgimagearrayofobjs[index].bg1_textleft + 'px' : '',
31900
+ right: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_textleft + 'px',
31901
+ bottom: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '',
31902
+ margin: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 'auto' : '',
31903
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31904
+ }
31905
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React.createElement("p", {
31906
+ className: 'd-flex justify-content-md-center wordbreak',
31907
+ style: {
31908
+ // maxWidth: '97%',
31909
+ position: 'relative',
31910
+ fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31911
+ color: bgimagearrayofobjs[index].bg1_descolor,
31912
+ textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31913
+ fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31914
+ top: bgimagearrayofobjs[index].desc1top + 'px',
31915
+ left: langdetect == 'en' ? bgimagearrayofobjs[index].desc1left + 'px' : '',
31916
+ right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].desc1left + 'px',
31917
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31918
+ }
31919
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React.createElement("button", {
31920
+ className: "".concat(bgcssstyles.btnone) + ' allcentered ',
31921
+ style: {
31922
+ top: bgimagearrayofobjs[index].bg1_btnpositiontop + 'px',
31923
+ left: langdetect == 'en' ? bgimagearrayofobjs[index].bg1_btnpositionleft + 'px' : '',
31924
+ right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_btnpositionleft + 'px',
31925
+ letterSpacing: langdetect == 'en' ? '1px' : 0
31926
+ },
31927
+ onClick: function onClick() {
31928
+ if (item.IsClickable == 'Yes') {
31929
+ if (item.place_clickable == 'Button') {
31930
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31931
+ routingcountext(item.clickable_page_route, false, '');
31932
+ } else {
31933
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31934
+ }
31976
31935
  }
31977
31936
  }
31978
31937
  }
31979
- }
31980
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
31981
- }))))));
31938
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ', langdetect == 'en' ? /*#__PURE__*/React.createElement(IoIosArrowRoundForward, {
31939
+ size: 20
31940
+ }) : /*#__PURE__*/React.createElement(IoIosArrowRoundBack, {
31941
+ size: 20
31942
+ }))), /*#__PURE__*/React.createElement("div", {
31943
+ className: "col-md-12 d-none d-md-flex flex-column mt-auto mb-auto "
31944
+ }, /*#__PURE__*/React.createElement("p", {
31945
+ className: "wordbreak m-0",
31946
+ style: {
31947
+ position: 'relative',
31948
+ fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31949
+ color: bgimagearrayofobjs[index].bg1_txtcolor,
31950
+ textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31951
+ fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31952
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31953
+ }
31954
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React.createElement("p", {
31955
+ className: 'd-flex justify-content-md-center wordbreak m-0',
31956
+ style: {
31957
+ position: 'relative',
31958
+ fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31959
+ color: bgimagearrayofobjs[index].bg1_descolor,
31960
+ textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31961
+ fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31962
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31963
+ }
31964
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React.createElement("button", {
31965
+ className: "".concat(bgcssstyles.btnresp) + ' mt-md-5 mt-sm-3 ',
31966
+ onClick: function onClick() {
31967
+ if (item.IsClickable == 'Yes') {
31968
+ if (item.place_clickable == 'Button') {
31969
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31970
+ routingcountext(item.clickable_page_route, false, '');
31971
+ } else {
31972
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31973
+ }
31974
+ }
31975
+ }
31976
+ }
31977
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
31978
+ }))));
31979
+ };
31980
+ return /*#__PURE__*/React.createElement("div", {
31981
+ className: "row m-0 w-100"
31982
+ }, /*#__PURE__*/React.createElement("div", {
31983
+ className: "col-lg-12 p-0 d-flex d-md-none",
31984
+ style: {
31985
+ marginTop: sectionproperties.marginTop + 'px',
31986
+ marginBottom: sectionproperties.marginBottom + 'px'
31987
+ }
31988
+ }, BackgroundImage()), /*#__PURE__*/React.createElement("div", {
31989
+ className: "col-lg-12 p-0 d-none d-md-flex",
31990
+ style: {
31991
+ marginTop: sectionproperties.marginTopResp + 'px',
31992
+ marginBottom: sectionproperties.marginBottomResp + 'px'
31993
+ }
31994
+ }, BackgroundImage()));
31982
31995
  };
31983
31996
 
31984
31997
  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; }