tabexseriescomponents 0.0.549 → 0.0.551

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
@@ -1982,7 +1982,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1982
1982
  fontWeight: sectionproperties.defaultPriceFontWeight,
1983
1983
  color: sectionproperties.defaultPriceColor
1984
1984
  }
1985
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1985
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1986
1986
  style: {
1987
1987
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
1988
1988
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
@@ -1994,7 +1994,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1994
1994
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
1995
1995
  color: sectionproperties.defaultSalePriceColor
1996
1996
  }
1997
- }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1997
+ }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1998
1998
  "class": "linethrough",
1999
1999
  style: {
2000
2000
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
@@ -3881,9 +3881,14 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
3881
3881
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
3882
3882
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
3883
3883
  onChange: function onChange(event) {
3884
+ // setaddtocardpayloadobj({ ...addtocardpayloadobj, date: event.target.value });
3884
3885
  setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
3885
- date: event.target.value
3886
+ date: event.target.value,
3887
+ time: '',
3888
+ reservedslotArrtobetaken: [],
3889
+ quantity: 1
3886
3890
  }));
3891
+ setslots([]);
3887
3892
  setcurrentmutatestate('/fetchserviceslots');
3888
3893
  GeneralAPIMutationContext.mutate({
3889
3894
  endpointurl: '/fetchserviceslots',
package/dist/index.esm.js CHANGED
@@ -1933,7 +1933,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1933
1933
  fontWeight: sectionproperties.defaultPriceFontWeight,
1934
1934
  color: sectionproperties.defaultPriceColor
1935
1935
  }
1936
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 0 && /*#__PURE__*/React.createElement("span", {
1936
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React.createElement("span", {
1937
1937
  style: {
1938
1938
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
1939
1939
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
@@ -1945,7 +1945,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1945
1945
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
1946
1946
  color: sectionproperties.defaultSalePriceColor
1947
1947
  }
1948
- }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 0 && /*#__PURE__*/React.createElement("span", {
1948
+ }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React.createElement("span", {
1949
1949
  "class": "linethrough",
1950
1950
  style: {
1951
1951
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
@@ -3832,9 +3832,14 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
3832
3832
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
3833
3833
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
3834
3834
  onChange: function onChange(event) {
3835
+ // setaddtocardpayloadobj({ ...addtocardpayloadobj, date: event.target.value });
3835
3836
  setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
3836
- date: event.target.value
3837
+ date: event.target.value,
3838
+ time: '',
3839
+ reservedslotArrtobetaken: [],
3840
+ quantity: 1
3837
3841
  }));
3842
+ setslots([]);
3838
3843
  setcurrentmutatestate('/fetchserviceslots');
3839
3844
  GeneralAPIMutationContext.mutate({
3840
3845
  endpointurl: '/fetchserviceslots',
package/dist/index.umd.js CHANGED
@@ -1808,7 +1808,7 @@
1808
1808
  fontWeight: sectionproperties.defaultPriceFontWeight,
1809
1809
  color: sectionproperties.defaultPriceColor
1810
1810
  }
1811
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1811
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.variants[variantindexcompleted]) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1812
1812
  style: {
1813
1813
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
1814
1814
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
@@ -1820,7 +1820,7 @@
1820
1820
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
1821
1821
  color: sectionproperties.defaultSalePriceColor
1822
1822
  }
1823
- }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1823
+ }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
1824
1824
  "class": "linethrough",
1825
1825
  style: {
1826
1826
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
@@ -3707,9 +3707,14 @@
3707
3707
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
3708
3708
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
3709
3709
  onChange: function onChange(event) {
3710
+ // setaddtocardpayloadobj({ ...addtocardpayloadobj, date: event.target.value });
3710
3711
  setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
3711
- date: event.target.value
3712
+ date: event.target.value,
3713
+ time: '',
3714
+ reservedslotArrtobetaken: [],
3715
+ quantity: 1
3712
3716
  }));
3717
+ setslots([]);
3713
3718
  setcurrentmutatestate('/fetchserviceslots');
3714
3719
  GeneralAPIMutationContext.mutate({
3715
3720
  endpointurl: '/fetchserviceslots',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.549",
3
+ "version": "0.0.551",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {