@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.
Files changed (212) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -1
  8. package/es/components/booking/components/customSelect/index.js +1 -0
  9. package/es/components/booking/hooks/useClearCart.js +11 -8
  10. package/es/components/booking/info/client/index.js +3 -2
  11. package/es/components/booking/info/hooks/useInfoHolder.js +13 -14
  12. package/es/components/booking/info/service/Lists.js +37 -27
  13. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  14. package/es/components/booking/info/service/editService/constants.js +3 -0
  15. package/es/components/booking/info/service/editService/index.js +15 -10
  16. package/es/components/booking/info/service2/utils.d.ts +1 -1
  17. package/es/components/booking/info/service2/utils.js +20 -21
  18. package/es/components/booking/info2/index.js +1 -0
  19. package/es/components/booking/info2/service/addService/utils.js +6 -3
  20. package/es/components/booking/info2/service/addTimeModal/index.js +3 -0
  21. package/es/components/booking/info2/service/editService/Resources/index.js +5 -0
  22. package/es/components/booking/info2/service/editService/index.js +265 -170
  23. package/es/components/booking/info2/service/index.js +22 -19
  24. package/es/components/booking/materiels/duration/index.js +9 -2
  25. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  26. package/es/components/shoppingCart/components/Cart/Product.js +51 -47
  27. package/es/components/shoppingCart/components/Cart/index.js +21 -18
  28. package/es/components/ticketBooking/components/addServiceVariant/addService.js +171 -151
  29. package/es/components/ticketBooking/components/timeBar/index.js +77 -73
  30. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  31. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +1 -1
  32. package/lib/components/booking/components/customSelect/index.js +1 -0
  33. package/lib/components/booking/hooks/useClearCart.js +16 -13
  34. package/lib/components/booking/info/client/index.js +5 -4
  35. package/lib/components/booking/info/hooks/useInfoHolder.js +12 -13
  36. package/lib/components/booking/info/service/Lists.js +36 -24
  37. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  38. package/lib/components/booking/info/service/editService/constants.js +31 -0
  39. package/lib/components/booking/info/service/editService/index.js +7 -1
  40. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  41. package/lib/components/booking/info/service2/utils.js +17 -17
  42. package/lib/components/booking/info2/service/addService/utils.js +4 -2
  43. package/lib/components/booking/info2/service/addTimeModal/index.js +3 -0
  44. package/lib/components/booking/info2/service/editService/Resources/index.js +2 -0
  45. package/lib/components/booking/info2/service/editService/index.js +138 -74
  46. package/lib/components/booking/info2/service/index.js +14 -10
  47. package/lib/components/booking/materiels/duration/index.js +7 -2
  48. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  49. package/lib/components/shoppingCart/components/Cart/Product.js +32 -28
  50. package/lib/components/shoppingCart/components/Cart/index.js +18 -15
  51. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +140 -122
  52. package/lib/components/ticketBooking/components/timeBar/index.js +98 -94
  53. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  54. package/package.json +3 -3
  55. package/es/components/Sales/Cart/index.d.ts +0 -53
  56. package/es/components/booking/addons/index.d.ts +0 -17
  57. package/es/components/booking/components/actionButtons/index.d.ts +0 -29
  58. package/es/components/booking/components/clearCartModal/index.d.ts +0 -10
  59. package/es/components/booking/components/customiseItemModal/index.d.ts +0 -28
  60. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  61. package/es/components/booking/components/voucher/index.d.ts +0 -3
  62. package/es/components/booking/dashboard/index.d.ts +0 -20
  63. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -3
  64. package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
  65. package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
  66. package/es/components/booking/info2/cartClientCard/types.d.ts +0 -13
  67. package/es/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  68. package/es/components/booking/info2/service/editNormalService/index.d.ts +0 -3
  69. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -3
  70. package/es/components/booking/locales.d.ts +0 -903
  71. package/es/components/booking/notes/addNote/index.d.ts +0 -3
  72. package/es/components/shoppingCart/type.d.ts +0 -49
  73. package/es/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  74. package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  75. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
  76. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  77. package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
  78. package/es/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
  79. package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  80. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  81. package/es/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  82. package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
  83. package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
  84. package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  85. package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  86. package/es/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
  87. package/es/components/ticketBooking/locales.d.ts +0 -177
  88. package/es/components/ticketBooking/serve.d.ts +0 -287
  89. package/es/hooks/useToast.d.ts +0 -2
  90. package/es/hooks/useTranslationOriginal.d.ts +0 -1
  91. package/es/index.d.ts +0 -51
  92. package/es/plus/clientCard/index.d.ts +0 -7
  93. package/es/plus/clientCard/line/index.d.ts +0 -9
  94. package/es/plus/clientCard/locales.d.ts +0 -18
  95. package/es/plus/clientCard/types.d.ts +0 -126
  96. package/es/plus/clientCard/utils.d.ts +0 -8
  97. package/es/plus/clientName/index.d.ts +0 -5
  98. package/es/plus/clientName/type.d.ts +0 -13
  99. package/es/plus/clientName/utils.d.ts +0 -2
  100. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
  101. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
  102. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
  103. package/es/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
  104. package/es/plus/clinetSearch/Add/index.d.ts +0 -18
  105. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
  106. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
  107. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
  108. package/es/plus/clinetSearch/index.d.ts +0 -18
  109. package/es/plus/clinetSearch/locales.d.ts +0 -102
  110. package/es/plus/clinetSearch/serve.d.ts +0 -1
  111. package/es/plus/clinetSearch/types.d.ts +0 -49
  112. package/es/plus/noteModal/AddTempModal.d.ts +0 -7
  113. package/es/plus/noteModal/index.d.ts +0 -4
  114. package/es/plus/noteModal/locales.d.ts +0 -33
  115. package/es/plus/noteModal/types.d.ts +0 -17
  116. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
  117. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
  118. package/es/pro/comprehensiveSearch/index.d.ts +0 -9
  119. package/es/pro/comprehensiveSearch/locales.d.ts +0 -18
  120. package/es/pro/comprehensiveSearch/types.d.ts +0 -31
  121. package/es/pro/numberKeyboard/index.d.ts +0 -28
  122. package/es/pro/numberKeyboard/locales.d.ts +0 -12
  123. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  124. package/es/pro/pisellNumberSelector/index.d.ts +0 -26
  125. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -12
  126. package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  127. package/es/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
  128. package/es/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  129. package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  130. package/es/pro/pisellPriceRadio/index.d.ts +0 -26
  131. package/es/pro/skuDetailModal/index.d.ts +0 -5
  132. package/es/pro/skuDetailModal/locales.d.ts +0 -48
  133. package/es/pro/skuDetailModal/types.d.ts +0 -347
  134. package/lib/components/Sales/Cart/index.d.ts +0 -53
  135. package/lib/components/booking/addons/index.d.ts +0 -17
  136. package/lib/components/booking/components/actionButtons/index.d.ts +0 -29
  137. package/lib/components/booking/components/clearCartModal/index.d.ts +0 -10
  138. package/lib/components/booking/components/customiseItemModal/index.d.ts +0 -28
  139. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  140. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  141. package/lib/components/booking/dashboard/index.d.ts +0 -20
  142. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -3
  143. package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
  144. package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
  145. package/lib/components/booking/info2/cartClientCard/types.d.ts +0 -13
  146. package/lib/components/booking/info2/cartClientCard/utils.d.ts +0 -3
  147. package/lib/components/booking/info2/service/editNormalService/index.d.ts +0 -3
  148. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -3
  149. package/lib/components/booking/locales.d.ts +0 -903
  150. package/lib/components/booking/notes/addNote/index.d.ts +0 -3
  151. package/lib/components/shoppingCart/type.d.ts +0 -49
  152. package/lib/components/ticketBooking/components/addServiceVariant/utils.d.ts +0 -8
  153. package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +0 -7
  154. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/index.d.ts +0 -12
  155. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
  156. package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
  157. package/lib/components/ticketBooking/components/bookingDataPanel/index.d.ts +0 -9
  158. package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +0 -14
  159. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  160. package/lib/components/ticketBooking/components/floatButtons/index.d.ts +0 -11
  161. package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
  162. package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
  163. package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
  164. package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -12
  165. package/lib/components/ticketBooking/hooks/pisellos/useScanGlobalHandle.d.ts +0 -2
  166. package/lib/components/ticketBooking/locales.d.ts +0 -177
  167. package/lib/components/ticketBooking/serve.d.ts +0 -287
  168. package/lib/hooks/useToast.d.ts +0 -2
  169. package/lib/hooks/useTranslationOriginal.d.ts +0 -1
  170. package/lib/index.d.ts +0 -51
  171. package/lib/plus/clientCard/index.d.ts +0 -7
  172. package/lib/plus/clientCard/line/index.d.ts +0 -9
  173. package/lib/plus/clientCard/locales.d.ts +0 -18
  174. package/lib/plus/clientCard/types.d.ts +0 -126
  175. package/lib/plus/clientCard/utils.d.ts +0 -8
  176. package/lib/plus/clientName/index.d.ts +0 -5
  177. package/lib/plus/clientName/type.d.ts +0 -13
  178. package/lib/plus/clientName/utils.d.ts +0 -2
  179. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -2
  180. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -2
  181. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -2
  182. package/lib/plus/clinetSearch/Add/PhoneField/serve.d.ts +0 -2
  183. package/lib/plus/clinetSearch/Add/index.d.ts +0 -18
  184. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
  185. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
  186. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
  187. package/lib/plus/clinetSearch/index.d.ts +0 -18
  188. package/lib/plus/clinetSearch/locales.d.ts +0 -102
  189. package/lib/plus/clinetSearch/serve.d.ts +0 -1
  190. package/lib/plus/clinetSearch/types.d.ts +0 -49
  191. package/lib/plus/noteModal/AddTempModal.d.ts +0 -7
  192. package/lib/plus/noteModal/index.d.ts +0 -4
  193. package/lib/plus/noteModal/locales.d.ts +0 -33
  194. package/lib/plus/noteModal/types.d.ts +0 -17
  195. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
  196. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
  197. package/lib/pro/comprehensiveSearch/index.d.ts +0 -9
  198. package/lib/pro/comprehensiveSearch/locales.d.ts +0 -18
  199. package/lib/pro/comprehensiveSearch/types.d.ts +0 -31
  200. package/lib/pro/numberKeyboard/index.d.ts +0 -28
  201. package/lib/pro/numberKeyboard/locales.d.ts +0 -12
  202. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
  203. package/lib/pro/pisellNumberSelector/index.d.ts +0 -26
  204. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -12
  205. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
  206. package/lib/pro/pisellPriceKeyboardModal/PisellPriceKeyboardModal.d.ts +0 -5
  207. package/lib/pro/pisellPriceKeyboardModal/index.d.ts +0 -2
  208. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
  209. package/lib/pro/pisellPriceRadio/index.d.ts +0 -26
  210. package/lib/pro/skuDetailModal/index.d.ts +0 -5
  211. package/lib/pro/skuDetailModal/locales.d.ts +0 -48
  212. package/lib/pro/skuDetailModal/types.d.ts +0 -347
@@ -1,3 +0,0 @@
1
- import "./index.less";
2
- declare const AddNote: ({ value, onChange, title, placeholder }: any) => JSX.Element;
3
- export default AddNote;
@@ -1,49 +0,0 @@
1
- import { CollapseProps } from 'antd';
2
- export interface productProps {
3
- hideAddBtn?: boolean;
4
- isShowNote?: boolean;
5
- isShowPackageNote?: boolean;
6
- products?: any[];
7
- holders?: any[];
8
- isEdit?: boolean;
9
- disabledEdit?: boolean;
10
- isShowChangeResource?: boolean;
11
- isShowDelete?: boolean;
12
- isShowChangeHolder?: boolean;
13
- isShowHolder?: boolean;
14
- isShowAddHolderButton?: boolean;
15
- }
16
- export interface shoppingCartProps {
17
- isOpenGroup?: boolean;
18
- carts?: any[];
19
- platform?: 'shop' | 'h5';
20
- emptyText?: string;
21
- activeKey?: string[] | number[];
22
- defaultActiveKey?: string[] | number[];
23
- className?: string;
24
- onCard?: (e: any) => void;
25
- onAction?: (e: any) => void;
26
- onChange?: (items: any, type?: string, other?: any) => void;
27
- onAddProduct?: (e?: any) => void;
28
- onActiveKey?: (e: any) => void;
29
- isShowImage?: boolean;
30
- isShowHolder?: boolean;
31
- isShowDelete?: boolean;
32
- collapseParams?: CollapseProps;
33
- productParams?: productProps;
34
- isHideClearCart?: boolean;
35
- isParallelResource?: boolean;
36
- scenario?: 'booking2';
37
- }
38
- /**
39
- * @title: 商品卡片
40
- * @description:
41
- * @return {*}
42
- * @Author: WangHan
43
- * @Date: 2024-11-29 09:52
44
- */
45
- export interface ProductProps {
46
- id?: any;
47
- lists: any[];
48
- isAdd?: boolean;
49
- }
@@ -1,8 +0,0 @@
1
- export declare const formatVariantGroupTitle: (title: any, variant_group?: never[]) => string | undefined;
2
- export declare const createCacheItem: (detail: any, values: any, state: any) => any;
3
- export declare const isVariant: (item: any) => boolean;
4
- export declare const isOption: (item: any) => boolean;
5
- export declare const isBundle: (item: any) => boolean;
6
- export declare const genValues: (item: any, code: string) => any;
7
- export declare const setHandleSetService: (fn: ((list: any[], code: string) => void) | null) => void;
8
- export declare const getHandleSetService: () => ((list: any[], code: string) => void) | null;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface BookingDashboardProps {
4
- bookingTimeStartBetween: string[];
5
- }
6
- declare const BookingDashboard: React.ForwardRefExoticComponent<BookingDashboardProps & React.RefAttributes<unknown>>;
7
- export default BookingDashboard;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface BookingListProps {
4
- bookingTimeStartBetween: string[];
5
- onBookingClick: (booking: any) => void;
6
- bookingId?: number;
7
- }
8
- export interface BookingListRef {
9
- refresh: () => void;
10
- }
11
- declare const BookingList: React.ForwardRefExoticComponent<BookingListProps & React.RefAttributes<BookingListRef>>;
12
- export default BookingList;
@@ -1,6 +0,0 @@
1
- export declare const formatShowList: (list: any[], options: {
2
- search: string;
3
- listSelectType: string;
4
- sort: string;
5
- }) => any[];
6
- export declare const getBookingType: (record: any) => "pisell2" | "pisell1";
@@ -1,22 +0,0 @@
1
- export declare const getPayStatusMap: () => {
2
- authorized: any;
3
- paid: any;
4
- partially_paid: any;
5
- partially_refunded: any;
6
- payment_pending: any;
7
- refunded: any;
8
- unpaid: any;
9
- voided: any;
10
- payment_processing: any;
11
- };
12
- export declare const payStatusColorMap: {
13
- authorized: string;
14
- paid: string;
15
- partially_paid: string;
16
- partially_refunded: string;
17
- payment_pending: string;
18
- refunded: string;
19
- unpaid: string;
20
- voided: string;
21
- payment_processing: string;
22
- };
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface BookingDataPanelProps {
4
- currentDate: string;
5
- onBookingClick: (booking: any) => void;
6
- bookingId?: number;
7
- }
8
- declare const BookingDataPanel: React.ForwardRefExoticComponent<BookingDataPanelProps & React.RefAttributes<unknown>>;
9
- export default BookingDataPanel;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface PisellFloatingPanelProps {
3
- currentDate: string;
4
- onBookingClick: (booking: any) => void;
5
- bookingId?: number;
6
- }
7
- export interface PisellFloatingPanelRef {
8
- open: () => void;
9
- close: () => void;
10
- refresh: () => void;
11
- getIsOpen: () => boolean;
12
- }
13
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<PisellFloatingPanelProps & React.RefAttributes<PisellFloatingPanelRef>>>;
14
- export default _default;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface FloatButtonsProps {
4
- items: {
5
- icon: React.ReactNode;
6
- onClick: () => void;
7
- key: string;
8
- }[];
9
- }
10
- declare const FloatButtons: (props: FloatButtonsProps) => JSX.Element;
11
- export default FloatButtons;
@@ -1 +0,0 @@
1
- export declare const useBookingTicket: () => any;
@@ -1,3 +0,0 @@
1
- export * from './bookingTicket';
2
- export * from './useProducts';
3
- export * from './useCustomer';
@@ -1,25 +0,0 @@
1
- import { ClientData } from '../../../booking/info2/cartClientCard/types';
2
- export declare const useCustomer: (props: {
3
- changeCustomerToGlobalState?: ((value: ClientData) => void) | undefined;
4
- }) => {
5
- customers: never[];
6
- selectedCustomer: ClientData | null;
7
- loading: boolean;
8
- error: null;
9
- pagination: {
10
- page: number;
11
- pageSize: number;
12
- total: number;
13
- };
14
- loadCustomers: (params?: {
15
- skip?: number;
16
- num?: number;
17
- search?: string;
18
- }) => Promise<void>;
19
- changePage: (page: number, pageSize: number) => Promise<void>;
20
- selectCustomer: (customer: ClientData | null) => void;
21
- addCustomerToFirst: (customer: ClientData) => void;
22
- initLoad: (this: any, keyword?: any) => Promise<void>;
23
- hasMore: boolean;
24
- loadMore: () => Promise<void>;
25
- };
@@ -1,12 +0,0 @@
1
- interface IGetProductsParams {
2
- schedule_date?: string;
3
- customer_id?: number;
4
- menu_list_ids?: number[];
5
- schedule_datetime?: string;
6
- }
7
- export declare const useProducts: () => {
8
- getProducts: (params?: IGetProductsParams) => Promise<void>;
9
- products: any[];
10
- loading: boolean;
11
- };
12
- export {};
@@ -1,2 +0,0 @@
1
- declare const useScanGlobalHandle: () => (data: any) => void;
2
- export default useScanGlobalHandle;
@@ -1,177 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.ticket-booking.info': string;
4
- 'pisell2.ticket-booking.notes': string;
5
- 'pisell2.ticket-booking.forms': string;
6
- 'pisell2.ticket-booking.sales': string;
7
- 'pisell2.ticket-booking.payment': string;
8
- 'pisell2.ticket-booking.unsaved-changes': string;
9
- 'pisell2.ticket-booking.exit-confirm': string;
10
- 'pisell2.ticket-booking.go-back': string;
11
- 'pisell2.ticket-booking.exit': string;
12
- 'pisell2.ticket-booking.deposit': string;
13
- 'pisell2.ticket-booking.copy-success': string;
14
- 'pisell2.ticket-booking.no-data': string;
15
- 'pisell2.ticket-booking.authorized': string;
16
- 'pisell2.ticket-booking.paid': string;
17
- 'pisell2.ticket-booking.partially-paid': string;
18
- 'pisell2.ticket-booking.partially-refunded': string;
19
- 'pisell2.ticket-booking.payment-pending': string;
20
- 'pisell2.ticket-booking.refunded': string;
21
- 'pisell2.ticket-booking.unpaid': string;
22
- 'pisell2.ticket-booking.voided': string;
23
- 'pisell2.ticket-booking.pending': string;
24
- 'pisell2.ticket-booking.all': string;
25
- 'pisell2.ticket-booking.not-started': string;
26
- 'pisell2.ticket-booking.started': string;
27
- 'pisell2.ticket-booking.finished': string;
28
- 'pisell2.ticket-booking.canceled': string;
29
- 'pisell2.ticket-booking.inform': string;
30
- 'pisell2.ticket-booking.check-management': string;
31
- 'pisell2.ticket-booking.confirm': string;
32
- 'pisell2.ticket-booking.dashboard': string;
33
- 'pisell2.ticket-booking.booking-list': string;
34
- 'pisell2.ticket-booking.full-data': string;
35
- 'pisell2.ticket-booking.today': string;
36
- 'pisell2.ticket-booking.now': string;
37
- 'pisell2.ticket-booking.start-time': string;
38
- 'pisell2.ticket-booking.create-time': string;
39
- 'pisell2.ticket-booking.customer': string;
40
- 'pisell2.ticket-booking.total': string;
41
- 'pisell2.ticket-booking.search': string;
42
- 'pisell2.ticket-booking.refresh-success': string;
43
- 'pisell2.ticket-booking.loading': string;
44
- 'pisell2.ticket-booking.appointment-not-found': string;
45
- 'pisell2.ticket-booking.scan': string;
46
- 'pisell2.ticket-booking.create-new': string;
47
- 'pisell2.ticket-booking.add-to-cart': string;
48
- 'pisell2.ticket-booking.not-available-title': string;
49
- 'pisell2.ticket-booking.not-available-ok': string;
50
- 'pisell2.ticket-booking.in-cart': (number: number) => string;
51
- 'pisell2.product.card.cart-items': (number: number) => string;
52
- 'pisell2.product.card.subtotal': string;
53
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
54
- 'pisell2.product.card.day': (val: number) => string;
55
- 'pisell2.product.card.day.event': (val: number) => string;
56
- 'pisell2.product.card.minute': (val: number) => string;
57
- 'pisell2.ticket-booking.reload': string;
58
- 'pisell2.text.scan-global-failed': string;
59
- };
60
- 'zh-CN': {
61
- 'pisell2.ticket-booking.info': string;
62
- 'pisell2.ticket-booking.notes': string;
63
- 'pisell2.ticket-booking.forms': string;
64
- 'pisell2.ticket-booking.sales': string;
65
- 'pisell2.ticket-booking.payment': string;
66
- 'pisell2.ticket-booking.unsaved-changes': string;
67
- 'pisell2.ticket-booking.exit-confirm': string;
68
- 'pisell2.ticket-booking.go-back': string;
69
- 'pisell2.ticket-booking.exit': string;
70
- 'pisell2.ticket-booking.deposit': string;
71
- 'pisell2.ticket-booking.copy-success': string;
72
- 'pisell2.ticket-booking.no-data': string;
73
- 'pisell2.ticket-booking.authorized': string;
74
- 'pisell2.ticket-booking.paid': string;
75
- 'pisell2.ticket-booking.partially-paid': string;
76
- 'pisell2.ticket-booking.partially-refunded': string;
77
- 'pisell2.ticket-booking.payment-pending': string;
78
- 'pisell2.ticket-booking.refunded': string;
79
- 'pisell2.ticket-booking.unpaid': string;
80
- 'pisell2.ticket-booking.voided': string;
81
- 'pisell2.ticket-booking.pending': string;
82
- 'pisell2.ticket-booking.all': string;
83
- 'pisell2.ticket-booking.not-started': string;
84
- 'pisell2.ticket-booking.started': string;
85
- 'pisell2.ticket-booking.finished': string;
86
- 'pisell2.ticket-booking.canceled': string;
87
- 'pisell2.ticket-booking.inform': string;
88
- 'pisell2.ticket-booking.check-management': string;
89
- 'pisell2.ticket-booking.confirm': string;
90
- 'pisell2.ticket-booking.dashboard': string;
91
- 'pisell2.ticket-booking.booking-list': string;
92
- 'pisell2.ticket-booking.full-data': string;
93
- 'pisell2.ticket-booking.today': string;
94
- 'pisell2.ticket-booking.now': string;
95
- 'pisell2.ticket-booking.start-time': string;
96
- 'pisell2.ticket-booking.create-time': string;
97
- 'pisell2.ticket-booking.customer': string;
98
- 'pisell2.ticket-booking.total': string;
99
- 'pisell2.ticket-booking.search': string;
100
- 'pisell2.ticket-booking.refresh-success': string;
101
- 'pisell2.ticket-booking.loading': string;
102
- 'pisell2.ticket-booking.appointment-not-found': string;
103
- 'pisell2.ticket-booking.scan': string;
104
- 'pisell2.ticket-booking.create-new': string;
105
- 'pisell2.ticket-booking.add-to-cart': string;
106
- 'pisell2.ticket-booking.not-available-title': string;
107
- 'pisell2.ticket-booking.not-available-ok': string;
108
- 'pisell2.product.card.cart-items': (number: number) => string;
109
- 'pisell2.product.card.subtotal': string;
110
- 'pisell2.ticket-booking.in-cart': (number: number) => string;
111
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
112
- 'pisell2.product.card.day': (val: number) => string;
113
- 'pisell2.product.card.day.event': (val: number) => string;
114
- 'pisell2.product.card.minute': (val: number) => string;
115
- 'pisell2.ticket-booking.reload': string;
116
- 'pisell2.text.scan-global-failed': string;
117
- };
118
- 'zh-HK': {
119
- 'pisell2.ticket-booking.info': string;
120
- 'pisell2.ticket-booking.notes': string;
121
- 'pisell2.ticket-booking.forms': string;
122
- 'pisell2.ticket-booking.sales': string;
123
- 'pisell2.ticket-booking.payment': string;
124
- 'pisell2.ticket-booking.unsaved-changes': string;
125
- 'pisell2.ticket-booking.exit-confirm': string;
126
- 'pisell2.ticket-booking.go-back': string;
127
- 'pisell2.ticket-booking.exit': string;
128
- 'pisell2.ticket-booking.deposit': string;
129
- 'pisell2.ticket-booking.copy-success': string;
130
- 'pisell2.ticket-booking.no-data': string;
131
- 'pisell2.ticket-booking.authorized': string;
132
- 'pisell2.ticket-booking.paid': string;
133
- 'pisell2.ticket-booking.partially-paid': string;
134
- 'pisell2.ticket-booking.partially-refunded': string;
135
- 'pisell2.ticket-booking.payment-pending': string;
136
- 'pisell2.ticket-booking.refunded': string;
137
- 'pisell2.ticket-booking.unpaid': string;
138
- 'pisell2.ticket-booking.voided': string;
139
- 'pisell2.ticket-booking.pending': string;
140
- 'pisell2.ticket-booking.all': string;
141
- 'pisell2.ticket-booking.not-started': string;
142
- 'pisell2.ticket-booking.started': string;
143
- 'pisell2.ticket-booking.finished': string;
144
- 'pisell2.ticket-booking.canceled': string;
145
- 'pisell2.ticket-booking.inform': string;
146
- 'pisell2.ticket-booking.check-management': string;
147
- 'pisell2.ticket-booking.confirm': string;
148
- 'pisell2.ticket-booking.dashboard': string;
149
- 'pisell2.ticket-booking.booking-list': string;
150
- 'pisell2.ticket-booking.full-data': string;
151
- 'pisell2.ticket-booking.today': string;
152
- 'pisell2.ticket-booking.now': string;
153
- 'pisell2.ticket-booking.start-time': string;
154
- 'pisell2.ticket-booking.create-time': string;
155
- 'pisell2.ticket-booking.customer': string;
156
- 'pisell2.ticket-booking.total': string;
157
- 'pisell2.ticket-booking.search': string;
158
- 'pisell2.ticket-booking.refresh-success': string;
159
- 'pisell2.ticket-booking.loading': string;
160
- 'pisell2.ticket-booking.appointment-not-found': string;
161
- 'pisell2.ticket-booking.scan': string;
162
- 'pisell2.ticket-booking.create-new': string;
163
- 'pisell2.ticket-booking.add-to-cart': string;
164
- 'pisell2.ticket-booking.not-available-title': string;
165
- 'pisell2.ticket-booking.not-available-ok': string;
166
- 'pisell2.ticket-booking.in-cart': (number: number) => string;
167
- 'pisell2.product.card.cart-items': (number: number) => string;
168
- 'pisell2.product.card.subtotal': string;
169
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
170
- 'pisell2.product.card.day': (val: number) => string;
171
- 'pisell2.product.card.day.event': (val: number) => string;
172
- 'pisell2.product.card.minute': (val: number) => string;
173
- 'pisell2.ticket-booking.reload': string;
174
- 'pisell2.text.scan-global-failed': string;
175
- };
176
- };
177
- export default _default;
@@ -1,287 +0,0 @@
1
- /**
2
- * @title: 获取客户列表
3
- * @description: 获取客户列表
4
- * @param {any} params
5
- * @return {*}
6
- * @Author: cong.shao
7
- * @Date: 2025-04-24 16:28
8
- */
9
- export declare const getClients: (params: any) => Promise<any>;
10
- /**
11
- * @title: 获取服务列表
12
- * @description: 查询服务列表
13
- * @param {any} params
14
- * @return {*}
15
- * @Author: cong.shao
16
- * @Date: 2025-04-24 16:28
17
- */
18
- export declare const getServices: (params: any) => Promise<any>;
19
- /**
20
- * @title: 获取资源列表
21
- * @description: 资源列表
22
- * @param {any} params
23
- * @return {*}
24
- * @Author: cong.shao
25
- * @Date: 2025-04-24 16:28
26
- */
27
- export declare const getResources: (params: any) => Promise<any>;
28
- /**
29
- * @title: 获取产品列表
30
- * @description: 查询产品列表
31
- * @param {any} params
32
- * @return {*}
33
- * @Author: cong.shao
34
- * @Date: 2025-04-24 16:28
35
- */
36
- export declare const getProducts: (params: any) => Promise<any>;
37
- /**
38
- * @title: 获取表单列表
39
- * @description: 获取关联记录表单列表
40
- * @param {any} params
41
- * @return {*}
42
- * @Author: cong.shao
43
- * @Date: 2025-04-24 16:28
44
- */
45
- export declare const getForms: (params: any) => Promise<any>;
46
- /**
47
- * @title: 获取预约配置
48
- * @description: 获取预约相关配置信息
49
- * @param {any} params
50
- * @return {*}
51
- * @Author: cong.shao
52
- * @Date: 2025-04-24 16:28
53
- */
54
- export declare const getBookingConfig: (params: any) => Promise<any>;
55
- /**
56
- * @title: 获取宠物信息
57
- * @description: 根据ID获取宠物信息
58
- * @param {string} formId
59
- * @param {any} params
60
- * @return {*}
61
- * @Author: cong.shao
62
- * @Date: 2025-04-24 16:28
63
- */
64
- export declare const getPets: (formId: string, params: any) => Promise<any>;
65
- /**
66
- * @title: 获取宠物数据
67
- * @description: 获取宠物数据
68
- * @param {any} params
69
- * @return {*}
70
- * @Author: cong.shao
71
- * @Date: 2025-04-24 16:28
72
- */
73
- export declare const getPetsData: (params: any) => Promise<any>;
74
- /**
75
- * @title: 创建预约
76
- * @description: 创建新的预约记录
77
- * @param {any} params
78
- * @return {*}
79
- * @Author: cong.shao
80
- * @Date: 2025-04-24 16:28
81
- */
82
- export declare const createBooking: (params: any) => Promise<any>;
83
- /**
84
- * @title: 获取预约附加服务
85
- * @description: 根据预约ID获取附加服务信息
86
- * @param {string} bookingId
87
- * @param {any} params
88
- * @return {*}
89
- * @Author: cong.shao
90
- * @Date: 2025-04-24 16:28
91
- */
92
- export declare const getAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
93
- /**
94
- * @title: 保存预约附加服务
95
- * @description: 保存预约的附加服务信息
96
- * @param {string} bookingId
97
- * @param {any} params
98
- * @return {*}
99
- * @Author: cong.shao
100
- * @Date: 2025-04-24 16:28
101
- */
102
- export declare const saveAddonsByOrderId: (bookingId: string, params: any) => Promise<any>;
103
- /**
104
- * @title: 获取预约详情
105
- * @description: 获取预约详细信息
106
- * @param {number} bookingId
107
- * @param {any} params
108
- * @return {*}
109
- * @Author: cong.shao
110
- * @Date: 2025-04-24 16:28
111
- */
112
- export declare const getBookingDetail: (bookingId: number, params?: any) => Promise<any>;
113
- /**
114
- * @title: 编辑预约状态
115
- * @description: 更新预约状态
116
- * @param {string} bookingId
117
- * @param {any} params
118
- * @return {*}
119
- * @Author: cong.shao
120
- * @Date: 2025-04-24 16:28
121
- */
122
- export declare const editBookingStatus: (bookingId: string, params: any) => Promise<any>;
123
- /**
124
- * @title: 编辑预约信息
125
- * @description: 更新预约信息
126
- * @param {string} bookingId
127
- * @param {any} params
128
- * @return {*}
129
- * @Author: cong.shao
130
- * @Date: 2025-04-24 16:28
131
- */
132
- export declare const editBooking: (bookingId: string, params: any) => Promise<any>;
133
- /**
134
- * @title: 获取预约备注
135
- * @description: 获取预约相关备注信息
136
- * @param {any} params
137
- * @return {*}
138
- * @Author: cong.shao
139
- * @Date: 2025-04-24 16:28
140
- */
141
- export declare const getNotesByOrder: (params: any) => Promise<any>;
142
- /**
143
- * @title: 添加预约备注
144
- * @description: 添加预约相关备注
145
- * @param {any} params
146
- * @return {*}
147
- * @Author: cong.shao
148
- * @Date: 2025-04-24 16:28
149
- */
150
- export declare const addNotesByOrder: (params: any) => Promise<any>;
151
- /**
152
- * @title: 编辑预约备注
153
- * @description: 更新预约备注信息
154
- * @param {string} bookingId
155
- * @param {any} params
156
- * @return {*}
157
- * @Author: cong.shao
158
- * @Date: 2025-04-24 16:28
159
- */
160
- export declare const editNoteByOrder: (bookingId: string, params: any) => Promise<any>;
161
- /**
162
- * @title: 删除预约备注
163
- * @description: 删除预约相关备注
164
- * @param {string} bookingId
165
- * @param {any} params
166
- * @return {*}
167
- * @Author: cong.shao
168
- * @Date: 2025-04-24 16:28
169
- */
170
- export declare const removeNoteByOrder: (bookingId: string, params: any) => Promise<any>;
171
- /**
172
- * @title: 保存预约表单数据
173
- * @description: 保存预约相关的表单数据
174
- * @param {any} params
175
- * @return {*}
176
- * @Author: cong.shao
177
- * @Date: 2025-04-24 16:28
178
- */
179
- export declare const saveBookingFormData: (params: any) => Promise<any>;
180
- /**
181
- * @title: 获取支付列表
182
- * @description: 获取支付相关列表数据
183
- * @param {any} params
184
- * @return {*}
185
- * @Author: cong.shao
186
- * @Date: 2025-04-24 16:28
187
- */
188
- export declare const getPaymentList: (params: any) => Promise<any>;
189
- /**
190
- * @title: 编辑订单备注
191
- * @description: 更新订单备注信息
192
- * @param {string} bookingId
193
- * @param {any} params
194
- * @return {*}
195
- * @Author: cong.shao
196
- * @Date: 2025-04-24 16:28
197
- */
198
- export declare const editOrderNote: (bookingId: string, params: any) => Promise<any>;
199
- /**
200
- * @title: 获取退款信息
201
- * @description: 获取退款相关信息
202
- * @param {string} bookingId
203
- * @param {any} params
204
- * @return {*}
205
- * @Author: cong.shao
206
- * @Date: 2025-04-24 16:28
207
- */
208
- export declare const getRefundInfo: (bookingId: string, params: any) => Promise<any>;
209
- /**
210
- * @title: 创建活动预约
211
- * @description: 创建新的活动预约记录
212
- * @param {any} params
213
- * @return {*}
214
- * @Author: cong.shao
215
- * @Date: 2025-04-24 16:28
216
- */
217
- export declare const createEventBooking: (params: any) => Promise<any>;
218
- /**
219
- * @title: 获取活动预约详情
220
- * @description: 获取活动预约详细信息
221
- * @param {number} bookingId
222
- * @param {any} params
223
- * @return {*}
224
- * @Author: cong.shao
225
- * @Date: 2025-04-24 16:28
226
- */
227
- export declare const getEventBookingDetail: (bookingId: number, params?: any) => Promise<any>;
228
- /**
229
- * @title: 编辑活动预约
230
- * @description: 更新活动预约信息
231
- * @param {string} bookingId
232
- * @param {any} params
233
- * @return {*}
234
- * @Author: cong.shao
235
- * @Date: 2025-04-24 16:28
236
- */
237
- export declare const editEventBooking: (bookingId: string, params: any) => Promise<any>;
238
- /**
239
- * @title: 获取定金显示配置
240
- * @description: 获取定金相关显示配置
241
- * @param {any} params
242
- * @return {*}
243
- * @Author: cong.shao
244
- * @Date: 2025-04-24 16:28
245
- */
246
- export declare const getDepositShow: (params: any) => Promise<any>;
247
- /**
248
- * @title: 获取表单记录
249
- * @description: 获取表单记录数据
250
- * @param {any} params
251
- * @return {*}
252
- * @Author: cong.shao
253
- * @Date: 2025-04-24 16:28
254
- */
255
- export declare const getFormRecords: (params: any) => Promise<any>;
256
- /**
257
- * @title: 获取预约列表
258
- * @description: 获取预约列表数据
259
- * @param {any} params
260
- * @return {*}
261
- * @Author: cong.shao
262
- * @Date: 2025-04-24 16:28
263
- */
264
- export declare const getBookingList2: (params: any) => Promise<any>;
265
- /**
266
- * @title: 获取订单信息
267
- * @description: 根据机器码获取订单信息
268
- * @param {any} params
269
- * @return {*}
270
- * @Author: cong.shao
271
- * @Date: 2025-04-24 16:28
272
- */
273
- export declare const getOrderInfoByCode: (params: any) => Promise<any>;
274
- /**
275
- * @title: 获取ES客户数据
276
- * @description: 从ES获取客户数据
277
- * @param {any} params
278
- * @return {*}
279
- * @Author: cong.shao
280
- * @Date: 2025-04-24 16:28
281
- */
282
- export declare const getClientsEs: (params: any) => Promise<any>;
283
- /**
284
- * 作废2.0预约订单
285
- * @param order_id
286
- */
287
- export declare const voidAppointment: (order_id: number) => Promise<any>;
@@ -1,2 +0,0 @@
1
- declare const useToast: () => any;
2
- export default useToast;
@@ -1 +0,0 @@
1
- export default function useTranslationOriginal(): any;