@pisell/private-materials 6.3.6 → 6.3.9

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 (371) 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/Footer/index.d.ts +1 -0
  8. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  9. package/es/components/booking/addons/model.d.ts +1 -10
  10. package/es/components/booking/forms/model.d.ts +1 -10
  11. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  12. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  13. package/es/components/booking/info/model.d.ts +1 -10
  14. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  15. package/es/components/booking/info2/service/addService/utils.js +16 -1
  16. package/es/components/booking/model.d.ts +1 -9
  17. package/es/components/booking/notes/model.d.ts +1 -10
  18. package/es/components/booking/payments/model.d.ts +1 -10
  19. package/es/components/booking/utils.d.ts +2 -2
  20. package/es/components/eftposPay/amount.d.ts +1 -1
  21. package/es/components/eftposPay/device.d.ts +1 -1
  22. package/es/components/eftposPay/hooks.d.ts +2 -2
  23. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  24. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  25. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  26. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  27. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  28. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  29. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  30. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  31. package/es/components/pay/toC/model.d.ts +1 -9
  32. package/es/components/schedules/model.d.ts +1 -9
  33. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  34. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  35. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  36. package/es/components/wallet/Detail/model.d.ts +1 -13
  37. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  38. package/es/components/wallet/PointCard/model.d.ts +1 -13
  39. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  40. package/es/components/wallet/Voucher/model.d.ts +1 -13
  41. package/es/components/wallet/model.d.ts +1 -9
  42. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  43. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  44. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  45. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  46. package/lib/components/booking/addons/model.d.ts +1 -10
  47. package/lib/components/booking/forms/model.d.ts +1 -10
  48. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  49. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  50. package/lib/components/booking/info/model.d.ts +1 -10
  51. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  52. package/lib/components/booking/info2/service/addService/utils.js +15 -3
  53. package/lib/components/booking/model.d.ts +1 -9
  54. package/lib/components/booking/notes/model.d.ts +1 -10
  55. package/lib/components/booking/payments/model.d.ts +1 -10
  56. package/lib/components/booking/utils.d.ts +2 -2
  57. package/lib/components/eftposPay/amount.d.ts +1 -1
  58. package/lib/components/eftposPay/device.d.ts +1 -1
  59. package/lib/components/eftposPay/hooks.d.ts +2 -2
  60. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  61. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  62. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  63. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  64. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  65. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  66. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  67. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  68. package/lib/components/pay/toC/model.d.ts +1 -9
  69. package/lib/components/schedules/model.d.ts +1 -9
  70. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  71. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  72. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  73. package/lib/components/wallet/Detail/model.d.ts +1 -13
  74. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  75. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  76. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  77. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  78. package/lib/components/wallet/model.d.ts +1 -9
  79. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  80. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  81. package/package.json +4 -4
  82. package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
  83. package/es/businessModel/SalesModel/hooks/index.d.ts +0 -1
  84. package/es/businessModel/SalesModel/index.d.ts +0 -3
  85. package/es/businessModel/index.d.ts +0 -0
  86. package/es/components/Sales/Cart/serve.d.ts +0 -2
  87. package/es/components/Sales/Cart/types.d.ts +0 -31
  88. package/es/components/Sales/Cart/utils.d.ts +0 -63
  89. package/es/components/Sales/Checkout/index.d.ts +0 -37
  90. package/es/components/Sales/Checkout/serve.d.ts +0 -15
  91. package/es/components/Sales/Checkout/utils.d.ts +0 -41
  92. package/es/components/Sales/Customer/index.d.ts +0 -25
  93. package/es/components/Sales/Event/Detail.d.ts +0 -30
  94. package/es/components/Sales/Event/index.d.ts +0 -30
  95. package/es/components/Sales/Event/serve.d.ts +0 -49
  96. package/es/components/Sales/Holder/index.d.ts +0 -33
  97. package/es/components/Sales/Holder/serve.d.ts +0 -8
  98. package/es/components/Sales/Init/index.d.ts +0 -25
  99. package/es/components/Sales/Init/serve.d.ts +0 -3
  100. package/es/components/Sales/Resource/index.d.ts +0 -26
  101. package/es/components/Sales/Resource/serve.d.ts +0 -12
  102. package/es/components/Sales/Step/index.d.ts +0 -39
  103. package/es/components/Sales/Summary/index.d.ts +0 -35
  104. package/es/components/Sales/Summary/serve.d.ts +0 -1
  105. package/es/components/Sales/Summary/utils.d.ts +0 -51
  106. package/es/components/Sales/hooks/index.d.ts +0 -1
  107. package/es/components/Sales/index.d.ts +0 -20
  108. package/es/components/Sales/utils/index.d.ts +0 -1
  109. package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
  110. package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +0 -12
  111. package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
  112. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  113. package/es/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  114. package/es/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
  115. package/es/components/appointmentBooking/context.d.ts +0 -35
  116. package/es/components/appointmentBooking/locales.d.ts +0 -360
  117. package/es/components/appointmentBooking/type.d.ts +0 -17
  118. package/es/components/booking/components/drawer/index.d.ts +0 -19
  119. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  120. package/es/components/booking/components/voucher/utils.d.ts +0 -4
  121. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  122. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  123. package/es/components/booking/editBookingModal/serve.d.ts +0 -52
  124. package/es/components/booking/editBookingModal/type.d.ts +0 -12
  125. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  126. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  127. package/es/components/booking/info/Provider.d.ts +0 -0
  128. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
  129. package/es/components/booking/info/hooks/useGetHolderList.d.ts +0 -2
  130. package/es/components/booking/info/index.d.ts +0 -3
  131. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  132. package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  133. package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  134. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  135. package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  136. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  137. package/es/components/booking/info2/utils.d.ts +0 -4
  138. package/es/components/booking/locales.d.ts +0 -831
  139. package/es/components/eftposPay/const.d.ts +0 -184
  140. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  141. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  142. package/es/components/eftposPay/locales.d.ts +0 -330
  143. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  144. package/es/components/eftposPay/store/index.d.ts +0 -355
  145. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  146. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  147. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  148. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  149. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  150. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  151. package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  152. package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  153. package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -14
  154. package/es/components/eventBooking/locales.d.ts +0 -246
  155. package/es/components/eventBooking/type.d.ts +0 -17
  156. package/es/components/eventBooking/utils.d.ts +0 -45
  157. package/es/components/login/locales.d.ts +0 -24
  158. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  159. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  160. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  161. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  162. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  163. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  164. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  165. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -113
  166. package/es/components/pay/toC/locales.d.ts +0 -289
  167. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
  168. package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +0 -21
  169. package/es/components/productSelect/hooks/useToken.d.ts +0 -18
  170. package/es/components/productSelect/locales.d.ts +0 -18
  171. package/es/components/productSelect/mock.d.ts +0 -134
  172. package/es/components/productSelect/theme/token.d.ts +0 -17
  173. package/es/components/shoppingCart/Provider.d.ts +0 -3
  174. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -3
  175. package/es/components/shoppingCart/components/Render/index.d.ts +0 -3
  176. package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
  177. package/es/components/shoppingCart/locales.d.ts +0 -33
  178. package/es/components/shoppingCart/mock.d.ts +0 -40
  179. package/es/components/shoppingCart/type.d.ts +0 -48
  180. package/es/components/shoppingCart/utils.d.ts +0 -63
  181. package/es/components/stepController/components/Content/index.d.ts +0 -7
  182. package/es/components/stepController/components/Footer/index.d.ts +0 -8
  183. package/es/components/stepController/locales.d.ts +0 -27
  184. package/es/components/stepController/types.d.ts +0 -23
  185. package/es/components/subTotal/locales.d.ts +0 -42
  186. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  187. package/es/components/ticketBooking/data.d.ts +0 -58
  188. package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  189. package/es/components/ticketBooking/locales.d.ts +0 -174
  190. package/es/components/ticketBooking/miniRedux.d.ts +0 -22
  191. package/es/components/ticketBooking/serve.d.ts +0 -287
  192. package/es/components/wallet/Detail/locales.d.ts +0 -96
  193. package/es/components/wallet/Detail/serve.d.ts +0 -39
  194. package/es/components/wallet/RechargeableCard/serve.d.ts +0 -23
  195. package/es/components/wallet/Voucher/locales.d.ts +0 -21
  196. package/es/components/wallet/components/index.d.ts +0 -2
  197. package/es/components/wallet/locales.d.ts +0 -132
  198. package/es/components/walletList/locales.d.ts +0 -18
  199. package/es/components/walletList/model.d.ts +0 -6
  200. package/es/components/walletList/serve.d.ts +0 -20
  201. package/es/components/walletList/types/index.d.ts +0 -194
  202. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  203. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  204. package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  205. package/es/hooks/useEngineContext.d.ts +0 -10
  206. package/es/hooks/useLocale.d.ts +0 -2
  207. package/es/hooks/useLoginUser.d.ts +0 -2
  208. package/es/hooks/useWindowSize.d.ts +0 -5
  209. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +0 -10
  210. package/es/plus/productSelect/CategoryTabs/index.d.ts +0 -18
  211. package/es/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +0 -10
  212. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  213. package/es/plus/productSelect/ProductList/index.d.ts +0 -22
  214. package/es/plus/productSelect/components/IntersectionObserver.d.ts +0 -42
  215. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  216. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +0 -22
  217. package/es/plus/productSelect/components/TabsStructure/index.d.ts +0 -5
  218. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +0 -47
  219. package/es/plus/productSelect/components/TabsStructure/types.d.ts +0 -105
  220. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +0 -12
  221. package/es/plus/productSelect/hooks/useToken.d.ts +0 -18
  222. package/es/plus/productSelect/locales.d.ts +0 -18
  223. package/es/plus/productSelect/theme/token.d.ts +0 -17
  224. package/es/utils/date.d.ts +0 -11
  225. package/es/utils/locales.d.ts +0 -1
  226. package/es/utils/tasks/type.d.ts +0 -4
  227. package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
  228. package/lib/businessModel/SalesModel/hooks/index.d.ts +0 -1
  229. package/lib/businessModel/SalesModel/index.d.ts +0 -3
  230. package/lib/businessModel/index.d.ts +0 -0
  231. package/lib/components/Sales/Cart/serve.d.ts +0 -2
  232. package/lib/components/Sales/Cart/types.d.ts +0 -31
  233. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  234. package/lib/components/Sales/Checkout/index.d.ts +0 -37
  235. package/lib/components/Sales/Checkout/serve.d.ts +0 -15
  236. package/lib/components/Sales/Checkout/utils.d.ts +0 -41
  237. package/lib/components/Sales/Customer/index.d.ts +0 -25
  238. package/lib/components/Sales/Event/Detail.d.ts +0 -30
  239. package/lib/components/Sales/Event/index.d.ts +0 -30
  240. package/lib/components/Sales/Event/serve.d.ts +0 -49
  241. package/lib/components/Sales/Holder/index.d.ts +0 -33
  242. package/lib/components/Sales/Holder/serve.d.ts +0 -8
  243. package/lib/components/Sales/Init/index.d.ts +0 -25
  244. package/lib/components/Sales/Init/serve.d.ts +0 -3
  245. package/lib/components/Sales/Resource/index.d.ts +0 -26
  246. package/lib/components/Sales/Resource/serve.d.ts +0 -12
  247. package/lib/components/Sales/Step/index.d.ts +0 -39
  248. package/lib/components/Sales/Summary/index.d.ts +0 -35
  249. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  250. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  251. package/lib/components/Sales/hooks/index.d.ts +0 -1
  252. package/lib/components/Sales/index.d.ts +0 -20
  253. package/lib/components/Sales/utils/index.d.ts +0 -1
  254. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -56
  255. package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +0 -12
  256. package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
  257. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  258. package/lib/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  259. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
  260. package/lib/components/appointmentBooking/context.d.ts +0 -35
  261. package/lib/components/appointmentBooking/locales.d.ts +0 -360
  262. package/lib/components/appointmentBooking/type.d.ts +0 -17
  263. package/lib/components/booking/components/drawer/index.d.ts +0 -19
  264. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  265. package/lib/components/booking/components/voucher/utils.d.ts +0 -4
  266. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  267. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  268. package/lib/components/booking/editBookingModal/serve.d.ts +0 -52
  269. package/lib/components/booking/editBookingModal/type.d.ts +0 -12
  270. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  271. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  272. package/lib/components/booking/info/Provider.d.ts +0 -0
  273. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
  274. package/lib/components/booking/info/hooks/useGetHolderList.d.ts +0 -2
  275. package/lib/components/booking/info/index.d.ts +0 -3
  276. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  277. package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +0 -11
  278. package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
  279. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  280. package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +0 -7
  281. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  282. package/lib/components/booking/info2/utils.d.ts +0 -4
  283. package/lib/components/booking/locales.d.ts +0 -831
  284. package/lib/components/eftposPay/const.d.ts +0 -184
  285. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  286. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  287. package/lib/components/eftposPay/locales.d.ts +0 -330
  288. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  289. package/lib/components/eftposPay/store/index.d.ts +0 -355
  290. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  291. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -3
  292. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -3
  293. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -4
  294. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -3
  295. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +0 -63
  296. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +0 -14
  297. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +0 -34
  298. package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +0 -14
  299. package/lib/components/eventBooking/locales.d.ts +0 -246
  300. package/lib/components/eventBooking/type.d.ts +0 -17
  301. package/lib/components/eventBooking/utils.d.ts +0 -45
  302. package/lib/components/login/locales.d.ts +0 -24
  303. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  304. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  305. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  306. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  307. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  308. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  309. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  310. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -113
  311. package/lib/components/pay/toC/locales.d.ts +0 -289
  312. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -2
  313. package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +0 -21
  314. package/lib/components/productSelect/hooks/useToken.d.ts +0 -18
  315. package/lib/components/productSelect/locales.d.ts +0 -18
  316. package/lib/components/productSelect/mock.d.ts +0 -134
  317. package/lib/components/productSelect/theme/token.d.ts +0 -17
  318. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  319. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -3
  320. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -3
  321. package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
  322. package/lib/components/shoppingCart/locales.d.ts +0 -33
  323. package/lib/components/shoppingCart/mock.d.ts +0 -40
  324. package/lib/components/shoppingCart/type.d.ts +0 -48
  325. package/lib/components/shoppingCart/utils.d.ts +0 -63
  326. package/lib/components/stepController/components/Content/index.d.ts +0 -7
  327. package/lib/components/stepController/components/Footer/index.d.ts +0 -8
  328. package/lib/components/stepController/locales.d.ts +0 -27
  329. package/lib/components/stepController/types.d.ts +0 -23
  330. package/lib/components/subTotal/locales.d.ts +0 -42
  331. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
  332. package/lib/components/ticketBooking/data.d.ts +0 -58
  333. package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +0 -11
  334. package/lib/components/ticketBooking/locales.d.ts +0 -174
  335. package/lib/components/ticketBooking/miniRedux.d.ts +0 -22
  336. package/lib/components/ticketBooking/serve.d.ts +0 -287
  337. package/lib/components/wallet/Detail/locales.d.ts +0 -96
  338. package/lib/components/wallet/Detail/serve.d.ts +0 -39
  339. package/lib/components/wallet/RechargeableCard/serve.d.ts +0 -23
  340. package/lib/components/wallet/Voucher/locales.d.ts +0 -21
  341. package/lib/components/wallet/components/index.d.ts +0 -2
  342. package/lib/components/wallet/locales.d.ts +0 -132
  343. package/lib/components/walletList/locales.d.ts +0 -18
  344. package/lib/components/walletList/model.d.ts +0 -6
  345. package/lib/components/walletList/serve.d.ts +0 -20
  346. package/lib/components/walletList/types/index.d.ts +0 -194
  347. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  348. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  349. package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +0 -22
  350. package/lib/hooks/useEngineContext.d.ts +0 -10
  351. package/lib/hooks/useLocale.d.ts +0 -2
  352. package/lib/hooks/useLoginUser.d.ts +0 -2
  353. package/lib/hooks/useWindowSize.d.ts +0 -5
  354. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +0 -10
  355. package/lib/plus/productSelect/CategoryTabs/index.d.ts +0 -18
  356. package/lib/plus/productSelect/ProductCard/ProductCardSkeleton.d.ts +0 -10
  357. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  358. package/lib/plus/productSelect/ProductList/index.d.ts +0 -22
  359. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +0 -42
  360. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  361. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +0 -22
  362. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +0 -5
  363. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +0 -47
  364. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +0 -105
  365. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +0 -12
  366. package/lib/plus/productSelect/hooks/useToken.d.ts +0 -18
  367. package/lib/plus/productSelect/locales.d.ts +0 -18
  368. package/lib/plus/productSelect/theme/token.d.ts +0 -17
  369. package/lib/utils/date.d.ts +0 -11
  370. package/lib/utils/locales.d.ts +0 -1
  371. package/lib/utils/tasks/type.d.ts +0 -4
@@ -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
  declare const GuestOptionsModal: (props: any) => JSX.Element;
3
4
  export default GuestOptionsModal;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
3
4
  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,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
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
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingList: ({ items }: {
2
3
  items: any[];
3
4
  }) => JSX.Element;
@@ -277,8 +277,23 @@ export var setDefaultResource = function setDefaultResource(_ref6) {
277
277
  try {
278
278
  var _loop2 = function _loop2() {
279
279
  var item = _step.value;
280
+ var _item$select_type = item.select_type,
281
+ select_type = _item$select_type === void 0 ? {} : _item$select_type,
282
+ _item$optional_resour = item.optional_resource,
283
+ optional_resource = _item$optional_resour === void 0 ? [] : _item$optional_resour,
284
+ _item$default_resourc = item.default_resource,
285
+ default_resource = _item$default_resourc === void 0 ? [] : _item$default_resourc;
280
286
  var renderList = item.renderList.filter(function (d) {
281
- return d.id === resourceId;
287
+ if ((select_type === null || select_type === void 0 ? void 0 : select_type.type) === 'single') {
288
+ // 单选:
289
+ if (resourceId && (optional_resource.includes(resourceId) || default_resource.includes(resourceId))) {
290
+ return d.id === resourceId;
291
+ }
292
+ return d.is_default === 1;
293
+ } else {
294
+ // 多选
295
+ return d.is_default === 1 || d.id === resourceId;
296
+ }
282
297
  });
283
298
  var defaultOriginalResource = [];
284
299
  if (renderList.length === 0) {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -106,11 +105,4 @@ export declare const walkInData: {
106
105
  id: number;
107
106
  nickname: string;
108
107
  };
109
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
110
- state: FormState;
111
- } & {
112
- dispatch: (params: {
113
- type: string;
114
- payload: any;
115
- }) => void;
116
- }>;
108
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
165
165
  export declare const getDuration: (duration: number | {
166
166
  type: string;
167
167
  value: number;
168
- }) => number | "flexible" | {
168
+ }) => number | {
169
169
  type: string;
170
170
  value: number;
171
- };
171
+ } | "flexible";
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -15,11 +15,11 @@ 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<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"tyro" | "windcave" | "stripe" | "payo" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "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 './index.less';
2
3
  declare const ErrorTip: ({ text }: any) => JSX.Element;
3
4
  export default ErrorTip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const InformationOptionsModal: (props: any) => JSX.Element;
3
4
  export default InformationOptionsModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const WeekItem: (props: any) => JSX.Element;
3
4
  export default WeekItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type CalenDateWeekProps = {
3
4
  currentDate: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from '../../type';
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
3
4
  export default SetupForm;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -29,11 +28,4 @@ export interface PayGroup {
29
28
  pay_number?: string;
30
29
  _order: any;
31
30
  }
32
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
- state: FormState;
34
- } & {
35
- dispatch: (params: {
36
- type: string;
37
- payload: any;
38
- }) => void;
39
- }>;
31
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
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
- }>;
71
+ export declare const Provider: any, Context: 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 ProductDetailByDate: () => JSX.Element;
3
4
  export default ProductDetailByDate;
@@ -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,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- addWalletCard: any;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- walletDetailState: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- setup?: 'menu' | 'list' | 'detail' | string;
5
- }
6
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
- state: RechargeState;
8
- } & {
9
- dispatch: (params: {
10
- type: string;
11
- payload: any;
12
- }) => void;
13
- }>;
14
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,29 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- selectedGiftOptionId: string | null;
4
- cardList: Array<{
5
- id: string;
6
- name: string;
7
- price: number;
8
- }>;
9
- selectedItem: {
10
- id?: string;
11
- gift_price?: number;
12
- price?: number;
13
- name?: string;
14
- variant_id?: string;
15
- };
16
- productId?: string;
17
- detailId?: string;
18
- total: string | number;
19
- rechargeModalOpen: boolean;
20
- }
21
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
- state: RechargeState;
23
- } & {
24
- dispatch: (params: {
25
- type: string;
26
- payload: any;
27
- }) => void;
28
- }>;
29
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: 0;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
30
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
- global_wallet: WalletListProps;
32
- } & {
33
- dispatch: (params: {
34
- type: string;
35
- payload: any;
36
- }) => void;
37
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
2
3
  import './index.less';
3
4
  interface ModalProps extends AntModalProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './../../index.less';
2
3
  declare const Search: () => JSX.Element;
3
4
  export default Search;
@@ -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
  declare const GuestOptionsModal: (props: any) => JSX.Element;
3
4
  export default GuestOptionsModal;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
3
4
  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,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
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
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingList: ({ items }: {
2
3
  items: any[];
3
4
  }) => JSX.Element;
@@ -232,9 +232,21 @@ var setDefaultResource = ({ cacheItem, resources }) => {
232
232
  const serviceParams = (0, import_utils.getCacheParams)();
233
233
  let resourceId = Number(serviceParams == null ? void 0 : serviceParams.resource_id);
234
234
  for (let item of resources) {
235
- const renderList = item.renderList.filter(
236
- (d) => d.id === resourceId
237
- );
235
+ const {
236
+ select_type = {},
237
+ optional_resource = [],
238
+ default_resource = []
239
+ } = item;
240
+ const renderList = item.renderList.filter((d) => {
241
+ if ((select_type == null ? void 0 : select_type.type) === "single") {
242
+ if (resourceId && (optional_resource.includes(resourceId) || default_resource.includes(resourceId))) {
243
+ return d.id === resourceId;
244
+ }
245
+ return d.is_default === 1;
246
+ } else {
247
+ return d.is_default === 1 || d.id === resourceId;
248
+ }
249
+ });
238
250
  let defaultOriginalResource = [];
239
251
  if (renderList.length === 0) {
240
252
  defaultOriginalResource = getResourceMaxFreeTime(item);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -106,11 +105,4 @@ export declare const walkInData: {
106
105
  id: number;
107
106
  nickname: string;
108
107
  };
109
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
110
- state: FormState;
111
- } & {
112
- dispatch: (params: {
113
- type: string;
114
- payload: any;
115
- }) => void;
116
- }>;
108
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
165
165
  export declare const getDuration: (duration: number | {
166
166
  type: string;
167
167
  value: number;
168
- }) => number | "flexible" | {
168
+ }) => number | {
169
169
  type: string;
170
170
  value: number;
171
- };
171
+ } | "flexible";
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -8,7 +8,7 @@ import { PosProps } from './const';
8
8
  */
9
9
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
10
  className?: string | undefined;
11
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
11
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
12
  [keys: string]: unknown;
13
13
  } | undefined, other?: any) => void) | undefined;
14
14
  onClose: () => void;
@@ -10,7 +10,7 @@ import './device.less';
10
10
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
11
  api: PayProps['api'];
12
12
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
13
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
14
  [keys: string]: unknown;
15
15
  } | undefined, other?: any) => void) | undefined;
16
16
  onClose: () => void;
@@ -15,11 +15,11 @@ 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<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"tyro" | "windcave" | "stripe" | "payo" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "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 './index.less';
2
3
  declare const ErrorTip: ({ text }: any) => JSX.Element;
3
4
  export default ErrorTip;