@pisell/private-materials 3.3.18 → 3.3.19

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 (169) 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/businessModel/SalesModel/index.d.ts +0 -1
  8. package/es/components/Sales/Summary/utils.d.ts +1 -1
  9. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  15. package/es/components/booking/components/voucher/index.d.ts +0 -1
  16. package/es/components/booking/forms/footer.d.ts +0 -1
  17. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -2
  18. package/es/components/booking/forms/single/index.d.ts +1 -0
  19. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  20. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  21. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  22. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  23. package/es/components/booking/info/service/Lists.d.ts +1 -0
  24. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  25. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  26. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  27. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  28. package/es/components/booking/info/service2/utils.d.ts +1 -1
  29. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  30. package/es/components/eftposPay/amount.d.ts +0 -1
  31. package/es/components/eftposPay/app.d.ts +0 -1
  32. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  33. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  34. package/es/components/eftposPay/device.d.ts +0 -1
  35. package/es/components/eftposPay/hooks.d.ts +1 -1
  36. package/es/components/eftposPay/index.d.ts +0 -1
  37. package/es/components/eftposPay/pay.d.ts +0 -1
  38. package/es/components/eftposPay/payo/config.d.ts +0 -1
  39. package/es/components/eftposPay/payo/config.js +14 -3
  40. package/es/components/eftposPay/payo/hooks.js +12 -1
  41. package/es/components/eftposPay/store/index.d.ts +3 -3
  42. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  43. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  44. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  45. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  46. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  47. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  48. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  49. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  50. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  51. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  52. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  53. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  54. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  55. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  56. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  57. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  58. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  59. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  60. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  61. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  62. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  63. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  64. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  65. package/es/components/eventBooking/index.d.ts +0 -1
  66. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  67. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  68. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  69. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  70. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  71. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  72. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  73. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  74. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  75. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  76. package/es/components/productExtension/index.d.ts +0 -1
  77. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  78. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  79. package/es/components/ruleSetting/index.d.ts +0 -1
  80. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  81. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  82. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  83. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  84. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  85. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  86. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  87. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  88. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  89. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  90. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  91. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  92. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  93. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  94. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  95. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  96. package/lib/components/booking/components/voucher/index.d.ts +0 -1
  97. package/lib/components/booking/forms/footer.d.ts +0 -1
  98. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -2
  99. package/lib/components/booking/forms/single/index.d.ts +1 -0
  100. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  101. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  102. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  103. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  104. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  105. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  106. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  107. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  108. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  109. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  110. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  111. package/lib/components/eftposPay/amount.d.ts +0 -1
  112. package/lib/components/eftposPay/app.d.ts +0 -1
  113. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  114. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  115. package/lib/components/eftposPay/device.d.ts +0 -1
  116. package/lib/components/eftposPay/hooks.d.ts +1 -1
  117. package/lib/components/eftposPay/index.d.ts +0 -1
  118. package/lib/components/eftposPay/pay.d.ts +0 -1
  119. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  120. package/lib/components/eftposPay/payo/config.js +12 -1
  121. package/lib/components/eftposPay/payo/hooks.js +10 -0
  122. package/lib/components/eftposPay/store/index.d.ts +3 -3
  123. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  124. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  125. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  126. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  127. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  128. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  129. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  130. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  131. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  132. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  133. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  134. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  135. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  136. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  137. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  138. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  139. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  140. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  141. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  142. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  143. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  144. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  145. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  146. package/lib/components/eventBooking/index.d.ts +0 -1
  147. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  148. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  149. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  150. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  151. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  152. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  153. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  154. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  155. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  156. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  157. package/lib/components/productExtension/index.d.ts +0 -1
  158. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  159. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  160. package/lib/components/ruleSetting/index.d.ts +0 -1
  161. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  162. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  163. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  164. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  165. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  166. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  167. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  168. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  169. package/package.json +2 -2
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Deposit: () => JSX.Element;
4
3
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const GuestOptionsModal: (props: any) => JSX.Element;
4
3
  export default GuestOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DepositModal: (props: any) => JSX.Element;
4
3
  export default DepositModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Deposit: (props: any) => JSX.Element;
4
3
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const VoucherCard: (props: any) => JSX.Element | null;
4
3
  export default VoucherCard;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FooterProps {
3
2
  state: any;
4
3
  reload: () => void;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
5
4
  setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
6
5
  handleOpen: () => void;
7
6
  handleValuesChange: (val: any) => void;
8
- handleOk: (values: SendModalValues) => Promise<boolean | undefined>;
7
+ handleOk: (values: SendModalValues) => Promise<any>;
9
8
  };
10
9
  export default useSendModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
4
3
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import './index.less';
4
3
  interface AddServiceProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingList: ({ items }: {
3
2
  items: any[];
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -240,4 +240,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
240
240
  * @Author: WangHan
241
241
  * @Date: 2024-12-24 11:32
242
242
  */
243
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
243
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  /**
4
3
  * @title: 支付金额信息配置页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps, RouteType } from './const';
3
2
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
3
  action: RouteType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps, PosProps } from './const';
3
2
  import './device.less';
4
3
  /**
@@ -15,7 +15,7 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  import './index.less';
4
3
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -46,7 +46,7 @@ var POS = ({
46
46
  api,
47
47
  onChange
48
48
  }) => {
49
- const { steps } = (0, import_store.useContextData)();
49
+ const { steps, custom } = (0, import_store.useContextData)();
50
50
  const {
51
51
  deviceRef,
52
52
  payRef,
@@ -147,6 +147,17 @@ var POS = ({
147
147
  controllerRef.current = new AbortController();
148
148
  const resultPromise = modeRef.current === import_const.ModeEnum.Pay || modeRef.current === import_const.ModeEnum.FullPay ? api.pay(
149
149
  {
150
+ ...(custom == null ? void 0 : custom.platform) ? {
151
+ "operator_id": custom.operator_id,
152
+ "operator_type": custom.operator_type,
153
+ "platform": custom.platform,
154
+ "custom_payment_id": custom.custom_payment_id,
155
+ "service_charge": {
156
+ "amount": payRef.current.surMoney,
157
+ "percentage": payRef.current.surPercentRate
158
+ },
159
+ "original_amount": payRef.current.amount
160
+ } : {},
150
161
  order_id: orderIdRef.current,
151
162
  amount: payRef.current.total,
152
163
  card_reader_type: eftposRef.current,
@@ -25,6 +25,7 @@ module.exports = __toCommonJS(hooks_exports);
25
25
  var import_react = require("react");
26
26
  var import_const = require("../const");
27
27
  var import_helper = require("../helper");
28
+ var import_utils = require("@pisell/utils");
28
29
  var useValidate = (timeout) => {
29
30
  const controllerRef = (0, import_react.useRef)();
30
31
  const ref = (0, import_react.useRef)(true);
@@ -78,6 +79,15 @@ var useValidate = (timeout) => {
78
79
  TimeoutRef.current && clearTimeout(TimeoutRef.current);
79
80
  TimeoutRef.current = setTimeout(() => {
80
81
  isTimeoutCloseRef.current = true;
82
+ (0, import_utils.sendWarningLog)({
83
+ title: "支付状态查询超时",
84
+ content: [
85
+ {
86
+ key: "params",
87
+ value: JSON.stringify(params)
88
+ }
89
+ ]
90
+ });
81
91
  close();
82
92
  }, timeout);
83
93
  return checkApi(...params);
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "success" | "loading" | "warn" | "fail" | "question";
177
+ status: "success" | "warn" | "loading" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -298,7 +298,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
298
298
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
300
  eftpos?: "stripe" | "payo" | "tyro" | "windcave" | undefined;
301
- action?: "amount" | "deviceList" | "pay" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "success" | "loading" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ContinueButton: () => JSX.Element;
4
3
  export default ContinueButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type CallToBookProps = {
3
2
  show: boolean;
4
3
  type: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: () => JSX.Element;
3
2
  export default BookingOptions;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from '../../type';
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EventBooking: () => JSX.Element;
4
3
  export default EventBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import { CustomerCardProps } from './CustomerCard';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TabProduct: (props: any) => JSX.Element;
3
2
  export default TabProduct;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface ProductCardConfig {
4
3
  showImg: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductProps } from '../../type';
3
2
  declare const Product: (props: ProductProps) => JSX.Element;
4
3
  export default Product;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: () => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Dayjs } from 'dayjs';
3
2
  import './index.less';
4
3
  interface ITimeBarProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './../../index.less';
3
2
  declare const Search: () => JSX.Element;
4
3
  export default Search;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.3.18",
3
+ "version": "3.3.19",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -60,8 +60,8 @@
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
62
  "@pisell/utils": "1.0.42",
63
- "@pisell/materials": "3.3.7",
64
63
  "@pisell/date-picker": "3.0.2",
64
+ "@pisell/materials": "3.3.7",
65
65
  "@pisell/icon": "0.0.11"
66
66
  },
67
67
  "peerDependencies": {