tabexseriescomponents 0.0.702 → 0.0.704

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
@@ -128,9 +128,9 @@ import { BsSearch } from '@react-icons/all-files/bs/BsSearch';
128
128
  import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
129
129
  import { GoSearch } from '@react-icons/all-files/go/GoSearch';
130
130
  import { AiOutlineInstagram } from '@react-icons/all-files/ai/AiOutlineInstagram';
131
+ import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
131
132
  import { RiUserSettingsLine } from '@react-icons/all-files/ri/RiUserSettingsLine';
132
133
  import { HiUserCircle } from '@react-icons/all-files/hi/HiUserCircle';
133
- import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
134
134
  import { BsInfoCircle } from '@react-icons/all-files/bs/BsInfoCircle';
135
135
  import { AiFillPhone } from '@react-icons/all-files/ai/AiFillPhone';
136
136
  import { FaTelegramPlane } from '@react-icons/all-files/fa/FaTelegramPlane';
@@ -23114,7 +23114,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23114
23114
  style: {
23115
23115
  fontSize: sectionproperties.dropdown_fontsize + 'px',
23116
23116
  fontWeight: sectionproperties.dropdown_fontweight,
23117
- textTransform: sectionproperties.dropdown_texttransform
23117
+ textTransform: sectionproperties.dropdown_texttransform,
23118
+ color: sectionproperties.language_container_color_resp
23118
23119
  }
23119
23120
  }, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
23120
23121
  "class": 'ml-2 mr-2'
@@ -23159,31 +23160,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23159
23160
  className: "h-100 allcentered"
23160
23161
  }, /*#__PURE__*/React.createElement(BiChevronDown, {
23161
23162
  size: 20
23162
- })))), sectionproperties.logocentered == 'Not Centered' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
23163
- "class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-1 ' : ' m-0 cursor-pointer mr-1 ',
23164
- style: {
23165
- minWidth: '30px'
23166
- },
23167
- onClick: function onClick() {
23168
- if (langdetect == 'en') {
23169
- setlang('ar');
23170
- } else {
23171
- setlang('en');
23172
- }
23173
- }
23174
- }, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
23175
- "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
23176
- }, /*#__PURE__*/React.createElement("p", {
23177
- "class": "m-0 p-0 d-flex align-items-center w-100"
23178
- }, "En", ' ', /*#__PURE__*/React.createElement("i", {
23179
- "class": "h-100 allcentered ml-auto pl-3"
23180
- }, /*#__PURE__*/React.createElement(BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
23181
- "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
23182
- }, /*#__PURE__*/React.createElement("p", {
23183
- "class": "m-0 p-0 d-flex align-items-center w-100"
23184
- }, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
23185
- "class": "h-100 allcentered mr-auto pr-3"
23186
- }, /*#__PURE__*/React.createElement(BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React.createElement("div", {
23163
+ }))))), menuactive == true && /*#__PURE__*/React.createElement("div", {
23187
23164
  "class": "px-4 py-4 scrollvertical",
23188
23165
  style: {
23189
23166
  position: 'fixed',
@@ -28962,7 +28939,7 @@ styleInject(css_248z$w);
28962
28939
  function ownKeys$1T(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; }
28963
28940
  function _objectSpread$1T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1T(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28964
28941
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
28965
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i8, _authdetailsContext$i9;
28942
+ var _authdetailsContext$i3, _authdetailsContext$i10, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i15;
28966
28943
  var _useState = useState(''),
28967
28944
  _useState2 = _slicedToArray(_useState, 2),
28968
28945
  sectionproperties = _useState2[0],
@@ -28984,6 +28961,10 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
28984
28961
  var actions = props.actions;
28985
28962
  var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
28986
28963
  var scrollYposittionprops = props.actions.scrollYposittionprops;
28964
+ var _useState3 = useState(false),
28965
+ _useState4 = _slicedToArray(_useState3, 2),
28966
+ dropdownselect = _useState4[0],
28967
+ setdropdownselect = _useState4[1];
28987
28968
  useEffect(function () {
28988
28969
  var secpropobj = {};
28989
28970
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -29000,10 +28981,18 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29000
28981
  }
29001
28982
  setsectionproperties(_objectSpread$1T({}, secpropobj));
29002
28983
  }, [StatePagePropertiesContext]);
29003
- var _useState3 = useState([]),
29004
- _useState4 = _slicedToArray(_useState3, 2),
29005
- logoarrayofobjects = _useState4[0],
29006
- setlogoarrayofobjects = _useState4[1];
28984
+ var _useState5 = useState([]),
28985
+ _useState6 = _slicedToArray(_useState5, 2),
28986
+ logoarrayofobjects = _useState6[0],
28987
+ setlogoarrayofobjects = _useState6[1];
28988
+ var _useState7 = useState([]),
28989
+ _useState8 = _slicedToArray(_useState7, 2),
28990
+ pcollarray = _useState8[0],
28991
+ setpcollarray = _useState8[1];
28992
+ var _useState9 = useState(''),
28993
+ _useState10 = _slicedToArray(_useState9, 2),
28994
+ Choosenindex = _useState10[0],
28995
+ setChoosenindex = _useState10[1];
29007
28996
  useEffect(function () {
29008
28997
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
29009
28998
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -29012,6 +29001,28 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29012
29001
  }
29013
29002
  }
29014
29003
  }, [templateproperties_context]);
29004
+ useEffect(function () {
29005
+ var _authdetailsContext$i;
29006
+ var temppcollarray = _toConsumableArray(pcollarray);
29007
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (arrayItem) {
29008
+ var _arrayItem$parentcoll;
29009
+ arrayItem === null || arrayItem === void 0 || (_arrayItem$parentcoll = arrayItem.parentcolletions) === null || _arrayItem$parentcoll === void 0 || _arrayItem$parentcoll.forEach(function (item) {
29010
+ temppcollarray.push(item);
29011
+ });
29012
+ });
29013
+ setpcollarray(_toConsumableArray(temppcollarray));
29014
+ }, [authdetailsContext]);
29015
+ useEffect(function () {
29016
+ var _authdetailsContext$i2;
29017
+ var temppcollarray = _toConsumableArray(pcollarray);
29018
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcategories) === null || _authdetailsContext$i2 === void 0 || _authdetailsContext$i2.forEach(function (arrayItem) {
29019
+ var _arrayItem$parentcoll2;
29020
+ arrayItem === null || arrayItem === void 0 || (_arrayItem$parentcoll2 = arrayItem.parentcolletions) === null || _arrayItem$parentcoll2 === void 0 || _arrayItem$parentcoll2.forEach(function (item) {
29021
+ temppcollarray.push(item);
29022
+ });
29023
+ });
29024
+ setpcollarray(_toConsumableArray(temppcollarray));
29025
+ }, [authdetailsContext]);
29015
29026
  var header_cssstyles = {
29016
29027
  header_outercontainer: css({
29017
29028
  position: sectionproperties.headerstyles_position,
@@ -29242,8 +29253,151 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29242
29253
  ':hover': {
29243
29254
  color: sectionproperties.upperheadercoloronhover
29244
29255
  }
29256
+ }),
29257
+ categorybtn: css({
29258
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
29259
+ width: sectionproperties.generalbtn_width + 'px',
29260
+ maxWidth: '100%',
29261
+ height: sectionproperties.generalbtn_height + 'px',
29262
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
29263
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
29264
+ color: sectionproperties.generalbtn_textColor,
29265
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
29266
+ fontWeight: sectionproperties.generalbtn_fontweight,
29267
+ // background: '#003b42',
29268
+ // width: '100%',
29269
+ // height: 40,
29270
+ // borderRadius: 10,
29271
+ // color: 'white',
29272
+ // fontSize: 14,
29273
+ transition: '.3s',
29274
+ ':hover': {
29275
+ color: sectionproperties.generalbtn_textColoronhover,
29276
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover
29277
+ // color: '#fff',
29278
+ // backgroundColor: '#de5511',
29279
+ }
29280
+ }),
29281
+ categoryname: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
29282
+ color: sectionproperties.subheader_categorytitle_fontColor,
29283
+ fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
29284
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
29285
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight
29286
+ }, "color", '#003B42'), "fontSize", 14), "fontWeight", 500), "transition", '.3s'), ':hover', _defineProperty({
29287
+ color: sectionproperties.subheader_categorytitle_coloronhover
29288
+ }, "color", '#de5511'))),
29289
+ parentcollection: css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
29290
+ color: sectionproperties.subheader_collectiontitle_fontColor,
29291
+ fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
29292
+ textTransform: sectionproperties.subheader_collectiontitle_textTransform,
29293
+ fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
29294
+ transition: '.3s'
29295
+ }, "color", '#003B42'), "fontSize", 14), "fontWeight", 500), ':hover', _defineProperty({
29296
+ color: sectionproperties.subheader_collectiontitle_coloronhover
29297
+ }, "color", '#de5511'))),
29298
+ collectionName: css({
29299
+ color: sectionproperties.collectionsectiontextcolor,
29300
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
29301
+ textTransform: sectionproperties.collectionsectiontexttransform,
29302
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
29303
+ transition: '.3s',
29304
+ // color: '#003B42',
29305
+ // fontSize: 14,
29306
+ // fontWeight: 400,
29307
+ ':hover': {
29308
+ color: sectionproperties.collectionsectiontextcoloronhover
29309
+ // color: '#de5511',
29310
+ }
29245
29311
  })
29246
29312
  };
29313
+ var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
29314
+ var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
29315
+ var parentclassname = '';
29316
+ if (sectionproperties.fetchparenttype == 'Categories') {
29317
+ parentclassname = header_cssstyles.categoryname;
29318
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
29319
+ parentclassname = header_cssstyles.parentcollection;
29320
+ } else {
29321
+ parentclassname = header_cssstyles.collectionName;
29322
+ }
29323
+ return /*#__PURE__*/React.createElement("li", {
29324
+ "class": "dropdown d-flex align-items-center w-100"
29325
+ }, /*#__PURE__*/React.createElement("div", {
29326
+ "class": parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer ',
29327
+ onMouseEnter: function onMouseEnter() {
29328
+ setChoosenindex(index);
29329
+ }
29330
+ }, /*#__PURE__*/React.createElement("div", {
29331
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
29332
+ }, /*#__PURE__*/React.createElement("p", {
29333
+ "class": ' m-0 p-0 wordbreak wordbreak1 ',
29334
+ onClick: function onClick() {
29335
+ if (sectionproperties.fetchparenttype == 'Categories') {
29336
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
29337
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
29338
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
29339
+ } else {
29340
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
29341
+ }
29342
+ }
29343
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.fetchparenttype != 'Collections' && /*#__PURE__*/React.createElement("div", {
29344
+ className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
29345
+ }, /*#__PURE__*/React.createElement("i", {
29346
+ className: ' p-0 h-100 allcentered '
29347
+ }, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsChevronRight, {
29348
+ size: sectionproperties.collectionsectioniconfontsize
29349
+ }) : /*#__PURE__*/React.createElement(BsChevronLeft, {
29350
+ size: sectionproperties.collectionsectioniconfontsize
29351
+ })))), sectionproperties.fetchparenttype == 'Categories' && ((_fetchedarray$Choosen = fetchedarray[Choosenindex]) === null || _fetchedarray$Choosen === void 0 || (_fetchedarray$Choosen = _fetchedarray$Choosen.parentcolletions) === null || _fetchedarray$Choosen === void 0 ? void 0 : _fetchedarray$Choosen.length) != 0 && /*#__PURE__*/React.createElement("ul", null, (_fetchedarray$Choosen2 = fetchedarray[Choosenindex]) === null || _fetchedarray$Choosen2 === void 0 || (_fetchedarray$Choosen2 = _fetchedarray$Choosen2.parentcolletions) === null || _fetchedarray$Choosen2 === void 0 ? void 0 : _fetchedarray$Choosen2.map(function (item, index) {
29352
+ var _item$collections;
29353
+ return /*#__PURE__*/React.createElement("li", {
29354
+ "class": "dropdown d-flex align-items-center w-100"
29355
+ }, /*#__PURE__*/React.createElement("div", {
29356
+ "class": header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer ',
29357
+ onClick: function onClick() {
29358
+ if (sectionproperties.fetchparenttype == 'Categories') {
29359
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
29360
+ } else {
29361
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
29362
+ }
29363
+ }
29364
+ }, /*#__PURE__*/React.createElement("div", {
29365
+ "class": "row m-0 w-100"
29366
+ }, /*#__PURE__*/React.createElement("div", {
29367
+ className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
29368
+ }, /*#__PURE__*/React.createElement("p", {
29369
+ "class": ' m-0 p-0 wordbreak wordbreak1 '
29370
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && /*#__PURE__*/React.createElement("div", {
29371
+ className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
29372
+ }, /*#__PURE__*/React.createElement("i", {
29373
+ className: ' p-0 h-100 allcentered '
29374
+ }, langdetect == 'en' ? /*#__PURE__*/React.createElement(BsChevronRight, {
29375
+ size: sectionproperties.collectionsectioniconfontsize
29376
+ }) : /*#__PURE__*/React.createElement(BsChevronLeft, {
29377
+ size: sectionproperties.collectionsectioniconfontsize
29378
+ }))))), (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && /*#__PURE__*/React.createElement("ul", null, item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (item, index) {
29379
+ return /*#__PURE__*/React.createElement("li", {
29380
+ "class": header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer ',
29381
+ onClick: function onClick() {
29382
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
29383
+ }
29384
+ }, langdetect == 'en' ? item.title_en : item.title_ar);
29385
+ })));
29386
+ })), sectionproperties.fetchparenttype == 'Parent Collections' && ((_pcollarray$Choosenin = pcollarray[Choosenindex]) === null || _pcollarray$Choosenin === void 0 ? void 0 : _pcollarray$Choosenin.collections.length) != 0 && /*#__PURE__*/React.createElement("ul", null, (_pcollarray$Choosenin2 = pcollarray[Choosenindex]) === null || _pcollarray$Choosenin2 === void 0 || (_pcollarray$Choosenin2 = _pcollarray$Choosenin2.collections) === null || _pcollarray$Choosenin2 === void 0 ? void 0 : _pcollarray$Choosenin2.map(function (item, index) {
29387
+ return /*#__PURE__*/React.createElement("li", {
29388
+ "class": "dropdown d-flex align-items-center w-100"
29389
+ }, /*#__PURE__*/React.createElement("div", {
29390
+ "class": header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer ',
29391
+ onClick: function onClick() {
29392
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
29393
+ }
29394
+ }, /*#__PURE__*/React.createElement("div", {
29395
+ className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
29396
+ }, /*#__PURE__*/React.createElement("p", {
29397
+ "class": ' m-0 p-0 wordbreak wordbreak1 '
29398
+ }, langdetect == 'en' ? item.title_en : item.title_ar))));
29399
+ })));
29400
+ };
29247
29401
  return /*#__PURE__*/React.createElement("div", {
29248
29402
  "class": ' row m-0 w-100 d-flex justify-content-center align-items-center ',
29249
29403
  style: {
@@ -29269,7 +29423,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29269
29423
  transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
29270
29424
  }
29271
29425
  }))), /*#__PURE__*/React.createElement("a", {
29272
- href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
29426
+ href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.whatsappnumber),
29273
29427
  target: '_blank',
29274
29428
  style: {
29275
29429
  position: 'fixed',
@@ -29317,30 +29471,30 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29317
29471
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement(FaFacebookF, {
29318
29472
  "class": header_cssstyles.fbbtn + ' cursor-pointer ml-3 mr-3 ',
29319
29473
  onClick: function onClick() {
29320
- var _authdetailsContext$i2;
29321
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
29322
- var _authdetailsContext$i3;
29323
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
29474
+ var _authdetailsContext$i4;
29475
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
29476
+ var _authdetailsContext$i5;
29477
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
29324
29478
  }
29325
29479
  },
29326
29480
  size: sectionproperties.facebkbtnniconfontsize
29327
29481
  }), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement(AiOutlineInstagram, {
29328
29482
  "class": header_cssstyles.instagrambtn + ' cursor-pointer ml-3 mr-3 ',
29329
29483
  onClick: function onClick() {
29330
- var _authdetailsContext$i4;
29331
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
29332
- var _authdetailsContext$i5;
29333
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
29484
+ var _authdetailsContext$i6;
29485
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null) {
29486
+ var _authdetailsContext$i7;
29487
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink, '_blank');
29334
29488
  }
29335
29489
  },
29336
29490
  size: sectionproperties.instgrambtniconfontsize
29337
29491
  }), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement(FaWhatsapp, {
29338
29492
  "class": header_cssstyles.whatsapp_btn + ' cursor-pointer ml-3 mr-3 ',
29339
29493
  onClick: function onClick() {
29340
- var _authdetailsContext$i6;
29341
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
29342
- var _authdetailsContext$i7;
29343
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
29494
+ var _authdetailsContext$i8;
29495
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null) {
29496
+ var _authdetailsContext$i9;
29497
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber), '_blank');
29344
29498
  }
29345
29499
  },
29346
29500
  size: sectionproperties.youtubebtniconfontsize
@@ -29411,12 +29565,68 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29411
29565
  }), /*#__PURE__*/React.createElement("span", {
29412
29566
  "class": 'ml-2 mr-2'
29413
29567
  }, lang.english)))))))))), /*#__PURE__*/React.createElement("div", {
29414
- "class": "".concat(headerstyles$a.header_innercontainer, " ").concat(header_cssstyles.header_innercontainer) + ' row m-0 w-100 d-flex align-items-center ',
29568
+ "class": "".concat(headerstyles$a.header_innercontainer, " ").concat(header_cssstyles.header_innercontainer) + ' row m-0 w-100 d-flex align-items-center px-1024-1 ',
29415
29569
  style: {
29416
29570
  zIndex: 2
29417
29571
  }
29418
29572
  }, /*#__PURE__*/React.createElement("div", {
29419
29573
  "class": "col-lg-5 p-0 d-flex align-items-center justify-content-start h-100"
29574
+ }, /*#__PURE__*/React.createElement("div", {
29575
+ "class": "row m-0 w-100"
29576
+ }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
29577
+ "class": 'col-lg-3 col-xl-4 d-flex align-items-center justify-content-start ',
29578
+ onClick: function onClick() {
29579
+ setdropdownselect(!dropdownselect);
29580
+ }
29581
+ }, /*#__PURE__*/React.createElement("div", {
29582
+ "class": "".concat(header_cssstyles.categorybtn) + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 ',
29583
+ style: {
29584
+ zIndex: 100000
29585
+ }
29586
+ }, /*#__PURE__*/React.createElement("li", {
29587
+ "class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
29588
+ }, /*#__PURE__*/React.createElement("div", {
29589
+ "class": ' m-0 allcentered cursor-pointer px-2 p-lg-0 '
29590
+ }, /*#__PURE__*/React.createElement("div", {
29591
+ "class": 'col-lg-10 d-flex justify-content-start m-0 p-0'
29592
+ }, langdetect == 'en' ? 'Products' : 'المنتجات'), /*#__PURE__*/React.createElement("div", {
29593
+ "class": "col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none"
29594
+ }, /*#__PURE__*/React.createElement("i", {
29595
+ "class": "h-100 d-flex align-items-center justify-content-end"
29596
+ }, dropdownselect ? /*#__PURE__*/React.createElement(MdKeyboardArrowUp, {
29597
+ size: 25
29598
+ }) : /*#__PURE__*/React.createElement(MdKeyboardArrowDown, {
29599
+ size: 25
29600
+ })))), /*#__PURE__*/React.createElement("ul", {
29601
+ "class": "mt-2",
29602
+ sytle: {
29603
+ width: '200px'
29604
+ }
29605
+ }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.instcategories) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.map(function (item, index) {
29606
+ var _authdetailsContext$i11;
29607
+ var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instcategories;
29608
+ if (item.isshowntocustomers == 1) {
29609
+ return /*#__PURE__*/React.createElement("div", {
29610
+ "class": "w-100"
29611
+ }, ButtonDropdown(item, index, fetchedarray));
29612
+ }
29613
+ })), sectionproperties.fetchparenttype == 'Parent Collections' && (pcollarray === null || pcollarray === void 0 ? void 0 : pcollarray.map(function (item, index) {
29614
+ var fetchedarray = pcollarray;
29615
+ if (item.isshowntocustomers == 1) {
29616
+ return /*#__PURE__*/React.createElement("div", {
29617
+ "class": "w-100"
29618
+ }, ButtonDropdown(item, index, fetchedarray));
29619
+ }
29620
+ })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.instcollections) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.map(function (item, index) {
29621
+ var _authdetailsContext$i13;
29622
+ var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instcollections;
29623
+ if (item.isshowntocustomers == 1) {
29624
+ return /*#__PURE__*/React.createElement("div", {
29625
+ "class": "w-100"
29626
+ }, ButtonDropdown(item, index, fetchedarray));
29627
+ }
29628
+ })))))), /*#__PURE__*/React.createElement("div", {
29629
+ "class": sectionproperties.generalbtn_show == 'Show' ? 'col-xl-8 col-lg-9' : 'col-12'
29420
29630
  }, /*#__PURE__*/React.createElement("div", {
29421
29631
  "class": ' scrollhorizontal w-100 align-items-center h-100 ',
29422
29632
  style: {
@@ -29444,7 +29654,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29444
29654
  "class": "".concat(headerstyles$a.navbar_item_text, " ").concat(header_cssstyles.navbar_item_text)
29445
29655
  }, langdetect == 'en' ? item.pagename : item.pagename_ar)));
29446
29656
  }
29447
- })), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React.createElement("div", {
29657
+ })))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React.createElement("div", {
29448
29658
  "class": "row m-0 w-100 p-0"
29449
29659
  }, /*#__PURE__*/React.createElement(Subheader, {
29450
29660
  sectionpropertiesprops: sectionproperties,
@@ -29723,7 +29933,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29723
29933
  }
29724
29934
  }), /*#__PURE__*/React.createElement("span", {
29725
29935
  "class": 'ml-2 mr-2'
29726
- }, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcurrencies) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.length) > 1 && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
29936
+ }, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.instcurrencies) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.length) > 1 && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
29727
29937
  "class": ' d-flex align-items-center justify-content-center '
29728
29938
  }, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
29729
29939
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
@@ -29733,8 +29943,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29733
29943
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
29734
29944
  }, /*#__PURE__*/React.createElement("p", {
29735
29945
  "class": "m-0 p-0 ml-2 mr-2"
29736
- }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcurrencies) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
29737
- var _authdetailsContext$i10;
29946
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.instcurrencies) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.map(function (item, index) {
29947
+ var _authdetailsContext$i16;
29738
29948
  return /*#__PURE__*/React.createElement(Dropdown.Item, {
29739
29949
  onClick: function onClick() {
29740
29950
  setcurrencyfunccontext(item);
@@ -29752,7 +29962,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
29752
29962
  fontWeight: sectionproperties.dropdown_fontweight,
29753
29963
  textTransform: sectionproperties.dropdown_texttransform
29754
29964
  }
29755
- }, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.instcurrencies) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.length) - 1 && /*#__PURE__*/React.createElement("div", {
29965
+ }, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.instcurrencies) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.length) - 1 && /*#__PURE__*/React.createElement("div", {
29756
29966
  "class": "col-lg-12 p-0"
29757
29967
  }, /*#__PURE__*/React.createElement("hr", {
29758
29968
  "class": "m-0"
@@ -45258,7 +45468,7 @@ var Footer4 = function Footer4(props) {
45258
45468
  function ownKeys$1y(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; }
45259
45469
  function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
45260
45470
  var Footer5 = function Footer5(props) {
45261
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46;
45471
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49;
45262
45472
  var _useState = useState(''),
45263
45473
  _useState2 = _slicedToArray(_useState, 2),
45264
45474
  sectionproperties = _useState2[0],
@@ -45778,11 +45988,30 @@ var Footer5 = function Footer5(props) {
45778
45988
  className: "".concat(footerStyles.payimgcont),
45779
45989
  style: {
45780
45990
  width: '70px',
45781
- height: '30px'
45991
+ height: '30px',
45992
+ borderRadius: 10
45782
45993
  }
45783
45994
  }, /*#__PURE__*/React.createElement("img", {
45784
45995
  src: 'https://tabex-co.com/storage/StaticImages/mastercard.png',
45785
45996
  className: "".concat(footerStyles.payimg)
45997
+ })), sectionproperties.showbankak == 'Show' && /*#__PURE__*/React.createElement("div", {
45998
+ className: "".concat(footerStyles.payimgcont),
45999
+ style: {
46000
+ width: '50px',
46001
+ height: '50px'
46002
+ }
46003
+ }, /*#__PURE__*/React.createElement("img", {
46004
+ src: 'https://tabex-co.com/storage/StaticImages/bankak.png',
46005
+ className: "".concat(footerStyles.payimg)
46006
+ })), sectionproperties.showinstapay == 'Show' && /*#__PURE__*/React.createElement("div", {
46007
+ className: "".concat(footerStyles.payimgcont),
46008
+ style: {
46009
+ width: '70px',
46010
+ height: '30px'
46011
+ }
46012
+ }, /*#__PURE__*/React.createElement("img", {
46013
+ src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
46014
+ className: "".concat(footerStyles.payimg)
45786
46015
  })))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
45787
46016
  className: "row m-0 w-100 mt-3"
45788
46017
  }, /*#__PURE__*/React.createElement("div", {
@@ -45902,6 +46131,19 @@ var Footer5 = function Footer5(props) {
45902
46131
  className: "h-100 allcentered"
45903
46132
  }, /*#__PURE__*/React.createElement(AiFillYoutube, {
45904
46133
  size: sectionproperties.instgrambtniconfontsize
46134
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.telegramlink) != null && /*#__PURE__*/React.createElement("div", {
46135
+ className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
46136
+ onClick: function onClick() {
46137
+ var _authdetailsContext$i50;
46138
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.telegramlink) != null) {
46139
+ var _authdetailsContext$i51;
46140
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.telegramlink, '_blank');
46141
+ }
46142
+ }
46143
+ }, /*#__PURE__*/React.createElement("i", {
46144
+ className: "h-100 allcentered"
46145
+ }, /*#__PURE__*/React.createElement(FaTelegramPlane, {
46146
+ size: sectionproperties.instgrambtniconfontsize
45905
46147
  })))))));
45906
46148
  };
45907
46149
 
@@ -71906,7 +72148,7 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
71906
72148
  style: {
71907
72149
  display: 'flex',
71908
72150
  justifyContent: sectionproperties.generaltext_position == 'Centered' ? 'center' : 'start',
71909
- zIndex: 10000
72151
+ zIndex: 10
71910
72152
  }
71911
72153
  }, /*#__PURE__*/React.createElement("p", {
71912
72154
  "class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak wordbreak1 wordbreak-md-2 ',
@@ -71918,7 +72160,7 @@ var CategoryCardwithhoveraction = function CategoryCardwithhoveraction(props) {
71918
72160
  "class": "".concat(cardstyles$1.buttons_container) + ' m-0 p-0 '
71919
72161
  }, /*#__PURE__*/React.createElement("li", {
71920
72162
  style: {
71921
- zIndex: 10000
72163
+ zIndex: 10
71922
72164
  },
71923
72165
  "class": langdetect == 'en' ? 'ml-4 cursor-pointer ' : 'mr-4 cursor-pointer ',
71924
72166
  onClick: function onClick(e) {