@pisell/private-materials 6.11.38 → 6.11.39
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/addons/model.d.ts +10 -1
- package/es/components/booking/components/footer/index.js +38 -34
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/hooks/usePromotion.d.ts +301 -0
- package/es/components/booking/hooks/useQuotation.js +12 -8
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/Lists.d.ts +3 -0
- package/es/components/booking/info/service2/utils.d.ts +226 -0
- package/es/components/booking/info2/service/editService/index.d.ts +8 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils/confirmHolderModal.d.ts +13 -0
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/es/components/shoppingCart/hooks/usePromotionModal.js +4 -2
- package/es/components/shoppingCart/server.js +4 -2
- package/es/components/shoppingCart/type.d.ts +58 -0
- package/es/components/shoppingCart/utils.d.ts +192 -0
- package/es/components/shoppingCart/utils.js +1 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +13 -12
- package/es/pro/skuDetailModal/types.d.ts +395 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/footer/index.js +2 -1
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/hooks/usePromotion.d.ts +301 -0
- package/lib/components/booking/hooks/useQuotation.js +6 -2
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/Lists.d.ts +3 -0
- package/lib/components/booking/info/service2/utils.d.ts +226 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +8 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils/confirmHolderModal.d.ts +13 -0
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/lib/components/shoppingCart/hooks/usePromotionModal.js +5 -3
- package/lib/components/shoppingCart/server.js +3 -1
- package/lib/components/shoppingCart/type.d.ts +58 -0
- package/lib/components/shoppingCart/utils.d.ts +192 -0
- package/lib/components/shoppingCart/utils.js +1 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +2 -2
- package/lib/pro/skuDetailModal/types.d.ts +395 -0
- package/package.json +2 -2
- package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/es/components/eftposPay/huifu/const.d.ts +0 -5
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/payo/const.d.ts +0 -26
- package/es/components/eftposPay/tyro/const.d.ts +0 -17
- package/es/components/eftposPay/windcave/const.d.ts +0 -119
- package/es/plus/pisellSalesGrid/PisellSalesGrid.d.ts +0 -5
- package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -185
- package/es/plus/pisellSalesManagement/config/order.d.ts +0 -172
- package/es/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +0 -2
- package/es/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +0 -2
- package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
- package/lib/components/eftposPay/huifu/const.d.ts +0 -5
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/payo/const.d.ts +0 -26
- package/lib/components/eftposPay/tyro/const.d.ts +0 -17
- package/lib/components/eftposPay/windcave/const.d.ts +0 -119
- package/lib/plus/pisellSalesGrid/PisellSalesGrid.d.ts +0 -5
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -185
- package/lib/plus/pisellSalesManagement/config/order.d.ts +0 -172
- package/lib/plus/pisellSalesManagement/hooks/useBookingPerspective.d.ts +0 -2
- package/lib/plus/pisellSalesManagement/hooks/useOrderPerspective.d.ts +0 -2
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
export declare const getBookingStatusMap: () => Record<string, string>;
|
|
2
|
-
export declare const BOOKING_STATUS_COLOR_MAP: Record<string, string>;
|
|
3
|
-
export declare const getBookingPlatformMap: () => Record<string, string>;
|
|
4
|
-
export declare const getBookingHeaderLabels: () => Record<string, string>;
|
|
5
|
-
export declare const defaultPaymentStatusKeys: string[];
|
|
6
|
-
export declare const getFilterButtonList: () => ({
|
|
7
|
-
name: string;
|
|
8
|
-
type: string;
|
|
9
|
-
key: string;
|
|
10
|
-
label: any;
|
|
11
|
-
other: {
|
|
12
|
-
allowClear: boolean;
|
|
13
|
-
mode: string;
|
|
14
|
-
maxTagCount: string;
|
|
15
|
-
placeholder: any;
|
|
16
|
-
options: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: string;
|
|
19
|
-
}[];
|
|
20
|
-
minInputNumberProps?: undefined;
|
|
21
|
-
maxInputNumberProps?: undefined;
|
|
22
|
-
component?: undefined;
|
|
23
|
-
isSearchServer?: undefined;
|
|
24
|
-
showSearch?: undefined;
|
|
25
|
-
showTime?: undefined;
|
|
26
|
-
};
|
|
27
|
-
sort?: undefined;
|
|
28
|
-
localFilter?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
name: string;
|
|
31
|
-
type: string;
|
|
32
|
-
key: string;
|
|
33
|
-
label: any;
|
|
34
|
-
other: {
|
|
35
|
-
placeholder: any;
|
|
36
|
-
minInputNumberProps: {
|
|
37
|
-
min: number;
|
|
38
|
-
precision: number;
|
|
39
|
-
};
|
|
40
|
-
maxInputNumberProps: {
|
|
41
|
-
min: number;
|
|
42
|
-
precision: number;
|
|
43
|
-
};
|
|
44
|
-
allowClear?: undefined;
|
|
45
|
-
mode?: undefined;
|
|
46
|
-
maxTagCount?: undefined;
|
|
47
|
-
options?: undefined;
|
|
48
|
-
component?: undefined;
|
|
49
|
-
isSearchServer?: undefined;
|
|
50
|
-
showSearch?: undefined;
|
|
51
|
-
showTime?: undefined;
|
|
52
|
-
};
|
|
53
|
-
sort?: undefined;
|
|
54
|
-
localFilter?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
name: string;
|
|
57
|
-
type: string;
|
|
58
|
-
key: string;
|
|
59
|
-
label: any;
|
|
60
|
-
sort: boolean;
|
|
61
|
-
localFilter: boolean;
|
|
62
|
-
other: {
|
|
63
|
-
allowClear: boolean;
|
|
64
|
-
mode: string;
|
|
65
|
-
maxTagCount: string;
|
|
66
|
-
component: (props: {
|
|
67
|
-
value?: string | number | (string | number)[] | undefined;
|
|
68
|
-
onChange?: ((value: (string | number)[]) => void) | undefined;
|
|
69
|
-
className?: string | undefined;
|
|
70
|
-
style?: import("react").CSSProperties | undefined;
|
|
71
|
-
}) => import("react").JSX.Element;
|
|
72
|
-
placeholder?: undefined;
|
|
73
|
-
options?: undefined;
|
|
74
|
-
minInputNumberProps?: undefined;
|
|
75
|
-
maxInputNumberProps?: undefined;
|
|
76
|
-
isSearchServer?: undefined;
|
|
77
|
-
showSearch?: undefined;
|
|
78
|
-
showTime?: undefined;
|
|
79
|
-
};
|
|
80
|
-
} | {
|
|
81
|
-
name: string;
|
|
82
|
-
type: string;
|
|
83
|
-
key: string;
|
|
84
|
-
label: any;
|
|
85
|
-
other: {
|
|
86
|
-
allowClear: boolean;
|
|
87
|
-
mode: string;
|
|
88
|
-
maxTagCount: string;
|
|
89
|
-
placeholder: any;
|
|
90
|
-
options: () => Promise<any>;
|
|
91
|
-
minInputNumberProps?: undefined;
|
|
92
|
-
maxInputNumberProps?: undefined;
|
|
93
|
-
component?: undefined;
|
|
94
|
-
isSearchServer?: undefined;
|
|
95
|
-
showSearch?: undefined;
|
|
96
|
-
showTime?: undefined;
|
|
97
|
-
};
|
|
98
|
-
sort?: undefined;
|
|
99
|
-
localFilter?: undefined;
|
|
100
|
-
} | {
|
|
101
|
-
name: string;
|
|
102
|
-
type: string;
|
|
103
|
-
key: string;
|
|
104
|
-
label: any;
|
|
105
|
-
other: {
|
|
106
|
-
placeholder: any;
|
|
107
|
-
allowClear?: undefined;
|
|
108
|
-
mode?: undefined;
|
|
109
|
-
maxTagCount?: undefined;
|
|
110
|
-
options?: undefined;
|
|
111
|
-
minInputNumberProps?: undefined;
|
|
112
|
-
maxInputNumberProps?: undefined;
|
|
113
|
-
component?: undefined;
|
|
114
|
-
isSearchServer?: undefined;
|
|
115
|
-
showSearch?: undefined;
|
|
116
|
-
showTime?: undefined;
|
|
117
|
-
};
|
|
118
|
-
sort?: undefined;
|
|
119
|
-
localFilter?: undefined;
|
|
120
|
-
} | {
|
|
121
|
-
name: string;
|
|
122
|
-
type: string;
|
|
123
|
-
key: string;
|
|
124
|
-
label: any;
|
|
125
|
-
other: {
|
|
126
|
-
allowClear: boolean;
|
|
127
|
-
isSearchServer: boolean;
|
|
128
|
-
showSearch: boolean;
|
|
129
|
-
placeholder: any;
|
|
130
|
-
options: (params?: string) => Promise<any>;
|
|
131
|
-
mode?: undefined;
|
|
132
|
-
maxTagCount?: undefined;
|
|
133
|
-
minInputNumberProps?: undefined;
|
|
134
|
-
maxInputNumberProps?: undefined;
|
|
135
|
-
component?: undefined;
|
|
136
|
-
showTime?: undefined;
|
|
137
|
-
};
|
|
138
|
-
sort?: undefined;
|
|
139
|
-
localFilter?: undefined;
|
|
140
|
-
} | {
|
|
141
|
-
name: string;
|
|
142
|
-
type: string;
|
|
143
|
-
key: string;
|
|
144
|
-
label: any;
|
|
145
|
-
other: {
|
|
146
|
-
placeholder: any;
|
|
147
|
-
showTime: boolean;
|
|
148
|
-
allowClear?: undefined;
|
|
149
|
-
mode?: undefined;
|
|
150
|
-
maxTagCount?: undefined;
|
|
151
|
-
options?: undefined;
|
|
152
|
-
minInputNumberProps?: undefined;
|
|
153
|
-
maxInputNumberProps?: undefined;
|
|
154
|
-
component?: undefined;
|
|
155
|
-
isSearchServer?: undefined;
|
|
156
|
-
showSearch?: undefined;
|
|
157
|
-
};
|
|
158
|
-
sort?: undefined;
|
|
159
|
-
localFilter?: undefined;
|
|
160
|
-
})[];
|
|
161
|
-
export declare const getSortList: () => ({
|
|
162
|
-
type: string;
|
|
163
|
-
isCustom: boolean;
|
|
164
|
-
name: string;
|
|
165
|
-
label: any;
|
|
166
|
-
getSortItems: () => {
|
|
167
|
-
key: string;
|
|
168
|
-
label: any;
|
|
169
|
-
}[];
|
|
170
|
-
other?: undefined;
|
|
171
|
-
} | {
|
|
172
|
-
type: string;
|
|
173
|
-
isCustom: boolean;
|
|
174
|
-
name: string;
|
|
175
|
-
label: any;
|
|
176
|
-
getSortItems: () => {
|
|
177
|
-
key: string;
|
|
178
|
-
label: any;
|
|
179
|
-
}[];
|
|
180
|
-
other: {
|
|
181
|
-
style: {
|
|
182
|
-
width: string;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
})[];
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取支付状态映射
|
|
3
|
-
*/
|
|
4
|
-
export declare const getPaymentStatusMap: () => Record<string, string>;
|
|
5
|
-
export declare const PAYMENT_STATUS_COLOR_MAP: Record<string, string>;
|
|
6
|
-
export declare const getPlatformMap: () => Record<string, string>;
|
|
7
|
-
/**
|
|
8
|
-
* 获取订单状态映射
|
|
9
|
-
* @param locales - 多语言对象
|
|
10
|
-
*/
|
|
11
|
-
export declare const getOrderStatusMap: () => Record<string, string>;
|
|
12
|
-
export declare const ORDER_STATUS_COLOR_MAP: Record<string, {
|
|
13
|
-
borderColor: string;
|
|
14
|
-
textColor: string;
|
|
15
|
-
}>;
|
|
16
|
-
/**
|
|
17
|
-
* 获取处理状态映射
|
|
18
|
-
*/
|
|
19
|
-
export declare const getShippingStatusMap: () => Record<string, string>;
|
|
20
|
-
export declare const FULFILLMENT_STATUS_COLOR_MAP: Record<string, {
|
|
21
|
-
borderColor: string;
|
|
22
|
-
textColor: string;
|
|
23
|
-
}>;
|
|
24
|
-
/**
|
|
25
|
-
* 获取配送方式映射
|
|
26
|
-
*/
|
|
27
|
-
export declare const getDeliveryTypeMap: () => Record<string, string>;
|
|
28
|
-
/**
|
|
29
|
-
* 获取到店服务类型映射
|
|
30
|
-
* @param locales - 多语言对象
|
|
31
|
-
*/
|
|
32
|
-
export declare const getShopServiceTypeMap: () => Record<string, string>;
|
|
33
|
-
export declare const DELIVERY_TYPE_COLOR_MAP: Record<string, string>;
|
|
34
|
-
export declare const SHOP_SERVICE_TYPE_COLOR_MAP: Record<string, string>;
|
|
35
|
-
export declare const getOrderHeaderLabels: () => Record<string, string>;
|
|
36
|
-
export declare const defaultPaymentStatusKeys: string[];
|
|
37
|
-
export declare const getFilterButtonList: () => ({
|
|
38
|
-
name: string;
|
|
39
|
-
type: string;
|
|
40
|
-
key: string;
|
|
41
|
-
label: any;
|
|
42
|
-
other: {
|
|
43
|
-
allowClear: boolean;
|
|
44
|
-
mode: string;
|
|
45
|
-
maxTagCount: string;
|
|
46
|
-
placeholder: any;
|
|
47
|
-
options: {
|
|
48
|
-
label: string;
|
|
49
|
-
value: string;
|
|
50
|
-
}[];
|
|
51
|
-
isSearchServer?: undefined;
|
|
52
|
-
showSearch?: undefined;
|
|
53
|
-
minInputNumberProps?: undefined;
|
|
54
|
-
maxInputNumberProps?: undefined;
|
|
55
|
-
};
|
|
56
|
-
} | {
|
|
57
|
-
name: string;
|
|
58
|
-
type: string;
|
|
59
|
-
key: string;
|
|
60
|
-
label: any;
|
|
61
|
-
other: {
|
|
62
|
-
allowClear: boolean;
|
|
63
|
-
isSearchServer: boolean;
|
|
64
|
-
showSearch: boolean;
|
|
65
|
-
placeholder: any;
|
|
66
|
-
options: (params?: string) => Promise<any>;
|
|
67
|
-
mode?: undefined;
|
|
68
|
-
maxTagCount?: undefined;
|
|
69
|
-
minInputNumberProps?: undefined;
|
|
70
|
-
maxInputNumberProps?: undefined;
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
name: string;
|
|
74
|
-
type: string;
|
|
75
|
-
key: string;
|
|
76
|
-
label: any;
|
|
77
|
-
other: {
|
|
78
|
-
allowClear: boolean;
|
|
79
|
-
mode: string;
|
|
80
|
-
maxTagCount: string;
|
|
81
|
-
placeholder: any;
|
|
82
|
-
options: () => Promise<any>;
|
|
83
|
-
isSearchServer?: undefined;
|
|
84
|
-
showSearch?: undefined;
|
|
85
|
-
minInputNumberProps?: undefined;
|
|
86
|
-
maxInputNumberProps?: undefined;
|
|
87
|
-
};
|
|
88
|
-
} | {
|
|
89
|
-
name: string;
|
|
90
|
-
type: string;
|
|
91
|
-
key: string;
|
|
92
|
-
label: any;
|
|
93
|
-
other: {
|
|
94
|
-
placeholder: any;
|
|
95
|
-
minInputNumberProps: {
|
|
96
|
-
min: number;
|
|
97
|
-
};
|
|
98
|
-
maxInputNumberProps: {
|
|
99
|
-
min: number;
|
|
100
|
-
};
|
|
101
|
-
allowClear?: undefined;
|
|
102
|
-
mode?: undefined;
|
|
103
|
-
maxTagCount?: undefined;
|
|
104
|
-
options?: undefined;
|
|
105
|
-
isSearchServer?: undefined;
|
|
106
|
-
showSearch?: undefined;
|
|
107
|
-
};
|
|
108
|
-
} | {
|
|
109
|
-
name: string;
|
|
110
|
-
type: string;
|
|
111
|
-
key: string;
|
|
112
|
-
label: any;
|
|
113
|
-
other: {
|
|
114
|
-
allowClear: boolean;
|
|
115
|
-
mode: string;
|
|
116
|
-
maxTagCount: string;
|
|
117
|
-
isSearchServer: boolean;
|
|
118
|
-
showSearch: boolean;
|
|
119
|
-
placeholder: any;
|
|
120
|
-
options: (params?: string) => Promise<any>;
|
|
121
|
-
minInputNumberProps?: undefined;
|
|
122
|
-
maxInputNumberProps?: undefined;
|
|
123
|
-
};
|
|
124
|
-
} | {
|
|
125
|
-
name: string;
|
|
126
|
-
type: string;
|
|
127
|
-
key: string;
|
|
128
|
-
label: any;
|
|
129
|
-
other: {
|
|
130
|
-
placeholder: any;
|
|
131
|
-
allowClear?: undefined;
|
|
132
|
-
mode?: undefined;
|
|
133
|
-
maxTagCount?: undefined;
|
|
134
|
-
options?: undefined;
|
|
135
|
-
isSearchServer?: undefined;
|
|
136
|
-
showSearch?: undefined;
|
|
137
|
-
minInputNumberProps?: undefined;
|
|
138
|
-
maxInputNumberProps?: undefined;
|
|
139
|
-
};
|
|
140
|
-
} | {
|
|
141
|
-
name: string;
|
|
142
|
-
type: string;
|
|
143
|
-
key: string;
|
|
144
|
-
label: any;
|
|
145
|
-
other: {
|
|
146
|
-
allowClear: boolean;
|
|
147
|
-
placeholder: any;
|
|
148
|
-
options: () => Promise<any>;
|
|
149
|
-
mode?: undefined;
|
|
150
|
-
maxTagCount?: undefined;
|
|
151
|
-
isSearchServer?: undefined;
|
|
152
|
-
showSearch?: undefined;
|
|
153
|
-
minInputNumberProps?: undefined;
|
|
154
|
-
maxInputNumberProps?: undefined;
|
|
155
|
-
};
|
|
156
|
-
})[];
|
|
157
|
-
export declare const getSortList: () => ({
|
|
158
|
-
type: string;
|
|
159
|
-
isCustom: boolean;
|
|
160
|
-
name: string;
|
|
161
|
-
label: any;
|
|
162
|
-
getSortItems: () => {
|
|
163
|
-
key: string;
|
|
164
|
-
label: any;
|
|
165
|
-
}[];
|
|
166
|
-
} | {
|
|
167
|
-
type: string;
|
|
168
|
-
isCustom: boolean;
|
|
169
|
-
name: string;
|
|
170
|
-
label: any;
|
|
171
|
-
getSortItems?: undefined;
|
|
172
|
-
})[];
|