@pisell/private-materials 3.2.27 → 3.2.29
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 +2 -2
- package/build/lowcode/view.js +2 -2
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +2 -1
- package/es/components/appointmentBooking/components/Header/index.js +2 -2
- package/es/components/booking/info/utils.js +1 -1
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +2 -1
- package/lib/components/appointmentBooking/components/Header/index.js +3 -3
- package/lib/components/booking/info/utils.js +1 -1
- package/package.json +2 -2
|
@@ -69,8 +69,9 @@ var ContinueButton = function ContinueButton() {
|
|
|
69
69
|
* @Date: 2025-04-16 17:55
|
|
70
70
|
*/
|
|
71
71
|
var clearData = function clearData() {
|
|
72
|
+
var _shopDiscount$destroy;
|
|
72
73
|
appointmentBooking.destroy();
|
|
73
|
-
shopDiscount.destroy();
|
|
74
|
+
shopDiscount === null || shopDiscount === void 0 || (_shopDiscount$destroy = shopDiscount.destroy) === null || _shopDiscount$destroy === void 0 || _shopDiscount$destroy.call(shopDiscount);
|
|
74
75
|
};
|
|
75
76
|
|
|
76
77
|
/**
|
|
@@ -70,9 +70,9 @@ var Header = function Header() {
|
|
|
70
70
|
* @Date: 2025-01-22 13:43
|
|
71
71
|
*/
|
|
72
72
|
var handleClose = function handleClose() {
|
|
73
|
-
var _utils$history;
|
|
73
|
+
var _shopDiscount$destroy, _utils$history;
|
|
74
74
|
appointmentBooking.destroy();
|
|
75
|
-
shopDiscount.destroy();
|
|
75
|
+
shopDiscount === null || shopDiscount === void 0 || (_shopDiscount$destroy = shopDiscount.destroy) === null || _shopDiscount$destroy === void 0 || _shopDiscount$destroy.call(shopDiscount);
|
|
76
76
|
var utils = context.appHelper.utils || {};
|
|
77
77
|
utils === null || utils === void 0 || (_utils$history = utils.history) === null || _utils$history === void 0 || _utils$history.replace('/');
|
|
78
78
|
};
|
|
@@ -93,7 +93,7 @@ export var isBooking4Shop = function isBooking4Shop(shopId, renderType) {
|
|
|
93
93
|
if (renderType === 'eventBooking') {
|
|
94
94
|
return false;
|
|
95
95
|
}
|
|
96
|
-
var booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191, 6812, 6813, 6814, 7651, 8586];
|
|
96
|
+
var booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191, 6812, 6813, 6814, 7651, 8586, 8581];
|
|
97
97
|
return booking4Shops.includes(shopId);
|
|
98
98
|
};
|
|
99
99
|
function generateDateRange(start, end) {
|
|
@@ -69,8 +69,9 @@ var ContinueButton = () => {
|
|
|
69
69
|
resourceOtherParams == null ? void 0 : resourceOtherParams.errorList
|
|
70
70
|
]);
|
|
71
71
|
const clearData = () => {
|
|
72
|
+
var _a2;
|
|
72
73
|
appointmentBooking.destroy();
|
|
73
|
-
shopDiscount.destroy();
|
|
74
|
+
(_a2 = shopDiscount == null ? void 0 : shopDiscount.destroy) == null ? void 0 : _a2.call(shopDiscount);
|
|
74
75
|
};
|
|
75
76
|
const handleNextStep = async () => {
|
|
76
77
|
var _a2, _b, _c;
|
|
@@ -69,11 +69,11 @@ var Header = () => {
|
|
|
69
69
|
appointmentBooking.back();
|
|
70
70
|
};
|
|
71
71
|
const handleClose = () => {
|
|
72
|
-
var _a2;
|
|
72
|
+
var _a2, _b2;
|
|
73
73
|
appointmentBooking.destroy();
|
|
74
|
-
shopDiscount.destroy();
|
|
74
|
+
(_a2 = shopDiscount == null ? void 0 : shopDiscount.destroy) == null ? void 0 : _a2.call(shopDiscount);
|
|
75
75
|
const utils = context.appHelper.utils || {};
|
|
76
|
-
(
|
|
76
|
+
(_b2 = utils == null ? void 0 : utils.history) == null ? void 0 : _b2.replace("/");
|
|
77
77
|
};
|
|
78
78
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
79
79
|
import_progressBar.default,
|
|
@@ -99,7 +99,7 @@ var isBooking4Shop = (shopId, renderType) => {
|
|
|
99
99
|
if (renderType === "eventBooking") {
|
|
100
100
|
return false;
|
|
101
101
|
}
|
|
102
|
-
const booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191, 6812, 6813, 6814, 7651, 8586];
|
|
102
|
+
const booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191, 6812, 6813, 6814, 7651, 8586, 8581];
|
|
103
103
|
return booking4Shops.includes(shopId);
|
|
104
104
|
};
|
|
105
105
|
function generateDateRange(start, end) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.29",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
|
-
"@pisell/materials": "3.2.25",
|
|
63
62
|
"@pisell/icon": "0.0.11",
|
|
64
63
|
"@pisell/utils": "1.0.42",
|
|
64
|
+
"@pisell/materials": "3.2.25",
|
|
65
65
|
"@pisell/date-picker": "3.0.2"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|