tabexseriescomponents 0.0.106 → 0.0.108

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
@@ -19,7 +19,6 @@ import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
19
19
  import { Modal, Offcanvas } from 'react-bootstrap';
20
20
  import 'react-query';
21
21
  import ImageGallery from 'react-image-gallery';
22
- import ShowMoreText from 'react-show-more-text';
23
22
  import { useParams } from 'react-router';
24
23
  import { IKImage } from 'imagekitio-react';
25
24
  import { MdAddShoppingCart as MdAddShoppingCart$1 } from '@react-icons/all-files/md/MdAddShoppingCart';
@@ -1625,14 +1624,7 @@ var Productinfo = function Productinfo(props) {
1625
1624
  className: "row m-0 w-100 d-flex flex-column"
1626
1625
  }, /*#__PURE__*/React.createElement("p", {
1627
1626
  className: "m-0 p-0 text-light font-15 d-flex justify-content-start"
1628
- }, lang.description, ":"), /*#__PURE__*/React.createElement(ShowMoreText, {
1629
- lines: 5,
1630
- more: lang.showmore,
1631
- less: lang.showless,
1632
- anchorClass: "my-anchor-css-className",
1633
- expanded: false,
1634
- truncatedEndingComponent: '... '
1635
- }, /*#__PURE__*/React.createElement("p", {
1627
+ }, lang.description, ":"), /*#__PURE__*/React.createElement("p", {
1636
1628
  className: 'text-black text-capitalize m-0 p-0 wordbreak',
1637
1629
  style: {
1638
1630
  textAlign: langdetect == 'en' ? 'left' : 'right'
@@ -1640,7 +1632,7 @@ var Productinfo = function Productinfo(props) {
1640
1632
  dangerouslySetInnerHTML: {
1641
1633
  __html: langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.description_en : fetchProductInfoQueryContext.data.data.productinfo.description_ar
1642
1634
  }
1643
- })))), langdetect == 'ar' && fetchProductInfoQueryContext.data.data.productinfo.description_ar != '' && /*#__PURE__*/React.createElement("div", {
1635
+ }))), langdetect == 'ar' && fetchProductInfoQueryContext.data.data.productinfo.description_ar != '' && /*#__PURE__*/React.createElement("div", {
1644
1636
  className: "col-lg-12 p-0 mb-5 d-flex justify-content-center",
1645
1637
  style: {
1646
1638
  minHeight: '15vh'
@@ -1649,14 +1641,7 @@ var Productinfo = function Productinfo(props) {
1649
1641
  className: "row m-0 w-100 d-flex flex-column"
1650
1642
  }, /*#__PURE__*/React.createElement("p", {
1651
1643
  className: "m-0 p-0 text-light font-15 d-flex justify-content-start"
1652
- }, lang.description, ":"), /*#__PURE__*/React.createElement(ShowMoreText, {
1653
- lines: 5,
1654
- more: lang.showmore,
1655
- less: lang.showless,
1656
- anchorClass: "my-anchor-css-className",
1657
- expanded: false,
1658
- truncatedEndingComponent: '... '
1659
- }, /*#__PURE__*/React.createElement("p", {
1644
+ }, lang.description, ":"), /*#__PURE__*/React.createElement("p", {
1660
1645
  className: 'text-black text-capitalize m-0 p-0 wordbreak',
1661
1646
  style: {
1662
1647
  textAlign: langdetect == 'en' ? 'left' : 'right'
@@ -1664,7 +1649,7 @@ var Productinfo = function Productinfo(props) {
1664
1649
  dangerouslySetInnerHTML: {
1665
1650
  __html: langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.description_en : fetchProductInfoQueryContext.data.data.productinfo.description_ar
1666
1651
  }
1667
- })))), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && /*#__PURE__*/React.createElement("div", {
1652
+ }))), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && /*#__PURE__*/React.createElement("div", {
1668
1653
  className: "row m-0 w-100 d-flex align-items-start"
1669
1654
  }, fetchProductInfoQueryContext.data.data.productinfo.productoptions.map(function (item, index) {
1670
1655
  return /*#__PURE__*/React.createElement("div", {
@@ -31644,7 +31629,6 @@ var Threebgimages = function Threebgimages(props) {
31644
31629
  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
31630
  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
31631
  var Twobgimages = function Twobgimages(props) {
31647
- var _bgimagearrayofobjs$;
31648
31632
  var _useState = useState(''),
31649
31633
  _useState2 = _slicedToArray(_useState, 2),
31650
31634
  sectionproperties = _useState2[0],
@@ -31778,207 +31762,221 @@ var Twobgimages = function Twobgimages(props) {
31778
31762
  }
31779
31763
  })
31780
31764
  };
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
31765
+ var BackgroundImage = function BackgroundImage() {
31766
+ var _bgimagearrayofobjs$;
31809
31767
  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' : '',
31845
- 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' : '',
31768
+ 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',
31865
31769
  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'
31770
+ paddingTop: sectionproperties.paddingTop + 'px',
31771
+ paddingBottom: sectionproperties.paddingBottom + 'px',
31772
+ paddingLeft: sectionproperties.paddingLeft + 'px',
31773
+ paddingRight: sectionproperties.paddingRight + 'px',
31774
+ backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
31775
+ backgroundSize: 'cover',
31776
+ background: sectionproperties.backgroundColor
31873
31777
  }
31778
+ }, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React.createElement("div", {
31779
+ className: "col-lg-2 col-md-12 pl-2 pr-2 mb-md-3"
31780
+ }, /*#__PURE__*/React.createElement(Categoriesdropdown, {
31781
+ sectionpropertiesprops: sectionproperties,
31782
+ actions: actions
31874
31783
  })), /*#__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 '
31784
+ className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
31886
31785
  }, /*#__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);
31786
+ className: "row m-0 w-100"
31787
+ }, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
31788
+ // bgimagearrayofobjs.IsClickable
31789
+ // bgimagearrayofobjs.clickable_page_route
31790
+ // bgimagearrayofobjs.Clickable_Reference_Collection_ID
31791
+ return /*#__PURE__*/React.createElement("div", {
31792
+ 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,
31793
+ style: {
31794
+ paddingLeft: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31795
+ paddingRight: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '7px',
31796
+ cursor: item.place_clickable == 'General' ? 'pointer' : 'default'
31797
+ },
31798
+ onClick: function onClick() {
31799
+ if (item.IsClickable == 'Yes') {
31800
+ if (item.place_clickable == 'General') {
31801
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31802
+ routingcountext(item.clickable_page_route, false, '');
31803
+ } else {
31804
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31805
+ }
31937
31806
  }
31938
31807
  }
31939
31808
  }
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);
31809
+ }, /*#__PURE__*/React.createElement("div", {
31810
+ className: "row ml-0 mr-0 d-flex justify-content-center w-100"
31811
+ }, /*#__PURE__*/React.createElement("div", {
31812
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
31813
+ style: {
31814
+ height: sectionproperties.image_height + 'vh'
31815
+ }
31816
+ }, /*#__PURE__*/React.createElement("div", {
31817
+ className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
31818
+ style: {
31819
+ height: '100%',
31820
+ width: '100%'
31821
+ }
31822
+ }, /*#__PURE__*/React.createElement(IKImage, {
31823
+ urlEndpoint: IKurlEndpoint,
31824
+ publicKey: IKpublicKey,
31825
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_image : bgimagearrayofobjs[index].bg1_image_ar : '',
31826
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31827
+ style: {
31828
+ height: '100%',
31829
+ width: '100%',
31830
+ objectFit: sectionproperties.bgcovercontain,
31831
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31832
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31833
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31834
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31835
+ }
31836
+ })), /*#__PURE__*/React.createElement("div", {
31837
+ className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
31838
+ style: {
31839
+ height: '100%',
31840
+ width: '100%'
31841
+ }
31842
+ }, /*#__PURE__*/React.createElement(IKImage, {
31843
+ urlEndpoint: IKurlEndpoint,
31844
+ publicKey: IKpublicKey,
31845
+ path: bgimagearrayofobjs.length != 0 ? langdetect == 'en' ? bgimagearrayofobjs[index].bg1_imageresponsive : bgimagearrayofobjs[index].bg1_imageresponsive_ar : '',
31846
+ className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
31847
+ style: {
31848
+ height: '100%',
31849
+ width: '100%',
31850
+ objectFit: sectionproperties.bgcovercontain,
31851
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
31852
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
31853
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
31854
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
31855
+ }
31856
+ })), /*#__PURE__*/React.createElement("div", {
31857
+ className: "".concat(bgcssstyles.bgImageContainer) + ' col-lg-12 p-0 w-100 ',
31858
+ style: {
31859
+ position: 'absolute',
31860
+ top: 0,
31861
+ right: 0,
31862
+ bottom: 0,
31863
+ left: 0,
31864
+ zIndex: 1
31865
+ }
31866
+ }, /*#__PURE__*/React.createElement("div", {
31867
+ className: "".concat(bgcssstyles.centered_container) + ' row m-0 d-flex pt-0 '
31868
+ }, /*#__PURE__*/React.createElement("div", {
31869
+ 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 ',
31870
+ style: {
31871
+ position: 'relative',
31872
+ overflow: 'hidden'
31873
+ }
31874
+ }, /*#__PURE__*/React.createElement("p", {
31875
+ className: 'd-flex justify-content-md-center wordbreak',
31876
+ style: {
31877
+ maxWidth: '100%',
31878
+ position: 'relative',
31879
+ fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31880
+ color: bgimagearrayofobjs[index].bg1_txtcolor,
31881
+ textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31882
+ fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31883
+ top: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : bgimagearrayofobjs[index].bg1_texttop + 'px',
31884
+ left: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? bgimagearrayofobjs[index].bg1_textleft + 'px' : '',
31885
+ right: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_textleft + 'px',
31886
+ bottom: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 0 : '',
31887
+ margin: bgimagearrayofobjs[index].bg1_numberofcols == '12' ? 'auto' : '',
31888
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31889
+ }
31890
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React.createElement("p", {
31891
+ className: 'd-flex justify-content-md-center wordbreak',
31892
+ style: {
31893
+ // maxWidth: '97%',
31894
+ position: 'relative',
31895
+ fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31896
+ color: bgimagearrayofobjs[index].bg1_descolor,
31897
+ textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31898
+ fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31899
+ top: bgimagearrayofobjs[index].desc1top + 'px',
31900
+ left: langdetect == 'en' ? bgimagearrayofobjs[index].desc1left + 'px' : '',
31901
+ right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].desc1left + 'px',
31902
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31903
+ }
31904
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React.createElement("button", {
31905
+ className: "".concat(bgcssstyles.btnone) + ' allcentered ',
31906
+ style: {
31907
+ top: bgimagearrayofobjs[index].bg1_btnpositiontop + 'px',
31908
+ left: langdetect == 'en' ? bgimagearrayofobjs[index].bg1_btnpositionleft + 'px' : '',
31909
+ right: langdetect == 'en' ? '' : bgimagearrayofobjs[index].bg1_btnpositionleft + 'px',
31910
+ letterSpacing: langdetect == 'en' ? '1px' : 0
31911
+ },
31912
+ onClick: function onClick() {
31913
+ if (item.IsClickable == 'Yes') {
31914
+ if (item.place_clickable == 'Button') {
31915
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31916
+ routingcountext(item.clickable_page_route, false, '');
31917
+ } else {
31918
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31919
+ }
31976
31920
  }
31977
31921
  }
31978
31922
  }
31979
- }
31980
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
31981
- }))))));
31923
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ', langdetect == 'en' ? /*#__PURE__*/React.createElement(IoIosArrowRoundForward, {
31924
+ size: 20
31925
+ }) : /*#__PURE__*/React.createElement(IoIosArrowRoundBack, {
31926
+ size: 20
31927
+ }))), /*#__PURE__*/React.createElement("div", {
31928
+ className: "col-md-12 d-none d-md-flex flex-column mt-auto mb-auto "
31929
+ }, /*#__PURE__*/React.createElement("p", {
31930
+ className: "wordbreak m-0",
31931
+ style: {
31932
+ position: 'relative',
31933
+ fontSize: bgimagearrayofobjs[index].bg1_fontsize + 'px',
31934
+ color: bgimagearrayofobjs[index].bg1_txtcolor,
31935
+ textTransform: bgimagearrayofobjs[index].bg1_txttransform,
31936
+ fontWeight: bgimagearrayofobjs[index].bg1_fontweight,
31937
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31938
+ }
31939
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_text_en : bgimagearrayofobjs[index].bg1_text_ar), bgimagearrayofobjs[index].showdescription1 == 'Show' && /*#__PURE__*/React.createElement("p", {
31940
+ className: 'd-flex justify-content-md-center wordbreak m-0',
31941
+ style: {
31942
+ position: 'relative',
31943
+ fontSize: bgimagearrayofobjs[index].bg1_desfontsize + 'px',
31944
+ color: bgimagearrayofobjs[index].bg1_descolor,
31945
+ textTransform: bgimagearrayofobjs[index].bg1_destxttransform,
31946
+ fontWeight: bgimagearrayofobjs[index].bg1_desfontweight,
31947
+ textAlign: langdetect == 'en' ? 'left' : 'right'
31948
+ }
31949
+ }, langdetect == 'en' ? bgimagearrayofobjs[index].bg1_descriptionen : bgimagearrayofobjs[index].bg1_descriptionar), bgimagearrayofobjs[index].showbutton1 == 'Show' && /*#__PURE__*/React.createElement("button", {
31950
+ className: "".concat(bgcssstyles.btnresp) + ' mt-md-5 mt-sm-3 ',
31951
+ onClick: function onClick() {
31952
+ if (item.IsClickable == 'Yes') {
31953
+ if (item.place_clickable == 'Button') {
31954
+ if (item.clickable_page_route && item.clickable_page_route.length != 0) {
31955
+ routingcountext(item.clickable_page_route, false, '');
31956
+ } else {
31957
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickable_Reference_Collection_ID);
31958
+ }
31959
+ }
31960
+ }
31961
+ }
31962
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
31963
+ }))));
31964
+ };
31965
+ return /*#__PURE__*/React.createElement("div", {
31966
+ className: "row m-0 w-100"
31967
+ }, /*#__PURE__*/React.createElement("div", {
31968
+ className: "col-lg-12 p-0 d-flex d-md-none",
31969
+ style: {
31970
+ marginTop: sectionproperties.marginTop + 'px',
31971
+ marginBottom: sectionproperties.marginBottom + 'px'
31972
+ }
31973
+ }, BackgroundImage()), /*#__PURE__*/React.createElement("div", {
31974
+ className: "col-lg-12 p-0 d-none d-md-flex",
31975
+ style: {
31976
+ marginTop: sectionproperties.marginTopResp + 'px',
31977
+ marginBottom: sectionproperties.marginBottomResp + 'px'
31978
+ }
31979
+ }, BackgroundImage()));
31982
31980
  };
31983
31981
 
31984
31982
  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; }