@pisell/private-materials 3.4.78 → 3.4.80

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 (513) 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 +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +10 -10
  11. package/es/components/appointmentBooking/components/Date/state.js +3 -1
  12. package/es/components/appointmentBooking/locales.d.ts +240 -0
  13. package/es/components/appointmentBooking/locales.js +276 -0
  14. package/es/components/authentication/admin/AuthMethods/locales.d.ts +164 -0
  15. package/es/components/authentication/admin/AuthMethods/locales.js +164 -0
  16. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +27 -9
  17. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +54 -0
  18. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
  19. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +2 -0
  20. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
  21. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +46 -0
  22. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
  23. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +2 -0
  24. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +17 -9
  25. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +16 -0
  26. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
  27. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
  28. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +42 -0
  29. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
  30. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +2 -0
  31. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +17 -9
  32. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +24 -0
  33. package/es/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
  34. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +42 -0
  35. package/es/components/authentication/admin/CustomerAuth/locales.js +42 -0
  36. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +70 -0
  37. package/es/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
  38. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +36 -0
  39. package/es/components/authentication/admin/DeviceAuth/locales.js +36 -0
  40. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +58 -0
  41. package/es/components/authentication/admin/OAuthConfig/locales.js +58 -0
  42. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +34 -0
  43. package/es/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
  44. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +30 -0
  45. package/es/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
  46. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +34 -0
  47. package/es/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
  48. package/es/components/booking/addons/model.d.ts +10 -1
  49. package/es/components/booking/editBookingModal/locales.d.ts +12 -0
  50. package/es/components/booking/editBookingModal/locales.js +12 -0
  51. package/es/components/booking/editBookingModal/mock.d.ts +186 -2
  52. package/es/components/booking/editBookingModal/mock.js +22 -0
  53. package/es/components/booking/forms/model.d.ts +10 -1
  54. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  55. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  56. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  57. package/es/components/booking/info/model.d.ts +10 -1
  58. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  59. package/es/components/booking/info2/service/addService/mock.d.ts +2 -0
  60. package/es/components/booking/info2/service/addService/mock.js +4 -0
  61. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  62. package/es/components/booking/locales.d.ts +628 -0
  63. package/es/components/booking/locales.js +722 -0
  64. package/es/components/booking/model.d.ts +9 -1
  65. package/es/components/booking/notes/model.d.ts +10 -1
  66. package/es/components/booking/payments/model.d.ts +10 -1
  67. package/es/components/booking/utils.d.ts +2 -2
  68. package/es/components/ecocup/components/AddCustomerModal/index.js +3 -3
  69. package/es/components/ecocup/components/CupInfoCard/index.d.ts +3 -1
  70. package/es/components/ecocup/components/CupInfoCard/index.js +4 -2
  71. package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +32 -1
  72. package/es/components/ecocup/components/CupStatusModal/hooks.js +109 -1
  73. package/es/components/ecocup/components/CupStatusModal/index.js +164 -30
  74. package/es/components/ecocup/components/CupStatusModal/index.less +48 -10
  75. package/es/components/ecocup/components/CustomerAndCupModal/index.js +1 -1
  76. package/es/components/ecocup/components/CustomerCard/index.d.ts +3 -1
  77. package/es/components/ecocup/components/CustomerCard/index.js +9 -6
  78. package/es/components/ecocup/components/PageHeader/index.d.ts +2 -0
  79. package/es/components/ecocup/components/PageHeader/index.js +15 -5
  80. package/es/components/ecocup/components/PageHeader/index.less +16 -4
  81. package/es/components/ecocup/components/SearchBar/index.d.ts +1 -0
  82. package/es/components/ecocup/components/SearchBar/index.js +33 -3
  83. package/es/components/ecocup/components/SettingModal/const.d.ts +6 -0
  84. package/es/components/ecocup/components/SettingModal/const.js +17 -0
  85. package/es/components/ecocup/components/SettingModal/index.d.ts +9 -0
  86. package/es/components/ecocup/components/SettingModal/index.js +253 -0
  87. package/es/components/ecocup/components/SettingModal/index.less +9 -0
  88. package/es/components/ecocup/cupList/const.d.ts +8 -1
  89. package/es/components/ecocup/cupList/const.js +14 -1
  90. package/es/components/ecocup/cupList/hooks/index.d.ts +2 -2
  91. package/es/components/ecocup/cupList/hooks/index.js +2 -2
  92. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +2 -1
  93. package/es/components/ecocup/cupList/hooks/useColumns.js +4 -6
  94. package/es/components/ecocup/cupList/hooks/useCupApi.d.ts +12 -3
  95. package/es/components/ecocup/cupList/hooks/useCupApi.js +148 -8
  96. package/es/components/ecocup/cupList/hooks/useSummary.js +9 -7
  97. package/es/components/ecocup/cupList/index.js +60 -12
  98. package/es/components/ecocup/cupList/index.less +62 -16
  99. package/es/components/ecocup/cupProject/const.js +8 -2
  100. package/es/components/ecocup/cupProject/index.js +10 -1
  101. package/es/components/ecocup/hooks.d.ts +8 -0
  102. package/es/components/ecocup/hooks.js +18 -1
  103. package/es/components/ecocup/locales.d.ts +316 -2
  104. package/es/components/ecocup/locales.js +352 -25
  105. package/es/components/ecocup/utils/download.d.ts +7 -0
  106. package/es/components/ecocup/utils/download.js +34 -0
  107. package/es/components/ecocup/utils/index.d.ts +2 -0
  108. package/es/components/ecocup/utils/index.js +2 -0
  109. package/es/components/eftpos/hooks.d.ts +1 -0
  110. package/es/components/eftpos/locales.d.ts +64 -0
  111. package/es/components/eftpos/locales.js +80 -0
  112. package/es/components/eftposPay/amount.d.ts +1 -1
  113. package/es/components/eftposPay/device.d.ts +1 -1
  114. package/es/components/eftposPay/hooks.d.ts +1 -1
  115. package/es/components/eftposPay/locales.d.ts +242 -0
  116. package/es/components/eftposPay/locales.js +326 -0
  117. package/es/components/eftposPay/store/index.d.ts +2 -2
  118. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  119. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  120. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  121. package/es/components/eventBooking/components/Voucher/components/locales.js +22 -0
  122. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  123. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  124. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  125. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  126. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  127. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  128. package/es/components/eventBooking/locales.d.ts +162 -0
  129. package/es/components/eventBooking/locales.js +186 -0
  130. package/es/components/kioskSkuDetail/locales.d.ts +16 -0
  131. package/es/components/kioskSkuDetail/locales.js +16 -0
  132. package/es/components/login/locales.d.ts +14 -0
  133. package/es/components/login/locales.js +14 -0
  134. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  135. package/es/components/pay/toC/locales.d.ts +204 -0
  136. package/es/components/pay/toC/locales.js +244 -0
  137. package/es/components/pay/toC/model.d.ts +9 -1
  138. package/es/components/pay/toC/serve.d.ts +2 -0
  139. package/es/components/pinModal/locales.d.ts +16 -0
  140. package/es/components/pinModal/locales.js +16 -0
  141. package/es/components/pinVerifyModal/locales.d.ts +14 -0
  142. package/es/components/pinVerifyModal/locales.js +14 -0
  143. package/es/components/pisellSelectCustomerModal/locales.d.ts +52 -0
  144. package/es/components/pisellSelectCustomerModal/locales.js +52 -0
  145. package/es/components/productExtension/locales.d.ts +30 -0
  146. package/es/components/productExtension/locales.js +30 -0
  147. package/es/components/productSelect/components/pisellPriceText/index.js +8 -4
  148. package/es/components/productSelect/locales.d.ts +20 -0
  149. package/es/components/productSelect/locales.js +23 -3
  150. package/es/components/ruleSetting/locales.d.ts +30 -0
  151. package/es/components/ruleSetting/locales.js +30 -0
  152. package/es/components/schedules/locales.d.ts +56 -0
  153. package/es/components/schedules/locales.js +56 -0
  154. package/es/components/schedules/model.d.ts +9 -1
  155. package/es/components/shoppingCart/locales.d.ts +20 -0
  156. package/es/components/shoppingCart/locales.js +24 -0
  157. package/es/components/stepController/locales.d.ts +16 -0
  158. package/es/components/stepController/locales.js +20 -0
  159. package/es/components/subTotal/locales.d.ts +26 -0
  160. package/es/components/subTotal/locales.js +26 -0
  161. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  162. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +390 -0
  163. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  164. package/es/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +367 -0
  165. package/es/components/systemSettings/registry/components/ItemModal.js +169 -35
  166. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  167. package/es/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +163 -0
  168. package/es/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  169. package/es/components/systemSettings/registry/components/OptionDataSource/index.js +127 -0
  170. package/es/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  171. package/es/components/systemSettings/registry/index.js +20 -16
  172. package/es/components/systemSettings/registry/index.less +6 -7
  173. package/es/components/systemSettings/registry/locales.d.ts +253 -0
  174. package/es/components/systemSettings/registry/locales.js +262 -3
  175. package/es/components/systemSettings/registry/services.d.ts +20 -0
  176. package/es/components/systemSettings/registry/types.d.ts +15 -2
  177. package/es/components/taxSelect/locales.d.ts +14 -0
  178. package/es/components/taxSelect/locales.js +14 -0
  179. package/es/components/ticketBooking/locales.d.ts +130 -0
  180. package/es/components/ticketBooking/locales.js +156 -0
  181. package/es/components/ticketBooking/utils/formatTime.d.ts +2 -0
  182. package/es/components/ticketBooking/utils/formatTime.js +8 -2
  183. package/es/components/wallet/utils.d.ts +1 -1
  184. package/es/components/walletList/index.js +10 -0
  185. package/es/components/walletList/locales.d.ts +16 -0
  186. package/es/components/walletList/locales.js +16 -0
  187. package/es/components/walletList/types/index.d.ts +2 -0
  188. package/es/hooks/usePaymentLogger.d.ts +1 -0
  189. package/es/plus/clientCard/locales.d.ts +10 -0
  190. package/es/plus/clientCard/locales.js +10 -0
  191. package/es/plus/clinetSearch/locales.d.ts +70 -0
  192. package/es/plus/clinetSearch/locales.js +70 -0
  193. package/es/plus/contactInfo/locales.d.ts +8 -0
  194. package/es/plus/contactInfo/locales.js +8 -0
  195. package/es/plus/contactInfoModal/locales.d.ts +42 -0
  196. package/es/plus/contactInfoModal/locales.js +42 -0
  197. package/es/plus/orderList/locales.d.ts +246 -0
  198. package/es/plus/orderList/locales.js +274 -0
  199. package/es/plus/productSelect/components/pisellPriceText/index.js +8 -4
  200. package/es/plus/productSelect/locales.d.ts +20 -0
  201. package/es/plus/productSelect/locales.js +23 -3
  202. package/es/plus/saasAttendance/locales.d.ts +210 -0
  203. package/es/plus/saasAttendance/locales.js +234 -0
  204. package/es/plus/saasAttendance/settings/components/MapField.js +4 -2
  205. package/es/plus/saasAttendance/settings/types.d.ts +2 -0
  206. package/es/plus/saasCreateOrganization/locales.d.ts +8 -0
  207. package/es/plus/saasCreateOrganization/locales.js +8 -0
  208. package/es/plus/saasLogin/locales.d.ts +32 -0
  209. package/es/plus/saasLogin/locales.js +32 -0
  210. package/es/plus/saasRegister/locales.d.ts +76 -0
  211. package/es/plus/saasRegister/locales.js +76 -0
  212. package/es/plus/saasRole/locales.d.ts +126 -0
  213. package/es/plus/saasRole/locales.js +126 -0
  214. package/es/plus/saasRole/types.d.ts +2 -0
  215. package/es/plus/saasTeamMembers/locales.d.ts +216 -0
  216. package/es/plus/saasTeamMembers/locales.js +216 -0
  217. package/es/plus/saasTeamMembers/type.d.ts +2 -0
  218. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  219. package/es/plus/selectHolder/locales.d.ts +9 -1
  220. package/es/plus/selectHolder/locales.js +17 -5
  221. package/es/plus/skuOptionsSelection/components/NormalCard/index.js +3 -1
  222. package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
  223. package/es/plus/skuOptionsSelection/locales.d.ts +20 -0
  224. package/es/plus/skuOptionsSelection/locales.js +20 -0
  225. package/es/plus/skuOptionsSelection/store/store.js +2 -1
  226. package/es/plus/skuOptionsSelection/types.d.ts +14 -0
  227. package/es/plus/skuOptionsSelection/types.js +4 -0
  228. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +10 -1
  229. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +10 -1
  230. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +8 -2
  231. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  232. package/es/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  233. package/es/plus/walletEditor/locales.d.ts +88 -0
  234. package/es/plus/walletEditor/locales.js +100 -0
  235. package/es/plus/walletEditor/types.d.ts +2 -0
  236. package/es/plus/walletPassGallery/locales.d.ts +188 -0
  237. package/es/plus/walletPassGallery/locales.js +192 -0
  238. package/es/plus/walletPassGallery/utils.d.ts +1 -1
  239. package/es/pro/Cards/components/SKUCard/index.d.ts +1 -56
  240. package/es/pro/Cards/components/SKUCard/index.js +39 -18
  241. package/es/pro/Cards/components/SKUCard/index.less +21 -0
  242. package/es/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  243. package/es/pro/Cards/components/SKUCard/locales.js +11 -0
  244. package/es/pro/Cards/components/SKUCard/types.d.ts +68 -0
  245. package/es/pro/Cards/components/SKUCard/types.js +1 -0
  246. package/es/pro/Login2.0/locales.d.ts +360 -0
  247. package/es/pro/Login2.0/locales.js +360 -0
  248. package/es/pro/Login2.0/shared/types.d.ts +2 -0
  249. package/es/pro/Selector/locales.d.ts +22 -0
  250. package/es/pro/Selector/locales.js +58 -0
  251. package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +8 -0
  252. package/es/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
  253. package/es/pro/comprehensiveSearch/locales.d.ts +8 -0
  254. package/es/pro/comprehensiveSearch/locales.js +8 -0
  255. package/es/pro/keyboards/locales.d.ts +14 -0
  256. package/es/pro/keyboards/locales.js +22 -0
  257. package/es/pro/numberKeyboard/locales.d.ts +6 -0
  258. package/es/pro/numberKeyboard/locales.js +6 -0
  259. package/es/pro/pisellPhoneKeyboard/locales.d.ts +6 -0
  260. package/es/pro/pisellPhoneKeyboard/locales.js +6 -0
  261. package/lib/components/appointmentBooking/components/Date/state.js +3 -1
  262. package/lib/components/appointmentBooking/locales.d.ts +240 -0
  263. package/lib/components/appointmentBooking/locales.js +240 -0
  264. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +164 -0
  265. package/lib/components/authentication/admin/AuthMethods/locales.js +164 -0
  266. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.js +17 -9
  267. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +54 -0
  268. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.js +54 -0
  269. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +2 -0
  270. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.js +2 -0
  271. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +46 -0
  272. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.js +46 -0
  273. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +2 -0
  274. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +14 -6
  275. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +16 -0
  276. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.js +16 -0
  277. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/index.js +10 -2
  278. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +42 -0
  279. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.js +42 -0
  280. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +2 -0
  281. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.js +14 -6
  282. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +24 -0
  283. package/lib/components/authentication/admin/ChannelAuthSetting/locales.js +24 -0
  284. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +42 -0
  285. package/lib/components/authentication/admin/CustomerAuth/locales.js +42 -0
  286. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +70 -0
  287. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.js +70 -0
  288. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +36 -0
  289. package/lib/components/authentication/admin/DeviceAuth/locales.js +36 -0
  290. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +58 -0
  291. package/lib/components/authentication/admin/OAuthConfig/locales.js +58 -0
  292. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +34 -0
  293. package/lib/components/authentication/admin/OrgAdminAuth/locales.js +34 -0
  294. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +30 -0
  295. package/lib/components/authentication/admin/POSOperatorAuth/locales.js +30 -0
  296. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +34 -0
  297. package/lib/components/authentication/admin/SaaSAdminAuth/locales.js +34 -0
  298. package/lib/components/booking/addons/model.d.ts +10 -1
  299. package/lib/components/booking/editBookingModal/locales.d.ts +12 -0
  300. package/lib/components/booking/editBookingModal/locales.js +12 -0
  301. package/lib/components/booking/editBookingModal/mock.d.ts +186 -2
  302. package/lib/components/booking/editBookingModal/mock.js +22 -0
  303. package/lib/components/booking/forms/model.d.ts +10 -1
  304. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  305. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  306. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  307. package/lib/components/booking/info/model.d.ts +10 -1
  308. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  309. package/lib/components/booking/info2/service/addService/mock.d.ts +2 -0
  310. package/lib/components/booking/info2/service/addService/mock.js +4 -0
  311. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  312. package/lib/components/booking/locales.d.ts +628 -0
  313. package/lib/components/booking/locales.js +680 -0
  314. package/lib/components/booking/model.d.ts +9 -1
  315. package/lib/components/booking/notes/model.d.ts +10 -1
  316. package/lib/components/booking/payments/model.d.ts +10 -1
  317. package/lib/components/booking/utils.d.ts +2 -2
  318. package/lib/components/ecocup/components/AddCustomerModal/index.js +2 -2
  319. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +3 -1
  320. package/lib/components/ecocup/components/CupInfoCard/index.js +2 -2
  321. package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +32 -1
  322. package/lib/components/ecocup/components/CupStatusModal/hooks.js +62 -2
  323. package/lib/components/ecocup/components/CupStatusModal/index.js +103 -22
  324. package/lib/components/ecocup/components/CupStatusModal/index.less +48 -10
  325. package/lib/components/ecocup/components/CustomerAndCupModal/index.js +1 -1
  326. package/lib/components/ecocup/components/CustomerCard/index.d.ts +3 -1
  327. package/lib/components/ecocup/components/CustomerCard/index.js +13 -3
  328. package/lib/components/ecocup/components/PageHeader/index.d.ts +2 -0
  329. package/lib/components/ecocup/components/PageHeader/index.js +10 -3
  330. package/lib/components/ecocup/components/PageHeader/index.less +16 -4
  331. package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -0
  332. package/lib/components/ecocup/components/SearchBar/index.js +15 -2
  333. package/lib/components/ecocup/components/SettingModal/const.d.ts +6 -0
  334. package/lib/components/ecocup/components/SettingModal/const.js +48 -0
  335. package/lib/components/ecocup/components/SettingModal/index.d.ts +9 -0
  336. package/lib/components/ecocup/components/SettingModal/index.js +199 -0
  337. package/lib/components/ecocup/components/SettingModal/index.less +9 -0
  338. package/lib/components/ecocup/cupList/const.d.ts +8 -1
  339. package/lib/components/ecocup/cupList/const.js +18 -0
  340. package/lib/components/ecocup/cupList/hooks/index.d.ts +2 -2
  341. package/lib/components/ecocup/cupList/hooks/index.js +4 -0
  342. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +2 -1
  343. package/lib/components/ecocup/cupList/hooks/useColumns.js +2 -4
  344. package/lib/components/ecocup/cupList/hooks/useCupApi.d.ts +12 -3
  345. package/lib/components/ecocup/cupList/hooks/useCupApi.js +123 -8
  346. package/lib/components/ecocup/cupList/hooks/useSummary.js +22 -14
  347. package/lib/components/ecocup/cupList/index.js +70 -16
  348. package/lib/components/ecocup/cupList/index.less +62 -16
  349. package/lib/components/ecocup/cupProject/const.js +8 -1
  350. package/lib/components/ecocup/cupProject/index.js +10 -1
  351. package/lib/components/ecocup/hooks.d.ts +8 -0
  352. package/lib/components/ecocup/hooks.js +15 -1
  353. package/lib/components/ecocup/locales.d.ts +316 -2
  354. package/lib/components/ecocup/locales.js +342 -25
  355. package/lib/components/ecocup/utils/download.d.ts +7 -0
  356. package/lib/components/ecocup/utils/download.js +47 -0
  357. package/lib/components/ecocup/utils/index.d.ts +2 -0
  358. package/lib/components/ecocup/utils/index.js +42 -0
  359. package/lib/components/eftpos/hooks.d.ts +1 -0
  360. package/lib/components/eftpos/locales.d.ts +64 -0
  361. package/lib/components/eftpos/locales.js +76 -0
  362. package/lib/components/eftposPay/amount.d.ts +1 -1
  363. package/lib/components/eftposPay/device.d.ts +1 -1
  364. package/lib/components/eftposPay/hooks.d.ts +1 -1
  365. package/lib/components/eftposPay/locales.d.ts +242 -0
  366. package/lib/components/eftposPay/locales.js +250 -0
  367. package/lib/components/eftposPay/store/index.d.ts +2 -2
  368. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  369. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  370. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +22 -0
  371. package/lib/components/eventBooking/components/Voucher/components/locales.js +22 -0
  372. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  373. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  374. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  375. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  376. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  377. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  378. package/lib/components/eventBooking/locales.d.ts +162 -0
  379. package/lib/components/eventBooking/locales.js +162 -0
  380. package/lib/components/kioskSkuDetail/locales.d.ts +16 -0
  381. package/lib/components/kioskSkuDetail/locales.js +16 -0
  382. package/lib/components/login/locales.d.ts +14 -0
  383. package/lib/components/login/locales.js +14 -0
  384. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  385. package/lib/components/pay/toC/locales.d.ts +204 -0
  386. package/lib/components/pay/toC/locales.js +204 -0
  387. package/lib/components/pay/toC/model.d.ts +9 -1
  388. package/lib/components/pay/toC/serve.d.ts +2 -0
  389. package/lib/components/pinModal/locales.d.ts +16 -0
  390. package/lib/components/pinModal/locales.js +16 -0
  391. package/lib/components/pinVerifyModal/locales.d.ts +14 -0
  392. package/lib/components/pinVerifyModal/locales.js +14 -0
  393. package/lib/components/pisellSelectCustomerModal/locales.d.ts +52 -0
  394. package/lib/components/pisellSelectCustomerModal/locales.js +52 -0
  395. package/lib/components/productExtension/locales.d.ts +30 -0
  396. package/lib/components/productExtension/locales.js +30 -0
  397. package/lib/components/productSelect/components/pisellPriceText/index.js +6 -4
  398. package/lib/components/productSelect/locales.d.ts +20 -0
  399. package/lib/components/productSelect/locales.js +23 -3
  400. package/lib/components/ruleSetting/locales.d.ts +30 -0
  401. package/lib/components/ruleSetting/locales.js +30 -0
  402. package/lib/components/schedules/locales.d.ts +56 -0
  403. package/lib/components/schedules/locales.js +56 -0
  404. package/lib/components/schedules/model.d.ts +9 -1
  405. package/lib/components/shoppingCart/locales.d.ts +20 -0
  406. package/lib/components/shoppingCart/locales.js +20 -0
  407. package/lib/components/stepController/locales.d.ts +16 -0
  408. package/lib/components/stepController/locales.js +16 -0
  409. package/lib/components/subTotal/locales.d.ts +26 -0
  410. package/lib/components/subTotal/locales.js +26 -0
  411. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +59 -0
  412. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.js +228 -0
  413. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.d.ts +70 -0
  414. package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/serve.js +195 -0
  415. package/lib/components/systemSettings/registry/components/ItemModal.js +294 -225
  416. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.d.ts +8 -0
  417. package/lib/components/systemSettings/registry/components/OptionDataSource/OptionTable.js +166 -0
  418. package/lib/components/systemSettings/registry/components/OptionDataSource/index.d.ts +10 -0
  419. package/lib/components/systemSettings/registry/components/OptionDataSource/index.js +210 -0
  420. package/lib/components/systemSettings/registry/components/OptionDataSource/index.less +37 -0
  421. package/lib/components/systemSettings/registry/index.js +20 -16
  422. package/lib/components/systemSettings/registry/index.less +6 -7
  423. package/lib/components/systemSettings/registry/locales.d.ts +253 -0
  424. package/lib/components/systemSettings/registry/locales.js +262 -3
  425. package/lib/components/systemSettings/registry/services.d.ts +20 -0
  426. package/lib/components/systemSettings/registry/types.d.ts +15 -2
  427. package/lib/components/taxSelect/locales.d.ts +14 -0
  428. package/lib/components/taxSelect/locales.js +14 -0
  429. package/lib/components/ticketBooking/locales.d.ts +130 -0
  430. package/lib/components/ticketBooking/locales.js +136 -0
  431. package/lib/components/ticketBooking/utils/formatTime.d.ts +2 -0
  432. package/lib/components/ticketBooking/utils/formatTime.js +8 -2
  433. package/lib/components/wallet/utils.d.ts +1 -1
  434. package/lib/components/walletList/index.js +10 -0
  435. package/lib/components/walletList/locales.d.ts +16 -0
  436. package/lib/components/walletList/locales.js +16 -0
  437. package/lib/components/walletList/types/index.d.ts +2 -0
  438. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  439. package/lib/plus/clientCard/locales.d.ts +10 -0
  440. package/lib/plus/clientCard/locales.js +10 -0
  441. package/lib/plus/clinetSearch/locales.d.ts +70 -0
  442. package/lib/plus/clinetSearch/locales.js +70 -0
  443. package/lib/plus/contactInfo/locales.d.ts +8 -0
  444. package/lib/plus/contactInfo/locales.js +8 -0
  445. package/lib/plus/contactInfoModal/locales.d.ts +42 -0
  446. package/lib/plus/contactInfoModal/locales.js +42 -0
  447. package/lib/plus/orderList/locales.d.ts +246 -0
  448. package/lib/plus/orderList/locales.js +266 -0
  449. package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -4
  450. package/lib/plus/productSelect/locales.d.ts +20 -0
  451. package/lib/plus/productSelect/locales.js +23 -3
  452. package/lib/plus/saasAttendance/locales.d.ts +210 -0
  453. package/lib/plus/saasAttendance/locales.js +210 -0
  454. package/lib/plus/saasAttendance/settings/components/MapField.js +2 -2
  455. package/lib/plus/saasAttendance/settings/types.d.ts +2 -0
  456. package/lib/plus/saasCreateOrganization/locales.d.ts +8 -0
  457. package/lib/plus/saasCreateOrganization/locales.js +8 -0
  458. package/lib/plus/saasLogin/locales.d.ts +32 -0
  459. package/lib/plus/saasLogin/locales.js +32 -0
  460. package/lib/plus/saasRegister/locales.d.ts +76 -0
  461. package/lib/plus/saasRegister/locales.js +76 -0
  462. package/lib/plus/saasRole/locales.d.ts +126 -0
  463. package/lib/plus/saasRole/locales.js +126 -0
  464. package/lib/plus/saasRole/types.d.ts +2 -0
  465. package/lib/plus/saasTeamMembers/locales.d.ts +216 -0
  466. package/lib/plus/saasTeamMembers/locales.js +216 -0
  467. package/lib/plus/saasTeamMembers/type.d.ts +2 -0
  468. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  469. package/lib/plus/selectHolder/locales.d.ts +9 -1
  470. package/lib/plus/selectHolder/locales.js +13 -5
  471. package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +8 -6
  472. package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +3 -2
  473. package/lib/plus/skuOptionsSelection/locales.d.ts +20 -0
  474. package/lib/plus/skuOptionsSelection/locales.js +20 -0
  475. package/lib/plus/skuOptionsSelection/store/store.js +2 -1
  476. package/lib/plus/skuOptionsSelection/types.d.ts +14 -0
  477. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +15 -9
  478. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +9 -6
  479. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +8 -7
  480. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.d.ts +2 -0
  481. package/lib/plus/walletEditor/components/sortableWalletPassTypes/index.js +12 -4
  482. package/lib/plus/walletEditor/locales.d.ts +88 -0
  483. package/lib/plus/walletEditor/locales.js +100 -0
  484. package/lib/plus/walletEditor/types.d.ts +2 -0
  485. package/lib/plus/walletPassGallery/locales.d.ts +188 -0
  486. package/lib/plus/walletPassGallery/locales.js +192 -0
  487. package/lib/plus/walletPassGallery/utils.d.ts +1 -1
  488. package/lib/pro/Cards/components/SKUCard/index.d.ts +1 -56
  489. package/lib/pro/Cards/components/SKUCard/index.js +53 -14
  490. package/lib/pro/Cards/components/SKUCard/index.less +21 -0
  491. package/lib/pro/Cards/components/SKUCard/locales.d.ts +12 -0
  492. package/lib/pro/Cards/components/SKUCard/locales.js +35 -0
  493. package/lib/pro/Cards/components/SKUCard/types.d.ts +68 -0
  494. package/lib/pro/Cards/components/SKUCard/types.js +17 -0
  495. package/lib/pro/Login2.0/locales.d.ts +360 -0
  496. package/lib/pro/Login2.0/locales.js +360 -0
  497. package/lib/pro/Login2.0/shared/types.d.ts +2 -0
  498. package/lib/pro/Selector/locales.d.ts +22 -0
  499. package/lib/pro/Selector/locales.js +50 -0
  500. package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +8 -0
  501. package/lib/pro/comprehensiveSearch/components/searchSection/locales.js +8 -0
  502. package/lib/pro/comprehensiveSearch/locales.d.ts +8 -0
  503. package/lib/pro/comprehensiveSearch/locales.js +8 -0
  504. package/lib/pro/keyboards/locales.d.ts +14 -0
  505. package/lib/pro/keyboards/locales.js +14 -0
  506. package/lib/pro/numberKeyboard/locales.d.ts +6 -0
  507. package/lib/pro/numberKeyboard/locales.js +6 -0
  508. package/lib/pro/pisellPhoneKeyboard/locales.d.ts +6 -0
  509. package/lib/pro/pisellPhoneKeyboard/locales.js +6 -0
  510. package/lowcode/eco-cup-list/meta.ts +1 -1
  511. package/lowcode/eco-customer-list/meta.ts +1 -1
  512. package/lowcode/sku-options-selection/meta.ts +106 -2
  513. package/package.json +4 -4
@@ -299,5 +299,197 @@ export default {
299
299
  'page.wallet.notValidDate': '不可用日期',
300
300
  // 不可用日期
301
301
  'page.wallet.includedDate': '包含日期' // 包含日期
302
+ },
303
+ ja: {
304
+ 'wallet-pass-gallery.rechargeableCard': 'チャージ可能なカード',
305
+ 'wallet-pass-gallery.voucher': 'バウチャー',
306
+ 'wallet-pass-gallery.pointCard': 'ポイント',
307
+ 'wallet-pass-gallery.discountCard': '割引カード',
308
+ 'wallet-pass-gallery.unavailable': '利用不可',
309
+ 'wallet-pass-gallery.available': '利用可能',
310
+ 'wallet-pass-gallery.confirm': '確認',
311
+ 'wallet-pass-gallery.addModalTitle': '手元にコードはありますか?',
312
+ 'wallet-pass-gallery.searchDescribe': 'コードまたはエンコードを入力してください',
313
+ 'wallet-pass-gallery.scanBarQrCode': 'バーコード/QRコードをスキャン',
314
+ 'wallet-pass-gallery.enterCodes': 'コードを入力',
315
+ 'wallet-pass-gallery.add': '追加',
316
+ 'wallet-pass-gallery.rechargeOptions': 'チャージオプション',
317
+ 'wallet-pass-gallery.recharge': 'チャージ',
318
+ 'wallet-pass-gallery.wallet': 'ウォレット',
319
+ 'wallet-pass-gallery.details': '詳細',
320
+ 'wallet-pass-gallery.goodPass.usedCredit': function walletPassGalleryGoodPassUsedCredit(credit) {
321
+ return credit > 1 ? "".concat(credit, "\u30AF\u30EC\u30B8\u30C3\u30C8") : "".concat(credit, "\u30AF\u30EC\u30B8\u30C3\u30C8");
322
+ },
323
+ 'wallet-pass-gallery.cardBalance': 'カード残高',
324
+ 'wallet-pass-gallery.voucherBalance': 'バウチャー残高',
325
+ 'wallet-pass-gallery.points': 'ポイント',
326
+ 'wallet-pass-gallery.goodPass': '残り回数',
327
+ 'wallet-pass-gallery.cardName': 'カード名',
328
+ 'wallet-pass-gallery.carNumber': 'カード番号',
329
+ 'wallet-pass-gallery.balance': '残高',
330
+ 'wallet-pass-gallery.discount': '割引',
331
+ 'wallet-pass-gallery.validDate': '有効期限',
332
+ 'wallet-pass-gallery.addSuccess': '追加成功',
333
+ 'wallet-pass-gallery.addError': '追加失敗',
334
+ 'wallet-pass-gallery.searchNoFound': 'コードが見つかりませんでした',
335
+ 'wallet-pass-gallery.log.updateCurrentDetail': '現在の詳細を更新',
336
+ 'wallet-pass-gallery.log.getDetailFailed': '詳細の取得に失敗',
337
+ 'wallet-pass-gallery.log.rechargeOrderFailed': 'チャージ注文の失敗',
338
+ 'wallet-pass-gallery.log.getWalletListFailed': 'ウォレットリストの取得に失敗',
339
+ 'wallet-pass-gallery.log.bindCustomerFailed': '顧客のバインドに失敗',
340
+ 'wallet-pass-gallery.log.getUnbindListFailed': '未バインドリストの取得に失敗',
341
+ 'wallet-pass-gallery.log.orderFailed': '注文の失敗',
342
+ 'wallet-pass-gallery.log.unexpectedResponseFormat': '予期しない応答データ形式',
343
+ 'wallet-pass-gallery.button.add': '追加',
344
+ 'wallet-pass-gallery.button.addToAppleWallet': 'Appleウォレットに追加',
345
+ 'wallet-pass-gallery.button.addToGoogleWallet': 'Googleウォレットに追加',
346
+ 'wallet-pass-gallery.button.recharge': 'チャージ',
347
+ 'wallet-pass-gallery.error.addFailed': '追加に失敗しました。もう一度お試しください。',
348
+ 'wallet-pass-gallery.copyTitle': '通知',
349
+ 'wallet-pass-gallery.copyButton': 'リンクをコピー',
350
+ 'wallet-pass-gallery.copySuccess': 'コピー成功',
351
+ 'wallet-pass-gallery.detail': '詳細',
352
+ 'wallet-pass-gallery.activelog': 'アクティビティログ',
353
+ 'wallet-pass-gallery.copyText': 'WeChat内でウォレットを追加できません。リンクをコピーしてブラウザで開いてください',
354
+ 'wallet-pass-gallery.spendingDetails': 'お客様の支出詳細',
355
+ 'wallet-pass-gallery.rechargeDetails': 'お客様のチャージ詳細',
356
+ 'wallet-pass-gallery.date': '日付',
357
+ 'wallet-pass-gallery.spending': '支出',
358
+ 'wallet-pass-gallery.pointsEarned': '獲得ポイント',
359
+ 'wallet-pass-gallery.pointsRedeemed': '使用ポイント',
360
+ 'wallet-pass-gallery.refund': '返金',
361
+ 'wallet-pass-gallery.expire': '期限切れ',
362
+ 'wallet-pass-gallery.viewOrder': '注文を表示',
363
+ 'wallet-pass-gallery.done': '完了',
364
+ 'wallet-pass-gallery.addIos': 'Appleウォレットに追加',
365
+ 'wallet-pass-gallery.addGoogle': 'Googleウォレットに追加',
366
+ 'wallet-pass-gallery.viewDetails': '詳細を見る',
367
+ 'wallet-pass-gallery.expireDate': '長期',
368
+ 'wallet-pass-gallery.urlEmpty': 'ウォレットリンクが空です',
369
+ 'wallet-pass-gallery.notIOS': '非iOSデバイスではAppleウォレットはサポートされていません',
370
+ 'wallet-pass-gallery.useAppleInstead': 'iOSデバイスを使用しています。Googleウォレットの代わりにAppleウォレットを使用しますか?',
371
+ 'wallet-pass-gallery.openedInBrowser': 'ブラウザで開きました',
372
+ 'wallet-pass-gallery.openFailed': 'ウォレットリンクのオープンに失敗しました',
373
+ 'wallet-pass-gallery.loading': 'ウォレットを読み込み中...',
374
+ 'wallet-pass-gallery.usageRules': '利用規約',
375
+ 'wallet-pass-gallery.usageRulesSubtitle': '以下の利用条件をよくお読みください',
376
+ 'wallet-pass-gallery.timeUsageLimits': '時間ウィンドウ制限',
377
+ 'wallet-pass-gallery.totalQuantityControl': '総使用制御',
378
+ 'wallet-pass-gallery.dailyLimit': '毎日の制限:',
379
+ 'wallet-pass-gallery.weeklyLimit': '週間制限:',
380
+ 'wallet-pass-gallery.monthlyLimit': '月間制限:',
381
+ 'wallet-pass-gallery.personalLimit': '個人制限:',
382
+ 'wallet-pass-gallery.dailyLimitDesc': '毎日午前0時から午後11時59分まで最大{limit}回使用可能',
383
+ 'wallet-pass-gallery.weeklyLimitDesc': '月曜日午前0時から日曜日午後11時59分まで最大{limit}回使用可能',
384
+ 'wallet-pass-gallery.monthlyLimitDesc': '毎月1日午前0時から月末午後11時59分まで最大{limit}回使用可能',
385
+ 'wallet-pass-gallery.monthlyLimitUnlimited': '無制限',
386
+ 'wallet-pass-gallery.personalLimitDesc': 'このバウチャーは最大{total}回使用できます(残り{remaining}回)',
387
+ 'wallet-pass-gallery.dailyReset': 'カウンターは毎日午前0時に自動リセット',
388
+ 'wallet-pass-gallery.weeklyReset': 'カウンターは毎週月曜日午前0時に自動リセット',
389
+ 'wallet-pass-gallery.monthlyReset': 'カウンターは毎月1日午前0時に自動リセット',
390
+ 'wallet-pass-gallery.voucherExpireNote': '制限に達するとバウチャーは自動的に期限切れになります',
391
+ 'wallet-pass-gallery.viewMore': 'もっと見る',
392
+ 'wallet-pass-gallery.allLoaded': 'すべて読み込まれました',
393
+ 'page.wallet.tempHolderSelector.title': '所有者を編集',
394
+ 'page.wallet.tempHolderSelector.create': '新規作成',
395
+ 'page.wallet.tempHolderSelector.confirm': '確認',
396
+ 'page.wallet.notValidDate': '利用不可日',
397
+ 'page.wallet.includedDate': '含まれる日付'
398
+ },
399
+ pt: {
400
+ 'wallet-pass-gallery.rechargeableCard': 'Cartão recarregável',
401
+ 'wallet-pass-gallery.voucher': 'Vale',
402
+ 'wallet-pass-gallery.pointCard': 'Pontos',
403
+ 'wallet-pass-gallery.discountCard': 'Cartão de desconto',
404
+ 'wallet-pass-gallery.unavailable': 'Indisponível',
405
+ 'wallet-pass-gallery.available': 'Disponível',
406
+ 'wallet-pass-gallery.confirm': 'Confirmar',
407
+ 'wallet-pass-gallery.addModalTitle': 'Você tem algum código em mãos?',
408
+ 'wallet-pass-gallery.searchDescribe': 'Por favor, insira o código ou codifique',
409
+ 'wallet-pass-gallery.scanBarQrCode': 'Escanear código de barras/QR',
410
+ 'wallet-pass-gallery.enterCodes': 'Inserir códigos',
411
+ 'wallet-pass-gallery.add': 'Adicionar',
412
+ 'wallet-pass-gallery.rechargeOptions': 'Opções de Recarga',
413
+ 'wallet-pass-gallery.recharge': 'Recarregar',
414
+ 'wallet-pass-gallery.wallet': 'Carteira',
415
+ 'wallet-pass-gallery.details': 'Detalhes',
416
+ 'wallet-pass-gallery.goodPass.usedCredit': function walletPassGalleryGoodPassUsedCredit(credit) {
417
+ return credit > 1 ? "".concat(credit, " Cr\xE9ditos") : "".concat(credit, " Cr\xE9dito");
418
+ },
419
+ 'wallet-pass-gallery.cardBalance': 'Saldo do cartão',
420
+ 'wallet-pass-gallery.voucherBalance': 'Saldo do vale',
421
+ 'wallet-pass-gallery.points': 'Pontos',
422
+ 'wallet-pass-gallery.goodPass': 'Vezes restantes',
423
+ 'wallet-pass-gallery.cardName': 'Nome do cartão',
424
+ 'wallet-pass-gallery.carNumber': 'Número do cartão',
425
+ 'wallet-pass-gallery.balance': 'Saldo',
426
+ 'wallet-pass-gallery.discount': 'Desconto',
427
+ 'wallet-pass-gallery.validDate': 'Data de validade',
428
+ 'wallet-pass-gallery.addSuccess': 'Adicionado com sucesso',
429
+ 'wallet-pass-gallery.addError': 'Falha ao adicionar',
430
+ 'wallet-pass-gallery.searchNoFound': 'Nenhum código encontrado',
431
+ 'wallet-pass-gallery.log.updateCurrentDetail': 'Atualizar detalhe atual',
432
+ 'wallet-pass-gallery.log.getDetailFailed': 'Falha ao obter detalhes',
433
+ 'wallet-pass-gallery.log.rechargeOrderFailed': 'Falha ao fazer pedido de recarga',
434
+ 'wallet-pass-gallery.log.getWalletListFailed': 'Falha ao obter lista de carteiras',
435
+ 'wallet-pass-gallery.log.bindCustomerFailed': 'Falha ao vincular cliente',
436
+ 'wallet-pass-gallery.log.getUnbindListFailed': 'Falha ao obter lista não vinculada',
437
+ 'wallet-pass-gallery.log.orderFailed': 'Falha ao fazer pedido',
438
+ 'wallet-pass-gallery.log.unexpectedResponseFormat': 'Formato de dados de resposta inesperado',
439
+ 'wallet-pass-gallery.button.add': 'Adicionar',
440
+ 'wallet-pass-gallery.button.addToAppleWallet': 'Adicionar ao Apple Wallet',
441
+ 'wallet-pass-gallery.button.addToGoogleWallet': 'Adicionar ao Google Wallet',
442
+ 'wallet-pass-gallery.button.recharge': 'Recarregar',
443
+ 'wallet-pass-gallery.error.addFailed': 'Falha ao adicionar, por favor tente novamente.',
444
+ 'wallet-pass-gallery.copyTitle': 'Aviso',
445
+ 'wallet-pass-gallery.copyButton': 'Copiar link',
446
+ 'wallet-pass-gallery.copySuccess': 'Copiado com sucesso',
447
+ 'wallet-pass-gallery.detail': 'Detalhes',
448
+ 'wallet-pass-gallery.activelog': 'Registro de atividades',
449
+ 'wallet-pass-gallery.copyText': 'Não é possível adicionar a carteira no WeChat. Por favor, copie o link e vá ao navegador para abri-lo',
450
+ 'wallet-pass-gallery.spendingDetails': 'Seus detalhes de gastos',
451
+ 'wallet-pass-gallery.rechargeDetails': 'Seus detalhes de recarga',
452
+ 'wallet-pass-gallery.date': 'Data',
453
+ 'wallet-pass-gallery.spending': 'Gastos',
454
+ 'wallet-pass-gallery.pointsEarned': 'Pontos Ganhos',
455
+ 'wallet-pass-gallery.pointsRedeemed': 'Pontos Resgatados',
456
+ 'wallet-pass-gallery.refund': 'Reembolso',
457
+ 'wallet-pass-gallery.expire': 'Expirar',
458
+ 'wallet-pass-gallery.viewOrder': 'Ver pedido',
459
+ 'wallet-pass-gallery.done': 'Concluído',
460
+ 'wallet-pass-gallery.addIos': 'Adicionar ao Apple Wallet',
461
+ 'wallet-pass-gallery.addGoogle': 'Adicionar ao Google Wallet',
462
+ 'wallet-pass-gallery.viewDetails': 'Ver detalhes',
463
+ 'wallet-pass-gallery.expireDate': 'Longo prazo',
464
+ 'wallet-pass-gallery.urlEmpty': 'Link da carteira está vazio',
465
+ 'wallet-pass-gallery.notIOS': 'Apple Wallet não é suportado em dispositivos não iOS',
466
+ 'wallet-pass-gallery.useAppleInstead': 'Você está usando um dispositivo iOS, gostaria de usar Apple Wallet em vez de Google Wallet?',
467
+ 'wallet-pass-gallery.openedInBrowser': 'Aberto no navegador',
468
+ 'wallet-pass-gallery.openFailed': 'Falha ao abrir link da carteira',
469
+ 'wallet-pass-gallery.loading': 'Carregando carteira...',
470
+ 'wallet-pass-gallery.usageRules': 'Termos e Condições',
471
+ 'wallet-pass-gallery.usageRulesSubtitle': 'Por favor, leia cuidadosamente as seguintes condições de uso',
472
+ 'wallet-pass-gallery.timeUsageLimits': 'Restrições de Janela de Tempo',
473
+ 'wallet-pass-gallery.totalQuantityControl': 'Controle de Uso Total',
474
+ 'wallet-pass-gallery.dailyLimit': 'Limite Diário:',
475
+ 'wallet-pass-gallery.weeklyLimit': 'Limite Semanal:',
476
+ 'wallet-pass-gallery.monthlyLimit': 'Limite Mensal:',
477
+ 'wallet-pass-gallery.personalLimit': 'Limite Pessoal:',
478
+ 'wallet-pass-gallery.dailyLimitDesc': 'Máximo {limit} usos das 00:00 às 23:59 todos os dias',
479
+ 'wallet-pass-gallery.weeklyLimitDesc': 'Máximo {limit} usos de segunda-feira 00:00 a domingo 23:59',
480
+ 'wallet-pass-gallery.monthlyLimitDesc': 'Máximo {limit} usos do dia 1 às 00:00 até o final do mês às 23:59',
481
+ 'wallet-pass-gallery.monthlyLimitUnlimited': 'Ilimitado',
482
+ 'wallet-pass-gallery.personalLimitDesc': 'Você pode usar este vale no máximo {total} vezes ({remaining} restantes)',
483
+ 'wallet-pass-gallery.dailyReset': 'Contador redefine automaticamente à meia-noite',
484
+ 'wallet-pass-gallery.weeklyReset': 'Contador redefine toda segunda-feira à meia-noite',
485
+ 'wallet-pass-gallery.monthlyReset': 'Contador redefine no dia 1 de cada mês à meia-noite',
486
+ 'wallet-pass-gallery.voucherExpireNote': 'O vale expirará automaticamente quando o limite for atingido',
487
+ 'wallet-pass-gallery.viewMore': 'Ver Mais',
488
+ 'wallet-pass-gallery.allLoaded': 'Tudo carregado',
489
+ 'page.wallet.tempHolderSelector.title': 'Editar Titular',
490
+ 'page.wallet.tempHolderSelector.create': 'Criar Novo',
491
+ 'page.wallet.tempHolderSelector.confirm': 'Confirmar',
492
+ 'page.wallet.notValidDate': 'Não válido em',
493
+ 'page.wallet.includedDate': 'Datas incluídas'
302
494
  }
303
495
  };
@@ -3,7 +3,7 @@ interface ScheduleTextResult {
3
3
  excluded_date: string[];
4
4
  included_date: string[];
5
5
  }
6
- declare type Locale = 'en' | 'zh-CN' | 'zh-HK';
6
+ declare type Locale = 'en' | 'zh-CN' | 'zh-HK' | 'ja' | 'pt';
7
7
  interface ScheduleItem {
8
8
  id: number;
9
9
  name: string | {
@@ -1,60 +1,5 @@
1
1
  import React from 'react';
2
+ import { SKUCardProps } from './types';
2
3
  import './index.less';
3
- /**
4
- * SKU Card 文本样式配置
5
- */
6
- interface SkuCardTextConfig {
7
- /** 是否显示 */
8
- visible?: boolean;
9
- /** 字体大小 */
10
- fontSize?: number;
11
- /** 颜色 */
12
- color?: string;
13
- /** 字体粗细 */
14
- fontWeight?: 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
15
- /** 展示行数 */
16
- lineClamp?: number;
17
- }
18
- /**
19
- * SKU Card 图片配置
20
- */
21
- interface SkuCardImageConfig {
22
- /** 是否显示 */
23
- visible?: boolean;
24
- /** 宽度 */
25
- width?: number;
26
- /** 高度 */
27
- height?: number;
28
- /** 圆角 */
29
- borderRadius?: number | string;
30
- /** 边框 */
31
- border?: string;
32
- }
33
- /**
34
- * SKU Card 配置
35
- */
36
- interface SkuCardConfig {
37
- /** 主标题配置 */
38
- title?: SkuCardTextConfig;
39
- /** 副标题配置 */
40
- subTitle?: SkuCardTextConfig;
41
- /** 价格配置 */
42
- price?: Omit<SkuCardTextConfig, 'lineClamp'>;
43
- /** 图片配置 */
44
- image?: SkuCardImageConfig;
45
- }
46
- interface SKUCardProps {
47
- cover?: string;
48
- title?: string;
49
- subtitle?: string;
50
- price?: string;
51
- arrow?: boolean;
52
- selected?: boolean;
53
- disabled?: boolean;
54
- onClick?: () => void;
55
- renderRight?: React.ReactNode | (() => React.ReactNode);
56
- /** SKU Card 配置 */
57
- skuCardConfig?: SkuCardConfig;
58
- }
59
4
  declare const SKUCard: React.FC<SKUCardProps>;
60
5
  export default SKUCard;
@@ -1,23 +1,12 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import { Iconfont } from '@pisell/materials';
3
- import { image as imageAli } from '@pisell/utils';
3
+ import { image as imageAli, locales } from '@pisell/utils';
4
4
  import classNames from 'classnames';
5
+ import useEngineContext from "../../../../hooks/useEngineContext";
6
+ import localeTexts from "./locales";
5
7
  import "./index.less";
6
-
7
- /**
8
- * SKU Card 文本样式配置
9
- */
10
-
11
- /**
12
- * SKU Card 图片配置
13
- */
14
-
15
- /**
16
- * SKU Card 配置
17
- */
18
-
19
8
  var SKUCard = function SKUCard(_ref) {
20
- var _skuCardConfig$title, _skuCardConfig$subTit, _skuCardConfig$price, _skuCardConfig$image;
9
+ var _context$appHelper, _skuCardConfig$title, _skuCardConfig$subTit, _skuCardConfig$price, _skuCardConfig$image, _skuCardConfig$disabl, _skuCardConfig$disabl2;
21
10
  var cover = _ref.cover,
22
11
  title = _ref.title,
23
12
  subtitle = _ref.subtitle,
@@ -27,7 +16,12 @@ var SKUCard = function SKUCard(_ref) {
27
16
  disabled = _ref.disabled,
28
17
  _onClick = _ref.onClick,
29
18
  renderRight = _ref.renderRight,
30
- skuCardConfig = _ref.skuCardConfig;
19
+ skuCardConfig = _ref.skuCardConfig,
20
+ skuDisabled = _ref.skuDisabled;
21
+ var context = useEngineContext();
22
+ var language = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.storage) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.get('umi_locale')) || 'en';
23
+ locales.init(localeTexts, language);
24
+
31
25
  /**
32
26
  * 计算主标题样式
33
27
  * 默认全部展示,可换行;如果配置了 lineClamp 则限制行数
@@ -128,6 +122,22 @@ var SKUCard = function SKUCard(_ref) {
128
122
  return style;
129
123
  }, [skuCardConfig === null || skuCardConfig === void 0 ? void 0 : skuCardConfig.image]);
130
124
 
125
+ /** 计算disabled文本样式 */
126
+ var disabledTextStyle = useMemo(function () {
127
+ var config = skuCardConfig === null || skuCardConfig === void 0 ? void 0 : skuCardConfig.disabledText;
128
+ var style = {};
129
+ if (config !== null && config !== void 0 && config.color) {
130
+ style.color = config.color;
131
+ }
132
+ if (config !== null && config !== void 0 && config.fontSize) {
133
+ style.fontSize = config.fontSize;
134
+ }
135
+ if (config !== null && config !== void 0 && config.fontWeight) {
136
+ style.fontWeight = config.fontWeight;
137
+ }
138
+ return style;
139
+ }, [skuCardConfig === null || skuCardConfig === void 0 ? void 0 : skuCardConfig.disabledText]);
140
+
131
141
  /** 是否显示主标题 */
132
142
  var showTitle = (skuCardConfig === null || skuCardConfig === void 0 || (_skuCardConfig$title = skuCardConfig.title) === null || _skuCardConfig$title === void 0 ? void 0 : _skuCardConfig$title.visible) !== false;
133
143
  /** 是否显示副标题 */
@@ -136,6 +146,8 @@ var SKUCard = function SKUCard(_ref) {
136
146
  var showPrice = (skuCardConfig === null || skuCardConfig === void 0 || (_skuCardConfig$price = skuCardConfig.price) === null || _skuCardConfig$price === void 0 ? void 0 : _skuCardConfig$price.visible) !== false;
137
147
  /** 是否显示图片 */
138
148
  var showImage = (skuCardConfig === null || skuCardConfig === void 0 || (_skuCardConfig$image = skuCardConfig.image) === null || _skuCardConfig$image === void 0 ? void 0 : _skuCardConfig$image.visible) !== false;
149
+ /** 是否显示disabled文本 */
150
+ var showDisabledText = (skuCardConfig === null || skuCardConfig === void 0 || (_skuCardConfig$disabl = skuCardConfig.disabledText) === null || _skuCardConfig$disabl === void 0 ? void 0 : _skuCardConfig$disabl.visible) !== false;
139
151
 
140
152
  // 如果没有cover,则使用title前两个字符用于显示占位
141
153
  var titleText = useMemo(function () {
@@ -146,6 +158,7 @@ var SKUCard = function SKUCard(_ref) {
146
158
  }
147
159
  return title.substring(0, 2).toUpperCase();
148
160
  }, [title]);
161
+ console.log('disabledTextStyle >>>>>>>>>', disabledTextStyle);
149
162
  return /*#__PURE__*/React.createElement("div", {
150
163
  className: classNames('pisell-pro-cards-sku-card', {
151
164
  'pisell-pro-cards-sku-card-active': selected,
@@ -160,7 +173,12 @@ var SKUCard = function SKUCard(_ref) {
160
173
  style: {
161
174
  cursor: disabled ? 'not-allowed' : 'pointer'
162
175
  }
163
- }, showImage && /*#__PURE__*/React.createElement("div", {
176
+ }, !!skuDisabled && !!showDisabledText && /*#__PURE__*/React.createElement("div", {
177
+ className: "pisell-pro-cards-sku-card-disabled-mask"
178
+ }, /*#__PURE__*/React.createElement("div", {
179
+ className: "pisell-pro-cards-sku-card-disabled-text",
180
+ style: disabledTextStyle
181
+ }, (skuCardConfig === null || skuCardConfig === void 0 || (_skuCardConfig$disabl2 = skuCardConfig.disabledText) === null || _skuCardConfig$disabl2 === void 0 ? void 0 : _skuCardConfig$disabl2.text) || locales.getText('pisell2.pro.cards.skuCard.disabledText'))), showImage && /*#__PURE__*/React.createElement("div", {
164
182
  className: "pisell-pro-cards-sku-card-image-container",
165
183
  style: imageStyle
166
184
  }, !!cover ? /*#__PURE__*/React.createElement("img", {
@@ -181,7 +199,10 @@ var SKUCard = function SKUCard(_ref) {
181
199
  className: "pisell-pro-cards-sku-card-price",
182
200
  style: priceStyle
183
201
  }, price)), arrow || renderRight ? /*#__PURE__*/React.createElement("div", {
184
- className: "pisell-pro-cards-sku-card-right"
202
+ className: "pisell-pro-cards-sku-card-right",
203
+ style: renderRight ? {} : {
204
+ alignItems: 'center'
205
+ }
185
206
  }, renderRight ? typeof renderRight === 'function' ? renderRight() : renderRight : /*#__PURE__*/React.createElement(Iconfont, {
186
207
  type: "pisell2-chevron-right",
187
208
  style: {
@@ -1,4 +1,5 @@
1
1
  .pisell-pro-cards-sku-card {
2
+ position: relative;
2
3
  display: flex;
3
4
  padding: 8px;
4
5
  align-items: center;
@@ -9,6 +10,26 @@
9
10
  cursor: pointer;
10
11
  width: 100%;
11
12
 
13
+ &-disabled-mask {
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ right: 0;
18
+ bottom: 0;
19
+ background: rgba(255, 255, 255, 0.7);
20
+ border-radius: 8px;
21
+ z-index: 2;
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: center;
25
+ }
26
+ &-disabled-text {
27
+ font-size: 16px;
28
+ font-weight: 700;
29
+ color: #000000;
30
+ transform: rotate(45deg);
31
+ }
32
+
12
33
  &-with-image {
13
34
  min-height: 80px;
14
35
  }
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.pro.cards.skuCard.disabledText': string;
4
+ };
5
+ 'zh-CN': {
6
+ 'pisell2.pro.cards.skuCard.disabledText': string;
7
+ };
8
+ 'zh-HK': {
9
+ 'pisell2.pro.cards.skuCard.disabledText': string;
10
+ };
11
+ };
12
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export default {
2
+ en: {
3
+ 'pisell2.pro.cards.skuCard.disabledText': 'Sold out'
4
+ },
5
+ 'zh-CN': {
6
+ 'pisell2.pro.cards.skuCard.disabledText': '已售罄'
7
+ },
8
+ 'zh-HK': {
9
+ 'pisell2.pro.cards.skuCard.disabledText': '已售罄'
10
+ }
11
+ };
@@ -0,0 +1,68 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * SKU Card 文本样式配置
4
+ */
5
+ export interface SkuCardTextConfig {
6
+ /** 是否显示 */
7
+ visible?: boolean;
8
+ /** 字体大小 */
9
+ fontSize?: number;
10
+ /** 颜色 */
11
+ color?: string;
12
+ /** 字体粗细 */
13
+ fontWeight?: 'normal' | 'bold' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
14
+ /** 展示行数 */
15
+ lineClamp?: number;
16
+ }
17
+ /**
18
+ * SKU Card 图片配置
19
+ */
20
+ export interface SkuCardImageConfig {
21
+ /** 是否显示 */
22
+ visible?: boolean;
23
+ /** 宽度 */
24
+ width?: number;
25
+ /** 高度 */
26
+ height?: number;
27
+ /** 圆角 */
28
+ borderRadius?: number | string;
29
+ /** 边框 */
30
+ border?: string;
31
+ }
32
+ /**
33
+ * SKU Card disabled文本配置
34
+ */
35
+ export interface SkuCardDisabledTextConfig extends Omit<SkuCardTextConfig, 'lineClamp'> {
36
+ /** 文本 */
37
+ text?: string;
38
+ }
39
+ /**
40
+ * SKU Card 配置
41
+ */
42
+ export interface SkuCardConfig {
43
+ /** 主标题配置 */
44
+ title?: SkuCardTextConfig;
45
+ /** 副标题配置 */
46
+ subTitle?: SkuCardTextConfig;
47
+ /** 价格配置 */
48
+ price?: Omit<SkuCardTextConfig, 'lineClamp'>;
49
+ /** 图片配置 */
50
+ image?: SkuCardImageConfig;
51
+ /** disabled文本展示 */
52
+ disabledText?: SkuCardDisabledTextConfig;
53
+ }
54
+ export interface SKUCardProps {
55
+ cover?: string;
56
+ title?: string;
57
+ subtitle?: string;
58
+ price?: string;
59
+ arrow?: boolean;
60
+ selected?: boolean;
61
+ disabled?: boolean;
62
+ onClick?: () => void;
63
+ renderRight?: React.ReactNode | (() => React.ReactNode);
64
+ /** SKU Card 配置 */
65
+ skuCardConfig?: SkuCardConfig;
66
+ /** SKU 是否禁用 */
67
+ skuDisabled?: boolean;
68
+ }
@@ -0,0 +1 @@
1
+ export {};