tabexseriescomponents 0.0.545 → 0.0.546

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
@@ -28076,8 +28076,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
28076
28076
  return /*#__PURE__*/React__default["default"].createElement("div", {
28077
28077
  "class": "scrollhorizontalcard",
28078
28078
  style: {
28079
- marginLeft: langdetect == 'en' ? 0 : '35px',
28080
- marginRight: langdetect == 'en' ? '35px' : 0,
28079
+ marginLeft: langdetect == 'en' ? 0 : '10px',
28080
+ marginRight: langdetect == 'en' ? '10px' : 0,
28081
28081
  position: 'relative'
28082
28082
  },
28083
28083
  onClick: function onClick() {
@@ -28095,8 +28095,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
28095
28095
  sectionpropertiesprops: sectionproperties,
28096
28096
  subheaderpropertiesprops: {
28097
28097
  subheaderpositionprops: 'in nav',
28098
- paddingLeftprops: '30px',
28099
- paddingRightprops: '30px',
28098
+ paddingLeftprops: '10px',
28099
+ paddingRightprops: '10px',
28100
28100
  subheadercontentpositionprops: langdetect == 'en' ? 'left' : 'right'
28101
28101
  },
28102
28102
  actions: actions
@@ -28390,7 +28390,7 @@ styleInject(css_248z$v);
28390
28390
  function ownKeys$1R(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28391
28391
  function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28392
28392
  var Simpleheader = function Simpleheader(props) {
28393
- var _css, _css2, _header_cssstyles, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
28393
+ var _css, _css2, _header_cssstyles, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i3, _authdetailsContext$i4, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i5, _authdetailsContext$i6, _logoarrayofobjects$3, _logoarrayofobjects$4;
28394
28394
  var actions = props.actions;
28395
28395
  var _useState = React.useState(''),
28396
28396
  _useState2 = _slicedToArray__default["default"](_useState, 2),
@@ -28744,7 +28744,7 @@ var Simpleheader = function Simpleheader(props) {
28744
28744
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28745
28745
  "class": " ".concat(headerstyles$9.navbar) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
28746
28746
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28747
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0' : 'col-lg-4 p-0'
28747
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 ? 'col-lg-4 p-0' : 'col-lg-2 p-0' : 'col-lg-4 p-0'
28748
28748
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28749
28749
  "class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
28750
28750
  style: {
@@ -28762,7 +28762,7 @@ var Simpleheader = function Simpleheader(props) {
28762
28762
  maxHeight: '100%'
28763
28763
  }
28764
28764
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
28765
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ',
28765
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ',
28766
28766
  style: {
28767
28767
  justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
28768
28768
  }
@@ -28794,7 +28794,7 @@ var Simpleheader = function Simpleheader(props) {
28794
28794
  subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
28795
28795
  }
28796
28796
  })), /*#__PURE__*/React__default["default"].createElement("div", {
28797
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
28797
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
28798
28798
  }, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
28799
28799
  className: header_cssstyles.searchicon + ' h-100 allcentered ',
28800
28800
  onClick: function onClick() {
@@ -29097,7 +29097,45 @@ var Simpleheader = function Simpleheader(props) {
29097
29097
  }
29098
29098
  }), /*#__PURE__*/React__default["default"].createElement("span", {
29099
29099
  "class": "ml-2 mr-2"
29100
- }, "English")))))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
29100
+ }, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instcurrencies) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
29101
+ "class": ' d-flex align-items-center justify-content-end '
29102
+ }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
29103
+ "class": ' d-flex align-items-center justify-content-center '
29104
+ }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
29105
+ "class": ' row m-0 w-100 d-flex align-items-center '
29106
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
29107
+ "class": "m-0 p-0 mr-2 ml-2"
29108
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
29109
+ "class": ' row m-0 w-100 d-flex align-items-center '
29110
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
29111
+ "class": "m-0 p-0 ml-2 mr-2"
29112
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcurrencies) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.map(function (item, index) {
29113
+ var _authdetailsContext$i7;
29114
+ return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
29115
+ onClick: function onClick() {
29116
+ setcurrencyfunccontext(item);
29117
+ }
29118
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
29119
+ "class": "row m-0 w-100"
29120
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
29121
+ "class": "col-lg-12 p-0 d-flex justify-content-start"
29122
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
29123
+ "class": "".concat(header_cssstyles.dropdownitemcontainer)
29124
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
29125
+ "class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
29126
+ style: {
29127
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
29128
+ fontWeight: sectionproperties.dropdown_fontweight,
29129
+ textTransform: sectionproperties.dropdown_texttransform
29130
+ }
29131
+ }, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
29132
+ "class": 'ml-2 mr-2'
29133
+ }, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcurrencies) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
29134
+ "class": "col-lg-12 p-0"
29135
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
29136
+ "class": "m-0"
29137
+ }))));
29138
+ }))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
29101
29139
  "class": "col-lg-12 p-0"
29102
29140
  }, /*#__PURE__*/React__default["default"].createElement(Subheader, {
29103
29141
  actions: actions,
package/dist/index.esm.js CHANGED
@@ -28027,8 +28027,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
28027
28027
  return /*#__PURE__*/React.createElement("div", {
28028
28028
  "class": "scrollhorizontalcard",
28029
28029
  style: {
28030
- marginLeft: langdetect == 'en' ? 0 : '35px',
28031
- marginRight: langdetect == 'en' ? '35px' : 0,
28030
+ marginLeft: langdetect == 'en' ? 0 : '10px',
28031
+ marginRight: langdetect == 'en' ? '10px' : 0,
28032
28032
  position: 'relative'
28033
28033
  },
28034
28034
  onClick: function onClick() {
@@ -28046,8 +28046,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
28046
28046
  sectionpropertiesprops: sectionproperties,
28047
28047
  subheaderpropertiesprops: {
28048
28048
  subheaderpositionprops: 'in nav',
28049
- paddingLeftprops: '30px',
28050
- paddingRightprops: '30px',
28049
+ paddingLeftprops: '10px',
28050
+ paddingRightprops: '10px',
28051
28051
  subheadercontentpositionprops: langdetect == 'en' ? 'left' : 'right'
28052
28052
  },
28053
28053
  actions: actions
@@ -28341,7 +28341,7 @@ styleInject(css_248z$v);
28341
28341
  function ownKeys$1R(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28342
28342
  function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28343
28343
  var Simpleheader = function Simpleheader(props) {
28344
- var _css, _css2, _header_cssstyles, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
28344
+ var _css, _css2, _header_cssstyles, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i3, _authdetailsContext$i4, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i5, _authdetailsContext$i6, _logoarrayofobjects$3, _logoarrayofobjects$4;
28345
28345
  var actions = props.actions;
28346
28346
  var _useState = useState(''),
28347
28347
  _useState2 = _slicedToArray(_useState, 2),
@@ -28695,7 +28695,7 @@ var Simpleheader = function Simpleheader(props) {
28695
28695
  }, /*#__PURE__*/React.createElement("div", {
28696
28696
  "class": " ".concat(headerstyles$9.navbar) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
28697
28697
  }, /*#__PURE__*/React.createElement("div", {
28698
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0' : 'col-lg-4 p-0'
28698
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 ? 'col-lg-4 p-0' : 'col-lg-2 p-0' : 'col-lg-4 p-0'
28699
28699
  }, /*#__PURE__*/React.createElement("div", {
28700
28700
  "class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
28701
28701
  style: {
@@ -28713,7 +28713,7 @@ var Simpleheader = function Simpleheader(props) {
28713
28713
  maxHeight: '100%'
28714
28714
  }
28715
28715
  }))), /*#__PURE__*/React.createElement("div", {
28716
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ',
28716
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ',
28717
28717
  style: {
28718
28718
  justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
28719
28719
  }
@@ -28745,7 +28745,7 @@ var Simpleheader = function Simpleheader(props) {
28745
28745
  subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
28746
28746
  }
28747
28747
  })), /*#__PURE__*/React.createElement("div", {
28748
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
28748
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
28749
28749
  }, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React.createElement("i", {
28750
28750
  className: header_cssstyles.searchicon + ' h-100 allcentered ',
28751
28751
  onClick: function onClick() {
@@ -29048,7 +29048,45 @@ var Simpleheader = function Simpleheader(props) {
29048
29048
  }
29049
29049
  }), /*#__PURE__*/React.createElement("span", {
29050
29050
  "class": "ml-2 mr-2"
29051
- }, "English")))))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement("div", {
29051
+ }, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instcurrencies) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.length) > 1 && /*#__PURE__*/React.createElement("div", {
29052
+ "class": ' d-flex align-items-center justify-content-end '
29053
+ }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
29054
+ "class": ' d-flex align-items-center justify-content-center '
29055
+ }, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
29056
+ "class": ' row m-0 w-100 d-flex align-items-center '
29057
+ }, /*#__PURE__*/React.createElement("p", {
29058
+ "class": "m-0 p-0 mr-2 ml-2"
29059
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
29060
+ "class": ' row m-0 w-100 d-flex align-items-center '
29061
+ }, /*#__PURE__*/React.createElement("p", {
29062
+ "class": "m-0 p-0 ml-2 mr-2"
29063
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcurrencies) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.map(function (item, index) {
29064
+ var _authdetailsContext$i7;
29065
+ return /*#__PURE__*/React.createElement(Dropdown.Item, {
29066
+ onClick: function onClick() {
29067
+ setcurrencyfunccontext(item);
29068
+ }
29069
+ }, /*#__PURE__*/React.createElement("div", {
29070
+ "class": "row m-0 w-100"
29071
+ }, /*#__PURE__*/React.createElement("div", {
29072
+ "class": "col-lg-12 p-0 d-flex justify-content-start"
29073
+ }, /*#__PURE__*/React.createElement("div", {
29074
+ "class": "".concat(header_cssstyles.dropdownitemcontainer)
29075
+ }, /*#__PURE__*/React.createElement("p", {
29076
+ "class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
29077
+ style: {
29078
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
29079
+ fontWeight: sectionproperties.dropdown_fontweight,
29080
+ textTransform: sectionproperties.dropdown_texttransform
29081
+ }
29082
+ }, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
29083
+ "class": 'ml-2 mr-2'
29084
+ }, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcurrencies) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) - 1 && /*#__PURE__*/React.createElement("div", {
29085
+ "class": "col-lg-12 p-0"
29086
+ }, /*#__PURE__*/React.createElement("hr", {
29087
+ "class": "m-0"
29088
+ }))));
29089
+ }))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement("div", {
29052
29090
  "class": "col-lg-12 p-0"
29053
29091
  }, /*#__PURE__*/React.createElement(Subheader, {
29054
29092
  actions: actions,
package/dist/index.umd.js CHANGED
@@ -27902,8 +27902,8 @@
27902
27902
  return /*#__PURE__*/React__default["default"].createElement("div", {
27903
27903
  "class": "scrollhorizontalcard",
27904
27904
  style: {
27905
- marginLeft: langdetect == 'en' ? 0 : '35px',
27906
- marginRight: langdetect == 'en' ? '35px' : 0,
27905
+ marginLeft: langdetect == 'en' ? 0 : '10px',
27906
+ marginRight: langdetect == 'en' ? '10px' : 0,
27907
27907
  position: 'relative'
27908
27908
  },
27909
27909
  onClick: function onClick() {
@@ -27921,8 +27921,8 @@
27921
27921
  sectionpropertiesprops: sectionproperties,
27922
27922
  subheaderpropertiesprops: {
27923
27923
  subheaderpositionprops: 'in nav',
27924
- paddingLeftprops: '30px',
27925
- paddingRightprops: '30px',
27924
+ paddingLeftprops: '10px',
27925
+ paddingRightprops: '10px',
27926
27926
  subheadercontentpositionprops: langdetect == 'en' ? 'left' : 'right'
27927
27927
  },
27928
27928
  actions: actions
@@ -28216,7 +28216,7 @@
28216
28216
  function ownKeys$1R(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28217
28217
  function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28218
28218
  var Simpleheader = function Simpleheader(props) {
28219
- var _css, _css2, _header_cssstyles, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
28219
+ var _css, _css2, _header_cssstyles, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i3, _authdetailsContext$i4, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i5, _authdetailsContext$i6, _logoarrayofobjects$3, _logoarrayofobjects$4;
28220
28220
  var actions = props.actions;
28221
28221
  var _useState = React.useState(''),
28222
28222
  _useState2 = _slicedToArray__default["default"](_useState, 2),
@@ -28570,7 +28570,7 @@
28570
28570
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28571
28571
  "class": " ".concat(headerstyles$9.navbar) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
28572
28572
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28573
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0' : 'col-lg-4 p-0'
28573
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 ? 'col-lg-4 p-0' : 'col-lg-2 p-0' : 'col-lg-4 p-0'
28574
28574
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28575
28575
  "class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
28576
28576
  style: {
@@ -28588,7 +28588,7 @@
28588
28588
  maxHeight: '100%'
28589
28589
  }
28590
28590
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
28591
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ',
28591
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-4 p-0 d-flex flex-row align-items-center ',
28592
28592
  style: {
28593
28593
  justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
28594
28594
  }
@@ -28620,7 +28620,7 @@
28620
28620
  subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
28621
28621
  }
28622
28622
  })), /*#__PURE__*/React__default["default"].createElement("div", {
28623
- "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
28623
+ "class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.length) > 1 ? 'col-lg-4 p-0 d-flex align-items-center justify-content-end' : 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
28624
28624
  }, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
28625
28625
  className: header_cssstyles.searchicon + ' h-100 allcentered ',
28626
28626
  onClick: function onClick() {
@@ -28923,7 +28923,45 @@
28923
28923
  }
28924
28924
  }), /*#__PURE__*/React__default["default"].createElement("span", {
28925
28925
  "class": "ml-2 mr-2"
28926
- }, "English")))))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
28926
+ }, "English"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instcurrencies) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
28927
+ "class": ' d-flex align-items-center justify-content-end '
28928
+ }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
28929
+ "class": ' d-flex align-items-center justify-content-center '
28930
+ }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
28931
+ "class": ' row m-0 w-100 d-flex align-items-center '
28932
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
28933
+ "class": "m-0 p-0 mr-2 ml-2"
28934
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
28935
+ "class": ' row m-0 w-100 d-flex align-items-center '
28936
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
28937
+ "class": "m-0 p-0 ml-2 mr-2"
28938
+ }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcurrencies) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.map(function (item, index) {
28939
+ var _authdetailsContext$i7;
28940
+ return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
28941
+ onClick: function onClick() {
28942
+ setcurrencyfunccontext(item);
28943
+ }
28944
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28945
+ "class": "row m-0 w-100"
28946
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28947
+ "class": "col-lg-12 p-0 d-flex justify-content-start"
28948
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28949
+ "class": "".concat(header_cssstyles.dropdownitemcontainer)
28950
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
28951
+ "class": 'dropdownitem d-flex align-items-center justify-content-center m-0 p-0',
28952
+ style: {
28953
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
28954
+ fontWeight: sectionproperties.dropdown_fontweight,
28955
+ textTransform: sectionproperties.dropdown_texttransform
28956
+ }
28957
+ }, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
28958
+ "class": 'ml-2 mr-2'
28959
+ }, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcurrencies) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
28960
+ "class": "col-lg-12 p-0"
28961
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
28962
+ "class": "m-0"
28963
+ }))));
28964
+ }))))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
28927
28965
  "class": "col-lg-12 p-0"
28928
28966
  }, /*#__PURE__*/React__default["default"].createElement(Subheader, {
28929
28967
  actions: actions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.545",
3
+ "version": "0.0.546",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {