tabexseriescomponents 0.0.190 → 0.0.192

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
@@ -24529,10 +24529,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
24529
24529
  "class": "ml-2 mr-2"
24530
24530
  }, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
24531
24531
  style: {
24532
- minWidth: '200px'
24532
+ minWidth: '180px'
24533
24533
  }
24534
24534
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, null, /*#__PURE__*/React__default["default"].createElement("div", {
24535
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 flex-column '
24535
+ "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
24536
24536
  }, /*#__PURE__*/React__default["default"].createElement("span", {
24537
24537
  style: {
24538
24538
  color: sectionproperties.greetingtextcolor,
@@ -37037,7 +37037,7 @@ var Slideshowfade = function Slideshowfade(props) {
37037
37037
  function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
37038
37038
  function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37039
37039
  var Slideshowslide = function Slideshowslide(props) {
37040
- var _fetchCategoriesQuery, _fetchCategoriesQuery2, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11;
37040
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
37041
37041
  var _useState = React.useState(''),
37042
37042
  _useState2 = _slicedToArray__default["default"](_useState, 2),
37043
37043
  sectionproperties = _useState2[0],
@@ -37055,7 +37055,7 @@ var Slideshowslide = function Slideshowslide(props) {
37055
37055
  var langdetect = props.actions.langdetect;
37056
37056
  var routingcountext = props.actions.routingcountext;
37057
37057
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
37058
- var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
37058
+ props.actions.fetchCategoriesQueryContext;
37059
37059
  var _useState7 = React.useState(false),
37060
37060
  _useState8 = _slicedToArray__default["default"](_useState7, 2);
37061
37061
  _useState8[0];
@@ -37064,15 +37064,7 @@ var Slideshowslide = function Slideshowslide(props) {
37064
37064
  _useState10 = _slicedToArray__default["default"](_useState9, 2),
37065
37065
  Choosenindex = _useState10[0],
37066
37066
  setChoosenindex = _useState10[1];
37067
- var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
37068
- var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
37069
- React.useEffect(function () {
37070
- if (sectionproperties.collectionssectionshow == 'Show') {
37071
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
37072
- tempFetchQueriesEngineContext.categories = true;
37073
- setFetchQueriesEngineContext(_objectSpread$I({}, tempFetchQueriesEngineContext));
37074
- }
37075
- }, []);
37067
+ var authdetailsContext = props.actions.authdetailsContext;
37076
37068
  React.useEffect(function () {
37077
37069
  var secpropobj = {};
37078
37070
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -37246,16 +37238,7 @@ var Slideshowslide = function Slideshowslide(props) {
37246
37238
  background: sectionproperties.collectionssectionbgcolor,
37247
37239
  boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
37248
37240
  }
37249
- }, fetchCategoriesQueryContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
37250
- "class": "col-lg-12 allcentered",
37251
- style: {
37252
- height: sectionproperties.height + 'vh'
37253
- }
37254
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
37255
- color: "#ccc",
37256
- width: "20px",
37257
- height: "20px"
37258
- })), fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React__default["default"].createElement("div", {
37241
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37259
37242
  "class": "col-lg-12 p-0"
37260
37243
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37261
37244
  "class": "row m-0 w-100"
@@ -37269,8 +37252,8 @@ var Slideshowslide = function Slideshowslide(props) {
37269
37252
  height: sectionproperties.height + 'vh',
37270
37253
  overflowY: 'scroll'
37271
37254
  }
37272
- }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : (_fetchCategoriesQuery2 = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.map(function (item, index) {
37273
- var _fetchCategoriesQuery3, _fetchCategoriesQuery4;
37255
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
37256
+ var _authdetailsContext$i3;
37274
37257
  return /*#__PURE__*/React__default["default"].createElement("li", {
37275
37258
  "class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
37276
37259
  onMouseEnter: function onMouseEnter() {
@@ -37292,12 +37275,12 @@ var Slideshowslide = function Slideshowslide(props) {
37292
37275
  size: sectionproperties.collectionsectioniconfontsize
37293
37276
  }) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
37294
37277
  size: sectionproperties.collectionsectioniconfontsize
37295
- }))), index != (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : (_fetchCategoriesQuery4 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
37278
+ }))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
37296
37279
  className: "col-lg-12 p-0 mt-3 mb-3"
37297
37280
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
37298
37281
  "class": "m-0"
37299
37282
  })));
37300
- })), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery5 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery5 === void 0 ? void 0 : (_fetchCategoriesQuery6 = _fetchCategoriesQuery5.data) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : (_fetchCategoriesQuery7 = _fetchCategoriesQuery6.categories[Choosenindex]) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : (_fetchCategoriesQuery8 = _fetchCategoriesQuery7.parentcolletions) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37283
+ })), Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.instcategories[Choosenindex]) === null || _authdetailsContext$i5 === void 0 ? void 0 : (_authdetailsContext$i6 = _authdetailsContext$i5.parentcolletions) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37301
37284
  "class": "cat_dropdown-menu cat_dropdown",
37302
37285
  style: {
37303
37286
  minHeight: sectionproperties.height + 'vh'
@@ -37309,7 +37292,8 @@ var Slideshowslide = function Slideshowslide(props) {
37309
37292
  }
37310
37293
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37311
37294
  "class": "row m-0 w-100"
37312
- }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery9 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : (_fetchCategoriesQuery10 = _fetchCategoriesQuery9.data) === null || _fetchCategoriesQuery10 === void 0 ? void 0 : (_fetchCategoriesQuery11 = _fetchCategoriesQuery10.categories[Choosenindex]) === null || _fetchCategoriesQuery11 === void 0 ? void 0 : _fetchCategoriesQuery11.parentcolletions.map(function (item, index) {
37295
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 ? void 0 : (_authdetailsContext$i9 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
37296
+ var _item$collections;
37313
37297
  return /*#__PURE__*/React__default["default"].createElement("li", {
37314
37298
  "class": "col-lg-4 p-0"
37315
37299
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -37317,7 +37301,7 @@ var Slideshowslide = function Slideshowslide(props) {
37317
37301
  onClick: function onClick() {
37318
37302
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
37319
37303
  }
37320
- }, langdetect == 'en' ? item.title_en : item.title_ar), item.collections.map(function (item, index) {
37304
+ }, langdetect == 'en' ? item.title_en : item.title_ar), item === null || item === void 0 ? void 0 : (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (item, index) {
37321
37305
  return /*#__PURE__*/React__default["default"].createElement("li", {
37322
37306
  "class": "col-lg-12 pl-1 pr-1"
37323
37307
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -37328,7 +37312,7 @@ var Slideshowslide = function Slideshowslide(props) {
37328
37312
  }, langdetect == 'en' ? item.title_en : item.title_ar));
37329
37313
  }));
37330
37314
  })))))))), /*#__PURE__*/React__default["default"].createElement("div", {
37331
- "class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
37315
+ "class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 col-sm-12 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
37332
37316
  style: {
37333
37317
  height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
37334
37318
  }
@@ -39466,7 +39450,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
39466
39450
  })
39467
39451
  };
39468
39452
  return /*#__PURE__*/React__default["default"].createElement("div", {
39469
- "class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '
39453
+ "class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 pl-sm-2 pr-sm-2 '
39470
39454
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39471
39455
  "class": "col-lg-12",
39472
39456
  style: {
package/dist/index.esm.js CHANGED
@@ -24485,10 +24485,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
24485
24485
  "class": "ml-2 mr-2"
24486
24486
  }, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
24487
24487
  style: {
24488
- minWidth: '200px'
24488
+ minWidth: '180px'
24489
24489
  }
24490
24490
  }, /*#__PURE__*/React.createElement(Dropdown.Item, null, /*#__PURE__*/React.createElement("div", {
24491
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 flex-column '
24491
+ "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
24492
24492
  }, /*#__PURE__*/React.createElement("span", {
24493
24493
  style: {
24494
24494
  color: sectionproperties.greetingtextcolor,
@@ -36993,7 +36993,7 @@ var Slideshowfade = function Slideshowfade(props) {
36993
36993
  function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
36994
36994
  function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
36995
36995
  var Slideshowslide = function Slideshowslide(props) {
36996
- var _fetchCategoriesQuery, _fetchCategoriesQuery2, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11;
36996
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
36997
36997
  var _useState = useState(''),
36998
36998
  _useState2 = _slicedToArray(_useState, 2),
36999
36999
  sectionproperties = _useState2[0],
@@ -37011,7 +37011,7 @@ var Slideshowslide = function Slideshowslide(props) {
37011
37011
  var langdetect = props.actions.langdetect;
37012
37012
  var routingcountext = props.actions.routingcountext;
37013
37013
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
37014
- var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
37014
+ props.actions.fetchCategoriesQueryContext;
37015
37015
  var _useState7 = useState(false),
37016
37016
  _useState8 = _slicedToArray(_useState7, 2);
37017
37017
  _useState8[0];
@@ -37020,15 +37020,7 @@ var Slideshowslide = function Slideshowslide(props) {
37020
37020
  _useState10 = _slicedToArray(_useState9, 2),
37021
37021
  Choosenindex = _useState10[0],
37022
37022
  setChoosenindex = _useState10[1];
37023
- var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
37024
- var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
37025
- useEffect(function () {
37026
- if (sectionproperties.collectionssectionshow == 'Show') {
37027
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
37028
- tempFetchQueriesEngineContext.categories = true;
37029
- setFetchQueriesEngineContext(_objectSpread$I({}, tempFetchQueriesEngineContext));
37030
- }
37031
- }, []);
37023
+ var authdetailsContext = props.actions.authdetailsContext;
37032
37024
  useEffect(function () {
37033
37025
  var secpropobj = {};
37034
37026
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -37202,16 +37194,7 @@ var Slideshowslide = function Slideshowslide(props) {
37202
37194
  background: sectionproperties.collectionssectionbgcolor,
37203
37195
  boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
37204
37196
  }
37205
- }, fetchCategoriesQueryContext.isLoading && /*#__PURE__*/React.createElement("div", {
37206
- "class": "col-lg-12 allcentered",
37207
- style: {
37208
- height: sectionproperties.height + 'vh'
37209
- }
37210
- }, /*#__PURE__*/React.createElement(CircularProgress, {
37211
- color: "#ccc",
37212
- width: "20px",
37213
- height: "20px"
37214
- })), fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React.createElement("div", {
37197
+ }, /*#__PURE__*/React.createElement("div", {
37215
37198
  "class": "col-lg-12 p-0"
37216
37199
  }, /*#__PURE__*/React.createElement("div", {
37217
37200
  "class": "row m-0 w-100"
@@ -37225,8 +37208,8 @@ var Slideshowslide = function Slideshowslide(props) {
37225
37208
  height: sectionproperties.height + 'vh',
37226
37209
  overflowY: 'scroll'
37227
37210
  }
37228
- }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : (_fetchCategoriesQuery2 = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.map(function (item, index) {
37229
- var _fetchCategoriesQuery3, _fetchCategoriesQuery4;
37211
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
37212
+ var _authdetailsContext$i3;
37230
37213
  return /*#__PURE__*/React.createElement("li", {
37231
37214
  "class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
37232
37215
  onMouseEnter: function onMouseEnter() {
@@ -37248,12 +37231,12 @@ var Slideshowslide = function Slideshowslide(props) {
37248
37231
  size: sectionproperties.collectionsectioniconfontsize
37249
37232
  }) : /*#__PURE__*/React.createElement(BsChevronLeft, {
37250
37233
  size: sectionproperties.collectionsectioniconfontsize
37251
- }))), index != (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : (_fetchCategoriesQuery4 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories) - 1 && /*#__PURE__*/React.createElement("div", {
37234
+ }))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instcategories) - 1 && /*#__PURE__*/React.createElement("div", {
37252
37235
  className: "col-lg-12 p-0 mt-3 mb-3"
37253
37236
  }, /*#__PURE__*/React.createElement("hr", {
37254
37237
  "class": "m-0"
37255
37238
  })));
37256
- })), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery5 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery5 === void 0 ? void 0 : (_fetchCategoriesQuery6 = _fetchCategoriesQuery5.data) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : (_fetchCategoriesQuery7 = _fetchCategoriesQuery6.categories[Choosenindex]) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : (_fetchCategoriesQuery8 = _fetchCategoriesQuery7.parentcolletions) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.length) != 0 && /*#__PURE__*/React.createElement("div", {
37239
+ })), Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.instcategories[Choosenindex]) === null || _authdetailsContext$i5 === void 0 ? void 0 : (_authdetailsContext$i6 = _authdetailsContext$i5.parentcolletions) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) != 0 && /*#__PURE__*/React.createElement("div", {
37257
37240
  "class": "cat_dropdown-menu cat_dropdown",
37258
37241
  style: {
37259
37242
  minHeight: sectionproperties.height + 'vh'
@@ -37265,7 +37248,8 @@ var Slideshowslide = function Slideshowslide(props) {
37265
37248
  }
37266
37249
  }, /*#__PURE__*/React.createElement("div", {
37267
37250
  "class": "row m-0 w-100"
37268
- }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery9 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : (_fetchCategoriesQuery10 = _fetchCategoriesQuery9.data) === null || _fetchCategoriesQuery10 === void 0 ? void 0 : (_fetchCategoriesQuery11 = _fetchCategoriesQuery10.categories[Choosenindex]) === null || _fetchCategoriesQuery11 === void 0 ? void 0 : _fetchCategoriesQuery11.parentcolletions.map(function (item, index) {
37251
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 ? void 0 : (_authdetailsContext$i9 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
37252
+ var _item$collections;
37269
37253
  return /*#__PURE__*/React.createElement("li", {
37270
37254
  "class": "col-lg-4 p-0"
37271
37255
  }, /*#__PURE__*/React.createElement("p", {
@@ -37273,7 +37257,7 @@ var Slideshowslide = function Slideshowslide(props) {
37273
37257
  onClick: function onClick() {
37274
37258
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
37275
37259
  }
37276
- }, langdetect == 'en' ? item.title_en : item.title_ar), item.collections.map(function (item, index) {
37260
+ }, langdetect == 'en' ? item.title_en : item.title_ar), item === null || item === void 0 ? void 0 : (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (item, index) {
37277
37261
  return /*#__PURE__*/React.createElement("li", {
37278
37262
  "class": "col-lg-12 pl-1 pr-1"
37279
37263
  }, /*#__PURE__*/React.createElement("p", {
@@ -37284,7 +37268,7 @@ var Slideshowslide = function Slideshowslide(props) {
37284
37268
  }, langdetect == 'en' ? item.title_en : item.title_ar));
37285
37269
  }));
37286
37270
  })))))))), /*#__PURE__*/React.createElement("div", {
37287
- "class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
37271
+ "class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 col-sm-12 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
37288
37272
  style: {
37289
37273
  height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
37290
37274
  }
@@ -39422,7 +39406,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
39422
39406
  })
39423
39407
  };
39424
39408
  return /*#__PURE__*/React.createElement("div", {
39425
- "class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '
39409
+ "class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 pl-sm-2 pr-sm-2 '
39426
39410
  }, /*#__PURE__*/React.createElement("div", {
39427
39411
  "class": "col-lg-12",
39428
39412
  style: {
package/dist/index.umd.js CHANGED
@@ -24387,10 +24387,10 @@
24387
24387
  "class": "ml-2 mr-2"
24388
24388
  }, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
24389
24389
  style: {
24390
- minWidth: '200px'
24390
+ minWidth: '180px'
24391
24391
  }
24392
24392
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, null, /*#__PURE__*/React__default["default"].createElement("div", {
24393
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 flex-column '
24393
+ "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
24394
24394
  }, /*#__PURE__*/React__default["default"].createElement("span", {
24395
24395
  style: {
24396
24396
  color: sectionproperties.greetingtextcolor,
@@ -36895,7 +36895,7 @@
36895
36895
  function ownKeys$I(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
36896
36896
  function _objectSpread$I(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$I(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$I(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
36897
36897
  var Slideshowslide = function Slideshowslide(props) {
36898
- var _fetchCategoriesQuery, _fetchCategoriesQuery2, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11;
36898
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
36899
36899
  var _useState = React.useState(''),
36900
36900
  _useState2 = _slicedToArray__default["default"](_useState, 2),
36901
36901
  sectionproperties = _useState2[0],
@@ -36913,7 +36913,7 @@
36913
36913
  var langdetect = props.actions.langdetect;
36914
36914
  var routingcountext = props.actions.routingcountext;
36915
36915
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
36916
- var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
36916
+ props.actions.fetchCategoriesQueryContext;
36917
36917
  var _useState7 = React.useState(false),
36918
36918
  _useState8 = _slicedToArray__default["default"](_useState7, 2);
36919
36919
  _useState8[0];
@@ -36922,15 +36922,7 @@
36922
36922
  _useState10 = _slicedToArray__default["default"](_useState9, 2),
36923
36923
  Choosenindex = _useState10[0],
36924
36924
  setChoosenindex = _useState10[1];
36925
- var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
36926
- var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
36927
- React.useEffect(function () {
36928
- if (sectionproperties.collectionssectionshow == 'Show') {
36929
- var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
36930
- tempFetchQueriesEngineContext.categories = true;
36931
- setFetchQueriesEngineContext(_objectSpread$I({}, tempFetchQueriesEngineContext));
36932
- }
36933
- }, []);
36925
+ var authdetailsContext = props.actions.authdetailsContext;
36934
36926
  React.useEffect(function () {
36935
36927
  var secpropobj = {};
36936
36928
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -37104,16 +37096,7 @@
37104
37096
  background: sectionproperties.collectionssectionbgcolor,
37105
37097
  boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
37106
37098
  }
37107
- }, fetchCategoriesQueryContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
37108
- "class": "col-lg-12 allcentered",
37109
- style: {
37110
- height: sectionproperties.height + 'vh'
37111
- }
37112
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
37113
- color: "#ccc",
37114
- width: "20px",
37115
- height: "20px"
37116
- })), fetchCategoriesQueryContext.isSuccess && fetchCategoriesQueryContext.data.data.status && /*#__PURE__*/React__default["default"].createElement("div", {
37099
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
37117
37100
  "class": "col-lg-12 p-0"
37118
37101
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37119
37102
  "class": "row m-0 w-100"
@@ -37127,8 +37110,8 @@
37127
37110
  height: sectionproperties.height + 'vh',
37128
37111
  overflowY: 'scroll'
37129
37112
  }
37130
- }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : (_fetchCategoriesQuery2 = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery2 === void 0 ? void 0 : _fetchCategoriesQuery2.categories.map(function (item, index) {
37131
- var _fetchCategoriesQuery3, _fetchCategoriesQuery4;
37113
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.instcategories) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
37114
+ var _authdetailsContext$i3;
37132
37115
  return /*#__PURE__*/React__default["default"].createElement("li", {
37133
37116
  "class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
37134
37117
  onMouseEnter: function onMouseEnter() {
@@ -37150,12 +37133,12 @@
37150
37133
  size: sectionproperties.collectionsectioniconfontsize
37151
37134
  }) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
37152
37135
  size: sectionproperties.collectionsectioniconfontsize
37153
- }))), index != (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : (_fetchCategoriesQuery4 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
37136
+ }))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
37154
37137
  className: "col-lg-12 p-0 mt-3 mb-3"
37155
37138
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
37156
37139
  "class": "m-0"
37157
37140
  })));
37158
- })), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery5 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery5 === void 0 ? void 0 : (_fetchCategoriesQuery6 = _fetchCategoriesQuery5.data) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : (_fetchCategoriesQuery7 = _fetchCategoriesQuery6.categories[Choosenindex]) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : (_fetchCategoriesQuery8 = _fetchCategoriesQuery7.parentcolletions) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37141
+ })), Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.instcategories[Choosenindex]) === null || _authdetailsContext$i5 === void 0 ? void 0 : (_authdetailsContext$i6 = _authdetailsContext$i5.parentcolletions) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
37159
37142
  "class": "cat_dropdown-menu cat_dropdown",
37160
37143
  style: {
37161
37144
  minHeight: sectionproperties.height + 'vh'
@@ -37167,7 +37150,8 @@
37167
37150
  }
37168
37151
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37169
37152
  "class": "row m-0 w-100"
37170
- }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery9 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : (_fetchCategoriesQuery10 = _fetchCategoriesQuery9.data) === null || _fetchCategoriesQuery10 === void 0 ? void 0 : (_fetchCategoriesQuery11 = _fetchCategoriesQuery10.categories[Choosenindex]) === null || _fetchCategoriesQuery11 === void 0 ? void 0 : _fetchCategoriesQuery11.parentcolletions.map(function (item, index) {
37153
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : (_authdetailsContext$i8 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 ? void 0 : (_authdetailsContext$i9 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
37154
+ var _item$collections;
37171
37155
  return /*#__PURE__*/React__default["default"].createElement("li", {
37172
37156
  "class": "col-lg-4 p-0"
37173
37157
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -37175,7 +37159,7 @@
37175
37159
  onClick: function onClick() {
37176
37160
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
37177
37161
  }
37178
- }, langdetect == 'en' ? item.title_en : item.title_ar), item.collections.map(function (item, index) {
37162
+ }, langdetect == 'en' ? item.title_en : item.title_ar), item === null || item === void 0 ? void 0 : (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (item, index) {
37179
37163
  return /*#__PURE__*/React__default["default"].createElement("li", {
37180
37164
  "class": "col-lg-12 pl-1 pr-1"
37181
37165
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -37186,7 +37170,7 @@
37186
37170
  }, langdetect == 'en' ? item.title_en : item.title_ar));
37187
37171
  }));
37188
37172
  })))))))), /*#__PURE__*/React__default["default"].createElement("div", {
37189
- "class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
37173
+ "class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 col-sm-12 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
37190
37174
  style: {
37191
37175
  height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
37192
37176
  }
@@ -39324,7 +39308,7 @@
39324
39308
  })
39325
39309
  };
39326
39310
  return /*#__PURE__*/React__default["default"].createElement("div", {
39327
- "class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '
39311
+ "class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 pl-sm-2 pr-sm-2 '
39328
39312
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39329
39313
  "class": "col-lg-12",
39330
39314
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.190",
3
+ "version": "0.0.192",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {