tabexseriescomponents 0.2.1332 → 0.2.1334

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
@@ -22284,6 +22284,20 @@ var Filter$1 = function Filter(props) {
22284
22284
  filterrouting(tempfetchproductsfilerobjcontext);
22285
22285
  // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
22286
22286
  };
22287
+ var setCollectionFilterFunc_onecoll = function setCollectionFilterFunc_onecoll(collectionid) {
22288
+ var _tempfetchproductsfil5;
22289
+ var tempfetchproductsfilerobjcontext = _objectSpread$2m({}, ProductFilterObjContext);
22290
+
22291
+ // always keep only one collection selected
22292
+ tempfetchproductsfilerobjcontext.collections = [collectionid];
22293
+ tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
22294
+ if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil5 === void 0 ? void 0 : _tempfetchproductsfil5.length) != 0) {
22295
+ tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
22296
+ }
22297
+ tempfetchproductsfilerobjcontext.page = 0;
22298
+ setProductFilterObjContext(_objectSpread$2m({}, tempfetchproductsfilerobjcontext));
22299
+ filterrouting(tempfetchproductsfilerobjcontext);
22300
+ };
22287
22301
  React.useEffect(function () {
22288
22302
  var _FetchAllVendorsQuery, _FetchAllVendorsQuery2, _FetchVendors_byprodu, _FetchVendors_byprodu2;
22289
22303
  if (FetchAllVendorsQuery !== null && FetchAllVendorsQuery !== void 0 && FetchAllVendorsQuery.isSuccess && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = _FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 ? void 0 : _FetchAllVendorsQuery.vendors) != undefined && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery2 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.vendors) === null || _FetchAllVendorsQuery2 === void 0 ? void 0 : _FetchAllVendorsQuery2.length) != 0 && FetchVendors_byproductsQuery !== null && FetchVendors_byproductsQuery !== void 0 && FetchVendors_byproductsQuery.isSuccess && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu === void 0 || (_FetchVendors_byprodu = _FetchVendors_byprodu.data) === null || _FetchVendors_byprodu === void 0 ? void 0 : _FetchVendors_byprodu.vendors) != undefined && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu2 = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.vendors) === null || _FetchVendors_byprodu2 === void 0 ? void 0 : _FetchVendors_byprodu2.length) != 0) {
@@ -23610,7 +23624,12 @@ var Filter$1 = function Filter(props) {
23610
23624
  }, /*#__PURE__*/React__default["default"].createElement("div", {
23611
23625
  className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
23612
23626
  onClick: function onClick() {
23613
- setCollectionFilterFunc(item.collectionid);
23627
+ if (authdetailsContext.instinfo.instid == '690b53825ac09') {
23628
+ setCollectionFilterFunc_onecoll(item.collectionid);
23629
+ } else {
23630
+ setCollectionFilterFunc(item.collectionid);
23631
+ }
23632
+ // setCollectionFilterFunc(item.collectionid);
23614
23633
  },
23615
23634
  style: {
23616
23635
  color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
@@ -80859,7 +80878,7 @@ function CardsArrayOfObjects(_ref) {
80859
80878
  }, /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? cardItem.cardobj_descripen : cardItem.cardobj_descripar))));
80860
80879
  }
80861
80880
  var Slideshowzoom = function Slideshowzoom(props) {
80862
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
80881
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
80863
80882
  props.actions;
80864
80883
  var langdetect = props.actions.langdetect;
80865
80884
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -80958,9 +80977,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
80958
80977
  color: sectionproperties.generalbtn_textColoronhover
80959
80978
  },
80960
80979
  '@media (max-width: 800px)': {
80961
- width: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '684fdf3f9e856' ? '120px' : sectionproperties.generalbtnwidthresponsive + 'px',
80962
- height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '684fdf3f9e856' ? '33px' : sectionproperties.generalbtnheightresponsive + 'px',
80963
- fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '684fdf3f9e856' ? '12px' : sectionproperties.generalbtnfontsizeresponsive + 'px'
80980
+ width: sectionproperties.generalbtnwidthresp + 'px',
80981
+ height: sectionproperties.generalbtnheightresponsive + 'px',
80982
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
80964
80983
  }
80965
80984
  }),
80966
80985
  slideshow_btnyrh: glamor.css({
@@ -81012,7 +81031,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
81012
81031
  fontWeight: sectionproperties.slideshowText1ContentFontWeight,
81013
81032
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
81014
81033
  '@media (max-width: 800px)': {
81015
- fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '684fdf3f9e856' ? 22 : sectionproperties.slideshowText1ContentFontSize_resp + 'px'
81034
+ fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '684fdf3f9e856' ? 22 : sectionproperties.slideshowText1ContentFontSize_resp + 'px'
81016
81035
  }
81017
81036
  }),
81018
81037
  text2styles: glamor.css({
@@ -81023,6 +81042,57 @@ var Slideshowzoom = function Slideshowzoom(props) {
81023
81042
  '@media (max-width: 800px)': {
81024
81043
  fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px'
81025
81044
  }
81045
+ }),
81046
+ slideshow_btn_mazl: glamor.css({
81047
+ zIndex: 1000,
81048
+ height: sectionproperties.generalbtn_height + 'px',
81049
+ width: sectionproperties.generalbtn_width + 'px',
81050
+ background: 'transparent',
81051
+ color: sectionproperties.generalbtn_bgColor,
81052
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
81053
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
81054
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
81055
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
81056
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
81057
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
81058
+ textTransform: sectionproperties.generalbtn_texttransform,
81059
+ fontWeight: sectionproperties.generalbtn_fontweight,
81060
+ transition: '.3s',
81061
+ border: '1px solid ' + sectionproperties.generalbtn_bgColor,
81062
+ ':hover': {
81063
+ background: sectionproperties.generalbtn_bgColor,
81064
+ color: 'white'
81065
+ },
81066
+ '@media (max-width: 800px)': {
81067
+ width: sectionproperties.generalbtnwidthresp + 'px',
81068
+ height: sectionproperties.generalbtnheightresponsive + 'px',
81069
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
81070
+ }
81071
+ }),
81072
+ slideshow_btn2mazal: glamor.css({
81073
+ zIndex: 1000,
81074
+ height: sectionproperties.generalbtn_height + 'px',
81075
+ width: sectionproperties.generalbtn_width + 'px',
81076
+ background: sectionproperties.generalbtn_bgColor,
81077
+ color: sectionproperties.generalbtn_textColor,
81078
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
81079
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
81080
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
81081
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
81082
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
81083
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
81084
+ textTransform: sectionproperties.generalbtn_texttransform,
81085
+ fontWeight: sectionproperties.generalbtn_fontweight,
81086
+ transition: '.3s',
81087
+ ':hover': {
81088
+ background: sectionproperties.generalbtn_bgColoronhover,
81089
+ color: sectionproperties.generalbtn_textColoronhover
81090
+ },
81091
+ '@media (max-width: 800px)': {
81092
+ width: sectionproperties.generalbtnwidthresp + 'px',
81093
+ height: sectionproperties.generalbtnheightresponsive + 'px',
81094
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
81095
+ }
81026
81096
  })
81027
81097
  };
81028
81098
  var SlideShowTextContainer = function SlideShowTextContainer(item) {
@@ -81072,7 +81142,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
81072
81142
  // : 'col-lg-12 text-start'
81073
81143
  sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
81074
81144
  }, /*#__PURE__*/React__default["default"].createElement("button", {
81075
- "class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
81145
+ "class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
81076
81146
  onClick: function onClick() {
81077
81147
  if (sectionproperties.showplayer == 'Show') {
81078
81148
  setshowpopup(true);
@@ -81083,7 +81153,16 @@ var Slideshowzoom = function Slideshowzoom(props) {
81083
81153
  style: {
81084
81154
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
81085
81155
  }
81086
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
81156
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '69f0cacdc9142' && /*#__PURE__*/React__default["default"].createElement("button", {
81157
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
81158
+ style: {
81159
+ letterSpacing: langdetect == 'en' ? '1px' : 0
81160
+ },
81161
+ onClick: function onClick() {
81162
+ // routingcountext('ready-meals', true, '');
81163
+ routingcountext('ready-meals', false, '');
81164
+ }
81165
+ }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
81087
81166
  "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
81088
81167
  "data-aos": 'fade-up',
81089
81168
  "data-aos-delay": "300"
@@ -81103,7 +81182,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
81103
81182
  };
81104
81183
  return /*#__PURE__*/React__default["default"].createElement("div", {
81105
81184
  "class": "row m-0 w-100"
81106
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
81185
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
81107
81186
  "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center ',
81108
81187
  style: {
81109
81188
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
@@ -81160,13 +81239,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81160
81239
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81161
81240
  },
81162
81241
  onClick: function onClick() {
81163
- if (sectionproperties.showplayer == 'Show') {
81164
- setshowpopup(true);
81165
- } else if (item.IsClickableimg == 'Yes') {
81166
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81167
- routingcountext(item.clickableimg_page_route, false, '');
81168
- } else {
81169
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81242
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81243
+ if (sectionproperties.showplayer == 'Show') {
81244
+ setshowpopup(true);
81245
+ } else if (item.IsClickableimg == 'Yes') {
81246
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81247
+ generalbtnfontsizeresp(item.clickableimg_page_route, false, '');
81248
+ } else {
81249
+ generalbtnfontsizeresp(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81250
+ }
81170
81251
  }
81171
81252
  }
81172
81253
  }
@@ -81199,13 +81280,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81199
81280
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81200
81281
  },
81201
81282
  onClick: function onClick() {
81202
- if (sectionproperties.showplayer == 'Show') {
81203
- setshowpopup(true);
81204
- } else if (item.IsClickableimg == 'Yes') {
81205
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81206
- routingcountext(item.clickableimg_page_route, false, '');
81207
- } else {
81208
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81283
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81284
+ if (sectionproperties.showplayer == 'Show') {
81285
+ setshowpopup(true);
81286
+ } else if (item.IsClickableimg == 'Yes') {
81287
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81288
+ generalbtnfontsizeresp(item.clickableimg_page_route, false, '');
81289
+ } else {
81290
+ generalbtnfontsizeresp(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81291
+ }
81209
81292
  }
81210
81293
  }
81211
81294
  }
@@ -81250,7 +81333,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
81250
81333
  sectionproperties: sectionproperties,
81251
81334
  props: props
81252
81335
  });
81253
- }))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
81336
+ }))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
81254
81337
  "class": 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center mb-5',
81255
81338
  style: {}
81256
81339
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -81332,13 +81415,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81332
81415
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81333
81416
  },
81334
81417
  onClick: function onClick() {
81335
- if (sectionproperties.showplayer == 'Show') {
81336
- setshowpopup(true);
81337
- } else if (item.IsClickableimg == 'Yes') {
81338
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81339
- routingcountext(item.clickableimg_page_route, false, '');
81340
- } else {
81341
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81418
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81419
+ if (sectionproperties.showplayer == 'Show') {
81420
+ setshowpopup(true);
81421
+ } else if (item.IsClickableimg == 'Yes') {
81422
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81423
+ routingcountext(item.clickableimg_page_route, false, '');
81424
+ } else {
81425
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81426
+ }
81342
81427
  }
81343
81428
  }
81344
81429
  }
@@ -81370,13 +81455,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81370
81455
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81371
81456
  },
81372
81457
  onClick: function onClick() {
81373
- if (sectionproperties.showplayer == 'Show') {
81374
- setshowpopup(true);
81375
- } else if (item.IsClickableimg == 'Yes') {
81376
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81377
- routingcountext(item.clickableimg_page_route, false, '');
81378
- } else {
81379
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81458
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81459
+ if (sectionproperties.showplayer == 'Show') {
81460
+ setshowpopup(true);
81461
+ } else if (item.IsClickableimg == 'Yes') {
81462
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81463
+ routingcountext(item.clickableimg_page_route, false, '');
81464
+ } else {
81465
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81466
+ }
81380
81467
  }
81381
81468
  }
81382
81469
  }
@@ -81495,13 +81582,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81495
81582
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81496
81583
  },
81497
81584
  onClick: function onClick() {
81498
- if (sectionproperties.showplayer == 'Show') {
81499
- setshowpopup(true);
81500
- } else if (item.IsClickableimg == 'Yes') {
81501
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81502
- routingcountext(item.clickableimg_page_route, false, '');
81503
- } else {
81504
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81585
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81586
+ if (sectionproperties.showplayer == 'Show') {
81587
+ setshowpopup(true);
81588
+ } else if (item.IsClickableimg == 'Yes') {
81589
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81590
+ routingcountext(item.clickableimg_page_route, false, '');
81591
+ } else {
81592
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81593
+ }
81505
81594
  }
81506
81595
  }
81507
81596
  }
@@ -81533,13 +81622,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81533
81622
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81534
81623
  },
81535
81624
  onClick: function onClick() {
81536
- if (sectionproperties.showplayer == 'Show') {
81537
- setshowpopup(true);
81538
- } else if (item.IsClickableimg == 'Yes') {
81539
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81540
- routingcountext(item.clickableimg_page_route, false, '');
81541
- } else {
81542
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81625
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81626
+ if (sectionproperties.showplayer == 'Show') {
81627
+ setshowpopup(true);
81628
+ } else if (item.IsClickableimg == 'Yes') {
81629
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81630
+ routingcountext(item.clickableimg_page_route, false, '');
81631
+ } else {
81632
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81633
+ }
81543
81634
  }
81544
81635
  }
81545
81636
  }
package/dist/index.esm.js CHANGED
@@ -22233,6 +22233,20 @@ var Filter$1 = function Filter(props) {
22233
22233
  filterrouting(tempfetchproductsfilerobjcontext);
22234
22234
  // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
22235
22235
  };
22236
+ var setCollectionFilterFunc_onecoll = function setCollectionFilterFunc_onecoll(collectionid) {
22237
+ var _tempfetchproductsfil5;
22238
+ var tempfetchproductsfilerobjcontext = _objectSpread$2m({}, ProductFilterObjContext);
22239
+
22240
+ // always keep only one collection selected
22241
+ tempfetchproductsfilerobjcontext.collections = [collectionid];
22242
+ tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
22243
+ if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil5 === void 0 ? void 0 : _tempfetchproductsfil5.length) != 0) {
22244
+ tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
22245
+ }
22246
+ tempfetchproductsfilerobjcontext.page = 0;
22247
+ setProductFilterObjContext(_objectSpread$2m({}, tempfetchproductsfilerobjcontext));
22248
+ filterrouting(tempfetchproductsfilerobjcontext);
22249
+ };
22236
22250
  useEffect(function () {
22237
22251
  var _FetchAllVendorsQuery, _FetchAllVendorsQuery2, _FetchVendors_byprodu, _FetchVendors_byprodu2;
22238
22252
  if (FetchAllVendorsQuery !== null && FetchAllVendorsQuery !== void 0 && FetchAllVendorsQuery.isSuccess && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = _FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 ? void 0 : _FetchAllVendorsQuery.vendors) != undefined && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery2 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.vendors) === null || _FetchAllVendorsQuery2 === void 0 ? void 0 : _FetchAllVendorsQuery2.length) != 0 && FetchVendors_byproductsQuery !== null && FetchVendors_byproductsQuery !== void 0 && FetchVendors_byproductsQuery.isSuccess && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu === void 0 || (_FetchVendors_byprodu = _FetchVendors_byprodu.data) === null || _FetchVendors_byprodu === void 0 ? void 0 : _FetchVendors_byprodu.vendors) != undefined && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu2 = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.vendors) === null || _FetchVendors_byprodu2 === void 0 ? void 0 : _FetchVendors_byprodu2.length) != 0) {
@@ -23559,7 +23573,12 @@ var Filter$1 = function Filter(props) {
23559
23573
  }, /*#__PURE__*/React.createElement("div", {
23560
23574
  className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
23561
23575
  onClick: function onClick() {
23562
- setCollectionFilterFunc(item.collectionid);
23576
+ if (authdetailsContext.instinfo.instid == '690b53825ac09') {
23577
+ setCollectionFilterFunc_onecoll(item.collectionid);
23578
+ } else {
23579
+ setCollectionFilterFunc(item.collectionid);
23580
+ }
23581
+ // setCollectionFilterFunc(item.collectionid);
23563
23582
  },
23564
23583
  style: {
23565
23584
  color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
@@ -80808,7 +80827,7 @@ function CardsArrayOfObjects(_ref) {
80808
80827
  }, /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? cardItem.cardobj_descripen : cardItem.cardobj_descripar))));
80809
80828
  }
80810
80829
  var Slideshowzoom = function Slideshowzoom(props) {
80811
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
80830
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
80812
80831
  props.actions;
80813
80832
  var langdetect = props.actions.langdetect;
80814
80833
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -80907,9 +80926,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
80907
80926
  color: sectionproperties.generalbtn_textColoronhover
80908
80927
  },
80909
80928
  '@media (max-width: 800px)': {
80910
- width: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '684fdf3f9e856' ? '120px' : sectionproperties.generalbtnwidthresponsive + 'px',
80911
- height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '684fdf3f9e856' ? '33px' : sectionproperties.generalbtnheightresponsive + 'px',
80912
- fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '684fdf3f9e856' ? '12px' : sectionproperties.generalbtnfontsizeresponsive + 'px'
80929
+ width: sectionproperties.generalbtnwidthresp + 'px',
80930
+ height: sectionproperties.generalbtnheightresponsive + 'px',
80931
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
80913
80932
  }
80914
80933
  }),
80915
80934
  slideshow_btnyrh: css({
@@ -80961,7 +80980,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
80961
80980
  fontWeight: sectionproperties.slideshowText1ContentFontWeight,
80962
80981
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
80963
80982
  '@media (max-width: 800px)': {
80964
- fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '684fdf3f9e856' ? 22 : sectionproperties.slideshowText1ContentFontSize_resp + 'px'
80983
+ fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '684fdf3f9e856' ? 22 : sectionproperties.slideshowText1ContentFontSize_resp + 'px'
80965
80984
  }
80966
80985
  }),
80967
80986
  text2styles: css({
@@ -80972,6 +80991,57 @@ var Slideshowzoom = function Slideshowzoom(props) {
80972
80991
  '@media (max-width: 800px)': {
80973
80992
  fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px'
80974
80993
  }
80994
+ }),
80995
+ slideshow_btn_mazl: css({
80996
+ zIndex: 1000,
80997
+ height: sectionproperties.generalbtn_height + 'px',
80998
+ width: sectionproperties.generalbtn_width + 'px',
80999
+ background: 'transparent',
81000
+ color: sectionproperties.generalbtn_bgColor,
81001
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
81002
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
81003
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
81004
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
81005
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
81006
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
81007
+ textTransform: sectionproperties.generalbtn_texttransform,
81008
+ fontWeight: sectionproperties.generalbtn_fontweight,
81009
+ transition: '.3s',
81010
+ border: '1px solid ' + sectionproperties.generalbtn_bgColor,
81011
+ ':hover': {
81012
+ background: sectionproperties.generalbtn_bgColor,
81013
+ color: 'white'
81014
+ },
81015
+ '@media (max-width: 800px)': {
81016
+ width: sectionproperties.generalbtnwidthresp + 'px',
81017
+ height: sectionproperties.generalbtnheightresponsive + 'px',
81018
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
81019
+ }
81020
+ }),
81021
+ slideshow_btn2mazal: css({
81022
+ zIndex: 1000,
81023
+ height: sectionproperties.generalbtn_height + 'px',
81024
+ width: sectionproperties.generalbtn_width + 'px',
81025
+ background: sectionproperties.generalbtn_bgColor,
81026
+ color: sectionproperties.generalbtn_textColor,
81027
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
81028
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
81029
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
81030
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
81031
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
81032
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
81033
+ textTransform: sectionproperties.generalbtn_texttransform,
81034
+ fontWeight: sectionproperties.generalbtn_fontweight,
81035
+ transition: '.3s',
81036
+ ':hover': {
81037
+ background: sectionproperties.generalbtn_bgColoronhover,
81038
+ color: sectionproperties.generalbtn_textColoronhover
81039
+ },
81040
+ '@media (max-width: 800px)': {
81041
+ width: sectionproperties.generalbtnwidthresp + 'px',
81042
+ height: sectionproperties.generalbtnheightresponsive + 'px',
81043
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
81044
+ }
80975
81045
  })
80976
81046
  };
80977
81047
  var SlideShowTextContainer = function SlideShowTextContainer(item) {
@@ -81021,7 +81091,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
81021
81091
  // : 'col-lg-12 text-start'
81022
81092
  sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
81023
81093
  }, /*#__PURE__*/React.createElement("button", {
81024
- "class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
81094
+ "class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
81025
81095
  onClick: function onClick() {
81026
81096
  if (sectionproperties.showplayer == 'Show') {
81027
81097
  setshowpopup(true);
@@ -81032,7 +81102,16 @@ var Slideshowzoom = function Slideshowzoom(props) {
81032
81102
  style: {
81033
81103
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
81034
81104
  }
81035
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
81105
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '69f0cacdc9142' && /*#__PURE__*/React.createElement("button", {
81106
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
81107
+ style: {
81108
+ letterSpacing: langdetect == 'en' ? '1px' : 0
81109
+ },
81110
+ onClick: function onClick() {
81111
+ // routingcountext('ready-meals', true, '');
81112
+ routingcountext('ready-meals', false, '');
81113
+ }
81114
+ }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
81036
81115
  "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
81037
81116
  "data-aos": 'fade-up',
81038
81117
  "data-aos-delay": "300"
@@ -81052,7 +81131,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
81052
81131
  };
81053
81132
  return /*#__PURE__*/React.createElement("div", {
81054
81133
  "class": "row m-0 w-100"
81055
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React.createElement("div", {
81134
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React.createElement("div", {
81056
81135
  "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center ',
81057
81136
  style: {
81058
81137
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
@@ -81109,13 +81188,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81109
81188
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81110
81189
  },
81111
81190
  onClick: function onClick() {
81112
- if (sectionproperties.showplayer == 'Show') {
81113
- setshowpopup(true);
81114
- } else if (item.IsClickableimg == 'Yes') {
81115
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81116
- routingcountext(item.clickableimg_page_route, false, '');
81117
- } else {
81118
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81191
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81192
+ if (sectionproperties.showplayer == 'Show') {
81193
+ setshowpopup(true);
81194
+ } else if (item.IsClickableimg == 'Yes') {
81195
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81196
+ generalbtnfontsizeresp(item.clickableimg_page_route, false, '');
81197
+ } else {
81198
+ generalbtnfontsizeresp(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81199
+ }
81119
81200
  }
81120
81201
  }
81121
81202
  }
@@ -81148,13 +81229,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81148
81229
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81149
81230
  },
81150
81231
  onClick: function onClick() {
81151
- if (sectionproperties.showplayer == 'Show') {
81152
- setshowpopup(true);
81153
- } else if (item.IsClickableimg == 'Yes') {
81154
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81155
- routingcountext(item.clickableimg_page_route, false, '');
81156
- } else {
81157
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81232
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81233
+ if (sectionproperties.showplayer == 'Show') {
81234
+ setshowpopup(true);
81235
+ } else if (item.IsClickableimg == 'Yes') {
81236
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81237
+ generalbtnfontsizeresp(item.clickableimg_page_route, false, '');
81238
+ } else {
81239
+ generalbtnfontsizeresp(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81240
+ }
81158
81241
  }
81159
81242
  }
81160
81243
  }
@@ -81199,7 +81282,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
81199
81282
  sectionproperties: sectionproperties,
81200
81283
  props: props
81201
81284
  });
81202
- }))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React.createElement("div", {
81285
+ }))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React.createElement("div", {
81203
81286
  "class": 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center mb-5',
81204
81287
  style: {}
81205
81288
  }, /*#__PURE__*/React.createElement("div", {
@@ -81281,13 +81364,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81281
81364
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81282
81365
  },
81283
81366
  onClick: function onClick() {
81284
- if (sectionproperties.showplayer == 'Show') {
81285
- setshowpopup(true);
81286
- } else if (item.IsClickableimg == 'Yes') {
81287
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81288
- routingcountext(item.clickableimg_page_route, false, '');
81289
- } else {
81290
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81367
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81368
+ if (sectionproperties.showplayer == 'Show') {
81369
+ setshowpopup(true);
81370
+ } else if (item.IsClickableimg == 'Yes') {
81371
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81372
+ routingcountext(item.clickableimg_page_route, false, '');
81373
+ } else {
81374
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81375
+ }
81291
81376
  }
81292
81377
  }
81293
81378
  }
@@ -81319,13 +81404,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81319
81404
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81320
81405
  },
81321
81406
  onClick: function onClick() {
81322
- if (sectionproperties.showplayer == 'Show') {
81323
- setshowpopup(true);
81324
- } else if (item.IsClickableimg == 'Yes') {
81325
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81326
- routingcountext(item.clickableimg_page_route, false, '');
81327
- } else {
81328
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81407
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81408
+ if (sectionproperties.showplayer == 'Show') {
81409
+ setshowpopup(true);
81410
+ } else if (item.IsClickableimg == 'Yes') {
81411
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81412
+ routingcountext(item.clickableimg_page_route, false, '');
81413
+ } else {
81414
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81415
+ }
81329
81416
  }
81330
81417
  }
81331
81418
  }
@@ -81444,13 +81531,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81444
81531
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81445
81532
  },
81446
81533
  onClick: function onClick() {
81447
- if (sectionproperties.showplayer == 'Show') {
81448
- setshowpopup(true);
81449
- } else if (item.IsClickableimg == 'Yes') {
81450
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81451
- routingcountext(item.clickableimg_page_route, false, '');
81452
- } else {
81453
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81534
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81535
+ if (sectionproperties.showplayer == 'Show') {
81536
+ setshowpopup(true);
81537
+ } else if (item.IsClickableimg == 'Yes') {
81538
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81539
+ routingcountext(item.clickableimg_page_route, false, '');
81540
+ } else {
81541
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81542
+ }
81454
81543
  }
81455
81544
  }
81456
81545
  }
@@ -81482,13 +81571,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
81482
81571
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81483
81572
  },
81484
81573
  onClick: function onClick() {
81485
- if (sectionproperties.showplayer == 'Show') {
81486
- setshowpopup(true);
81487
- } else if (item.IsClickableimg == 'Yes') {
81488
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81489
- routingcountext(item.clickableimg_page_route, false, '');
81490
- } else {
81491
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81574
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81575
+ if (sectionproperties.showplayer == 'Show') {
81576
+ setshowpopup(true);
81577
+ } else if (item.IsClickableimg == 'Yes') {
81578
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81579
+ routingcountext(item.clickableimg_page_route, false, '');
81580
+ } else {
81581
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81582
+ }
81492
81583
  }
81493
81584
  }
81494
81585
  }
package/dist/index.umd.js CHANGED
@@ -22090,6 +22090,20 @@
22090
22090
  filterrouting(tempfetchproductsfilerobjcontext);
22091
22091
  // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
22092
22092
  };
22093
+ var setCollectionFilterFunc_onecoll = function setCollectionFilterFunc_onecoll(collectionid) {
22094
+ var _tempfetchproductsfil5;
22095
+ var tempfetchproductsfilerobjcontext = _objectSpread$2m({}, ProductFilterObjContext);
22096
+
22097
+ // always keep only one collection selected
22098
+ tempfetchproductsfilerobjcontext.collections = [collectionid];
22099
+ tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
22100
+ if (tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != undefined && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter != null && (tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil5 = tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter) === null || _tempfetchproductsfil5 === void 0 ? void 0 : _tempfetchproductsfil5.length) != 0) {
22101
+ tempfetchproductsfilerobjcontext.ProductFetchingType = 'Parent Collection';
22102
+ }
22103
+ tempfetchproductsfilerobjcontext.page = 0;
22104
+ setProductFilterObjContext(_objectSpread$2m({}, tempfetchproductsfilerobjcontext));
22105
+ filterrouting(tempfetchproductsfilerobjcontext);
22106
+ };
22093
22107
  React.useEffect(function () {
22094
22108
  var _FetchAllVendorsQuery, _FetchAllVendorsQuery2, _FetchVendors_byprodu, _FetchVendors_byprodu2;
22095
22109
  if (FetchAllVendorsQuery !== null && FetchAllVendorsQuery !== void 0 && FetchAllVendorsQuery.isSuccess && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery = _FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery === void 0 ? void 0 : _FetchAllVendorsQuery.vendors) != undefined && (FetchAllVendorsQuery === null || FetchAllVendorsQuery === void 0 || (_FetchAllVendorsQuery2 = FetchAllVendorsQuery.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.data) === null || _FetchAllVendorsQuery2 === void 0 || (_FetchAllVendorsQuery2 = _FetchAllVendorsQuery2.vendors) === null || _FetchAllVendorsQuery2 === void 0 ? void 0 : _FetchAllVendorsQuery2.length) != 0 && FetchVendors_byproductsQuery !== null && FetchVendors_byproductsQuery !== void 0 && FetchVendors_byproductsQuery.isSuccess && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu === void 0 || (_FetchVendors_byprodu = _FetchVendors_byprodu.data) === null || _FetchVendors_byprodu === void 0 ? void 0 : _FetchVendors_byprodu.vendors) != undefined && (FetchVendors_byproductsQuery === null || FetchVendors_byproductsQuery === void 0 || (_FetchVendors_byprodu2 = FetchVendors_byproductsQuery.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.data) === null || _FetchVendors_byprodu2 === void 0 || (_FetchVendors_byprodu2 = _FetchVendors_byprodu2.vendors) === null || _FetchVendors_byprodu2 === void 0 ? void 0 : _FetchVendors_byprodu2.length) != 0) {
@@ -23416,7 +23430,12 @@
23416
23430
  }, /*#__PURE__*/React__default["default"].createElement("div", {
23417
23431
  className: "".concat(filter_cssstyles.timeline_text, " ").concat(filter_cssstyles.filtercard) + ' p-0 cursor-pointer ',
23418
23432
  onClick: function onClick() {
23419
- setCollectionFilterFunc(item.collectionid);
23433
+ if (authdetailsContext.instinfo.instid == '690b53825ac09') {
23434
+ setCollectionFilterFunc_onecoll(item.collectionid);
23435
+ } else {
23436
+ setCollectionFilterFunc(item.collectionid);
23437
+ }
23438
+ // setCollectionFilterFunc(item.collectionid);
23420
23439
  },
23421
23440
  style: {
23422
23441
  color: item.isfilterselected == true ? sectionproperties.activecat_color : ''
@@ -80665,7 +80684,7 @@
80665
80684
  }, /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? cardItem.cardobj_descripen : cardItem.cardobj_descripar))));
80666
80685
  }
80667
80686
  var Slideshowzoom = function Slideshowzoom(props) {
80668
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6;
80687
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
80669
80688
  props.actions;
80670
80689
  var langdetect = props.actions.langdetect;
80671
80690
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -80764,9 +80783,9 @@
80764
80783
  color: sectionproperties.generalbtn_textColoronhover
80765
80784
  },
80766
80785
  '@media (max-width: 800px)': {
80767
- width: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '684fdf3f9e856' ? '120px' : sectionproperties.generalbtnwidthresponsive + 'px',
80768
- height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '684fdf3f9e856' ? '33px' : sectionproperties.generalbtnheightresponsive + 'px',
80769
- fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '684fdf3f9e856' ? '12px' : sectionproperties.generalbtnfontsizeresponsive + 'px'
80786
+ width: sectionproperties.generalbtnwidthresp + 'px',
80787
+ height: sectionproperties.generalbtnheightresponsive + 'px',
80788
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
80770
80789
  }
80771
80790
  }),
80772
80791
  slideshow_btnyrh: glamor.css({
@@ -80818,7 +80837,7 @@
80818
80837
  fontWeight: sectionproperties.slideshowText1ContentFontWeight,
80819
80838
  textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
80820
80839
  '@media (max-width: 800px)': {
80821
- fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '684fdf3f9e856' ? 22 : sectionproperties.slideshowText1ContentFontSize_resp + 'px'
80840
+ fontSize: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '684fdf3f9e856' ? 22 : sectionproperties.slideshowText1ContentFontSize_resp + 'px'
80822
80841
  }
80823
80842
  }),
80824
80843
  text2styles: glamor.css({
@@ -80829,6 +80848,57 @@
80829
80848
  '@media (max-width: 800px)': {
80830
80849
  fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px'
80831
80850
  }
80851
+ }),
80852
+ slideshow_btn_mazl: glamor.css({
80853
+ zIndex: 1000,
80854
+ height: sectionproperties.generalbtn_height + 'px',
80855
+ width: sectionproperties.generalbtn_width + 'px',
80856
+ background: 'transparent',
80857
+ color: sectionproperties.generalbtn_bgColor,
80858
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
80859
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
80860
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
80861
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
80862
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
80863
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
80864
+ textTransform: sectionproperties.generalbtn_texttransform,
80865
+ fontWeight: sectionproperties.generalbtn_fontweight,
80866
+ transition: '.3s',
80867
+ border: '1px solid ' + sectionproperties.generalbtn_bgColor,
80868
+ ':hover': {
80869
+ background: sectionproperties.generalbtn_bgColor,
80870
+ color: 'white'
80871
+ },
80872
+ '@media (max-width: 800px)': {
80873
+ width: sectionproperties.generalbtnwidthresp + 'px',
80874
+ height: sectionproperties.generalbtnheightresponsive + 'px',
80875
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
80876
+ }
80877
+ }),
80878
+ slideshow_btn2mazal: glamor.css({
80879
+ zIndex: 1000,
80880
+ height: sectionproperties.generalbtn_height + 'px',
80881
+ width: sectionproperties.generalbtn_width + 'px',
80882
+ background: sectionproperties.generalbtn_bgColor,
80883
+ color: sectionproperties.generalbtn_textColor,
80884
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
80885
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
80886
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
80887
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
80888
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
80889
+ lineHeight: sectionproperties.generalbtn_fontsize + 'px',
80890
+ textTransform: sectionproperties.generalbtn_texttransform,
80891
+ fontWeight: sectionproperties.generalbtn_fontweight,
80892
+ transition: '.3s',
80893
+ ':hover': {
80894
+ background: sectionproperties.generalbtn_bgColoronhover,
80895
+ color: sectionproperties.generalbtn_textColoronhover
80896
+ },
80897
+ '@media (max-width: 800px)': {
80898
+ width: sectionproperties.generalbtnwidthresp + 'px',
80899
+ height: sectionproperties.generalbtnheightresponsive + 'px',
80900
+ fontSize: sectionproperties.generalbtnfontsizeresp + 'px'
80901
+ }
80832
80902
  })
80833
80903
  };
80834
80904
  var SlideShowTextContainer = function SlideShowTextContainer(item) {
@@ -80878,7 +80948,7 @@
80878
80948
  // : 'col-lg-12 text-start'
80879
80949
  sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
80880
80950
  }, /*#__PURE__*/React__default["default"].createElement("button", {
80881
- "class": langdetect == 'en' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
80951
+ "class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
80882
80952
  onClick: function onClick() {
80883
80953
  if (sectionproperties.showplayer == 'Show') {
80884
80954
  setshowpopup(true);
@@ -80889,7 +80959,16 @@
80889
80959
  style: {
80890
80960
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
80891
80961
  }
80892
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80962
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '69f0cacdc9142' && /*#__PURE__*/React__default["default"].createElement("button", {
80963
+ "class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
80964
+ style: {
80965
+ letterSpacing: langdetect == 'en' ? '1px' : 0
80966
+ },
80967
+ onClick: function onClick() {
80968
+ // routingcountext('ready-meals', true, '');
80969
+ routingcountext('ready-meals', false, '');
80970
+ }
80971
+ }, langdetect == 'en' ? 'Explore Our Menu' : 'اكتشف القائمة')), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
80893
80972
  "class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : item.titleen == null && item.descriptionen == null ? sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 allcentered-md' : 'col-lg-12 text-start',
80894
80973
  "data-aos": 'fade-up',
80895
80974
  "data-aos-delay": "300"
@@ -80909,7 +80988,7 @@
80909
80988
  };
80910
80989
  return /*#__PURE__*/React__default["default"].createElement("div", {
80911
80990
  "class": "row m-0 w-100"
80912
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
80991
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
80913
80992
  "class": sectionproperties.card_marginLeft != 0 && sectionproperties.card_marginRight != 0 ? 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center pl-sm-2 pr-sm-2' : 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center ',
80914
80993
  style: {
80915
80994
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
@@ -80966,13 +81045,15 @@
80966
81045
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
80967
81046
  },
80968
81047
  onClick: function onClick() {
80969
- if (sectionproperties.showplayer == 'Show') {
80970
- setshowpopup(true);
80971
- } else if (item.IsClickableimg == 'Yes') {
80972
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
80973
- routingcountext(item.clickableimg_page_route, false, '');
80974
- } else {
80975
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81048
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81049
+ if (sectionproperties.showplayer == 'Show') {
81050
+ setshowpopup(true);
81051
+ } else if (item.IsClickableimg == 'Yes') {
81052
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81053
+ generalbtnfontsizeresp(item.clickableimg_page_route, false, '');
81054
+ } else {
81055
+ generalbtnfontsizeresp(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81056
+ }
80976
81057
  }
80977
81058
  }
80978
81059
  }
@@ -81005,13 +81086,15 @@
81005
81086
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81006
81087
  },
81007
81088
  onClick: function onClick() {
81008
- if (sectionproperties.showplayer == 'Show') {
81009
- setshowpopup(true);
81010
- } else if (item.IsClickableimg == 'Yes') {
81011
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81012
- routingcountext(item.clickableimg_page_route, false, '');
81013
- } else {
81014
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81089
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81090
+ if (sectionproperties.showplayer == 'Show') {
81091
+ setshowpopup(true);
81092
+ } else if (item.IsClickableimg == 'Yes') {
81093
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81094
+ generalbtnfontsizeresp(item.clickableimg_page_route, false, '');
81095
+ } else {
81096
+ generalbtnfontsizeresp(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81097
+ }
81015
81098
  }
81016
81099
  }
81017
81100
  }
@@ -81056,7 +81139,7 @@
81056
81139
  sectionproperties: sectionproperties,
81057
81140
  props: props
81058
81141
  });
81059
- }))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
81142
+ }))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React__default["default"].createElement("div", {
81060
81143
  "class": 'row ml-0 mr-0 w-100 d-flex d-md-none justify-content-center align-items-center mb-5',
81061
81144
  style: {}
81062
81145
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -81138,13 +81221,15 @@
81138
81221
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81139
81222
  },
81140
81223
  onClick: function onClick() {
81141
- if (sectionproperties.showplayer == 'Show') {
81142
- setshowpopup(true);
81143
- } else if (item.IsClickableimg == 'Yes') {
81144
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81145
- routingcountext(item.clickableimg_page_route, false, '');
81146
- } else {
81147
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81224
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81225
+ if (sectionproperties.showplayer == 'Show') {
81226
+ setshowpopup(true);
81227
+ } else if (item.IsClickableimg == 'Yes') {
81228
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81229
+ routingcountext(item.clickableimg_page_route, false, '');
81230
+ } else {
81231
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81232
+ }
81148
81233
  }
81149
81234
  }
81150
81235
  }
@@ -81176,13 +81261,15 @@
81176
81261
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81177
81262
  },
81178
81263
  onClick: function onClick() {
81179
- if (sectionproperties.showplayer == 'Show') {
81180
- setshowpopup(true);
81181
- } else if (item.IsClickableimg == 'Yes') {
81182
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81183
- routingcountext(item.clickableimg_page_route, false, '');
81184
- } else {
81185
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81264
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81265
+ if (sectionproperties.showplayer == 'Show') {
81266
+ setshowpopup(true);
81267
+ } else if (item.IsClickableimg == 'Yes') {
81268
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81269
+ routingcountext(item.clickableimg_page_route, false, '');
81270
+ } else {
81271
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81272
+ }
81186
81273
  }
81187
81274
  }
81188
81275
  }
@@ -81301,13 +81388,15 @@
81301
81388
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81302
81389
  },
81303
81390
  onClick: function onClick() {
81304
- if (sectionproperties.showplayer == 'Show') {
81305
- setshowpopup(true);
81306
- } else if (item.IsClickableimg == 'Yes') {
81307
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81308
- routingcountext(item.clickableimg_page_route, false, '');
81309
- } else {
81310
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81391
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81392
+ if (sectionproperties.showplayer == 'Show') {
81393
+ setshowpopup(true);
81394
+ } else if (item.IsClickableimg == 'Yes') {
81395
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81396
+ routingcountext(item.clickableimg_page_route, false, '');
81397
+ } else {
81398
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81399
+ }
81311
81400
  }
81312
81401
  }
81313
81402
  }
@@ -81339,13 +81428,15 @@
81339
81428
  paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
81340
81429
  },
81341
81430
  onClick: function onClick() {
81342
- if (sectionproperties.showplayer == 'Show') {
81343
- setshowpopup(true);
81344
- } else if (item.IsClickableimg == 'Yes') {
81345
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81346
- routingcountext(item.clickableimg_page_route, false, '');
81347
- } else {
81348
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81431
+ if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else {
81432
+ if (sectionproperties.showplayer == 'Show') {
81433
+ setshowpopup(true);
81434
+ } else if (item.IsClickableimg == 'Yes') {
81435
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
81436
+ routingcountext(item.clickableimg_page_route, false, '');
81437
+ } else {
81438
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
81439
+ }
81349
81440
  }
81350
81441
  }
81351
81442
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1332",
3
+ "version": "0.2.1334",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",