tabexseriescomponents 0.0.200 → 0.0.203
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 +166 -152
- package/dist/index.esm.js +166 -152
- package/dist/index.umd.js +166 -152
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8738,8 +8738,7 @@ var Filter$1 = function Filter(props) {
|
|
|
8738
8738
|
var _authdetailsContext$i3, _authdetailsContext$i4;
|
|
8739
8739
|
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
8740
8740
|
allowMultipleExpanded: true,
|
|
8741
|
-
allowZeroExpanded: true
|
|
8742
|
-
preExpanded: [0, 1, 2, 3]
|
|
8741
|
+
allowZeroExpanded: true
|
|
8743
8742
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
8744
8743
|
uuid: categoryIndex
|
|
8745
8744
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -8785,8 +8784,7 @@ var Filter$1 = function Filter(props) {
|
|
|
8785
8784
|
"class": "col-lg-12"
|
|
8786
8785
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
8787
8786
|
allowMultipleExpanded: true,
|
|
8788
|
-
allowZeroExpanded: true
|
|
8789
|
-
preExpanded: [0, 1, 2, 3]
|
|
8787
|
+
allowZeroExpanded: true
|
|
8790
8788
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
8791
8789
|
uuid: parentcollectionindex
|
|
8792
8790
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10414,7 +10412,7 @@ styleInject(css_248z$z);
|
|
|
10414
10412
|
function ownKeys$1H(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; }
|
|
10415
10413
|
function _objectSpread$1H(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1H(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1H(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
10416
10414
|
var Subheader = function Subheader(props) {
|
|
10417
|
-
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _props$subheaderprope10, _templatepropcontext$2, _props$subheaderprope13, _props$subheaderprope14, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope25, _props$subheaderprope26, _props$subheaderprope27, _props$subheaderprope28,
|
|
10415
|
+
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _props$subheaderprope10, _templatepropcontext$2, _props$subheaderprope13, _props$subheaderprope14, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope25, _props$subheaderprope26, _props$subheaderprope27, _props$subheaderprope28, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19;
|
|
10418
10416
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
10419
10417
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
10420
10418
|
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
@@ -10559,37 +10557,41 @@ var Subheader = function Subheader(props) {
|
|
|
10559
10557
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
10560
10558
|
}
|
|
10561
10559
|
})), sectionproperties.subheaderParentType == 'Categories' && (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.map(function (item, index) {
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
|
|
10567
|
-
|
|
10568
|
-
|
|
10569
|
-
|
|
10570
|
-
|
|
10571
|
-
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10560
|
+
if (item.isshowntocustomers == 1) {
|
|
10561
|
+
var _props$subheaderprope6, _props$subheaderprope7;
|
|
10562
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10563
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
10564
|
+
onClick: function onClick() {
|
|
10565
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
10566
|
+
},
|
|
10567
|
+
onMouseEnter: function onMouseEnter() {
|
|
10568
|
+
setshowdownheadermenu(true);
|
|
10569
|
+
setChoosenindex(index);
|
|
10570
|
+
},
|
|
10571
|
+
style: {
|
|
10572
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope6 = props.subheaderpropertiesprops) === null || _props$subheaderprope6 === void 0 ? void 0 : _props$subheaderprope6.paddingLeftprops : 0,
|
|
10573
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope7 = props.subheaderpropertiesprops) === null || _props$subheaderprope7 === void 0 ? void 0 : _props$subheaderprope7.paddingRightprops : 0
|
|
10574
|
+
}
|
|
10575
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
10576
|
+
}
|
|
10577
10577
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
|
|
10582
|
-
|
|
10583
|
-
|
|
10584
|
-
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10578
|
+
if (item.isshowntocustomers == 1) {
|
|
10579
|
+
var _props$subheaderprope8, _props$subheaderprope9;
|
|
10580
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10581
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
10582
|
+
onClick: function onClick() {
|
|
10583
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
10584
|
+
},
|
|
10585
|
+
onMouseEnter: function onMouseEnter() {
|
|
10586
|
+
setshowdownheadermenu(true);
|
|
10587
|
+
setChoosenindex(index);
|
|
10588
|
+
},
|
|
10589
|
+
style: {
|
|
10590
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope8 = props.subheaderpropertiesprops) === null || _props$subheaderprope8 === void 0 ? void 0 : _props$subheaderprope8.paddingLeftprops : 0,
|
|
10591
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope9 = props.subheaderpropertiesprops) === null || _props$subheaderprope9 === void 0 ? void 0 : _props$subheaderprope9.paddingRightprops : 0
|
|
10592
|
+
}
|
|
10593
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
10594
|
+
}
|
|
10593
10595
|
}), (props === null || props === void 0 ? void 0 : (_props$subheaderprope10 = props.subheaderpropertiesprops) === null || _props$subheaderprope10 === void 0 ? void 0 : _props$subheaderprope10.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$2 = templatepropcontext.pagesnprop) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.map(function (item, index) {
|
|
10594
10596
|
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex > 0) {
|
|
10595
10597
|
var _props$subheaderprope11, _props$subheaderprope12;
|
|
@@ -10629,37 +10631,41 @@ var Subheader = function Subheader(props) {
|
|
|
10629
10631
|
}, langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
10630
10632
|
}
|
|
10631
10633
|
})), sectionproperties.subheaderParentType == 'Categories' && (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 : _fetchCategoriesQuery6.categories.map(function (item, index) {
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10634
|
+
if (item.isshowntocustomers == 1) {
|
|
10635
|
+
var _props$subheaderprope17, _props$subheaderprope18;
|
|
10636
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10637
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
10638
|
+
onClick: function onClick() {
|
|
10639
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
10640
|
+
},
|
|
10641
|
+
onMouseEnter: function onMouseEnter() {
|
|
10642
|
+
setshowdownheadermenu(true);
|
|
10643
|
+
setChoosenindex(index);
|
|
10644
|
+
},
|
|
10645
|
+
style: {
|
|
10646
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope17 = props.subheaderpropertiesprops) === null || _props$subheaderprope17 === void 0 ? void 0 : _props$subheaderprope17.paddingLeftprops : 0,
|
|
10647
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope18 = props.subheaderpropertiesprops) === null || _props$subheaderprope18 === void 0 ? void 0 : _props$subheaderprope18.paddingRightprops : 0
|
|
10648
|
+
}
|
|
10649
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
10650
|
+
}
|
|
10647
10651
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10652
|
+
if (item.isshowntocustomers == 1) {
|
|
10653
|
+
var _props$subheaderprope19, _props$subheaderprope20;
|
|
10654
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10655
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
10656
|
+
onClick: function onClick() {
|
|
10657
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
10658
|
+
},
|
|
10659
|
+
onMouseEnter: function onMouseEnter() {
|
|
10660
|
+
setshowdownheadermenu(true);
|
|
10661
|
+
setChoosenindex(index);
|
|
10662
|
+
},
|
|
10663
|
+
style: {
|
|
10664
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope19 = props.subheaderpropertiesprops) === null || _props$subheaderprope19 === void 0 ? void 0 : _props$subheaderprope19.paddingLeftprops : 0,
|
|
10665
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope20 = props.subheaderpropertiesprops) === null || _props$subheaderprope20 === void 0 ? void 0 : _props$subheaderprope20.paddingRightprops : 0
|
|
10666
|
+
}
|
|
10667
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
10668
|
+
}
|
|
10663
10669
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10664
10670
|
"class": "col-lg-12 m-auto d-none d-md-flex flex-column align-items-center justify-content-center pt-md-3 pb-md-3 pl-sm-2 pr-sm-2",
|
|
10665
10671
|
style: {
|
|
@@ -10678,45 +10684,49 @@ var Subheader = function Subheader(props) {
|
|
|
10678
10684
|
textAlign: 'center'
|
|
10679
10685
|
}
|
|
10680
10686
|
}, sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery7 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery7 === void 0 ? void 0 : (_fetchCategoriesQuery8 = _fetchCategoriesQuery7.data) === null || _fetchCategoriesQuery8 === void 0 ? void 0 : _fetchCategoriesQuery8.categories.map(function (item, index) {
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10687
|
+
if (item.isshowntocustomers == 1) {
|
|
10688
|
+
var _props$subheaderprope21, _props$subheaderprope22;
|
|
10689
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10690
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
10691
|
+
onClick: function onClick() {
|
|
10692
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
10693
|
+
},
|
|
10694
|
+
onMouseEnter: function onMouseEnter() {
|
|
10695
|
+
setshowdownheadermenu(true);
|
|
10696
|
+
setChoosenindex(index);
|
|
10697
|
+
},
|
|
10698
|
+
style: {
|
|
10699
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope21 = props.subheaderpropertiesprops) === null || _props$subheaderprope21 === void 0 ? void 0 : _props$subheaderprope21.paddingLeftprops : 0,
|
|
10700
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope22 = props.subheaderpropertiesprops) === null || _props$subheaderprope22 === void 0 ? void 0 : _props$subheaderprope22.paddingRightprops : 0,
|
|
10701
|
+
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
10702
|
+
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
10703
|
+
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
10704
|
+
fontWeight: sectionproperties.subheader_categorytitle_textfontweight
|
|
10705
|
+
}
|
|
10706
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
10707
|
+
}
|
|
10700
10708
|
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray.map(function (item, index) {
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10709
|
+
if (item.isshowntocustomers == 1) {
|
|
10710
|
+
var _props$subheaderprope23, _props$subheaderprope24;
|
|
10711
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10712
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard ',
|
|
10713
|
+
onClick: function onClick() {
|
|
10714
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
10715
|
+
},
|
|
10716
|
+
onMouseEnter: function onMouseEnter() {
|
|
10717
|
+
setshowdownheadermenu(true);
|
|
10718
|
+
setChoosenindex(index);
|
|
10719
|
+
},
|
|
10720
|
+
style: {
|
|
10721
|
+
marginLeft: langdetect == 'ar' ? (_props$subheaderprope23 = props.subheaderpropertiesprops) === null || _props$subheaderprope23 === void 0 ? void 0 : _props$subheaderprope23.paddingLeftprops : 0,
|
|
10722
|
+
marginRight: langdetect == 'en' ? (_props$subheaderprope24 = props.subheaderpropertiesprops) === null || _props$subheaderprope24 === void 0 ? void 0 : _props$subheaderprope24.paddingRightprops : 0,
|
|
10723
|
+
color: sectionproperties.subheader_categorytitle_fontColor_resp,
|
|
10724
|
+
fontSize: sectionproperties.subheader_categorytitle_fontSize_resp + 'px',
|
|
10725
|
+
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
10726
|
+
fontWeight: sectionproperties.subheader_categorytitle_textfontweight
|
|
10727
|
+
}
|
|
10728
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar);
|
|
10729
|
+
}
|
|
10720
10730
|
}))), Choosenindex.length != 0 && (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 : (_fetchCategoriesQuery12 = _fetchCategoriesQuery11.parentcolletions) === null || _fetchCategoriesQuery12 === void 0 ? void 0 : _fetchCategoriesQuery12.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10721
10731
|
"class": "".concat(headerstyles$f.dropmenu, " ").concat(header_cssstyles.dropdownmenu, " ").concat(showdownheadermenu ? 'd-flex' : 'd-none') + ' col-lg-12 ml-auto mr-auto flex-row justify-content-center align-items-center pl-lg-3 pr-lg-3 pl-md-2 pr-md-2 p-sm-0 position-md-relative ',
|
|
10722
10732
|
onMouseLeave: function onMouseLeave() {
|
|
@@ -10726,7 +10736,7 @@ var Subheader = function Subheader(props) {
|
|
|
10726
10736
|
width: sectionproperties.subheader_width + '%',
|
|
10727
10737
|
zIndex: 2000,
|
|
10728
10738
|
position: ((_props$subheaderprope25 = props.subheaderpropertiesprops) === null || _props$subheaderprope25 === void 0 ? void 0 : _props$subheaderprope25.subheaderpositionprops) == 'in nav' ? 'absolute' : '',
|
|
10729
|
-
top: ((_props$subheaderprope26 = props.subheaderpropertiesprops) === null || _props$subheaderprope26 === void 0 ? void 0 : _props$subheaderprope26.headernameprops) == 'Stylish Header' && ((_props$subheaderprope27 = props.subheaderpropertiesprops) === null || _props$subheaderprope27 === void 0 ? void 0 : _props$subheaderprope27.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope28 = props.subheaderpropertiesprops) === null || _props$subheaderprope28 === void 0 ? void 0 : _props$subheaderprope28.
|
|
10739
|
+
top: ((_props$subheaderprope26 = props.subheaderpropertiesprops) === null || _props$subheaderprope26 === void 0 ? void 0 : _props$subheaderprope26.headernameprops) == 'Stylish Header' && ((_props$subheaderprope27 = props.subheaderpropertiesprops) === null || _props$subheaderprope27 === void 0 ? void 0 : _props$subheaderprope27.subheaderpositionprops) == 'in nav' ? 50 : ((_props$subheaderprope28 = props.subheaderpropertiesprops) === null || _props$subheaderprope28 === void 0 ? void 0 : _props$subheaderprope28.subheaderpositionprops) == 'in nav' ? 30 : '',
|
|
10730
10740
|
border: sectionproperties.subheader_width != 100 ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor : 0,
|
|
10731
10741
|
borderBottom: sectionproperties.subheader_width == 100 ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor : 0,
|
|
10732
10742
|
borderTop: sectionproperties.subheader_width == 100 ? sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor : 0,
|
|
@@ -10742,26 +10752,53 @@ var Subheader = function Subheader(props) {
|
|
|
10742
10752
|
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10743
10753
|
"class": "font-16 font-weight-500 m-0 p-0"
|
|
10744
10754
|
}, langdetect == 'en' ? 'No collections' : 'لا توجد مجموعات')), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery17 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery17 === void 0 ? void 0 : (_fetchCategoriesQuery18 = _fetchCategoriesQuery17.data) === null || _fetchCategoriesQuery18 === void 0 ? void 0 : (_fetchCategoriesQuery19 = _fetchCategoriesQuery18.categories[Choosenindex]) === null || _fetchCategoriesQuery19 === void 0 ? void 0 : _fetchCategoriesQuery19.parentcolletions.map(function (item, index) {
|
|
10745
|
-
|
|
10746
|
-
"
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
"
|
|
10752
|
-
|
|
10753
|
-
"
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10755
|
+
if (item.isshowntocustomers == 1) {
|
|
10756
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10757
|
+
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
10758
|
+
style: {
|
|
10759
|
+
cursor: 'pointer'
|
|
10760
|
+
}
|
|
10761
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10762
|
+
"class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
|
|
10763
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10764
|
+
"class": "col-lg-12 p-0 mb-2",
|
|
10765
|
+
onClick: function onClick() {
|
|
10766
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
10767
|
+
}
|
|
10768
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10769
|
+
"class": "".concat(header_cssstyles.parentcollection) + ' wordbreak m-0 p-0 ',
|
|
10770
|
+
style: {
|
|
10771
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10772
|
+
}
|
|
10773
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), item.collections.map(function (item, index) {
|
|
10774
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10775
|
+
"class": "col-lg-12 mb-2",
|
|
10776
|
+
onClick: function onClick() {
|
|
10777
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
10778
|
+
}
|
|
10779
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10780
|
+
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
10781
|
+
style: {
|
|
10782
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10783
|
+
}
|
|
10784
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
10785
|
+
}), index != item.collections.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10786
|
+
"class": "col-lg-12 p-0 d-none d-sm-block"
|
|
10787
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
10788
|
+
"class": "mt-3 mb-0"
|
|
10789
|
+
}))));
|
|
10790
|
+
}
|
|
10791
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
10792
|
+
if (item.isshowntocustomers == 1) {
|
|
10763
10793
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10764
|
-
"class": "col-lg-12 mb-
|
|
10794
|
+
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
10795
|
+
style: {
|
|
10796
|
+
cursor: 'pointer'
|
|
10797
|
+
}
|
|
10798
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10799
|
+
"class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
|
|
10800
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10801
|
+
"class": "col-lg-12 p-0 mb-2",
|
|
10765
10802
|
onClick: function onClick() {
|
|
10766
10803
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
10767
10804
|
}
|
|
@@ -10770,35 +10807,12 @@ var Subheader = function Subheader(props) {
|
|
|
10770
10807
|
style: {
|
|
10771
10808
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10772
10809
|
}
|
|
10773
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar))
|
|
10774
|
-
|
|
10775
|
-
"
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
}
|
|
10779
|
-
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
10780
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10781
|
-
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
10782
|
-
style: {
|
|
10783
|
-
cursor: 'pointer'
|
|
10784
|
-
}
|
|
10785
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10786
|
-
"class": "row w-100 m-0 d-flex flex-column justify-content-center mb-2"
|
|
10787
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10788
|
-
"class": "col-lg-12 p-0 mb-2",
|
|
10789
|
-
onClick: function onClick() {
|
|
10790
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
10791
|
-
}
|
|
10792
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10793
|
-
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
10794
|
-
style: {
|
|
10795
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10796
|
-
}
|
|
10797
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10798
|
-
"class": "col-lg-12 p-0 d-none d-sm-block"
|
|
10799
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
10800
|
-
"class": "mt-3 mb-0"
|
|
10801
|
-
}))));
|
|
10810
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10811
|
+
"class": "col-lg-12 p-0 d-none d-sm-block"
|
|
10812
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
10813
|
+
"class": "mt-3 mb-0"
|
|
10814
|
+
}))));
|
|
10815
|
+
}
|
|
10802
10816
|
}))))));
|
|
10803
10817
|
};
|
|
10804
10818
|
|