@pisell/private-materials 6.11.218 → 6.11.220

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 (219) 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/index.d.ts +0 -1
  8. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  9. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/index.d.ts +0 -1
  14. package/es/components/booking/addons/model.d.ts +10 -1
  15. package/es/components/booking/components/voucher/index.d.ts +0 -1
  16. package/es/components/booking/forms/model.d.ts +10 -1
  17. package/es/components/booking/forms/single/index.d.ts +0 -1
  18. package/es/components/booking/hooks/useQuotation.d.ts +0 -1
  19. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
  20. package/es/components/booking/info/date/index.d.ts +0 -1
  21. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  22. package/es/components/booking/info/index.d.ts +0 -1
  23. package/es/components/booking/info/model.d.ts +10 -1
  24. package/es/components/booking/info/notes/index.d.ts +0 -1
  25. package/es/components/booking/info/service/Lists.d.ts +0 -1
  26. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  27. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  28. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  29. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  30. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  31. package/es/components/booking/model.d.ts +9 -1
  32. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  33. package/es/components/booking/notes/model.d.ts +10 -1
  34. package/es/components/booking/payments/model.d.ts +10 -1
  35. package/es/components/booking/utils.d.ts +2 -2
  36. package/es/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  37. package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  38. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  39. package/es/components/ecocup/cupList/index.d.ts +0 -1
  40. package/es/components/eftpos/hooks.d.ts +0 -1
  41. package/es/components/eftpos/index.d.ts +0 -1
  42. package/es/components/eftposPay/amount.d.ts +1 -1
  43. package/es/components/eftposPay/app.d.ts +0 -1
  44. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  45. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  46. package/es/components/eftposPay/device.d.ts +1 -1
  47. package/es/components/eftposPay/hooks.d.ts +1 -1
  48. package/es/components/eftposPay/index.d.ts +0 -1
  49. package/es/components/eftposPay/linkly/index.d.ts +0 -1
  50. package/es/components/eftposPay/pay.d.ts +0 -1
  51. package/es/components/eftposPay/store/index.d.ts +5 -5
  52. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  53. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  54. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  55. package/es/components/eventBooking/components/Voucher/index.d.ts +0 -1
  56. package/es/components/eventBooking/index.d.ts +0 -1
  57. package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
  58. package/es/components/pay/toC/model.d.ts +9 -1
  59. package/es/components/pay/toC/utils.d.ts +2 -2
  60. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  61. package/es/components/ruleSetting/index.d.ts +0 -1
  62. package/es/components/schedules/model.d.ts +9 -1
  63. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  64. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  65. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  66. package/es/components/shoppingCart/hooks/useSkuModal.d.ts +0 -1
  67. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  68. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  69. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  70. package/es/components/walletList/index.d.ts +0 -1
  71. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  72. package/es/plus/noteModal/AddTempModal.d.ts +0 -1
  73. package/es/plus/orderList/config.d.ts +0 -1
  74. package/es/plus/pisellReservation/PisellReservation.js +0 -2
  75. package/es/plus/pisellReservation/components/blockTimeModal/demo.d.ts +0 -1
  76. package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
  77. package/es/plus/pisellReservation/floorRoomCard/mapRowToFloorRoomCardData.d.ts +13 -2
  78. package/es/plus/pisellReservation/floorRoomCard/mapRowToFloorRoomCardData.js +46 -26
  79. package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  80. package/es/plus/pisellReservation/hooks/useFloorMapBookingInteraction.d.ts +1 -8
  81. package/es/plus/pisellReservation/hooks/useFloorMapBookingInteraction.js +25 -28
  82. package/es/plus/pisellReservation/hooks/useReservationResourceWallPersist.d.ts +2 -3
  83. package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
  84. package/es/plus/pisellSalesGrid/PisellSalesGrid.js +7 -2
  85. package/es/plus/pisellSalesManagement/config/booking.d.ts +0 -1
  86. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -2
  87. package/es/plus/pisellSalesManagement/hooks/useSalesGridData.js +18 -1
  88. package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
  89. package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  90. package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
  91. package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -1
  92. package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
  93. package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  94. package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
  95. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -1
  96. package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
  97. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -1
  98. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -1
  99. package/es/plus/productSelect/ProductCard/utils.d.ts +1 -1
  100. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  101. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  102. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  103. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  104. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  105. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  106. package/es/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  107. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  108. package/es/plus/walletPassGallery/index.d.ts +0 -1
  109. package/es/pro/Selector/Selector.d.ts +1 -1
  110. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  111. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  112. package/es/pro/skuDetailModal/components/weighing/index.d.ts +0 -1
  113. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  114. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  115. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  116. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  117. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  118. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  119. package/lib/components/appointmentBooking/index.d.ts +0 -1
  120. package/lib/components/booking/addons/model.d.ts +10 -1
  121. package/lib/components/booking/components/voucher/index.d.ts +0 -1
  122. package/lib/components/booking/forms/model.d.ts +10 -1
  123. package/lib/components/booking/forms/single/index.d.ts +0 -1
  124. package/lib/components/booking/hooks/useQuotation.d.ts +0 -1
  125. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
  126. package/lib/components/booking/info/date/index.d.ts +0 -1
  127. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  128. package/lib/components/booking/info/index.d.ts +0 -1
  129. package/lib/components/booking/info/model.d.ts +10 -1
  130. package/lib/components/booking/info/notes/index.d.ts +0 -1
  131. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  132. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  133. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  134. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  135. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  136. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  137. package/lib/components/booking/model.d.ts +9 -1
  138. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  139. package/lib/components/booking/notes/model.d.ts +10 -1
  140. package/lib/components/booking/payments/model.d.ts +10 -1
  141. package/lib/components/booking/utils.d.ts +2 -2
  142. package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +0 -1
  143. package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +0 -1
  144. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  145. package/lib/components/ecocup/cupList/index.d.ts +0 -1
  146. package/lib/components/eftpos/hooks.d.ts +0 -1
  147. package/lib/components/eftpos/index.d.ts +0 -1
  148. package/lib/components/eftposPay/amount.d.ts +1 -1
  149. package/lib/components/eftposPay/app.d.ts +0 -1
  150. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  151. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  152. package/lib/components/eftposPay/device.d.ts +1 -1
  153. package/lib/components/eftposPay/hooks.d.ts +1 -1
  154. package/lib/components/eftposPay/index.d.ts +0 -1
  155. package/lib/components/eftposPay/linkly/index.d.ts +0 -1
  156. package/lib/components/eftposPay/pay.d.ts +0 -1
  157. package/lib/components/eftposPay/store/index.d.ts +5 -5
  158. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  159. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  160. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  161. package/lib/components/eventBooking/components/Voucher/index.d.ts +0 -1
  162. package/lib/components/eventBooking/index.d.ts +0 -1
  163. package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +0 -1
  164. package/lib/components/pay/toC/model.d.ts +9 -1
  165. package/lib/components/pay/toC/utils.d.ts +2 -2
  166. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  167. package/lib/components/ruleSetting/index.d.ts +0 -1
  168. package/lib/components/schedules/model.d.ts +9 -1
  169. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  170. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  171. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  172. package/lib/components/shoppingCart/hooks/useSkuModal.d.ts +0 -1
  173. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
  174. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  175. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  176. package/lib/components/walletList/index.d.ts +0 -1
  177. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  178. package/lib/plus/noteModal/AddTempModal.d.ts +0 -1
  179. package/lib/plus/orderList/config.d.ts +0 -1
  180. package/lib/plus/pisellReservation/PisellReservation.js +0 -2
  181. package/lib/plus/pisellReservation/components/blockTimeModal/demo.d.ts +0 -1
  182. package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
  183. package/lib/plus/pisellReservation/floorRoomCard/mapRowToFloorRoomCardData.d.ts +13 -2
  184. package/lib/plus/pisellReservation/floorRoomCard/mapRowToFloorRoomCardData.js +32 -26
  185. package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
  186. package/lib/plus/pisellReservation/hooks/useFloorMapBookingInteraction.d.ts +1 -8
  187. package/lib/plus/pisellReservation/hooks/useFloorMapBookingInteraction.js +13 -37
  188. package/lib/plus/pisellReservation/hooks/useReservationResourceWallPersist.d.ts +2 -3
  189. package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
  190. package/lib/plus/pisellSalesGrid/PisellSalesGrid.js +7 -2
  191. package/lib/plus/pisellSalesManagement/config/booking.d.ts +0 -1
  192. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -2
  193. package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.js +11 -1
  194. package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -1
  195. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
  196. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
  197. package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -1
  198. package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
  199. package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
  200. package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -1
  201. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -1
  202. package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
  203. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -1
  204. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -1
  205. package/lib/plus/productSelect/ProductCard/utils.d.ts +1 -1
  206. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  207. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  208. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  209. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  210. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  211. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +0 -1
  212. package/lib/plus/walletPassGallery/components/passList/index.d.ts +0 -1
  213. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  214. package/lib/plus/walletPassGallery/index.d.ts +0 -1
  215. package/lib/pro/Selector/Selector.d.ts +1 -1
  216. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  217. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +0 -1
  218. package/lib/pro/skuDetailModal/components/weighing/index.d.ts +0 -1
  219. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: ({ onNext, renderContactInfo }: any) => JSX.Element;
4
3
  export default CartItem;
@@ -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 Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectDate: (props: any) => JSX.Element | null;
3
2
  export default SelectDate;
@@ -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 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 AppointmentBooking: () => JSX.Element;
4
3
  export default AppointmentBooking;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -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 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -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
  interface AddServiceVariantProps {
3
2
  globalState: any;
4
3
  setGlobalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditServiceRef } from "../service/editService";
3
2
  declare const useInfoHolder: (state: any, dispatch: any) => {
4
3
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InfoProps } from './main';
3
2
  declare const APP: (props: InfoProps) => JSX.Element;
4
3
  export default APP;
@@ -1,5 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { FormState } from '../model';
1
3
  export declare const walkInData: {
2
4
  id: number;
3
5
  nickname: string;
4
6
  };
5
- export declare const Provider: any, Context: any;
7
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
+ state: FormState;
9
+ } & {
10
+ dispatch: (params: {
11
+ type: string;
12
+ payload: any;
13
+ }) => void;
14
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource, isShowDelete, isShowAmountFooter, isShowPromotionAlert, }: any) => JSX.Element;
3
2
  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 {
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: any;
9
+ locale: string;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const AddTimeModal: () => JSX.Element;
4
3
  export default AddTimeModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: any;
10
+ locale: string;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  amountSymbol: string;
3
4
  apis: {
@@ -110,4 +111,11 @@ export declare const walkInData: {
110
111
  id: number;
111
112
  nickname: string;
112
113
  };
113
- export declare const Provider: any, Context: any;
114
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
115
+ state: FormState;
116
+ } & {
117
+ dispatch: (params: {
118
+ type: string;
119
+ payload: any;
120
+ }) => void;
121
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddNote: ({ value, onChange, title, placeholder }: any) => JSX.Element;
4
3
  export default AddNote;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -175,10 +175,10 @@ export declare const getProductTotalPrice: (item: any, options?: {
175
175
  export declare const getDuration: (duration: number | {
176
176
  type: string;
177
177
  value: number;
178
- }) => number | {
178
+ }) => number | "flexible" | {
179
179
  type: string;
180
180
  value: number;
181
- } | "flexible";
181
+ };
182
182
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
183
183
  export declare const getIsEdit: (state: any) => boolean;
184
184
  export {};
@@ -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 { PisellWalletPassCardProps } from '../../types';
3
2
  export declare const TestModule: () => JSX.Element;
4
3
  declare const ConflictModal: (props: {
@@ -18,7 +18,7 @@ export declare const useWalletPass: (props: {
18
18
  cardData: any;
19
19
  handleSelectWallet: (value: number[]) => void;
20
20
  selectedWalletIds: any[];
21
- expiredWalletIds: any;
21
+ expiredWalletIds: any[];
22
22
  expiredWalletData: any;
23
23
  disabledWalletData: any[];
24
24
  clearAllSelectedWallet: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CupListProps {
4
3
  data: any[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos } from './const';
3
2
  /**
4
3
  * @title: tyro 设备连接
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "success" | "print" | "page" | "fail" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -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
  import './index.less';
4
3
  /**
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "success" | "print" | "page" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -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" | "warn" | "loading" | "fail" | "init" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "init" | "fail" | "reject" | "pedding" | "resove" | "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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
3
2
  export default Linkly;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps } from './const';
3
2
  import './index.less';
4
3
  /**
@@ -176,7 +176,7 @@ export declare const updateCustom: (payload: {
176
176
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
177
177
  type: EActionTypes;
178
178
  payload: {
179
- status: "success" | "warn" | "loading" | "fail" | "question";
179
+ status: "loading" | "warn" | "success" | "fail" | "question";
180
180
  };
181
181
  };
182
182
  /**
@@ -297,20 +297,20 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  name?: string | undefined;
298
298
  symbol?: string | undefined;
299
299
  amount?: string | number | undefined;
300
- mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
300
+ mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
301
301
  order_id?: string | number | undefined;
302
302
  eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | "huifu" | undefined;
303
- action?: "amount" | "pay" | "deviceList" | undefined;
303
+ action?: "amount" | "deviceList" | "pay" | undefined;
304
304
  key?: number | undefined;
305
305
  step?: number | undefined;
306
306
  title?: string | undefined;
307
307
  subTitle?: string | undefined;
308
- type?: "step" | "unset" | undefined;
308
+ type?: "unset" | "step" | undefined;
309
309
  render?: boolean | undefined;
310
310
  net?: boolean | undefined;
311
311
  component?: string | undefined;
312
312
  form?: string | undefined;
313
- status?: "success" | "warn" | "loading" | "fail" | "init" | "pedding" | "resove" | "reject" | "question" | undefined;
313
+ status?: "loading" | "warn" | "success" | "init" | "fail" | "reject" | "pedding" | "resove" | "question" | undefined;
314
314
  warn?: string | undefined;
315
315
  steps?: {
316
316
  /** 用于重置当前步骤 */
@@ -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 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 Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const VoucherCard: () => JSX.Element | null;
3
2
  export default VoucherCard;
@@ -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 { Payment } from '../../types';
3
2
  import './index.less';
4
3
  declare const ConfirmedPayment: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -30,4 +31,11 @@ export interface PayGroup {
30
31
  front_order_uuid?: string;
31
32
  orderDetail: any;
32
33
  }
33
- export declare const Provider: any, Context: any;
34
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
35
+ state: FormState;
36
+ } & {
37
+ dispatch: (params: {
38
+ type: string;
39
+ payload: any;
40
+ }) => void;
41
+ }>;
@@ -22,7 +22,7 @@ export declare const formatWalletPassParams: (payGroup: PayGroup) => {
22
22
  order_id: string;
23
23
  payment_group_id: number;
24
24
  payments: {
25
- amount: string | number | undefined;
25
+ amount: string | number;
26
26
  wallet_pass_use_value: any;
27
27
  voucher_id: any;
28
28
  tag: any;
@@ -51,7 +51,7 @@ export declare const isFranchiseeShop: (path?: any, history?: any) => any;
51
51
  */
52
52
  export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
53
53
  export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
54
- export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string | number | undefined;
54
+ export declare const getAvailableMaxAmount: (data: WalletPassDataType) => string | number;
55
55
  export declare const clientPayment: (params: {
56
56
  order_id: number;
57
57
  type: "aliPay" | "wxPay" | 'google_pay';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type BoolConfigVal = 0 | 1;
4
3
  export interface ProductCardConfig {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -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
  export interface UseSkuModalOptions {
3
2
  /** 确认回调 */
4
3
  onConfirm?: (productId: string, skuValue: any, price: number) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter/types';
3
2
  interface AddServiceVariantProps {
4
3
  globalState: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface MenuBarProps {
4
3
  activeNavKey?: string;
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
51
51
  data: any;
52
52
  scanCode: string;
53
53
  } | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WalletList: (props: any) => JSX.Element;
4
3
  export default WalletList;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { BaseResponsiveProps } from '../../responsive/type';
4
3
  declare const AddTempModal: ({ open, onCancel, onConfirm, variant, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * 获取表格列配置(支持多语言)
4
3
  * @param locales - 多语言对象
@@ -764,8 +764,6 @@ export var PisellReservationCore = function PisellReservationCore(props) {
764
764
  onFloorMapBookingClick: onFloorMapBookingClick,
765
765
  dataSources: dataSources,
766
766
  mergedTableRows: tables,
767
- reservationRuleProduct: reservationRuleProduct,
768
- associated_menu_list_ids: reservationAssociatedMenuListIds,
769
767
  reservationBiz: BIZ,
770
768
  resourceSelectMode: resourceSelectMode
771
769
  }),
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -6,8 +6,8 @@ export declare const RESERVATION_DEFAULT_FLOOR_PLAN_ID = 1;
6
6
  export type { PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail, ShopFloorPlanLayoutItem, };
7
7
  export { buildFloorPlanPutBody, floorMapSavedConfigToRemotePatch, inferCanvasSizeFromScene, mergeFloorPlanViewRemote, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, sceneElementsToShopLayout, viewConfigToLayoutPayload, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, } from '@pisell/materials';
8
8
  export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
9
- export declare const getShopFloorPlanByCode: (code: string, subscribe?: any) => Promise<any>;
10
- export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<any>;
9
+ export declare const getShopFloorPlanByCode: (code: string, subscribe?: ShopFloorPlanByCodeRequestOptions | undefined) => Promise<ShopFloorPlanDetail | null>;
10
+ export declare const postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<ShopFloorPlanDetail | null>;
11
11
  export declare const putShopFloorPlan: (id: number, body: PutShopFloorPlanBody) => Promise<unknown>;
12
12
  export declare const unsubscribeShopFloorPlanCodeQuery: (subscriberId: string) => Promise<void>;
13
13
  /**
@@ -43,7 +43,18 @@ export declare function resolveBookingStripIdForUi(raw: Record<string, unknown>)
43
43
  */
44
44
  export declare function resolveBookingIdForHeader(raw: Record<string, unknown>): string;
45
45
  /**
46
- * 预约详情弹窗:仅用当前点击的一条 raw 构造 RoomCard(`floorMapSourceBookings` 仅此元素),
47
- * `main_field` 与粉头条同源;弹窗顶栏展示建议再传 {@link resolveBookingIdForHeader} 给 {@link FloorRoomCardFromData}。
46
+ * 预约详情弹窗:完全基于「这一条 booking raw」(`sales.getResourceBookingItem` 返回的元素,
47
+ * 与平面图传入的 `floorMapSourceBookings` 子项格式同源)构造 RoomCard 数据。
48
+ *
49
+ * 设计原则:
50
+ * - `bookings` 始终为 `[rawToBooking(raw, 0)]`,**不**再走 `mapPisellReservationRowToFloorRoomCardData`
51
+ * 里基于 `tableRow.cardStatus` / `floorMapSourceBookings` status 的判定,避免「completed /
52
+ * canceled / no_show 等非 occupied/reserved」状态导致 `bookings` 退化为空数组。
53
+ * - `status` 严格按 `raw.status`:`occupied` → `occupied`,其余(含 `reserved` / 历史完成 /
54
+ * 取消等)→ `reserved`,让小条始终展示,且历史记录以中性预约色呈现。
55
+ * - `sub_status` 由 booking 自身字段(`timeoutTime` / `lateTime` / `order_payment_status`)推导,
56
+ * 不依赖 `tableRow` 上派生过的 host 进度状态,与「完全依赖接口数据」一致。
57
+ * - `main_field` / `capacity` 取自 `tableRow`(桌位属性,raw 不一定带);视觉上 Modal 透传
58
+ * `hideHeader` / `hideHeaderCapacity`,二者主要参与数据完整性而非 header 渲染。
48
59
  */
49
60
  export declare function buildDetailModalRoomCardData(raw: Record<string, unknown>, tableRow: PisellReservationTableRow | null | undefined): FloorRoomCardData;