@pisell/private-materials 6.2.25 → 6.2.26
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/appointmentBooking/deposit/components/PolicyModal/index.js +1 -1
- package/es/components/booking/components/customSelect/index.js +1 -0
- package/es/components/booking/hooks/useClearCart.js +11 -8
- package/es/components/booking/info/client/index.js +3 -2
- package/es/components/booking/info/hooks/useInfoHolder.js +13 -14
- package/es/components/booking/info/service/Lists.js +37 -27
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/editService/constants.js +3 -0
- package/es/components/booking/info/service/editService/index.js +15 -10
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info/service2/utils.js +20 -21
- package/es/components/booking/info2/index.js +1 -0
- package/es/components/booking/info2/service/addService/utils.js +6 -3
- package/es/components/booking/info2/service/addTimeModal/index.js +3 -0
- package/es/components/booking/info2/service/editService/Resources/index.js +5 -0
- package/es/components/booking/info2/service/editService/index.js +265 -170
- package/es/components/booking/info2/service/index.js +22 -19
- package/es/components/booking/materiels/duration/index.js +9 -2
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.js +51 -47
- package/es/components/shoppingCart/components/Cart/index.js +21 -18
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +171 -151
- package/es/components/ticketBooking/components/timeBar/index.js +77 -73
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -1
- package/lib/components/booking/components/customSelect/index.js +1 -0
- package/lib/components/booking/hooks/useClearCart.js +16 -13
- package/lib/components/booking/info/client/index.js +5 -4
- package/lib/components/booking/info/hooks/useInfoHolder.js +12 -13
- package/lib/components/booking/info/service/Lists.js +36 -24
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/editService/constants.js +31 -0
- package/lib/components/booking/info/service/editService/index.js +7 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info/service2/utils.js +17 -17
- package/lib/components/booking/info2/service/addService/utils.js +4 -2
- package/lib/components/booking/info2/service/addTimeModal/index.js +3 -0
- package/lib/components/booking/info2/service/editService/Resources/index.js +2 -0
- package/lib/components/booking/info2/service/editService/index.js +138 -74
- package/lib/components/booking/info2/service/index.js +14 -10
- package/lib/components/booking/materiels/duration/index.js +7 -2
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.js +32 -28
- package/lib/components/shoppingCart/components/Cart/index.js +18 -15
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +140 -122
- package/lib/components/ticketBooking/components/timeBar/index.js +98 -94
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/booking/addons/index.d.ts +0 -17
- package/es/components/booking/components/actionButtons/index.d.ts +0 -29
- package/es/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/es/components/booking/components/customiseItemModal/index.d.ts +0 -28
- package/es/components/booking/components/tabPane/index.d.ts +0 -4
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/dashboard/index.d.ts +0 -20
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -3
- package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/es/components/booking/info2/cartClientCard/types.d.ts +0 -13
- package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -3
- package/es/components/booking/locales.d.ts +0 -903
- package/es/components/booking/notes/addNote/index.d.ts +0 -3
- package/es/components/shoppingCart/type.d.ts +0 -49
- package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/es/components/ticketBooking/locales.d.ts +0 -177
- package/es/components/ticketBooking/serve.d.ts +0 -287
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useTranslationOriginal.d.ts +0 -1
- package/es/index.d.ts +0 -51
- package/es/plus/clientCard/index.d.ts +0 -7
- package/es/plus/clientCard/line/index.d.ts +0 -9
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clientCard/types.d.ts +0 -126
- package/es/plus/clientCard/utils.d.ts +0 -8
- package/es/plus/clientName/index.d.ts +0 -5
- package/es/plus/clientName/type.d.ts +0 -13
- package/es/plus/clientName/utils.d.ts +0 -2
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/es/plus/clinetSearch/Add/index.d.ts +0 -18
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/es/plus/clinetSearch/index.d.ts +0 -18
- package/es/plus/clinetSearch/locales.d.ts +0 -102
- package/es/plus/clinetSearch/serve.d.ts +0 -1
- package/es/plus/clinetSearch/types.d.ts +0 -49
- package/es/plus/noteModal/AddTempModal.d.ts +0 -7
- package/es/plus/noteModal/index.d.ts +0 -4
- package/es/plus/noteModal/locales.d.ts +0 -33
- package/es/plus/noteModal/types.d.ts +0 -17
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/es/pro/comprehensiveSearch/index.d.ts +0 -9
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -18
- package/es/pro/comprehensiveSearch/types.d.ts +0 -31
- package/es/pro/numberKeyboard/index.d.ts +0 -28
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/pisellNumberSelector/index.d.ts +0 -26
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceRadio/index.d.ts +0 -26
- package/es/pro/skuDetailModal/index.d.ts +0 -5
- package/es/pro/skuDetailModal/locales.d.ts +0 -48
- package/es/pro/skuDetailModal/types.d.ts +0 -347
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/booking/addons/index.d.ts +0 -17
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -29
- package/lib/components/booking/components/clearCartModal/index.d.ts +0 -10
- package/lib/components/booking/components/customiseItemModal/index.d.ts +0 -28
- package/lib/components/booking/components/tabPane/index.d.ts +0 -4
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/dashboard/index.d.ts +0 -20
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -3
- package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -13
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
- package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -3
- package/lib/components/booking/locales.d.ts +0 -903
- package/lib/components/booking/notes/addNote/index.d.ts +0 -3
- package/lib/components/shoppingCart/type.d.ts +0 -49
- package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
- package/lib/components/ticketBooking/locales.d.ts +0 -177
- package/lib/components/ticketBooking/serve.d.ts +0 -287
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useTranslationOriginal.d.ts +0 -1
- package/lib/index.d.ts +0 -51
- package/lib/plus/clientCard/index.d.ts +0 -7
- package/lib/plus/clientCard/line/index.d.ts +0 -9
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clientCard/types.d.ts +0 -126
- package/lib/plus/clientCard/utils.d.ts +0 -8
- package/lib/plus/clientName/index.d.ts +0 -5
- package/lib/plus/clientName/type.d.ts +0 -13
- package/lib/plus/clientName/utils.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/index.d.ts +0 -18
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/lib/plus/clinetSearch/index.d.ts +0 -18
- package/lib/plus/clinetSearch/locales.d.ts +0 -102
- package/lib/plus/clinetSearch/serve.d.ts +0 -1
- package/lib/plus/clinetSearch/types.d.ts +0 -49
- package/lib/plus/noteModal/AddTempModal.d.ts +0 -7
- package/lib/plus/noteModal/index.d.ts +0 -4
- package/lib/plus/noteModal/locales.d.ts +0 -33
- package/lib/plus/noteModal/types.d.ts +0 -17
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/index.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -18
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
- package/lib/pro/numberKeyboard/index.d.ts +0 -28
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellNumberSelector/index.d.ts +0 -26
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
- package/lib/pro/skuDetailModal/index.d.ts +0 -5
- package/lib/pro/skuDetailModal/locales.d.ts +0 -48
- package/lib/pro/skuDetailModal/types.d.ts +0 -347
@@ -1,29 +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
|
-
}
|
28
|
-
declare const ActionButtons: React.FC<ActionButtonsProps>;
|
29
|
-
export default ActionButtons;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
interface ClearCartModalProps {
|
4
|
-
visible: boolean;
|
5
|
-
onCancel: () => void;
|
6
|
-
onClearItemsOnly: () => void;
|
7
|
-
onClearAllAndReset: () => void;
|
8
|
-
}
|
9
|
-
declare const ClearCartModal: React.FC<ClearCartModalProps>;
|
10
|
-
export default ClearCartModal;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './index.less';
|
3
|
-
export interface CustomiseItemModalProps {
|
4
|
-
/** 是否显示弹窗 */
|
5
|
-
visible?: boolean;
|
6
|
-
/** 关闭弹窗回调 */
|
7
|
-
onClose?: () => void;
|
8
|
-
/** 保存回调 */
|
9
|
-
onSave?: (data: CustomiseItemData) => void;
|
10
|
-
/** 货币符号 */
|
11
|
-
currencySymbol?: string;
|
12
|
-
/** 是否禁用 */
|
13
|
-
disabled?: boolean;
|
14
|
-
}
|
15
|
-
export interface CustomiseItemData {
|
16
|
-
/** 商品名称 */
|
17
|
-
productName: string;
|
18
|
-
/** 是否适用优惠券/折扣 */
|
19
|
-
vouchersApplicable: boolean;
|
20
|
-
/** 价格类型:sell(售价) | deduction(手动减价) */
|
21
|
-
priceType: 'sell' | 'deduction';
|
22
|
-
/** 价格值 */
|
23
|
-
priceValue: string;
|
24
|
-
/** 数量 */
|
25
|
-
quantity: number;
|
26
|
-
}
|
27
|
-
declare const CustomiseItemModal: React.FC<CustomiseItemModalProps>;
|
28
|
-
export default CustomiseItemModal;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export interface BookingDashboardProps extends React.HTMLAttributes<HTMLDivElement> {
|
3
|
-
backgroundColors?: string[];
|
4
|
-
labelColor?: string;
|
5
|
-
valueColor?: string;
|
6
|
-
otherParams?: Record<string, any>;
|
7
|
-
refreshKey?: string;
|
8
|
-
onDataChange?: (data: {
|
9
|
-
groupsOnSiteNow: string | number;
|
10
|
-
peopleOnSiteNow: string | number;
|
11
|
-
totalVisitorsToday: string | number;
|
12
|
-
ongoing: string | number;
|
13
|
-
upcoming: string | number;
|
14
|
-
overdue: string | number;
|
15
|
-
completed: string | number;
|
16
|
-
departed: string | number;
|
17
|
-
}, dataList: string[]) => void;
|
18
|
-
}
|
19
|
-
declare const BookingDashboard: React.ForwardRefExoticComponent<BookingDashboardProps & React.RefAttributes<unknown>>;
|
20
|
-
export default BookingDashboard;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { ClientCardRef } from './types';
|
3
|
-
import './index.less';
|
4
|
-
export type { ClientData } from './types';
|
5
|
-
declare const CartClientCard: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<ClientCardRef>>;
|
6
|
-
export default CartClientCard;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
en: {
|
3
|
-
'pisell2.text.switch-account': string;
|
4
|
-
'pisell2.text.cancel': string;
|
5
|
-
'pisell2.text.cart-client-card': (name: string) => string;
|
6
|
-
'pisell2.text.add-client-success': string;
|
7
|
-
};
|
8
|
-
'zh-CN': {
|
9
|
-
'pisell2.text.switch-account': string;
|
10
|
-
'pisell2.text.cancel': string;
|
11
|
-
'pisell2.text.cart-client-card': (name: string) => string;
|
12
|
-
'pisell2.text.add-client-success': string;
|
13
|
-
};
|
14
|
-
'zh-HK': {
|
15
|
-
'pisell2.text.switch-account': string;
|
16
|
-
'pisell2.text.cancel': string;
|
17
|
-
'pisell2.text.cart-client-card': (name: string) => string;
|
18
|
-
'pisell2.text.add-client-success': string;
|
19
|
-
};
|
20
|
-
};
|
21
|
-
export default _default;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { ClientData as ClientCardData } from '../../../../plus/clientCard/types';
|
2
|
-
import type { ClientData as ClientSearchData } from '../../../../plus/clinetSearch/types';
|
3
|
-
export interface ClientData extends ClientCardData {
|
4
|
-
latest_wallet_detail?: any;
|
5
|
-
}
|
6
|
-
export interface CartClientCardState {
|
7
|
-
clientData?: ClientData;
|
8
|
-
searchModalVisible: boolean;
|
9
|
-
}
|
10
|
-
export declare type ClientDataConverter = (searchData: ClientSearchData) => ClientData;
|
11
|
-
export declare type ClientCardRef = {
|
12
|
-
handleSetClient: (record: ClientData) => void;
|
13
|
-
};
|