tabexseriescomponents 0.2.1232 → 0.2.1234

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
@@ -7636,7 +7636,7 @@ var TamaraWidget = function TamaraWidget(props) {
7636
7636
  function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7637
7637
  function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7638
7638
  var Productinfo = function Productinfo(props) {
7639
- var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48;
7639
+ var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49;
7640
7640
  var _useState = React.useState({}),
7641
7641
  _useState2 = _slicedToArray__default["default"](_useState, 2),
7642
7642
  ProductInfoObj = _useState2[0],
@@ -11320,12 +11320,29 @@ var Productinfo = function Productinfo(props) {
11320
11320
  productinfo_cssstyles: productinfo_cssstyles,
11321
11321
  sectionproperties: sectionproperties
11322
11322
  })
11323
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
11323
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
11324
+ "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
11325
+ }, productVideos.map(function (item, index) {
11326
+ return /*#__PURE__*/React__default["default"].createElement("div", {
11327
+ className: "col-lg-4 col-md-6 col-sm-12 mb-4",
11328
+ style: {
11329
+ height: 400
11330
+ }
11331
+ }, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
11332
+ url: item.videourl,
11333
+ height: '100%',
11334
+ width: '100%',
11335
+ playing: false,
11336
+ controls: true,
11337
+ loop: true,
11338
+ muted: true
11339
+ }));
11340
+ })), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
11324
11341
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
11325
11342
  style: {
11326
11343
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
11327
11344
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
11328
- marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
11345
+ marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
11329
11346
  }
11330
11347
  }, relatedproducts()))));
11331
11348
  };
@@ -21835,60 +21852,6 @@ var Filter$1 = function Filter(props) {
21835
21852
  }, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement("div", {
21836
21853
  className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex w-100"
21837
21854
  }, fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
21838
- // if (item.type == 'Selectbox') {
21839
- // var selectboxarr = [];
21840
- // item?.featuresselectbovalue?.forEach(function (slecitem) {
21841
- // var itemlabel = '';
21842
- // if (langdetect == 'en') {
21843
- // itemlabel = slecitem.value_en;
21844
- // } else {
21845
- // itemlabel = slecitem.value_ar;
21846
- // }
21847
- // selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
21848
- // });
21849
- // return (
21850
- // <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
21851
- // <label
21852
- // className={' mb-3 w-100 '}
21853
- // style={{
21854
- // textAlign: langdetect == 'en' ? 'left' : 'right',
21855
- // color: sectionproperties.filtertitle_color,
21856
- // color: sectionproperties.filtertitle_color,
21857
- // fontSize: sectionproperties.filtertitle_fontsize + 'px',
21858
- // fontWeight: sectionproperties.filtertitle_fontweight,
21859
- // color: sectionproperties.filtertitle_color,
21860
- // textTransform: 'capitalize',
21861
- // }}
21862
- // >
21863
- // {langdetect == 'en' ? item.name_en : item.name_ar}
21864
- // </label>
21865
- // <div class={'col-lg-12 p-0'}>
21866
- // <Select
21867
- // options={selectboxarr}
21868
- // styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
21869
- // placeholder={''}
21870
- // onChange={(e) => {
21871
- // var isattrexists = false;
21872
- // var tempproductfeatuesarr = [...productfeatuesarr];
21873
- // tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
21874
- // if (attritem.id == item.id) {
21875
- // tempproductfeatuesarr[attrindex].value = e.value;
21876
- // isattrexists = true;
21877
- // }
21878
- // });
21879
- // if (isattrexists == false) {
21880
- // tempproductfeatuesarr.push({
21881
- // id: item.id,
21882
- // value: e.value,
21883
- // });
21884
- // }
21885
- // setproductfeatuesarr([...tempproductfeatuesarr]);
21886
- // }}
21887
- // />
21888
- // </div>
21889
- // </div>
21890
- // );
21891
- // }
21892
21855
  if (item.type == 'Selectbox') {
21893
21856
  // item?.featuresselectbovalue?.forEach(function (slecitem) {
21894
21857
  // var itemlabel = '';
@@ -27809,7 +27772,7 @@ var MarqueeHeader = function MarqueeHeader(props) {
27809
27772
  paddingRight: templateproperties_context.sliderpaddinghorizontal + 'px'
27810
27773
  }
27811
27774
  }, templateproperties_context.textslidertype == 'Fading Text Carousel' && /*#__PURE__*/React__default["default"].createElement("div", {
27812
- className: "text-slider"
27775
+ className: "text-slider-marquee"
27813
27776
  }, /*#__PURE__*/React__default["default"].createElement("button", {
27814
27777
  onClick: prev,
27815
27778
  className: "arrow left allcentered"
@@ -27818,7 +27781,7 @@ var MarqueeHeader = function MarqueeHeader(props) {
27818
27781
  })), textarray.map(function (item, index) {
27819
27782
  return /*#__PURE__*/React__default["default"].createElement("p", {
27820
27783
  key: index,
27821
- className: "slide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
27784
+ className: "marqueeslide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
27822
27785
  }, langdetect == 'en' ? item.textEnglish : item.textArabic);
27823
27786
  }), /*#__PURE__*/React__default["default"].createElement("button", {
27824
27787
  onClick: next,
package/dist/index.esm.js CHANGED
@@ -7585,7 +7585,7 @@ var TamaraWidget = function TamaraWidget(props) {
7585
7585
  function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7586
7586
  function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7587
7587
  var Productinfo = function Productinfo(props) {
7588
- var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48;
7588
+ var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49;
7589
7589
  var _useState = useState({}),
7590
7590
  _useState2 = _slicedToArray(_useState, 2),
7591
7591
  ProductInfoObj = _useState2[0],
@@ -11269,12 +11269,29 @@ var Productinfo = function Productinfo(props) {
11269
11269
  productinfo_cssstyles: productinfo_cssstyles,
11270
11270
  sectionproperties: sectionproperties
11271
11271
  })
11272
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
11272
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
11273
+ "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
11274
+ }, productVideos.map(function (item, index) {
11275
+ return /*#__PURE__*/React.createElement("div", {
11276
+ className: "col-lg-4 col-md-6 col-sm-12 mb-4",
11277
+ style: {
11278
+ height: 400
11279
+ }
11280
+ }, /*#__PURE__*/React.createElement(ReactPlayer, {
11281
+ url: item.videourl,
11282
+ height: '100%',
11283
+ width: '100%',
11284
+ playing: false,
11285
+ controls: true,
11286
+ loop: true,
11287
+ muted: true
11288
+ }));
11289
+ })), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
11273
11290
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
11274
11291
  style: {
11275
11292
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
11276
11293
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
11277
- marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
11294
+ marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
11278
11295
  }
11279
11296
  }, relatedproducts()))));
11280
11297
  };
@@ -21784,60 +21801,6 @@ var Filter$1 = function Filter(props) {
21784
21801
  }, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && /*#__PURE__*/React.createElement("div", {
21785
21802
  className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex w-100"
21786
21803
  }, fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
21787
- // if (item.type == 'Selectbox') {
21788
- // var selectboxarr = [];
21789
- // item?.featuresselectbovalue?.forEach(function (slecitem) {
21790
- // var itemlabel = '';
21791
- // if (langdetect == 'en') {
21792
- // itemlabel = slecitem.value_en;
21793
- // } else {
21794
- // itemlabel = slecitem.value_ar;
21795
- // }
21796
- // selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
21797
- // });
21798
- // return (
21799
- // <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
21800
- // <label
21801
- // className={' mb-3 w-100 '}
21802
- // style={{
21803
- // textAlign: langdetect == 'en' ? 'left' : 'right',
21804
- // color: sectionproperties.filtertitle_color,
21805
- // color: sectionproperties.filtertitle_color,
21806
- // fontSize: sectionproperties.filtertitle_fontsize + 'px',
21807
- // fontWeight: sectionproperties.filtertitle_fontweight,
21808
- // color: sectionproperties.filtertitle_color,
21809
- // textTransform: 'capitalize',
21810
- // }}
21811
- // >
21812
- // {langdetect == 'en' ? item.name_en : item.name_ar}
21813
- // </label>
21814
- // <div class={'col-lg-12 p-0'}>
21815
- // <Select
21816
- // options={selectboxarr}
21817
- // styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
21818
- // placeholder={''}
21819
- // onChange={(e) => {
21820
- // var isattrexists = false;
21821
- // var tempproductfeatuesarr = [...productfeatuesarr];
21822
- // tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
21823
- // if (attritem.id == item.id) {
21824
- // tempproductfeatuesarr[attrindex].value = e.value;
21825
- // isattrexists = true;
21826
- // }
21827
- // });
21828
- // if (isattrexists == false) {
21829
- // tempproductfeatuesarr.push({
21830
- // id: item.id,
21831
- // value: e.value,
21832
- // });
21833
- // }
21834
- // setproductfeatuesarr([...tempproductfeatuesarr]);
21835
- // }}
21836
- // />
21837
- // </div>
21838
- // </div>
21839
- // );
21840
- // }
21841
21804
  if (item.type == 'Selectbox') {
21842
21805
  // item?.featuresselectbovalue?.forEach(function (slecitem) {
21843
21806
  // var itemlabel = '';
@@ -27758,7 +27721,7 @@ var MarqueeHeader = function MarqueeHeader(props) {
27758
27721
  paddingRight: templateproperties_context.sliderpaddinghorizontal + 'px'
27759
27722
  }
27760
27723
  }, templateproperties_context.textslidertype == 'Fading Text Carousel' && /*#__PURE__*/React.createElement("div", {
27761
- className: "text-slider"
27724
+ className: "text-slider-marquee"
27762
27725
  }, /*#__PURE__*/React.createElement("button", {
27763
27726
  onClick: prev,
27764
27727
  className: "arrow left allcentered"
@@ -27767,7 +27730,7 @@ var MarqueeHeader = function MarqueeHeader(props) {
27767
27730
  })), textarray.map(function (item, index) {
27768
27731
  return /*#__PURE__*/React.createElement("p", {
27769
27732
  key: index,
27770
- className: "slide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
27733
+ className: "marqueeslide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
27771
27734
  }, langdetect == 'en' ? item.textEnglish : item.textArabic);
27772
27735
  }), /*#__PURE__*/React.createElement("button", {
27773
27736
  onClick: next,
package/dist/index.umd.js CHANGED
@@ -7442,7 +7442,7 @@
7442
7442
  function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7443
7443
  function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7444
7444
  var Productinfo = function Productinfo(props) {
7445
- var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48;
7445
+ var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49;
7446
7446
  var _useState = React.useState({}),
7447
7447
  _useState2 = _slicedToArray__default["default"](_useState, 2),
7448
7448
  ProductInfoObj = _useState2[0],
@@ -11126,12 +11126,29 @@
11126
11126
  productinfo_cssstyles: productinfo_cssstyles,
11127
11127
  sectionproperties: sectionproperties
11128
11128
  })
11129
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
11129
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
11130
+ "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
11131
+ }, productVideos.map(function (item, index) {
11132
+ return /*#__PURE__*/React__default["default"].createElement("div", {
11133
+ className: "col-lg-4 col-md-6 col-sm-12 mb-4",
11134
+ style: {
11135
+ height: 400
11136
+ }
11137
+ }, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
11138
+ url: item.videourl,
11139
+ height: '100%',
11140
+ width: '100%',
11141
+ playing: false,
11142
+ controls: true,
11143
+ loop: true,
11144
+ muted: true
11145
+ }));
11146
+ })), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
11130
11147
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
11131
11148
  style: {
11132
11149
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
11133
11150
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
11134
- marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
11151
+ marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
11135
11152
  }
11136
11153
  }, relatedproducts()))));
11137
11154
  };
@@ -21641,60 +21658,6 @@
21641
21658
  }, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement("div", {
21642
21659
  className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex w-100"
21643
21660
  }, fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
21644
- // if (item.type == 'Selectbox') {
21645
- // var selectboxarr = [];
21646
- // item?.featuresselectbovalue?.forEach(function (slecitem) {
21647
- // var itemlabel = '';
21648
- // if (langdetect == 'en') {
21649
- // itemlabel = slecitem.value_en;
21650
- // } else {
21651
- // itemlabel = slecitem.value_ar;
21652
- // }
21653
- // selectboxarr.push({ label: itemlabel, value: slecitem.value_en });
21654
- // });
21655
- // return (
21656
- // <div class="col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0">
21657
- // <label
21658
- // className={' mb-3 w-100 '}
21659
- // style={{
21660
- // textAlign: langdetect == 'en' ? 'left' : 'right',
21661
- // color: sectionproperties.filtertitle_color,
21662
- // color: sectionproperties.filtertitle_color,
21663
- // fontSize: sectionproperties.filtertitle_fontsize + 'px',
21664
- // fontWeight: sectionproperties.filtertitle_fontweight,
21665
- // color: sectionproperties.filtertitle_color,
21666
- // textTransform: 'capitalize',
21667
- // }}
21668
- // >
21669
- // {langdetect == 'en' ? item.name_en : item.name_ar}
21670
- // </label>
21671
- // <div class={'col-lg-12 p-0'}>
21672
- // <Select
21673
- // options={selectboxarr}
21674
- // styles={langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated}
21675
- // placeholder={''}
21676
- // onChange={(e) => {
21677
- // var isattrexists = false;
21678
- // var tempproductfeatuesarr = [...productfeatuesarr];
21679
- // tempproductfeatuesarr?.forEach(function (attritem, attrindex) {
21680
- // if (attritem.id == item.id) {
21681
- // tempproductfeatuesarr[attrindex].value = e.value;
21682
- // isattrexists = true;
21683
- // }
21684
- // });
21685
- // if (isattrexists == false) {
21686
- // tempproductfeatuesarr.push({
21687
- // id: item.id,
21688
- // value: e.value,
21689
- // });
21690
- // }
21691
- // setproductfeatuesarr([...tempproductfeatuesarr]);
21692
- // }}
21693
- // />
21694
- // </div>
21695
- // </div>
21696
- // );
21697
- // }
21698
21661
  if (item.type == 'Selectbox') {
21699
21662
  // item?.featuresselectbovalue?.forEach(function (slecitem) {
21700
21663
  // var itemlabel = '';
@@ -27615,7 +27578,7 @@
27615
27578
  paddingRight: templateproperties_context.sliderpaddinghorizontal + 'px'
27616
27579
  }
27617
27580
  }, templateproperties_context.textslidertype == 'Fading Text Carousel' && /*#__PURE__*/React__default["default"].createElement("div", {
27618
- className: "text-slider"
27581
+ className: "text-slider-marquee"
27619
27582
  }, /*#__PURE__*/React__default["default"].createElement("button", {
27620
27583
  onClick: prev,
27621
27584
  className: "arrow left allcentered"
@@ -27624,7 +27587,7 @@
27624
27587
  })), textarray.map(function (item, index) {
27625
27588
  return /*#__PURE__*/React__default["default"].createElement("p", {
27626
27589
  key: index,
27627
- className: "slide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
27590
+ className: "marqueeslide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
27628
27591
  }, langdetect == 'en' ? item.textEnglish : item.textArabic);
27629
27592
  }), /*#__PURE__*/React__default["default"].createElement("button", {
27630
27593
  onClick: next,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1232",
3
+ "version": "0.2.1234",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",
package/src.zip DELETED
Binary file