@pisell/private-materials 6.3.153 → 6.3.154

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 (203) 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.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +6 -6
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  11. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  12. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  13. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  14. package/es/components/booking/deposit/index.d.ts +1 -0
  15. package/es/components/booking/forms/single/index.d.ts +1 -0
  16. package/es/components/booking/forms/table/index.d.ts +0 -1
  17. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  18. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  19. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  20. package/es/components/booking/info/date/index.d.ts +1 -0
  21. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  22. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  23. package/es/components/booking/info/index.d.ts +1 -0
  24. package/es/components/booking/info/notes/index.d.ts +1 -0
  25. package/es/components/booking/info/service/Lists.d.ts +1 -0
  26. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  27. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  28. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  29. package/es/components/booking/info/service/like/index.d.ts +0 -1
  30. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  31. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  32. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  33. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  34. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  35. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  36. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  37. package/es/components/booking/utils.d.ts +2 -2
  38. package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  39. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  40. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  41. package/es/components/eftpos/group/index.d.ts +0 -1
  42. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  43. package/es/components/eftpos/icon/device.d.ts +0 -1
  44. package/es/components/eftpos/receipt/index.d.ts +0 -1
  45. package/es/components/eftposPay/amount.d.ts +1 -0
  46. package/es/components/eftposPay/app.d.ts +1 -0
  47. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  48. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  49. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  50. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  51. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  52. package/es/components/eftposPay/device.d.ts +1 -0
  53. package/es/components/eftposPay/hooks.d.ts +1 -1
  54. package/es/components/eftposPay/index.d.ts +1 -0
  55. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  56. package/es/components/eftposPay/pay.d.ts +1 -0
  57. package/es/components/eftposPay/store/index.d.ts +1 -1
  58. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  59. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  60. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  61. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  62. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  63. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  64. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  65. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  68. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  69. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  70. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  71. package/es/components/eventBooking/index.d.ts +1 -0
  72. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  73. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  74. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  75. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  76. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  77. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  78. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  79. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  80. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  81. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  82. package/es/components/productExtension/index.d.ts +1 -0
  83. package/es/components/ruleSetting/index.d.ts +1 -0
  84. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  85. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  86. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  87. package/es/components/shoppingCart/index.d.ts +1 -0
  88. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  89. package/es/components/venueBooking/index.js +10 -1
  90. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  91. package/es/plus/clientName/index.d.ts +0 -1
  92. package/es/plus/orderList/components/HandleActions.d.ts +0 -1
  93. package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
  94. package/es/plus/orderList/components/Reset.d.ts +0 -1
  95. package/es/plus/orderList/components/Toolbar.d.ts +0 -1
  96. package/es/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
  97. package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
  98. package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +4 -0
  99. package/es/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +1 -1
  100. package/es/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +5 -1
  101. package/es/plus/saasDevice/deviceProfile/index.js +4 -0
  102. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  103. package/es/plus/walletPassGallery/components/passList/index.js +1 -2
  104. package/es/pro/Login2.0/Login2.js +60 -60
  105. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  106. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  107. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  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/components/formItemChildrenWrap/index.d.ts +0 -1
  111. package/lib/components/booking/deposit/index.d.ts +1 -0
  112. package/lib/components/booking/forms/single/index.d.ts +1 -0
  113. package/lib/components/booking/forms/table/index.d.ts +0 -1
  114. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  115. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  116. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  117. package/lib/components/booking/info/date/index.d.ts +1 -0
  118. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  119. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  120. package/lib/components/booking/info/index.d.ts +1 -0
  121. package/lib/components/booking/info/notes/index.d.ts +1 -0
  122. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  123. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  124. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  125. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  126. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  127. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  128. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  129. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  130. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  131. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  132. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  133. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  134. package/lib/components/booking/utils.d.ts +2 -2
  135. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  136. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  137. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  138. package/lib/components/eftpos/group/index.d.ts +0 -1
  139. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  140. package/lib/components/eftpos/icon/device.d.ts +0 -1
  141. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  142. package/lib/components/eftposPay/amount.d.ts +1 -0
  143. package/lib/components/eftposPay/app.d.ts +1 -0
  144. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  145. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  146. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  147. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  148. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  149. package/lib/components/eftposPay/device.d.ts +1 -0
  150. package/lib/components/eftposPay/hooks.d.ts +1 -1
  151. package/lib/components/eftposPay/index.d.ts +1 -0
  152. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  153. package/lib/components/eftposPay/pay.d.ts +1 -0
  154. package/lib/components/eftposPay/store/index.d.ts +1 -1
  155. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  156. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  157. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  158. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  159. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  160. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  161. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  162. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  163. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  164. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  165. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  166. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  167. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  168. package/lib/components/eventBooking/index.d.ts +1 -0
  169. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  170. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  171. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  172. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  173. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  174. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  175. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  176. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  177. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  178. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  179. package/lib/components/productExtension/index.d.ts +1 -0
  180. package/lib/components/ruleSetting/index.d.ts +1 -0
  181. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  182. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  183. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  184. package/lib/components/shoppingCart/index.d.ts +1 -0
  185. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  186. package/lib/components/venueBooking/index.js +9 -1
  187. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  188. package/lib/plus/clientName/index.d.ts +0 -1
  189. package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
  190. package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
  191. package/lib/plus/orderList/components/Reset.d.ts +0 -1
  192. package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
  193. package/lib/plus/pisellReservation/floorMap/floorPlanApi.d.ts +2 -2
  194. package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +0 -1
  195. package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.js +4 -0
  196. package/lib/plus/saasDevice/devicePlanning/components/DeviceTable/index.less +1 -1
  197. package/lib/plus/saasDevice/deviceProfile/components/TwoColumnPageLayout/index.less +5 -1
  198. package/lib/plus/saasDevice/deviceProfile/index.js +4 -0
  199. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  200. package/lib/plus/walletPassGallery/components/passList/index.js +0 -1
  201. package/lib/pro/Login2.0/Login2.js +50 -50
  202. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  203. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -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,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,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
3
2
  export default FormItemChildrenWrap;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
4
3
  export default Table;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
3
2
  export default useIsLowSpeedNetwork;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => 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 { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Like: ({ status, onChange, className, style, }: {
4
3
  style?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -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 '../../../info/service/actions/index.less';
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/addTimeModal/index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ContactInfoMode: () => JSX.Element;
2
3
  export default ContactInfoMode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  interface DurationProps extends SelectProps {
3
4
  locale?: string;
@@ -166,10 +166,10 @@ export declare const getProductTotalPrice: (item: any) => number;
166
166
  export declare const getDuration: (duration: number | {
167
167
  type: string;
168
168
  value: number;
169
- }) => number | "flexible" | {
169
+ }) => number | {
170
170
  type: string;
171
171
  value: number;
172
- };
172
+ } | "flexible";
173
173
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
174
174
  export declare const getIsEdit: (state: any) => boolean;
175
175
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface MoreDropdownProps {
3
2
  locales: any;
4
3
  onClick?: (key: string) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  export declare const useSummary: (locales: any, staticsData: any, isPartner?: boolean) => () => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -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,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: {
3
2
  status: string;
4
3
  pedding?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps, PosProps } from './const';
2
3
  import './device.less';
3
4
  /**
@@ -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 { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
2
3
  export default Linkly;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -299,7 +299,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
299
299
  amount?: string | number | undefined;
300
300
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
301
301
  order_id?: string | number | undefined;
302
- eftpos?: "stripe" | "tyro" | "windcave" | "payo" | "linkly" | undefined;
302
+ eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
303
303
  action?: "amount" | "pay" | "deviceList" | undefined;
304
304
  key?: number | undefined;
305
305
  step?: number | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface DepositProps {
2
3
  showTitle?: boolean;
3
4
  }
@@ -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 Header: () => JSX.Element;
3
4
  export default Header;
@@ -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,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderModal: (props: any) => JSX.Element;
2
3
  export default SelectHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -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
  import './index.less';
3
2
  declare const DayItem: (props: any) => JSX.Element;
4
3
  export default DayItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
3
  declare const Item: (props: CalendarItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => JSX.Element;
4
3
  export default Status;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EventBooking: () => JSX.Element;
3
4
  export default EventBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -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
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -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 { 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 type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -29,6 +29,10 @@ function getViewportHeightFallback() {
29
29
  if (typeof CSS !== 'undefined' && (_CSS$supports2 = (_CSS2 = CSS).supports) !== null && _CSS$supports2 !== void 0 && _CSS$supports2.call(_CSS2, 'height', '100svh')) return '100svh';
30
30
  return '100%';
31
31
  }
32
+ function getIsMobileFooterVisible() {
33
+ if (typeof window === 'undefined') return false;
34
+ return window.matchMedia('(max-width: 1023.98px)').matches;
35
+ }
32
36
  function getViewportStyle(viewportHeight) {
33
37
  if (viewportHeight === undefined) {
34
38
  var fallbackHeight = getViewportHeightFallback();
@@ -57,6 +61,10 @@ function VenueBooking(props) {
57
61
  _useState2 = _slicedToArray(_useState, 2),
58
62
  viewportHeight = _useState2[0],
59
63
  setViewportHeight = _useState2[1];
64
+ var _useState3 = useState(getIsMobileFooterVisible),
65
+ _useState4 = _slicedToArray(_useState3, 2),
66
+ isMobileFooterVisible = _useState4[0],
67
+ setIsMobileFooterVisible = _useState4[1];
60
68
  useEffect(function () {
61
69
  var _window$visualViewpor2, _window$visualViewpor3;
62
70
  var frameId;
@@ -65,6 +73,7 @@ function VenueBooking(props) {
65
73
  frameId = window.requestAnimationFrame(function () {
66
74
  frameId = undefined;
67
75
  setViewportHeight(getViewportHeight());
76
+ setIsMobileFooterVisible(getIsMobileFooterVisible());
68
77
  });
69
78
  }
70
79
  updateViewportHeight();
@@ -82,7 +91,7 @@ function VenueBooking(props) {
82
91
  };
83
92
  }, []);
84
93
  return /*#__PURE__*/React.createElement("div", {
85
- className: "venue-booking-scope fixed overflow-x-hidden overscroll-none bg-[#f5f5f3] text-zinc-900",
94
+ className: "venue-booking-scope ".concat(isMobileFooterVisible ? 'fixed' : '', " overflow-x-hidden overscroll-none bg-[#f5f5f3] text-zinc-900"),
86
95
  style: getViewportStyle(viewportHeight)
87
96
  }, /*#__PURE__*/React.createElement(VenueBookingProvider, {
88
97
  entryContext: entryContext
@@ -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
  import { IClientNameProps } from './type';
4
3
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const HandleActions: (props: {
3
2
  locales: any;
4
3
  __id?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const QuickFilter: (props: {
3
2
  locales: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Reset: (props: {
3
2
  locales: any;
4
3
  setValueType: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Toolbar: (props: {
3
2
  locales: any;
4
3
  clearSelectedData: () => void;
@@ -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
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ReservationScheduleBandValue } from '@pisell/materials';
3
2
  /**
4
3
  * @returns `schedule` 绑定日程带 UI;`debouncedSchedule` 绑定 sales / patch / 外部 onSearch。