@pisell/private-materials 6.5.17 → 6.5.20

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 (199) 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/components/Cart/Item/Total.d.ts +1 -0
  8. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  9. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  12. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  13. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  14. package/es/components/booking/forms/footer.d.ts +1 -0
  15. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  16. package/es/components/booking/forms/single/index.d.ts +1 -0
  17. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  18. package/es/components/booking/info/notes/index.d.ts +1 -0
  19. package/es/components/booking/info/service/Lists.d.ts +1 -0
  20. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  21. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  22. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  23. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  24. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  25. package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
  26. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  27. package/es/components/eftpos/form/index.d.ts +1 -0
  28. package/es/components/eftpos/hooks.d.ts +1 -0
  29. package/es/components/eftpos/index.d.ts +1 -0
  30. package/es/components/eftpos/pos.d.ts +1 -0
  31. package/es/components/eftposPay/amount.d.ts +1 -0
  32. package/es/components/eftposPay/app.d.ts +1 -0
  33. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  34. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  35. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  36. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  37. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  38. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  39. package/es/components/eftposPay/hooks.d.ts +1 -1
  40. package/es/components/eftposPay/pay.d.ts +1 -0
  41. package/es/components/eftposPay/store/index.d.ts +2 -2
  42. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  43. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  44. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  45. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  46. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  47. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  48. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  49. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  50. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  51. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  52. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  53. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  54. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  55. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  56. package/es/components/list/List.js +0 -3
  57. package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
  58. package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
  59. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  60. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  61. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  62. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  63. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  64. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  65. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  66. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  67. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  68. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  69. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  70. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  71. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  72. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  73. package/es/components/schedules/products/index.d.ts +1 -0
  74. package/es/components/schedules/resources/index.d.ts +1 -0
  75. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  76. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  77. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  78. package/es/components/schedules/schedules/index.d.ts +1 -0
  79. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  80. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  81. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  82. package/es/components/shoppingCart/index.d.ts +1 -0
  83. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +5 -3
  84. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  85. package/es/components/ticketBooking/components/ticketBooking/index.js +7 -7
  86. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  87. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  88. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  89. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  90. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  91. package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  92. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
  93. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
  94. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
  95. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  96. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
  97. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  98. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
  99. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
  100. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  101. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  102. package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  103. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  104. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  105. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  106. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  107. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  108. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  109. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  110. package/lib/components/booking/forms/footer.d.ts +1 -0
  111. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  112. package/lib/components/booking/forms/single/index.d.ts +1 -0
  113. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  114. package/lib/components/booking/info/notes/index.d.ts +1 -0
  115. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  116. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  117. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  118. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  119. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  120. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
  121. package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
  122. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  123. package/lib/components/eftpos/form/index.d.ts +1 -0
  124. package/lib/components/eftpos/hooks.d.ts +1 -0
  125. package/lib/components/eftpos/index.d.ts +1 -0
  126. package/lib/components/eftpos/pos.d.ts +1 -0
  127. package/lib/components/eftposPay/amount.d.ts +1 -0
  128. package/lib/components/eftposPay/app.d.ts +1 -0
  129. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  130. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  131. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  132. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  133. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  134. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  135. package/lib/components/eftposPay/hooks.d.ts +1 -1
  136. package/lib/components/eftposPay/pay.d.ts +1 -0
  137. package/lib/components/eftposPay/store/index.d.ts +2 -2
  138. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  139. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  140. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  141. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  142. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  143. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  144. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  145. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  146. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  147. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  148. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  149. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  150. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  151. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  152. package/lib/components/list/List.js +0 -3
  153. package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
  154. package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
  155. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  156. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  157. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  158. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  159. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  160. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  161. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  162. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  163. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  164. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  165. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  166. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  167. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  168. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  169. package/lib/components/schedules/products/index.d.ts +1 -0
  170. package/lib/components/schedules/resources/index.d.ts +1 -0
  171. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  172. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  173. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  174. package/lib/components/schedules/schedules/index.d.ts +1 -0
  175. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  176. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  177. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  178. package/lib/components/shoppingCart/index.d.ts +1 -0
  179. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +4 -3
  180. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  181. package/lib/components/ticketBooking/components/ticketBooking/index.js +6 -9
  182. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  183. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
  184. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
  185. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
  186. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
  187. package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
  188. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
  189. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
  190. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
  191. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
  192. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
  193. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
  194. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
  195. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
  196. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +1 -0
  197. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +1 -0
  198. package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
  199. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ProductCardConfig } from '../../type';
3
4
  declare const Action: ({ props, className, }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CardMoreText: (props: any) => JSX.Element;
3
4
  export default CardMoreText;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const CardWrapper: (props: ProductCardConfig) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Cover: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ProductCardConfig } from '../../type';
3
4
  declare const Favorite: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Price: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Promotions: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductCardConfig } from '../../type';
2
3
  import './index.less';
3
4
  declare const Tags: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ProductCardConfig } from '../../type';
3
4
  declare const TooltipTags: ({ props }: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const WarningLists: (props: any) => JSX.Element | null;
3
4
  export default WarningLists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SkuCard: {
2
3
  (props: any): JSX.Element | null;
3
4
  A1: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
4
  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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
3
4
  export default Cart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const DepositContent: (props: {
3
4
  isAgreeDepositPolicy: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface TabProductProps {
3
4
  list: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface FooterProps {
2
3
  state: any;
3
4
  reload: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SendModalValues } from './index';
2
3
  declare const useSendModal: (bookingId?: number) => {
3
4
  open: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Notes: () => JSX.Element | null;
2
3
  export default Notes;
@@ -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,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ContactType = {
3
4
  country_calling_code: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  title?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddNote: ({ value, onChange, title, placeholder }: any) => JSX.Element;
3
4
  export default AddNote;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface IScanResult {
3
4
  status: 'success' | 'failed';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface DiscountWalletProps {
3
4
  isCardMode: boolean;
@@ -17,7 +17,7 @@ export declare const useWalletPass: (props: {
17
17
  cardData: any;
18
18
  handleSelectWallet: (value: number[]) => void;
19
19
  selectedWalletIds: any[];
20
- expiredWalletIds: any[];
20
+ expiredWalletIds: any;
21
21
  expiredWalletData: any;
22
22
  disabledWalletData: any[];
23
23
  clearAllSelectedWallet: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 递归循环表单数据
3
4
  * @Author: hongbing.wang
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos } from './const';
2
3
  /**
3
4
  * @title: tyro 设备连接
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Eftpos, DeviceStatus } from './const';
2
3
  import './index.less';
3
4
  interface PosProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DeviceProp } from "./const";
2
3
  interface PosProps {
3
4
  eftposName: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  /**
3
4
  * @title: 支付金额信息配置页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -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: 断网(客户端)提示页
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  import './index.less';
3
4
  /**
@@ -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<"stripe" | "tyro" | "windcave" | "payo" | "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 { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -297,8 +297,8 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "stripe" | "tyro" | "windcave" | "payo" | "linkly" | undefined;
301
- action?: "amount" | "pay" | "deviceList" | undefined;
300
+ eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
+ action?: "pay" | "amount" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: () => JSX.Element;
2
3
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: () => JSX.Element;
3
4
  export default CartItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
4
  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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Event: () => JSX.Element;
3
4
  export default Event;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: () => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Information: () => JSX.Element;
3
4
  export default Information;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resource: () => JSX.Element;
3
4
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderModal: (props: any) => JSX.Element;
2
3
  export default SelectHolderModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingOptions: (props: {
2
3
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
3
4
  }) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Resource: (props: any) => JSX.Element;
2
3
  export default Resource;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Schedule: () => JSX.Element;
2
3
  export default Schedule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -145,9 +145,6 @@ var List = (props) => {
145
145
  };
146
146
  const processedData = (0, import_react.useMemo)(() => {
147
147
  const sourceData = loading ? MOCK_LIST_DATA : data || [];
148
- console.log(`processedData recalculating: tabStyle=${tabStyle}, activeTab=${activeTab}, tabItems=${tabItems.length}, dataLength=${sourceData.length}`);
149
- console.log(`sourceData sample: ${JSON.stringify(sourceData.slice(0, 2), null, 2)}`);
150
- console.log(`tabGroup: ${tabGroup}`);
151
148
  if (tabStyle === "anchor" && tabItems.length > 0) {
152
149
  const groupedData = [];
153
150
  const categoryTabs = tabItems.filter((tab) => tab.key !== "all");
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ToBPayCache: (props: {
3
4
  open: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Payment } from '../../types';
2
3
  import './index.less';
3
4
  declare const ConfirmedPayment: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const StripePayment: () => JSX.Element;
3
4
  export default StripePayment;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
3
  public_key: string;
3
4
  client_secret?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.module.less';
2
3
  declare const StripePayment: () => JSX.Element;
3
4
  export default StripePayment;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface AddClientProps {
3
4
  onChange: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const Actor: ({ name }: {
2
3
  name: string;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface InfoProps {
2
3
  relation_id: any;
3
4
  action: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TabProduct: (props: any) => JSX.Element;
2
3
  export default TabProduct;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type BoolConfigVal = 0 | 1;
3
4
  export interface ProductCardConfig {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from 'antd';
2
3
  import { ScheduleItem } from '../../type';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetail: ({ form, currentProduct, }: {
3
4
  form: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductDetailDrawer: () => JSX.Element;
3
4
  export default ProductDetailDrawer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Products: () => JSX.Element;
3
4
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: () => JSX.Element;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const RelationProduct: ({ value, onChange, }: {
3
4
  value?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from '../../type';
2
3
  import './index.less';
3
4
  declare type AllSchedulesPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DrawerProps } from "antd";
2
3
  import { ScheduleItem } from "../../type";
3
4
  import "./index.less";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SchedulesConnect: () => JSX.Element;
2
3
  export default SchedulesConnect;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductProps } from '../../type';
2
3
  declare const Product: (props: ProductProps) => JSX.Element;
3
4
  export default Product;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: () => JSX.Element;
3
4
  export default Cart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Content: () => JSX.Element;
3
4
  export default Content;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { shoppingCartProps } from './type';
2
3
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
3
4
  export default shoppingCart;
@@ -23,6 +23,7 @@ __export(utils_exports, {
23
23
  generateProductTabs: () => generateProductTabs
24
24
  });
25
25
  module.exports = __toCommonJS(utils_exports);
26
+ var import_utils = require("@pisell/utils");
26
27
  var formatSkuDataSource = (dataSource) => {
27
28
  return {
28
29
  id: dataSource.id,
@@ -37,7 +38,7 @@ var formatSkuDataSource = (dataSource) => {
37
38
  };
38
39
  var generateProductTabs = (products, tabStyle = "switch") => {
39
40
  if (!products || products.length === 0) {
40
- return [{ key: "all", label: "全部" }];
41
+ return [{ key: "all", label: import_utils.locales.getText("pisell2.ticket-booking.all") }];
41
42
  }
42
43
  if (tabStyle === "switch") {
43
44
  const categoryMap = /* @__PURE__ */ new Map();
@@ -54,7 +55,7 @@ var generateProductTabs = (products, tabStyle = "switch") => {
54
55
  (a, b) => (b.sort || 0) - (a.sort || 0)
55
56
  );
56
57
  const tabs = [
57
- { key: "all", label: "全部" }
58
+ { key: "all", label: import_utils.locales.getText("pisell2.ticket-booking.all") }
58
59
  ];
59
60
  sortedCategories.forEach((category) => {
60
61
  tabs.push({
@@ -78,7 +79,7 @@ var generateProductTabs = (products, tabStyle = "switch") => {
78
79
  return acc;
79
80
  }, {});
80
81
  const tabs = [
81
- { key: "all", label: `全部 (${products.length})` }
82
+ { key: "all", label: `${import_utils.locales.getText("pisell2.ticket-booking.all")} (${products.length})` }
82
83
  ];
83
84
  const sortedEntries = Object.entries(categoryCount).sort(
84
85
  ([, a], [, b]) => (b.category.sort || 0) - (a.category.sort || 0)
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface MenuBarProps {
3
4
  activeNavKey?: string;