@pisell/private-materials 6.1.24 → 6.1.25
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.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info2/index.js +2 -2
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/es/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/index.js +4 -2
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info2/index.js +5 -7
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.js +2 -2
- package/package.json +12 -12
- 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/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/index.d.ts +0 -3
- package/es/components/booking/info/service/Lists.d.ts +0 -2
- package/es/components/booking/info/service/addService/index.d.ts +0 -11
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -4
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/Lists.d.ts +0 -2
- package/es/components/booking/info/service2/utils.d.ts +0 -251
- package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/es/components/booking/locales.d.ts +0 -906
- package/es/components/booking/materiels/duration/index.d.ts +0 -13
- package/es/components/booking/materiels/startTime/index.d.ts +0 -9
- package/es/components/booking/utils.d.ts +0 -174
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/es/components/pay/toB/components/Cache/index.d.ts +0 -10
- package/es/components/pay/toB/components/Card/index.d.ts +0 -7
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -7
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -6
- package/es/components/pay/toB/components/Content/Footer.d.ts +0 -7
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/es/components/pay/toB/components/Content/index.d.ts +0 -4
- package/es/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/es/components/pay/toB/components/index.d.ts +0 -5
- package/es/components/pay/toB/hooks.d.ts +0 -12
- package/es/components/pay/toB/index.d.ts +0 -3
- package/es/components/pay/toB/locales.d.ts +0 -54
- package/es/components/pay/toB/store/context.d.ts +0 -3
- package/es/components/pay/toB/store/hooks.d.ts +0 -15
- package/es/components/pay/toB/store/index.d.ts +0 -3
- package/es/components/pay/toB/store/provider.d.ts +0 -4
- package/es/components/pay/toB/store/utils.d.ts +0 -13
- package/es/components/pay/toB/types/index.d.ts +0 -1
- package/es/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/locales.d.ts +0 -180
- package/es/components/ticketBooking/serve.d.ts +0 -288
- package/es/components/ticketBooking/utils/index.d.ts +0 -62
- package/es/components/walletList/index.d.ts +0 -28
- package/es/hooks/useEngineContext.d.ts +0 -3
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/es/plus/clinetSearch/index.d.ts +0 -18
- package/es/pro/comprehensiveSearch/index.d.ts +0 -9
- package/es/pro/comprehensiveSearch/types.d.ts +0 -31
- package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/es/pro/skuDetailModal/index.d.ts +0 -5
- 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/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/index.d.ts +0 -3
- package/lib/components/booking/info/service/Lists.d.ts +0 -2
- package/lib/components/booking/info/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -4
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/Lists.d.ts +0 -2
- package/lib/components/booking/info/service2/utils.d.ts +0 -251
- package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -5
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -36
- package/lib/components/booking/locales.d.ts +0 -906
- package/lib/components/booking/materiels/duration/index.d.ts +0 -13
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -9
- package/lib/components/booking/utils.d.ts +0 -174
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -11
- package/lib/components/pay/toB/components/Cache/index.d.ts +0 -10
- package/lib/components/pay/toB/components/Card/index.d.ts +0 -7
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -7
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -6
- package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -7
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -4
- package/lib/components/pay/toB/components/Content/index.d.ts +0 -4
- package/lib/components/pay/toB/components/Content/utils.d.ts +0 -16
- package/lib/components/pay/toB/components/index.d.ts +0 -5
- package/lib/components/pay/toB/hooks.d.ts +0 -12
- package/lib/components/pay/toB/index.d.ts +0 -3
- package/lib/components/pay/toB/locales.d.ts +0 -54
- package/lib/components/pay/toB/store/context.d.ts +0 -3
- package/lib/components/pay/toB/store/hooks.d.ts +0 -15
- package/lib/components/pay/toB/store/index.d.ts +0 -3
- package/lib/components/pay/toB/store/provider.d.ts +0 -4
- package/lib/components/pay/toB/store/utils.d.ts +0 -13
- package/lib/components/pay/toB/types/index.d.ts +0 -1
- package/lib/components/pay/toB/types/storeTypes.d.ts +0 -143
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -38
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -13
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/locales.d.ts +0 -180
- package/lib/components/ticketBooking/serve.d.ts +0 -288
- package/lib/components/ticketBooking/utils/index.d.ts +0 -62
- package/lib/components/walletList/index.d.ts +0 -28
- package/lib/hooks/useEngineContext.d.ts +0 -3
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
- package/lib/plus/clinetSearch/index.d.ts +0 -18
- package/lib/pro/comprehensiveSearch/index.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
- package/lib/pro/skuDetailModal/index.d.ts +0 -5
@@ -1,98 +0,0 @@
|
|
1
|
-
import dayjs from 'dayjs';
|
2
|
-
export declare const getUsableTime: (cacheItem: any) => any;
|
3
|
-
export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
|
4
|
-
startDate: dayjs.Dayjs;
|
5
|
-
usableTime: any;
|
6
|
-
duration: string | number | {
|
7
|
-
type: string;
|
8
|
-
value: number;
|
9
|
-
};
|
10
|
-
locale: string;
|
11
|
-
slice: any;
|
12
|
-
selectProps: {
|
13
|
-
size: string;
|
14
|
-
};
|
15
|
-
};
|
16
|
-
/**
|
17
|
-
* @title: 灵活时长选项
|
18
|
-
* @description:
|
19
|
-
* @param {*} useMemo
|
20
|
-
* @return {*}
|
21
|
-
* @Author: zhiwei.Wang
|
22
|
-
* @Date: 2024-02-23 10:10
|
23
|
-
*/
|
24
|
-
export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
|
25
|
-
label: any;
|
26
|
-
value: any;
|
27
|
-
} | null;
|
28
|
-
export declare const getTimeSlices: ({ state }: any) => {
|
29
|
-
timeSlices: {
|
30
|
-
label: string;
|
31
|
-
value: string;
|
32
|
-
}[];
|
33
|
-
};
|
34
|
-
/**
|
35
|
-
* @title: 时间切片
|
36
|
-
* @description:
|
37
|
-
* @return {*}
|
38
|
-
* @Author: zhiwei.Wang
|
39
|
-
* @Date: 2024-01-09 13:37
|
40
|
-
*/
|
41
|
-
export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
|
42
|
-
timeSlices: {
|
43
|
-
label: string;
|
44
|
-
value: string;
|
45
|
-
}[];
|
46
|
-
durationSlicesBasedOnTime: {
|
47
|
-
label: string;
|
48
|
-
value: number;
|
49
|
-
}[];
|
50
|
-
};
|
51
|
-
/**
|
52
|
-
* @title: 获取资源列表
|
53
|
-
* @description:
|
54
|
-
* @return {*}
|
55
|
-
* @Author: zhiwei.Wang
|
56
|
-
* @Date: 2024-01-09 13:38
|
57
|
-
*/
|
58
|
-
export declare const formatResources: ({ cacheItem, resourcesOrigin, id }: any) => {
|
59
|
-
list: any;
|
60
|
-
maps: any;
|
61
|
-
};
|
62
|
-
export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
|
63
|
-
/**
|
64
|
-
* @title: 设置默认容量
|
65
|
-
* @description:
|
66
|
-
* @param {any} param1
|
67
|
-
* @return {*}
|
68
|
-
* @Author: zhiwei.Wang
|
69
|
-
* @Date: 2024-09-19 20:26
|
70
|
-
*/
|
71
|
-
export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
|
72
|
-
/**
|
73
|
-
* @title: 将商品内关联的资源id还原成数据
|
74
|
-
* @description:
|
75
|
-
* @param {any} resourcesOriginMap
|
76
|
-
* @param {any} cacheItem
|
77
|
-
* @return {*}
|
78
|
-
* @Author: zhiwei.Wang
|
79
|
-
* @Date: 2024-09-19 20:23
|
80
|
-
*/
|
81
|
-
export declare const getResourceByIds: (resourcesOriginMap: any, cacheItem: any, extraParams?: any) => any[];
|
82
|
-
/**
|
83
|
-
* @title: 预生成服务的 extend
|
84
|
-
* @description:
|
85
|
-
* @param {any} param1
|
86
|
-
* @return {*}
|
87
|
-
* @Author: zhiwei.Wang
|
88
|
-
* @Date: 2024-06-01 13:25
|
89
|
-
*/
|
90
|
-
export declare const getProductExtend: ({ cacheItem, state, isDisabledTime }: any) => any;
|
91
|
-
/**
|
92
|
-
* @title: 格式化服务列表
|
93
|
-
* @description: 后端列表返回的product_resource.resources 的optional_resource等不是最新数据
|
94
|
-
* 使用with resourceRelation后 返回的resource_relation是实时数据
|
95
|
-
* 这里做一次转换
|
96
|
-
* @param list
|
97
|
-
*/
|
98
|
-
export declare const transServiceList: (list: any[]) => any[];
|
@@ -1,36 +0,0 @@
|
|
1
|
-
export declare const getResourceTimeIsUsable: (item: any, cacheItem: any, resourceItem: any) => any;
|
2
|
-
export declare const getSumCapacity: ({ cacheItem }: any, isCalcQuantity?: boolean) => number;
|
3
|
-
/**
|
4
|
-
* @title: 查找是否有可用的time
|
5
|
-
* @description:
|
6
|
-
* @param {any} resourceItem
|
7
|
-
* @return {*}
|
8
|
-
* @Author: zhiwei.Wang
|
9
|
-
* @Date: 2024-01-09 13:57
|
10
|
-
*/
|
11
|
-
export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
|
12
|
-
export declare const getErrorList: (resource: any, cacheItem: any) => {
|
13
|
-
label: any;
|
14
|
-
type: string;
|
15
|
-
}[];
|
16
|
-
/**
|
17
|
-
* @title: 格式化资源, 添加自定义参数
|
18
|
-
* @description:
|
19
|
-
* @param {any} resourceItem
|
20
|
-
* @return {*}
|
21
|
-
* @Author: zhiwei.Wang
|
22
|
-
* @Date: 2024-01-09 13:40
|
23
|
-
*/
|
24
|
-
export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
|
25
|
-
export declare const getAppointmentTimingPreference: (state: any) => any;
|
26
|
-
/**
|
27
|
-
* @title: 创建服务的开始时间和结束时间
|
28
|
-
* @description:
|
29
|
-
* @param {any} state
|
30
|
-
* @param {any} item
|
31
|
-
* @return {*}
|
32
|
-
* @Author: zhiwei.Wang
|
33
|
-
* @Date: 2024-01-26 14:09
|
34
|
-
*/
|
35
|
-
export declare const getServiceStartTimeAndEndTime: (state: any, cacheItem: any, timeObj: any) => any;
|
36
|
-
export declare const getIsNoSpecAndPackage: (product: any) => boolean;
|