@pisell/private-materials 6.4.25 → 6.4.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 (135) 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 +18 -10
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/index.d.ts +1 -0
  19. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  20. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  21. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  22. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  23. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  24. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  25. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  26. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  27. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  28. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
  29. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  30. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  31. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  32. package/es/components/eftposPay/hooks.d.ts +1 -1
  33. package/es/components/eftposPay/index.d.ts +1 -0
  34. package/es/components/eftposPay/pay.d.ts +1 -0
  35. package/es/components/eftposPay/store/index.d.ts +2 -2
  36. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  37. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  38. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  39. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  40. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  41. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  42. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  43. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  44. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  45. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  46. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  47. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  48. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  49. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  50. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  51. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  52. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  53. package/es/components/pay/toB/components/Cache/index.d.ts +0 -1
  54. package/es/components/pay/toB/components/Card/index.d.ts +0 -1
  55. package/es/components/pay/toB/components/Content/Footer.d.ts +0 -1
  56. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  57. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  58. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  59. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  60. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  61. package/es/components/ruleSetting/index.d.ts +1 -0
  62. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  63. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  64. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  65. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  66. package/es/components/ticketBooking/components/ticketBooking/index.js +8 -4
  67. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  68. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  69. package/es/plus/noteModal/AddTempModal.d.ts +0 -1
  70. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  71. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  72. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  73. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  74. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  75. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  76. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  77. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  78. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  79. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  80. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  81. package/lib/components/appointmentBooking/index.d.ts +1 -0
  82. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  83. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  84. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  85. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  86. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  87. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  88. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  89. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  90. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  91. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +0 -1
  92. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  93. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  94. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  95. package/lib/components/eftposPay/hooks.d.ts +1 -1
  96. package/lib/components/eftposPay/index.d.ts +1 -0
  97. package/lib/components/eftposPay/pay.d.ts +1 -0
  98. package/lib/components/eftposPay/store/index.d.ts +2 -2
  99. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  100. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  101. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  102. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  103. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  104. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  105. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  106. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  107. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  108. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  109. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  110. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  111. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  112. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  113. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  114. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  115. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  116. package/lib/components/pay/toB/components/Cache/index.d.ts +0 -1
  117. package/lib/components/pay/toB/components/Card/index.d.ts +0 -1
  118. package/lib/components/pay/toB/components/Content/Footer.d.ts +0 -1
  119. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  120. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  121. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  122. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  123. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  124. package/lib/components/ruleSetting/index.d.ts +1 -0
  125. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  126. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  127. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  128. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  129. package/lib/components/ticketBooking/components/ticketBooking/index.js +8 -4
  130. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  131. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  132. package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
  133. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  134. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  135. package/package.json +1 -1
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: ({ onNext }: any) => JSX.Element;
3
4
  export default CartItem;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const DepositContent: (props: {
4
3
  isAgreeDepositPolicy: boolean;
@@ -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 '../../../booking/components/voucher/index.less';
3
2
  import './index.less';
4
3
  declare const VoucherCard: (props: any) => JSX.Element;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -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
  export declare const calculateTotalPrice: (data: any) => number;
3
2
  declare const useQuotation: (state: any, dispatch: any) => {
4
3
  dom: JSX.Element;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  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 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 './index.less';
3
2
  export interface IScanResult {
4
3
  status: 'success' | 'failed';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface DiscountWalletProps {
4
3
  isCardMode: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -297,13 +297,13 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
300
+ eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
301
  action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
305
305
  subTitle?: string | undefined;
306
- type?: "step" | "unset" | undefined;
306
+ type?: "unset" | "step" | undefined;
307
307
  render?: boolean | undefined;
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
@@ -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 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 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 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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CallToBookProps = {
4
3
  show: boolean;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: (props: {
3
2
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
4
3
  }) => JSX.Element;
@@ -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 ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
4
3
  export default ScheduleTimeItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ToBPayCache: (props: {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayMethod } from '../../types';
3
2
  import './index.less';
4
3
  declare const ToBPayCard: ({ data, onChange, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ToBPayFooter: (props: {
3
2
  loading: boolean;
4
3
  submitDisabled: boolean;
@@ -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 { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -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 { PopoverProps } from 'antd';
3
2
  import { CustomerCardProps } from './CustomerCard';
4
3
  import './index.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TabProduct: (props: any) => JSX.Element;
3
2
  export default TabProduct;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -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,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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const index: () => JSX.Element;
4
3
  export default index;
@@ -278,14 +278,18 @@ var TicketBooking = function TicketBooking() {
278
278
  var buildNumber = parseInt(buildNumberStr, 10);
279
279
 
280
280
  // 白标terminal
281
- if (userAgent.includes('com.funtovia.pos') && !isNaN(buildNumber) && buildNumber > 0 && buildNumber < 7) {
282
- setShowTerminalUpgradeModal(true);
281
+ if (userAgent.includes('com.funtovia.pos')) {
282
+ if (!isNaN(buildNumber) && buildNumber > 0 && buildNumber < 7) {
283
+ setShowTerminalUpgradeModal(true);
284
+ }
283
285
  return;
284
286
  }
285
287
 
286
288
  // 白标terminal
287
- if (userAgent.includes('com.bbpet.pos') && !isNaN(buildNumber) && buildNumber > 0 && buildNumber < 6) {
288
- setShowTerminalUpgradeModal(true);
289
+ if (userAgent.includes('com.bbpet.pos')) {
290
+ if (!isNaN(buildNumber) && buildNumber > 0 && buildNumber < 6) {
291
+ setShowTerminalUpgradeModal(true);
292
+ }
289
293
  return;
290
294
  }
291
295
 
@@ -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 { 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 AddTempModal: ({ open, onCancel, onConfirm, }: {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VertifyEmail: (props: {
4
3
  email: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import './index.less';
4
3
  interface PisellPhoneKeyboardProps {
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: ({ onNext }: any) => JSX.Element;
3
4
  export default CartItem;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const DepositContent: (props: {
4
3
  isAgreeDepositPolicy: boolean;
@@ -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 '../../../booking/components/voucher/index.less';
3
2
  import './index.less';
4
3
  declare const VoucherCard: (props: any) => JSX.Element;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -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
  export declare const calculateTotalPrice: (data: any) => number;
3
2
  declare const useQuotation: (state: any, dispatch: any) => {
4
3
  dom: JSX.Element;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  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 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 './index.less';
3
2
  export interface IScanResult {
4
3
  status: 'success' | 'failed';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface DiscountWalletProps {
4
3
  isCardMode: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**