@pisell/private-materials 6.12.105 → 6.12.107
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/plus/saleDetail/components/CartItems/Editable/index.js +1 -0
- package/lib/plus/saleDetail/components/CartItems/Editable/index.js +2 -1
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { _objectSpread2 } from "../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
|
|
2
2
|
import { _asyncToGenerator } from "../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
|
|
3
3
|
import NumericStepper from "../../../../../pro/NumericStepper/index.js";
|
|
4
|
+
import PisellNumberSelector from "../../../../../pro/pisellNumberSelector/index.js";
|
|
4
5
|
import { QUANTITY_ESCAPE_DOM } from "../../../utils/bookingStatus.js";
|
|
5
6
|
import { getSavedItemLineAmount } from "./amount.js";
|
|
6
7
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -2,6 +2,7 @@ const require_runtime = require("../../../../../_virtual/_rolldown/runtime.js");
|
|
|
2
2
|
const require_objectSpread2 = require("../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
|
|
3
3
|
const require_asyncToGenerator = require("../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
|
|
4
4
|
const require_index = require("../../../../../pro/NumericStepper/index.js");
|
|
5
|
+
const require_index$1 = require("../../../../../pro/pisellNumberSelector/index.js");
|
|
5
6
|
const require_bookingStatus = require("../../../utils/bookingStatus.js");
|
|
6
7
|
const require_amount = require("./amount.js");
|
|
7
8
|
let react = require("react");
|
|
@@ -93,7 +94,7 @@ function useCartLineRowActions({ item, quantityLoading, cardAction, isShowRightA
|
|
|
93
94
|
handleEdit,
|
|
94
95
|
rightActions: (0, react.useMemo)(() => isShowRightActions ? [{
|
|
95
96
|
key: "update_number",
|
|
96
|
-
text: /* @__PURE__ */ react.default.createElement(
|
|
97
|
+
text: /* @__PURE__ */ react.default.createElement(require_index$1.default, {
|
|
97
98
|
enablePriceAdjust: true,
|
|
98
99
|
min: 1,
|
|
99
100
|
className: "pisell-sale-detail-cart-items__quantity-selector",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.107",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"styled-components": "^6.0.0-rc.3",
|
|
71
71
|
"use-sync-external-store": "^1.6.0",
|
|
72
72
|
"@pisell/utils": "3.0.4",
|
|
73
|
-
"@pisell/materials": "6.12.19",
|
|
74
73
|
"@pisell/icon": "0.0.11",
|
|
75
|
-
"@pisell/date-picker": "3.0.10"
|
|
74
|
+
"@pisell/date-picker": "3.0.10",
|
|
75
|
+
"@pisell/materials": "6.12.19"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"react": "^18.0.0",
|