@pisell/materials 6.11.83 → 6.11.84
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/productCard/cartSkuCard/components/weighing/index.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/weighing/index.js +1 -1
- package/package.json +3 -3
|
@@ -45,6 +45,6 @@ var Weighing = function Weighing(props) {
|
|
|
45
45
|
className: "".concat(PREFIX, "__weighing-row")
|
|
46
46
|
}, /*#__PURE__*/React.createElement("span", null, tareLabel, ":"), /*#__PURE__*/React.createElement("span", null, formatWeight(tare === null || tare === void 0 ? void 0 : tare.value, (tare === null || tare === void 0 ? void 0 : tare.unit) || unit))), /*#__PURE__*/React.createElement("div", {
|
|
47
47
|
className: "".concat(PREFIX, "__weighing-row")
|
|
48
|
-
}, /*#__PURE__*/React.createElement("span", null, formatWeight(net_weight, unit), "
|
|
48
|
+
}, /*#__PURE__*/React.createElement("span", null, formatWeight(net_weight, unit), " NET @ ", unitPriceText, "/", unitLabel)));
|
|
49
49
|
};
|
|
50
50
|
export default Weighing;
|
|
@@ -64,6 +64,6 @@ var Weighing = (props) => {
|
|
|
64
64
|
const tareLabel = import_utils.locales.getText("pisell2.cart.sku-card.weighing.tare");
|
|
65
65
|
const netLabel = import_utils.locales.getText("pisell2.cart.sku-card.weighing.net");
|
|
66
66
|
const unitPriceText = formatUnitPrice(unit_price, symbol);
|
|
67
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing-row` }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.cart.sku-card.weighing.gross"), ":"), /* @__PURE__ */ import_react.default.createElement("span", null, formatWeight(weight, unit))), /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing-row` }, /* @__PURE__ */ import_react.default.createElement("span", null, tareLabel, ":"), /* @__PURE__ */ import_react.default.createElement("span", null, formatWeight(tare == null ? void 0 : tare.value, (tare == null ? void 0 : tare.unit) || unit))), /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing-row` }, /* @__PURE__ */ import_react.default.createElement("span", null, formatWeight(net_weight, unit), "
|
|
67
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing-row` }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.cart.sku-card.weighing.gross"), ":"), /* @__PURE__ */ import_react.default.createElement("span", null, formatWeight(weight, unit))), /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing-row` }, /* @__PURE__ */ import_react.default.createElement("span", null, tareLabel, ":"), /* @__PURE__ */ import_react.default.createElement("span", null, formatWeight(tare == null ? void 0 : tare.value, (tare == null ? void 0 : tare.unit) || unit))), /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__weighing-row` }, /* @__PURE__ */ import_react.default.createElement("span", null, formatWeight(net_weight, unit), " NET @ ", unitPriceText, "/", unitLabel)));
|
|
68
68
|
};
|
|
69
69
|
var weighing_default = Weighing;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.84",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"antd-mobile": "^5.38.1",
|
|
100
100
|
"vod-js-sdk-v6": "^1.4.11",
|
|
101
101
|
"@pisell/date-picker": "3.0.8",
|
|
102
|
-
"@pisell/
|
|
103
|
-
"@pisell/
|
|
102
|
+
"@pisell/icon": "0.0.11",
|
|
103
|
+
"@pisell/utils": "3.0.2"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"react": "^18.0.0",
|