tabexseriescomponents 0.50.204 → 0.50.205
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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15542,7 +15542,7 @@ var Checkout = function Checkout(props) {
|
|
|
15542
15542
|
style: {
|
|
15543
15543
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
15544
15544
|
}
|
|
15545
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en),
|
|
15545
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', parseFloat(item.value).toFixed(2), " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect != 'ar' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.customercart) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.totalprice) * (item.value / 100)).toFixed(2), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
15546
15546
|
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.customercart) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15547
15547
|
className: "row m-0 w-100"
|
|
15548
15548
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
package/dist/index.esm.js
CHANGED
|
@@ -15490,7 +15490,7 @@ var Checkout = function Checkout(props) {
|
|
|
15490
15490
|
style: {
|
|
15491
15491
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
15492
15492
|
}
|
|
15493
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React.createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React.createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en),
|
|
15493
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React.createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React.createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', parseFloat(item.value).toFixed(2), " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React.createElement("span", null, item.value, "% (", langdetect != 'ar' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.customercart) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.totalprice) * (item.value / 100)).toFixed(2), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
15494
15494
|
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.customercart) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.usewalletpoints) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
15495
15495
|
className: "row m-0 w-100"
|
|
15496
15496
|
}, /*#__PURE__*/React.createElement("div", {
|
package/dist/index.umd.js
CHANGED
|
@@ -15348,7 +15348,7 @@
|
|
|
15348
15348
|
style: {
|
|
15349
15349
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
15350
15350
|
}
|
|
15351
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en),
|
|
15351
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext["currencyname_".concat(langdetect)]) || (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), ' ', parseFloat(item.value).toFixed(2), " ", langdetect != 'ar' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect != 'ar' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.customercart) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.totalprice) * (item.value / 100)).toFixed(2), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
15352
15352
|
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.customercart) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15353
15353
|
className: "row m-0 w-100"
|
|
15354
15354
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|