@pisell/private-materials 6.11.178 → 6.11.179
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/pisellReservation/hooks/useFloorMapBookingInteraction.js +1 -0
- package/lib/plus/pisellReservation/hooks/useFloorMapBookingInteraction.js +1 -0
- package/package.json +3 -3
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -16
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -16
|
@@ -154,6 +154,7 @@ function buildServiceItemFromRuleProduct(product, resource) {
|
|
|
154
154
|
return _objectSpread(_objectSpread({}, product), {}, {
|
|
155
155
|
_id: "pre_".concat((_product$id = product === null || product === void 0 ? void 0 : product.id) !== null && _product$id !== void 0 ? _product$id : 'unknown', "_").concat(Date.now()),
|
|
156
156
|
id: product === null || product === void 0 ? void 0 : product.id,
|
|
157
|
+
product_id: product === null || product === void 0 ? void 0 : product.id,
|
|
157
158
|
title: title,
|
|
158
159
|
quantity: 1,
|
|
159
160
|
price: price,
|
|
@@ -164,6 +164,7 @@ function buildServiceItemFromRuleProduct(product, resource) {
|
|
|
164
164
|
...product,
|
|
165
165
|
_id: `pre_${(product == null ? void 0 : product.id) ?? "unknown"}_${Date.now()}`,
|
|
166
166
|
id: product == null ? void 0 : product.id,
|
|
167
|
+
product_id: product == null ? void 0 : product.id,
|
|
167
168
|
title,
|
|
168
169
|
quantity: 1,
|
|
169
170
|
price,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.179",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"react-resizable": "^3.0.5",
|
|
69
69
|
"styled-components": "^6.0.0-rc.3",
|
|
70
70
|
"@pisell/utils": "3.0.2",
|
|
71
|
+
"@pisell/icon": "0.0.11",
|
|
71
72
|
"@pisell/materials": "6.11.57",
|
|
72
|
-
"@pisell/date-picker": "3.0.8"
|
|
73
|
-
"@pisell/icon": "0.0.11"
|
|
73
|
+
"@pisell/date-picker": "3.0.8"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"react": "^18.0.0",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type TicketBookingSecondaryDisplayConfig } from './useTicketBookingSecondaryScreen';
|
|
3
|
-
import './index.less';
|
|
4
|
-
import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
|
|
5
|
-
import { BaseResponsiveProps } from '../../../../responsive/type';
|
|
6
|
-
export declare const _formatBookingDetail: (data: any, modalState: any) => any;
|
|
7
|
-
interface TicketBookingProps {
|
|
8
|
-
onPrerenderComplete?: () => void;
|
|
9
|
-
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
10
|
-
isShowTimeBar?: boolean;
|
|
11
|
-
isShowFloatButtons?: boolean;
|
|
12
|
-
/** 副屏展示:购物车列数、是否显示客户信息等 */
|
|
13
|
-
secondaryScreenDisplay?: TicketBookingSecondaryDisplayConfig;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: React.ForwardRefExoticComponent<TicketBookingProps & BaseResponsiveProps & React.RefAttributes<unknown>>;
|
|
16
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type TicketBookingSecondaryDisplayConfig } from './useTicketBookingSecondaryScreen';
|
|
3
|
-
import './index.less';
|
|
4
|
-
import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
|
|
5
|
-
import { BaseResponsiveProps } from '../../../../responsive/type';
|
|
6
|
-
export declare const _formatBookingDetail: (data: any, modalState: any) => any;
|
|
7
|
-
interface TicketBookingProps {
|
|
8
|
-
onPrerenderComplete?: () => void;
|
|
9
|
-
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
10
|
-
isShowTimeBar?: boolean;
|
|
11
|
-
isShowFloatButtons?: boolean;
|
|
12
|
-
/** 副屏展示:购物车列数、是否显示客户信息等 */
|
|
13
|
-
secondaryScreenDisplay?: TicketBookingSecondaryDisplayConfig;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: React.ForwardRefExoticComponent<TicketBookingProps & BaseResponsiveProps & React.RefAttributes<unknown>>;
|
|
16
|
-
export default _default;
|