tabexseriescomponents 0.0.276 → 0.0.277

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
@@ -1333,7 +1333,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1333
1333
  fontSize: '13px',
1334
1334
  lineHeight: '25px'
1335
1335
  }
1336
- }, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0 + '%'))))));
1336
+ }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
1337
1337
  };
1338
1338
 
1339
1339
  var css_248z$H = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 10vh !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
@@ -12427,7 +12427,7 @@ var CardsSection = function CardsSection(props) {
12427
12427
  };
12428
12428
  var cardsrender = function cardsrender() {
12429
12429
  return /*#__PURE__*/React__default["default"].createElement("div", {
12430
- "class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? 'col-lg-9 p-sm-0' : 'row m-0 w-100 p-sm-0'
12430
+ "class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
12431
12431
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
12432
12432
  className: "row m-0 w-100 d-flex align-items-center p-sm-0"
12433
12433
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -12731,7 +12731,7 @@ var CardsSection = function CardsSection(props) {
12731
12731
  paddingRight: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px' : 0
12732
12732
  }
12733
12733
  }, sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
12734
- className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex ' : 'col-lg-3 d-flex'
12734
+ className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex ' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
12735
12735
  }, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
12736
12736
  sectionpropertiesprops: sectionproperties,
12737
12737
  actions: actions,
@@ -13035,7 +13035,7 @@ styleInject(css_248z$z);
13035
13035
  function ownKeys$1J(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; }
13036
13036
  function _objectSpread$1J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13037
13037
  var Subheader = function Subheader(props) {
13038
- var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _authdetailsContext$i, _authdetailsContext$i2, _props$subheaderprope12, _templatepropcontext$2, _props$subheaderprope15, _props$subheaderprope16, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _authdetailsContext$i3, _authdetailsContext$i4, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope29, _props$subheaderprope30, _props$subheaderprope31, _props$subheaderprope32, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19, _fetchCategoriesQuery20, _fetchCategoriesQuery21, _fetchCategoriesQuery22, _fetchCategoriesQuery23;
13038
+ var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _authdetailsContext$i, _authdetailsContext$i2, _props$subheaderprope12, _templatepropcontext$2, _props$subheaderprope15, _props$subheaderprope16, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _authdetailsContext$i3, _authdetailsContext$i4, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope29, _props$subheaderprope30, _props$subheaderprope31, _props$subheaderprope32, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19, _fetchCategoriesQuery23, _fetchCategoriesQuery24, _fetchCategoriesQuery25, _fetchCategoriesQuery26;
13039
13039
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
13040
13040
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
13041
13041
  var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
@@ -13264,7 +13264,7 @@ var Subheader = function Subheader(props) {
13264
13264
  zIndex: 1000,
13265
13265
  justifyContent: ((_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.subheadercontentpositionprops) == 'center' ? 'center' : 'start'
13266
13266
  }
13267
- }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
13267
+ }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
13268
13268
  if (item.isnavigation == 1 && item.isactive == 1) {
13269
13269
  var _props$subheaderprope17, _props$subheaderprope18;
13270
13270
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -13422,8 +13422,9 @@ var Subheader = function Subheader(props) {
13422
13422
  "class": "font-16 font-weight-500 m-0 p-0"
13423
13423
  }, 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) {
13424
13424
  if (item.isshowntocustomers == 1) {
13425
+ var _fetchCategoriesQuery20, _fetchCategoriesQuery21, _fetchCategoriesQuery22;
13425
13426
  return /*#__PURE__*/React__default["default"].createElement("div", {
13426
- "class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
13427
+ "class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery20 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery20 === void 0 ? void 0 : (_fetchCategoriesQuery21 = _fetchCategoriesQuery20.data) === null || _fetchCategoriesQuery21 === void 0 ? void 0 : (_fetchCategoriesQuery22 = _fetchCategoriesQuery21.categories[Choosenindex]) === null || _fetchCategoriesQuery22 === void 0 ? void 0 : _fetchCategoriesQuery22.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : 'col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4',
13427
13428
  style: {
13428
13429
  cursor: 'pointer'
13429
13430
  }
@@ -13482,7 +13483,7 @@ var Subheader = function Subheader(props) {
13482
13483
  "class": "mt-3 mb-0"
13483
13484
  }))));
13484
13485
  }
13485
- }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery20 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery20 === void 0 ? void 0 : (_fetchCategoriesQuery21 = _fetchCategoriesQuery20.data) === null || _fetchCategoriesQuery21 === void 0 ? void 0 : (_fetchCategoriesQuery22 = _fetchCategoriesQuery21.categories[Choosenindex]) === null || _fetchCategoriesQuery22 === void 0 ? void 0 : (_fetchCategoriesQuery23 = _fetchCategoriesQuery22.parentcolletions) === null || _fetchCategoriesQuery23 === void 0 ? void 0 : _fetchCategoriesQuery23.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
13486
+ }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery23 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery23 === void 0 ? void 0 : (_fetchCategoriesQuery24 = _fetchCategoriesQuery23.data) === null || _fetchCategoriesQuery24 === void 0 ? void 0 : (_fetchCategoriesQuery25 = _fetchCategoriesQuery24.categories[Choosenindex]) === null || _fetchCategoriesQuery25 === void 0 ? void 0 : (_fetchCategoriesQuery26 = _fetchCategoriesQuery25.parentcolletions) === null || _fetchCategoriesQuery26 === void 0 ? void 0 : _fetchCategoriesQuery26.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
13486
13487
  "class": "w-100"
13487
13488
  }, /*#__PURE__*/React__default["default"].createElement("li", {
13488
13489
  "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
@@ -33854,6 +33855,7 @@ var ModernFooter = function ModernFooter(props) {
33854
33855
  cursor: 'pointer',
33855
33856
  fontSize: sectionproperties.facebkbtnniconfontsize + 'px',
33856
33857
  color: sectionproperties.facebkbtnnTextcolor,
33858
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33857
33859
  transition: '.3s',
33858
33860
  ':hover': {
33859
33861
  color: sectionproperties.facebkbtnnTextcoloronhover
@@ -33863,6 +33865,7 @@ var ModernFooter = function ModernFooter(props) {
33863
33865
  cursor: 'pointer',
33864
33866
  color: sectionproperties.youtubebtnTextcolor,
33865
33867
  fontSize: sectionproperties.youtubebtniconfontsize + 'px',
33868
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33866
33869
  transition: '.3s',
33867
33870
  ':hover': {
33868
33871
  color: sectionproperties.youtubebtnTextcoloronhover
@@ -33872,6 +33875,7 @@ var ModernFooter = function ModernFooter(props) {
33872
33875
  cursor: 'pointer',
33873
33876
  fontSize: sectionproperties.instgrambtniconfontsize + 'px',
33874
33877
  color: sectionproperties.instgrambtnTextcolor,
33878
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33875
33879
  transition: '.3s',
33876
33880
  ':hover': {
33877
33881
  color: sectionproperties.instgrambtnTextcoloronhover
@@ -46167,13 +46171,13 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
46167
46171
  borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
46168
46172
  }
46169
46173
  }, /*#__PURE__*/React__default["default"].createElement("p", {
46170
- "class": "m-0 p-0 text-uppercase",
46174
+ "class": "m-0 p-0",
46171
46175
  style: {
46172
46176
  color: sectionproperties.pillcolor,
46173
46177
  fontSize: sectionproperties.pillfontSize + 'px',
46174
46178
  direction: 'ltr'
46175
46179
  }
46176
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
46180
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
46177
46181
  "class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
46178
46182
  }, /*#__PURE__*/React__default["default"].createElement("p", {
46179
46183
  "class": "m-0 p-0",
@@ -55626,7 +55630,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
55626
55630
  style: {
55627
55631
  width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : '100%'
55628
55632
  }
55629
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
55633
+ }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
55630
55634
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
55631
55635
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
55632
55636
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
@@ -55912,7 +55916,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
55912
55916
  fontSize: sectionproperties.pillfontSize + 'px',
55913
55917
  direction: 'ltr'
55914
55918
  }
55915
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
55919
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
55916
55920
  onClick: function onClick() {
55917
55921
  setShowProductInfoModalContext(true);
55918
55922
  setProductIdProdutInfoModalContext(item.productid);
package/dist/index.esm.js CHANGED
@@ -1286,7 +1286,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1286
1286
  fontSize: '13px',
1287
1287
  lineHeight: '25px'
1288
1288
  }
1289
- }, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0 + '%'))))));
1289
+ }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
1290
1290
  };
1291
1291
 
1292
1292
  var css_248z$H = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 10vh !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
@@ -12380,7 +12380,7 @@ var CardsSection = function CardsSection(props) {
12380
12380
  };
12381
12381
  var cardsrender = function cardsrender() {
12382
12382
  return /*#__PURE__*/React.createElement("div", {
12383
- "class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? 'col-lg-9 p-sm-0' : 'row m-0 w-100 p-sm-0'
12383
+ "class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
12384
12384
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
12385
12385
  className: "row m-0 w-100 d-flex align-items-center p-sm-0"
12386
12386
  }, /*#__PURE__*/React.createElement("div", {
@@ -12684,7 +12684,7 @@ var CardsSection = function CardsSection(props) {
12684
12684
  paddingRight: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px' : 0
12685
12685
  }
12686
12686
  }, sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("div", {
12687
- className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex ' : 'col-lg-3 d-flex'
12687
+ className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex ' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
12688
12688
  }, /*#__PURE__*/React.createElement(Filter$1, {
12689
12689
  sectionpropertiesprops: sectionproperties,
12690
12690
  actions: actions,
@@ -12988,7 +12988,7 @@ styleInject(css_248z$z);
12988
12988
  function ownKeys$1J(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; }
12989
12989
  function _objectSpread$1J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1J(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12990
12990
  var Subheader = function Subheader(props) {
12991
- var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _authdetailsContext$i, _authdetailsContext$i2, _props$subheaderprope12, _templatepropcontext$2, _props$subheaderprope15, _props$subheaderprope16, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _authdetailsContext$i3, _authdetailsContext$i4, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope29, _props$subheaderprope30, _props$subheaderprope31, _props$subheaderprope32, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19, _fetchCategoriesQuery20, _fetchCategoriesQuery21, _fetchCategoriesQuery22, _fetchCategoriesQuery23;
12991
+ var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _authdetailsContext$i, _authdetailsContext$i2, _props$subheaderprope12, _templatepropcontext$2, _props$subheaderprope15, _props$subheaderprope16, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _authdetailsContext$i3, _authdetailsContext$i4, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope29, _props$subheaderprope30, _props$subheaderprope31, _props$subheaderprope32, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19, _fetchCategoriesQuery23, _fetchCategoriesQuery24, _fetchCategoriesQuery25, _fetchCategoriesQuery26;
12992
12992
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
12993
12993
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
12994
12994
  var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
@@ -13217,7 +13217,7 @@ var Subheader = function Subheader(props) {
13217
13217
  zIndex: 1000,
13218
13218
  justifyContent: ((_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.subheadercontentpositionprops) == 'center' ? 'center' : 'start'
13219
13219
  }
13220
- }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
13220
+ }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
13221
13221
  if (item.isnavigation == 1 && item.isactive == 1) {
13222
13222
  var _props$subheaderprope17, _props$subheaderprope18;
13223
13223
  return /*#__PURE__*/React.createElement("div", {
@@ -13375,8 +13375,9 @@ var Subheader = function Subheader(props) {
13375
13375
  "class": "font-16 font-weight-500 m-0 p-0"
13376
13376
  }, 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) {
13377
13377
  if (item.isshowntocustomers == 1) {
13378
+ var _fetchCategoriesQuery20, _fetchCategoriesQuery21, _fetchCategoriesQuery22;
13378
13379
  return /*#__PURE__*/React.createElement("div", {
13379
- "class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
13380
+ "class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery20 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery20 === void 0 ? void 0 : (_fetchCategoriesQuery21 = _fetchCategoriesQuery20.data) === null || _fetchCategoriesQuery21 === void 0 ? void 0 : (_fetchCategoriesQuery22 = _fetchCategoriesQuery21.categories[Choosenindex]) === null || _fetchCategoriesQuery22 === void 0 ? void 0 : _fetchCategoriesQuery22.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : 'col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4',
13380
13381
  style: {
13381
13382
  cursor: 'pointer'
13382
13383
  }
@@ -13435,7 +13436,7 @@ var Subheader = function Subheader(props) {
13435
13436
  "class": "mt-3 mb-0"
13436
13437
  }))));
13437
13438
  }
13438
- }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery20 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery20 === void 0 ? void 0 : (_fetchCategoriesQuery21 = _fetchCategoriesQuery20.data) === null || _fetchCategoriesQuery21 === void 0 ? void 0 : (_fetchCategoriesQuery22 = _fetchCategoriesQuery21.categories[Choosenindex]) === null || _fetchCategoriesQuery22 === void 0 ? void 0 : (_fetchCategoriesQuery23 = _fetchCategoriesQuery22.parentcolletions) === null || _fetchCategoriesQuery23 === void 0 ? void 0 : _fetchCategoriesQuery23.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
13439
+ }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery23 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery23 === void 0 ? void 0 : (_fetchCategoriesQuery24 = _fetchCategoriesQuery23.data) === null || _fetchCategoriesQuery24 === void 0 ? void 0 : (_fetchCategoriesQuery25 = _fetchCategoriesQuery24.categories[Choosenindex]) === null || _fetchCategoriesQuery25 === void 0 ? void 0 : (_fetchCategoriesQuery26 = _fetchCategoriesQuery25.parentcolletions) === null || _fetchCategoriesQuery26 === void 0 ? void 0 : _fetchCategoriesQuery26.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
13439
13440
  "class": "w-100"
13440
13441
  }, /*#__PURE__*/React.createElement("li", {
13441
13442
  "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
@@ -33807,6 +33808,7 @@ var ModernFooter = function ModernFooter(props) {
33807
33808
  cursor: 'pointer',
33808
33809
  fontSize: sectionproperties.facebkbtnniconfontsize + 'px',
33809
33810
  color: sectionproperties.facebkbtnnTextcolor,
33811
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33810
33812
  transition: '.3s',
33811
33813
  ':hover': {
33812
33814
  color: sectionproperties.facebkbtnnTextcoloronhover
@@ -33816,6 +33818,7 @@ var ModernFooter = function ModernFooter(props) {
33816
33818
  cursor: 'pointer',
33817
33819
  color: sectionproperties.youtubebtnTextcolor,
33818
33820
  fontSize: sectionproperties.youtubebtniconfontsize + 'px',
33821
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33819
33822
  transition: '.3s',
33820
33823
  ':hover': {
33821
33824
  color: sectionproperties.youtubebtnTextcoloronhover
@@ -33825,6 +33828,7 @@ var ModernFooter = function ModernFooter(props) {
33825
33828
  cursor: 'pointer',
33826
33829
  fontSize: sectionproperties.instgrambtniconfontsize + 'px',
33827
33830
  color: sectionproperties.instgrambtnTextcolor,
33831
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33828
33832
  transition: '.3s',
33829
33833
  ':hover': {
33830
33834
  color: sectionproperties.instgrambtnTextcoloronhover
@@ -46120,13 +46124,13 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
46120
46124
  borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
46121
46125
  }
46122
46126
  }, /*#__PURE__*/React.createElement("p", {
46123
- "class": "m-0 p-0 text-uppercase",
46127
+ "class": "m-0 p-0",
46124
46128
  style: {
46125
46129
  color: sectionproperties.pillcolor,
46126
46130
  fontSize: sectionproperties.pillfontSize + 'px',
46127
46131
  direction: 'ltr'
46128
46132
  }
46129
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
46133
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
46130
46134
  "class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
46131
46135
  }, /*#__PURE__*/React.createElement("p", {
46132
46136
  "class": "m-0 p-0",
@@ -55579,7 +55583,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
55579
55583
  style: {
55580
55584
  width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : '100%'
55581
55585
  }
55582
- }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
55586
+ }, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
55583
55587
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
55584
55588
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
55585
55589
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
@@ -55865,7 +55869,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
55865
55869
  fontSize: sectionproperties.pillfontSize + 'px',
55866
55870
  direction: 'ltr'
55867
55871
  }
55868
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React.createElement("div", {
55872
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React.createElement("div", {
55869
55873
  onClick: function onClick() {
55870
55874
  setShowProductInfoModalContext(true);
55871
55875
  setProductIdProdutInfoModalContext(item.productid);
package/dist/index.umd.js CHANGED
@@ -1178,7 +1178,7 @@
1178
1178
  fontSize: '13px',
1179
1179
  lineHeight: '25px'
1180
1180
  }
1181
- }, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0 + '%'))))));
1181
+ }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
1182
1182
  };
1183
1183
 
1184
1184
  var css_248z$H = "@media screen and (max-width: 800px) {\n .signup-module_rightContainer__yEcoL,\n .signup-module_rightContainerTrans__fkdBH {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 15px !important;\n border-bottom-left-radius: 15px !important;\n }\n .signup-module_rightContainerText__-pvN- {\n font-size: 23px !important;\n }\n}\n.signup-module_form_control__7s76W:focus {\n -webkit-animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n animation: signup-module_anim-shadow__CsxhG 0.5s ease-in-out forwards;\n}\n.signup-module_form_control__7s76W:focus + .signup-module_login_input_icon__RDTS0 {\n padding-left: 20px;\n}\n/* Forms */\n.signup-module_form_control__7s76W {\n display: block;\n width: 100%;\n /* height: 35px; */\n /* font-size: 1rem; */\n /* color: var(--cardtitle); */\n /* background: no-repeat center bottom, center calc(100% - 1px); */\n /* background-size: 0 100%, 100% 100%; */\n background-clip: padding-box;\n /* font-size: 14px; */\n /* transition: background 0s ease-out; */\n /* border: 0; */\n padding: 0 15px;\n font-weight: 500;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .signup-module_form_control__7s76W {\n transition: none;\n }\n}\n.signup-module_form_control__7s76W::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.signup-module_form_control__7s76W:focus {\n outline: 0;\n}\n.signup-module_form_control__7s76W::placeholder {\n opacity: 1;\n}\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.signup-module_form_control__7s76W {\n height: auto;\n}\n.signup-module_form_control__7s76W:focus {\n /* background-size: 100% 100%, 100% 100%; */\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.signup-module_form_control__7s76W::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.signup-module_form_control__7s76W {\n /* background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px); */\n}\n.signup-module_form_control_border_none__HjUMS {\n background-image: none;\n}\n.signup-module_form_control__7s76W.signup-module_disabled__h55ao,\n.signup-module_form_control__7s76W:disabled,\n.signup-module_form_control__7s76W[disabled] {\n /* background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%); */\n /* background-repeat: repeat-x;\n background-size: 3px 1px; */\n cursor: not-allowed;\n}\n@media screen and (max-width: 500px) {\n .signup-module_form_control__7s76W {\n /* padding: 0 5px !important; */\n }\n .signup-module_login_input_icon__RDTS0 {\n padding-left: 0 !important;\n }\n .signup-module_rightContainer__yEcoL {\n border-radius: 15px 15px 0 0 !important;\n }\n .signup-module_leftcontainer__bqfnN {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.signup-module_form_controltextarea__-LGz6{\n min-height: 10vh !important;\n}\n.signup-module_checkbox__8ejBx {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.signup-module_checkbox_label__d84Q2 {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.signup-module_checkbox__8ejBx:hover {\n /* color: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input,\n.signup-module_checkbox__8ejBx svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.signup-module_checkbox_sub__WQLUX input {\n width: 15px;\n height: 15px;\n}\n.signup-module_checkbox__8ejBx input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.signup-module_checkbox__8ejBx input:disabled {\n cursor: not-allowed;\n}\n.signup-module_checkbox__8ejBx input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.signup-module_checkbox__8ejBx input:checked {\n /* --b: var(--secondary); */\n}\n.signup-module_checkbox__8ejBx svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkbox_sub__WQLUX svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.signup-module_checkboxtranslated__4xHR- svg {\n right: 0;\n}\n.signup-module_checkbox__8ejBx input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.signup-module_checkbox__8ejBx input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.signup-module_checkbox__8ejBx svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
@@ -12272,7 +12272,7 @@
12272
12272
  };
12273
12273
  var cardsrender = function cardsrender() {
12274
12274
  return /*#__PURE__*/React__default["default"].createElement("div", {
12275
- "class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? 'col-lg-9 p-sm-0' : 'row m-0 w-100 p-sm-0'
12275
+ "class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
12276
12276
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
12277
12277
  className: "row m-0 w-100 d-flex align-items-center p-sm-0"
12278
12278
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -12576,7 +12576,7 @@
12576
12576
  paddingRight: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px' : 0
12577
12577
  }
12578
12578
  }, sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
12579
- className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex ' : 'col-lg-3 d-flex'
12579
+ className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex ' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
12580
12580
  }, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
12581
12581
  sectionpropertiesprops: sectionproperties,
12582
12582
  actions: actions,
@@ -12880,7 +12880,7 @@
12880
12880
  function ownKeys$1J(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; }
12881
12881
  function _objectSpread$1J(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1J(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1J(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12882
12882
  var Subheader = function Subheader(props) {
12883
- var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _authdetailsContext$i, _authdetailsContext$i2, _props$subheaderprope12, _templatepropcontext$2, _props$subheaderprope15, _props$subheaderprope16, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _authdetailsContext$i3, _authdetailsContext$i4, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope29, _props$subheaderprope30, _props$subheaderprope31, _props$subheaderprope32, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19, _fetchCategoriesQuery20, _fetchCategoriesQuery21, _fetchCategoriesQuery22, _fetchCategoriesQuery23;
12883
+ var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _templatepropcontext$, _fetchCategoriesQuery3, _fetchCategoriesQuery4, _authdetailsContext$i, _authdetailsContext$i2, _props$subheaderprope12, _templatepropcontext$2, _props$subheaderprope15, _props$subheaderprope16, _templatepropcontext$3, _fetchCategoriesQuery5, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery8, _authdetailsContext$i3, _authdetailsContext$i4, _fetchCategoriesQuery9, _fetchCategoriesQuery10, _fetchCategoriesQuery11, _fetchCategoriesQuery12, _props$subheaderprope29, _props$subheaderprope30, _props$subheaderprope31, _props$subheaderprope32, _fetchCategoriesQuery13, _fetchCategoriesQuery14, _fetchCategoriesQuery15, _fetchCategoriesQuery16, _fetchCategoriesQuery17, _fetchCategoriesQuery18, _fetchCategoriesQuery19, _fetchCategoriesQuery23, _fetchCategoriesQuery24, _fetchCategoriesQuery25, _fetchCategoriesQuery26;
12884
12884
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
12885
12885
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
12886
12886
  var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
@@ -13109,7 +13109,7 @@
13109
13109
  zIndex: 1000,
13110
13110
  justifyContent: ((_props$subheaderprope15 = props.subheaderpropertiesprops) === null || _props$subheaderprope15 === void 0 ? void 0 : _props$subheaderprope15.subheadercontentpositionprops) == 'center' ? 'center' : 'start'
13111
13111
  }
13112
- }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
13112
+ }, (props === null || props === void 0 ? void 0 : (_props$subheaderprope16 = props.subheaderpropertiesprops) === null || _props$subheaderprope16 === void 0 ? void 0 : _props$subheaderprope16.subheaderpositionprops) == 'in nav' && sectionproperties.showheaderpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
13113
13113
  if (item.isnavigation == 1 && item.isactive == 1) {
13114
13114
  var _props$subheaderprope17, _props$subheaderprope18;
13115
13115
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -13267,8 +13267,9 @@
13267
13267
  "class": "font-16 font-weight-500 m-0 p-0"
13268
13268
  }, 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) {
13269
13269
  if (item.isshowntocustomers == 1) {
13270
+ var _fetchCategoriesQuery20, _fetchCategoriesQuery21, _fetchCategoriesQuery22;
13270
13271
  return /*#__PURE__*/React__default["default"].createElement("div", {
13271
- "class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
13272
+ "class": (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery20 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery20 === void 0 ? void 0 : (_fetchCategoriesQuery21 = _fetchCategoriesQuery20.data) === null || _fetchCategoriesQuery21 === void 0 ? void 0 : (_fetchCategoriesQuery22 = _fetchCategoriesQuery21.categories[Choosenindex]) === null || _fetchCategoriesQuery22 === void 0 ? void 0 : _fetchCategoriesQuery22.parentcolletions.length) >= 5 ? 'col-lg-2 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4' : 'col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4',
13272
13273
  style: {
13273
13274
  cursor: 'pointer'
13274
13275
  }
@@ -13327,7 +13328,7 @@
13327
13328
  "class": "mt-3 mb-0"
13328
13329
  }))));
13329
13330
  }
13330
- }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery20 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery20 === void 0 ? void 0 : (_fetchCategoriesQuery21 = _fetchCategoriesQuery20.data) === null || _fetchCategoriesQuery21 === void 0 ? void 0 : (_fetchCategoriesQuery22 = _fetchCategoriesQuery21.categories[Choosenindex]) === null || _fetchCategoriesQuery22 === void 0 ? void 0 : (_fetchCategoriesQuery23 = _fetchCategoriesQuery22.parentcolletions) === null || _fetchCategoriesQuery23 === void 0 ? void 0 : _fetchCategoriesQuery23.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
13331
+ }))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery23 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery23 === void 0 ? void 0 : (_fetchCategoriesQuery24 = _fetchCategoriesQuery23.data) === null || _fetchCategoriesQuery24 === void 0 ? void 0 : (_fetchCategoriesQuery25 = _fetchCategoriesQuery24.categories[Choosenindex]) === null || _fetchCategoriesQuery25 === void 0 ? void 0 : (_fetchCategoriesQuery26 = _fetchCategoriesQuery25.parentcolletions) === null || _fetchCategoriesQuery26 === void 0 ? void 0 : _fetchCategoriesQuery26.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
13331
13332
  "class": "w-100"
13332
13333
  }, /*#__PURE__*/React__default["default"].createElement("li", {
13333
13334
  "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
@@ -33699,6 +33700,7 @@
33699
33700
  cursor: 'pointer',
33700
33701
  fontSize: sectionproperties.facebkbtnniconfontsize + 'px',
33701
33702
  color: sectionproperties.facebkbtnnTextcolor,
33703
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33702
33704
  transition: '.3s',
33703
33705
  ':hover': {
33704
33706
  color: sectionproperties.facebkbtnnTextcoloronhover
@@ -33708,6 +33710,7 @@
33708
33710
  cursor: 'pointer',
33709
33711
  color: sectionproperties.youtubebtnTextcolor,
33710
33712
  fontSize: sectionproperties.youtubebtniconfontsize + 'px',
33713
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33711
33714
  transition: '.3s',
33712
33715
  ':hover': {
33713
33716
  color: sectionproperties.youtubebtnTextcoloronhover
@@ -33717,6 +33720,7 @@
33717
33720
  cursor: 'pointer',
33718
33721
  fontSize: sectionproperties.instgrambtniconfontsize + 'px',
33719
33722
  color: sectionproperties.instgrambtnTextcolor,
33723
+ fontWeight: sectionproperties.footersubtitle__fontweight,
33720
33724
  transition: '.3s',
33721
33725
  ':hover': {
33722
33726
  color: sectionproperties.instgrambtnTextcoloronhover
@@ -46012,13 +46016,13 @@
46012
46016
  borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
46013
46017
  }
46014
46018
  }, /*#__PURE__*/React__default["default"].createElement("p", {
46015
- "class": "m-0 p-0 text-uppercase",
46019
+ "class": "m-0 p-0",
46016
46020
  style: {
46017
46021
  color: sectionproperties.pillcolor,
46018
46022
  fontSize: sectionproperties.pillfontSize + 'px',
46019
46023
  direction: 'ltr'
46020
46024
  }
46021
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
46025
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
46022
46026
  "class": "".concat(card_cssstyles.badgeStyles) + ' allcentered '
46023
46027
  }, /*#__PURE__*/React__default["default"].createElement("p", {
46024
46028
  "class": "m-0 p-0",
@@ -55471,7 +55475,7 @@
55471
55475
  style: {
55472
55476
  width: sectionproperties.image_bordertopleftradius == '100' ? sectionproperties.image_height + 'px' : '100%'
55473
55477
  }
55474
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
55478
+ }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
55475
55479
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
55476
55480
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
55477
55481
  path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
@@ -55757,7 +55761,7 @@
55757
55761
  fontSize: sectionproperties.pillfontSize + 'px',
55758
55762
  direction: 'ltr'
55759
55763
  }
55760
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
55764
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
55761
55765
  onClick: function onClick() {
55762
55766
  setShowProductInfoModalContext(true);
55763
55767
  setProductIdProdutInfoModalContext(item.productid);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.276",
3
+ "version": "0.0.277",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {