@pisell/private-materials 6.8.41 → 6.8.44

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 (677) 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/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  8. package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  9. package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  10. package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  11. package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  12. package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  13. package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  14. package/es/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  15. package/es/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  16. package/es/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  17. package/es/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  18. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  25. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  28. package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  29. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  30. package/es/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  31. package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  32. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  33. package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  34. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  35. package/es/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  36. package/es/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  37. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  38. package/es/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  39. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  40. package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  41. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  42. package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  43. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  44. package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  45. package/es/components/authentication/index.d.ts +0 -0
  46. package/es/components/booking/addons/model.d.ts +1 -0
  47. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  48. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  49. package/es/components/booking/components/customSelect/index.d.ts +38 -0
  50. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  51. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  52. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  53. package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  54. package/es/components/booking/components/voucher/index.js +4 -1
  55. package/es/components/booking/dashboard/serve.d.ts +1 -0
  56. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  57. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  58. package/es/components/booking/forms/serve.d.ts +18 -0
  59. package/es/components/booking/forms/table/index.d.ts +0 -1
  60. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  61. package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
  62. package/es/components/booking/info/client/serve.d.ts +2 -0
  63. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  64. package/es/components/booking/info/clientVariant/utils.d.ts +3 -0
  65. package/es/components/booking/info/header/index.d.ts +0 -1
  66. package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  67. package/es/components/booking/info/index.d.ts +1 -0
  68. package/es/components/booking/info/model.d.ts +5 -0
  69. package/es/components/booking/info/pet/serve.d.ts +1 -0
  70. package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  71. package/es/components/booking/info/service/editService/constants.d.ts +1 -0
  72. package/es/components/booking/info/service/like/index.d.ts +0 -1
  73. package/es/components/booking/info/utils.d.ts +50 -0
  74. package/es/components/booking/info2/cartClientCard/locales.d.ts +21 -0
  75. package/es/components/booking/info2/serve.d.ts +6 -0
  76. package/es/components/booking/info2/service/addService/utils.d.ts +106 -0
  77. package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
  78. package/es/components/booking/model.d.ts +112 -0
  79. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  80. package/es/components/booking/utils.d.ts +2 -2
  81. package/es/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
  82. package/es/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  83. package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  84. package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
  85. package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
  86. package/es/components/checkout/constants.d.ts +2 -0
  87. package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  88. package/es/components/checkout/locales.d.ts +513 -0
  89. package/es/components/checkout/plugin.js +2 -2
  90. package/es/components/checkout/styles.d.ts +67 -0
  91. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  92. package/es/components/eftpos/form/index.d.ts +0 -1
  93. package/es/components/eftpos/group/index.d.ts +0 -1
  94. package/es/components/eftpos/hooks.d.ts +0 -1
  95. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  96. package/es/components/eftpos/icon/device.d.ts +0 -1
  97. package/es/components/eftpos/index.d.ts +0 -1
  98. package/es/components/eftpos/pos.d.ts +0 -1
  99. package/es/components/eftpos/receipt/index.d.ts +0 -1
  100. package/es/components/eftpos/surcharge/index.d.ts +0 -1
  101. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  102. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  103. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  104. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  105. package/es/components/eftposPay/utils/log/index.d.ts +110 -0
  106. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  107. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  108. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  109. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  110. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  111. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  112. package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  113. package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  114. package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  115. package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
  116. package/es/components/list/components/Tab/Tab.d.ts +5 -0
  117. package/es/components/list/components/Tab/index.d.ts +2 -0
  118. package/es/components/list/components/Tab/types.d.ts +14 -0
  119. package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  120. package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
  121. package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  122. package/es/components/list/components/WaterfallList/index.d.ts +2 -0
  123. package/es/components/list/hooks/useDevice.d.ts +24 -0
  124. package/es/components/list/hooks/useWaterfall.d.ts +34 -0
  125. package/es/components/list/locales.d.ts +66 -0
  126. package/es/components/list/types.d.ts +178 -0
  127. package/es/components/list/utils/getText.d.ts +53 -0
  128. package/es/components/list/utils/index.d.ts +19 -0
  129. package/es/components/login/index.d.ts +0 -1
  130. package/es/components/pay/toB/components/Content/Header.d.ts +4 -0
  131. package/es/components/pay/toB/hooks.d.ts +12 -0
  132. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  133. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  134. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  135. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  136. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  137. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  138. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  139. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  140. package/es/components/pay/toC/status.d.ts +13 -0
  141. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  142. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  143. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  144. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  145. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  146. package/es/components/schedules/calendar/index.d.ts +0 -1
  147. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  148. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  149. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  150. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  151. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  152. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  153. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  154. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  155. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  156. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  157. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  158. package/es/components/schedules/products/index.d.ts +0 -1
  159. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  160. package/es/components/schedules/products/list/index.d.ts +0 -1
  161. package/es/components/schedules/resources/index.d.ts +0 -1
  162. package/es/components/schedules/resources/list/index.d.ts +0 -1
  163. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  164. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  165. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  166. package/es/components/schedules/schedules/index.d.ts +0 -1
  167. package/es/components/shoppingCart/locales.d.ts +36 -0
  168. package/es/components/shoppingCart/type.d.ts +50 -0
  169. package/es/components/subTotal/locales.d.ts +42 -0
  170. package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  171. package/es/components/systemSettings/registry/locales.d.ts +272 -0
  172. package/es/components/systemSettings/registry/services.d.ts +77 -0
  173. package/es/components/systemSettings/registry/types.d.ts +126 -0
  174. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  175. package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
  176. package/es/components/taxSelect/index.d.ts +0 -1
  177. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  178. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +84 -0
  179. package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +32 -5
  180. package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  181. package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
  182. package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  183. package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  184. package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  185. package/es/components/ticketBooking/context/index.d.ts +2 -0
  186. package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  187. package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  188. package/es/components/ticketBooking/locales.d.ts +201 -0
  189. package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
  190. package/es/components/wallet/utils.d.ts +48 -0
  191. package/es/components/walletList/locales.d.ts +27 -0
  192. package/es/components/walletList/types/index.d.ts +194 -0
  193. package/es/hooks/printer.d.ts +4 -0
  194. package/es/hooks/useEngineContext.d.ts +4 -0
  195. package/es/hooks/useLogger.d.ts +2 -0
  196. package/es/hooks/usePaymentLogger.d.ts +0 -1
  197. package/es/hooks/useToast.d.ts +2 -0
  198. package/es/hooks/useTranslationOriginal.d.ts +1 -0
  199. package/es/plus/clientCard/locales.d.ts +18 -0
  200. package/es/plus/clientCard/types.d.ts +134 -0
  201. package/es/plus/clientCard/utils.d.ts +8 -0
  202. package/es/plus/clientName/index.d.ts +4 -0
  203. package/es/plus/clientName/type.d.ts +13 -0
  204. package/es/plus/clientName/utils.d.ts +2 -0
  205. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
  206. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
  207. package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  208. package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  209. package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  210. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  211. package/es/plus/contactInfo/locales.d.ts +15 -0
  212. package/es/plus/contactInfo/types.d.ts +91 -0
  213. package/es/plus/contactInfo/utils.d.ts +7 -0
  214. package/es/plus/contactInfoModal/locales.d.ts +66 -0
  215. package/es/plus/noteModal/locales.d.ts +33 -0
  216. package/es/plus/noteModal/types.d.ts +19 -0
  217. package/es/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  218. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
  219. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  220. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
  221. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  222. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  223. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
  224. package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  225. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  226. package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  227. package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  228. package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  229. package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  230. package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  231. package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  232. package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  233. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  234. package/es/plus/productSelect/ProductList/index.d.ts +22 -0
  235. package/es/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  236. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  237. package/es/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  238. package/es/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  239. package/es/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  240. package/es/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  241. package/es/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  242. package/es/plus/productSelect/hooks/useToken.d.ts +18 -0
  243. package/es/plus/productSelect/locales.d.ts +18 -0
  244. package/es/plus/productSelect/theme/token.d.ts +17 -0
  245. package/es/plus/productSelect/utils.d.ts +39 -0
  246. package/es/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  247. package/es/plus/saasCreateOrganization/index.d.ts +4 -0
  248. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  249. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  250. package/es/plus/saasLogin/index.d.ts +5 -0
  251. package/es/plus/saasLogin/locales.d.ts +51 -0
  252. package/es/plus/saasLogin/types.d.ts +62 -0
  253. package/es/plus/saasLogin/utils.d.ts +35 -0
  254. package/es/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  255. package/es/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  256. package/es/plus/saasRegister/components/GoLogin.d.ts +4 -0
  257. package/es/plus/saasRegister/components/Header.d.ts +3 -0
  258. package/es/plus/saasRegister/components/VerifyError.d.ts +8 -0
  259. package/es/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  260. package/es/plus/saasRegister/locales.d.ts +117 -0
  261. package/es/plus/saasRegister/types.d.ts +114 -0
  262. package/es/plus/selectHolder/locales.d.ts +24 -0
  263. package/es/plus/selectHolder/types.d.ts +104 -0
  264. package/es/plus/selectHolder/utils.d.ts +9 -0
  265. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  266. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  267. package/es/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  268. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  269. package/es/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  270. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  271. package/es/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  272. package/es/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  273. package/es/plus/skuOptionsSelection/store/index.d.ts +2 -0
  274. package/es/plus/skuOptionsSelection/store/store.d.ts +4 -0
  275. package/es/plus/skuOptionsSelection/types.d.ts +431 -0
  276. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  277. package/es/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  278. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  279. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  280. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  281. package/es/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  282. package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  283. package/es/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  284. package/es/plus/walletEditor/locales.d.ts +135 -0
  285. package/es/plus/walletEditor/types.d.ts +52 -0
  286. package/es/plus/walletPassGallery/locales.d.ts +285 -0
  287. package/es/plus/walletPassGallery/utils.d.ts +48 -0
  288. package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  289. package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  290. package/es/pro/Login2.0/locales.d.ts +543 -0
  291. package/es/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  292. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  293. package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  294. package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  295. package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  296. package/es/pro/Login2.0/types.d.ts +167 -0
  297. package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
  298. package/es/pro/NumericStepper/index.d.ts +43 -0
  299. package/es/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  300. package/es/pro/Selector/Item.d.ts +14 -0
  301. package/es/pro/Selector/Selector.d.ts +14 -0
  302. package/es/pro/Selector/Selector.stories.d.ts +78 -0
  303. package/es/pro/Selector/SelectorGroup.d.ts +11 -0
  304. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  305. package/es/pro/Selector/components/Card/types.d.ts +1 -0
  306. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  307. package/es/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  308. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  309. package/es/pro/Selector/components/Media/index.d.ts +6 -0
  310. package/es/pro/Selector/components/Media/types.d.ts +47 -0
  311. package/es/pro/Selector/components/index.d.ts +4 -0
  312. package/es/pro/Selector/demo.d.ts +2 -0
  313. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  314. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  315. package/es/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  316. package/es/pro/Selector/index.d.ts +11 -0
  317. package/es/pro/Selector/locales.d.ts +36 -0
  318. package/es/pro/Selector/types.d.ts +173 -0
  319. package/es/pro/Selector/utils/index.d.ts +49 -0
  320. package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  321. package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  322. package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
  323. package/es/pro/comprehensiveSearch/types.d.ts +32 -0
  324. package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
  325. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  326. package/es/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
  327. package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  328. package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  329. package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  330. package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  331. package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  332. package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  333. package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  334. package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  335. package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  336. package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  337. package/es/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
  338. package/es/pro/priceKeyboard/utils.d.ts +31 -0
  339. package/es/pro/skuDetailModal/index.js +2 -2
  340. package/es/pro/skuDetailModal/locales.d.ts +103 -0
  341. package/es/pro/skuDetailModal/utils.d.ts +4 -0
  342. package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +5 -0
  343. package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +22 -0
  344. package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +11 -0
  345. package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +13 -0
  346. package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +13 -0
  347. package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +14 -0
  348. package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +13 -0
  349. package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +10 -0
  350. package/lib/components/authentication/admin/AuthMethods/constants.d.ts +22 -0
  351. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +249 -0
  352. package/lib/components/authentication/admin/AuthMethods/types.d.ts +76 -0
  353. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +84 -0
  354. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +41 -0
  355. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +6 -0
  356. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +72 -0
  357. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +33 -0
  358. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +27 -0
  359. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +25 -0
  360. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +66 -0
  361. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +26 -0
  362. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +39 -0
  363. package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +36 -0
  364. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +66 -0
  365. package/lib/components/authentication/admin/CustomerAuth/types.d.ts +16 -0
  366. package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +6 -0
  367. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +108 -0
  368. package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +22 -0
  369. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +57 -0
  370. package/lib/components/authentication/admin/DeviceAuth/types.d.ts +16 -0
  371. package/lib/components/authentication/admin/OAuthConfig/index.d.ts +6 -0
  372. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +90 -0
  373. package/lib/components/authentication/admin/OAuthConfig/types.d.ts +22 -0
  374. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +54 -0
  375. package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +16 -0
  376. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +48 -0
  377. package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +16 -0
  378. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +54 -0
  379. package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +16 -0
  380. package/lib/components/authentication/index.d.ts +0 -0
  381. package/lib/components/booking/addons/model.d.ts +1 -0
  382. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  383. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  384. package/lib/components/booking/components/customSelect/index.d.ts +38 -0
  385. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  386. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  387. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  388. package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
  389. package/lib/components/booking/components/voucher/index.js +4 -1
  390. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  391. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  392. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  393. package/lib/components/booking/forms/serve.d.ts +18 -0
  394. package/lib/components/booking/forms/table/index.d.ts +0 -1
  395. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  396. package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
  397. package/lib/components/booking/info/client/serve.d.ts +2 -0
  398. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  399. package/lib/components/booking/info/clientVariant/utils.d.ts +3 -0
  400. package/lib/components/booking/info/header/index.d.ts +0 -1
  401. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
  402. package/lib/components/booking/info/index.d.ts +1 -0
  403. package/lib/components/booking/info/model.d.ts +5 -0
  404. package/lib/components/booking/info/pet/serve.d.ts +1 -0
  405. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
  406. package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
  407. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  408. package/lib/components/booking/info/utils.d.ts +50 -0
  409. package/lib/components/booking/info2/cartClientCard/locales.d.ts +21 -0
  410. package/lib/components/booking/info2/serve.d.ts +6 -0
  411. package/lib/components/booking/info2/service/addService/utils.d.ts +106 -0
  412. package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
  413. package/lib/components/booking/model.d.ts +112 -0
  414. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  415. package/lib/components/booking/utils.d.ts +2 -2
  416. package/lib/components/checkout/components/AdditionalModule/locales.d.ts +36 -0
  417. package/lib/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
  418. package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
  419. package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
  420. package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
  421. package/lib/components/checkout/constants.d.ts +2 -0
  422. package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
  423. package/lib/components/checkout/locales.d.ts +513 -0
  424. package/lib/components/checkout/plugin.js +2 -1
  425. package/lib/components/checkout/styles.d.ts +67 -0
  426. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  427. package/lib/components/eftpos/form/index.d.ts +0 -1
  428. package/lib/components/eftpos/group/index.d.ts +0 -1
  429. package/lib/components/eftpos/hooks.d.ts +0 -1
  430. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  431. package/lib/components/eftpos/icon/device.d.ts +0 -1
  432. package/lib/components/eftpos/index.d.ts +0 -1
  433. package/lib/components/eftpos/pos.d.ts +0 -1
  434. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  435. package/lib/components/eftpos/surcharge/index.d.ts +0 -1
  436. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  437. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  438. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  439. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  440. package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
  441. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  442. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  443. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  444. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  445. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  446. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  447. package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
  448. package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
  449. package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
  450. package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
  451. package/lib/components/list/components/Tab/Tab.d.ts +5 -0
  452. package/lib/components/list/components/Tab/index.d.ts +2 -0
  453. package/lib/components/list/components/Tab/types.d.ts +14 -0
  454. package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
  455. package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
  456. package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
  457. package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
  458. package/lib/components/list/hooks/useDevice.d.ts +24 -0
  459. package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
  460. package/lib/components/list/locales.d.ts +66 -0
  461. package/lib/components/list/types.d.ts +178 -0
  462. package/lib/components/list/utils/getText.d.ts +53 -0
  463. package/lib/components/list/utils/index.d.ts +19 -0
  464. package/lib/components/login/index.d.ts +0 -1
  465. package/lib/components/pay/toB/components/Content/Header.d.ts +4 -0
  466. package/lib/components/pay/toB/hooks.d.ts +12 -0
  467. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  468. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
  469. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
  470. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
  471. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  472. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
  473. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
  474. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  475. package/lib/components/pay/toC/status.d.ts +13 -0
  476. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  477. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  478. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  479. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  480. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  481. package/lib/components/schedules/calendar/index.d.ts +0 -1
  482. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  483. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  484. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
  485. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  486. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  487. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  488. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  489. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  490. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  491. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  492. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  493. package/lib/components/schedules/products/index.d.ts +0 -1
  494. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  495. package/lib/components/schedules/products/list/index.d.ts +0 -1
  496. package/lib/components/schedules/resources/index.d.ts +0 -1
  497. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  498. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  499. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  500. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  501. package/lib/components/schedules/schedules/index.d.ts +0 -1
  502. package/lib/components/shoppingCart/locales.d.ts +36 -0
  503. package/lib/components/shoppingCart/type.d.ts +50 -0
  504. package/lib/components/subTotal/locales.d.ts +42 -0
  505. package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
  506. package/lib/components/systemSettings/registry/locales.d.ts +272 -0
  507. package/lib/components/systemSettings/registry/services.d.ts +77 -0
  508. package/lib/components/systemSettings/registry/types.d.ts +126 -0
  509. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
  510. package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
  511. package/lib/components/taxSelect/index.d.ts +0 -1
  512. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
  513. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +84 -0
  514. package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +17 -3
  515. package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
  516. package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
  517. package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
  518. package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
  519. package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
  520. package/lib/components/ticketBooking/context/index.d.ts +2 -0
  521. package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
  522. package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
  523. package/lib/components/ticketBooking/locales.d.ts +201 -0
  524. package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
  525. package/lib/components/wallet/utils.d.ts +48 -0
  526. package/lib/components/walletList/locales.d.ts +27 -0
  527. package/lib/components/walletList/types/index.d.ts +194 -0
  528. package/lib/hooks/printer.d.ts +4 -0
  529. package/lib/hooks/useEngineContext.d.ts +4 -0
  530. package/lib/hooks/useLogger.d.ts +2 -0
  531. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  532. package/lib/hooks/useToast.d.ts +2 -0
  533. package/lib/hooks/useTranslationOriginal.d.ts +1 -0
  534. package/lib/plus/clientCard/locales.d.ts +18 -0
  535. package/lib/plus/clientCard/types.d.ts +134 -0
  536. package/lib/plus/clientCard/utils.d.ts +8 -0
  537. package/lib/plus/clientName/index.d.ts +4 -0
  538. package/lib/plus/clientName/type.d.ts +13 -0
  539. package/lib/plus/clientName/utils.d.ts +2 -0
  540. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
  541. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
  542. package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
  543. package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
  544. package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
  545. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
  546. package/lib/plus/contactInfo/locales.d.ts +15 -0
  547. package/lib/plus/contactInfo/types.d.ts +91 -0
  548. package/lib/plus/contactInfo/utils.d.ts +7 -0
  549. package/lib/plus/contactInfoModal/locales.d.ts +66 -0
  550. package/lib/plus/noteModal/locales.d.ts +33 -0
  551. package/lib/plus/noteModal/types.d.ts +19 -0
  552. package/lib/plus/productSelect/CategoryTabs/CategorySkeleton.d.ts +10 -0
  553. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
  554. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
  555. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
  556. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
  557. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
  558. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
  559. package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
  560. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
  561. package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +6 -0
  562. package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
  563. package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
  564. package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
  565. package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
  566. package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
  567. package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
  568. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  569. package/lib/plus/productSelect/ProductList/index.d.ts +22 -0
  570. package/lib/plus/productSelect/components/IntersectionObserver.d.ts +42 -0
  571. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
  572. package/lib/plus/productSelect/components/TabsStructure/hooks.d.ts +22 -0
  573. package/lib/plus/productSelect/components/TabsStructure/index.d.ts +5 -0
  574. package/lib/plus/productSelect/components/TabsStructure/styles.d.ts +47 -0
  575. package/lib/plus/productSelect/components/TabsStructure/types.d.ts +105 -0
  576. package/lib/plus/productSelect/components/TabsStructure/utils.d.ts +12 -0
  577. package/lib/plus/productSelect/hooks/useToken.d.ts +18 -0
  578. package/lib/plus/productSelect/locales.d.ts +18 -0
  579. package/lib/plus/productSelect/theme/token.d.ts +17 -0
  580. package/lib/plus/productSelect/utils.d.ts +39 -0
  581. package/lib/plus/saasCreateOrganization/components/Header.d.ts +3 -0
  582. package/lib/plus/saasCreateOrganization/index.d.ts +4 -0
  583. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  584. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  585. package/lib/plus/saasLogin/index.d.ts +5 -0
  586. package/lib/plus/saasLogin/locales.d.ts +51 -0
  587. package/lib/plus/saasLogin/types.d.ts +62 -0
  588. package/lib/plus/saasLogin/utils.d.ts +35 -0
  589. package/lib/plus/saasRegister/components/EntryEmail.d.ts +9 -0
  590. package/lib/plus/saasRegister/components/EntryInfo.d.ts +9 -0
  591. package/lib/plus/saasRegister/components/GoLogin.d.ts +4 -0
  592. package/lib/plus/saasRegister/components/Header.d.ts +3 -0
  593. package/lib/plus/saasRegister/components/VerifyError.d.ts +8 -0
  594. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +5 -0
  595. package/lib/plus/saasRegister/locales.d.ts +117 -0
  596. package/lib/plus/saasRegister/types.d.ts +114 -0
  597. package/lib/plus/selectHolder/locales.d.ts +24 -0
  598. package/lib/plus/selectHolder/types.d.ts +104 -0
  599. package/lib/plus/selectHolder/utils.d.ts +9 -0
  600. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  601. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +3 -0
  602. package/lib/plus/skuOptionsSelection/hooks/index.d.ts +3 -0
  603. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +2 -0
  604. package/lib/plus/skuOptionsSelection/hooks/useStore.d.ts +2 -0
  605. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +2 -0
  606. package/lib/plus/skuOptionsSelection/store/actions.d.ts +22 -0
  607. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +15 -0
  608. package/lib/plus/skuOptionsSelection/store/index.d.ts +2 -0
  609. package/lib/plus/skuOptionsSelection/store/store.d.ts +4 -0
  610. package/lib/plus/skuOptionsSelection/types.d.ts +431 -0
  611. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +6 -0
  612. package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.d.ts +37 -0
  613. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  614. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  615. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
  616. package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +11 -0
  617. package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
  618. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +6 -0
  619. package/lib/plus/walletEditor/locales.d.ts +135 -0
  620. package/lib/plus/walletEditor/types.d.ts +52 -0
  621. package/lib/plus/walletPassGallery/locales.d.ts +285 -0
  622. package/lib/plus/walletPassGallery/utils.d.ts +48 -0
  623. package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
  624. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +24 -0
  625. package/lib/pro/Login2.0/locales.d.ts +543 -0
  626. package/lib/pro/Login2.0/shared/registerFlow.d.ts +116 -0
  627. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +12 -0
  628. package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
  629. package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
  630. package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
  631. package/lib/pro/Login2.0/types.d.ts +167 -0
  632. package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
  633. package/lib/pro/NumericStepper/index.d.ts +43 -0
  634. package/lib/pro/Selector/BatchSelectorDemo.d.ts +3 -0
  635. package/lib/pro/Selector/Item.d.ts +14 -0
  636. package/lib/pro/Selector/Selector.d.ts +14 -0
  637. package/lib/pro/Selector/Selector.stories.d.ts +78 -0
  638. package/lib/pro/Selector/SelectorGroup.d.ts +11 -0
  639. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  640. package/lib/pro/Selector/components/Card/types.d.ts +1 -0
  641. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  642. package/lib/pro/Selector/components/IntersectionObserver.d.ts +105 -0
  643. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  644. package/lib/pro/Selector/components/Media/index.d.ts +6 -0
  645. package/lib/pro/Selector/components/Media/types.d.ts +47 -0
  646. package/lib/pro/Selector/components/index.d.ts +4 -0
  647. package/lib/pro/Selector/demo.d.ts +2 -0
  648. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +43 -0
  649. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  650. package/lib/pro/Selector/hooks/useSelectionController.d.ts +49 -0
  651. package/lib/pro/Selector/index.d.ts +11 -0
  652. package/lib/pro/Selector/locales.d.ts +36 -0
  653. package/lib/pro/Selector/types.d.ts +173 -0
  654. package/lib/pro/Selector/utils/index.d.ts +49 -0
  655. package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
  656. package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
  657. package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
  658. package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
  659. package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
  660. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  661. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
  662. package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
  663. package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
  664. package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
  665. package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
  666. package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
  667. package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
  668. package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
  669. package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -0
  670. package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
  671. package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
  672. package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
  673. package/lib/pro/priceKeyboard/utils.d.ts +31 -0
  674. package/lib/pro/skuDetailModal/index.js +1 -1
  675. package/lib/pro/skuDetailModal/locales.d.ts +103 -0
  676. package/lib/pro/skuDetailModal/utils.d.ts +4 -0
  677. package/package.json +3 -3
@@ -0,0 +1,84 @@
1
+ /**
2
+ * 格式化 SKU 数据源,适配 SkuCard 组件
3
+ */
4
+ export declare const formatSkuDataSource: (dataSource: any) => {
5
+ id: any;
6
+ title: any;
7
+ subtitle: any;
8
+ cover: any;
9
+ price: any;
10
+ original_price: any;
11
+ stock: any;
12
+ sortKeys: string[];
13
+ };
14
+ /**
15
+ * Tab 项接口定义(与 List 组件保持一致)
16
+ */
17
+ export interface TabItem {
18
+ key: string;
19
+ label: string;
20
+ group?: string;
21
+ }
22
+ /**
23
+ * 产品分类信息接口
24
+ */
25
+ interface ProductCategory {
26
+ id: number;
27
+ name: string;
28
+ icon?: string;
29
+ slug?: string;
30
+ sort?: number;
31
+ /** 父级分类 ID,0 或 null/undefined 表示一级分类 */
32
+ parent_id?: number | null;
33
+ parent_category?: ProductCategory;
34
+ }
35
+ /**
36
+ * 产品项接口
37
+ */
38
+ interface Product {
39
+ id: number;
40
+ title: string;
41
+ category?: ProductCategory[];
42
+ [key: string]: any;
43
+ }
44
+ /**
45
+ * 分类树节点接口(Switch 模式返回值)
46
+ */
47
+ export interface CategoryTreeNode {
48
+ /** 分类 ID,All 节点为 '{父级路径}_all' 格式 */
49
+ id: number | string;
50
+ /** 分类唯一标识 兼容 List 组件的 key 字段 */
51
+ key: number | string;
52
+ /** 分类名称 兼容 List 组件的 label 字段 */
53
+ label: string;
54
+ /** 分类分组 兼容 List 组件的 group 字段 */
55
+ group: number | string;
56
+ /** 分类名称 */
57
+ name: string;
58
+ /** 分类图标 */
59
+ icon?: string;
60
+ /**
61
+ * 路径式父级标识
62
+ * - 一级分类:无此字段
63
+ * - 二级分类:'1'(父级 id)
64
+ * - 三级分类:'1_2'(路径格式)
65
+ * - 以此类推
66
+ */
67
+ pid?: string;
68
+ /** 该分类下所有商品的 ID 数组(包含子分类的商品) */
69
+ productIds: number[];
70
+ /** 子分类列表,如果有子分类,第一个为 All 节点 */
71
+ children?: CategoryTreeNode[];
72
+ /** 子分类最大层级 */
73
+ childrenMaxLevel: number;
74
+ }
75
+ /**
76
+ * 根据产品数据生成分类 Tabs(Switch 模式)
77
+ * 参考 TestResponsiveWrapper 的 generateSimpleTabItems 函数
78
+ *
79
+ * @param products 产品列表
80
+ * @param tabStyle tab 样式类型
81
+ * @returns Switch 模式返回 CategoryTreeNode[],Anchor 模式返回 TabItem[]
82
+ */
83
+ export declare const generateProductTabs: (products: Product[], tabStyle?: 'switch' | 'anchor') => CategoryTreeNode[] | TabItem[];
84
+ export {};
@@ -112,6 +112,33 @@ export var generateProductTabs = function generateProductTabs(products) {
112
112
  }
113
113
  };
114
114
 
115
+ /**
116
+ * 递归收集分类及其所有父级分类
117
+ * 通过 parent_category 字段向上追溯,确保所有层级的分类都被收集
118
+ *
119
+ * @param category 当前分类(带 parent_category 字段)
120
+ * @param categoryMap 分类信息 Map
121
+ */
122
+ var collectCategoryWithParents = function collectCategoryWithParents(category, categoryMap) {
123
+ // 收集当前分类
124
+ if (!categoryMap.has(category.id)) {
125
+ var _ref7, _category$parent_id, _category$parent_cate;
126
+ categoryMap.set(category.id, {
127
+ id: category.id,
128
+ name: category.name,
129
+ icon: category.icon,
130
+ slug: category.slug,
131
+ sort: category.sort,
132
+ parent_id: (_ref7 = (_category$parent_id = category.parent_id) !== null && _category$parent_id !== void 0 ? _category$parent_id : (_category$parent_cate = category.parent_category) === null || _category$parent_cate === void 0 ? void 0 : _category$parent_cate.id) !== null && _ref7 !== void 0 ? _ref7 : null
133
+ });
134
+ }
135
+
136
+ // 递归收集父级分类
137
+ if (category.parent_category) {
138
+ collectCategoryWithParents(category.parent_category, categoryMap);
139
+ }
140
+ };
141
+
115
142
  /**
116
143
  * 构建分类树形结构(Switch 模式专用)
117
144
  *
@@ -120,16 +147,16 @@ export var generateProductTabs = function generateProductTabs(products) {
120
147
  */
121
148
  var buildCategoryTree = function buildCategoryTree(products) {
122
149
  // 1. 收集所有分类及其对应的商品 ID
150
+ // 使用 category 字段,通过 parent_category 链递归收集所有层级的分类
123
151
  var categoryMap = new Map();
124
152
  var categoryProductMap = new Map();
125
153
  products.forEach(function (product) {
126
154
  if (product.category && Array.isArray(product.category)) {
127
155
  product.category.forEach(function (cat) {
128
- // 收集分类信息
129
- if (!categoryMap.has(cat.id)) {
130
- categoryMap.set(cat.id, cat);
131
- }
132
- // 收集分类对应的商品 ID
156
+ // 递归收集当前分类及其所有父级分类
157
+ collectCategoryWithParents(cat, categoryMap);
158
+
159
+ // 收集分类对应的商品 ID(只记录商品直接关联的分类)
133
160
  if (!categoryProductMap.has(cat.id)) {
134
161
  categoryProductMap.set(cat.id, new Set());
135
162
  }
@@ -0,0 +1,6 @@
1
+ export declare const formatShowList: (list: any[], options: {
2
+ search: string;
3
+ listSelectType: string;
4
+ sort: string;
5
+ }) => any[];
6
+ export declare const getBookingType: (record: any) => "pisell2" | "pisell1";
@@ -0,0 +1,22 @@
1
+ export declare const getPayStatusMap: () => {
2
+ authorized: any;
3
+ paid: any;
4
+ partially_paid: any;
5
+ partially_refunded: any;
6
+ payment_pending: any;
7
+ refunded: any;
8
+ unpaid: any;
9
+ voided: any;
10
+ payment_processing: any;
11
+ };
12
+ export declare const payStatusColorMap: {
13
+ authorized: string;
14
+ paid: string;
15
+ partially_paid: string;
16
+ partially_refunded: string;
17
+ payment_pending: string;
18
+ refunded: string;
19
+ unpaid: string;
20
+ voided: string;
21
+ payment_processing: string;
22
+ };
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ /**
3
+ * IsActive Context
4
+ * 用于在 TicketBooking 组件树中提供 isActive 状态
5
+ * isActive 用于标识当前组件是否处于激活状态
6
+ */
7
+ interface IsActiveContextType {
8
+ /** 是否激活 */
9
+ isActive: boolean;
10
+ }
11
+ declare const IsActiveContext: React.Context<IsActiveContextType>;
12
+ interface IsActiveProviderProps {
13
+ isActive: boolean;
14
+ children: React.ReactNode;
15
+ }
16
+ /**
17
+ * IsActive Provider
18
+ * 提供 isActive 给子组件使用
19
+ */
20
+ export declare const IsActiveProvider: React.FC<IsActiveProviderProps>;
21
+ /**
22
+ * useIsActive Hook
23
+ * 在子组件中使用此 hook 获取 isActive 状态
24
+ */
25
+ export declare const useIsActive: () => boolean;
26
+ export default IsActiveContext;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ /**
3
+ * OsKey Context
4
+ * 用于在 TicketBooking 组件树中提供 pisellos 的 osKey
5
+ * osKey 用于区分不同页面使用同一个组件时的模块标识
6
+ */
7
+ interface OsKeyContextType {
8
+ /** pisellos 模块的唯一标识 */
9
+ osKey: string | undefined;
10
+ }
11
+ declare const OsKeyContext: React.Context<OsKeyContextType>;
12
+ interface OsKeyProviderProps {
13
+ osKey: string | undefined;
14
+ children: React.ReactNode;
15
+ }
16
+ /**
17
+ * OsKey Provider
18
+ * 提供 osKey 给子组件使用
19
+ */
20
+ export declare const OsKeyProvider: React.FC<OsKeyProviderProps>;
21
+ /**
22
+ * useOsKey Hook
23
+ * 在子组件中使用此 hook 获取 osKey
24
+ */
25
+ export declare const useOsKey: () => string;
26
+ export default OsKeyContext;
@@ -0,0 +1,2 @@
1
+ export { OsKeyProvider, useOsKey } from './OsKeyContext';
2
+ export { default as OsKeyContext } from './OsKeyContext';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * useActiveExecute Hook
3
+ * 返回一个函数,该函数接收一个回调函数,并返回一个包装后的函数
4
+ * 包装后的函数只在 isActive 为 true 时执行原始回调
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * const { executeIfActive } = useActiveExecute();
9
+ *
10
+ * // 创建一个包装函数用于事件监听
11
+ * const handleChange = (data) => {
12
+ * console.log('data:', data);
13
+ * };
14
+ *
15
+ * // 返回的函数会在被调用时检查 isActive
16
+ * pisellos.effects.on('event', executeIfActive(handleChange));
17
+ * ```
18
+ */
19
+ export declare const useActiveExecute: () => {
20
+ executeIfActive: <T extends (...args: any[]) => any>(fn: T) => T;
21
+ };
@@ -0,0 +1,6 @@
1
+ declare const useScanManager: () => {
2
+ disableAllScanListeners: () => void;
3
+ enableAllScanListeners: () => void;
4
+ clearAllScanListenersTaskQueue: () => void;
5
+ };
6
+ export default useScanManager;
@@ -0,0 +1,201 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.ticket-booking.info': string;
4
+ 'pisell2.ticket-booking.notes': string;
5
+ 'pisell2.ticket-booking.note': string;
6
+ 'pisell2.ticket-booking.forms': string;
7
+ 'pisell2.ticket-booking.sales': string;
8
+ 'pisell2.ticket-booking.payment': string;
9
+ 'pisell2.ticket-booking.unsaved-changes': string;
10
+ 'pisell2.ticket-booking.exit-confirm': string;
11
+ 'pisell2.ticket-booking.go-back': string;
12
+ 'pisell2.ticket-booking.exit': string;
13
+ 'pisell2.ticket-booking.deposit': string;
14
+ 'pisell2.ticket-booking.copy-success': string;
15
+ 'pisell2.ticket-booking.no-data': string;
16
+ 'pisell2.ticket-booking.authorized': string;
17
+ 'pisell2.ticket-booking.paid': string;
18
+ 'pisell2.ticket-booking.partially-paid': string;
19
+ 'pisell2.ticket-booking.partially-refunded': string;
20
+ 'pisell2.ticket-booking.payment-pending': string;
21
+ 'pisell2.ticket-booking.refunded': string;
22
+ 'pisell2.ticket-booking.unpaid': string;
23
+ 'pisell2.ticket-booking.voided': string;
24
+ 'pisell2.ticket-booking.pending': string;
25
+ 'pisell2.ticket-booking.all': string;
26
+ 'pisell2.ticket-booking.not-started': string;
27
+ 'pisell2.ticket-booking.started': string;
28
+ 'pisell2.ticket-booking.finished': string;
29
+ 'pisell2.ticket-booking.canceled': string;
30
+ 'pisell2.ticket-booking.inform': string;
31
+ 'pisell2.ticket-booking.check-management': string;
32
+ 'pisell2.ticket-booking.confirm': string;
33
+ 'pisell2.ticket-booking.dashboard': string;
34
+ 'pisell2.ticket-booking.booking-list': string;
35
+ 'pisell2.ticket-booking.full-data': string;
36
+ 'pisell2.ticket-booking.today': string;
37
+ 'pisell2.ticket-booking.now': string;
38
+ 'pisell2.ticket-booking.start-time': string;
39
+ 'pisell2.ticket-booking.create-time': string;
40
+ 'pisell2.ticket-booking.customer': string;
41
+ 'pisell2.ticket-booking.total': string;
42
+ 'pisell2.ticket-booking.search': string;
43
+ 'pisell2.ticket-booking.refresh-success': string;
44
+ 'pisell2.ticket-booking.loading': string;
45
+ 'pisell2.ticket-booking.appointment-not-found': string;
46
+ 'pisell2.ticket-booking.scan': string;
47
+ 'pisell2.ticket-booking.create-new': string;
48
+ 'pisell2.ticket-booking.add-to-cart': string;
49
+ 'pisell2.ticket-booking.not-available-title': string;
50
+ 'pisell2.ticket-booking.not-available-ok': string;
51
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
52
+ 'pisell2.product.card.cart-items': (number: number) => string;
53
+ 'pisell2.product.card.subtotal': string;
54
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
55
+ 'pisell2.product.card.day': (val: number) => string;
56
+ 'pisell2.product.card.day.event': (val: number) => string;
57
+ 'pisell2.product.card.minute': (val: number) => string;
58
+ 'pisell2.ticket-booking.reload': string;
59
+ 'pisell2.text.scan-global-failed': string;
60
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
61
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
62
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
63
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
64
+ 'pisell2.ticket-booking.collapse': string;
65
+ 'pisell2.ticket-booking.expand': string;
66
+ 'pisell2.product-select.search': string;
67
+ };
68
+ 'zh-CN': {
69
+ 'pisell2.ticket-booking.info': string;
70
+ 'pisell2.ticket-booking.notes': string;
71
+ 'pisell2.ticket-booking.note': string;
72
+ 'pisell2.ticket-booking.forms': string;
73
+ 'pisell2.ticket-booking.sales': string;
74
+ 'pisell2.ticket-booking.payment': string;
75
+ 'pisell2.ticket-booking.unsaved-changes': string;
76
+ 'pisell2.ticket-booking.exit-confirm': string;
77
+ 'pisell2.ticket-booking.go-back': string;
78
+ 'pisell2.ticket-booking.exit': string;
79
+ 'pisell2.ticket-booking.deposit': string;
80
+ 'pisell2.ticket-booking.copy-success': string;
81
+ 'pisell2.ticket-booking.no-data': string;
82
+ 'pisell2.ticket-booking.authorized': string;
83
+ 'pisell2.ticket-booking.paid': string;
84
+ 'pisell2.ticket-booking.partially-paid': string;
85
+ 'pisell2.ticket-booking.partially-refunded': string;
86
+ 'pisell2.ticket-booking.payment-pending': string;
87
+ 'pisell2.ticket-booking.refunded': string;
88
+ 'pisell2.ticket-booking.unpaid': string;
89
+ 'pisell2.ticket-booking.voided': string;
90
+ 'pisell2.ticket-booking.pending': string;
91
+ 'pisell2.ticket-booking.all': string;
92
+ 'pisell2.ticket-booking.not-started': string;
93
+ 'pisell2.ticket-booking.started': string;
94
+ 'pisell2.ticket-booking.finished': string;
95
+ 'pisell2.ticket-booking.canceled': string;
96
+ 'pisell2.ticket-booking.inform': string;
97
+ 'pisell2.ticket-booking.check-management': string;
98
+ 'pisell2.ticket-booking.confirm': string;
99
+ 'pisell2.ticket-booking.dashboard': string;
100
+ 'pisell2.ticket-booking.booking-list': string;
101
+ 'pisell2.ticket-booking.full-data': string;
102
+ 'pisell2.ticket-booking.today': string;
103
+ 'pisell2.ticket-booking.now': string;
104
+ 'pisell2.ticket-booking.start-time': string;
105
+ 'pisell2.ticket-booking.create-time': string;
106
+ 'pisell2.ticket-booking.customer': string;
107
+ 'pisell2.ticket-booking.total': string;
108
+ 'pisell2.ticket-booking.search': string;
109
+ 'pisell2.ticket-booking.refresh-success': string;
110
+ 'pisell2.ticket-booking.loading': string;
111
+ 'pisell2.ticket-booking.appointment-not-found': string;
112
+ 'pisell2.ticket-booking.scan': string;
113
+ 'pisell2.ticket-booking.create-new': string;
114
+ 'pisell2.ticket-booking.add-to-cart': string;
115
+ 'pisell2.ticket-booking.not-available-title': string;
116
+ 'pisell2.ticket-booking.not-available-ok': string;
117
+ 'pisell2.product.card.cart-items': (number: number) => string;
118
+ 'pisell2.product.card.subtotal': string;
119
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
120
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
121
+ 'pisell2.product.card.day': (val: number) => string;
122
+ 'pisell2.product.card.day.event': (val: number) => string;
123
+ 'pisell2.product.card.minute': (val: number) => string;
124
+ 'pisell2.ticket-booking.reload': string;
125
+ 'pisell2.text.scan-global-failed': string;
126
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
127
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
128
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
129
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
130
+ 'pisell2.ticket-booking.collapse': string;
131
+ 'pisell2.ticket-booking.expand': string;
132
+ 'pisell2.product-select.search': string;
133
+ };
134
+ 'zh-HK': {
135
+ 'pisell2.ticket-booking.info': string;
136
+ 'pisell2.ticket-booking.notes': string;
137
+ 'pisell2.ticket-booking.note': string;
138
+ 'pisell2.ticket-booking.forms': string;
139
+ 'pisell2.ticket-booking.sales': string;
140
+ 'pisell2.ticket-booking.payment': string;
141
+ 'pisell2.ticket-booking.unsaved-changes': string;
142
+ 'pisell2.ticket-booking.exit-confirm': string;
143
+ 'pisell2.ticket-booking.go-back': string;
144
+ 'pisell2.ticket-booking.exit': string;
145
+ 'pisell2.ticket-booking.deposit': string;
146
+ 'pisell2.ticket-booking.copy-success': string;
147
+ 'pisell2.ticket-booking.no-data': string;
148
+ 'pisell2.ticket-booking.authorized': string;
149
+ 'pisell2.ticket-booking.paid': string;
150
+ 'pisell2.ticket-booking.partially-paid': string;
151
+ 'pisell2.ticket-booking.partially-refunded': string;
152
+ 'pisell2.ticket-booking.payment-pending': string;
153
+ 'pisell2.ticket-booking.refunded': string;
154
+ 'pisell2.ticket-booking.unpaid': string;
155
+ 'pisell2.ticket-booking.voided': string;
156
+ 'pisell2.ticket-booking.pending': string;
157
+ 'pisell2.ticket-booking.all': string;
158
+ 'pisell2.ticket-booking.not-started': string;
159
+ 'pisell2.ticket-booking.started': string;
160
+ 'pisell2.ticket-booking.finished': string;
161
+ 'pisell2.ticket-booking.canceled': string;
162
+ 'pisell2.ticket-booking.inform': string;
163
+ 'pisell2.ticket-booking.check-management': string;
164
+ 'pisell2.ticket-booking.confirm': string;
165
+ 'pisell2.ticket-booking.dashboard': string;
166
+ 'pisell2.ticket-booking.booking-list': string;
167
+ 'pisell2.ticket-booking.full-data': string;
168
+ 'pisell2.ticket-booking.today': string;
169
+ 'pisell2.ticket-booking.now': string;
170
+ 'pisell2.ticket-booking.start-time': string;
171
+ 'pisell2.ticket-booking.create-time': string;
172
+ 'pisell2.ticket-booking.customer': string;
173
+ 'pisell2.ticket-booking.total': string;
174
+ 'pisell2.ticket-booking.search': string;
175
+ 'pisell2.ticket-booking.refresh-success': string;
176
+ 'pisell2.ticket-booking.loading': string;
177
+ 'pisell2.ticket-booking.appointment-not-found': string;
178
+ 'pisell2.ticket-booking.scan': string;
179
+ 'pisell2.ticket-booking.create-new': string;
180
+ 'pisell2.ticket-booking.add-to-cart': string;
181
+ 'pisell2.ticket-booking.not-available-title': string;
182
+ 'pisell2.ticket-booking.not-available-ok': string;
183
+ 'pisell2.ticket-booking.in-cart': (number: number) => string;
184
+ 'pisell2.product.card.cart-items': (number: number) => string;
185
+ 'pisell2.product.card.subtotal': string;
186
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
187
+ 'pisell2.product.card.day': (val: number) => string;
188
+ 'pisell2.product.card.day.event': (val: number) => string;
189
+ 'pisell2.product.card.minute': (val: number) => string;
190
+ 'pisell2.ticket-booking.reload': string;
191
+ 'pisell2.text.scan-global-failed': string;
192
+ 'pisell2.ticket-booking.terminal-upgrade-title': string;
193
+ 'pisell2.ticket-booking.terminal-upgrade-description': string;
194
+ 'pisell2.ticket-booking.terminal-upgrade-ok': string;
195
+ 'pisell2.ticket-booking.terminal-upgrade-cancel': string;
196
+ 'pisell2.ticket-booking.collapse': string;
197
+ 'pisell2.ticket-booking.expand': string;
198
+ 'pisell2.product-select.search': string;
199
+ };
200
+ };
201
+ export default _default;
@@ -0,0 +1,75 @@
1
+ /**
2
+ * 产品数据缓存工具
3
+ * 使用 localStorage 实现类似 SWR 的缓存功能
4
+ */
5
+ /**
6
+ * 缓存类型
7
+ */
8
+ export declare type CacheType = 'product' | 'boardConfig';
9
+ /**
10
+ * 通用缓存获取函数
11
+ * @param osKey - OS 实例的唯一标识
12
+ * @param cacheType - 缓存类型
13
+ * @param maxAge - 缓存最大有效期(毫秒),默认不限制
14
+ */
15
+ export declare const getCache: <T = any>(osKey: string, cacheType?: CacheType, maxAge?: number) => T | null;
16
+ /**
17
+ * 从缓存中获取产品数据(兼容旧接口)
18
+ * @param osKey - OS 实例的唯一标识
19
+ * @param maxAge - 缓存最大有效期(毫秒),默认不限制
20
+ */
21
+ export declare const getProductCache: <T = any>(osKey: string, maxAge?: number) => T | null;
22
+ /**
23
+ * 通用缓存设置函数
24
+ * @param osKey - OS 实例的唯一标识
25
+ * @param data - 要缓存的数据
26
+ * @param cacheType - 缓存类型
27
+ */
28
+ export declare const setCache: <T = any>(osKey: string, data: T, cacheType?: CacheType) => void;
29
+ /**
30
+ * 设置产品缓存数据(兼容旧接口)
31
+ * @param osKey - OS 实例的唯一标识
32
+ * @param data - 要缓存的数据
33
+ */
34
+ export declare const setProductCache: <T = any>(osKey: string, data: T) => void;
35
+ /**
36
+ * 清除指定类型的缓存
37
+ * @param osKey - OS 实例的唯一标识
38
+ * @param cacheType - 缓存类型
39
+ */
40
+ export declare const clearCache: (osKey: string, cacheType?: CacheType) => void;
41
+ /**
42
+ * 清除指定 osKey 的产品缓存(兼容旧接口)
43
+ * @param osKey - OS 实例的唯一标识
44
+ */
45
+ export declare const clearProductCache: (osKey: string) => void;
46
+ /**
47
+ * 清除指定 osKey 的 BoardConfig 缓存
48
+ * @param osKey - OS 实例的唯一标识
49
+ */
50
+ export declare const clearBoardConfigCache: (osKey: string) => void;
51
+ /**
52
+ * 清除指定 osKey 的所有类型缓存
53
+ * @param osKey - OS 实例的唯一标识
54
+ */
55
+ export declare const clearAllCacheByOsKey: (osKey: string) => void;
56
+ /**
57
+ * 清除所有产品缓存
58
+ */
59
+ export declare const clearAllProductCache: () => void;
60
+ /**
61
+ * 清除所有类型的缓存
62
+ */
63
+ export declare const clearAllCache: () => void;
64
+ /**
65
+ * 获取 BoardConfig 缓存
66
+ * @param osKey - OS 实例的唯一标识
67
+ * @param maxAge - 缓存最大有效期(毫秒),默认不限制
68
+ */
69
+ export declare const getBoardConfigCache: <T = any>(osKey: string, maxAge?: number) => T | null;
70
+ /**
71
+ * 设置 BoardConfig 缓存
72
+ * @param osKey - OS 实例的唯一标识
73
+ * @param data - 要缓存的数据
74
+ */
75
+ export declare const setBoardConfigCache: <T = any>(osKey: string, data: T) => void;
@@ -0,0 +1,48 @@
1
+ interface ScheduleTextResult {
2
+ validityTexts: string[];
3
+ excluded_date: string[];
4
+ included_date: string[];
5
+ }
6
+ declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
7
+ interface ScheduleItem {
8
+ id: number;
9
+ name: string | {
10
+ [key: string]: string;
11
+ };
12
+ type: 'standard' | 'time-slots' | 'designation';
13
+ start_time: string | null;
14
+ end_time: string | null;
15
+ repeat_type: 'none' | 'daily' | 'weekly';
16
+ repeat_rule: {
17
+ end: {
18
+ type: 'never' | 'date' | 'occurrence';
19
+ end_date: string | null;
20
+ occurrence: number | null;
21
+ };
22
+ frequency: number;
23
+ excluded_date: Array<{
24
+ start: string;
25
+ end: string;
26
+ }>;
27
+ included_date: any[];
28
+ frequency_date: number[];
29
+ } | null;
30
+ designation: Array<{
31
+ start_date: string;
32
+ start_time: string;
33
+ end_date: string;
34
+ end_time: string;
35
+ }> | null;
36
+ is_all: number;
37
+ time_slot: Array<{
38
+ start_time: string;
39
+ end_time: string;
40
+ }>;
41
+ }
42
+ /**
43
+ * 根据scheduleList格式化文案展示
44
+ * @param scheduleList 日程列表
45
+ * @returns 格式化后的文案结果数组,每个日程对应一个结果
46
+ */
47
+ export declare function formatScheduleText(scheduleList: ScheduleItem[], locale?: Locale): ScheduleTextResult[];
48
+ export {};
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.wallet.guide.title': string;
4
+ 'page.wallet.guide.subtitle': string;
5
+ 'page.wallet.guide.button': string;
6
+ 'page.wallet.tempHolderSelector.title': string;
7
+ 'page.wallet.tempHolderSelector.create': string;
8
+ 'page.wallet.tempHolderSelector.confirm': string;
9
+ };
10
+ 'zh-CN': {
11
+ 'page.wallet.guide.title': string;
12
+ 'page.wallet.guide.subtitle': string;
13
+ 'page.wallet.guide.button': string;
14
+ 'page.wallet.tempHolderSelector.title': string;
15
+ 'page.wallet.tempHolderSelector.create': string;
16
+ 'page.wallet.tempHolderSelector.confirm': string;
17
+ };
18
+ 'zh-HK': {
19
+ 'page.wallet.guide.title': string;
20
+ 'page.wallet.guide.subtitle': string;
21
+ 'page.wallet.guide.button': string;
22
+ 'page.wallet.tempHolderSelector.title': string;
23
+ 'page.wallet.tempHolderSelector.create': string;
24
+ 'page.wallet.tempHolderSelector.confirm': string;
25
+ };
26
+ };
27
+ export default _default;