@pisell/private-materials 6.3.69 → 6.3.71

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 (318) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +3 -3
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +3 -3
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  14. package/es/components/booking/addons/model.d.ts +1 -10
  15. package/es/components/booking/components/voucher/index.js +8 -7
  16. package/es/components/booking/forms/model.d.ts +1 -10
  17. package/es/components/booking/hooks/useQuotation.js +2 -2
  18. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  19. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  20. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  21. package/es/components/booking/info/index.d.ts +1 -0
  22. package/es/components/booking/info/model.d.ts +1 -10
  23. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  24. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  25. package/es/components/booking/info/service2/utils.d.ts +1 -1
  26. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  27. package/es/components/booking/model.d.ts +1 -9
  28. package/es/components/booking/notes/model.d.ts +1 -10
  29. package/es/components/booking/payments/model.d.ts +1 -10
  30. package/es/components/eftposPay/amount.d.ts +1 -1
  31. package/es/components/eftposPay/device.d.ts +1 -1
  32. package/es/components/eftposPay/hooks.d.ts +2 -2
  33. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  34. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  35. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  36. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  37. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  38. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  39. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  40. package/es/components/kioskSkuDetail/index.d.ts +39 -0
  41. package/es/components/kioskSkuDetail/index.js +531 -0
  42. package/es/components/kioskSkuDetail/index.less +196 -0
  43. package/es/components/kioskSkuDetail/locales.d.ts +27 -0
  44. package/es/components/kioskSkuDetail/locales.js +26 -0
  45. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
  46. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  47. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  48. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  49. package/es/components/pay/toC/model.d.ts +1 -9
  50. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  51. package/es/components/schedules/model.d.ts +1 -9
  52. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  53. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  54. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  55. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  56. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  57. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  58. package/es/components/walletList/index.js +7 -2
  59. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  60. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  61. package/es/index.d.ts +3 -1
  62. package/es/index.js +3 -1
  63. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  64. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  65. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  66. package/es/plus/skuOptionsSelection/components/VariantCard/index.js +30 -1
  67. package/es/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
  68. package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
  69. package/es/plus/skuOptionsSelection/locales.js +3 -0
  70. package/es/plus/skuOptionsSelection/store/actions.js +17 -2
  71. package/es/plus/skuOptionsSelection/types.d.ts +5 -0
  72. package/es/plus/skuOptionsSelection/types.js +2 -1
  73. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +70 -3
  74. package/es/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  75. package/es/plus/walletPassGallery/index.js +2 -2
  76. package/es/pro/numberKeyboard/index.d.ts +28 -0
  77. package/es/pro/numberKeyboard/index.js +155 -0
  78. package/es/pro/numberKeyboard/index.less +25 -0
  79. package/es/pro/numberKeyboard/locales.d.ts +12 -0
  80. package/es/pro/numberKeyboard/locales.js +11 -0
  81. package/es/pro/pisellNumberSelector/example.d.ts +3 -0
  82. package/es/pro/pisellNumberSelector/example.js +68 -0
  83. package/es/pro/pisellNumberSelector/index.d.ts +29 -0
  84. package/es/pro/pisellNumberSelector/index.js +257 -0
  85. package/es/pro/pisellNumberSelector/index.less +235 -0
  86. package/es/pro/skuDetailModal/index.d.ts +4 -0
  87. package/es/pro/skuDetailModal/index.js +1031 -0
  88. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  89. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  90. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  91. package/lib/components/booking/addons/model.d.ts +1 -10
  92. package/lib/components/booking/components/voucher/index.js +0 -1
  93. package/lib/components/booking/forms/model.d.ts +1 -10
  94. package/lib/components/booking/hooks/useQuotation.js +3 -3
  95. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  96. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  97. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  98. package/lib/components/booking/info/index.d.ts +1 -0
  99. package/lib/components/booking/info/model.d.ts +1 -10
  100. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  101. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  102. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  103. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  104. package/lib/components/booking/model.d.ts +1 -9
  105. package/lib/components/booking/notes/model.d.ts +1 -10
  106. package/lib/components/booking/payments/model.d.ts +1 -10
  107. package/lib/components/eftposPay/amount.d.ts +1 -1
  108. package/lib/components/eftposPay/device.d.ts +1 -1
  109. package/lib/components/eftposPay/hooks.d.ts +2 -2
  110. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  111. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  112. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  113. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  114. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  115. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  116. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  117. package/lib/components/kioskSkuDetail/index.d.ts +39 -0
  118. package/lib/components/kioskSkuDetail/index.js +393 -0
  119. package/lib/components/kioskSkuDetail/index.less +196 -0
  120. package/lib/components/kioskSkuDetail/locales.d.ts +27 -0
  121. package/lib/components/kioskSkuDetail/locales.js +50 -0
  122. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +5 -0
  123. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  124. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  125. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  126. package/lib/components/pay/toC/model.d.ts +1 -9
  127. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  128. package/lib/components/schedules/model.d.ts +1 -9
  129. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  130. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  131. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  132. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  133. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  134. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  135. package/lib/components/walletList/index.js +5 -1
  136. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  137. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  138. package/lib/index.d.ts +3 -1
  139. package/lib/index.js +7 -1
  140. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  141. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
  142. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
  143. package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +32 -3
  144. package/lib/plus/skuOptionsSelection/components/VariantCard/index.less +10 -0
  145. package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
  146. package/lib/plus/skuOptionsSelection/locales.js +3 -0
  147. package/lib/plus/skuOptionsSelection/store/actions.js +25 -1
  148. package/lib/plus/skuOptionsSelection/types.d.ts +5 -0
  149. package/lib/plus/skuOptionsSelection/types.js +2 -1
  150. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +51 -5
  151. package/lib/plus/walletEditor/components/ImageUpload/index.d.ts +1 -1
  152. package/lib/plus/walletPassGallery/index.js +2 -2
  153. package/lib/pro/numberKeyboard/index.d.ts +28 -0
  154. package/lib/pro/numberKeyboard/index.js +182 -0
  155. package/lib/pro/numberKeyboard/index.less +25 -0
  156. package/lib/pro/numberKeyboard/locales.d.ts +12 -0
  157. package/lib/pro/numberKeyboard/locales.js +35 -0
  158. package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
  159. package/lib/pro/pisellNumberSelector/example.js +93 -0
  160. package/lib/pro/pisellNumberSelector/index.d.ts +29 -0
  161. package/lib/pro/pisellNumberSelector/index.js +275 -0
  162. package/lib/pro/pisellNumberSelector/index.less +235 -0
  163. package/lib/pro/skuDetailModal/index.d.ts +4 -0
  164. package/lib/pro/skuDetailModal/index.js +736 -0
  165. package/lowcode/kiosk-sku-detail/meta.ts +264 -0
  166. package/package.json +4 -4
  167. package/es/components/Sales/Cart/utils.d.ts +0 -63
  168. package/es/components/Sales/Summary/utils.d.ts +0 -51
  169. package/es/components/appointmentBooking/locales.d.ts +0 -363
  170. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  171. package/es/components/booking/dashboard/serve.d.ts +0 -1
  172. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  173. package/es/components/booking/forms/serve.d.ts +0 -18
  174. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  175. package/es/components/booking/info/client/serve.d.ts +0 -2
  176. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  177. package/es/components/booking/info/pet/serve.d.ts +0 -1
  178. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  179. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  180. package/es/components/booking/info/service/serve.d.ts +0 -20
  181. package/es/components/booking/info2/serve.d.ts +0 -6
  182. package/es/components/booking/locales.d.ts +0 -843
  183. package/es/components/eftposPay/const.d.ts +0 -184
  184. package/es/components/eftposPay/locales.d.ts +0 -330
  185. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  186. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  187. package/es/components/pay/toC/PaymentList/utils.d.ts +0 -36
  188. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  189. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  190. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  191. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  192. package/es/components/pay/toC/locales.d.ts +0 -307
  193. package/es/components/pay/toC/status.d.ts +0 -13
  194. package/es/components/ruleSetting/locales.d.ts +0 -48
  195. package/es/components/shoppingCart/locales.d.ts +0 -33
  196. package/es/components/shoppingCart/type.d.ts +0 -48
  197. package/es/components/subTotal/locales.d.ts +0 -42
  198. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  199. package/es/components/systemSettings/registry/services.d.ts +0 -77
  200. package/es/components/systemSettings/registry/types.d.ts +0 -126
  201. package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  202. package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
  203. package/es/components/ticketBooking/locales.d.ts +0 -174
  204. package/es/components/wallet/utils.d.ts +0 -48
  205. package/es/components/walletList/locales.d.ts +0 -27
  206. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  207. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  208. package/es/hooks/useEngineContext.d.ts +0 -10
  209. package/es/hooks/useWindowSize.d.ts +0 -5
  210. package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  211. package/es/plus/selectHolder/locales.d.ts +0 -21
  212. package/es/plus/selectHolder/types.d.ts +0 -104
  213. package/es/plus/selectHolder/utils.d.ts +0 -9
  214. package/es/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  215. package/es/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  216. package/es/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  217. package/es/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  218. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  219. package/es/plus/walletEditor/locales.d.ts +0 -135
  220. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  221. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  222. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  223. package/es/pro/NumericStepper/index.d.ts +0 -43
  224. package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  225. package/es/pro/Selector/Item.d.ts +0 -14
  226. package/es/pro/Selector/Selector.stories.d.ts +0 -78
  227. package/es/pro/Selector/components/Card/index.d.ts +0 -57
  228. package/es/pro/Selector/components/Card/types.d.ts +0 -1
  229. package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
  230. package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  231. package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  232. package/es/pro/Selector/components/Media/index.d.ts +0 -6
  233. package/es/pro/Selector/components/Media/types.d.ts +0 -47
  234. package/es/pro/Selector/components/index.d.ts +0 -4
  235. package/es/pro/Selector/demo.d.ts +0 -2
  236. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  237. package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  238. package/es/pro/Selector/index.d.ts +0 -11
  239. package/es/pro/Selector/locales.d.ts +0 -36
  240. package/es/pro/Selector/types.d.ts +0 -173
  241. package/es/pro/Selector/utils/index.d.ts +0 -49
  242. package/es/test/setup.d.ts +0 -1
  243. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  244. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  245. package/lib/components/appointmentBooking/locales.d.ts +0 -363
  246. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  247. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  248. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  249. package/lib/components/booking/forms/serve.d.ts +0 -18
  250. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  251. package/lib/components/booking/info/client/serve.d.ts +0 -2
  252. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  253. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  254. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  255. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  256. package/lib/components/booking/info/service/serve.d.ts +0 -20
  257. package/lib/components/booking/info2/serve.d.ts +0 -6
  258. package/lib/components/booking/locales.d.ts +0 -843
  259. package/lib/components/eftposPay/const.d.ts +0 -184
  260. package/lib/components/eftposPay/locales.d.ts +0 -330
  261. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  262. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  263. package/lib/components/pay/toC/PaymentList/utils.d.ts +0 -36
  264. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  265. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  266. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  267. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -2
  268. package/lib/components/pay/toC/locales.d.ts +0 -307
  269. package/lib/components/pay/toC/status.d.ts +0 -13
  270. package/lib/components/ruleSetting/locales.d.ts +0 -48
  271. package/lib/components/shoppingCart/locales.d.ts +0 -33
  272. package/lib/components/shoppingCart/type.d.ts +0 -48
  273. package/lib/components/subTotal/locales.d.ts +0 -42
  274. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  275. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  276. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  277. package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
  278. package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
  279. package/lib/components/ticketBooking/locales.d.ts +0 -174
  280. package/lib/components/wallet/utils.d.ts +0 -48
  281. package/lib/components/walletList/locales.d.ts +0 -27
  282. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  283. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  284. package/lib/hooks/useEngineContext.d.ts +0 -10
  285. package/lib/hooks/useWindowSize.d.ts +0 -5
  286. package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
  287. package/lib/plus/selectHolder/locales.d.ts +0 -21
  288. package/lib/plus/selectHolder/types.d.ts +0 -104
  289. package/lib/plus/selectHolder/utils.d.ts +0 -9
  290. package/lib/plus/skuOptionsSelection/hooks/useLanguage.d.ts +0 -2
  291. package/lib/plus/skuOptionsSelection/hooks/useSymbol.d.ts +0 -2
  292. package/lib/plus/skuOptionsSelection/store/createStore.d.ts +0 -15
  293. package/lib/plus/skuOptionsSelection/utils/calculateOption.d.ts +0 -6
  294. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  295. package/lib/plus/walletEditor/locales.d.ts +0 -135
  296. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  297. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  298. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  299. package/lib/pro/NumericStepper/index.d.ts +0 -43
  300. package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  301. package/lib/pro/Selector/Item.d.ts +0 -14
  302. package/lib/pro/Selector/Selector.stories.d.ts +0 -78
  303. package/lib/pro/Selector/components/Card/index.d.ts +0 -57
  304. package/lib/pro/Selector/components/Card/types.d.ts +0 -1
  305. package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
  306. package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
  307. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  308. package/lib/pro/Selector/components/Media/index.d.ts +0 -6
  309. package/lib/pro/Selector/components/Media/types.d.ts +0 -47
  310. package/lib/pro/Selector/components/index.d.ts +0 -4
  311. package/lib/pro/Selector/demo.d.ts +0 -2
  312. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  313. package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  314. package/lib/pro/Selector/index.d.ts +0 -11
  315. package/lib/pro/Selector/locales.d.ts +0 -36
  316. package/lib/pro/Selector/types.d.ts +0 -173
  317. package/lib/pro/Selector/utils/index.d.ts +0 -49
  318. package/lib/test/setup.d.ts +0 -1
@@ -1,48 +0,0 @@
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 {};
@@ -1,27 +0,0 @@
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;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface IconItem {
3
- name: string;
4
- icon: React.ComponentType;
5
- }
6
- export declare const icons: IconItem[];
7
- export declare const iconMap: Record<string, React.ComponentType>;
8
- export {};
@@ -1,2 +0,0 @@
1
- import { MenuProps } from 'antd';
2
- export declare const items: MenuProps['items'];
@@ -1,10 +0,0 @@
1
- declare type IEngineContext = {
2
- appHelper: any;
3
- engine: any;
4
- blockContext: any;
5
- components: any;
6
- pageContext: any;
7
- };
8
- declare const useEngineContext: () => IEngineContext;
9
- export declare const usePisellOS: () => any;
10
- export default useEngineContext;
@@ -1,5 +0,0 @@
1
- interface UseWindowSizeOptions {
2
- debounceMs?: number;
3
- }
4
- export declare const useWindowSize: (options?: UseWindowSizeOptions) => void;
5
- export {};
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import type { TabsStructureProps, TabListContainerProps, TabItemProps, RailProps, SelectionIndicatorProps, ScrollShadowProps, ChevronControlsProps, ChevronButtonProps } from './types';
3
- declare global {
4
- interface WeakRef<T extends object> {
5
- deref(): T | undefined;
6
- }
7
- interface WeakRefConstructor {
8
- new <T extends object>(target: T): WeakRef<T>;
9
- }
10
- const WeakRef: WeakRefConstructor | undefined;
11
- }
12
- declare const TabListContainer: React.ForwardRefExoticComponent<Omit<TabListContainerProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
13
- declare const TabItem: React.ForwardRefExoticComponent<Omit<TabItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
14
- declare const Rail: React.ForwardRefExoticComponent<Omit<RailProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
- declare const SelectionIndicator: React.ForwardRefExoticComponent<Omit<SelectionIndicatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
- declare const ScrollShadow: React.ForwardRefExoticComponent<Omit<ScrollShadowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
- declare const ChevronButton: React.ForwardRefExoticComponent<Omit<ChevronButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
- declare const ChevronControls: React.FC<ChevronControlsProps>;
19
- declare type TabsStructureComponent = React.FC<TabsStructureProps> & {
20
- Rail: typeof Rail;
21
- ListContainer: typeof TabListContainer;
22
- Item: typeof TabItem;
23
- SelectionIndicator: typeof SelectionIndicator;
24
- ScrollShadow: typeof ScrollShadow;
25
- ChevronControls: typeof ChevronControls;
26
- ChevronButton: typeof ChevronButton;
27
- };
28
- declare const TabsStructureWithSubComponents: TabsStructureComponent;
29
- export default TabsStructureWithSubComponents;
30
- export { TabListContainer, TabItem, Rail, SelectionIndicator, ScrollShadow, ChevronControls, ChevronButton, };
@@ -1,21 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell-select-holder-create': string;
4
- 'pisell-select-holder-please-select': string;
5
- 'pisell-select-holder-selected': string;
6
- 'pisell-select-holder-skip': string;
7
- };
8
- 'zh-CN': {
9
- 'pisell-select-holder-create': string;
10
- 'pisell-select-holder-please-select': string;
11
- 'pisell-select-holder-selected': string;
12
- 'pisell-select-holder-skip': string;
13
- };
14
- 'zh-TW': {
15
- 'pisell-select-holder-create': string;
16
- 'pisell-select-holder-please-select': string;
17
- 'pisell-select-holder-selected': string;
18
- 'pisell-select-holder-skip': string;
19
- };
20
- };
21
- export default _default;
@@ -1,104 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * @title: 选项数据类型
4
- * @description:
5
- * @return {*}
6
- * @Author: WangHan
7
- * @Date: 2025-10-11 14:18
8
- */
9
- export interface HolderOption {
10
- /** 显示的标签文本 */
11
- label: string;
12
- /** 选项的值(唯一标识) */
13
- value: any;
14
- /** 头像地址 */
15
- avatar?: string;
16
- /** 副标题/描述 */
17
- subtitle?: string;
18
- /** 其他字段 */
19
- [key: string]: any;
20
- }
21
- /**
22
- * @title: 模态框配置
23
- * @description:
24
- * @return {*}
25
- * @Author: WangHan
26
- * @Date: 2025-10-10 14:32
27
- */
28
- export interface HolderModalProps {
29
- title?: string;
30
- confirmText?: string;
31
- showClose?: boolean;
32
- }
33
- /**
34
- * @title: 字段展示配置
35
- * @description:
36
- * @return {*}
37
- * @Author: WangHan
38
- * @Date: 2025-10-10 14:32
39
- */
40
- export interface HolderDisplayProps {
41
- showAvatar?: boolean;
42
- showTitle?: boolean;
43
- showSubtitle?: boolean;
44
- isSkipable?: boolean;
45
- direction?: 'horizontal' | 'vertical';
46
- selectType?: 'single' | 'multiple';
47
- showExtraFields?: boolean;
48
- extraFields?: any[];
49
- }
50
- /**
51
- * @title: SelectHolder 组件属性
52
- * @description:
53
- * @return {*}
54
- * @Author: WangHan
55
- * @Date: 2025-10-11 14:18
56
- */
57
- export interface PisellSelectHolderProps {
58
- /** 选项列表 */
59
- dataSource?: HolderOption[];
60
- /** 是否打开模态框 */
61
- open?: boolean;
62
- /** 关闭事件(右上角 X 按钮) */
63
- onClose?: () => void;
64
- /** 确认事件,返回选中的值 */
65
- onConfirm?: (selected: any) => void;
66
- /** 跳过事件(底部跳过按钮) */
67
- onSkip?: () => void;
68
- /** 点击添加按钮事件 */
69
- onAdd?: () => void;
70
- /** 当前选中的值(单选) 或 选中的值数组(多选) */
71
- value?: any;
72
- modalConfig?: HolderModalProps;
73
- displayConfig?: HolderDisplayProps;
74
- /** 是否禁用确认按钮 */
75
- disabled?: boolean;
76
- /** 错误提示文案 */
77
- errorTipText?: string;
78
- /** 是否显示添加按钮 */
79
- allowAdd?: boolean;
80
- /** 添加按钮文案 */
81
- addText?: string;
82
- /** 每行显示的列数 */
83
- columns?: number;
84
- /** 水平间距 */
85
- horizontalGap?: number;
86
- /** 垂直间距 */
87
- verticalGap?: number;
88
- /** 最大可选数量 */
89
- maxSelectedCount?: number;
90
- /** 是否内联模式(不显示弹窗,直接渲染内容,用于页面级别) */
91
- isInline?: boolean;
92
- /** 内联模式的容器样式类名 */
93
- className?: string;
94
- /** 内联模式的容器样式 */
95
- style?: React.CSSProperties;
96
- }
97
- export interface HolderItemProps {
98
- item: HolderOption;
99
- displayDirection?: 'horizontal' | 'vertical';
100
- displayConfig?: HolderDisplayProps;
101
- onClick?: (value?: any) => void;
102
- value?: any;
103
- isAddItem?: boolean;
104
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * @title: 获取头像文本
3
- * @description: 获取头像文本(标签的首字母,最多两个单词)
4
- * @param {string} label
5
- * @return {*}
6
- * @Author: WangHan
7
- * @Date: 2025-10-11 13:46
8
- */
9
- export declare const getAvatarText: (label: string) => string;
@@ -1,2 +0,0 @@
1
- declare const useLanguage: () => any;
2
- export default useLanguage;
@@ -1,2 +0,0 @@
1
- declare const useSymbol: () => any;
2
- export default useSymbol;
@@ -1,15 +0,0 @@
1
- export interface StoreApi<T> {
2
- setState: (partial: Partial<T> | ((prev: T) => Partial<T>)) => void;
3
- getState: () => T;
4
- subscribe: (listener: () => void) => () => void;
5
- }
6
- export interface UseStore<T> extends StoreApi<T> {
7
- <S>(selector?: (state: T) => S): S;
8
- <S = T>(): S;
9
- }
10
- /**
11
- * 创建一个跨 React 版本兼容的 Store
12
- * 支持自动浅合并 (Auto Shallow Merge)
13
- * @param initialState 初始状态
14
- */
15
- export default function createStore<T extends object>(initialState: T): UseStore<T>;
@@ -1,6 +0,0 @@
1
- export declare const calculateOptionItem: (params: {
2
- editIndex: number;
3
- optionItemValue: any;
4
- optionItemDataSource: any;
5
- data: any;
6
- }) => any[];
@@ -1,4 +0,0 @@
1
- /**
2
- * 将value转换为SelectorGroup需要的格式
3
- */
4
- export declare const transformValueToSelectorValue: (value: any, dataSource: any) => any;
@@ -1,135 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- walletName: string;
4
- validityPeriod: string;
5
- linkedPasses: string;
6
- linkedPassesDesc: string;
7
- sort: string;
8
- status: string;
9
- distributionConditions: string;
10
- selectPasses: string;
11
- backgroundImage: string;
12
- advancedSettings: string;
13
- sendConfig: string;
14
- displaySettings: string;
15
- viewPreview: string;
16
- coverImage: string;
17
- icon: string;
18
- upload: string;
19
- enable: string;
20
- disable: string;
21
- barCode: string;
22
- qrCode: string;
23
- day: string;
24
- days: string;
25
- month: string;
26
- months: string;
27
- year: string;
28
- years: string;
29
- forever: string;
30
- custom: string;
31
- balance: string;
32
- point: string;
33
- voucher: string;
34
- discount: string;
35
- rechargeable: string;
36
- pleaseInputWalletName: string;
37
- enterCoverImageURL: string;
38
- enterJSONConfig: string;
39
- selectValidityPeriod: string;
40
- selectCustomDate: string;
41
- registerToIssue: string;
42
- 'pisell2.wallet-editor.holder': string;
43
- 'pisell2.wallet-editor.holder.required': string;
44
- 'pisell2.wallet-editor.holder.invalid': string;
45
- };
46
- 'zh-CN': {
47
- walletName: string;
48
- validityPeriod: string;
49
- linkedPasses: string;
50
- linkedPassesDesc: string;
51
- sort: string;
52
- status: string;
53
- distributionConditions: string;
54
- selectPasses: string;
55
- backgroundImage: string;
56
- advancedSettings: string;
57
- sendConfig: string;
58
- displaySettings: string;
59
- viewPreview: string;
60
- coverImage: string;
61
- icon: string;
62
- upload: string;
63
- enable: string;
64
- disable: string;
65
- barCode: string;
66
- qrCode: string;
67
- day: string;
68
- days: string;
69
- month: string;
70
- months: string;
71
- year: string;
72
- years: string;
73
- forever: string;
74
- custom: string;
75
- balance: string;
76
- point: string;
77
- voucher: string;
78
- discount: string;
79
- rechargeable: string;
80
- pleaseInputWalletName: string;
81
- enterCoverImageURL: string;
82
- enterJSONConfig: string;
83
- selectValidityPeriod: string;
84
- selectCustomDate: string;
85
- registerToIssue: string;
86
- 'pisell2.wallet-editor.holder': string;
87
- 'pisell2.wallet-editor.holder.required': string;
88
- 'pisell2.wallet-editor.holder.invalid': string;
89
- };
90
- 'zh-HK': {
91
- walletName: string;
92
- validityPeriod: string;
93
- linkedPasses: string;
94
- linkedPassesDesc: string;
95
- sort: string;
96
- status: string;
97
- distributionConditions: string;
98
- selectPasses: string;
99
- backgroundImage: string;
100
- advancedSettings: string;
101
- sendConfig: string;
102
- displaySettings: string;
103
- viewPreview: string;
104
- coverImage: string;
105
- icon: string;
106
- upload: string;
107
- enable: string;
108
- disable: string;
109
- barCode: string;
110
- qrCode: string;
111
- day: string;
112
- days: string;
113
- month: string;
114
- months: string;
115
- year: string;
116
- years: string;
117
- forever: string;
118
- custom: string;
119
- balance: string;
120
- point: string;
121
- voucher: string;
122
- discount: string;
123
- rechargeable: string;
124
- pleaseInputWalletName: string;
125
- enterCoverImageURL: string;
126
- enterJSONConfig: string;
127
- selectValidityPeriod: string;
128
- selectCustomDate: string;
129
- registerToIssue: string;
130
- 'pisell2.wallet-editor.holder': string;
131
- 'pisell2.wallet-editor.holder.required': string;
132
- 'pisell2.wallet-editor.holder.invalid': string;
133
- };
134
- };
135
- export default _default;