@pisell/private-materials 6.8.26 → 6.8.27
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/booking/components/footer/index.js +9 -6
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/model.js +1 -0
- package/lib/components/booking/components/footer/index.js +9 -6
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/model.js +1 -0
- package/package.json +4 -4
- package/es/components/booking/addons/model.d.ts +0 -1
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/voucher/index.d.ts +0 -4
- package/lib/components/booking/addons/model.d.ts +0 -1
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/voucher/index.d.ts +0 -4
|
@@ -1839,12 +1839,14 @@ var Footer = function Footer(props) {
|
|
|
1839
1839
|
setEditOrderId(0);
|
|
1840
1840
|
(_window9 = window) === null || _window9 === void 0 || (_window9 = _window9.shopApi) === null || _window9 === void 0 || (_window9 = _window9.bookingTicket) === null || _window9 === void 0 || _window9.clearAllCart();
|
|
1841
1841
|
// 清空服务项目
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1842
|
+
setTimeout(function () {
|
|
1843
|
+
dispatch({
|
|
1844
|
+
type: 'setService',
|
|
1845
|
+
payload: {
|
|
1846
|
+
value: []
|
|
1847
|
+
}
|
|
1848
|
+
});
|
|
1849
|
+
}, 200);
|
|
1848
1850
|
clearAllScanListenersTaskQueue();
|
|
1849
1851
|
};
|
|
1850
1852
|
|
|
@@ -1858,6 +1860,7 @@ var Footer = function Footer(props) {
|
|
|
1858
1860
|
}
|
|
1859
1861
|
// 给当前购物车中的商品添加一个编辑标识
|
|
1860
1862
|
// 标记当前商品为编辑模式
|
|
1863
|
+
debugger;
|
|
1861
1864
|
dispatch({
|
|
1862
1865
|
type: 'setService',
|
|
1863
1866
|
payload: {
|
|
@@ -1322,12 +1322,14 @@ var Footer = (props) => {
|
|
|
1322
1322
|
(_a2 = shopDiscount == null ? void 0 : shopDiscount.clear) == null ? void 0 : _a2.call(shopDiscount);
|
|
1323
1323
|
setEditOrderId(0);
|
|
1324
1324
|
(_c2 = (_b2 = window == null ? void 0 : window.shopApi) == null ? void 0 : _b2.bookingTicket) == null ? void 0 : _c2.clearAllCart();
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1325
|
+
setTimeout(() => {
|
|
1326
|
+
dispatch({
|
|
1327
|
+
type: "setService",
|
|
1328
|
+
payload: {
|
|
1329
|
+
value: []
|
|
1330
|
+
}
|
|
1331
|
+
});
|
|
1332
|
+
}, 200);
|
|
1331
1333
|
clearAllScanListenersTaskQueue();
|
|
1332
1334
|
};
|
|
1333
1335
|
const setEditCartMode = (order_id2, payData, closeModal = false) => {
|
|
@@ -1335,6 +1337,7 @@ var Footer = (props) => {
|
|
|
1335
1337
|
if (closeModal) {
|
|
1336
1338
|
setIsPaymentModalOpen(false);
|
|
1337
1339
|
}
|
|
1340
|
+
debugger;
|
|
1338
1341
|
dispatch({
|
|
1339
1342
|
type: "setService",
|
|
1340
1343
|
payload: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.27",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"react-infinite-scroll-component": "^6.1.0",
|
|
77
77
|
"react-resizable": "^3.0.5",
|
|
78
78
|
"styled-components": "^6.0.0-rc.3",
|
|
79
|
-
"@pisell/icon": "0.0.11",
|
|
80
|
-
"@pisell/date-picker": "3.0.7",
|
|
81
79
|
"@pisell/materials": "6.8.6",
|
|
82
|
-
"@pisell/utils": "3.0.2"
|
|
80
|
+
"@pisell/utils": "3.0.2",
|
|
81
|
+
"@pisell/date-picker": "3.0.7",
|
|
82
|
+
"@pisell/icon": "0.0.11"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"react": "^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Provider: any, Context: any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ActionButtonsProps {
|
|
4
|
-
/** booking 状态对象,包含 service、addons 等数据 */
|
|
5
|
-
state: {
|
|
6
|
-
service?: {
|
|
7
|
-
value?: any[];
|
|
8
|
-
};
|
|
9
|
-
addons?: {
|
|
10
|
-
value?: any[];
|
|
11
|
-
};
|
|
12
|
-
disabledEdit?: boolean;
|
|
13
|
-
channelDisabledEdit?: boolean;
|
|
14
|
-
shop_discount?: string;
|
|
15
|
-
bookingDetail?: {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
20
|
-
/** dispatch 函数,用于触发状态更新 */
|
|
21
|
-
dispatch: (action: {
|
|
22
|
-
type: string;
|
|
23
|
-
payload?: any;
|
|
24
|
-
}) => void;
|
|
25
|
-
/** 是否禁用所有按钮 */
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/** 数据源,传递给 VoucherCard */
|
|
28
|
-
source?: any;
|
|
29
|
-
}
|
|
30
|
-
declare const ActionButtons: React.FC<ActionButtonsProps>;
|
|
31
|
-
export default ActionButtons;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Provider: any, Context: any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ActionButtonsProps {
|
|
4
|
-
/** booking 状态对象,包含 service、addons 等数据 */
|
|
5
|
-
state: {
|
|
6
|
-
service?: {
|
|
7
|
-
value?: any[];
|
|
8
|
-
};
|
|
9
|
-
addons?: {
|
|
10
|
-
value?: any[];
|
|
11
|
-
};
|
|
12
|
-
disabledEdit?: boolean;
|
|
13
|
-
channelDisabledEdit?: boolean;
|
|
14
|
-
shop_discount?: string;
|
|
15
|
-
bookingDetail?: {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
20
|
-
/** dispatch 函数,用于触发状态更新 */
|
|
21
|
-
dispatch: (action: {
|
|
22
|
-
type: string;
|
|
23
|
-
payload?: any;
|
|
24
|
-
}) => void;
|
|
25
|
-
/** 是否禁用所有按钮 */
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/** 数据源,传递给 VoucherCard */
|
|
28
|
-
source?: any;
|
|
29
|
-
}
|
|
30
|
-
declare const ActionButtons: React.FC<ActionButtonsProps>;
|
|
31
|
-
export default ActionButtons;
|