tabexseriescomponents 0.0.190 → 0.0.191
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 +13 -30
- package/dist/index.esm.js +13 -30
- package/dist/index.umd.js +13 -30
- package/package.json +1 -1
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: '
|
|
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
|
|
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
|
|
37040
|
+
var _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
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
|
-
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
37273
|
-
var
|
|
37255
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories.map(function (item, index) {
|
|
37256
|
+
var _authdetailsContext$i2;
|
|
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 != (
|
|
37278
|
+
}))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.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 && (
|
|
37283
|
+
})), Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.instcategories[Choosenindex]) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.parentcolletions) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.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,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37309
37292
|
}
|
|
37310
37293
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37311
37294
|
"class": "row m-0 w-100"
|
|
37312
|
-
},
|
|
37295
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : (_authdetailsContext$i7 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.parentcolletions.map(function (item, index) {
|
|
37313
37296
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
37314
37297
|
"class": "col-lg-4 p-0"
|
|
37315
37298
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -37328,7 +37311,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37328
37311
|
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
37329
37312
|
}));
|
|
37330
37313
|
})))))))), /*#__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',
|
|
37314
|
+
"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
37315
|
style: {
|
|
37333
37316
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
37334
37317
|
}
|
|
@@ -39466,7 +39449,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
39466
39449
|
})
|
|
39467
39450
|
};
|
|
39468
39451
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39469
|
-
"class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '
|
|
39452
|
+
"class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 pl-sm-2 pr-sm-2 '
|
|
39470
39453
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39471
39454
|
"class": "col-lg-12",
|
|
39472
39455
|
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: '
|
|
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
|
|
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
|
|
36996
|
+
var _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
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
|
-
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
37229
|
-
var
|
|
37211
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories.map(function (item, index) {
|
|
37212
|
+
var _authdetailsContext$i2;
|
|
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 != (
|
|
37234
|
+
}))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.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 && (
|
|
37239
|
+
})), Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.instcategories[Choosenindex]) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.parentcolletions) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.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,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37265
37248
|
}
|
|
37266
37249
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37267
37250
|
"class": "row m-0 w-100"
|
|
37268
|
-
},
|
|
37251
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : (_authdetailsContext$i7 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.parentcolletions.map(function (item, index) {
|
|
37269
37252
|
return /*#__PURE__*/React.createElement("li", {
|
|
37270
37253
|
"class": "col-lg-4 p-0"
|
|
37271
37254
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -37284,7 +37267,7 @@ var Slideshowslide = function Slideshowslide(props) {
|
|
|
37284
37267
|
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
37285
37268
|
}));
|
|
37286
37269
|
})))))))), /*#__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',
|
|
37270
|
+
"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
37271
|
style: {
|
|
37289
37272
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
37290
37273
|
}
|
|
@@ -39422,7 +39405,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
39422
39405
|
})
|
|
39423
39406
|
};
|
|
39424
39407
|
return /*#__PURE__*/React.createElement("div", {
|
|
39425
|
-
"class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '
|
|
39408
|
+
"class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 pl-sm-2 pr-sm-2 '
|
|
39426
39409
|
}, /*#__PURE__*/React.createElement("div", {
|
|
39427
39410
|
"class": "col-lg-12",
|
|
39428
39411
|
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: '
|
|
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
|
|
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
|
|
36898
|
+
var _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
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
|
-
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
37131
|
-
var
|
|
37113
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories.map(function (item, index) {
|
|
37114
|
+
var _authdetailsContext$i2;
|
|
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 != (
|
|
37136
|
+
}))), index != (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.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 && (
|
|
37141
|
+
})), Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : (_authdetailsContext$i4 = _authdetailsContext$i3.instcategories[Choosenindex]) === null || _authdetailsContext$i4 === void 0 ? void 0 : (_authdetailsContext$i5 = _authdetailsContext$i4.parentcolletions) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.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,7 @@
|
|
|
37167
37150
|
}
|
|
37168
37151
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37169
37152
|
"class": "row m-0 w-100"
|
|
37170
|
-
},
|
|
37153
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : (_authdetailsContext$i7 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.parentcolletions.map(function (item, index) {
|
|
37171
37154
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
37172
37155
|
"class": "col-lg-4 p-0"
|
|
37173
37156
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -37186,7 +37169,7 @@
|
|
|
37186
37169
|
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
37187
37170
|
}));
|
|
37188
37171
|
})))))))), /*#__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',
|
|
37172
|
+
"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
37173
|
style: {
|
|
37191
37174
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
37192
37175
|
}
|
|
@@ -39324,7 +39307,7 @@
|
|
|
39324
39307
|
})
|
|
39325
39308
|
};
|
|
39326
39309
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39327
|
-
"class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 '
|
|
39310
|
+
"class": card_cssstyles.productcard + ' row ml-0 mr-0 w-100 pl-sm-2 pr-sm-2 '
|
|
39328
39311
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39329
39312
|
"class": "col-lg-12",
|
|
39330
39313
|
style: {
|