tabexseriescomponents 0.2.1181 → 0.2.1183

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
@@ -26493,54 +26493,58 @@ var Subheader = function Subheader(props) {
26493
26493
  _useState2 = _slicedToArray__default["default"](_useState, 2),
26494
26494
  showdownheadermenu = _useState2[0],
26495
26495
  setshowdownheadermenu = _useState2[1];
26496
- var _useState3 = React.useState(false),
26496
+ var _useState3 = React.useState(''),
26497
26497
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
26498
- inqmenushow = _useState4[0],
26499
- setinqmenushow = _useState4[1];
26498
+ pname = _useState4[0],
26499
+ setpname = _useState4[1];
26500
26500
  var _useState5 = React.useState(false),
26501
26501
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
26502
- selalmenu1 = _useState6[0],
26503
- setselalmenu1 = _useState6[1];
26502
+ inqmenushow = _useState6[0],
26503
+ setinqmenushow = _useState6[1];
26504
26504
  var _useState7 = React.useState(false),
26505
26505
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
26506
- selalmenu2 = _useState8[0],
26507
- setselalmenu2 = _useState8[1];
26506
+ selalmenu1 = _useState8[0],
26507
+ setselalmenu1 = _useState8[1];
26508
26508
  var _useState9 = React.useState(false),
26509
26509
  _useState0 = _slicedToArray__default["default"](_useState9, 2),
26510
- selalmenu3 = _useState0[0],
26511
- setselalmenu3 = _useState0[1];
26510
+ selalmenu2 = _useState0[0],
26511
+ setselalmenu2 = _useState0[1];
26512
26512
  var _useState1 = React.useState(false),
26513
- _useState10 = _slicedToArray__default["default"](_useState1, 2);
26514
- _useState10[0];
26515
- _useState10[1];
26516
- var _useState11 = React.useState(''),
26517
- _useState12 = _slicedToArray__default["default"](_useState11, 2),
26518
- currentimagecollection = _useState12[0],
26519
- setcurrentimagecollection = _useState12[1];
26520
- var _useState13 = React.useState(false),
26513
+ _useState10 = _slicedToArray__default["default"](_useState1, 2),
26514
+ selalmenu3 = _useState10[0],
26515
+ setselalmenu3 = _useState10[1];
26516
+ var _useState11 = React.useState(false),
26517
+ _useState12 = _slicedToArray__default["default"](_useState11, 2);
26518
+ _useState12[0];
26519
+ _useState12[1];
26520
+ var _useState13 = React.useState(''),
26521
26521
  _useState14 = _slicedToArray__default["default"](_useState13, 2),
26522
- inqmenushowabout33 = _useState14[0],
26523
- setinqmenushowabout33 = _useState14[1];
26524
- var _useState15 = React.useState(''),
26522
+ currentimagecollection = _useState14[0],
26523
+ setcurrentimagecollection = _useState14[1];
26524
+ var _useState15 = React.useState(false),
26525
26525
  _useState16 = _slicedToArray__default["default"](_useState15, 2),
26526
- Choosenindex = _useState16[0],
26527
- setChoosenindex = _useState16[1];
26526
+ inqmenushowabout33 = _useState16[0],
26527
+ setinqmenushowabout33 = _useState16[1];
26528
26528
  var _useState17 = React.useState(''),
26529
26529
  _useState18 = _slicedToArray__default["default"](_useState17, 2),
26530
- Choosenname = _useState18[0],
26531
- setChoosenname = _useState18[1];
26532
- var _useState19 = React.useState({}),
26530
+ Choosenindex = _useState18[0],
26531
+ setChoosenindex = _useState18[1];
26532
+ var _useState19 = React.useState(''),
26533
26533
  _useState20 = _slicedToArray__default["default"](_useState19, 2),
26534
- sectionproperties = _useState20[0],
26535
- setsectionproperties = _useState20[1];
26536
- var _useState21 = React.useState([]),
26534
+ Choosenname = _useState20[0],
26535
+ setChoosenname = _useState20[1];
26536
+ var _useState21 = React.useState({}),
26537
26537
  _useState22 = _slicedToArray__default["default"](_useState21, 2),
26538
- pcollarray = _useState22[0],
26539
- setpcollarray = _useState22[1];
26538
+ sectionproperties = _useState22[0],
26539
+ setsectionproperties = _useState22[1];
26540
26540
  var _useState23 = React.useState([]),
26541
- _useState24 = _slicedToArray__default["default"](_useState23, 2);
26542
- _useState24[0];
26543
- _useState24[1];
26541
+ _useState24 = _slicedToArray__default["default"](_useState23, 2),
26542
+ pcollarray = _useState24[0],
26543
+ setpcollarray = _useState24[1];
26544
+ var _useState25 = React.useState([]),
26545
+ _useState26 = _slicedToArray__default["default"](_useState25, 2);
26546
+ _useState26[0];
26547
+ _useState26[1];
26544
26548
  var authdetailsContext = props.actions.authdetailsContext;
26545
26549
  var ikimagecredcontext = props.actions.ikimagecredcontext;
26546
26550
  React.useEffect(function () {
@@ -26710,6 +26714,7 @@ var Subheader = function Subheader(props) {
26710
26714
  onMouseEnter: function onMouseEnter() {
26711
26715
  setshowdownheadermenu(true);
26712
26716
  setChoosenindex(index);
26717
+ setpname(item.title_en);
26713
26718
  },
26714
26719
  style: {
26715
26720
  marginLeft: props === null || props === void 0 || (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingLeftprops,
@@ -27584,12 +27589,13 @@ var Subheader = function Subheader(props) {
27584
27589
  }, /*#__PURE__*/React__default["default"].createElement("li", {
27585
27590
  "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
27586
27591
  }, /*#__PURE__*/React__default["default"].createElement("ul", {
27587
- "class": "mt-2",
27592
+ "class": pname == 'Shop' ? 'mt-2 shop' : pname == 'Brands' ? 'mt-2 brands' : pname == 'Services' ? 'mt-2 services' : 'mt-2',
27588
27593
  style: {
27589
27594
  width: '200px',
27590
27595
  background: sectionproperties.subheader_dropdown_bgcolor,
27591
27596
  border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
27592
27597
  borderRadius: sectionproperties.subheader_dropdown_borderRadius + 'px'
27598
+ // left: pname == 'Shop' ? '104%' : pname == 'Brands' ? '204%' : pname == 'Services' ? '304%' : '',
27593
27599
  }
27594
27600
  }, sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
27595
27601
  if (item.isshowntocustomers == 1) {
@@ -72949,7 +72955,7 @@ var Backgroundimage_with_topcircle = function Backgroundimage_with_topcircle(pro
72949
72955
  function ownKeys$Z(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; }
72950
72956
  function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
72951
72957
  var Freetextsection = function Freetextsection(props) {
72952
- var _maincontainerarrayof, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
72958
+ var _maincontainerarrayof, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
72953
72959
  var _useState = React.useState(''),
72954
72960
  _useState2 = _slicedToArray__default["default"](_useState, 2),
72955
72961
  sectionproperties = _useState2[0],
@@ -73093,6 +73099,7 @@ var Freetextsection = function Freetextsection(props) {
73093
73099
  })
73094
73100
  };
73095
73101
  var SectionTitle = function SectionTitle() {
73102
+ var _authdetailsContext$i;
73096
73103
  return /*#__PURE__*/React__default["default"].createElement("div", {
73097
73104
  "class": "d-flex align-items-center flex-row d-flex",
73098
73105
  style: {
@@ -73140,7 +73147,7 @@ var Freetextsection = function Freetextsection(props) {
73140
73147
  display: 'inline-block'
73141
73148
  },
73142
73149
  repeat: Infinity
73143
- })), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
73150
+ })), sectionproperties.sectiontitlestyle == 'Line Before Text' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6975e2b7caf9c' && /*#__PURE__*/React__default["default"].createElement("span", {
73144
73151
  "class": section_styles.line_right,
73145
73152
  style: {
73146
73153
  marginRight: langdetect == 'en' ? 0 : sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
@@ -73346,7 +73353,7 @@ var Freetextsection = function Freetextsection(props) {
73346
73353
  }, /*#__PURE__*/React__default["default"].createElement("div", {
73347
73354
  "class": "col-lg-12 p-0",
73348
73355
  style: {
73349
- display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' ? 'none' : 'flex'
73356
+ display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' ? 'none' : 'flex'
73350
73357
  }
73351
73358
  }, /*#__PURE__*/React__default["default"].createElement("div", {
73352
73359
  "class": "row m-0 w-100 allcentered",
@@ -73358,7 +73365,7 @@ var Freetextsection = function Freetextsection(props) {
73358
73365
  "data-aos": 'fade-up'
73359
73366
  }, FreeTextSectionContainer()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
73360
73367
  "class": "".concat(section_styles.sectioncont) + ' row ml-0 mr-0 w-100 '
73361
- }, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' && /*#__PURE__*/React__default["default"].createElement("div", {
73368
+ }, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' && /*#__PURE__*/React__default["default"].createElement("div", {
73362
73369
  "class": "col-lg-12 p-0 pt-5",
73363
73370
  style: {
73364
73371
  background: sectionproperties.outerbgcolor
@@ -73385,7 +73392,7 @@ var Freetextsection = function Freetextsection(props) {
73385
73392
  fontWeight: sectionproperties.prodCatFontWeight,
73386
73393
  color: sectionproperties.prodCatColor
73387
73394
  }
73388
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
73395
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
73389
73396
  "class": "col-lg-12 p-0 allcentered d-flex flex-column pt-5 pb-5 px-sm-3",
73390
73397
  style: {
73391
73398
  // background: 'white',
@@ -76878,16 +76885,18 @@ var Slideshowzoom = function Slideshowzoom(props) {
76878
76885
  };
76879
76886
  var slideshow_styles = {
76880
76887
  beforebg: glamor.css({
76881
- content: 's',
76882
- fontSize: 0,
76883
- position: 'absolute',
76884
- top: 0,
76885
- bottom: 0,
76886
- left: 0,
76887
- right: 0,
76888
- width: '100%',
76889
- height: '100%',
76890
- backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
76888
+ ':before': {
76889
+ content: 's',
76890
+ fontSize: 0,
76891
+ position: 'absolute',
76892
+ top: 0,
76893
+ bottom: 0,
76894
+ left: 0,
76895
+ right: 0,
76896
+ width: '100%',
76897
+ height: '100%',
76898
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
76899
+ }
76891
76900
  }),
76892
76901
  slideshow_btn: glamor.css({
76893
76902
  height: sectionproperties.generalbtn_height + 'px',
@@ -77121,6 +77130,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
77121
77130
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
77122
77131
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
77123
77132
  path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
77133
+ "class": slideshow_styles.beforebg,
77124
77134
  style: {
77125
77135
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
77126
77136
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
package/dist/index.esm.js CHANGED
@@ -26442,54 +26442,58 @@ var Subheader = function Subheader(props) {
26442
26442
  _useState2 = _slicedToArray(_useState, 2),
26443
26443
  showdownheadermenu = _useState2[0],
26444
26444
  setshowdownheadermenu = _useState2[1];
26445
- var _useState3 = useState(false),
26445
+ var _useState3 = useState(''),
26446
26446
  _useState4 = _slicedToArray(_useState3, 2),
26447
- inqmenushow = _useState4[0],
26448
- setinqmenushow = _useState4[1];
26447
+ pname = _useState4[0],
26448
+ setpname = _useState4[1];
26449
26449
  var _useState5 = useState(false),
26450
26450
  _useState6 = _slicedToArray(_useState5, 2),
26451
- selalmenu1 = _useState6[0],
26452
- setselalmenu1 = _useState6[1];
26451
+ inqmenushow = _useState6[0],
26452
+ setinqmenushow = _useState6[1];
26453
26453
  var _useState7 = useState(false),
26454
26454
  _useState8 = _slicedToArray(_useState7, 2),
26455
- selalmenu2 = _useState8[0],
26456
- setselalmenu2 = _useState8[1];
26455
+ selalmenu1 = _useState8[0],
26456
+ setselalmenu1 = _useState8[1];
26457
26457
  var _useState9 = useState(false),
26458
26458
  _useState0 = _slicedToArray(_useState9, 2),
26459
- selalmenu3 = _useState0[0],
26460
- setselalmenu3 = _useState0[1];
26459
+ selalmenu2 = _useState0[0],
26460
+ setselalmenu2 = _useState0[1];
26461
26461
  var _useState1 = useState(false),
26462
- _useState10 = _slicedToArray(_useState1, 2);
26463
- _useState10[0];
26464
- _useState10[1];
26465
- var _useState11 = useState(''),
26466
- _useState12 = _slicedToArray(_useState11, 2),
26467
- currentimagecollection = _useState12[0],
26468
- setcurrentimagecollection = _useState12[1];
26469
- var _useState13 = useState(false),
26462
+ _useState10 = _slicedToArray(_useState1, 2),
26463
+ selalmenu3 = _useState10[0],
26464
+ setselalmenu3 = _useState10[1];
26465
+ var _useState11 = useState(false),
26466
+ _useState12 = _slicedToArray(_useState11, 2);
26467
+ _useState12[0];
26468
+ _useState12[1];
26469
+ var _useState13 = useState(''),
26470
26470
  _useState14 = _slicedToArray(_useState13, 2),
26471
- inqmenushowabout33 = _useState14[0],
26472
- setinqmenushowabout33 = _useState14[1];
26473
- var _useState15 = useState(''),
26471
+ currentimagecollection = _useState14[0],
26472
+ setcurrentimagecollection = _useState14[1];
26473
+ var _useState15 = useState(false),
26474
26474
  _useState16 = _slicedToArray(_useState15, 2),
26475
- Choosenindex = _useState16[0],
26476
- setChoosenindex = _useState16[1];
26475
+ inqmenushowabout33 = _useState16[0],
26476
+ setinqmenushowabout33 = _useState16[1];
26477
26477
  var _useState17 = useState(''),
26478
26478
  _useState18 = _slicedToArray(_useState17, 2),
26479
- Choosenname = _useState18[0],
26480
- setChoosenname = _useState18[1];
26481
- var _useState19 = useState({}),
26479
+ Choosenindex = _useState18[0],
26480
+ setChoosenindex = _useState18[1];
26481
+ var _useState19 = useState(''),
26482
26482
  _useState20 = _slicedToArray(_useState19, 2),
26483
- sectionproperties = _useState20[0],
26484
- setsectionproperties = _useState20[1];
26485
- var _useState21 = useState([]),
26483
+ Choosenname = _useState20[0],
26484
+ setChoosenname = _useState20[1];
26485
+ var _useState21 = useState({}),
26486
26486
  _useState22 = _slicedToArray(_useState21, 2),
26487
- pcollarray = _useState22[0],
26488
- setpcollarray = _useState22[1];
26487
+ sectionproperties = _useState22[0],
26488
+ setsectionproperties = _useState22[1];
26489
26489
  var _useState23 = useState([]),
26490
- _useState24 = _slicedToArray(_useState23, 2);
26491
- _useState24[0];
26492
- _useState24[1];
26490
+ _useState24 = _slicedToArray(_useState23, 2),
26491
+ pcollarray = _useState24[0],
26492
+ setpcollarray = _useState24[1];
26493
+ var _useState25 = useState([]),
26494
+ _useState26 = _slicedToArray(_useState25, 2);
26495
+ _useState26[0];
26496
+ _useState26[1];
26493
26497
  var authdetailsContext = props.actions.authdetailsContext;
26494
26498
  var ikimagecredcontext = props.actions.ikimagecredcontext;
26495
26499
  useEffect(function () {
@@ -26659,6 +26663,7 @@ var Subheader = function Subheader(props) {
26659
26663
  onMouseEnter: function onMouseEnter() {
26660
26664
  setshowdownheadermenu(true);
26661
26665
  setChoosenindex(index);
26666
+ setpname(item.title_en);
26662
26667
  },
26663
26668
  style: {
26664
26669
  marginLeft: props === null || props === void 0 || (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingLeftprops,
@@ -27533,12 +27538,13 @@ var Subheader = function Subheader(props) {
27533
27538
  }, /*#__PURE__*/React.createElement("li", {
27534
27539
  "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
27535
27540
  }, /*#__PURE__*/React.createElement("ul", {
27536
- "class": "mt-2",
27541
+ "class": pname == 'Shop' ? 'mt-2 shop' : pname == 'Brands' ? 'mt-2 brands' : pname == 'Services' ? 'mt-2 services' : 'mt-2',
27537
27542
  style: {
27538
27543
  width: '200px',
27539
27544
  background: sectionproperties.subheader_dropdown_bgcolor,
27540
27545
  border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
27541
27546
  borderRadius: sectionproperties.subheader_dropdown_borderRadius + 'px'
27547
+ // left: pname == 'Shop' ? '104%' : pname == 'Brands' ? '204%' : pname == 'Services' ? '304%' : '',
27542
27548
  }
27543
27549
  }, sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
27544
27550
  if (item.isshowntocustomers == 1) {
@@ -72898,7 +72904,7 @@ var Backgroundimage_with_topcircle = function Backgroundimage_with_topcircle(pro
72898
72904
  function ownKeys$Z(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; }
72899
72905
  function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
72900
72906
  var Freetextsection = function Freetextsection(props) {
72901
- var _maincontainerarrayof, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
72907
+ var _maincontainerarrayof, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
72902
72908
  var _useState = useState(''),
72903
72909
  _useState2 = _slicedToArray(_useState, 2),
72904
72910
  sectionproperties = _useState2[0],
@@ -73042,6 +73048,7 @@ var Freetextsection = function Freetextsection(props) {
73042
73048
  })
73043
73049
  };
73044
73050
  var SectionTitle = function SectionTitle() {
73051
+ var _authdetailsContext$i;
73045
73052
  return /*#__PURE__*/React.createElement("div", {
73046
73053
  "class": "d-flex align-items-center flex-row d-flex",
73047
73054
  style: {
@@ -73089,7 +73096,7 @@ var Freetextsection = function Freetextsection(props) {
73089
73096
  display: 'inline-block'
73090
73097
  },
73091
73098
  repeat: Infinity
73092
- })), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
73099
+ })), sectionproperties.sectiontitlestyle == 'Line Before Text' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6975e2b7caf9c' && /*#__PURE__*/React.createElement("span", {
73093
73100
  "class": section_styles.line_right,
73094
73101
  style: {
73095
73102
  marginRight: langdetect == 'en' ? 0 : sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
@@ -73295,7 +73302,7 @@ var Freetextsection = function Freetextsection(props) {
73295
73302
  }, /*#__PURE__*/React.createElement("div", {
73296
73303
  "class": "col-lg-12 p-0",
73297
73304
  style: {
73298
- display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' ? 'none' : 'flex'
73305
+ display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' ? 'none' : 'flex'
73299
73306
  }
73300
73307
  }, /*#__PURE__*/React.createElement("div", {
73301
73308
  "class": "row m-0 w-100 allcentered",
@@ -73307,7 +73314,7 @@ var Freetextsection = function Freetextsection(props) {
73307
73314
  "data-aos": 'fade-up'
73308
73315
  }, FreeTextSectionContainer()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
73309
73316
  "class": "".concat(section_styles.sectioncont) + ' row ml-0 mr-0 w-100 '
73310
- }, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' && /*#__PURE__*/React.createElement("div", {
73317
+ }, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' && /*#__PURE__*/React.createElement("div", {
73311
73318
  "class": "col-lg-12 p-0 pt-5",
73312
73319
  style: {
73313
73320
  background: sectionproperties.outerbgcolor
@@ -73334,7 +73341,7 @@ var Freetextsection = function Freetextsection(props) {
73334
73341
  fontWeight: sectionproperties.prodCatFontWeight,
73335
73342
  color: sectionproperties.prodCatColor
73336
73343
  }
73337
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React.createElement("div", {
73344
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React.createElement("div", {
73338
73345
  "class": "col-lg-12 p-0 allcentered d-flex flex-column pt-5 pb-5 px-sm-3",
73339
73346
  style: {
73340
73347
  // background: 'white',
@@ -76827,16 +76834,18 @@ var Slideshowzoom = function Slideshowzoom(props) {
76827
76834
  };
76828
76835
  var slideshow_styles = {
76829
76836
  beforebg: css({
76830
- content: 's',
76831
- fontSize: 0,
76832
- position: 'absolute',
76833
- top: 0,
76834
- bottom: 0,
76835
- left: 0,
76836
- right: 0,
76837
- width: '100%',
76838
- height: '100%',
76839
- backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
76837
+ ':before': {
76838
+ content: 's',
76839
+ fontSize: 0,
76840
+ position: 'absolute',
76841
+ top: 0,
76842
+ bottom: 0,
76843
+ left: 0,
76844
+ right: 0,
76845
+ width: '100%',
76846
+ height: '100%',
76847
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
76848
+ }
76840
76849
  }),
76841
76850
  slideshow_btn: css({
76842
76851
  height: sectionproperties.generalbtn_height + 'px',
@@ -77070,6 +77079,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
77070
77079
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
77071
77080
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
77072
77081
  path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
77082
+ "class": slideshow_styles.beforebg,
77073
77083
  style: {
77074
77084
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
77075
77085
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
package/dist/index.umd.js CHANGED
@@ -26299,54 +26299,58 @@
26299
26299
  _useState2 = _slicedToArray__default["default"](_useState, 2),
26300
26300
  showdownheadermenu = _useState2[0],
26301
26301
  setshowdownheadermenu = _useState2[1];
26302
- var _useState3 = React.useState(false),
26302
+ var _useState3 = React.useState(''),
26303
26303
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
26304
- inqmenushow = _useState4[0],
26305
- setinqmenushow = _useState4[1];
26304
+ pname = _useState4[0],
26305
+ setpname = _useState4[1];
26306
26306
  var _useState5 = React.useState(false),
26307
26307
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
26308
- selalmenu1 = _useState6[0],
26309
- setselalmenu1 = _useState6[1];
26308
+ inqmenushow = _useState6[0],
26309
+ setinqmenushow = _useState6[1];
26310
26310
  var _useState7 = React.useState(false),
26311
26311
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
26312
- selalmenu2 = _useState8[0],
26313
- setselalmenu2 = _useState8[1];
26312
+ selalmenu1 = _useState8[0],
26313
+ setselalmenu1 = _useState8[1];
26314
26314
  var _useState9 = React.useState(false),
26315
26315
  _useState0 = _slicedToArray__default["default"](_useState9, 2),
26316
- selalmenu3 = _useState0[0],
26317
- setselalmenu3 = _useState0[1];
26316
+ selalmenu2 = _useState0[0],
26317
+ setselalmenu2 = _useState0[1];
26318
26318
  var _useState1 = React.useState(false),
26319
- _useState10 = _slicedToArray__default["default"](_useState1, 2);
26320
- _useState10[0];
26321
- _useState10[1];
26322
- var _useState11 = React.useState(''),
26323
- _useState12 = _slicedToArray__default["default"](_useState11, 2),
26324
- currentimagecollection = _useState12[0],
26325
- setcurrentimagecollection = _useState12[1];
26326
- var _useState13 = React.useState(false),
26319
+ _useState10 = _slicedToArray__default["default"](_useState1, 2),
26320
+ selalmenu3 = _useState10[0],
26321
+ setselalmenu3 = _useState10[1];
26322
+ var _useState11 = React.useState(false),
26323
+ _useState12 = _slicedToArray__default["default"](_useState11, 2);
26324
+ _useState12[0];
26325
+ _useState12[1];
26326
+ var _useState13 = React.useState(''),
26327
26327
  _useState14 = _slicedToArray__default["default"](_useState13, 2),
26328
- inqmenushowabout33 = _useState14[0],
26329
- setinqmenushowabout33 = _useState14[1];
26330
- var _useState15 = React.useState(''),
26328
+ currentimagecollection = _useState14[0],
26329
+ setcurrentimagecollection = _useState14[1];
26330
+ var _useState15 = React.useState(false),
26331
26331
  _useState16 = _slicedToArray__default["default"](_useState15, 2),
26332
- Choosenindex = _useState16[0],
26333
- setChoosenindex = _useState16[1];
26332
+ inqmenushowabout33 = _useState16[0],
26333
+ setinqmenushowabout33 = _useState16[1];
26334
26334
  var _useState17 = React.useState(''),
26335
26335
  _useState18 = _slicedToArray__default["default"](_useState17, 2),
26336
- Choosenname = _useState18[0],
26337
- setChoosenname = _useState18[1];
26338
- var _useState19 = React.useState({}),
26336
+ Choosenindex = _useState18[0],
26337
+ setChoosenindex = _useState18[1];
26338
+ var _useState19 = React.useState(''),
26339
26339
  _useState20 = _slicedToArray__default["default"](_useState19, 2),
26340
- sectionproperties = _useState20[0],
26341
- setsectionproperties = _useState20[1];
26342
- var _useState21 = React.useState([]),
26340
+ Choosenname = _useState20[0],
26341
+ setChoosenname = _useState20[1];
26342
+ var _useState21 = React.useState({}),
26343
26343
  _useState22 = _slicedToArray__default["default"](_useState21, 2),
26344
- pcollarray = _useState22[0],
26345
- setpcollarray = _useState22[1];
26344
+ sectionproperties = _useState22[0],
26345
+ setsectionproperties = _useState22[1];
26346
26346
  var _useState23 = React.useState([]),
26347
- _useState24 = _slicedToArray__default["default"](_useState23, 2);
26348
- _useState24[0];
26349
- _useState24[1];
26347
+ _useState24 = _slicedToArray__default["default"](_useState23, 2),
26348
+ pcollarray = _useState24[0],
26349
+ setpcollarray = _useState24[1];
26350
+ var _useState25 = React.useState([]),
26351
+ _useState26 = _slicedToArray__default["default"](_useState25, 2);
26352
+ _useState26[0];
26353
+ _useState26[1];
26350
26354
  var authdetailsContext = props.actions.authdetailsContext;
26351
26355
  var ikimagecredcontext = props.actions.ikimagecredcontext;
26352
26356
  React.useEffect(function () {
@@ -26516,6 +26520,7 @@
26516
26520
  onMouseEnter: function onMouseEnter() {
26517
26521
  setshowdownheadermenu(true);
26518
26522
  setChoosenindex(index);
26523
+ setpname(item.title_en);
26519
26524
  },
26520
26525
  style: {
26521
26526
  marginLeft: props === null || props === void 0 || (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingLeftprops,
@@ -27390,12 +27395,13 @@
27390
27395
  }, /*#__PURE__*/React__default["default"].createElement("li", {
27391
27396
  "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
27392
27397
  }, /*#__PURE__*/React__default["default"].createElement("ul", {
27393
- "class": "mt-2",
27398
+ "class": pname == 'Shop' ? 'mt-2 shop' : pname == 'Brands' ? 'mt-2 brands' : pname == 'Services' ? 'mt-2 services' : 'mt-2',
27394
27399
  style: {
27395
27400
  width: '200px',
27396
27401
  background: sectionproperties.subheader_dropdown_bgcolor,
27397
27402
  border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
27398
27403
  borderRadius: sectionproperties.subheader_dropdown_borderRadius + 'px'
27404
+ // left: pname == 'Shop' ? '104%' : pname == 'Brands' ? '204%' : pname == 'Services' ? '304%' : '',
27399
27405
  }
27400
27406
  }, sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
27401
27407
  if (item.isshowntocustomers == 1) {
@@ -72755,7 +72761,7 @@
72755
72761
  function ownKeys$Z(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; }
72756
72762
  function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
72757
72763
  var Freetextsection = function Freetextsection(props) {
72758
- var _maincontainerarrayof, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
72764
+ var _maincontainerarrayof, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
72759
72765
  var _useState = React.useState(''),
72760
72766
  _useState2 = _slicedToArray__default["default"](_useState, 2),
72761
72767
  sectionproperties = _useState2[0],
@@ -72899,6 +72905,7 @@
72899
72905
  })
72900
72906
  };
72901
72907
  var SectionTitle = function SectionTitle() {
72908
+ var _authdetailsContext$i;
72902
72909
  return /*#__PURE__*/React__default["default"].createElement("div", {
72903
72910
  "class": "d-flex align-items-center flex-row d-flex",
72904
72911
  style: {
@@ -72946,7 +72953,7 @@
72946
72953
  display: 'inline-block'
72947
72954
  },
72948
72955
  repeat: Infinity
72949
- })), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
72956
+ })), sectionproperties.sectiontitlestyle == 'Line Before Text' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6975e2b7caf9c' && /*#__PURE__*/React__default["default"].createElement("span", {
72950
72957
  "class": section_styles.line_right,
72951
72958
  style: {
72952
72959
  marginRight: langdetect == 'en' ? 0 : sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
@@ -73152,7 +73159,7 @@
73152
73159
  }, /*#__PURE__*/React__default["default"].createElement("div", {
73153
73160
  "class": "col-lg-12 p-0",
73154
73161
  style: {
73155
- display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' ? 'none' : 'flex'
73162
+ display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' ? 'none' : 'flex'
73156
73163
  }
73157
73164
  }, /*#__PURE__*/React__default["default"].createElement("div", {
73158
73165
  "class": "row m-0 w-100 allcentered",
@@ -73164,7 +73171,7 @@
73164
73171
  "data-aos": 'fade-up'
73165
73172
  }, FreeTextSectionContainer()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
73166
73173
  "class": "".concat(section_styles.sectioncont) + ' row ml-0 mr-0 w-100 '
73167
- }, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' && /*#__PURE__*/React__default["default"].createElement("div", {
73174
+ }, FreeTextSectionContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68527dfef348b' && sectionproperties.sectionTitleContent_ar == 'ABOUT US' && /*#__PURE__*/React__default["default"].createElement("div", {
73168
73175
  "class": "col-lg-12 p-0 pt-5",
73169
73176
  style: {
73170
73177
  background: sectionproperties.outerbgcolor
@@ -73191,7 +73198,7 @@
73191
73198
  fontWeight: sectionproperties.prodCatFontWeight,
73192
73199
  color: sectionproperties.prodCatColor
73193
73200
  }
73194
- }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
73201
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '682c6a888d70e' && window.location.pathname == '/home' && /*#__PURE__*/React__default["default"].createElement("div", {
73195
73202
  "class": "col-lg-12 p-0 allcentered d-flex flex-column pt-5 pb-5 px-sm-3",
73196
73203
  style: {
73197
73204
  // background: 'white',
@@ -76684,16 +76691,18 @@
76684
76691
  };
76685
76692
  var slideshow_styles = {
76686
76693
  beforebg: glamor.css({
76687
- content: 's',
76688
- fontSize: 0,
76689
- position: 'absolute',
76690
- top: 0,
76691
- bottom: 0,
76692
- left: 0,
76693
- right: 0,
76694
- width: '100%',
76695
- height: '100%',
76696
- backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
76694
+ ':before': {
76695
+ content: 's',
76696
+ fontSize: 0,
76697
+ position: 'absolute',
76698
+ top: 0,
76699
+ bottom: 0,
76700
+ left: 0,
76701
+ right: 0,
76702
+ width: '100%',
76703
+ height: '100%',
76704
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')'
76705
+ }
76697
76706
  }),
76698
76707
  slideshow_btn: glamor.css({
76699
76708
  height: sectionproperties.generalbtn_height + 'px',
@@ -76927,6 +76936,7 @@
76927
76936
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
76928
76937
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
76929
76938
  path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imageen : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.imagear,
76939
+ "class": slideshow_styles.beforebg,
76930
76940
  style: {
76931
76941
  cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
76932
76942
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1181",
3
+ "version": "0.2.1183",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",