@pisell/private-materials 3.4.1 → 3.4.3

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 (125) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +13 -13
  7. package/build/lowcode/render/default/view.js +4 -4
  8. package/build/lowcode/view.js +7 -7
  9. package/es/components/booking/addons/model.d.ts +1 -10
  10. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  11. package/es/components/booking/components/browserSelect/index.js +1 -1
  12. package/es/components/booking/forms/model.d.ts +1 -10
  13. package/es/components/booking/forms/model.js +5 -5
  14. package/es/components/booking/info/model.d.ts +1 -10
  15. package/es/components/booking/info/service/like/index.js +1 -1
  16. package/es/components/booking/info2/index.js +6 -4
  17. package/es/components/booking/materiels/startTime/index.js +1 -1
  18. package/es/components/booking/model.d.ts +1 -9
  19. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  20. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  21. package/es/components/booking/notes/model.d.ts +1 -10
  22. package/es/components/booking/notes/model.js +5 -5
  23. package/es/components/booking/payments/model.d.ts +1 -10
  24. package/es/components/booking/payments/model.js +5 -5
  25. package/es/components/listComponent/index.js +5 -5
  26. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +44 -18
  27. package/es/components/pay/toC/PaymentMethods/index.js +70 -21
  28. package/es/components/pay/toC/index.js +46 -14
  29. package/es/components/pay/toC/model.d.ts +1 -9
  30. package/es/components/productExtension/card/index.js +3 -3
  31. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  32. package/es/components/productExtension/fields/Forms/index.js +12 -12
  33. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  34. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  35. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  36. package/es/components/productExtension/server.js +2 -2
  37. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  38. package/es/components/schedules/calendar/index.js +4 -4
  39. package/es/components/schedules/calendar/serve.js +2 -2
  40. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  41. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  42. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  43. package/es/components/schedules/components/ResourceList/index.js +1 -1
  44. package/es/components/schedules/components/Search/index.js +5 -5
  45. package/es/components/schedules/model.d.ts +1 -9
  46. package/es/components/schedules/model.js +5 -5
  47. package/es/components/schedules/openHours/index.js +1 -1
  48. package/es/components/schedules/openHours/serve.js +2 -2
  49. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  50. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  51. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  52. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  53. package/es/components/schedules/products/serve.js +2 -2
  54. package/es/components/schedules/products/utils.js +5 -5
  55. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  56. package/es/components/schedules/resources/detail/index.js +10 -10
  57. package/es/components/schedules/resources/list/index.js +2 -2
  58. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  59. package/es/components/schedules/resources/serve.js +2 -2
  60. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  61. package/es/components/schedules/utils.d.ts +1 -1
  62. package/es/components/schedules/utils.js +4 -4
  63. package/es/components/selectModal/index.js +2 -2
  64. package/es/components/ticketBooking/components/ticketBooking/index.js +121 -2
  65. package/es/components/ticketBooking/locales.js +195 -147
  66. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  67. package/es/components/ticketBooking/utils/formatProductMessage.js +62 -0
  68. package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
  69. package/es/components/ticketBooking/utils/formatTime.js +144 -0
  70. package/es/components/wallet/Detail/model.d.ts +1 -13
  71. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  72. package/es/components/wallet/PointCard/model.d.ts +1 -13
  73. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  74. package/es/components/wallet/Voucher/model.d.ts +1 -13
  75. package/es/components/wallet/model.d.ts +1 -9
  76. package/es/hooks/useComponents.js +1 -1
  77. package/es/utils/index.d.ts +1 -1
  78. package/lib/components/booking/addons/model.d.ts +1 -10
  79. package/lib/components/booking/forms/model.d.ts +1 -10
  80. package/lib/components/booking/info/model.d.ts +1 -10
  81. package/lib/components/booking/info2/index.js +21 -11
  82. package/lib/components/booking/model.d.ts +1 -9
  83. package/lib/components/booking/notes/model.d.ts +1 -10
  84. package/lib/components/booking/payments/model.d.ts +1 -10
  85. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +66 -47
  86. package/lib/components/pay/toC/PaymentMethods/index.js +30 -2
  87. package/lib/components/pay/toC/index.js +29 -9
  88. package/lib/components/pay/toC/model.d.ts +1 -9
  89. package/lib/components/schedules/model.d.ts +1 -9
  90. package/lib/components/schedules/utils.d.ts +1 -1
  91. package/lib/components/schedules/utils.js +1 -1
  92. package/lib/components/ticketBooking/components/ticketBooking/index.js +141 -22
  93. package/lib/components/ticketBooking/locales.js +22 -4
  94. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
  95. package/lib/components/ticketBooking/utils/formatProductMessage.js +84 -0
  96. package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
  97. package/lib/components/ticketBooking/utils/formatTime.js +139 -0
  98. package/lib/components/wallet/Detail/model.d.ts +1 -13
  99. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  100. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  101. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  102. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  103. package/lib/components/wallet/model.d.ts +1 -9
  104. package/lib/utils/index.d.ts +1 -1
  105. package/package.json +3 -3
  106. package/es/components/Sales/Customer/index.d.ts +0 -25
  107. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  108. package/es/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  109. package/es/components/booking/info/service/Lists.d.ts +0 -2
  110. package/es/components/booking/info2/service/index.d.ts +0 -4
  111. package/es/components/booking/info2/utils.d.ts +0 -4
  112. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -113
  113. package/es/components/pay/toC/utils.d.ts +0 -57
  114. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  115. package/es/components/ticketBooking/locales.d.ts +0 -153
  116. package/lib/components/Sales/Customer/index.d.ts +0 -25
  117. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  118. package/lib/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  119. package/lib/components/booking/info/service/Lists.d.ts +0 -2
  120. package/lib/components/booking/info2/service/index.d.ts +0 -4
  121. package/lib/components/booking/info2/utils.d.ts +0 -4
  122. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -113
  123. package/lib/components/pay/toC/utils.d.ts +0 -57
  124. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  125. package/lib/components/ticketBooking/locales.d.ts +0 -153
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: 0;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
30
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
- global_wallet: WalletListProps;
32
- } & {
33
- dispatch: (params: {
34
- type: string;
35
- payload: any;
36
- }) => void;
37
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
+ update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,9 +59,9 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/utils": "3.0.0",
62
+ "@pisell/materials": "3.3.37",
63
63
  "@pisell/icon": "0.0.11",
64
- "@pisell/materials": "3.3.36",
64
+ "@pisell/utils": "3.0.0",
65
65
  "@pisell/date-picker": "3.0.2"
66
66
  },
67
67
  "peerDependencies": {
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- interface CustomerData {
3
- }
4
- interface CustomerContextType {
5
- appContext: any;
6
- appUtils: any;
7
- isLogin: () => boolean;
8
- openLoginModal: (params: any) => void;
9
- getUserInfo: () => any;
10
- }
11
- interface CustomerProviderProps {
12
- children: React.ReactNode;
13
- }
14
- export declare const CustomerContext: React.Context<CustomerContextType | undefined>;
15
- export declare const CustomerProvider: React.FC<CustomerProviderProps>;
16
- /**
17
- * 使用步骤管理的Hook
18
- * @throws {Error} 如果在StepProvider外部使用会抛出错误
19
- * @returns {StepContextType} 步骤管理上下文
20
- */
21
- export declare const useCustomer: () => CustomerContextType;
22
- declare const _default: {
23
- defaultState: CustomerData;
24
- };
25
- export default _default;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Form: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default Form;
@@ -1,8 +0,0 @@
1
- /**
2
- * @title: 更新表单数据
3
- * @description:
4
- * @return {*}
5
- * @Author: WangHan
6
- * @Date: 2025-05-26 16:58
7
- */
8
- export declare const updateRelationForms: (carts: any[], currentCart: any, values: any, currentStepKey?: string) => any;
@@ -1,2 +0,0 @@
1
- declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
- export default Lists;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import '../../info/service/index.less';
3
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- export declare const getFormatResourceListAndMap: (data: any[], bookingId?: number[]) => {
2
- list: any[];
3
- listMap: any;
4
- };
@@ -1,113 +0,0 @@
1
- export declare type MachineCodeListParams = {
2
- order_id: number | string;
3
- available: number;
4
- prepare_payments: {
5
- voucher_id: number;
6
- amount: number;
7
- tag: string;
8
- }[];
9
- filter_prepare_wallet_pass: 1 | 0;
10
- sale_channel: string;
11
- other_exact_codes?: string[];
12
- };
13
- export declare type WalletPassDataType = {
14
- id: number;
15
- shop_id: number;
16
- customer_id: number;
17
- code: string;
18
- encoded: string;
19
- status: string;
20
- cover: string;
21
- tag: string;
22
- relation_type: string;
23
- product_id: number;
24
- limit_status: string;
25
- sales_status: number;
26
- par_value: string;
27
- used_par_value: string;
28
- start_date: string;
29
- expire_date: string;
30
- end_time: string;
31
- start_time: string;
32
- created_at: string;
33
- product_name: string;
34
- expire_time: string;
35
- available_max_par_value: string;
36
- available_max_amount: string;
37
- recommended_usage_amount: string;
38
- custom_expire_status: number;
39
- wallet_pass_usage_unit: WalletPassUsageUnit;
40
- custom_order_deduct_exhausted: number;
41
- available_product_status: number;
42
- available_product_ids: any[];
43
- available_product_type: string;
44
- available_num: number;
45
- available_product_title: string;
46
- unified_available_status: number;
47
- unified_messages: UnifiedMessages;
48
- external_card: any[];
49
- product: Product;
50
- shop: Shop;
51
- wallet_pass_usage?: any;
52
- balance_par_value: string;
53
- };
54
- declare type Shop = {
55
- id: number;
56
- name: string;
57
- default_url: string;
58
- };
59
- declare type Product = {
60
- id: number;
61
- title: string;
62
- cover: string;
63
- is_charge_tax: number;
64
- };
65
- declare type UnifiedMessages = {
66
- title: string;
67
- desc: string;
68
- alert: string;
69
- };
70
- declare type WalletPassUsageUnit = {
71
- price: number;
72
- points: number;
73
- };
74
- /**
75
- * 查询支付识别码列表
76
- */
77
- export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise<WalletPassDataType[]>;
78
- /**
79
- * 获取推荐的支付识别码
80
- */
81
- export declare const getRecommendMachineCodeList: (order_id: number) => Promise<WalletPassDataType[]>;
82
- /**
83
- * 搜索支付识别码
84
- */
85
- export declare const searchMachineCodeList: (params: {
86
- order_id: number | string;
87
- code: string;
88
- sale_channel: string;
89
- prepare_payments: {
90
- voucher_id: number;
91
- amount: number;
92
- tag: string;
93
- }[];
94
- filter_prepare_wallet_pass: 1 | 0;
95
- }) => Promise<WalletPassDataType[]>;
96
- /**
97
- * walletpass支付
98
- */
99
- export declare const walletPassPay: (params: {
100
- order_id: number | string;
101
- payment_group_id: number;
102
- payments: {
103
- amount: string;
104
- wallet_pass_use_value: string;
105
- voucher_id: number;
106
- tag: string;
107
- wallet_pass_usage_unit: {
108
- price: number;
109
- points: number;
110
- };
111
- }[];
112
- }) => Promise<WalletPassDataType[]>;
113
- export {};
@@ -1,57 +0,0 @@
1
- import { PayGroup } from "./model";
2
- import { WalletPassDataType } from "./PaymentMethods/WalletPass/serve";
3
- /**
4
- * 计算walletPass列表数据的总金额
5
- * @param list
6
- */
7
- export declare const calcWalletPassListAmount: (list: any[]) => any;
8
- /**
9
- * 将walletPass列表数据转换为prepare_payments需要的数据格式
10
- * @param list
11
- */
12
- export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
13
- voucher_id: any;
14
- amount: number;
15
- tag: any;
16
- }[];
17
- /**
18
- * walletPass支付params
19
- * @param payGroup
20
- */
21
- export declare const formatWalletPassParams: (payGroup: PayGroup) => {
22
- order_id: string;
23
- payment_group_id: number;
24
- payments: {
25
- amount: string;
26
- wallet_pass_use_value: any;
27
- voucher_id: any;
28
- tag: any;
29
- wallet_pass_usage_unit: any;
30
- }[];
31
- };
32
- /**
33
- * @title: 获取是否walletPass和三方支付的组合支付
34
- * @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
35
- * @return: *
36
- * @Author: shengjie.zuo
37
- * @Date: 2024-08-30 10:06:17
38
- */
39
- export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
40
- export declare const isFranchiseeShop: (path?: any, history?: any) => any;
41
- /**
42
- * @title: 获取当前连锁加盟店铺shopid
43
- * @description:
44
- * @param {any} param1
45
- * @return {*}
46
- * @Author: chensheng.gu
47
- * @Date: 2024-08-07 10:04
48
- */
49
- export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
50
- export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
51
- export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string;
52
- export declare const clientPayment: (params: {
53
- order_id: number;
54
- type: "aliPay" | "wxPay";
55
- values: any;
56
- interaction?: any;
57
- }) => void;
@@ -1,3 +0,0 @@
1
- import { ProductProps } from '../../type';
2
- declare const Product: (props: ProductProps) => JSX.Element;
3
- export default Product;
@@ -1,153 +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
- };
52
- "zh-CN": {
53
- "pisell2.ticket-booking.info": string;
54
- "pisell2.ticket-booking.notes": string;
55
- "pisell2.ticket-booking.forms": string;
56
- "pisell2.ticket-booking.sales": string;
57
- "pisell2.ticket-booking.payment": string;
58
- "pisell2.ticket-booking.unsaved-changes": string;
59
- "pisell2.ticket-booking.exit-confirm": string;
60
- "pisell2.ticket-booking.go-back": string;
61
- "pisell2.ticket-booking.exit": string;
62
- "pisell2.ticket-booking.deposit": string;
63
- "pisell2.ticket-booking.copy-success": string;
64
- "pisell2.ticket-booking.no-data": string;
65
- "pisell2.ticket-booking.authorized": string;
66
- "pisell2.ticket-booking.paid": string;
67
- "pisell2.ticket-booking.partially-paid": string;
68
- "pisell2.ticket-booking.partially-refunded": string;
69
- "pisell2.ticket-booking.payment-pending": string;
70
- "pisell2.ticket-booking.refunded": string;
71
- "pisell2.ticket-booking.unpaid": string;
72
- "pisell2.ticket-booking.voided": string;
73
- "pisell2.ticket-booking.pending": string;
74
- "pisell2.ticket-booking.all": string;
75
- "pisell2.ticket-booking.not-started": string;
76
- "pisell2.ticket-booking.started": string;
77
- "pisell2.ticket-booking.finished": string;
78
- "pisell2.ticket-booking.canceled": string;
79
- "pisell2.ticket-booking.inform": string;
80
- "pisell2.ticket-booking.check-management": string;
81
- "pisell2.ticket-booking.confirm": string;
82
- "pisell2.ticket-booking.dashboard": string;
83
- "pisell2.ticket-booking.booking-list": string;
84
- "pisell2.ticket-booking.full-data": string;
85
- "pisell2.ticket-booking.today": string;
86
- "pisell2.ticket-booking.now": string;
87
- "pisell2.ticket-booking.start-time": string;
88
- "pisell2.ticket-booking.create-time": string;
89
- "pisell2.ticket-booking.customer": string;
90
- "pisell2.ticket-booking.total": string;
91
- "pisell2.ticket-booking.search": string;
92
- "pisell2.ticket-booking.refresh-success": string;
93
- "pisell2.ticket-booking.loading": string;
94
- "pisell2.ticket-booking.appointment-not-found": string;
95
- "pisell2.ticket-booking.scan": string;
96
- "pisell2.ticket-booking.create-new": string;
97
- "pisell2.ticket-booking.add-to-cart": string;
98
- "pisell2.ticket-booking.not-available-title": string;
99
- "pisell2.ticket-booking.not-available-ok": string;
100
- "pisell2.ticket-booking.in-cart": (number: number) => string;
101
- };
102
- "zh-HK": {
103
- "pisell2.ticket-booking.info": string;
104
- "pisell2.ticket-booking.notes": string;
105
- "pisell2.ticket-booking.forms": string;
106
- "pisell2.ticket-booking.sales": string;
107
- "pisell2.ticket-booking.payment": string;
108
- "pisell2.ticket-booking.unsaved-changes": string;
109
- "pisell2.ticket-booking.exit-confirm": string;
110
- "pisell2.ticket-booking.go-back": string;
111
- "pisell2.ticket-booking.exit": string;
112
- "pisell2.ticket-booking.deposit": string;
113
- "pisell2.ticket-booking.copy-success": string;
114
- "pisell2.ticket-booking.no-data": string;
115
- "pisell2.ticket-booking.authorized": string;
116
- "pisell2.ticket-booking.paid": string;
117
- "pisell2.ticket-booking.partially-paid": string;
118
- "pisell2.ticket-booking.partially-refunded": string;
119
- "pisell2.ticket-booking.payment-pending": string;
120
- "pisell2.ticket-booking.refunded": string;
121
- "pisell2.ticket-booking.unpaid": string;
122
- "pisell2.ticket-booking.voided": string;
123
- "pisell2.ticket-booking.pending": string;
124
- "pisell2.ticket-booking.all": string;
125
- "pisell2.ticket-booking.not-started": string;
126
- "pisell2.ticket-booking.started": string;
127
- "pisell2.ticket-booking.finished": string;
128
- "pisell2.ticket-booking.canceled": string;
129
- "pisell2.ticket-booking.inform": string;
130
- "pisell2.ticket-booking.check-management": string;
131
- "pisell2.ticket-booking.confirm": string;
132
- "pisell2.ticket-booking.dashboard": string;
133
- "pisell2.ticket-booking.booking-list": string;
134
- "pisell2.ticket-booking.full-data": string;
135
- "pisell2.ticket-booking.today": string;
136
- "pisell2.ticket-booking.now": string;
137
- "pisell2.ticket-booking.start-time": string;
138
- "pisell2.ticket-booking.create-time": string;
139
- "pisell2.ticket-booking.customer": string;
140
- "pisell2.ticket-booking.total": string;
141
- "pisell2.ticket-booking.search": string;
142
- "pisell2.ticket-booking.refresh-success": string;
143
- "pisell2.ticket-booking.loading": string;
144
- "pisell2.ticket-booking.appointment-not-found": string;
145
- "pisell2.ticket-booking.scan": string;
146
- "pisell2.ticket-booking.create-new": string;
147
- "pisell2.ticket-booking.add-to-cart": string;
148
- "pisell2.ticket-booking.not-available-title": string;
149
- "pisell2.ticket-booking.not-available-ok": string;
150
- "pisell2.ticket-booking.in-cart": (number: number) => string;
151
- };
152
- };
153
- export default _default;
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- interface CustomerData {
3
- }
4
- interface CustomerContextType {
5
- appContext: any;
6
- appUtils: any;
7
- isLogin: () => boolean;
8
- openLoginModal: (params: any) => void;
9
- getUserInfo: () => any;
10
- }
11
- interface CustomerProviderProps {
12
- children: React.ReactNode;
13
- }
14
- export declare const CustomerContext: React.Context<CustomerContextType | undefined>;
15
- export declare const CustomerProvider: React.FC<CustomerProviderProps>;
16
- /**
17
- * 使用步骤管理的Hook
18
- * @throws {Error} 如果在StepProvider外部使用会抛出错误
19
- * @returns {StepContextType} 步骤管理上下文
20
- */
21
- export declare const useCustomer: () => CustomerContextType;
22
- declare const _default: {
23
- defaultState: CustomerData;
24
- };
25
- export default _default;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Form: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default Form;
@@ -1,8 +0,0 @@
1
- /**
2
- * @title: 更新表单数据
3
- * @description:
4
- * @return {*}
5
- * @Author: WangHan
6
- * @Date: 2025-05-26 16:58
7
- */
8
- export declare const updateRelationForms: (carts: any[], currentCart: any, values: any, currentStepKey?: string) => any;
@@ -1,2 +0,0 @@
1
- declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
- export default Lists;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import '../../info/service/index.less';
3
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- export declare const getFormatResourceListAndMap: (data: any[], bookingId?: number[]) => {
2
- list: any[];
3
- listMap: any;
4
- };
@@ -1,113 +0,0 @@
1
- export declare type MachineCodeListParams = {
2
- order_id: number | string;
3
- available: number;
4
- prepare_payments: {
5
- voucher_id: number;
6
- amount: number;
7
- tag: string;
8
- }[];
9
- filter_prepare_wallet_pass: 1 | 0;
10
- sale_channel: string;
11
- other_exact_codes?: string[];
12
- };
13
- export declare type WalletPassDataType = {
14
- id: number;
15
- shop_id: number;
16
- customer_id: number;
17
- code: string;
18
- encoded: string;
19
- status: string;
20
- cover: string;
21
- tag: string;
22
- relation_type: string;
23
- product_id: number;
24
- limit_status: string;
25
- sales_status: number;
26
- par_value: string;
27
- used_par_value: string;
28
- start_date: string;
29
- expire_date: string;
30
- end_time: string;
31
- start_time: string;
32
- created_at: string;
33
- product_name: string;
34
- expire_time: string;
35
- available_max_par_value: string;
36
- available_max_amount: string;
37
- recommended_usage_amount: string;
38
- custom_expire_status: number;
39
- wallet_pass_usage_unit: WalletPassUsageUnit;
40
- custom_order_deduct_exhausted: number;
41
- available_product_status: number;
42
- available_product_ids: any[];
43
- available_product_type: string;
44
- available_num: number;
45
- available_product_title: string;
46
- unified_available_status: number;
47
- unified_messages: UnifiedMessages;
48
- external_card: any[];
49
- product: Product;
50
- shop: Shop;
51
- wallet_pass_usage?: any;
52
- balance_par_value: string;
53
- };
54
- declare type Shop = {
55
- id: number;
56
- name: string;
57
- default_url: string;
58
- };
59
- declare type Product = {
60
- id: number;
61
- title: string;
62
- cover: string;
63
- is_charge_tax: number;
64
- };
65
- declare type UnifiedMessages = {
66
- title: string;
67
- desc: string;
68
- alert: string;
69
- };
70
- declare type WalletPassUsageUnit = {
71
- price: number;
72
- points: number;
73
- };
74
- /**
75
- * 查询支付识别码列表
76
- */
77
- export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise<WalletPassDataType[]>;
78
- /**
79
- * 获取推荐的支付识别码
80
- */
81
- export declare const getRecommendMachineCodeList: (order_id: number) => Promise<WalletPassDataType[]>;
82
- /**
83
- * 搜索支付识别码
84
- */
85
- export declare const searchMachineCodeList: (params: {
86
- order_id: number | string;
87
- code: string;
88
- sale_channel: string;
89
- prepare_payments: {
90
- voucher_id: number;
91
- amount: number;
92
- tag: string;
93
- }[];
94
- filter_prepare_wallet_pass: 1 | 0;
95
- }) => Promise<WalletPassDataType[]>;
96
- /**
97
- * walletpass支付
98
- */
99
- export declare const walletPassPay: (params: {
100
- order_id: number | string;
101
- payment_group_id: number;
102
- payments: {
103
- amount: string;
104
- wallet_pass_use_value: string;
105
- voucher_id: number;
106
- tag: string;
107
- wallet_pass_usage_unit: {
108
- price: number;
109
- points: number;
110
- };
111
- }[];
112
- }) => Promise<WalletPassDataType[]>;
113
- export {};